Skip to content

Commit 79ccdef

Browse files
author
snyk-bot
committed
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 sassdoc/sassdoc: https://snyk.io/test/github/sassdoc/sassdoc
1 parent 8145167 commit 79ccdef

File tree

2 files changed

+15
-3
lines changed

2 files changed

+15
-3
lines changed

.snyk

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities.
2+
version: v1.8.0
3+
ignore: {}
4+
# patches apply the minimum changes required to fix a vulnerability
5+
patch:
6+
'npm:marked:20170907':
7+
- sassdoc-theme-default > sassdoc-extras > marked:
8+
patched: '2017-10-30T01:35:09.940Z'

package.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,9 @@
7575
"README.md"
7676
],
7777
"scripts": {
78-
"test": "make"
78+
"test": "make",
79+
"snyk-protect": "snyk protect",
80+
"prepublish": "npm run snyk-protect"
7981
},
8082
"standard": {
8183
"env": {
@@ -111,7 +113,8 @@
111113
"update-notifier": "^2.2.0",
112114
"vinyl-fs": "^2.4.4",
113115
"vinyl-source-stream": "^1.0.0",
114-
"vinyl-string": "^1.0.2"
116+
"vinyl-string": "^1.0.2",
117+
"snyk": "^1.47.0"
115118
},
116119
"devDependencies": {
117120
"babel-cli": "^6.26.0",
@@ -128,5 +131,6 @@
128131
"sinon": "^2.3.4",
129132
"standard": "^10.0.3",
130133
"vinyl": "^2.1.0"
131-
}
134+
},
135+
"snyk": true
132136
}

0 commit comments

Comments
 (0)