From a5174c4da4617d285d4d419a401db2d2f289a0ca Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 12 Jan 2022 18:42:08 +0000 Subject: [PATCH] fix: examples/vote-helm/vote-image/package.json & examples/vote-helm/vote-image/package-lock.json to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-FOLLOWREDIRECTS-2332181 --- .../vote-helm/vote-image/package-lock.json | 22 ++++++++++--------- examples/vote-helm/vote-image/package.json | 2 +- 2 files changed, 13 insertions(+), 11 deletions(-) diff --git a/examples/vote-helm/vote-image/package-lock.json b/examples/vote-helm/vote-image/package-lock.json index 403d426550..b2af647e4e 100644 --- a/examples/vote-helm/vote-image/package-lock.json +++ b/examples/vote-helm/vote-image/package-lock.json @@ -1796,18 +1796,17 @@ "dev": true }, "axios": { - "version": "0.18.1", - "resolved": "https://registry.npmjs.org/axios/-/axios-0.18.1.tgz", - "integrity": "sha512-0BfJq4NSfQXd+SkFdrvFbG7addhYSBA2mQwISr46pD6E5iqkWg02RAs8vyTT/j0RTnoYmeXauBuSv1qKwR179g==", + "version": "0.20.0", + "resolved": "https://registry.npmjs.org/axios/-/axios-0.20.0.tgz", + "integrity": "sha512-ANA4rr2BDcmmAQLOKft2fufrtuvlqR+cXNNinUmvfeSNCOF98PZL+7M/v1zIdGo7OLjEA9J2gXJL+j4zGsl0bA==", "requires": { - "follow-redirects": "1.5.10", - "is-buffer": "^2.0.2" + "follow-redirects": "^1.10.0" }, "dependencies": { - "is-buffer": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-2.0.3.tgz", - "integrity": "sha512-U15Q7MXTuZlrbymiz95PJpZxu8IlipAp4dtS3wOdgPXx3mqBnslrWU14kxfHB+Py/+2PVKSr37dMAgM2A4uArw==" + "follow-redirects": { + "version": "1.14.7", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.7.tgz", + "integrity": "sha512-+hbxoLbFMbRKDwohX8GkTataGqO6Jb7jGwpAlwgy2bIz25XtRm7KEzJM76R1WiNT5SwZkX4Y75SwBolkpmE7iQ==" } } }, @@ -5368,6 +5367,7 @@ "version": "1.5.10", "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.5.10.tgz", "integrity": "sha512-0V5l4Cizzvqt5D44aTXbFZz+FtyXV1vrDN6qrelxtfYQKW0KO0W2T/hkE8xvGa/540LkZlkaUjO4ailYTFtHVQ==", + "dev": true, "requires": { "debug": "=3.1.0" }, @@ -5376,6 +5376,7 @@ "version": "3.1.0", "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", + "dev": true, "requires": { "ms": "2.0.0" } @@ -5383,7 +5384,8 @@ "ms": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true } } }, diff --git a/examples/vote-helm/vote-image/package.json b/examples/vote-helm/vote-image/package.json index 5db31928f3..dd447fc592 100644 --- a/examples/vote-helm/vote-image/package.json +++ b/examples/vote-helm/vote-image/package.json @@ -10,7 +10,7 @@ "test:integ": "node_modules/mocha/bin/mocha tests/integ/test.js" }, "dependencies": { - "axios": "^0.18.1", + "axios": "^0.20.0", "chai": "^4.1.2", "vue": "^2.5.17", "vue-router": "^3.0.1",