evanw / evanw/node-source-map-support
supportRelativeURL should handle source as a url
Open
- Dominant language
- JavaScript
- Stars
- 2.2k
- Forks
- 223
- PR merge metrics
- No merged PRs in 30d
Description
Despite the name of the argument, `supportRelativeURL`'s second argument, `url`, will be mangled if it is a fully-qualified URL, leading to error paths like `/Users/ckknight/Code/myproject/https:/github.com/ckknight/myproject/blob/...` instead of the expected URL.
This can occur when `"sources"` within a `.map` file contains references to URLs instead of relative paths.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.