Skip to content

Range mappings: encoding/decoding support#45

Merged
jridgewell merged 6 commits intojridgewell:mainfrom
takikawa:range-mappings-decode
Feb 28, 2026
Merged

Range mappings: encoding/decoding support#45
jridgewell merged 6 commits intojridgewell:mainfrom
takikawa:range-mappings-decode

Conversation

@takikawa
Copy link
Copy Markdown
Contributor

I'm currently looking into adding range mappings support for these packages. This is an initial PR that just adds encoding/decoding handling. Similar to the scopes code, I've added additional range mappings functions in a separate file rather than in the core code.

The first commit adds code for unsigned VLQ. I think this is needed for updated scopes support anyway so maybe you've written a version of this already, in which case I'd be happy to adapt the PR to that.

I'm also working on support in trace-mapping, etc. that will build on this PR.

@jridgewell jridgewell force-pushed the range-mappings-decode branch from f7c49f2 to 01a4f69 Compare February 28, 2026 23:01
@jridgewell jridgewell merged commit 020f5fa into jridgewell:main Feb 28, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants