From 27072c034a28e9b7b4a836d60077b7110bdfe864 Mon Sep 17 00:00:00 2001 From: Sri Harsha <12621691+harsha509@users.noreply.github.com> Date: Mon, 13 Jan 2025 16:23:31 +0530 Subject: [PATCH] [JS] Specify Node.js engine version as 22.x LTS in package.json (#15058) * [js] set min node verstion to 22.x lts * [JS] fix format --- .github/workflows/nightly.yml | 2 +- javascript/node/selenium-webdriver/README.md | 32 +++---- .../node/selenium-webdriver/package.json | 2 +- pnpm-lock.yaml | 94 +++++++++---------- 4 files changed, 65 insertions(+), 65 deletions(-) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index eeea269c87f62..4920e964a3760 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -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 diff --git a/javascript/node/selenium-webdriver/README.md b/javascript/node/selenium-webdriver/README.md index 9213a9e165613..6b3c0dfecb1b2 100644 --- a/javascript/node/selenium-webdriver/README.md +++ b/javascript/node/selenium-webdriver/README.md @@ -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: @@ -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 @@ -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 diff --git a/javascript/node/selenium-webdriver/package.json b/javascript/node/selenium-webdriver/package.json index c0824444d0fcb..99e80e87c55a9 100644 --- a/javascript/node/selenium-webdriver/package.json +++ b/javascript/node/selenium-webdriver/package.json @@ -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", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 576704bb4c7cc..9985134657eb2 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -212,7 +212,7 @@ packages: react: 18.3.1 react-dom: 18.3.1(react@18.3.1) rehackt: 0.1.0(@types/react@18.3.18)(react@18.3.1) - response-iterator: 0.2.6 + response-iterator: 0.2.11 symbol-observable: 4.0.0 ts-invariant: 0.10.3 tslib: 2.8.1 @@ -278,7 +278,7 @@ packages: dependencies: '@babel/compat-data': 7.26.3 '@babel/helper-validator-option': 7.25.9 - browserslist: 4.24.3 + browserslist: 4.24.4 lru-cache: 5.1.1 semver: 6.3.1 @@ -896,17 +896,17 @@ packages: levn: 0.4.1 dev: true - /@floating-ui/core@1.6.8: - resolution: {integrity: sha512-7XJ9cPU+yI2QeLS+FCSlqNFZJq8arvswefkZrYI1yQBbftw6FyrZOxYSh+9S7z7TpeWlRt9zJ5IhM1WIL334jA==} + /@floating-ui/core@1.6.9: + resolution: {integrity: sha512-uMXCuQ3BItDUbAMhIXw7UPXRfAlOAvZzdK9BWpE60MCn+Svt3aLn9jsPTi/WNGlRUu2uI0v5S7JiIUsbsvh3fw==} dependencies: - '@floating-ui/utils': 0.2.8 + '@floating-ui/utils': 0.2.9 dev: false - /@floating-ui/dom@1.6.12: - resolution: {integrity: sha512-NP83c0HjokcGVEMeoStg317VD9W7eDlGK7457dMBANbKA6GJZdc7rjujdgqzTaz93jkGgc5P/jeWbaCHnMNc+w==} + /@floating-ui/dom@1.6.13: + resolution: {integrity: sha512-umqzocjDgNRGTuO7Q8CU32dkHkECqI8ZdMZ5Swb6QAM0t5rnlrN3lGo1hdpscRd3WS8T6DKYK4ephgIH9iRh3w==} dependencies: - '@floating-ui/core': 1.6.8 - '@floating-ui/utils': 0.2.8 + '@floating-ui/core': 1.6.9 + '@floating-ui/utils': 0.2.9 dev: false /@floating-ui/react-dom@2.1.2(react-dom@18.3.1)(react@18.3.1): @@ -915,13 +915,13 @@ packages: react: '>=16.8.0' react-dom: '>=16.8.0' dependencies: - '@floating-ui/dom': 1.6.12 + '@floating-ui/dom': 1.6.13 react: 18.3.1 react-dom: 18.3.1(react@18.3.1) dev: false - /@floating-ui/utils@0.2.8: - resolution: {integrity: sha512-kym7SodPp8/wloecOpcmSnWJsK7M0E5Wg8UcFA+uO4B9s5d0ywXOEro/8HM9x0rW+TljRzul/14UYz3TleT3ig==} + /@floating-ui/utils@0.2.9: + resolution: {integrity: sha512-MDWhGtE+eHw5JW7lq4qhc5yRLS11ERl1c7Z6Xd0a58DozHES6EnNNwUWbMiG4J9Cgj053Bhk8zvlhFYKVhULwg==} dev: false /@graphql-typed-document-node/core@3.2.0(graphql@16.10.0): @@ -1068,7 +1068,7 @@ packages: '@babel/runtime': 7.26.0 '@floating-ui/react-dom': 2.1.2(react-dom@18.3.1)(react@18.3.1) '@mui/types': 7.2.21(@types/react@18.3.18) - '@mui/utils': 5.16.13(@types/react@18.3.18)(react@18.3.1) + '@mui/utils': 5.16.14(@types/react@18.3.18)(react@18.3.1) '@popperjs/core': 2.11.8 '@types/react': 18.3.18 clsx: 2.1.1 @@ -1077,8 +1077,8 @@ packages: react-dom: 18.3.1(react@18.3.1) dev: false - /@mui/core-downloads-tracker@5.16.13: - resolution: {integrity: sha512-xe5RwI0Q2O709Bd2Y7l1W1NIwNmln0y+xaGk5VgX3vDJbkQEqzdfTFZ73e0CkEZgJwyiWgk5HY0l8R4nysOxjw==} + /@mui/core-downloads-tracker@5.16.14: + resolution: {integrity: sha512-sbjXW+BBSvmzn61XyTMun899E7nGPTXwqD9drm1jBUAvWEhJpPFIRxwQQiATWZnd9rvdxtnhhdsDxEGWI0jxqA==} dev: false /@mui/icons-material@5.15.18(@mui/material@5.15.18)(@types/react@18.3.18)(react@18.3.1): @@ -1119,10 +1119,10 @@ packages: '@emotion/react': 11.14.0(@types/react@18.3.18)(react@18.3.1) '@emotion/styled': 11.14.0(@emotion/react@11.14.0)(@types/react@18.3.18)(react@18.3.1) '@mui/base': 5.0.0-beta.40(@types/react@18.3.18)(react-dom@18.3.1)(react@18.3.1) - '@mui/core-downloads-tracker': 5.16.13 - '@mui/system': 5.16.13(@emotion/react@11.14.0)(@emotion/styled@11.14.0)(@types/react@18.3.18)(react@18.3.1) + '@mui/core-downloads-tracker': 5.16.14 + '@mui/system': 5.16.14(@emotion/react@11.14.0)(@emotion/styled@11.14.0)(@types/react@18.3.18)(react@18.3.1) '@mui/types': 7.2.21(@types/react@18.3.18) - '@mui/utils': 5.16.13(@types/react@18.3.18)(react@18.3.1) + '@mui/utils': 5.16.14(@types/react@18.3.18)(react@18.3.1) '@types/react': 18.3.18 '@types/react-transition-group': 4.4.12(@types/react@18.3.18) clsx: 2.1.1 @@ -1134,8 +1134,8 @@ packages: react-transition-group: 4.4.5(react-dom@18.3.1)(react@18.3.1) dev: false - /@mui/private-theming@5.16.13(@types/react@18.3.18)(react@18.3.1): - resolution: {integrity: sha512-+s0FklvDvO7j0yBZn19DIIT3rLfub2fWvXGtMX49rG/xHfDFcP7fbWbZKHZMMP/2/IoTRDrZCbY1iP0xZlmuJA==} + /@mui/private-theming@5.16.14(@types/react@18.3.18)(react@18.3.1): + resolution: {integrity: sha512-12t7NKzvYi819IO5IapW2BcR33wP/KAVrU8d7gLhGHoAmhDxyXlRoKiRij3TOD8+uzk0B6R9wHUNKi4baJcRNg==} engines: {node: '>=12.0.0'} peerDependencies: '@types/react': ^17.0.0 || ^18.0.0 || ^19.0.0 @@ -1145,14 +1145,14 @@ packages: optional: true dependencies: '@babel/runtime': 7.26.0 - '@mui/utils': 5.16.13(@types/react@18.3.18)(react@18.3.1) + '@mui/utils': 5.16.14(@types/react@18.3.18)(react@18.3.1) '@types/react': 18.3.18 prop-types: 15.8.1 react: 18.3.1 dev: false - /@mui/styled-engine@5.16.13(@emotion/react@11.14.0)(@emotion/styled@11.14.0)(react@18.3.1): - resolution: {integrity: sha512-2XNHEG8/o1ucSLhTA9J+HIIXjzlnEc0OV7kneeUQ5JukErPYT2zc6KYBDLjlKWrzQyvnQzbiffjjspgHUColZg==} + /@mui/styled-engine@5.16.14(@emotion/react@11.14.0)(@emotion/styled@11.14.0)(react@18.3.1): + resolution: {integrity: sha512-UAiMPZABZ7p8mUW4akDV6O7N3+4DatStpXMZwPlt+H/dA0lt67qawN021MNND+4QTpjaiMYxbhKZeQcyWCbuKw==} engines: {node: '>=12.0.0'} peerDependencies: '@emotion/react': ^11.4.1 @@ -1173,8 +1173,8 @@ packages: react: 18.3.1 dev: false - /@mui/system@5.16.13(@emotion/react@11.14.0)(@emotion/styled@11.14.0)(@types/react@18.3.18)(react@18.3.1): - resolution: {integrity: sha512-JnO3VH3yNoAmgyr44/2jiS1tcNwshwAqAaG5fTEEjHQbkuZT/mvPYj2GC1cON0zEQ5V03xrCNl/D+gU9AXibpw==} + /@mui/system@5.16.14(@emotion/react@11.14.0)(@emotion/styled@11.14.0)(@types/react@18.3.18)(react@18.3.1): + resolution: {integrity: sha512-KBxMwCb8mSIABnKvoGbvM33XHyT+sN0BzEBG+rsSc0lLQGzs7127KWkCA6/H8h6LZ00XpBEME5MAj8mZLiQ1tw==} engines: {node: '>=12.0.0'} peerDependencies: '@emotion/react': ^11.5.0 @@ -1192,10 +1192,10 @@ packages: '@babel/runtime': 7.26.0 '@emotion/react': 11.14.0(@types/react@18.3.18)(react@18.3.1) '@emotion/styled': 11.14.0(@emotion/react@11.14.0)(@types/react@18.3.18)(react@18.3.1) - '@mui/private-theming': 5.16.13(@types/react@18.3.18)(react@18.3.1) - '@mui/styled-engine': 5.16.13(@emotion/react@11.14.0)(@emotion/styled@11.14.0)(react@18.3.1) + '@mui/private-theming': 5.16.14(@types/react@18.3.18)(react@18.3.1) + '@mui/styled-engine': 5.16.14(@emotion/react@11.14.0)(@emotion/styled@11.14.0)(react@18.3.1) '@mui/types': 7.2.21(@types/react@18.3.18) - '@mui/utils': 5.16.13(@types/react@18.3.18)(react@18.3.1) + '@mui/utils': 5.16.14(@types/react@18.3.18)(react@18.3.1) '@types/react': 18.3.18 clsx: 2.1.1 csstype: 3.1.3 @@ -1214,8 +1214,8 @@ packages: '@types/react': 18.3.18 dev: false - /@mui/utils@5.16.13(@types/react@18.3.18)(react@18.3.1): - resolution: {integrity: sha512-35kLiShnDPByk57Mz4PP66fQUodCFiOD92HfpW6dK9lc7kjhZsKHRKeYPgWuwEHeXwYsCSFtBCW4RZh/8WT+TQ==} + /@mui/utils@5.16.14(@types/react@18.3.18)(react@18.3.1): + resolution: {integrity: sha512-wn1QZkRzSmeXD1IguBVvJJHV3s6rxJrfb6YuC9Kk6Noh9f8Fb54nUs5JRkKm+BOerRhj5fLg05Dhx/H3Ofb8Mg==} engines: {node: '>=12.0.0'} peerDependencies: '@types/react': ^17.0.0 || ^18.0.0 || ^19.0.0 @@ -1959,15 +1959,15 @@ packages: resolution: {integrity: sha512-qhAVI1+Av2X7qelOfAIYwXONood6XlZE/fXaBSmW/T5SzLAmCgzi+eiWE7fUvbHaeNBQH13UftjpXxsfLkMpgw==} dev: true - /browserslist@4.24.3: - resolution: {integrity: sha512-1CPmv8iobE2fyRMV97dAcMVegvvWKxmq94hkLiAkUGwKVTyDLw33K+ZxiFrREKmmps4rIw6grcCFCnTMSZ/YiA==} + /browserslist@4.24.4: + resolution: {integrity: sha512-KDi1Ny1gSePi1vm0q4oxSF8b4DR44GF4BbmS2YdhPLOEqd8pDviZOGH/GsmRwoWJ2+5Lr085X7naowMwKHDG1A==} engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} hasBin: true dependencies: - caniuse-lite: 1.0.30001690 - electron-to-chromium: 1.5.76 + caniuse-lite: 1.0.30001692 + electron-to-chromium: 1.5.80 node-releases: 2.0.19 - update-browserslist-db: 1.1.1(browserslist@4.24.3) + update-browserslist-db: 1.1.2(browserslist@4.24.4) /btoa@1.2.1: resolution: {integrity: sha512-SB4/MIGlsiVkMcHmT+pSmIPoNDoHg+7cMzmt3Uxt628MTz2487DKSqK/fuhFBrkuqrYv5UCEnACpF4dTFNKc/g==} @@ -2039,8 +2039,8 @@ packages: engines: {node: '>=10'} dev: true - /caniuse-lite@1.0.30001690: - resolution: {integrity: sha512-5ExiE3qQN6oF8Clf8ifIDcMRCRE/dMGcETG/XGMD8/XiXm6HXQgQTh1yZYLXXpSOsEUlJm1Xr7kGULZTuGtP/w==} + /caniuse-lite@1.0.30001692: + resolution: {integrity: sha512-A95VKan0kdtrsnMubMKxEKUKImOPSuCpYgxSQBo036P5YYgVIcOYJEgt/txJWqObiRQeISNCfef9nvlQ0vbV7A==} /catharsis@0.9.0: resolution: {integrity: sha512-prMTQVpcns/tzFgFVkVp6ak6RykZyWb3gu8ckUpd6YkTlacOd3DXGJjIpD4Q6zJirizvaiAjSSHlOsA+6sNh2A==} @@ -2475,8 +2475,8 @@ packages: jake: 10.9.2 dev: false - /electron-to-chromium@1.5.76: - resolution: {integrity: sha512-CjVQyG7n7Sr+eBXE86HIulnL5N8xZY1sgmOPGuq/F0Rr0FJq63lg0kEtOIDfZBk44FnDLf6FUJ+dsJcuiUDdDQ==} + /electron-to-chromium@1.5.80: + resolution: {integrity: sha512-LTrKpW0AqIuHwmlVNV+cjFYTnXtM9K37OGhpe0ZI10ScPSxqVSryZHIY3WnCS5NSYbBODRTZyhRMS2h5FAEqAw==} /emoji-regex@8.0.0: resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==} @@ -3250,8 +3250,8 @@ packages: resolution: {integrity: sha512-VxPP4NqbUjj6MaAOafWeUn2cXWLcCtljklUtZf0Ind4XQ+QPtmA0b18zZy0jIQx+ExRVCR/ZQpBmik5lXshNsw==} dev: true - /fast-glob@3.3.2: - resolution: {integrity: sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==} + /fast-glob@3.3.3: + resolution: {integrity: sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg==} engines: {node: '>=8.6.0'} dependencies: '@nodelib/fs.stat': 2.0.5 @@ -3556,7 +3556,7 @@ packages: dependencies: array-union: 2.1.0 dir-glob: 3.0.1 - fast-glob: 3.3.2 + fast-glob: 3.3.3 ignore: 5.3.2 merge2: 1.4.1 slash: 3.0.0 @@ -5170,8 +5170,8 @@ packages: supports-preserve-symlinks-flag: 1.0.0 dev: true - /response-iterator@0.2.6: - resolution: {integrity: sha512-pVzEEzrsg23Sh053rmDUvLSkGXluZio0qu8VT6ukrYuvtjVfCbDZH9d6PGXb8HZfzdNZt8feXv/jvUzlhRgLnw==} + /response-iterator@0.2.11: + resolution: {integrity: sha512-5tdhcAeGMSyM0/FoxAYjoOxQZ2tRR2H/S/t6kGRXu6iiWcGY5UnZgkVANbTwBVUSGqWu0ADctmoi6lOCIF8uKQ==} engines: {node: '>=0.8'} dev: false @@ -5887,13 +5887,13 @@ packages: engines: {node: '>= 0.8'} dev: true - /update-browserslist-db@1.1.1(browserslist@4.24.3): - resolution: {integrity: sha512-R8UzCaa9Az+38REPiJ1tXlImTJXlVfgHZsglwBD/k6nj76ctsH1E3q4doGrukiLQd3sGQYu56r5+lo5r94l29A==} + /update-browserslist-db@1.1.2(browserslist@4.24.4): + resolution: {integrity: sha512-PPypAm5qvlD7XMZC3BujecnaOxwhrtoFR+Dqkk5Aa/6DssiH0ibKoketaj9w8LP7Bont1rYeoV5plxD7RTEPRg==} hasBin: true peerDependencies: browserslist: '>= 4.21.0' dependencies: - browserslist: 4.24.3 + browserslist: 4.24.4 escalade: 3.2.0 picocolors: 1.1.1