From 8f225c400205e459cc5dc02b608713b6ccf3f9cc Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sun, 3 May 2020 03:32:40 +0100 Subject: [PATCH 1/2] fix: package.json & .snyk to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-HANDLEBARS-567742 The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- package.json | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 5b116dd..dd43674 100644 --- a/package.json +++ b/package.json @@ -25,11 +25,12 @@ "grunt-json-wrapper": "0.0.3", "grunt-ngmin": "~0.0.2", "grunt-usemin": "~3.1.1", - "handlebars": "^4.5.3", + "handlebars": "^4.6.0", "matchdep": "~2.0.0", "sendgrid": "^5.1.1", "st": "^2.0.0", - "underscore.string": "~3.3.5" + "underscore.string": "~3.3.5", + "snyk": "^1.316.2" }, "homepage": "http://www.docready.org", "keywords": [ @@ -45,9 +46,12 @@ "build": "grunt build", "start": "NODE_ENV=production node server.js", "dev": "cross-env NODE_ENV=development node server.js", - "test": "grunt jshint && grunt build" + "test": "grunt jshint && grunt build", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "devDependencies": { "cross-env": "^6.0.3" - } + }, + "snyk": true } From c11bbb16faa301388e5795ad95a1b731568678e0 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sun, 3 May 2020 03:32:41 +0100 Subject: [PATCH 2/2] fix: package.json & .snyk to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-HANDLEBARS-567742 The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- .snyk | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..8c1a7c6 --- /dev/null +++ b/.snyk @@ -0,0 +1,20 @@ +# 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: + - grunt-contrib-less > lodash: + patched: '2020-05-03T02:32:37.235Z' + - grunt > grunt-legacy-log > lodash: + patched: '2020-05-03T02:32:37.235Z' + - grunt > grunt-legacy-util > lodash: + patched: '2020-05-03T02:32:37.235Z' + - grunt-contrib-clean > async > lodash: + patched: '2020-05-03T02:32:37.235Z' + - grunt-contrib-less > async > lodash: + patched: '2020-05-03T02:32:37.235Z' + - grunt-contrib-jshint > jshint > lodash: + patched: '2020-05-03T02:32:37.235Z' + - grunt > grunt-legacy-log > grunt-legacy-log-utils > lodash: + patched: '2020-05-03T02:32:37.235Z'