Skip to content

Commit 521e28e

Browse files
authored
Add official support for Node.js 21 (#2365)
1 parent 739fca6 commit 521e28e

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

.github/workflows/build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- ubuntu-latest
2121
- windows-latest
2222
# these versions must be kept in sync with enginesTested.node in package.json
23-
node-version: [18.x, 20.x]
23+
node-version: [18.x, 20.x, 21.x]
2424
fail-fast: false
2525

2626
steps:

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Please see [CONTRIBUTING.md](./CONTRIBUTING.md) on how to contribute to Cucumber
1010
## [Unreleased]
1111
### Added
1212
- Ability to access World parameters from `BeforeAll`/`AfterAll` hooks (see [documentation](./docs/support_files/hooks.md#world-parameters-in-beforeallafterall)) ([#1770](https://github.com/cucumber/cucumber-js/pull/1770))
13+
- Support for Node.js 21 ([#2365](https://github.com/cucumber/cucumber-js/pull/2365))
1314

1415
### Fixed
1516
- Prevent mutations on world parameters leaking between test cases ([#2362](https://github.com/cucumber/cucumber-js/pull/2362))

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@
205205
"node": "18 || >=20"
206206
},
207207
"enginesTested": {
208-
"node": "18 || 20"
208+
"node": "18 || 20 || 21"
209209
},
210210
"dependencies": {
211211
"@cucumber/ci-environment": "9.2.0",
@@ -240,7 +240,7 @@
240240
"read-pkg-up": "^7.0.1",
241241
"resolve-pkg": "^2.0.0",
242242
"semver": "7.5.3",
243-
"string-argv": "^0.3.1",
243+
"string-argv": "0.3.1",
244244
"strip-ansi": "6.0.1",
245245
"supports-color": "^8.1.1",
246246
"tmp": "^0.2.1",

0 commit comments

Comments
 (0)