Ok I discovered the cause of the issue. When I upgrade to yarn-berry the resolution field in package.json starts to work and pins axios to v0.26.1. If I remove the resolution field and yarn install again I get axios v1.7.7 which works fine without breaking.
Now the issue is will using the latest version of axios without the resolution field cause my typesense-instantsearch-adapter to break my react native project (this was the fix for the last help thread)