diff --git a/.snyk b/.snyk new file mode 100644 index 00000000..48e31c7f --- /dev/null +++ b/.snyk @@ -0,0 +1,10 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.13.5 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + SNYK-JS-LODASH-450202: + - lodash: + patched: '2019-07-04T08:37:59.419Z' + - ngrok > async > lodash: + patched: '2019-07-04T08:37:59.419Z' diff --git a/package.json b/package.json index 2a3f5b14..39d66041 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,9 @@ "test": "gulp test", "dev-up": "gulp", "contributors:add": "all-contributors add", - "contributors:generate": "all-contributors generate" + "contributors:generate": "all-contributors generate", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "repository": { "type": "git", @@ -33,7 +35,8 @@ "ngrok": "^2.2.2", "scribe-js": "^2.0.4", "serve-favicon": "~2.4.5", - "user-home": "^2.0.0" + "user-home": "^2.0.0", + "snyk": "^1.190.0" }, "devDependencies": { "all-contributors-cli": "^6.1.2", @@ -97,5 +100,6 @@ "sc5-styleguide": "^2.0.4", "strip-ansi": "^4.0.0", "yargs": "^10.0.3" - } + }, + "snyk": true }