Skip to content

Commit cd668f3

Browse files
authored
Merge pull request #2 from soenkekluth/snyk-fix-77387e76
[Snyk] Fix for 4 vulnerable dependency paths
2 parents b347504 + eb40f59 commit cd668f3

File tree

2 files changed

+17
-3
lines changed

2 files changed

+17
-3
lines changed

.snyk

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities.
2+
version: v1.10.1
3+
ignore: {}
4+
# patches apply the minimum changes required to fix a vulnerability
5+
patch:
6+
'npm:marked:20170907':
7+
- esdoc > marked:
8+
patched: '2018-01-24T16:26:38.614Z'
9+
- esdoc-standard-plugin > esdoc-publish-html-plugin > marked:
10+
patched: '2018-01-24T16:26:38.614Z'

package.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@
1919
"--minify:umd": "uglifyjs dist/nextframe.common.js -cm -o dist/nextframe.common.js -p relative --in-source-map dist/nextframe.common.js.map --source-map dist/nextframe.common.js.map",
2020
"size": "echo \"Gzipped Size: $(strip-json-comments --no-whitespace dist/nextframe.js | gzip-size)\"",
2121
"release": "yarn run build -s && yarn run bump && git push --follow-tags origin master && npm publish",
22-
"test": "yarn build && ava -v"
22+
"test": "yarn build && ava -v",
23+
"snyk-protect": "snyk protect",
24+
"prepublish": "npm run snyk-protect"
2325
},
2426
"files": [
2527
"dist",
@@ -54,7 +56,8 @@
5456
"esdoc": "^1.0.3",
5557
"esdoc-standard-plugin": "^1.0.0",
5658
"raf": "^3.4.0",
57-
"setimmediate": "^1.0.5"
59+
"setimmediate": "^1.0.5",
60+
"snyk": "^*"
5861
},
5962
"peerDependencies": {
6063
"raf": "3.4.0"
@@ -96,5 +99,6 @@
9699
"serve": "^6.2.0",
97100
"standard-version": "^4.2.0",
98101
"strip-json-comments-cli": "^1.0.1"
99-
}
102+
},
103+
"snyk": true
100104
}

0 commit comments

Comments
 (0)