evanw / evanw/node-source-map-support
supportRelativeURL should handle source as a url
- Lingua principale
- JavaScript
- Stelle
- 2.2k
- Fork
- 223
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
Locate the supportRelativeURL entry point and inspect how its second argument is handled when a source-map "sources" entry is a fully-qualified URL. Reproduce the malformed path and verify that URL sources remain intact while relative paths continue to work.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- javascript, node.js
- Ambito
- devtools
- Tipo di issue
- Bug
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 45/100