From 1377e5272a99d10800abd6c31423c8839e94cd22 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 03:44:45 +0200 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 | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 7ffebf0..43c24c2 100644 --- a/package.json +++ b/package.json @@ -14,13 +14,19 @@ "tsc": "node_modules/.bin/tsc --project tsconfig.json", "post-compile": "cp package.json README.md ./build/common", "build": "npm run clean && npm run test && npm run tsc && npm run post-compile", - "coverage": "npm run clean && node_modules/.bin/nyc --reporter=lcov node_modules/.bin/mocha" + "coverage": "npm run clean && node_modules/.bin/nyc --reporter=lcov node_modules/.bin/mocha", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "repository": { "type": "git", "url": "git+https://github.com/orchejs/common.git" }, - "keywords": ["Orchejs", "Common", "Shared Functionalities"], + "keywords": [ + "Orchejs", + "Common", + "Shared Functionalities" + ], "author": { "name": "Mauricio Gemelli Vigolo", "email": "@mauriciovigolo" @@ -52,6 +58,8 @@ "file-matcher": "^1.1.0", "moment": "^2.18.1", "ramda": "^0.25.0", - "winston": "^2.4.0" - } + "winston": "^2.4.0", + "snyk": "^1.316.1" + }, + "snyk": true } From fe85e2a7cedbb4d79521c4e3d14d2c3690632976 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 03:44:46 +0200 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 | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..ca1010a --- /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: + - '@types/winston > winston > async > lodash': + patched: '2020-05-01T01:44:39.973Z'