Skip to content

Commit 9cfa2f8

Browse files
wing328Angel Gutierrez
and
Angel Gutierrez
authored
Agutierrez0 agutierrez/885 fix CVE (#889)
* fix(deps): update axios to 1.8.2 to fix CVE * fix: remove useInstalledVersion from webpack config --------- Co-authored-by: Angel Gutierrez <[email protected]>
1 parent 576ac52 commit 9cfa2f8

File tree

2 files changed

+15
-8
lines changed

2 files changed

+15
-8
lines changed

apps/generator-cli/webpack.config.js

+2-4
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,9 @@ module.exports = composePlugins(
3434

3535
config.plugins.push(
3636
new BannerPlugin({ banner: '#!/usr/bin/env node', raw: true }),
37-
new GeneratePackageJsonPlugin(basePackageValues, {
38-
useInstalledVersions: true,
39-
})
37+
new GeneratePackageJsonPlugin(basePackageValues),
4038
);
4139

4240
return config;
43-
}
41+
},
4442
);

yarn.lock

+13-4
Original file line numberDiff line numberDiff line change
@@ -3460,10 +3460,19 @@ autoprefixer@^10.4.9:
34603460
picocolors "^1.1.1"
34613461
postcss-value-parser "^4.2.0"
34623462

3463-
axios@^1.7.4, axios@^1.8.2:
3464-
version "1.8.3"
3465-
resolved "https://registry.npmjs.org/axios/-/axios-1.8.3.tgz#9ebccd71c98651d547162a018a1a95a4b4ed4de8"
3466-
integrity sha512-iP4DebzoNlP/YN2dpwCgb8zoCmhtkajzS48JvwmkSkXvPI3DHc7m+XYL5tGnSlJtR6nImXZmdCuN5aP8dh1d8A==
3463+
axios@^1.7.4:
3464+
version "1.7.9"
3465+
resolved "https://registry.yarnpkg.com/axios/-/axios-1.7.9.tgz#d7d071380c132a24accda1b2cfc1535b79ec650a"
3466+
integrity sha512-LhLcE7Hbiryz8oMDdDptSrWowmB4Bl6RCt6sIJKpRB4XtVf0iEgewX3au/pJqm+Py1kCASkb/FFKjxQaLtxJvw==
3467+
dependencies:
3468+
follow-redirects "^1.15.6"
3469+
form-data "^4.0.0"
3470+
proxy-from-env "^1.1.0"
3471+
3472+
axios@^1.8.2:
3473+
version "1.8.2"
3474+
resolved "https://registry.yarnpkg.com/axios/-/axios-1.8.2.tgz#fabe06e241dfe83071d4edfbcaa7b1c3a40f7979"
3475+
integrity sha512-ls4GYBm5aig9vWx8AWDSGLpnpDQRtWAfrjU+EuytuODrFBkqesN2RkOQCBzrA1RQNHw1SmRMSDDDSwzNAYQ6Rg==
34673476
dependencies:
34683477
follow-redirects "^1.15.6"
34693478
form-data "^4.0.0"

0 commit comments

Comments
 (0)