metro-source-map 0.72.1 → 0.72.3
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.72.
|
|
3
|
+
"version": "0.72.3",
|
|
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.14.0",
|
|
16
16
|
"@babel/types": "^7.0.0",
|
|
17
17
|
"invariant": "^2.2.4",
|
|
18
|
-
"metro-symbolicate": "0.72.
|
|
18
|
+
"metro-symbolicate": "0.72.3",
|
|
19
19
|
"nullthrows": "^1.1.1",
|
|
20
|
-
"ob1": "0.72.
|
|
20
|
+
"ob1": "0.72.3",
|
|
21
21
|
"source-map": "^0.5.6",
|
|
22
22
|
"vlq": "^1.0.0"
|
|
23
23
|
},
|
package/src/Generator.js
CHANGED
|
@@ -144,9 +144,6 @@ class Generator {
|
|
|
144
144
|
} else {
|
|
145
145
|
sourcesMetadata = {};
|
|
146
146
|
}
|
|
147
|
-
/* $FlowFixMe(>=0.111.0 site=react_native_fb) This comment suppresses an
|
|
148
|
-
* error found when Flow v0.111 was deployed. To see the error, delete this
|
|
149
|
-
* comment and run Flow. */
|
|
150
147
|
|
|
151
148
|
return {
|
|
152
149
|
version: 3,
|
package/src/Generator.js.flow
CHANGED
|
@@ -174,9 +174,6 @@ class Generator {
|
|
|
174
174
|
sourcesMetadata = {};
|
|
175
175
|
}
|
|
176
176
|
|
|
177
|
-
/* $FlowFixMe(>=0.111.0 site=react_native_fb) This comment suppresses an
|
|
178
|
-
* error found when Flow v0.111 was deployed. To see the error, delete this
|
|
179
|
-
* comment and run Flow. */
|
|
180
177
|
return {
|
|
181
178
|
version: 3,
|
|
182
179
|
file,
|
|
@@ -270,11 +270,10 @@ function getNameForPath(path) {
|
|
|
270
270
|
|
|
271
271
|
if (propertyPath) {
|
|
272
272
|
if ((0, _types.isClassBody)(propertyPath.parent)) {
|
|
273
|
-
// $FlowFixMe
|
|
273
|
+
// $FlowFixMe Discovered when typing babel-traverse
|
|
274
274
|
const className = getNameForPath(propertyPath.parentPath.parentPath);
|
|
275
275
|
|
|
276
276
|
if (className !== ANONYMOUS_NAME) {
|
|
277
|
-
// $FlowFixMe Flow error uncovered by typing Babel more strictly
|
|
278
277
|
const separator = propertyPath.node.static ? "." : "#";
|
|
279
278
|
name = className + separator + name;
|
|
280
279
|
}
|
|
@@ -282,10 +282,9 @@ function getNameForPath(path: NodePath<>): string {
|
|
|
282
282
|
// Annotate members with the name of their containing object/class.
|
|
283
283
|
if (propertyPath) {
|
|
284
284
|
if (isClassBody(propertyPath.parent)) {
|
|
285
|
-
// $FlowFixMe
|
|
285
|
+
// $FlowFixMe Discovered when typing babel-traverse
|
|
286
286
|
const className = getNameForPath(propertyPath.parentPath.parentPath);
|
|
287
287
|
if (className !== ANONYMOUS_NAME) {
|
|
288
|
-
// $FlowFixMe Flow error uncovered by typing Babel more strictly
|
|
289
288
|
const separator = propertyPath.node.static ? '.' : '#';
|
|
290
289
|
name = className + separator + name;
|
|
291
290
|
}
|