@jridgewell/source-map
Advanced tools
Comparing version 0.3.0 to 0.3.1
@@ -901,3 +901,8 @@ (function (global, factory) { | ||
constructor(map, mapUrl) { | ||
this._map = new AnyMap(map, mapUrl); | ||
const trace = (this._map = new AnyMap(map, mapUrl)); | ||
this.file = trace.file; | ||
this.names = trace.names; | ||
this.sourceRoot = trace.sourceRoot; | ||
this.sources = trace.resolvedSources; | ||
this.sourcesContent = trace.sourcesContent; | ||
} | ||
@@ -904,0 +909,0 @@ originalPositionFor(needle) { |
@@ -7,2 +7,7 @@ import { AnyMap, originalPositionFor } from '@jridgewell/trace-mapping'; | ||
private _map; | ||
file: TraceMap['file']; | ||
names: TraceMap['names']; | ||
sourceRoot: TraceMap['sourceRoot']; | ||
sources: TraceMap['sources']; | ||
sourcesContent: TraceMap['sourcesContent']; | ||
constructor(map: ConstructorParameters<typeof AnyMap>[0], mapUrl: Parameters<typeof AnyMap>[1]); | ||
@@ -9,0 +14,0 @@ originalPositionFor(needle: Parameters<typeof originalPositionFor>[1]): ReturnType<typeof originalPositionFor>; |
{ | ||
"name": "@jridgewell/source-map", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"description": "Packages @jridgewell/trace-mapping and @jridgewell/gen-mapping into the familiar source-map API", | ||
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
231010
1861