diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 22f23f4558..b8de2229f4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/package-lock.json b/package-lock.json index 9ae6486c03..5051c299d5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -48,7 +48,7 @@ "typescript": "5.0.4" }, "engines": { - "node": ">=14.18.0" + "node": ">=16.0.0" } }, "node_modules/@babel/code-frame": { diff --git a/package.json b/package.json index a6a5b31aff..37b9bbbf32 100644 --- a/package.json +++ b/package.json @@ -62,6 +62,6 @@ "release": "lerna version" }, "engines": { - "node": ">=14.18.0" + "node": ">=16.0.0" } } diff --git a/packages/api/package-lock.json b/packages/api/package-lock.json index 08a46b2f50..4f4c896fb6 100644 --- a/packages/api/package-lock.json +++ b/packages/api/package-lock.json @@ -18,7 +18,7 @@ "typed-inject": "3.0.1" }, "engines": { - "node": ">=14.18.0" + "node": ">=16.0.0" } }, "node_modules/@types/node": { diff --git a/packages/api/package.json b/packages/api/package.json index 6541dd194c..26febd6aca 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -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", diff --git a/packages/core/package-lock.json b/packages/core/package-lock.json index 8da716ae48..49e2443191 100644 --- a/packages/core/package-lock.json +++ b/packages/core/package-lock.json @@ -51,7 +51,7 @@ "flatted": "3.2.7" }, "engines": { - "node": ">=14.18.0" + "node": ">=16.0.0" } }, "node_modules/@types/diff-match-patch": { diff --git a/packages/core/package.json b/packages/core/package.json index 48679638c4..c13a5abdd5 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -18,7 +18,7 @@ "directory": "packages/core" }, "engines": { - "node": ">=14.18.0" + "node": ">=16.0.0" }, "keywords": [ "mutation testing", diff --git a/packages/core/test/unit/stryker-cli.spec.ts b/packages/core/test/unit/stryker-cli.spec.ts index 647765c016..a85e5cb2f1 100644 --- a/packages/core/test/unit/stryker-cli.spec.ts +++ b/packages/core/test/unit/stryker-cli.spec.ts @@ -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(); }); }); diff --git a/packages/cucumber-runner/package-lock.json b/packages/cucumber-runner/package-lock.json index 71c12996ae..15459ae3fc 100644 --- a/packages/cucumber-runner/package-lock.json +++ b/packages/cucumber-runner/package-lock.json @@ -17,7 +17,7 @@ "@types/semver": "7.3.13" }, "engines": { - "node": ">=14.18.0" + "node": ">=16.0.0" }, "peerDependencies": { "@cucumber/cucumber": ">=8.0.0", diff --git a/packages/cucumber-runner/package.json b/packages/cucumber-runner/package.json index 8435d0e2af..98f01891b4 100644 --- a/packages/cucumber-runner/package.json +++ b/packages/cucumber-runner/package.json @@ -17,7 +17,7 @@ "directory": "packages/cucumber-runner" }, "engines": { - "node": ">=14.18.0" + "node": ">=16.0.0" }, "keywords": [ "stryker", diff --git a/packages/grunt-stryker/package-lock.json b/packages/grunt-stryker/package-lock.json index 7d1f05e146..3a094547db 100644 --- a/packages/grunt-stryker/package-lock.json +++ b/packages/grunt-stryker/package-lock.json @@ -12,7 +12,7 @@ "@types/node": "18.15.11" }, "engines": { - "node": ">= 8" + "node": ">=16.0.0" }, "peerDependencies": { "@stryker-mutator/core": "^6.4.0", diff --git a/packages/grunt-stryker/package.json b/packages/grunt-stryker/package.json index 2df19142b2..807e39a3ec 100644 --- a/packages/grunt-stryker/package.json +++ b/packages/grunt-stryker/package.json @@ -30,7 +30,7 @@ ], "license": "Apache-2.0", "engines": { - "node": ">= 8" + "node": ">=16.0.0" }, "main": "Gruntfile.js", "devDependencies": { diff --git a/packages/instrumenter/package-lock.json b/packages/instrumenter/package-lock.json index 5746117d88..2ab824df5c 100644 --- a/packages/instrumenter/package-lock.json +++ b/packages/instrumenter/package-lock.json @@ -26,7 +26,7 @@ "babel-plugin-transform-decorators-legacy": "1.3.5" }, "engines": { - "node": ">=14.18.0" + "node": ">=16.0.0" } }, "node_modules/@ampproject/remapping": { diff --git a/packages/instrumenter/package.json b/packages/instrumenter/package.json index 4c497e9bb8..314986f109 100644 --- a/packages/instrumenter/package.json +++ b/packages/instrumenter/package.json @@ -15,7 +15,7 @@ "directory": "packages/instrumenter" }, "engines": { - "node": ">=14.18.0" + "node": ">=16.0.0" }, "publishConfig": { "access": "public" diff --git a/packages/jasmine-runner/package-lock.json b/packages/jasmine-runner/package-lock.json index c92910ade5..c6f6cb3605 100644 --- a/packages/jasmine-runner/package-lock.json +++ b/packages/jasmine-runner/package-lock.json @@ -12,7 +12,7 @@ "@types/node": "18.15.11" }, "engines": { - "node": ">=14.18.0" + "node": ">=16.0.0" }, "peerDependencies": { "@stryker-mutator/core": "^6.4.0", diff --git a/packages/jasmine-runner/package.json b/packages/jasmine-runner/package.json index 0ba03deedf..5f61a510dd 100644 --- a/packages/jasmine-runner/package.json +++ b/packages/jasmine-runner/package.json @@ -16,7 +16,7 @@ ] }, "engines": { - "node": ">=14.18.0" + "node": ">=16.0.0" }, "repository": { "type": "git", diff --git a/packages/jest-runner/package-lock.json b/packages/jest-runner/package-lock.json index e04be57f44..ed435ee8b3 100644 --- a/packages/jest-runner/package-lock.json +++ b/packages/jest-runner/package-lock.json @@ -23,7 +23,7 @@ "ts-node": "10.9.1" }, "engines": { - "node": ">=14.18.0" + "node": ">=16.0.0" }, "peerDependencies": { "@stryker-mutator/core": "^6.4.0" diff --git a/packages/jest-runner/package.json b/packages/jest-runner/package.json index 08d8a9480e..77391d9260 100644 --- a/packages/jest-runner/package.json +++ b/packages/jest-runner/package.json @@ -35,7 +35,7 @@ "directory": "packages/jest-runner" }, "engines": { - "node": ">=14.18.0" + "node": ">=16.0.0" }, "keywords": [ "stryker", diff --git a/packages/karma-runner/package-lock.json b/packages/karma-runner/package-lock.json index f7b7bac591..f8d0666cb6 100644 --- a/packages/karma-runner/package-lock.json +++ b/packages/karma-runner/package-lock.json @@ -25,7 +25,7 @@ "karma-mocha": "2.0.1" }, "engines": { - "node": ">=14.18.0" + "node": ">=16.0.0" }, "peerDependencies": { "@stryker-mutator/core": "^6.4.0" diff --git a/packages/karma-runner/package.json b/packages/karma-runner/package.json index 08ba493d7d..08b17dbbef 100644 --- a/packages/karma-runner/package.json +++ b/packages/karma-runner/package.json @@ -18,7 +18,7 @@ "directory": "packages/karma-runner" }, "engines": { - "node": ">=14.18.0" + "node": ">=16.0.0" }, "keywords": [ "stryker", diff --git a/packages/mocha-runner/package-lock.json b/packages/mocha-runner/package-lock.json index e2246b3673..56688a110a 100644 --- a/packages/mocha-runner/package-lock.json +++ b/packages/mocha-runner/package-lock.json @@ -15,7 +15,7 @@ "@types/node": "18.15.11" }, "engines": { - "node": ">=14.18.0" + "node": ">=16.0.0" }, "peerDependencies": { "@stryker-mutator/core": "^6.4.0", diff --git a/packages/mocha-runner/package.json b/packages/mocha-runner/package.json index 62fb2b91d2..eb0a5f1929 100644 --- a/packages/mocha-runner/package.json +++ b/packages/mocha-runner/package.json @@ -17,7 +17,7 @@ "directory": "packages/mocha-runner" }, "engines": { - "node": ">=14.18.0" + "node": ">=16.0.0" }, "keywords": [ "stryker", diff --git a/packages/typescript-checker/package-lock.json b/packages/typescript-checker/package-lock.json index 91c004fbb1..ec04a4911d 100644 --- a/packages/typescript-checker/package-lock.json +++ b/packages/typescript-checker/package-lock.json @@ -15,7 +15,7 @@ "@types/semver": "7.3.13" }, "engines": { - "node": ">=14.18.0" + "node": ">=16.0.0" }, "peerDependencies": { "@stryker-mutator/core": "^6.4.0", diff --git a/packages/typescript-checker/package.json b/packages/typescript-checker/package.json index b2da3afcb1..8d9b36c46a 100644 --- a/packages/typescript-checker/package.json +++ b/packages/typescript-checker/package.json @@ -18,7 +18,7 @@ "directory": "packages/typescript-checker" }, "engines": { - "node": ">=14.18.0" + "node": ">=16.0.0" }, "publishConfig": { "access": "public"