From 922b1e7bf07cb1ad6e8c2948ee0c22a102a2638f Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sat, 18 May 2019 02:17:45 +0000 Subject: [PATCH] fix: .snyk & package.json to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/npm:hoek:20180212 - https://snyk.io/vuln/npm:https-proxy-agent:20180402 - https://snyk.io/vuln/npm:ms:20170412 - https://snyk.io/vuln/npm:qs:20170213 - https://snyk.io/vuln/npm:tunnel-agent:20170305 - https://snyk.io/vuln/npm:ws:20171108 The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-AXIOS-174505 --- .snyk | 8 ++++++++ package.json | 16 ++++++++++------ 2 files changed, 18 insertions(+), 6 deletions(-) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 000000000..4007133fb --- /dev/null +++ b/.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: + - localtunnel > axios: + patched: '2019-05-18T02:17:42.837Z' diff --git a/package.json b/package.json index 7df5c9897..adede14f1 100644 --- a/package.json +++ b/package.json @@ -9,21 +9,22 @@ "body-parser": "^1.17.1", "botbuilder": "^3.7.0", "botkit-studio-sdk": "^1.0.2", - "ciscospark": "^0.7.69", + "ciscospark": "^1.28.4", "clone": "2.1.1", "command-line-args": "^4.0.2", "crypto": "0.0.3", "express": "^4.15.2", - "https-proxy-agent": "^1.0.0", + "https-proxy-agent": "^2.2.0", "jfs": "^0.2.6", "localtunnel": "^1.8.2", "md5": "^2.2.1", "mustache": "^2.3.0", "promise": "^7.1.1", "request": "^2.81.0", - "twilio": "^2.11.1", + "twilio": "^3.9.0", "ware": "^1.3.0", - "ws": "^2.2.2" + "ws": "^3.3.1", + "snyk": "^1.165.1" }, "devDependencies": { "jest-cli": "^20.0.1", @@ -38,7 +39,9 @@ "pretest": "jscs ./lib/ ./__test__ --fix", "test": "jest --coverage", "test-legacy": "mocha ./tests/*.js", - "test-watch": "jest --watch" + "test-watch": "jest --watch", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "repository": { "type": "git", @@ -61,5 +64,6 @@ "license": "MIT", "jest": { "testEnvironment": "node" - } + }, + "snyk": true }