From ae433a1a88b3a84c476ae34bace33ee581a19fdd Mon Sep 17 00:00:00 2001 From: snyk-test Date: Thu, 4 Jul 2019 07:39:23 +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 | 12 ++++++++++++ package.json | 10 ++++++++-- 2 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..6d338fc --- /dev/null +++ b/.snyk @@ -0,0 +1,12 @@ +# 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: + - pug > pug-code-gen > constantinople > babel-types > lodash: + patched: '2019-07-04T07:39:20.709Z' + - pug > pug-filters > constantinople > babel-types > lodash: + patched: '2019-07-04T07:39:20.709Z' + - pug > pug-code-gen > pug-attrs > constantinople > babel-types > lodash: + patched: '2019-07-04T07:39:20.709Z' diff --git a/package.json b/package.json index b035794..4868922 100644 --- a/package.json +++ b/package.json @@ -22,6 +22,12 @@ "pug": "^2.0.0-beta6", "querystring": "^0.2.0", "react": "^15.3.0", - "react-dom": "^15.3.0" - } + "react-dom": "^15.3.0", + "snyk": "^1.189.0" + }, + "scripts": { + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" + }, + "snyk": true }