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