mirror of
https://github.com/hanzoai/swc.git
synced 2026-10-30 19:42:53 +00:00
## Summary - add ECMA-426 top-level `scopes` field support to eager/lazy sourcemap decode/encode - preserve `scopes` for plain read/write round-trip - clear `scopes` in mutating paths where metadata can become stale (`remove_names`, `rewrite_with_mapping`, `adjust_mappings`, lazy `adjust_mappings`) - add tests for eager/lazy round-trip and invalidation behavior ## Verification - git submodule update --init --recursive - cargo fmt --all - cargo clippy --all --all-targets -- -D warnings - cargo test -p swc_sourcemap