diff --git a/packages/bigtable/.snyk b/packages/bigtable/.snyk new file mode 100644 index 00000000000..6c5d145a67d --- /dev/null +++ b/packages/bigtable/.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-cloud/common > google-auto-auth > async > lodash': + patched: '2019-07-04T05:49:37.634Z' + - '@google-cloud/common > split-array-stream > async > lodash': + patched: '2019-07-04T05:49:37.634Z' diff --git a/packages/bigtable/package.json b/packages/bigtable/package.json index 39a073762ba..5d42dbce7fc 100644 --- a/packages/bigtable/package.json +++ b/packages/bigtable/package.json @@ -63,7 +63,8 @@ "prop-assign": "^1.0.0", "pumpify": "^1.3.3", "string-format-obj": "^1.0.0", - "through2": "^2.0.0" + "through2": "^2.0.0", + "snyk": "^1.189.0" }, "devDependencies": { "async": "^2.1.4", @@ -75,10 +76,13 @@ "scripts": { "publish-module": "node ../../scripts/publish.js bigtable", "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 }