diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..d82dd8f --- /dev/null +++ b/.snyk @@ -0,0 +1,14 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.12.0 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + 'npm:hoek:20180212': + - html-pdf > phantomjs > request > hawk > hoek: + patched: '2018-06-20T08:50:28.886Z' + - html-pdf > phantomjs > request > hawk > boom > hoek: + patched: '2018-06-20T08:50:28.886Z' + - html-pdf > phantomjs > request > hawk > sntp > hoek: + patched: '2018-06-20T08:50:28.886Z' + - html-pdf > phantomjs > request > hawk > cryptiles > boom > hoek: + patched: '2018-06-20T08:50:28.886Z' diff --git a/package.json b/package.json index 86005c5..632872c 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", + "prepare": "npm run snyk-protect" + }, + "keywords": [ + "pdf", + "converter" + ], + "author": "HRA-Application", + "license": "ISC", + "dependencies": { + "hapi": "^13.0.0", + "html-pdf": "^1.5.0", + "snyk": "^1.83.0" + }, + "snyk": true } \ No newline at end of file