Skip to content

fix(deps): update dependency i18next-http-backend to v4#852

Open
ZxBot wants to merge 1 commit into
develfrom
renovate/major-4-i18next
Open

fix(deps): update dependency i18next-http-backend to v4#852
ZxBot wants to merge 1 commit into
develfrom
renovate/major-4-i18next

Conversation

@ZxBot

@ZxBot ZxBot commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
i18next-http-backend 3.0.64.0.0 age confidence

Release Notes

i18next/i18next-http-backend (i18next-http-backend)

v4.0.0

Compare Source

  • BREAKING: drop cross-fetch dependency. i18next-http-backend now requires a host-provided fetch. This is available in Node ≥ 18 (stable since Node 21), all modern browsers, Deno, and Bun. For runtimes without native fetch, install a ponyfill yourself and inject it via options.alternateFetch, or stay on v3.x.
  • BREAKING: minimum Node version is now 18 (engines.node = ">=18").
  • chore: simplified environment detection in lib/request.js — uses globalThis (with global / window fallbacks for legacy embedded runtimes) instead of separate global.* / window.* branches per API. XHR / ActiveXObject are still picked up if the host provides them, but no longer polyfilled.
  • chore: declared "sideEffects": false for 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, the fixcjs rewrite hack, and the --ignore cross-fetch browserify 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.js per format (previously one file per lib/*.js module). The package's exports map is unchanged, so this is invisible to consumers using documented entry points.
  • lint: replaced eslint-config-standard (+ five plugins) with neostandard and migrated to ESLint 9 flat config (eslint.config.mjs). Removed deprecated tslint and dtslinttest:typescript now runs tsc --noEmit plus tsd.
  • chore: tightened .npmignore — published tarball no longer includes the source lib/, the build configs (tsdown.config.ts, eslint.config.mjs, tsconfig.json), or the root index.js re-export shim. Drops from 21.3 KB → ~17 KB packed.
  • docs: alternateFetch is 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

📅 Schedule: (in timezone Europe/Rome)

  • Branch creation
    • "after 9am and before 6pm every weekday except after 12pm and before 2pm"
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate.

@ZxBot ZxBot added dependencies Pull requests that update a dependency file renovate labels Jun 16, 2026
@ZxBot ZxBot force-pushed the renovate/major-4-i18next branch 4 times, most recently from 0101f4c to ea0b96a Compare June 19, 2026 01:00
@ZxBot ZxBot changed the title fix(deps): update i18next to v4 fix(deps): update i18next (major) Jun 19, 2026
@ZxBot ZxBot force-pushed the renovate/major-4-i18next branch from ea0b96a to 8be59fa Compare June 23, 2026 01:48
@ZxBot ZxBot changed the title fix(deps): update i18next (major) fix(deps): update dependency i18next-http-backend to v4 Jun 23, 2026
@ZxBot ZxBot force-pushed the renovate/major-4-i18next branch from 8be59fa to d484304 Compare June 25, 2026 03:32
@ZxBot ZxBot force-pushed the renovate/major-4-i18next branch from d484304 to 59d26b6 Compare June 26, 2026 01:05
@sonarqube-zextras

Copy link
Copy Markdown

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

Labels

dependencies Pull requests that update a dependency file renovate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant