bippy 0.2.2 → 0.2.4
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.
- package/dist/{chunk-XCDPKSJZ.cjs → chunk-IDXORTRQ.cjs} +14 -7
- package/dist/{chunk-XBNRYX4A.js → chunk-MISFWX22.js} +12 -7
- package/dist/{core-DBUthQlD.d.cts → core-BJrLSucf.d.cts} +4 -3
- package/dist/{core-DBUthQlD.d.ts → core-BJrLSucf.d.ts} +4 -3
- package/dist/core.cjs +63 -59
- package/dist/core.d.cts +1 -1
- package/dist/core.d.ts +1 -1
- package/dist/core.js +1 -1
- package/dist/index.cjs +72 -64
- package/dist/index.d.cts +4 -3
- package/dist/index.d.ts +4 -3
- package/dist/index.global.js +1 -1
- package/dist/index.js +1 -1
- package/dist/inspect.cjs +298 -168
- package/dist/inspect.d.cts +1 -1
- package/dist/inspect.d.ts +1 -1
- package/dist/inspect.js +264 -134
- package/package.json +2 -8
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
*/
|
|
11
11
|
|
|
12
12
|
// src/rdt-hook.ts
|
|
13
|
-
var version = "0.2.
|
|
13
|
+
var version = "0.2.4";
|
|
14
14
|
var BIPPY_INSTRUMENTATION_STRING = `bippy-${version}`;
|
|
15
15
|
var NO_OP = () => {
|
|
16
16
|
};
|
|
@@ -80,6 +80,7 @@ try {
|
|
|
80
80
|
}
|
|
81
81
|
} catch {
|
|
82
82
|
}
|
|
83
|
+
var INSTALL_HOOK_SCRIPT_STRING = "(()=>{try{var t=()=>{};const n=new Map;let o=0;globalThis.__REACT_DEVTOOLS_GLOBAL_HOOK__={checkDCE:t,supportsFiber:!0,supportsFlight:!0,hasUnsupportedRendererAttached:!1,renderers:n,onCommitFiberRoot:t,onCommitFiberUnmount:t,onPostCommitFiberRoot:t,inject(t){var e=++o;return n.set(e,t),globalThis.__REACT_DEVTOOLS_GLOBAL_HOOK__._instrumentationIsActive=!0,e},_instrumentationIsActive:!1}}catch{}})();";
|
|
83
84
|
|
|
84
85
|
// src/core.ts
|
|
85
86
|
var FunctionComponentTag = 0;
|
|
@@ -367,8 +368,11 @@ var getDisplayName = (type) => {
|
|
|
367
368
|
if (!unwrappedType) return null;
|
|
368
369
|
return unwrappedType.displayName || unwrappedType.name || null;
|
|
369
370
|
};
|
|
370
|
-
var
|
|
371
|
-
return "getFiberRoots" in
|
|
371
|
+
var isRealReactDevtools = (rdtHook = getRDTHook()) => {
|
|
372
|
+
return "getFiberRoots" in rdtHook;
|
|
373
|
+
};
|
|
374
|
+
var isReactRefresh = (rdtHook = getRDTHook()) => {
|
|
375
|
+
return !("checkDCE" in rdtHook);
|
|
372
376
|
};
|
|
373
377
|
var detectReactBuildType = (renderer) => {
|
|
374
378
|
try {
|
|
@@ -381,7 +385,7 @@ var detectReactBuildType = (renderer) => {
|
|
|
381
385
|
};
|
|
382
386
|
var isInstrumentationActive = () => {
|
|
383
387
|
const rdtHook = getRDTHook();
|
|
384
|
-
return Boolean(rdtHook._instrumentationIsActive) ||
|
|
388
|
+
return Boolean(rdtHook._instrumentationIsActive) || isRealReactDevtools() || isReactRefresh();
|
|
385
389
|
};
|
|
386
390
|
var fiberId = 0;
|
|
387
391
|
var fiberIdMap = /* @__PURE__ */ new WeakMap();
|
|
@@ -599,7 +603,8 @@ var getFiberFromHostInstance = (hostInstance) => {
|
|
|
599
603
|
var secure = (options, secureOptions = {}) => {
|
|
600
604
|
const onActive = options.onActive;
|
|
601
605
|
const isRDTHookInstalled = hasRDTHook();
|
|
602
|
-
const
|
|
606
|
+
const isUsingRealReactDevtools = isRealReactDevtools();
|
|
607
|
+
const isUsingReactRefresh = isReactRefresh();
|
|
603
608
|
let timeout;
|
|
604
609
|
let isProduction = false;
|
|
605
610
|
options.onActive = () => {
|
|
@@ -666,7 +671,7 @@ var secure = (options, secureOptions = {}) => {
|
|
|
666
671
|
secureOptions.onError?.(err);
|
|
667
672
|
}
|
|
668
673
|
};
|
|
669
|
-
if (!isRDTHookInstalled && !
|
|
674
|
+
if (!isRDTHookInstalled && !isUsingRealReactDevtools && !isUsingReactRefresh) {
|
|
670
675
|
timeout = setTimeout(() => {
|
|
671
676
|
if (!isProduction) {
|
|
672
677
|
secureOptions.onError?.();
|
|
@@ -702,6 +707,7 @@ exports.HostHoistableTag = HostHoistableTag;
|
|
|
702
707
|
exports.HostRootTag = HostRootTag;
|
|
703
708
|
exports.HostSingletonTag = HostSingletonTag;
|
|
704
709
|
exports.HostTextTag = HostTextTag;
|
|
710
|
+
exports.INSTALL_HOOK_SCRIPT_STRING = INSTALL_HOOK_SCRIPT_STRING;
|
|
705
711
|
exports.LegacyHiddenComponentTag = LegacyHiddenComponentTag;
|
|
706
712
|
exports.MemoComponentTag = MemoComponentTag;
|
|
707
713
|
exports.OffscreenComponentTag = OffscreenComponentTag;
|
|
@@ -730,7 +736,8 @@ exports.instrument = instrument;
|
|
|
730
736
|
exports.isCompositeFiber = isCompositeFiber;
|
|
731
737
|
exports.isHostFiber = isHostFiber;
|
|
732
738
|
exports.isInstrumentationActive = isInstrumentationActive;
|
|
733
|
-
exports.
|
|
739
|
+
exports.isReactRefresh = isReactRefresh;
|
|
740
|
+
exports.isRealReactDevtools = isRealReactDevtools;
|
|
734
741
|
exports.isValidElement = isValidElement;
|
|
735
742
|
exports.isValidFiber = isValidFiber;
|
|
736
743
|
exports.mountFiberRecursively = mountFiberRecursively;
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
// src/rdt-hook.ts
|
|
11
|
-
var version = "0.2.
|
|
11
|
+
var version = "0.2.4";
|
|
12
12
|
var BIPPY_INSTRUMENTATION_STRING = `bippy-${version}`;
|
|
13
13
|
var NO_OP = () => {
|
|
14
14
|
};
|
|
@@ -78,6 +78,7 @@ try {
|
|
|
78
78
|
}
|
|
79
79
|
} catch {
|
|
80
80
|
}
|
|
81
|
+
var INSTALL_HOOK_SCRIPT_STRING = "(()=>{try{var t=()=>{};const n=new Map;let o=0;globalThis.__REACT_DEVTOOLS_GLOBAL_HOOK__={checkDCE:t,supportsFiber:!0,supportsFlight:!0,hasUnsupportedRendererAttached:!1,renderers:n,onCommitFiberRoot:t,onCommitFiberUnmount:t,onPostCommitFiberRoot:t,inject(t){var e=++o;return n.set(e,t),globalThis.__REACT_DEVTOOLS_GLOBAL_HOOK__._instrumentationIsActive=!0,e},_instrumentationIsActive:!1}}catch{}})();";
|
|
81
82
|
|
|
82
83
|
// src/core.ts
|
|
83
84
|
var FunctionComponentTag = 0;
|
|
@@ -365,8 +366,11 @@ var getDisplayName = (type) => {
|
|
|
365
366
|
if (!unwrappedType) return null;
|
|
366
367
|
return unwrappedType.displayName || unwrappedType.name || null;
|
|
367
368
|
};
|
|
368
|
-
var
|
|
369
|
-
return "getFiberRoots" in
|
|
369
|
+
var isRealReactDevtools = (rdtHook = getRDTHook()) => {
|
|
370
|
+
return "getFiberRoots" in rdtHook;
|
|
371
|
+
};
|
|
372
|
+
var isReactRefresh = (rdtHook = getRDTHook()) => {
|
|
373
|
+
return !("checkDCE" in rdtHook);
|
|
370
374
|
};
|
|
371
375
|
var detectReactBuildType = (renderer) => {
|
|
372
376
|
try {
|
|
@@ -379,7 +383,7 @@ var detectReactBuildType = (renderer) => {
|
|
|
379
383
|
};
|
|
380
384
|
var isInstrumentationActive = () => {
|
|
381
385
|
const rdtHook = getRDTHook();
|
|
382
|
-
return Boolean(rdtHook._instrumentationIsActive) ||
|
|
386
|
+
return Boolean(rdtHook._instrumentationIsActive) || isRealReactDevtools() || isReactRefresh();
|
|
383
387
|
};
|
|
384
388
|
var fiberId = 0;
|
|
385
389
|
var fiberIdMap = /* @__PURE__ */ new WeakMap();
|
|
@@ -597,7 +601,8 @@ var getFiberFromHostInstance = (hostInstance) => {
|
|
|
597
601
|
var secure = (options, secureOptions = {}) => {
|
|
598
602
|
const onActive = options.onActive;
|
|
599
603
|
const isRDTHookInstalled = hasRDTHook();
|
|
600
|
-
const
|
|
604
|
+
const isUsingRealReactDevtools = isRealReactDevtools();
|
|
605
|
+
const isUsingReactRefresh = isReactRefresh();
|
|
601
606
|
let timeout;
|
|
602
607
|
let isProduction = false;
|
|
603
608
|
options.onActive = () => {
|
|
@@ -664,7 +669,7 @@ var secure = (options, secureOptions = {}) => {
|
|
|
664
669
|
secureOptions.onError?.(err);
|
|
665
670
|
}
|
|
666
671
|
};
|
|
667
|
-
if (!isRDTHookInstalled && !
|
|
672
|
+
if (!isRDTHookInstalled && !isUsingRealReactDevtools && !isUsingReactRefresh) {
|
|
668
673
|
timeout = setTimeout(() => {
|
|
669
674
|
if (!isProduction) {
|
|
670
675
|
secureOptions.onError?.();
|
|
@@ -684,4 +689,4 @@ var onCommitFiberRoot = (handler) => {
|
|
|
684
689
|
);
|
|
685
690
|
};
|
|
686
691
|
|
|
687
|
-
export { BIPPY_INSTRUMENTATION_STRING, CONCURRENT_MODE_NUMBER, CONCURRENT_MODE_SYMBOL_STRING, ClassComponentTag, ContextConsumerTag, DEPRECATED_ASYNC_MODE_SYMBOL_STRING, DehydratedSuspenseComponentTag, ELEMENT_TYPE_SYMBOL_STRING, ForwardRefTag, FragmentTag, FunctionComponentTag, HostComponentTag, HostHoistableTag, HostRootTag, HostSingletonTag, HostTextTag, LegacyHiddenComponentTag, MemoComponentTag, OffscreenComponentTag, SimpleMemoComponentTag, SuspenseComponentTag, TRANSITIONAL_ELEMENT_TYPE_SYMBOL_STRING, createFiberVisitor, detectReactBuildType, didFiberCommit, didFiberRender, fiberIdMap, getDisplayName, getFiberFromHostInstance, getFiberId, getFiberStack, getMutatedHostFibers, getNearestHostFiber, getNearestHostFibers, getRDTHook, getTimings, getType, hasMemoCache, hasRDTHook, installRDTHook, instrument, isCompositeFiber, isHostFiber, isInstrumentationActive,
|
|
692
|
+
export { BIPPY_INSTRUMENTATION_STRING, CONCURRENT_MODE_NUMBER, CONCURRENT_MODE_SYMBOL_STRING, ClassComponentTag, ContextConsumerTag, DEPRECATED_ASYNC_MODE_SYMBOL_STRING, DehydratedSuspenseComponentTag, ELEMENT_TYPE_SYMBOL_STRING, ForwardRefTag, FragmentTag, FunctionComponentTag, HostComponentTag, HostHoistableTag, HostRootTag, HostSingletonTag, HostTextTag, INSTALL_HOOK_SCRIPT_STRING, LegacyHiddenComponentTag, MemoComponentTag, OffscreenComponentTag, SimpleMemoComponentTag, SuspenseComponentTag, TRANSITIONAL_ELEMENT_TYPE_SYMBOL_STRING, createFiberVisitor, detectReactBuildType, didFiberCommit, didFiberRender, fiberIdMap, getDisplayName, getFiberFromHostInstance, getFiberId, getFiberStack, getMutatedHostFibers, getNearestHostFiber, getNearestHostFibers, getRDTHook, getTimings, getType, hasMemoCache, hasRDTHook, installRDTHook, instrument, isCompositeFiber, isHostFiber, isInstrumentationActive, isReactRefresh, isRealReactDevtools, isValidElement, isValidFiber, mountFiberRecursively, onCommitFiberRoot, secure, setFiberId, shouldFilterFiber, traverseContexts, traverseEffects, traverseFiber, traverseProps, traverseRenderedFibers, traverseState, unmountFiber, unmountFiberChildrenRecursively, updateFiberRecursively, version };
|
|
@@ -17,7 +17,7 @@ interface ReactDevToolsGlobalHook {
|
|
|
17
17
|
/**
|
|
18
18
|
* Represents a react-internal Fiber node.
|
|
19
19
|
*/
|
|
20
|
-
type Fiber<T = any> = Omit<Fiber$1,
|
|
20
|
+
type Fiber<T = any> = Omit<Fiber$1, 'stateNode' | 'dependencies' | 'child' | 'sibling' | 'return' | 'alternate' | 'memoizedProps' | 'pendingProps' | 'memoizedState' | 'updateQueue'> & {
|
|
21
21
|
stateNode: T;
|
|
22
22
|
dependencies: Dependencies | null;
|
|
23
23
|
child: Fiber | null;
|
|
@@ -188,7 +188,8 @@ declare const getType: (type: unknown) => React.ComponentType<unknown> | null;
|
|
|
188
188
|
* Returns the display name of the {@link Fiber}.
|
|
189
189
|
*/
|
|
190
190
|
declare const getDisplayName: (type: unknown) => string | null;
|
|
191
|
-
declare const
|
|
191
|
+
declare const isRealReactDevtools: (rdtHook?: ReactDevToolsGlobalHook) => rdtHook is ReactDevToolsGlobalHook & Record<"getFiberRoots", unknown>;
|
|
192
|
+
declare const isReactRefresh: (rdtHook?: ReactDevToolsGlobalHook) => rdtHook is never;
|
|
192
193
|
/**
|
|
193
194
|
* Returns the build type of the React renderer.
|
|
194
195
|
*/
|
|
@@ -258,4 +259,4 @@ declare const secure: (options: InstrumentationOptions, secureOptions?: {
|
|
|
258
259
|
*/
|
|
259
260
|
declare const onCommitFiberRoot: (handler: (root: FiberRoot) => void) => void;
|
|
260
261
|
|
|
261
|
-
export {
|
|
262
|
+
export { unmountFiber as $, traverseFiber as A, getTimings as B, ClassComponentTag as C, DehydratedSuspenseComponentTag as D, ELEMENT_TYPE_SYMBOL_STRING as E, FunctionComponentTag as F, hasMemoCache as G, HostRootTag as H, getType as I, getDisplayName as J, isRealReactDevtools as K, LegacyHiddenComponentTag as L, MemoComponentTag as M, isReactRefresh as N, OffscreenComponentTag as O, detectReactBuildType as P, isInstrumentationActive as Q, type ReactDevToolsGlobalHook as R, SuspenseComponentTag as S, TRANSITIONAL_ELEMENT_TYPE_SYMBOL_STRING as T, type RenderPhase as U, type RenderHandler as V, fiberIdMap as W, setFiberId as X, getFiberId as Y, mountFiberRecursively as Z, updateFiberRecursively as _, HostComponentTag as a, unmountFiberChildrenRecursively as a0, traverseRenderedFibers as a1, createFiberVisitor as a2, type InstrumentationOptions as a3, instrument as a4, getFiberFromHostInstance as a5, secure as a6, onCommitFiberRoot as a7, type Fiber as a8, type ReactRenderer as a9, type ContextDependency as aa, type Dependencies as ab, type Effect as ac, type MemoizedState as ad, type Props as ae, HostTextTag as b, FragmentTag as c, ContextConsumerTag as d, ForwardRefTag as e, SimpleMemoComponentTag as f, HostHoistableTag as g, HostSingletonTag as h, CONCURRENT_MODE_NUMBER as i, CONCURRENT_MODE_SYMBOL_STRING as j, DEPRECATED_ASYNC_MODE_SYMBOL_STRING as k, isValidElement as l, isValidFiber as m, isHostFiber as n, isCompositeFiber as o, traverseState as p, traverseEffects as q, traverseProps as r, didFiberRender as s, traverseContexts as t, didFiberCommit as u, getMutatedHostFibers as v, getFiberStack as w, shouldFilterFiber as x, getNearestHostFiber as y, getNearestHostFibers as z };
|
|
@@ -17,7 +17,7 @@ interface ReactDevToolsGlobalHook {
|
|
|
17
17
|
/**
|
|
18
18
|
* Represents a react-internal Fiber node.
|
|
19
19
|
*/
|
|
20
|
-
type Fiber<T = any> = Omit<Fiber$1,
|
|
20
|
+
type Fiber<T = any> = Omit<Fiber$1, 'stateNode' | 'dependencies' | 'child' | 'sibling' | 'return' | 'alternate' | 'memoizedProps' | 'pendingProps' | 'memoizedState' | 'updateQueue'> & {
|
|
21
21
|
stateNode: T;
|
|
22
22
|
dependencies: Dependencies | null;
|
|
23
23
|
child: Fiber | null;
|
|
@@ -188,7 +188,8 @@ declare const getType: (type: unknown) => React.ComponentType<unknown> | null;
|
|
|
188
188
|
* Returns the display name of the {@link Fiber}.
|
|
189
189
|
*/
|
|
190
190
|
declare const getDisplayName: (type: unknown) => string | null;
|
|
191
|
-
declare const
|
|
191
|
+
declare const isRealReactDevtools: (rdtHook?: ReactDevToolsGlobalHook) => rdtHook is ReactDevToolsGlobalHook & Record<"getFiberRoots", unknown>;
|
|
192
|
+
declare const isReactRefresh: (rdtHook?: ReactDevToolsGlobalHook) => rdtHook is never;
|
|
192
193
|
/**
|
|
193
194
|
* Returns the build type of the React renderer.
|
|
194
195
|
*/
|
|
@@ -258,4 +259,4 @@ declare const secure: (options: InstrumentationOptions, secureOptions?: {
|
|
|
258
259
|
*/
|
|
259
260
|
declare const onCommitFiberRoot: (handler: (root: FiberRoot) => void) => void;
|
|
260
261
|
|
|
261
|
-
export {
|
|
262
|
+
export { unmountFiber as $, traverseFiber as A, getTimings as B, ClassComponentTag as C, DehydratedSuspenseComponentTag as D, ELEMENT_TYPE_SYMBOL_STRING as E, FunctionComponentTag as F, hasMemoCache as G, HostRootTag as H, getType as I, getDisplayName as J, isRealReactDevtools as K, LegacyHiddenComponentTag as L, MemoComponentTag as M, isReactRefresh as N, OffscreenComponentTag as O, detectReactBuildType as P, isInstrumentationActive as Q, type ReactDevToolsGlobalHook as R, SuspenseComponentTag as S, TRANSITIONAL_ELEMENT_TYPE_SYMBOL_STRING as T, type RenderPhase as U, type RenderHandler as V, fiberIdMap as W, setFiberId as X, getFiberId as Y, mountFiberRecursively as Z, updateFiberRecursively as _, HostComponentTag as a, unmountFiberChildrenRecursively as a0, traverseRenderedFibers as a1, createFiberVisitor as a2, type InstrumentationOptions as a3, instrument as a4, getFiberFromHostInstance as a5, secure as a6, onCommitFiberRoot as a7, type Fiber as a8, type ReactRenderer as a9, type ContextDependency as aa, type Dependencies as ab, type Effect as ac, type MemoizedState as ad, type Props as ae, HostTextTag as b, FragmentTag as c, ContextConsumerTag as d, ForwardRefTag as e, SimpleMemoComponentTag as f, HostHoistableTag as g, HostSingletonTag as h, CONCURRENT_MODE_NUMBER as i, CONCURRENT_MODE_SYMBOL_STRING as j, DEPRECATED_ASYNC_MODE_SYMBOL_STRING as k, isValidElement as l, isValidFiber as m, isHostFiber as n, isCompositeFiber as o, traverseState as p, traverseEffects as q, traverseProps as r, didFiberRender as s, traverseContexts as t, didFiberCommit as u, getMutatedHostFibers as v, getFiberStack as w, shouldFilterFiber as x, getNearestHostFiber as y, getNearestHostFibers as z };
|
package/dist/core.cjs
CHANGED
|
@@ -1,234 +1,238 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkIDXORTRQ_cjs = require('./chunk-IDXORTRQ.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "CONCURRENT_MODE_NUMBER", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkIDXORTRQ_cjs.CONCURRENT_MODE_NUMBER; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "CONCURRENT_MODE_SYMBOL_STRING", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkIDXORTRQ_cjs.CONCURRENT_MODE_SYMBOL_STRING; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "ClassComponentTag", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkIDXORTRQ_cjs.ClassComponentTag; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "ContextConsumerTag", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkIDXORTRQ_cjs.ContextConsumerTag; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "DEPRECATED_ASYNC_MODE_SYMBOL_STRING", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkIDXORTRQ_cjs.DEPRECATED_ASYNC_MODE_SYMBOL_STRING; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "DehydratedSuspenseComponentTag", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkIDXORTRQ_cjs.DehydratedSuspenseComponentTag; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "ELEMENT_TYPE_SYMBOL_STRING", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkIDXORTRQ_cjs.ELEMENT_TYPE_SYMBOL_STRING; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "ForwardRefTag", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkIDXORTRQ_cjs.ForwardRefTag; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "FragmentTag", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkIDXORTRQ_cjs.FragmentTag; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "FunctionComponentTag", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkIDXORTRQ_cjs.FunctionComponentTag; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "HostComponentTag", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkIDXORTRQ_cjs.HostComponentTag; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "HostHoistableTag", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkIDXORTRQ_cjs.HostHoistableTag; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "HostRootTag", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkIDXORTRQ_cjs.HostRootTag; }
|
|
58
58
|
});
|
|
59
59
|
Object.defineProperty(exports, "HostSingletonTag", {
|
|
60
60
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunkIDXORTRQ_cjs.HostSingletonTag; }
|
|
62
62
|
});
|
|
63
63
|
Object.defineProperty(exports, "HostTextTag", {
|
|
64
64
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunkIDXORTRQ_cjs.HostTextTag; }
|
|
66
66
|
});
|
|
67
67
|
Object.defineProperty(exports, "LegacyHiddenComponentTag", {
|
|
68
68
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunkIDXORTRQ_cjs.LegacyHiddenComponentTag; }
|
|
70
70
|
});
|
|
71
71
|
Object.defineProperty(exports, "MemoComponentTag", {
|
|
72
72
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
73
|
+
get: function () { return chunkIDXORTRQ_cjs.MemoComponentTag; }
|
|
74
74
|
});
|
|
75
75
|
Object.defineProperty(exports, "OffscreenComponentTag", {
|
|
76
76
|
enumerable: true,
|
|
77
|
-
get: function () { return
|
|
77
|
+
get: function () { return chunkIDXORTRQ_cjs.OffscreenComponentTag; }
|
|
78
78
|
});
|
|
79
79
|
Object.defineProperty(exports, "SimpleMemoComponentTag", {
|
|
80
80
|
enumerable: true,
|
|
81
|
-
get: function () { return
|
|
81
|
+
get: function () { return chunkIDXORTRQ_cjs.SimpleMemoComponentTag; }
|
|
82
82
|
});
|
|
83
83
|
Object.defineProperty(exports, "SuspenseComponentTag", {
|
|
84
84
|
enumerable: true,
|
|
85
|
-
get: function () { return
|
|
85
|
+
get: function () { return chunkIDXORTRQ_cjs.SuspenseComponentTag; }
|
|
86
86
|
});
|
|
87
87
|
Object.defineProperty(exports, "TRANSITIONAL_ELEMENT_TYPE_SYMBOL_STRING", {
|
|
88
88
|
enumerable: true,
|
|
89
|
-
get: function () { return
|
|
89
|
+
get: function () { return chunkIDXORTRQ_cjs.TRANSITIONAL_ELEMENT_TYPE_SYMBOL_STRING; }
|
|
90
90
|
});
|
|
91
91
|
Object.defineProperty(exports, "createFiberVisitor", {
|
|
92
92
|
enumerable: true,
|
|
93
|
-
get: function () { return
|
|
93
|
+
get: function () { return chunkIDXORTRQ_cjs.createFiberVisitor; }
|
|
94
94
|
});
|
|
95
95
|
Object.defineProperty(exports, "detectReactBuildType", {
|
|
96
96
|
enumerable: true,
|
|
97
|
-
get: function () { return
|
|
97
|
+
get: function () { return chunkIDXORTRQ_cjs.detectReactBuildType; }
|
|
98
98
|
});
|
|
99
99
|
Object.defineProperty(exports, "didFiberCommit", {
|
|
100
100
|
enumerable: true,
|
|
101
|
-
get: function () { return
|
|
101
|
+
get: function () { return chunkIDXORTRQ_cjs.didFiberCommit; }
|
|
102
102
|
});
|
|
103
103
|
Object.defineProperty(exports, "didFiberRender", {
|
|
104
104
|
enumerable: true,
|
|
105
|
-
get: function () { return
|
|
105
|
+
get: function () { return chunkIDXORTRQ_cjs.didFiberRender; }
|
|
106
106
|
});
|
|
107
107
|
Object.defineProperty(exports, "fiberIdMap", {
|
|
108
108
|
enumerable: true,
|
|
109
|
-
get: function () { return
|
|
109
|
+
get: function () { return chunkIDXORTRQ_cjs.fiberIdMap; }
|
|
110
110
|
});
|
|
111
111
|
Object.defineProperty(exports, "getDisplayName", {
|
|
112
112
|
enumerable: true,
|
|
113
|
-
get: function () { return
|
|
113
|
+
get: function () { return chunkIDXORTRQ_cjs.getDisplayName; }
|
|
114
114
|
});
|
|
115
115
|
Object.defineProperty(exports, "getFiberFromHostInstance", {
|
|
116
116
|
enumerable: true,
|
|
117
|
-
get: function () { return
|
|
117
|
+
get: function () { return chunkIDXORTRQ_cjs.getFiberFromHostInstance; }
|
|
118
118
|
});
|
|
119
119
|
Object.defineProperty(exports, "getFiberId", {
|
|
120
120
|
enumerable: true,
|
|
121
|
-
get: function () { return
|
|
121
|
+
get: function () { return chunkIDXORTRQ_cjs.getFiberId; }
|
|
122
122
|
});
|
|
123
123
|
Object.defineProperty(exports, "getFiberStack", {
|
|
124
124
|
enumerable: true,
|
|
125
|
-
get: function () { return
|
|
125
|
+
get: function () { return chunkIDXORTRQ_cjs.getFiberStack; }
|
|
126
126
|
});
|
|
127
127
|
Object.defineProperty(exports, "getMutatedHostFibers", {
|
|
128
128
|
enumerable: true,
|
|
129
|
-
get: function () { return
|
|
129
|
+
get: function () { return chunkIDXORTRQ_cjs.getMutatedHostFibers; }
|
|
130
130
|
});
|
|
131
131
|
Object.defineProperty(exports, "getNearestHostFiber", {
|
|
132
132
|
enumerable: true,
|
|
133
|
-
get: function () { return
|
|
133
|
+
get: function () { return chunkIDXORTRQ_cjs.getNearestHostFiber; }
|
|
134
134
|
});
|
|
135
135
|
Object.defineProperty(exports, "getNearestHostFibers", {
|
|
136
136
|
enumerable: true,
|
|
137
|
-
get: function () { return
|
|
137
|
+
get: function () { return chunkIDXORTRQ_cjs.getNearestHostFibers; }
|
|
138
138
|
});
|
|
139
139
|
Object.defineProperty(exports, "getTimings", {
|
|
140
140
|
enumerable: true,
|
|
141
|
-
get: function () { return
|
|
141
|
+
get: function () { return chunkIDXORTRQ_cjs.getTimings; }
|
|
142
142
|
});
|
|
143
143
|
Object.defineProperty(exports, "getType", {
|
|
144
144
|
enumerable: true,
|
|
145
|
-
get: function () { return
|
|
145
|
+
get: function () { return chunkIDXORTRQ_cjs.getType; }
|
|
146
146
|
});
|
|
147
147
|
Object.defineProperty(exports, "hasMemoCache", {
|
|
148
148
|
enumerable: true,
|
|
149
|
-
get: function () { return
|
|
149
|
+
get: function () { return chunkIDXORTRQ_cjs.hasMemoCache; }
|
|
150
150
|
});
|
|
151
151
|
Object.defineProperty(exports, "instrument", {
|
|
152
152
|
enumerable: true,
|
|
153
|
-
get: function () { return
|
|
153
|
+
get: function () { return chunkIDXORTRQ_cjs.instrument; }
|
|
154
154
|
});
|
|
155
155
|
Object.defineProperty(exports, "isCompositeFiber", {
|
|
156
156
|
enumerable: true,
|
|
157
|
-
get: function () { return
|
|
157
|
+
get: function () { return chunkIDXORTRQ_cjs.isCompositeFiber; }
|
|
158
158
|
});
|
|
159
159
|
Object.defineProperty(exports, "isHostFiber", {
|
|
160
160
|
enumerable: true,
|
|
161
|
-
get: function () { return
|
|
161
|
+
get: function () { return chunkIDXORTRQ_cjs.isHostFiber; }
|
|
162
162
|
});
|
|
163
163
|
Object.defineProperty(exports, "isInstrumentationActive", {
|
|
164
164
|
enumerable: true,
|
|
165
|
-
get: function () { return
|
|
165
|
+
get: function () { return chunkIDXORTRQ_cjs.isInstrumentationActive; }
|
|
166
166
|
});
|
|
167
|
-
Object.defineProperty(exports, "
|
|
167
|
+
Object.defineProperty(exports, "isReactRefresh", {
|
|
168
168
|
enumerable: true,
|
|
169
|
-
get: function () { return
|
|
169
|
+
get: function () { return chunkIDXORTRQ_cjs.isReactRefresh; }
|
|
170
|
+
});
|
|
171
|
+
Object.defineProperty(exports, "isRealReactDevtools", {
|
|
172
|
+
enumerable: true,
|
|
173
|
+
get: function () { return chunkIDXORTRQ_cjs.isRealReactDevtools; }
|
|
170
174
|
});
|
|
171
175
|
Object.defineProperty(exports, "isValidElement", {
|
|
172
176
|
enumerable: true,
|
|
173
|
-
get: function () { return
|
|
177
|
+
get: function () { return chunkIDXORTRQ_cjs.isValidElement; }
|
|
174
178
|
});
|
|
175
179
|
Object.defineProperty(exports, "isValidFiber", {
|
|
176
180
|
enumerable: true,
|
|
177
|
-
get: function () { return
|
|
181
|
+
get: function () { return chunkIDXORTRQ_cjs.isValidFiber; }
|
|
178
182
|
});
|
|
179
183
|
Object.defineProperty(exports, "mountFiberRecursively", {
|
|
180
184
|
enumerable: true,
|
|
181
|
-
get: function () { return
|
|
185
|
+
get: function () { return chunkIDXORTRQ_cjs.mountFiberRecursively; }
|
|
182
186
|
});
|
|
183
187
|
Object.defineProperty(exports, "onCommitFiberRoot", {
|
|
184
188
|
enumerable: true,
|
|
185
|
-
get: function () { return
|
|
189
|
+
get: function () { return chunkIDXORTRQ_cjs.onCommitFiberRoot; }
|
|
186
190
|
});
|
|
187
191
|
Object.defineProperty(exports, "secure", {
|
|
188
192
|
enumerable: true,
|
|
189
|
-
get: function () { return
|
|
193
|
+
get: function () { return chunkIDXORTRQ_cjs.secure; }
|
|
190
194
|
});
|
|
191
195
|
Object.defineProperty(exports, "setFiberId", {
|
|
192
196
|
enumerable: true,
|
|
193
|
-
get: function () { return
|
|
197
|
+
get: function () { return chunkIDXORTRQ_cjs.setFiberId; }
|
|
194
198
|
});
|
|
195
199
|
Object.defineProperty(exports, "shouldFilterFiber", {
|
|
196
200
|
enumerable: true,
|
|
197
|
-
get: function () { return
|
|
201
|
+
get: function () { return chunkIDXORTRQ_cjs.shouldFilterFiber; }
|
|
198
202
|
});
|
|
199
203
|
Object.defineProperty(exports, "traverseContexts", {
|
|
200
204
|
enumerable: true,
|
|
201
|
-
get: function () { return
|
|
205
|
+
get: function () { return chunkIDXORTRQ_cjs.traverseContexts; }
|
|
202
206
|
});
|
|
203
207
|
Object.defineProperty(exports, "traverseEffects", {
|
|
204
208
|
enumerable: true,
|
|
205
|
-
get: function () { return
|
|
209
|
+
get: function () { return chunkIDXORTRQ_cjs.traverseEffects; }
|
|
206
210
|
});
|
|
207
211
|
Object.defineProperty(exports, "traverseFiber", {
|
|
208
212
|
enumerable: true,
|
|
209
|
-
get: function () { return
|
|
213
|
+
get: function () { return chunkIDXORTRQ_cjs.traverseFiber; }
|
|
210
214
|
});
|
|
211
215
|
Object.defineProperty(exports, "traverseProps", {
|
|
212
216
|
enumerable: true,
|
|
213
|
-
get: function () { return
|
|
217
|
+
get: function () { return chunkIDXORTRQ_cjs.traverseProps; }
|
|
214
218
|
});
|
|
215
219
|
Object.defineProperty(exports, "traverseRenderedFibers", {
|
|
216
220
|
enumerable: true,
|
|
217
|
-
get: function () { return
|
|
221
|
+
get: function () { return chunkIDXORTRQ_cjs.traverseRenderedFibers; }
|
|
218
222
|
});
|
|
219
223
|
Object.defineProperty(exports, "traverseState", {
|
|
220
224
|
enumerable: true,
|
|
221
|
-
get: function () { return
|
|
225
|
+
get: function () { return chunkIDXORTRQ_cjs.traverseState; }
|
|
222
226
|
});
|
|
223
227
|
Object.defineProperty(exports, "unmountFiber", {
|
|
224
228
|
enumerable: true,
|
|
225
|
-
get: function () { return
|
|
229
|
+
get: function () { return chunkIDXORTRQ_cjs.unmountFiber; }
|
|
226
230
|
});
|
|
227
231
|
Object.defineProperty(exports, "unmountFiberChildrenRecursively", {
|
|
228
232
|
enumerable: true,
|
|
229
|
-
get: function () { return
|
|
233
|
+
get: function () { return chunkIDXORTRQ_cjs.unmountFiberChildrenRecursively; }
|
|
230
234
|
});
|
|
231
235
|
Object.defineProperty(exports, "updateFiberRecursively", {
|
|
232
236
|
enumerable: true,
|
|
233
|
-
get: function () { return
|
|
237
|
+
get: function () { return chunkIDXORTRQ_cjs.updateFiberRecursively; }
|
|
234
238
|
});
|
package/dist/core.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { i as CONCURRENT_MODE_NUMBER, j as CONCURRENT_MODE_SYMBOL_STRING, C as ClassComponentTag, d as ContextConsumerTag, k as DEPRECATED_ASYNC_MODE_SYMBOL_STRING, D as DehydratedSuspenseComponentTag, E as ELEMENT_TYPE_SYMBOL_STRING, e as ForwardRefTag, c as FragmentTag, F as FunctionComponentTag, a as HostComponentTag, g as HostHoistableTag, H as HostRootTag, h as HostSingletonTag, b as HostTextTag,
|
|
1
|
+
export { i as CONCURRENT_MODE_NUMBER, j as CONCURRENT_MODE_SYMBOL_STRING, C as ClassComponentTag, d as ContextConsumerTag, k as DEPRECATED_ASYNC_MODE_SYMBOL_STRING, D as DehydratedSuspenseComponentTag, E as ELEMENT_TYPE_SYMBOL_STRING, e as ForwardRefTag, c as FragmentTag, F as FunctionComponentTag, a as HostComponentTag, g as HostHoistableTag, H as HostRootTag, h as HostSingletonTag, b as HostTextTag, a3 as InstrumentationOptions, L as LegacyHiddenComponentTag, M as MemoComponentTag, O as OffscreenComponentTag, V as RenderHandler, U as RenderPhase, f as SimpleMemoComponentTag, S as SuspenseComponentTag, T as TRANSITIONAL_ELEMENT_TYPE_SYMBOL_STRING, a2 as createFiberVisitor, P as detectReactBuildType, u as didFiberCommit, s as didFiberRender, W as fiberIdMap, J as getDisplayName, a5 as getFiberFromHostInstance, Y as getFiberId, w as getFiberStack, v as getMutatedHostFibers, y as getNearestHostFiber, z as getNearestHostFibers, B as getTimings, I as getType, G as hasMemoCache, a4 as instrument, o as isCompositeFiber, n as isHostFiber, Q as isInstrumentationActive, N as isReactRefresh, K as isRealReactDevtools, l as isValidElement, m as isValidFiber, Z as mountFiberRecursively, a7 as onCommitFiberRoot, a6 as secure, X as setFiberId, x as shouldFilterFiber, t as traverseContexts, q as traverseEffects, A as traverseFiber, r as traverseProps, a1 as traverseRenderedFibers, p as traverseState, $ as unmountFiber, a0 as unmountFiberChildrenRecursively, _ as updateFiberRecursively } from './core-BJrLSucf.cjs';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'react-reconciler';
|
package/dist/core.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { i as CONCURRENT_MODE_NUMBER, j as CONCURRENT_MODE_SYMBOL_STRING, C as ClassComponentTag, d as ContextConsumerTag, k as DEPRECATED_ASYNC_MODE_SYMBOL_STRING, D as DehydratedSuspenseComponentTag, E as ELEMENT_TYPE_SYMBOL_STRING, e as ForwardRefTag, c as FragmentTag, F as FunctionComponentTag, a as HostComponentTag, g as HostHoistableTag, H as HostRootTag, h as HostSingletonTag, b as HostTextTag,
|
|
1
|
+
export { i as CONCURRENT_MODE_NUMBER, j as CONCURRENT_MODE_SYMBOL_STRING, C as ClassComponentTag, d as ContextConsumerTag, k as DEPRECATED_ASYNC_MODE_SYMBOL_STRING, D as DehydratedSuspenseComponentTag, E as ELEMENT_TYPE_SYMBOL_STRING, e as ForwardRefTag, c as FragmentTag, F as FunctionComponentTag, a as HostComponentTag, g as HostHoistableTag, H as HostRootTag, h as HostSingletonTag, b as HostTextTag, a3 as InstrumentationOptions, L as LegacyHiddenComponentTag, M as MemoComponentTag, O as OffscreenComponentTag, V as RenderHandler, U as RenderPhase, f as SimpleMemoComponentTag, S as SuspenseComponentTag, T as TRANSITIONAL_ELEMENT_TYPE_SYMBOL_STRING, a2 as createFiberVisitor, P as detectReactBuildType, u as didFiberCommit, s as didFiberRender, W as fiberIdMap, J as getDisplayName, a5 as getFiberFromHostInstance, Y as getFiberId, w as getFiberStack, v as getMutatedHostFibers, y as getNearestHostFiber, z as getNearestHostFibers, B as getTimings, I as getType, G as hasMemoCache, a4 as instrument, o as isCompositeFiber, n as isHostFiber, Q as isInstrumentationActive, N as isReactRefresh, K as isRealReactDevtools, l as isValidElement, m as isValidFiber, Z as mountFiberRecursively, a7 as onCommitFiberRoot, a6 as secure, X as setFiberId, x as shouldFilterFiber, t as traverseContexts, q as traverseEffects, A as traverseFiber, r as traverseProps, a1 as traverseRenderedFibers, p as traverseState, $ as unmountFiber, a0 as unmountFiberChildrenRecursively, _ as updateFiberRecursively } from './core-BJrLSucf.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'react-reconciler';
|
package/dist/core.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { CONCURRENT_MODE_NUMBER, CONCURRENT_MODE_SYMBOL_STRING, ClassComponentTag, ContextConsumerTag, DEPRECATED_ASYNC_MODE_SYMBOL_STRING, DehydratedSuspenseComponentTag, ELEMENT_TYPE_SYMBOL_STRING, ForwardRefTag, FragmentTag, FunctionComponentTag, HostComponentTag, HostHoistableTag, HostRootTag, HostSingletonTag, HostTextTag, LegacyHiddenComponentTag, MemoComponentTag, OffscreenComponentTag, SimpleMemoComponentTag, SuspenseComponentTag, TRANSITIONAL_ELEMENT_TYPE_SYMBOL_STRING, createFiberVisitor, detectReactBuildType, didFiberCommit, didFiberRender, fiberIdMap, getDisplayName, getFiberFromHostInstance, getFiberId, getFiberStack, getMutatedHostFibers, getNearestHostFiber, getNearestHostFibers, getTimings, getType, hasMemoCache, instrument, isCompositeFiber, isHostFiber, isInstrumentationActive,
|
|
1
|
+
export { CONCURRENT_MODE_NUMBER, CONCURRENT_MODE_SYMBOL_STRING, ClassComponentTag, ContextConsumerTag, DEPRECATED_ASYNC_MODE_SYMBOL_STRING, DehydratedSuspenseComponentTag, ELEMENT_TYPE_SYMBOL_STRING, ForwardRefTag, FragmentTag, FunctionComponentTag, HostComponentTag, HostHoistableTag, HostRootTag, HostSingletonTag, HostTextTag, LegacyHiddenComponentTag, MemoComponentTag, OffscreenComponentTag, SimpleMemoComponentTag, SuspenseComponentTag, TRANSITIONAL_ELEMENT_TYPE_SYMBOL_STRING, createFiberVisitor, detectReactBuildType, didFiberCommit, didFiberRender, fiberIdMap, getDisplayName, getFiberFromHostInstance, getFiberId, getFiberStack, getMutatedHostFibers, getNearestHostFiber, getNearestHostFibers, getTimings, getType, hasMemoCache, instrument, isCompositeFiber, isHostFiber, isInstrumentationActive, isReactRefresh, isRealReactDevtools, isValidElement, isValidFiber, mountFiberRecursively, onCommitFiberRoot, secure, setFiberId, shouldFilterFiber, traverseContexts, traverseEffects, traverseFiber, traverseProps, traverseRenderedFibers, traverseState, unmountFiber, unmountFiberChildrenRecursively, updateFiberRecursively } from './chunk-MISFWX22.js';
|