Skip to content

Commit

Permalink
[JS] Specify Node.js engine version as 22.x LTS in package.json (#15058)
Browse files Browse the repository at this point in the history
* [js] set min node verstion to 22.x lts

* [JS] fix format
  • Loading branch information
harsha509 authored Jan 13, 2025
1 parent f064eca commit 27072c0
Show file tree
Hide file tree
Showing 4 changed files with 65 additions and 65 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ jobs:
with:
name: Nightly JavaScript Release
cache-key: javascript-nightly
node-version: '18.x'
node-version: '22.x'
run: |
sed -i 's|https://registry.npmjs.org/|https://npm.pkg.github.com|g' javascript/node/selenium-webdriver/package.json
sed -i 's|"name": "selenium-webdriver"|"name": "@seleniumhq/selenium-webdriver"|g' javascript/node/selenium-webdriver/package.json
Expand Down
32 changes: 16 additions & 16 deletions javascript/node/selenium-webdriver/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ To use the Selenium Server, you will need to install the
download the latest server from [Selenium][release]. Once downloaded, run the
server with

java -jar selenium-server-4.4.0.jar standalone
java -jar selenium-server-4.27.0.jar standalone

You may configure your tests to run against a remote server through the Builder
API:
Expand Down Expand Up @@ -135,18 +135,17 @@ will also have "best effort" support. Releases older than the latest LTS,
_semver-major_ releases, and all unstable release branches (e.g. "v.Next")
are considered strictly unsupported.

For example, suppose the current LTS and stable releases are v14.20.0 and
v18.8.0,
For example, suppose the current LTS and stable releases are v22.13.0 and
v23.6.0,
respectively. Then a Selenium release would have the following support levels:

| Version | Support |
| :-------: | :-----------: |
| <= 14.19 | _unsupported_ |
| 14.20.0 | supported |
| 18.0-7 | best effort |
| 18.8.0 | supported |
| >= 18.8.0 | best effort |
| v.Next | _unsupported_ |
| Version | Support |
| :--------: | :-----------: |
| <= 16.20.2 | _unsupported_ |
| 16.20.2 | supported |
| 18.8.0 | supported |
| >= 22.13.0 | best effort |
| v.Next | _unsupported_ |

### Support Level Definitions

Expand All @@ -168,11 +167,12 @@ months, the support window for selenium-webdriver will be roughly:

| Release | Status | END-OF-LIFE |
| :-----: | :-------------: | :---------: |
| v14.x | Maintenance LTS | 2023-04-30 |
| v16.x | Active LTS | 2023-09-11 |
| v18.x | Current | 2025-04-30 |
| v19.x | Pending | 2023-06-01 |
| v20 | Pending | 2026-04-30 |
| v18.x | Maintenance LTS | 2025-04-30 |
| v19.x | End-of-Life | 2023-06-01 |
| v20.x | Maintenance LTS | 2026-04-30 |
| v21.x | End-of-Life | 2024-06-01 |
| V22.x | Active LTS | 2027-04-30 |
| V23.x | Current | 2025-06-01 |

## Issues

Expand Down
2 changes: 1 addition & 1 deletion javascript/node/selenium-webdriver/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"url": "https://github.com/SeleniumHQ/selenium.git"
},
"engines": {
"node": ">= 14.21.0"
"node": ">= 22.13.0"
},
"dependencies": {
"@bazel/runfiles": "^6.3.1",
Expand Down
94 changes: 47 additions & 47 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 27072c0

Please sign in to comment.