diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..1ae4e34 --- /dev/null +++ b/.snyk @@ -0,0 +1,32 @@ +# 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-01T04:24:50.822Z' + - noflo > babel-core > babel-generator > lodash: + patched: '2020-05-01T04:24:50.822Z' + - noflo > babel-core > babel-traverse > lodash: + patched: '2020-05-01T04:24:50.822Z' + - noflo > babel-core > babel-template > lodash: + patched: '2020-05-01T04:24:50.822Z' + - noflo > babel-core > babel-generator > babel-types > lodash: + patched: '2020-05-01T04:24:50.822Z' + - noflo > babel-core > babel-traverse > babel-types > lodash: + patched: '2020-05-01T04:24:50.822Z' + - noflo > babel-core > babel-template > babel-types > lodash: + patched: '2020-05-01T04:24:50.822Z' + - noflo > babel-core > babel-template > babel-traverse > lodash: + patched: '2020-05-01T04:24:50.822Z' + - noflo > babel-core > babel-helpers > babel-template > lodash: + patched: '2020-05-01T04:24:50.822Z' + - noflo > babel-core > babel-template > babel-traverse > babel-types > lodash: + patched: '2020-05-01T04:24:50.822Z' + - noflo > babel-core > babel-helpers > babel-template > babel-types > lodash: + patched: '2020-05-01T04:24:50.822Z' + - noflo > babel-core > babel-helpers > babel-template > babel-traverse > lodash: + patched: '2020-05-01T04:24:50.822Z' + - noflo > babel-core > babel-helpers > babel-template > babel-traverse > babel-types > lodash: + patched: '2020-05-01T04:24:50.822Z' diff --git a/package.json b/package.json index 39c8a18..97d07ef 100644 --- a/package.json +++ b/package.json @@ -17,10 +17,13 @@ } ], "scripts": { - "test": "grunt test" + "test": "grunt test", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "dependencies": { - "noflo": "~0.5.0" + "noflo": "~0.5.0", + "snyk": "^1.316.1" }, "devDependencies": { "grunt": "~0.4.1", @@ -41,5 +44,6 @@ "BranchOnMode": "components/BranchOnMode.js", "DoSomething": "components/DoSomething.coffee" } - } + }, + "snyk": true } \ No newline at end of file