@tanstack/query-core 4.1.0 → 4.2.0
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 +10 -8
- 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 +15 -9
- 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":"5f67-1","name":"subscribable.ts"},{"uid":"5f67-3","name":"utils.ts"},{"uid":"5f67-5","name":"focusManager.ts"},{"uid":"5f67-7","name":"onlineManager.ts"},{"uid":"5f67-9","name":"retryer.ts"},{"uid":"5f67-11","name":"logger.ts"},{"uid":"5f67-13","name":"notifyManager.ts"},{"uid":"5f67-15","name":"removable.ts"},{"uid":"5f67-17","name":"query.ts"},{"uid":"5f67-19","name":"queryCache.ts"},{"uid":"5f67-21","name":"mutation.ts"},{"uid":"5f67-23","name":"mutationCache.ts"},{"uid":"5f67-25","name":"infiniteQueryBehavior.ts"},{"uid":"5f67-27","name":"queryClient.ts"},{"uid":"5f67-29","name":"queryObserver.ts"},{"uid":"5f67-31","name":"queriesObserver.ts"},{"uid":"5f67-33","name":"infiniteQueryObserver.ts"},{"uid":"5f67-35","name":"mutationObserver.ts"},{"uid":"5f67-37","name":"hydration.ts"},{"uid":"5f67-39","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"5f67-1":{"renderedLength":505,"gzipLength":212,"brotliLength":0,"mainUid":"5f67-0"},"5f67-3":{"renderedLength":7580,"gzipLength":2174,"brotliLength":0,"mainUid":"5f67-2"},"5f67-5":{"renderedLength":2058,"gzipLength":703,"brotliLength":0,"mainUid":"5f67-4"},"5f67-7":{"renderedLength":1952,"gzipLength":627,"brotliLength":0,"mainUid":"5f67-6"},"5f67-9":{"renderedLength":4232,"gzipLength":1198,"brotliLength":0,"mainUid":"5f67-8"},"5f67-11":{"renderedLength":32,"gzipLength":49,"brotliLength":0,"mainUid":"5f67-10"},"5f67-13":{"renderedLength":1910,"gzipLength":628,"brotliLength":0,"mainUid":"5f67-12"},"5f67-15":{"renderedLength":681,"gzipLength":312,"brotliLength":0,"mainUid":"5f67-14"},"5f67-17":{"renderedLength":12983,"gzipLength":3114,"brotliLength":0,"mainUid":"5f67-16"},"5f67-19":{"renderedLength":2645,"gzipLength":753,"brotliLength":0,"mainUid":"5f67-18"},"5f67-21":{"renderedLength":7266,"gzipLength":1603,"brotliLength":0,"mainUid":"5f67-20"},"5f67-23":{"renderedLength":1889,"gzipLength":613,"brotliLength":0,"mainUid":"5f67-22"},"5f67-25":{"renderedLength":6170,"gzipLength":1403,"brotliLength":0,"mainUid":"5f67-24"},"5f67-27":{"renderedLength":9592,"gzipLength":1962,"brotliLength":0,"mainUid":"5f67-26"},"5f67-29":{"renderedLength":16600,"gzipLength":3623,"brotliLength":0,"mainUid":"5f67-28"},"5f67-31":{"renderedLength":4906,"gzipLength":1181,"brotliLength":0,"mainUid":"5f67-30"},"5f67-33":{"renderedLength":2330,"gzipLength":624,"brotliLength":0,"mainUid":"5f67-32"},"5f67-35":{"renderedLength":4060,"gzipLength":1017,"brotliLength":0,"mainUid":"5f67-34"},"5f67-37":{"renderedLength":3177,"gzipLength":941,"brotliLength":0,"mainUid":"5f67-36"},"5f67-39":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"mainUid":"5f67-38"}},"nodeMetas":{"5f67-0":{"id":"/packages/query-core/src/subscribable.ts","moduleParts":{"index.production.js":"5f67-1"},"imported":[],"importedBy":[{"uid":"5f67-18"},{"uid":"5f67-28"},{"uid":"5f67-30"},{"uid":"5f67-22"},{"uid":"5f67-34"},{"uid":"5f67-4"},{"uid":"5f67-6"}]},"5f67-2":{"id":"/packages/query-core/src/utils.ts","moduleParts":{"index.production.js":"5f67-3"},"imported":[],"importedBy":[{"uid":"5f67-38"},{"uid":"5f67-8"},{"uid":"5f67-18"},{"uid":"5f67-26"},{"uid":"5f67-28"},{"uid":"5f67-30"},{"uid":"5f67-22"},{"uid":"5f67-34"},{"uid":"5f67-12"},{"uid":"5f67-4"},{"uid":"5f67-6"},{"uid":"5f67-16"},{"uid":"5f67-14"}]},"5f67-4":{"id":"/packages/query-core/src/focusManager.ts","moduleParts":{"index.production.js":"5f67-5"},"imported":[{"uid":"5f67-0"},{"uid":"5f67-2"}],"importedBy":[{"uid":"5f67-38"},{"uid":"5f67-8"},{"uid":"5f67-26"},{"uid":"5f67-28"}]},"5f67-6":{"id":"/packages/query-core/src/onlineManager.ts","moduleParts":{"index.production.js":"5f67-7"},"imported":[{"uid":"5f67-0"},{"uid":"5f67-2"}],"importedBy":[{"uid":"5f67-38"},{"uid":"5f67-8"},{"uid":"5f67-26"}]},"5f67-8":{"id":"/packages/query-core/src/retryer.ts","moduleParts":{"index.production.js":"5f67-9"},"imported":[{"uid":"5f67-4"},{"uid":"5f67-6"},{"uid":"5f67-2"}],"importedBy":[{"uid":"5f67-38"},{"uid":"5f67-28"},{"uid":"5f67-16"},{"uid":"5f67-20"}]},"5f67-10":{"id":"/packages/query-core/src/logger.ts","moduleParts":{"index.production.js":"5f67-11"},"imported":[],"importedBy":[{"uid":"5f67-26"},{"uid":"5f67-16"},{"uid":"5f67-20"}]},"5f67-12":{"id":"/packages/query-core/src/notifyManager.ts","moduleParts":{"index.production.js":"5f67-13"},"imported":[{"uid":"5f67-2"}],"importedBy":[{"uid":"5f67-38"},{"uid":"5f67-18"},{"uid":"5f67-26"},{"uid":"5f67-28"},{"uid":"5f67-30"},{"uid":"5f67-22"},{"uid":"5f67-34"},{"uid":"5f67-16"},{"uid":"5f67-20"}]},"5f67-14":{"id":"/packages/query-core/src/removable.ts","moduleParts":{"index.production.js":"5f67-15"},"imported":[{"uid":"5f67-2"}],"importedBy":[{"uid":"5f67-16"},{"uid":"5f67-20"}]},"5f67-16":{"id":"/packages/query-core/src/query.ts","moduleParts":{"index.production.js":"5f67-17"},"imported":[{"uid":"5f67-2"},{"uid":"5f67-10"},{"uid":"5f67-12"},{"uid":"5f67-8"},{"uid":"5f67-14"}],"importedBy":[{"uid":"5f67-18"}]},"5f67-18":{"id":"/packages/query-core/src/queryCache.ts","moduleParts":{"index.production.js":"5f67-19"},"imported":[{"uid":"5f67-2"},{"uid":"5f67-16"},{"uid":"5f67-12"},{"uid":"5f67-0"}],"importedBy":[{"uid":"5f67-38"},{"uid":"5f67-26"}]},"5f67-20":{"id":"/packages/query-core/src/mutation.ts","moduleParts":{"index.production.js":"5f67-21"},"imported":[{"uid":"5f67-10"},{"uid":"5f67-12"},{"uid":"5f67-14"},{"uid":"5f67-8"}],"importedBy":[{"uid":"5f67-22"},{"uid":"5f67-34"}]},"5f67-22":{"id":"/packages/query-core/src/mutationCache.ts","moduleParts":{"index.production.js":"5f67-23"},"imported":[{"uid":"5f67-12"},{"uid":"5f67-20"},{"uid":"5f67-2"},{"uid":"5f67-0"}],"importedBy":[{"uid":"5f67-38"},{"uid":"5f67-26"}]},"5f67-24":{"id":"/packages/query-core/src/infiniteQueryBehavior.ts","moduleParts":{"index.production.js":"5f67-25"},"imported":[],"importedBy":[{"uid":"5f67-26"},{"uid":"5f67-32"}]},"5f67-26":{"id":"/packages/query-core/src/queryClient.ts","moduleParts":{"index.production.js":"5f67-27"},"imported":[{"uid":"5f67-2"},{"uid":"5f67-18"},{"uid":"5f67-22"},{"uid":"5f67-4"},{"uid":"5f67-6"},{"uid":"5f67-12"},{"uid":"5f67-24"},{"uid":"5f67-10"}],"importedBy":[{"uid":"5f67-38"}]},"5f67-28":{"id":"/packages/query-core/src/queryObserver.ts","moduleParts":{"index.production.js":"5f67-29"},"imported":[{"uid":"5f67-2"},{"uid":"5f67-12"},{"uid":"5f67-4"},{"uid":"5f67-0"},{"uid":"5f67-8"}],"importedBy":[{"uid":"5f67-38"},{"uid":"5f67-30"},{"uid":"5f67-32"}]},"5f67-30":{"id":"/packages/query-core/src/queriesObserver.ts","moduleParts":{"index.production.js":"5f67-31"},"imported":[{"uid":"5f67-2"},{"uid":"5f67-12"},{"uid":"5f67-28"},{"uid":"5f67-0"}],"importedBy":[{"uid":"5f67-38"}]},"5f67-32":{"id":"/packages/query-core/src/infiniteQueryObserver.ts","moduleParts":{"index.production.js":"5f67-33"},"imported":[{"uid":"5f67-28"},{"uid":"5f67-24"}],"importedBy":[{"uid":"5f67-38"}]},"5f67-34":{"id":"/packages/query-core/src/mutationObserver.ts","moduleParts":{"index.production.js":"5f67-35"},"imported":[{"uid":"5f67-20"},{"uid":"5f67-12"},{"uid":"5f67-0"},{"uid":"5f67-2"}],"importedBy":[{"uid":"5f67-38"}]},"5f67-36":{"id":"/packages/query-core/src/hydration.ts","moduleParts":{"index.production.js":"5f67-37"},"imported":[],"importedBy":[{"uid":"5f67-38"}]},"5f67-38":{"id":"/packages/query-core/src/index.ts","moduleParts":{"index.production.js":"5f67-39"},"imported":[{"uid":"5f67-8"},{"uid":"5f67-18"},{"uid":"5f67-26"},{"uid":"5f67-28"},{"uid":"5f67-30"},{"uid":"5f67-32"},{"uid":"5f67-22"},{"uid":"5f67-34"},{"uid":"5f67-12"},{"uid":"5f67-4"},{"uid":"5f67-6"},{"uid":"5f67-2"},{"uid":"5f67-36"},{"uid":"5f67-40"}],"importedBy":[],"isEntry":true},"5f67-40":{"id":"/packages/query-core/src/types.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"5f67-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;
|