@react-native/codegen 0.72.4 → 0.72.5

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,7 +361,7 @@ enum ${enumName} { ${values} };
361
361
 
362
362
  template <>
363
363
  struct Bridging<${enumName}> {
364
- static ${enumName} fromJs(jsi::Runtime &rt, ${fromValue}, const std::shared_ptr<CallInvoker> &jsInvoker) {
364
+ static ${enumName} fromJs(jsi::Runtime &rt, ${fromValue}) {
365
365
  ${fromValueConversion}
366
366
  ${fromCases}
367
367
  }
@@ -338,7 +338,7 @@ enum ${enumName} { ${values} };
338
338
 
339
339
  template <>
340
340
  struct Bridging<${enumName}> {
341
- static ${enumName} fromJs(jsi::Runtime &rt, ${fromValue}, const std::shared_ptr<CallInvoker> &jsInvoker) {
341
+ static ${enumName} fromJs(jsi::Runtime &rt, ${fromValue}) {
342
342
  ${fromValueConversion}
343
343
  ${fromCases}
344
344
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-native/codegen",
3
- "version": "0.72.4",
3
+ "version": "0.72.5",
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.185.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.0.0",
29
- "@babel/plugin-proposal-nullish-coalescing-operator": "^7.0.0",
30
- "@babel/plugin-proposal-object-rest-spread": "^7.0.0",
31
- "@babel/plugin-proposal-optional-chaining": "^7.0.0",
32
- "@babel/plugin-syntax-dynamic-import": "^7.0.0",
33
- "@babel/plugin-transform-async-to-generator": "^7.0.0",
34
- "@babel/plugin-transform-destructuring": "^7.0.0",
35
- "@babel/plugin-transform-flow-strip-types": "^7.0.0",
36
- "@babel/preset-env": "^7.14.0",
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",