mirror of
https://github.com/appium/appium.git
synced 2026-02-21 10:49:52 -06:00
chore!: set engines to minimum Node.js v14.17.0
BREAKING CHANGE: Appium now supports version range `^14.17.0 || ^16.13.0 || >=18.0.0`
This commit is contained in:
@@ -136,7 +136,7 @@
|
||||
"yaml-js": "0.3.1"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=14",
|
||||
"node": "^14.17.0 || ^16.13.0 || >=18.0.0",
|
||||
"npm": ">=8"
|
||||
},
|
||||
"publishConfig": {
|
||||
|
||||
@@ -100,7 +100,7 @@
|
||||
"yaml": "2.1.3"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=14",
|
||||
"node": "^14.17.0 || ^16.13.0 || >=18.0.0",
|
||||
"npm": ">=8"
|
||||
},
|
||||
"publishConfig": {
|
||||
|
||||
@@ -131,6 +131,8 @@ describe('Config', function () {
|
||||
'v10.1.0',
|
||||
'v11.0.0',
|
||||
'v12.0.0',
|
||||
'v14.0.0',
|
||||
'v16.0.0',
|
||||
];
|
||||
for (const version of unsupportedVersions) {
|
||||
it(`should fail if node is ${version}`, function () {
|
||||
@@ -142,14 +144,14 @@ describe('Config', function () {
|
||||
});
|
||||
|
||||
describe('supported nodes', function () {
|
||||
it('should succeed if node is 14+', function () {
|
||||
it('should succeed if node is 14.17+', function () {
|
||||
// @ts-expect-error
|
||||
process.version = 'v14.0.0';
|
||||
process.version = 'v14.17.0';
|
||||
checkNodeOk.should.not.throw();
|
||||
});
|
||||
it('should succeed if node is 16+', function () {
|
||||
it('should succeed if node is 16.13+', function () {
|
||||
// @ts-expect-error
|
||||
process.version = 'v16.0.0';
|
||||
process.version = 'v16.13.0';
|
||||
checkNodeOk.should.not.throw();
|
||||
});
|
||||
it('should succeed if node is 18+', function () {
|
||||
|
||||
@@ -71,7 +71,7 @@
|
||||
"validate.js": "0.13.1"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=14",
|
||||
"node": "^14.17.0 || ^16.13.0 || >=18.0.0",
|
||||
"npm": ">=8"
|
||||
},
|
||||
"publishConfig": {
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
"@appium/support": "^2.61.1"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=14",
|
||||
"node": "^14.17.0 || ^16.13.0 || >=18.0.0",
|
||||
"npm": ">=8"
|
||||
},
|
||||
"gitHead": "5c7af8ee73078018e4ec52fccf19fe3f77249d72",
|
||||
|
||||
@@ -62,7 +62,7 @@
|
||||
"yargs": "17.6.2"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=14",
|
||||
"node": "^14.17.0 || ^16.13.0 || >=18.0.0",
|
||||
"npm": ">=8"
|
||||
},
|
||||
"publishConfig": {
|
||||
|
||||
@@ -52,7 +52,7 @@
|
||||
"teen_process": "2.0.2"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=14",
|
||||
"node": "^14.17.0 || ^16.13.0 || >=18.0.0",
|
||||
"npm": ">=8"
|
||||
},
|
||||
"publishConfig": {
|
||||
|
||||
@@ -60,7 +60,7 @@
|
||||
"mocha": "*"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=14",
|
||||
"node": "^14.17.0 || ^16.13.0 || >=18.0.0",
|
||||
"npm": ">=8"
|
||||
},
|
||||
"publishConfig": {
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
"eslint-plugin-promise": "^6.0.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=14",
|
||||
"node": "^14.17.0 || ^16.13.0 || >=18.0.0",
|
||||
"npm": ">=8"
|
||||
},
|
||||
"publishConfig": {
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
},
|
||||
"gitHead": "5c7af8ee73078018e4ec52fccf19fe3f77249d72",
|
||||
"engines": {
|
||||
"node": ">=14",
|
||||
"node": "^14.17.0 || ^16.13.0 || >=18.0.0",
|
||||
"npm": ">=8"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
"appium": "^2.0.0-beta.35"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=14",
|
||||
"node": "^14.17.0 || ^16.13.0 || >=18.0.0",
|
||||
"npm": ">=8"
|
||||
},
|
||||
"publishConfig": {
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
"appium": "^2.0.0-beta.35"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=14",
|
||||
"node": "^14.17.0 || ^16.13.0 || >=18.0.0",
|
||||
"npm": ">=8"
|
||||
},
|
||||
"appium": {
|
||||
|
||||
@@ -97,7 +97,7 @@
|
||||
"gulp": "^4.0.2"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=14",
|
||||
"node": "^14.17.0 || ^16.13.0 || >=18.0.0",
|
||||
"npm": ">=8"
|
||||
},
|
||||
"publishConfig": {
|
||||
|
||||
@@ -55,7 +55,7 @@
|
||||
"gitHead": "5c7af8ee73078018e4ec52fccf19fe3f77249d72",
|
||||
"homepage": "https://appium.io",
|
||||
"engines": {
|
||||
"node": ">=14",
|
||||
"node": "^14.17.0 || ^16.13.0 || >=18.0.0",
|
||||
"npm": ">=8"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -52,7 +52,7 @@
|
||||
"source-map-support": "0.5.21"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=14",
|
||||
"node": "^14.17.0 || ^16.13.0 || >=18.0.0",
|
||||
"npm": ">=8"
|
||||
},
|
||||
"publishConfig": {
|
||||
|
||||
@@ -55,7 +55,7 @@
|
||||
"mocha": "*"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=14",
|
||||
"node": "^14.17.0 || ^16.13.0 || >=18.0.0",
|
||||
"npm": ">=8"
|
||||
},
|
||||
"publishConfig": {
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
"appium": "^2.0.0-beta.35"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=14",
|
||||
"node": "^14.17.0 || ^16.13.0 || >=18.0.0",
|
||||
"npm": ">=8"
|
||||
},
|
||||
"appium": {
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
"source-map-support": "0.5.21"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=14",
|
||||
"node": "^14.17.0 || ^16.13.0 || >=18.0.0",
|
||||
"npm": ">=8"
|
||||
},
|
||||
"publishConfig": {
|
||||
|
||||
@@ -103,7 +103,7 @@
|
||||
"yauzl": "2.10.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=14",
|
||||
"node": "^14.17.0 || ^16.13.0 || >=18.0.0",
|
||||
"npm": ">=8"
|
||||
},
|
||||
"publishConfig": {
|
||||
|
||||
@@ -57,7 +57,7 @@
|
||||
"source-map-support": "0.5.21"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=14",
|
||||
"node": "^14.17.0 || ^16.13.0 || >=18.0.0",
|
||||
"npm": ">=8"
|
||||
},
|
||||
"publishConfig": {
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
"type-fest": "3.3.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=14",
|
||||
"node": "^14.17.0 || ^16.13.0 || >=18.0.0",
|
||||
"npm": ">=8"
|
||||
},
|
||||
"publishConfig": {
|
||||
|
||||
@@ -54,7 +54,7 @@
|
||||
},
|
||||
"gitHead": "5c7af8ee73078018e4ec52fccf19fe3f77249d72",
|
||||
"engines": {
|
||||
"node": ">=14",
|
||||
"node": "^14.17.0 || ^16.13.0 || >=18.0.0",
|
||||
"npm": ">=8"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user