Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix vulnerability package transitive dependency [email protected] #7

Open
huksley opened this issue Sep 12, 2018 · 1 comment
Open

Comments

@huksley
Copy link
Owner

huksley commented Sep 12, 2018

https://nvd.nist.gov/vuln/detail/CVE-2018-1000620

Added

"resolutions": {
  "cryptiles": "4.1.2"
}

and executed

npx npm-force-resolutions
npm install

https://github.com/rogeriochaves/npm-force-resolutions

@angelogiuseppe
Copy link

To anyone experiencing this issue, feel free to try: https://www.npmjs.com/package/force-resolutions

Just change:

"preinstall": "npx npm-force-resolutions"

To:

"preinstall": "npx force-resolutions"

npx force-resolutions does not run when no package-lock.json is detected, and allows the next command inline to be executed as normal. This is useful when installing dependencies for a package that has been already published where package-lock.json is not available.

Feedback and PR's are welcome

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants