From 70ff71897c2900729c0c0c6565dd7cfde2e1440c Mon Sep 17 00:00:00 2001 From: Alan Agius Date: Tue, 11 Oct 2022 12:40:56 +0000 Subject: [PATCH] feat(@nguniversal/common): add support for Node.js version 18 This change aligns with the supported Node.js versions of the Angular CLI. See: angular/angular-cli#24026 BREAKING CHANGE: Angular universal no longer supports Node.js versions `14.[15-19].x` and `16.[10-12].x`. Current supported versions of Node.js are `14.20.x`, `16.13.x` and `18.10.x`. --- modules/builders/package.json | 2 +- modules/common/package.json | 2 +- modules/express-engine/package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/builders/package.json b/modules/builders/package.json index 73ef93d0b1..a424a836d5 100644 --- a/modules/builders/package.json +++ b/modules/builders/package.json @@ -5,7 +5,7 @@ "homepage": "https://github.com/angular/universal#readme", "license": "MIT", "engines": { - "node": "^14.15.0 || >=16.10.0" + "node": "^14.20.0 || ^16.13.0 || >=18.10.0" }, "keywords": [ "ssr", diff --git a/modules/common/package.json b/modules/common/package.json index d88bf0e427..73030ca7f0 100644 --- a/modules/common/package.json +++ b/modules/common/package.json @@ -12,7 +12,7 @@ "default": "./tools/bundles/index.js" }, "engines": { - "node": "^14.15.0 || >=16.10.0" + "node": "^14.20.0 || ^16.13.0 || >=18.10.0" }, "dependencies": { "critters": "0.0.16", diff --git a/modules/express-engine/package.json b/modules/express-engine/package.json index 7e10b97a9f..d7b32a06ca 100644 --- a/modules/express-engine/package.json +++ b/modules/express-engine/package.json @@ -9,7 +9,7 @@ "universal" ], "engines": { - "node": "^14.15.0 || >=16.10.0" + "node": "^14.20.0 || ^16.13.0 || >=18.10.0" }, "peerDependencies": { "@angular/common": "NG_VERSION",