Skip to content

@angular-devkit/build-angular depends on vulnerable version of vite #30241

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
1 task
JainDhaval opened this issue May 5, 2025 · 1 comment
Closed
1 task

Comments

@JainDhaval
Copy link

Command

new

Is this a regression?

  • Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was

No response

Description

Running npm audit on Angular v18 project causes an error output, because @angular-devkit/build-angular depends on vulnerable version of vite.
See more details: GHSA-859w-5945-r5v3

Minimal Reproduction

Create new Angular v18 project.
Run npm audit in the project folder

Exception or Error


Your Environment

Angular CLI: 18.2.12
Node: 20.16.0
Package Manager: npm 10.9.2
OS: win32 x64

Angular: 18.2.13
... animations, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1802.12
@angular-devkit/build-angular   18.2.19
@angular-devkit/core            18.2.12
@angular-devkit/schematics      18.2.12
@angular/cdk                    18.2.14
@angular/cli                    18.2.12
@schematics/angular             18.2.12
rxjs                            7.8.1
typescript                      5.4.2
zone.js                         0.14.10

Anything else relevant?

No response

@alan-agius4
Copy link
Collaborator

alan-agius4 commented May 5, 2025

Please update your lock file

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

No branches or pull requests

2 participants