Hi team,
I’m seeing a Node 26 deprecation warning during dev startup.
Warning
(node:81700) [DEP0205] DeprecationWarning: module.register() is deprecated. Use module.registerHooks() instead.
(Use node --trace-deprecation ... to show where the warning was created)
Environment
- Node: 26.0.0
- vp: 0.1.11
- vite-plus: 0.1.21
Reproduction
- Use Node 26
- Run
vp run dev
- Check startup logs
Suspected source
@voidzero-dev/vite-plus-core module runner fallback in createImportMetaResolver appears to still call module.register(...).
Expected behavior
No DEP0205 warning on Node 26 startup (prefer module.registerHooks() path).
Notes
- This is non-blocking right now.
- Dev server still starts normally.
Hi team,
I’m seeing a Node 26 deprecation warning during dev startup.
Warning
Environment
Reproduction
vp run devSuspected source
@voidzero-dev/vite-plus-coremodule runner fallback increateImportMetaResolverappears to still callmodule.register(...).Expected behavior
No DEP0205 warning on Node 26 startup (prefer
module.registerHooks()path).Notes