Skip to content
Open
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 samples/js-angular/genkit-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"@angular/router": "^18.0.0",
"rxjs": "~7.8.0",
"tslib": "^2.3.0",
"zone.js": "~0.14.3"
"zone.js": "~0.15.1"
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

high

This upgrade to zone.js version ~0.15.1 poses a compatibility risk with your project's Angular version (^18.0.0). zone.js is a critical dependency for Angular applications, and its version is tightly coupled with the framework version to ensure stability and correct functioning of change detection. The recommended and tested version of zone.js for Angular 18 is ~0.14.3.

Moving to 0.15.x without an official recommendation from the Angular team for this framework version can introduce subtle bugs or performance issues. As this is not a security-related upgrade, the risk of introducing instability may outweigh the benefit of using the latest version. It is advisable to remain on the version of zone.js that is aligned with your Angular version.

Suggested change
"zone.js": "~0.15.1"
"zone.js": "~0.14.3"

},
"devDependencies": {
"@angular-devkit/build-angular": "^18.0.2",
Expand Down