diff --git a/.snyk b/.snyk new file mode 100644 index 000000000..bcf3a5eb0 --- /dev/null +++ b/.snyk @@ -0,0 +1,8 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.13.3 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + SNYK-JS-AXIOS-174505: + - localtunnel > axios: + patched: '2019-05-06T02:17:39.535Z' diff --git a/package.json b/package.json index 7df5c9897..439d16919 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,8 @@ "request": "^2.81.0", "twilio": "^2.11.1", "ware": "^1.3.0", - "ws": "^2.2.2" + "ws": "^2.2.2", + "snyk": "^1.161.1" }, "devDependencies": { "jest-cli": "^20.0.1", @@ -38,7 +39,9 @@ "pretest": "jscs ./lib/ ./__test__ --fix", "test": "jest --coverage", "test-legacy": "mocha ./tests/*.js", - "test-watch": "jest --watch" + "test-watch": "jest --watch", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "repository": { "type": "git", @@ -61,5 +64,6 @@ "license": "MIT", "jest": { "testEnvironment": "node" - } + }, + "snyk": true }