From 614eae1fd3bae6f207440d4de3156d9cd3ea51e6 Mon Sep 17 00:00:00 2001 From: snyk-test Date: Sun, 7 Jul 2019 04:54:05 +0000 Subject: [PATCH] fix: .snyk & package.json to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-450202 --- .snyk | 14 ++++++++++++++ package.json | 11 ++++++++--- 2 files changed, 22 insertions(+), 3 deletions(-) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..4a43056 --- /dev/null +++ b/.snyk @@ -0,0 +1,14 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.13.5 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + SNYK-JS-LODASH-450202: + - standard > eslint > lodash: + patched: '2019-07-07T04:54:03.025Z' + - standard > eslint-plugin-import > lodash: + patched: '2019-07-07T04:54:03.025Z' + - standard > eslint > inquirer > lodash: + patched: '2019-07-07T04:54:03.025Z' + - standard > eslint > table > lodash: + patched: '2019-07-07T04:54:03.025Z' diff --git a/package.json b/package.json index d9af83d..6c1e032 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,9 @@ "description": "The most simple logger imaginable", "main": "index.js", "scripts": { - "test": "standard && tape test.js" + "test": "standard && tape test.js", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "repository": { "type": "git", @@ -25,7 +27,9 @@ "url": "https://github.com/watson/console-log-level/issues" }, "homepage": "https://github.com/watson/console-log-level", - "dependencies": {}, + "dependencies": { + "snyk": "^1.192.3" + }, "devDependencies": { "standard": "^12.0.1", "tape": "^4.10.1" @@ -33,5 +37,6 @@ "coordinates": [ 55.778253, 12.593208 - ] + ], + "snyk": true }