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' 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 }