Changelog
3.0.1 (2026-04-07)
Bug Fixes
- handle file specifiers from turbopacked packages better (#246) (04539fb)
3.0.0 (2026-01-30)
BREAKING CHANGES
- drop support for Node.js < v18 (#230)
Miscellaneous Chores
2.0.6 (2026-01-27)
Bug Fixes
- ensure the callback 'name' arg is the module name when matching the module main file, even when 'internals: true' option is used (#241) (ad9d02c)
- fix a couple issues with duplicate entries and specifier (submodule) matching (#237) (fdc0b3d)
- properly hook builtin modules that require the 'node:' prefix (#240) (de84589)
- properly hook builtin modules that require the 'node:' prefix (#240) (9d916a5)
2.0.5 (2026-01-20)
Bug Fixes
- handle lazy initialization and circular dependencies (#229) (d1421dc)
- entrypoint can be treated as CommonJS when loader chains add query params to file URLs (#223) (60ab14a)
2.0.4 (2026-01-14)
Bug Fixes
- do not instrument the top level module (#225) (b563b35)
2.0.3 (2026-01-13)
Bug Fixes
- add missing JSDoc type information (40c1009)
- add missing name for fast builtin lookup (40c1009)
- do not crash on missing setters (#223) (fe44778)
- handle undefined exports properly (40c1009)
- multiple minor issues (#221) (40c1009)
- remove small memory leak (40c1009)
- improve perf by calculating less stack frames and fast paths (#224) (09ae8bf)
2.0.2 (2026-01-11)
Bug Fixes
2.0.1 (2025-12-18)
Bug Fixes
- properly hook submodule package exports (#215) (a20f47a)
2.0.0 (2025-10-14)
BREAKING CHANGES
Converting all modules running in the loader thread to ESM should not be a
breaking change for most users since it primarily affects internal implementation
details. However, if you were referencing internal CJS files like hook.js this will no longer work.
Features
- convert all modules running in loader thread to ESM (#210) (da7c7a6)
1.15.0 (2025-10-09)
Features
1.14.4 (2025-09-25)
Bug Fixes
1.14.3 (2025-09-24)
Bug Fixes
1.14.2 (2025-06-13)
Bug Fixes
- do not replace dollar sign in shim variable name (#200) (20bf0e5)
1.14.1 (2025-06-12)
Bug Fixes
1.14.0 (2025-05-24)
Features
- Optionally hook internal paths like
require-in-the-middle (#194) (976d032)
1.13.2 (2025-05-12)
Bug Fixes
- Don't attempt to wrap TypeScript modules (#191) (6deb87e)
1.13.1 (2025-02-28)
Bug Fixes
1.13.0 (2025-02-06)
Features
1.12.0 (2024-12-13)
Features
1.11.3 (2024-12-04)
Bug Fixes
- Correct type definition for waitForAllMessagesAcknowledged (#160) (353d535)
1.11.2 (2024-09-30)
Bug Fixes
- do nothing if target does not exist in getters map (#155) (5f6be49)
1.11.1 (2024-09-26)
Bug Fixes
1.11.0 (2024-07-29)
Features
- Optionally only wrap modules hooked in
--import (#146) (71c8d7b)
Bug Fixes
node: prefixed build-in modules with include/exclude (#149) (736a944)
1.10.0 (2024-07-22)
Features
- Allow regex for
include and exclude options (#148) (697b0d2)
Bug Fixes
- Use correct
format when resolving exports from relative paths (#145) (632802f)
1.9.1 (2024-07-15)
Bug Fixes
- Don't wrap native modules (#142) (f3278a3)
- Use correct
format when resolving exports from sub-modules (#140) (1db08ef)
1.9.0 (2024-07-08)
Features
- Allow passing of
include or exclude list via module.register() (#124) (381f48c)
Bug Fixes
- CJS
require('.') resolution (#108) (29c77b5)
- Include source url for parsing failures (#109) (49d69ba)
- Use
process.emitWarning to log wrapping errors (#114) (a3778ac)