From 5d7074e321777367576b62de5cad6e2c613a304c Mon Sep 17 00:00:00 2001 From: snyk-test Date: Thu, 4 Jul 2019 01:22:16 +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..af2ad20 --- /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: + - react-apollo > lodash: + patched: '2019-07-04T01:22:13.310Z' diff --git a/package.json b/package.json index 27ddf1d..fc5b1ef 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,8 @@ "react-apollo": "2.1.11", "react-dom": "16.7.0-alpha.2", "react-helmet": "5.2.0", - "react-router-dom": "4.3.1" + "react-router-dom": "4.3.1", + "snyk": "^1.189.0" }, "devDependencies": { "@babel/cli": "7.0.0", @@ -81,7 +82,9 @@ "scripts": { "start": "nps", "test": "nps test", - "help": "nps help" + "help": "nps help", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "config": { "cz-emoji": { @@ -105,5 +108,6 @@ "bugs": { "url": "https://github.com/Falieson/2018-typescript-module/issues" }, - "homepage": "https://github.com/Falieson/2018-typescript-module#readme" + "homepage": "https://github.com/Falieson/2018-typescript-module#readme", + "snyk": true }