Skip to content

Commit 9c2777c

Browse files
authoredJul 11, 2018
Merge pull request #4 from aprilsnows/snyk-fix-zvik02
[Snyk] Fix for 1 vulnerable dependencies
2 parents 00a251c + 0fdfeca commit 9c2777c

File tree

2 files changed

+15
-3
lines changed

2 files changed

+15
-3
lines changed
 

‎.snyk

+8
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.12.0
3+
ignore: {}
4+
# patches apply the minimum changes required to fix a vulnerability
5+
patch:
6+
'npm:mime:20170907':
7+
- gulp-connect > send > mime:
8+
patched: '2018-07-01T23:27:17.686Z'

‎package.json

+7-3
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@
66
"scripts": {
77
"test": "echo \"Error: no test specified\" && exit 1",
88
"postinstall": "gulp build",
9-
"start": "gulp serveprod"
9+
"start": "gulp serveprod",
10+
"snyk-protect": "snyk protect",
11+
"prepare": "npm run snyk-protect"
1012
},
1113
"repository": {
1214
"type": "git",
@@ -35,6 +37,8 @@
3537
"gulp-rev": "^5.1.0",
3638
"gulp-uglify": "^1.5.4",
3739
"gulp-usemin": "^0.3.26",
38-
"rev-del": "^1.0.5"
39-
}
40+
"rev-del": "^1.0.5",
41+
"snyk": "^1.88.0"
42+
},
43+
"snyk": true
4044
}

0 commit comments

Comments
 (0)
Please sign in to comment.