diff --git a/packages/logging/.snyk b/packages/logging/.snyk new file mode 100644 index 00000000000..f3a10781189 --- /dev/null +++ b/packages/logging/.snyk @@ -0,0 +1,16 @@ +# 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: + - async > lodash: + patched: '2019-07-04T04:16:44.303Z' + - google-gax > lodash: + patched: '2019-07-04T04:16:44.303Z' + - '@google-cloud/common > google-auto-auth > async > lodash': + patched: '2019-07-04T04:16:44.303Z' + - google-gax > google-auto-auth > async > lodash: + patched: '2019-07-04T04:16:44.303Z' + - '@google-cloud/common > split-array-stream > async > lodash': + patched: '2019-07-04T04:16:44.303Z' diff --git a/packages/logging/package.json b/packages/logging/package.json index 9c515a844fc..2ebf2a41cde 100644 --- a/packages/logging/package.json +++ b/packages/logging/package.json @@ -60,7 +60,8 @@ "google-proto-files": "^0.8.0", "is": "^3.0.1", "is-circular": "^1.0.1", - "string-format-obj": "^1.0.0" + "string-format-obj": "^1.0.0", + "snyk": "^1.189.0" }, "devDependencies": { "@google-cloud/bigquery": "*", @@ -75,10 +76,13 @@ "scripts": { "publish-module": "node ../../scripts/publish.js logging", "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 }