From aa2e01381ddb6766a73ecd4986e18f8ec8891285 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 13:45:41 +0900 Subject: [PATCH 1/2] fix: appengine/loopback/package.json & appengine/loopback/.snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- appengine/loopback/package.json | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/appengine/loopback/package.json b/appengine/loopback/package.json index 43e3b29dcf..bf05fd3abb 100644 --- a/appengine/loopback/package.json +++ b/appengine/loopback/package.json @@ -11,7 +11,9 @@ "main": "server/server.js", "scripts": { "start": "node .", - "test": "repo-tools test app -- ." + "test": "repo-tools test app -- .", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "dependencies": { "compression": "1.7.3", @@ -22,9 +24,11 @@ "serve-favicon": "2.5.0", "strong-error-handler": "3.2.0", "loopback-datasource-juggler": "4.5.0", - "loopback": "3.24.0" + "loopback": "3.24.0", + "snyk": "^1.316.1" }, "devDependencies": { "@google-cloud/nodejs-repo-tools": "^3.0.0" - } + }, + "snyk": true } From 51fa782e9ba220aba484d2d16a8fbd42daa3d3b8 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 13:45:42 +0900 Subject: [PATCH 2/2] fix: appengine/loopback/package.json & appengine/loopback/.snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- appengine/loopback/.snyk | 84 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100644 appengine/loopback/.snyk diff --git a/appengine/loopback/.snyk b/appengine/loopback/.snyk new file mode 100644 index 0000000000..8a1dc961c5 --- /dev/null +++ b/appengine/loopback/.snyk @@ -0,0 +1,84 @@ +# 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: + - loopback-boot > lodash: + patched: '2020-05-01T04:45:38.288Z' + - loopback-component-explorer > lodash: + patched: '2020-05-01T04:45:38.288Z' + - loopback-datasource-juggler > lodash: + patched: '2020-05-01T04:45:38.288Z' + - loopback > async > lodash: + patched: '2020-05-01T04:45:38.288Z' + - loopback-datasource-juggler > async > lodash: + patched: '2020-05-01T04:45:38.288Z' + - loopback > strong-globalize > lodash: + patched: '2020-05-01T04:45:38.288Z' + - loopback-datasource-juggler > strong-globalize > lodash: + patched: '2020-05-01T04:45:38.288Z' + - strong-error-handler > strong-globalize > lodash: + patched: '2020-05-01T04:45:38.288Z' + - loopback > loopback-datasource-juggler > lodash: + patched: '2020-05-01T04:45:38.288Z' + - loopback-boot > strong-globalize > lodash: + patched: '2020-05-01T04:45:38.288Z' + - loopback-component-explorer > loopback-swagger > lodash: + patched: '2020-05-01T04:45:38.288Z' + - loopback-component-explorer > strong-globalize > lodash: + patched: '2020-05-01T04:45:38.288Z' + - loopback > loopback-datasource-juggler > async > lodash: + patched: '2020-05-01T04:45:38.288Z' + - loopback > loopback-phase > async > lodash: + patched: '2020-05-01T04:45:38.288Z' + - loopback-component-explorer > loopback-swagger > async > lodash: + patched: '2020-05-01T04:45:38.288Z' + - loopback-component-explorer > strong-globalize > async > lodash: + patched: '2020-05-01T04:45:38.288Z' + - loopback-datasource-juggler > loopback-connector > strong-globalize > lodash: + patched: '2020-05-01T04:45:38.288Z' + - loopback > strong-remoting > strong-globalize > lodash: + patched: '2020-05-01T04:45:38.288Z' + - loopback > loopback-datasource-juggler > strong-globalize > lodash: + patched: '2020-05-01T04:45:38.288Z' + - loopback > loopback-phase > strong-globalize > lodash: + patched: '2020-05-01T04:45:38.288Z' + - loopback-component-explorer > loopback-swagger > strong-globalize > lodash: + patched: '2020-05-01T04:45:38.288Z' + - loopback > loopback-connector-remote > loopback-datasource-juggler > lodash: + patched: '2020-05-01T04:45:38.288Z' + - loopback > strong-remoting > jayson > lodash: + patched: '2020-05-01T04:45:38.288Z' + - loopback > loopback-connector-remote > loopback-datasource-juggler > async > lodash: + patched: '2020-05-01T04:45:38.288Z' + - loopback > strong-remoting > loopback-phase > async > lodash: + patched: '2020-05-01T04:45:38.288Z' + - loopback > loopback-datasource-juggler > loopback-connector > strong-globalize > lodash: + patched: '2020-05-01T04:45:38.288Z' + - loopback > strong-remoting > strong-error-handler > strong-globalize > lodash: + patched: '2020-05-01T04:45:38.288Z' + - loopback > loopback-connector-remote > strong-remoting > strong-globalize > lodash: + patched: '2020-05-01T04:45:38.288Z' + - loopback > loopback-connector-remote > loopback-datasource-juggler > strong-globalize > lodash: + patched: '2020-05-01T04:45:38.288Z' + - loopback > strong-remoting > loopback-phase > strong-globalize > lodash: + patched: '2020-05-01T04:45:38.288Z' + - loopback > loopback-connector-remote > strong-remoting > jayson > lodash: + patched: '2020-05-01T04:45:38.288Z' + - loopback-boot > strong-globalize > g11n-pipeline > swagger-client > lodash: + patched: '2020-05-01T04:45:38.288Z' + - loopback-component-explorer > strong-globalize > g11n-pipeline > swagger-client > lodash: + patched: '2020-05-01T04:45:38.288Z' + - loopback > loopback-connector-remote > strong-remoting > loopback-phase > async > lodash: + patched: '2020-05-01T04:45:38.288Z' + - loopback > loopback-connector-remote > loopback-datasource-juggler > loopback-connector > strong-globalize > lodash: + patched: '2020-05-01T04:45:38.288Z' + - loopback > loopback-connector-remote > strong-remoting > strong-error-handler > strong-globalize > lodash: + patched: '2020-05-01T04:45:38.288Z' + - loopback > loopback-connector-remote > strong-remoting > loopback-phase > strong-globalize > lodash: + patched: '2020-05-01T04:45:38.288Z' + - loopback-boot > strong-globalize > g11n-pipeline > swagger-client > isomorphic-form-data > form-data > async > lodash: + patched: '2020-05-01T04:45:38.288Z' + - loopback-component-explorer > strong-globalize > g11n-pipeline > swagger-client > isomorphic-form-data > form-data > async > lodash: + patched: '2020-05-01T04:45:38.288Z'