Change8

v5.105.1

📦 webpackView on GitHub →
🐛 3 fixes🔧 2 symbols

Summary

This patch release focuses on improving compatibility and performance, notably fixing Windows filesystem issues in VirtualUrlPlugin and reverting a change related to `require("node:...")` compatibility.

🐛 Bug Fixes

  • Fixed VirtualUrlPlugin Windows compatibility by sanitizing cache keys and filenames. Cache keys now use `toSafePath` to replace colons (:) with double underscores (__) and sanitize other invalid characters.
  • Reverted part of the createRequire generation behavior for `require("node:...")` to maintain compatibility with exports of those modules, such as `const EventEmitter = require("node:events");`.
  • Skipped guard collection when exports-presence mode is disabled to improve parsing performance.

Affected Symbols