names
field.SingleMapping
. Extensions are keys in the json map that start with "x_"
.<3.0.0
, and adjust other dependencies.Add a SingleMapping.files
field which provides access to SourceFile
s representing the "sourcesContent"
fields in the source map.
Add an includeSourceContents
flag to SingleMapping.toJson()
which indicates whether to include source file contents in the source map.
highlight
in SourceMapFileSpan
.^1.3.0
of source_span
.addMapping
and containsMapping
members to MappingBundle
.MappingBundle.spanFor
handling of URIs that have a suffix that exactly match a source map in the MappingBundle.MappingBundle.spanFor
to accept requests for output files that don't have source maps.MappingBundle
class that handles extended source map format that supports source maps for multiple output files in a single mapper. Extend Mapping.spanFor
API to accept a uri parameter that is optional for normal source maps but required for MappingBundle source maps.mapUrl
named argument to parse
and parseJson
. This argument is used to resolve source URLs for source spans.source_span
1.1.1)Span
, Location
and SourceFile
classes. Use the corresponding source_span
classes instead.Update SpanFormatException
with source
and offset
.
All methods that take Span
s, Location
s, and SourceFile
s as inputs now also accept the corresponding source_span
classes as well. Using the old classes is now deprecated and will be unsupported in version 0.10.0.
sourceRoot
field in the SingleMapping class.targetUrl
field in the SingleMapping class.FixedSpan.getLocationMessage
.FixedSpan.getLocationMessage
and SpanException.toString
.SpanException
and SpanFormatException
classes.Support unmapped areas in source maps.
Increase the readability of location messages.