@jridgewell/trace-mapping
Advanced tools
Comparing version 0.3.12 to 0.3.13
@@ -366,9 +366,4 @@ (function (global, factory) { | ||
this.sourcesContent = sourcesContent; | ||
if (sourceRoot || mapUrl) { | ||
const from = resolve(sourceRoot || '', stripFilename(mapUrl)); | ||
this.resolvedSources = sources.map((s) => resolve(s || '', from)); | ||
} | ||
else { | ||
this.resolvedSources = sources.map((s) => s || ''); | ||
} | ||
const from = resolve(sourceRoot || '', stripFilename(mapUrl)); | ||
this.resolvedSources = sources.map((s) => resolve(s || '', from)); | ||
const { mappings } = parsed; | ||
@@ -375,0 +370,0 @@ if (typeof mappings === 'string') { |
{ | ||
"name": "@jridgewell/trace-mapping", | ||
"version": "0.3.12", | ||
"version": "0.3.13", | ||
"description": "Trace the original position through a source map", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
99320
1257