diff --git a/.snyk b/.snyk new file mode 100644 index 00000000..42266711 --- /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: + - lodash: + patched: '2020-05-01T08:35:36.994Z' + - ngrok > async > lodash: + patched: '2020-05-01T08:35:36.994Z' diff --git a/package.json b/package.json index 2a3f5b14..e422619c 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.316.1" }, "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 }