Loading
fix(deps): update dependency i18next-http-backend to v4
This MR contains the following updates:
| Package | Change | Age | Confidence |
|---|---|---|---|
| i18next-http-backend | ^3.0.6 → ^4.0.1 |
Release Notes
i18next/i18next-http-backend (i18next-http-backend)
v4.0.1
- fix: allow
@innsvalues so scoped-package-style namespace names such as@organization/package-namefetch correctly again (#191). 3.0.6 relaxed thenscheck for/but left@in the shared denylist. In the URL path position@is a plain RFC 3986 pchar with no structural meaning; it stays blocked forlng, where it marks the userinfo/authority boundary. Every other pattern from the 3.0.5 advisory (..,\,%,?,#, whitespace, control chars, prototype keys, oversized inputs) remains blocked for both keys.
v4.0.0
- BREAKING: drop
cross-fetchdependency.i18next-http-backendnow requires a host-providedfetch. This is available in Node ≥ 18 (stable since Node 21), all modern browsers, Deno, and Bun. For runtimes without nativefetch, install a ponyfill yourself and inject it viaoptions.alternateFetch, or stay on v3.x. - BREAKING: minimum Node version is now 18 (
engines.node = ">=18"). - chore: simplified environment detection in
lib/request.js— usesglobalThis(withglobal/windowfallbacks for legacy embedded runtimes) instead of separateglobal.*/window.*branches per API. XHR / ActiveXObject are still picked up if the host provides them, but no longer polyfilled. - chore: declared
"sideEffects": falsefor better tree-shaking by downstream bundlers. - build: replaced babel + browserify + uglify-js with
tsdown(rolldown + oxc). One config produces ESM, CJS, and the IIFE browser bundles. Drops@babel/cli,@babel/core,@babel/preset-env,babel-plugin-add-module-exports,browserify,uglify-js, thefixcjsrewrite hack, and the--ignore cross-fetchbrowserify flag. Side benefit: minified browser bundle shrinks from ~13 KB to ~6.8 KB (oxc minifier + no babel runtime helpers). - build: ESM and CJS outputs are now bundled into a single
index.jsper format (previously one file perlib/*.jsmodule). The package'sexportsmap is unchanged, so this is invisible to consumers using documented entry points. - lint: replaced
eslint-config-standard(+ five plugins) withneostandardand migrated to ESLint 9 flat config (eslint.config.mjs). Removed deprecatedtslintanddtslint—test:typescriptnow runstsc --noEmitplustsd. - chore: tightened
.npmignore— published tarball no longer includes the sourcelib/, the build configs (tsdown.config.ts,eslint.config.mjs,tsconfig.json), or the rootindex.jsre-export shim. Drops from 21.3 KB → ~17 KB packed. - docs:
alternateFetchis now documented in the README options block as the supported escape hatch for fetch ponyfills, test mocking, and request interception. v4 migration note added to "Getting started".
Configuration
- Branch creation
- At any time (no schedule defined)
- Automerge
- At any time (no schedule defined)
- If you want to rebase/retry this MR, check this box
This MR has been generated by Mend Renovate CLI.
Edited by Ghost User