@expo/cli 54.1.0-canary-20251015-a6a1272 → 54.1.0-canary-20251023-4c86f95

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.
Files changed (121) hide show
  1. package/build/bin/cli +1 -1
  2. package/build/src/export/embed/exportEmbedAsync.js +43 -3
  3. package/build/src/export/embed/exportEmbedAsync.js.map +1 -1
  4. package/build/src/export/embed/resolveOptions.js.map +1 -1
  5. package/build/src/export/index.js +2 -1
  6. package/build/src/export/index.js.map +1 -1
  7. package/build/src/export/resolveOptions.js +1 -1
  8. package/build/src/export/resolveOptions.js.map +1 -1
  9. package/build/src/start/server/metro/MetroBundlerDevServer.js +29 -9
  10. package/build/src/start/server/metro/MetroBundlerDevServer.js.map +1 -1
  11. package/build/src/start/server/metro/MetroTerminalReporter.js +2 -4
  12. package/build/src/start/server/metro/MetroTerminalReporter.js.map +1 -1
  13. package/build/src/start/server/metro/createServerRouteMiddleware.js.map +1 -1
  14. package/build/src/start/server/metro/externals.js +0 -11
  15. package/build/src/start/server/metro/externals.js.map +1 -1
  16. package/build/src/start/server/metro/fetchRouterManifest.js +1 -1
  17. package/build/src/start/server/metro/fetchRouterManifest.js.map +1 -1
  18. package/build/src/start/server/metro/getCssModulesFromBundler.js.map +1 -1
  19. package/build/src/start/server/metro/instantiateMetro.js +14 -10
  20. package/build/src/start/server/metro/instantiateMetro.js.map +1 -1
  21. package/build/src/start/server/metro/log-box/LogBoxLog.js +11 -7
  22. package/build/src/start/server/metro/log-box/LogBoxLog.js.map +1 -1
  23. package/build/src/start/server/metro/log-box/LogBoxSymbolication.js.map +1 -1
  24. package/build/src/start/server/metro/metroErrorInterface.js +14 -43
  25. package/build/src/start/server/metro/metroErrorInterface.js.map +1 -1
  26. package/build/src/start/server/metro/withMetroMultiPlatform.js +55 -43
  27. package/build/src/start/server/metro/withMetroMultiPlatform.js.map +1 -1
  28. package/build/src/start/server/middleware/metroOptions.js.map +1 -1
  29. package/build/src/start/server/serverLogLikeMetro.js +1 -1
  30. package/build/src/start/server/serverLogLikeMetro.js.map +1 -1
  31. package/build/src/utils/env.js +6 -0
  32. package/build/src/utils/env.js.map +1 -1
  33. package/build/src/utils/telemetry/clients/FetchClient.js +1 -1
  34. package/build/src/utils/telemetry/utils/context.js +1 -1
  35. package/package.json +20 -18
  36. package/static/canary/react-is/cjs/react-is.development.js +0 -133
  37. package/static/canary/react-is/cjs/react-is.production.js +0 -130
  38. package/static/canary/react-native/Libraries/Renderer/implementations/ReactFabric-dev.js +0 -16820
  39. package/static/canary/react-native/Libraries/Renderer/implementations/ReactFabric-prod.js +0 -10552
  40. package/static/canary/react-native/Libraries/Renderer/implementations/ReactFabric-profiling.js +0 -11255
  41. package/static/canary/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-dev.js +0 -17064
  42. package/static/canary/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js +0 -10742
  43. package/static/canary/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-profiling.js +0 -11450
  44. package/static/canary/scheduler/cjs/scheduler-unstable_mock.development.js +0 -414
  45. package/static/canary/scheduler/cjs/scheduler-unstable_mock.production.js +0 -406
  46. package/static/canary/scheduler/cjs/scheduler-unstable_post_task.development.js +0 -150
  47. package/static/canary/scheduler/cjs/scheduler-unstable_post_task.production.js +0 -140
  48. package/static/canary/scheduler/cjs/scheduler.development.js +0 -364
  49. package/static/canary/scheduler/cjs/scheduler.native.development.js +0 -350
  50. package/static/canary/scheduler/cjs/scheduler.native.production.js +0 -330
  51. package/static/canary/scheduler/cjs/scheduler.production.js +0 -340
  52. package/static/canary-full/node_modules/react/LICENSE +0 -21
  53. package/static/canary-full/node_modules/react/README.md +0 -37
  54. package/static/canary-full/node_modules/react/cjs/react-compiler-runtime.development.js +0 -24
  55. package/static/canary-full/node_modules/react/cjs/react-compiler-runtime.production.js +0 -16
  56. package/static/canary-full/node_modules/react/cjs/react-compiler-runtime.profiling.js +0 -16
  57. package/static/canary-full/node_modules/react/cjs/react-jsx-dev-runtime.development.js +0 -349
  58. package/static/canary-full/node_modules/react/cjs/react-jsx-dev-runtime.production.js +0 -14
  59. package/static/canary-full/node_modules/react/cjs/react-jsx-dev-runtime.profiling.js +0 -14
  60. package/static/canary-full/node_modules/react/cjs/react-jsx-dev-runtime.react-server.development.js +0 -385
  61. package/static/canary-full/node_modules/react/cjs/react-jsx-dev-runtime.react-server.production.js +0 -40
  62. package/static/canary-full/node_modules/react/cjs/react-jsx-runtime.development.js +0 -358
  63. package/static/canary-full/node_modules/react/cjs/react-jsx-runtime.production.js +0 -34
  64. package/static/canary-full/node_modules/react/cjs/react-jsx-runtime.profiling.js +0 -34
  65. package/static/canary-full/node_modules/react/cjs/react-jsx-runtime.react-server.development.js +0 -385
  66. package/static/canary-full/node_modules/react/cjs/react-jsx-runtime.react-server.production.js +0 -40
  67. package/static/canary-full/node_modules/react/cjs/react.development.js +0 -1250
  68. package/static/canary-full/node_modules/react/cjs/react.production.js +0 -544
  69. package/static/canary-full/node_modules/react/cjs/react.react-server.development.js +0 -815
  70. package/static/canary-full/node_modules/react/cjs/react.react-server.production.js +0 -429
  71. package/static/canary-full/node_modules/react/compiler-runtime.js +0 -14
  72. package/static/canary-full/node_modules/react/index.js +0 -7
  73. package/static/canary-full/node_modules/react/jsx-dev-runtime.js +0 -7
  74. package/static/canary-full/node_modules/react/jsx-dev-runtime.react-server.js +0 -7
  75. package/static/canary-full/node_modules/react/jsx-runtime.js +0 -7
  76. package/static/canary-full/node_modules/react/jsx-runtime.react-server.js +0 -7
  77. package/static/canary-full/node_modules/react/package.json +0 -51
  78. package/static/canary-full/node_modules/react/react.react-server.js +0 -7
  79. package/static/canary-full/node_modules/react-dom/LICENSE +0 -21
  80. package/static/canary-full/node_modules/react-dom/README.md +0 -60
  81. package/static/canary-full/node_modules/react-dom/cjs/react-dom-client.development.js +0 -25089
  82. package/static/canary-full/node_modules/react-dom/cjs/react-dom-client.production.js +0 -15426
  83. package/static/canary-full/node_modules/react-dom/cjs/react-dom-profiling.development.js +0 -25476
  84. package/static/canary-full/node_modules/react-dom/cjs/react-dom-profiling.profiling.js +0 -16296
  85. package/static/canary-full/node_modules/react-dom/cjs/react-dom-server-legacy.browser.development.js +0 -9035
  86. package/static/canary-full/node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.js +0 -5892
  87. package/static/canary-full/node_modules/react-dom/cjs/react-dom-server-legacy.node.development.js +0 -9035
  88. package/static/canary-full/node_modules/react-dom/cjs/react-dom-server-legacy.node.production.js +0 -5972
  89. package/static/canary-full/node_modules/react-dom/cjs/react-dom-server.browser.development.js +0 -9424
  90. package/static/canary-full/node_modules/react-dom/cjs/react-dom-server.browser.production.js +0 -6384
  91. package/static/canary-full/node_modules/react-dom/cjs/react-dom-server.bun.development.js +0 -8739
  92. package/static/canary-full/node_modules/react-dom/cjs/react-dom-server.bun.production.js +0 -5967
  93. package/static/canary-full/node_modules/react-dom/cjs/react-dom-server.edge.development.js +0 -9443
  94. package/static/canary-full/node_modules/react-dom/cjs/react-dom-server.edge.production.js +0 -6477
  95. package/static/canary-full/node_modules/react-dom/cjs/react-dom-server.node.development.js +0 -9317
  96. package/static/canary-full/node_modules/react-dom/cjs/react-dom-server.node.production.js +0 -6372
  97. package/static/canary-full/node_modules/react-dom/cjs/react-dom-test-utils.development.js +0 -24
  98. package/static/canary-full/node_modules/react-dom/cjs/react-dom-test-utils.production.js +0 -21
  99. package/static/canary-full/node_modules/react-dom/cjs/react-dom.development.js +0 -424
  100. package/static/canary-full/node_modules/react-dom/cjs/react-dom.production.js +0 -210
  101. package/static/canary-full/node_modules/react-dom/cjs/react-dom.react-server.development.js +0 -340
  102. package/static/canary-full/node_modules/react-dom/cjs/react-dom.react-server.production.js +0 -152
  103. package/static/canary-full/node_modules/react-dom/client.js +0 -38
  104. package/static/canary-full/node_modules/react-dom/client.react-server.js +0 -5
  105. package/static/canary-full/node_modules/react-dom/index.js +0 -38
  106. package/static/canary-full/node_modules/react-dom/package.json +0 -117
  107. package/static/canary-full/node_modules/react-dom/profiling.js +0 -38
  108. package/static/canary-full/node_modules/react-dom/profiling.react-server.js +0 -5
  109. package/static/canary-full/node_modules/react-dom/react-dom.react-server.js +0 -7
  110. package/static/canary-full/node_modules/react-dom/server.browser.js +0 -18
  111. package/static/canary-full/node_modules/react-dom/server.bun.js +0 -19
  112. package/static/canary-full/node_modules/react-dom/server.edge.js +0 -19
  113. package/static/canary-full/node_modules/react-dom/server.js +0 -3
  114. package/static/canary-full/node_modules/react-dom/server.node.js +0 -18
  115. package/static/canary-full/node_modules/react-dom/server.react-server.js +0 -5
  116. package/static/canary-full/node_modules/react-dom/static.browser.js +0 -12
  117. package/static/canary-full/node_modules/react-dom/static.edge.js +0 -12
  118. package/static/canary-full/node_modules/react-dom/static.js +0 -3
  119. package/static/canary-full/node_modules/react-dom/static.node.js +0 -12
  120. package/static/canary-full/node_modules/react-dom/static.react-server.js +0 -5
  121. package/static/canary-full/node_modules/react-dom/test-utils.js +0 -7
@@ -1,385 +0,0 @@
1
- /**
2
- * @license React
3
- * react-jsx-runtime.react-server.development.js
4
- *
5
- * Copyright (c) Meta Platforms, Inc. and affiliates.
6
- *
7
- * This source code is licensed under the MIT license found in the
8
- * LICENSE file in the root directory of this source tree.
9
- */
10
-
11
- "use strict";
12
- "production" !== process.env.NODE_ENV &&
13
- (function () {
14
- function getComponentNameFromType(type) {
15
- if (null == type) return null;
16
- if ("function" === typeof type)
17
- return type.$$typeof === REACT_CLIENT_REFERENCE
18
- ? null
19
- : type.displayName || type.name || null;
20
- if ("string" === typeof type) return type;
21
- switch (type) {
22
- case REACT_FRAGMENT_TYPE:
23
- return "Fragment";
24
- case REACT_PROFILER_TYPE:
25
- return "Profiler";
26
- case REACT_STRICT_MODE_TYPE:
27
- return "StrictMode";
28
- case REACT_SUSPENSE_TYPE:
29
- return "Suspense";
30
- case REACT_SUSPENSE_LIST_TYPE:
31
- return "SuspenseList";
32
- case REACT_ACTIVITY_TYPE:
33
- return "Activity";
34
- }
35
- if ("object" === typeof type)
36
- switch (
37
- ("number" === typeof type.tag &&
38
- console.error(
39
- "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
40
- ),
41
- type.$$typeof)
42
- ) {
43
- case REACT_PORTAL_TYPE:
44
- return "Portal";
45
- case REACT_CONTEXT_TYPE:
46
- return (type.displayName || "Context") + ".Provider";
47
- case REACT_CONSUMER_TYPE:
48
- return (type._context.displayName || "Context") + ".Consumer";
49
- case REACT_FORWARD_REF_TYPE:
50
- var innerType = type.render;
51
- type = type.displayName;
52
- type ||
53
- ((type = innerType.displayName || innerType.name || ""),
54
- (type = "" !== type ? "ForwardRef(" + type + ")" : "ForwardRef"));
55
- return type;
56
- case REACT_MEMO_TYPE:
57
- return (
58
- (innerType = type.displayName || null),
59
- null !== innerType
60
- ? innerType
61
- : getComponentNameFromType(type.type) || "Memo"
62
- );
63
- case REACT_LAZY_TYPE:
64
- innerType = type._payload;
65
- type = type._init;
66
- try {
67
- return getComponentNameFromType(type(innerType));
68
- } catch (x) {}
69
- }
70
- return null;
71
- }
72
- function testStringCoercion(value) {
73
- return "" + value;
74
- }
75
- function checkKeyStringCoercion(value) {
76
- try {
77
- testStringCoercion(value);
78
- var JSCompiler_inline_result = !1;
79
- } catch (e) {
80
- JSCompiler_inline_result = !0;
81
- }
82
- if (JSCompiler_inline_result) {
83
- JSCompiler_inline_result = console;
84
- var JSCompiler_temp_const = JSCompiler_inline_result.error;
85
- var JSCompiler_inline_result$jscomp$0 =
86
- ("function" === typeof Symbol &&
87
- Symbol.toStringTag &&
88
- value[Symbol.toStringTag]) ||
89
- value.constructor.name ||
90
- "Object";
91
- JSCompiler_temp_const.call(
92
- JSCompiler_inline_result,
93
- "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
94
- JSCompiler_inline_result$jscomp$0
95
- );
96
- return testStringCoercion(value);
97
- }
98
- }
99
- function getTaskName(type) {
100
- if (type === REACT_FRAGMENT_TYPE) return "<>";
101
- if (
102
- "object" === typeof type &&
103
- null !== type &&
104
- type.$$typeof === REACT_LAZY_TYPE
105
- )
106
- return "<...>";
107
- try {
108
- var name = getComponentNameFromType(type);
109
- return name ? "<" + name + ">" : "<...>";
110
- } catch (x) {
111
- return "<...>";
112
- }
113
- }
114
- function getOwner() {
115
- var dispatcher = ReactSharedInternalsServer.A;
116
- return null === dispatcher ? null : dispatcher.getOwner();
117
- }
118
- function UnknownOwner() {
119
- return Error("react-stack-top-frame");
120
- }
121
- function hasValidKey(config) {
122
- if (hasOwnProperty.call(config, "key")) {
123
- var getter = Object.getOwnPropertyDescriptor(config, "key").get;
124
- if (getter && getter.isReactWarning) return !1;
125
- }
126
- return void 0 !== config.key;
127
- }
128
- function defineKeyPropWarningGetter(props, displayName) {
129
- function warnAboutAccessingKey() {
130
- specialPropKeyWarningShown ||
131
- ((specialPropKeyWarningShown = !0),
132
- console.error(
133
- "%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
134
- displayName
135
- ));
136
- }
137
- warnAboutAccessingKey.isReactWarning = !0;
138
- Object.defineProperty(props, "key", {
139
- get: warnAboutAccessingKey,
140
- configurable: !0
141
- });
142
- }
143
- function elementRefGetterWithDeprecationWarning() {
144
- var componentName = getComponentNameFromType(this.type);
145
- didWarnAboutElementRef[componentName] ||
146
- ((didWarnAboutElementRef[componentName] = !0),
147
- console.error(
148
- "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
149
- ));
150
- componentName = this.props.ref;
151
- return void 0 !== componentName ? componentName : null;
152
- }
153
- function ReactElement(
154
- type,
155
- key,
156
- self,
157
- source,
158
- owner,
159
- props,
160
- debugStack,
161
- debugTask
162
- ) {
163
- self = props.ref;
164
- type = {
165
- $$typeof: REACT_ELEMENT_TYPE,
166
- type: type,
167
- key: key,
168
- props: props,
169
- _owner: owner
170
- };
171
- null !== (void 0 !== self ? self : null)
172
- ? Object.defineProperty(type, "ref", {
173
- enumerable: !1,
174
- get: elementRefGetterWithDeprecationWarning
175
- })
176
- : Object.defineProperty(type, "ref", { enumerable: !1, value: null });
177
- type._store = {};
178
- Object.defineProperty(type._store, "validated", {
179
- configurable: !1,
180
- enumerable: !1,
181
- writable: !0,
182
- value: 0
183
- });
184
- Object.defineProperty(type, "_debugInfo", {
185
- configurable: !1,
186
- enumerable: !1,
187
- writable: !0,
188
- value: null
189
- });
190
- Object.defineProperty(type, "_debugStack", {
191
- configurable: !1,
192
- enumerable: !1,
193
- writable: !0,
194
- value: debugStack
195
- });
196
- Object.defineProperty(type, "_debugTask", {
197
- configurable: !1,
198
- enumerable: !1,
199
- writable: !0,
200
- value: debugTask
201
- });
202
- Object.freeze && (Object.freeze(type.props), Object.freeze(type));
203
- return type;
204
- }
205
- function jsxDEVImpl(
206
- type,
207
- config,
208
- maybeKey,
209
- isStaticChildren,
210
- source,
211
- self,
212
- debugStack,
213
- debugTask
214
- ) {
215
- var children = config.children;
216
- if (void 0 !== children)
217
- if (isStaticChildren)
218
- if (isArrayImpl(children)) {
219
- for (
220
- isStaticChildren = 0;
221
- isStaticChildren < children.length;
222
- isStaticChildren++
223
- )
224
- validateChildKeys(children[isStaticChildren]);
225
- Object.freeze && Object.freeze(children);
226
- } else
227
- console.error(
228
- "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
229
- );
230
- else validateChildKeys(children);
231
- if (hasOwnProperty.call(config, "key")) {
232
- children = getComponentNameFromType(type);
233
- var keys = Object.keys(config).filter(function (k) {
234
- return "key" !== k;
235
- });
236
- isStaticChildren =
237
- 0 < keys.length
238
- ? "{key: someKey, " + keys.join(": ..., ") + ": ...}"
239
- : "{key: someKey}";
240
- didWarnAboutKeySpread[children + isStaticChildren] ||
241
- ((keys =
242
- 0 < keys.length ? "{" + keys.join(": ..., ") + ": ...}" : "{}"),
243
- console.error(
244
- 'A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />',
245
- isStaticChildren,
246
- children,
247
- keys,
248
- children
249
- ),
250
- (didWarnAboutKeySpread[children + isStaticChildren] = !0));
251
- }
252
- children = null;
253
- void 0 !== maybeKey &&
254
- (checkKeyStringCoercion(maybeKey), (children = "" + maybeKey));
255
- hasValidKey(config) &&
256
- (checkKeyStringCoercion(config.key), (children = "" + config.key));
257
- if ("key" in config) {
258
- maybeKey = {};
259
- for (var propName in config)
260
- "key" !== propName && (maybeKey[propName] = config[propName]);
261
- } else maybeKey = config;
262
- children &&
263
- defineKeyPropWarningGetter(
264
- maybeKey,
265
- "function" === typeof type
266
- ? type.displayName || type.name || "Unknown"
267
- : type
268
- );
269
- return ReactElement(
270
- type,
271
- children,
272
- self,
273
- source,
274
- getOwner(),
275
- maybeKey,
276
- debugStack,
277
- debugTask
278
- );
279
- }
280
- function validateChildKeys(node) {
281
- "object" === typeof node &&
282
- null !== node &&
283
- node.$$typeof === REACT_ELEMENT_TYPE &&
284
- node._store &&
285
- (node._store.validated = 1);
286
- }
287
- var React = require("react"),
288
- REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
289
- REACT_PORTAL_TYPE = Symbol.for("react.portal"),
290
- REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"),
291
- REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"),
292
- REACT_PROFILER_TYPE = Symbol.for("react.profiler");
293
- Symbol.for("react.provider");
294
- var REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
295
- REACT_CONTEXT_TYPE = Symbol.for("react.context"),
296
- REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"),
297
- REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"),
298
- REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"),
299
- REACT_MEMO_TYPE = Symbol.for("react.memo"),
300
- REACT_LAZY_TYPE = Symbol.for("react.lazy"),
301
- REACT_ACTIVITY_TYPE = Symbol.for("react.activity"),
302
- REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
303
- ReactSharedInternalsServer =
304
- React.__SERVER_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
305
- if (!ReactSharedInternalsServer)
306
- throw Error(
307
- 'The "react" package in this environment is not configured correctly. The "react-server" condition must be enabled in any environment that runs React Server Components.'
308
- );
309
- var hasOwnProperty = Object.prototype.hasOwnProperty,
310
- isArrayImpl = Array.isArray,
311
- createTask = console.createTask
312
- ? console.createTask
313
- : function () {
314
- return null;
315
- };
316
- React = {
317
- "react-stack-bottom-frame": function (callStackForError) {
318
- return callStackForError();
319
- }
320
- };
321
- var specialPropKeyWarningShown;
322
- var didWarnAboutElementRef = {};
323
- var unknownOwnerDebugStack = React["react-stack-bottom-frame"].bind(
324
- React,
325
- UnknownOwner
326
- )();
327
- var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));
328
- var didWarnAboutKeySpread = {};
329
- exports.Fragment = REACT_FRAGMENT_TYPE;
330
- exports.jsx = function (type, config, maybeKey, source, self) {
331
- var trackActualOwner =
332
- 1e4 > ReactSharedInternalsServer.recentlyCreatedOwnerStacks++;
333
- return jsxDEVImpl(
334
- type,
335
- config,
336
- maybeKey,
337
- !1,
338
- source,
339
- self,
340
- trackActualOwner
341
- ? Error("react-stack-top-frame")
342
- : unknownOwnerDebugStack,
343
- trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
344
- );
345
- };
346
- exports.jsxDEV = function (
347
- type,
348
- config,
349
- maybeKey,
350
- isStaticChildren,
351
- source,
352
- self
353
- ) {
354
- var trackActualOwner =
355
- 1e4 > ReactSharedInternalsServer.recentlyCreatedOwnerStacks++;
356
- return jsxDEVImpl(
357
- type,
358
- config,
359
- maybeKey,
360
- isStaticChildren,
361
- source,
362
- self,
363
- trackActualOwner
364
- ? Error("react-stack-top-frame")
365
- : unknownOwnerDebugStack,
366
- trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
367
- );
368
- };
369
- exports.jsxs = function (type, config, maybeKey, source, self) {
370
- var trackActualOwner =
371
- 1e4 > ReactSharedInternalsServer.recentlyCreatedOwnerStacks++;
372
- return jsxDEVImpl(
373
- type,
374
- config,
375
- maybeKey,
376
- !0,
377
- source,
378
- self,
379
- trackActualOwner
380
- ? Error("react-stack-top-frame")
381
- : unknownOwnerDebugStack,
382
- trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
383
- );
384
- };
385
- })();
@@ -1,40 +0,0 @@
1
- /**
2
- * @license React
3
- * react-jsx-runtime.react-server.production.js
4
- *
5
- * Copyright (c) Meta Platforms, Inc. and affiliates.
6
- *
7
- * This source code is licensed under the MIT license found in the
8
- * LICENSE file in the root directory of this source tree.
9
- */
10
-
11
- "use strict";
12
- var React = require("react"),
13
- REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
14
- REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
15
- if (!React.__SERVER_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE)
16
- throw Error(
17
- 'The "react" package in this environment is not configured correctly. The "react-server" condition must be enabled in any environment that runs React Server Components.'
18
- );
19
- function jsxProd(type, config, maybeKey) {
20
- var key = null;
21
- void 0 !== maybeKey && (key = "" + maybeKey);
22
- void 0 !== config.key && (key = "" + config.key);
23
- if ("key" in config) {
24
- maybeKey = {};
25
- for (var propName in config)
26
- "key" !== propName && (maybeKey[propName] = config[propName]);
27
- } else maybeKey = config;
28
- config = maybeKey.ref;
29
- return {
30
- $$typeof: REACT_ELEMENT_TYPE,
31
- type: type,
32
- key: key,
33
- ref: void 0 !== config ? config : null,
34
- props: maybeKey
35
- };
36
- }
37
- exports.Fragment = REACT_FRAGMENT_TYPE;
38
- exports.jsx = jsxProd;
39
- exports.jsxDEV = void 0;
40
- exports.jsxs = jsxProd;