Skip to content

Commit

Permalink
fix: package.json & .snyk to reduce vulnerabilities
Browse files Browse the repository at this point in the history
The following vulnerabilities are fixed with a Snyk patch:
- https://snyk.io/vuln/SNYK-JS-HTTPSPROXYAGENT-469131
  • Loading branch information
snyk-bot committed Oct 6, 2019
1 parent f860e51 commit ad7751c
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
12 changes: 12 additions & 0 deletions .snyk
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities.
version: v1.13.5
ignore: {}
# patches apply the minimum changes required to fix a vulnerability
patch:
SNYK-JS-HTTPSPROXYAGENT-469131:
- lerna > @lerna/publish > @evocateur/pacote > make-fetch-happen > https-proxy-agent:
patched: '2019-10-06T02:44:46.366Z'
- lerna > @lerna/publish > @lerna/npm-dist-tag > @evocateur/npm-registry-fetch > make-fetch-happen > https-proxy-agent:
patched: '2019-10-06T02:44:46.366Z'
- lerna > @lerna/publish > @lerna/npm-publish > @evocateur/libnpmpublish > @evocateur/npm-registry-fetch > make-fetch-happen > https-proxy-agent:
patched: '2019-10-06T02:44:46.366Z'
10 changes: 8 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,15 @@
"underscore": "latest"
},
"dependencies": {
"lerna": "^3.16.2"
"lerna": "^3.16.2",
"snyk": "^1.231.0"
},
"engines": {
"node": ">=10.16.0"
}
},
"scripts": {
"snyk-protect": "snyk protect",
"prepublish": "npm run snyk-protect"
},
"snyk": true
}

1 comment on commit ad7751c

@datreeio
Copy link

@datreeio datreeio bot commented on ad7751c Oct 6, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All Rules (5 / 5) Passed

👑 Good job! this pull request is aligned with your organization's best practices!

👉 You can review your rules settings at smart policy management 👈

👉 click here to view a full list of the events 👈

Please sign in to comment.