Skip to content

Commit 20c5100

Browse files
committed
add snyk
1 parent f1a73b5 commit 20c5100

File tree

2 files changed

+17
-3
lines changed

2 files changed

+17
-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.7.0
3+
ignore: {}
4+
# patches apply the minimum changes required to fix a vulnerability
5+
patch:
6+
'npm:tough-cookie:20160722':
7+
- uncss > request > tough-cookie:
8+
patched: '2016-12-30T14:30:29.857Z'

package.json

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,13 @@
2424
"homepage": "https://github.com/csabapalfi/html-webpack-uncss-plugin",
2525
"dependencies": {
2626
"cheerio": "^0.22.0",
27-
"tough-cookie": "^2.3.2",
28-
"uncss": "^0.14.1"
29-
}
27+
"uncss": "^0.14.1",
28+
"snyk": "^1.22.1"
29+
},
30+
"scripts": {
31+
"test": "snyk test",
32+
"snyk-protect": "snyk protect",
33+
"prepublish": "npm run snyk-protect"
34+
},
35+
"snyk": true
3036
}

0 commit comments

Comments
 (0)