Packages

webpack

5.112.2 · 23 Oct 2026MIT76.9M / weekRepositorynpmAtom feed

Upgrading webpack From 5.107.1 to 5.107.2

1 release in betweenevery note read

Other targets from 5.107.1Newest 5.x5.113.0Latest5.112.2
  1. 5.107.1yours
  2. 5.107.2target
0
changes to make
0
advisories fixed
0
new
11
fixes

Release by release

  1. 5.107.2

    25 May 202611 fixes
    • Fixed

      Reduce per-file overhead in ContextModuleFactory.resolveDependencies by batching alternativeRequests hook calls. Previously the hook was invoked once per file in the context (with a single-item array), paying per-call overhead (closure allocation, resolverFactory.get, intermediate arrays in RequireContextPlugin) for every file. The hook is now invoked once per directory with all matched files in one batch — RequireContextPlugin's tap already iterates the items array, so the output is unchanged. Steady-state rebuild on a 4000-file require.context drops a further ~15 ms (after the watch-mode purge fix in the same release).

    • Fixed

      Include each external info's runtimeCondition in ConcatenatedModule#updateHash so changes to a concatenated external's runtime condition invalidate persistent caches instead of slipping through with the module id alone.

    • Fixed

      Fix HTML [contenthash] for referenced asset and inline-style URL changes.

    • Fixed

      Resolve chunk-hash placeholders in chunk URLs embedded into extracted HTML.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.