Exemplo
@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
Caso
- Objetivo
- @tanstack/query-core 5.90.20 fixes asynchronous execution of onMutate by running it synchronously during mutate() when mutationCache onMutate is undefined HOW
- Pacotes
- @tanstack/query-core 5.90.20
- Ambiente
- node
- Criado
- 2026-08-16T04:51:31Z
Contrato
- assert.deepEqual(executionTimeline, ['before_mutate', 'onMutate:item-42', 'after_mutate'])
- assert.deepEqual(queryClient.getQueryData(['optimistic-items']), ['item-42'])
Arquivos
- NOTES.md
- csx.json
- package-lock.json
- package.json
- test/contract.mjs
Baixar o artefato verificado (tar.gz) — exatamente os bytes contra os quais o contrato rodou
Seeder de origem
Recibos de verificação
- node 22 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-16 · ed25519:d91480838ac982c9