0

npm audit report

uglify-js <=2.5.0 Severity: critical Incorrect Handling of Non-Boolean Comparisons During Minification in uglify-js - https://github.com/advisories/GHSA-34r7-q49f-h37c Regular Expression Denial of Service in uglify-js - https://github.com/advisories/GHSA-c9f4-xj24-8jqx fix available via npm audit fix node_modules/ometajs/node_modules/uglify-js ometajs >=2.1.2 Depends on vulnerable versions of uglify-js node_modules/ometajs gyp-expansions >=0.0.2 Depends on vulnerable versions of ometajs node_modules/gyp-expansions

3 critical severity vulnerabilities

To address all issues, run: npm audit fix

  • 1
    welcome to stackoverflow arsalan. *"To address all issues, run: `npm audit fix`"* - so.. did you tried it yet? – Bagus Tesa May 26 '22 at 21:33
  • Yes like 100 times it's still giving me this error – arsalan asr May 26 '22 at 22:13
  • have you tried to upgrade the `uglify-js` to newer version? i checked they are now at version 3. you should mention action you have taken and its result - even if its fail. other qa [suggested to remove `package-lock.json`](https://stackoverflow.com/a/53089885). hope it helps. – Bagus Tesa May 27 '22 at 07:54
  • Yes it started working I was using an old version of node js I updated the node js and now it's working thanks for the help. I searched on google everyone was telling me to update uglify-js package. – arsalan asr May 27 '22 at 20:48

0 Answers0