react-markup 0.0.0-experimental-4dff0e62-20241213 → 0.0.0-experimental-e06c72fc-20241215

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.
@@ -2317,7 +2317,7 @@
2317
2317
  : children$jscomp$6;
2318
2318
  Array.isArray(children$jscomp$6) && 1 < children$jscomp$6.length
2319
2319
  ? console.error(
2320
- "React expects the `children` prop of <title> tags to be a string, number, bigint, or object with a novel `toString` method but found an Array with length %s instead. Browsers treat all child Nodes of <title> tags as Text content and React expects to be able to convert `children` of <title> tags to a single string value which is why Arrays of length greater than 1 are not supported. When using JSX it can be commong to combine text nodes and value nodes. For example: <title>hello {nameOfUser}</title>. While not immediately apparent, `children` in this case is an Array with length 2. If your `children` prop is using this form try rewriting it using a template string: <title>{`hello ${nameOfUser}`}</title>.",
2320
+ "React expects the `children` prop of <title> tags to be a string, number, bigint, or object with a novel `toString` method but found an Array with length %s instead. Browsers treat all child Nodes of <title> tags as Text content and React expects to be able to convert `children` of <title> tags to a single string value which is why Arrays of length greater than 1 are not supported. When using JSX it can be common to combine text nodes and value nodes. For example: <title>hello {nameOfUser}</title>. While not immediately apparent, `children` in this case is an Array with length 2. If your `children` prop is using this form try rewriting it using a template string: <title>{`hello ${nameOfUser}`}</title>.",
2321
2321
  children$jscomp$6.length
2322
2322
  )
2323
2323
  : "function" === typeof child || "symbol" === typeof child
@@ -4179,7 +4179,7 @@
4179
4179
  if ("string" === typeof type) return describeBuiltInComponentFrame(type);
4180
4180
  if ("function" === typeof type)
4181
4181
  return type.prototype && type.prototype.isReactComponent
4182
- ? ((type = describeNativeComponentFrame(type, !0)), type)
4182
+ ? describeNativeComponentFrame(type, !0)
4183
4183
  : describeNativeComponentFrame(type, !1);
4184
4184
  if ("object" === typeof type && null !== type) {
4185
4185
  switch (type.$$typeof) {
@@ -5245,7 +5245,6 @@
5245
5245
  } else {
5246
5246
  switch (type) {
5247
5247
  case REACT_LEGACY_HIDDEN_TYPE:
5248
- case REACT_DEBUG_TRACING_MODE_TYPE:
5249
5248
  case REACT_STRICT_MODE_TYPE:
5250
5249
  case REACT_PROFILER_TYPE:
5251
5250
  case REACT_FRAGMENT_TYPE:
@@ -7635,7 +7634,6 @@
7635
7634
  REACT_MEMO_TYPE = Symbol.for("react.memo"),
7636
7635
  REACT_LAZY_TYPE = Symbol.for("react.lazy"),
7637
7636
  REACT_SCOPE_TYPE = Symbol.for("react.scope"),
7638
- REACT_DEBUG_TRACING_MODE_TYPE = Symbol.for("react.debug_trace_mode"),
7639
7637
  REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"),
7640
7638
  REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"),
7641
7639
  REACT_MEMO_CACHE_SENTINEL = Symbol.for("react.memo_cache_sentinel"),
@@ -8503,29 +8501,29 @@
8503
8501
  return treeId + ":";
8504
8502
  },
8505
8503
  useSyncExternalStore: clientHookNotSupported,
8506
- useCacheRefresh: function () {
8507
- return unsupportedRefresh;
8504
+ useOptimistic: function (passthrough) {
8505
+ resolveCurrentlyRenderingComponent();
8506
+ return [passthrough, unsupportedSetOptimisticState];
8508
8507
  },
8509
- useEffectEvent: function () {
8510
- return throwOnUseEffectEventCall;
8508
+ useActionState: useActionState,
8509
+ useFormState: useActionState,
8510
+ useHostTransitionStatus: function () {
8511
+ resolveCurrentlyRenderingComponent();
8512
+ return NotPending;
8511
8513
  },
8512
8514
  useMemoCache: function (size) {
8513
8515
  for (var data = Array(size), i = 0; i < size; i++)
8514
8516
  data[i] = REACT_MEMO_CACHE_SENTINEL;
8515
8517
  return data;
8516
8518
  },
8517
- useHostTransitionStatus: function () {
8518
- resolveCurrentlyRenderingComponent();
8519
- return NotPending;
8519
+ useCacheRefresh: function () {
8520
+ return unsupportedRefresh;
8520
8521
  },
8521
- useOptimistic: function (passthrough) {
8522
- resolveCurrentlyRenderingComponent();
8523
- return [passthrough, unsupportedSetOptimisticState];
8522
+ useEffectEvent: function () {
8523
+ return throwOnUseEffectEventCall;
8524
8524
  }
8525
- };
8526
- HooksDispatcher.useFormState = useActionState;
8527
- HooksDispatcher.useActionState = useActionState;
8528
- var currentResumableState = null,
8525
+ },
8526
+ currentResumableState = null,
8529
8527
  currentTaskInDEV = null,
8530
8528
  DefaultAsyncDispatcher = {
8531
8529
  getCacheForType: function () {
@@ -8635,5 +8633,5 @@
8635
8633
  });
8636
8634
  });
8637
8635
  };
8638
- exports.version = "19.1.0-experimental-4dff0e62-20241213";
8636
+ exports.version = "19.1.0-experimental-e06c72fc-20241215";
8639
8637
  })();
@@ -48,7 +48,6 @@ var React = require("react"),
48
48
  REACT_MEMO_TYPE = Symbol.for("react.memo"),
49
49
  REACT_LAZY_TYPE = Symbol.for("react.lazy"),
50
50
  REACT_SCOPE_TYPE = Symbol.for("react.scope"),
51
- REACT_DEBUG_TRACING_MODE_TYPE = Symbol.for("react.debug_trace_mode"),
52
51
  REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"),
53
52
  REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"),
54
53
  REACT_MEMO_CACHE_SENTINEL = Symbol.for("react.memo_cache_sentinel"),
@@ -2926,80 +2925,81 @@ function clientHookNotSupported() {
2926
2925
  );
2927
2926
  }
2928
2927
  var HooksDispatcher = {
2929
- readContext: function (context) {
2930
- return context._currentValue2;
2931
- },
2932
- use: function (usable) {
2933
- if (null !== usable && "object" === typeof usable) {
2934
- if ("function" === typeof usable.then) return unwrapThenable(usable);
2935
- if (usable.$$typeof === REACT_CONTEXT_TYPE) return usable._currentValue2;
2928
+ readContext: function (context) {
2929
+ return context._currentValue2;
2930
+ },
2931
+ use: function (usable) {
2932
+ if (null !== usable && "object" === typeof usable) {
2933
+ if ("function" === typeof usable.then) return unwrapThenable(usable);
2934
+ if (usable.$$typeof === REACT_CONTEXT_TYPE)
2935
+ return usable._currentValue2;
2936
+ }
2937
+ throw Error("An unsupported type was passed to use(): " + String(usable));
2938
+ },
2939
+ useContext: function (context) {
2940
+ resolveCurrentlyRenderingComponent();
2941
+ return context._currentValue2;
2942
+ },
2943
+ useMemo: useMemo,
2944
+ useReducer: clientHookNotSupported,
2945
+ useRef: clientHookNotSupported,
2946
+ useState: clientHookNotSupported,
2947
+ useInsertionEffect: clientHookNotSupported,
2948
+ useLayoutEffect: clientHookNotSupported,
2949
+ useCallback: function (callback, deps) {
2950
+ return useMemo(function () {
2951
+ return callback;
2952
+ }, deps);
2953
+ },
2954
+ useImperativeHandle: clientHookNotSupported,
2955
+ useEffect: clientHookNotSupported,
2956
+ useDebugValue: function () {},
2957
+ useDeferredValue: clientHookNotSupported,
2958
+ useTransition: clientHookNotSupported,
2959
+ useId: function () {
2960
+ var JSCompiler_inline_result = currentlyRenderingTask.treeContext;
2961
+ var overflow = JSCompiler_inline_result.overflow;
2962
+ JSCompiler_inline_result = JSCompiler_inline_result.id;
2963
+ JSCompiler_inline_result =
2964
+ (
2965
+ JSCompiler_inline_result &
2966
+ ~(1 << (32 - clz32(JSCompiler_inline_result) - 1))
2967
+ ).toString(32) + overflow;
2968
+ var resumableState = currentResumableState;
2969
+ if (null === resumableState)
2970
+ throw Error(
2971
+ "Invalid hook call. Hooks can only be called inside of the body of a function component."
2972
+ );
2973
+ overflow = localIdCounter++;
2974
+ JSCompiler_inline_result =
2975
+ ":" + resumableState.idPrefix + "R" + JSCompiler_inline_result;
2976
+ 0 < overflow && (JSCompiler_inline_result += "H" + overflow.toString(32));
2977
+ return JSCompiler_inline_result + ":";
2978
+ },
2979
+ useSyncExternalStore: clientHookNotSupported,
2980
+ useOptimistic: function (passthrough) {
2981
+ resolveCurrentlyRenderingComponent();
2982
+ return [passthrough, unsupportedSetOptimisticState];
2983
+ },
2984
+ useActionState: useActionState,
2985
+ useFormState: useActionState,
2986
+ useHostTransitionStatus: function () {
2987
+ resolveCurrentlyRenderingComponent();
2988
+ return sharedNotPendingObject;
2989
+ },
2990
+ useMemoCache: function (size) {
2991
+ for (var data = Array(size), i = 0; i < size; i++)
2992
+ data[i] = REACT_MEMO_CACHE_SENTINEL;
2993
+ return data;
2994
+ },
2995
+ useCacheRefresh: function () {
2996
+ return unsupportedRefresh;
2997
+ },
2998
+ useEffectEvent: function () {
2999
+ return throwOnUseEffectEventCall;
2936
3000
  }
2937
- throw Error("An unsupported type was passed to use(): " + String(usable));
2938
- },
2939
- useContext: function (context) {
2940
- resolveCurrentlyRenderingComponent();
2941
- return context._currentValue2;
2942
- },
2943
- useMemo: useMemo,
2944
- useReducer: clientHookNotSupported,
2945
- useRef: clientHookNotSupported,
2946
- useState: clientHookNotSupported,
2947
- useInsertionEffect: clientHookNotSupported,
2948
- useLayoutEffect: clientHookNotSupported,
2949
- useCallback: function (callback, deps) {
2950
- return useMemo(function () {
2951
- return callback;
2952
- }, deps);
2953
- },
2954
- useImperativeHandle: clientHookNotSupported,
2955
- useEffect: clientHookNotSupported,
2956
- useDebugValue: function () {},
2957
- useDeferredValue: clientHookNotSupported,
2958
- useTransition: clientHookNotSupported,
2959
- useId: function () {
2960
- var JSCompiler_inline_result = currentlyRenderingTask.treeContext;
2961
- var overflow = JSCompiler_inline_result.overflow;
2962
- JSCompiler_inline_result = JSCompiler_inline_result.id;
2963
- JSCompiler_inline_result =
2964
- (
2965
- JSCompiler_inline_result &
2966
- ~(1 << (32 - clz32(JSCompiler_inline_result) - 1))
2967
- ).toString(32) + overflow;
2968
- var resumableState = currentResumableState;
2969
- if (null === resumableState)
2970
- throw Error(
2971
- "Invalid hook call. Hooks can only be called inside of the body of a function component."
2972
- );
2973
- overflow = localIdCounter++;
2974
- JSCompiler_inline_result =
2975
- ":" + resumableState.idPrefix + "R" + JSCompiler_inline_result;
2976
- 0 < overflow && (JSCompiler_inline_result += "H" + overflow.toString(32));
2977
- return JSCompiler_inline_result + ":";
2978
3001
  },
2979
- useSyncExternalStore: clientHookNotSupported,
2980
- useCacheRefresh: function () {
2981
- return unsupportedRefresh;
2982
- },
2983
- useEffectEvent: function () {
2984
- return throwOnUseEffectEventCall;
2985
- },
2986
- useMemoCache: function (size) {
2987
- for (var data = Array(size), i = 0; i < size; i++)
2988
- data[i] = REACT_MEMO_CACHE_SENTINEL;
2989
- return data;
2990
- },
2991
- useHostTransitionStatus: function () {
2992
- resolveCurrentlyRenderingComponent();
2993
- return sharedNotPendingObject;
2994
- },
2995
- useOptimistic: function (passthrough) {
2996
- resolveCurrentlyRenderingComponent();
2997
- return [passthrough, unsupportedSetOptimisticState];
2998
- }
2999
- };
3000
- HooksDispatcher.useFormState = useActionState;
3001
- HooksDispatcher.useActionState = useActionState;
3002
- var currentResumableState = null,
3002
+ currentResumableState = null,
3003
3003
  DefaultAsyncDispatcher = {
3004
3004
  getCacheForType: function () {
3005
3005
  throw Error("Not implemented.");
@@ -3166,7 +3166,7 @@ function describeComponentStackByType(type) {
3166
3166
  if ("string" === typeof type) return describeBuiltInComponentFrame(type);
3167
3167
  if ("function" === typeof type)
3168
3168
  return type.prototype && type.prototype.isReactComponent
3169
- ? ((type = describeNativeComponentFrame(type, !0)), type)
3169
+ ? describeNativeComponentFrame(type, !0)
3170
3170
  : describeNativeComponentFrame(type, !1);
3171
3171
  if ("object" === typeof type && null !== type) {
3172
3172
  switch (type.$$typeof) {
@@ -3758,7 +3758,6 @@ function renderElement(request, task, keyPath, type, props, ref) {
3758
3758
  else {
3759
3759
  switch (type) {
3760
3760
  case REACT_LEGACY_HIDDEN_TYPE:
3761
- case REACT_DEBUG_TRACING_MODE_TYPE:
3762
3761
  case REACT_STRICT_MODE_TYPE:
3763
3762
  case REACT_PROFILER_TYPE:
3764
3763
  case REACT_FRAGMENT_TYPE:
@@ -5710,4 +5709,4 @@ exports.experimental_renderToHTML = function (children, options) {
5710
5709
  });
5711
5710
  });
5712
5711
  };
5713
- exports.version = "19.1.0-experimental-4dff0e62-20241213";
5712
+ exports.version = "19.1.0-experimental-e06c72fc-20241215";
@@ -6738,7 +6738,7 @@
6738
6738
  : children$jscomp$6;
6739
6739
  Array.isArray(children$jscomp$6) && 1 < children$jscomp$6.length
6740
6740
  ? console.error(
6741
- "React expects the `children` prop of <title> tags to be a string, number, bigint, or object with a novel `toString` method but found an Array with length %s instead. Browsers treat all child Nodes of <title> tags as Text content and React expects to be able to convert `children` of <title> tags to a single string value which is why Arrays of length greater than 1 are not supported. When using JSX it can be commong to combine text nodes and value nodes. For example: <title>hello {nameOfUser}</title>. While not immediately apparent, `children` in this case is an Array with length 2. If your `children` prop is using this form try rewriting it using a template string: <title>{`hello ${nameOfUser}`}</title>.",
6741
+ "React expects the `children` prop of <title> tags to be a string, number, bigint, or object with a novel `toString` method but found an Array with length %s instead. Browsers treat all child Nodes of <title> tags as Text content and React expects to be able to convert `children` of <title> tags to a single string value which is why Arrays of length greater than 1 are not supported. When using JSX it can be common to combine text nodes and value nodes. For example: <title>hello {nameOfUser}</title>. While not immediately apparent, `children` in this case is an Array with length 2. If your `children` prop is using this form try rewriting it using a template string: <title>{`hello ${nameOfUser}`}</title>.",
6742
6742
  children$jscomp$6.length
6743
6743
  )
6744
6744
  : "function" === typeof child || "symbol" === typeof child
@@ -8298,7 +8298,7 @@
8298
8298
  if ("string" === typeof type) return describeBuiltInComponentFrame(type);
8299
8299
  if ("function" === typeof type)
8300
8300
  return type.prototype && type.prototype.isReactComponent
8301
- ? ((type = describeNativeComponentFrame(type, !0)), type)
8301
+ ? describeNativeComponentFrame(type, !0)
8302
8302
  : describeNativeComponentFrame(type, !1);
8303
8303
  if ("object" === typeof type && null !== type) {
8304
8304
  switch (type.$$typeof) {
@@ -9350,7 +9350,6 @@
9350
9350
  } else {
9351
9351
  switch (type) {
9352
9352
  case REACT_LEGACY_HIDDEN_TYPE:
9353
- case REACT_DEBUG_TRACING_MODE_TYPE:
9354
9353
  case REACT_STRICT_MODE_TYPE:
9355
9354
  case REACT_PROFILER_TYPE:
9356
9355
  case REACT_FRAGMENT_TYPE:
@@ -11764,7 +11763,6 @@
11764
11763
  REACT_MEMO_TYPE = Symbol.for("react.memo"),
11765
11764
  REACT_LAZY_TYPE = Symbol.for("react.lazy"),
11766
11765
  REACT_SCOPE_TYPE = Symbol.for("react.scope"),
11767
- REACT_DEBUG_TRACING_MODE_TYPE = Symbol.for("react.debug_trace_mode"),
11768
11766
  REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"),
11769
11767
  REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"),
11770
11768
  REACT_MEMO_CACHE_SENTINEL = Symbol.for("react.memo_cache_sentinel"),
@@ -11810,6 +11808,10 @@
11810
11808
  ":"
11811
11809
  );
11812
11810
  },
11811
+ useHostTransitionStatus: unsupportedHook,
11812
+ useOptimistic: unsupportedHook,
11813
+ useFormState: unsupportedHook,
11814
+ useActionState: unsupportedHook,
11813
11815
  useSyncExternalStore: unsupportedHook,
11814
11816
  useCacheRefresh: function () {
11815
11817
  return unsupportedRefresh$1;
@@ -12914,29 +12916,29 @@
12914
12916
  return treeId + ":";
12915
12917
  },
12916
12918
  useSyncExternalStore: clientHookNotSupported,
12917
- useCacheRefresh: function () {
12918
- return unsupportedRefresh;
12919
+ useOptimistic: function (passthrough) {
12920
+ resolveCurrentlyRenderingComponent();
12921
+ return [passthrough, unsupportedSetOptimisticState];
12919
12922
  },
12920
- useEffectEvent: function () {
12921
- return throwOnUseEffectEventCall;
12923
+ useActionState: useActionState,
12924
+ useFormState: useActionState,
12925
+ useHostTransitionStatus: function () {
12926
+ resolveCurrentlyRenderingComponent();
12927
+ return NotPending;
12922
12928
  },
12923
12929
  useMemoCache: function (size) {
12924
12930
  for (var data = Array(size), i = 0; i < size; i++)
12925
12931
  data[i] = REACT_MEMO_CACHE_SENTINEL;
12926
12932
  return data;
12927
12933
  },
12928
- useHostTransitionStatus: function () {
12929
- resolveCurrentlyRenderingComponent();
12930
- return NotPending;
12934
+ useCacheRefresh: function () {
12935
+ return unsupportedRefresh;
12931
12936
  },
12932
- useOptimistic: function (passthrough) {
12933
- resolveCurrentlyRenderingComponent();
12934
- return [passthrough, unsupportedSetOptimisticState];
12937
+ useEffectEvent: function () {
12938
+ return throwOnUseEffectEventCall;
12935
12939
  }
12936
- };
12937
- HooksDispatcher.useFormState = useActionState;
12938
- HooksDispatcher.useActionState = useActionState;
12939
- var currentResumableState = null,
12940
+ },
12941
+ currentResumableState = null,
12940
12942
  currentTaskInDEV = null,
12941
12943
  DefaultAsyncDispatcher = {
12942
12944
  getCacheForType: function () {
@@ -13187,5 +13189,5 @@
13187
13189
  });
13188
13190
  });
13189
13191
  };
13190
- exports.version = "19.1.0-experimental-4dff0e62-20241213";
13192
+ exports.version = "19.1.0-experimental-e06c72fc-20241215";
13191
13193
  })();
@@ -118,7 +118,6 @@ var CLIENT_REFERENCE_TAG$1 = Symbol.for("react.client.reference"),
118
118
  REACT_MEMO_TYPE = Symbol.for("react.memo"),
119
119
  REACT_LAZY_TYPE = Symbol.for("react.lazy"),
120
120
  REACT_SCOPE_TYPE = Symbol.for("react.scope"),
121
- REACT_DEBUG_TRACING_MODE_TYPE = Symbol.for("react.debug_trace_mode"),
122
121
  REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"),
123
122
  REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"),
124
123
  REACT_MEMO_CACHE_SENTINEL = Symbol.for("react.memo_cache_sentinel"),
@@ -215,6 +214,10 @@ var HooksDispatcher$1 = {
215
214
  useImperativeHandle: unsupportedHook,
216
215
  useEffect: unsupportedHook,
217
216
  useId: useId$1,
217
+ useHostTransitionStatus: unsupportedHook,
218
+ useOptimistic: unsupportedHook,
219
+ useFormState: unsupportedHook,
220
+ useActionState: unsupportedHook,
218
221
  useSyncExternalStore: unsupportedHook,
219
222
  useCacheRefresh: function () {
220
223
  return unsupportedRefresh$1;
@@ -5755,80 +5758,81 @@ function clientHookNotSupported() {
5755
5758
  );
5756
5759
  }
5757
5760
  var HooksDispatcher = {
5758
- readContext: function (context) {
5759
- return context._currentValue2;
5760
- },
5761
- use: function (usable) {
5762
- if (null !== usable && "object" === typeof usable) {
5763
- if ("function" === typeof usable.then) return unwrapThenable(usable);
5764
- if (usable.$$typeof === REACT_CONTEXT_TYPE) return usable._currentValue2;
5761
+ readContext: function (context) {
5762
+ return context._currentValue2;
5763
+ },
5764
+ use: function (usable) {
5765
+ if (null !== usable && "object" === typeof usable) {
5766
+ if ("function" === typeof usable.then) return unwrapThenable(usable);
5767
+ if (usable.$$typeof === REACT_CONTEXT_TYPE)
5768
+ return usable._currentValue2;
5769
+ }
5770
+ throw Error("An unsupported type was passed to use(): " + String(usable));
5771
+ },
5772
+ useContext: function (context) {
5773
+ resolveCurrentlyRenderingComponent();
5774
+ return context._currentValue2;
5775
+ },
5776
+ useMemo: useMemo,
5777
+ useReducer: clientHookNotSupported,
5778
+ useRef: clientHookNotSupported,
5779
+ useState: clientHookNotSupported,
5780
+ useInsertionEffect: clientHookNotSupported,
5781
+ useLayoutEffect: clientHookNotSupported,
5782
+ useCallback: function (callback, deps) {
5783
+ return useMemo(function () {
5784
+ return callback;
5785
+ }, deps);
5786
+ },
5787
+ useImperativeHandle: clientHookNotSupported,
5788
+ useEffect: clientHookNotSupported,
5789
+ useDebugValue: function () {},
5790
+ useDeferredValue: clientHookNotSupported,
5791
+ useTransition: clientHookNotSupported,
5792
+ useId: function () {
5793
+ var JSCompiler_inline_result = currentlyRenderingTask.treeContext;
5794
+ var overflow = JSCompiler_inline_result.overflow;
5795
+ JSCompiler_inline_result = JSCompiler_inline_result.id;
5796
+ JSCompiler_inline_result =
5797
+ (
5798
+ JSCompiler_inline_result &
5799
+ ~(1 << (32 - clz32(JSCompiler_inline_result) - 1))
5800
+ ).toString(32) + overflow;
5801
+ var resumableState = currentResumableState;
5802
+ if (null === resumableState)
5803
+ throw Error(
5804
+ "Invalid hook call. Hooks can only be called inside of the body of a function component."
5805
+ );
5806
+ overflow = localIdCounter++;
5807
+ JSCompiler_inline_result =
5808
+ ":" + resumableState.idPrefix + "R" + JSCompiler_inline_result;
5809
+ 0 < overflow && (JSCompiler_inline_result += "H" + overflow.toString(32));
5810
+ return JSCompiler_inline_result + ":";
5811
+ },
5812
+ useSyncExternalStore: clientHookNotSupported,
5813
+ useOptimistic: function (passthrough) {
5814
+ resolveCurrentlyRenderingComponent();
5815
+ return [passthrough, unsupportedSetOptimisticState];
5816
+ },
5817
+ useActionState: useActionState,
5818
+ useFormState: useActionState,
5819
+ useHostTransitionStatus: function () {
5820
+ resolveCurrentlyRenderingComponent();
5821
+ return sharedNotPendingObject;
5822
+ },
5823
+ useMemoCache: function (size) {
5824
+ for (var data = Array(size), i = 0; i < size; i++)
5825
+ data[i] = REACT_MEMO_CACHE_SENTINEL;
5826
+ return data;
5827
+ },
5828
+ useCacheRefresh: function () {
5829
+ return unsupportedRefresh;
5830
+ },
5831
+ useEffectEvent: function () {
5832
+ return throwOnUseEffectEventCall;
5765
5833
  }
5766
- throw Error("An unsupported type was passed to use(): " + String(usable));
5767
- },
5768
- useContext: function (context) {
5769
- resolveCurrentlyRenderingComponent();
5770
- return context._currentValue2;
5771
- },
5772
- useMemo: useMemo,
5773
- useReducer: clientHookNotSupported,
5774
- useRef: clientHookNotSupported,
5775
- useState: clientHookNotSupported,
5776
- useInsertionEffect: clientHookNotSupported,
5777
- useLayoutEffect: clientHookNotSupported,
5778
- useCallback: function (callback, deps) {
5779
- return useMemo(function () {
5780
- return callback;
5781
- }, deps);
5782
5834
  },
5783
- useImperativeHandle: clientHookNotSupported,
5784
- useEffect: clientHookNotSupported,
5785
- useDebugValue: function () {},
5786
- useDeferredValue: clientHookNotSupported,
5787
- useTransition: clientHookNotSupported,
5788
- useId: function () {
5789
- var JSCompiler_inline_result = currentlyRenderingTask.treeContext;
5790
- var overflow = JSCompiler_inline_result.overflow;
5791
- JSCompiler_inline_result = JSCompiler_inline_result.id;
5792
- JSCompiler_inline_result =
5793
- (
5794
- JSCompiler_inline_result &
5795
- ~(1 << (32 - clz32(JSCompiler_inline_result) - 1))
5796
- ).toString(32) + overflow;
5797
- var resumableState = currentResumableState;
5798
- if (null === resumableState)
5799
- throw Error(
5800
- "Invalid hook call. Hooks can only be called inside of the body of a function component."
5801
- );
5802
- overflow = localIdCounter++;
5803
- JSCompiler_inline_result =
5804
- ":" + resumableState.idPrefix + "R" + JSCompiler_inline_result;
5805
- 0 < overflow && (JSCompiler_inline_result += "H" + overflow.toString(32));
5806
- return JSCompiler_inline_result + ":";
5807
- },
5808
- useSyncExternalStore: clientHookNotSupported,
5809
- useCacheRefresh: function () {
5810
- return unsupportedRefresh;
5811
- },
5812
- useEffectEvent: function () {
5813
- return throwOnUseEffectEventCall;
5814
- },
5815
- useMemoCache: function (size) {
5816
- for (var data = Array(size), i = 0; i < size; i++)
5817
- data[i] = REACT_MEMO_CACHE_SENTINEL;
5818
- return data;
5819
- },
5820
- useHostTransitionStatus: function () {
5821
- resolveCurrentlyRenderingComponent();
5822
- return sharedNotPendingObject;
5823
- },
5824
- useOptimistic: function (passthrough) {
5825
- resolveCurrentlyRenderingComponent();
5826
- return [passthrough, unsupportedSetOptimisticState];
5827
- }
5828
- };
5829
- HooksDispatcher.useFormState = useActionState;
5830
- HooksDispatcher.useActionState = useActionState;
5831
- var currentResumableState = null,
5835
+ currentResumableState = null,
5832
5836
  DefaultAsyncDispatcher = {
5833
5837
  getCacheForType: function () {
5834
5838
  throw Error("Not implemented.");
@@ -5838,7 +5842,7 @@ function describeComponentStackByType(type) {
5838
5842
  if ("string" === typeof type) return describeBuiltInComponentFrame(type);
5839
5843
  if ("function" === typeof type)
5840
5844
  return type.prototype && type.prototype.isReactComponent
5841
- ? ((type = describeNativeComponentFrame(type, !0)), type)
5845
+ ? describeNativeComponentFrame(type, !0)
5842
5846
  : describeNativeComponentFrame(type, !1);
5843
5847
  if ("object" === typeof type && null !== type) {
5844
5848
  switch (type.$$typeof) {
@@ -6430,7 +6434,6 @@ function renderElement(request, task, keyPath, type, props, ref) {
6430
6434
  else {
6431
6435
  switch (type) {
6432
6436
  case REACT_LEGACY_HIDDEN_TYPE:
6433
- case REACT_DEBUG_TRACING_MODE_TYPE:
6434
6437
  case REACT_STRICT_MODE_TYPE:
6435
6438
  case REACT_PROFILER_TYPE:
6436
6439
  case REACT_FRAGMENT_TYPE:
@@ -8620,4 +8623,4 @@ exports.experimental_renderToHTML = function (children, options) {
8620
8623
  });
8621
8624
  });
8622
8625
  };
8623
- exports.version = "19.1.0-experimental-4dff0e62-20241213";
8626
+ exports.version = "19.1.0-experimental-e06c72fc-20241215";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-markup",
3
- "version": "0.0.0-experimental-4dff0e62-20241213",
3
+ "version": "0.0.0-experimental-e06c72fc-20241215",
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-4dff0e62-20241213"
20
+ "react": "0.0.0-experimental-e06c72fc-20241215"
21
21
  },
22
22
  "files": [
23
23
  "LICENSE",