Skip to content

npm install vulnerabilities #438

Answered by xoxys
dkebler asked this question in Q&A
Discussion options

You must be logged in to vote

Not optimal but not an issue as it only affects build dependencies and has no impact to the resulting JS that is part of the theme after the build. Two ways to verify it:

  1. Omit dev dpendencies:
❯ npm audit --omit dev
found 0 vulnerabilities
  1. Use dry-run to get the dependency chain for the affected packages:
❯ npm audit fix --dry-run

added 1 package, changed 59 packages, and audited 1100 packages in 5s

# npm audit report

jpeg-js  <0.4.0
Severity: moderate
Uncontrolled resource consumption in jpeg-js - https://github.com/advisories/GHSA-w7q9-p3jq-fmhm
fix available via `npm audit fix --force`
Will install [email protected], which is a breaking change
node_modules/resize-img/node_m…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by xoxys
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants