Skip to content
This repository was archived by the owner on Mar 19, 2021. It is now read-only.

Commit 9b20eef

Browse files
snyk-botWilcoFiers
authored andcommitted
fix: package.json & .snyk to reduce vulnerabilities (#39)
The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/npm:debug:20170905 Latest report for dequelabs/axe-cli: https://snyk.io/test/github/dequelabs/axe-cli
1 parent 126e081 commit 9b20eef

File tree

2 files changed

+16
-3
lines changed

2 files changed

+16
-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.1
3+
ignore: {}
4+
# patches apply the minimum changes required to fix a vulnerability
5+
patch:
6+
'npm:debug:20170905':
7+
- phantomjs-prebuilt > extract-zip > debug:
8+
patched: '2017-09-28T08:21:02.708Z'

package.json

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@
66
"engines": {
77
"node": ">=6"
88
},
9-
"scripts": {},
9+
"scripts": {
10+
"snyk-protect": "snyk protect",
11+
"prepublish": "npm run snyk-protect"
12+
},
1013
"repository": {
1114
"type": "git",
1215
"url": "git+https://github.com/dequelabs/axe-cli.git"
@@ -38,6 +41,8 @@
3841
"colors": "^1.1.2",
3942
"commander": "^2.9.0",
4043
"phantomjs-prebuilt": "^2.1.13",
41-
"selenium-webdriver": "^3.0.0"
42-
}
44+
"selenium-webdriver": "^3.0.0",
45+
"snyk": "^1.41.1"
46+
},
47+
"snyk": true
4348
}

0 commit comments

Comments
 (0)