metro-source-map 0.80.8 → 0.80.10
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 +4 -3
- package/src/source-map.js.flow +3 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "metro-source-map",
|
|
3
|
-
"version": "0.80.
|
|
3
|
+
"version": "0.80.10",
|
|
4
4
|
"description": "🚇 Source map generator for Metro.",
|
|
5
5
|
"main": "src/source-map.js",
|
|
6
6
|
"repository": {
|
|
@@ -14,10 +14,11 @@
|
|
|
14
14
|
"dependencies": {
|
|
15
15
|
"@babel/traverse": "^7.20.0",
|
|
16
16
|
"@babel/types": "^7.20.0",
|
|
17
|
+
"flow-enums-runtime": "^0.0.6",
|
|
17
18
|
"invariant": "^2.2.4",
|
|
18
|
-
"metro-symbolicate": "0.80.
|
|
19
|
+
"metro-symbolicate": "0.80.10",
|
|
19
20
|
"nullthrows": "^1.1.1",
|
|
20
|
-
"ob1": "0.80.
|
|
21
|
+
"ob1": "0.80.10",
|
|
21
22
|
"source-map": "^0.5.6",
|
|
22
23
|
"vlq": "^1.0.0"
|
|
23
24
|
},
|
package/src/source-map.js.flow
CHANGED
|
@@ -124,11 +124,14 @@ function fromRawMappingsImpl(
|
|
|
124
124
|
}
|
|
125
125
|
|
|
126
126
|
const mod = modulesToProcess.shift();
|
|
127
|
+
// $FlowFixMe[incompatible-use]
|
|
127
128
|
const {code, map} = mod;
|
|
128
129
|
if (Array.isArray(map)) {
|
|
130
|
+
// $FlowFixMe[incompatible-call]
|
|
129
131
|
addMappingsForFile(generator, map, mod, carryOver);
|
|
130
132
|
} else if (map != null) {
|
|
131
133
|
throw new Error(
|
|
134
|
+
// $FlowFixMe[incompatible-use]
|
|
132
135
|
`Unexpected module with full source map found: ${mod.path}`,
|
|
133
136
|
);
|
|
134
137
|
}
|