From 5c2d22ca3583ef3ef2e1a055c6cbf35a69f9e098 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 09:29:45 +0100 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 3edf256..86db487 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,9 @@ "main": "index.js", "scripts": { "lint": "jshint bin/noflo-nodejs bin/noflo-nodejs-init index.js", - "test": "echo \"Error: no test specified\" && exit 1" + "test": "echo \"Error: no test specified\" && exit 1", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "bin": { "noflo-nodejs": "./bin/noflo-nodejs", @@ -18,9 +20,11 @@ "flowhub-registry": "0.0.2", "noflo": "^0.5.0", "noflo-runtime-websocket": "^0.2.3", - "uuid": "^1.4.1" + "uuid": "^1.4.1", + "snyk": "^1.316.1" }, "devDependencies": { "jshint": "*" - } + }, + "snyk": true } From 24d53fab833053928074aae8bd633b4ab34f937b Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 09:29:46 +0100 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 | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..8535eed --- /dev/null +++ b/.snyk @@ -0,0 +1,58 @@ +# 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: + - noflo > babel-core > babel-types > lodash: + patched: '2020-05-01T08:29:42.890Z' + - noflo > babel-core > babel-generator > lodash: + patched: '2020-05-01T08:29:42.890Z' + - noflo > babel-core > babel-traverse > lodash: + patched: '2020-05-01T08:29:42.890Z' + - noflo > babel-core > babel-template > lodash: + patched: '2020-05-01T08:29:42.890Z' + - noflo > babel-core > babel-generator > babel-types > lodash: + patched: '2020-05-01T08:29:42.890Z' + - noflo > babel-core > babel-traverse > babel-types > lodash: + patched: '2020-05-01T08:29:42.890Z' + - noflo > babel-core > babel-template > babel-types > lodash: + patched: '2020-05-01T08:29:42.890Z' + - noflo > babel-core > babel-template > babel-traverse > lodash: + patched: '2020-05-01T08:29:42.890Z' + - noflo > babel-core > babel-helpers > babel-template > lodash: + patched: '2020-05-01T08:29:42.890Z' + - noflo > babel-core > babel-template > babel-traverse > babel-types > lodash: + patched: '2020-05-01T08:29:42.890Z' + - noflo > babel-core > babel-helpers > babel-template > babel-types > lodash: + patched: '2020-05-01T08:29:42.890Z' + - noflo-runtime-websocket > noflo-runtime-base > noflo > babel-core > babel-types > lodash: + patched: '2020-05-01T08:29:42.890Z' + - noflo-runtime-websocket > noflo-runtime-base > noflo > babel-core > babel-generator > lodash: + patched: '2020-05-01T08:29:42.890Z' + - noflo > babel-core > babel-helpers > babel-template > babel-traverse > lodash: + patched: '2020-05-01T08:29:42.890Z' + - noflo-runtime-websocket > noflo-runtime-base > noflo > babel-core > babel-traverse > lodash: + patched: '2020-05-01T08:29:42.890Z' + - noflo-runtime-websocket > noflo-runtime-base > noflo > babel-core > babel-template > lodash: + patched: '2020-05-01T08:29:42.890Z' + - noflo-runtime-websocket > noflo-runtime-base > noflo > babel-core > babel-generator > babel-types > lodash: + patched: '2020-05-01T08:29:42.890Z' + - noflo > babel-core > babel-helpers > babel-template > babel-traverse > babel-types > lodash: + patched: '2020-05-01T08:29:42.890Z' + - noflo-runtime-websocket > noflo-runtime-base > noflo > babel-core > babel-traverse > babel-types > lodash: + patched: '2020-05-01T08:29:42.890Z' + - noflo-runtime-websocket > noflo-runtime-base > noflo > babel-core > babel-template > babel-types > lodash: + patched: '2020-05-01T08:29:42.890Z' + - noflo-runtime-websocket > noflo-runtime-base > noflo > babel-core > babel-template > babel-traverse > lodash: + patched: '2020-05-01T08:29:42.890Z' + - noflo-runtime-websocket > noflo-runtime-base > noflo > babel-core > babel-helpers > babel-template > lodash: + patched: '2020-05-01T08:29:42.890Z' + - noflo-runtime-websocket > noflo-runtime-base > noflo > babel-core > babel-template > babel-traverse > babel-types > lodash: + patched: '2020-05-01T08:29:42.890Z' + - noflo-runtime-websocket > noflo-runtime-base > noflo > babel-core > babel-helpers > babel-template > babel-types > lodash: + patched: '2020-05-01T08:29:42.890Z' + - noflo-runtime-websocket > noflo-runtime-base > noflo > babel-core > babel-helpers > babel-template > babel-traverse > lodash: + patched: '2020-05-01T08:29:42.890Z' + - noflo-runtime-websocket > noflo-runtime-base > noflo > babel-core > babel-helpers > babel-template > babel-traverse > babel-types > lodash: + patched: '2020-05-01T08:29:42.890Z'