【发布时间】:2023-01-06 22:52:31
【问题描述】:
我的 Angular 应用程序中的 VSCode 终端出现了一些错误:
loader-utils 3.0.0 - 3.2.0
Severity: high
loader-utils is vulnerable to Regular Expression Denial of Service (ReDoS) via url variable - https://github.com/advisories/GHSA-3rfm-jhwj-7488
loader-utils is vulnerable to Regular Expression Denial of Service (ReDoS) - https://github.com/advisories/GHSA-hhq3-ff78-jv3g
fix available via `npm audit fix`
node_modules/@angular-devkit/build-angular/node_modules/loader-utils
@angular-devkit/build-angular 13.0.0-next.0 - 13.3.9 || 14.0.0-next.0 - 14.2.9 || 15.0.0-next.0 - 15.0.0-rc.5
Depends on vulnerable versions of loader-utils
node_modules/@angular-devkit/build-angular
2 high severity vulnerabilities
我尝试使用npm audit fix 但没有帮助。
如何安全地修复它(我是 Angular 的新手)?
谢谢你的帮助!
【问题讨论】:
标签: node.js angular npm-vulnerabilities