🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

metro-source-map

Package Overview
Dependencies
Maintainers
2
Versions
185
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

metro-source-map - npm Package Compare versions

Comparing version
0.84.4
to
0.85.0
+5
-5
package.json
{
"name": "metro-source-map",
"version": "0.84.4",
"version": "0.85.0",
"description": "🚇 Source map generator for Metro.",

@@ -13,3 +13,3 @@ "main": "src/source-map.js",

"type": "git",
"url": "git+https://github.com/facebook/metro.git",
"url": "git+https://github.com/react/metro.git",
"directory": "packages/metro-source-map"

@@ -26,5 +26,5 @@ },

"invariant": "^2.2.4",
"metro-symbolicate": "0.84.4",
"metro-symbolicate": "0.85.0",
"nullthrows": "^1.1.1",
"ob1": "0.84.4",
"ob1": "0.85.0",
"source-map": "^0.5.6",

@@ -40,4 +40,4 @@ "vlq": "^1.0.0"

"engines": {
"node": "^20.19.4 || ^22.13.0 || ^24.3.0 || >= 25.0.0"
"node": "^22.13.0 || ^24.3.0 || >= 26.0.0"
}
}

@@ -9,3 +9,3 @@ /**

* @oncall react_native
* @generated SignedSource<<26fabb3db2058dda9c2a6e56de4728ce>>
* @generated SignedSource<<f06808ae018ab95685d28a94a4c78bd9>>
*

@@ -52,5 +52,3 @@ * This file was translated from Flow by scripts/generateTypeScriptDefinitions.js

toString(): string;
_writeByte(byte: number): void;
_realloc(): void;
}
export default B64Builder;

@@ -9,3 +9,3 @@ /**

* @oncall react_native
* @generated SignedSource<<c1cd2317d27c079743bc7c0e0fa4b379>>
* @generated SignedSource<<920bacbb8042b15a2cd4888e0ca47b8c>>
*

@@ -35,11 +35,3 @@ * This file was translated from Flow by scripts/generateTypeScriptDefinitions.js

export declare class BundleBuilder {
_file: string;
_sections: Array<IndexMapSection>;
_line: number;
_column: number;
_code: string;
_afterMappedContent: boolean;
constructor(file: string);
_pushMapSection(map: MixedSourceMap): void;
_endMappedContent(): void;
append(code: string, map: null | undefined | MixedSourceMap): this;

@@ -46,0 +38,0 @@ getMap(): MixedSourceMap;

@@ -9,3 +9,3 @@ /**

* @oncall react_native
* @generated SignedSource<<22565876862bd94effefabfc09cf8933>>
* @generated SignedSource<<098830f90b1f19dcdd5f55f1c02e3efb>>
*

@@ -28,3 +28,2 @@ * This file was translated from Flow by scripts/generateTypeScriptDefinitions.js

declare class AbstractConsumer implements IConsumer {
_sourceMap: {readonly file?: string};
constructor(sourceMap: {readonly file?: string});

@@ -31,0 +30,0 @@ originalPositionFor(

@@ -9,3 +9,3 @@ /**

* @oncall react_native
* @generated SignedSource<<25b3906d78ba99d86fb91390016332ff>>
* @generated SignedSource<<4e6d6a38a375f6430761b6ae0220e309>>
*

@@ -38,3 +38,2 @@ * This file was translated from Flow by scripts/generateTypeScriptDefinitions.js

static readonly LEAST_UPPER_BOUND: LookupBias;
_rootConsumer: IConsumer;
constructor(sourceMap: MixedSourceMap);

@@ -41,0 +40,0 @@ originalPositionFor(

@@ -9,3 +9,3 @@ /**

* @oncall react_native
* @generated SignedSource<<e2a6c983e649fe98c57dec4cc2e0aa65>>
* @generated SignedSource<<ccb269b70ed92c69d35a355e95baee67>>
*

@@ -26,3 +26,2 @@ * This file was translated from Flow by scripts/generateTypeScriptDefinitions.js

} from './types';
import type {Number0} from 'ob1';

@@ -35,5 +34,2 @@ import AbstractConsumer from './AbstractConsumer';

declare class MappingsConsumer extends AbstractConsumer implements IConsumer {
_sourceMap: BasicSourceMap;
_decodedMappings: null | undefined | ReadonlyArray<Mapping>;
_normalizedSources: null | undefined | ReadonlyArray<string>;
constructor(sourceMap: BasicSourceMap);

@@ -43,7 +39,3 @@ originalPositionFor(

): SourcePosition;
_decodeMappings(): Generator<Mapping, void, void>;
_normalizeAndCacheSources(): ReadonlyArray<string>;
_decodeAndCacheMappings(): ReadonlyArray<Mapping>;
generatedMappings(): Iterable<Mapping>;
_indexOfSource(source: string): null | undefined | Number0;
sourceContentFor(

@@ -50,0 +42,0 @@ source: string,

@@ -9,3 +9,3 @@ /**

* @oncall react_native
* @generated SignedSource<<19e73dfc942bfc06b0a44f0488b16947>>
* @generated SignedSource<<cf526b3b5dc1b8fda7e13f65bd6dd2ba>>
*

@@ -21,3 +21,2 @@ * This file was translated from Flow by scripts/generateTypeScriptDefinitions.js

import type {
GeneratedOffset,
GeneratedPositionLookup,

@@ -35,3 +34,2 @@ IConsumer,

declare class SectionsConsumer extends AbstractConsumer implements IConsumer {
_consumers: ReadonlyArray<[GeneratedOffset, IConsumer]>;
constructor(sourceMap: IndexMap);

@@ -42,5 +40,2 @@ originalPositionFor(

generatedMappings(): Iterable<Mapping>;
_consumerForPosition(
generatedPosition: GeneratedPositionLookup,
): null | undefined | [GeneratedOffset, IConsumer];
sourceContentFor(

@@ -47,0 +42,0 @@ source: string,

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

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