Skip to content
Closed
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: package.json & .snyk to reduce vulnerabilities
The following vulnerabilities are fixed with a Snyk patch:
- https://snyk.io/vuln/npm:marked:20170907

Latest report for snyk/goof:
https://snyk.io/test/github/snyk/goof
  • Loading branch information
snyk-bot committed Nov 2, 2017
commit 7319c8ce1d12310f85640ad9bd08071bc7c313b5
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.8.0
ignore: {}
# patches apply the minimum changes required to fix a vulnerability
patch:
'npm:marked:20170907':
- marked:
patched: '2017-11-02T03:53:05.687Z'
10 changes: 7 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@
"scripts": {
"start": "node app.js",
"build": "browserify -r jquery > public/js/bundle.js",
"cleanup": "mongo express-todo --eval 'db.todos.remove({});'"
"cleanup": "mongo express-todo --eval 'db.todos.remove({});'",
"snyk-protect": "snyk protect",
"prepublish": "npm run snyk-protect"
},
"dependencies": {
"body-parser": "1.9.0",
Expand All @@ -36,9 +38,11 @@
"optional": "^0.1.3",
"st": "0.2.4",
"stream-buffers": "^3.0.1",
"tap": "^5.7.0"
"tap": "^5.7.0",
"snyk": "^1.47.0"
},
"devDependencies": {
"browserify": "^13.1.1"
}
},
"snyk": true
}