From d1a5bea135cc3260c95483b935af567caed2554c Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Tue, 5 May 2020 06:07:12 +0900 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 8c08503..cf0b893 100644 --- a/package.json +++ b/package.json @@ -35,16 +35,20 @@ "test": "mocha", "lint": "eslint lib test", "lint:lib": "eslint lib", - "lint:test": "eslint test" + "lint:test": "eslint test", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "dependencies": { "axios": "^0.17.1", "debug": "^3.1.0", "lodash": "^4.14.0", - "moment": "^2.19.3" + "moment": "^2.19.3", + "snyk": "^1.317.0" }, "devDependencies": { "eslint": "^4.12.1", "eslint-config-omnious": "^0.3.1" - } + }, + "snyk": true } From a2a0cd0a9b5b6ffc1f7fdd5af53c0050f78e4ab4 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Tue, 5 May 2020 06:07:13 +0900 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..33f7f6d --- /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: + - lodash: + patched: '2020-05-04T21:07:09.034Z'