react-markup 0.0.0-experimental-77b637d6-20241016 → 0.0.0-experimental-b8ae38f8-20241018
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.
|
@@ -4003,64 +4003,64 @@
|
|
|
4003
4003
|
previousDispatcher = ReactSharedInternals.H;
|
|
4004
4004
|
ReactSharedInternals.H = null;
|
|
4005
4005
|
disableLogs();
|
|
4006
|
-
|
|
4007
|
-
|
|
4008
|
-
|
|
4009
|
-
|
|
4010
|
-
|
|
4011
|
-
|
|
4012
|
-
};
|
|
4013
|
-
Object.defineProperty(Fake.prototype, "props", {
|
|
4014
|
-
set: function () {
|
|
4006
|
+
try {
|
|
4007
|
+
var RunInRootFrame = {
|
|
4008
|
+
DetermineComponentFrameRoot: function () {
|
|
4009
|
+
try {
|
|
4010
|
+
if (construct) {
|
|
4011
|
+
var Fake = function () {
|
|
4015
4012
|
throw Error();
|
|
4013
|
+
};
|
|
4014
|
+
Object.defineProperty(Fake.prototype, "props", {
|
|
4015
|
+
set: function () {
|
|
4016
|
+
throw Error();
|
|
4017
|
+
}
|
|
4018
|
+
});
|
|
4019
|
+
if ("object" === typeof Reflect && Reflect.construct) {
|
|
4020
|
+
try {
|
|
4021
|
+
Reflect.construct(Fake, []);
|
|
4022
|
+
} catch (x) {
|
|
4023
|
+
var control = x;
|
|
4024
|
+
}
|
|
4025
|
+
Reflect.construct(fn, [], Fake);
|
|
4026
|
+
} else {
|
|
4027
|
+
try {
|
|
4028
|
+
Fake.call();
|
|
4029
|
+
} catch (x$0) {
|
|
4030
|
+
control = x$0;
|
|
4031
|
+
}
|
|
4032
|
+
fn.call(Fake.prototype);
|
|
4016
4033
|
}
|
|
4017
|
-
});
|
|
4018
|
-
if ("object" === typeof Reflect && Reflect.construct) {
|
|
4019
|
-
try {
|
|
4020
|
-
Reflect.construct(Fake, []);
|
|
4021
|
-
} catch (x) {
|
|
4022
|
-
var control = x;
|
|
4023
|
-
}
|
|
4024
|
-
Reflect.construct(fn, [], Fake);
|
|
4025
4034
|
} else {
|
|
4026
4035
|
try {
|
|
4027
|
-
|
|
4028
|
-
} catch (x$
|
|
4029
|
-
control = x$
|
|
4036
|
+
throw Error();
|
|
4037
|
+
} catch (x$1) {
|
|
4038
|
+
control = x$1;
|
|
4030
4039
|
}
|
|
4031
|
-
fn
|
|
4040
|
+
(Fake = fn()) &&
|
|
4041
|
+
"function" === typeof Fake.catch &&
|
|
4042
|
+
Fake.catch(function () {});
|
|
4032
4043
|
}
|
|
4033
|
-
}
|
|
4034
|
-
|
|
4035
|
-
|
|
4036
|
-
} catch (x$1) {
|
|
4037
|
-
control = x$1;
|
|
4038
|
-
}
|
|
4039
|
-
(Fake = fn()) &&
|
|
4040
|
-
"function" === typeof Fake.catch &&
|
|
4041
|
-
Fake.catch(function () {});
|
|
4044
|
+
} catch (sample) {
|
|
4045
|
+
if (sample && control && "string" === typeof sample.stack)
|
|
4046
|
+
return [sample.stack, control.stack];
|
|
4042
4047
|
}
|
|
4043
|
-
|
|
4044
|
-
if (sample && control && "string" === typeof sample.stack)
|
|
4045
|
-
return [sample.stack, control.stack];
|
|
4048
|
+
return [null, null];
|
|
4046
4049
|
}
|
|
4047
|
-
|
|
4048
|
-
|
|
4049
|
-
|
|
4050
|
-
|
|
4051
|
-
"DetermineComponentFrameRoot";
|
|
4052
|
-
var namePropDescriptor = Object.getOwnPropertyDescriptor(
|
|
4053
|
-
RunInRootFrame.DetermineComponentFrameRoot,
|
|
4054
|
-
"name"
|
|
4055
|
-
);
|
|
4056
|
-
namePropDescriptor &&
|
|
4057
|
-
namePropDescriptor.configurable &&
|
|
4058
|
-
Object.defineProperty(
|
|
4050
|
+
};
|
|
4051
|
+
RunInRootFrame.DetermineComponentFrameRoot.displayName =
|
|
4052
|
+
"DetermineComponentFrameRoot";
|
|
4053
|
+
var namePropDescriptor = Object.getOwnPropertyDescriptor(
|
|
4059
4054
|
RunInRootFrame.DetermineComponentFrameRoot,
|
|
4060
|
-
"name"
|
|
4061
|
-
{ value: "DetermineComponentFrameRoot" }
|
|
4055
|
+
"name"
|
|
4062
4056
|
);
|
|
4063
|
-
|
|
4057
|
+
namePropDescriptor &&
|
|
4058
|
+
namePropDescriptor.configurable &&
|
|
4059
|
+
Object.defineProperty(
|
|
4060
|
+
RunInRootFrame.DetermineComponentFrameRoot,
|
|
4061
|
+
"name",
|
|
4062
|
+
{ value: "DetermineComponentFrameRoot" }
|
|
4063
|
+
);
|
|
4064
4064
|
var _RunInRootFrame$Deter =
|
|
4065
4065
|
RunInRootFrame.DetermineComponentFrameRoot(),
|
|
4066
4066
|
sampleStack = _RunInRootFrame$Deter[0],
|
|
@@ -4069,54 +4069,58 @@
|
|
|
4069
4069
|
var sampleLines = sampleStack.split("\n"),
|
|
4070
4070
|
controlLines = controlStack.split("\n");
|
|
4071
4071
|
for (
|
|
4072
|
-
|
|
4073
|
-
|
|
4074
|
-
!sampleLines[
|
|
4072
|
+
_RunInRootFrame$Deter = namePropDescriptor = 0;
|
|
4073
|
+
namePropDescriptor < sampleLines.length &&
|
|
4074
|
+
!sampleLines[namePropDescriptor].includes(
|
|
4075
4075
|
"DetermineComponentFrameRoot"
|
|
4076
4076
|
);
|
|
4077
4077
|
|
|
4078
4078
|
)
|
|
4079
|
-
|
|
4079
|
+
namePropDescriptor++;
|
|
4080
4080
|
for (
|
|
4081
4081
|
;
|
|
4082
|
-
|
|
4083
|
-
!controlLines[
|
|
4082
|
+
_RunInRootFrame$Deter < controlLines.length &&
|
|
4083
|
+
!controlLines[_RunInRootFrame$Deter].includes(
|
|
4084
|
+
"DetermineComponentFrameRoot"
|
|
4085
|
+
);
|
|
4084
4086
|
|
|
4085
4087
|
)
|
|
4086
|
-
|
|
4088
|
+
_RunInRootFrame$Deter++;
|
|
4087
4089
|
if (
|
|
4088
|
-
|
|
4089
|
-
|
|
4090
|
+
namePropDescriptor === sampleLines.length ||
|
|
4091
|
+
_RunInRootFrame$Deter === controlLines.length
|
|
4090
4092
|
)
|
|
4091
4093
|
for (
|
|
4092
|
-
|
|
4093
|
-
|
|
4094
|
-
1 <=
|
|
4095
|
-
0 <=
|
|
4096
|
-
sampleLines[
|
|
4094
|
+
namePropDescriptor = sampleLines.length - 1,
|
|
4095
|
+
_RunInRootFrame$Deter = controlLines.length - 1;
|
|
4096
|
+
1 <= namePropDescriptor &&
|
|
4097
|
+
0 <= _RunInRootFrame$Deter &&
|
|
4098
|
+
sampleLines[namePropDescriptor] !==
|
|
4099
|
+
controlLines[_RunInRootFrame$Deter];
|
|
4097
4100
|
|
|
4098
4101
|
)
|
|
4099
|
-
|
|
4102
|
+
_RunInRootFrame$Deter--;
|
|
4100
4103
|
for (
|
|
4101
4104
|
;
|
|
4102
|
-
1 <=
|
|
4103
|
-
_RunInRootFrame$Deter
|
|
4105
|
+
1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter;
|
|
4106
|
+
namePropDescriptor--, _RunInRootFrame$Deter--
|
|
4104
4107
|
)
|
|
4105
4108
|
if (
|
|
4106
|
-
sampleLines[
|
|
4109
|
+
sampleLines[namePropDescriptor] !==
|
|
4110
|
+
controlLines[_RunInRootFrame$Deter]
|
|
4107
4111
|
) {
|
|
4108
|
-
if (1 !==
|
|
4112
|
+
if (1 !== namePropDescriptor || 1 !== _RunInRootFrame$Deter) {
|
|
4109
4113
|
do
|
|
4110
4114
|
if (
|
|
4111
|
-
(
|
|
4112
|
-
|
|
4113
|
-
0 >
|
|
4114
|
-
sampleLines[
|
|
4115
|
-
controlLines[
|
|
4115
|
+
(namePropDescriptor--,
|
|
4116
|
+
_RunInRootFrame$Deter--,
|
|
4117
|
+
0 > _RunInRootFrame$Deter ||
|
|
4118
|
+
sampleLines[namePropDescriptor] !==
|
|
4119
|
+
controlLines[_RunInRootFrame$Deter])
|
|
4116
4120
|
) {
|
|
4117
4121
|
var _frame =
|
|
4118
4122
|
"\n" +
|
|
4119
|
-
sampleLines[
|
|
4123
|
+
sampleLines[namePropDescriptor].replace(
|
|
4120
4124
|
" at new ",
|
|
4121
4125
|
" at "
|
|
4122
4126
|
);
|
|
@@ -4127,7 +4131,7 @@
|
|
|
4127
4131
|
componentFrameCache.set(fn, _frame);
|
|
4128
4132
|
return _frame;
|
|
4129
4133
|
}
|
|
4130
|
-
while (1 <=
|
|
4134
|
+
while (1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter);
|
|
4131
4135
|
}
|
|
4132
4136
|
break;
|
|
4133
4137
|
}
|
|
@@ -8625,5 +8629,5 @@
|
|
|
8625
8629
|
});
|
|
8626
8630
|
});
|
|
8627
8631
|
};
|
|
8628
|
-
exports.version = "19.0.0-experimental-
|
|
8632
|
+
exports.version = "19.0.0-experimental-b8ae38f8-20241018";
|
|
8629
8633
|
})();
|
|
@@ -3029,62 +3029,64 @@ function describeNativeComponentFrame(fn, construct) {
|
|
|
3029
3029
|
reentry = !0;
|
|
3030
3030
|
var previousPrepareStackTrace = Error.prepareStackTrace;
|
|
3031
3031
|
Error.prepareStackTrace = void 0;
|
|
3032
|
-
|
|
3033
|
-
|
|
3034
|
-
|
|
3035
|
-
|
|
3036
|
-
|
|
3037
|
-
|
|
3038
|
-
};
|
|
3039
|
-
Object.defineProperty(Fake.prototype, "props", {
|
|
3040
|
-
set: function () {
|
|
3032
|
+
try {
|
|
3033
|
+
var RunInRootFrame = {
|
|
3034
|
+
DetermineComponentFrameRoot: function () {
|
|
3035
|
+
try {
|
|
3036
|
+
if (construct) {
|
|
3037
|
+
var Fake = function () {
|
|
3041
3038
|
throw Error();
|
|
3039
|
+
};
|
|
3040
|
+
Object.defineProperty(Fake.prototype, "props", {
|
|
3041
|
+
set: function () {
|
|
3042
|
+
throw Error();
|
|
3043
|
+
}
|
|
3044
|
+
});
|
|
3045
|
+
if ("object" === typeof Reflect && Reflect.construct) {
|
|
3046
|
+
try {
|
|
3047
|
+
Reflect.construct(Fake, []);
|
|
3048
|
+
} catch (x) {
|
|
3049
|
+
var control = x;
|
|
3050
|
+
}
|
|
3051
|
+
Reflect.construct(fn, [], Fake);
|
|
3052
|
+
} else {
|
|
3053
|
+
try {
|
|
3054
|
+
Fake.call();
|
|
3055
|
+
} catch (x$14) {
|
|
3056
|
+
control = x$14;
|
|
3057
|
+
}
|
|
3058
|
+
fn.call(Fake.prototype);
|
|
3042
3059
|
}
|
|
3043
|
-
});
|
|
3044
|
-
if ("object" === typeof Reflect && Reflect.construct) {
|
|
3045
|
-
try {
|
|
3046
|
-
Reflect.construct(Fake, []);
|
|
3047
|
-
} catch (x) {
|
|
3048
|
-
var control = x;
|
|
3049
|
-
}
|
|
3050
|
-
Reflect.construct(fn, [], Fake);
|
|
3051
3060
|
} else {
|
|
3052
3061
|
try {
|
|
3053
|
-
|
|
3054
|
-
} catch (x$
|
|
3055
|
-
control = x$
|
|
3062
|
+
throw Error();
|
|
3063
|
+
} catch (x$15) {
|
|
3064
|
+
control = x$15;
|
|
3056
3065
|
}
|
|
3057
|
-
fn
|
|
3058
|
-
|
|
3059
|
-
|
|
3060
|
-
try {
|
|
3061
|
-
throw Error();
|
|
3062
|
-
} catch (x$15) {
|
|
3063
|
-
control = x$15;
|
|
3066
|
+
(Fake = fn()) &&
|
|
3067
|
+
"function" === typeof Fake.catch &&
|
|
3068
|
+
Fake.catch(function () {});
|
|
3064
3069
|
}
|
|
3065
|
-
|
|
3066
|
-
|
|
3067
|
-
|
|
3070
|
+
} catch (sample) {
|
|
3071
|
+
if (sample && control && "string" === typeof sample.stack)
|
|
3072
|
+
return [sample.stack, control.stack];
|
|
3068
3073
|
}
|
|
3069
|
-
|
|
3070
|
-
if (sample && control && "string" === typeof sample.stack)
|
|
3071
|
-
return [sample.stack, control.stack];
|
|
3074
|
+
return [null, null];
|
|
3072
3075
|
}
|
|
3073
|
-
|
|
3074
|
-
|
|
3075
|
-
|
|
3076
|
-
|
|
3077
|
-
|
|
3078
|
-
|
|
3079
|
-
|
|
3080
|
-
|
|
3081
|
-
|
|
3082
|
-
|
|
3083
|
-
|
|
3084
|
-
|
|
3085
|
-
|
|
3086
|
-
|
|
3087
|
-
try {
|
|
3076
|
+
};
|
|
3077
|
+
RunInRootFrame.DetermineComponentFrameRoot.displayName =
|
|
3078
|
+
"DetermineComponentFrameRoot";
|
|
3079
|
+
var namePropDescriptor = Object.getOwnPropertyDescriptor(
|
|
3080
|
+
RunInRootFrame.DetermineComponentFrameRoot,
|
|
3081
|
+
"name"
|
|
3082
|
+
);
|
|
3083
|
+
namePropDescriptor &&
|
|
3084
|
+
namePropDescriptor.configurable &&
|
|
3085
|
+
Object.defineProperty(
|
|
3086
|
+
RunInRootFrame.DetermineComponentFrameRoot,
|
|
3087
|
+
"name",
|
|
3088
|
+
{ value: "DetermineComponentFrameRoot" }
|
|
3089
|
+
);
|
|
3088
3090
|
var _RunInRootFrame$Deter = RunInRootFrame.DetermineComponentFrameRoot(),
|
|
3089
3091
|
sampleStack = _RunInRootFrame$Deter[0],
|
|
3090
3092
|
controlStack = _RunInRootFrame$Deter[1];
|
|
@@ -5703,4 +5705,4 @@ exports.experimental_renderToHTML = function (children, options) {
|
|
|
5703
5705
|
});
|
|
5704
5706
|
});
|
|
5705
5707
|
};
|
|
5706
|
-
exports.version = "19.0.0-experimental-
|
|
5708
|
+
exports.version = "19.0.0-experimental-b8ae38f8-20241018";
|
|
@@ -281,64 +281,64 @@
|
|
|
281
281
|
previousDispatcher = ReactSharedInternals$1.H;
|
|
282
282
|
ReactSharedInternals$1.H = null;
|
|
283
283
|
disableLogs();
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
};
|
|
291
|
-
Object.defineProperty(Fake.prototype, "props", {
|
|
292
|
-
set: function () {
|
|
284
|
+
try {
|
|
285
|
+
var RunInRootFrame = {
|
|
286
|
+
DetermineComponentFrameRoot: function () {
|
|
287
|
+
try {
|
|
288
|
+
if (construct) {
|
|
289
|
+
var Fake = function () {
|
|
293
290
|
throw Error();
|
|
291
|
+
};
|
|
292
|
+
Object.defineProperty(Fake.prototype, "props", {
|
|
293
|
+
set: function () {
|
|
294
|
+
throw Error();
|
|
295
|
+
}
|
|
296
|
+
});
|
|
297
|
+
if ("object" === typeof Reflect && Reflect.construct) {
|
|
298
|
+
try {
|
|
299
|
+
Reflect.construct(Fake, []);
|
|
300
|
+
} catch (x) {
|
|
301
|
+
var control = x;
|
|
302
|
+
}
|
|
303
|
+
Reflect.construct(fn, [], Fake);
|
|
304
|
+
} else {
|
|
305
|
+
try {
|
|
306
|
+
Fake.call();
|
|
307
|
+
} catch (x$0) {
|
|
308
|
+
control = x$0;
|
|
309
|
+
}
|
|
310
|
+
fn.call(Fake.prototype);
|
|
294
311
|
}
|
|
295
|
-
});
|
|
296
|
-
if ("object" === typeof Reflect && Reflect.construct) {
|
|
297
|
-
try {
|
|
298
|
-
Reflect.construct(Fake, []);
|
|
299
|
-
} catch (x) {
|
|
300
|
-
var control = x;
|
|
301
|
-
}
|
|
302
|
-
Reflect.construct(fn, [], Fake);
|
|
303
312
|
} else {
|
|
304
313
|
try {
|
|
305
|
-
|
|
306
|
-
} catch (x$
|
|
307
|
-
control = x$
|
|
314
|
+
throw Error();
|
|
315
|
+
} catch (x$1) {
|
|
316
|
+
control = x$1;
|
|
308
317
|
}
|
|
309
|
-
fn
|
|
318
|
+
(Fake = fn()) &&
|
|
319
|
+
"function" === typeof Fake.catch &&
|
|
320
|
+
Fake.catch(function () {});
|
|
310
321
|
}
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
} catch (x$1) {
|
|
315
|
-
control = x$1;
|
|
316
|
-
}
|
|
317
|
-
(Fake = fn()) &&
|
|
318
|
-
"function" === typeof Fake.catch &&
|
|
319
|
-
Fake.catch(function () {});
|
|
322
|
+
} catch (sample) {
|
|
323
|
+
if (sample && control && "string" === typeof sample.stack)
|
|
324
|
+
return [sample.stack, control.stack];
|
|
320
325
|
}
|
|
321
|
-
|
|
322
|
-
if (sample && control && "string" === typeof sample.stack)
|
|
323
|
-
return [sample.stack, control.stack];
|
|
326
|
+
return [null, null];
|
|
324
327
|
}
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
"DetermineComponentFrameRoot";
|
|
330
|
-
var namePropDescriptor = Object.getOwnPropertyDescriptor(
|
|
331
|
-
RunInRootFrame.DetermineComponentFrameRoot,
|
|
332
|
-
"name"
|
|
333
|
-
);
|
|
334
|
-
namePropDescriptor &&
|
|
335
|
-
namePropDescriptor.configurable &&
|
|
336
|
-
Object.defineProperty(
|
|
328
|
+
};
|
|
329
|
+
RunInRootFrame.DetermineComponentFrameRoot.displayName =
|
|
330
|
+
"DetermineComponentFrameRoot";
|
|
331
|
+
var namePropDescriptor = Object.getOwnPropertyDescriptor(
|
|
337
332
|
RunInRootFrame.DetermineComponentFrameRoot,
|
|
338
|
-
"name"
|
|
339
|
-
{ value: "DetermineComponentFrameRoot" }
|
|
333
|
+
"name"
|
|
340
334
|
);
|
|
341
|
-
|
|
335
|
+
namePropDescriptor &&
|
|
336
|
+
namePropDescriptor.configurable &&
|
|
337
|
+
Object.defineProperty(
|
|
338
|
+
RunInRootFrame.DetermineComponentFrameRoot,
|
|
339
|
+
"name",
|
|
340
|
+
{ value: "DetermineComponentFrameRoot" }
|
|
341
|
+
);
|
|
342
342
|
var _RunInRootFrame$Deter =
|
|
343
343
|
RunInRootFrame.DetermineComponentFrameRoot(),
|
|
344
344
|
sampleStack = _RunInRootFrame$Deter[0],
|
|
@@ -347,54 +347,58 @@
|
|
|
347
347
|
var sampleLines = sampleStack.split("\n"),
|
|
348
348
|
controlLines = controlStack.split("\n");
|
|
349
349
|
for (
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
!sampleLines[
|
|
350
|
+
_RunInRootFrame$Deter = namePropDescriptor = 0;
|
|
351
|
+
namePropDescriptor < sampleLines.length &&
|
|
352
|
+
!sampleLines[namePropDescriptor].includes(
|
|
353
353
|
"DetermineComponentFrameRoot"
|
|
354
354
|
);
|
|
355
355
|
|
|
356
356
|
)
|
|
357
|
-
|
|
357
|
+
namePropDescriptor++;
|
|
358
358
|
for (
|
|
359
359
|
;
|
|
360
|
-
|
|
361
|
-
!controlLines[
|
|
360
|
+
_RunInRootFrame$Deter < controlLines.length &&
|
|
361
|
+
!controlLines[_RunInRootFrame$Deter].includes(
|
|
362
|
+
"DetermineComponentFrameRoot"
|
|
363
|
+
);
|
|
362
364
|
|
|
363
365
|
)
|
|
364
|
-
|
|
366
|
+
_RunInRootFrame$Deter++;
|
|
365
367
|
if (
|
|
366
|
-
|
|
367
|
-
|
|
368
|
+
namePropDescriptor === sampleLines.length ||
|
|
369
|
+
_RunInRootFrame$Deter === controlLines.length
|
|
368
370
|
)
|
|
369
371
|
for (
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
1 <=
|
|
373
|
-
0 <=
|
|
374
|
-
sampleLines[
|
|
372
|
+
namePropDescriptor = sampleLines.length - 1,
|
|
373
|
+
_RunInRootFrame$Deter = controlLines.length - 1;
|
|
374
|
+
1 <= namePropDescriptor &&
|
|
375
|
+
0 <= _RunInRootFrame$Deter &&
|
|
376
|
+
sampleLines[namePropDescriptor] !==
|
|
377
|
+
controlLines[_RunInRootFrame$Deter];
|
|
375
378
|
|
|
376
379
|
)
|
|
377
|
-
|
|
380
|
+
_RunInRootFrame$Deter--;
|
|
378
381
|
for (
|
|
379
382
|
;
|
|
380
|
-
1 <=
|
|
381
|
-
_RunInRootFrame$Deter
|
|
383
|
+
1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter;
|
|
384
|
+
namePropDescriptor--, _RunInRootFrame$Deter--
|
|
382
385
|
)
|
|
383
386
|
if (
|
|
384
|
-
sampleLines[
|
|
387
|
+
sampleLines[namePropDescriptor] !==
|
|
388
|
+
controlLines[_RunInRootFrame$Deter]
|
|
385
389
|
) {
|
|
386
|
-
if (1 !==
|
|
390
|
+
if (1 !== namePropDescriptor || 1 !== _RunInRootFrame$Deter) {
|
|
387
391
|
do
|
|
388
392
|
if (
|
|
389
|
-
(
|
|
390
|
-
|
|
391
|
-
0 >
|
|
392
|
-
sampleLines[
|
|
393
|
-
controlLines[
|
|
393
|
+
(namePropDescriptor--,
|
|
394
|
+
_RunInRootFrame$Deter--,
|
|
395
|
+
0 > _RunInRootFrame$Deter ||
|
|
396
|
+
sampleLines[namePropDescriptor] !==
|
|
397
|
+
controlLines[_RunInRootFrame$Deter])
|
|
394
398
|
) {
|
|
395
399
|
var _frame =
|
|
396
400
|
"\n" +
|
|
397
|
-
sampleLines[
|
|
401
|
+
sampleLines[namePropDescriptor].replace(
|
|
398
402
|
" at new ",
|
|
399
403
|
" at "
|
|
400
404
|
);
|
|
@@ -405,7 +409,7 @@
|
|
|
405
409
|
componentFrameCache.set(fn, _frame);
|
|
406
410
|
return _frame;
|
|
407
411
|
}
|
|
408
|
-
while (1 <=
|
|
412
|
+
while (1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter);
|
|
409
413
|
}
|
|
410
414
|
break;
|
|
411
415
|
}
|
|
@@ -13142,5 +13146,5 @@
|
|
|
13142
13146
|
});
|
|
13143
13147
|
});
|
|
13144
13148
|
};
|
|
13145
|
-
exports.version = "19.0.0-experimental-
|
|
13149
|
+
exports.version = "19.0.0-experimental-b8ae38f8-20241018";
|
|
13146
13150
|
})();
|
|
@@ -294,62 +294,64 @@ function describeNativeComponentFrame(fn, construct) {
|
|
|
294
294
|
reentry = !0;
|
|
295
295
|
var previousPrepareStackTrace = Error.prepareStackTrace;
|
|
296
296
|
Error.prepareStackTrace = void 0;
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
};
|
|
304
|
-
Object.defineProperty(Fake.prototype, "props", {
|
|
305
|
-
set: function () {
|
|
297
|
+
try {
|
|
298
|
+
var RunInRootFrame = {
|
|
299
|
+
DetermineComponentFrameRoot: function () {
|
|
300
|
+
try {
|
|
301
|
+
if (construct) {
|
|
302
|
+
var Fake = function () {
|
|
306
303
|
throw Error();
|
|
304
|
+
};
|
|
305
|
+
Object.defineProperty(Fake.prototype, "props", {
|
|
306
|
+
set: function () {
|
|
307
|
+
throw Error();
|
|
308
|
+
}
|
|
309
|
+
});
|
|
310
|
+
if ("object" === typeof Reflect && Reflect.construct) {
|
|
311
|
+
try {
|
|
312
|
+
Reflect.construct(Fake, []);
|
|
313
|
+
} catch (x) {
|
|
314
|
+
var control = x;
|
|
315
|
+
}
|
|
316
|
+
Reflect.construct(fn, [], Fake);
|
|
317
|
+
} else {
|
|
318
|
+
try {
|
|
319
|
+
Fake.call();
|
|
320
|
+
} catch (x$3) {
|
|
321
|
+
control = x$3;
|
|
322
|
+
}
|
|
323
|
+
fn.call(Fake.prototype);
|
|
307
324
|
}
|
|
308
|
-
});
|
|
309
|
-
if ("object" === typeof Reflect && Reflect.construct) {
|
|
310
|
-
try {
|
|
311
|
-
Reflect.construct(Fake, []);
|
|
312
|
-
} catch (x) {
|
|
313
|
-
var control = x;
|
|
314
|
-
}
|
|
315
|
-
Reflect.construct(fn, [], Fake);
|
|
316
325
|
} else {
|
|
317
326
|
try {
|
|
318
|
-
|
|
319
|
-
} catch (x$
|
|
320
|
-
control = x$
|
|
327
|
+
throw Error();
|
|
328
|
+
} catch (x$4) {
|
|
329
|
+
control = x$4;
|
|
321
330
|
}
|
|
322
|
-
fn
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
try {
|
|
326
|
-
throw Error();
|
|
327
|
-
} catch (x$4) {
|
|
328
|
-
control = x$4;
|
|
331
|
+
(Fake = fn()) &&
|
|
332
|
+
"function" === typeof Fake.catch &&
|
|
333
|
+
Fake.catch(function () {});
|
|
329
334
|
}
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
335
|
+
} catch (sample) {
|
|
336
|
+
if (sample && control && "string" === typeof sample.stack)
|
|
337
|
+
return [sample.stack, control.stack];
|
|
333
338
|
}
|
|
334
|
-
|
|
335
|
-
if (sample && control && "string" === typeof sample.stack)
|
|
336
|
-
return [sample.stack, control.stack];
|
|
339
|
+
return [null, null];
|
|
337
340
|
}
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
try {
|
|
341
|
+
};
|
|
342
|
+
RunInRootFrame.DetermineComponentFrameRoot.displayName =
|
|
343
|
+
"DetermineComponentFrameRoot";
|
|
344
|
+
var namePropDescriptor = Object.getOwnPropertyDescriptor(
|
|
345
|
+
RunInRootFrame.DetermineComponentFrameRoot,
|
|
346
|
+
"name"
|
|
347
|
+
);
|
|
348
|
+
namePropDescriptor &&
|
|
349
|
+
namePropDescriptor.configurable &&
|
|
350
|
+
Object.defineProperty(
|
|
351
|
+
RunInRootFrame.DetermineComponentFrameRoot,
|
|
352
|
+
"name",
|
|
353
|
+
{ value: "DetermineComponentFrameRoot" }
|
|
354
|
+
);
|
|
353
355
|
var _RunInRootFrame$Deter = RunInRootFrame.DetermineComponentFrameRoot(),
|
|
354
356
|
sampleStack = _RunInRootFrame$Deter[0],
|
|
355
357
|
controlStack = _RunInRootFrame$Deter[1];
|
|
@@ -8681,4 +8683,4 @@ exports.experimental_renderToHTML = function (children, options) {
|
|
|
8681
8683
|
});
|
|
8682
8684
|
});
|
|
8683
8685
|
};
|
|
8684
|
-
exports.version = "19.0.0-experimental-
|
|
8686
|
+
exports.version = "19.0.0-experimental-b8ae38f8-20241018";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-markup",
|
|
3
|
-
"version": "0.0.0-experimental-
|
|
3
|
+
"version": "0.0.0-experimental-b8ae38f8-20241018",
|
|
4
4
|
"description": "React package generating embedded markup such as e-mails with support for Server Components.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"repository": {
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
},
|
|
18
18
|
"homepage": "https://react.dev/",
|
|
19
19
|
"peerDependencies": {
|
|
20
|
-
"react": "0.0.0-experimental-
|
|
20
|
+
"react": "0.0.0-experimental-b8ae38f8-20241018"
|
|
21
21
|
},
|
|
22
22
|
"files": [
|
|
23
23
|
"LICENSE",
|