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/npm:marked:20170112

Latest report for dadi/publish:
https://snyk.io/test/github/dadi/publish
  • Loading branch information
snyk-bot committed Feb 10, 2017
1 parent 528a1bb commit b736785
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
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.7.0
ignore: {}
# patches apply the minimum changes required to fix a vulnerability
patch:
'npm:marked:20170112':
- marked:
patched: '2017-02-10T15:21:07.304Z'
10 changes: 7 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@
"init": "validate-commit-msg",
"watch": "npm-run-all --parallel watch:server watch:build",
"watch:build": "webpack --watch",
"watch:server": "nodemon \"./index.js\" --watch \"./dadi\""
"watch:server": "nodemon \"./index.js\" --watch \"./dadi\"",
"snyk-protect": "snyk protect",
"prepublish": "npm run snyk-protect"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -65,7 +67,8 @@
"underscore": "^1.8.3",
"underscore.string": "^3.3.4",
"url": "^0.11.0",
"whatwg-fetch": "^2.0.1"
"whatwg-fetch": "^2.0.1",
"snyk": "^1.25.0"
},
"devDependencies": {
"babel": "^6.5.2",
Expand Down Expand Up @@ -101,5 +104,6 @@
},
"directories": {
"doc": "docs"
}
},
"snyk": true
}

0 comments on commit b736785

Please sign in to comment.