Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: jantimon/html-webpack-plugin
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v5.6.6
Choose a base ref
...
head repository: jantimon/html-webpack-plugin
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v5.6.7
Choose a head ref
  • 3 commits
  • 6 files changed
  • 3 contributors

Commits on Apr 12, 2026

  1. Configuration menu
    Copy the full SHA
    0d1ff98 View commit details
    Browse the repository at this point in the history

Commits on Apr 17, 2026

  1. fix: provide module/exports in VM sandbox for Node.js 25+ compatibili…

    …ty (#1889)
    
    Templates whose child compilation output is a CommonJS module (for
    example Rspack's HtmlWebpackPlugin child compilation, which wraps the
    evaluated template in `module.exports = ...`) were failing at evaluation
    time with `ReferenceError: module is not defined` under Node.js 25+.
    
    In 5.6.5 the VM context was switched away from a `...global` spread
    because spreading `global` on Node 25 throws once `localStorage` is
    touched without `--localstorage-file`. The replacement clone only
    exposes the standard globals plus `require`, so any CommonJS-wrapped
    source that assigned to `module.exports` hit the ReferenceError.
    
    Provide a throwaway `module = { exports: {} }` pair (plus `exports`
    aliasing it) in the sandbox so CommonJS-style outputs can evaluate
    without assuming the host Node version populates them.
    
    Refs: PR #1880, facebook/docusaurus#11545
    Marukome0743 authored Apr 17, 2026
    Configuration menu
    Copy the full SHA
    c862830 View commit details
    Browse the repository at this point in the history
  2. chore(release): 5.6.7

    alexander-akait committed Apr 17, 2026
    Configuration menu
    Copy the full SHA
    fdef1b4 View commit details
    Browse the repository at this point in the history
Loading