react-markup 0.0.0-experimental-32b0cad8-20250213 → 0.0.0-experimental-4632e36a-20250216
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.
|
@@ -8747,27 +8747,28 @@
|
|
|
8747
8747
|
"An unsupported type was passed to use(): " + String(usable)
|
|
8748
8748
|
);
|
|
8749
8749
|
},
|
|
8750
|
+
useCallback: function (callback, deps) {
|
|
8751
|
+
return useMemo(function () {
|
|
8752
|
+
return callback;
|
|
8753
|
+
}, deps);
|
|
8754
|
+
},
|
|
8750
8755
|
useContext: function (context) {
|
|
8751
8756
|
currentHookNameInDev = "useContext";
|
|
8752
8757
|
resolveCurrentlyRenderingComponent();
|
|
8753
8758
|
return context._currentValue2;
|
|
8754
8759
|
},
|
|
8760
|
+
useEffect: clientHookNotSupported,
|
|
8761
|
+
useImperativeHandle: clientHookNotSupported,
|
|
8762
|
+
useInsertionEffect: clientHookNotSupported,
|
|
8763
|
+
useLayoutEffect: clientHookNotSupported,
|
|
8755
8764
|
useMemo: useMemo,
|
|
8756
8765
|
useReducer: clientHookNotSupported,
|
|
8757
8766
|
useRef: clientHookNotSupported,
|
|
8758
8767
|
useState: clientHookNotSupported,
|
|
8759
|
-
useInsertionEffect: clientHookNotSupported,
|
|
8760
|
-
useLayoutEffect: clientHookNotSupported,
|
|
8761
|
-
useCallback: function (callback, deps) {
|
|
8762
|
-
return useMemo(function () {
|
|
8763
|
-
return callback;
|
|
8764
|
-
}, deps);
|
|
8765
|
-
},
|
|
8766
|
-
useImperativeHandle: clientHookNotSupported,
|
|
8767
|
-
useEffect: clientHookNotSupported,
|
|
8768
8768
|
useDebugValue: function () {},
|
|
8769
8769
|
useDeferredValue: clientHookNotSupported,
|
|
8770
8770
|
useTransition: clientHookNotSupported,
|
|
8771
|
+
useSyncExternalStore: clientHookNotSupported,
|
|
8771
8772
|
useId: function () {
|
|
8772
8773
|
var treeId = currentlyRenderingTask.treeContext;
|
|
8773
8774
|
var overflow = treeId.overflow;
|
|
@@ -8784,16 +8785,15 @@
|
|
|
8784
8785
|
0 < overflow && (treeId += "H" + overflow.toString(32));
|
|
8785
8786
|
return treeId + ":";
|
|
8786
8787
|
},
|
|
8787
|
-
|
|
8788
|
-
useOptimistic: function (passthrough) {
|
|
8788
|
+
useHostTransitionStatus: function () {
|
|
8789
8789
|
resolveCurrentlyRenderingComponent();
|
|
8790
|
-
return
|
|
8790
|
+
return NotPending;
|
|
8791
8791
|
},
|
|
8792
|
-
useActionState: useActionState,
|
|
8793
8792
|
useFormState: useActionState,
|
|
8794
|
-
|
|
8793
|
+
useActionState: useActionState,
|
|
8794
|
+
useOptimistic: function (passthrough) {
|
|
8795
8795
|
resolveCurrentlyRenderingComponent();
|
|
8796
|
-
return
|
|
8796
|
+
return [passthrough, unsupportedSetOptimisticState];
|
|
8797
8797
|
},
|
|
8798
8798
|
useMemoCache: function (size) {
|
|
8799
8799
|
for (var data = Array(size), i = 0; i < size; i++)
|
|
@@ -8806,8 +8806,9 @@
|
|
|
8806
8806
|
useEffectEvent: function () {
|
|
8807
8807
|
return throwOnUseEffectEventCall;
|
|
8808
8808
|
}
|
|
8809
|
-
}
|
|
8810
|
-
|
|
8809
|
+
};
|
|
8810
|
+
HooksDispatcher.useSwipeTransition = clientHookNotSupported;
|
|
8811
|
+
var currentResumableState = null,
|
|
8811
8812
|
currentTaskInDEV = null,
|
|
8812
8813
|
DefaultAsyncDispatcher = {
|
|
8813
8814
|
getCacheForType: function () {
|
|
@@ -8917,5 +8918,5 @@
|
|
|
8917
8918
|
});
|
|
8918
8919
|
});
|
|
8919
8920
|
};
|
|
8920
|
-
exports.version = "19.1.0-experimental-
|
|
8921
|
+
exports.version = "19.1.0-experimental-4632e36a-20250216";
|
|
8921
8922
|
})();
|
|
@@ -2997,81 +2997,81 @@ function clientHookNotSupported() {
|
|
|
2997
2997
|
);
|
|
2998
2998
|
}
|
|
2999
2999
|
var HooksDispatcher = {
|
|
3000
|
-
|
|
3001
|
-
|
|
3002
|
-
|
|
3003
|
-
|
|
3004
|
-
|
|
3005
|
-
|
|
3006
|
-
|
|
3007
|
-
return usable._currentValue2;
|
|
3008
|
-
}
|
|
3009
|
-
throw Error("An unsupported type was passed to use(): " + String(usable));
|
|
3010
|
-
},
|
|
3011
|
-
useContext: function (context) {
|
|
3012
|
-
resolveCurrentlyRenderingComponent();
|
|
3013
|
-
return context._currentValue2;
|
|
3014
|
-
},
|
|
3015
|
-
useMemo: useMemo,
|
|
3016
|
-
useReducer: clientHookNotSupported,
|
|
3017
|
-
useRef: clientHookNotSupported,
|
|
3018
|
-
useState: clientHookNotSupported,
|
|
3019
|
-
useInsertionEffect: clientHookNotSupported,
|
|
3020
|
-
useLayoutEffect: clientHookNotSupported,
|
|
3021
|
-
useCallback: function (callback, deps) {
|
|
3022
|
-
return useMemo(function () {
|
|
3023
|
-
return callback;
|
|
3024
|
-
}, deps);
|
|
3025
|
-
},
|
|
3026
|
-
useImperativeHandle: clientHookNotSupported,
|
|
3027
|
-
useEffect: clientHookNotSupported,
|
|
3028
|
-
useDebugValue: function () {},
|
|
3029
|
-
useDeferredValue: clientHookNotSupported,
|
|
3030
|
-
useTransition: clientHookNotSupported,
|
|
3031
|
-
useId: function () {
|
|
3032
|
-
var JSCompiler_inline_result = currentlyRenderingTask.treeContext;
|
|
3033
|
-
var overflow = JSCompiler_inline_result.overflow;
|
|
3034
|
-
JSCompiler_inline_result = JSCompiler_inline_result.id;
|
|
3035
|
-
JSCompiler_inline_result =
|
|
3036
|
-
(
|
|
3037
|
-
JSCompiler_inline_result &
|
|
3038
|
-
~(1 << (32 - clz32(JSCompiler_inline_result) - 1))
|
|
3039
|
-
).toString(32) + overflow;
|
|
3040
|
-
var resumableState = currentResumableState;
|
|
3041
|
-
if (null === resumableState)
|
|
3042
|
-
throw Error(
|
|
3043
|
-
"Invalid hook call. Hooks can only be called inside of the body of a function component."
|
|
3044
|
-
);
|
|
3045
|
-
overflow = localIdCounter++;
|
|
3046
|
-
JSCompiler_inline_result =
|
|
3047
|
-
":" + resumableState.idPrefix + "R" + JSCompiler_inline_result;
|
|
3048
|
-
0 < overflow && (JSCompiler_inline_result += "H" + overflow.toString(32));
|
|
3049
|
-
return JSCompiler_inline_result + ":";
|
|
3050
|
-
},
|
|
3051
|
-
useSyncExternalStore: clientHookNotSupported,
|
|
3052
|
-
useOptimistic: function (passthrough) {
|
|
3053
|
-
resolveCurrentlyRenderingComponent();
|
|
3054
|
-
return [passthrough, unsupportedSetOptimisticState];
|
|
3055
|
-
},
|
|
3056
|
-
useActionState: useActionState,
|
|
3057
|
-
useFormState: useActionState,
|
|
3058
|
-
useHostTransitionStatus: function () {
|
|
3059
|
-
resolveCurrentlyRenderingComponent();
|
|
3060
|
-
return sharedNotPendingObject;
|
|
3061
|
-
},
|
|
3062
|
-
useMemoCache: function (size) {
|
|
3063
|
-
for (var data = Array(size), i = 0; i < size; i++)
|
|
3064
|
-
data[i] = REACT_MEMO_CACHE_SENTINEL;
|
|
3065
|
-
return data;
|
|
3066
|
-
},
|
|
3067
|
-
useCacheRefresh: function () {
|
|
3068
|
-
return unsupportedRefresh;
|
|
3069
|
-
},
|
|
3070
|
-
useEffectEvent: function () {
|
|
3071
|
-
return throwOnUseEffectEventCall;
|
|
3000
|
+
readContext: function (context) {
|
|
3001
|
+
return context._currentValue2;
|
|
3002
|
+
},
|
|
3003
|
+
use: function (usable) {
|
|
3004
|
+
if (null !== usable && "object" === typeof usable) {
|
|
3005
|
+
if ("function" === typeof usable.then) return unwrapThenable(usable);
|
|
3006
|
+
if (usable.$$typeof === REACT_CONTEXT_TYPE) return usable._currentValue2;
|
|
3072
3007
|
}
|
|
3008
|
+
throw Error("An unsupported type was passed to use(): " + String(usable));
|
|
3009
|
+
},
|
|
3010
|
+
useCallback: function (callback, deps) {
|
|
3011
|
+
return useMemo(function () {
|
|
3012
|
+
return callback;
|
|
3013
|
+
}, deps);
|
|
3014
|
+
},
|
|
3015
|
+
useContext: function (context) {
|
|
3016
|
+
resolveCurrentlyRenderingComponent();
|
|
3017
|
+
return context._currentValue2;
|
|
3018
|
+
},
|
|
3019
|
+
useEffect: clientHookNotSupported,
|
|
3020
|
+
useImperativeHandle: clientHookNotSupported,
|
|
3021
|
+
useInsertionEffect: clientHookNotSupported,
|
|
3022
|
+
useLayoutEffect: clientHookNotSupported,
|
|
3023
|
+
useMemo: useMemo,
|
|
3024
|
+
useReducer: clientHookNotSupported,
|
|
3025
|
+
useRef: clientHookNotSupported,
|
|
3026
|
+
useState: clientHookNotSupported,
|
|
3027
|
+
useDebugValue: function () {},
|
|
3028
|
+
useDeferredValue: clientHookNotSupported,
|
|
3029
|
+
useTransition: clientHookNotSupported,
|
|
3030
|
+
useSyncExternalStore: clientHookNotSupported,
|
|
3031
|
+
useId: function () {
|
|
3032
|
+
var JSCompiler_inline_result = currentlyRenderingTask.treeContext;
|
|
3033
|
+
var overflow = JSCompiler_inline_result.overflow;
|
|
3034
|
+
JSCompiler_inline_result = JSCompiler_inline_result.id;
|
|
3035
|
+
JSCompiler_inline_result =
|
|
3036
|
+
(
|
|
3037
|
+
JSCompiler_inline_result &
|
|
3038
|
+
~(1 << (32 - clz32(JSCompiler_inline_result) - 1))
|
|
3039
|
+
).toString(32) + overflow;
|
|
3040
|
+
var resumableState = currentResumableState;
|
|
3041
|
+
if (null === resumableState)
|
|
3042
|
+
throw Error(
|
|
3043
|
+
"Invalid hook call. Hooks can only be called inside of the body of a function component."
|
|
3044
|
+
);
|
|
3045
|
+
overflow = localIdCounter++;
|
|
3046
|
+
JSCompiler_inline_result =
|
|
3047
|
+
":" + resumableState.idPrefix + "R" + JSCompiler_inline_result;
|
|
3048
|
+
0 < overflow && (JSCompiler_inline_result += "H" + overflow.toString(32));
|
|
3049
|
+
return JSCompiler_inline_result + ":";
|
|
3073
3050
|
},
|
|
3074
|
-
|
|
3051
|
+
useHostTransitionStatus: function () {
|
|
3052
|
+
resolveCurrentlyRenderingComponent();
|
|
3053
|
+
return sharedNotPendingObject;
|
|
3054
|
+
},
|
|
3055
|
+
useFormState: useActionState,
|
|
3056
|
+
useActionState: useActionState,
|
|
3057
|
+
useOptimistic: function (passthrough) {
|
|
3058
|
+
resolveCurrentlyRenderingComponent();
|
|
3059
|
+
return [passthrough, unsupportedSetOptimisticState];
|
|
3060
|
+
},
|
|
3061
|
+
useMemoCache: function (size) {
|
|
3062
|
+
for (var data = Array(size), i = 0; i < size; i++)
|
|
3063
|
+
data[i] = REACT_MEMO_CACHE_SENTINEL;
|
|
3064
|
+
return data;
|
|
3065
|
+
},
|
|
3066
|
+
useCacheRefresh: function () {
|
|
3067
|
+
return unsupportedRefresh;
|
|
3068
|
+
},
|
|
3069
|
+
useEffectEvent: function () {
|
|
3070
|
+
return throwOnUseEffectEventCall;
|
|
3071
|
+
}
|
|
3072
|
+
};
|
|
3073
|
+
HooksDispatcher.useSwipeTransition = clientHookNotSupported;
|
|
3074
|
+
var currentResumableState = null,
|
|
3075
3075
|
DefaultAsyncDispatcher = {
|
|
3076
3076
|
getCacheForType: function () {
|
|
3077
3077
|
throw Error("Not implemented.");
|
|
@@ -5987,4 +5987,4 @@ exports.experimental_renderToHTML = function (children, options) {
|
|
|
5987
5987
|
});
|
|
5988
5988
|
});
|
|
5989
5989
|
};
|
|
5990
|
-
exports.version = "19.1.0-experimental-
|
|
5990
|
+
exports.version = "19.1.0-experimental-4632e36a-20250216";
|
|
@@ -12218,24 +12218,52 @@
|
|
|
12218
12218
|
thenableState$1 = null,
|
|
12219
12219
|
currentComponentDebugInfo = null,
|
|
12220
12220
|
HooksDispatcher$1 = {
|
|
12221
|
-
|
|
12222
|
-
|
|
12221
|
+
readContext: unsupportedContext,
|
|
12222
|
+
use: function (usable) {
|
|
12223
|
+
if (
|
|
12224
|
+
(null !== usable && "object" === typeof usable) ||
|
|
12225
|
+
"function" === typeof usable
|
|
12226
|
+
) {
|
|
12227
|
+
if ("function" === typeof usable.then) {
|
|
12228
|
+
var index = thenableIndexCounter$1;
|
|
12229
|
+
thenableIndexCounter$1 += 1;
|
|
12230
|
+
null === thenableState$1 && (thenableState$1 = []);
|
|
12231
|
+
return trackUsedThenable$1(thenableState$1, usable, index);
|
|
12232
|
+
}
|
|
12233
|
+
usable.$$typeof === REACT_CONTEXT_TYPE && unsupportedContext();
|
|
12234
|
+
}
|
|
12235
|
+
if (isClientReference(usable)) {
|
|
12236
|
+
if (
|
|
12237
|
+
null != usable.value &&
|
|
12238
|
+
usable.value.$$typeof === REACT_CONTEXT_TYPE
|
|
12239
|
+
)
|
|
12240
|
+
throw Error(
|
|
12241
|
+
"Cannot read a Client Context from a Server Component."
|
|
12242
|
+
);
|
|
12243
|
+
throw Error("Cannot use() an already resolved Client Reference.");
|
|
12244
|
+
}
|
|
12245
|
+
throw Error(
|
|
12246
|
+
"An unsupported type was passed to use(): " + String(usable)
|
|
12247
|
+
);
|
|
12223
12248
|
},
|
|
12224
12249
|
useCallback: function (callback) {
|
|
12225
12250
|
return callback;
|
|
12226
12251
|
},
|
|
12227
|
-
useDebugValue: function () {},
|
|
12228
|
-
useDeferredValue: unsupportedHook,
|
|
12229
|
-
useTransition: unsupportedHook,
|
|
12230
|
-
readContext: unsupportedContext,
|
|
12231
12252
|
useContext: unsupportedContext,
|
|
12253
|
+
useEffect: unsupportedHook,
|
|
12254
|
+
useImperativeHandle: unsupportedHook,
|
|
12255
|
+
useLayoutEffect: unsupportedHook,
|
|
12256
|
+
useInsertionEffect: unsupportedHook,
|
|
12257
|
+
useMemo: function (nextCreate) {
|
|
12258
|
+
return nextCreate();
|
|
12259
|
+
},
|
|
12232
12260
|
useReducer: unsupportedHook,
|
|
12233
12261
|
useRef: unsupportedHook,
|
|
12234
12262
|
useState: unsupportedHook,
|
|
12235
|
-
|
|
12236
|
-
|
|
12237
|
-
|
|
12238
|
-
|
|
12263
|
+
useDebugValue: function () {},
|
|
12264
|
+
useDeferredValue: unsupportedHook,
|
|
12265
|
+
useTransition: unsupportedHook,
|
|
12266
|
+
useSyncExternalStore: unsupportedHook,
|
|
12239
12267
|
useId: function () {
|
|
12240
12268
|
if (null === currentRequest$1)
|
|
12241
12269
|
throw Error("useId can only be used while React is rendering");
|
|
@@ -12249,47 +12277,21 @@
|
|
|
12249
12277
|
);
|
|
12250
12278
|
},
|
|
12251
12279
|
useHostTransitionStatus: unsupportedHook,
|
|
12252
|
-
useOptimistic: unsupportedHook,
|
|
12253
12280
|
useFormState: unsupportedHook,
|
|
12254
12281
|
useActionState: unsupportedHook,
|
|
12255
|
-
|
|
12256
|
-
useCacheRefresh: function () {
|
|
12257
|
-
return unsupportedRefresh$1;
|
|
12258
|
-
},
|
|
12282
|
+
useOptimistic: unsupportedHook,
|
|
12259
12283
|
useMemoCache: function (size) {
|
|
12260
12284
|
for (var data = Array(size), i = 0; i < size; i++)
|
|
12261
12285
|
data[i] = REACT_MEMO_CACHE_SENTINEL;
|
|
12262
12286
|
return data;
|
|
12263
12287
|
},
|
|
12264
|
-
|
|
12265
|
-
|
|
12266
|
-
(null !== usable && "object" === typeof usable) ||
|
|
12267
|
-
"function" === typeof usable
|
|
12268
|
-
) {
|
|
12269
|
-
if ("function" === typeof usable.then) {
|
|
12270
|
-
var index = thenableIndexCounter$1;
|
|
12271
|
-
thenableIndexCounter$1 += 1;
|
|
12272
|
-
null === thenableState$1 && (thenableState$1 = []);
|
|
12273
|
-
return trackUsedThenable$1(thenableState$1, usable, index);
|
|
12274
|
-
}
|
|
12275
|
-
usable.$$typeof === REACT_CONTEXT_TYPE && unsupportedContext();
|
|
12276
|
-
}
|
|
12277
|
-
if (isClientReference(usable)) {
|
|
12278
|
-
if (
|
|
12279
|
-
null != usable.value &&
|
|
12280
|
-
usable.value.$$typeof === REACT_CONTEXT_TYPE
|
|
12281
|
-
)
|
|
12282
|
-
throw Error(
|
|
12283
|
-
"Cannot read a Client Context from a Server Component."
|
|
12284
|
-
);
|
|
12285
|
-
throw Error("Cannot use() an already resolved Client Reference.");
|
|
12286
|
-
}
|
|
12287
|
-
throw Error(
|
|
12288
|
-
"An unsupported type was passed to use(): " + String(usable)
|
|
12289
|
-
);
|
|
12288
|
+
useCacheRefresh: function () {
|
|
12289
|
+
return unsupportedRefresh$1;
|
|
12290
12290
|
}
|
|
12291
|
-
}
|
|
12292
|
-
|
|
12291
|
+
};
|
|
12292
|
+
HooksDispatcher$1.useEffectEvent = unsupportedHook;
|
|
12293
|
+
HooksDispatcher$1.useSwipeTransition = unsupportedHook;
|
|
12294
|
+
var currentOwner = null,
|
|
12293
12295
|
DefaultAsyncDispatcher$1 = {
|
|
12294
12296
|
getCacheForType: function (resourceType) {
|
|
12295
12297
|
var cache = (cache = currentRequest ? currentRequest : null)
|
|
@@ -13331,27 +13333,28 @@
|
|
|
13331
13333
|
"An unsupported type was passed to use(): " + String(usable)
|
|
13332
13334
|
);
|
|
13333
13335
|
},
|
|
13336
|
+
useCallback: function (callback, deps) {
|
|
13337
|
+
return useMemo(function () {
|
|
13338
|
+
return callback;
|
|
13339
|
+
}, deps);
|
|
13340
|
+
},
|
|
13334
13341
|
useContext: function (context) {
|
|
13335
13342
|
currentHookNameInDev = "useContext";
|
|
13336
13343
|
resolveCurrentlyRenderingComponent();
|
|
13337
13344
|
return context._currentValue2;
|
|
13338
13345
|
},
|
|
13346
|
+
useEffect: clientHookNotSupported,
|
|
13347
|
+
useImperativeHandle: clientHookNotSupported,
|
|
13348
|
+
useInsertionEffect: clientHookNotSupported,
|
|
13349
|
+
useLayoutEffect: clientHookNotSupported,
|
|
13339
13350
|
useMemo: useMemo,
|
|
13340
13351
|
useReducer: clientHookNotSupported,
|
|
13341
13352
|
useRef: clientHookNotSupported,
|
|
13342
13353
|
useState: clientHookNotSupported,
|
|
13343
|
-
useInsertionEffect: clientHookNotSupported,
|
|
13344
|
-
useLayoutEffect: clientHookNotSupported,
|
|
13345
|
-
useCallback: function (callback, deps) {
|
|
13346
|
-
return useMemo(function () {
|
|
13347
|
-
return callback;
|
|
13348
|
-
}, deps);
|
|
13349
|
-
},
|
|
13350
|
-
useImperativeHandle: clientHookNotSupported,
|
|
13351
|
-
useEffect: clientHookNotSupported,
|
|
13352
13354
|
useDebugValue: function () {},
|
|
13353
13355
|
useDeferredValue: clientHookNotSupported,
|
|
13354
13356
|
useTransition: clientHookNotSupported,
|
|
13357
|
+
useSyncExternalStore: clientHookNotSupported,
|
|
13355
13358
|
useId: function () {
|
|
13356
13359
|
var treeId = currentlyRenderingTask.treeContext;
|
|
13357
13360
|
var overflow = treeId.overflow;
|
|
@@ -13368,16 +13371,15 @@
|
|
|
13368
13371
|
0 < overflow && (treeId += "H" + overflow.toString(32));
|
|
13369
13372
|
return treeId + ":";
|
|
13370
13373
|
},
|
|
13371
|
-
|
|
13372
|
-
useOptimistic: function (passthrough) {
|
|
13374
|
+
useHostTransitionStatus: function () {
|
|
13373
13375
|
resolveCurrentlyRenderingComponent();
|
|
13374
|
-
return
|
|
13376
|
+
return NotPending;
|
|
13375
13377
|
},
|
|
13376
|
-
useActionState: useActionState,
|
|
13377
13378
|
useFormState: useActionState,
|
|
13378
|
-
|
|
13379
|
+
useActionState: useActionState,
|
|
13380
|
+
useOptimistic: function (passthrough) {
|
|
13379
13381
|
resolveCurrentlyRenderingComponent();
|
|
13380
|
-
return
|
|
13382
|
+
return [passthrough, unsupportedSetOptimisticState];
|
|
13381
13383
|
},
|
|
13382
13384
|
useMemoCache: function (size) {
|
|
13383
13385
|
for (var data = Array(size), i = 0; i < size; i++)
|
|
@@ -13390,8 +13392,9 @@
|
|
|
13390
13392
|
useEffectEvent: function () {
|
|
13391
13393
|
return throwOnUseEffectEventCall;
|
|
13392
13394
|
}
|
|
13393
|
-
}
|
|
13394
|
-
|
|
13395
|
+
};
|
|
13396
|
+
HooksDispatcher.useSwipeTransition = clientHookNotSupported;
|
|
13397
|
+
var currentResumableState = null,
|
|
13395
13398
|
currentTaskInDEV = null,
|
|
13396
13399
|
DefaultAsyncDispatcher = {
|
|
13397
13400
|
getCacheForType: function () {
|
|
@@ -13642,5 +13645,5 @@
|
|
|
13642
13645
|
});
|
|
13643
13646
|
});
|
|
13644
13647
|
};
|
|
13645
|
-
exports.version = "19.1.0-experimental-
|
|
13648
|
+
exports.version = "19.1.0-experimental-4632e36a-20250216";
|
|
13646
13649
|
})();
|
|
@@ -196,40 +196,42 @@ function getThenableStateAfterSuspending$1() {
|
|
|
196
196
|
return state;
|
|
197
197
|
}
|
|
198
198
|
var HooksDispatcher$1 = {
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
},
|
|
199
|
+
readContext: unsupportedContext,
|
|
200
|
+
use: use$1,
|
|
202
201
|
useCallback: function (callback) {
|
|
203
202
|
return callback;
|
|
204
203
|
},
|
|
205
|
-
useDebugValue: function () {},
|
|
206
|
-
useDeferredValue: unsupportedHook,
|
|
207
|
-
useTransition: unsupportedHook,
|
|
208
|
-
readContext: unsupportedContext,
|
|
209
204
|
useContext: unsupportedContext,
|
|
205
|
+
useEffect: unsupportedHook,
|
|
206
|
+
useImperativeHandle: unsupportedHook,
|
|
207
|
+
useLayoutEffect: unsupportedHook,
|
|
208
|
+
useInsertionEffect: unsupportedHook,
|
|
209
|
+
useMemo: function (nextCreate) {
|
|
210
|
+
return nextCreate();
|
|
211
|
+
},
|
|
210
212
|
useReducer: unsupportedHook,
|
|
211
213
|
useRef: unsupportedHook,
|
|
212
214
|
useState: unsupportedHook,
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
215
|
+
useDebugValue: function () {},
|
|
216
|
+
useDeferredValue: unsupportedHook,
|
|
217
|
+
useTransition: unsupportedHook,
|
|
218
|
+
useSyncExternalStore: unsupportedHook,
|
|
217
219
|
useId: useId$1,
|
|
218
220
|
useHostTransitionStatus: unsupportedHook,
|
|
219
|
-
useOptimistic: unsupportedHook,
|
|
220
221
|
useFormState: unsupportedHook,
|
|
221
222
|
useActionState: unsupportedHook,
|
|
222
|
-
|
|
223
|
-
useCacheRefresh: function () {
|
|
224
|
-
return unsupportedRefresh$1;
|
|
225
|
-
},
|
|
223
|
+
useOptimistic: unsupportedHook,
|
|
226
224
|
useMemoCache: function (size) {
|
|
227
225
|
for (var data = Array(size), i = 0; i < size; i++)
|
|
228
226
|
data[i] = REACT_MEMO_CACHE_SENTINEL;
|
|
229
227
|
return data;
|
|
230
228
|
},
|
|
231
|
-
|
|
229
|
+
useCacheRefresh: function () {
|
|
230
|
+
return unsupportedRefresh$1;
|
|
231
|
+
}
|
|
232
232
|
};
|
|
233
|
+
HooksDispatcher$1.useEffectEvent = unsupportedHook;
|
|
234
|
+
HooksDispatcher$1.useSwipeTransition = unsupportedHook;
|
|
233
235
|
function unsupportedHook() {
|
|
234
236
|
throw Error("This Hook is not supported in Server Components.");
|
|
235
237
|
}
|
|
@@ -5843,81 +5845,81 @@ function clientHookNotSupported() {
|
|
|
5843
5845
|
);
|
|
5844
5846
|
}
|
|
5845
5847
|
var HooksDispatcher = {
|
|
5846
|
-
|
|
5847
|
-
|
|
5848
|
-
|
|
5849
|
-
|
|
5850
|
-
|
|
5851
|
-
|
|
5852
|
-
|
|
5853
|
-
return usable._currentValue2;
|
|
5854
|
-
}
|
|
5855
|
-
throw Error("An unsupported type was passed to use(): " + String(usable));
|
|
5856
|
-
},
|
|
5857
|
-
useContext: function (context) {
|
|
5858
|
-
resolveCurrentlyRenderingComponent();
|
|
5859
|
-
return context._currentValue2;
|
|
5860
|
-
},
|
|
5861
|
-
useMemo: useMemo,
|
|
5862
|
-
useReducer: clientHookNotSupported,
|
|
5863
|
-
useRef: clientHookNotSupported,
|
|
5864
|
-
useState: clientHookNotSupported,
|
|
5865
|
-
useInsertionEffect: clientHookNotSupported,
|
|
5866
|
-
useLayoutEffect: clientHookNotSupported,
|
|
5867
|
-
useCallback: function (callback, deps) {
|
|
5868
|
-
return useMemo(function () {
|
|
5869
|
-
return callback;
|
|
5870
|
-
}, deps);
|
|
5871
|
-
},
|
|
5872
|
-
useImperativeHandle: clientHookNotSupported,
|
|
5873
|
-
useEffect: clientHookNotSupported,
|
|
5874
|
-
useDebugValue: function () {},
|
|
5875
|
-
useDeferredValue: clientHookNotSupported,
|
|
5876
|
-
useTransition: clientHookNotSupported,
|
|
5877
|
-
useId: function () {
|
|
5878
|
-
var JSCompiler_inline_result = currentlyRenderingTask.treeContext;
|
|
5879
|
-
var overflow = JSCompiler_inline_result.overflow;
|
|
5880
|
-
JSCompiler_inline_result = JSCompiler_inline_result.id;
|
|
5881
|
-
JSCompiler_inline_result =
|
|
5882
|
-
(
|
|
5883
|
-
JSCompiler_inline_result &
|
|
5884
|
-
~(1 << (32 - clz32(JSCompiler_inline_result) - 1))
|
|
5885
|
-
).toString(32) + overflow;
|
|
5886
|
-
var resumableState = currentResumableState;
|
|
5887
|
-
if (null === resumableState)
|
|
5888
|
-
throw Error(
|
|
5889
|
-
"Invalid hook call. Hooks can only be called inside of the body of a function component."
|
|
5890
|
-
);
|
|
5891
|
-
overflow = localIdCounter++;
|
|
5892
|
-
JSCompiler_inline_result =
|
|
5893
|
-
":" + resumableState.idPrefix + "R" + JSCompiler_inline_result;
|
|
5894
|
-
0 < overflow && (JSCompiler_inline_result += "H" + overflow.toString(32));
|
|
5895
|
-
return JSCompiler_inline_result + ":";
|
|
5896
|
-
},
|
|
5897
|
-
useSyncExternalStore: clientHookNotSupported,
|
|
5898
|
-
useOptimistic: function (passthrough) {
|
|
5899
|
-
resolveCurrentlyRenderingComponent();
|
|
5900
|
-
return [passthrough, unsupportedSetOptimisticState];
|
|
5901
|
-
},
|
|
5902
|
-
useActionState: useActionState,
|
|
5903
|
-
useFormState: useActionState,
|
|
5904
|
-
useHostTransitionStatus: function () {
|
|
5905
|
-
resolveCurrentlyRenderingComponent();
|
|
5906
|
-
return sharedNotPendingObject;
|
|
5907
|
-
},
|
|
5908
|
-
useMemoCache: function (size) {
|
|
5909
|
-
for (var data = Array(size), i = 0; i < size; i++)
|
|
5910
|
-
data[i] = REACT_MEMO_CACHE_SENTINEL;
|
|
5911
|
-
return data;
|
|
5912
|
-
},
|
|
5913
|
-
useCacheRefresh: function () {
|
|
5914
|
-
return unsupportedRefresh;
|
|
5915
|
-
},
|
|
5916
|
-
useEffectEvent: function () {
|
|
5917
|
-
return throwOnUseEffectEventCall;
|
|
5848
|
+
readContext: function (context) {
|
|
5849
|
+
return context._currentValue2;
|
|
5850
|
+
},
|
|
5851
|
+
use: function (usable) {
|
|
5852
|
+
if (null !== usable && "object" === typeof usable) {
|
|
5853
|
+
if ("function" === typeof usable.then) return unwrapThenable(usable);
|
|
5854
|
+
if (usable.$$typeof === REACT_CONTEXT_TYPE) return usable._currentValue2;
|
|
5918
5855
|
}
|
|
5856
|
+
throw Error("An unsupported type was passed to use(): " + String(usable));
|
|
5857
|
+
},
|
|
5858
|
+
useCallback: function (callback, deps) {
|
|
5859
|
+
return useMemo(function () {
|
|
5860
|
+
return callback;
|
|
5861
|
+
}, deps);
|
|
5862
|
+
},
|
|
5863
|
+
useContext: function (context) {
|
|
5864
|
+
resolveCurrentlyRenderingComponent();
|
|
5865
|
+
return context._currentValue2;
|
|
5919
5866
|
},
|
|
5920
|
-
|
|
5867
|
+
useEffect: clientHookNotSupported,
|
|
5868
|
+
useImperativeHandle: clientHookNotSupported,
|
|
5869
|
+
useInsertionEffect: clientHookNotSupported,
|
|
5870
|
+
useLayoutEffect: clientHookNotSupported,
|
|
5871
|
+
useMemo: useMemo,
|
|
5872
|
+
useReducer: clientHookNotSupported,
|
|
5873
|
+
useRef: clientHookNotSupported,
|
|
5874
|
+
useState: clientHookNotSupported,
|
|
5875
|
+
useDebugValue: function () {},
|
|
5876
|
+
useDeferredValue: clientHookNotSupported,
|
|
5877
|
+
useTransition: clientHookNotSupported,
|
|
5878
|
+
useSyncExternalStore: clientHookNotSupported,
|
|
5879
|
+
useId: function () {
|
|
5880
|
+
var JSCompiler_inline_result = currentlyRenderingTask.treeContext;
|
|
5881
|
+
var overflow = JSCompiler_inline_result.overflow;
|
|
5882
|
+
JSCompiler_inline_result = JSCompiler_inline_result.id;
|
|
5883
|
+
JSCompiler_inline_result =
|
|
5884
|
+
(
|
|
5885
|
+
JSCompiler_inline_result &
|
|
5886
|
+
~(1 << (32 - clz32(JSCompiler_inline_result) - 1))
|
|
5887
|
+
).toString(32) + overflow;
|
|
5888
|
+
var resumableState = currentResumableState;
|
|
5889
|
+
if (null === resumableState)
|
|
5890
|
+
throw Error(
|
|
5891
|
+
"Invalid hook call. Hooks can only be called inside of the body of a function component."
|
|
5892
|
+
);
|
|
5893
|
+
overflow = localIdCounter++;
|
|
5894
|
+
JSCompiler_inline_result =
|
|
5895
|
+
":" + resumableState.idPrefix + "R" + JSCompiler_inline_result;
|
|
5896
|
+
0 < overflow && (JSCompiler_inline_result += "H" + overflow.toString(32));
|
|
5897
|
+
return JSCompiler_inline_result + ":";
|
|
5898
|
+
},
|
|
5899
|
+
useHostTransitionStatus: function () {
|
|
5900
|
+
resolveCurrentlyRenderingComponent();
|
|
5901
|
+
return sharedNotPendingObject;
|
|
5902
|
+
},
|
|
5903
|
+
useFormState: useActionState,
|
|
5904
|
+
useActionState: useActionState,
|
|
5905
|
+
useOptimistic: function (passthrough) {
|
|
5906
|
+
resolveCurrentlyRenderingComponent();
|
|
5907
|
+
return [passthrough, unsupportedSetOptimisticState];
|
|
5908
|
+
},
|
|
5909
|
+
useMemoCache: function (size) {
|
|
5910
|
+
for (var data = Array(size), i = 0; i < size; i++)
|
|
5911
|
+
data[i] = REACT_MEMO_CACHE_SENTINEL;
|
|
5912
|
+
return data;
|
|
5913
|
+
},
|
|
5914
|
+
useCacheRefresh: function () {
|
|
5915
|
+
return unsupportedRefresh;
|
|
5916
|
+
},
|
|
5917
|
+
useEffectEvent: function () {
|
|
5918
|
+
return throwOnUseEffectEventCall;
|
|
5919
|
+
}
|
|
5920
|
+
};
|
|
5921
|
+
HooksDispatcher.useSwipeTransition = clientHookNotSupported;
|
|
5922
|
+
var currentResumableState = null,
|
|
5921
5923
|
DefaultAsyncDispatcher = {
|
|
5922
5924
|
getCacheForType: function () {
|
|
5923
5925
|
throw Error("Not implemented.");
|
|
@@ -8908,4 +8910,4 @@ exports.experimental_renderToHTML = function (children, options) {
|
|
|
8908
8910
|
});
|
|
8909
8911
|
});
|
|
8910
8912
|
};
|
|
8911
|
-
exports.version = "19.1.0-experimental-
|
|
8913
|
+
exports.version = "19.1.0-experimental-4632e36a-20250216";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-markup",
|
|
3
|
-
"version": "0.0.0-experimental-
|
|
3
|
+
"version": "0.0.0-experimental-4632e36a-20250216",
|
|
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-
|
|
20
|
+
"react": "0.0.0-experimental-4632e36a-20250216"
|
|
21
21
|
},
|
|
22
22
|
"files": [
|
|
23
23
|
"LICENSE",
|