You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes, this behavior used to work in the previous version
The previous version in which this bug was not present was
Vulnerability in esbuild package in @angular/build and @angular-devkit/build-angular v18.2.14
Description
The packages @angular/build and @angular-devkit/build-angular, version v18.2.14, have the vulnerable package esbuild listed as both a dependency and an optionalDependency in their package.json. The current version of esbuild used 0.23.0, is marked as vulnerable in versions <= 0.24.2.
Package.json files
In @angular-devkit/build-angular:
"optionalDependencies": {
"esbuild": "0.23.0"
}
In @angular/build:
"dependencies": {
..."esbuild": "0.23.0",
...
}
The version of esbuild should be updated to 0.25.0 or higher to address the vulnerability.
Thank you!
Minimal Reproduction
Package.json files
In @angular-devkit/build-angular:
"optionalDependencies": {
"esbuild": "0.23.0"
}
In @angular/build:
"dependencies": {
..."esbuild": "0.23.0",
...
}
Exception or Error
node_modules/esbuild
@angular-devkit/build-angular 12.2.0-next.0 - 19.2.0-next.1
Depends on vulnerable versions of @angular/build
Depends on vulnerable versions of esbuild
node_modules/@angular-devkit/build-angular
@angular/build *
Depends on vulnerable versions of esbuild
I was about to ask for bumping the vite dependency to 6.2.0. I am facing a racing condition on npm, as [email protected] depends on [email protected] and all the remaining modules are already pointing to [email protected].
Because of that, npm gets into a racing condition on both esbuild postinstall trying to remove the same optional dependency.
Command
build
Is this a regression?
The previous version in which this bug was not present was
Vulnerability in esbuild package in @angular/build and @angular-devkit/build-angular v18.2.14
Description
The packages
@angular/build
and@angular-devkit/build-angular
, version v18.2.14, have the vulnerable packageesbuild
listed as both adependency
and anoptionalDependency
in theirpackage.json
. The current version ofesbuild
used 0.23.0, is marked as vulnerable in versions <= 0.24.2.Package.json files
In
@angular-devkit/build-angular
:In
@angular/build
:The version of
esbuild
should be updated to 0.25.0 or higher to address the vulnerability.Thank you!
Minimal Reproduction
Package.json files
In
@angular-devkit/build-angular
:In
@angular/build
:Exception or Error
Your Environment
Anything else relevant?
No response
The text was updated successfully, but these errors were encountered: