From 5e2dea2457f3b7cd3cc74ecb1b11471d14b4b5cc Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Mon, 6 May 2019 01:12:55 +0000 Subject: [PATCH] fix: ui/.snyk & ui/package.json to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-AXIOS-174505 --- ui/.snyk | 8 ++++++++ ui/package.json | 10 +++++++--- 2 files changed, 15 insertions(+), 3 deletions(-) create mode 100644 ui/.snyk diff --git a/ui/.snyk b/ui/.snyk new file mode 100644 index 0000000..93016c6 --- /dev/null +++ b/ui/.snyk @@ -0,0 +1,8 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.13.3 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + SNYK-JS-AXIOS-174505: + - axios: + patched: '2019-05-06T01:12:53.718Z' diff --git a/ui/package.json b/ui/package.json index 3deb2ff..ef7e175 100644 --- a/ui/package.json +++ b/ui/package.json @@ -12,7 +12,9 @@ "e2e": "node test/e2e/runner.js", "test": "npm run unit && npm run e2e", "lint": "eslint --ext .js,.vue src test/unit test/e2e/specs", - "build": "node build/build.js" + "build": "node build/build.js", + "snyk-protect": "snyk protect", + "prepare": "npm run snyk-protect" }, "dependencies": { "@opentok/client": "^2.13.0", @@ -22,7 +24,8 @@ "twilio-chat": "^1.2.1", "twilio-video": "^1.6.0", "vue": "^2.5.2", - "vue-router": "^3.0.1" + "vue-router": "^3.0.1", + "snyk": "^1.161.1" }, "devDependencies": { "autoprefixer": "^7.1.2", @@ -87,5 +90,6 @@ "> 1%", "last 2 versions", "not ie <= 8" - ] + ], + "snyk": true }