diff --git a/appengine/loopback/.snyk b/appengine/loopback/.snyk new file mode 100644 index 0000000000..3698995432 --- /dev/null +++ b/appengine/loopback/.snyk @@ -0,0 +1,46 @@ +# 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-datasource-juggler > loopback-connector > strong-globalize > lodash: + patched: '2020-05-01T00:11:34.141Z' + - loopback > loopback-phase > strong-globalize > lodash: + patched: '2020-05-01T00:11:34.141Z' + - loopback > strong-remoting > strong-globalize > lodash: + patched: '2020-05-01T00:11:34.141Z' + - loopback-component-explorer > loopback-swagger > strong-globalize > lodash: + patched: '2020-05-01T00:11:34.141Z' + - loopback > strong-remoting > async > lodash: + patched: '2020-05-01T00:11:34.141Z' + - loopback-datasource-juggler > loopback-connector > strong-globalize > fs-sync > lodash: + patched: '2020-05-01T00:11:34.141Z' + - loopback > loopback-phase > strong-globalize > fs-sync > lodash: + patched: '2020-05-01T00:11:34.141Z' + - loopback > strong-remoting > strong-globalize > fs-sync > lodash: + patched: '2020-05-01T00:11:34.141Z' + - loopback-component-explorer > loopback-swagger > strong-globalize > fs-sync > lodash: + patched: '2020-05-01T00:11:34.141Z' + - loopback > strong-remoting > loopback-phase > strong-globalize > lodash: + patched: '2020-05-01T00:11:34.141Z' + - loopback > loopback-connector-remote > strong-remoting > strong-globalize > lodash: + patched: '2020-05-01T00:11:34.141Z' + - loopback > loopback-connector-remote > strong-remoting > async > lodash: + patched: '2020-05-01T00:11:34.141Z' + - loopback > strong-remoting > xml2js > xmlbuilder > lodash: + patched: '2020-05-01T00:11:34.141Z' + - loopback > strong-remoting > loopback-phase > strong-globalize > fs-sync > lodash: + patched: '2020-05-01T00:11:34.141Z' + - loopback > loopback-connector-remote > strong-remoting > strong-globalize > fs-sync > lodash: + patched: '2020-05-01T00:11:34.141Z' + - loopback > loopback-connector-remote > loopback-datasource-juggler > loopback-connector > strong-globalize > lodash: + patched: '2020-05-01T00:11:34.141Z' + - loopback > loopback-connector-remote > strong-remoting > loopback-phase > strong-globalize > lodash: + patched: '2020-05-01T00:11:34.141Z' + - loopback > loopback-connector-remote > strong-remoting > xml2js > xmlbuilder > lodash: + patched: '2020-05-01T00:11:34.141Z' + - loopback > loopback-connector-remote > loopback-datasource-juggler > loopback-connector > strong-globalize > fs-sync > lodash: + patched: '2020-05-01T00:11:34.141Z' + - loopback > loopback-connector-remote > strong-remoting > loopback-phase > strong-globalize > fs-sync > lodash: + patched: '2020-05-01T00:11:34.141Z' diff --git a/appengine/loopback/package.json b/appengine/loopback/package.json index bcd89c4651..6ee45a6500 100644 --- a/appengine/loopback/package.json +++ b/appengine/loopback/package.json @@ -12,7 +12,9 @@ "scripts": { "lint": "eslint .", "start": "node .", - "posttest": "npm run lint && nsp check" + "posttest": "npm run lint && nsp check", + "snyk-protect": "snyk protect", + "prepare": "yarn run snyk-protect" }, "dependencies": { "compression": "1.0.3", @@ -23,11 +25,13 @@ "serve-favicon": "2.0.1", "strong-error-handler": "1.0.1", "loopback-datasource-juggler": "2.39.0", - "loopback": "2.22.0" + "loopback": "2.22.0", + "snyk": "^1.316.1" }, "devDependencies": { "eslint": "2.13.1", "eslint-config-loopback": "4.0.0", "nsp": "2.1.0" - } + }, + "snyk": true }