From 5b2811824bd1aa13325145ee7049cd5365ace215 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 30 Apr 2020 20:24:38 -0700 Subject: [PATCH 1/2] fix: package.json & .snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- package.json | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index a86c61a..1351c97 100644 --- a/package.json +++ b/package.json @@ -7,9 +7,15 @@ "errorhandler": "^1.1.1", "loopback": "~2.0.0-beta5", "loopback-boot": "2.0.0-beta2", - "loopback-datasource-juggler": "~2.0.0-beta2" + "loopback-datasource-juggler": "~2.0.0-beta2", + "snyk": "^1.316.1" }, "optionalDependencies": { "loopback-explorer": "^1.1.0" - } + }, + "scripts": { + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" + }, + "snyk": true } \ No newline at end of file From 1619a8a9aec3b8a7934f2886e1b3a545fce132c1 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 30 Apr 2020 20:24:39 -0700 Subject: [PATCH 2/2] fix: package.json & .snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- .snyk | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..4abd38c --- /dev/null +++ b/.snyk @@ -0,0 +1,22 @@ +# 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 > strong-remoting > async > lodash: + patched: '2020-05-01T03:24:10.901Z' + - loopback > strong-remoting > jayson > lodash: + patched: '2020-05-01T03:24:10.901Z' + - loopback > strong-remoting > strong-globalize > lodash: + patched: '2020-05-01T03:24:10.901Z' + - loopback > strong-remoting > loopback-phase > strong-globalize > lodash: + patched: '2020-05-01T03:24:10.901Z' + - loopback > strong-remoting > strong-globalize > g11n-pipeline > swagger-client > lodash: + patched: '2020-05-01T03:24:10.901Z' + - loopback > strong-remoting > loopback-phase > strong-globalize > g11n-pipeline > swagger-client > lodash: + patched: '2020-05-01T03:24:10.901Z' + - loopback > strong-remoting > strong-globalize > g11n-pipeline > swagger-client > isomorphic-form-data > form-data > async > lodash: + patched: '2020-05-01T03:24:10.901Z' + - loopback > strong-remoting > loopback-phase > strong-globalize > g11n-pipeline > swagger-client > isomorphic-form-data > form-data > async > lodash: + patched: '2020-05-01T03:24:10.901Z'