diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..4bb2bd1 --- /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: + - lodash: + patched: '2019-07-04T07:02:00.759Z' + - '@js-telecortex-2/js-telecortex-2-util > lodash': + patched: '2019-07-04T07:02:00.759Z' + - async > lodash: + patched: '2019-07-04T07:02:00.759Z' diff --git a/package.json b/package.json index fd334ce..c46eea1 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,8 @@ "pi-spi": "^1.0.3", "simplex-noise": "^2.4.0", "sprintf-js": "^1.1.2", - "yargs": "^13.2.1" + "yargs": "^13.2.1", + "snyk": "^1.189.0" }, "devDependencies": { "@babel/cli": "^7.4.4", @@ -60,6 +61,9 @@ "dev-opencv": "nodemon --exec yarn run babel-node -- src/opencv.js", "start": "node dist/main.js", "test": "jest --watch --coverage", - "test-ci": "jest --ci --coverage" - } + "test-ci": "jest --ci --coverage", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" + }, + "snyk": true }