From 86aac5b6db4c57f1d360a46955607940d121fdcc Mon Sep 17 00:00:00 2001 From: snyk-test Date: Thu, 4 Jul 2019 07:31:18 +0000 Subject: [PATCH] fix: packages/common/.snyk & packages/common/package.json to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-450202 --- packages/common/.snyk | 10 ++++++++++ packages/common/package.json | 10 +++++++--- 2 files changed, 17 insertions(+), 3 deletions(-) create mode 100644 packages/common/.snyk diff --git a/packages/common/.snyk b/packages/common/.snyk new file mode 100644 index 00000000000..dc284ff2c99 --- /dev/null +++ b/packages/common/.snyk @@ -0,0 +1,10 @@ +# 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: + - google-auto-auth > async > lodash: + patched: '2019-07-04T07:31:16.513Z' + - split-array-stream > async > lodash: + patched: '2019-07-04T07:31:16.513Z' diff --git a/packages/common/package.json b/packages/common/package.json index 3d257af8b99..af6d282210c 100644 --- a/packages/common/package.json +++ b/packages/common/package.json @@ -58,7 +58,8 @@ "split-array-stream": "^1.0.0", "stream-events": "^1.0.1", "string-format-obj": "^1.0.0", - "through2": "^2.0.0" + "through2": "^2.0.0", + "snyk": "^1.189.0" }, "devDependencies": { "mocha": "^3.0.1", @@ -68,10 +69,13 @@ }, "scripts": { "publish-module": "node ../../scripts/publish.js common", - "test": "mocha test/*.js" + "test": "mocha test/*.js", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "license": "Apache-2.0", "engines": { "node": ">=0.12.0" - } + }, + "snyk": true }