SingleMapping. Extensions are keys in the json map that start with
<3.0.0, and adjust other dependencies.
SingleMapping.files field which provides access to
SourceFiles representing the
"sourcesContent" fields in the source map.
includeSourceContents flag to
SingleMapping.toJson() which indicates whether to include source file contents in the source map.
MappingBundle.spanForhandling of URIs that have a suffix that exactly match a source map in the MappingBundle.
MappingBundle.spanForto accept requests for output files that don't have source maps.
MappingBundleclass that handles extended source map format that supports source maps for multiple output files in a single mapper. Extend
Mapping.spanForAPI to accept a uri parameter that is optional for normal source maps but required for MappingBundle source maps.
mapUrlnamed argument to
parseJson. This argument is used to resolve source URLs for source spans.
SourceFileclasses. Use the corresponding
All methods that take
SourceFiles 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.
sourceRootfield in the SingleMapping class.
targetUrlfield in the SingleMapping class.
Support unmapped areas in source maps.
Increase the readability of location messages.