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' 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