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

[Snyk] Fix for 1 vulnerable dependencies #157

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix: .snyk & package.json to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/npm:lodash:20180130


The following vulnerabilities are fixed with a Snyk patch:
- https://snyk.io/vuln/npm:lodash:20180130
  • Loading branch information
snyk-bot committed Jul 5, 2018
commit 336d4f2bb65d50732b79b19b587e868bf46a10c7
8 changes: 8 additions & 0 deletions .snyk
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities.
version: v1.12.0
ignore: {}
# patches apply the minimum changes required to fix a vulnerability
patch:
'npm:lodash:20180130':
- stampit > supermixer > lodash:
patched: '2018-07-05T23:59:14.537Z'
10 changes: 7 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
"description": "A simple library to easily manage rate limits of APIs without any hassles.",
"main": "index.js",
"scripts": {
"test": "xo"
"test": "xo",
"snyk-protect": "snyk protect",
"prepare": "npm run snyk-protect"
},
"files": [
"dist",
Expand Down Expand Up @@ -41,7 +43,8 @@
"npm-run-all": "^3.0.0",
"rimraf": "^2.5.4",
"source-map-support": "^0.4.2",
"stampit": "^2.1.2"
"stampit": "^3.0.0",
"snyk": "^1.88.1"
},
"devDependencies": {
"app-root-path": "^1.3.0",
Expand Down Expand Up @@ -70,5 +73,6 @@
"envs": [
"node"
]
}
},
"snyk": true
}