metro-source-map 0.80.0 → 0.80.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "metro-source-map",
|
|
3
|
-
"version": "0.80.
|
|
3
|
+
"version": "0.80.2",
|
|
4
4
|
"description": "🚇 Source map generator for Metro.",
|
|
5
5
|
"main": "src/source-map.js",
|
|
6
6
|
"repository": {
|
|
@@ -15,9 +15,9 @@
|
|
|
15
15
|
"@babel/traverse": "^7.20.0",
|
|
16
16
|
"@babel/types": "^7.20.0",
|
|
17
17
|
"invariant": "^2.2.4",
|
|
18
|
-
"metro-symbolicate": "0.80.
|
|
18
|
+
"metro-symbolicate": "0.80.2",
|
|
19
19
|
"nullthrows": "^1.1.1",
|
|
20
|
-
"ob1": "0.80.
|
|
20
|
+
"ob1": "0.80.2",
|
|
21
21
|
"source-map": "^0.5.6",
|
|
22
22
|
"vlq": "^1.0.0"
|
|
23
23
|
},
|
|
@@ -302,6 +302,8 @@ function getNameForPath(path) {
|
|
|
302
302
|
}
|
|
303
303
|
return name;
|
|
304
304
|
}
|
|
305
|
+
|
|
306
|
+
// $FlowFixMe[deprecated-type]
|
|
305
307
|
function isAnyCallExpression(node) {
|
|
306
308
|
return (
|
|
307
309
|
node.type === "CallExpression" ||
|
|
@@ -309,6 +311,8 @@ function isAnyCallExpression(node) {
|
|
|
309
311
|
node.type === "OptionalCallExpression"
|
|
310
312
|
);
|
|
311
313
|
}
|
|
314
|
+
|
|
315
|
+
// $FlowFixMe[deprecated-type]
|
|
312
316
|
function isAnyMemberExpression(node) {
|
|
313
317
|
return (
|
|
314
318
|
node.type === "MemberExpression" ||
|
|
@@ -316,6 +320,8 @@ function isAnyMemberExpression(node) {
|
|
|
316
320
|
node.type === "OptionalMemberExpression"
|
|
317
321
|
);
|
|
318
322
|
}
|
|
323
|
+
|
|
324
|
+
// $FlowFixMe[deprecated-type]
|
|
319
325
|
function isAnyIdentifier(node) {
|
|
320
326
|
return (0, _types.isIdentifier)(node) || (0, _types.isJSXIdentifier)(node);
|
|
321
327
|
}
|
|
@@ -11,11 +11,11 @@
|
|
|
11
11
|
|
|
12
12
|
'use strict';
|
|
13
13
|
|
|
14
|
-
import type {MetroBabelFileMetadata} from 'metro-babel-transformer';
|
|
15
14
|
import type {FBSourceFunctionMap} from './source-map';
|
|
16
15
|
import type {PluginObj} from '@babel/core';
|
|
17
16
|
import type {NodePath} from '@babel/traverse';
|
|
18
17
|
import type {Node} from '@babel/types';
|
|
18
|
+
import type {MetroBabelFileMetadata} from 'metro-babel-transformer';
|
|
19
19
|
|
|
20
20
|
import traverse from '@babel/traverse';
|
|
21
21
|
import {
|
|
@@ -365,6 +365,7 @@ function getNameForPath(path: NodePath<>): string {
|
|
|
365
365
|
return name;
|
|
366
366
|
}
|
|
367
367
|
|
|
368
|
+
// $FlowFixMe[deprecated-type]
|
|
368
369
|
function isAnyCallExpression(node: Node): boolean %checks {
|
|
369
370
|
return (
|
|
370
371
|
node.type === 'CallExpression' ||
|
|
@@ -373,6 +374,7 @@ function isAnyCallExpression(node: Node): boolean %checks {
|
|
|
373
374
|
);
|
|
374
375
|
}
|
|
375
376
|
|
|
377
|
+
// $FlowFixMe[deprecated-type]
|
|
376
378
|
function isAnyMemberExpression(node: Node): boolean %checks {
|
|
377
379
|
return (
|
|
378
380
|
node.type === 'MemberExpression' ||
|
|
@@ -381,6 +383,7 @@ function isAnyMemberExpression(node: Node): boolean %checks {
|
|
|
381
383
|
);
|
|
382
384
|
}
|
|
383
385
|
|
|
386
|
+
// $FlowFixMe[deprecated-type]
|
|
384
387
|
function isAnyIdentifier(node: Node): boolean %checks {
|
|
385
388
|
return isIdentifier(node) || isJSXIdentifier(node);
|
|
386
389
|
}
|