From ff4b494ee497f34620e4f3dbd961f26bbef4472c Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sun, 3 May 2020 07:18:37 +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 | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 8e6e528..28847bd 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,9 @@ }, "license": "BSD-3-Clause", "scripts": { - "test": "gulp test" + "test": "gulp test", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "devDependencies": { "chai": "^3.3.0", @@ -52,9 +54,11 @@ "moment": "^2.10.6", "stack-trace": "^0.0.9", "url-extractor": "^1.0.1", - "yargs": "^3.26.0" + "yargs": "^3.26.0", + "snyk": "^1.316.2" }, "engines": { "node": ">=4" - } + }, + "snyk": true } From 6ad5d985862e2b11787d841a7518566549c378cf Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sun, 3 May 2020 07:18:38 +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 0000000..8445af7 --- /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: + - markdown-contents > lodash: + patched: '2020-05-03T04:18:35.653Z' + - markdown-contents > contents > lodash: + patched: '2020-05-03T04:18:35.653Z'