From 2af24c17776995077eb5ea0cf3584d3ec994dd93 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 01:01:34 +0200 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 | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 640ba2e..0048994 100644 --- a/package.json +++ b/package.json @@ -25,10 +25,11 @@ "test:clean": "rimraf ./coverage", "test:watch": "npm run test -- --watch", "lint": "eslint src", - "prepublish": "npm run build", + "prepublish": "npm run snyk-protect && npm run build", "lint-staged": "lint-staged", "styleguide": "styleguidist server", - "styleguide:build": "styleguidist build" + "styleguide:build": "styleguidist build", + "snyk-protect": "snyk protect" }, "repository": { "type": "git", @@ -221,7 +222,8 @@ "execa": "^1.0.0", "glob": "^7.1.3", "shelljs": "^0.8.3", - "yargs": "^13.1.0" + "yargs": "^13.1.0", + "snyk": "^1.316.1" }, "peerDependencies": {}, "publishConfig": { @@ -306,5 +308,6 @@ "path": "./node_modules/cz-conventional-changelog" } }, - "contributors": [] + "contributors": [], + "snyk": true } From 78f7684448e53274d8b538b57c2f4d7b6b00379c Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 01:01:35 +0200 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..4dbafdb --- /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: + - async > lodash: + patched: '2020-04-30T23:01:12.376Z'