Skip to content

Conversation

@bwappsec
Copy link

@bwappsec bwappsec commented Dec 4, 2025

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):

  • samples/client/petstore/typescript-angular-v12-provided-in-root/package.json
  • samples/client/petstore/typescript-angular-v12-provided-in-root/package-lock.json

Merge Risk: High

This is a major upgrade, spanning seven major versions of Angular (v13 to v19). It introduces a vast number of significant breaking changes that will require substantial code and configuration refactoring.

Key Breaking Changes:

  • End of View Engine: As of v13, the legacy View Engine is removed, and Ivy is the only rendering engine. Libraries not compiled with Ivy will no longer work.
  • Standalone by Default: Starting in v19, components, directives, and pipes are standalone by default, fundamentally changing the application structure away from NgModules.
  • Node.js & TypeScript Requirements: The required Node.js version has increased to 18.13.0+ for Angular v17 and newer. TypeScript versions have also been updated significantly across releases.
  • New Control Flow Syntax: Angular v17 introduced a new built-in control flow syntax (@if, @for) to replace structural directives like *ngIf and *ngFor.

Source: Angular Update Guide
Recommendation: A direct upgrade from v12 to v19 is not feasible. Follow the official Angular Update Guide to perform incremental upgrades one major version at a time (12 → 13, 13 → 14, etc.). This is a significant migration effort that must be planned and executed carefully.

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


Vulnerabilities that will be fixed with an upgrade:

Issue Score
high severity Cross-site Scripting (XSS)
SNYK-JS-ANGULARCOMPILER-14157154
  189  

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)

…package.json & samples/client/petstore/typescript-angular-v12-provided-in-root/package-lock.json to reduce vulnerabilities

The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-ANGULARCOMPILER-14157154
@bwappsec bwappsec changed the title [Snyk] Security upgrade @angular/compiler from 12.2.16 to 19.2.17 SWI-3723 [Snyk] Security upgrade @angular/compiler from 12.2.16 to 19.2.17 Dec 4, 2025
@bwappsec
Copy link
Author

bwappsec commented Dec 4, 2025

Snyk checks have passed. No issues have been found so far.

Status Scanner Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues
Code Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants