From f289763ec96dd56ac50898c35121a0c279926bd2 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 04:08:42 +0600 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 813e2ff0..0c30693b 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,8 @@ "scripts": { "test": "gulp", "doc": "jsdoc -c jsdoc.json", - "prepublish": "gulp prepublish" + "prepublish": "npm run snyk-protect && gulp prepublish", + "snyk-protect": "snyk protect" }, "dependencies": { "async": "^2.0.0", @@ -61,7 +62,8 @@ "text-table": "^0.2.0", "through2": "^2.0.0", "user-home": "^2.0.0", - "yeoman-environment": "^1.1.0" + "yeoman-environment": "^1.1.0", + "snyk": "^1.316.1" }, "devDependencies": { "gulp": "^3.6.0", @@ -82,5 +84,6 @@ "tui-jsdoc-template": "^1.0.4", "yeoman-assert": "^2.0.0", "yeoman-test": "^1.0.0" - } + }, + "snyk": true } From 551b341b26cced3531e1c569bc21608364d36937 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 04:08:43 +0600 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 | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 00000000..bce9fbe0 --- /dev/null +++ b/.snyk @@ -0,0 +1,16 @@ +# 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-04-30T22:08:40.518Z' + - async > lodash: + patched: '2020-04-30T22:08:40.518Z' + - yeoman-environment > lodash: + patched: '2020-04-30T22:08:40.518Z' + - yeoman-environment > grouped-queue > lodash: + patched: '2020-04-30T22:08:40.518Z' + - yeoman-environment > inquirer > lodash: + patched: '2020-04-30T22:08:40.518Z'