From 03275e5a7f7ea108a9b32d49c92baf6c252ecda6 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 7 May 2020 04:46:16 -0400 Subject: [PATCH 1/2] fix: src/deep-framework/package.json & src/deep-framework/.snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- src/deep-framework/package.json | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/deep-framework/package.json b/src/deep-framework/package.json index bfb4bb28..a7438ee1 100644 --- a/src/deep-framework/package.json +++ b/src/deep-framework/package.json @@ -68,10 +68,11 @@ "scripts": { "compile-travis": "bash ../../bin/compile-lib.sh .", "compile": "bash node-bin/compile.sh", - "prepublish": "npm run compile && npm run browser-build", + "prepublish": "npm run snyk-protect && npm run compile && npm run browser-build", "browser-build": "bash node-bin/browser_build.sh", "prepare-production": "bash hooks/prepare_production.sh", - "final-prepare-production": "bash hooks/final_prepare_production.sh" + "final-prepare-production": "bash hooks/final_prepare_production.sh", + "snyk-protect": "snyk protect" }, "dependencies": { "aws-sdk": "^2.70.0", @@ -98,7 +99,8 @@ "store": "^2.0.4", "uglify-js": "github:mishoo/UglifyJS2#harmony-v2.8.22", "uglifyjs-webpack-plugin": "^0.4.3", - "webpack": "^2.6.1" + "webpack": "^2.6.1", + "snyk": "^1.319.1" }, "devDependencies": {}, "engines": { @@ -109,5 +111,6 @@ "analyze": true, "jspm": { "main": "browser/framework.js" - } + }, + "snyk": true } From 00da63b27a532b940f779014d062fcf556ba1536 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 7 May 2020 04:46:17 -0400 Subject: [PATCH 2/2] fix: src/deep-framework/package.json & src/deep-framework/.snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- src/deep-framework/.snyk | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/deep-framework/.snyk diff --git a/src/deep-framework/.snyk b/src/deep-framework/.snyk new file mode 100644 index 00000000..c2a32e91 --- /dev/null +++ b/src/deep-framework/.snyk @@ -0,0 +1,12 @@ +# 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: + - lodash: + patched: '2020-05-07T08:46:14.652Z' + - deep-search > elasticsearch > lodash: + patched: '2020-05-07T08:46:14.652Z' + - webpack > async > lodash: + patched: '2020-05-07T08:46:14.652Z'