Skip to content

chore(deps): update rust crate oxc_sourcemap to v10 - #29238

Merged
renovate[bot] merged 3 commits into
mainfrom
renovate/oxc_sourcemap-10.x
Nov 10, 2026
Merged

renovate[bot] merged 3 commits into
mainfrom
renovate/oxc_sourcemap-10.x

Conversation

@renovate

@renovate renovate Bot commented Nov 10, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
oxc_sourcemap workspace.dependencies major 9.0.0 → 10.0.0

Release Notes

oxc-project/oxc-sourcemap (oxc_sourcemap)

v10.0.0

Compare Source

Added
  • add LookupCursor for sequential token lookups (#​501)
  • add Token::unmapped (#​487)
Fixed
  • include benchmark fixtures in published crate (#​510)
  • (decode) reject overflowing mapping values (#​512)
  • [breaking] support null source names (#​504)
  • (concat) retain mapped coordinates across unmapped segments (#​498)
Other
  • align owned iterators and clarify ownership (#​511)
  • (deps) remove unmaintained pin-utils (#​508)
  • (bench) stabilize CodSpeed measurements (#​507)
  • (decode) borrow nested JSON strings (#​505)
  • (encode) optimize single line breaks (#​506)
  • (concat) search only for missing chunk baseline IDs (#​500)

Configuration

📅 Schedule: (in timezone Asia/Shanghai)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot enabled auto-merge (squash) November 10, 2026 16:24
@codspeed

codspeed Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

Merging this PR will not alter performance

✅ 87 untouched benchmarks
⏩ 19 skipped benchmarks1


Comparing renovate/oxc_sourcemap-10.x (193a2da) with main (5d669bb)

Open in CodSpeed

Footnotes

  1. 19 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports. ↩

@renovate
renovate Bot force-pushed the renovate/oxc_sourcemap-10.x branch from f86eece to 7ffba11 Compare November 10, 2026 17:02
@renovate
renovate Bot force-pushed the renovate/oxc_sourcemap-10.x branch from 7ffba11 to 9d86063 Compare November 10, 2026 17:04
@camc314
camc314 requested a review from Dunqing as a code owner November 10, 2026 17:08
@github-actions github-actions Bot added the A-codegen Area - JS/TS code printing and source maps, oxc_codegen label Nov 10, 2026
@camc314
camc314 requested a review from Boshen as a code owner November 10, 2026 17:13
@github-actions github-actions Bot added A-minifier Area - Minification, compression and name mangling, oxc_minifier / oxc_mangler A-transformer Area - JS/TS transforms and downleveling, oxc_transformer A-react-compiler Area - React Compiler transforms and lint rules, oxc_react_compiler labels Nov 10, 2026
@renovate

renovate Bot commented Nov 10, 2026

Copy link
Copy Markdown
Contributor Author

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@renovate
renovate Bot merged commit ff9db72 into main Nov 10, 2026
40 checks passed
@renovate
renovate Bot deleted the renovate/oxc_sourcemap-10.x branch November 10, 2026 17:17
camc314 added a commit to camc314/rolldown that referenced this pull request Nov 16, 2026
Oxc now returns oxc_sourcemap v10 maps. Upgrade Rolldown's direct map dependency to the same version so codegen maps can cross the compiler, bundler, binding, and allocation-tracker boundaries without conversion.

Preserve null source slots and their indices through collapse, module-relative resolution, output path callbacks, and hash substitution. Retain input-name inference for single-source transform maps, including Buble's unnamed input. Add Rust and Node coverage for nullable sources and adapt the source-map consumer fixture to use serialized input.

Regenerate the NAPI declarations for nullable source names and accept the native map shape in TypeScript conversion. Runtime helpers, JavaScript output snapshots, and unrelated package versions are unchanged.

Validation: workspace compile, Rust tests/Clippy/format/all-features checks, Node and watch suites, Rollup compatibility, generators, Node/repository lint, and esbuild diff checks. The parent Oxc revision compiles on this same Rolldown base; this revision fails before the map dependency migration.

First-bad-Oxc-Commit: ff9db72ba8a5b984e1019ded29c0a5e6e3254cef
Oxc-Revision: ff9db72ba8a5b984e1019ded29c0a5e6e3254cef
camc314 added a commit to camc314/rolldown that referenced this pull request Nov 16, 2026
Oxc now returns oxc_sourcemap v10 maps. Upgrade Rolldown's direct map dependency to the same version so codegen maps can cross the compiler, bundler, binding, and allocation-tracker boundaries without conversion.

Preserve null source slots and their indices through collapse, module-relative resolution, output path callbacks, and hash substitution. Retain input-name inference for single-source transform maps, including Buble's unnamed input. Add Rust and Node coverage for nullable sources and adapt the source-map consumer fixture to use serialized input.

Regenerate the NAPI declarations for nullable source names and accept the native map shape in TypeScript conversion. Runtime helpers, JavaScript output snapshots, and unrelated package versions are unchanged.

Validation: workspace compile, Rust tests/Clippy/format/all-features checks, Node and watch suites, Rollup compatibility, generators, Node/repository lint, and esbuild diff checks. The parent Oxc revision compiles on this same Rolldown base; this revision fails before the map dependency migration.

First-bad-Oxc-Commit: ff9db72ba8a5b984e1019ded29c0a5e6e3254cef
Oxc-Revision: ff9db72ba8a5b984e1019ded29c0a5e6e3254cef
hyfdev pushed a commit to rolldown/rolldown that referenced this pull request Nov 17, 2026
## Summary

- Upgrade Oxc Rust dependencies to 0.159.0.
- Upgrade @oxc-project/runtime, @oxc-project/types, oxc-parser, and oxc-transform to 0.159.0.

## Root causes

### oxc-project/oxc#29238

Oxc adopts sourcemap v10, whose source entries may be null. Preserve null slots through map composition, path resolution, placeholder replacement, and the Rust/TypeScript boundary. Skip callbacks for unnamed entries while retaining their original indices, and keep single-source transform inference. Regenerate binding types and add execution coverage for nullable sources.

### oxc-project/oxc#29305

Oxc inlines single-use member callees as indirect calls, preserving the unbound receiver. Regenerate both wrapping variants of namespace_pure_reexport_barrel; their execution assertions retain the same values.

### oxc-project/oxc#29436

Oxc prefers hexadecimal integers when their spelling ties decimal. Regenerate the enum, advanced-chunk module-size, keep-names, and JSON large-integer expectations. Values and byte lengths remain unchanged, including chunk-size boundaries and JSON.parse precision loss.

### oxc-project/oxc#28739

Oxc separates catch parameters from the enclosing var bindings they redeclare. Scan implicit module vars, coordinate printed names without merging their values, and use normal wrapped-ESM declaration hoisting. Include same-named Annex B block functions in each naming group. Update the wrapped-ESM snapshot and add execution fixtures for imported-name conflicts, nested catches, loop/destructuring declarations, and sloppy CommonJS block functions.

### oxc-project/oxc#29607

Oxc removes unused labels. Regenerate minify_nested_labels_no_bundle: nested labels and blocks disappear while all 21 newline calls execute in the same order.

### oxc-project/oxc#28917

Oxc inlines single-use function declarations into assignments. Regenerate the minified CommonJS mixed_reexport_dynamic_entry and mixed_reexport_records snapshots: exported readers become function expressions, preserving values and evaluation order.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-codegen Area - JS/TS code printing and source maps, oxc_codegen A-minifier Area - Minification, compression and name mangling, oxc_minifier / oxc_mangler A-react-compiler Area - React Compiler transforms and lint rules, oxc_react_compiler A-transformer Area - JS/TS transforms and downleveling, oxc_transformer

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant