bippy 0.2.11 → 0.2.13
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-HRNPTAGF.js → chunk-6NA7Z62I.js} +9 -27
- package/dist/{chunk-4DXMRM7J.cjs → chunk-7G4A46O2.cjs} +10 -29
- package/dist/chunk-EQDYOXOH.js +13 -0
- package/dist/chunk-WAO3TF75.cjs +15 -0
- package/dist/core-B6ahy3zQ.d.cts +262 -0
- package/dist/core-B6ahy3zQ.d.ts +262 -0
- package/dist/core.cjs +61 -57
- package/dist/core.d.cts +3 -195
- package/dist/core.d.ts +3 -195
- package/dist/core.js +1 -1
- package/dist/index.cjs +76 -72
- package/dist/index.d.cts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.global.js +9 -0
- package/dist/index.js +2 -2
- package/dist/inspect.cjs +55 -55
- package/dist/inspect.js +2 -2
- package/dist/sw.cjs +43 -26
- package/dist/sw.js +43 -26
- package/package.json +3 -2
- package/dist/chunk-6TJRMCM3.js +0 -1
- package/dist/chunk-YZYCWAB2.cjs +0 -2
- package/dist/sw.d.cts +0 -70
- package/dist/sw.d.ts +0 -70
- package/dist/sw.global.js +0 -9
package/dist/sw.d.ts
DELETED
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import { FiberRoot, Fiber as Fiber$1, ReactContext, Lanes } from 'react-reconciler';
|
|
2
|
-
|
|
3
|
-
interface ReactDevToolsGlobalHook {
|
|
4
|
-
checkDCE: (fn: unknown) => void;
|
|
5
|
-
supportsFiber: boolean;
|
|
6
|
-
supportsFlight: boolean;
|
|
7
|
-
renderers: Map<number, ReactRenderer>;
|
|
8
|
-
hasUnsupportedRendererAttached: boolean;
|
|
9
|
-
onCommitFiberRoot: (rendererID: number, root: FiberRoot, priority: void | number) => void;
|
|
10
|
-
onCommitFiberUnmount: (rendererID: number, fiber: Fiber) => void;
|
|
11
|
-
onPostCommitFiberRoot: (rendererID: number, root: FiberRoot) => void;
|
|
12
|
-
inject: (renderer: ReactRenderer) => number;
|
|
13
|
-
_instrumentationSource?: string;
|
|
14
|
-
_instrumentationIsActive?: boolean;
|
|
15
|
-
_sw?: boolean;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* Represents a react-internal Fiber node.
|
|
19
|
-
*/
|
|
20
|
-
type Fiber<T = any> = Omit<Fiber$1, 'stateNode' | 'dependencies' | 'child' | 'sibling' | 'return' | 'alternate' | 'memoizedProps' | 'pendingProps' | 'memoizedState' | 'updateQueue'> & {
|
|
21
|
-
stateNode: T;
|
|
22
|
-
dependencies: Dependencies | null;
|
|
23
|
-
child: Fiber | null;
|
|
24
|
-
sibling: Fiber | null;
|
|
25
|
-
return: Fiber | null;
|
|
26
|
-
alternate: Fiber | null;
|
|
27
|
-
memoizedProps: Props;
|
|
28
|
-
pendingProps: Props;
|
|
29
|
-
memoizedState: MemoizedState;
|
|
30
|
-
updateQueue: {
|
|
31
|
-
lastEffect: Effect | null;
|
|
32
|
-
[key: string]: unknown;
|
|
33
|
-
};
|
|
34
|
-
};
|
|
35
|
-
interface ReactRenderer {
|
|
36
|
-
version: string;
|
|
37
|
-
bundleType: 0 | 1;
|
|
38
|
-
findFiberByHostInstance?: (hostInstance: unknown) => Fiber | null;
|
|
39
|
-
}
|
|
40
|
-
interface ContextDependency<T> {
|
|
41
|
-
context: ReactContext<T>;
|
|
42
|
-
memoizedValue: T;
|
|
43
|
-
observedBits: number;
|
|
44
|
-
next: ContextDependency<unknown> | null;
|
|
45
|
-
}
|
|
46
|
-
interface Dependencies {
|
|
47
|
-
lanes: Lanes;
|
|
48
|
-
firstContext: ContextDependency<unknown> | null;
|
|
49
|
-
}
|
|
50
|
-
interface Effect {
|
|
51
|
-
next: Effect | null;
|
|
52
|
-
create: (...args: unknown[]) => unknown;
|
|
53
|
-
destroy: ((...args: unknown[]) => unknown) | null;
|
|
54
|
-
deps: unknown[] | null;
|
|
55
|
-
tag: number;
|
|
56
|
-
[key: string]: unknown;
|
|
57
|
-
}
|
|
58
|
-
interface MemoizedState {
|
|
59
|
-
memoizedState: unknown;
|
|
60
|
-
next: MemoizedState | null;
|
|
61
|
-
[key: string]: unknown;
|
|
62
|
-
}
|
|
63
|
-
interface Props {
|
|
64
|
-
[key: string]: unknown;
|
|
65
|
-
}
|
|
66
|
-
declare global {
|
|
67
|
-
var __REACT_DEVTOOLS_GLOBAL_HOOK__: ReactDevToolsGlobalHook;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
export type { ContextDependency as C, Dependencies as D, Effect as E, Fiber as F, MemoizedState as M, Props as P, ReactDevToolsGlobalHook as R, ReactRenderer as a };
|
package/dist/sw.global.js
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
!function(){"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* @license bippy
|
|
4
|
-
*
|
|
5
|
-
* Copyright (c) Aiden Bai, Million Software, Inc.
|
|
6
|
-
*
|
|
7
|
-
* This source code is licensed under the MIT license found in the
|
|
8
|
-
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/(()=>{try{const t=()=>{},e=new Map;let o=0;globalThis.__REACT_DEVTOOLS_GLOBAL_HOOK__={checkDCE:t,supportsFiber:!0,supportsFlight:!0,hasUnsupportedRendererAttached:!1,renderers:e,onCommitFiberRoot:t,onCommitFiberUnmount:t,onPostCommitFiberRoot:t,inject(t){const n=++o;return e.set(n,t),globalThis.__REACT_DEVTOOLS_GLOBAL_HOOK__._instrumentationIsActive=!0,n},_instrumentationIsActive:!1,_sw:!0}}catch{}})()}();
|