react-markup 0.0.0-experimental-38ef6550-20250508 → 0.0.0-experimental-3820740a-20250509

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.
@@ -745,6 +745,7 @@
745
745
  ? "javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')"
746
746
  : url;
747
747
  }
748
+ function noop() {}
748
749
  function escapeEntireInlineScriptContent(scriptText) {
749
750
  checkHtmlStringCoercion(scriptText);
750
751
  return ("" + scriptText).replace(scriptRegex, scriptReplacer);
@@ -3841,13 +3842,11 @@
3841
3842
  x >>>= 0;
3842
3843
  return 0 === x ? 32 : (31 - ((log(x) / LN2) | 0)) | 0;
3843
3844
  }
3844
- function noop$2() {}
3845
3845
  function trackUsedThenable(thenableState, thenable, index) {
3846
3846
  index = thenableState[index];
3847
3847
  void 0 === index
3848
3848
  ? thenableState.push(thenable)
3849
- : index !== thenable &&
3850
- (thenable.then(noop$2, noop$2), (thenable = index));
3849
+ : index !== thenable && (thenable.then(noop, noop), (thenable = index));
3851
3850
  switch (thenable.status) {
3852
3851
  case "fulfilled":
3853
3852
  return thenable.value;
@@ -3855,7 +3854,7 @@
3855
3854
  throw thenable.reason;
3856
3855
  default:
3857
3856
  "string" === typeof thenable.status
3858
- ? thenable.then(noop$2, noop$2)
3857
+ ? thenable.then(noop, noop)
3859
3858
  : ((thenableState = thenable),
3860
3859
  (thenableState.status = "pending"),
3861
3860
  thenableState.then(
@@ -4396,7 +4395,6 @@
4396
4395
  } else console.error(error);
4397
4396
  return null;
4398
4397
  }
4399
- function noop() {}
4400
4398
  function RequestInstance(
4401
4399
  resumableState,
4402
4400
  renderState,
@@ -8879,7 +8877,7 @@
8879
8877
  useReducer: clientHookNotSupported,
8880
8878
  useRef: clientHookNotSupported,
8881
8879
  useState: clientHookNotSupported,
8882
- useDebugValue: function () {},
8880
+ useDebugValue: noop,
8883
8881
  useDeferredValue: clientHookNotSupported,
8884
8882
  useTransition: clientHookNotSupported,
8885
8883
  useSyncExternalStore: clientHookNotSupported,
@@ -9047,5 +9045,5 @@
9047
9045
  });
9048
9046
  });
9049
9047
  };
9050
- exports.version = "19.2.0-experimental-38ef6550-20250508";
9048
+ exports.version = "19.2.0-experimental-3820740a-20250509";
9051
9049
  })();
@@ -276,8 +276,9 @@ function sanitizeURL(url) {
276
276
  : url;
277
277
  }
278
278
  var ReactSharedInternals =
279
- React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
280
- sharedNotPendingObject = {
279
+ React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
280
+ function noop() {}
281
+ var sharedNotPendingObject = {
281
282
  pending: !1,
282
283
  data: null,
283
284
  method: null,
@@ -2847,12 +2848,11 @@ function clz32Fallback(x) {
2847
2848
  var SuspenseException = Error(
2848
2849
  "Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."
2849
2850
  );
2850
- function noop$2() {}
2851
2851
  function trackUsedThenable(thenableState, thenable, index) {
2852
2852
  index = thenableState[index];
2853
2853
  void 0 === index
2854
2854
  ? thenableState.push(thenable)
2855
- : index !== thenable && (thenable.then(noop$2, noop$2), (thenable = index));
2855
+ : index !== thenable && (thenable.then(noop, noop), (thenable = index));
2856
2856
  switch (thenable.status) {
2857
2857
  case "fulfilled":
2858
2858
  return thenable.value;
@@ -2860,7 +2860,7 @@ function trackUsedThenable(thenableState, thenable, index) {
2860
2860
  throw thenable.reason;
2861
2861
  default:
2862
2862
  "string" === typeof thenable.status
2863
- ? thenable.then(noop$2, noop$2)
2863
+ ? thenable.then(noop, noop)
2864
2864
  : ((thenableState = thenable),
2865
2865
  (thenableState.status = "pending"),
2866
2866
  thenableState.then(
@@ -3098,7 +3098,7 @@ var HooksDispatcher = {
3098
3098
  useReducer: clientHookNotSupported,
3099
3099
  useRef: clientHookNotSupported,
3100
3100
  useState: clientHookNotSupported,
3101
- useDebugValue: function () {},
3101
+ useDebugValue: noop,
3102
3102
  useDeferredValue: clientHookNotSupported,
3103
3103
  useTransition: clientHookNotSupported,
3104
3104
  useSyncExternalStore: clientHookNotSupported,
@@ -3370,7 +3370,6 @@ function defaultErrorHandler(error) {
3370
3370
  } else console.error(error);
3371
3371
  return null;
3372
3372
  }
3373
- function noop() {}
3374
3373
  function RequestInstance(
3375
3374
  resumableState,
3376
3375
  renderState,
@@ -6084,4 +6083,4 @@ exports.experimental_renderToHTML = function (children, options) {
6084
6083
  });
6085
6084
  });
6086
6085
  };
6087
- exports.version = "19.2.0-experimental-38ef6550-20250508";
6086
+ exports.version = "19.2.0-experimental-3820740a-20250509";
@@ -215,13 +215,12 @@
215
215
  maybeIterable["@@iterator"];
216
216
  return "function" === typeof maybeIterable ? maybeIterable : null;
217
217
  }
218
- function noop$4() {}
218
+ function noop() {}
219
219
  function trackUsedThenable$1(thenableState, thenable, index) {
220
220
  index = thenableState[index];
221
221
  void 0 === index
222
222
  ? thenableState.push(thenable)
223
- : index !== thenable &&
224
- (thenable.then(noop$4, noop$4), (thenable = index));
223
+ : index !== thenable && (thenable.then(noop, noop), (thenable = index));
225
224
  switch (thenable.status) {
226
225
  case "fulfilled":
227
226
  return thenable.value;
@@ -229,7 +228,7 @@
229
228
  throw thenable.reason;
230
229
  default:
231
230
  "string" === typeof thenable.status
232
- ? thenable.then(noop$4, noop$4)
231
+ ? thenable.then(noop, noop)
233
232
  : ((thenableState = thenable),
234
233
  (thenableState.status = "pending"),
235
234
  thenableState.then(
@@ -869,7 +868,6 @@
869
868
  function defaultErrorHandler$1(error) {
870
869
  console.error(error);
871
870
  }
872
- function defaultPostponeHandler() {}
873
871
  function RequestInstance$1(
874
872
  type,
875
873
  model,
@@ -944,7 +942,6 @@
944
942
  model = createTask(this, model, null, !1, abortSet, null, null, null);
945
943
  pingedTasks.push(model);
946
944
  }
947
- function noop$3() {}
948
945
  function createRequest$1(
949
946
  model,
950
947
  bundlerConfig,
@@ -966,8 +963,8 @@
966
963
  temporaryReferences,
967
964
  environmentName,
968
965
  filterStackFrame,
969
- noop$3,
970
- noop$3
966
+ noop,
967
+ noop
971
968
  );
972
969
  }
973
970
  function serializeThenable(request, task, thenable) {
@@ -8625,13 +8622,11 @@
8625
8622
  x >>>= 0;
8626
8623
  return 0 === x ? 32 : (31 - ((log(x) / LN2) | 0)) | 0;
8627
8624
  }
8628
- function noop$2() {}
8629
8625
  function trackUsedThenable(thenableState, thenable, index) {
8630
8626
  index = thenableState[index];
8631
8627
  void 0 === index
8632
8628
  ? thenableState.push(thenable)
8633
- : index !== thenable &&
8634
- (thenable.then(noop$2, noop$2), (thenable = index));
8629
+ : index !== thenable && (thenable.then(noop, noop), (thenable = index));
8635
8630
  switch (thenable.status) {
8636
8631
  case "fulfilled":
8637
8632
  return thenable.value;
@@ -8639,7 +8634,7 @@
8639
8634
  throw thenable.reason;
8640
8635
  default:
8641
8636
  "string" === typeof thenable.status
8642
- ? thenable.then(noop$2, noop$2)
8637
+ ? thenable.then(noop, noop)
8643
8638
  : ((thenableState = thenable),
8644
8639
  (thenableState.status = "pending"),
8645
8640
  thenableState.then(
@@ -8920,7 +8915,6 @@
8920
8915
  : console.error(error);
8921
8916
  return null;
8922
8917
  }
8923
- function noop() {}
8924
8918
  function RequestInstance(
8925
8919
  resumableState,
8926
8920
  renderState,
@@ -12784,6 +12778,7 @@
12784
12778
  ReactSharedInternalsServer.TaintRegistryByteLengths,
12785
12779
  TaintRegistryPendingRequests =
12786
12780
  ReactSharedInternalsServer.TaintRegistryPendingRequests,
12781
+ defaultPostponeHandler = noop,
12787
12782
  currentRequest = null,
12788
12783
  debugID = null,
12789
12784
  serializedSize = 0,
@@ -13730,7 +13725,7 @@
13730
13725
  useReducer: clientHookNotSupported,
13731
13726
  useRef: clientHookNotSupported,
13732
13727
  useState: clientHookNotSupported,
13733
- useDebugValue: function () {},
13728
+ useDebugValue: noop,
13734
13729
  useDeferredValue: clientHookNotSupported,
13735
13730
  useTransition: clientHookNotSupported,
13736
13731
  useSyncExternalStore: clientHookNotSupported,
@@ -14021,5 +14016,5 @@
14021
14016
  });
14022
14017
  });
14023
14018
  };
14024
- exports.version = "19.2.0-experimental-38ef6550-20250508";
14019
+ exports.version = "19.2.0-experimental-3820740a-20250509";
14025
14020
  })();
@@ -139,16 +139,16 @@ function getIteratorFn(maybeIterable) {
139
139
  maybeIterable["@@iterator"];
140
140
  return "function" === typeof maybeIterable ? maybeIterable : null;
141
141
  }
142
- var ASYNC_ITERATOR = Symbol.asyncIterator,
143
- SuspenseException$1 = Error(
144
- "Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."
145
- );
146
- function noop$4() {}
142
+ var ASYNC_ITERATOR = Symbol.asyncIterator;
143
+ function noop() {}
144
+ var SuspenseException$1 = Error(
145
+ "Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."
146
+ );
147
147
  function trackUsedThenable$1(thenableState, thenable, index) {
148
148
  index = thenableState[index];
149
149
  void 0 === index
150
150
  ? thenableState.push(thenable)
151
- : index !== thenable && (thenable.then(noop$4, noop$4), (thenable = index));
151
+ : index !== thenable && (thenable.then(noop, noop), (thenable = index));
152
152
  switch (thenable.status) {
153
153
  case "fulfilled":
154
154
  return thenable.value;
@@ -156,7 +156,7 @@ function trackUsedThenable$1(thenableState, thenable, index) {
156
156
  throw thenable.reason;
157
157
  default:
158
158
  "string" === typeof thenable.status
159
- ? thenable.then(noop$4, noop$4)
159
+ ? thenable.then(noop, noop)
160
160
  : ((thenableState = thenable),
161
161
  (thenableState.status = "pending"),
162
162
  thenableState.then(
@@ -592,7 +592,6 @@ function cleanupTaintQueue(request) {
592
592
  function defaultErrorHandler$1(error) {
593
593
  console.error(error);
594
594
  }
595
- function defaultPostponeHandler() {}
596
595
  function RequestInstance$1(
597
596
  type,
598
597
  model,
@@ -640,13 +639,12 @@ function RequestInstance$1(
640
639
  this.identifierCount = 1;
641
640
  this.taintCleanupQueue = cleanupQueue;
642
641
  this.onError = void 0 === onError ? defaultErrorHandler$1 : onError;
643
- this.onPostpone = void 0 === onPostpone ? defaultPostponeHandler : onPostpone;
642
+ this.onPostpone = void 0 === onPostpone ? noop : onPostpone;
644
643
  this.onAllReady = onAllReady;
645
644
  this.onFatalError = onFatalError;
646
645
  type = createTask(this, model, null, !1, filterStackFrame);
647
646
  environmentName.push(type);
648
647
  }
649
- function noop$3() {}
650
648
  var currentRequest = null;
651
649
  function serializeThenable(request, task, thenable) {
652
650
  var newTask = createTask(
@@ -5743,12 +5741,11 @@ function clz32Fallback(x) {
5743
5741
  var SuspenseException = Error(
5744
5742
  "Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."
5745
5743
  );
5746
- function noop$2() {}
5747
5744
  function trackUsedThenable(thenableState, thenable, index) {
5748
5745
  index = thenableState[index];
5749
5746
  void 0 === index
5750
5747
  ? thenableState.push(thenable)
5751
- : index !== thenable && (thenable.then(noop$2, noop$2), (thenable = index));
5748
+ : index !== thenable && (thenable.then(noop, noop), (thenable = index));
5752
5749
  switch (thenable.status) {
5753
5750
  case "fulfilled":
5754
5751
  return thenable.value;
@@ -5756,7 +5753,7 @@ function trackUsedThenable(thenableState, thenable, index) {
5756
5753
  throw thenable.reason;
5757
5754
  default:
5758
5755
  "string" === typeof thenable.status
5759
- ? thenable.then(noop$2, noop$2)
5756
+ ? thenable.then(noop, noop)
5760
5757
  : ((thenableState = thenable),
5761
5758
  (thenableState.status = "pending"),
5762
5759
  thenableState.then(
@@ -5994,7 +5991,7 @@ var HooksDispatcher = {
5994
5991
  useReducer: clientHookNotSupported,
5995
5992
  useRef: clientHookNotSupported,
5996
5993
  useState: clientHookNotSupported,
5997
- useDebugValue: function () {},
5994
+ useDebugValue: noop,
5998
5995
  useDeferredValue: clientHookNotSupported,
5999
5996
  useTransition: clientHookNotSupported,
6000
5997
  useSyncExternalStore: clientHookNotSupported,
@@ -6109,7 +6106,6 @@ function defaultErrorHandler(error) {
6109
6106
  } else console.error(error);
6110
6107
  return null;
6111
6108
  }
6112
- function noop() {}
6113
6109
  function RequestInstance(
6114
6110
  resumableState,
6115
6111
  renderState,
@@ -8959,8 +8955,8 @@ exports.experimental_renderToHTML = function (children, options) {
8959
8955
  void 0,
8960
8956
  "Markup",
8961
8957
  void 0,
8962
- noop$3,
8963
- noop$3
8958
+ noop,
8959
+ noop
8964
8960
  ),
8965
8961
  flightResponse = new ResponseInstance(
8966
8962
  null,
@@ -9055,4 +9051,4 @@ exports.experimental_renderToHTML = function (children, options) {
9055
9051
  });
9056
9052
  });
9057
9053
  };
9058
- exports.version = "19.2.0-experimental-38ef6550-20250508";
9054
+ exports.version = "19.2.0-experimental-3820740a-20250509";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-markup",
3
- "version": "0.0.0-experimental-38ef6550-20250508",
3
+ "version": "0.0.0-experimental-3820740a-20250509",
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-38ef6550-20250508"
20
+ "react": "0.0.0-experimental-3820740a-20250509"
21
21
  },
22
22
  "files": [
23
23
  "LICENSE",