Skip to content

v0.8.2

Choose a tag to compare

@github-actions github-actions released this 06 Oct 05:05
· 95 commits to main since this release

Behavior changes

  • Review actions can change for the same inputs: CommonJS modules whose initial run only builds their exports (module.exports = {...}, exports.a = b) can now get defer-review instead of split-review. Calls, Object.defineProperty(exports, ...) and writes to a minified exports parameter still count as effects.
  • Bundler wrappers that start inside the previous module's last mapping, such as Turbopack module factories and Vite 8 (Rolldown) CommonJS wrappers, now count as module evaluation instead of a function of the previous module. Modules whose initial run was only top-level code can move from split-review to defer-review, with initialTopLevelOnly changing from false to true.
  • The defer-review explanation says "property writes other than CommonJS exports".
  • Byte attribution and report totals are unchanged. initialObservedBytes still includes bytes that a mapping claims past its module's wrapper.
  • esbuild maps its __commonJS wrapper to the module itself, so CommonJS modules bundled by esbuild keep split-review.

What's Changed

  • Let CommonJS modules reach defer-review by @yceffort in #49

Full Changelog: v0.8.1...v0.8.2