From 1af749bd9500bb4a9dcb584b6a41769193d18940 Mon Sep 17 00:00:00 2001 From: snyk-test Date: Wed, 3 Jul 2019 23:13:53 +0000 Subject: [PATCH] fix: .snyk & package.json to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-450202 --- .snyk | 32 ++++++++++++++++++++++++++++++++ package.json | 10 +++++++--- 2 files changed, 39 insertions(+), 3 deletions(-) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..dc05298 --- /dev/null +++ b/.snyk @@ -0,0 +1,32 @@ +# 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: + - noflo > babel-core > babel-template > babel-traverse > lodash: + patched: '2019-07-03T23:13:51.408Z' + - noflo > babel-core > babel-types > lodash: + patched: '2019-07-03T23:13:51.408Z' + - noflo > babel-core > babel-traverse > lodash: + patched: '2019-07-03T23:13:51.408Z' + - noflo > babel-core > babel-generator > lodash: + patched: '2019-07-03T23:13:51.408Z' + - noflo > babel-core > babel-template > babel-types > lodash: + patched: '2019-07-03T23:13:51.408Z' + - noflo > babel-core > babel-traverse > babel-types > lodash: + patched: '2019-07-03T23:13:51.408Z' + - noflo > babel-core > babel-template > lodash: + patched: '2019-07-03T23:13:51.408Z' + - noflo > babel-core > babel-helpers > babel-template > lodash: + patched: '2019-07-03T23:13:51.408Z' + - noflo > babel-core > babel-generator > babel-types > lodash: + patched: '2019-07-03T23:13:51.408Z' + - noflo > babel-core > babel-helpers > babel-template > babel-types > lodash: + patched: '2019-07-03T23:13:51.408Z' + - noflo > babel-core > babel-helpers > babel-template > babel-traverse > lodash: + patched: '2019-07-03T23:13:51.408Z' + - noflo > babel-core > babel-template > babel-traverse > babel-types > lodash: + patched: '2019-07-03T23:13:51.408Z' + - noflo > babel-core > babel-helpers > babel-template > babel-traverse > babel-types > lodash: + patched: '2019-07-03T23:13:51.408Z' diff --git a/package.json b/package.json index 60e4060..fb73617 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.189.0" }, "devDependencies": { "grunt": "~0.4.1", @@ -40,5 +43,6 @@ "components": { "DoSomething": "components/DoSomething.coffee" } - } + }, + "snyk": true } \ No newline at end of file