react-markup 0.0.0-experimental-befc1246-20250708 → 0.0.0-experimental-e6dc25da-20250709
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.
|
@@ -136,72 +136,77 @@
|
|
|
136
136
|
);
|
|
137
137
|
});
|
|
138
138
|
}
|
|
139
|
-
function
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
i < structuredStackTrace.length;
|
|
143
|
-
i++
|
|
144
|
-
) {
|
|
139
|
+
function collectStackTracePrivate(error, structuredStackTrace) {
|
|
140
|
+
error = [];
|
|
141
|
+
for (var i = framesToSkip; i < structuredStackTrace.length; i++) {
|
|
145
142
|
var callSite = structuredStackTrace[i],
|
|
146
|
-
|
|
147
|
-
if (
|
|
148
|
-
else if (callSite.isNative())
|
|
143
|
+
name = callSite.getFunctionName() || "<anonymous>";
|
|
144
|
+
if (name.includes("react_stack_bottom_frame")) break;
|
|
145
|
+
else if (callSite.isNative())
|
|
146
|
+
(callSite = callSite.isAsync()),
|
|
147
|
+
error.push([name, "", 0, 0, 0, 0, callSite]);
|
|
149
148
|
else {
|
|
150
|
-
if (callSite.isConstructor())
|
|
149
|
+
if (callSite.isConstructor()) name = "new " + name;
|
|
151
150
|
else if (!callSite.isToplevel()) {
|
|
152
151
|
var callSite$jscomp$0 = callSite;
|
|
153
|
-
|
|
152
|
+
name = callSite$jscomp$0.getTypeName();
|
|
154
153
|
var methodName = callSite$jscomp$0.getMethodName();
|
|
155
154
|
callSite$jscomp$0 = callSite$jscomp$0.getFunctionName();
|
|
156
|
-
var result
|
|
155
|
+
var result = "";
|
|
157
156
|
callSite$jscomp$0
|
|
158
|
-
? (
|
|
157
|
+
? (name &&
|
|
159
158
|
identifierRegExp.test(callSite$jscomp$0) &&
|
|
160
|
-
callSite$jscomp$0 !==
|
|
161
|
-
(result
|
|
162
|
-
(result
|
|
159
|
+
callSite$jscomp$0 !== name &&
|
|
160
|
+
(result += name + "."),
|
|
161
|
+
(result += callSite$jscomp$0),
|
|
163
162
|
!methodName ||
|
|
164
163
|
callSite$jscomp$0 === methodName ||
|
|
165
164
|
callSite$jscomp$0.endsWith("." + methodName) ||
|
|
166
165
|
callSite$jscomp$0.endsWith(" " + methodName) ||
|
|
167
|
-
(result
|
|
168
|
-
: (
|
|
169
|
-
(result
|
|
170
|
-
? result
|
|
171
|
-
: result
|
|
172
|
-
|
|
166
|
+
(result += " [as " + methodName + "]"))
|
|
167
|
+
: (name && (result += name + "."),
|
|
168
|
+
(result = methodName
|
|
169
|
+
? result + methodName
|
|
170
|
+
: result + "<anonymous>"));
|
|
171
|
+
name = result;
|
|
173
172
|
}
|
|
174
|
-
"<anonymous>" ===
|
|
173
|
+
"<anonymous>" === name && (name = "");
|
|
175
174
|
methodName = callSite.getScriptNameOrSourceURL() || "<anonymous>";
|
|
176
|
-
"<anonymous>" === methodName &&
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
175
|
+
"<anonymous>" === methodName &&
|
|
176
|
+
((methodName = ""),
|
|
177
|
+
callSite.isEval() &&
|
|
178
|
+
(callSite$jscomp$0 = callSite.getEvalOrigin()) &&
|
|
179
|
+
(methodName = callSite$jscomp$0.toString() + ", <anonymous>"));
|
|
181
180
|
callSite$jscomp$0 = callSite.getLineNumber() || 0;
|
|
182
|
-
result
|
|
181
|
+
result = callSite.getColumnNumber() || 0;
|
|
183
182
|
var enclosingLine =
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
183
|
+
"function" === typeof callSite.getEnclosingLineNumber
|
|
184
|
+
? callSite.getEnclosingLineNumber() || 0
|
|
185
|
+
: 0,
|
|
186
|
+
enclosingCol =
|
|
187
|
+
"function" === typeof callSite.getEnclosingColumnNumber
|
|
188
|
+
? callSite.getEnclosingColumnNumber() || 0
|
|
189
|
+
: 0;
|
|
190
|
+
callSite = callSite.isAsync();
|
|
191
|
+
error.push([
|
|
192
|
+
name,
|
|
193
193
|
methodName,
|
|
194
194
|
callSite$jscomp$0,
|
|
195
|
-
result
|
|
195
|
+
result,
|
|
196
196
|
enclosingLine,
|
|
197
|
+
enclosingCol,
|
|
197
198
|
callSite
|
|
198
199
|
]);
|
|
199
200
|
}
|
|
200
201
|
}
|
|
202
|
+
collectedStackTrace = error;
|
|
203
|
+
return "";
|
|
204
|
+
}
|
|
205
|
+
function collectStackTrace(error, structuredStackTrace) {
|
|
206
|
+
collectStackTracePrivate(error, structuredStackTrace);
|
|
201
207
|
error = (error.name || "Error") + ": " + (error.message || "");
|
|
202
|
-
for (i = 0; i < structuredStackTrace.length; i++)
|
|
208
|
+
for (var i = 0; i < structuredStackTrace.length; i++)
|
|
203
209
|
error += "\n at " + structuredStackTrace[i].toString();
|
|
204
|
-
collectedStackTrace = result;
|
|
205
210
|
return error;
|
|
206
211
|
}
|
|
207
212
|
function parseStackTrace(error, skipFrames) {
|
|
@@ -218,10 +223,10 @@
|
|
|
218
223
|
}
|
|
219
224
|
if (null !== collectedStackTrace)
|
|
220
225
|
return (
|
|
221
|
-
(
|
|
226
|
+
(stack = collectedStackTrace),
|
|
222
227
|
(collectedStackTrace = null),
|
|
223
|
-
stackTraceCache.set(error,
|
|
224
|
-
|
|
228
|
+
stackTraceCache.set(error, stack),
|
|
229
|
+
stack
|
|
225
230
|
);
|
|
226
231
|
stack.startsWith("Error: react-stack-top-frame\n") &&
|
|
227
232
|
(stack = stack.slice(29));
|
|
@@ -232,8 +237,12 @@
|
|
|
232
237
|
for (existing = []; skipFrames < stack.length; skipFrames++) {
|
|
233
238
|
var parsed = frameRegExp.exec(stack[skipFrames]);
|
|
234
239
|
if (parsed) {
|
|
235
|
-
var name = parsed[1] || ""
|
|
236
|
-
|
|
240
|
+
var name = parsed[1] || "",
|
|
241
|
+
isAsync = "async " === parsed[8];
|
|
242
|
+
"<anonymous>" === name
|
|
243
|
+
? (name = "")
|
|
244
|
+
: name.startsWith("async ") &&
|
|
245
|
+
((name = name.slice(5)), (isAsync = !0));
|
|
237
246
|
var filename = parsed[2] || parsed[5] || "";
|
|
238
247
|
"<anonymous>" === filename && (filename = "");
|
|
239
248
|
existing.push([
|
|
@@ -242,7 +251,8 @@
|
|
|
242
251
|
+(parsed[3] || parsed[6]),
|
|
243
252
|
+(parsed[4] || parsed[7]),
|
|
244
253
|
0,
|
|
245
|
-
0
|
|
254
|
+
0,
|
|
255
|
+
isAsync
|
|
246
256
|
]);
|
|
247
257
|
}
|
|
248
258
|
}
|
|
@@ -846,13 +856,29 @@
|
|
|
846
856
|
var wrapperMethod = function () {
|
|
847
857
|
var request = currentRequest ? currentRequest : null;
|
|
848
858
|
if (("assert" !== methodName || !arguments[0]) && null !== request) {
|
|
849
|
-
|
|
859
|
+
a: {
|
|
860
|
+
var error = Error("react-stack-top-frame");
|
|
861
|
+
collectedStackTrace = null;
|
|
862
|
+
framesToSkip = 1;
|
|
863
|
+
var previousPrepare = Error.prepareStackTrace;
|
|
864
|
+
Error.prepareStackTrace = collectStackTracePrivate;
|
|
865
|
+
try {
|
|
866
|
+
if ("" !== error.stack) {
|
|
867
|
+
var JSCompiler_inline_result = null;
|
|
868
|
+
break a;
|
|
869
|
+
}
|
|
870
|
+
} finally {
|
|
871
|
+
Error.prepareStackTrace = previousPrepare;
|
|
872
|
+
}
|
|
873
|
+
JSCompiler_inline_result = collectedStackTrace;
|
|
874
|
+
}
|
|
875
|
+
JSCompiler_inline_result = filterStackTrace(
|
|
850
876
|
request,
|
|
851
|
-
|
|
877
|
+
JSCompiler_inline_result || []
|
|
852
878
|
);
|
|
853
879
|
request.pendingDebugChunks++;
|
|
854
|
-
|
|
855
|
-
|
|
880
|
+
error = resolveOwner();
|
|
881
|
+
previousPrepare = Array.from(arguments);
|
|
856
882
|
a: {
|
|
857
883
|
var env = 0;
|
|
858
884
|
switch (methodName) {
|
|
@@ -865,35 +891,40 @@
|
|
|
865
891
|
case "assert":
|
|
866
892
|
env = 1;
|
|
867
893
|
}
|
|
868
|
-
var format =
|
|
869
|
-
badge =
|
|
894
|
+
var format = previousPrepare[env],
|
|
895
|
+
badge = previousPrepare[env + 1];
|
|
870
896
|
"string" === typeof format &&
|
|
871
897
|
format.startsWith("[%s] ") &&
|
|
872
898
|
"string" === typeof badge &&
|
|
873
899
|
badge.startsWith(" ") &&
|
|
874
900
|
badge.endsWith(" ")
|
|
875
|
-
? (
|
|
901
|
+
? (previousPrepare.splice(env, 2, format.slice(5)),
|
|
876
902
|
(env = badge.slice(1, badge.length - 1)))
|
|
877
903
|
: (env = null);
|
|
878
904
|
}
|
|
879
905
|
null === env && (env = (0, request.environmentName)());
|
|
880
|
-
null !=
|
|
881
|
-
format = [methodName,
|
|
882
|
-
format.push.apply(format,
|
|
883
|
-
|
|
906
|
+
null != error && outlineComponentInfo(request, error);
|
|
907
|
+
format = [methodName, JSCompiler_inline_result, error, env];
|
|
908
|
+
format.push.apply(format, previousPrepare);
|
|
909
|
+
previousPrepare = serializeDebugModel(
|
|
884
910
|
request,
|
|
885
|
-
(null === request.deferredDebugObjects ? 500 : 10) +
|
|
911
|
+
(null === request.deferredDebugObjects ? 500 : 10) +
|
|
912
|
+
JSCompiler_inline_result.length,
|
|
886
913
|
format
|
|
887
914
|
);
|
|
888
|
-
"[" !==
|
|
889
|
-
(
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
915
|
+
"[" !== previousPrepare[0] &&
|
|
916
|
+
(previousPrepare = serializeDebugModel(
|
|
917
|
+
request,
|
|
918
|
+
10 + JSCompiler_inline_result.length,
|
|
919
|
+
[
|
|
920
|
+
methodName,
|
|
921
|
+
JSCompiler_inline_result,
|
|
922
|
+
error,
|
|
923
|
+
env,
|
|
924
|
+
"Unknown Value: React could not send it from the server."
|
|
925
|
+
]
|
|
926
|
+
));
|
|
927
|
+
request.completedDebugChunks.push(":W" + previousPrepare + "\n");
|
|
897
928
|
}
|
|
898
929
|
return originalMethod.apply(this, arguments);
|
|
899
930
|
};
|
|
@@ -1061,6 +1092,14 @@
|
|
|
1061
1092
|
}
|
|
1062
1093
|
if (request.status === ABORTING$1)
|
|
1063
1094
|
return emitDebugHaltChunk(request, id), ref;
|
|
1095
|
+
var deferredDebugObjects = request.deferredDebugObjects;
|
|
1096
|
+
if (null !== deferredDebugObjects)
|
|
1097
|
+
return (
|
|
1098
|
+
deferredDebugObjects.retained.set(id, thenable),
|
|
1099
|
+
(ref = "$Y@" + id.toString(16)),
|
|
1100
|
+
request.writtenDebugObjects.set(thenable, ref),
|
|
1101
|
+
ref
|
|
1102
|
+
);
|
|
1064
1103
|
var cancelled = !1;
|
|
1065
1104
|
thenable.then(
|
|
1066
1105
|
function (value) {
|
|
@@ -2691,6 +2730,8 @@
|
|
|
2691
2730
|
((existingDebugReference = tempRef.get(parent)),
|
|
2692
2731
|
void 0 !== existingDebugReference)
|
|
2693
2732
|
) {
|
|
2733
|
+
if (0 >= counter.objectLimit && !doNotLimit.has(value))
|
|
2734
|
+
return serializeDeferredObject(request, value);
|
|
2694
2735
|
var propertyName = parentPropertyName;
|
|
2695
2736
|
if (isArrayImpl(parent) && parent[0] === REACT_ELEMENT_TYPE)
|
|
2696
2737
|
switch (parentPropertyName) {
|
|
@@ -2707,11 +2748,12 @@
|
|
|
2707
2748
|
propertyName = "_owner";
|
|
2708
2749
|
}
|
|
2709
2750
|
tempRef.set(value, existingDebugReference + ":" + propertyName);
|
|
2710
|
-
} else if (debugNoOutline !== value)
|
|
2711
|
-
|
|
2712
|
-
|
|
2713
|
-
|
|
2714
|
-
);
|
|
2751
|
+
} else if (debugNoOutline !== value) {
|
|
2752
|
+
if ("function" === typeof value.then)
|
|
2753
|
+
return serializeDebugThenable(request, counter, value);
|
|
2754
|
+
request = outlineDebugModel(request, counter, value);
|
|
2755
|
+
return serializeByValueID$1(request);
|
|
2756
|
+
}
|
|
2715
2757
|
parent = request.writtenObjects.get(value);
|
|
2716
2758
|
if (void 0 !== parent) return parent;
|
|
2717
2759
|
if (0 >= counter.objectLimit && !doNotLimit.has(value))
|
|
@@ -3049,10 +3091,10 @@
|
|
|
3049
3091
|
start: ioInfo$jscomp$0.start - request$jscomp$0.timeOrigin,
|
|
3050
3092
|
end: ioInfo$jscomp$0.end - request$jscomp$0.timeOrigin
|
|
3051
3093
|
};
|
|
3052
|
-
void 0 !== value && (debugIOInfo.value = value);
|
|
3053
3094
|
null != env && (debugIOInfo.env = env);
|
|
3054
3095
|
null != debugStack && (debugIOInfo.stack = debugStack);
|
|
3055
3096
|
null != owner && (debugIOInfo.owner = owner);
|
|
3097
|
+
void 0 !== value && (debugIOInfo.value = value);
|
|
3056
3098
|
value = serializeDebugModel(
|
|
3057
3099
|
request$jscomp$0,
|
|
3058
3100
|
objectLimit,
|
|
@@ -5459,6 +5501,13 @@
|
|
|
5459
5501
|
}
|
|
5460
5502
|
case "Y":
|
|
5461
5503
|
if (2 < value.length && (ref = response._debugChannel)) {
|
|
5504
|
+
if ("@" === value[2])
|
|
5505
|
+
return (
|
|
5506
|
+
(parentObject = value.slice(3)),
|
|
5507
|
+
(key = parseInt(parentObject, 16)),
|
|
5508
|
+
response._chunks.has(key) || ref("P:" + parentObject),
|
|
5509
|
+
getChunk(response, key)
|
|
5510
|
+
);
|
|
5462
5511
|
value = value.slice(2);
|
|
5463
5512
|
var _id2 = parseInt(value, 16);
|
|
5464
5513
|
response._chunks.has(_id2) || ref("Q:" + value);
|
|
@@ -16448,5 +16497,5 @@
|
|
|
16448
16497
|
});
|
|
16449
16498
|
});
|
|
16450
16499
|
};
|
|
16451
|
-
exports.version = "19.2.0-experimental-
|
|
16500
|
+
exports.version = "19.2.0-experimental-e6dc25da-20250709";
|
|
16452
16501
|
})();
|
|
@@ -344,16 +344,16 @@ function describeNativeComponentFrame(fn, construct) {
|
|
|
344
344
|
} else {
|
|
345
345
|
try {
|
|
346
346
|
Fake.call();
|
|
347
|
-
} catch (x$
|
|
348
|
-
control = x$
|
|
347
|
+
} catch (x$3) {
|
|
348
|
+
control = x$3;
|
|
349
349
|
}
|
|
350
350
|
fn.call(Fake.prototype);
|
|
351
351
|
}
|
|
352
352
|
} else {
|
|
353
353
|
try {
|
|
354
354
|
throw Error();
|
|
355
|
-
} catch (x$
|
|
356
|
-
control = x$
|
|
355
|
+
} catch (x$4) {
|
|
356
|
+
control = x$4;
|
|
357
357
|
}
|
|
358
358
|
(Fake = fn()) &&
|
|
359
359
|
"function" === typeof Fake.catch &&
|
|
@@ -715,8 +715,8 @@ function serializeReadableStream(request, task, stream) {
|
|
|
715
715
|
tryStreamTask(request, streamTask),
|
|
716
716
|
enqueueFlush(request),
|
|
717
717
|
reader.read().then(progress, error);
|
|
718
|
-
} catch (x$
|
|
719
|
-
error(x$
|
|
718
|
+
} catch (x$9) {
|
|
719
|
+
error(x$9);
|
|
720
720
|
}
|
|
721
721
|
}
|
|
722
722
|
function error(reason) {
|
|
@@ -793,8 +793,8 @@ function serializeAsyncIterable(request, task, iterable, iterator) {
|
|
|
793
793
|
tryStreamTask(request, streamTask),
|
|
794
794
|
enqueueFlush(request),
|
|
795
795
|
iterator.next().then(progress, error);
|
|
796
|
-
} catch (x$
|
|
797
|
-
error(x$
|
|
796
|
+
} catch (x$10) {
|
|
797
|
+
error(x$10);
|
|
798
798
|
}
|
|
799
799
|
}
|
|
800
800
|
function error(reason) {
|
|
@@ -1809,14 +1809,14 @@ function abort$1(request, reason) {
|
|
|
1809
1809
|
)
|
|
1810
1810
|
: reason,
|
|
1811
1811
|
digest = logRecoverableError$1(request, error, null),
|
|
1812
|
-
errorId$
|
|
1813
|
-
request.fatalError = errorId$
|
|
1812
|
+
errorId$27 = request.nextChunkId++;
|
|
1813
|
+
request.fatalError = errorId$27;
|
|
1814
1814
|
request.pendingChunks++;
|
|
1815
|
-
emitErrorChunk(request, errorId$
|
|
1815
|
+
emitErrorChunk(request, errorId$27, digest, error, !1);
|
|
1816
1816
|
abortableTasks.forEach(function (task) {
|
|
1817
|
-
return abortTask$1(task, request, errorId$
|
|
1817
|
+
return abortTask$1(task, request, errorId$27);
|
|
1818
1818
|
});
|
|
1819
|
-
finishAbort(request, abortableTasks, errorId$
|
|
1819
|
+
finishAbort(request, abortableTasks, errorId$27);
|
|
1820
1820
|
}
|
|
1821
1821
|
else {
|
|
1822
1822
|
var onAllReady = request.onAllReady;
|
|
@@ -1824,9 +1824,9 @@ function abort$1(request, reason) {
|
|
|
1824
1824
|
null !== request.destination &&
|
|
1825
1825
|
flushCompletedChunks(request, request.destination);
|
|
1826
1826
|
}
|
|
1827
|
-
} catch (error$
|
|
1828
|
-
logRecoverableError$1(request, error$
|
|
1829
|
-
fatalError$1(request, error$
|
|
1827
|
+
} catch (error$28) {
|
|
1828
|
+
logRecoverableError$1(request, error$28, null),
|
|
1829
|
+
fatalError$1(request, error$28);
|
|
1830
1830
|
}
|
|
1831
1831
|
}
|
|
1832
1832
|
var bind$1 = Function.prototype.bind,
|
|
@@ -1933,11 +1933,11 @@ function processReply(
|
|
|
1933
1933
|
0 === pendingParts && resolve(data);
|
|
1934
1934
|
} else
|
|
1935
1935
|
try {
|
|
1936
|
-
var partJSON$
|
|
1937
|
-
data.append(formFieldPrefix + streamId, partJSON$
|
|
1936
|
+
var partJSON$29 = JSON.stringify(entry.value, resolveToJSON);
|
|
1937
|
+
data.append(formFieldPrefix + streamId, partJSON$29);
|
|
1938
1938
|
iterator.next().then(progress, reject);
|
|
1939
|
-
} catch (x$
|
|
1940
|
-
reject(x$
|
|
1939
|
+
} catch (x$30) {
|
|
1940
|
+
reject(x$30);
|
|
1941
1941
|
}
|
|
1942
1942
|
}
|
|
1943
1943
|
null === formData && (formData = new FormData());
|
|
@@ -1982,20 +1982,20 @@ function processReply(
|
|
|
1982
1982
|
"function" === typeof x.then
|
|
1983
1983
|
) {
|
|
1984
1984
|
pendingParts++;
|
|
1985
|
-
var lazyId$
|
|
1985
|
+
var lazyId$31 = nextPartId++;
|
|
1986
1986
|
parentReference = function () {
|
|
1987
1987
|
try {
|
|
1988
|
-
var partJSON$
|
|
1989
|
-
data$
|
|
1990
|
-
data$
|
|
1988
|
+
var partJSON$32 = serializeModel(value, lazyId$31),
|
|
1989
|
+
data$33 = formData;
|
|
1990
|
+
data$33.append(formFieldPrefix + lazyId$31, partJSON$32);
|
|
1991
1991
|
pendingParts--;
|
|
1992
|
-
0 === pendingParts && resolve(data$
|
|
1992
|
+
0 === pendingParts && resolve(data$33);
|
|
1993
1993
|
} catch (reason) {
|
|
1994
1994
|
reject(reason);
|
|
1995
1995
|
}
|
|
1996
1996
|
};
|
|
1997
1997
|
x.then(parentReference, parentReference);
|
|
1998
|
-
return "$" + lazyId$
|
|
1998
|
+
return "$" + lazyId$31.toString(16);
|
|
1999
1999
|
}
|
|
2000
2000
|
reject(x);
|
|
2001
2001
|
return null;
|
|
@@ -2009,9 +2009,9 @@ function processReply(
|
|
|
2009
2009
|
var promiseId = nextPartId++;
|
|
2010
2010
|
value.then(function (partValue) {
|
|
2011
2011
|
try {
|
|
2012
|
-
var partJSON$
|
|
2012
|
+
var partJSON$35 = serializeModel(partValue, promiseId);
|
|
2013
2013
|
partValue = formData;
|
|
2014
|
-
partValue.append(formFieldPrefix + promiseId, partJSON$
|
|
2014
|
+
partValue.append(formFieldPrefix + promiseId, partJSON$35);
|
|
2015
2015
|
pendingParts--;
|
|
2016
2016
|
0 === pendingParts && resolve(partValue);
|
|
2017
2017
|
} catch (reason) {
|
|
@@ -2035,11 +2035,11 @@ function processReply(
|
|
|
2035
2035
|
if (isArrayImpl(value)) return value;
|
|
2036
2036
|
if (value instanceof FormData) {
|
|
2037
2037
|
null === formData && (formData = new FormData());
|
|
2038
|
-
var data$
|
|
2038
|
+
var data$39 = formData;
|
|
2039
2039
|
key = nextPartId++;
|
|
2040
|
-
var prefix$
|
|
2040
|
+
var prefix$40 = formFieldPrefix + key + "_";
|
|
2041
2041
|
value.forEach(function (originalValue, originalKey) {
|
|
2042
|
-
data$
|
|
2042
|
+
data$39.append(prefix$40 + originalKey, originalValue);
|
|
2043
2043
|
});
|
|
2044
2044
|
return "$K" + key.toString(16);
|
|
2045
2045
|
}
|
|
@@ -3078,8 +3078,8 @@ function startReadableStream(response, id, type) {
|
|
|
3078
3078
|
(previousBlockedChunk = chunk));
|
|
3079
3079
|
} else {
|
|
3080
3080
|
chunk = previousBlockedChunk;
|
|
3081
|
-
var chunk$
|
|
3082
|
-
chunk$
|
|
3081
|
+
var chunk$61 = new ReactPromise("pending", null, null);
|
|
3082
|
+
chunk$61.then(
|
|
3083
3083
|
function (v) {
|
|
3084
3084
|
return controller.enqueue(v);
|
|
3085
3085
|
},
|
|
@@ -3087,10 +3087,10 @@ function startReadableStream(response, id, type) {
|
|
|
3087
3087
|
return controller.error(e);
|
|
3088
3088
|
}
|
|
3089
3089
|
);
|
|
3090
|
-
previousBlockedChunk = chunk$
|
|
3090
|
+
previousBlockedChunk = chunk$61;
|
|
3091
3091
|
chunk.then(function () {
|
|
3092
|
-
previousBlockedChunk === chunk$
|
|
3093
|
-
resolveModelChunk(response, chunk$
|
|
3092
|
+
previousBlockedChunk === chunk$61 && (previousBlockedChunk = null);
|
|
3093
|
+
resolveModelChunk(response, chunk$61, json);
|
|
3094
3094
|
});
|
|
3095
3095
|
}
|
|
3096
3096
|
},
|
|
@@ -4107,8 +4107,8 @@ function pushAttribute(target, name, value) {
|
|
|
4107
4107
|
case "symbol":
|
|
4108
4108
|
return;
|
|
4109
4109
|
case "boolean":
|
|
4110
|
-
var prefix$
|
|
4111
|
-
if ("data-" !== prefix$
|
|
4110
|
+
var prefix$71 = name.toLowerCase().slice(0, 5);
|
|
4111
|
+
if ("data-" !== prefix$71 && "aria-" !== prefix$71) return;
|
|
4112
4112
|
}
|
|
4113
4113
|
target.push(" ", name, '="', escapeTextForBrowser(value), '"');
|
|
4114
4114
|
}
|
|
@@ -4895,10 +4895,10 @@ function pushStartInstance$1(
|
|
|
4895
4895
|
styleQueue.sheets.set(href, resource);
|
|
4896
4896
|
hoistableState && hoistableState.stylesheets.add(resource);
|
|
4897
4897
|
} else if (styleQueue) {
|
|
4898
|
-
var resource$
|
|
4899
|
-
resource$
|
|
4898
|
+
var resource$72 = styleQueue.sheets.get(href);
|
|
4899
|
+
resource$72 &&
|
|
4900
4900
|
hoistableState &&
|
|
4901
|
-
hoistableState.stylesheets.add(resource$
|
|
4901
|
+
hoistableState.stylesheets.add(resource$72);
|
|
4902
4902
|
}
|
|
4903
4903
|
textEmbedded && target$jscomp$0.push("\x3c!-- --\x3e");
|
|
4904
4904
|
JSCompiler_inline_result$jscomp$4 = null;
|
|
@@ -6208,10 +6208,10 @@ function useActionState(action, initialState, permalink) {
|
|
|
6208
6208
|
var nextPostbackStateKey = null,
|
|
6209
6209
|
componentKeyPath = currentlyRenderingKeyPath;
|
|
6210
6210
|
request = request.formState;
|
|
6211
|
-
var isSignatureEqual$
|
|
6212
|
-
if (null !== request && "function" === typeof isSignatureEqual$
|
|
6211
|
+
var isSignatureEqual$75 = action.$$IS_SIGNATURE_EQUAL;
|
|
6212
|
+
if (null !== request && "function" === typeof isSignatureEqual$75) {
|
|
6213
6213
|
var postbackKey = request[1];
|
|
6214
|
-
isSignatureEqual$
|
|
6214
|
+
isSignatureEqual$75.call(action, request[2], request[3]) &&
|
|
6215
6215
|
((nextPostbackStateKey =
|
|
6216
6216
|
void 0 !== permalink
|
|
6217
6217
|
? "p" + permalink
|
|
@@ -6253,11 +6253,11 @@ function useActionState(action, initialState, permalink) {
|
|
|
6253
6253
|
});
|
|
6254
6254
|
return [initialState, action, !1];
|
|
6255
6255
|
}
|
|
6256
|
-
var boundAction$
|
|
6256
|
+
var boundAction$76 = action.bind(null, initialState);
|
|
6257
6257
|
return [
|
|
6258
6258
|
initialState,
|
|
6259
6259
|
function (payload) {
|
|
6260
|
-
boundAction$
|
|
6260
|
+
boundAction$76(payload);
|
|
6261
6261
|
},
|
|
6262
6262
|
!1
|
|
6263
6263
|
];
|
|
@@ -6985,9 +6985,9 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
6985
6985
|
var defaultProps = type.defaultProps;
|
|
6986
6986
|
if (defaultProps) {
|
|
6987
6987
|
newProps === props && (newProps = assign({}, newProps, props));
|
|
6988
|
-
for (var propName$
|
|
6989
|
-
void 0 === newProps[propName$
|
|
6990
|
-
(newProps[propName$
|
|
6988
|
+
for (var propName$98 in defaultProps)
|
|
6989
|
+
void 0 === newProps[propName$98] &&
|
|
6990
|
+
(newProps[propName$98] = defaultProps[propName$98]);
|
|
6991
6991
|
}
|
|
6992
6992
|
var JSCompiler_inline_result = newProps;
|
|
6993
6993
|
var context = emptyContextObject,
|
|
@@ -7154,13 +7154,13 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
7154
7154
|
textEmbedded
|
|
7155
7155
|
);
|
|
7156
7156
|
segment.lastPushedText = !1;
|
|
7157
|
-
var prevContext$
|
|
7158
|
-
prevKeyPath$
|
|
7157
|
+
var prevContext$96 = task.formatContext,
|
|
7158
|
+
prevKeyPath$97 = task.keyPath;
|
|
7159
7159
|
task.keyPath = keyPath;
|
|
7160
7160
|
if (
|
|
7161
7161
|
3 ===
|
|
7162
7162
|
(task.formatContext = getChildFormatContext(
|
|
7163
|
-
prevContext$
|
|
7163
|
+
prevContext$96,
|
|
7164
7164
|
type,
|
|
7165
7165
|
props
|
|
7166
7166
|
)).insertionMode
|
|
@@ -7183,8 +7183,8 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
7183
7183
|
task.blockedSegment = segment;
|
|
7184
7184
|
}
|
|
7185
7185
|
} else renderNode(request, task, JSCompiler_inline_result$jscomp$2, -1);
|
|
7186
|
-
task.formatContext = prevContext$
|
|
7187
|
-
task.keyPath = prevKeyPath$
|
|
7186
|
+
task.formatContext = prevContext$96;
|
|
7187
|
+
task.keyPath = prevKeyPath$97;
|
|
7188
7188
|
a: {
|
|
7189
7189
|
var target$jscomp$0 = segment.chunks,
|
|
7190
7190
|
resumableState$jscomp$0 = request.resumableState;
|
|
@@ -7209,19 +7209,19 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
7209
7209
|
case "wbr":
|
|
7210
7210
|
break a;
|
|
7211
7211
|
case "body":
|
|
7212
|
-
if (1 >= prevContext$
|
|
7212
|
+
if (1 >= prevContext$96.insertionMode) {
|
|
7213
7213
|
resumableState$jscomp$0.hasBody = !0;
|
|
7214
7214
|
break a;
|
|
7215
7215
|
}
|
|
7216
7216
|
break;
|
|
7217
7217
|
case "html":
|
|
7218
|
-
if (0 === prevContext$
|
|
7218
|
+
if (0 === prevContext$96.insertionMode) {
|
|
7219
7219
|
resumableState$jscomp$0.hasHtml = !0;
|
|
7220
7220
|
break a;
|
|
7221
7221
|
}
|
|
7222
7222
|
break;
|
|
7223
7223
|
case "head":
|
|
7224
|
-
if (1 >= prevContext$
|
|
7224
|
+
if (1 >= prevContext$96.insertionMode) break a;
|
|
7225
7225
|
}
|
|
7226
7226
|
target$jscomp$0.push(endChunkForTag(type));
|
|
7227
7227
|
}
|
|
@@ -7249,10 +7249,10 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
7249
7249
|
}
|
|
7250
7250
|
} else if ("hidden" !== props.mode) {
|
|
7251
7251
|
segment$jscomp$0.lastPushedText = !1;
|
|
7252
|
-
var prevKeyPath$
|
|
7252
|
+
var prevKeyPath$100 = task.keyPath;
|
|
7253
7253
|
task.keyPath = keyPath;
|
|
7254
7254
|
renderNode(request, task, props.children, -1);
|
|
7255
|
-
task.keyPath = prevKeyPath$
|
|
7255
|
+
task.keyPath = prevKeyPath$100;
|
|
7256
7256
|
segment$jscomp$0.lastPushedText = !1;
|
|
7257
7257
|
}
|
|
7258
7258
|
return;
|
|
@@ -7295,35 +7295,35 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
7295
7295
|
}
|
|
7296
7296
|
}
|
|
7297
7297
|
if ("function" === typeof children$jscomp$0[ASYNC_ITERATOR]) {
|
|
7298
|
-
var iterator$
|
|
7299
|
-
if (iterator$
|
|
7298
|
+
var iterator$91 = children$jscomp$0[ASYNC_ITERATOR]();
|
|
7299
|
+
if (iterator$91) {
|
|
7300
7300
|
var prevThenableState = task.thenableState;
|
|
7301
7301
|
task.thenableState = null;
|
|
7302
7302
|
thenableIndexCounter = 0;
|
|
7303
7303
|
thenableState = prevThenableState;
|
|
7304
7304
|
var rows = [],
|
|
7305
7305
|
done = !1;
|
|
7306
|
-
if (iterator$
|
|
7306
|
+
if (iterator$91 === children$jscomp$0)
|
|
7307
7307
|
for (
|
|
7308
|
-
var step$
|
|
7309
|
-
void 0 !== step$
|
|
7308
|
+
var step$92 = readPreviousThenableFromState();
|
|
7309
|
+
void 0 !== step$92;
|
|
7310
7310
|
|
|
7311
7311
|
) {
|
|
7312
|
-
if (step$
|
|
7312
|
+
if (step$92.done) {
|
|
7313
7313
|
done = !0;
|
|
7314
7314
|
break;
|
|
7315
7315
|
}
|
|
7316
|
-
rows.push(step$
|
|
7317
|
-
step$
|
|
7316
|
+
rows.push(step$92.value);
|
|
7317
|
+
step$92 = readPreviousThenableFromState();
|
|
7318
7318
|
}
|
|
7319
7319
|
if (!done)
|
|
7320
7320
|
for (
|
|
7321
|
-
var step$
|
|
7322
|
-
!step$
|
|
7321
|
+
var step$93 = unwrapThenable(iterator$91.next());
|
|
7322
|
+
!step$93.done;
|
|
7323
7323
|
|
|
7324
7324
|
)
|
|
7325
|
-
rows.push(step$
|
|
7326
|
-
(step$
|
|
7325
|
+
rows.push(step$93.value),
|
|
7326
|
+
(step$93 = unwrapThenable(iterator$91.next()));
|
|
7327
7327
|
renderSuspenseListRows(
|
|
7328
7328
|
request,
|
|
7329
7329
|
task,
|
|
@@ -7336,7 +7336,7 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
7336
7336
|
}
|
|
7337
7337
|
}
|
|
7338
7338
|
if ("together" === revealOrder) {
|
|
7339
|
-
var prevKeyPath$
|
|
7339
|
+
var prevKeyPath$94 = task.keyPath,
|
|
7340
7340
|
prevRow = task.row,
|
|
7341
7341
|
newRow = (task.row = createSuspenseListRow(null));
|
|
7342
7342
|
newRow.boundaries = [];
|
|
@@ -7345,7 +7345,7 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
7345
7345
|
renderNodeDestructive(request, task, children$jscomp$0, -1);
|
|
7346
7346
|
0 === --newRow.pendingTasks &&
|
|
7347
7347
|
finishSuspenseListRow(request, newRow);
|
|
7348
|
-
task.keyPath = prevKeyPath$
|
|
7348
|
+
task.keyPath = prevKeyPath$94;
|
|
7349
7349
|
task.row = prevRow;
|
|
7350
7350
|
null !== prevRow &&
|
|
7351
7351
|
0 < newRow.pendingTasks &&
|
|
@@ -7383,22 +7383,22 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
7383
7383
|
throw Error("ReactDOMServer does not yet support scope components.");
|
|
7384
7384
|
case REACT_SUSPENSE_TYPE:
|
|
7385
7385
|
a: if (null !== task.replay) {
|
|
7386
|
-
var prevKeyPath$
|
|
7387
|
-
prevContext$
|
|
7388
|
-
prevRow$
|
|
7386
|
+
var prevKeyPath$78 = task.keyPath,
|
|
7387
|
+
prevContext$79 = task.formatContext,
|
|
7388
|
+
prevRow$80 = task.row;
|
|
7389
7389
|
task.keyPath = keyPath;
|
|
7390
7390
|
task.formatContext = getSuspenseContentFormatContext(
|
|
7391
7391
|
request.resumableState,
|
|
7392
|
-
prevContext$
|
|
7392
|
+
prevContext$79
|
|
7393
7393
|
);
|
|
7394
7394
|
task.row = null;
|
|
7395
|
-
var content$
|
|
7395
|
+
var content$81 = props.children;
|
|
7396
7396
|
try {
|
|
7397
|
-
renderNode(request, task, content$
|
|
7397
|
+
renderNode(request, task, content$81, -1);
|
|
7398
7398
|
} finally {
|
|
7399
|
-
(task.keyPath = prevKeyPath$
|
|
7400
|
-
(task.formatContext = prevContext$
|
|
7401
|
-
(task.row = prevRow$
|
|
7399
|
+
(task.keyPath = prevKeyPath$78),
|
|
7400
|
+
(task.formatContext = prevContext$79),
|
|
7401
|
+
(task.row = prevRow$80);
|
|
7402
7402
|
}
|
|
7403
7403
|
} else {
|
|
7404
7404
|
var prevKeyPath$jscomp$5 = task.keyPath,
|
|
@@ -7542,12 +7542,12 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
7542
7542
|
null !== prevRow$jscomp$0 &&
|
|
7543
7543
|
prevRow$jscomp$0.together &&
|
|
7544
7544
|
tryToResolveTogetherRow(request, prevRow$jscomp$0);
|
|
7545
|
-
} catch (thrownValue$
|
|
7545
|
+
} catch (thrownValue$82) {
|
|
7546
7546
|
newBoundary.status = 4;
|
|
7547
7547
|
if (12 === request.status) {
|
|
7548
7548
|
contentRootSegment.status = 3;
|
|
7549
7549
|
var error = request.fatalError;
|
|
7550
|
-
} else (contentRootSegment.status = 4), (error = thrownValue$
|
|
7550
|
+
} else (contentRootSegment.status = 4), (error = thrownValue$82);
|
|
7551
7551
|
var thrownInfo = getThrownInfo(task.componentStack);
|
|
7552
7552
|
if (
|
|
7553
7553
|
"object" === typeof error &&
|
|
@@ -8288,15 +8288,15 @@ function renderNode(request, task, node, childIndex) {
|
|
|
8288
8288
|
chunkLength = segment.chunks.length;
|
|
8289
8289
|
try {
|
|
8290
8290
|
return renderNodeDestructive(request, task, node, childIndex);
|
|
8291
|
-
} catch (thrownValue$
|
|
8291
|
+
} catch (thrownValue$121) {
|
|
8292
8292
|
if (
|
|
8293
8293
|
(resetHooksState(),
|
|
8294
8294
|
(segment.children.length = childrenLength),
|
|
8295
8295
|
(segment.chunks.length = chunkLength),
|
|
8296
8296
|
(node =
|
|
8297
|
-
thrownValue$
|
|
8297
|
+
thrownValue$121 === SuspenseException
|
|
8298
8298
|
? getSuspendedThenable()
|
|
8299
|
-
: thrownValue$
|
|
8299
|
+
: thrownValue$121),
|
|
8300
8300
|
"object" === typeof node && null !== node)
|
|
8301
8301
|
) {
|
|
8302
8302
|
if ("function" === typeof node.then) {
|
|
@@ -8498,16 +8498,16 @@ function abortTask(task, request, error) {
|
|
|
8498
8498
|
0 === request.pendingRootTasks && completeShell(request);
|
|
8499
8499
|
}
|
|
8500
8500
|
} else {
|
|
8501
|
-
var trackedPostpones$
|
|
8501
|
+
var trackedPostpones$124 = request.trackedPostpones;
|
|
8502
8502
|
if (4 !== boundary.status) {
|
|
8503
|
-
if (null !== trackedPostpones$
|
|
8503
|
+
if (null !== trackedPostpones$124 && null !== segment)
|
|
8504
8504
|
return (
|
|
8505
8505
|
"object" === typeof error &&
|
|
8506
8506
|
null !== error &&
|
|
8507
8507
|
error.$$typeof === REACT_POSTPONE_TYPE
|
|
8508
8508
|
? logPostpone(request, error.message, errorInfo)
|
|
8509
8509
|
: logRecoverableError(request, error, errorInfo),
|
|
8510
|
-
trackPostpone(request, trackedPostpones$
|
|
8510
|
+
trackPostpone(request, trackedPostpones$124, task, segment),
|
|
8511
8511
|
boundary.fallbackAbortableTasks.forEach(function (fallbackTask) {
|
|
8512
8512
|
return abortTask(fallbackTask, request, error);
|
|
8513
8513
|
}),
|
|
@@ -8879,13 +8879,13 @@ function performWork(request$jscomp$1) {
|
|
|
8879
8879
|
null !== request.trackedPostpones &&
|
|
8880
8880
|
x$jscomp$0.$$typeof === REACT_POSTPONE_TYPE
|
|
8881
8881
|
) {
|
|
8882
|
-
var trackedPostpones$
|
|
8882
|
+
var trackedPostpones$130 = request.trackedPostpones;
|
|
8883
8883
|
task.abortSet.delete(task);
|
|
8884
8884
|
var postponeInfo = getThrownInfo(task.componentStack);
|
|
8885
8885
|
logPostpone(request, x$jscomp$0.message, postponeInfo);
|
|
8886
8886
|
trackPostpone(
|
|
8887
8887
|
request,
|
|
8888
|
-
trackedPostpones$
|
|
8888
|
+
trackedPostpones$130,
|
|
8889
8889
|
task,
|
|
8890
8890
|
segment$jscomp$0
|
|
8891
8891
|
);
|
|
@@ -9489,12 +9489,12 @@ function flushCompletedQueues(request, destination) {
|
|
|
9489
9489
|
completedBoundaries.splice(0, i);
|
|
9490
9490
|
var partialBoundaries = request.partialBoundaries;
|
|
9491
9491
|
for (i = 0; i < partialBoundaries.length; i++) {
|
|
9492
|
-
var boundary$
|
|
9492
|
+
var boundary$134 = partialBoundaries[i];
|
|
9493
9493
|
a: {
|
|
9494
9494
|
clientRenderedBoundaries = request;
|
|
9495
9495
|
boundary = destination;
|
|
9496
|
-
flushedByteSize = boundary$
|
|
9497
|
-
var completedSegments = boundary$
|
|
9496
|
+
flushedByteSize = boundary$134.byteSize;
|
|
9497
|
+
var completedSegments = boundary$134.completedSegments;
|
|
9498
9498
|
for (
|
|
9499
9499
|
JSCompiler_inline_result = 0;
|
|
9500
9500
|
JSCompiler_inline_result < completedSegments.length;
|
|
@@ -9504,7 +9504,7 @@ function flushCompletedQueues(request, destination) {
|
|
|
9504
9504
|
!flushPartiallyCompletedSegment(
|
|
9505
9505
|
clientRenderedBoundaries,
|
|
9506
9506
|
boundary,
|
|
9507
|
-
boundary$
|
|
9507
|
+
boundary$134,
|
|
9508
9508
|
completedSegments[JSCompiler_inline_result]
|
|
9509
9509
|
)
|
|
9510
9510
|
) {
|
|
@@ -9514,10 +9514,10 @@ function flushCompletedQueues(request, destination) {
|
|
|
9514
9514
|
break a;
|
|
9515
9515
|
}
|
|
9516
9516
|
completedSegments.splice(0, JSCompiler_inline_result);
|
|
9517
|
-
var row = boundary$
|
|
9517
|
+
var row = boundary$134.row;
|
|
9518
9518
|
null !== row &&
|
|
9519
9519
|
row.together &&
|
|
9520
|
-
1 === boundary$
|
|
9520
|
+
1 === boundary$134.pendingTasks &&
|
|
9521
9521
|
(1 === row.pendingTasks
|
|
9522
9522
|
? unblockSuspenseListRow(
|
|
9523
9523
|
clientRenderedBoundaries,
|
|
@@ -9527,7 +9527,7 @@ function flushCompletedQueues(request, destination) {
|
|
|
9527
9527
|
: row.pendingTasks--);
|
|
9528
9528
|
JSCompiler_inline_result$jscomp$0 = writeHoistablesForBoundary(
|
|
9529
9529
|
boundary,
|
|
9530
|
-
boundary$
|
|
9530
|
+
boundary$134.contentState,
|
|
9531
9531
|
clientRenderedBoundaries.renderState
|
|
9532
9532
|
);
|
|
9533
9533
|
}
|
|
@@ -9598,8 +9598,8 @@ function abort(request, reason) {
|
|
|
9598
9598
|
}
|
|
9599
9599
|
null !== request.destination &&
|
|
9600
9600
|
flushCompletedQueues(request, request.destination);
|
|
9601
|
-
} catch (error$
|
|
9602
|
-
logRecoverableError(request, error$
|
|
9601
|
+
} catch (error$136) {
|
|
9602
|
+
logRecoverableError(request, error$136, {}), fatalError(request, error$136);
|
|
9603
9603
|
}
|
|
9604
9604
|
}
|
|
9605
9605
|
function addToReplayParent(node, parentKeyPath, trackedPostpones) {
|
|
@@ -9905,4 +9905,4 @@ exports.experimental_renderToHTML = function (children, options) {
|
|
|
9905
9905
|
});
|
|
9906
9906
|
});
|
|
9907
9907
|
};
|
|
9908
|
-
exports.version = "19.2.0-experimental-
|
|
9908
|
+
exports.version = "19.2.0-experimental-e6dc25da-20250709";
|
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-e6dc25da-20250709",
|
|
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-e6dc25da-20250709"
|
|
21
21
|
},
|
|
22
22
|
"files": [
|
|
23
23
|
"LICENSE",
|