react-markup 0.0.0-experimental-603e6108-20241029 → 0.0.0-experimental-16409d05-20241101
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.
|
@@ -2411,8 +2411,7 @@
|
|
|
2411
2411
|
: "unknown type " + typeof value;
|
|
2412
2412
|
}
|
|
2413
2413
|
function outlineConsoleValue(request, counter, model) {
|
|
2414
|
-
|
|
2415
|
-
var json = stringify(model, function (parentPropertyName, value) {
|
|
2414
|
+
function replacer(parentPropertyName, value) {
|
|
2416
2415
|
try {
|
|
2417
2416
|
return renderConsoleValue(
|
|
2418
2417
|
request,
|
|
@@ -2427,7 +2426,16 @@
|
|
|
2427
2426
|
x.message
|
|
2428
2427
|
);
|
|
2429
2428
|
}
|
|
2430
|
-
}
|
|
2429
|
+
}
|
|
2430
|
+
"object" === typeof model && null !== model && doNotLimit.add(model);
|
|
2431
|
+
try {
|
|
2432
|
+
var json = stringify(model, replacer);
|
|
2433
|
+
} catch (x) {
|
|
2434
|
+
json = stringify(
|
|
2435
|
+
"Unknown Value: React could not send it from the server.\n" +
|
|
2436
|
+
x.message
|
|
2437
|
+
);
|
|
2438
|
+
}
|
|
2431
2439
|
request.pendingChunks++;
|
|
2432
2440
|
model = request.nextChunkId++;
|
|
2433
2441
|
json = model.toString(16) + ":" + json + "\n";
|
|
@@ -2442,12 +2450,7 @@
|
|
|
2442
2450
|
stackTrace,
|
|
2443
2451
|
args
|
|
2444
2452
|
) {
|
|
2445
|
-
|
|
2446
|
-
null != owner && outlineComponentInfo(request, owner);
|
|
2447
|
-
var env = (0, request.environmentName)();
|
|
2448
|
-
methodName = [methodName, stackTrace, owner, env];
|
|
2449
|
-
methodName.push.apply(methodName, args);
|
|
2450
|
-
args = stringify(methodName, function (parentPropertyName, value) {
|
|
2453
|
+
function replacer(parentPropertyName, value) {
|
|
2451
2454
|
try {
|
|
2452
2455
|
return renderConsoleValue(
|
|
2453
2456
|
request,
|
|
@@ -2462,8 +2465,28 @@
|
|
|
2462
2465
|
x.message
|
|
2463
2466
|
);
|
|
2464
2467
|
}
|
|
2465
|
-
}
|
|
2466
|
-
|
|
2468
|
+
}
|
|
2469
|
+
var counter = { objectLimit: 500 };
|
|
2470
|
+
null != owner && outlineComponentInfo(request, owner);
|
|
2471
|
+
var env = (0, request.environmentName)(),
|
|
2472
|
+
payload = [methodName, stackTrace, owner, env];
|
|
2473
|
+
payload.push.apply(payload, args);
|
|
2474
|
+
try {
|
|
2475
|
+
var json = stringify(payload, replacer);
|
|
2476
|
+
} catch (x) {
|
|
2477
|
+
json = stringify(
|
|
2478
|
+
[
|
|
2479
|
+
methodName,
|
|
2480
|
+
stackTrace,
|
|
2481
|
+
owner,
|
|
2482
|
+
env,
|
|
2483
|
+
"Unknown Value: React could not send it from the server.",
|
|
2484
|
+
x
|
|
2485
|
+
],
|
|
2486
|
+
replacer
|
|
2487
|
+
);
|
|
2488
|
+
}
|
|
2489
|
+
id = id.toString(16) + ":W" + json + "\n";
|
|
2467
2490
|
request.completedRegularChunks.push(id);
|
|
2468
2491
|
}
|
|
2469
2492
|
function forwardDebugInfo(request, id, debugInfo) {
|
|
@@ -13155,5 +13178,5 @@
|
|
|
13155
13178
|
});
|
|
13156
13179
|
});
|
|
13157
13180
|
};
|
|
13158
|
-
exports.version = "19.0.0-experimental-
|
|
13181
|
+
exports.version = "19.0.0-experimental-16409d05-20241101";
|
|
13159
13182
|
})();
|
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-16409d05-20241101",
|
|
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-16409d05-20241101"
|
|
21
21
|
},
|
|
22
22
|
"files": [
|
|
23
23
|
"LICENSE",
|