use-axios-client icon indicating copy to clipboard operation
use-axios-client copied to clipboard

Update axios peer dependency

Open redbugz opened this issue 2 years ago • 1 comments

Axios is up to 0.27.x now, but this library is still peer dependency pinned to 0.19. This results in a peer dependency conflict warning on everyone that has updated to the newer version. It would be nice to update the peerDependency range to handle more modern versions, especially since axios 0.21.1 is a critical security release.

redbugz avatar Aug 09 '22 14:08 redbugz

We're up to Axios 1.3.4 right now, and still getting the install error...

# npm resolution error report

2023-03-03T20:33:20.588Z

While resolving: [email protected]
Found: [email protected]
node_modules/axios
  axios@"^1.3.4" from the root project

Could not resolve dependency:
peer axios@"^0.19.0" from [email protected]
node_modules/use-axios-client
  use-axios-client@"*" from the root project

Fix the upstream dependency conflict, or retry
this command with --force, or --legacy-peer-deps
to accept an incorrect (and potentially broken) dependency resolution.

With no updates for past 3.5 years does this means a dead project? :(

WantStuff avatar Mar 03 '23 20:03 WantStuff