From 2769710a2a494ff6894445dbcfc392d39dfda3c1 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Mon, 6 May 2019 08:16:56 +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-AXIOS-174505 --- .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..350cc98 --- /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: + - axios: + patched: '2019-05-06T08:16:55.199Z' diff --git a/package.json b/package.json index 69340c5..37f2c35 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,9 @@ "test-integration": "TEST_TYPE=integration npm test", "test-certification": "TEST_TYPE=certification npm test", "test-capture": "TEST_TYPE=capture npm test", - "test-with-coverage": "nyc npm test && nyc report --reporter=text-lcov > ./lcov.info" + "test-with-coverage": "nyc npm test && nyc report --reporter=text-lcov > ./lcov.info", + "snyk-protect": "snyk protect", + "prepare": "npm run snyk-protect" }, "repository": { "type": "git", @@ -30,7 +32,8 @@ }, "homepage": "https://github.com/tejashah88/node-alexa-smapi#readme", "dependencies": { - "axios": "^0.17.1" + "axios": "^0.17.1", + "snyk": "^1.161.1" }, "devDependencies": { "ask-cli": "^1.4.2", @@ -42,5 +45,6 @@ "mocha": "^5.2.0", "mocha-lcov-reporter": "^1.3.0", "nyc": "^13.0.1" - } + }, + "snyk": true }