From 21f65cc3efeefc5624a114ea88a2581f558e3e45 Mon Sep 17 00:00:00 2001 From: snyk-test Date: Mon, 8 Jul 2019 21:47:00 +0000 Subject: [PATCH] fix: .snyk & package.json to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-450202 --- .snyk | 80 ++++++++++++++++++++++++++++++++++++++++++++++++++++ package.json | 10 +++++-- 2 files changed, 87 insertions(+), 3 deletions(-) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..8072313 --- /dev/null +++ b/.snyk @@ -0,0 +1,80 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.13.5 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + SNYK-JS-LODASH-450202: + - loopback > strong-remoting > strong-globalize > g11n-pipeline > swagger-client > lodash: + patched: '2019-07-08T21:46:58.215Z' + - loopback-boot > lodash: + patched: '2019-07-08T21:46:58.215Z' + - loopback-datasource-juggler > strong-globalize > lodash: + patched: '2019-07-08T21:46:58.215Z' + - loopback-boot > strong-globalize > lodash: + patched: '2019-07-08T21:46:58.215Z' + - loopback > strong-globalize > lodash: + patched: '2019-07-08T21:46:58.215Z' + - loopback > strong-remoting > strong-globalize > lodash: + patched: '2019-07-08T21:46:58.215Z' + - loopback-datasource-juggler > loopback-connector > strong-globalize > lodash: + patched: '2019-07-08T21:46:58.215Z' + - loopback > strong-remoting > jayson > lodash: + patched: '2019-07-08T21:46:58.215Z' + - loopback > loopback-phase > strong-globalize > lodash: + patched: '2019-07-08T21:46:58.215Z' + - loopback > strong-remoting > async > lodash: + patched: '2019-07-08T21:46:58.215Z' + - loopback > loopback-connector-remote > strong-remoting > jayson > lodash: + patched: '2019-07-08T21:46:58.215Z' + - loopback > loopback-connector-remote > strong-remoting > async > lodash: + patched: '2019-07-08T21:46:58.215Z' + - loopback-datasource-juggler > strong-globalize > g11n-pipeline > swagger-client > lodash: + patched: '2019-07-08T21:46:58.215Z' + - loopback > loopback-connector-remote > loopback-datasource-juggler > strong-globalize > lodash: + patched: '2019-07-08T21:46:58.215Z' + - loopback > strong-remoting > loopback-phase > strong-globalize > lodash: + patched: '2019-07-08T21:46:58.215Z' + - loopback > strong-globalize > g11n-pipeline > swagger-client > lodash: + patched: '2019-07-08T21:46:58.215Z' + - loopback > loopback-connector-remote > strong-remoting > strong-globalize > lodash: + patched: '2019-07-08T21:46:58.215Z' + - loopback > loopback-phase > strong-globalize > g11n-pipeline > swagger-client > lodash: + patched: '2019-07-08T21:46:58.215Z' + - loopback > async > lodash: + patched: '2019-07-08T21:46:58.215Z' + - loopback > loopback-connector-remote > loopback-datasource-juggler > loopback-connector > strong-globalize > lodash: + patched: '2019-07-08T21:46:58.215Z' + - loopback-datasource-juggler > loopback-connector > strong-globalize > g11n-pipeline > swagger-client > lodash: + patched: '2019-07-08T21:46:58.215Z' + - loopback > loopback-connector-remote > strong-remoting > loopback-phase > strong-globalize > lodash: + patched: '2019-07-08T21:46:58.215Z' + - loopback > strong-remoting > loopback-phase > strong-globalize > g11n-pipeline > swagger-client > lodash: + patched: '2019-07-08T21:46:58.215Z' + - loopback > loopback-connector-remote > strong-remoting > strong-globalize > g11n-pipeline > swagger-client > lodash: + patched: '2019-07-08T21:46:58.215Z' + - loopback > loopback-connector-remote > loopback-datasource-juggler > strong-globalize > g11n-pipeline > swagger-client > lodash: + patched: '2019-07-08T21:46:58.215Z' + - loopback > loopback-connector-remote > loopback-datasource-juggler > loopback-connector > strong-globalize > g11n-pipeline > swagger-client > lodash: + patched: '2019-07-08T21:46:58.215Z' + - loopback > strong-globalize > g11n-pipeline > swagger-client > isomorphic-form-data > form-data > async > lodash: + patched: '2019-07-08T21:46:58.215Z' + - loopback-datasource-juggler > strong-globalize > g11n-pipeline > swagger-client > isomorphic-form-data > form-data > async > lodash: + patched: '2019-07-08T21:46:58.215Z' + - loopback > loopback-connector-remote > strong-remoting > loopback-phase > strong-globalize > g11n-pipeline > swagger-client > lodash: + patched: '2019-07-08T21:46:58.215Z' + - loopback > loopback-phase > strong-globalize > g11n-pipeline > swagger-client > isomorphic-form-data > form-data > async > lodash: + patched: '2019-07-08T21:46:58.215Z' + - loopback-datasource-juggler > loopback-connector > strong-globalize > g11n-pipeline > swagger-client > isomorphic-form-data > form-data > async > lodash: + patched: '2019-07-08T21:46:58.215Z' + - loopback > strong-remoting > strong-globalize > g11n-pipeline > swagger-client > isomorphic-form-data > form-data > async > lodash: + patched: '2019-07-08T21:46:58.215Z' + - loopback > strong-remoting > loopback-phase > strong-globalize > g11n-pipeline > swagger-client > isomorphic-form-data > form-data > async > lodash: + patched: '2019-07-08T21:46:58.215Z' + - loopback > loopback-connector-remote > loopback-datasource-juggler > strong-globalize > g11n-pipeline > swagger-client > isomorphic-form-data > form-data > async > lodash: + patched: '2019-07-08T21:46:58.215Z' + - loopback > loopback-connector-remote > strong-remoting > strong-globalize > g11n-pipeline > swagger-client > isomorphic-form-data > form-data > async > lodash: + patched: '2019-07-08T21:46:58.215Z' + - loopback > loopback-connector-remote > strong-remoting > loopback-phase > strong-globalize > g11n-pipeline > swagger-client > isomorphic-form-data > form-data > async > lodash: + patched: '2019-07-08T21:46:58.215Z' + - loopback > loopback-connector-remote > loopback-datasource-juggler > loopback-connector > strong-globalize > g11n-pipeline > swagger-client > isomorphic-form-data > form-data > async > lodash: + patched: '2019-07-08T21:46:58.215Z' diff --git a/package.json b/package.json index 4ce4a21..ff2341d 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,9 @@ "version": "1.0.0", "main": "server/server.js", "scripts": { - "pretest": "jshint ." + "pretest": "jshint .", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "dependencies": { "binary-pack": "0.0.3", @@ -21,7 +23,8 @@ "strong-pubsub-connection-mqtt": "^0.1.0", "strong-pubsub-mqtt": "^0.1.0", "strong-pubsub-primus": "^0.1.0", - "strong-pubsub-proxy": "^0.1.0" + "strong-pubsub-proxy": "^0.1.0", + "snyk": "^1.192.4" }, "optionalDependencies": { "loopback-explorer": "^1.1.0" @@ -36,5 +39,6 @@ "type": "", "url": "" }, - "description": "strong-pubsub-angular-loopback" + "description": "strong-pubsub-angular-loopback", + "snyk": true }