Skip to content

Commit

Permalink
feat(@nguniversal/common): drop support for Node.js 12
Browse files Browse the repository at this point in the history
Node.js v12 will become EOL on 2022-04-30. As a result, Angular CLI v14 will no longer support Node.js v12.

BREAKING CHANGE:

Support for Node.js v12 has been removed as it will become EOL on 2022-04-30. Please use Node.js v14.15 or later.
  • Loading branch information
alan-agius4 committed Mar 7, 2022
1 parent bf2805f commit 46caf56
Show file tree
Hide file tree
Showing 5 changed files with 242 additions and 95 deletions.
2 changes: 1 addition & 1 deletion modules/builders/package.json
Expand Up @@ -5,7 +5,7 @@
"homepage": "https://github.com/angular/universal#readme",
"license": "MIT",
"engines": {
"node": "^12.20.0 || ^14.15.0 || >=16.10.0"
"node": "^14.15.0 || >=16.10.0"
},
"keywords": [
"ssr",
Expand Down
2 changes: 1 addition & 1 deletion modules/common/package.json
Expand Up @@ -12,7 +12,7 @@
"default": "./tools/bundles/index.js"
},
"engines": {
"node": "^12.20.0 || ^14.15.0 || >=16.10.0"
"node": "^14.15.0 || >=16.10.0"
},
"dependencies": {
"critters": "0.0.16",
Expand Down
2 changes: 1 addition & 1 deletion modules/express-engine/package.json
Expand Up @@ -9,7 +9,7 @@
"universal"
],
"engines": {
"node": "^12.20.0 || ^14.15.0 || >=16.10.0"
"node": "^14.15.0 || >=16.10.0"
},
"peerDependencies": {
"@angular/common": "NG_VERSION",
Expand Down
6 changes: 3 additions & 3 deletions package.json
Expand Up @@ -17,7 +17,7 @@
"engine-strict": true
},
"engines": {
"node": "^12.20.0 || ^14.15.0 || ^16.10.0",
"node": "^14.15.0 || ^16.10.0",
"yarn": ">=1.21.1 <2",
"npm": "Please use yarn instead of NPM to install dependencies"
},
Expand All @@ -31,7 +31,7 @@
"check-tooling-setup": "tsc --project .ng-dev/tsconfig.json"
},
"resolutions": {
"@types/node": "12.12.37"
"@types/node": "^14.15.0"
},
"devDependencies": {
"@angular-devkit/architect": "0.1302.5",
Expand Down Expand Up @@ -65,7 +65,7 @@
"@types/fs-extra": "^9.0.0",
"@types/jasmine": "^3.4.4",
"@types/jsdom": "^16.2.10",
"@types/node": "12.12.37",
"@types/node": "^14.15.0",
"@typescript-eslint/eslint-plugin": "5.13.0",
"@typescript-eslint/parser": "5.13.0",
"browser-sync": "^2.26.7",
Expand Down

0 comments on commit 46caf56

Please sign in to comment.