From 1a9026b7b78baf89e4752b93dd146ac4a8aa3166 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Tue, 5 May 2020 08:58:49 +0200 Subject: [PATCH 1/2] fix: package.json & .snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- package.json | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index e1dcb38..9bc5b57 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,8 @@ "es6-promise": "^3.1.2", "node-uuid": "~1.4.7", "pubnub": "~3.9.2", - "pubsub-js": "~1.5.3" + "pubsub-js": "~1.5.3", + "snyk": "^1.317.0" }, "devDependencies": { "mocha": "latest", @@ -25,7 +26,10 @@ }, "scripts": { "build": "browserify ./index.js -o ./dist/babble.js -s babble -x pubnub; uglifyjs ./dist/babble.js --output ./dist/babble.min.js --source-map ./dist/babble.map --source-map-url ./babble.min.map --compress --mangle --comments", - "test": "mocha test --recursive --reporter spec" + "test": "mocha test --recursive --reporter spec", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, - "main": "./index.js" + "main": "./index.js", + "snyk": true } From 7870ebc9f8c266c260f21fdfdef281f7ad43cbe8 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Tue, 5 May 2020 08:58:50 +0200 Subject: [PATCH 2/2] fix: package.json & .snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- .snyk | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..0715cd7 --- /dev/null +++ b/.snyk @@ -0,0 +1,8 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.14.1 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + SNYK-JS-LODASH-567746: + - pubnub > lodash: + patched: '2020-05-05T06:58:47.983Z'