Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

Commit

Permalink
fix: package.json & .snyk to reduce vulnerabilities
Browse files Browse the repository at this point in the history
The following vulnerabilities are ignored:
- https://snyk.io/vuln/npm:qs:20170213

Latest report for spences10/twitter-bot-bootstrap:
https://snyk.io/test/github/spences10/twitter-bot-bootstrap
  • Loading branch information
snyk-bot committed Mar 6, 2017
1 parent e722f3f commit 85ccad8
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 3 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.7.0
# ignores vulnerabilities until expiry date; change duration by modifying expiry date
ignore:
'npm:qs:20170213':
- twit > request > qs:
reason: None given
expires: '2017-04-05T14:12:40.489Z'
- unirest > request > qs:
reason: None given
expires: '2017-04-05T14:12:40.490Z'
patch: {}
10 changes: 7 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,18 @@
},
"scripts": {
"start": "node index.js",
"test": "standard && node index.js"
"test": "standard && node index.js",
"snyk-protect": "snyk protect",
"prepublish": "npm run snyk-protect"
},
"author": "",
"license": "MIT",
"dependencies": {
"dotenv": "^4.0.0",
"twit": "^2.2.5",
"unique-random-array": "^1.0.0",
"unirest": "^0.5.1"
}
"unirest": "^0.5.1",
"snyk": "^1.25.1"
},
"snyk": true
}

0 comments on commit 85ccad8

Please sign in to comment.