Packages

@rolldown/debug

1.3.3 · 18 Nov 2026MIT312.2k / weekRepositoryHomepagenpmAtom feed

Your version

1.3.2

11 Nov 2026Where it was published

1.3.3 is the newest release of 1.x.

In short

2 new3 faster22 fixed21 internal

Release note

Features

  • magic-string: Add a hires constructor option

  • cjs: Provide __dirname and __filename to CommonJS modules in Node ESM output

Bug Fixes

  • strict-execution-order: Place re-export targets that no consumer selects

  • sourcemap: Use the map a hook returns with the native MagicString

  • Removed

    Drop no-op init calls from re-exports and imports

  • Detect __esModule set with Object.defineProperty(module.exports, ...)

  • Hoist var in top-level catch blocks of wrapped modules

  • Detect top-level await in top-level catch blocks

  • sourcemap: Keep columns when a hook returns the native MagicString

  • Make a module without module syntax CommonJS when it is both imported and required

  • Drop references in dead branches inside live functions before chunk linking

  • Make cross-chunk export names independent of module load order

  • Don't treat new URL() references as execution dependencies

  • Stop the options passed to hooks from keeping a build's plugins alive

  • strict-execution-order: Run the declaring module of an inlined constant read through a kept barrel

  • Hoist var in top-level for-in and for-of heads of wrapped modules

  • rollup-tests: Fail the test case on assertion error in renderError

  • Preserve rendering errors when renderError fails

  • Count emitted chunks when rendering relative-path externals

  • Avoid panic on { b: [y = 1] } destructuring in a wrapped module

  • treeshaking: tree-shake statements with instanceof that a constant makes pure

  • rolldown: Fail the build instead of hanging when a module task panics

  • rolldown: Don't panic in module tasks after the build is dropped

  • browser: Default cwd to /

Performance

  • Trace sequential sourcemap tokens with a bounded cursor

  • Use raw tokens when collapsing sourcemaps

  • magic-string: Free the index table of a MagicString returned from transform

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.