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
package/dist/index.cjs
CHANGED
|
@@ -1,255 +1,263 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
require('./chunk-YZYCWAB2.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkIDXORTRQ_cjs = require('./chunk-IDXORTRQ.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "BIPPY_INSTRUMENTATION_STRING", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkIDXORTRQ_cjs.BIPPY_INSTRUMENTATION_STRING; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "CONCURRENT_MODE_NUMBER", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkIDXORTRQ_cjs.CONCURRENT_MODE_NUMBER; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "CONCURRENT_MODE_SYMBOL_STRING", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkIDXORTRQ_cjs.CONCURRENT_MODE_SYMBOL_STRING; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "ClassComponentTag", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkIDXORTRQ_cjs.ClassComponentTag; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "ContextConsumerTag", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkIDXORTRQ_cjs.ContextConsumerTag; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "DEPRECATED_ASYNC_MODE_SYMBOL_STRING", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkIDXORTRQ_cjs.DEPRECATED_ASYNC_MODE_SYMBOL_STRING; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "DehydratedSuspenseComponentTag", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkIDXORTRQ_cjs.DehydratedSuspenseComponentTag; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "ELEMENT_TYPE_SYMBOL_STRING", {
|
|
37
37
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkIDXORTRQ_cjs.ELEMENT_TYPE_SYMBOL_STRING; }
|
|
39
39
|
});
|
|
40
40
|
Object.defineProperty(exports, "ForwardRefTag", {
|
|
41
41
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkIDXORTRQ_cjs.ForwardRefTag; }
|
|
43
43
|
});
|
|
44
44
|
Object.defineProperty(exports, "FragmentTag", {
|
|
45
45
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunkIDXORTRQ_cjs.FragmentTag; }
|
|
47
47
|
});
|
|
48
48
|
Object.defineProperty(exports, "FunctionComponentTag", {
|
|
49
49
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunkIDXORTRQ_cjs.FunctionComponentTag; }
|
|
51
51
|
});
|
|
52
52
|
Object.defineProperty(exports, "HostComponentTag", {
|
|
53
53
|
enumerable: true,
|
|
54
|
-
get: function () { return
|
|
54
|
+
get: function () { return chunkIDXORTRQ_cjs.HostComponentTag; }
|
|
55
55
|
});
|
|
56
56
|
Object.defineProperty(exports, "HostHoistableTag", {
|
|
57
57
|
enumerable: true,
|
|
58
|
-
get: function () { return
|
|
58
|
+
get: function () { return chunkIDXORTRQ_cjs.HostHoistableTag; }
|
|
59
59
|
});
|
|
60
60
|
Object.defineProperty(exports, "HostRootTag", {
|
|
61
61
|
enumerable: true,
|
|
62
|
-
get: function () { return
|
|
62
|
+
get: function () { return chunkIDXORTRQ_cjs.HostRootTag; }
|
|
63
63
|
});
|
|
64
64
|
Object.defineProperty(exports, "HostSingletonTag", {
|
|
65
65
|
enumerable: true,
|
|
66
|
-
get: function () { return
|
|
66
|
+
get: function () { return chunkIDXORTRQ_cjs.HostSingletonTag; }
|
|
67
67
|
});
|
|
68
68
|
Object.defineProperty(exports, "HostTextTag", {
|
|
69
69
|
enumerable: true,
|
|
70
|
-
get: function () { return
|
|
70
|
+
get: function () { return chunkIDXORTRQ_cjs.HostTextTag; }
|
|
71
|
+
});
|
|
72
|
+
Object.defineProperty(exports, "INSTALL_HOOK_SCRIPT_STRING", {
|
|
73
|
+
enumerable: true,
|
|
74
|
+
get: function () { return chunkIDXORTRQ_cjs.INSTALL_HOOK_SCRIPT_STRING; }
|
|
71
75
|
});
|
|
72
76
|
Object.defineProperty(exports, "LegacyHiddenComponentTag", {
|
|
73
77
|
enumerable: true,
|
|
74
|
-
get: function () { return
|
|
78
|
+
get: function () { return chunkIDXORTRQ_cjs.LegacyHiddenComponentTag; }
|
|
75
79
|
});
|
|
76
80
|
Object.defineProperty(exports, "MemoComponentTag", {
|
|
77
81
|
enumerable: true,
|
|
78
|
-
get: function () { return
|
|
82
|
+
get: function () { return chunkIDXORTRQ_cjs.MemoComponentTag; }
|
|
79
83
|
});
|
|
80
84
|
Object.defineProperty(exports, "OffscreenComponentTag", {
|
|
81
85
|
enumerable: true,
|
|
82
|
-
get: function () { return
|
|
86
|
+
get: function () { return chunkIDXORTRQ_cjs.OffscreenComponentTag; }
|
|
83
87
|
});
|
|
84
88
|
Object.defineProperty(exports, "SimpleMemoComponentTag", {
|
|
85
89
|
enumerable: true,
|
|
86
|
-
get: function () { return
|
|
90
|
+
get: function () { return chunkIDXORTRQ_cjs.SimpleMemoComponentTag; }
|
|
87
91
|
});
|
|
88
92
|
Object.defineProperty(exports, "SuspenseComponentTag", {
|
|
89
93
|
enumerable: true,
|
|
90
|
-
get: function () { return
|
|
94
|
+
get: function () { return chunkIDXORTRQ_cjs.SuspenseComponentTag; }
|
|
91
95
|
});
|
|
92
96
|
Object.defineProperty(exports, "TRANSITIONAL_ELEMENT_TYPE_SYMBOL_STRING", {
|
|
93
97
|
enumerable: true,
|
|
94
|
-
get: function () { return
|
|
98
|
+
get: function () { return chunkIDXORTRQ_cjs.TRANSITIONAL_ELEMENT_TYPE_SYMBOL_STRING; }
|
|
95
99
|
});
|
|
96
100
|
Object.defineProperty(exports, "createFiberVisitor", {
|
|
97
101
|
enumerable: true,
|
|
98
|
-
get: function () { return
|
|
102
|
+
get: function () { return chunkIDXORTRQ_cjs.createFiberVisitor; }
|
|
99
103
|
});
|
|
100
104
|
Object.defineProperty(exports, "detectReactBuildType", {
|
|
101
105
|
enumerable: true,
|
|
102
|
-
get: function () { return
|
|
106
|
+
get: function () { return chunkIDXORTRQ_cjs.detectReactBuildType; }
|
|
103
107
|
});
|
|
104
108
|
Object.defineProperty(exports, "didFiberCommit", {
|
|
105
109
|
enumerable: true,
|
|
106
|
-
get: function () { return
|
|
110
|
+
get: function () { return chunkIDXORTRQ_cjs.didFiberCommit; }
|
|
107
111
|
});
|
|
108
112
|
Object.defineProperty(exports, "didFiberRender", {
|
|
109
113
|
enumerable: true,
|
|
110
|
-
get: function () { return
|
|
114
|
+
get: function () { return chunkIDXORTRQ_cjs.didFiberRender; }
|
|
111
115
|
});
|
|
112
116
|
Object.defineProperty(exports, "fiberIdMap", {
|
|
113
117
|
enumerable: true,
|
|
114
|
-
get: function () { return
|
|
118
|
+
get: function () { return chunkIDXORTRQ_cjs.fiberIdMap; }
|
|
115
119
|
});
|
|
116
120
|
Object.defineProperty(exports, "getDisplayName", {
|
|
117
121
|
enumerable: true,
|
|
118
|
-
get: function () { return
|
|
122
|
+
get: function () { return chunkIDXORTRQ_cjs.getDisplayName; }
|
|
119
123
|
});
|
|
120
124
|
Object.defineProperty(exports, "getFiberFromHostInstance", {
|
|
121
125
|
enumerable: true,
|
|
122
|
-
get: function () { return
|
|
126
|
+
get: function () { return chunkIDXORTRQ_cjs.getFiberFromHostInstance; }
|
|
123
127
|
});
|
|
124
128
|
Object.defineProperty(exports, "getFiberId", {
|
|
125
129
|
enumerable: true,
|
|
126
|
-
get: function () { return
|
|
130
|
+
get: function () { return chunkIDXORTRQ_cjs.getFiberId; }
|
|
127
131
|
});
|
|
128
132
|
Object.defineProperty(exports, "getFiberStack", {
|
|
129
133
|
enumerable: true,
|
|
130
|
-
get: function () { return
|
|
134
|
+
get: function () { return chunkIDXORTRQ_cjs.getFiberStack; }
|
|
131
135
|
});
|
|
132
136
|
Object.defineProperty(exports, "getMutatedHostFibers", {
|
|
133
137
|
enumerable: true,
|
|
134
|
-
get: function () { return
|
|
138
|
+
get: function () { return chunkIDXORTRQ_cjs.getMutatedHostFibers; }
|
|
135
139
|
});
|
|
136
140
|
Object.defineProperty(exports, "getNearestHostFiber", {
|
|
137
141
|
enumerable: true,
|
|
138
|
-
get: function () { return
|
|
142
|
+
get: function () { return chunkIDXORTRQ_cjs.getNearestHostFiber; }
|
|
139
143
|
});
|
|
140
144
|
Object.defineProperty(exports, "getNearestHostFibers", {
|
|
141
145
|
enumerable: true,
|
|
142
|
-
get: function () { return
|
|
146
|
+
get: function () { return chunkIDXORTRQ_cjs.getNearestHostFibers; }
|
|
143
147
|
});
|
|
144
148
|
Object.defineProperty(exports, "getRDTHook", {
|
|
145
149
|
enumerable: true,
|
|
146
|
-
get: function () { return
|
|
150
|
+
get: function () { return chunkIDXORTRQ_cjs.getRDTHook; }
|
|
147
151
|
});
|
|
148
152
|
Object.defineProperty(exports, "getTimings", {
|
|
149
153
|
enumerable: true,
|
|
150
|
-
get: function () { return
|
|
154
|
+
get: function () { return chunkIDXORTRQ_cjs.getTimings; }
|
|
151
155
|
});
|
|
152
156
|
Object.defineProperty(exports, "getType", {
|
|
153
157
|
enumerable: true,
|
|
154
|
-
get: function () { return
|
|
158
|
+
get: function () { return chunkIDXORTRQ_cjs.getType; }
|
|
155
159
|
});
|
|
156
160
|
Object.defineProperty(exports, "hasMemoCache", {
|
|
157
161
|
enumerable: true,
|
|
158
|
-
get: function () { return
|
|
162
|
+
get: function () { return chunkIDXORTRQ_cjs.hasMemoCache; }
|
|
159
163
|
});
|
|
160
164
|
Object.defineProperty(exports, "hasRDTHook", {
|
|
161
165
|
enumerable: true,
|
|
162
|
-
get: function () { return
|
|
166
|
+
get: function () { return chunkIDXORTRQ_cjs.hasRDTHook; }
|
|
163
167
|
});
|
|
164
168
|
Object.defineProperty(exports, "installRDTHook", {
|
|
165
169
|
enumerable: true,
|
|
166
|
-
get: function () { return
|
|
170
|
+
get: function () { return chunkIDXORTRQ_cjs.installRDTHook; }
|
|
167
171
|
});
|
|
168
172
|
Object.defineProperty(exports, "instrument", {
|
|
169
173
|
enumerable: true,
|
|
170
|
-
get: function () { return
|
|
174
|
+
get: function () { return chunkIDXORTRQ_cjs.instrument; }
|
|
171
175
|
});
|
|
172
176
|
Object.defineProperty(exports, "isCompositeFiber", {
|
|
173
177
|
enumerable: true,
|
|
174
|
-
get: function () { return
|
|
178
|
+
get: function () { return chunkIDXORTRQ_cjs.isCompositeFiber; }
|
|
175
179
|
});
|
|
176
180
|
Object.defineProperty(exports, "isHostFiber", {
|
|
177
181
|
enumerable: true,
|
|
178
|
-
get: function () { return
|
|
182
|
+
get: function () { return chunkIDXORTRQ_cjs.isHostFiber; }
|
|
179
183
|
});
|
|
180
184
|
Object.defineProperty(exports, "isInstrumentationActive", {
|
|
181
185
|
enumerable: true,
|
|
182
|
-
get: function () { return
|
|
186
|
+
get: function () { return chunkIDXORTRQ_cjs.isInstrumentationActive; }
|
|
187
|
+
});
|
|
188
|
+
Object.defineProperty(exports, "isReactRefresh", {
|
|
189
|
+
enumerable: true,
|
|
190
|
+
get: function () { return chunkIDXORTRQ_cjs.isReactRefresh; }
|
|
183
191
|
});
|
|
184
|
-
Object.defineProperty(exports, "
|
|
192
|
+
Object.defineProperty(exports, "isRealReactDevtools", {
|
|
185
193
|
enumerable: true,
|
|
186
|
-
get: function () { return
|
|
194
|
+
get: function () { return chunkIDXORTRQ_cjs.isRealReactDevtools; }
|
|
187
195
|
});
|
|
188
196
|
Object.defineProperty(exports, "isValidElement", {
|
|
189
197
|
enumerable: true,
|
|
190
|
-
get: function () { return
|
|
198
|
+
get: function () { return chunkIDXORTRQ_cjs.isValidElement; }
|
|
191
199
|
});
|
|
192
200
|
Object.defineProperty(exports, "isValidFiber", {
|
|
193
201
|
enumerable: true,
|
|
194
|
-
get: function () { return
|
|
202
|
+
get: function () { return chunkIDXORTRQ_cjs.isValidFiber; }
|
|
195
203
|
});
|
|
196
204
|
Object.defineProperty(exports, "mountFiberRecursively", {
|
|
197
205
|
enumerable: true,
|
|
198
|
-
get: function () { return
|
|
206
|
+
get: function () { return chunkIDXORTRQ_cjs.mountFiberRecursively; }
|
|
199
207
|
});
|
|
200
208
|
Object.defineProperty(exports, "onCommitFiberRoot", {
|
|
201
209
|
enumerable: true,
|
|
202
|
-
get: function () { return
|
|
210
|
+
get: function () { return chunkIDXORTRQ_cjs.onCommitFiberRoot; }
|
|
203
211
|
});
|
|
204
212
|
Object.defineProperty(exports, "secure", {
|
|
205
213
|
enumerable: true,
|
|
206
|
-
get: function () { return
|
|
214
|
+
get: function () { return chunkIDXORTRQ_cjs.secure; }
|
|
207
215
|
});
|
|
208
216
|
Object.defineProperty(exports, "setFiberId", {
|
|
209
217
|
enumerable: true,
|
|
210
|
-
get: function () { return
|
|
218
|
+
get: function () { return chunkIDXORTRQ_cjs.setFiberId; }
|
|
211
219
|
});
|
|
212
220
|
Object.defineProperty(exports, "shouldFilterFiber", {
|
|
213
221
|
enumerable: true,
|
|
214
|
-
get: function () { return
|
|
222
|
+
get: function () { return chunkIDXORTRQ_cjs.shouldFilterFiber; }
|
|
215
223
|
});
|
|
216
224
|
Object.defineProperty(exports, "traverseContexts", {
|
|
217
225
|
enumerable: true,
|
|
218
|
-
get: function () { return
|
|
226
|
+
get: function () { return chunkIDXORTRQ_cjs.traverseContexts; }
|
|
219
227
|
});
|
|
220
228
|
Object.defineProperty(exports, "traverseEffects", {
|
|
221
229
|
enumerable: true,
|
|
222
|
-
get: function () { return
|
|
230
|
+
get: function () { return chunkIDXORTRQ_cjs.traverseEffects; }
|
|
223
231
|
});
|
|
224
232
|
Object.defineProperty(exports, "traverseFiber", {
|
|
225
233
|
enumerable: true,
|
|
226
|
-
get: function () { return
|
|
234
|
+
get: function () { return chunkIDXORTRQ_cjs.traverseFiber; }
|
|
227
235
|
});
|
|
228
236
|
Object.defineProperty(exports, "traverseProps", {
|
|
229
237
|
enumerable: true,
|
|
230
|
-
get: function () { return
|
|
238
|
+
get: function () { return chunkIDXORTRQ_cjs.traverseProps; }
|
|
231
239
|
});
|
|
232
240
|
Object.defineProperty(exports, "traverseRenderedFibers", {
|
|
233
241
|
enumerable: true,
|
|
234
|
-
get: function () { return
|
|
242
|
+
get: function () { return chunkIDXORTRQ_cjs.traverseRenderedFibers; }
|
|
235
243
|
});
|
|
236
244
|
Object.defineProperty(exports, "traverseState", {
|
|
237
245
|
enumerable: true,
|
|
238
|
-
get: function () { return
|
|
246
|
+
get: function () { return chunkIDXORTRQ_cjs.traverseState; }
|
|
239
247
|
});
|
|
240
248
|
Object.defineProperty(exports, "unmountFiber", {
|
|
241
249
|
enumerable: true,
|
|
242
|
-
get: function () { return
|
|
250
|
+
get: function () { return chunkIDXORTRQ_cjs.unmountFiber; }
|
|
243
251
|
});
|
|
244
252
|
Object.defineProperty(exports, "unmountFiberChildrenRecursively", {
|
|
245
253
|
enumerable: true,
|
|
246
|
-
get: function () { return
|
|
254
|
+
get: function () { return chunkIDXORTRQ_cjs.unmountFiberChildrenRecursively; }
|
|
247
255
|
});
|
|
248
256
|
Object.defineProperty(exports, "updateFiberRecursively", {
|
|
249
257
|
enumerable: true,
|
|
250
|
-
get: function () { return
|
|
258
|
+
get: function () { return chunkIDXORTRQ_cjs.updateFiberRecursively; }
|
|
251
259
|
});
|
|
252
260
|
Object.defineProperty(exports, "version", {
|
|
253
261
|
enumerable: true,
|
|
254
|
-
get: function () { return
|
|
262
|
+
get: function () { return chunkIDXORTRQ_cjs.version; }
|
|
255
263
|
});
|
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { R as ReactDevToolsGlobalHook } from './core-
|
|
2
|
-
export { i as CONCURRENT_MODE_NUMBER, j as CONCURRENT_MODE_SYMBOL_STRING, C as ClassComponentTag, d as ContextConsumerTag,
|
|
1
|
+
import { R as ReactDevToolsGlobalHook } from './core-BJrLSucf.cjs';
|
|
2
|
+
export { i as CONCURRENT_MODE_NUMBER, j as CONCURRENT_MODE_SYMBOL_STRING, C as ClassComponentTag, d as ContextConsumerTag, aa as ContextDependency, k as DEPRECATED_ASYNC_MODE_SYMBOL_STRING, D as DehydratedSuspenseComponentTag, ab as Dependencies, E as ELEMENT_TYPE_SYMBOL_STRING, ac as Effect, a8 as Fiber, 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, ad as MemoizedState, O as OffscreenComponentTag, ae as Props, a9 as ReactRenderer, 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';
|
|
3
3
|
export { BundleType, ComponentSelector, DevToolsConfig, FiberRoot, Flags, HasPseudoClassSelector, HookType, HostConfig, LanePriority, Lanes, MutableSource, OpaqueHandle, OpaqueRoot, React$AbstractComponent, ReactConsumer, ReactContext, ReactPortal, ReactProvider, ReactProviderType, RefObject, RoleSelector, RootTag, Selector, Source, SuspenseHydrationCallbacks, TestNameSelector, TextSelector, Thenable, TransitionTracingCallbacks, TypeOfMode, WorkTag } from 'react-reconciler';
|
|
4
4
|
import 'react';
|
|
5
5
|
|
|
@@ -11,5 +11,6 @@ declare const hasRDTHook: () => boolean;
|
|
|
11
11
|
* Returns the current React DevTools global hook.
|
|
12
12
|
*/
|
|
13
13
|
declare const getRDTHook: (onActive?: () => unknown) => ReactDevToolsGlobalHook;
|
|
14
|
+
declare const 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{}})();";
|
|
14
15
|
|
|
15
|
-
export { BIPPY_INSTRUMENTATION_STRING, ReactDevToolsGlobalHook, getRDTHook, hasRDTHook, installRDTHook, version };
|
|
16
|
+
export { BIPPY_INSTRUMENTATION_STRING, INSTALL_HOOK_SCRIPT_STRING, ReactDevToolsGlobalHook, getRDTHook, hasRDTHook, installRDTHook, version };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { R as ReactDevToolsGlobalHook } from './core-
|
|
2
|
-
export { i as CONCURRENT_MODE_NUMBER, j as CONCURRENT_MODE_SYMBOL_STRING, C as ClassComponentTag, d as ContextConsumerTag,
|
|
1
|
+
import { R as ReactDevToolsGlobalHook } from './core-BJrLSucf.js';
|
|
2
|
+
export { i as CONCURRENT_MODE_NUMBER, j as CONCURRENT_MODE_SYMBOL_STRING, C as ClassComponentTag, d as ContextConsumerTag, aa as ContextDependency, k as DEPRECATED_ASYNC_MODE_SYMBOL_STRING, D as DehydratedSuspenseComponentTag, ab as Dependencies, E as ELEMENT_TYPE_SYMBOL_STRING, ac as Effect, a8 as Fiber, 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, ad as MemoizedState, O as OffscreenComponentTag, ae as Props, a9 as ReactRenderer, 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';
|
|
3
3
|
export { BundleType, ComponentSelector, DevToolsConfig, FiberRoot, Flags, HasPseudoClassSelector, HookType, HostConfig, LanePriority, Lanes, MutableSource, OpaqueHandle, OpaqueRoot, React$AbstractComponent, ReactConsumer, ReactContext, ReactPortal, ReactProvider, ReactProviderType, RefObject, RoleSelector, RootTag, Selector, Source, SuspenseHydrationCallbacks, TestNameSelector, TextSelector, Thenable, TransitionTracingCallbacks, TypeOfMode, WorkTag } from 'react-reconciler';
|
|
4
4
|
import 'react';
|
|
5
5
|
|
|
@@ -11,5 +11,6 @@ declare const hasRDTHook: () => boolean;
|
|
|
11
11
|
* Returns the current React DevTools global hook.
|
|
12
12
|
*/
|
|
13
13
|
declare const getRDTHook: (onActive?: () => unknown) => ReactDevToolsGlobalHook;
|
|
14
|
+
declare const 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{}})();";
|
|
14
15
|
|
|
15
|
-
export { BIPPY_INSTRUMENTATION_STRING, ReactDevToolsGlobalHook, getRDTHook, hasRDTHook, installRDTHook, version };
|
|
16
|
+
export { BIPPY_INSTRUMENTATION_STRING, INSTALL_HOOK_SCRIPT_STRING, ReactDevToolsGlobalHook, getRDTHook, hasRDTHook, installRDTHook, version };
|
package/dist/index.global.js
CHANGED
|
@@ -6,4 +6,4 @@ var Bippy=function(e){"use strict";
|
|
|
6
6
|
*
|
|
7
7
|
* This source code is licensed under the MIT license found in the
|
|
8
8
|
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var t="0.2.
|
|
9
|
+
*/var t="0.2.4",n=`bippy-${t}`,o=()=>{},r=e=>{try{Function.prototype.toString.call(e).indexOf("^_^")>-1&&setTimeout((()=>{throw new Error("React is running in production mode, but dead code elimination has not been applied. Read how to correctly configure React for production: https://reactjs.org/link/perf-use-production-build")}))}catch{}},i=e=>{const t=new Map;let i=0;const s={checkDCE:r,supportsFiber:!0,supportsFlight:!0,hasUnsupportedRendererAttached:!1,renderers:t,onCommitFiberRoot:o,onCommitFiberUnmount:o,onPostCommitFiberRoot:o,inject(n){const o=++i;return t.set(o,n),s._instrumentationIsActive||(s._instrumentationIsActive=!0,e?.()),o},_instrumentationSource:n,_instrumentationIsActive:!1};try{Object.defineProperty(globalThis,"__REACT_DEVTOOLS_GLOBAL_HOOK__",{value:s})}catch{}return s},s=()=>Object.prototype.hasOwnProperty.call(globalThis,"__REACT_DEVTOOLS_GLOBAL_HOOK__"),l=e=>{let t=globalThis.__REACT_DEVTOOLS_GLOBAL_HOOK__;return t&&e?.(),s()||(t=i(e)),t};try{"undefined"==typeof window||!window.document?.createElement&&"ReactNative"!==window.navigator?.product||"undefined"==typeof process||null==process.versions||null==process.versions.node||i()}catch{}var a="Symbol(react.element)",c="Symbol(react.transitional.element)",u="Symbol(react.concurrent_mode)",m="Symbol(react.async_mode)",d=e=>{switch(e.tag){case 5:case 26:case 27:return!0;default:return"string"==typeof e.type}},p=e=>{const t=e.memoizedProps,n=e.alternate?.memoizedProps||{},o=e.flags??e.effectTag??0;switch(e.tag){case 1:case 0:case 9:case 11:case 14:case 15:return!(1&~o);default:return!e.alternate||(n!==t||e.alternate.memoizedState!==e.memoizedState||e.alternate.ref!==e.ref)}},f=e=>Boolean(!!(13374&e.flags)||!!(13374&e.subtreeFlags)),b=e=>{switch(e.tag){case 18:case 6:case 7:case 23:case 22:return!0;case 3:return!1;default:{const t="object"==typeof e.type&&null!==e.type?e.type.$$typeof:e.type;switch("symbol"==typeof t?t.toString():t){case 60111:case u:case m:return!0;default:return!1}}}},h=(e,t,n=!1)=>{if(!e)return null;if(!0===t(e))return e;let o=n?e.return:e.child;for(;o;){const e=h(o,t,n);if(e)return e;o=n?null:o.sibling}return null},g=e=>{const t=e;return"function"==typeof t?t:"object"==typeof t&&t?g(t.type||t.render):null},_=(e=l())=>"getFiberRoots"in e,y=(e=l())=>!("checkDCE"in e),C=e=>{try{if("string"==typeof e.version&&e.bundleType>0)return"development"}catch{}return"production"},R=0,F=new WeakMap,T=(e,t=R++)=>{F.set(e,t)},S=e=>{let t=F.get(e);return!t&&e.alternate&&(t=F.get(e.alternate)),t||(t=R++,T(e,t)),t},v=(e,t,n)=>{let o=t;for(;null!=o;){F.has(o)||S(o);if(!b(o)&&p(o)&&e(o,"mount"),13===o.tag){if(null!==o.memoizedState){const t=o.child,n=t?t.sibling:null;if(n){const t=n.child;null!==t&&v(e,t,!1)}}else{let t=null;null!==o.child&&(t=o.child.child),null!==t&&v(e,t,!1)}}else null!=o.child&&v(e,o.child,!0);o=n?o.sibling:null}},O=(e,t,n,o)=>{if(F.has(t)||S(t),!n)return;F.has(n)||S(n);const r=13===t.tag;!b(t)&&p(t)&&e(t,"update");const i=r&&null!==n.memoizedState,s=r&&null!==t.memoizedState;if(i&&s){const o=t.child?.sibling??null,r=n.child?.sibling??null;null!==o&&null!==r&&O(e,o,r)}else if(i&&!s){const n=t.child;null!==n&&v(e,n,!0)}else if(!i&&s){A(e,n);const o=t.child?.sibling??null;null!==o&&v(e,o,!0)}else if(t.child!==n.child){let n=t.child;for(;n;){if(n.alternate){const t=n.alternate;O(e,n,t)}else v(e,n,!1);n=n.sibling}}},E=(e,t)=>{!(3===t.tag)&&b(t)||e(t,"unmount")},A=(e,t)=>{const n=13===t.tag&&null!==t.memoizedState;let o=t.child;if(n){const e=t.child,n=e?.sibling??null;o=n?.child??null}for(;null!==o;)null!==o.return&&(E(e,o),A(e,o)),o=o.sibling},I=0,N=new WeakMap,L=(e,t)=>{const n="current"in e?e.current:e;let o=N.get(e);o||(o={prevFiber:null,id:I++},N.set(e,o));const{prevFiber:r}=o;if(n)if(null!==r){const e=r&&null!=r.memoizedState&&null!=r.memoizedState.element&&!0!==r.memoizedState.isDehydrated,o=null!=n.memoizedState&&null!=n.memoizedState.element&&!0!==n.memoizedState.isDehydrated;!e&&o?v(t,n,!1):e&&o?O(t,n,n.alternate):e&&!o&&E(t,n)}else v(t,n,!0);else E(t,n);o.prevFiber=n},D=e=>l((()=>{const t=l();e.onActive?.(),t._instrumentationSource=e.name??n;const o=t.onCommitFiberRoot;e.onCommitFiberRoot&&(t.onCommitFiberRoot=(t,n,r)=>{o&&o(t,n,r),e.onCommitFiberRoot?.(t,n,r)});const r=t.onCommitFiberUnmount;e.onCommitFiberUnmount&&(t.onCommitFiberUnmount=(t,n)=>{r&&r(t,n),e.onCommitFiberUnmount?.(t,n)});const i=t.onPostCommitFiberRoot;e.onPostCommitFiberRoot&&(t.onPostCommitFiberRoot=(t,n)=>{i&&i(t,n),e.onPostCommitFiberRoot?.(t,n)})})),P=(e,t={})=>{const n=e.onActive,o=s(),r=_(),i=y();let a,c=!1;return e.onActive=()=>{clearTimeout(a);let o=!0;try{n?.();const e=l();for(const n of e.renderers.values()){const[e]=n.version.split(".");Number(e)<(t.minReactMajorVersion??17)&&(o=!1);"development"!==C(n)&&(c=!0,t.dangerouslyRunInProduction||(o=!1))}}catch(e){t.onError?.(e)}if(!o)return e.onCommitFiberRoot=void 0,e.onCommitFiberUnmount=void 0,e.onPostCommitFiberRoot=void 0,void(e.onActive=void 0);try{const n=e.onCommitFiberRoot;n&&(e.onCommitFiberRoot=(e,o,r)=>{try{n(e,o,r)}catch(e){t.onError?.(e)}});const o=e.onCommitFiberUnmount;o&&(e.onCommitFiberUnmount=(e,n)=>{try{o(e,n)}catch(e){t.onError?.(e)}});const r=e.onPostCommitFiberRoot;r&&(e.onPostCommitFiberRoot=(e,n)=>{try{r(e,n)}catch(e){t.onError?.(e)}})}catch(e){t.onError?.(e)}},o||r||i||(a=setTimeout((()=>{c||t.onError?.(),stop()}),t.installCheckTimeout??100)),e};return e.BIPPY_INSTRUMENTATION_STRING=n,e.CONCURRENT_MODE_NUMBER=60111,e.CONCURRENT_MODE_SYMBOL_STRING=u,e.ClassComponentTag=1,e.ContextConsumerTag=9,e.DEPRECATED_ASYNC_MODE_SYMBOL_STRING=m,e.DehydratedSuspenseComponentTag=18,e.ELEMENT_TYPE_SYMBOL_STRING=a,e.ForwardRefTag=11,e.FragmentTag=7,e.FunctionComponentTag=0,e.HostComponentTag=5,e.HostHoistableTag=26,e.HostRootTag=3,e.HostSingletonTag=27,e.HostTextTag=6,e.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{}})();",e.LegacyHiddenComponentTag=23,e.MemoComponentTag=14,e.OffscreenComponentTag=22,e.SimpleMemoComponentTag=15,e.SuspenseComponentTag=13,e.TRANSITIONAL_ELEMENT_TYPE_SYMBOL_STRING=c,e.createFiberVisitor=({onRender:e})=>(t,n,o)=>{L(n,e)},e.detectReactBuildType=C,e.didFiberCommit=f,e.didFiberRender=p,e.fiberIdMap=F,e.getDisplayName=e=>{const t=e;if("function"!=typeof t&&("object"!=typeof t||!t))return null;const n=t.displayName||t.name||null;if(n)return n;const o=g(t);return o&&(o.displayName||o.name)||null},e.getFiberFromHostInstance=e=>{const t=l();for(const n of t.renderers.values())try{const t=n.findFiberByHostInstance?.(e);if(t)return t}catch{}if("object"==typeof e&&null!=e){if("_reactRootContainer"in e)return e._reactRootContainer?._internalRoot?.current?.child;for(const t in e)if(t.startsWith("__reactInternalInstance$")||t.startsWith("__reactFiber"))return e[t]}return null},e.getFiberId=S,e.getFiberStack=e=>{const t=[];let n=e;for(;n.return;)t.push(n),n=n.return;const o=new Array(t.length);for(let e=0;e<t.length;e++)o[e]=t[t.length-e-1];return o},e.getMutatedHostFibers=e=>{const t=[],n=[e];for(;n.length;){const e=n.pop();e&&(d(e)&&f(e)&&p(e)&&t.push(e),e.child&&n.push(e.child),e.sibling&&n.push(e.sibling))}return t},e.getNearestHostFiber=(e,t=!1)=>{let n=h(e,d,t);return n||(n=h(e,d,!t)),n},e.getNearestHostFibers=e=>{const t=[],n=[];for(d(e)?t.push(e):e.child&&n.push(e.child);n.length;){const e=n.pop();if(!e)break;d(e)?t.push(e):e.child&&n.push(e.child),e.sibling&&n.push(e.sibling)}return t},e.getRDTHook=l,e.getTimings=e=>{const t=e?.actualDuration??0;let n=t,o=e?.child??null;for(;t>0&&null!=o;)n-=o.actualDuration??0,o=o.sibling;return{selfTime:n,totalTime:t}},e.getType=g,e.hasMemoCache=e=>Boolean(e.updateQueue?.memoCache),e.hasRDTHook=s,e.installRDTHook=i,e.instrument=D,e.isCompositeFiber=e=>{switch(e.tag){case 0:case 1:case 15:case 14:case 11:return!0;default:return!1}},e.isHostFiber=d,e.isInstrumentationActive=()=>{const e=l();return Boolean(e._instrumentationIsActive)||_()||y()},e.isReactRefresh=y,e.isRealReactDevtools=_,e.isValidElement=e=>"object"==typeof e&&null!=e&&"$$typeof"in e&&[a,c].includes(String(e.$$typeof)),e.isValidFiber=e=>"object"==typeof e&&null!=e&&"tag"in e&&"stateNode"in e&&"return"in e&&"child"in e&&"sibling"in e&&"flags"in e,e.mountFiberRecursively=v,e.onCommitFiberRoot=e=>{D(P({onCommitFiberRoot:(t,n)=>{e(n)}}))},e.secure=P,e.setFiberId=T,e.shouldFilterFiber=b,e.traverseContexts=(e,t)=>{try{const n=e.dependencies,o=e.alternate?.dependencies;if(!n||!o)return!1;if("object"!=typeof n||!("firstContext"in n)||"object"!=typeof o||!("firstContext"in o))return!1;let r=n.firstContext,i=o.firstContext;for(;r&&"object"==typeof r&&"memoizedValue"in r||i&&"object"==typeof i&&"memoizedValue"in i;){if(!0===t(r,i))return!0;r=r?.next,i=i?.next}}catch{}return!1},e.traverseEffects=(e,t)=>{try{let n=e.updateQueue?.lastEffect,o=e.alternate?.updateQueue?.lastEffect;for(;n||o;){if(!0===t(n,o))return!0;if(n?.next===n||o?.next===o)break;n=n?.next,o=o?.next}}catch{}return!1},e.traverseFiber=h,e.traverseProps=(e,t)=>{try{const n=e.memoizedProps,o=e.alternate?.memoizedProps||{},r=new Set([...Object.keys(o),...Object.keys(n)]);for(const e of r){const r=o?.[e],i=n?.[e];if(!0===t(e,i,r))return!0}}catch{}return!1},e.traverseRenderedFibers=L,e.traverseState=(e,t)=>{try{let n=e.memoizedState,o=e.alternate?.memoizedState;for(;n||o;){if(!0===t(n,o))return!0;n=n?.next,o=o?.next}}catch{}return!1},e.unmountFiber=E,e.unmountFiberChildrenRecursively=A,e.updateFiberRecursively=O,e.version=t,e}({});
|
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import './chunk-6TJRMCM3.js';
|
|
2
|
-
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,
|
|
2
|
+
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 } from './chunk-MISFWX22.js';
|