@react-native/codegen 0.72.4 → 0.72.6
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.
|
@@ -361,12 +361,12 @@ enum ${enumName} { ${values} };
|
|
|
361
361
|
|
|
362
362
|
template <>
|
|
363
363
|
struct Bridging<${enumName}> {
|
|
364
|
-
static ${enumName} fromJs(jsi::Runtime &rt, ${fromValue}
|
|
364
|
+
static ${enumName} fromJs(jsi::Runtime &rt, ${fromValue}) {
|
|
365
365
|
${fromValueConversion}
|
|
366
366
|
${fromCases}
|
|
367
367
|
}
|
|
368
368
|
|
|
369
|
-
static ${toValue} toJs(jsi::Runtime &rt, ${enumName} value
|
|
369
|
+
static ${toValue} toJs(jsi::Runtime &rt, ${enumName} value) {
|
|
370
370
|
${toCases}
|
|
371
371
|
}
|
|
372
372
|
};`;
|
|
@@ -338,12 +338,12 @@ enum ${enumName} { ${values} };
|
|
|
338
338
|
|
|
339
339
|
template <>
|
|
340
340
|
struct Bridging<${enumName}> {
|
|
341
|
-
static ${enumName} fromJs(jsi::Runtime &rt, ${fromValue}
|
|
341
|
+
static ${enumName} fromJs(jsi::Runtime &rt, ${fromValue}) {
|
|
342
342
|
${fromValueConversion}
|
|
343
343
|
${fromCases}
|
|
344
344
|
}
|
|
345
345
|
|
|
346
|
-
static ${toValue} toJs(jsi::Runtime &rt, ${enumName} value
|
|
346
|
+
static ${toValue} toJs(jsi::Runtime &rt, ${enumName} value) {
|
|
347
347
|
${toCases}
|
|
348
348
|
}
|
|
349
349
|
};`;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-native/codegen",
|
|
3
|
-
"version": "0.72.
|
|
3
|
+
"version": "0.72.6",
|
|
4
4
|
"description": "⚛️ Code generation tools for React Native",
|
|
5
5
|
"homepage": "https://github.com/facebook/react-native/tree/HEAD/packages/react-native-codegen",
|
|
6
6
|
"repository": {
|
|
@@ -19,21 +19,21 @@
|
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@babel/parser": "^7.20.0",
|
|
22
|
-
"flow-parser": "^0.
|
|
22
|
+
"flow-parser": "^0.206.0",
|
|
23
23
|
"jscodeshift": "^0.14.0",
|
|
24
24
|
"nullthrows": "^1.1.1"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@babel/core": "^7.20.0",
|
|
28
|
-
"@babel/plugin-proposal-class-properties": "^7.
|
|
29
|
-
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.
|
|
30
|
-
"@babel/plugin-proposal-object-rest-spread": "^7.
|
|
31
|
-
"@babel/plugin-proposal-optional-chaining": "^7.
|
|
32
|
-
"@babel/plugin-syntax-dynamic-import": "^7.
|
|
33
|
-
"@babel/plugin-transform-async-to-generator": "^7.
|
|
34
|
-
"@babel/plugin-transform-destructuring": "^7.
|
|
35
|
-
"@babel/plugin-transform-flow-strip-types": "^7.
|
|
36
|
-
"@babel/preset-env": "^7.
|
|
28
|
+
"@babel/plugin-proposal-class-properties": "^7.18.0",
|
|
29
|
+
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.18.0",
|
|
30
|
+
"@babel/plugin-proposal-object-rest-spread": "^7.20.0",
|
|
31
|
+
"@babel/plugin-proposal-optional-chaining": "^7.20.0",
|
|
32
|
+
"@babel/plugin-syntax-dynamic-import": "^7.8.0",
|
|
33
|
+
"@babel/plugin-transform-async-to-generator": "^7.20.0",
|
|
34
|
+
"@babel/plugin-transform-destructuring": "^7.20.0",
|
|
35
|
+
"@babel/plugin-transform-flow-strip-types": "^7.20.0",
|
|
36
|
+
"@babel/preset-env": "^7.20.0",
|
|
37
37
|
"chalk": "^4.0.0",
|
|
38
38
|
"glob": "^7.1.1",
|
|
39
39
|
"invariant": "^2.2.4",
|