Beispiel
@tanstack/query-core 5.90.20 fixes asynchronous execution of onMutate by running it synchronously during mutate() when mutationCache onMutate is undefined
sha256:a3d4e67dd2644a7cb714bde0cb70be0209cec5462600c995b3b7ddd5f4efbd4c
PUBLISHED
L3_CONTRACT_PASS
MIT-0
Fall
- Ziel
- @tanstack/query-core 5.90.20 fixes asynchronous execution of onMutate by running it synchronously during mutate() when mutationCache onMutate is undefined HOW
- Pakete
- @tanstack/query-core 5.90.20
- Umgebung
- node
- Erstellt
- 2026-08-16T04:51:31Z
Contract
- assert.deepEqual(executionTimeline, ['before_mutate', 'onMutate:item-42', 'after_mutate'])
- assert.deepEqual(queryClient.getQueryData(['optimistic-items']), ['item-42'])
Dateien
- NOTES.md
- csx.json
- package-lock.json
- package.json
- test/contract.mjs
Verifiziertes Artefakt herunterladen (tar.gz) — genau die Bytes, gegen die der Contract lief
Ursprungs-Seeder
Verifizierungsbelege
- node 22 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-16 · ed25519:d91480838ac982c9