[Pkg-javascript-devel] node-i18next-http-backend, cross-fetch and bug #997718

Nicolas Mora nicolas at babelouest.org
Tue Oct 26 14:33:51 BST 2021


Hello team,

I updated the node-i18next* in unstable, but node-i18next-http-backend 
added cross-fetch [1] as a dependency, which isn't packaged in Debian 
yet. Which leads to ftbfs for Glewlwyd [2]

I'm working on packaging node-cross-fetch to definitely fix that, but 
it's not easy-peasy for me, their rollup config transpiles with 
ponyfill, polyfill, and uses weird hardcoded node_modules paths.

So if there's no objection, I would like to send a patched 
node-i18next-http-backend which uses node-fetch instead of cross-fetch 
like before. When cross-fetch will be packaged, I'll reupload 
node-i18next-http-backend without the patch.

I've tested this patched package to build glewlwyd and it works fine.

/Nicolas

[1] https://github.com/lquixada/cross-fetch
[2] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=997718



More information about the Pkg-javascript-devel mailing list