@react-native/codegen 0.84.0-nightly-20251118-d314e5f4e → 0.84.0-nightly-20251119-79b09ce9c

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.
@@ -89,6 +89,8 @@ static inline void fromRawValue(const PropsParserContext& context, const RawValu
89
89
  static inline std::string toString(const ${enumName} &value) {
90
90
  switch (value) {
91
91
  ${toCases}
92
+ default:
93
+ abort();
92
94
  }
93
95
  }
94
96
 
@@ -112,13 +114,16 @@ static inline void fromRawValue(const PropsParserContext& context, const RawValu
112
114
  assert(value.hasType<int>());
113
115
  auto integerValue = (int)value;
114
116
  switch (integerValue) {${fromCases}
117
+ default:
118
+ abort();
115
119
  }
116
- abort();
117
120
  }
118
121
 
119
122
  static inline std::string toString(const ${enumName} &value) {
120
123
  switch (value) {
121
124
  ${toCases}
125
+ default:
126
+ abort();
122
127
  }
123
128
  }
124
129
 
@@ -126,6 +131,8 @@ static inline std::string toString(const ${enumName} &value) {
126
131
  static inline folly::dynamic toDynamic(const ${enumName} &value) {
127
132
  switch (value) {
128
133
  ${toDynamicCases}
134
+ default:
135
+ abort();
129
136
  }
130
137
  }
131
138
  #endif
@@ -124,6 +124,8 @@ static inline void fromRawValue(const PropsParserContext& context, const RawValu
124
124
  static inline std::string toString(const ${enumName} &value) {
125
125
  switch (value) {
126
126
  ${toCases}
127
+ default:
128
+ abort();
127
129
  }
128
130
  }
129
131
 
@@ -154,13 +156,16 @@ static inline void fromRawValue(const PropsParserContext& context, const RawValu
154
156
  assert(value.hasType<int>());
155
157
  auto integerValue = (int)value;
156
158
  switch (integerValue) {${fromCases}
159
+ default:
160
+ abort();
157
161
  }
158
- abort();
159
162
  }
160
163
 
161
164
  static inline std::string toString(const ${enumName} &value) {
162
165
  switch (value) {
163
166
  ${toCases}
167
+ default:
168
+ abort();
164
169
  }
165
170
  }
166
171
 
@@ -168,6 +173,8 @@ static inline std::string toString(const ${enumName} &value) {
168
173
  static inline folly::dynamic toDynamic(const ${enumName} &value) {
169
174
  switch (value) {
170
175
  ${toDynamicCases}
176
+ default:
177
+ abort();
171
178
  }
172
179
  }
173
180
  #endif
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-native/codegen",
3
- "version": "0.84.0-nightly-20251118-d314e5f4e",
3
+ "version": "0.84.0-nightly-20251119-79b09ce9c",
4
4
  "description": "Code generation tools for React Native",
5
5
  "license": "MIT",
6
6
  "repository": {