Skip to content

SWI-3723 [Snyk] Fix for 2 vulnerabilities#988

Open
bwappsec wants to merge 1 commit intomasterfrom
snyk-fix-12eac5f79c847e6ec8b81d5fd3da6af8
Open

SWI-3723 [Snyk] Fix for 2 vulnerabilities#988
bwappsec wants to merge 1 commit intomasterfrom
snyk-fix-12eac5f79c847e6ec8b81d5fd3da6af8

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/others/typescript-angular/package.json
  • samples/client/others/typescript-angular/package-lock.json

Vulnerabilities that will be fixed with an upgrade:

Issue Score
low severity Cross-site Scripting (XSS)
SNYK-JS-ANGULARCOMPILER-15610286
  75  
low severity Cross-site Scripting (XSS)
SNYK-JS-ANGULARCORE-15610287
  75  

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)

…client/others/typescript-angular/package-lock.json to reduce vulnerabilities

The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-ANGULARCOMPILER-15610286
- https://snyk.io/vuln/SNYK-JS-ANGULARCORE-15610287
@bwappsec
Copy link
Author

Merge Risk: High

This is a major upgrade from Angular v17 to v19, introducing significant breaking changes and new architectural paradigms. Manual developer intervention and thorough testing are required.

Key Breaking Changes:

  • Standalone by Default: In v19, components, directives, and pipes are now standalone by default. Projects that still rely on NgModules must be updated to explicitly declare standalone: false in their decorators. The ng update command will assist in migrating existing standalone: true components by removing the now-redundant flag, but projects using NgModules will require careful review.
  • API Removals: The createNgModuleRef function has been removed. Developers should use createNgModule instead.
  • effect() Function Update: The allowSignalWrites flag has been removed from the effect() function, which may alter the behavior of existing effects that relied on this flag.
  • Node.js Requirement: This upgrade requires a compatible Node.js version. Angular versions 16 through 19 require Node.js v16 or newer.

Other Notable Changes:

  • Zoneless Change Detection: Angular 18 introduced experimental support for running applications without zone.js, a major step towards a more modern and efficient change detection system.
  • Stable Signals API: The Signals API for reactive state management is now stable in v19, marking a fundamental shift in Angular's reactivity model.

Recommendation: Use the official ng update @angular/cli@19 @angular/core@19 command to perform the upgrade, as it will handle many automatic migrations. However, due to the scale of the changes, a full regression test of the application is essential. Pay close attention to module-based architecture and any usage of the removed createNgModuleRef API.

Source: Angular Update Guide

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

@bwappsec bwappsec changed the title [Snyk] Fix for 2 vulnerabilities SWI-3723 [Snyk] Fix for 2 vulnerabilities Mar 19, 2026
@bwappsec
Copy link
Author

bwappsec commented Mar 19, 2026

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

Status Scan Engine 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.

2 participants