From 053504ecf553287cd122716501b8cbb119b89fca Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 14:38:49 +0700 Subject: [PATCH 1/2] fix: tutorials/using-nodejs-to-calculate-the-size-of-a-bigquery-dataset/.snyk & tutorials/using-nodejs-to-calculate-the-size-of-a-bigquery-dataset/package.json to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- .../.snyk | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 tutorials/using-nodejs-to-calculate-the-size-of-a-bigquery-dataset/.snyk diff --git a/tutorials/using-nodejs-to-calculate-the-size-of-a-bigquery-dataset/.snyk b/tutorials/using-nodejs-to-calculate-the-size-of-a-bigquery-dataset/.snyk new file mode 100644 index 0000000000..27af6e6245 --- /dev/null +++ b/tutorials/using-nodejs-to-calculate-the-size-of-a-bigquery-dataset/.snyk @@ -0,0 +1,12 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.14.1 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + SNYK-JS-LODASH-567746: + - '@google-cloud/bigquery > @google-cloud/common > grpc > lodash': + patched: '2020-05-01T07:38:46.949Z' + - '@google-cloud/bigquery > @google-cloud/common > google-auto-auth > async > lodash': + patched: '2020-05-01T07:38:46.949Z' + - '@google-cloud/bigquery > @google-cloud/common > google-auto-auth > google-auth-library > request > form-data > async > lodash': + patched: '2020-05-01T07:38:46.949Z' From fc19589dd88b489c79610c5b43b05d0ad1590f5e Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 14:38:50 +0700 Subject: [PATCH 2/2] fix: tutorials/using-nodejs-to-calculate-the-size-of-a-bigquery-dataset/.snyk & tutorials/using-nodejs-to-calculate-the-size-of-a-bigquery-dataset/package.json to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- .../package.json | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/tutorials/using-nodejs-to-calculate-the-size-of-a-bigquery-dataset/package.json b/tutorials/using-nodejs-to-calculate-the-size-of-a-bigquery-dataset/package.json index c5ba36eb93..94a515fa8c 100644 --- a/tutorials/using-nodejs-to-calculate-the-size-of-a-bigquery-dataset/package.json +++ b/tutorials/using-nodejs-to-calculate-the-size-of-a-bigquery-dataset/package.json @@ -3,15 +3,19 @@ "private": true, "license": "Apache-2.0", "scripts": { - "test": "mocha -t 60000 ./index.test.js" + "test": "mocha -t 60000 ./index.test.js", + "snyk-protect": "snyk protect", + "prepare": "yarn run snyk-protect" }, "dependencies": { - "@google-cloud/bigquery": "0.6.0" + "@google-cloud/bigquery": "0.6.0", + "snyk": "^1.316.1" }, "devDependencies": { "mocha": "3.2.0" }, "engines": { "node": ">=6.9.0" - } + }, + "snyk": true }