From 89ac3ab2ca77395b70177cf90b4c554388198d89 Mon Sep 17 00:00:00 2001 From: snyk-test Date: Thu, 4 Jul 2019 01:48:30 +0000 Subject: [PATCH] fix: packages/language/.snyk & packages/language/package.json to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-450202 --- packages/language/.snyk | 14 ++++++++++++++ packages/language/package.json | 10 +++++++--- 2 files changed, 21 insertions(+), 3 deletions(-) create mode 100644 packages/language/.snyk diff --git a/packages/language/.snyk b/packages/language/.snyk new file mode 100644 index 00000000000..f2206fa4a17 --- /dev/null +++ b/packages/language/.snyk @@ -0,0 +1,14 @@ +# 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-gax > lodash: + patched: '2019-07-04T01:48:28.890Z' + - '@google-cloud/common > google-auto-auth > async > lodash': + patched: '2019-07-04T01:48:28.890Z' + - google-gax > google-auto-auth > async > lodash: + patched: '2019-07-04T01:48:28.890Z' + - '@google-cloud/common > split-array-stream > async > lodash': + patched: '2019-07-04T01:48:28.890Z' diff --git a/packages/language/package.json b/packages/language/package.json index 2ca95bb2bfd..39eed0febe7 100644 --- a/packages/language/package.json +++ b/packages/language/package.json @@ -59,7 +59,8 @@ "google-proto-files": "^0.8.5", "is": "^3.0.1", "propprop": "^0.3.1", - "string-format-obj": "^1.1.0" + "string-format-obj": "^1.1.0", + "snyk": "^1.189.0" }, "devDependencies": { "@google-cloud/storage": "*", @@ -71,10 +72,13 @@ "scripts": { "publish-module": "node ../../scripts/publish.js language", "test": "mocha test/*.js", - "system-test": "mocha system-test/*.js --no-timeouts --bail" + "system-test": "mocha system-test/*.js --no-timeouts --bail", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "license": "Apache-2.0", "engines": { "node": ">=0.12.0" - } + }, + "snyk": true }