diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..8445af7 --- /dev/null +++ b/.snyk @@ -0,0 +1,10 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.14.1 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + SNYK-JS-LODASH-567746: + - markdown-contents > lodash: + patched: '2020-05-03T04:18:35.653Z' + - markdown-contents > contents > lodash: + patched: '2020-05-03T04:18:35.653Z' diff --git a/package.json b/package.json index 8e6e528..28847bd 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,9 @@ }, "license": "BSD-3-Clause", "scripts": { - "test": "gulp test" + "test": "gulp test", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "devDependencies": { "chai": "^3.3.0", @@ -52,9 +54,11 @@ "moment": "^2.10.6", "stack-trace": "^0.0.9", "url-extractor": "^1.0.1", - "yargs": "^3.26.0" + "yargs": "^3.26.0", + "snyk": "^1.316.2" }, "engines": { "node": ">=4" - } + }, + "snyk": true }