Open talentlessguy opened 4 months ago
Will do this sooner or later, but why do you need that now? Is there a negative impact?
@adrai I already submitted the PR (see description). The package has 1M weekly downloads and its used in of the projects I'm working on.
Ok, what is the negative impact of keeping it as is... not removing cross-fetch etc...?
@adrai obsolete support for XMLHttpRequest that is barely used anywhere, and actually is unsupported in both Deno and Node.js, an extra dep of cross-fetch
At runtime you shouldn't see notable any difference: https://github.com/i18next/i18next-http-backend/pull/144#issuecomment-2197465621
i think if you have consumers still needing support for older runtimes, it probably needs to stay for now
although cross-fetch
does pull in the fetch polyfill (node-fetch) which is a pretty large dependency. in a future major version, maybe you could have it as an optional peer dependency instead (so consumers without native fetch are required to pull it in themselves)
Ongoing PR here: https://github.com/i18next/i18next-http-backend/pull/144