evanw / evanw/node-source-map-support

supportRelativeURL should handle source as a url

Abierto
#218 1 comentario 1 reacción 0 asignados Ver en GitHub
Lenguaje dominante
JavaScript
Estrellas
2.2k
Forks
223
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
javascript, node.js
Área
devtools
Tipo de issue
Error
Dificultad
2/5
Tiempo estimado
1-3 horas
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
45/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.