Skip to content

Commit 34716e7

Browse files
dhyeyshah28801notanmay
authored andcommitted
fix: updating the axios package to remove vulnerability
1 parent bc3b888 commit 34716e7

File tree

2 files changed

+21
-10
lines changed

2 files changed

+21
-10
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
"homepage": "https://github.com/distinction-dev/lambda-authorizer-utils#readme",
6060
"dependencies": {
6161
"@types/node-jose": "^1.1.10",
62-
"axios": "^0.27.2",
62+
"axios": "1.6.1",
6363
"jwt-decode": "^3.1.2",
6464
"node-jose": "^2.1.1"
6565
},

yarn.lock

+20-9
Original file line numberDiff line numberDiff line change
@@ -1253,21 +1253,22 @@ aws-sdk@^2.1280.0, aws-sdk@^2.814.0:
12531253
uuid "8.0.0"
12541254
xml2js "0.4.19"
12551255

1256+
1257+
version "1.6.1"
1258+
resolved "https://registry.yarnpkg.com/axios/-/axios-1.6.1.tgz#76550d644bf0a2d469a01f9244db6753208397d7"
1259+
integrity sha512-vfBmhDpKafglh0EldBEbVuoe7DyAavGSLWhuSm5ZSEKQnHhBf0xAAwybbNH1IkrJNGnS/VG4I5yxig1pCEXE4g==
1260+
dependencies:
1261+
follow-redirects "^1.15.0"
1262+
form-data "^4.0.0"
1263+
proxy-from-env "^1.1.0"
1264+
12561265
axios@^0.21.1:
12571266
version "0.21.4"
12581267
resolved "https://registry.npmjs.org/axios/-/axios-0.21.4.tgz"
12591268
integrity sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==
12601269
dependencies:
12611270
follow-redirects "^1.14.0"
12621271

1263-
axios@^0.27.2:
1264-
version "0.27.2"
1265-
resolved "https://registry.npmjs.org/axios/-/axios-0.27.2.tgz"
1266-
integrity sha512-t+yRIyySRTp/wua5xEr+z1q60QmLq8ABsS5O9Me1AsE5dfKqgnCFzwiCZZ/cGNd1lq4/7akDWMxdhVlucjmnOQ==
1267-
dependencies:
1268-
follow-redirects "^1.14.9"
1269-
form-data "^4.0.0"
1270-
12711272
balanced-match@^1.0.0:
12721273
version "1.0.2"
12731274
resolved "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz"
@@ -2892,11 +2893,16 @@ flatted@^3.1.0:
28922893
resolved "https://registry.npmjs.org/flatted/-/flatted-3.2.7.tgz"
28932894
integrity sha512-5nqDSxl8nn5BSNxyR3n4I6eDmbolI6WT+QqR547RwxQapgjQBmtktdP+HTBb/a/zLsbzERTONyUB5pefh5TtjQ==
28942895

2895-
follow-redirects@^1.14.0, follow-redirects@^1.14.9:
2896+
follow-redirects@^1.14.0:
28962897
version "1.15.2"
28972898
resolved "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz"
28982899
integrity sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA==
28992900

2901+
follow-redirects@^1.15.0:
2902+
version "1.15.3"
2903+
resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.3.tgz#fe2f3ef2690afce7e82ed0b44db08165b207123a"
2904+
integrity sha512-1VzOtuEM8pC9SFU1E+8KfTjZyMztRsgEfwQl44z8A25uy13jSzTj6dyK2Df52iV0vgHCfBwLhDWevLn95w5v6Q==
2905+
29002906
for-each@^0.3.3:
29012907
version "0.3.3"
29022908
resolved "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz"
@@ -5470,6 +5476,11 @@ promzard@^0.3.0:
54705476
dependencies:
54715477
read "1"
54725478

5479+
proxy-from-env@^1.1.0:
5480+
version "1.1.0"
5481+
resolved "https://registry.yarnpkg.com/proxy-from-env/-/proxy-from-env-1.1.0.tgz#e102f16ca355424865755d2c9e8ea4f24d58c3e2"
5482+
integrity sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==
5483+
54735484
pump@^3.0.0:
54745485
version "3.0.0"
54755486
resolved "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz"

0 commit comments

Comments
 (0)