Skip to content

Conversation

szuend
Copy link
Collaborator

@szuend szuend commented Mar 28, 2025

This PR applies the changes to "decoding state" as discussed in the meeting of 2025-03-27:

  • original_scope_start and original_scope_end column is relative if the previous item was on the same line.
  • We now reset only line/column across source files. "name", "kind" and "variables" stay relative.
  • generated_range_callsite now uses absolute unsigned values, as we don't know if there is an actual benefit to encoding callsites relative.

Once this PR and #187 have landed, I'll update https://jsr.io/@chrome-devtools/source-map-scopes-codec to reflect the changes.

@szuend szuend requested review from hbenl and jridgewell March 28, 2025 07:07
@szuend szuend merged commit 6a2e12a into tc39:main Mar 31, 2025
3 checks passed
@szuend szuend deleted the update-relative-encoding branch March 31, 2025 12:18
szuend added a commit to ChromeDevTools/source-map-scopes-codec that referenced this pull request Apr 1, 2025
szuend added a commit to ChromeDevTools/source-map-scopes-codec that referenced this pull request Apr 1, 2025
szuend added a commit to ChromeDevTools/source-map-scopes-codec that referenced this pull request Apr 1, 2025
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