From f3c9066a170d35acd56d23112b6e9a56156374fc Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Mon, 4 May 2020 07:07:23 +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 | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 5781fd0bd..a3bae303f 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,8 @@ "shortid": "^2.2.6", "underscore-db": "^0.12.1", "update-notifier": "^1.0.2", - "yargs": "^6.0.0" + "yargs": "^6.0.0", + "snyk": "^1.317.0" }, "devDependencies": { "babel-cli": "^6.10.1", @@ -52,7 +53,8 @@ "prepush": "npm t", "build": "babel src -d lib --copy-files", "toc": "markdown-toc -i README.md", - "prepublish": "npm run build" + "prepublish": "npm run snyk-protect && npm run build", + "snyk-protect": "snyk protect" }, "repository": { "type": "git", @@ -88,5 +90,6 @@ }, "engines": { "node": ">= 0.12" - } + }, + "snyk": true } From 0a2555fb12c1a453a769da47a08873e2e29754f3 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Mon, 4 May 2020 07:07:24 +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 | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 000000000..6071ce78a --- /dev/null +++ b/.snyk @@ -0,0 +1,10 @@ +# 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-04T04:07:20.888Z' + - lowdb > lodash: + patched: '2020-05-04T04:07:20.888Z'