diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..692bc33 --- /dev/null +++ b/.snyk @@ -0,0 +1,10 @@ +# 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: + - async > lodash: + patched: '2019-07-04T02:57:15.218Z' + - elasticsearch > lodash: + patched: '2019-07-04T02:57:15.218Z' diff --git a/package.json b/package.json index 76e206e..909337f 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,8 @@ "elasticsearch": "^12.0.1", "optimist": "^0.6.1", "request": "^2.73.0", - "uuid": "^3.0.0" + "uuid": "^3.0.0", + "snyk": "^1.189.0" }, "devDependencies": { "mocha": "^5.0.0", @@ -52,6 +53,9 @@ "scripts": { "pretest": "standard", "test": "NODE_ENV=test mocha", - "test:skip-build": "SKIP_BUILD=true NODE_ENV=test mocha" - } + "test:skip-build": "SKIP_BUILD=true NODE_ENV=test mocha", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" + }, + "snyk": true }