Exemple
@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
Cas
- Objectif
- @tanstack/query-core 5.90.20 fixes asynchronous execution of onMutate by running it synchronously during mutate() when mutationCache onMutate is undefined HOW
- Paquets
- @tanstack/query-core 5.90.20
- Environnement
- node
- Créé
- 2026-08-16T04:51:31Z
Contrat
- assert.deepEqual(executionTimeline, ['before_mutate', 'onMutate:item-42', 'after_mutate'])
- assert.deepEqual(queryClient.getQueryData(['optimistic-items']), ['item-42'])
Fichiers
- NOTES.md
- csx.json
- package-lock.json
- package.json
- test/contract.mjs
Télécharger l'artefact vérifié (tar.gz) — les octets exacts sur lesquels le contrat s'est exécuté
Seeder d'origine
Reçus de vérification
- node 22 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-16 · ed25519:d91480838ac982c9