react-markup 0.0.0-experimental-f7396427-20250501 → 0.0.0-experimental-c129c242-20250505

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.
@@ -9054,5 +9054,5 @@
9054
9054
  });
9055
9055
  });
9056
9056
  };
9057
- exports.version = "19.2.0-experimental-f7396427-20250501";
9057
+ exports.version = "19.2.0-experimental-c129c242-20250505";
9058
9058
  })();
@@ -6089,4 +6089,4 @@ exports.experimental_renderToHTML = function (children, options) {
6089
6089
  });
6090
6090
  });
6091
6091
  };
6092
- exports.version = "19.2.0-experimental-f7396427-20250501";
6092
+ exports.version = "19.2.0-experimental-c129c242-20250505";
@@ -1678,6 +1678,7 @@
1678
1678
  return "$B" + newTask.id.toString(16);
1679
1679
  }
1680
1680
  function renderModel(request, task, parent, key, value) {
1681
+ serializedSize += key.length;
1681
1682
  var prevKeyPath = task.keyPath,
1682
1683
  prevImplicitSlot = task.implicitSlot;
1683
1684
  try {
@@ -1755,7 +1756,6 @@
1755
1756
  value
1756
1757
  ) {
1757
1758
  task.model = value;
1758
- serializedSize += parentPropertyName.length;
1759
1759
  if (value === REACT_ELEMENT_TYPE) return "$";
1760
1760
  if (null === value) return null;
1761
1761
  if ("object" === typeof value) {
@@ -12522,11 +12522,11 @@
12522
12522
  throw Error("useId can only be used while React is rendering");
12523
12523
  var id = currentRequest$1.identifierCount++;
12524
12524
  return (
12525
- ":" +
12525
+ "\u00ab" +
12526
12526
  currentRequest$1.identifierPrefix +
12527
12527
  "S" +
12528
12528
  id.toString(32) +
12529
- ":"
12529
+ "\u00bb"
12530
12530
  );
12531
12531
  },
12532
12532
  useHostTransitionStatus: unsupportedHook,
@@ -13894,5 +13894,5 @@
13894
13894
  });
13895
13895
  });
13896
13896
  };
13897
- exports.version = "19.2.0-experimental-f7396427-20250501";
13897
+ exports.version = "19.2.0-experimental-c129c242-20250505";
13898
13898
  })();
@@ -258,7 +258,13 @@ function useId$1() {
258
258
  if (null === currentRequest$1)
259
259
  throw Error("useId can only be used while React is rendering");
260
260
  var id = currentRequest$1.identifierCount++;
261
- return ":" + currentRequest$1.identifierPrefix + "S" + id.toString(32) + ":";
261
+ return (
262
+ "\u00ab" +
263
+ currentRequest$1.identifierPrefix +
264
+ "S" +
265
+ id.toString(32) +
266
+ "\u00bb"
267
+ );
262
268
  }
263
269
  function use$1(usable) {
264
270
  if (
@@ -1015,6 +1021,7 @@ function createTask(request, model, keyPath, implicitSlot, abortSet) {
1015
1021
  return pingTask$1(request, task);
1016
1022
  },
1017
1023
  toJSON: function (parentPropertyName, value) {
1024
+ serializedSize += parentPropertyName.length;
1018
1025
  var prevKeyPath = task.keyPath,
1019
1026
  prevImplicitSlot = task.implicitSlot;
1020
1027
  try {
@@ -1167,7 +1174,6 @@ function renderModelDestructive(
1167
1174
  value
1168
1175
  ) {
1169
1176
  task.model = value;
1170
- serializedSize += parentPropertyName.length;
1171
1177
  if (value === REACT_ELEMENT_TYPE) return "$";
1172
1178
  if (null === value) return null;
1173
1179
  if ("object" === typeof value) {
@@ -9052,4 +9058,4 @@ exports.experimental_renderToHTML = function (children, options) {
9052
9058
  });
9053
9059
  });
9054
9060
  };
9055
- exports.version = "19.2.0-experimental-f7396427-20250501";
9061
+ exports.version = "19.2.0-experimental-c129c242-20250505";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-markup",
3
- "version": "0.0.0-experimental-f7396427-20250501",
3
+ "version": "0.0.0-experimental-c129c242-20250505",
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-f7396427-20250501"
20
+ "react": "0.0.0-experimental-c129c242-20250505"
21
21
  },
22
22
  "files": [
23
23
  "LICENSE",