Skip to content

Conversation

@bwappsec
Copy link

snyk-top-banner

Snyk has created this PR to fix 2 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

Vulnerabilities that will be fixed with an upgrade:

Issue Score
high severity Cross-site Scripting (XSS)
SNYK-JS-ANGULARCOMPILER-14908872
  161  
high severity Cross-site Scripting (XSS)
SNYK-JS-ANGULARCORE-14908871
  161  

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-14908872
- https://snyk.io/vuln/SNYK-JS-ANGULARCORE-14908871
@bwappsec bwappsec changed the title [Snyk] Fix for 2 vulnerabilities SWI-3723 [Snyk] Fix for 2 vulnerabilities Jan 16, 2026
@bwappsec
Copy link
Author

Merge Risk: High

This is a major upgrade across seven versions (v12 → v19) and introduces multiple significant breaking changes and paradigm shifts. A direct upgrade is not recommended; a sequential, version-by-version migration is necessary.

Key Breaking Changes:

  • Standalone Components: The NgModule-based structure is replaced by standalone components, which are now the default. This is a fundamental architectural change requiring significant refactoring.
  • New Template Control Flow: A new built-in syntax (@if, @for) was introduced in v17 to replace structural directives like *ngIf and *ngFor.
  • Rendering Engine: The legacy View Engine and its compatibility compiler (ngcc) have been completely removed. All dependencies must be Ivy-compatible.
  • Environment: Support for older versions of Node.js and TypeScript has been dropped. For instance, Angular 16+ requires Node.js 16 or 18.

Source: Angular Update Guide
Recommendation: Do not attempt a direct upgrade from 12 to 19. Follow the official Angular Update Guide to upgrade one major version at a time, addressing the specific breaking changes and running migrations at each step.

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

@bwappsec
Copy link
Author

bwappsec commented Jan 16, 2026

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