metro-symbolicate
Advanced tools
Comparing version 0.57.0 to 0.58.0
{ | ||
"name": "metro-symbolicate", | ||
"version": "0.57.0", | ||
"version": "0.58.0", | ||
"description": "A tool to find the source location from JS bundles and stack traces.", | ||
@@ -24,3 +24,3 @@ "license": "MIT", | ||
"invariant": "^2.2.4", | ||
"metro-source-map": "0.57.0", | ||
"metro-source-map": "0.58.0", | ||
"source-map": "^0.5.6", | ||
@@ -27,0 +27,0 @@ "through2": "^2.0.1", |
@@ -28,6 +28,15 @@ /** | ||
type Position = {+line: number, +column: number}; | ||
type FunctionMapping = {+line: number, +column: number, +name: string}; | ||
type SourceNameNormalizer = (string, {+sourceRoot?: ?string}) => string; | ||
type MetadataMap = {[source: string]: ?FBSourceMetadata}; | ||
type Position = { | ||
+line: number, | ||
+column: number, | ||
... | ||
}; | ||
type FunctionMapping = { | ||
+line: number, | ||
+column: number, | ||
+name: string, | ||
... | ||
}; | ||
type SourceNameNormalizer = (string, {+sourceRoot?: ?string, ...}) => string; | ||
type MetadataMap = {[source: string]: ?FBSourceMetadata, ...}; | ||
@@ -75,3 +84,3 @@ /** | ||
source, | ||
}: Position & {+source: ?string}): ?string { | ||
}: Position & {+source: ?string, ...}): ?string { | ||
if (source && line != null && column != null) { | ||
@@ -78,0 +87,0 @@ const mappings = this._getFunctionMappings(source); |
@@ -40,2 +40,3 @@ #!/usr/bin/env node | ||
stdout: stream$Writable, | ||
... | ||
} = process, | ||
@@ -42,0 +43,0 @@ ): Promise<number> { |
@@ -26,2 +26,3 @@ /** | ||
localId: ?number, | ||
... | ||
}; | ||
@@ -35,2 +36,3 @@ | ||
+outputColumnStart?: number, | ||
... | ||
}; | ||
@@ -48,2 +50,3 @@ | ||
+callstack: $ReadOnlyArray<HermesMinidumpStackFrame | NativeCodeStackFrame>, | ||
... | ||
}; | ||
@@ -89,2 +92,3 @@ | ||
+outputColumnStart: number, | ||
... | ||
}; | ||
@@ -232,3 +236,10 @@ | ||
traceFile: string, | ||
{stdout, stderr}: {stdout: stream$Writable, stderr: stream$Writable}, | ||
{ | ||
stdout, | ||
stderr, | ||
}: { | ||
stdout: stream$Writable, | ||
stderr: stream$Writable, | ||
... | ||
}, | ||
): void { | ||
@@ -387,2 +398,3 @@ const contentJson: ChromeTrace = JSON.parse( | ||
|}, | ||
..., | ||
}; | ||
@@ -713,3 +725,10 @@ +_hasLegacySegments: boolean; | ||
traceFile: string, | ||
{stdout, stderr}: {stdout: stream$Writable, stderr: stream$Writable}, | ||
{ | ||
stdout, | ||
stderr, | ||
}: { | ||
stdout: stream$Writable, | ||
stderr: stream$Writable, | ||
... | ||
}, | ||
context: SymbolicationContext<ModuleIdsT>, | ||
@@ -716,0 +735,0 @@ ): void { |
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
327167
2757
+ Addedmetro-source-map@0.58.0(transitive)
+ Addedob1@0.58.0(transitive)
- Removedmetro-source-map@0.57.0(transitive)
- Removedob1@0.57.0(transitive)
Updatedmetro-source-map@0.58.0