foxact 0.2.41 → 0.2.42
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/fetch-jsonp/index.cjs +1 -0
- package/fetch-jsonp/index.d.ts +9 -0
- package/fetch-jsonp/index.js +1 -0
- package/fetch-jsonp/index.mjs +1 -0
- package/package.json +112 -103
- package/sizes.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e="__foxact_jsonp_callbacks__SECRET_INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED";exports.fetchJsonp=function(o){if("undefined"==typeof window)throw TypeError("fetchJsonp is only available in the browser");window[e]||Object.defineProperty(window,e,{value:{},writable:!0,configurable:!0,enumerable:!1});const n="$".concat(Date.now(),"_").concat(Math.random().toString().slice(2),"$"),t="window.".concat(e,".").concat(n);if(Object.prototype.hasOwnProperty.call(window[e],n))throw TypeError("Callback name conflict: ".concat(n));const r=o(t);return new Promise((o,t)=>{const c=document.createElement("script");c.src=r,c.async=!0;const a=()=>{c.removeEventListener("error",i),c.remove(),window[e][n]&&delete window[e][n]};function i(){a(),t(Error("Failed to load script: ".concat(r)))}c.addEventListener("error",i),window[e][n]=e=>{a(),o(e)},document.body.append(c)})};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
declare global {
|
|
2
|
+
interface Window {
|
|
3
|
+
__foxact_jsonp_callbacks__SECRET_INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: Record<string, ((data: any) => void) | undefined>;
|
|
4
|
+
}
|
|
5
|
+
}
|
|
6
|
+
/** @see https://foxact.skk.moe/fetch-jsonp */
|
|
7
|
+
declare function fetchJsonp<T>(getUrl: (callbackName: string) => string): Promise<T>;
|
|
8
|
+
|
|
9
|
+
export { fetchJsonp };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e="__foxact_jsonp_callbacks__SECRET_INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED";exports.fetchJsonp=function(o){if("undefined"==typeof window)throw TypeError("fetchJsonp is only available in the browser");window[e]||Object.defineProperty(window,e,{value:{},writable:!0,configurable:!0,enumerable:!1});const n="$".concat(Date.now(),"_").concat(Math.random().toString().slice(2),"$"),t="window.".concat(e,".").concat(n);if(Object.prototype.hasOwnProperty.call(window[e],n))throw TypeError("Callback name conflict: ".concat(n));const r=o(t);return new Promise((o,t)=>{const c=document.createElement("script");c.src=r,c.async=!0;const a=()=>{c.removeEventListener("error",i),c.remove(),window[e][n]&&delete window[e][n]};function i(){a(),t(Error("Failed to load script: ".concat(r)))}c.addEventListener("error",i),window[e][n]=e=>{a(),o(e)},document.body.append(c)})};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e="__foxact_jsonp_callbacks__SECRET_INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED";function o(o){if("undefined"==typeof window)throw TypeError("fetchJsonp is only available in the browser");window[e]||Object.defineProperty(window,e,{value:{},writable:!0,configurable:!0,enumerable:!1});const n="$".concat(Date.now(),"_").concat(Math.random().toString().slice(2),"$"),t="window.".concat(e,".").concat(n);if(Object.prototype.hasOwnProperty.call(window[e],n))throw TypeError("Callback name conflict: ".concat(n));const r=o(t);return new Promise((o,t)=>{const c=document.createElement("script");c.src=r,c.async=!0;const a=()=>{c.removeEventListener("error",i),c.remove(),window[e][n]&&delete window[e][n]};function i(){a(),t(Error("Failed to load script: ".concat(r)))}c.addEventListener("error",i),window[e][n]=e=>{a(),o(e)},document.body.append(c)})}export{o as fetchJsonp};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "foxact",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.42",
|
|
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": {
|
|
@@ -78,6 +78,15 @@
|
|
|
78
78
|
"require": "./compose-context-provider/index.cjs",
|
|
79
79
|
"default": "./compose-context-provider/index.js"
|
|
80
80
|
},
|
|
81
|
+
"./context-state": {
|
|
82
|
+
"types": "./context-state/index.d.ts",
|
|
83
|
+
"import": {
|
|
84
|
+
"types": "./context-state/index.d.ts",
|
|
85
|
+
"default": "./context-state/index.mjs"
|
|
86
|
+
},
|
|
87
|
+
"require": "./context-state/index.cjs",
|
|
88
|
+
"default": "./context-state/index.js"
|
|
89
|
+
},
|
|
81
90
|
"./create-context-state": {
|
|
82
91
|
"types": "./create-context-state/index.d.ts",
|
|
83
92
|
"import": {
|
|
@@ -96,15 +105,6 @@
|
|
|
96
105
|
"require": "./create-fixed-array/index.cjs",
|
|
97
106
|
"default": "./create-fixed-array/index.js"
|
|
98
107
|
},
|
|
99
|
-
"./context-state": {
|
|
100
|
-
"types": "./context-state/index.d.ts",
|
|
101
|
-
"import": {
|
|
102
|
-
"types": "./context-state/index.d.ts",
|
|
103
|
-
"default": "./context-state/index.mjs"
|
|
104
|
-
},
|
|
105
|
-
"require": "./context-state/index.cjs",
|
|
106
|
-
"default": "./context-state/index.js"
|
|
107
|
-
},
|
|
108
108
|
"./create-session-storage-state": {
|
|
109
109
|
"types": "./create-session-storage-state/index.d.ts",
|
|
110
110
|
"import": {
|
|
@@ -114,15 +114,6 @@
|
|
|
114
114
|
"require": "./create-session-storage-state/index.cjs",
|
|
115
115
|
"default": "./create-session-storage-state/index.js"
|
|
116
116
|
},
|
|
117
|
-
"./create-storage-hook": {
|
|
118
|
-
"types": "./create-storage-hook/index.d.ts",
|
|
119
|
-
"import": {
|
|
120
|
-
"types": "./create-storage-hook/index.d.ts",
|
|
121
|
-
"default": "./create-storage-hook/index.mjs"
|
|
122
|
-
},
|
|
123
|
-
"require": "./create-storage-hook/index.cjs",
|
|
124
|
-
"default": "./create-storage-hook/index.js"
|
|
125
|
-
},
|
|
126
117
|
"./create-local-storage-state": {
|
|
127
118
|
"types": "./create-local-storage-state/index.d.ts",
|
|
128
119
|
"import": {
|
|
@@ -132,6 +123,15 @@
|
|
|
132
123
|
"require": "./create-local-storage-state/index.cjs",
|
|
133
124
|
"default": "./create-local-storage-state/index.js"
|
|
134
125
|
},
|
|
126
|
+
"./create-storage-hook": {
|
|
127
|
+
"types": "./create-storage-hook/index.d.ts",
|
|
128
|
+
"import": {
|
|
129
|
+
"types": "./create-storage-hook/index.d.ts",
|
|
130
|
+
"default": "./create-storage-hook/index.mjs"
|
|
131
|
+
},
|
|
132
|
+
"require": "./create-storage-hook/index.cjs",
|
|
133
|
+
"default": "./create-storage-hook/index.js"
|
|
134
|
+
},
|
|
135
135
|
"./create-storage-state-factory": {
|
|
136
136
|
"types": "./create-storage-state-factory/index.d.ts",
|
|
137
137
|
"import": {
|
|
@@ -150,6 +150,15 @@
|
|
|
150
150
|
"require": "./current-year/index.cjs",
|
|
151
151
|
"default": "./current-year/index.js"
|
|
152
152
|
},
|
|
153
|
+
"./fetch-jsonp": {
|
|
154
|
+
"types": "./fetch-jsonp/index.d.ts",
|
|
155
|
+
"import": {
|
|
156
|
+
"types": "./fetch-jsonp/index.d.ts",
|
|
157
|
+
"default": "./fetch-jsonp/index.mjs"
|
|
158
|
+
},
|
|
159
|
+
"require": "./fetch-jsonp/index.cjs",
|
|
160
|
+
"default": "./fetch-jsonp/index.js"
|
|
161
|
+
},
|
|
153
162
|
"./invariant": {
|
|
154
163
|
"types": "./invariant/index.d.ts",
|
|
155
164
|
"import": {
|
|
@@ -177,6 +186,15 @@
|
|
|
177
186
|
"require": "./noop/index.cjs",
|
|
178
187
|
"default": "./noop/index.js"
|
|
179
188
|
},
|
|
189
|
+
"./rem": {
|
|
190
|
+
"types": "./rem/index.d.ts",
|
|
191
|
+
"import": {
|
|
192
|
+
"types": "./rem/index.d.ts",
|
|
193
|
+
"default": "./rem/index.mjs"
|
|
194
|
+
},
|
|
195
|
+
"require": "./rem/index.cjs",
|
|
196
|
+
"default": "./rem/index.js"
|
|
197
|
+
},
|
|
180
198
|
"./nullthrow": {
|
|
181
199
|
"types": "./nullthrow/index.d.ts",
|
|
182
200
|
"import": {
|
|
@@ -186,15 +204,6 @@
|
|
|
186
204
|
"require": "./nullthrow/index.cjs",
|
|
187
205
|
"default": "./nullthrow/index.js"
|
|
188
206
|
},
|
|
189
|
-
"./request-idle-callback": {
|
|
190
|
-
"types": "./request-idle-callback/index.d.ts",
|
|
191
|
-
"import": {
|
|
192
|
-
"types": "./request-idle-callback/index.d.ts",
|
|
193
|
-
"default": "./request-idle-callback/index.mjs"
|
|
194
|
-
},
|
|
195
|
-
"require": "./request-idle-callback/index.cjs",
|
|
196
|
-
"default": "./request-idle-callback/index.js"
|
|
197
|
-
},
|
|
198
207
|
"./types": {
|
|
199
208
|
"types": "./types/index.d.ts",
|
|
200
209
|
"import": {
|
|
@@ -204,6 +213,15 @@
|
|
|
204
213
|
"require": "./types/index.cjs",
|
|
205
214
|
"default": "./types/index.js"
|
|
206
215
|
},
|
|
216
|
+
"./request-idle-callback": {
|
|
217
|
+
"types": "./request-idle-callback/index.d.ts",
|
|
218
|
+
"import": {
|
|
219
|
+
"types": "./request-idle-callback/index.d.ts",
|
|
220
|
+
"default": "./request-idle-callback/index.mjs"
|
|
221
|
+
},
|
|
222
|
+
"require": "./request-idle-callback/index.cjs",
|
|
223
|
+
"default": "./request-idle-callback/index.js"
|
|
224
|
+
},
|
|
207
225
|
"./typescript-happy-forward-ref": {
|
|
208
226
|
"types": "./typescript-happy-forward-ref/index.d.ts",
|
|
209
227
|
"import": {
|
|
@@ -222,15 +240,6 @@
|
|
|
222
240
|
"require": "./use/index.cjs",
|
|
223
241
|
"default": "./use/index.js"
|
|
224
242
|
},
|
|
225
|
-
"./use-abortable-effect": {
|
|
226
|
-
"types": "./use-abortable-effect/index.d.ts",
|
|
227
|
-
"import": {
|
|
228
|
-
"types": "./use-abortable-effect/index.d.ts",
|
|
229
|
-
"default": "./use-abortable-effect/index.mjs"
|
|
230
|
-
},
|
|
231
|
-
"require": "./use-abortable-effect/index.cjs",
|
|
232
|
-
"default": "./use-abortable-effect/index.js"
|
|
233
|
-
},
|
|
234
243
|
"./use-array": {
|
|
235
244
|
"types": "./use-array/index.d.ts",
|
|
236
245
|
"import": {
|
|
@@ -240,6 +249,15 @@
|
|
|
240
249
|
"require": "./use-array/index.cjs",
|
|
241
250
|
"default": "./use-array/index.js"
|
|
242
251
|
},
|
|
252
|
+
"./use-abortable-effect": {
|
|
253
|
+
"types": "./use-abortable-effect/index.d.ts",
|
|
254
|
+
"import": {
|
|
255
|
+
"types": "./use-abortable-effect/index.d.ts",
|
|
256
|
+
"default": "./use-abortable-effect/index.mjs"
|
|
257
|
+
},
|
|
258
|
+
"require": "./use-abortable-effect/index.cjs",
|
|
259
|
+
"default": "./use-abortable-effect/index.js"
|
|
260
|
+
},
|
|
243
261
|
"./use-clipboard": {
|
|
244
262
|
"types": "./use-clipboard/index.d.ts",
|
|
245
263
|
"import": {
|
|
@@ -249,15 +267,6 @@
|
|
|
249
267
|
"require": "./use-clipboard/index.cjs",
|
|
250
268
|
"default": "./use-clipboard/index.js"
|
|
251
269
|
},
|
|
252
|
-
"./rem": {
|
|
253
|
-
"types": "./rem/index.d.ts",
|
|
254
|
-
"import": {
|
|
255
|
-
"types": "./rem/index.d.ts",
|
|
256
|
-
"default": "./rem/index.mjs"
|
|
257
|
-
},
|
|
258
|
-
"require": "./rem/index.cjs",
|
|
259
|
-
"default": "./rem/index.js"
|
|
260
|
-
},
|
|
261
270
|
"./use-component-will-receive-update": {
|
|
262
271
|
"types": "./use-component-will-receive-update/index.d.ts",
|
|
263
272
|
"import": {
|
|
@@ -276,15 +285,6 @@
|
|
|
276
285
|
"require": "./use-composition-input/index.cjs",
|
|
277
286
|
"default": "./use-composition-input/index.js"
|
|
278
287
|
},
|
|
279
|
-
"./use-debounced-value": {
|
|
280
|
-
"types": "./use-debounced-value/index.d.ts",
|
|
281
|
-
"import": {
|
|
282
|
-
"types": "./use-debounced-value/index.d.ts",
|
|
283
|
-
"default": "./use-debounced-value/index.mjs"
|
|
284
|
-
},
|
|
285
|
-
"require": "./use-debounced-value/index.cjs",
|
|
286
|
-
"default": "./use-debounced-value/index.js"
|
|
287
|
-
},
|
|
288
288
|
"./use-debounced-state": {
|
|
289
289
|
"types": "./use-debounced-state/index.d.ts",
|
|
290
290
|
"import": {
|
|
@@ -294,6 +294,15 @@
|
|
|
294
294
|
"require": "./use-debounced-state/index.cjs",
|
|
295
295
|
"default": "./use-debounced-state/index.js"
|
|
296
296
|
},
|
|
297
|
+
"./use-debounced-value": {
|
|
298
|
+
"types": "./use-debounced-value/index.d.ts",
|
|
299
|
+
"import": {
|
|
300
|
+
"types": "./use-debounced-value/index.d.ts",
|
|
301
|
+
"default": "./use-debounced-value/index.mjs"
|
|
302
|
+
},
|
|
303
|
+
"require": "./use-debounced-value/index.cjs",
|
|
304
|
+
"default": "./use-debounced-value/index.js"
|
|
305
|
+
},
|
|
297
306
|
"./use-error-boundary": {
|
|
298
307
|
"types": "./use-error-boundary/index.d.ts",
|
|
299
308
|
"import": {
|
|
@@ -303,15 +312,6 @@
|
|
|
303
312
|
"require": "./use-error-boundary/index.cjs",
|
|
304
313
|
"default": "./use-error-boundary/index.js"
|
|
305
314
|
},
|
|
306
|
-
"./use-intersection": {
|
|
307
|
-
"types": "./use-intersection/index.d.ts",
|
|
308
|
-
"import": {
|
|
309
|
-
"types": "./use-intersection/index.d.ts",
|
|
310
|
-
"default": "./use-intersection/index.mjs"
|
|
311
|
-
},
|
|
312
|
-
"require": "./use-intersection/index.cjs",
|
|
313
|
-
"default": "./use-intersection/index.js"
|
|
314
|
-
},
|
|
315
315
|
"./use-is-client": {
|
|
316
316
|
"types": "./use-is-client/index.d.ts",
|
|
317
317
|
"import": {
|
|
@@ -321,6 +321,15 @@
|
|
|
321
321
|
"require": "./use-is-client/index.cjs",
|
|
322
322
|
"default": "./use-is-client/index.js"
|
|
323
323
|
},
|
|
324
|
+
"./use-intersection": {
|
|
325
|
+
"types": "./use-intersection/index.d.ts",
|
|
326
|
+
"import": {
|
|
327
|
+
"types": "./use-intersection/index.d.ts",
|
|
328
|
+
"default": "./use-intersection/index.mjs"
|
|
329
|
+
},
|
|
330
|
+
"require": "./use-intersection/index.cjs",
|
|
331
|
+
"default": "./use-intersection/index.js"
|
|
332
|
+
},
|
|
324
333
|
"./use-is-online": {
|
|
325
334
|
"types": "./use-is-online/index.d.ts",
|
|
326
335
|
"import": {
|
|
@@ -339,15 +348,6 @@
|
|
|
339
348
|
"require": "./use-isomorphic-layout-effect/index.cjs",
|
|
340
349
|
"default": "./use-isomorphic-layout-effect/index.js"
|
|
341
350
|
},
|
|
342
|
-
"./use-map": {
|
|
343
|
-
"types": "./use-map/index.d.ts",
|
|
344
|
-
"import": {
|
|
345
|
-
"types": "./use-map/index.d.ts",
|
|
346
|
-
"default": "./use-map/index.mjs"
|
|
347
|
-
},
|
|
348
|
-
"require": "./use-map/index.cjs",
|
|
349
|
-
"default": "./use-map/index.js"
|
|
350
|
-
},
|
|
351
351
|
"./use-local-storage": {
|
|
352
352
|
"types": "./use-local-storage/index.d.ts",
|
|
353
353
|
"import": {
|
|
@@ -357,6 +357,15 @@
|
|
|
357
357
|
"require": "./use-local-storage/index.cjs",
|
|
358
358
|
"default": "./use-local-storage/index.js"
|
|
359
359
|
},
|
|
360
|
+
"./use-map": {
|
|
361
|
+
"types": "./use-map/index.d.ts",
|
|
362
|
+
"import": {
|
|
363
|
+
"types": "./use-map/index.d.ts",
|
|
364
|
+
"default": "./use-map/index.mjs"
|
|
365
|
+
},
|
|
366
|
+
"require": "./use-map/index.cjs",
|
|
367
|
+
"default": "./use-map/index.js"
|
|
368
|
+
},
|
|
360
369
|
"./use-media-query": {
|
|
361
370
|
"types": "./use-media-query/index.d.ts",
|
|
362
371
|
"import": {
|
|
@@ -393,24 +402,6 @@
|
|
|
393
402
|
"require": "./use-page-visibility/index.cjs",
|
|
394
403
|
"default": "./use-page-visibility/index.js"
|
|
395
404
|
},
|
|
396
|
-
"./use-react-router-enable-concurrent-navigation": {
|
|
397
|
-
"types": "./use-react-router-enable-concurrent-navigation/index.d.ts",
|
|
398
|
-
"import": {
|
|
399
|
-
"types": "./use-react-router-enable-concurrent-navigation/index.d.ts",
|
|
400
|
-
"default": "./use-react-router-enable-concurrent-navigation/index.mjs"
|
|
401
|
-
},
|
|
402
|
-
"require": "./use-react-router-enable-concurrent-navigation/index.cjs",
|
|
403
|
-
"default": "./use-react-router-enable-concurrent-navigation/index.js"
|
|
404
|
-
},
|
|
405
|
-
"./use-react-router-is-match": {
|
|
406
|
-
"types": "./use-react-router-is-match/index.d.ts",
|
|
407
|
-
"import": {
|
|
408
|
-
"types": "./use-react-router-is-match/index.d.ts",
|
|
409
|
-
"default": "./use-react-router-is-match/index.mjs"
|
|
410
|
-
},
|
|
411
|
-
"require": "./use-react-router-is-match/index.cjs",
|
|
412
|
-
"default": "./use-react-router-is-match/index.js"
|
|
413
|
-
},
|
|
414
405
|
"./use-retimer": {
|
|
415
406
|
"types": "./use-retimer/index.d.ts",
|
|
416
407
|
"import": {
|
|
@@ -429,14 +420,14 @@
|
|
|
429
420
|
"require": "./use-session-storage/index.cjs",
|
|
430
421
|
"default": "./use-session-storage/index.js"
|
|
431
422
|
},
|
|
432
|
-
"./use-
|
|
433
|
-
"types": "./use-
|
|
423
|
+
"./use-react-router-is-match": {
|
|
424
|
+
"types": "./use-react-router-is-match/index.d.ts",
|
|
434
425
|
"import": {
|
|
435
|
-
"types": "./use-
|
|
436
|
-
"default": "./use-
|
|
426
|
+
"types": "./use-react-router-is-match/index.d.ts",
|
|
427
|
+
"default": "./use-react-router-is-match/index.mjs"
|
|
437
428
|
},
|
|
438
|
-
"require": "./use-
|
|
439
|
-
"default": "./use-
|
|
429
|
+
"require": "./use-react-router-is-match/index.cjs",
|
|
430
|
+
"default": "./use-react-router-is-match/index.js"
|
|
440
431
|
},
|
|
441
432
|
"./use-set": {
|
|
442
433
|
"types": "./use-set/index.d.ts",
|
|
@@ -447,6 +438,15 @@
|
|
|
447
438
|
"require": "./use-set/index.cjs",
|
|
448
439
|
"default": "./use-set/index.js"
|
|
449
440
|
},
|
|
441
|
+
"./use-singleton": {
|
|
442
|
+
"types": "./use-singleton/index.d.ts",
|
|
443
|
+
"import": {
|
|
444
|
+
"types": "./use-singleton/index.d.ts",
|
|
445
|
+
"default": "./use-singleton/index.mjs"
|
|
446
|
+
},
|
|
447
|
+
"require": "./use-singleton/index.cjs",
|
|
448
|
+
"default": "./use-singleton/index.js"
|
|
449
|
+
},
|
|
450
450
|
"./use-stable-handler-only-when-you-know-what-you-are-doing-or-you-will-be-fired": {
|
|
451
451
|
"types": "./use-stable-handler-only-when-you-know-what-you-are-doing-or-you-will-be-fired/index.d.ts",
|
|
452
452
|
"import": {
|
|
@@ -465,6 +465,15 @@
|
|
|
465
465
|
"require": "./use-typescript-happy-callback/index.cjs",
|
|
466
466
|
"default": "./use-typescript-happy-callback/index.js"
|
|
467
467
|
},
|
|
468
|
+
"./use-uncontrolled": {
|
|
469
|
+
"types": "./use-uncontrolled/index.d.ts",
|
|
470
|
+
"import": {
|
|
471
|
+
"types": "./use-uncontrolled/index.d.ts",
|
|
472
|
+
"default": "./use-uncontrolled/index.mjs"
|
|
473
|
+
},
|
|
474
|
+
"require": "./use-uncontrolled/index.cjs",
|
|
475
|
+
"default": "./use-uncontrolled/index.js"
|
|
476
|
+
},
|
|
468
477
|
"./use-url-hash-state": {
|
|
469
478
|
"types": "./use-url-hash-state/index.d.ts",
|
|
470
479
|
"import": {
|
|
@@ -474,14 +483,14 @@
|
|
|
474
483
|
"require": "./use-url-hash-state/index.cjs",
|
|
475
484
|
"default": "./use-url-hash-state/index.js"
|
|
476
485
|
},
|
|
477
|
-
"./use-
|
|
478
|
-
"types": "./use-
|
|
486
|
+
"./use-react-router-enable-concurrent-navigation": {
|
|
487
|
+
"types": "./use-react-router-enable-concurrent-navigation/index.d.ts",
|
|
479
488
|
"import": {
|
|
480
|
-
"types": "./use-
|
|
481
|
-
"default": "./use-
|
|
489
|
+
"types": "./use-react-router-enable-concurrent-navigation/index.d.ts",
|
|
490
|
+
"default": "./use-react-router-enable-concurrent-navigation/index.mjs"
|
|
482
491
|
},
|
|
483
|
-
"require": "./use-
|
|
484
|
-
"default": "./use-
|
|
492
|
+
"require": "./use-react-router-enable-concurrent-navigation/index.cjs",
|
|
493
|
+
"default": "./use-react-router-enable-concurrent-navigation/index.js"
|
|
485
494
|
}
|
|
486
495
|
}
|
|
487
496
|
}
|
package/sizes.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"total":{"raw":
|
|
1
|
+
{"total":{"raw":22047,"gzip":13435,"br":0},"exports":{"compose-context-provider":{"raw":177,"gzip":155,"br":122},"context-state":{"raw":429,"gzip":258,"br":218},"create-context-state":{"raw":145,"gzip":116,"br":96},"create-fixed-array":{"raw":452,"gzip":282,"br":248},"create-local-storage-state":{"raw":328,"gzip":183,"br":154},"create-session-storage-state":{"raw":332,"gzip":182,"br":152},"create-storage-state-factory":{"raw":519,"gzip":309,"br":263},"current-year":{"raw":618,"gzip":417,"br":339},"invariant":{"raw":178,"gzip":156,"br":118},"fetch-jsonp":{"raw":873,"gzip":537,"br":420},"noop":{"raw":33,"gzip":53,"br":37},"create-storage-hook":{"raw":2073,"gzip":880,"br":764},"types":{"raw":0,"gzip":20,"br":1},"no-ssr":{"raw":474,"gzip":316,"br":260},"nullthrow":{"raw":187,"gzip":163,"br":121},"typescript-happy-forward-ref":{"raw":119,"gzip":103,"br":80},"request-idle-callback":{"raw":410,"gzip":229,"br":175},"rem":{"raw":823,"gzip":395,"br":350},"use-array":{"raw":322,"gzip":236,"br":202},"use-abortable-effect":{"raw":215,"gzip":170,"br":144},"use":{"raw":276,"gzip":182,"br":150},"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":651,"br":552},"use-is-client":{"raw":150,"gzip":145,"br":115},"use-error-boundary":{"raw":255,"gzip":198,"br":163},"use-isomorphic-layout-effect":{"raw":178,"gzip":142,"br":112},"use-local-storage":{"raw":310,"gzip":184,"br":157},"use-is-online":{"raw":335,"gzip":214,"br":160},"use-map":{"raw":339,"gzip":243,"br":208},"use-intersection":{"raw":1230,"gzip":649,"br":597},"use-next-pathname":{"raw":314,"gzip":235,"br":203},"use-media-query":{"raw":738,"gzip":413,"br":332},"use-page-visibility":{"raw":290,"gzip":206,"br":154},"use-retimer":{"raw":199,"gzip":166,"br":127},"use-session-storage":{"raw":316,"gzip":181,"br":152},"use-next-link":{"raw":1615,"gzip":855,"br":737},"use-typescript-happy-callback":{"raw":107,"gzip":102,"br":77},"use-set":{"raw":340,"gzip":238,"br":203},"use-stable-handler-only-when-you-know-what-you-are-doing-or-you-will-be-fired":{"raw":459,"gzip":325,"br":249},"use-react-router-is-match":{"raw":563,"gzip":372,"br":314},"use-uncontrolled":{"raw":352,"gzip":258,"br":216},"use-singleton":{"raw":139,"gzip":130,"br":104},"use-url-hash-state":{"raw":1081,"gzip":620,"br":540},"use-react-router-enable-concurrent-navigation":{"raw":966,"gzip":470,"br":397}}}
|