diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..e60a56c --- /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: + - googleapis > async > lodash: + patched: '2019-07-08T00:22:25.270Z' + - twilio > request > form-data > async > lodash: + patched: '2019-07-08T00:22:25.270Z' diff --git a/package.json b/package.json index 49164ad..34daf1d 100644 --- a/package.json +++ b/package.json @@ -8,8 +8,10 @@ "dev:test": "nodemon tests/runner.js", "start": "node index.js", "test": "node tests/index.js", - "scheduler":"node ./app/scheduler.js", - "cov": "./node_modules/.bin/istanbul cover tests/runner.js" + "scheduler": "node ./app/scheduler.js", + "cov": "./node_modules/.bin/istanbul cover tests/runner.js", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "repository": { "type": "git", @@ -24,7 +26,8 @@ "dependencies": { "google-auth-library": "^0.10.0", "googleapis": "^17.1.0", - "twilio": "^2.11.1" + "twilio": "^2.11.1", + "snyk": "^1.192.3" }, "devDependencies": { "codeclimate-test-reporter": "^0.4.1", @@ -32,5 +35,6 @@ "nodemon": "^1.11.0", "shot": "^3.4.0", "tape": "^4.6.3" - } + }, + "snyk": true }