From a658421648858aad7547e72da16f841aa6d573be Mon Sep 17 00:00:00 2001 From: snyk-test Date: Fri, 5 Jul 2019 00:13:27 +0000 Subject: [PATCH] fix: parkstay/frontend/exploreparks/.snyk & parkstay/frontend/exploreparks/package.json to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-450202 --- parkstay/frontend/exploreparks/.snyk | 16 ++++++++++++++++ parkstay/frontend/exploreparks/package.json | 10 +++++++--- 2 files changed, 23 insertions(+), 3 deletions(-) create mode 100644 parkstay/frontend/exploreparks/.snyk diff --git a/parkstay/frontend/exploreparks/.snyk b/parkstay/frontend/exploreparks/.snyk new file mode 100644 index 0000000000..9ce18dee97 --- /dev/null +++ b/parkstay/frontend/exploreparks/.snyk @@ -0,0 +1,16 @@ +# 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: + - openlayers > async > lodash: + patched: '2019-07-05T00:13:24.921Z' + - openlayers > closure-util > async > lodash: + patched: '2019-07-05T00:13:24.921Z' + - openlayers > jsdoc > catharsis > lodash: + patched: '2019-07-05T00:13:24.921Z' + - openlayers > jsdoc > requizzle > lodash: + patched: '2019-07-05T00:13:24.921Z' + - openlayers > closure-util > gaze > globule > lodash: + patched: '2019-07-05T00:13:24.921Z' diff --git a/parkstay/frontend/exploreparks/package.json b/parkstay/frontend/exploreparks/package.json index cba3865726..ff693c3996 100644 --- a/parkstay/frontend/exploreparks/package.json +++ b/parkstay/frontend/exploreparks/package.json @@ -6,7 +6,9 @@ "private": true, "scripts": { "dev": "node build/dev-server.js", - "build": "node build/build.js" + "build": "node build/build.js", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "dependencies": { "awesomplete": "^1.1.2", @@ -20,7 +22,8 @@ "moment": "^2.21.0", "openlayers": "^4.6.4", "vue": "^2.3.3", - "vue-paginate": "^3.5.1" + "vue-paginate": "^3.5.1", + "snyk": "^1.192.0" }, "devDependencies": { "autoprefixer": "^6.7.2", @@ -62,5 +65,6 @@ "engines": { "node": ">= 4.0.0", "npm": ">= 3.0.0" - } + }, + "snyk": true }