react-markup 0.0.0-experimental-4123f6b7-20250826 → 0.0.0-experimental-33a1095d-20250827

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.
@@ -9818,5 +9818,5 @@
9818
9818
  });
9819
9819
  });
9820
9820
  };
9821
- exports.version = "19.2.0-experimental-4123f6b7-20250826";
9821
+ exports.version = "19.2.0-experimental-33a1095d-20250827";
9822
9822
  })();
@@ -6781,4 +6781,4 @@ exports.experimental_renderToHTML = function (children, options) {
6781
6781
  });
6782
6782
  });
6783
6783
  };
6784
- exports.version = "19.2.0-experimental-4123f6b7-20250826";
6784
+ exports.version = "19.2.0-experimental-33a1095d-20250827";
@@ -4826,8 +4826,8 @@
4826
4826
  );
4827
4827
  return weakResponse;
4828
4828
  }
4829
- function cleanupDebugChannel(debugChannel) {
4830
- debugChannel("");
4829
+ function closeDebugChannel(debugChannel) {
4830
+ debugChannel.callback && debugChannel.callback("");
4831
4831
  }
4832
4832
  function readChunk(chunk) {
4833
4833
  switch (chunk.status) {
@@ -5120,7 +5120,7 @@
5120
5120
  });
5121
5121
  weakResponse = response._debugChannel;
5122
5122
  void 0 !== weakResponse &&
5123
- (weakResponse(""), (response._debugChannel = void 0));
5123
+ (closeDebugChannel(weakResponse), (response._debugChannel = void 0));
5124
5124
  }
5125
5125
  }
5126
5126
  function nullRefGetter() {
@@ -5323,10 +5323,13 @@
5323
5323
  path
5324
5324
  ) {
5325
5325
  if (
5326
- void 0 === response._debugChannel &&
5327
- "pending" === referencedChunk.status &&
5328
- parentObject[0] === REACT_ELEMENT_TYPE &&
5329
- ("4" === key || "5" === key)
5326
+ !(
5327
+ (void 0 !== response._debugChannel &&
5328
+ response._debugChannel.hasReadable) ||
5329
+ "pending" !== referencedChunk.status ||
5330
+ parentObject[0] !== REACT_ELEMENT_TYPE ||
5331
+ ("4" !== key && "5" !== key)
5332
+ )
5330
5333
  )
5331
5334
  return null;
5332
5335
  if (initializingHandler) {
@@ -5729,7 +5732,10 @@
5729
5732
  }
5730
5733
  return ref;
5731
5734
  case "Y":
5732
- if (2 < value.length && (ref = response._debugChannel)) {
5735
+ if (
5736
+ 2 < value.length &&
5737
+ (ref = response._debugChannel && response._debugChannel.callback)
5738
+ ) {
5733
5739
  if ("@" === value[2])
5734
5740
  return (
5735
5741
  (parentObject = value.slice(3)),
@@ -5815,7 +5821,7 @@
5815
5821
  this._rootEnvironmentName = environmentName;
5816
5822
  debugChannel &&
5817
5823
  (null === debugChannelRegistry
5818
- ? (debugChannel(""), (this._debugChannel = void 0))
5824
+ ? (closeDebugChannel(debugChannel), (this._debugChannel = void 0))
5819
5825
  : debugChannelRegistry.register(this, debugChannel));
5820
5826
  replayConsole && markAllTracksInOrder();
5821
5827
  this._fromJSON = createFromJSONCallback(this);
@@ -15480,7 +15486,7 @@
15480
15486
  };
15481
15487
  var debugChannelRegistry =
15482
15488
  "function" === typeof FinalizationRegistry
15483
- ? new FinalizationRegistry(cleanupDebugChannel)
15489
+ ? new FinalizationRegistry(closeDebugChannel)
15484
15490
  : null,
15485
15491
  initializingHandler = null,
15486
15492
  initializingChunk = null,
@@ -16687,10 +16693,11 @@
16687
16693
  (chunk._debugChunk = rowTag),
16688
16694
  (rowID._debugChunk = chunk),
16689
16695
  initializeDebugChunk(i, rowID),
16690
- "blocked" === chunk.status &&
16691
- void 0 === i._debugChannel &&
16692
- '"' === rowLength[0] &&
16693
- "$" === rowLength[1] &&
16696
+ "blocked" !== chunk.status ||
16697
+ (void 0 !== i._debugChannel &&
16698
+ i._debugChannel.hasReadable) ||
16699
+ '"' !== rowLength[0] ||
16700
+ "$" !== rowLength[1] ||
16694
16701
  ((rowLength = rowLength
16695
16702
  .slice(2, rowLength.length - 1)
16696
16703
  .split(":")),
@@ -16803,5 +16810,5 @@
16803
16810
  });
16804
16811
  });
16805
16812
  };
16806
- exports.version = "19.2.0-experimental-4123f6b7-20250826";
16813
+ exports.version = "19.2.0-experimental-33a1095d-20250827";
16807
16814
  })();
@@ -9944,4 +9944,4 @@ exports.experimental_renderToHTML = function (children, options) {
9944
9944
  });
9945
9945
  });
9946
9946
  };
9947
- exports.version = "19.2.0-experimental-4123f6b7-20250826";
9947
+ exports.version = "19.2.0-experimental-33a1095d-20250827";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-markup",
3
- "version": "0.0.0-experimental-4123f6b7-20250826",
3
+ "version": "0.0.0-experimental-33a1095d-20250827",
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-4123f6b7-20250826"
20
+ "react": "0.0.0-experimental-33a1095d-20250827"
21
21
  },
22
22
  "files": [
23
23
  "LICENSE",