Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop node 14 support #4105

Merged
merged 3 commits into from
Apr 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: ['14.18.0', 16.x]
node-version: [16.x, 18.x]
os: ['ubuntu-latest', 'windows-latest']
steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,6 @@
"release": "lerna version"
},
"engines": {
"node": ">=14.18.0"
"node": ">=16.0.0"
}
}
2 changes: 1 addition & 1 deletion packages/api/package-lock.json

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

2 changes: 1 addition & 1 deletion packages/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
},
"homepage": "https://stryker-mutator.io/",
"engines": {
"node": ">=14.18.0"
"node": ">=16.0.0"
},
"dependencies": {
"mutation-testing-metrics": "1.7.14",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package-lock.json

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

2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"directory": "packages/core"
},
"engines": {
"node": ">=14.18.0"
"node": ">=16.0.0"
},
"keywords": [
"mutation testing",
Expand Down
10 changes: 5 additions & 5 deletions packages/core/test/unit/stryker-cli.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,13 +105,13 @@ describe(StrykerCli.name, () => {
});

describe(guardMinimalNodeVersion.name, () => {
it('should fail for < v14.18.0', () => {
expect(() => guardMinimalNodeVersion('v14.17.0')).throws(
'Node.js version v14.17.0 detected. StrykerJS requires version to match >=14.18.0. Please update your Node.js version or visit https://nodejs.org/ for additional instructions'
it('should fail for < v16.0.0', () => {
expect(() => guardMinimalNodeVersion('v14.21.3')).throws(
'Node.js version v14.21.3 detected. StrykerJS requires version to match >=16.0.0. Please update your Node.js version or visit https://nodejs.org/ for additional instructions'
);
});
it('should not fail for >= v14.18.0', () => {
expect(() => guardMinimalNodeVersion('v14.18.0')).not.throws();
it('should not fail for >= v16.0.0', () => {
expect(() => guardMinimalNodeVersion('v16.0.0')).not.throws();
});
});

Expand Down
2 changes: 1 addition & 1 deletion packages/cucumber-runner/package-lock.json

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

2 changes: 1 addition & 1 deletion packages/cucumber-runner/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"directory": "packages/cucumber-runner"
},
"engines": {
"node": ">=14.18.0"
"node": ">=16.0.0"
},
"keywords": [
"stryker",
Expand Down
2 changes: 1 addition & 1 deletion packages/grunt-stryker/package-lock.json

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

2 changes: 1 addition & 1 deletion packages/grunt-stryker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
],
"license": "Apache-2.0",
"engines": {
"node": ">= 8"
"node": ">=16.0.0"
},
"main": "Gruntfile.js",
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/instrumenter/package-lock.json

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

2 changes: 1 addition & 1 deletion packages/instrumenter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"directory": "packages/instrumenter"
},
"engines": {
"node": ">=14.18.0"
"node": ">=16.0.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/jasmine-runner/package-lock.json

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

2 changes: 1 addition & 1 deletion packages/jasmine-runner/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
]
},
"engines": {
"node": ">=14.18.0"
"node": ">=16.0.0"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/jest-runner/package-lock.json

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

2 changes: 1 addition & 1 deletion packages/jest-runner/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"directory": "packages/jest-runner"
},
"engines": {
"node": ">=14.18.0"
"node": ">=16.0.0"
},
"keywords": [
"stryker",
Expand Down
2 changes: 1 addition & 1 deletion packages/karma-runner/package-lock.json

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

2 changes: 1 addition & 1 deletion packages/karma-runner/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"directory": "packages/karma-runner"
},
"engines": {
"node": ">=14.18.0"
"node": ">=16.0.0"
},
"keywords": [
"stryker",
Expand Down
2 changes: 1 addition & 1 deletion packages/mocha-runner/package-lock.json

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

2 changes: 1 addition & 1 deletion packages/mocha-runner/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"directory": "packages/mocha-runner"
},
"engines": {
"node": ">=14.18.0"
"node": ">=16.0.0"
},
"keywords": [
"stryker",
Expand Down
2 changes: 1 addition & 1 deletion packages/typescript-checker/package-lock.json

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

2 changes: 1 addition & 1 deletion packages/typescript-checker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"directory": "packages/typescript-checker"
},
"engines": {
"node": ">=14.18.0"
"node": ">=16.0.0"
},
"publishConfig": {
"access": "public"
Expand Down