From b2603d93dd5e0ddbfddf3ebea683efdf04ab7f5b Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 01:55:45 +0100 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 b483d2d..82ff9d6 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,9 @@ "description": "A cli tool to fetch information from an OpenComponents registry's API", "main": "index.js", "scripts": { - "test": "standard" + "test": "standard", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "repository": { "type": "git", @@ -27,12 +29,14 @@ "colors": "^1.1.2", "lodash": "^4.17.4", "minimal-request": "^2.2.0", - "parse-author": "^1.0.0" + "parse-author": "^1.0.0", + "snyk": "^1.316.1" }, "bin": { "oc-info": "./index.js" }, "devDependencies": { "standard": "^9.0.1" - } + }, + "snyk": true } From e6e66618312f7a3059f8bee66ef77d8c92d806e8 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 01:55:46 +0100 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..23e65e1 --- /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: + - lodash: + patched: '2020-05-01T00:55:03.505Z' + - async > lodash: + patched: '2020-05-01T00:55:03.505Z'