From aa08269628e84dbce0ef0ca569fcb65274aecb9b Mon Sep 17 00:00:00 2001 From: snyk-test Date: Thu, 4 Jul 2019 05:12:41 +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..2b751f7 --- /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: + - node-gcm > lodash: + patched: '2019-07-04T05:12:39.654Z' diff --git a/package.json b/package.json index 54b36f1..313e0fe 100644 --- a/package.json +++ b/package.json @@ -6,14 +6,18 @@ "dependencies": { "body-parser": "^1.15.0", "express": "^4.13.4", - "node-gcm": "^1.0.0" + "node-gcm": "^1.0.0", + "snyk": "^1.189.0" }, "engines": { "node": "4.1.1" }, "devDependencies": {}, "scripts": { - "start": "node server.js" + "start": "node server.js", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, - "license": "MIT" + "license": "MIT", + "snyk": true }