foxact 0.3.2 → 0.3.3
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/noop-component/index.cjs +1 -0
- package/noop-component/index.mjs +1 -0
- package/package.json +94 -94
- package/sizes.json +1 -1
package/noop-component/index.cjs
CHANGED
package/noop-component/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "foxact",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.3",
|
|
4
4
|
"description": "React Hooks/Utils done right. For browser, SSR, and React Server Components.",
|
|
5
5
|
"homepage": "https://foxact.skk.moe",
|
|
6
6
|
"repository": {
|
|
@@ -79,15 +79,6 @@
|
|
|
79
79
|
"require": "./create-context-reducer/index.cjs",
|
|
80
80
|
"default": "./create-context-reducer/index.cjs"
|
|
81
81
|
},
|
|
82
|
-
"./create-context-state": {
|
|
83
|
-
"types": "./create-context-state/index.d.ts",
|
|
84
|
-
"import": {
|
|
85
|
-
"types": "./create-context-state/index.d.ts",
|
|
86
|
-
"default": "./create-context-state/index.mjs"
|
|
87
|
-
},
|
|
88
|
-
"require": "./create-context-state/index.cjs",
|
|
89
|
-
"default": "./create-context-state/index.cjs"
|
|
90
|
-
},
|
|
91
82
|
"./context-reducer": {
|
|
92
83
|
"types": "./context-reducer/index.d.ts",
|
|
93
84
|
"import": {
|
|
@@ -97,6 +88,15 @@
|
|
|
97
88
|
"require": "./context-reducer/index.cjs",
|
|
98
89
|
"default": "./context-reducer/index.cjs"
|
|
99
90
|
},
|
|
91
|
+
"./create-context-state": {
|
|
92
|
+
"types": "./create-context-state/index.d.ts",
|
|
93
|
+
"import": {
|
|
94
|
+
"types": "./create-context-state/index.d.ts",
|
|
95
|
+
"default": "./create-context-state/index.mjs"
|
|
96
|
+
},
|
|
97
|
+
"require": "./create-context-state/index.cjs",
|
|
98
|
+
"default": "./create-context-state/index.cjs"
|
|
99
|
+
},
|
|
100
100
|
"./create-fixed-array": {
|
|
101
101
|
"types": "./create-fixed-array/index.d.ts",
|
|
102
102
|
"import": {
|
|
@@ -151,15 +151,6 @@
|
|
|
151
151
|
"require": "./create-storage-state-factory/index.cjs",
|
|
152
152
|
"default": "./create-storage-state-factory/index.cjs"
|
|
153
153
|
},
|
|
154
|
-
"./create-session-storage-state": {
|
|
155
|
-
"types": "./create-session-storage-state/index.d.ts",
|
|
156
|
-
"import": {
|
|
157
|
-
"types": "./create-session-storage-state/index.d.ts",
|
|
158
|
-
"default": "./create-session-storage-state/index.mjs"
|
|
159
|
-
},
|
|
160
|
-
"require": "./create-session-storage-state/index.cjs",
|
|
161
|
-
"default": "./create-session-storage-state/index.cjs"
|
|
162
|
-
},
|
|
163
154
|
"./current-year": {
|
|
164
155
|
"types": "./current-year/index.d.ts",
|
|
165
156
|
"import": {
|
|
@@ -169,15 +160,6 @@
|
|
|
169
160
|
"require": "./current-year/index.cjs",
|
|
170
161
|
"default": "./current-year/index.cjs"
|
|
171
162
|
},
|
|
172
|
-
"./fetch-jsonp": {
|
|
173
|
-
"types": "./fetch-jsonp/index.d.ts",
|
|
174
|
-
"import": {
|
|
175
|
-
"types": "./fetch-jsonp/index.d.ts",
|
|
176
|
-
"default": "./fetch-jsonp/index.mjs"
|
|
177
|
-
},
|
|
178
|
-
"require": "./fetch-jsonp/index.cjs",
|
|
179
|
-
"default": "./fetch-jsonp/index.cjs"
|
|
180
|
-
},
|
|
181
163
|
"./email-protection": {
|
|
182
164
|
"types": "./email-protection/index.d.ts",
|
|
183
165
|
"import": {
|
|
@@ -187,14 +169,14 @@
|
|
|
187
169
|
"require": "./email-protection/index.cjs",
|
|
188
170
|
"default": "./email-protection/index.cjs"
|
|
189
171
|
},
|
|
190
|
-
"./
|
|
191
|
-
"types": "./
|
|
172
|
+
"./fetch-jsonp": {
|
|
173
|
+
"types": "./fetch-jsonp/index.d.ts",
|
|
192
174
|
"import": {
|
|
193
|
-
"types": "./
|
|
194
|
-
"default": "./
|
|
175
|
+
"types": "./fetch-jsonp/index.d.ts",
|
|
176
|
+
"default": "./fetch-jsonp/index.mjs"
|
|
195
177
|
},
|
|
196
|
-
"require": "./
|
|
197
|
-
"default": "./
|
|
178
|
+
"require": "./fetch-jsonp/index.cjs",
|
|
179
|
+
"default": "./fetch-jsonp/index.cjs"
|
|
198
180
|
},
|
|
199
181
|
"./invariant": {
|
|
200
182
|
"types": "./invariant/index.d.ts",
|
|
@@ -205,6 +187,15 @@
|
|
|
205
187
|
"require": "./invariant/index.cjs",
|
|
206
188
|
"default": "./invariant/index.cjs"
|
|
207
189
|
},
|
|
190
|
+
"./is-safari": {
|
|
191
|
+
"types": "./is-safari/index.d.ts",
|
|
192
|
+
"import": {
|
|
193
|
+
"types": "./is-safari/index.d.ts",
|
|
194
|
+
"default": "./is-safari/index.mjs"
|
|
195
|
+
},
|
|
196
|
+
"require": "./is-safari/index.cjs",
|
|
197
|
+
"default": "./is-safari/index.cjs"
|
|
198
|
+
},
|
|
208
199
|
"./merge-refs": {
|
|
209
200
|
"types": "./merge-refs/index.d.ts",
|
|
210
201
|
"import": {
|
|
@@ -232,6 +223,15 @@
|
|
|
232
223
|
"require": "./no-ssr/index.cjs",
|
|
233
224
|
"default": "./no-ssr/index.cjs"
|
|
234
225
|
},
|
|
226
|
+
"./create-session-storage-state": {
|
|
227
|
+
"types": "./create-session-storage-state/index.d.ts",
|
|
228
|
+
"import": {
|
|
229
|
+
"types": "./create-session-storage-state/index.d.ts",
|
|
230
|
+
"default": "./create-session-storage-state/index.mjs"
|
|
231
|
+
},
|
|
232
|
+
"require": "./create-session-storage-state/index.cjs",
|
|
233
|
+
"default": "./create-session-storage-state/index.cjs"
|
|
234
|
+
},
|
|
235
235
|
"./noop": {
|
|
236
236
|
"types": "./noop/index.d.ts",
|
|
237
237
|
"import": {
|
|
@@ -259,15 +259,6 @@
|
|
|
259
259
|
"require": "./nullthrow/index.cjs",
|
|
260
260
|
"default": "./nullthrow/index.cjs"
|
|
261
261
|
},
|
|
262
|
-
"./open-new-tab": {
|
|
263
|
-
"types": "./open-new-tab/index.d.ts",
|
|
264
|
-
"import": {
|
|
265
|
-
"types": "./open-new-tab/index.d.ts",
|
|
266
|
-
"default": "./open-new-tab/index.mjs"
|
|
267
|
-
},
|
|
268
|
-
"require": "./open-new-tab/index.cjs",
|
|
269
|
-
"default": "./open-new-tab/index.cjs"
|
|
270
|
-
},
|
|
271
262
|
"./rem": {
|
|
272
263
|
"types": "./rem/index.d.ts",
|
|
273
264
|
"import": {
|
|
@@ -277,6 +268,15 @@
|
|
|
277
268
|
"require": "./rem/index.cjs",
|
|
278
269
|
"default": "./rem/index.cjs"
|
|
279
270
|
},
|
|
271
|
+
"./open-new-tab": {
|
|
272
|
+
"types": "./open-new-tab/index.d.ts",
|
|
273
|
+
"import": {
|
|
274
|
+
"types": "./open-new-tab/index.d.ts",
|
|
275
|
+
"default": "./open-new-tab/index.mjs"
|
|
276
|
+
},
|
|
277
|
+
"require": "./open-new-tab/index.cjs",
|
|
278
|
+
"default": "./open-new-tab/index.cjs"
|
|
279
|
+
},
|
|
280
280
|
"./request-idle-callback": {
|
|
281
281
|
"types": "./request-idle-callback/index.d.ts",
|
|
282
282
|
"import": {
|
|
@@ -286,15 +286,6 @@
|
|
|
286
286
|
"require": "./request-idle-callback/index.cjs",
|
|
287
287
|
"default": "./request-idle-callback/index.cjs"
|
|
288
288
|
},
|
|
289
|
-
"./typescript-happy-forward-ref": {
|
|
290
|
-
"types": "./typescript-happy-forward-ref/index.d.ts",
|
|
291
|
-
"import": {
|
|
292
|
-
"types": "./typescript-happy-forward-ref/index.d.ts",
|
|
293
|
-
"default": "./typescript-happy-forward-ref/index.mjs"
|
|
294
|
-
},
|
|
295
|
-
"require": "./typescript-happy-forward-ref/index.cjs",
|
|
296
|
-
"default": "./typescript-happy-forward-ref/index.cjs"
|
|
297
|
-
},
|
|
298
289
|
"./types": {
|
|
299
290
|
"types": "./types/index.d.ts",
|
|
300
291
|
"import": {
|
|
@@ -304,6 +295,15 @@
|
|
|
304
295
|
"require": "./types/index.cjs",
|
|
305
296
|
"default": "./types/index.cjs"
|
|
306
297
|
},
|
|
298
|
+
"./typescript-happy-forward-ref": {
|
|
299
|
+
"types": "./typescript-happy-forward-ref/index.d.ts",
|
|
300
|
+
"import": {
|
|
301
|
+
"types": "./typescript-happy-forward-ref/index.d.ts",
|
|
302
|
+
"default": "./typescript-happy-forward-ref/index.mjs"
|
|
303
|
+
},
|
|
304
|
+
"require": "./typescript-happy-forward-ref/index.cjs",
|
|
305
|
+
"default": "./typescript-happy-forward-ref/index.cjs"
|
|
306
|
+
},
|
|
307
307
|
"./use": {
|
|
308
308
|
"types": "./use/index.d.ts",
|
|
309
309
|
"import": {
|
|
@@ -349,15 +349,6 @@
|
|
|
349
349
|
"require": "./use-component-will-receive-update/index.cjs",
|
|
350
350
|
"default": "./use-component-will-receive-update/index.cjs"
|
|
351
351
|
},
|
|
352
|
-
"./use-debounced-state": {
|
|
353
|
-
"types": "./use-debounced-state/index.d.ts",
|
|
354
|
-
"import": {
|
|
355
|
-
"types": "./use-debounced-state/index.d.ts",
|
|
356
|
-
"default": "./use-debounced-state/index.mjs"
|
|
357
|
-
},
|
|
358
|
-
"require": "./use-debounced-state/index.cjs",
|
|
359
|
-
"default": "./use-debounced-state/index.cjs"
|
|
360
|
-
},
|
|
361
352
|
"./use-composition-input": {
|
|
362
353
|
"types": "./use-composition-input/index.d.ts",
|
|
363
354
|
"import": {
|
|
@@ -367,6 +358,15 @@
|
|
|
367
358
|
"require": "./use-composition-input/index.cjs",
|
|
368
359
|
"default": "./use-composition-input/index.cjs"
|
|
369
360
|
},
|
|
361
|
+
"./use-debounced-state": {
|
|
362
|
+
"types": "./use-debounced-state/index.d.ts",
|
|
363
|
+
"import": {
|
|
364
|
+
"types": "./use-debounced-state/index.d.ts",
|
|
365
|
+
"default": "./use-debounced-state/index.mjs"
|
|
366
|
+
},
|
|
367
|
+
"require": "./use-debounced-state/index.cjs",
|
|
368
|
+
"default": "./use-debounced-state/index.cjs"
|
|
369
|
+
},
|
|
370
370
|
"./use-debounced-value": {
|
|
371
371
|
"types": "./use-debounced-value/index.d.ts",
|
|
372
372
|
"import": {
|
|
@@ -376,6 +376,15 @@
|
|
|
376
376
|
"require": "./use-debounced-value/index.cjs",
|
|
377
377
|
"default": "./use-debounced-value/index.cjs"
|
|
378
378
|
},
|
|
379
|
+
"./use-intersection": {
|
|
380
|
+
"types": "./use-intersection/index.d.ts",
|
|
381
|
+
"import": {
|
|
382
|
+
"types": "./use-intersection/index.d.ts",
|
|
383
|
+
"default": "./use-intersection/index.mjs"
|
|
384
|
+
},
|
|
385
|
+
"require": "./use-intersection/index.cjs",
|
|
386
|
+
"default": "./use-intersection/index.cjs"
|
|
387
|
+
},
|
|
379
388
|
"./use-error-boundary": {
|
|
380
389
|
"types": "./use-error-boundary/index.d.ts",
|
|
381
390
|
"import": {
|
|
@@ -394,15 +403,6 @@
|
|
|
394
403
|
"require": "./use-fast-click/index.cjs",
|
|
395
404
|
"default": "./use-fast-click/index.cjs"
|
|
396
405
|
},
|
|
397
|
-
"./use-intersection": {
|
|
398
|
-
"types": "./use-intersection/index.d.ts",
|
|
399
|
-
"import": {
|
|
400
|
-
"types": "./use-intersection/index.d.ts",
|
|
401
|
-
"default": "./use-intersection/index.mjs"
|
|
402
|
-
},
|
|
403
|
-
"require": "./use-intersection/index.cjs",
|
|
404
|
-
"default": "./use-intersection/index.cjs"
|
|
405
|
-
},
|
|
406
406
|
"./use-is-client": {
|
|
407
407
|
"types": "./use-is-client/index.d.ts",
|
|
408
408
|
"import": {
|
|
@@ -448,15 +448,6 @@
|
|
|
448
448
|
"require": "./use-map/index.cjs",
|
|
449
449
|
"default": "./use-map/index.cjs"
|
|
450
450
|
},
|
|
451
|
-
"./use-page-visibility": {
|
|
452
|
-
"types": "./use-page-visibility/index.d.ts",
|
|
453
|
-
"import": {
|
|
454
|
-
"types": "./use-page-visibility/index.d.ts",
|
|
455
|
-
"default": "./use-page-visibility/index.mjs"
|
|
456
|
-
},
|
|
457
|
-
"require": "./use-page-visibility/index.cjs",
|
|
458
|
-
"default": "./use-page-visibility/index.cjs"
|
|
459
|
-
},
|
|
460
451
|
"./use-media-query": {
|
|
461
452
|
"types": "./use-media-query/index.d.ts",
|
|
462
453
|
"import": {
|
|
@@ -466,6 +457,15 @@
|
|
|
466
457
|
"require": "./use-media-query/index.cjs",
|
|
467
458
|
"default": "./use-media-query/index.cjs"
|
|
468
459
|
},
|
|
460
|
+
"./use-page-visibility": {
|
|
461
|
+
"types": "./use-page-visibility/index.d.ts",
|
|
462
|
+
"import": {
|
|
463
|
+
"types": "./use-page-visibility/index.d.ts",
|
|
464
|
+
"default": "./use-page-visibility/index.mjs"
|
|
465
|
+
},
|
|
466
|
+
"require": "./use-page-visibility/index.cjs",
|
|
467
|
+
"default": "./use-page-visibility/index.cjs"
|
|
468
|
+
},
|
|
469
469
|
"./use-readonly-search-params": {
|
|
470
470
|
"types": "./use-readonly-search-params/index.d.ts",
|
|
471
471
|
"import": {
|
|
@@ -511,15 +511,6 @@
|
|
|
511
511
|
"require": "./use-singleton/index.cjs",
|
|
512
512
|
"default": "./use-singleton/index.cjs"
|
|
513
513
|
},
|
|
514
|
-
"./use-stable-handler-only-when-you-know-what-you-are-doing-or-you-will-be-fired": {
|
|
515
|
-
"types": "./use-stable-handler-only-when-you-know-what-you-are-doing-or-you-will-be-fired/index.d.ts",
|
|
516
|
-
"import": {
|
|
517
|
-
"types": "./use-stable-handler-only-when-you-know-what-you-are-doing-or-you-will-be-fired/index.d.ts",
|
|
518
|
-
"default": "./use-stable-handler-only-when-you-know-what-you-are-doing-or-you-will-be-fired/index.mjs"
|
|
519
|
-
},
|
|
520
|
-
"require": "./use-stable-handler-only-when-you-know-what-you-are-doing-or-you-will-be-fired/index.cjs",
|
|
521
|
-
"default": "./use-stable-handler-only-when-you-know-what-you-are-doing-or-you-will-be-fired/index.cjs"
|
|
522
|
-
},
|
|
523
514
|
"./use-state-with-deps": {
|
|
524
515
|
"types": "./use-state-with-deps/index.d.ts",
|
|
525
516
|
"import": {
|
|
@@ -529,14 +520,14 @@
|
|
|
529
520
|
"require": "./use-state-with-deps/index.cjs",
|
|
530
521
|
"default": "./use-state-with-deps/index.cjs"
|
|
531
522
|
},
|
|
532
|
-
"./use-
|
|
533
|
-
"types": "./use-
|
|
523
|
+
"./use-stable-handler-only-when-you-know-what-you-are-doing-or-you-will-be-fired": {
|
|
524
|
+
"types": "./use-stable-handler-only-when-you-know-what-you-are-doing-or-you-will-be-fired/index.d.ts",
|
|
534
525
|
"import": {
|
|
535
|
-
"types": "./use-
|
|
536
|
-
"default": "./use-
|
|
526
|
+
"types": "./use-stable-handler-only-when-you-know-what-you-are-doing-or-you-will-be-fired/index.d.ts",
|
|
527
|
+
"default": "./use-stable-handler-only-when-you-know-what-you-are-doing-or-you-will-be-fired/index.mjs"
|
|
537
528
|
},
|
|
538
|
-
"require": "./use-
|
|
539
|
-
"default": "./use-
|
|
529
|
+
"require": "./use-stable-handler-only-when-you-know-what-you-are-doing-or-you-will-be-fired/index.cjs",
|
|
530
|
+
"default": "./use-stable-handler-only-when-you-know-what-you-are-doing-or-you-will-be-fired/index.cjs"
|
|
540
531
|
},
|
|
541
532
|
"./use-typescript-happy-callback": {
|
|
542
533
|
"types": "./use-typescript-happy-callback/index.d.ts",
|
|
@@ -547,6 +538,15 @@
|
|
|
547
538
|
"require": "./use-typescript-happy-callback/index.cjs",
|
|
548
539
|
"default": "./use-typescript-happy-callback/index.cjs"
|
|
549
540
|
},
|
|
541
|
+
"./use-uncontrolled": {
|
|
542
|
+
"types": "./use-uncontrolled/index.d.ts",
|
|
543
|
+
"import": {
|
|
544
|
+
"types": "./use-uncontrolled/index.d.ts",
|
|
545
|
+
"default": "./use-uncontrolled/index.mjs"
|
|
546
|
+
},
|
|
547
|
+
"require": "./use-uncontrolled/index.cjs",
|
|
548
|
+
"default": "./use-uncontrolled/index.cjs"
|
|
549
|
+
},
|
|
550
550
|
"./use-url-hash-state": {
|
|
551
551
|
"types": "./use-url-hash-state/index.d.ts",
|
|
552
552
|
"import": {
|
package/sizes.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"total":{"raw":
|
|
1
|
+
{"total":{"raw":25768,"gzip":15616,"br":0},"exports":{"compose-context-provider":{"raw":177,"gzip":155,"br":122},"create-context-reducer":{"raw":223,"gzip":146,"br":117},"context-state":{"raw":402,"gzip":259,"br":218},"context-reducer":{"raw":557,"gzip":332,"br":319},"create-context-state":{"raw":145,"gzip":116,"br":96},"create-magic-portal":{"raw":268,"gzip":148,"br":121},"create-fixed-array":{"raw":452,"gzip":282,"br":248},"create-local-storage-state":{"raw":446,"gzip":222,"br":209},"create-stackless-error":{"raw":278,"gzip":198,"br":162},"current-year":{"raw":524,"gzip":355,"br":293},"create-storage-state-factory":{"raw":620,"gzip":341,"br":290},"email-protection":{"raw":426,"gzip":321,"br":272},"is-safari":{"raw":233,"gzip":164,"br":119},"invariant":{"raw":178,"gzip":156,"br":118},"fetch-jsonp":{"raw":890,"gzip":546,"br":429},"no-ssr":{"raw":338,"gzip":267,"br":219},"merge-refs":{"raw":525,"gzip":280,"br":235},"noop-component":{"raw":142,"gzip":130,"br":111},"create-storage-hook":{"raw":2462,"gzip":972,"br":852},"create-session-storage-state":{"raw":450,"gzip":223,"br":206},"noop":{"raw":33,"gzip":53,"br":37},"magic-portal":{"raw":1083,"gzip":536,"br":472},"nullthrow":{"raw":187,"gzip":163,"br":121},"types":{"raw":0,"gzip":20,"br":1},"open-new-tab":{"raw":335,"gzip":255,"br":187},"typescript-happy-forward-ref":{"raw":119,"gzip":103,"br":80},"request-idle-callback":{"raw":392,"gzip":221,"br":171},"use-abortable-effect":{"raw":215,"gzip":170,"br":144},"rem":{"raw":823,"gzip":395,"br":350},"use":{"raw":298,"gzip":197,"br":160},"use-array":{"raw":322,"gzip":236,"br":202},"use-component-will-receive-update":{"raw":216,"gzip":188,"br":154},"use-debounced-state":{"raw":401,"gzip":280,"br":242},"use-composition-input":{"raw":470,"gzip":286,"br":241},"use-debounced-value":{"raw":524,"gzip":342,"br":286},"use-clipboard":{"raw":1177,"gzip":650,"br":552},"use-error-boundary":{"raw":252,"gzip":195,"br":165},"use-is-client":{"raw":204,"gzip":153,"br":121},"use-fast-click":{"raw":622,"gzip":392,"br":317},"use-intersection":{"raw":1230,"gzip":649,"br":597},"use-isomorphic-layout-effect":{"raw":169,"gzip":137,"br":110},"use-is-online":{"raw":370,"gzip":258,"br":220},"use-local-storage":{"raw":428,"gzip":226,"br":198},"use-map":{"raw":339,"gzip":243,"br":208},"use-page-visibility":{"raw":359,"gzip":263,"br":210},"use-retimer":{"raw":199,"gzip":166,"br":127},"use-media-query":{"raw":648,"gzip":397,"br":332},"use-set":{"raw":340,"gzip":238,"br":203},"use-singleton":{"raw":149,"gzip":135,"br":116},"use-session-storage":{"raw":434,"gzip":225,"br":210},"use-readonly-search-params":{"raw":1164,"gzip":589,"br":496},"use-typescript-happy-callback":{"raw":107,"gzip":102,"br":77},"use-state-with-deps":{"raw":464,"gzip":321,"br":295},"use-uncontrolled":{"raw":388,"gzip":273,"br":230},"use-stable-handler-only-when-you-know-what-you-are-doing-or-you-will-be-fired":{"raw":450,"gzip":318,"br":249},"use-url-hash-state":{"raw":1121,"gzip":628,"br":556}}}
|