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