metro-transform-worker 0.76.2 → 0.76.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 +10 -10
- package/src/index.js +3 -3
- package/src/index.js.flow +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "metro-transform-worker",
|
|
3
|
-
"version": "0.76.
|
|
3
|
+
"version": "0.76.3",
|
|
4
4
|
"description": "🚇 Transform worker for Metro.",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"repository": {
|
|
@@ -18,18 +18,18 @@
|
|
|
18
18
|
"@babel/parser": "^7.20.0",
|
|
19
19
|
"@babel/types": "^7.20.0",
|
|
20
20
|
"babel-preset-fbjs": "^3.4.0",
|
|
21
|
-
"metro": "0.76.
|
|
22
|
-
"metro-babel-transformer": "0.76.
|
|
23
|
-
"metro-cache": "0.76.
|
|
24
|
-
"metro-cache-key": "0.76.
|
|
25
|
-
"metro-source-map": "0.76.
|
|
26
|
-
"metro-transform-plugins": "0.76.
|
|
21
|
+
"metro": "0.76.3",
|
|
22
|
+
"metro-babel-transformer": "0.76.3",
|
|
23
|
+
"metro-cache": "0.76.3",
|
|
24
|
+
"metro-cache-key": "0.76.3",
|
|
25
|
+
"metro-source-map": "0.76.3",
|
|
26
|
+
"metro-transform-plugins": "0.76.3",
|
|
27
27
|
"nullthrows": "^1.1.1"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"metro-memory-fs": "0.76.
|
|
31
|
-
"metro-minify-terser": "0.76.
|
|
32
|
-
"metro-react-native-babel-transformer": "0.76.
|
|
30
|
+
"metro-memory-fs": "0.76.3",
|
|
31
|
+
"metro-minify-terser": "0.76.3",
|
|
32
|
+
"metro-react-native-babel-transformer": "0.76.3"
|
|
33
33
|
},
|
|
34
34
|
"engines": {
|
|
35
35
|
"node": ">=16"
|
package/src/index.js
CHANGED
|
@@ -151,7 +151,7 @@ async function transformJS(file, { config, options, projectRoot }) {
|
|
|
151
151
|
babelrc: false,
|
|
152
152
|
code: false,
|
|
153
153
|
configFile: false,
|
|
154
|
-
comments:
|
|
154
|
+
comments: true,
|
|
155
155
|
filename: file.filename,
|
|
156
156
|
plugins,
|
|
157
157
|
sourceMaps: false,
|
|
@@ -173,7 +173,7 @@ async function transformJS(file, { config, options, projectRoot }) {
|
|
|
173
173
|
babelrc: false,
|
|
174
174
|
code: false,
|
|
175
175
|
configFile: false,
|
|
176
|
-
comments:
|
|
176
|
+
comments: true,
|
|
177
177
|
filename: file.filename,
|
|
178
178
|
plugins: [
|
|
179
179
|
[metroTransformPlugins.constantFoldingPlugin, babelPluginOpts],
|
|
@@ -256,7 +256,7 @@ async function transformJS(file, { config, options, projectRoot }) {
|
|
|
256
256
|
const result = generate(
|
|
257
257
|
wrappedAst,
|
|
258
258
|
{
|
|
259
|
-
comments:
|
|
259
|
+
comments: true,
|
|
260
260
|
compact: config.unstable_compactOutput,
|
|
261
261
|
filename: file.filename,
|
|
262
262
|
retainLines: false,
|
package/src/index.js.flow
CHANGED
|
@@ -299,7 +299,7 @@ async function transformJS(
|
|
|
299
299
|
babelrc: false,
|
|
300
300
|
code: false,
|
|
301
301
|
configFile: false,
|
|
302
|
-
comments:
|
|
302
|
+
comments: true,
|
|
303
303
|
filename: file.filename,
|
|
304
304
|
plugins,
|
|
305
305
|
sourceMaps: false,
|
|
@@ -322,7 +322,7 @@ async function transformJS(
|
|
|
322
322
|
babelrc: false,
|
|
323
323
|
code: false,
|
|
324
324
|
configFile: false,
|
|
325
|
-
comments:
|
|
325
|
+
comments: true,
|
|
326
326
|
filename: file.filename,
|
|
327
327
|
plugins: [
|
|
328
328
|
[metroTransformPlugins.constantFoldingPlugin, babelPluginOpts],
|
|
@@ -407,7 +407,7 @@ async function transformJS(
|
|
|
407
407
|
const result = generate(
|
|
408
408
|
wrappedAst,
|
|
409
409
|
{
|
|
410
|
-
comments:
|
|
410
|
+
comments: true,
|
|
411
411
|
compact: config.unstable_compactOutput,
|
|
412
412
|
filename: file.filename,
|
|
413
413
|
retainLines: false,
|