From 004783ea663cd40f9c27b71116595306b7df1133 Mon Sep 17 00:00:00 2001 From: snyk-test Date: Wed, 3 Jul 2019 23:35:10 +0000 Subject: [PATCH] fix: .snyk & package.json to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-450202 --- .snyk | 8 ++++++++ package.json | 10 +++++++--- 2 files changed, 15 insertions(+), 3 deletions(-) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..e1fcce8 --- /dev/null +++ b/.snyk @@ -0,0 +1,8 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.13.5 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + SNYK-JS-LODASH-450202: + - jshint > lodash: + patched: '2019-07-03T23:35:08.786Z' diff --git a/package.json b/package.json index 3a204fd..b64f0f5 100644 --- a/package.json +++ b/package.json @@ -8,9 +8,13 @@ "license": "MIT", "main": "PTHospitalList.js", "scripts": { - "test": "sh test.sh" + "test": "sh test.sh", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "dependencies": { - "jshint": "*" - } + "jshint": "*", + "snyk": "^1.189.0" + }, + "snyk": true } \ No newline at end of file