From 541b7ecbb1ae93481319446953bef72a81a522ac Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sat, 2 May 2020 09:15:20 +0530 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..ec622cd --- /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: + - request-promise > lodash: + patched: '2020-05-02T03:45:18.721Z' From 3d19e57af1e1a1577adba81c5048594792b1c9bf Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sat, 2 May 2020 09:15:21 +0530 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, 8 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index c760b9c..41be3db 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,8 @@ "q": "^1.4.1", "request": "^2.67.0", "request-promise": "^2.0.0", - "string-stream": "0.0.7" + "string-stream": "0.0.7", + "snyk": "^1.316.2" }, "homepage": "https://github.com/djadmin/medium-cli#readme", "bugs": { @@ -41,5 +42,10 @@ "license": "MIT", "bin": { "medium": "index.js" - } + }, + "scripts": { + "snyk-protect": "snyk protect", + "prepare": "yarn run snyk-protect" + }, + "snyk": true }