diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..3506662 --- /dev/null +++ b/.snyk @@ -0,0 +1,12 @@ +# 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: + - pug > pug-code-gen > constantinople > babel-types > lodash: + patched: '2020-05-06T23:37:57.422Z' + - pug > pug-filters > constantinople > babel-types > lodash: + patched: '2020-05-06T23:37:57.422Z' + - pug > pug-code-gen > pug-attrs > constantinople > babel-types > lodash: + patched: '2020-05-06T23:37:57.422Z' diff --git a/package.json b/package.json index 94afe2f..eb23de8 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,9 @@ "description": "Under construction holding app", "main": "index.js", "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" + "test": "echo \"Error: no test specified\" && exit 1", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "repository": { "type": "git", @@ -18,6 +20,8 @@ "homepage": "https://github.com/rcsl/inprogress#readme", "dependencies": { "express": "^4.15.3", - "pug": "^2.0.0-rc.1" - } + "pug": "^2.0.0-rc.1", + "snyk": "^1.319.1" + }, + "snyk": true }