From cc34e9f847c9e067692ad3246894bffe0f5196f2 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 27 Dec 2023 16:25:28 +0000 Subject: [PATCH] fix: package.json & package-lock.json to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-AXIOS-6124857 --- package-lock.json | 18 ++++-------------- package.json | 2 +- 2 files changed, 5 insertions(+), 15 deletions(-) diff --git a/package-lock.json b/package-lock.json index 8ca8b1d..e5d9437 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,7 +13,7 @@ "@govtechsg/document-store": "^2.2.3", "@govtechsg/open-attestation": "^6.2.0", "@govtechsg/token-registry": "^4.1.7", - "axios": "^1.6.2", + "axios": "^1.6.3", "debug": "^4.3.1", "did-resolver": "^3.1.0", "ethers": "^5.1.4", @@ -2291,16 +2291,6 @@ "runtypes": "^6.3.0" } }, - "node_modules/@govtechsg/dnsprove/node_modules/axios": { - "version": "1.6.1", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.6.1.tgz", - "integrity": "sha512-vfBmhDpKafglh0EldBEbVuoe7DyAavGSLWhuSm5ZSEKQnHhBf0xAAwybbNH1IkrJNGnS/VG4I5yxig1pCEXE4g==", - "dependencies": { - "follow-redirects": "^1.15.0", - "form-data": "^4.0.0", - "proxy-from-env": "^1.1.0" - } - }, "node_modules/@govtechsg/document-store": { "version": "2.2.3", "resolved": "https://registry.npmjs.org/@govtechsg/document-store/-/document-store-2.2.3.tgz", @@ -5540,9 +5530,9 @@ } }, "node_modules/axios": { - "version": "1.6.2", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.6.2.tgz", - "integrity": "sha512-7i24Ri4pmDRfJTR7LDBhsOTtcm+9kjX5WiY1X3wIisx6G9So3pfMkEiU7emUBe46oceVImccTEM3k6C5dbVW8A==", + "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.15.0", "form-data": "^4.0.0", diff --git a/package.json b/package.json index 7d39ce6..f5fa615 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "@govtechsg/document-store": "^2.2.3", "@govtechsg/open-attestation": "^6.2.0", "@govtechsg/token-registry": "^4.1.7", - "axios": "^1.6.2", + "axios": "^1.6.3", "debug": "^4.3.1", "did-resolver": "^3.1.0", "ethers": "^5.1.4",