@tanstack/query-core 4.1.2 → 4.2.1
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/build/cjs/utils.js +2 -0
- package/build/cjs/utils.js.map +1 -1
- package/build/esm/index.js +2 -0
- package/build/esm/index.js.map +1 -1
- package/build/stats-html.html +1 -1
- package/build/stats.json +229 -229
- package/build/types/packages/query-core/src/types.d.ts +4 -2
- package/build/umd/index.development.js +2 -0
- package/build/umd/index.development.js.map +1 -1
- package/build/umd/index.production.js +1 -1
- package/build/umd/index.production.js.map +1 -1
- package/package.json +1 -1
- package/src/tests/queryClient.test.tsx +33 -0
- package/src/types.ts +9 -3
- package/src/utils.ts +2 -0
package/build/stats-html.html
CHANGED
|
@@ -2669,7 +2669,7 @@ var drawChart = (function (exports) {
|
|
|
2669
2669
|
</script>
|
|
2670
2670
|
<script>
|
|
2671
2671
|
/*<!--*/
|
|
2672
|
-
const data = {"version":2,"tree":{"name":"root","children":[{"name":"index.production.js","children":[{"name":"packages/query-core/src","children":[{"uid":"
|
|
2672
|
+
const data = {"version":2,"tree":{"name":"root","children":[{"name":"index.production.js","children":[{"name":"packages/query-core/src","children":[{"uid":"0a90-1","name":"subscribable.ts"},{"uid":"0a90-3","name":"utils.ts"},{"uid":"0a90-5","name":"focusManager.ts"},{"uid":"0a90-7","name":"onlineManager.ts"},{"uid":"0a90-9","name":"retryer.ts"},{"uid":"0a90-11","name":"logger.ts"},{"uid":"0a90-13","name":"notifyManager.ts"},{"uid":"0a90-15","name":"removable.ts"},{"uid":"0a90-17","name":"query.ts"},{"uid":"0a90-19","name":"queryCache.ts"},{"uid":"0a90-21","name":"mutation.ts"},{"uid":"0a90-23","name":"mutationCache.ts"},{"uid":"0a90-25","name":"infiniteQueryBehavior.ts"},{"uid":"0a90-27","name":"queryClient.ts"},{"uid":"0a90-29","name":"queryObserver.ts"},{"uid":"0a90-31","name":"queriesObserver.ts"},{"uid":"0a90-33","name":"infiniteQueryObserver.ts"},{"uid":"0a90-35","name":"mutationObserver.ts"},{"uid":"0a90-37","name":"hydration.ts"},{"uid":"0a90-39","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"0a90-1":{"renderedLength":505,"gzipLength":212,"brotliLength":0,"mainUid":"0a90-0"},"0a90-3":{"renderedLength":7580,"gzipLength":2174,"brotliLength":0,"mainUid":"0a90-2"},"0a90-5":{"renderedLength":2058,"gzipLength":703,"brotliLength":0,"mainUid":"0a90-4"},"0a90-7":{"renderedLength":1952,"gzipLength":627,"brotliLength":0,"mainUid":"0a90-6"},"0a90-9":{"renderedLength":4232,"gzipLength":1198,"brotliLength":0,"mainUid":"0a90-8"},"0a90-11":{"renderedLength":32,"gzipLength":49,"brotliLength":0,"mainUid":"0a90-10"},"0a90-13":{"renderedLength":1910,"gzipLength":628,"brotliLength":0,"mainUid":"0a90-12"},"0a90-15":{"renderedLength":681,"gzipLength":312,"brotliLength":0,"mainUid":"0a90-14"},"0a90-17":{"renderedLength":12983,"gzipLength":3114,"brotliLength":0,"mainUid":"0a90-16"},"0a90-19":{"renderedLength":2645,"gzipLength":753,"brotliLength":0,"mainUid":"0a90-18"},"0a90-21":{"renderedLength":7266,"gzipLength":1603,"brotliLength":0,"mainUid":"0a90-20"},"0a90-23":{"renderedLength":1889,"gzipLength":613,"brotliLength":0,"mainUid":"0a90-22"},"0a90-25":{"renderedLength":6170,"gzipLength":1403,"brotliLength":0,"mainUid":"0a90-24"},"0a90-27":{"renderedLength":9592,"gzipLength":1962,"brotliLength":0,"mainUid":"0a90-26"},"0a90-29":{"renderedLength":16600,"gzipLength":3623,"brotliLength":0,"mainUid":"0a90-28"},"0a90-31":{"renderedLength":4906,"gzipLength":1181,"brotliLength":0,"mainUid":"0a90-30"},"0a90-33":{"renderedLength":2330,"gzipLength":624,"brotliLength":0,"mainUid":"0a90-32"},"0a90-35":{"renderedLength":4060,"gzipLength":1017,"brotliLength":0,"mainUid":"0a90-34"},"0a90-37":{"renderedLength":3177,"gzipLength":941,"brotliLength":0,"mainUid":"0a90-36"},"0a90-39":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"mainUid":"0a90-38"}},"nodeMetas":{"0a90-0":{"id":"/packages/query-core/src/subscribable.ts","moduleParts":{"index.production.js":"0a90-1"},"imported":[],"importedBy":[{"uid":"0a90-18"},{"uid":"0a90-28"},{"uid":"0a90-30"},{"uid":"0a90-22"},{"uid":"0a90-34"},{"uid":"0a90-4"},{"uid":"0a90-6"}]},"0a90-2":{"id":"/packages/query-core/src/utils.ts","moduleParts":{"index.production.js":"0a90-3"},"imported":[],"importedBy":[{"uid":"0a90-38"},{"uid":"0a90-8"},{"uid":"0a90-18"},{"uid":"0a90-26"},{"uid":"0a90-28"},{"uid":"0a90-30"},{"uid":"0a90-22"},{"uid":"0a90-34"},{"uid":"0a90-12"},{"uid":"0a90-4"},{"uid":"0a90-6"},{"uid":"0a90-16"},{"uid":"0a90-14"}]},"0a90-4":{"id":"/packages/query-core/src/focusManager.ts","moduleParts":{"index.production.js":"0a90-5"},"imported":[{"uid":"0a90-0"},{"uid":"0a90-2"}],"importedBy":[{"uid":"0a90-38"},{"uid":"0a90-8"},{"uid":"0a90-26"},{"uid":"0a90-28"}]},"0a90-6":{"id":"/packages/query-core/src/onlineManager.ts","moduleParts":{"index.production.js":"0a90-7"},"imported":[{"uid":"0a90-0"},{"uid":"0a90-2"}],"importedBy":[{"uid":"0a90-38"},{"uid":"0a90-8"},{"uid":"0a90-26"}]},"0a90-8":{"id":"/packages/query-core/src/retryer.ts","moduleParts":{"index.production.js":"0a90-9"},"imported":[{"uid":"0a90-4"},{"uid":"0a90-6"},{"uid":"0a90-2"}],"importedBy":[{"uid":"0a90-38"},{"uid":"0a90-28"},{"uid":"0a90-16"},{"uid":"0a90-20"}]},"0a90-10":{"id":"/packages/query-core/src/logger.ts","moduleParts":{"index.production.js":"0a90-11"},"imported":[],"importedBy":[{"uid":"0a90-26"},{"uid":"0a90-16"},{"uid":"0a90-20"}]},"0a90-12":{"id":"/packages/query-core/src/notifyManager.ts","moduleParts":{"index.production.js":"0a90-13"},"imported":[{"uid":"0a90-2"}],"importedBy":[{"uid":"0a90-38"},{"uid":"0a90-18"},{"uid":"0a90-26"},{"uid":"0a90-28"},{"uid":"0a90-30"},{"uid":"0a90-22"},{"uid":"0a90-34"},{"uid":"0a90-16"},{"uid":"0a90-20"}]},"0a90-14":{"id":"/packages/query-core/src/removable.ts","moduleParts":{"index.production.js":"0a90-15"},"imported":[{"uid":"0a90-2"}],"importedBy":[{"uid":"0a90-16"},{"uid":"0a90-20"}]},"0a90-16":{"id":"/packages/query-core/src/query.ts","moduleParts":{"index.production.js":"0a90-17"},"imported":[{"uid":"0a90-2"},{"uid":"0a90-10"},{"uid":"0a90-12"},{"uid":"0a90-8"},{"uid":"0a90-14"}],"importedBy":[{"uid":"0a90-18"}]},"0a90-18":{"id":"/packages/query-core/src/queryCache.ts","moduleParts":{"index.production.js":"0a90-19"},"imported":[{"uid":"0a90-2"},{"uid":"0a90-16"},{"uid":"0a90-12"},{"uid":"0a90-0"}],"importedBy":[{"uid":"0a90-38"},{"uid":"0a90-26"}]},"0a90-20":{"id":"/packages/query-core/src/mutation.ts","moduleParts":{"index.production.js":"0a90-21"},"imported":[{"uid":"0a90-10"},{"uid":"0a90-12"},{"uid":"0a90-14"},{"uid":"0a90-8"}],"importedBy":[{"uid":"0a90-22"},{"uid":"0a90-34"}]},"0a90-22":{"id":"/packages/query-core/src/mutationCache.ts","moduleParts":{"index.production.js":"0a90-23"},"imported":[{"uid":"0a90-12"},{"uid":"0a90-20"},{"uid":"0a90-2"},{"uid":"0a90-0"}],"importedBy":[{"uid":"0a90-38"},{"uid":"0a90-26"}]},"0a90-24":{"id":"/packages/query-core/src/infiniteQueryBehavior.ts","moduleParts":{"index.production.js":"0a90-25"},"imported":[],"importedBy":[{"uid":"0a90-26"},{"uid":"0a90-32"}]},"0a90-26":{"id":"/packages/query-core/src/queryClient.ts","moduleParts":{"index.production.js":"0a90-27"},"imported":[{"uid":"0a90-2"},{"uid":"0a90-18"},{"uid":"0a90-22"},{"uid":"0a90-4"},{"uid":"0a90-6"},{"uid":"0a90-12"},{"uid":"0a90-24"},{"uid":"0a90-10"}],"importedBy":[{"uid":"0a90-38"}]},"0a90-28":{"id":"/packages/query-core/src/queryObserver.ts","moduleParts":{"index.production.js":"0a90-29"},"imported":[{"uid":"0a90-2"},{"uid":"0a90-12"},{"uid":"0a90-4"},{"uid":"0a90-0"},{"uid":"0a90-8"}],"importedBy":[{"uid":"0a90-38"},{"uid":"0a90-30"},{"uid":"0a90-32"}]},"0a90-30":{"id":"/packages/query-core/src/queriesObserver.ts","moduleParts":{"index.production.js":"0a90-31"},"imported":[{"uid":"0a90-2"},{"uid":"0a90-12"},{"uid":"0a90-28"},{"uid":"0a90-0"}],"importedBy":[{"uid":"0a90-38"}]},"0a90-32":{"id":"/packages/query-core/src/infiniteQueryObserver.ts","moduleParts":{"index.production.js":"0a90-33"},"imported":[{"uid":"0a90-28"},{"uid":"0a90-24"}],"importedBy":[{"uid":"0a90-38"}]},"0a90-34":{"id":"/packages/query-core/src/mutationObserver.ts","moduleParts":{"index.production.js":"0a90-35"},"imported":[{"uid":"0a90-20"},{"uid":"0a90-12"},{"uid":"0a90-0"},{"uid":"0a90-2"}],"importedBy":[{"uid":"0a90-38"}]},"0a90-36":{"id":"/packages/query-core/src/hydration.ts","moduleParts":{"index.production.js":"0a90-37"},"imported":[],"importedBy":[{"uid":"0a90-38"}]},"0a90-38":{"id":"/packages/query-core/src/index.ts","moduleParts":{"index.production.js":"0a90-39"},"imported":[{"uid":"0a90-8"},{"uid":"0a90-18"},{"uid":"0a90-26"},{"uid":"0a90-28"},{"uid":"0a90-30"},{"uid":"0a90-32"},{"uid":"0a90-22"},{"uid":"0a90-34"},{"uid":"0a90-12"},{"uid":"0a90-4"},{"uid":"0a90-6"},{"uid":"0a90-2"},{"uid":"0a90-36"},{"uid":"0a90-40"}],"importedBy":[],"isEntry":true},"0a90-40":{"id":"/packages/query-core/src/types.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"0a90-38"}]}},"env":{"rollup":"2.76.0"},"options":{"gzip":true,"brotli":false,"sourcemap":false}};
|
|
2673
2673
|
|
|
2674
2674
|
const run = () => {
|
|
2675
2675
|
const width = window.innerWidth;
|