Skip to content

Commit

Permalink
fix(core): specify minimum node version to be 18.18.0 or higher (#13482)
Browse files Browse the repository at this point in the history
* fix(core): specify minimum node version to be 18.18.0 or higher

* bump to v18.20.0 as minimum version
  • Loading branch information
christian-bromann authored Sep 5, 2024
1 parent 66661ba commit ce5e503
Show file tree
Hide file tree
Showing 37 changed files with 38 additions and 37 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-smoke.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node: ['18', '20', '22']
node: ['18.20.0', '20', '22']
os: ['ubuntu-latest', 'windows-latest', 'macos-latest']
runs-on: ${{ matrix.os }}
steps:
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-plugin-wdio/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"type": "module",
"typeScriptVersion": "3.8.3",
"engines": {
"node": ">=18"
"node": ">=18.20.0"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/wdio-allure-reporter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
},
"typeScriptVersion": "3.8.3",
"engines": {
"node": ">=18"
"node": ">=18.20.0"
},
"dependencies": {
"@types/node": "^20.1.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/wdio-appium-service/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"homepage": "https://github.com/webdriverio/webdriverio/tree/main/packages/wdio-appium-service",
"license": "MIT",
"engines": {
"node": ">=18"
"node": ">=18.20.0"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/wdio-browser-runner/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"homepage": "https://github.com/webdriverio/webdriverio/tree/main/packages/wdio-browser-runner",
"license": "MIT",
"engines": {
"node": ">=18"
"node": ">=18.20.0"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/wdio-browserstack-service/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"homepage": "https://github.com/webdriverio/webdriverio/tree/main/packages/wdio-browserstack-service",
"license": "MIT",
"engines": {
"node": ">=18"
"node": ">=18.20.0"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/wdio-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"wdio": "./bin/wdio.js"
},
"engines": {
"node": ">=18"
"node": ">=18.20.0"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/wdio-concise-reporter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"homepage": "https://github.com/webdriverio/webdriverio/tree/main/packages/wdio-concise-reporter",
"license": "MIT",
"engines": {
"node": ">=18"
"node": ">=18.20.0"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/wdio-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
},
"typeScriptVersion": "3.8.3",
"engines": {
"node": ">=18"
"node": ">=18.20.0"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/wdio-cucumber-framework/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"homepage": "https://github.com/webdriverio/webdriverio/tree/main/packages/wdio-cucumber-framework",
"license": "MIT",
"engines": {
"node": ">=18"
"node": ">=18.20.0"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/wdio-dot-reporter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"homepage": "https://github.com/webdriverio/webdriverio/tree/main/packages/wdio-dot-reporter",
"license": "MIT",
"engines": {
"node": ">=18"
"node": ">=18.20.0"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/wdio-firefox-profile-service/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"homepage": "https://github.com/webdriverio/webdriverio/tree/main/packages/wdio-firefox-profile-service",
"license": "MIT",
"engines": {
"node": ">=18"
"node": ">=18.20.0"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/wdio-globals/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"types": "./build/index.d.ts",
"typeScriptVersion": "3.8.3",
"engines": {
"node": ">=18"
"node": ">=18.20.0"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/wdio-jasmine-framework/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
},
"typeScriptVersion": "3.8.3",
"engines": {
"node": ">=18"
"node": ">=18.20.0"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/wdio-junit-reporter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"homepage": "https://github.com/webdriverio/webdriverio/tree/main/packages/wdio-junit-reporter",
"license": "MIT",
"engines": {
"node": ">=18"
"node": ">=18.20.0"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/wdio-lighthouse-service/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"homepage": "https://github.com/webdriverio/webdriverio/tree/main/packages/wdio-lighthouse-service",
"license": "MIT",
"engines": {
"node": ">=18"
"node": ">=18.20.0"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/wdio-local-runner/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"homepage": "https://github.com/webdriverio/webdriverio/tree/main/packages/wdio-local-runner",
"license": "MIT",
"engines": {
"node": ">=18"
"node": ">=18.20.0"
},
"repository": {
"type": "git",
Expand Down
3 changes: 2 additions & 1 deletion packages/wdio-logger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,15 @@
".": {
"browser": "./build/browser.js",
"import": "./build/index.js",
"require": "./build/index.cjs",
"types": "./build/index.d.ts",
"browserSource": "./src/browser.ts"
},
"./package.json": "./package.json"
},
"typeScriptVersion": "3.8.3",
"engines": {
"node": ">=18"
"node": ">=18.20.0"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/wdio-mocha-framework/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"homepage": "https://github.com/webdriverio/webdriverio/tree/main/packages/wdio-mocha-framework",
"license": "MIT",
"engines": {
"node": ">=18"
"node": ">=18.20.0"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/wdio-repl/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"homepage": "https://github.com/webdriverio/webdriverio/tree/main/packages/wdio-repl",
"license": "MIT",
"engines": {
"node": ">=18"
"node": ">=18.20.0"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/wdio-reporter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"homepage": "https://github.com/webdriverio/webdriverio/tree/main/packages/wdio-reporter",
"license": "MIT",
"engines": {
"node": ">=18"
"node": ">=18.20.0"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/wdio-runner/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"homepage": "https://github.com/webdriverio/webdriverio/tree/main/packages/wdio-runner",
"license": "MIT",
"engines": {
"node": ">=18"
"node": ">=18.20.0"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/wdio-sauce-service/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"homepage": "https://github.com/webdriverio/webdriverio/tree/main/packages/wdio-sauce-service",
"license": "MIT",
"engines": {
"node": ">=18"
"node": ">=18.20.0"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/wdio-shared-store-service/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"homepage": "https://github.com/webdriverio/webdriverio/tree/main/packages/wdio-shared-store-service",
"license": "MIT",
"engines": {
"node": ">=18"
"node": ">=18.20.0"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/wdio-smoke-test-cjs-service/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"homepage": "https://github.com/webdriverio/webdriverio/tree/main/packages/wdio-smoke-test-service",
"license": "MIT",
"engines": {
"node": ">=18"
"node": ">=18.20.0"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/wdio-smoke-test-reporter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"homepage": "https://github.com/webdriverio/webdriverio/tree/main/packages/wdio-smoke-test-reporter",
"license": "MIT",
"engines": {
"node": ">=18"
"node": ">=18.20.0"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/wdio-smoke-test-service/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"homepage": "https://github.com/webdriverio/webdriverio/tree/main/packages/wdio-smoke-test-service",
"license": "MIT",
"engines": {
"node": ">=18"
"node": ">=18.20.0"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/wdio-spec-reporter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"homepage": "https://github.com/webdriverio/webdriverio/tree/main/packages/wdio-spec-reporter",
"license": "MIT",
"engines": {
"node": ">=18"
"node": ">=18.20.0"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/wdio-static-server-service/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"homepage": "https://github.com/webdriverio/webdriverio/tree/main/packages/wdio-static-server-service",
"license": "MIT",
"engines": {
"node": ">=18"
"node": ">=18.20.0"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/wdio-sumologic-reporter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"homepage": "https://github.com/webdriverio/webdriverio/tree/main/packages/wdio-sumologic-reporter",
"license": "MIT",
"engines": {
"node": ">=18"
"node": ">=18.20.0"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/wdio-testingbot-service/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"homepage": "https://github.com/webdriverio/webdriverio/tree/main/packages/wdio-testingbot-service",
"license": "MIT",
"engines": {
"node": ">=18"
"node": ">=18.20.0"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/wdio-types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
}
},
"engines": {
"node": ">=18"
"node": ">=18.20.0"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/wdio-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"types": "./build/index.d.ts",
"typeScriptVersion": "3.8.3",
"engines": {
"node": ">=18"
"node": ">=18.20.0"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/wdio-webdriver-mock-service/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"homepage": "https://github.com/webdriverio/webdriverio/tree/main/packages/wdio-webdriver-mock-service",
"license": "MIT",
"engines": {
"node": ">=18"
"node": ">=18.20.0"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/webdriver/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"types": "./build/index.d.ts",
"typeScriptVersion": "3.8.3",
"engines": {
"node": ">=18"
"node": ">=18.20.0"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/webdriverio/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"url": "https://github.com/webdriverio/webdriverio/issues"
},
"engines": {
"node": ">=18"
"node": ">=18.20.0"
},
"tags": [
"webdriver",
Expand Down
2 changes: 1 addition & 1 deletion website/docs/GettingStarted.md
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ WebdriverIO provides tools to help you get started by recording your test action

You’ll need [Node.js](http://nodejs.org) installed.

- Install at least v16.x or higher as this is the oldest active LTS version
- Install at least v18.20.0 or higher as this is the oldest active LTS version
- Only releases that are or will become an LTS release are officially supported

If Node is not currently installed on your system, we suggest utilizing a tool such as [NVM](https://github.com/creationix/nvm) or [Volta](https://volta.sh/) to assist in managing multiple active Node.js versions. NVM is a popular choice, while Volta is also a good alternative.

0 comments on commit ce5e503

Please sign in to comment.