diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..5e7004a --- /dev/null +++ b/.snyk @@ -0,0 +1,8 @@ +# 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: + - winston > async > lodash: + patched: '2020-04-30T21:19:08.529Z' diff --git a/package.json b/package.json index b189177..ef84843 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,9 @@ "build:dry": "tsc --noEmit", "test": "jest --verbose false", "test:watch": "jest --watchAll --verbose false", - "test:ci": "jest --verbose false --ci --coverage" + "test:ci": "jest --verbose false --ci --coverage", + "snyk-protect": "snyk protect", + "prepare": "yarn run snyk-protect" }, "author": "", "license": "ISC", @@ -27,7 +29,8 @@ "runtypes": "~3.1.1", "uuid": "~3.3.2", "winston": "~3.1.0", - "winston-daily-rotate-file": "3.5.2" + "winston-daily-rotate-file": "3.5.2", + "snyk": "^1.316.1" }, "devDependencies": { "@types/chokidar": "1.7.5", @@ -70,5 +73,6 @@ "json", "node" ] - } + }, + "snyk": true }