@react-native/codegen 0.75.0-nightly-20240506-362abb9ff → 0.75.0-nightly-20240508-88ab1ceea

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.
@@ -102,10 +102,10 @@ class FlowParser {
102
102
  }
103
103
  getTypeAnnotationName(typeAnnotation) {
104
104
  var _typeAnnotation$id;
105
- return typeAnnotation === null || typeAnnotation === void 0
106
- ? void 0
107
- : (_typeAnnotation$id = typeAnnotation.id) === null ||
108
- _typeAnnotation$id === void 0
105
+ return typeAnnotation === null ||
106
+ typeAnnotation === void 0 ||
107
+ (_typeAnnotation$id = typeAnnotation.id) === null ||
108
+ _typeAnnotation$id === void 0
109
109
  ? void 0
110
110
  : _typeAnnotation$id.name;
111
111
  }
@@ -103,10 +103,10 @@ export class MockedParser {
103
103
  }
104
104
  getTypeAnnotationName(typeAnnotation) {
105
105
  var _typeAnnotation$id;
106
- return typeAnnotation === null || typeAnnotation === void 0
107
- ? void 0
108
- : (_typeAnnotation$id = typeAnnotation.id) === null ||
109
- _typeAnnotation$id === void 0
106
+ return typeAnnotation === null ||
107
+ typeAnnotation === void 0 ||
108
+ (_typeAnnotation$id = typeAnnotation.id) === null ||
109
+ _typeAnnotation$id === void 0
110
110
  ? void 0
111
111
  : _typeAnnotation$id.name;
112
112
  }
@@ -102,10 +102,10 @@ class TypeScriptParser {
102
102
  }
103
103
  getTypeAnnotationName(typeAnnotation) {
104
104
  var _typeAnnotation$typeN;
105
- return typeAnnotation === null || typeAnnotation === void 0
106
- ? void 0
107
- : (_typeAnnotation$typeN = typeAnnotation.typeName) === null ||
108
- _typeAnnotation$typeN === void 0
105
+ return typeAnnotation === null ||
106
+ typeAnnotation === void 0 ||
107
+ (_typeAnnotation$typeN = typeAnnotation.typeName) === null ||
108
+ _typeAnnotation$typeN === void 0
109
109
  ? void 0
110
110
  : _typeAnnotation$typeN.name;
111
111
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-native/codegen",
3
- "version": "0.75.0-nightly-20240506-362abb9ff",
3
+ "version": "0.75.0-nightly-20240508-88ab1ceea",
4
4
  "description": "Code generation tools for React Native",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -39,10 +39,10 @@
39
39
  },
40
40
  "devDependencies": {
41
41
  "@babel/core": "^7.20.0",
42
- "@babel/plugin-proposal-class-properties": "^7.18.0",
43
- "@babel/plugin-proposal-nullish-coalescing-operator": "^7.18.0",
44
- "@babel/plugin-proposal-object-rest-spread": "^7.20.0",
45
- "@babel/plugin-proposal-optional-chaining": "^7.20.0",
42
+ "@babel/plugin-transform-class-properties": "^7.24.1",
43
+ "@babel/plugin-transform-nullish-coalescing-operator": "^7.24.1",
44
+ "@babel/plugin-transform-object-rest-spread": "^7.24.5",
45
+ "@babel/plugin-transform-optional-chaining": "^7.24.5",
46
46
  "@babel/plugin-syntax-dynamic-import": "^7.8.0",
47
47
  "@babel/plugin-transform-async-to-generator": "^7.20.0",
48
48
  "@babel/plugin-transform-destructuring": "^7.20.0",