react-markup 0.0.0-experimental-ef4bc8b4-20250328 → 0.0.0-experimental-e5dd82a7-20250401

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.
@@ -8820,9 +8820,8 @@
8820
8820
  useEffectEvent: function () {
8821
8821
  return throwOnUseEffectEventCall;
8822
8822
  }
8823
- };
8824
- HooksDispatcher.useSwipeTransition = clientHookNotSupported;
8825
- var currentResumableState = null,
8823
+ },
8824
+ currentResumableState = null,
8826
8825
  currentTaskInDEV = null,
8827
8826
  DefaultAsyncDispatcher = {
8828
8827
  getCacheForType: function () {
@@ -8947,5 +8946,5 @@
8947
8946
  });
8948
8947
  });
8949
8948
  };
8950
- exports.version = "19.1.0-experimental-ef4bc8b4-20250328";
8949
+ exports.version = "19.2.0-experimental-e5dd82a7-20250401";
8951
8950
  })();
@@ -3000,81 +3000,81 @@ function clientHookNotSupported() {
3000
3000
  );
3001
3001
  }
3002
3002
  var HooksDispatcher = {
3003
- readContext: function (context) {
3004
- return context._currentValue2;
3005
- },
3006
- use: function (usable) {
3007
- if (null !== usable && "object" === typeof usable) {
3008
- if ("function" === typeof usable.then) return unwrapThenable(usable);
3009
- if (usable.$$typeof === REACT_CONTEXT_TYPE) return usable._currentValue2;
3003
+ readContext: function (context) {
3004
+ return context._currentValue2;
3005
+ },
3006
+ use: function (usable) {
3007
+ if (null !== usable && "object" === typeof usable) {
3008
+ if ("function" === typeof usable.then) return unwrapThenable(usable);
3009
+ if (usable.$$typeof === REACT_CONTEXT_TYPE)
3010
+ return usable._currentValue2;
3011
+ }
3012
+ throw Error("An unsupported type was passed to use(): " + String(usable));
3013
+ },
3014
+ useCallback: function (callback, deps) {
3015
+ return useMemo(function () {
3016
+ return callback;
3017
+ }, deps);
3018
+ },
3019
+ useContext: function (context) {
3020
+ resolveCurrentlyRenderingComponent();
3021
+ return context._currentValue2;
3022
+ },
3023
+ useEffect: clientHookNotSupported,
3024
+ useImperativeHandle: clientHookNotSupported,
3025
+ useInsertionEffect: clientHookNotSupported,
3026
+ useLayoutEffect: clientHookNotSupported,
3027
+ useMemo: useMemo,
3028
+ useReducer: clientHookNotSupported,
3029
+ useRef: clientHookNotSupported,
3030
+ useState: clientHookNotSupported,
3031
+ useDebugValue: function () {},
3032
+ useDeferredValue: clientHookNotSupported,
3033
+ useTransition: clientHookNotSupported,
3034
+ useSyncExternalStore: clientHookNotSupported,
3035
+ useId: function () {
3036
+ var JSCompiler_inline_result = currentlyRenderingTask.treeContext;
3037
+ var overflow = JSCompiler_inline_result.overflow;
3038
+ JSCompiler_inline_result = JSCompiler_inline_result.id;
3039
+ JSCompiler_inline_result =
3040
+ (
3041
+ JSCompiler_inline_result &
3042
+ ~(1 << (32 - clz32(JSCompiler_inline_result) - 1))
3043
+ ).toString(32) + overflow;
3044
+ var resumableState = currentResumableState;
3045
+ if (null === resumableState)
3046
+ throw Error(
3047
+ "Invalid hook call. Hooks can only be called inside of the body of a function component."
3048
+ );
3049
+ overflow = localIdCounter++;
3050
+ JSCompiler_inline_result =
3051
+ "\u00ab" + resumableState.idPrefix + "R" + JSCompiler_inline_result;
3052
+ 0 < overflow && (JSCompiler_inline_result += "H" + overflow.toString(32));
3053
+ return JSCompiler_inline_result + "\u00bb";
3054
+ },
3055
+ useHostTransitionStatus: function () {
3056
+ resolveCurrentlyRenderingComponent();
3057
+ return sharedNotPendingObject;
3058
+ },
3059
+ useFormState: useActionState,
3060
+ useActionState: useActionState,
3061
+ useOptimistic: function (passthrough) {
3062
+ resolveCurrentlyRenderingComponent();
3063
+ return [passthrough, unsupportedSetOptimisticState];
3064
+ },
3065
+ useMemoCache: function (size) {
3066
+ for (var data = Array(size), i = 0; i < size; i++)
3067
+ data[i] = REACT_MEMO_CACHE_SENTINEL;
3068
+ return data;
3069
+ },
3070
+ useCacheRefresh: function () {
3071
+ return unsupportedRefresh;
3072
+ },
3073
+ useEffectEvent: function () {
3074
+ return throwOnUseEffectEventCall;
3010
3075
  }
3011
- throw Error("An unsupported type was passed to use(): " + String(usable));
3012
- },
3013
- useCallback: function (callback, deps) {
3014
- return useMemo(function () {
3015
- return callback;
3016
- }, deps);
3017
- },
3018
- useContext: function (context) {
3019
- resolveCurrentlyRenderingComponent();
3020
- return context._currentValue2;
3021
- },
3022
- useEffect: clientHookNotSupported,
3023
- useImperativeHandle: clientHookNotSupported,
3024
- useInsertionEffect: clientHookNotSupported,
3025
- useLayoutEffect: clientHookNotSupported,
3026
- useMemo: useMemo,
3027
- useReducer: clientHookNotSupported,
3028
- useRef: clientHookNotSupported,
3029
- useState: clientHookNotSupported,
3030
- useDebugValue: function () {},
3031
- useDeferredValue: clientHookNotSupported,
3032
- useTransition: clientHookNotSupported,
3033
- useSyncExternalStore: clientHookNotSupported,
3034
- useId: function () {
3035
- var JSCompiler_inline_result = currentlyRenderingTask.treeContext;
3036
- var overflow = JSCompiler_inline_result.overflow;
3037
- JSCompiler_inline_result = JSCompiler_inline_result.id;
3038
- JSCompiler_inline_result =
3039
- (
3040
- JSCompiler_inline_result &
3041
- ~(1 << (32 - clz32(JSCompiler_inline_result) - 1))
3042
- ).toString(32) + overflow;
3043
- var resumableState = currentResumableState;
3044
- if (null === resumableState)
3045
- throw Error(
3046
- "Invalid hook call. Hooks can only be called inside of the body of a function component."
3047
- );
3048
- overflow = localIdCounter++;
3049
- JSCompiler_inline_result =
3050
- "\u00ab" + resumableState.idPrefix + "R" + JSCompiler_inline_result;
3051
- 0 < overflow && (JSCompiler_inline_result += "H" + overflow.toString(32));
3052
- return JSCompiler_inline_result + "\u00bb";
3053
3076
  },
3054
- useHostTransitionStatus: function () {
3055
- resolveCurrentlyRenderingComponent();
3056
- return sharedNotPendingObject;
3057
- },
3058
- useFormState: useActionState,
3059
- useActionState: useActionState,
3060
- useOptimistic: function (passthrough) {
3061
- resolveCurrentlyRenderingComponent();
3062
- return [passthrough, unsupportedSetOptimisticState];
3063
- },
3064
- useMemoCache: function (size) {
3065
- for (var data = Array(size), i = 0; i < size; i++)
3066
- data[i] = REACT_MEMO_CACHE_SENTINEL;
3067
- return data;
3068
- },
3069
- useCacheRefresh: function () {
3070
- return unsupportedRefresh;
3071
- },
3072
- useEffectEvent: function () {
3073
- return throwOnUseEffectEventCall;
3074
- }
3075
- };
3076
- HooksDispatcher.useSwipeTransition = clientHookNotSupported;
3077
- var currentResumableState = null,
3077
+ currentResumableState = null,
3078
3078
  DefaultAsyncDispatcher = {
3079
3079
  getCacheForType: function () {
3080
3080
  throw Error("Not implemented.");
@@ -5995,4 +5995,4 @@ exports.experimental_renderToHTML = function (children, options) {
5995
5995
  });
5996
5996
  });
5997
5997
  };
5998
- exports.version = "19.1.0-experimental-ef4bc8b4-20250328";
5998
+ exports.version = "19.2.0-experimental-e5dd82a7-20250401";
@@ -12236,8 +12236,9 @@
12236
12236
  A: null,
12237
12237
  T: null,
12238
12238
  S: null,
12239
- V: null,
12239
+ G: null,
12240
12240
  actQueue: null,
12241
+ asyncTransitions: 0,
12241
12242
  isBatchingLegacy: !1,
12242
12243
  didScheduleLegacyUpdate: !1,
12243
12244
  didUsePromise: !1,
@@ -12353,7 +12354,6 @@
12353
12354
  }
12354
12355
  };
12355
12356
  HooksDispatcher$1.useEffectEvent = unsupportedHook;
12356
- HooksDispatcher$1.useSwipeTransition = unsupportedHook;
12357
12357
  var currentOwner = null,
12358
12358
  DefaultAsyncDispatcher$1 = {
12359
12359
  getCacheForType: function (resourceType) {
@@ -13470,9 +13470,8 @@
13470
13470
  useEffectEvent: function () {
13471
13471
  return throwOnUseEffectEventCall;
13472
13472
  }
13473
- };
13474
- HooksDispatcher.useSwipeTransition = clientHookNotSupported;
13475
- var currentResumableState = null,
13473
+ },
13474
+ currentResumableState = null,
13476
13475
  currentTaskInDEV = null,
13477
13476
  DefaultAsyncDispatcher = {
13478
13477
  getCacheForType: function () {
@@ -13720,5 +13719,5 @@
13720
13719
  });
13721
13720
  });
13722
13721
  };
13723
- exports.version = "19.1.0-experimental-ef4bc8b4-20250328";
13722
+ exports.version = "19.2.0-experimental-e5dd82a7-20250401";
13724
13723
  })();
@@ -40,7 +40,7 @@ if (!ReactSharedInternalsServer)
40
40
  throw Error(
41
41
  'The "react" package in this environment is not configured correctly. The "react-server" condition must be enabled in any environment that runs React Server Components.'
42
42
  );
43
- var ReactSharedInternals = { H: null, A: null, T: null, S: null, V: null };
43
+ var ReactSharedInternals = { H: null, A: null, T: null, S: null, G: null };
44
44
  function murmurhash3_32_gc(key, seed) {
45
45
  var remainder = key.length & 3;
46
46
  var bytes = key.length - remainder;
@@ -231,7 +231,6 @@ var HooksDispatcher$1 = {
231
231
  }
232
232
  };
233
233
  HooksDispatcher$1.useEffectEvent = unsupportedHook;
234
- HooksDispatcher$1.useSwipeTransition = unsupportedHook;
235
234
  function unsupportedHook() {
236
235
  throw Error("This Hook is not supported in Server Components.");
237
236
  }
@@ -5863,81 +5862,81 @@ function clientHookNotSupported() {
5863
5862
  );
5864
5863
  }
5865
5864
  var HooksDispatcher = {
5866
- readContext: function (context) {
5867
- return context._currentValue2;
5868
- },
5869
- use: function (usable) {
5870
- if (null !== usable && "object" === typeof usable) {
5871
- if ("function" === typeof usable.then) return unwrapThenable(usable);
5872
- if (usable.$$typeof === REACT_CONTEXT_TYPE) return usable._currentValue2;
5865
+ readContext: function (context) {
5866
+ return context._currentValue2;
5867
+ },
5868
+ use: function (usable) {
5869
+ if (null !== usable && "object" === typeof usable) {
5870
+ if ("function" === typeof usable.then) return unwrapThenable(usable);
5871
+ if (usable.$$typeof === REACT_CONTEXT_TYPE)
5872
+ return usable._currentValue2;
5873
+ }
5874
+ throw Error("An unsupported type was passed to use(): " + String(usable));
5875
+ },
5876
+ useCallback: function (callback, deps) {
5877
+ return useMemo(function () {
5878
+ return callback;
5879
+ }, deps);
5880
+ },
5881
+ useContext: function (context) {
5882
+ resolveCurrentlyRenderingComponent();
5883
+ return context._currentValue2;
5884
+ },
5885
+ useEffect: clientHookNotSupported,
5886
+ useImperativeHandle: clientHookNotSupported,
5887
+ useInsertionEffect: clientHookNotSupported,
5888
+ useLayoutEffect: clientHookNotSupported,
5889
+ useMemo: useMemo,
5890
+ useReducer: clientHookNotSupported,
5891
+ useRef: clientHookNotSupported,
5892
+ useState: clientHookNotSupported,
5893
+ useDebugValue: function () {},
5894
+ useDeferredValue: clientHookNotSupported,
5895
+ useTransition: clientHookNotSupported,
5896
+ useSyncExternalStore: clientHookNotSupported,
5897
+ useId: function () {
5898
+ var JSCompiler_inline_result = currentlyRenderingTask.treeContext;
5899
+ var overflow = JSCompiler_inline_result.overflow;
5900
+ JSCompiler_inline_result = JSCompiler_inline_result.id;
5901
+ JSCompiler_inline_result =
5902
+ (
5903
+ JSCompiler_inline_result &
5904
+ ~(1 << (32 - clz32(JSCompiler_inline_result) - 1))
5905
+ ).toString(32) + overflow;
5906
+ var resumableState = currentResumableState;
5907
+ if (null === resumableState)
5908
+ throw Error(
5909
+ "Invalid hook call. Hooks can only be called inside of the body of a function component."
5910
+ );
5911
+ overflow = localIdCounter++;
5912
+ JSCompiler_inline_result =
5913
+ "\u00ab" + resumableState.idPrefix + "R" + JSCompiler_inline_result;
5914
+ 0 < overflow && (JSCompiler_inline_result += "H" + overflow.toString(32));
5915
+ return JSCompiler_inline_result + "\u00bb";
5916
+ },
5917
+ useHostTransitionStatus: function () {
5918
+ resolveCurrentlyRenderingComponent();
5919
+ return sharedNotPendingObject;
5920
+ },
5921
+ useFormState: useActionState,
5922
+ useActionState: useActionState,
5923
+ useOptimistic: function (passthrough) {
5924
+ resolveCurrentlyRenderingComponent();
5925
+ return [passthrough, unsupportedSetOptimisticState];
5926
+ },
5927
+ useMemoCache: function (size) {
5928
+ for (var data = Array(size), i = 0; i < size; i++)
5929
+ data[i] = REACT_MEMO_CACHE_SENTINEL;
5930
+ return data;
5931
+ },
5932
+ useCacheRefresh: function () {
5933
+ return unsupportedRefresh;
5934
+ },
5935
+ useEffectEvent: function () {
5936
+ return throwOnUseEffectEventCall;
5873
5937
  }
5874
- throw Error("An unsupported type was passed to use(): " + String(usable));
5875
- },
5876
- useCallback: function (callback, deps) {
5877
- return useMemo(function () {
5878
- return callback;
5879
- }, deps);
5880
- },
5881
- useContext: function (context) {
5882
- resolveCurrentlyRenderingComponent();
5883
- return context._currentValue2;
5884
5938
  },
5885
- useEffect: clientHookNotSupported,
5886
- useImperativeHandle: clientHookNotSupported,
5887
- useInsertionEffect: clientHookNotSupported,
5888
- useLayoutEffect: clientHookNotSupported,
5889
- useMemo: useMemo,
5890
- useReducer: clientHookNotSupported,
5891
- useRef: clientHookNotSupported,
5892
- useState: clientHookNotSupported,
5893
- useDebugValue: function () {},
5894
- useDeferredValue: clientHookNotSupported,
5895
- useTransition: clientHookNotSupported,
5896
- useSyncExternalStore: clientHookNotSupported,
5897
- useId: function () {
5898
- var JSCompiler_inline_result = currentlyRenderingTask.treeContext;
5899
- var overflow = JSCompiler_inline_result.overflow;
5900
- JSCompiler_inline_result = JSCompiler_inline_result.id;
5901
- JSCompiler_inline_result =
5902
- (
5903
- JSCompiler_inline_result &
5904
- ~(1 << (32 - clz32(JSCompiler_inline_result) - 1))
5905
- ).toString(32) + overflow;
5906
- var resumableState = currentResumableState;
5907
- if (null === resumableState)
5908
- throw Error(
5909
- "Invalid hook call. Hooks can only be called inside of the body of a function component."
5910
- );
5911
- overflow = localIdCounter++;
5912
- JSCompiler_inline_result =
5913
- "\u00ab" + resumableState.idPrefix + "R" + JSCompiler_inline_result;
5914
- 0 < overflow && (JSCompiler_inline_result += "H" + overflow.toString(32));
5915
- return JSCompiler_inline_result + "\u00bb";
5916
- },
5917
- useHostTransitionStatus: function () {
5918
- resolveCurrentlyRenderingComponent();
5919
- return sharedNotPendingObject;
5920
- },
5921
- useFormState: useActionState,
5922
- useActionState: useActionState,
5923
- useOptimistic: function (passthrough) {
5924
- resolveCurrentlyRenderingComponent();
5925
- return [passthrough, unsupportedSetOptimisticState];
5926
- },
5927
- useMemoCache: function (size) {
5928
- for (var data = Array(size), i = 0; i < size; i++)
5929
- data[i] = REACT_MEMO_CACHE_SENTINEL;
5930
- return data;
5931
- },
5932
- useCacheRefresh: function () {
5933
- return unsupportedRefresh;
5934
- },
5935
- useEffectEvent: function () {
5936
- return throwOnUseEffectEventCall;
5937
- }
5938
- };
5939
- HooksDispatcher.useSwipeTransition = clientHookNotSupported;
5940
- var currentResumableState = null,
5939
+ currentResumableState = null,
5941
5940
  DefaultAsyncDispatcher = {
5942
5941
  getCacheForType: function () {
5943
5942
  throw Error("Not implemented.");
@@ -8933,4 +8932,4 @@ exports.experimental_renderToHTML = function (children, options) {
8933
8932
  });
8934
8933
  });
8935
8934
  };
8936
- exports.version = "19.1.0-experimental-ef4bc8b4-20250328";
8935
+ exports.version = "19.2.0-experimental-e5dd82a7-20250401";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-markup",
3
- "version": "0.0.0-experimental-ef4bc8b4-20250328",
3
+ "version": "0.0.0-experimental-e5dd82a7-20250401",
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-ef4bc8b4-20250328"
20
+ "react": "0.0.0-experimental-e5dd82a7-20250401"
21
21
  },
22
22
  "files": [
23
23
  "LICENSE",