From e7e9c5576b259a66f8cd7e25fa0da800866e450f Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 17:41:35 +0900 Subject: [PATCH 1/2] fix: appengine/cloudsql_postgresql/package.json & appengine/cloudsql_postgresql/.snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- appengine/cloudsql_postgresql/package.json | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/appengine/cloudsql_postgresql/package.json b/appengine/cloudsql_postgresql/package.json index 5a62a51d83..3fff8cc748 100644 --- a/appengine/cloudsql_postgresql/package.json +++ b/appengine/cloudsql_postgresql/package.json @@ -18,13 +18,16 @@ "system-test": "repo-tools test app -- server.js", "system-test-proxy": "npm run start-proxy; npm run system-test", "all-test": "npm run unit-test && npm run system-test", - "test": "repo-tools test run --cmd npm -- run all-test" + "test": "repo-tools test run --cmd npm -- run all-test", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "dependencies": { "express": "4.16.4", "knex": "0.16.3", "pg": "7.7.1", - "prompt": "1.0.0" + "prompt": "1.0.0", + "snyk": "^1.316.1" }, "devDependencies": { "@google-cloud/nodejs-repo-tools": "^3.0.0", @@ -61,5 +64,6 @@ ] } } - } + }, + "snyk": true } From 9e438b0ac7991df15f7e1bfa052d30fc4e644085 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 17:41:36 +0900 Subject: [PATCH 2/2] fix: appengine/cloudsql_postgresql/package.json & appengine/cloudsql_postgresql/.snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- appengine/cloudsql_postgresql/.snyk | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 appengine/cloudsql_postgresql/.snyk diff --git a/appengine/cloudsql_postgresql/.snyk b/appengine/cloudsql_postgresql/.snyk new file mode 100644 index 0000000000..3845b2b02b --- /dev/null +++ b/appengine/cloudsql_postgresql/.snyk @@ -0,0 +1,8 @@ +# 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: + - knex > lodash: + patched: '2020-05-01T08:41:32.422Z'