Skip to content

[Snyk] Security upgrade @angular/core from 18.2.13 to 19.2.19#34

Open
snyk-io[bot] wants to merge 1 commit intomainfrom
snyk-fix-8b19705a6ee30717a3f8c4645c6ae690
Open

[Snyk] Security upgrade @angular/core from 18.2.13 to 19.2.19#34
snyk-io[bot] wants to merge 1 commit intomainfrom
snyk-fix-8b19705a6ee30717a3f8c4645c6ae690

Conversation

@snyk-io
Copy link

@snyk-io snyk-io bot commented Feb 27, 2026

snyk-top-banner

Snyk has created this PR to fix 1 vulnerabilities in the npm dependencies of this project.

Snyk changed the following file(s):

  • Angular/package.json
  • Angular/package-lock.json

Vulnerabilities that will be fixed with an upgrade:

Issue Score
high severity Cross-site Scripting (XSS)
SNYK-JS-ANGULARCORE-15353393
  164  

Breaking Change Risk

Merge Risk: High

Notice: This assessment is enhanced by AI.


Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.

For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Cross-site Scripting (XSS)

@snyk-io snyk-io bot requested a review from a team as a code owner February 27, 2026 00:14
@snyk-io
Copy link
Author

snyk-io bot commented Feb 27, 2026

Merge Risk: High

The upgrade from Angular v18 to v19 is a major version update that stabilizes the new signal-based APIs and introduces several new features. This is a high-risk upgrade because it requires code modifications to adopt the now-stable signal APIs.

Key Breaking Changes & Migration Actions:

  • Stable Signal-Based APIs: The new APIs for input, output, and queries are now stable. Migrating is recommended to align with modern Angular practices. The Angular team provides schematics to automate this process.

    • Action Required: Run ng generate @angular/core:signals to migrate your component inputs, outputs, and queries to the new signal-based APIs.
    • Note: Signal-based inputs are read-only. If your application was previously modifying @Input() properties directly, manual refactoring will be required after running the migration.
  • effect() Function Behavior Change: The allowSignalWrites flag has been removed from the effect() function. Writing to a signal within an effect is now allowed by default, which simplifies the API but changes its behavior from the previous developer preview.

  • Environment Updates: Angular 19 requires TypeScript version 5.6 or later. While the Node.js requirement (18.19.1+) is unchanged from Angular 18, the TypeScript version update is a required environment change.

Recommendation:
This upgrade requires running migration scripts and performing manual code verification. Developers should run the provided schematics to update to the new signal APIs and then thoroughly test the application, paying close attention to components where inputs might have been programmatically changed.

Source: Angular v19 Release Blog

Notice 🤖: This content was augmented using artificial intelligence. AI-generated content may contain errors and should be reviewed for accuracy before use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

0 participants