From e77d71e4ec389656f0f7802328f8a4ef42990b40 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Mon, 4 May 2020 03:06:26 +0300 Subject: [PATCH 1/2] fix: package.json & .snyk 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/package.json b/package.json index 2d8e20b..75803f6 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,9 @@ "migrate": "node scripts/migrate.js", "test": "npm run db:create && npm run migrate && node ./tests/runner.js && npm run db:drop", "cov": "npm run db:create && npm run migrate && node_modules/.bin/istanbul cover ./tests/runner.js && npm run db:drop", - "dev:test": "nodemon ./tests/index.js" + "dev:test": "nodemon ./tests/index.js", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "repository": { "type": "git", @@ -27,9 +29,11 @@ "pg": "^6.1.2", "shot": "^3.4.0", "tape": "^4.6.3", - "url-parse": "^1.1.8" + "url-parse": "^1.1.8", + "snyk": "^1.317.0" }, "devDependencies": { "istanbul": "^0.4.5" - } + }, + "snyk": true } From 6d7000f086d0b6511752f19f74427c97ca0a3f41 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Mon, 4 May 2020 03:06:27 +0300 Subject: [PATCH 2/2] fix: package.json & .snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- .snyk | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..fffbee2 --- /dev/null +++ b/.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: + - codeclimate-test-reporter > request > form-data > async > lodash: + patched: '2020-05-04T00:06:19.651Z'