Skip to content

Fixed compile-problems against latest axios 1.6.0#260

Open
FibreFoX wants to merge 1 commit intoFlyrell:masterfrom
FibreFoX:master
Open

Fixed compile-problems against latest axios 1.6.0#260
FibreFoX wants to merge 1 commit intoFlyrell:masterfrom
FibreFoX:master

Conversation

@FibreFoX
Copy link

@FibreFoX FibreFoX commented Nov 7, 2023

It seems that never versions of axios require a different type to be used for interceptors, so I replaced them all.
Interestingly the resulting JS is the same as before.

The @types/node update was neccessary due to AbortSIgnal not working otherwise when compiling this on lates LTS version of NodeJS. Mabye this needs an engine entry too to only allow more modern versions?

I do not expect this PR to be accepted, but maybe some parts can be used for an upgrade.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant