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 package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"dependencies": {
"@angular/animations": "^5.2.9",
"@angular/common": "^5.2.9",
"@angular/compiler": "^5.2.9",
"@angular/compiler": "^19.2.17",

Choose a reason for hiding this comment

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

critical

This upgrade of @angular/compiler to version 19.2.17 is a significant breaking change, especially since other @angular packages like @angular/core (line 23), @angular/common (line 21), and @angular/compiler-cli (line 51, in devDependencies) remain on version 5.2.9. Angular packages are tightly coupled and must be kept on the same version to ensure compatibility. This version mismatch will almost certainly break your application's build and runtime.

A proper upgrade from Angular 5 to 19 is a major migration effort and involves more than just this one package. Key considerations include:

  • Updating all @angular/* packages: All framework packages must be on the same version.
  • Migrating from @angular/http: The @angular/http module (line 25) was removed in Angular 8. You'll need to migrate to @angular/common/http.
  • Updating RxJS: Your project uses RxJS 5. Newer Angular versions require RxJS 6 or 7, which has many breaking changes.
  • Updating TypeScript and CLI: You'll also need to update TypeScript (currently ~2.5.3) and @angular/cli (currently ~1.7.3) to versions compatible with Angular 19.

This automated PR is not safe to merge. It's recommended to perform a full, careful Angular migration, potentially using the official Angular update guide (update.angular.io) as a starting point.

"@angular/core": "^5.2.9",
"@angular/forms": "^5.2.9",
"@angular/http": "^5.2.9",
Expand Down
14 changes: 10 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -113,11 +113,12 @@
reflect-metadata "^0.1.2"
tsickle "^0.27.2"

"@angular/compiler@^5.2.9":
version "5.2.9"
resolved "https://registry.yarnpkg.com/@angular/compiler/-/compiler-5.2.9.tgz#1d03bc1e8b38c259bc58114d691c2140d244f8f5"
"@angular/compiler@^19.2.17":
version "19.2.17"
resolved "https://registry.yarnpkg.com/@angular/compiler/-/compiler-19.2.17.tgz#e74a321e2d20f52bbd809498e4a810028e16020f"
integrity sha512-qo8psYASAlDiQ8fAL8i/E2JfWH2nPTpZDKKZxSWvgBVA8o+zUEjYAJu6/k6btnu+4Qcb425T0rmM/zao6EU9Aw==
dependencies:
tslib "^1.7.1"
tslib "^2.3.0"

"@angular/core@^5.2.9":
version "5.2.9"
Expand Down Expand Up @@ -6771,6 +6772,11 @@ tslib@^1.7.1, tslib@^1.8.0, tslib@^1.8.1:
version "1.9.0"
resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.9.0.tgz#e37a86fda8cbbaf23a057f473c9f4dc64e5fc2e8"

tslib@^2.3.0:
version "2.8.1"
resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.8.1.tgz#612efe4ed235d567e8aba5f2a5fab70280ade83f"
integrity sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==

tslint@~5.9.1:
version "5.9.1"
resolved "https://registry.yarnpkg.com/tslint/-/tslint-5.9.1.tgz#1255f87a3ff57eb0b0e1f0e610a8b4748046c9ae"
Expand Down