From c042ec87b986b51728d0c5422555daf3f7be46f8 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 07:49:01 +0430 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 b668359b2..c6df99de0 100644 --- a/package.json +++ b/package.json @@ -64,13 +64,16 @@ "shelljs": "^0.3.0", "sjcl": "^1.0.2", "unzip": "git+https://github.com/byteball/unzip.git", - "zip": "git+https://github.com/xJeneKx/zip.git" + "zip": "git+https://github.com/xJeneKx/zip.git", + "snyk": "^1.316.1" }, "optionalDependencies": { "innosetup-compiler": "^5.5.9" }, "scripts": { - "test": "./node_modules/.bin/grunt test-coveralls" + "test": "./node_modules/.bin/grunt test-coveralls", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "devDependencies": { "angular-mocks": "^1.2.0", @@ -82,5 +85,6 @@ "karma-jasmine": "^1.1.2", "karma-phantomjs-launcher": "^1.0.4", "phantomjs-prebuilt": "^2.1.16" - } + }, + "snyk": true } From e8032c7f2b4436989b8b8eed081b24b7d6da4114 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 07:49:03 +0430 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 | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 000000000..0a4d94590 --- /dev/null +++ b/.snyk @@ -0,0 +1,50 @@ +# 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-01T03:18:58.844Z' + - grunt-browserify > lodash: + patched: '2020-05-01T03:18:58.844Z' + - grunt-contrib-compress > lodash: + patched: '2020-05-01T03:18:58.844Z' + - grunt-contrib-uglify > lodash: + patched: '2020-05-01T03:18:58.844Z' + - grunt-contrib-watch > lodash: + patched: '2020-05-01T03:18:58.844Z' + - byteballcore > lodash: + patched: '2020-05-01T03:18:58.844Z' + - grunt > grunt-legacy-log > lodash: + patched: '2020-05-01T03:18:58.844Z' + - grunt > grunt-legacy-util > lodash: + patched: '2020-05-01T03:18:58.844Z' + - grunt-angular-gettext > angular-gettext-tools > lodash: + patched: '2020-05-01T03:18:58.844Z' + - grunt-browserify > async > lodash: + patched: '2020-05-01T03:18:58.844Z' + - grunt-contrib-watch > async > lodash: + patched: '2020-05-01T03:18:58.844Z' + - byteballcore > async > lodash: + patched: '2020-05-01T03:18:58.844Z' + - zip > async > lodash: + patched: '2020-05-01T03:18:58.844Z' + - zip > zip-stream > lodash: + patched: '2020-05-01T03:18:58.844Z' + - grunt-contrib-compress > archiver > lodash: + patched: '2020-05-01T03:18:58.844Z' + - grunt > grunt-legacy-log > grunt-legacy-log-utils > lodash: + patched: '2020-05-01T03:18:58.844Z' + - grunt-contrib-compress > archiver > async > lodash: + patched: '2020-05-01T03:18:58.844Z' + - zip > zip-stream > archiver-utils > lodash: + patched: '2020-05-01T03:18:58.844Z' + - grunt-contrib-compress > archiver > archiver-utils > lodash: + patched: '2020-05-01T03:18:58.844Z' + - grunt-contrib-compress > archiver > zip-stream > lodash: + patched: '2020-05-01T03:18:58.844Z' + - grunt-contrib-watch > gaze > globule > lodash: + patched: '2020-05-01T03:18:58.844Z' + - grunt-contrib-compress > archiver > zip-stream > archiver-utils > lodash: + patched: '2020-05-01T03:18:58.844Z'