From 1087d8ccbe21c607fda03a879124ea1e0832340f Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 25 Jun 2026 02:50:40 +0000 Subject: [PATCH] feat: upgrade @angular/router from 21.2.17 to 22.0.0 Snyk has created this PR to upgrade @angular/router from 21.2.17 to 22.0.0. See this package in npm: @angular/router See this project in Snyk: https://app.snyk.io/org/contentstack-devex/project/11c47692-61cb-4ece-ba33-ab2c35193373?utm_source=github&utm_medium=referral&page=upgrade-pr --- package-lock.json | 17 +++++++++-------- package.json | 2 +- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/package-lock.json b/package-lock.json index 7b9673d..9f28c9b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,7 +13,7 @@ "@angular/compiler": "21.2.17", "@angular/core": "21.2.17", "@angular/platform-browser": "21.2.17", - "@angular/router": "21.2.17", + "@angular/router": "^22.0.0", "@contentstack/delivery-sdk": "^5.2.1", "@contentstack/live-preview-utils": "^4.4.4", "@contentstack/utils": "^1.9.1", @@ -813,19 +813,20 @@ } }, "node_modules/@angular/router": { - "version": "21.2.17", - "resolved": "https://registry.npmjs.org/@angular/router/-/router-21.2.17.tgz", - "integrity": "sha512-RSCtK5ppAV6y6wfRLHSK2a9Wc/vm8j0wsC+/j9PH9yQmppWFVXDWsg5E39MKOIpnoYVx2+hI6eak6+wYtZTe1A==", + "version": "22.0.0", + "resolved": "https://registry.npmjs.org/@angular/router/-/router-22.0.0.tgz", + "integrity": "sha512-CCtonkDVkkfKLtuKol8rC1zmWI4QX7w3uUtdlOoz6K9HXAhpZYGcSq5RyloA767QLj36u7108K9xHBs2abOajQ==", + "license": "MIT", "dependencies": { "tslib": "^2.3.0" }, "engines": { - "node": "^20.19.0 || ^22.12.0 || >=24.0.0" + "node": "^22.22.3 || ^24.15.0 || >=26.0.0" }, "peerDependencies": { - "@angular/common": "21.2.17", - "@angular/core": "21.2.17", - "@angular/platform-browser": "21.2.17", + "@angular/common": "22.0.0", + "@angular/core": "22.0.0", + "@angular/platform-browser": "22.0.0", "rxjs": "^6.5.3 || ^7.4.0" } }, diff --git a/package.json b/package.json index 3237b53..a979e1a 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "@angular/compiler": "21.2.17", "@angular/core": "21.2.17", "@angular/platform-browser": "21.2.17", - "@angular/router": "21.2.17", + "@angular/router": "22.0.0", "@contentstack/delivery-sdk": "^5.2.1", "@contentstack/live-preview-utils": "^4.4.4", "@contentstack/utils": "^1.9.1",