diff --git a/.snyk b/.snyk new file mode 100644 index 000000000..81b58b340 --- /dev/null +++ b/.snyk @@ -0,0 +1,12 @@ +# 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: + - eslint > lodash: + patched: '2019-07-04T21:20:41.147Z' + - eslint > inquirer > lodash: + patched: '2019-07-04T21:20:41.147Z' + - eslint > table > lodash: + patched: '2019-07-04T21:20:41.147Z' diff --git a/package.json b/package.json index 82aa00b6a..a237141ca 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,8 @@ "eslint-plugin-promise": "~3.4.0", "eslint-plugin-react": "~6.7.1", "eslint-plugin-standard": "~2.0.1", - "standard-engine": "~5.2.0" + "standard-engine": "~5.2.0", + "snyk": "^1.192.0" }, "devDependencies": { "babel-eslint": "^7.0.0", @@ -70,6 +71,9 @@ "test-offline": "npm test -- --offline", "test-offline-quick": "npm test -- --offline --quick", "test-quick": "npm test -- --quick", - "update-authors": "./bin/update-authors.sh" - } + "update-authors": "./bin/update-authors.sh", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" + }, + "snyk": true }