@tanstack/vue-query 4.20.2 → 4.20.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.
|
@@ -332,6 +332,8 @@
|
|
|
332
332
|
if (typeof AbortController === 'function') {
|
|
333
333
|
return new AbortController();
|
|
334
334
|
}
|
|
335
|
+
|
|
336
|
+
return;
|
|
335
337
|
}
|
|
336
338
|
function replaceData(prevData, data, options) {
|
|
337
339
|
// Use prev data if an isDataEqual function is defined and returns `true`
|
|
@@ -366,6 +368,8 @@
|
|
|
366
368
|
window.removeEventListener('focus', listener);
|
|
367
369
|
};
|
|
368
370
|
}
|
|
371
|
+
|
|
372
|
+
return;
|
|
369
373
|
};
|
|
370
374
|
}
|
|
371
375
|
|
|
@@ -447,6 +451,8 @@
|
|
|
447
451
|
window.removeEventListener('offline', listener);
|
|
448
452
|
};
|
|
449
453
|
}
|
|
454
|
+
|
|
455
|
+
return;
|
|
450
456
|
};
|
|
451
457
|
}
|
|
452
458
|
|
|
@@ -634,6 +640,8 @@
|
|
|
634
640
|
if (shouldPause()) {
|
|
635
641
|
return pause();
|
|
636
642
|
}
|
|
643
|
+
|
|
644
|
+
return;
|
|
637
645
|
}).then(() => {
|
|
638
646
|
if (isRetryCancelled) {
|
|
639
647
|
reject(error);
|
|
@@ -1821,6 +1829,8 @@
|
|
|
1821
1829
|
const nextPageParam = getNextPageParam(options, pages);
|
|
1822
1830
|
return typeof nextPageParam !== 'undefined' && nextPageParam !== null && nextPageParam !== false;
|
|
1823
1831
|
}
|
|
1832
|
+
|
|
1833
|
+
return;
|
|
1824
1834
|
}
|
|
1825
1835
|
/**
|
|
1826
1836
|
* Checks if there is a previous page.
|
|
@@ -1832,6 +1842,8 @@
|
|
|
1832
1842
|
const previousPageParam = getPreviousPageParam(options, pages);
|
|
1833
1843
|
return typeof previousPageParam !== 'undefined' && previousPageParam !== null && previousPageParam !== false;
|
|
1834
1844
|
}
|
|
1845
|
+
|
|
1846
|
+
return;
|
|
1835
1847
|
}
|
|
1836
1848
|
|
|
1837
1849
|
// CLASS
|