From 32c75f9a396b1b40f426a2c60cdb0b7a858ae265 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 30 Apr 2020 21:27:13 -0400 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 28358c7..6dad118 100644 --- a/package.json +++ b/package.json @@ -8,10 +8,11 @@ }, "scripts": { "build": "tsc", - "prepare": "npm run build", + "prepare": "npm run snyk-protect && npm run build", "test": "npm run build && nyc -r lcov -r text perjury test/*-test.js", "test:install": "npm install -g . && type lazymention", - "watch": "tsc -w" + "watch": "tsc -w", + "snyk-protect": "snyk protect" }, "repository": { "type": "git", @@ -45,7 +46,8 @@ "url-toolkit": "^2.1.2", "uuid": "^3.1.0", "write-file-atomic": "^2.3.0", - "yargs": "^10.0.3" + "yargs": "^10.0.3", + "snyk": "^1.316.1" }, "devDependencies": { "coveralls": "^3.0.1", @@ -55,5 +57,6 @@ "proxyquire": "^2.0.1", "sinon": "^4.1.2", "typescript": "^2.6.2" - } + }, + "snyk": true } From 7772ada770dd93b9b808a62ce4ffc5bb9944a460 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 30 Apr 2020 21:27:14 -0400 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 | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..5f548b8 --- /dev/null +++ b/.snyk @@ -0,0 +1,12 @@ +# 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-01T01:27:10.373Z' + - cheerio > lodash: + patched: '2020-05-01T01:27:10.373Z' + - send-webmention > get-webmention-url > cheerio > lodash: + patched: '2020-05-01T01:27:10.373Z'