From d6bab8f1ded7e7ce39aa16d0b6fc824deaf1ba8c Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sat, 2 May 2020 16:06:15 +1200 Subject: [PATCH 1/2] fix: .snyk & package.json 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..ea9968e --- /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-02T04:06:13.925Z' From 8cd0b8e3233d3457373f5b7cd436f5e21a32b51a Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sat, 2 May 2020 16:06:16 +1200 Subject: [PATCH 2/2] fix: .snyk & package.json 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 c6cad0f..2af4014 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,9 @@ "build": "npm-run-all --parallel build:*", "build:main": "babel --out-dir dist src", "build:umd": "webpack", - "build:umd.min": "webpack -p --env.prod" + "build:umd.min": "webpack -p --env.prod", + "snyk-protect": "snyk protect", + "prepare": "yarn run snyk-protect" }, "repository": { "type": "git", @@ -37,7 +39,8 @@ }, "homepage": "https://github.com/Thram/thrux#readme", "dependencies": { - "lodash": "^4.17.4" + "lodash": "^4.17.4", + "snyk": "^1.316.2" }, "devDependencies": { "babel-cli": "^6.24.1", @@ -71,5 +74,6 @@ "commitizen": { "path": "cz-conventional-changelog" } - } + }, + "snyk": true }