diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..6c85e91 --- /dev/null +++ b/.snyk @@ -0,0 +1,8 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.7.0 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + 'npm:ms:20170412': + - bluemix-helper-config > cloudant > debug > ms: + patched: '2017-05-23T03:58:05.039Z' diff --git a/package.json b/package.json index d09a4dd..ba5c266 100644 --- a/package.json +++ b/package.json @@ -5,28 +5,32 @@ "main": "./lib/sso", "author": "david_taieb@us.ibm.com", "scripts": { + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "repository": { - "type" : "git", - "url": "git+https://github.com/ibm-cds-labs/bluemix-helper-sso.git" + "type": "git", + "url": "git+https://github.com/ibm-cds-labs/bluemix-helper-sso.git" }, "keywords": [ "bluemix", "sso" ], "dependencies": { - "bluemix-helper-config": "*", - "express": "^4.10.6", - "passport": "~0.2.2", - "express-session": "1.11.3", + "bluemix-helper-config": "*", + "express": "^4.10.6", + "passport": "~0.2.2", + "express-session": "1.15.3", "lodash": "~3.9.3", "oauth": "0.9.10", "base64url": "0.0.6", - "jws": "0.2.5" + "jws": "0.2.5", + "snyk": "^1.30.1" }, "devDependencies": { "mocha": "*" }, "license": "Apache-2.0", - "readmeFilename": "README.md" + "readmeFilename": "README.md", + "snyk": true }