From 1b1792054867024886ee49c302c72f90e7a1c1af Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Tue, 5 May 2020 13:58:51 +0800 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 c7695f9..64bdc3c 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,9 @@ "test:dev": "npm run test -- --watch", "deploy": "better-npm-run deploy", "deploy:dev": "better-npm-run deploy:dev", - "deploy:prod": "better-npm-run deploy:prod" + "deploy:prod": "better-npm-run deploy:prod", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "betterScripts": { "compile": { @@ -88,7 +90,8 @@ "vuex-actions": "^1.1.1", "vuex-localstorage": "^0.3.0", "vuex-promise": "^2.0.0-rc.3", - "vuex-router-sync": "^3.0.0" + "vuex-router-sync": "^3.0.0", + "snyk": "^1.317.0" }, "devDependencies": { "better-npm-run": "0.0.9", @@ -113,5 +116,6 @@ "bugs": { "url": "https://github.com/sokis/vue-vuex-starter-kit/issues" }, - "homepage": "https://github.com/sokis/vue-vuex-starter-kit#readme" + "homepage": "https://github.com/sokis/vue-vuex-starter-kit#readme", + "snyk": true } From 7bef9d3cf3250e394d69ba994fa6cd1d9f430813 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Tue, 5 May 2020 13:58:52 +0800 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..a8a0d53 --- /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: + - normalizr > lodash: + patched: '2020-05-05T05:58:49.352Z'