@expo/cli 0.23.0 → 0.23.1
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.
- package/build/bin/cli +1 -1
- package/build/src/customize/templates.js +15 -1
- package/build/src/customize/templates.js.map +1 -1
- package/build/src/lint/ESlintPrerequisite.js +30 -46
- package/build/src/lint/ESlintPrerequisite.js.map +1 -1
- package/build/src/start/doctor/apple/XcodePrerequisite.js +1 -1
- package/build/src/start/doctor/apple/XcodePrerequisite.js.map +1 -1
- package/build/src/start/server/metro/MetroTerminalReporter.js +28 -1
- package/build/src/start/server/metro/MetroTerminalReporter.js.map +1 -1
- package/build/src/start/server/metro/debugging/createDebugMiddleware.js +19 -19
- package/build/src/start/server/metro/debugging/createDebugMiddleware.js.map +1 -1
- package/build/src/start/server/metro/instantiateMetro.js +2 -2
- package/build/src/start/server/metro/instantiateMetro.js.map +1 -1
- package/build/src/start/server/metro/log-box/LogBoxSymbolication.js +21 -2
- package/build/src/start/server/metro/log-box/LogBoxSymbolication.js.map +1 -1
- package/build/src/start/server/metro/metroErrorInterface.js +19 -8
- package/build/src/start/server/metro/metroErrorInterface.js.map +1 -1
- package/build/src/start/server/metro/withMetroMultiPlatform.js +0 -9
- package/build/src/start/server/metro/withMetroMultiPlatform.js.map +1 -1
- package/build/src/start/server/middleware/inspector/JsInspector.js +2 -25
- package/build/src/start/server/middleware/inspector/JsInspector.js.map +1 -1
- package/build/src/utils/telemetry/clients/FetchClient.js +1 -1
- package/build/src/utils/telemetry/utils/context.js +1 -1
- package/package.json +8 -8
- package/static/canary/react-is/cjs/react-is.development.js +118 -185
- package/static/canary/react-is/cjs/react-is.production.js +2 -2
- package/static/canary/react-native/Libraries/Renderer/implementations/ReactFabric-dev.js +16582 -26565
- package/static/canary/react-native/Libraries/Renderer/implementations/ReactFabric-prod.js +3495 -3357
- package/static/canary/react-native/Libraries/Renderer/implementations/ReactFabric-profiling.js +3929 -3801
- package/static/canary/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-dev.js +16869 -27032
- package/static/canary/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js +3535 -3428
- package/static/canary/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-profiling.js +4198 -4095
- package/static/canary/scheduler/cjs/scheduler-unstable_mock.development.js +387 -684
- package/static/canary/scheduler/cjs/scheduler-unstable_mock.production.js +0 -9
- package/static/canary/scheduler/cjs/scheduler-unstable_post_task.development.js +137 -195
- package/static/canary/scheduler/cjs/scheduler-unstable_post_task.production.js +0 -5
- package/static/canary/scheduler/cjs/scheduler.development.js +339 -600
- package/static/canary/scheduler/cjs/scheduler.native.development.js +324 -512
- package/static/canary/scheduler/cjs/scheduler.native.production.js +6 -5
- package/static/canary/scheduler/cjs/scheduler.production.js +16 -17
- package/static/canary-full/react/cjs/react-compiler-runtime.development.js +13 -68
- package/static/canary-full/react/cjs/react-jsx-dev-runtime.development.js +317 -1251
- package/static/canary-full/react/cjs/react-jsx-dev-runtime.react-server.development.js +353 -1286
- package/static/canary-full/react/cjs/react-jsx-runtime.development.js +326 -1279
- package/static/canary-full/react/cjs/react-jsx-runtime.react-server.development.js +353 -1286
- package/static/canary-full/react/cjs/react.development.js +1204 -2771
- package/static/canary-full/react/cjs/react.production.js +25 -20
- package/static/canary-full/react/cjs/react.react-server.development.js +783 -2162
- package/static/canary-full/react/cjs/react.react-server.production.js +13 -63
- package/static/canary-full/react/package.json +1 -1
- package/static/canary-full/react-dom/cjs/react-dom-client.development.js +24847 -37099
- package/static/canary-full/react-dom/cjs/react-dom-client.production.js +8261 -7475
- package/static/canary-full/react-dom/cjs/react-dom-profiling.development.js +25252 -37571
- package/static/canary-full/react-dom/cjs/react-dom-profiling.profiling.js +9442 -8662
- package/static/canary-full/react-dom/cjs/react-dom-server-legacy.browser.development.js +8944 -11568
- package/static/canary-full/react-dom/cjs/react-dom-server-legacy.browser.production.js +1378 -944
- package/static/canary-full/react-dom/cjs/react-dom-server-legacy.node.development.js +8944 -11568
- package/static/canary-full/react-dom/cjs/react-dom-server-legacy.node.production.js +1386 -954
- package/static/canary-full/react-dom/cjs/react-dom-server.browser.development.js +9344 -11600
- package/static/canary-full/react-dom/cjs/react-dom-server.browser.production.js +1545 -954
- package/static/canary-full/react-dom/cjs/react-dom-server.bun.development.js +8286 -11064
- package/static/canary-full/react-dom/cjs/react-dom-server.bun.production.js +1437 -976
- package/static/canary-full/react-dom/cjs/react-dom-server.edge.development.js +9356 -11609
- package/static/canary-full/react-dom/cjs/react-dom-server.edge.production.js +1542 -970
- package/static/canary-full/react-dom/cjs/react-dom-server.node.development.js +9227 -11571
- package/static/canary-full/react-dom/cjs/react-dom-server.node.production.js +1787 -1183
- package/static/canary-full/react-dom/cjs/react-dom-test-utils.development.js +13 -59
- package/static/canary-full/react-dom/cjs/react-dom.development.js +402 -604
- package/static/canary-full/react-dom/cjs/react-dom.production.js +4 -3
- package/static/canary-full/react-dom/cjs/react-dom.react-server.development.js +322 -382
- package/static/canary-full/react-dom/cjs/react-dom.react-server.production.js +6 -7
- package/static/canary-full/react-dom/package.json +5 -5
- package/static/canary-full/react-dom/static.browser.js +1 -0
- package/static/canary-full/react-dom/static.edge.js +1 -0
- package/static/canary-full/react-dom/static.node.js +1 -0
- package/static/template/eslint.config.js +10 -0
|
@@ -45,13 +45,13 @@ function getIteratorFn(maybeIterable) {
|
|
|
45
45
|
}
|
|
46
46
|
var hasOwnProperty = Object.prototype.hasOwnProperty,
|
|
47
47
|
assign = Object.assign;
|
|
48
|
-
function ReactElement(type, key,
|
|
49
|
-
|
|
48
|
+
function ReactElement(type, key, self, source, owner, props) {
|
|
49
|
+
self = props.ref;
|
|
50
50
|
return {
|
|
51
51
|
$$typeof: REACT_ELEMENT_TYPE,
|
|
52
52
|
type: type,
|
|
53
53
|
key: key,
|
|
54
|
-
ref: void 0 !==
|
|
54
|
+
ref: void 0 !== self ? self : null,
|
|
55
55
|
props: props
|
|
56
56
|
};
|
|
57
57
|
}
|
|
@@ -59,7 +59,6 @@ function cloneAndReplaceKey(oldElement, newKey) {
|
|
|
59
59
|
return ReactElement(
|
|
60
60
|
oldElement.type,
|
|
61
61
|
newKey,
|
|
62
|
-
null,
|
|
63
62
|
void 0,
|
|
64
63
|
void 0,
|
|
65
64
|
void 0,
|
|
@@ -88,7 +87,7 @@ function getElementKey(element, index) {
|
|
|
88
87
|
? escape("" + element.key)
|
|
89
88
|
: index.toString(36);
|
|
90
89
|
}
|
|
91
|
-
function noop
|
|
90
|
+
function noop() {}
|
|
92
91
|
function resolveThenable(thenable) {
|
|
93
92
|
switch (thenable.status) {
|
|
94
93
|
case "fulfilled":
|
|
@@ -98,7 +97,7 @@ function resolveThenable(thenable) {
|
|
|
98
97
|
default:
|
|
99
98
|
switch (
|
|
100
99
|
("string" === typeof thenable.status
|
|
101
|
-
? thenable.then(noop
|
|
100
|
+
? thenable.then(noop, noop)
|
|
102
101
|
: ((thenable.status = "pending"),
|
|
103
102
|
thenable.then(
|
|
104
103
|
function (fulfilledValue) {
|
|
@@ -170,7 +169,8 @@ function mapIntoArray(children, array, escapedPrefix, nameSoFar, callback) {
|
|
|
170
169
|
(callback = cloneAndReplaceKey(
|
|
171
170
|
callback,
|
|
172
171
|
escapedPrefix +
|
|
173
|
-
(
|
|
172
|
+
(null == callback.key ||
|
|
173
|
+
(children && children.key === callback.key)
|
|
174
174
|
? ""
|
|
175
175
|
: ("" + callback.key).replace(
|
|
176
176
|
userProvidedKeyEscapeRegex,
|
|
@@ -264,36 +264,6 @@ function createCacheRoot() {
|
|
|
264
264
|
function createCacheNode() {
|
|
265
265
|
return { s: 0, v: void 0, o: null, p: null };
|
|
266
266
|
}
|
|
267
|
-
var reportGlobalError =
|
|
268
|
-
"function" === typeof reportError
|
|
269
|
-
? reportError
|
|
270
|
-
: function (error) {
|
|
271
|
-
if (
|
|
272
|
-
"object" === typeof window &&
|
|
273
|
-
"function" === typeof window.ErrorEvent
|
|
274
|
-
) {
|
|
275
|
-
var event = new window.ErrorEvent("error", {
|
|
276
|
-
bubbles: !0,
|
|
277
|
-
cancelable: !0,
|
|
278
|
-
message:
|
|
279
|
-
"object" === typeof error &&
|
|
280
|
-
null !== error &&
|
|
281
|
-
"string" === typeof error.message
|
|
282
|
-
? String(error.message)
|
|
283
|
-
: String(error),
|
|
284
|
-
error: error
|
|
285
|
-
});
|
|
286
|
-
if (!window.dispatchEvent(event)) return;
|
|
287
|
-
} else if (
|
|
288
|
-
"object" === typeof process &&
|
|
289
|
-
"function" === typeof process.emit
|
|
290
|
-
) {
|
|
291
|
-
process.emit("uncaughtException", error);
|
|
292
|
-
return;
|
|
293
|
-
}
|
|
294
|
-
console.error(error);
|
|
295
|
-
};
|
|
296
|
-
function noop() {}
|
|
297
267
|
exports.Children = {
|
|
298
268
|
map: mapChildren,
|
|
299
269
|
forEach: function (children, forEachFunc, forEachContext) {
|
|
@@ -370,6 +340,9 @@ exports.cache = function (fn) {
|
|
|
370
340
|
}
|
|
371
341
|
};
|
|
372
342
|
};
|
|
343
|
+
exports.captureOwnerStack = function () {
|
|
344
|
+
return null;
|
|
345
|
+
};
|
|
373
346
|
exports.cloneElement = function (element, config, children) {
|
|
374
347
|
if (null === element || void 0 === element)
|
|
375
348
|
throw Error(formatProdErrorMessage(267, element));
|
|
@@ -393,7 +366,7 @@ exports.cloneElement = function (element, config, children) {
|
|
|
393
366
|
childArray[i] = arguments[i + 2];
|
|
394
367
|
props.children = childArray;
|
|
395
368
|
}
|
|
396
|
-
return ReactElement(element.type, key,
|
|
369
|
+
return ReactElement(element.type, key, void 0, void 0, owner, props);
|
|
397
370
|
};
|
|
398
371
|
exports.createElement = function (type, config, children) {
|
|
399
372
|
var propName,
|
|
@@ -417,7 +390,7 @@ exports.createElement = function (type, config, children) {
|
|
|
417
390
|
for (propName in ((childrenLength = type.defaultProps), childrenLength))
|
|
418
391
|
void 0 === props[propName] &&
|
|
419
392
|
(props[propName] = childrenLength[propName]);
|
|
420
|
-
return ReactElement(type, key,
|
|
393
|
+
return ReactElement(type, key, void 0, void 0, null, props);
|
|
421
394
|
};
|
|
422
395
|
exports.createRef = function () {
|
|
423
396
|
return { current: null };
|
|
@@ -440,32 +413,9 @@ exports.memo = function (type, compare) {
|
|
|
440
413
|
compare: void 0 === compare ? null : compare
|
|
441
414
|
};
|
|
442
415
|
};
|
|
443
|
-
exports.startTransition = function (scope) {
|
|
444
|
-
var prevTransition = ReactSharedInternals.T,
|
|
445
|
-
callbacks = new Set();
|
|
446
|
-
ReactSharedInternals.T = { _callbacks: callbacks };
|
|
447
|
-
var currentTransition = ReactSharedInternals.T;
|
|
448
|
-
try {
|
|
449
|
-
var returnValue = scope();
|
|
450
|
-
"object" === typeof returnValue &&
|
|
451
|
-
null !== returnValue &&
|
|
452
|
-
"function" === typeof returnValue.then &&
|
|
453
|
-
(callbacks.forEach(function (callback) {
|
|
454
|
-
return callback(currentTransition, returnValue);
|
|
455
|
-
}),
|
|
456
|
-
returnValue.then(noop, reportGlobalError));
|
|
457
|
-
} catch (error) {
|
|
458
|
-
reportGlobalError(error);
|
|
459
|
-
} finally {
|
|
460
|
-
ReactSharedInternals.T = prevTransition;
|
|
461
|
-
}
|
|
462
|
-
};
|
|
463
416
|
exports.use = function (usable) {
|
|
464
417
|
return ReactSharedInternals.H.use(usable);
|
|
465
418
|
};
|
|
466
|
-
exports.useActionState = function (action, initialState, permalink) {
|
|
467
|
-
return ReactSharedInternals.H.useActionState(action, initialState, permalink);
|
|
468
|
-
};
|
|
469
419
|
exports.useCallback = function (callback, deps) {
|
|
470
420
|
return ReactSharedInternals.H.useCallback(callback, deps);
|
|
471
421
|
};
|
|
@@ -476,4 +426,4 @@ exports.useId = function () {
|
|
|
476
426
|
exports.useMemo = function (create, deps) {
|
|
477
427
|
return ReactSharedInternals.H.useMemo(create, deps);
|
|
478
428
|
};
|
|
479
|
-
exports.version = "19.
|
|
429
|
+
exports.version = "19.2.0-canary-5252281c-20250408";
|