-
Notifications
You must be signed in to change notification settings - Fork 0
[Snyk] Security upgrade @angular/compiler from 14.3.0 to 19.2.17 #12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -15,7 +15,7 @@ | |
| "dependencies": { | ||
| "@angular/animations": "^14.0.0", | ||
| "@angular/common": "^14.0.0", | ||
| "@angular/compiler": "^14.0.0", | ||
| "@angular/compiler": "^19.2.17", | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. P0: Major version mismatch: Prompt for AI agents |
||
| "@angular/core": "^14.0.0", | ||
| "@angular/fire": "^7.1.0", | ||
| "@angular/forms": "^14.0.0", | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR introduces a version mismatch between Angular packages.
@angular/compileris upgraded to^19.2.17, while other@angularpackages like@angular/coreremain on^14.0.0. All@angular/*packages within a project should use the same version to ensure compatibility and prevent build/runtime errors. A major version jump from 14 to 19 will almost certainly break the application.It is recommended to either upgrade all
@angular/*packages to the same major version (e.g.,~19.2.17) or find a security patch for@angular/compilerthat is compatible with version 14. Since this PR only upgrades a single package, it's best to revert this change and perform a full Angular upgrade in a separate, manual PR.