You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add ECMA-426 scopes support and publish WASM packages
- New srcmap-scopes crate: full encode/decode for the ECMA-426 scopes
proposal (original scope trees, generated ranges, bindings, call sites)
- Unsigned VLQ primitives added to srcmap-codec
- Integration with srcmap-sourcemap (scopes field parsed automatically)
- Integration with srcmap-generator (set_scopes + scopes in JSON output)
- Published @srcmap/generator-wasm and @srcmap/remapping-wasm to npm
- Updated release workflow for new crates and WASM packages
- Fixed repository.url across all package.json files
- Added pkg/ to .gitignore for wasm-pack build output
First Rust implementation of the ECMA-426 scopes proposal (Stage 3). Enables debuggers to reconstruct original scope trees, variable bindings, and inlined function call sites.
160
+
161
+
-[x] New `srcmap-scopes` crate with full encode/decode
162
+
-[x] Tag-based VLQ encoding: B (scope start), C (scope end), D (variables), E (range start), F (range end), G (bindings), H (sub-range bindings), I (call site)
163
+
-[x] Unsigned VLQ primitives added to `srcmap-codec`
164
+
-[x] Original scope trees with nesting, names, kinds, stack frame flags, and variable lists
165
+
-[x] Generated ranges with nesting, definition references, bindings, sub-range bindings, and call sites
166
+
-[x] Delta/relative encoding for positions, names, kinds, variables, and definitions
167
+
-[x] Integration with `srcmap-sourcemap` parser (`scopes` field parsed automatically)
168
+
-[x] Integration with `srcmap-generator` (`set_scopes()` + `scopes` field in JSON output)
0 commit comments