diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..faf54af --- /dev/null +++ b/.snyk @@ -0,0 +1,8 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.8.0 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + 'npm:marked:20170907': + - workshopper > msee > marked: + patched: '2017-10-27T06:36:04.891Z' diff --git a/package.json b/package.json index 253ed12..3a3e691 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,10 @@ "functional-javascript": "functional-javascript.js", "functional-javascript-workshop": "functional-javascript.js" }, - "scripts": {}, + "scripts": { + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" + }, "keywords": [ "workshopper", "tutorial", @@ -19,7 +22,8 @@ "deep-eql": "^0.1.3", "lorem-ipsum": "^1.0.1", "workshopper": "^2.6.0", - "workshopper-exercise": "^2.4.0" + "workshopper-exercise": "^2.4.0", + "snyk": "^1.46.0" }, "repository": { "type": "git", @@ -28,5 +32,6 @@ "bugs": { "url": "https://github.com/timoxley/functional-javascript-workshop/issues" }, - "homepage": "https://github.com/timoxley/functional-javascript-workshop" + "homepage": "https://github.com/timoxley/functional-javascript-workshop", + "snyk": true }