diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..8bced05 --- /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: + - axios: + patched: '2019-05-05T22:01:52.300Z' diff --git a/package.json b/package.json index b1aacf3..c608062 100644 --- a/package.json +++ b/package.json @@ -4,14 +4,17 @@ "description": "An unofficial Node wrapper for Oracle Service Cloud (fka RightNow Technologies) REST API", "main": "./lib/OSvCNode.js", "scripts": { - "test": "mocha tests/lib/ -t 8000" + "test": "mocha tests/lib/ -t 8000", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "repository": { "type": "git", "url": "git+https://github.com/rajangdavis/osvc_node.git" }, "dependencies": { - "axios": "^0.18.0" + "axios": "^0.18.0", + "snyk": "^1.161.1" }, "keywords": [ "Oracle", @@ -27,5 +30,6 @@ "devDependencies": { "chai": "^4.1.2", "mocha": "^3.5.3" - } + }, + "snyk": true }