Skip to content

feat: map URL field source ranges - #73

Merged
luojiyin1987 merged 4 commits into
masterfrom
feat/source-map-url-fields
Jul 18, 2026
Merged

feat: map URL field source ranges#73
luojiyin1987 merged 4 commits into
masterfrom
feat/source-map-url-fields

Conversation

@luojiyin1987

@luojiyin1987 luojiyin1987 commented Jul 18, 2026

Copy link
Copy Markdown
Contributor

Closes #68.

What changed

  • Add getFieldSourceRange(node, 'url', ...) for link.url and definition.url.
  • Map direct and angle-bracket destinations while excluding wrappers and definition titles.
  • Preserve atomic source ranges for URL escapes and character references.

Validation

  • pnpm run lint
  • pnpm run build
  • pnpm run test
  • Source-map Core compatibility workflow against the packed candidate: passed

@luojiyin1987
luojiyin1987 marked this pull request as ready for review July 18, 2026 15:48
@luojiyin1987
luojiyin1987 merged commit 44b86a0 into master Jul 18, 2026
14 checks 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.

source map: map link and definition URL fields

1 participant