From 6601cd5a39c1234ef2fb9f1449658a7161e4274a Mon Sep 17 00:00:00 2001 From: Sam Samskies Date: Sun, 1 Jan 2023 11:45:29 -1000 Subject: [PATCH] upgrade axios to fix eof bug https://github.com/axios/axios/issues/5346 --- package.json | 5 ++++- yarn.lock | 20 ++++---------------- 2 files changed, 8 insertions(+), 17 deletions(-) diff --git a/package.json b/package.json index c0517fb..6c098ed 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "@chakra-ui/react": "^1.8.8", "@emotion/react": "^11.9.0", "@emotion/styled": "^11.8.1", - "axios": "^0.26.1", + "axios": "1.2.2", "copy-to-clipboard": "^3.3.1", "framer-motion": "^6.3.1", "lnurl-pay": "2.1.0", @@ -41,5 +41,8 @@ "eslint-config-prettier": "^8.5.0", "prettier": "2.6.2", "typescript": "4.6.3" + }, + "resolutions": { + "axios": "1.2.2" } } diff --git a/yarn.lock b/yarn.lock index b666ab4..7a2c86b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1211,17 +1211,10 @@ axe-core@^4.3.5: resolved "https://registry.yarnpkg.com/axe-core/-/axe-core-4.4.1.tgz#7dbdc25989298f9ad006645cd396782443757413" integrity sha512-gd1kmb21kwNuWr6BQz8fv6GNECPBnUasepcoLbekws23NVBLODdsClRZ+bQ8+9Uomf3Sm3+Vwn0oYG9NvwnJCw== -axios@^0.26.1: - version "0.26.1" - resolved "https://registry.yarnpkg.com/axios/-/axios-0.26.1.tgz#1ede41c51fcf51bbbd6fd43669caaa4f0495aaa9" - integrity sha512-fPwcX4EvnSHuInCMItEhAGnaSEXRBjtzh9fOtsE6E1G6p7vl7edEeZe11QHf18+6+9gR5PbKV/sGKNaD8YaMeA== - dependencies: - follow-redirects "^1.14.8" - -axios@^1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/axios/-/axios-1.2.1.tgz#44cf04a3c9f0c2252ebd85975361c026cb9f864a" - integrity sha512-I88cFiGu9ryt/tfVEi4kX2SITsvDddTajXTOFmt2uK1ZVA8LytjtdeyefdQWEf5PU8w+4SSJDoYnggflB5tW4A== +axios@1.2.2, axios@^1.2.1: + version "1.2.2" + resolved "https://registry.yarnpkg.com/axios/-/axios-1.2.2.tgz#72681724c6e6a43a9fea860fc558127dbe32f9f1" + integrity sha512-bz/J4gS2S3I7mpN/YZfGFTqhXTYzRho8Ay38w2otuuDR322KzFIWm/4W2K6gIwvWaws5n+mnb7D1lN9uD+QH6Q== dependencies: follow-redirects "^1.15.0" form-data "^4.0.0" @@ -1964,11 +1957,6 @@ focus-lock@^0.9.1: dependencies: tslib "^2.0.3" -follow-redirects@^1.14.8: - version "1.14.9" - resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.14.9.tgz#dd4ea157de7bfaf9ea9b3fbd85aa16951f78d8d7" - integrity sha512-MQDfihBQYMcyy5dhRDJUHcw7lb2Pv/TuE6xP1vyraLukNDHKbDxDNaOE3NbCAdKQApno+GPRyo1YAp89yCjK4w== - follow-redirects@^1.15.0: version "1.15.2" resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.2.tgz#b460864144ba63f2681096f274c4e57026da2c13"