From f8e4bcb5254d579fd8fa83fb28ca8d0b7f80f6fa Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Mon, 23 Dec 2024 04:37:35 +0000 Subject: [PATCH] feat: upgrade @angular/compiler from 14.3.0 to 19.0.1 Snyk has created this PR to upgrade @angular/compiler from 14.3.0 to 19.0.1. See this package in npm: @angular/compiler See this project in Snyk: https://app.snyk.io/org/lisagorewitdecker/project/5f5864a2-02c2-47ff-9dfd-75de566b4545?utm_source=github&utm_medium=referral&page=upgrade-pr --- first-app/package-lock.json | 96 ++++++++++++++++++++++++++++--------- first-app/package.json | 2 +- 2 files changed, 75 insertions(+), 23 deletions(-) diff --git a/first-app/package-lock.json b/first-app/package-lock.json index 6770cab2..35074d6c 100644 --- a/first-app/package-lock.json +++ b/first-app/package-lock.json @@ -10,7 +10,7 @@ "dependencies": { "@angular/animations": "^14.2.0", "@angular/common": "^14.2.0", - "@angular/compiler": "^14.2.0", + "@angular/compiler": "^19.0.1", "@angular/core": "^14.2.0", "@angular/forms": "^14.2.0", "@angular/platform-browser": "^14.2.0", @@ -20,13 +20,14 @@ "@babel/core": "^7.26.0", "bootstrap": "^5.3.2", "ip": "<= 2.0.1", + "nanoid": ">=3.3.8", + "path-to-regexp": ">=0.1.12", + "rollup": ">=4.27.2", "rxjs": "~7.8.1", "semver": ">=7.6.3", "tslib": "^2.8.0", "webpack": ">=5.96.1", - "zone.js": "~0.15.0", - "nanoid": ">=3.3.8", - "path-to-regexp": ">=0.1.12" + "zone.js": "~0.15.0" }, "devDependencies": { "@angular-devkit/build-angular": "^18.2.10", @@ -44,13 +45,13 @@ "karma-coverage": "~2.2.0", "karma-jasmine": "~5.1.0", "karma-jasmine-html-reporter": "~2.0.0", - "rollup": "^4.27.2", + "nanoid": ">=3.3.8", + "path-to-regexp": ">=0.1.12", + "rollup": ">=4.27.2", "semver": ">=7.6.3", "typescript": "~4.7.2", "webpack": ">=5.96.1", - "zone.js": "~0.15.0", - "nanoid": ">=3.3.8", - "path-to-regexp": ">=0.1.12" + "zone.js": "~0.15.0" } }, "node_modules/@ampproject/remapping": { @@ -1204,17 +1205,18 @@ } }, "node_modules/@angular/compiler": { - "version": "14.3.0", - "resolved": "https://registry.npmjs.org/@angular/compiler/-/compiler-14.3.0.tgz", - "integrity": "sha512-E15Rh0t3vA+bctbKnBCaDmLvc3ix+ZBt6yFZmhZalReQ+KpOlvOJv+L9oiFEgg+rYVl2QdvN7US1fvT0PqswLw==", + "version": "19.0.1", + "resolved": "https://registry.npmjs.org/@angular/compiler/-/compiler-19.0.1.tgz", + "integrity": "sha512-loyI701+As+sWsE4yr9HpIPBqIohpNrGby/hsXtr+zJTMUWp/sKZlavctVtUsWWJhwHMevoybdgd3N9NY97F7g==", + "license": "MIT", "dependencies": { "tslib": "^2.3.0" }, "engines": { - "node": "^14.15.0 || >=16.10.0" + "node": "^18.19.1 || ^20.11.1 || >=22.0.0" }, "peerDependencies": { - "@angular/core": "14.3.0" + "@angular/core": "19.0.1" }, "peerDependenciesMeta": { "@angular/core": { @@ -7074,6 +7076,13 @@ "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", "dev": true }, + "node_modules/express/node_modules/path-to-regexp": { + "version": "0.1.10", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.10.tgz", + "integrity": "sha512-7lf7qcQidTku0Gu3YDPc8DJ1q7OOucfa/BSsIwjuh56VU7katFvuM8hULfkwB3Fns/rsVF7PwPKVw1sl5KQS9w==", + "dev": true, + "license": "MIT" + }, "node_modules/express/node_modules/statuses": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz", @@ -10068,9 +10077,9 @@ "dev": true }, "node_modules/nanoid": { - "version": "3.3.7", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.7.tgz", - "integrity": "sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==", + "version": "5.0.9", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-5.0.9.tgz", + "integrity": "sha512-Aooyr6MXU6HpvvWXKoVoXwKMs/KyVakWwg7xQfv5/S/RIgJMy0Ifa45H9qqYy7pTCszrHzP21Uk4PZq2HpEM8Q==", "dev": true, "funding": [ { @@ -10078,11 +10087,12 @@ "url": "https://github.com/sponsors/ai" } ], + "license": "MIT", "bin": { - "nanoid": "bin/nanoid.cjs" + "nanoid": "bin/nanoid.js" }, "engines": { - "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" + "node": "^18 || >=20" } }, "node_modules/needle": { @@ -10950,10 +10960,14 @@ } }, "node_modules/path-to-regexp": { - "version": "0.1.10", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.10.tgz", - "integrity": "sha512-7lf7qcQidTku0Gu3YDPc8DJ1q7OOucfa/BSsIwjuh56VU7katFvuM8hULfkwB3Fns/rsVF7PwPKVw1sl5KQS9w==", - "dev": true + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-8.2.0.tgz", + "integrity": "sha512-TdrF7fW9Rphjq4RjrW0Kp2AW0Ahwu9sRGTkS6bvDi0SCwZlEZYmcfDbEsTz8RVk0EHIS/Vd1bv3JhG+1xZuAyQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=16" + } }, "node_modules/path-type": { "version": "5.0.0", @@ -11290,6 +11304,25 @@ "integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==", "dev": true }, + "node_modules/postcss/node_modules/nanoid": { + "version": "3.3.8", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.8.tgz", + "integrity": "sha512-WNLf5Sd8oZxOm+TzppcYk8gVOgP+l58xNy58D0nbUnOxOWRWvlcCV4kUF7ltmI6PsrLl/BgKEyS4mqsGChFN0w==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "bin": { + "nanoid": "bin/nanoid.cjs" + }, + "engines": { + "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" + } + }, "node_modules/proc-log": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/proc-log/-/proc-log-2.0.1.tgz", @@ -13611,6 +13644,25 @@ "@esbuild/win32-x64": "0.21.5" } }, + "node_modules/vite/node_modules/nanoid": { + "version": "3.3.8", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.8.tgz", + "integrity": "sha512-WNLf5Sd8oZxOm+TzppcYk8gVOgP+l58xNy58D0nbUnOxOWRWvlcCV4kUF7ltmI6PsrLl/BgKEyS4mqsGChFN0w==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "bin": { + "nanoid": "bin/nanoid.cjs" + }, + "engines": { + "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" + } + }, "node_modules/vite/node_modules/postcss": { "version": "8.4.47", "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.47.tgz", diff --git a/first-app/package.json b/first-app/package.json index dbba1b3b..f7fa2413 100644 --- a/first-app/package.json +++ b/first-app/package.json @@ -12,7 +12,7 @@ "dependencies": { "@angular/animations": "^14.2.0", "@angular/common": "^14.2.0", - "@angular/compiler": "^14.2.0", + "@angular/compiler": "^19.0.1", "@angular/core": "^14.2.0", "@angular/forms": "^14.2.0", "@angular/platform-browser": "^14.2.0",