diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..27dcc5e --- /dev/null +++ b/.snyk @@ -0,0 +1,12 @@ +# 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: + - bluemix-helper-config > async > lodash: + patched: '2019-07-09T07:26:32.565Z' + - bluemix-helper-config > bunyan-console-stream > lodash: + patched: '2019-07-09T07:26:32.565Z' + - bluemix-helper-config > cloudant > async > lodash: + patched: '2019-07-09T07:26:32.565Z' diff --git a/package.json b/package.json index d09a4dd..0dfe941 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.11.3", "lodash": "~3.9.3", "oauth": "0.9.10", "base64url": "0.0.6", - "jws": "0.2.5" + "jws": "0.2.5", + "snyk": "^1.192.4" }, "devDependencies": { "mocha": "*" }, "license": "Apache-2.0", - "readmeFilename": "README.md" + "readmeFilename": "README.md", + "snyk": true }