Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

metro-symbolicate

Package Overview
Dependencies
Maintainers
2
Versions
88
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

metro-symbolicate - npm Package Compare versions

Comparing version 0.57.0 to 0.58.0

4

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc