Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/sdks/e2e/angular-17-ssr/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"@angular/forms": "^17.3.0",
"@angular/platform-browser": "^17.3.0",
"@angular/platform-browser-dynamic": "^17.3.0",
"@angular/platform-server": "^17.3.0",
"@angular/platform-server": "^19.2.21",
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Major version mismatch across Angular peer dependencies

High Severity

@angular/platform-server is bumped to ^19.2.21 while all other @angular/* packages remain at ^17.3.0. The yarn.lock confirms that @angular/platform-server@19.2.21 requires peer dependencies @angular/common, @angular/compiler, @angular/core, and @angular/platform-browser all at exactly 19.2.21. Angular packages are not cross-compatible across major versions, so this will cause install warnings and likely runtime failures during SSR.

Additional Locations (1)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 68dabaa. Configure here.

"@angular/router": "^17.3.0",
"@angular/ssr": "^17.3.8",
"@builder.io/sdk-angular": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/sdks/snippets/angular-17-ssr/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"@angular/forms": "^17.3.0",
"@angular/platform-browser": "^17.3.0",
"@angular/platform-browser-dynamic": "^17.3.0",
"@angular/platform-server": "^17.3.0",
"@angular/platform-server": "^19.2.21",
"@angular/router": "^17.3.0",
"@angular/ssr": "^17.3.8",
"@builder.io/sdk-angular": "workspace:*",
Expand Down
36 changes: 18 additions & 18 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1140,22 +1140,6 @@ __metadata:
languageName: node
linkType: hard

"@angular/platform-server@npm:^17.3.0":
version: 17.3.12
resolution: "@angular/platform-server@npm:17.3.12"
dependencies:
tslib: ^2.3.0
xhr2: ^0.2.0
peerDependencies:
"@angular/animations": 17.3.12
"@angular/common": 17.3.12
"@angular/compiler": 17.3.12
"@angular/core": 17.3.12
"@angular/platform-browser": 17.3.12
checksum: 652dc2c6770b177f1f76def3f21859c16809061269aacc475cbb7e2274a4f4ff2ca5f3c3f5f65506ae15b29459ea9cea57963a4ce0d2ef412b1ec3c6761a1eae
languageName: node
linkType: hard

"@angular/platform-server@npm:^19.0.0":
version: 19.0.5
resolution: "@angular/platform-server@npm:19.0.5"
Expand All @@ -1172,6 +1156,22 @@ __metadata:
languageName: node
linkType: hard

"@angular/platform-server@npm:^19.2.21":
version: 19.2.21
resolution: "@angular/platform-server@npm:19.2.21"
dependencies:
tslib: ^2.3.0
xhr2: ^0.2.0
peerDependencies:
"@angular/common": 19.2.21
"@angular/compiler": 19.2.21
"@angular/core": 19.2.21
"@angular/platform-browser": 19.2.21
rxjs: ^6.5.3 || ^7.4.0
checksum: f6dd40b97177733a9e148060ef2842f4944d863dc33c419cedba207f818da619e8f412befb69f208fb72f8f962f0e19577f194f4b16a71d726111d1598cf9c15
languageName: node
linkType: hard

"@angular/router@npm:^16.2.0":
version: 16.2.12
resolution: "@angular/router@npm:16.2.12"
Expand Down Expand Up @@ -7674,7 +7674,7 @@ __metadata:
"@angular/forms": ^17.3.0
"@angular/platform-browser": ^17.3.0
"@angular/platform-browser-dynamic": ^17.3.0
"@angular/platform-server": ^17.3.0
"@angular/platform-server": ^19.2.21
"@angular/router": ^17.3.0
"@angular/ssr": ^17.3.8
"@builder.io/sdk-angular": "workspace:*"
Expand Down Expand Up @@ -19989,7 +19989,7 @@ __metadata:
"@angular/forms": ^17.3.0
"@angular/platform-browser": ^17.3.0
"@angular/platform-browser-dynamic": ^17.3.0
"@angular/platform-server": ^17.3.0
"@angular/platform-server": ^19.2.21
"@angular/router": ^17.3.0
"@angular/ssr": ^17.3.8
"@builder.io/sdk-angular": "workspace:*"
Expand Down
Loading