Repository navigation
chore(deps): update rust crate oxc_sourcemap to v10 - #29238
Merged
Merged
Conversation
Contributor
Merging this PR will not alter performance
Comparing Footnotes
|
renovate
Bot
force-pushed
the
renovate/oxc_sourcemap-10.x
branch
from
November 10, 2026 17:02
f86eece to
7ffba11
Compare
renovate
Bot
force-pushed
the
renovate/oxc_sourcemap-10.x
branch
from
November 10, 2026 17:04
7ffba11 to
9d86063
Compare
Assisted-by: OpenAI Codex
Assisted-by: OpenAI Codex
Contributor
Author
Edited/Blocked NotificationRenovate 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. |
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
9.0.0→10.0.0Release Notes
oxc-project/oxc-sourcemap (oxc_sourcemap)
v10.0.0Compare Source
Added
LookupCursorfor sequential token lookups (#501)Token::unmapped(#487)Fixed
Other
Configuration
📅 Schedule: (in timezone Asia/Shanghai)
🚦 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.
This PR was generated by Mend Renovate. View the repository job log.