diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..b8a7309 --- /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: + - inquirer > lodash: + patched: '2020-05-01T03:05:39.958Z' + - inquirer-datepicker > lodash: + patched: '2020-05-01T03:05:39.958Z' diff --git a/package.json b/package.json index 56a4640..24363a3 100644 --- a/package.json +++ b/package.json @@ -43,6 +43,12 @@ "progress": "^2.0.3", "commander": "^4.0.1", "log-symbols": "^3.0.0", - "inquirer-datepicker": "^1.1.0" - } + "inquirer-datepicker": "^1.1.0", + "snyk": "^1.316.1" + }, + "scripts": { + "snyk-protect": "snyk protect", + "prepare": "yarn run snyk-protect" + }, + "snyk": true }