From 40b730a23471a29eef36ed004045d15eba561cb0 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 27 Dec 2023 15:35:35 +0000 Subject: [PATCH] fix: node-javascript/pooling-example/package.json & node-javascript/pooling-example/package-lock.json to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-AXIOS-6124857 --- .../pooling-example/package-lock.json | 38 ++++++++++++------- node-javascript/pooling-example/package.json | 2 +- 2 files changed, 26 insertions(+), 14 deletions(-) diff --git a/node-javascript/pooling-example/package-lock.json b/node-javascript/pooling-example/package-lock.json index c212a34..ae389a7 100644 --- a/node-javascript/pooling-example/package-lock.json +++ b/node-javascript/pooling-example/package-lock.json @@ -1,16 +1,16 @@ { - "name": "node-js-simple-script-example", + "name": "node-js-pooling-example", "version": "1.0.0", "lockfileVersion": 2, "requires": true, "packages": { "": { - "name": "node-js-simple-script-example", + "name": "node-js-pooling-example", "version": "1.0.0", "license": "ISC", "dependencies": { "@videomatik/api": "^2.0.0", - "axios": "^0.27.2", + "axios": "^1.6.3", "dotenv": "^16.0.2" }, "devDependencies": { @@ -334,12 +334,13 @@ "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" }, "node_modules/axios": { - "version": "0.27.2", - "resolved": "https://registry.npmjs.org/axios/-/axios-0.27.2.tgz", - "integrity": "sha512-t+yRIyySRTp/wua5xEr+z1q60QmLq8ABsS5O9Me1AsE5dfKqgnCFzwiCZZ/cGNd1lq4/7akDWMxdhVlucjmnOQ==", + "version": "1.6.3", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.6.3.tgz", + "integrity": "sha512-fWyNdeawGam70jXSVlKl+SUNVcL6j6W79CuSIPfi6HnDUmSCH6gyUys/HrqHeA/wU0Az41rRgean494d0Jb+ww==", "dependencies": { - "follow-redirects": "^1.14.9", - "form-data": "^4.0.0" + "follow-redirects": "^1.15.0", + "form-data": "^4.0.0", + "proxy-from-env": "^1.1.0" } }, "node_modules/balanced-match": { @@ -2030,6 +2031,11 @@ "stream-parser": "~0.3.1" } }, + "node_modules/proxy-from-env": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", + "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==" + }, "node_modules/punycode": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", @@ -2712,12 +2718,13 @@ "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" }, "axios": { - "version": "0.27.2", - "resolved": "https://registry.npmjs.org/axios/-/axios-0.27.2.tgz", - "integrity": "sha512-t+yRIyySRTp/wua5xEr+z1q60QmLq8ABsS5O9Me1AsE5dfKqgnCFzwiCZZ/cGNd1lq4/7akDWMxdhVlucjmnOQ==", + "version": "1.6.3", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.6.3.tgz", + "integrity": "sha512-fWyNdeawGam70jXSVlKl+SUNVcL6j6W79CuSIPfi6HnDUmSCH6gyUys/HrqHeA/wU0Az41rRgean494d0Jb+ww==", "requires": { - "follow-redirects": "^1.14.9", - "form-data": "^4.0.0" + "follow-redirects": "^1.15.0", + "form-data": "^4.0.0", + "proxy-from-env": "^1.1.0" } }, "balanced-match": { @@ -3956,6 +3963,11 @@ "stream-parser": "~0.3.1" } }, + "proxy-from-env": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", + "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==" + }, "punycode": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", diff --git a/node-javascript/pooling-example/package.json b/node-javascript/pooling-example/package.json index 19eb30f..05fe0f9 100644 --- a/node-javascript/pooling-example/package.json +++ b/node-javascript/pooling-example/package.json @@ -11,7 +11,7 @@ "license": "ISC", "dependencies": { "@videomatik/api": "^2.0.0", - "axios": "^0.27.2", + "axios": "^1.6.3", "dotenv": "^16.0.2" }, "devDependencies": {