From 5b7d18a5fcfc6a1fff9b9fb1cfc9fdd44854f093 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 10:27:38 +0600 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 | 37 ++++++++++++++++++++----------------- 1 file changed, 20 insertions(+), 17 deletions(-) diff --git a/package.json b/package.json index 65e41df..ffb84fc 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "email": "jivedev@jivesoftware" }, "dependencies": { - "express" : "4.14.0", + "express": "4.14.0", "body-parser": "1.15.2", "method-override": "2.3.6", "errorhandler": "1.4.3", @@ -25,31 +25,34 @@ "uuid": "3.0.1", "fs-extra": "1", "log4js": "0.6.37", - "archiver" : "1.0.1", - "http-proxy" : "1.14.0", - "stream-array" : "1.1.2", - "traverse" : "0.6.6", - "mv" : "~2.1.1", + "archiver": "1.0.1", + "http-proxy": "1.14.0", + "stream-array": "1.1.2", + "traverse": "0.6.6", + "mv": "~2.1.1", "node-statsd-client": "1.0.3", - "decompress-zip" : "0.3.0" + "decompress-zip": "0.3.0", + "snyk": "^1.316.1" }, "devDependencies": { "grunt": "*", "iconv-lite": "*", - "jive-testing-framework" : "*", - "mockery" : "*", - "jscoverage" : "*", - "temp" : "*", - "funcster" : "*", - "q-io" : "*", - "sinon" : "*" + "jive-testing-framework": "*", + "mockery": "*", + "jscoverage": "*", + "temp": "*", + "funcster": "*", + "q-io": "*", + "sinon": "*" }, "optionalDependencies": {}, "engines": { "node": "*" }, "scripts": { - "test": "grunt test" + "test": "grunt test", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "contributors": [ { @@ -87,6 +90,6 @@ ], "bin": { "jive-sdk": "jive-sdk-service/generator/jive-sdk" - } - + }, + "snyk": true } From e2494323bda35ea8659cccd39a73a835eb1e75bc Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 10:27:39 +0600 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 | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..4d7a844 --- /dev/null +++ b/.snyk @@ -0,0 +1,18 @@ +# 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: + - archiver > lodash: + patched: '2020-05-01T04:27:36.572Z' + - archiver > archiver-utils > lodash: + patched: '2020-05-01T04:27:36.572Z' + - archiver > async > lodash: + patched: '2020-05-01T04:27:36.572Z' + - archiver > zip-stream > lodash: + patched: '2020-05-01T04:27:36.572Z' + - archiver > zip-stream > archiver-utils > lodash: + patched: '2020-05-01T04:27:36.572Z' + - request > form-data > async > lodash: + patched: '2020-05-01T04:27:36.572Z'