From 220a79f6b94e2521a3421a615a3b12d99585e45e Mon Sep 17 00:00:00 2001 From: Alan Agius Date: Wed, 13 Sep 2023 11:07:42 +0000 Subject: [PATCH] build: remove support for Node.js v16 BREAKING CHANGE: Node.js v16 support has been removed and the minimum support version has been bumped to 18.13.0. Node.js v16 is planned to be End-of-Life on 2023-09-11. Angular will stop supporting Node.js v16 in Angular v17. For Node.js release schedule details, please see: https://github.com/nodejs/release#release-schedule --- packages/animations/package.json | 2 +- packages/bazel/package.json | 2 +- packages/common/package.json | 2 +- packages/compiler-cli/package.json | 2 +- packages/compiler/package.json | 2 +- packages/core/package.json | 2 +- packages/elements/package.json | 2 +- packages/forms/package.json | 2 +- packages/language-service/package.json | 2 +- packages/localize/package.json | 2 +- packages/platform-browser-dynamic/package.json | 2 +- packages/platform-browser/package.json | 2 +- packages/platform-server/package.json | 2 +- packages/router/package.json | 2 +- packages/service-worker/package.json | 2 +- packages/upgrade/package.json | 2 +- 16 files changed, 16 insertions(+), 16 deletions(-) diff --git a/packages/animations/package.json b/packages/animations/package.json index 7370c6720ab8db..74ad3b24b3bd7e 100644 --- a/packages/animations/package.json +++ b/packages/animations/package.json @@ -5,7 +5,7 @@ "author": "angular", "license": "MIT", "engines": { - "node": "^16.14.0 || >=18.10.0" + "node": ">=18.13.0" }, "dependencies": { "tslib": "^2.3.0" diff --git a/packages/bazel/package.json b/packages/bazel/package.json index 8dd38b515c40cf..9ee8058917d647 100644 --- a/packages/bazel/package.json +++ b/packages/bazel/package.json @@ -5,7 +5,7 @@ "author": "angular", "license": "MIT", "engines": { - "node": "^16.14.0 || >=18.10.0" + "node": ">=18.13.0" }, "bin": { "ngc-wrapped": "./src/ngc-wrapped/index.mjs", diff --git a/packages/common/package.json b/packages/common/package.json index f24ee99bc2031c..cee0b6bfb4fa91 100644 --- a/packages/common/package.json +++ b/packages/common/package.json @@ -5,7 +5,7 @@ "author": "angular", "license": "MIT", "engines": { - "node": "^16.14.0 || >=18.10.0" + "node": ">=18.13.0" }, "locales": "locales", "dependencies": { diff --git a/packages/compiler-cli/package.json b/packages/compiler-cli/package.json index 6ab4c334650f13..5ebae997794f78 100644 --- a/packages/compiler-cli/package.json +++ b/packages/compiler-cli/package.json @@ -67,7 +67,7 @@ ], "license": "MIT", "engines": { - "node": "^16.14.0 || >=18.10.0" + "node": ">=18.13.0" }, "bugs": { "url": "https://github.com/angular/angular/issues" diff --git a/packages/compiler/package.json b/packages/compiler/package.json index 23a2aa4b8daebe..dffa0ef7eca73d 100644 --- a/packages/compiler/package.json +++ b/packages/compiler/package.json @@ -5,7 +5,7 @@ "author": "angular", "license": "MIT", "engines": { - "node": "^16.14.0 || >=18.10.0" + "node": ">=18.13.0" }, "dependencies": { "tslib": "^2.3.0" diff --git a/packages/core/package.json b/packages/core/package.json index 1810f0fe5f8bac..597574240d80cf 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -5,7 +5,7 @@ "author": "angular", "license": "MIT", "engines": { - "node": "^16.14.0 || >=18.10.0" + "node": ">=18.13.0" }, "exports": { "./schematics/*": { diff --git a/packages/elements/package.json b/packages/elements/package.json index 0624706db09ffe..6b66cd9a559cbb 100644 --- a/packages/elements/package.json +++ b/packages/elements/package.json @@ -5,7 +5,7 @@ "author": "angular", "license": "MIT", "engines": { - "node": "^16.14.0 || >=18.10.0" + "node": ">=18.13.0" }, "dependencies": { "tslib": "^2.3.0" diff --git a/packages/forms/package.json b/packages/forms/package.json index 4c2de1737d94ac..6fed09f0c1c2c6 100644 --- a/packages/forms/package.json +++ b/packages/forms/package.json @@ -5,7 +5,7 @@ "author": "angular", "license": "MIT", "engines": { - "node": "^16.14.0 || >=18.10.0" + "node": ">=18.13.0" }, "dependencies": { "tslib": "^2.3.0" diff --git a/packages/language-service/package.json b/packages/language-service/package.json index ce2a3720c22eaf..60b46bd01378e3 100644 --- a/packages/language-service/package.json +++ b/packages/language-service/package.json @@ -7,7 +7,7 @@ "author": "angular", "license": "MIT", "engines": { - "node": "^16.14.0 || >=18.10.0" + "node": ">=18.13.0" }, "exports": { ".": { diff --git a/packages/localize/package.json b/packages/localize/package.json index 84b9ad0f19330b..32b66901cec4f4 100644 --- a/packages/localize/package.json +++ b/packages/localize/package.json @@ -16,7 +16,7 @@ "author": "angular", "license": "MIT", "engines": { - "node": "^16.14.0 || >=18.10.0" + "node": ">=18.13.0" }, "repository": { "type": "git", diff --git a/packages/platform-browser-dynamic/package.json b/packages/platform-browser-dynamic/package.json index 50d2344200eb13..6146ac2d50079a 100644 --- a/packages/platform-browser-dynamic/package.json +++ b/packages/platform-browser-dynamic/package.json @@ -5,7 +5,7 @@ "author": "angular", "license": "MIT", "engines": { - "node": "^16.14.0 || >=18.10.0" + "node": ">=18.13.0" }, "dependencies": { "tslib": "^2.3.0" diff --git a/packages/platform-browser/package.json b/packages/platform-browser/package.json index 57b51c5ef382a1..ed6a6e03270b40 100644 --- a/packages/platform-browser/package.json +++ b/packages/platform-browser/package.json @@ -5,7 +5,7 @@ "author": "angular", "license": "MIT", "engines": { - "node": "^16.14.0 || >=18.10.0" + "node": ">=18.13.0" }, "dependencies": { "tslib": "^2.3.0" diff --git a/packages/platform-server/package.json b/packages/platform-server/package.json index 1691891d87ba04..2320916b6cbee2 100644 --- a/packages/platform-server/package.json +++ b/packages/platform-server/package.json @@ -5,7 +5,7 @@ "author": "angular", "license": "MIT", "engines": { - "node": "^16.14.0 || >=18.10.0" + "node": ">=18.13.0" }, "peerDependencies": { "@angular/animations": "0.0.0-PLACEHOLDER", diff --git a/packages/router/package.json b/packages/router/package.json index dbe644ae3df4c7..cf326e3cc6c7e7 100644 --- a/packages/router/package.json +++ b/packages/router/package.json @@ -14,7 +14,7 @@ "author": "angular", "license": "MIT", "engines": { - "node": "^16.14.0 || >=18.10.0" + "node": ">=18.13.0" }, "bugs": { "url": "https://github.com/angular/angular/issues" diff --git a/packages/service-worker/package.json b/packages/service-worker/package.json index f23f84bf4b8cb0..8df6727b84130a 100644 --- a/packages/service-worker/package.json +++ b/packages/service-worker/package.json @@ -5,7 +5,7 @@ "author": "angular", "license": "MIT", "engines": { - "node": "^16.14.0 || >=18.10.0" + "node": ">=18.13.0" }, "exports": { "./ngsw-worker.js": { diff --git a/packages/upgrade/package.json b/packages/upgrade/package.json index ea7c855b3eff3b..07cc7eb8cca394 100644 --- a/packages/upgrade/package.json +++ b/packages/upgrade/package.json @@ -5,7 +5,7 @@ "author": "angular", "license": "MIT", "engines": { - "node": "^16.14.0 || >=18.10.0" + "node": ">=18.13.0" }, "dependencies": { "tslib": "^2.3.0"