From 364fb83e93d6e8ef65ae33fc5c422046157a805e Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 7 May 2020 04:05:10 +0530 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 | 38 +++++++++++++++++++++----------------- 1 file changed, 21 insertions(+), 17 deletions(-) diff --git a/package.json b/package.json index 86005c5..6a25c34 100644 --- a/package.json +++ b/package.json @@ -1,19 +1,23 @@ { - "name": "pdfconverter", - "version": "1.0.0", - "description": "pdf converter, html to pdf etc", - "main": "app.js", - "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" - }, - "keywords": [ - "pdf", - "converter" - ], - "author": "HRA-Application", - "license": "ISC", - "dependencies": { - "hapi": "^13.0.0", - "html-pdf": "^1.5.0" - } + "name": "pdfconverter", + "version": "1.0.0", + "description": "pdf converter, html to pdf etc", + "main": "app.js", + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" + }, + "keywords": [ + "pdf", + "converter" + ], + "author": "HRA-Application", + "license": "ISC", + "dependencies": { + "hapi": "^13.0.0", + "html-pdf": "^1.5.0", + "snyk": "^1.319.1" + }, + "snyk": true } \ No newline at end of file From d307063ebd89285bd60b4fec81e0e5ea260cda07 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 7 May 2020 04:05:12 +0530 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..2c39041 --- /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: + - html-pdf > phantomjs > request > form-data > async > lodash: + patched: '2020-05-06T22:35:08.538Z'