chore: Migrate test setup to Vitest (#1162)
Before adoption: this commit came in with the history the project adopted, so no landing records it.
* Add Vitest dep * Add Vitest config * Update tests for Vitest * Update prod snapshots * Remove Jest config files * Add prod test config * Update test commands
authored by Mark Erikson · committed by GitHub · parent 3629a51 · Browse files · 27 files·+1799 added−1122 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
27 files+1799 added−1122 removed
- tests:+1125 added−1066 removed
- other:+674 added−56 removed
Provenance
- Commit
4b8bcc5- Tree
11dd10e- Author
Mark Erikson <mark@isquaredsoftware.com>- Committer
GitHub <noreply@github.com>- Parent
3629a51
27 files changed+1799 added−1122 removed
modified:__tests__/__prod_snapshots__/base.js.snap+89 added-89 removed
1-// Jest Snapshot v1, https://goo.gl/fbAQLP1+// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html2 3-exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=false map drafts revokes map proxies 1`] = `"[Immer] minified error nr: 3. Full error at: https://bit.ly/3cXEKWf"`;3+exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=false > map drafts > revokes map proxies 1`] = `[Error: [Immer] minified error nr: 3. Full error at: https://bit.ly/3cXEKWf]`;4 5-exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=false map drafts revokes map proxies 2`] = `"[Immer] minified error nr: 3. Full error at: https://bit.ly/3cXEKWf"`;5+exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=false > map drafts > revokes map proxies 2`] = `[Error: [Immer] minified error nr: 3. Full error at: https://bit.ly/3cXEKWf]`;6 7-exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=false recipe functions cannot return a modified child draft 1`] = `"[Immer] minified error nr: 4. Full error at: https://bit.ly/3cXEKWf"`;7+exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=false > recipe functions > cannot return a modified child draft 1`] = `[Error: [Immer] minified error nr: 4. Full error at: https://bit.ly/3cXEKWf]`;8 9-exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=false recipe functions cannot return an object that references itself 1`] = `"Maximum call stack size exceeded"`;9+exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=false > recipe functions > cannot return an object that references itself 1`] = `[RangeError: Maximum call stack size exceeded]`;10 11-exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=false set drafts revokes sets 1`] = `"[Immer] minified error nr: 3. Full error at: https://bit.ly/3cXEKWf"`;11+exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=false > set drafts > revokes sets 1`] = `[Error: [Immer] minified error nr: 3. Full error at: https://bit.ly/3cXEKWf]`;12 13-exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=false set drafts revokes sets 2`] = `"[Immer] minified error nr: 3. Full error at: https://bit.ly/3cXEKWf"`;13+exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=false > set drafts > revokes sets 2`] = `[Error: [Immer] minified error nr: 3. Full error at: https://bit.ly/3cXEKWf]`;14 15-exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=false throws when Object.defineProperty() is used on drafts 1`] = `"[Immer] minified error nr: 11. Full error at: https://bit.ly/3cXEKWf"`;15+exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=false > throws when Object.defineProperty() is used on drafts 1`] = `[Error: [Immer] minified error nr: 11. Full error at: https://bit.ly/3cXEKWf]`;16 17-exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=false throws when Object.setPrototypeOf() is used on a draft 1`] = `"[Immer] minified error nr: 12. Full error at: https://bit.ly/3cXEKWf"`;17+exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=false > throws when Object.setPrototypeOf() is used on a draft 1`] = `[Error: [Immer] minified error nr: 12. Full error at: https://bit.ly/3cXEKWf]`;18 19-exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=false throws when the draft is modified and another object is returned 1`] = `"[Immer] minified error nr: 4. Full error at: https://bit.ly/3cXEKWf"`;19+exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=false > throws when the draft is modified and another object is returned 1`] = `[Error: [Immer] minified error nr: 4. Full error at: https://bit.ly/3cXEKWf]`;20 21-exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=true map drafts revokes map proxies 1`] = `"[Immer] minified error nr: 3. Full error at: https://bit.ly/3cXEKWf"`;21+exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=true > map drafts > revokes map proxies 1`] = `[Error: [Immer] minified error nr: 3. Full error at: https://bit.ly/3cXEKWf]`;22 23-exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=true map drafts revokes map proxies 2`] = `"[Immer] minified error nr: 3. Full error at: https://bit.ly/3cXEKWf"`;23+exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=true > map drafts > revokes map proxies 2`] = `[Error: [Immer] minified error nr: 3. Full error at: https://bit.ly/3cXEKWf]`;24 25-exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=true recipe functions cannot return a modified child draft 1`] = `"[Immer] minified error nr: 4. Full error at: https://bit.ly/3cXEKWf"`;25+exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=true > recipe functions > cannot return a modified child draft 1`] = `[Error: [Immer] minified error nr: 4. Full error at: https://bit.ly/3cXEKWf]`;26 27-exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=true recipe functions cannot return an object that references itself 1`] = `"Maximum call stack size exceeded"`;27+exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=true > recipe functions > cannot return an object that references itself 1`] = `[RangeError: Maximum call stack size exceeded]`;28 29-exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=true set drafts revokes sets 1`] = `"[Immer] minified error nr: 3. Full error at: https://bit.ly/3cXEKWf"`;29+exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=true > set drafts > revokes sets 1`] = `[Error: [Immer] minified error nr: 3. Full error at: https://bit.ly/3cXEKWf]`;30 31-exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=true set drafts revokes sets 2`] = `"[Immer] minified error nr: 3. Full error at: https://bit.ly/3cXEKWf"`;31+exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=true > set drafts > revokes sets 2`] = `[Error: [Immer] minified error nr: 3. Full error at: https://bit.ly/3cXEKWf]`;32 33-exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=true throws when Object.defineProperty() is used on drafts 1`] = `"[Immer] minified error nr: 11. Full error at: https://bit.ly/3cXEKWf"`;33+exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=true > throws when Object.defineProperty() is used on drafts 1`] = `[Error: [Immer] minified error nr: 11. Full error at: https://bit.ly/3cXEKWf]`;34 35-exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=true throws when Object.setPrototypeOf() is used on a draft 1`] = `"[Immer] minified error nr: 12. Full error at: https://bit.ly/3cXEKWf"`;35+exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=true > throws when Object.setPrototypeOf() is used on a draft 1`] = `[Error: [Immer] minified error nr: 12. Full error at: https://bit.ly/3cXEKWf]`;36 37-exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=true throws when the draft is modified and another object is returned 1`] = `"[Immer] minified error nr: 4. Full error at: https://bit.ly/3cXEKWf"`;37+exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=true > throws when the draft is modified and another object is returned 1`] = `[Error: [Immer] minified error nr: 4. Full error at: https://bit.ly/3cXEKWf]`;38 39-exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=false map drafts revokes map proxies 1`] = `"[Immer] minified error nr: 3. Full error at: https://bit.ly/3cXEKWf"`;39+exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=false > map drafts > revokes map proxies 1`] = `[Error: [Immer] minified error nr: 3. Full error at: https://bit.ly/3cXEKWf]`;40 41-exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=false map drafts revokes map proxies 2`] = `"[Immer] minified error nr: 3. Full error at: https://bit.ly/3cXEKWf"`;41+exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=false > map drafts > revokes map proxies 2`] = `[Error: [Immer] minified error nr: 3. Full error at: https://bit.ly/3cXEKWf]`;42 43-exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=false recipe functions cannot return a modified child draft 1`] = `"[Immer] minified error nr: 4. Full error at: https://bit.ly/3cXEKWf"`;43+exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=false > recipe functions > cannot return a modified child draft 1`] = `[Error: [Immer] minified error nr: 4. Full error at: https://bit.ly/3cXEKWf]`;44 45-exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=false recipe functions cannot return an object that references itself 1`] = `"Maximum call stack size exceeded"`;45+exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=false > recipe functions > cannot return an object that references itself 1`] = `[RangeError: Maximum call stack size exceeded]`;46 47-exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=false set drafts revokes sets 1`] = `"[Immer] minified error nr: 3. Full error at: https://bit.ly/3cXEKWf"`;47+exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=false > set drafts > revokes sets 1`] = `[Error: [Immer] minified error nr: 3. Full error at: https://bit.ly/3cXEKWf]`;48 49-exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=false set drafts revokes sets 2`] = `"[Immer] minified error nr: 3. Full error at: https://bit.ly/3cXEKWf"`;49+exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=false > set drafts > revokes sets 2`] = `[Error: [Immer] minified error nr: 3. Full error at: https://bit.ly/3cXEKWf]`;50 51-exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=false throws when Object.defineProperty() is used on drafts 1`] = `"[Immer] minified error nr: 11. Full error at: https://bit.ly/3cXEKWf"`;51+exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=false > throws when Object.defineProperty() is used on drafts 1`] = `[Error: [Immer] minified error nr: 11. Full error at: https://bit.ly/3cXEKWf]`;52 53-exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=false throws when Object.setPrototypeOf() is used on a draft 1`] = `"[Immer] minified error nr: 12. Full error at: https://bit.ly/3cXEKWf"`;53+exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=false > throws when Object.setPrototypeOf() is used on a draft 1`] = `[Error: [Immer] minified error nr: 12. Full error at: https://bit.ly/3cXEKWf]`;54 55-exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=false throws when the draft is modified and another object is returned 1`] = `"[Immer] minified error nr: 4. Full error at: https://bit.ly/3cXEKWf"`;55+exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=false > throws when the draft is modified and another object is returned 1`] = `[Error: [Immer] minified error nr: 4. Full error at: https://bit.ly/3cXEKWf]`;56 57-exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=true map drafts revokes map proxies 1`] = `"[Immer] minified error nr: 3. Full error at: https://bit.ly/3cXEKWf"`;57+exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=true > map drafts > revokes map proxies 1`] = `[Error: [Immer] minified error nr: 3. Full error at: https://bit.ly/3cXEKWf]`;58 59-exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=true map drafts revokes map proxies 2`] = `"[Immer] minified error nr: 3. Full error at: https://bit.ly/3cXEKWf"`;59+exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=true > map drafts > revokes map proxies 2`] = `[Error: [Immer] minified error nr: 3. Full error at: https://bit.ly/3cXEKWf]`;60 61-exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=true recipe functions cannot return a modified child draft 1`] = `"[Immer] minified error nr: 4. Full error at: https://bit.ly/3cXEKWf"`;61+exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=true > recipe functions > cannot return a modified child draft 1`] = `[Error: [Immer] minified error nr: 4. Full error at: https://bit.ly/3cXEKWf]`;62 63-exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=true recipe functions cannot return an object that references itself 1`] = `"Maximum call stack size exceeded"`;63+exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=true > recipe functions > cannot return an object that references itself 1`] = `[RangeError: Maximum call stack size exceeded]`;64 65-exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=true set drafts revokes sets 1`] = `"[Immer] minified error nr: 3. Full error at: https://bit.ly/3cXEKWf"`;65+exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=true > set drafts > revokes sets 1`] = `[Error: [Immer] minified error nr: 3. Full error at: https://bit.ly/3cXEKWf]`;66 67-exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=true set drafts revokes sets 2`] = `"[Immer] minified error nr: 3. Full error at: https://bit.ly/3cXEKWf"`;67+exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=true > set drafts > revokes sets 2`] = `[Error: [Immer] minified error nr: 3. Full error at: https://bit.ly/3cXEKWf]`;68 69-exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=true throws when Object.defineProperty() is used on drafts 1`] = `"[Immer] minified error nr: 11. Full error at: https://bit.ly/3cXEKWf"`;69+exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=true > throws when Object.defineProperty() is used on drafts 1`] = `[Error: [Immer] minified error nr: 11. Full error at: https://bit.ly/3cXEKWf]`;70 71-exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=true throws when Object.setPrototypeOf() is used on a draft 1`] = `"[Immer] minified error nr: 12. Full error at: https://bit.ly/3cXEKWf"`;71+exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=true > throws when Object.setPrototypeOf() is used on a draft 1`] = `[Error: [Immer] minified error nr: 12. Full error at: https://bit.ly/3cXEKWf]`;72 73-exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=true throws when the draft is modified and another object is returned 1`] = `"[Immer] minified error nr: 4. Full error at: https://bit.ly/3cXEKWf"`;73+exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=true > throws when the draft is modified and another object is returned 1`] = `[Error: [Immer] minified error nr: 4. Full error at: https://bit.ly/3cXEKWf]`;74 75-exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=false map drafts revokes map proxies 1`] = `"[Immer] minified error nr: 3. Full error at: https://bit.ly/3cXEKWf"`;75+exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=false > map drafts > revokes map proxies 1`] = `[Error: [Immer] minified error nr: 3. Full error at: https://bit.ly/3cXEKWf]`;76 77-exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=false map drafts revokes map proxies 2`] = `"[Immer] minified error nr: 3. Full error at: https://bit.ly/3cXEKWf"`;77+exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=false > map drafts > revokes map proxies 2`] = `[Error: [Immer] minified error nr: 3. Full error at: https://bit.ly/3cXEKWf]`;78 79-exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=false recipe functions cannot return a modified child draft 1`] = `"[Immer] minified error nr: 4. Full error at: https://bit.ly/3cXEKWf"`;79+exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=false > recipe functions > cannot return a modified child draft 1`] = `[Error: [Immer] minified error nr: 4. Full error at: https://bit.ly/3cXEKWf]`;80 81-exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=false recipe functions cannot return an object that references itself 1`] = `"Maximum call stack size exceeded"`;81+exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=false > recipe functions > cannot return an object that references itself 1`] = `[RangeError: Maximum call stack size exceeded]`;82 83-exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=false set drafts revokes sets 1`] = `"[Immer] minified error nr: 3. Full error at: https://bit.ly/3cXEKWf"`;83+exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=false > set drafts > revokes sets 1`] = `[Error: [Immer] minified error nr: 3. Full error at: https://bit.ly/3cXEKWf]`;84 85-exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=false set drafts revokes sets 2`] = `"[Immer] minified error nr: 3. Full error at: https://bit.ly/3cXEKWf"`;85+exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=false > set drafts > revokes sets 2`] = `[Error: [Immer] minified error nr: 3. Full error at: https://bit.ly/3cXEKWf]`;86 87-exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=false throws when Object.defineProperty() is used on drafts 1`] = `"[Immer] minified error nr: 11. Full error at: https://bit.ly/3cXEKWf"`;87+exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=false > throws when Object.defineProperty() is used on drafts 1`] = `[Error: [Immer] minified error nr: 11. Full error at: https://bit.ly/3cXEKWf]`;88 89-exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=false throws when Object.setPrototypeOf() is used on a draft 1`] = `"[Immer] minified error nr: 12. Full error at: https://bit.ly/3cXEKWf"`;89+exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=false > throws when Object.setPrototypeOf() is used on a draft 1`] = `[Error: [Immer] minified error nr: 12. Full error at: https://bit.ly/3cXEKWf]`;90 91-exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=false throws when the draft is modified and another object is returned 1`] = `"[Immer] minified error nr: 4. Full error at: https://bit.ly/3cXEKWf"`;91+exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=false > throws when the draft is modified and another object is returned 1`] = `[Error: [Immer] minified error nr: 4. Full error at: https://bit.ly/3cXEKWf]`;92 93-exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=true map drafts revokes map proxies 1`] = `"[Immer] minified error nr: 3. Full error at: https://bit.ly/3cXEKWf"`;93+exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=true > map drafts > revokes map proxies 1`] = `[Error: [Immer] minified error nr: 3. Full error at: https://bit.ly/3cXEKWf]`;94 95-exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=true map drafts revokes map proxies 2`] = `"[Immer] minified error nr: 3. Full error at: https://bit.ly/3cXEKWf"`;95+exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=true > map drafts > revokes map proxies 2`] = `[Error: [Immer] minified error nr: 3. Full error at: https://bit.ly/3cXEKWf]`;96 97-exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=true recipe functions cannot return a modified child draft 1`] = `"[Immer] minified error nr: 4. Full error at: https://bit.ly/3cXEKWf"`;97+exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=true > recipe functions > cannot return a modified child draft 1`] = `[Error: [Immer] minified error nr: 4. Full error at: https://bit.ly/3cXEKWf]`;98 99-exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=true recipe functions cannot return an object that references itself 1`] = `"Maximum call stack size exceeded"`;99+exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=true > recipe functions > cannot return an object that references itself 1`] = `[RangeError: Maximum call stack size exceeded]`;100 101-exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=true set drafts revokes sets 1`] = `"[Immer] minified error nr: 3. Full error at: https://bit.ly/3cXEKWf"`;101+exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=true > set drafts > revokes sets 1`] = `[Error: [Immer] minified error nr: 3. Full error at: https://bit.ly/3cXEKWf]`;102 103-exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=true set drafts revokes sets 2`] = `"[Immer] minified error nr: 3. Full error at: https://bit.ly/3cXEKWf"`;103+exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=true > set drafts > revokes sets 2`] = `[Error: [Immer] minified error nr: 3. Full error at: https://bit.ly/3cXEKWf]`;104 105-exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=true throws when Object.defineProperty() is used on drafts 1`] = `"[Immer] minified error nr: 11. Full error at: https://bit.ly/3cXEKWf"`;105+exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=true > throws when Object.defineProperty() is used on drafts 1`] = `[Error: [Immer] minified error nr: 11. Full error at: https://bit.ly/3cXEKWf]`;106 107-exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=true throws when Object.setPrototypeOf() is used on a draft 1`] = `"[Immer] minified error nr: 12. Full error at: https://bit.ly/3cXEKWf"`;107+exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=true > throws when Object.setPrototypeOf() is used on a draft 1`] = `[Error: [Immer] minified error nr: 12. Full error at: https://bit.ly/3cXEKWf]`;108 109-exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=true throws when the draft is modified and another object is returned 1`] = `"[Immer] minified error nr: 4. Full error at: https://bit.ly/3cXEKWf"`;109+exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=true > throws when the draft is modified and another object is returned 1`] = `[Error: [Immer] minified error nr: 4. Full error at: https://bit.ly/3cXEKWf]`;110 111-exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=false map drafts revokes map proxies 1`] = `"[Immer] minified error nr: 3. Full error at: https://bit.ly/3cXEKWf"`;111+exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=false > map drafts > revokes map proxies 1`] = `[Error: [Immer] minified error nr: 3. Full error at: https://bit.ly/3cXEKWf]`;112 113-exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=false map drafts revokes map proxies 2`] = `"[Immer] minified error nr: 3. Full error at: https://bit.ly/3cXEKWf"`;113+exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=false > map drafts > revokes map proxies 2`] = `[Error: [Immer] minified error nr: 3. Full error at: https://bit.ly/3cXEKWf]`;114 115-exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=false recipe functions cannot return a modified child draft 1`] = `"[Immer] minified error nr: 4. Full error at: https://bit.ly/3cXEKWf"`;115+exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=false > recipe functions > cannot return a modified child draft 1`] = `[Error: [Immer] minified error nr: 4. Full error at: https://bit.ly/3cXEKWf]`;116 117-exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=false recipe functions cannot return an object that references itself 1`] = `"Maximum call stack size exceeded"`;117+exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=false > recipe functions > cannot return an object that references itself 1`] = `[RangeError: Maximum call stack size exceeded]`;118 119-exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=false set drafts revokes sets 1`] = `"[Immer] minified error nr: 3. Full error at: https://bit.ly/3cXEKWf"`;119+exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=false > set drafts > revokes sets 1`] = `[Error: [Immer] minified error nr: 3. Full error at: https://bit.ly/3cXEKWf]`;120 121-exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=false set drafts revokes sets 2`] = `"[Immer] minified error nr: 3. Full error at: https://bit.ly/3cXEKWf"`;121+exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=false > set drafts > revokes sets 2`] = `[Error: [Immer] minified error nr: 3. Full error at: https://bit.ly/3cXEKWf]`;122 123-exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=false throws when Object.defineProperty() is used on drafts 1`] = `"[Immer] minified error nr: 11. Full error at: https://bit.ly/3cXEKWf"`;123+exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=false > throws when Object.defineProperty() is used on drafts 1`] = `[Error: [Immer] minified error nr: 11. Full error at: https://bit.ly/3cXEKWf]`;124 125-exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=false throws when Object.setPrototypeOf() is used on a draft 1`] = `"[Immer] minified error nr: 12. Full error at: https://bit.ly/3cXEKWf"`;125+exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=false > throws when Object.setPrototypeOf() is used on a draft 1`] = `[Error: [Immer] minified error nr: 12. Full error at: https://bit.ly/3cXEKWf]`;126 127-exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=false throws when the draft is modified and another object is returned 1`] = `"[Immer] minified error nr: 4. Full error at: https://bit.ly/3cXEKWf"`;127+exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=false > throws when the draft is modified and another object is returned 1`] = `[Error: [Immer] minified error nr: 4. Full error at: https://bit.ly/3cXEKWf]`;128 129-exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=true map drafts revokes map proxies 1`] = `"[Immer] minified error nr: 3. Full error at: https://bit.ly/3cXEKWf"`;129+exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=true > map drafts > revokes map proxies 1`] = `[Error: [Immer] minified error nr: 3. Full error at: https://bit.ly/3cXEKWf]`;130 131-exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=true map drafts revokes map proxies 2`] = `"[Immer] minified error nr: 3. Full error at: https://bit.ly/3cXEKWf"`;131+exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=true > map drafts > revokes map proxies 2`] = `[Error: [Immer] minified error nr: 3. Full error at: https://bit.ly/3cXEKWf]`;132 133-exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=true recipe functions cannot return a modified child draft 1`] = `"[Immer] minified error nr: 4. Full error at: https://bit.ly/3cXEKWf"`;133+exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=true > recipe functions > cannot return a modified child draft 1`] = `[Error: [Immer] minified error nr: 4. Full error at: https://bit.ly/3cXEKWf]`;134 135-exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=true recipe functions cannot return an object that references itself 1`] = `"Maximum call stack size exceeded"`;135+exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=true > recipe functions > cannot return an object that references itself 1`] = `[RangeError: Maximum call stack size exceeded]`;136 137-exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=true set drafts revokes sets 1`] = `"[Immer] minified error nr: 3. Full error at: https://bit.ly/3cXEKWf"`;137+exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=true > set drafts > revokes sets 1`] = `[Error: [Immer] minified error nr: 3. Full error at: https://bit.ly/3cXEKWf]`;138 139-exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=true set drafts revokes sets 2`] = `"[Immer] minified error nr: 3. Full error at: https://bit.ly/3cXEKWf"`;139+exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=true > set drafts > revokes sets 2`] = `[Error: [Immer] minified error nr: 3. Full error at: https://bit.ly/3cXEKWf]`;140 141-exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=true throws when Object.defineProperty() is used on drafts 1`] = `"[Immer] minified error nr: 11. Full error at: https://bit.ly/3cXEKWf"`;141+exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=true > throws when Object.defineProperty() is used on drafts 1`] = `[Error: [Immer] minified error nr: 11. Full error at: https://bit.ly/3cXEKWf]`;142 143-exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=true throws when Object.setPrototypeOf() is used on a draft 1`] = `"[Immer] minified error nr: 12. Full error at: https://bit.ly/3cXEKWf"`;143+exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=true > throws when Object.setPrototypeOf() is used on a draft 1`] = `[Error: [Immer] minified error nr: 12. Full error at: https://bit.ly/3cXEKWf]`;144 145-exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=true throws when the draft is modified and another object is returned 1`] = `"[Immer] minified error nr: 4. Full error at: https://bit.ly/3cXEKWf"`;145+exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=true > throws when the draft is modified and another object is returned 1`] = `[Error: [Immer] minified error nr: 4. Full error at: https://bit.ly/3cXEKWf]`;146 147-exports[`complex nesting map / set / object modify deep object 1`] = `147+exports[`complex nesting map / set / object > modify deep object 1`] = `148 {149 "map": Map {150 "set1" => Set {151 {11 unmodified lines163 },164 }165 `;166 167-exports[`complex nesting map / set / object modify deep object 2`] = `167+exports[`complex nesting map / set / object > modify deep object 2`] = `168 [169 {170 "op": "remove",171 "path": [18 unmodified lines190 },191 ]192 `;193 194-exports[`complex nesting map / set / object modify deep object 3`] = `194+exports[`complex nesting map / set / object > modify deep object 3`] = `195 {196 "map": Map {197 "set1" => Set {198 {11 unmodified lines210 },211 }212 `;213 214-exports[`complex nesting map / set / object modify deep object 4`] = `214+exports[`complex nesting map / set / object > modify deep object 4`] = `215 [216 {217 "op": "remove",218 "path": [18 unmodified lines237 },238 ]239 `;240 241-exports[`complex nesting map / set / object modify deep object 5`] = `241+exports[`complex nesting map / set / object > modify deep object 5`] = `242 {243 "map": Map {244 "set1" => Set {245 {11 unmodified lines257 },258 }259 `;260 261-exports[`complex nesting map / set / object modify deep object 6`] = `261+exports[`complex nesting map / set / object > modify deep object 6`] = `262 [263 {264 "op": "remove",265 "path": [18 unmodified lines284 },285 ]286 `;287 288-exports[`complex nesting map / set / object modify deep object 7`] = `288+exports[`complex nesting map / set / object > modify deep object 7`] = `289 {290 "map": Map {291 "set1" => Set {292 {11 unmodified lines304 },305 }306 `;307 308-exports[`complex nesting map / set / object modify deep object 8`] = `308+exports[`complex nesting map / set / object > modify deep object 8`] = `309 [310 {311 "op": "remove",312 "path": [18 unmodified lines331 },332 ]333 `;334 335-exports[`complex nesting map / set / object modify deep object 9`] = `335+exports[`complex nesting map / set / object > modify deep object 9`] = `336 {337 "map": Map {338 "set1" => Set {339 {11 unmodified lines351 },352 }353 `;354 355-exports[`complex nesting map / set / object modify deep object 10`] = `355+exports[`complex nesting map / set / object > modify deep object 10`] = `356 [357 {358 "op": "remove",359 "path": [18 unmodified lines378 },379 ]380 `;381 382-exports[`complex nesting map / set / object modify deep object 11`] = `382+exports[`complex nesting map / set / object > modify deep object 11`] = `383 {384 "map": Map {385 "set1" => Set {386 {11 unmodified lines398 },399 }400 `;401 402-exports[`complex nesting map / set / object modify deep object 12`] = `402+exports[`complex nesting map / set / object > modify deep object 12`] = `403 [404 {405 "op": "remove",406 "path": [18 unmodified lines425 },426 ]427 `;428 429-exports[`complex nesting map / set / object modify deep object 13`] = `429+exports[`complex nesting map / set / object > modify deep object 13`] = `430 {431 "map": Map {432 "set1" => Set {433 {11 unmodified lines445 },446 }447 `;448 449-exports[`complex nesting map / set / object modify deep object 14`] = `449+exports[`complex nesting map / set / object > modify deep object 14`] = `450 [451 {452 "op": "remove",453 "path": [18 unmodified lines472 },473 ]474 `;475 476-exports[`complex nesting map / set / object modify deep object 15`] = `476+exports[`complex nesting map / set / object > modify deep object 15`] = `477 {478 "map": Map {479 "set1" => Set {480 {11 unmodified lines492 },493 }494 `;495 496-exports[`complex nesting map / set / object modify deep object 16`] = `496+exports[`complex nesting map / set / object > modify deep object 16`] = `497 [498 {499 "op": "remove",500 "path": [21 unmodified linesmodified:__tests__/__prod_snapshots__/curry.js.snap+5 added-5 removed
1-// Jest Snapshot v1, https://goo.gl/fbAQLP1+// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html2 3-exports[`curry - proxy should check arguments 1`] = `"[Immer] minified error nr: 6. Full error at: https://bit.ly/3cXEKWf"`;3+exports[`curry - proxy > should check arguments 1`] = `[Error: [Immer] minified error nr: 6. Full error at: https://bit.ly/3cXEKWf]`;4 5-exports[`curry - proxy should check arguments 2`] = `"[Immer] minified error nr: 6. Full error at: https://bit.ly/3cXEKWf"`;5+exports[`curry - proxy > should check arguments 2`] = `[Error: [Immer] minified error nr: 6. Full error at: https://bit.ly/3cXEKWf]`;6 7-exports[`curry - proxy should check arguments 3`] = `"[Immer] minified error nr: 6. Full error at: https://bit.ly/3cXEKWf"`;7+exports[`curry - proxy > should check arguments 3`] = `[Error: [Immer] minified error nr: 6. Full error at: https://bit.ly/3cXEKWf]`;8 9-exports[`curry - proxy should check arguments 4`] = `"[Immer] minified error nr: 7. Full error at: https://bit.ly/3cXEKWf"`;9+exports[`curry - proxy > should check arguments 4`] = `[Error: [Immer] minified error nr: 7. Full error at: https://bit.ly/3cXEKWf]`;modified:__tests__/__prod_snapshots__/frozen.js.snap+7 added-7 removed
1-// Jest Snapshot v1, https://goo.gl/fbAQLP1+// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html2 3-exports[`auto freeze - proxy will freeze maps 1`] = `"[Immer] minified error nr: 2. Full error at: https://bit.ly/3cXEKWf"`;3+exports[`auto freeze - proxy > will freeze maps 1`] = `[Error: [Immer] minified error nr: 2. Full error at: https://bit.ly/3cXEKWf]`;4 5-exports[`auto freeze - proxy will freeze maps 2`] = `"[Immer] minified error nr: 2. Full error at: https://bit.ly/3cXEKWf"`;5+exports[`auto freeze - proxy > will freeze maps 2`] = `[Error: [Immer] minified error nr: 2. Full error at: https://bit.ly/3cXEKWf]`;6 7-exports[`auto freeze - proxy will freeze maps 3`] = `"[Immer] minified error nr: 2. Full error at: https://bit.ly/3cXEKWf"`;7+exports[`auto freeze - proxy > will freeze maps 3`] = `[Error: [Immer] minified error nr: 2. Full error at: https://bit.ly/3cXEKWf]`;8 9-exports[`auto freeze - proxy will freeze sets 1`] = `"[Immer] minified error nr: 2. Full error at: https://bit.ly/3cXEKWf"`;9+exports[`auto freeze - proxy > will freeze sets 1`] = `[Error: [Immer] minified error nr: 2. Full error at: https://bit.ly/3cXEKWf]`;10 11-exports[`auto freeze - proxy will freeze sets 2`] = `"[Immer] minified error nr: 2. Full error at: https://bit.ly/3cXEKWf"`;11+exports[`auto freeze - proxy > will freeze sets 2`] = `[Error: [Immer] minified error nr: 2. Full error at: https://bit.ly/3cXEKWf]`;12 13-exports[`auto freeze - proxy will freeze sets 3`] = `"[Immer] minified error nr: 2. Full error at: https://bit.ly/3cXEKWf"`;13+exports[`auto freeze - proxy > will freeze sets 3`] = `[Error: [Immer] minified error nr: 2. Full error at: https://bit.ly/3cXEKWf]`;modified:__tests__/__prod_snapshots__/manual.js.snap+7 added-7 removed
1-// Jest Snapshot v1, https://goo.gl/fbAQLP1+// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html2 3-exports[`manual - proxy cannot finishDraft twice 1`] = `"Cannot perform 'get' on a proxy that has been revoked"`;3+exports[`manual - proxy > cannot finishDraft twice 1`] = `[TypeError: Cannot perform 'get' on a proxy that has been revoked]`;4 5-exports[`manual - proxy should check arguments 1`] = `"[Immer] minified error nr: 8. Full error at: https://bit.ly/3cXEKWf"`;5+exports[`manual - proxy > should check arguments 1`] = `[Error: [Immer] minified error nr: 8. Full error at: https://bit.ly/3cXEKWf]`;6 7-exports[`manual - proxy should check arguments 2`] = `"[Immer] minified error nr: 8. Full error at: https://bit.ly/3cXEKWf"`;7+exports[`manual - proxy > should check arguments 2`] = `[Error: [Immer] minified error nr: 8. Full error at: https://bit.ly/3cXEKWf]`;8 9-exports[`manual - proxy should check arguments 3`] = `"[Immer] minified error nr: 9. Full error at: https://bit.ly/3cXEKWf"`;9+exports[`manual - proxy > should check arguments 3`] = `[Error: [Immer] minified error nr: 9. Full error at: https://bit.ly/3cXEKWf]`;10 11-exports[`manual - proxy should not finish twice 1`] = `"Cannot perform 'get' on a proxy that has been revoked"`;11+exports[`manual - proxy > should not finish twice 1`] = `[TypeError: Cannot perform 'get' on a proxy that has been revoked]`;12 13-exports[`manual - proxy should support patches drafts 1`] = `13+exports[`manual - proxy > should support patches drafts 1`] = `14 [15 [16 [17 {32 unmodified linesmodified:__tests__/__prod_snapshots__/patch.js.snap+4 added-4 removed
1-// Jest Snapshot v1, https://goo.gl/fbAQLP1+// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html2 3-exports[`applyPatches throws when \`op\` is not "add", "replace", nor "remove" 1`] = `"[Immer] minified error nr: 17. Full error at: https://bit.ly/3cXEKWf"`;3+exports[`applyPatches > throws when \`op\` is not "add", "replace", nor "remove" 1`] = `[Error: [Immer] minified error nr: 17. Full error at: https://bit.ly/3cXEKWf]`;4 5-exports[`applyPatches throws when \`path\` cannot be resolved 1`] = `"[Immer] minified error nr: 18. Full error at: https://bit.ly/3cXEKWf"`;5+exports[`applyPatches > throws when \`path\` cannot be resolved 1`] = `[Error: [Immer] minified error nr: 18. Full error at: https://bit.ly/3cXEKWf]`;6 7-exports[`applyPatches throws when \`path\` cannot be resolved 2`] = `"[Immer] minified error nr: 18. Full error at: https://bit.ly/3cXEKWf"`;7+exports[`applyPatches > throws when \`path\` cannot be resolved 2`] = `[Error: [Immer] minified error nr: 18. Full error at: https://bit.ly/3cXEKWf]`;modified:__tests__/__prod_snapshots__/plugins.js.snap+5 added-5 removed
1-// Jest Snapshot v1, https://goo.gl/fbAQLP1+// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html2 3-exports[`error when using Maps 1`] = `"[Immer] minified error nr: 0. Full error at: https://bit.ly/3cXEKWf"`;3+exports[`error when using Maps 1`] = `[Error: [Immer] minified error nr: 0. Full error at: https://bit.ly/3cXEKWf]`;4 5-exports[`error when using patches - 1 1`] = `"[Immer] minified error nr: 0. Full error at: https://bit.ly/3cXEKWf"`;5+exports[`error when using patches - 1 1`] = `[Error: [Immer] minified error nr: 0. Full error at: https://bit.ly/3cXEKWf]`;6 7-exports[`error when using patches - 2 1`] = `"[Immer] minified error nr: 0. Full error at: https://bit.ly/3cXEKWf"`;7+exports[`error when using patches - 2 1`] = `[Error: [Immer] minified error nr: 0. Full error at: https://bit.ly/3cXEKWf]`;8 9-exports[`error when using patches - 3 1`] = `"[Immer] minified error nr: 0. Full error at: https://bit.ly/3cXEKWf"`;9+exports[`error when using patches - 3 1`] = `[Error: [Immer] minified error nr: 0. Full error at: https://bit.ly/3cXEKWf]`;modified:__tests__/__prod_snapshots__/readme.js.snap+2 added-2 removed
1-// Jest Snapshot v1, https://goo.gl/fbAQLP1+// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html2 3-exports[`Producers can update Maps 4`] = `"[Immer] minified error nr: 2. Full error at: https://bit.ly/3cXEKWf"`;3+exports[`Producers can update Maps 4`] = `[Error: [Immer] minified error nr: 2. Full error at: https://bit.ly/3cXEKWf]`;modified:__tests__/__snapshots__/base.js.snap+169 added-169 removed
1-// Jest Snapshot v1, https://goo.gl/fbAQLP1+// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html2 3-exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=false array drafts throws when a non-numeric property is added 1`] = `"[Immer] Immer only supports setting array indices and the 'length' property"`;3+exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=false > array drafts > throws when a non-numeric property is added 1`] = `[Error: [Immer] Immer only supports setting array indices and the 'length' property]`;4 5-exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=false array drafts throws when a non-numeric property is deleted 1`] = `"[Immer] Immer only supports deleting array indices"`;5+exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=false > array drafts > throws when a non-numeric property is deleted 1`] = `[Error: [Immer] Immer only supports deleting array indices]`;6 7-exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=false map drafts revokes map proxies 1`] = `"[Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}"`;7+exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=false > map drafts > revokes map proxies 1`] = `[Error: [Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}]`;8 9-exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=false map drafts revokes map proxies 2`] = `"[Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}"`;9+exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=false > map drafts > revokes map proxies 2`] = `[Error: [Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}]`;10 11-exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=false recipe functions cannot return a modified child draft 1`] = `"[Immer] An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft."`;11+exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=false > recipe functions > cannot return a modified child draft 1`] = `[Error: [Immer] An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.]`;12 13-exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=false recipe functions cannot return an object that references itself 1`] = `"[Immer] Immer forbids circular references"`;13+exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=false > recipe functions > cannot return an object that references itself 1`] = `[Error: [Immer] Immer forbids circular references]`;14 15-exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=false revokes the draft once produce returns 1`] = `"Cannot perform 'get' on a proxy that has been revoked"`;15+exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=false > revokes the draft once produce returns 1`] = `[TypeError: Cannot perform 'get' on a proxy that has been revoked]`;16 17-exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=false revokes the draft once produce returns 2`] = `"Cannot perform 'set' on a proxy that has been revoked"`;17+exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=false > revokes the draft once produce returns 2`] = `[TypeError: Cannot perform 'set' on a proxy that has been revoked]`;18 19-exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=false revokes the draft once produce returns 3`] = `"Cannot perform 'get' on a proxy that has been revoked"`;19+exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=false > revokes the draft once produce returns 3`] = `[TypeError: Cannot perform 'get' on a proxy that has been revoked]`;20 21-exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=false revokes the draft once produce returns 4`] = `"Cannot perform 'set' on a proxy that has been revoked"`;21+exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=false > revokes the draft once produce returns 4`] = `[TypeError: Cannot perform 'set' on a proxy that has been revoked]`;22 23-exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=false revokes the draft once produce returns 5`] = `"Cannot perform 'get' on a proxy that has been revoked"`;23+exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=false > revokes the draft once produce returns 5`] = `[TypeError: Cannot perform 'get' on a proxy that has been revoked]`;24 25-exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=false revokes the draft once produce returns 6`] = `"Cannot perform 'set' on a proxy that has been revoked"`;25+exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=false > revokes the draft once produce returns 6`] = `[TypeError: Cannot perform 'set' on a proxy that has been revoked]`;26 27-exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=false revokes the draft once produce returns 7`] = `"Cannot perform 'get' on a proxy that has been revoked"`;27+exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=false > revokes the draft once produce returns 7`] = `[TypeError: Cannot perform 'get' on a proxy that has been revoked]`;28 29-exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=false revokes the draft once produce returns 8`] = `"Cannot perform 'set' on a proxy that has been revoked"`;29+exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=false > revokes the draft once produce returns 8`] = `[TypeError: Cannot perform 'set' on a proxy that has been revoked]`;30 31-exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=false set drafts revokes sets 1`] = `"[Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}"`;31+exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=false > set drafts > revokes sets 1`] = `[Error: [Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}]`;32 33-exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=false set drafts revokes sets 2`] = `"[Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}"`;33+exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=false > set drafts > revokes sets 2`] = `[Error: [Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}]`;34 35-exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=false throws when Object.defineProperty() is used on drafts 1`] = `"[Immer] Object.defineProperty() cannot be used on an Immer draft"`;35+exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=false > throws when Object.defineProperty() is used on drafts 1`] = `[Error: [Immer] Object.defineProperty() cannot be used on an Immer draft]`;36 37-exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=false throws when Object.setPrototypeOf() is used on a draft 1`] = `"[Immer] Object.setPrototypeOf() cannot be used on an Immer draft"`;37+exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=false > throws when Object.setPrototypeOf() is used on a draft 1`] = `[Error: [Immer] Object.setPrototypeOf() cannot be used on an Immer draft]`;38 39-exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=false throws when the draft is modified and another object is returned 1`] = `"[Immer] An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft."`;39+exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=false > throws when the draft is modified and another object is returned 1`] = `[Error: [Immer] An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.]`;40 41-exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=true array drafts throws when a non-numeric property is added 1`] = `"[Immer] Immer only supports setting array indices and the 'length' property"`;41+exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=true > array drafts > throws when a non-numeric property is added 1`] = `[Error: [Immer] Immer only supports setting array indices and the 'length' property]`;42 43-exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=true array drafts throws when a non-numeric property is deleted 1`] = `"[Immer] Immer only supports deleting array indices"`;43+exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=true > array drafts > throws when a non-numeric property is deleted 1`] = `[Error: [Immer] Immer only supports deleting array indices]`;44 45-exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=true map drafts revokes map proxies 1`] = `"[Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}"`;45+exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=true > map drafts > revokes map proxies 1`] = `[Error: [Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}]`;46 47-exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=true map drafts revokes map proxies 2`] = `"[Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}"`;47+exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=true > map drafts > revokes map proxies 2`] = `[Error: [Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}]`;48 49-exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=true recipe functions cannot return a modified child draft 1`] = `"[Immer] An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft."`;49+exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=true > recipe functions > cannot return a modified child draft 1`] = `[Error: [Immer] An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.]`;50 51-exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=true recipe functions cannot return an object that references itself 1`] = `"[Immer] Immer forbids circular references"`;51+exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=true > recipe functions > cannot return an object that references itself 1`] = `[Error: [Immer] Immer forbids circular references]`;52 53-exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=true revokes the draft once produce returns 1`] = `"Cannot perform 'get' on a proxy that has been revoked"`;53+exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=true > revokes the draft once produce returns 1`] = `[TypeError: Cannot perform 'get' on a proxy that has been revoked]`;54 55-exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=true revokes the draft once produce returns 2`] = `"Cannot perform 'set' on a proxy that has been revoked"`;55+exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=true > revokes the draft once produce returns 2`] = `[TypeError: Cannot perform 'set' on a proxy that has been revoked]`;56 57-exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=true revokes the draft once produce returns 3`] = `"Cannot perform 'get' on a proxy that has been revoked"`;57+exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=true > revokes the draft once produce returns 3`] = `[TypeError: Cannot perform 'get' on a proxy that has been revoked]`;58 59-exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=true revokes the draft once produce returns 4`] = `"Cannot perform 'set' on a proxy that has been revoked"`;59+exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=true > revokes the draft once produce returns 4`] = `[TypeError: Cannot perform 'set' on a proxy that has been revoked]`;60 61-exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=true revokes the draft once produce returns 5`] = `"Cannot perform 'get' on a proxy that has been revoked"`;61+exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=true > revokes the draft once produce returns 5`] = `[TypeError: Cannot perform 'get' on a proxy that has been revoked]`;62 63-exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=true revokes the draft once produce returns 6`] = `"Cannot perform 'set' on a proxy that has been revoked"`;63+exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=true > revokes the draft once produce returns 6`] = `[TypeError: Cannot perform 'set' on a proxy that has been revoked]`;64 65-exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=true revokes the draft once produce returns 7`] = `"Cannot perform 'get' on a proxy that has been revoked"`;65+exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=true > revokes the draft once produce returns 7`] = `[TypeError: Cannot perform 'get' on a proxy that has been revoked]`;66 67-exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=true revokes the draft once produce returns 8`] = `"Cannot perform 'set' on a proxy that has been revoked"`;67+exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=true > revokes the draft once produce returns 8`] = `[TypeError: Cannot perform 'set' on a proxy that has been revoked]`;68 69-exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=true set drafts revokes sets 1`] = `"[Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}"`;69+exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=true > set drafts > revokes sets 1`] = `[Error: [Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}]`;70 71-exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=true set drafts revokes sets 2`] = `"[Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}"`;71+exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=true > set drafts > revokes sets 2`] = `[Error: [Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}]`;72 73-exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=true throws when Object.defineProperty() is used on drafts 1`] = `"[Immer] Object.defineProperty() cannot be used on an Immer draft"`;73+exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=true > throws when Object.defineProperty() is used on drafts 1`] = `[Error: [Immer] Object.defineProperty() cannot be used on an Immer draft]`;74 75-exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=true throws when Object.setPrototypeOf() is used on a draft 1`] = `"[Immer] Object.setPrototypeOf() cannot be used on an Immer draft"`;75+exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=true > throws when Object.setPrototypeOf() is used on a draft 1`] = `[Error: [Immer] Object.setPrototypeOf() cannot be used on an Immer draft]`;76 77-exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=true throws when the draft is modified and another object is returned 1`] = `"[Immer] An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft."`;77+exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=true > throws when the draft is modified and another object is returned 1`] = `[Error: [Immer] An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.]`;78 79-exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=false array drafts throws when a non-numeric property is added 1`] = `"[Immer] Immer only supports setting array indices and the 'length' property"`;79+exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=false > array drafts > throws when a non-numeric property is added 1`] = `[Error: [Immer] Immer only supports setting array indices and the 'length' property]`;80 81-exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=false array drafts throws when a non-numeric property is deleted 1`] = `"[Immer] Immer only supports deleting array indices"`;81+exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=false > array drafts > throws when a non-numeric property is deleted 1`] = `[Error: [Immer] Immer only supports deleting array indices]`;82 83-exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=false map drafts revokes map proxies 1`] = `"[Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}"`;83+exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=false > map drafts > revokes map proxies 1`] = `[Error: [Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}]`;84 85-exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=false map drafts revokes map proxies 2`] = `"[Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}"`;85+exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=false > map drafts > revokes map proxies 2`] = `[Error: [Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}]`;86 87-exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=false recipe functions cannot return a modified child draft 1`] = `"[Immer] An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft."`;87+exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=false > recipe functions > cannot return a modified child draft 1`] = `[Error: [Immer] An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.]`;88 89-exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=false recipe functions cannot return an object that references itself 1`] = `"[Immer] Immer forbids circular references"`;89+exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=false > recipe functions > cannot return an object that references itself 1`] = `[Error: [Immer] Immer forbids circular references]`;90 91-exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=false revokes the draft once produce returns 1`] = `"Cannot perform 'get' on a proxy that has been revoked"`;91+exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=false > revokes the draft once produce returns 1`] = `[TypeError: Cannot perform 'get' on a proxy that has been revoked]`;92 93-exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=false revokes the draft once produce returns 2`] = `"Cannot perform 'set' on a proxy that has been revoked"`;93+exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=false > revokes the draft once produce returns 2`] = `[TypeError: Cannot perform 'set' on a proxy that has been revoked]`;94 95-exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=false revokes the draft once produce returns 3`] = `"Cannot perform 'get' on a proxy that has been revoked"`;95+exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=false > revokes the draft once produce returns 3`] = `[TypeError: Cannot perform 'get' on a proxy that has been revoked]`;96 97-exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=false revokes the draft once produce returns 4`] = `"Cannot perform 'set' on a proxy that has been revoked"`;97+exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=false > revokes the draft once produce returns 4`] = `[TypeError: Cannot perform 'set' on a proxy that has been revoked]`;98 99-exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=false revokes the draft once produce returns 5`] = `"Cannot perform 'get' on a proxy that has been revoked"`;99+exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=false > revokes the draft once produce returns 5`] = `[TypeError: Cannot perform 'get' on a proxy that has been revoked]`;100 101-exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=false revokes the draft once produce returns 6`] = `"Cannot perform 'set' on a proxy that has been revoked"`;101+exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=false > revokes the draft once produce returns 6`] = `[TypeError: Cannot perform 'set' on a proxy that has been revoked]`;102 103-exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=false revokes the draft once produce returns 7`] = `"Cannot perform 'get' on a proxy that has been revoked"`;103+exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=false > revokes the draft once produce returns 7`] = `[TypeError: Cannot perform 'get' on a proxy that has been revoked]`;104 105-exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=false revokes the draft once produce returns 8`] = `"Cannot perform 'set' on a proxy that has been revoked"`;105+exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=false > revokes the draft once produce returns 8`] = `[TypeError: Cannot perform 'set' on a proxy that has been revoked]`;106 107-exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=false set drafts revokes sets 1`] = `"[Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}"`;107+exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=false > set drafts > revokes sets 1`] = `[Error: [Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}]`;108 109-exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=false set drafts revokes sets 2`] = `"[Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}"`;109+exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=false > set drafts > revokes sets 2`] = `[Error: [Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}]`;110 111-exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=false throws when Object.defineProperty() is used on drafts 1`] = `"[Immer] Object.defineProperty() cannot be used on an Immer draft"`;111+exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=false > throws when Object.defineProperty() is used on drafts 1`] = `[Error: [Immer] Object.defineProperty() cannot be used on an Immer draft]`;112 113-exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=false throws when Object.setPrototypeOf() is used on a draft 1`] = `"[Immer] Object.setPrototypeOf() cannot be used on an Immer draft"`;113+exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=false > throws when Object.setPrototypeOf() is used on a draft 1`] = `[Error: [Immer] Object.setPrototypeOf() cannot be used on an Immer draft]`;114 115-exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=false throws when the draft is modified and another object is returned 1`] = `"[Immer] An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft."`;115+exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=false > throws when the draft is modified and another object is returned 1`] = `[Error: [Immer] An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.]`;116 117-exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=true array drafts throws when a non-numeric property is added 1`] = `"[Immer] Immer only supports setting array indices and the 'length' property"`;117+exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=true > array drafts > throws when a non-numeric property is added 1`] = `[Error: [Immer] Immer only supports setting array indices and the 'length' property]`;118 119-exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=true array drafts throws when a non-numeric property is deleted 1`] = `"[Immer] Immer only supports deleting array indices"`;119+exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=true > array drafts > throws when a non-numeric property is deleted 1`] = `[Error: [Immer] Immer only supports deleting array indices]`;120 121-exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=true map drafts revokes map proxies 1`] = `"[Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}"`;121+exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=true > map drafts > revokes map proxies 1`] = `[Error: [Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}]`;122 123-exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=true map drafts revokes map proxies 2`] = `"[Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}"`;123+exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=true > map drafts > revokes map proxies 2`] = `[Error: [Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}]`;124 125-exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=true recipe functions cannot return a modified child draft 1`] = `"[Immer] An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft."`;125+exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=true > recipe functions > cannot return a modified child draft 1`] = `[Error: [Immer] An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.]`;126 127-exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=true recipe functions cannot return an object that references itself 1`] = `"[Immer] Immer forbids circular references"`;127+exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=true > recipe functions > cannot return an object that references itself 1`] = `[Error: [Immer] Immer forbids circular references]`;128 129-exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=true revokes the draft once produce returns 1`] = `"Cannot perform 'get' on a proxy that has been revoked"`;129+exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=true > revokes the draft once produce returns 1`] = `[TypeError: Cannot perform 'get' on a proxy that has been revoked]`;130 131-exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=true revokes the draft once produce returns 2`] = `"Cannot perform 'set' on a proxy that has been revoked"`;131+exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=true > revokes the draft once produce returns 2`] = `[TypeError: Cannot perform 'set' on a proxy that has been revoked]`;132 133-exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=true revokes the draft once produce returns 3`] = `"Cannot perform 'get' on a proxy that has been revoked"`;133+exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=true > revokes the draft once produce returns 3`] = `[TypeError: Cannot perform 'get' on a proxy that has been revoked]`;134 135-exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=true revokes the draft once produce returns 4`] = `"Cannot perform 'set' on a proxy that has been revoked"`;135+exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=true > revokes the draft once produce returns 4`] = `[TypeError: Cannot perform 'set' on a proxy that has been revoked]`;136 137-exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=true revokes the draft once produce returns 5`] = `"Cannot perform 'get' on a proxy that has been revoked"`;137+exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=true > revokes the draft once produce returns 5`] = `[TypeError: Cannot perform 'get' on a proxy that has been revoked]`;138 139-exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=true revokes the draft once produce returns 6`] = `"Cannot perform 'set' on a proxy that has been revoked"`;139+exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=true > revokes the draft once produce returns 6`] = `[TypeError: Cannot perform 'set' on a proxy that has been revoked]`;140 141-exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=true revokes the draft once produce returns 7`] = `"Cannot perform 'get' on a proxy that has been revoked"`;141+exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=true > revokes the draft once produce returns 7`] = `[TypeError: Cannot perform 'get' on a proxy that has been revoked]`;142 143-exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=true revokes the draft once produce returns 8`] = `"Cannot perform 'set' on a proxy that has been revoked"`;143+exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=true > revokes the draft once produce returns 8`] = `[TypeError: Cannot perform 'set' on a proxy that has been revoked]`;144 145-exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=true set drafts revokes sets 1`] = `"[Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}"`;145+exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=true > set drafts > revokes sets 1`] = `[Error: [Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}]`;146 147-exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=true set drafts revokes sets 2`] = `"[Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}"`;147+exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=true > set drafts > revokes sets 2`] = `[Error: [Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}]`;148 149-exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=true throws when Object.defineProperty() is used on drafts 1`] = `"[Immer] Object.defineProperty() cannot be used on an Immer draft"`;149+exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=true > throws when Object.defineProperty() is used on drafts 1`] = `[Error: [Immer] Object.defineProperty() cannot be used on an Immer draft]`;150 151-exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=true throws when Object.setPrototypeOf() is used on a draft 1`] = `"[Immer] Object.setPrototypeOf() cannot be used on an Immer draft"`;151+exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=true > throws when Object.setPrototypeOf() is used on a draft 1`] = `[Error: [Immer] Object.setPrototypeOf() cannot be used on an Immer draft]`;152 153-exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=true throws when the draft is modified and another object is returned 1`] = `"[Immer] An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft."`;153+exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=true > throws when the draft is modified and another object is returned 1`] = `[Error: [Immer] An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.]`;154 155-exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=false array drafts throws when a non-numeric property is added 1`] = `"[Immer] Immer only supports setting array indices and the 'length' property"`;155+exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=false > array drafts > throws when a non-numeric property is added 1`] = `[Error: [Immer] Immer only supports setting array indices and the 'length' property]`;156 157-exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=false array drafts throws when a non-numeric property is deleted 1`] = `"[Immer] Immer only supports deleting array indices"`;157+exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=false > array drafts > throws when a non-numeric property is deleted 1`] = `[Error: [Immer] Immer only supports deleting array indices]`;158 159-exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=false map drafts revokes map proxies 1`] = `"[Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}"`;159+exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=false > map drafts > revokes map proxies 1`] = `[Error: [Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}]`;160 161-exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=false map drafts revokes map proxies 2`] = `"[Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}"`;161+exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=false > map drafts > revokes map proxies 2`] = `[Error: [Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}]`;162 163-exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=false recipe functions cannot return a modified child draft 1`] = `"[Immer] An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft."`;163+exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=false > recipe functions > cannot return a modified child draft 1`] = `[Error: [Immer] An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.]`;164 165-exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=false recipe functions cannot return an object that references itself 1`] = `"[Immer] Immer forbids circular references"`;165+exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=false > recipe functions > cannot return an object that references itself 1`] = `[Error: [Immer] Immer forbids circular references]`;166 167-exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=false revokes the draft once produce returns 1`] = `"Cannot perform 'get' on a proxy that has been revoked"`;167+exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=false > revokes the draft once produce returns 1`] = `[TypeError: Cannot perform 'get' on a proxy that has been revoked]`;168 169-exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=false revokes the draft once produce returns 2`] = `"Cannot perform 'set' on a proxy that has been revoked"`;169+exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=false > revokes the draft once produce returns 2`] = `[TypeError: Cannot perform 'set' on a proxy that has been revoked]`;170 171-exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=false revokes the draft once produce returns 3`] = `"Cannot perform 'get' on a proxy that has been revoked"`;171+exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=false > revokes the draft once produce returns 3`] = `[TypeError: Cannot perform 'get' on a proxy that has been revoked]`;172 173-exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=false revokes the draft once produce returns 4`] = `"Cannot perform 'set' on a proxy that has been revoked"`;173+exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=false > revokes the draft once produce returns 4`] = `[TypeError: Cannot perform 'set' on a proxy that has been revoked]`;174 175-exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=false revokes the draft once produce returns 5`] = `"Cannot perform 'get' on a proxy that has been revoked"`;175+exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=false > revokes the draft once produce returns 5`] = `[TypeError: Cannot perform 'get' on a proxy that has been revoked]`;176 177-exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=false revokes the draft once produce returns 6`] = `"Cannot perform 'set' on a proxy that has been revoked"`;177+exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=false > revokes the draft once produce returns 6`] = `[TypeError: Cannot perform 'set' on a proxy that has been revoked]`;178 179-exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=false revokes the draft once produce returns 7`] = `"Cannot perform 'get' on a proxy that has been revoked"`;179+exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=false > revokes the draft once produce returns 7`] = `[TypeError: Cannot perform 'get' on a proxy that has been revoked]`;180 181-exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=false revokes the draft once produce returns 8`] = `"Cannot perform 'set' on a proxy that has been revoked"`;181+exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=false > revokes the draft once produce returns 8`] = `[TypeError: Cannot perform 'set' on a proxy that has been revoked]`;182 183-exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=false set drafts revokes sets 1`] = `"[Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}"`;183+exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=false > set drafts > revokes sets 1`] = `[Error: [Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}]`;184 185-exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=false set drafts revokes sets 2`] = `"[Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}"`;185+exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=false > set drafts > revokes sets 2`] = `[Error: [Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}]`;186 187-exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=false throws when Object.defineProperty() is used on drafts 1`] = `"[Immer] Object.defineProperty() cannot be used on an Immer draft"`;187+exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=false > throws when Object.defineProperty() is used on drafts 1`] = `[Error: [Immer] Object.defineProperty() cannot be used on an Immer draft]`;188 189-exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=false throws when Object.setPrototypeOf() is used on a draft 1`] = `"[Immer] Object.setPrototypeOf() cannot be used on an Immer draft"`;189+exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=false > throws when Object.setPrototypeOf() is used on a draft 1`] = `[Error: [Immer] Object.setPrototypeOf() cannot be used on an Immer draft]`;190 191-exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=false throws when the draft is modified and another object is returned 1`] = `"[Immer] An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft."`;191+exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=false > throws when the draft is modified and another object is returned 1`] = `[Error: [Immer] An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.]`;192 193-exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=true array drafts throws when a non-numeric property is added 1`] = `"[Immer] Immer only supports setting array indices and the 'length' property"`;193+exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=true > array drafts > throws when a non-numeric property is added 1`] = `[Error: [Immer] Immer only supports setting array indices and the 'length' property]`;194 195-exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=true array drafts throws when a non-numeric property is deleted 1`] = `"[Immer] Immer only supports deleting array indices"`;195+exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=true > array drafts > throws when a non-numeric property is deleted 1`] = `[Error: [Immer] Immer only supports deleting array indices]`;196 197-exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=true map drafts revokes map proxies 1`] = `"[Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}"`;197+exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=true > map drafts > revokes map proxies 1`] = `[Error: [Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}]`;198 199-exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=true map drafts revokes map proxies 2`] = `"[Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}"`;199+exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=true > map drafts > revokes map proxies 2`] = `[Error: [Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}]`;200 201-exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=true recipe functions cannot return a modified child draft 1`] = `"[Immer] An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft."`;201+exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=true > recipe functions > cannot return a modified child draft 1`] = `[Error: [Immer] An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.]`;202 203-exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=true recipe functions cannot return an object that references itself 1`] = `"[Immer] Immer forbids circular references"`;203+exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=true > recipe functions > cannot return an object that references itself 1`] = `[Error: [Immer] Immer forbids circular references]`;204 205-exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=true revokes the draft once produce returns 1`] = `"Cannot perform 'get' on a proxy that has been revoked"`;205+exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=true > revokes the draft once produce returns 1`] = `[TypeError: Cannot perform 'get' on a proxy that has been revoked]`;206 207-exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=true revokes the draft once produce returns 2`] = `"Cannot perform 'set' on a proxy that has been revoked"`;207+exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=true > revokes the draft once produce returns 2`] = `[TypeError: Cannot perform 'set' on a proxy that has been revoked]`;208 209-exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=true revokes the draft once produce returns 3`] = `"Cannot perform 'get' on a proxy that has been revoked"`;209+exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=true > revokes the draft once produce returns 3`] = `[TypeError: Cannot perform 'get' on a proxy that has been revoked]`;210 211-exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=true revokes the draft once produce returns 4`] = `"Cannot perform 'set' on a proxy that has been revoked"`;211+exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=true > revokes the draft once produce returns 4`] = `[TypeError: Cannot perform 'set' on a proxy that has been revoked]`;212 213-exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=true revokes the draft once produce returns 5`] = `"Cannot perform 'get' on a proxy that has been revoked"`;213+exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=true > revokes the draft once produce returns 5`] = `[TypeError: Cannot perform 'get' on a proxy that has been revoked]`;214 215-exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=true revokes the draft once produce returns 6`] = `"Cannot perform 'set' on a proxy that has been revoked"`;215+exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=true > revokes the draft once produce returns 6`] = `[TypeError: Cannot perform 'set' on a proxy that has been revoked]`;216 217-exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=true revokes the draft once produce returns 7`] = `"Cannot perform 'get' on a proxy that has been revoked"`;217+exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=true > revokes the draft once produce returns 7`] = `[TypeError: Cannot perform 'get' on a proxy that has been revoked]`;218 219-exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=true revokes the draft once produce returns 8`] = `"Cannot perform 'set' on a proxy that has been revoked"`;219+exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=true > revokes the draft once produce returns 8`] = `[TypeError: Cannot perform 'set' on a proxy that has been revoked]`;220 221-exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=true set drafts revokes sets 1`] = `"[Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}"`;221+exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=true > set drafts > revokes sets 1`] = `[Error: [Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}]`;222 223-exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=true set drafts revokes sets 2`] = `"[Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}"`;223+exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=true > set drafts > revokes sets 2`] = `[Error: [Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}]`;224 225-exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=true throws when Object.defineProperty() is used on drafts 1`] = `"[Immer] Object.defineProperty() cannot be used on an Immer draft"`;225+exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=true > throws when Object.defineProperty() is used on drafts 1`] = `[Error: [Immer] Object.defineProperty() cannot be used on an Immer draft]`;226 227-exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=true throws when Object.setPrototypeOf() is used on a draft 1`] = `"[Immer] Object.setPrototypeOf() cannot be used on an Immer draft"`;227+exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=true > throws when Object.setPrototypeOf() is used on a draft 1`] = `[Error: [Immer] Object.setPrototypeOf() cannot be used on an Immer draft]`;228 229-exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=true throws when the draft is modified and another object is returned 1`] = `"[Immer] An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft."`;229+exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=true > throws when the draft is modified and another object is returned 1`] = `[Error: [Immer] An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.]`;230 231-exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=false array drafts throws when a non-numeric property is added 1`] = `"[Immer] Immer only supports setting array indices and the 'length' property"`;231+exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=false > array drafts > throws when a non-numeric property is added 1`] = `[Error: [Immer] Immer only supports setting array indices and the 'length' property]`;232 233-exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=false array drafts throws when a non-numeric property is deleted 1`] = `"[Immer] Immer only supports deleting array indices"`;233+exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=false > array drafts > throws when a non-numeric property is deleted 1`] = `[Error: [Immer] Immer only supports deleting array indices]`;234 235-exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=false map drafts revokes map proxies 1`] = `"[Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}"`;235+exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=false > map drafts > revokes map proxies 1`] = `[Error: [Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}]`;236 237-exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=false map drafts revokes map proxies 2`] = `"[Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}"`;237+exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=false > map drafts > revokes map proxies 2`] = `[Error: [Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}]`;238 239-exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=false recipe functions cannot return a modified child draft 1`] = `"[Immer] An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft."`;239+exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=false > recipe functions > cannot return a modified child draft 1`] = `[Error: [Immer] An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.]`;240 241-exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=false recipe functions cannot return an object that references itself 1`] = `"[Immer] Immer forbids circular references"`;241+exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=false > recipe functions > cannot return an object that references itself 1`] = `[Error: [Immer] Immer forbids circular references]`;242 243-exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=false revokes the draft once produce returns 1`] = `"Cannot perform 'get' on a proxy that has been revoked"`;243+exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=false > revokes the draft once produce returns 1`] = `[TypeError: Cannot perform 'get' on a proxy that has been revoked]`;244 245-exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=false revokes the draft once produce returns 2`] = `"Cannot perform 'set' on a proxy that has been revoked"`;245+exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=false > revokes the draft once produce returns 2`] = `[TypeError: Cannot perform 'set' on a proxy that has been revoked]`;246 247-exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=false revokes the draft once produce returns 3`] = `"Cannot perform 'get' on a proxy that has been revoked"`;247+exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=false > revokes the draft once produce returns 3`] = `[TypeError: Cannot perform 'get' on a proxy that has been revoked]`;248 249-exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=false revokes the draft once produce returns 4`] = `"Cannot perform 'set' on a proxy that has been revoked"`;249+exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=false > revokes the draft once produce returns 4`] = `[TypeError: Cannot perform 'set' on a proxy that has been revoked]`;250 251-exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=false revokes the draft once produce returns 5`] = `"Cannot perform 'get' on a proxy that has been revoked"`;251+exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=false > revokes the draft once produce returns 5`] = `[TypeError: Cannot perform 'get' on a proxy that has been revoked]`;252 253-exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=false revokes the draft once produce returns 6`] = `"Cannot perform 'set' on a proxy that has been revoked"`;253+exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=false > revokes the draft once produce returns 6`] = `[TypeError: Cannot perform 'set' on a proxy that has been revoked]`;254 255-exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=false revokes the draft once produce returns 7`] = `"Cannot perform 'get' on a proxy that has been revoked"`;255+exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=false > revokes the draft once produce returns 7`] = `[TypeError: Cannot perform 'get' on a proxy that has been revoked]`;256 257-exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=false revokes the draft once produce returns 8`] = `"Cannot perform 'set' on a proxy that has been revoked"`;257+exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=false > revokes the draft once produce returns 8`] = `[TypeError: Cannot perform 'set' on a proxy that has been revoked]`;258 259-exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=false set drafts revokes sets 1`] = `"[Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}"`;259+exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=false > set drafts > revokes sets 1`] = `[Error: [Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}]`;260 261-exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=false set drafts revokes sets 2`] = `"[Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}"`;261+exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=false > set drafts > revokes sets 2`] = `[Error: [Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}]`;262 263-exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=false throws when Object.defineProperty() is used on drafts 1`] = `"[Immer] Object.defineProperty() cannot be used on an Immer draft"`;263+exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=false > throws when Object.defineProperty() is used on drafts 1`] = `[Error: [Immer] Object.defineProperty() cannot be used on an Immer draft]`;264 265-exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=false throws when Object.setPrototypeOf() is used on a draft 1`] = `"[Immer] Object.setPrototypeOf() cannot be used on an Immer draft"`;265+exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=false > throws when Object.setPrototypeOf() is used on a draft 1`] = `[Error: [Immer] Object.setPrototypeOf() cannot be used on an Immer draft]`;266 267-exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=false throws when the draft is modified and another object is returned 1`] = `"[Immer] An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft."`;267+exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=false > throws when the draft is modified and another object is returned 1`] = `[Error: [Immer] An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.]`;268 269-exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=true array drafts throws when a non-numeric property is added 1`] = `"[Immer] Immer only supports setting array indices and the 'length' property"`;269+exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=true > array drafts > throws when a non-numeric property is added 1`] = `[Error: [Immer] Immer only supports setting array indices and the 'length' property]`;270 271-exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=true array drafts throws when a non-numeric property is deleted 1`] = `"[Immer] Immer only supports deleting array indices"`;271+exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=true > array drafts > throws when a non-numeric property is deleted 1`] = `[Error: [Immer] Immer only supports deleting array indices]`;272 273-exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=true map drafts revokes map proxies 1`] = `"[Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}"`;273+exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=true > map drafts > revokes map proxies 1`] = `[Error: [Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}]`;274 275-exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=true map drafts revokes map proxies 2`] = `"[Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}"`;275+exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=true > map drafts > revokes map proxies 2`] = `[Error: [Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}]`;276 277-exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=true recipe functions cannot return a modified child draft 1`] = `"[Immer] An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft."`;277+exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=true > recipe functions > cannot return a modified child draft 1`] = `[Error: [Immer] An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.]`;278 279-exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=true recipe functions cannot return an object that references itself 1`] = `"[Immer] Immer forbids circular references"`;279+exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=true > recipe functions > cannot return an object that references itself 1`] = `[Error: [Immer] Immer forbids circular references]`;280 281-exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=true revokes the draft once produce returns 1`] = `"Cannot perform 'get' on a proxy that has been revoked"`;281+exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=true > revokes the draft once produce returns 1`] = `[TypeError: Cannot perform 'get' on a proxy that has been revoked]`;282 283-exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=true revokes the draft once produce returns 2`] = `"Cannot perform 'set' on a proxy that has been revoked"`;283+exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=true > revokes the draft once produce returns 2`] = `[TypeError: Cannot perform 'set' on a proxy that has been revoked]`;284 285-exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=true revokes the draft once produce returns 3`] = `"Cannot perform 'get' on a proxy that has been revoked"`;285+exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=true > revokes the draft once produce returns 3`] = `[TypeError: Cannot perform 'get' on a proxy that has been revoked]`;286 287-exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=true revokes the draft once produce returns 4`] = `"Cannot perform 'set' on a proxy that has been revoked"`;287+exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=true > revokes the draft once produce returns 4`] = `[TypeError: Cannot perform 'set' on a proxy that has been revoked]`;288 289-exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=true revokes the draft once produce returns 5`] = `"Cannot perform 'get' on a proxy that has been revoked"`;289+exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=true > revokes the draft once produce returns 5`] = `[TypeError: Cannot perform 'get' on a proxy that has been revoked]`;290 291-exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=true revokes the draft once produce returns 6`] = `"Cannot perform 'set' on a proxy that has been revoked"`;291+exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=true > revokes the draft once produce returns 6`] = `[TypeError: Cannot perform 'set' on a proxy that has been revoked]`;292 293-exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=true revokes the draft once produce returns 7`] = `"Cannot perform 'get' on a proxy that has been revoked"`;293+exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=true > revokes the draft once produce returns 7`] = `[TypeError: Cannot perform 'get' on a proxy that has been revoked]`;294 295-exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=true revokes the draft once produce returns 8`] = `"Cannot perform 'set' on a proxy that has been revoked"`;295+exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=true > revokes the draft once produce returns 8`] = `[TypeError: Cannot perform 'set' on a proxy that has been revoked]`;296 297-exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=true set drafts revokes sets 1`] = `"[Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}"`;297+exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=true > set drafts > revokes sets 1`] = `[Error: [Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}]`;298 299-exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=true set drafts revokes sets 2`] = `"[Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}"`;299+exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=true > set drafts > revokes sets 2`] = `[Error: [Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}]`;300 301-exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=true throws when Object.defineProperty() is used on drafts 1`] = `"[Immer] Object.defineProperty() cannot be used on an Immer draft"`;301+exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=true > throws when Object.defineProperty() is used on drafts 1`] = `[Error: [Immer] Object.defineProperty() cannot be used on an Immer draft]`;302 303-exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=true throws when Object.setPrototypeOf() is used on a draft 1`] = `"[Immer] Object.setPrototypeOf() cannot be used on an Immer draft"`;303+exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=true > throws when Object.setPrototypeOf() is used on a draft 1`] = `[Error: [Immer] Object.setPrototypeOf() cannot be used on an Immer draft]`;304 305-exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=true throws when the draft is modified and another object is returned 1`] = `"[Immer] An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft."`;305+exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=true > throws when the draft is modified and another object is returned 1`] = `[Error: [Immer] An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.]`;306 307-exports[`complex nesting map / set / object modify deep object 1`] = `307+exports[`complex nesting map / set / object > modify deep object 1`] = `308 {309 "map": Map {310 "set1" => Set {311 {11 unmodified lines323 },324 }325 `;326 327-exports[`complex nesting map / set / object modify deep object 2`] = `327+exports[`complex nesting map / set / object > modify deep object 2`] = `328 [329 {330 "op": "remove",331 "path": [18 unmodified lines350 },351 ]352 `;353 354-exports[`complex nesting map / set / object modify deep object 3`] = `354+exports[`complex nesting map / set / object > modify deep object 3`] = `355 {356 "map": Map {357 "set1" => Set {358 {11 unmodified lines370 },371 }372 `;373 374-exports[`complex nesting map / set / object modify deep object 4`] = `374+exports[`complex nesting map / set / object > modify deep object 4`] = `375 [376 {377 "op": "remove",378 "path": [18 unmodified lines397 },398 ]399 `;400 401-exports[`complex nesting map / set / object modify deep object 5`] = `401+exports[`complex nesting map / set / object > modify deep object 5`] = `402 {403 "map": Map {404 "set1" => Set {405 {11 unmodified lines417 },418 }419 `;420 421-exports[`complex nesting map / set / object modify deep object 6`] = `421+exports[`complex nesting map / set / object > modify deep object 6`] = `422 [423 {424 "op": "remove",425 "path": [18 unmodified lines444 },445 ]446 `;447 448-exports[`complex nesting map / set / object modify deep object 7`] = `448+exports[`complex nesting map / set / object > modify deep object 7`] = `449 {450 "map": Map {451 "set1" => Set {452 {11 unmodified lines464 },465 }466 `;467 468-exports[`complex nesting map / set / object modify deep object 8`] = `468+exports[`complex nesting map / set / object > modify deep object 8`] = `469 [470 {471 "op": "remove",472 "path": [18 unmodified lines491 },492 ]493 `;494 495-exports[`complex nesting map / set / object modify deep object 9`] = `495+exports[`complex nesting map / set / object > modify deep object 9`] = `496 {497 "map": Map {498 "set1" => Set {499 {11 unmodified lines511 },512 }513 `;514 515-exports[`complex nesting map / set / object modify deep object 10`] = `515+exports[`complex nesting map / set / object > modify deep object 10`] = `516 [517 {518 "op": "remove",519 "path": [18 unmodified lines538 },539 ]540 `;541 542-exports[`complex nesting map / set / object modify deep object 11`] = `542+exports[`complex nesting map / set / object > modify deep object 11`] = `543 {544 "map": Map {545 "set1" => Set {546 {11 unmodified lines558 },559 }560 `;561 562-exports[`complex nesting map / set / object modify deep object 12`] = `562+exports[`complex nesting map / set / object > modify deep object 12`] = `563 [564 {565 "op": "remove",566 "path": [18 unmodified lines585 },586 ]587 `;588 589-exports[`complex nesting map / set / object modify deep object 13`] = `589+exports[`complex nesting map / set / object > modify deep object 13`] = `590 {591 "map": Map {592 "set1" => Set {593 {11 unmodified lines605 },606 }607 `;608 609-exports[`complex nesting map / set / object modify deep object 14`] = `609+exports[`complex nesting map / set / object > modify deep object 14`] = `610 [611 {612 "op": "remove",613 "path": [18 unmodified lines632 },633 ]634 `;635 636-exports[`complex nesting map / set / object modify deep object 15`] = `636+exports[`complex nesting map / set / object > modify deep object 15`] = `637 {638 "map": Map {639 "set1" => Set {640 {11 unmodified lines652 },653 }654 `;655 656-exports[`complex nesting map / set / object modify deep object 16`] = `656+exports[`complex nesting map / set / object > modify deep object 16`] = `657 [658 {659 "op": "remove",660 "path": [21 unmodified linesmodified:__tests__/__snapshots__/curry.js.snap+5 added-5 removed
1-// Jest Snapshot v1, https://goo.gl/fbAQLP1+// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html2 3-exports[`curry - proxy should check arguments 1`] = `"[Immer] The first or second argument to \`produce\` must be a function"`;3+exports[`curry - proxy > should check arguments 1`] = `[Error: [Immer] The first or second argument to \`produce\` must be a function]`;4 5-exports[`curry - proxy should check arguments 2`] = `"[Immer] The first or second argument to \`produce\` must be a function"`;5+exports[`curry - proxy > should check arguments 2`] = `[Error: [Immer] The first or second argument to \`produce\` must be a function]`;6 7-exports[`curry - proxy should check arguments 3`] = `"[Immer] The first or second argument to \`produce\` must be a function"`;7+exports[`curry - proxy > should check arguments 3`] = `[Error: [Immer] The first or second argument to \`produce\` must be a function]`;8 9-exports[`curry - proxy should check arguments 4`] = `"[Immer] The third argument to \`produce\` must be a function or undefined"`;9+exports[`curry - proxy > should check arguments 4`] = `[Error: [Immer] The third argument to \`produce\` must be a function or undefined]`;modified:__tests__/__snapshots__/frozen.js.snap+7 added-7 removed
1-// Jest Snapshot v1, https://goo.gl/fbAQLP1+// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html2 3-exports[`auto freeze - proxy will freeze maps 1`] = `"[Immer] This object has been frozen and should not be mutated"`;3+exports[`auto freeze - proxy > will freeze maps 1`] = `[Error: [Immer] This object has been frozen and should not be mutated]`;4 5-exports[`auto freeze - proxy will freeze maps 2`] = `"[Immer] This object has been frozen and should not be mutated"`;5+exports[`auto freeze - proxy > will freeze maps 2`] = `[Error: [Immer] This object has been frozen and should not be mutated]`;6 7-exports[`auto freeze - proxy will freeze maps 3`] = `"[Immer] This object has been frozen and should not be mutated"`;7+exports[`auto freeze - proxy > will freeze maps 3`] = `[Error: [Immer] This object has been frozen and should not be mutated]`;8 9-exports[`auto freeze - proxy will freeze sets 1`] = `"[Immer] This object has been frozen and should not be mutated"`;9+exports[`auto freeze - proxy > will freeze sets 1`] = `[Error: [Immer] This object has been frozen and should not be mutated]`;10 11-exports[`auto freeze - proxy will freeze sets 2`] = `"[Immer] This object has been frozen and should not be mutated"`;11+exports[`auto freeze - proxy > will freeze sets 2`] = `[Error: [Immer] This object has been frozen and should not be mutated]`;12 13-exports[`auto freeze - proxy will freeze sets 3`] = `"[Immer] This object has been frozen and should not be mutated"`;13+exports[`auto freeze - proxy > will freeze sets 3`] = `[Error: [Immer] This object has been frozen and should not be mutated]`;modified:__tests__/__snapshots__/manual.js.snap+9 added-9 removed
1-// Jest Snapshot v1, https://goo.gl/fbAQLP1+// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html2 3-exports[`manual - proxy cannot finishDraft twice 1`] = `"Cannot perform 'get' on a proxy that has been revoked"`;3+exports[`manual - proxy > cannot finishDraft twice 1`] = `[TypeError: Cannot perform 'get' on a proxy that has been revoked]`;4 5-exports[`manual - proxy cannot modify after finish 1`] = `"Cannot perform 'set' on a proxy that has been revoked"`;5+exports[`manual - proxy > cannot modify after finish 1`] = `[TypeError: Cannot perform 'set' on a proxy that has been revoked]`;6 7-exports[`manual - proxy should check arguments 1`] = `"[Immer] First argument to \`createDraft\` must be a plain object, an array, or an immerable object"`;7+exports[`manual - proxy > should check arguments 1`] = `[Error: [Immer] First argument to \`createDraft\` must be a plain object, an array, or an immerable object]`;8 9-exports[`manual - proxy should check arguments 2`] = `"[Immer] First argument to \`createDraft\` must be a plain object, an array, or an immerable object"`;9+exports[`manual - proxy > should check arguments 2`] = `[Error: [Immer] First argument to \`createDraft\` must be a plain object, an array, or an immerable object]`;10 11-exports[`manual - proxy should check arguments 3`] = `"[Immer] First argument to \`finishDraft\` must be a draft returned by \`createDraft\`"`;11+exports[`manual - proxy > should check arguments 3`] = `[Error: [Immer] First argument to \`finishDraft\` must be a draft returned by \`createDraft\`]`;12 13-exports[`manual - proxy should not finish drafts from produce 1`] = `"[Immer] First argument to \`finishDraft\` must be a draft returned by \`createDraft\`"`;13+exports[`manual - proxy > should not finish drafts from produce 1`] = `[Error: [Immer] First argument to \`finishDraft\` must be a draft returned by \`createDraft\`]`;14 15-exports[`manual - proxy should not finish twice 1`] = `"Cannot perform 'get' on a proxy that has been revoked"`;15+exports[`manual - proxy > should not finish twice 1`] = `[TypeError: Cannot perform 'get' on a proxy that has been revoked]`;16 17-exports[`manual - proxy should support patches drafts 1`] = `17+exports[`manual - proxy > should support patches drafts 1`] = `18 [19 [20 [21 {32 unmodified linesmodified:__tests__/__snapshots__/patch.js.snap+4 added-4 removed
1-// Jest Snapshot v1, https://goo.gl/fbAQLP1+// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html2 3-exports[`applyPatches throws when \`op\` is not "add", "replace", nor "remove" 1`] = `"[Immer] Unsupported patch operation: copy"`;3+exports[`applyPatches > throws when \`op\` is not "add", "replace", nor "remove" 1`] = `[Error: [Immer] Unsupported patch operation: copy]`;4 5-exports[`applyPatches throws when \`path\` cannot be resolved 1`] = `"[Immer] Cannot apply patch, path doesn't resolve: a/b"`;5+exports[`applyPatches > throws when \`path\` cannot be resolved 1`] = `[Error: [Immer] Cannot apply patch, path doesn't resolve: a/b]`;6 7-exports[`applyPatches throws when \`path\` cannot be resolved 2`] = `"[Immer] Cannot apply patch, path doesn't resolve: a/b/c"`;7+exports[`applyPatches > throws when \`path\` cannot be resolved 2`] = `[Error: [Immer] Cannot apply patch, path doesn't resolve: a/b/c]`;modified:__tests__/__snapshots__/plugins.js.snap+5 added-5 removed
1-// Jest Snapshot v1, https://goo.gl/fbAQLP1+// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html2 3-exports[`error when using Maps 1`] = `"[Immer] The plugin for 'MapSet' has not been loaded into Immer. To enable the plugin, import and call \`enableMapSet()\` when initializing your application."`;3+exports[`error when using Maps 1`] = `[Error: [Immer] The plugin for 'MapSet' has not been loaded into Immer. To enable the plugin, import and call \`enableMapSet()\` when initializing your application.]`;4 5-exports[`error when using patches - 1 1`] = `"[Immer] The plugin for 'Patches' has not been loaded into Immer. To enable the plugin, import and call \`enablePatches()\` when initializing your application."`;5+exports[`error when using patches - 1 1`] = `[Error: [Immer] The plugin for 'Patches' has not been loaded into Immer. To enable the plugin, import and call \`enablePatches()\` when initializing your application.]`;6 7-exports[`error when using patches - 2 1`] = `"[Immer] The plugin for 'Patches' has not been loaded into Immer. To enable the plugin, import and call \`enablePatches()\` when initializing your application."`;7+exports[`error when using patches - 2 1`] = `[Error: [Immer] The plugin for 'Patches' has not been loaded into Immer. To enable the plugin, import and call \`enablePatches()\` when initializing your application.]`;8 9-exports[`error when using patches - 3 1`] = `"[Immer] The plugin for 'Patches' has not been loaded into Immer. To enable the plugin, import and call \`enablePatches()\` when initializing your application."`;9+exports[`error when using patches - 3 1`] = `[Error: [Immer] The plugin for 'Patches' has not been loaded into Immer. To enable the plugin, import and call \`enablePatches()\` when initializing your application.]`;modified:__tests__/__snapshots__/readme.js.snap+2 added-2 removed
1-// Jest Snapshot v1, https://goo.gl/fbAQLP1+// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html2 3-exports[`Producers can update Maps 4`] = `"[Immer] This object has been frozen and should not be mutated"`;3+exports[`Producers can update Maps 4`] = `[Error: [Immer] This object has been frozen and should not be mutated]`;modified:__tests__/base.js+11 added-8 removed
1 "use strict"2+import {vi} from "vitest"3 import {4 Immer,5 nothing,6 original,8 unmodified lines15 16 enablePatches()17 enableMapSet()18 18-jest.setTimeout(1000)19+vi.setConfig({20+ testTimeout: 100021+})22 23 const isProd = process.env.NODE_ENV === "production"24 25 test("immer should have no dependencies", () => {2069 unmodified lines2095 })2096 })2097 2098 if (!autoFreeze) {2096- describe("#613", () => {2099+ test("#613", () => {2100 const x1 = {}2101 const y1 = produce(x1, draft => {2102 draft.foo = produce({bar: "baz"}, draft1 => {2103 draft1.bar = "baa"137 unmodified lines2241 expect(state.bar).toEqual(0)2242 })2243 })2244 2242- describe("setter only", () => {2245+ test("setter only", () => {2246 let setterCalled = 02247 class State {2248 [immerable] = true2249 x = 013 unmodified lines2263 expect(next.x).toBe(2)2264 expect(state.x).toBe(0)2265 })2266 2264- describe("getter only", () => {2267+ test("getter only", () => {2268 let getterCalled = 02269 class State {2270 [immerable] = true2271 x = 016 unmodified lines2288 expect(next.y).toBe(2)2289 expect(state.x).toBe(0)2290 })2291 2289- describe("own setter only", () => {2292+ test("own setter only", () => {2293 let setterCalled = 02294 const state = {2295 x: 0,2296 set y(value) {14 unmodified lines2311 expect(next.y).toBe(2)2312 expect(state.x).toBe(0)2313 })2314 2312- describe("own getter only", () => {2315+ test("own getter only", () => {2316 let getterCalled = 02317 const state = {2318 x: 0,2319 get y() {14 unmodified lines2334 expect(next.y).toBe(2)2335 expect(state.x).toBe(0)2336 })2337 2335- describe("#620", () => {2338+ test("#620", () => {2339 const customSymbol = Symbol("customSymbol")2340 2341 class TestClass {2342 [immerable] = true;24 unmodified lines2367 [customSymbol]: 32368 })2369 })2370 2368- describe("#1096 / #1087 / proxies", () => {2371+ test("#1096 / #1087 / proxies", () => {2372 const sym = Symbol()2373 2374 let state = {2375 id: 1,84 unmodified linesmodified:__tests__/manual.js+2 added-1 removed
1 "use strict"2+import {vi} from "vitest"3 import {4 setUseProxies,5 createDraft,6 finishDraft,61 unmodified lines68 const draft = createDraft(state)69 draft.a = 270 draft.b = 371 71- const listener = jest.fn()72+ const listener = vi.fn()73 const result = finishDraft(draft, listener)74 75 expect(result).not.toBe(state)76 expect(result).toEqual({a: 2, b: 3})76 unmodified linesmodified:__tests__/map-set.js+4 added-1 removed
1 "use strict"2+import {vi} from "vitest"3 import {4 Immer,5 nothing,6 original,6 unmodified lines13 14 enableMapSet()15 enablePatches()16 16-jest.setTimeout(1000)17+vi.setConfig({18+ testTimeout: 100019+})20 21 runBaseTest("proxy (no freeze)", true, false)22 runBaseTest("proxy (autofreeze)", true, true)23 runBaseTest("proxy (autofreeze)(patch listener)", true, true, true)345 unmodified linesmodified:__tests__/patch.js+788 added-736 removed
1 "use strict"2+import {vi} from "vitest"3 import {4 produce,5 applyPatches,6 produceWithPatches,6 unmodified lines13 14 enablePatches()15 enableMapSet()16 16-jest.setTimeout(1000)17+vi.setConfig({18+ testTimeout: 100019+})20 21 const isProd = process.env.NODE_ENV === "production"22 20-function runPatchTest(base, producer, patches, inversePathes, expectedResult) {21- let resultProxies, resultEs523+function createPatchTestData(24+ base,25+ producer,26+ expectedPatches,27+ expectedInversePatches,28+ expectedResult29+) {30+ let recordedPatches, recordedInversePatches31+ const res = produce(base, producer, (p, i) => {32+ recordedPatches = p33+ recordedInversePatches = i34+ })35 23- function runPatchTestHelper() {24- let recordedPatches25- let recordedInversePatches26- const res = produce(base, producer, (p, i) => {27- recordedPatches = p28- recordedInversePatches = i29- })36+ return {37+ result: res,38+ patches: recordedPatches,39+ inversePatches: recordedInversePatches,40+ expectedPatches,41+ expectedInversePatches,42+ expectedResult,43+ base44+ }45+}46 47+function runPatchTests(48+ testName,49+ base,50+ producer,51+ expectedPatches,52+ expectedInversePatches,53+ expectedResult,54+ options = {}55+) {56+ const {only = false, skip = false} = options57+58+ // Choose the appropriate describe function59+ let describeFn = describe60+ if (testName === "") describeFn = (name, fn) => fn()61+ if (only) describeFn = describe.only62+ if (skip) describeFn = describe.skip63+64+ let testData = createPatchTestData(65+ base,66+ producer,67+ expectedPatches,68+ expectedInversePatches,69+ expectedResult70+ )71+72+ describeFn(testName, () => {31- if (expectedResult !== undefined)73+ if (expectedResult !== undefined) {74 test("produced the correct result", () => {33- expect(res).toEqual(expectedResult)75+ expect(testData.result).toEqual(expectedResult)76 })77+ }78 79 test("produces the correct patches", () => {37- expect(recordedPatches).toEqual(patches)38- if (inversePathes) expect(recordedInversePatches).toEqual(inversePathes)80+ expect(testData.patches).toEqual(expectedPatches)81+ if (expectedInversePatches) {82+ expect(testData.inversePatches).toEqual(expectedInversePatches)83+ }84 })85 86 test("patches are replayable", () => {42- expect(applyPatches(base, recordedPatches)).toEqual(res)87+ expect(applyPatches(base, testData.patches)).toEqual(testData.result)88 })89 90 test("patches can be reversed", () => {46- expect(applyPatches(res, recordedInversePatches)).toEqual(base)91+ if (expectedInversePatches) {92+ expect(applyPatches(testData.result, testData.inversePatches)).toEqual(93+ base94+ )95+ }96 })97+ })98 49- return res50- }99+ return testData100+}101 52- describe(`proxy`, () => {53- resultProxies = runPatchTestHelper()54- })102+// Convenience functions for common use cases103+runPatchTests.only = function(104+ testName,105+ base,106+ producer,107+ expectedPatches,108+ expectedInversePatches,109+ expectedResult110+) {111+ return runPatchTests(112+ testName,113+ base,114+ producer,115+ expectedPatches,116+ expectedInversePatches,117+ expectedResult,118+ {only: true}119+ )120+}121 56- return resultProxies122+runPatchTests.skip = function(123+ testName,124+ base,125+ producer,126+ expectedPatches,127+ expectedInversePatches,128+ expectedResult129+) {130+ return runPatchTests(131+ testName,132+ base,133+ producer,134+ expectedPatches,135+ expectedInversePatches,136+ expectedResult,137+ {skip: true}138+ )139 }140 141 describe("applyPatches", () => {142 it("mutates the base state when it is a draft", () => {54 unmodified lines197 expect(replaceValueAfter).toStrictEqual(replaceValueBefore)198 })199 })200 119-describe("simple assignment - 1", () => {120- runPatchTest(121- {x: 3},122- d => {123- d.x++124- },125- [{op: "replace", path: ["x"], value: 4}]126- )127-})201+// New macro-style test202+runPatchTests(203+ "simple assignment - 1",204+ {x: 3},205+ d => {206+ d.x++207+ },208+ [{op: "replace", path: ["x"], value: 4}]209+)210 129-describe("simple assignment - 2", () => {130- runPatchTest(131- {x: {y: 4}},132- d => {133- d.x.y++134- },135- [{op: "replace", path: ["x", "y"], value: 5}]136- )137-})211+// Original test (commented out for comparison)212+// describe("simple assignment - 1", () => {213+// runPatchTest(214+// {x: 3},215+// d => {216+// d.x++217+// },218+// [{op: "replace", path: ["x"], value: 4}]219+// )220+// })221 139-describe("simple assignment - 3", () => {140- runPatchTest(141- {x: [{y: 4}]},142- d => {143- d.x[0].y++144- },145- [{op: "replace", path: ["x", 0, "y"], value: 5}]146- )147-})222+// New macro-style tests223+runPatchTests(224+ "simple assignment - 2",225+ {x: {y: 4}},226+ d => {227+ d.x.y++228+ },229+ [{op: "replace", path: ["x", "y"], value: 5}]230+)231 149-describe("simple assignment - 4", () => {150- runPatchTest(151- new Map([["x", {y: 4}]]),152- d => {153- d.get("x").y++154- },155- [{op: "replace", path: ["x", "y"], value: 5}],156- [{op: "replace", path: ["x", "y"], value: 4}]157- )158-})232+runPatchTests(233+ "simple assignment - 3",234+ {x: [{y: 4}]},235+ d => {236+ d.x[0].y++237+ },238+ [{op: "replace", path: ["x", 0, "y"], value: 5}]239+)240 160-describe("simple assignment - 5", () => {161- runPatchTest(162- {x: new Map([["y", 4]])},163- d => {164- d.x.set("y", 5)165- },166- [{op: "replace", path: ["x", "y"], value: 5}],167- [{op: "replace", path: ["x", "y"], value: 4}]168- )169-})241+runPatchTests(242+ "simple assignment - 4",243+ new Map([["x", {y: 4}]]),244+ d => {245+ d.get("x").y++246+ },247+ [{op: "replace", path: ["x", "y"], value: 5}],248+ [{op: "replace", path: ["x", "y"], value: 4}]249+)250 171-describe("simple assignment - 6", () => {172- runPatchTest(173- new Map([["x", 1]]),174- d => {175- // Map.prototype.set should return the Map itself176- const res = d.set("x", 2)177- res.set("y", 3)178- },179- [180- {op: "replace", path: ["x"], value: 2},181- {op: "add", path: ["y"], value: 3}182- ],183- [184- {op: "replace", path: ["x"], value: 1},185- {op: "remove", path: ["y"]}186- ]187- )188-})251+runPatchTests(252+ "simple assignment - 5",253+ {x: new Map([["y", 4]])},254+ d => {255+ d.x.set("y", 5)256+ },257+ [{op: "replace", path: ["x", "y"], value: 5}],258+ [{op: "replace", path: ["x", "y"], value: 4}]259+)260 261+runPatchTests(262+ "simple assignment - 6",263+ new Map([["x", 1]]),264+ d => {265+ // Map.prototype.set should return the Map itself266+ const res = d.set("x", 2)267+ res.set("y", 3)268+ },269+ [270+ {op: "replace", path: ["x"], value: 2},271+ {op: "add", path: ["y"], value: 3}272+ ],273+ [274+ {op: "replace", path: ["x"], value: 1},275+ {op: "remove", path: ["y"]}276+ ]277+)278+279+// Complex test with external variables - keep as individual describe280 describe("simple assignment - 7", () => {281 const key1 = {prop: "val1"}282 const key2 = {prop: "val2"}283+193- runPatchTest(284+ runPatchTests(285+ "",286 {x: new Map([[key1, 4]])},287 d => {288 d.x.set(key1, 5)289 d.x.set(key2, 6)8 unmodified lines298 ]299 )300 })301 210-describe("simple assignment - 8", () => {211- runPatchTest(212- new Map([[0, new Map([[1, 4]])]]),213- d => {214- d.get(0).set(1, 5)215- d.get(0).set(2, 6)216- },217- [218- {op: "replace", path: [0, 1], value: 5},219- {op: "add", path: [0, 2], value: 6}220- ],221- [222- {op: "replace", path: [0, 1], value: 4},223- {op: "remove", path: [0, 2]}224- ]225- )226-})302+runPatchTests(303+ "simple assignment - 8",304+ new Map([[0, new Map([[1, 4]])]]),305+ d => {306+ d.get(0).set(1, 5)307+ d.get(0).set(2, 6)308+ },309+ [310+ {op: "replace", path: [0, 1], value: 5},311+ {op: "add", path: [0, 2], value: 6}312+ ],313+ [314+ {op: "replace", path: [0, 1], value: 4},315+ {op: "remove", path: [0, 2]}316+ ]317+)318 228-describe("delete 1", () => {229- runPatchTest(230- {x: {y: 4}},231- d => {232- delete d.x233- },234- [{op: "remove", path: ["x"]}]235- )236-})319+runPatchTests(320+ "delete 1",321+ {x: {y: 4}},322+ d => {323+ delete d.x324+ },325+ [{op: "remove", path: ["x"]}]326+)327 238-describe("delete 2", () => {239- runPatchTest(240- new Map([["x", 1]]),241- d => {242- d.delete("x")243- },244- [{op: "remove", path: ["x"]}],245- [{op: "add", path: ["x"], value: 1}]246- )247-})328+runPatchTests(329+ "delete 2",330+ new Map([["x", 1]]),331+ d => {332+ d.delete("x")333+ },334+ [{op: "remove", path: ["x"]}],335+ [{op: "add", path: ["x"], value: 1}]336+)337 249-describe("delete 3", () => {250- runPatchTest(251- {x: new Map([["y", 1]])},252- d => {253- d.x.delete("y")254- },255- [{op: "remove", path: ["x", "y"]}],256- [{op: "add", path: ["x", "y"], value: 1}]257- )258-})338+runPatchTests(339+ "delete 3",340+ {x: new Map([["y", 1]])},341+ d => {342+ d.x.delete("y")343+ },344+ [{op: "remove", path: ["x", "y"]}],345+ [{op: "add", path: ["x", "y"], value: 1}]346+)347 348 describe("delete 5", () => {349 const key1 = {prop: "val1"}350 const key2 = {prop: "val2"}351+263- runPatchTest(352+ runPatchTests(353+ "",354 {355 x: new Map([356 [key1, 1],357 [key2, 2]13 unmodified lines371 ]372 )373 })374 285-describe("delete 6", () => {286- runPatchTest(287- new Set(["x", 1]),288- d => {289- d.delete("x")290- },291- [{op: "remove", path: [0], value: "x"}],292- [{op: "add", path: [0], value: "x"}]293- )294-})375+runPatchTests(376+ "delete 6",377+ new Set(["x", 1]),378+ d => {379+ d.delete("x")380+ },381+ [{op: "remove", path: [0], value: "x"}],382+ [{op: "add", path: [0], value: "x"}]383+)384 296-describe("delete 7", () => {297- runPatchTest(298- {x: new Set(["y", 1])},299- d => {300- d.x.delete("y")301- },302- [{op: "remove", path: ["x", 0], value: "y"}],303- [{op: "add", path: ["x", 0], value: "y"}]304- )305-})385+runPatchTests(386+ "delete 7",387+ {x: new Set(["y", 1])},388+ d => {389+ d.x.delete("y")390+ },391+ [{op: "remove", path: ["x", 0], value: "y"}],392+ [{op: "add", path: ["x", 0], value: "y"}]393+)394 395 describe("renaming properties", () => {308- describe("nested object (no changes)", () => {309- runPatchTest(310- {a: {b: 1}},311- d => {312- d.x = d.a313- delete d.a314- },315- [316- {op: "add", path: ["x"], value: {b: 1}},317- {op: "remove", path: ["a"]}318- ]319- )320- })321-322- describe("nested change in object", () => {323- runPatchTest(324- {325- a: {b: 1}326- },327- d => {328- d.a.b++329- },330- [{op: "replace", path: ["a", "b"], value: 2}],331- [{op: "replace", path: ["a", "b"], value: 1}]332- )333- })334-335- describe("nested change in map", () => {336- runPatchTest(337- new Map([["a", new Map([["b", 1]])]]),338- d => {339- d.get("a").set("b", 2)340- },341- [{op: "replace", path: ["a", "b"], value: 2}],342- [{op: "replace", path: ["a", "b"], value: 1}]343- )344- })345-346- describe("nested change in array", () => {347- runPatchTest(348- [[{b: 1}]],349- d => {350- d[0][0].b++351- },352- [{op: "replace", path: [0, 0, "b"], value: 2}],353- [{op: "replace", path: [0, 0, "b"], value: 1}]354- )355- })356-357- describe("nested map (no changes)", () => {358- runPatchTest(359- new Map([["a", new Map([["b", 1]])]]),360- d => {361- d.set("x", d.get("a"))362- d.delete("a")363- },364- [365- {op: "add", path: ["x"], value: new Map([["b", 1]])},366- {op: "remove", path: ["a"]}367- ],368- [369- {op: "remove", path: ["x"]},370- {op: "add", path: ["a"], value: new Map([["b", 1]])}371- ]372- )373- })374-375- describe("nested object (with changes)", () => {376- runPatchTest(377- {a: {b: 1, c: 1}},378- d => {379- let a = d.a380- a.b = 2 // change381- delete a.c // delete382- a.y = 2 // add383-384- // rename385- d.x = a386- delete d.a387- },388- [389- {op: "add", path: ["x"], value: {b: 2, y: 2}},390- {op: "remove", path: ["a"]}391- ]392- )393- })394-395- describe("nested map (with changes)", () => {396- runPatchTest(397- new Map([398- [399- "a",400- new Map([401- ["b", 1],402- ["c", 1]403- ])404- ]405- ]),406- d => {407- let a = d.get("a")408- a.set("b", 2) // change409- a.delete("c") // delete410- a.set("y", 2) // add411-412- // rename413- d.set("x", a)414- d.delete("a")415- },416- [417- {418- op: "add",419- path: ["x"],420- value: new Map([421- ["b", 2],422- ["y", 2]423- ])424- },425- {op: "remove", path: ["a"]}426- ],427- [428- {op: "remove", path: ["x"]},429- {430- op: "add",431- path: ["a"],432- value: new Map([433- ["b", 1],434- ["c", 1]435- ])436- }437- ]438- )439- })440-441- describe("deeply nested object (with changes)", () => {442- runPatchTest(443- {a: {b: {c: 1, d: 1}}},444- d => {445- let b = d.a.b446- b.c = 2 // change447- delete b.d // delete448- b.y = 2 // add449-450- // rename451- d.a.x = b452- delete d.a.b453- },454- [455- {op: "add", path: ["a", "x"], value: {c: 2, y: 2}},456- {op: "remove", path: ["a", "b"]}457- ]458- )459- })460-461- describe("deeply nested map (with changes)", () => {462- runPatchTest(463- new Map([464- [465- "a",466- new Map([467- [468- "b",469- new Map([470- ["c", 1],471- ["d", 1]472- ])473- ]474- ])475- ]476- ]),477- d => {478- let b = d.get("a").get("b")479- b.set("c", 2) // change480- b.delete("d") // delete481- b.set("y", 2) // add482-483- // rename484- d.get("a").set("x", b)485- d.get("a").delete("b")486- },487- [488- {489- op: "add",490- path: ["a", "x"],491- value: new Map([492- ["c", 2],493- ["y", 2]494- ])495- },496- {op: "remove", path: ["a", "b"]}497- ],498- [499- {op: "remove", path: ["a", "x"]},500- {501- op: "add",502- path: ["a", "b"],503- value: new Map([504- ["c", 1],505- ["d", 1]506- ])507- }508- ]509- )510- })511-})512-513-describe("minimum amount of changes", () => {514- runPatchTest(515- {x: 3, y: {a: 4}, z: 3},396+ runPatchTests(397+ "nested object (no changes)",398+ {a: {b: 1}},399 d => {517- d.y.a = 4518- d.y.b = 5519- Object.assign(d, {x: 4, y: {a: 2}})400+ d.x = d.a401+ delete d.a402 },403 [522- {op: "replace", path: ["x"], value: 4},523- {op: "replace", path: ["y"], value: {a: 2}}404+ {op: "add", path: ["x"], value: {b: 1}},405+ {op: "remove", path: ["a"]}406 ]407 )526-})408 528-describe("arrays - prepend", () => {529- runPatchTest(530- {x: [1, 2, 3]},531- d => {532- d.x.unshift(4)409+ runPatchTests(410+ "nested change in object",411+ {412+ a: {b: 1}413 },534- [535- {op: "replace", path: ["x", 0], value: 4},536- {op: "replace", path: ["x", 1], value: 1},537- {op: "replace", path: ["x", 2], value: 2},538- {op: "add", path: ["x", 3], value: 3}539- ]540- )541-})542-543-describe("arrays - multiple prepend", () => {544- runPatchTest(545- {x: [1, 2, 3]},414 d => {547- d.x.unshift(4)548- d.x.unshift(5)549- // 4,5,1,2,3415+ d.a.b++416 },551- [552- {op: "replace", path: ["x", 0], value: 5},553- {op: "replace", path: ["x", 1], value: 4},554- {op: "replace", path: ["x", 2], value: 1},555- {op: "add", path: ["x", 3], value: 2},556- {op: "add", path: ["x", 4], value: 3}557- ]417+ [{op: "replace", path: ["a", "b"], value: 2}],418+ [{op: "replace", path: ["a", "b"], value: 1}]419 )559-})420 561-describe("arrays - splice middle", () => {562- runPatchTest(563- {x: [1, 2, 3]},421+ runPatchTests(422+ "nested change in map",423+ new Map([["a", new Map([["b", 1]])]]),424 d => {565- d.x.splice(1, 1)425+ d.get("a").set("b", 2)426 },567- [568- {op: "replace", path: ["x", 1], value: 3},569- {op: "remove", path: ["x", 2]}570- ]427+ [{op: "replace", path: ["a", "b"], value: 2}],428+ [{op: "replace", path: ["a", "b"], value: 1}]429 )572-})430 574-describe("arrays - multiple splice", () => {575- runPatchTest(576- [0, 1, 2, 3, 4, 5, 0],431+ runPatchTests(432+ "nested change in array",433+ [[{b: 1}]],434 d => {578- d.splice(4, 2, 3)579- // [0,1,2,3,3,0]580- d.splice(1, 2, 3)581- // [0,3,3,3,0]582- expect(d.slice()).toEqual([0, 3, 3, 3, 0])435+ d[0][0].b++436 },584- [585- {op: "replace", path: [1], value: 3},586- {op: "replace", path: [2], value: 3},587- {op: "replace", path: [4], value: 0},588- {op: "remove", path: [6]},589- {op: "remove", path: [5]}590- ]437+ [{op: "replace", path: [0, 0, "b"], value: 2}],438+ [{op: "replace", path: [0, 0, "b"], value: 1}]439 )592-})440 594-describe("arrays - modify and shrink", () => {595- runPatchTest(596- {x: [1, 2, 3]},441+ runPatchTests(442+ "nested map (no changes)",443+ new Map([["a", new Map([["b", 1]])]]),444 d => {598- d.x[0] = 4599- d.x.length = 2600- // [0, 2]445+ d.set("x", d.get("a"))446+ d.delete("a")447 },448 [603- {op: "replace", path: ["x", 0], value: 4},604- {op: "remove", path: ["x", 2]}449+ {op: "add", path: ["x"], value: new Map([["b", 1]])},450+ {op: "remove", path: ["a"]}451 ],452 [607- {op: "replace", path: ["x", 0], value: 1},608- {op: "add", path: ["x", 2], value: 3}453+ {op: "remove", path: ["x"]},454+ {op: "add", path: ["a"], value: new Map([["b", 1]])}455 ]456 )611-})457 613-describe("arrays - prepend then splice middle", () => {614- runPatchTest(615- {x: [1, 2, 3]},458+ runPatchTests(459+ "nested object (with changes)",460+ {a: {b: 1, c: 1}},461 d => {617- d.x.unshift(4)618- d.x.splice(2, 1)619- // 4, 1, 3620- },621- [622- {op: "replace", path: ["x", 0], value: 4},623- {op: "replace", path: ["x", 1], value: 1}624- ]625- )626-})462+ let a = d.a463+ a.b = 2 // change464+ delete a.c // delete465+ a.y = 2 // add466 628-describe("arrays - splice middle then prepend", () => {629- runPatchTest(630- {x: [1, 2, 3]},631- d => {632- d.x.splice(1, 1)633- d.x.unshift(4)634- // [4, 1, 3]467+ // rename468+ d.x = a469+ delete d.a470 },471 [637- {op: "replace", path: ["x", 0], value: 4},638- {op: "replace", path: ["x", 1], value: 1}472+ {op: "add", path: ["x"], value: {b: 2, y: 2}},473+ {op: "remove", path: ["a"]}474 ]475 )641-})476 643-describe("arrays - truncate", () => {644- runPatchTest(645- {x: [1, 2, 3]},477+ runPatchTests(478+ "nested map (with changes)",479+ new Map([480+ [481+ "a",482+ new Map([483+ ["b", 1],484+ ["c", 1]485+ ])486+ ]487+ ]),488 d => {647- d.x.length -= 2489+ let a = d.get("a")490+ a.set("b", 2) // change491+ a.delete("c") // delete492+ a.set("y", 2) // add493+494+ // rename495+ d.set("x", a)496+ d.delete("a")497 },498 [650- {op: "remove", path: ["x", 2]},651- {op: "remove", path: ["x", 1]}499+ {500+ op: "add",501+ path: ["x"],502+ value: new Map([503+ ["b", 2],504+ ["y", 2]505+ ])506+ },507+ {op: "remove", path: ["a"]}508 ],509 [654- {op: "add", path: ["x", 1], value: 2},655- {op: "add", path: ["x", 2], value: 3}510+ {op: "remove", path: ["x"]},511+ {512+ op: "add",513+ path: ["a"],514+ value: new Map([515+ ["b", 1],516+ ["c", 1]517+ ])518+ }519 ]520 )658-})521 660-describe("arrays - pop twice", () => {661- runPatchTest(662- {x: [1, 2, 3]},522+ runPatchTests(523+ "deeply nested object (with changes)",524+ {a: {b: {c: 1, d: 1}}},525 d => {664- d.x.pop()665- d.x.pop()666- },667- [668- {op: "remove", path: ["x", 2]},669- {op: "remove", path: ["x", 1]}670- ]671- )672-})526+ let b = d.a.b527+ b.c = 2 // change528+ delete b.d // delete529+ b.y = 2 // add530 674-describe("arrays - push multiple", () => {675- // These patches were more optimal pre immer 7, but not always correct676- runPatchTest(677- {x: [1, 2, 3]},678- d => {679- d.x.push(4, 5)531+ // rename532+ d.a.x = b533+ delete d.a.b534 },535 [682- {op: "add", path: ["x", 3], value: 4},683- {op: "add", path: ["x", 4], value: 5}684- ],685- [686- {op: "remove", path: ["x", 4]},687- {op: "remove", path: ["x", 3]}536+ {op: "add", path: ["a", "x"], value: {c: 2, y: 2}},537+ {op: "remove", path: ["a", "b"]}538 ]539 )690-})540 692-describe("arrays - splice (expand)", () => {693- // These patches were more optimal pre immer 7, but not always correct694- runPatchTest(695- {x: [1, 2, 3]},541+ runPatchTests(542+ "deeply nested map (with changes)",543+ new Map([544+ [545+ "a",546+ new Map([547+ [548+ "b",549+ new Map([550+ ["c", 1],551+ ["d", 1]552+ ])553+ ]554+ ])555+ ]556+ ]),557 d => {697- d.x.splice(1, 1, 4, 5, 6) // [1,4,5,6,3]698- },699- [700- {op: "replace", path: ["x", 1], value: 4},701- {op: "replace", path: ["x", 2], value: 5},702- {op: "add", path: ["x", 3], value: 6},703- {op: "add", path: ["x", 4], value: 3}704- ],705- [706- {op: "replace", path: ["x", 1], value: 2},707- {op: "replace", path: ["x", 2], value: 3},708- {op: "remove", path: ["x", 4]},709- {op: "remove", path: ["x", 3]}710- ]711- )712-})558+ let b = d.get("a").get("b")559+ b.set("c", 2) // change560+ b.delete("d") // delete561+ b.set("y", 2) // add562 714-describe("arrays - splice (shrink)", () => {715- // These patches were more optimal pre immer 7, but not always correct716- runPatchTest(717- {x: [1, 2, 3, 4, 5]},718- d => {719- d.x.splice(1, 3, 6) // [1, 6, 5]563+ // rename564+ d.get("a").set("x", b)565+ d.get("a").delete("b")566 },567 [722- {op: "replace", path: ["x", 1], value: 6},723- {op: "replace", path: ["x", 2], value: 5},724- {op: "remove", path: ["x", 4]},725- {op: "remove", path: ["x", 3]}568+ {569+ op: "add",570+ path: ["a", "x"],571+ value: new Map([572+ ["c", 2],573+ ["y", 2]574+ ])575+ },576+ {op: "remove", path: ["a", "b"]}577 ],578 [728- {op: "replace", path: ["x", 1], value: 2},729- {op: "replace", path: ["x", 2], value: 3},730- {op: "add", path: ["x", 3], value: 4},731- {op: "add", path: ["x", 4], value: 5}579+ {op: "remove", path: ["a", "x"]},580+ {581+ op: "add",582+ path: ["a", "b"],583+ value: new Map([584+ ["c", 1],585+ ["d", 1]586+ ])587+ }588 ]589 )590 })591 736-describe("arrays - delete", () => {737- runPatchTest(738- {739- x: [740- {a: 1, b: 2},741- {c: 3, d: 4}742- ]743- },744- d => {745- delete d.x[1].c746- },747- [{op: "remove", path: ["x", 1, "c"]}]748- )749-})592+runPatchTests(593+ "minimum amount of changes",594+ {x: 3, y: {a: 4}, z: 3},595+ d => {596+ d.y.a = 4597+ d.y.b = 5598+ Object.assign(d, {x: 4, y: {a: 2}})599+ },600+ [601+ {op: "replace", path: ["x"], value: 4},602+ {op: "replace", path: ["y"], value: {a: 2}}603+ ]604+)605 606+runPatchTests(607+ "arrays - prepend",608+ {x: [1, 2, 3]},609+ d => {610+ d.x.unshift(4)611+ },612+ [613+ {op: "replace", path: ["x", 0], value: 4},614+ {op: "replace", path: ["x", 1], value: 1},615+ {op: "replace", path: ["x", 2], value: 2},616+ {op: "add", path: ["x", 3], value: 3}617+ ]618+)619+620+runPatchTests(621+ "arrays - multiple prepend",622+ {x: [1, 2, 3]},623+ d => {624+ d.x.unshift(4)625+ d.x.unshift(5)626+ // 4,5,1,2,3627+ },628+ [629+ {op: "replace", path: ["x", 0], value: 5},630+ {op: "replace", path: ["x", 1], value: 4},631+ {op: "replace", path: ["x", 2], value: 1},632+ {op: "add", path: ["x", 3], value: 2},633+ {op: "add", path: ["x", 4], value: 3}634+ ]635+)636+637+runPatchTests(638+ "arrays - splice middle",639+ {x: [1, 2, 3]},640+ d => {641+ d.x.splice(1, 1)642+ },643+ [644+ {op: "replace", path: ["x", 1], value: 3},645+ {op: "remove", path: ["x", 2]}646+ ]647+)648+649+runPatchTests(650+ "arrays - multiple splice",651+ [0, 1, 2, 3, 4, 5, 0],652+ d => {653+ d.splice(4, 2, 3)654+ // [0,1,2,3,3,0]655+ d.splice(1, 2, 3)656+ // [0,3,3,3,0]657+ expect(d.slice()).toEqual([0, 3, 3, 3, 0])658+ },659+ [660+ {op: "replace", path: [1], value: 3},661+ {op: "replace", path: [2], value: 3},662+ {op: "replace", path: [4], value: 0},663+ {op: "remove", path: [6]},664+ {op: "remove", path: [5]}665+ ]666+)667+668+runPatchTests(669+ "arrays - modify and shrink",670+ {x: [1, 2, 3]},671+ d => {672+ d.x[0] = 4673+ d.x.length = 2674+ // [0, 2]675+ },676+ [677+ {op: "replace", path: ["x", 0], value: 4},678+ {op: "remove", path: ["x", 2]}679+ ],680+ [681+ {op: "replace", path: ["x", 0], value: 1},682+ {op: "add", path: ["x", 2], value: 3}683+ ]684+)685+686+runPatchTests(687+ "arrays - prepend then splice middle",688+ {x: [1, 2, 3]},689+ d => {690+ d.x.unshift(4)691+ d.x.splice(2, 1)692+ // 4, 1, 3693+ },694+ [695+ {op: "replace", path: ["x", 0], value: 4},696+ {op: "replace", path: ["x", 1], value: 1}697+ ]698+)699+700+runPatchTests(701+ "arrays - splice middle then prepend",702+ {x: [1, 2, 3]},703+ d => {704+ d.x.splice(1, 1)705+ d.x.unshift(4)706+ // [4, 1, 3]707+ },708+ [709+ {op: "replace", path: ["x", 0], value: 4},710+ {op: "replace", path: ["x", 1], value: 1}711+ ]712+)713+714+runPatchTests(715+ "arrays - truncate",716+ {x: [1, 2, 3]},717+ d => {718+ d.x.length -= 2719+ },720+ [721+ {op: "remove", path: ["x", 2]},722+ {op: "remove", path: ["x", 1]}723+ ],724+ [725+ {op: "add", path: ["x", 1], value: 2},726+ {op: "add", path: ["x", 2], value: 3}727+ ]728+)729+730+runPatchTests(731+ "arrays - pop twice",732+ {x: [1, 2, 3]},733+ d => {734+ d.x.pop()735+ d.x.pop()736+ },737+ [738+ {op: "remove", path: ["x", 2]},739+ {op: "remove", path: ["x", 1]}740+ ]741+)742+743+runPatchTests(744+ "arrays - push multiple",745+ {x: [1, 2, 3]},746+ d => {747+ d.x.push(4, 5)748+ },749+ [750+ {op: "add", path: ["x", 3], value: 4},751+ {op: "add", path: ["x", 4], value: 5}752+ ],753+ [754+ {op: "remove", path: ["x", 4]},755+ {op: "remove", path: ["x", 3]}756+ ]757+)758+759+runPatchTests(760+ "arrays - splice (expand)",761+ {x: [1, 2, 3]},762+ d => {763+ d.x.splice(1, 1, 4, 5, 6) // [1,4,5,6,3]764+ },765+ [766+ {op: "replace", path: ["x", 1], value: 4},767+ {op: "replace", path: ["x", 2], value: 5},768+ {op: "add", path: ["x", 3], value: 6},769+ {op: "add", path: ["x", 4], value: 3}770+ ],771+ [772+ {op: "replace", path: ["x", 1], value: 2},773+ {op: "replace", path: ["x", 2], value: 3},774+ {op: "remove", path: ["x", 4]},775+ {op: "remove", path: ["x", 3]}776+ ]777+)778+779+runPatchTests(780+ "arrays - splice (shrink)",781+ {x: [1, 2, 3, 4, 5]},782+ d => {783+ d.x.splice(1, 3, 6) // [1, 6, 5]784+ },785+ [786+ {op: "replace", path: ["x", 1], value: 6},787+ {op: "replace", path: ["x", 2], value: 5},788+ {op: "remove", path: ["x", 4]},789+ {op: "remove", path: ["x", 3]}790+ ],791+ [792+ {op: "replace", path: ["x", 1], value: 2},793+ {op: "replace", path: ["x", 2], value: 3},794+ {op: "add", path: ["x", 3], value: 4},795+ {op: "add", path: ["x", 4], value: 5}796+ ]797+)798+799+runPatchTests(800+ "arrays - delete",801+ {802+ x: [803+ {a: 1, b: 2},804+ {c: 3, d: 4}805+ ]806+ },807+ d => {808+ delete d.x[1].c809+ },810+ [{op: "remove", path: ["x", 1, "c"]}]811+)812+813 describe("arrays - append", () => {814 test("appends to array when last part of path is '-'", () => {815 const state = {816 list: [1, 2, 3]8 unmodified lines825 })826 })827 })828 767-describe("sets - add - 1", () => {768- runPatchTest(769- new Set([1]),770- d => {771- d.add(2)772- },773- [{op: "add", path: [1], value: 2}],774- [{op: "remove", path: [1], value: 2}]775- )776-})829+runPatchTests(830+ "sets - add - 1",831+ new Set([1]),832+ d => {833+ d.add(2)834+ },835+ [{op: "add", path: [1], value: 2}],836+ [{op: "remove", path: [1], value: 2}]837+)838 778-describe("sets - add, delete, add - 1", () => {779- runPatchTest(780- new Set([1]),781- d => {782- d.add(2)783- d.delete(2)784- d.add(2)785- },786- [{op: "add", path: [1], value: 2}],787- [{op: "remove", path: [1], value: 2}]788- )789-})839+runPatchTests(840+ "sets - add, delete, add - 1",841+ new Set([1]),842+ d => {843+ d.add(2)844+ d.delete(2)845+ d.add(2)846+ },847+ [{op: "add", path: [1], value: 2}],848+ [{op: "remove", path: [1], value: 2}]849+)850 791-describe("sets - add, delete, add - 2", () => {792- runPatchTest(793- new Set([2, 1]),794- d => {795- d.add(2)796- d.delete(2)797- d.add(2)798- },799- [],800- []801- )802-})851+runPatchTests(852+ "sets - add, delete, add - 2",853+ new Set([2, 1]),854+ d => {855+ d.add(2)856+ d.delete(2)857+ d.add(2)858+ },859+ [],860+ []861+)862 863 describe("sets - mutate - 1", () => {864 const findById = (set, id) => {865 for (const item of set) {866 if (item.id === id) return item867 }868 }810- runPatchTest(869+ runPatchTests(870+ "",871 new Set([872 {id: 1, val: "We"},873 {id: 2, val: "will"}874 ]),17 unmodified lines892 ]893 )894 })895 836-describe("arrays - splice should should result in remove op.", () => {837- // These patches were more optimal pre immer 7, but not always correct838- runPatchTest(839- [1, 2],840- d => {841- d.splice(1, 1)842- },843- [{op: "remove", path: [1]}],844- [{op: "add", path: [1], value: 2}]845- )846-})896+// These patches were more optimal pre immer 7, but not always correct897+runPatchTests(898+ "arrays - splice should should result in remove op.",899+ [1, 2],900+ d => {901+ d.splice(1, 1)902+ },903+ [{op: "remove", path: [1]}],904+ [{op: "add", path: [1], value: 2}]905+)906 848-describe("arrays - NESTED splice should should result in remove op.", () => {849- // These patches were more optimal pre immer 7, but not always correct850- runPatchTest(851- {a: {b: {c: [1, 2]}}},852- d => {853- d.a.b.c.splice(1, 1)854- },855- [{op: "remove", path: ["a", "b", "c", 1]}],856- [{op: "add", path: ["a", "b", "c", 1], value: 2}]857- )858-})907+// These patches were more optimal pre immer 7, but not always correct908+runPatchTests(909+ "arrays - NESTED splice should should result in remove op.",910+ {a: {b: {c: [1, 2]}}},911+ d => {912+ d.a.b.c.splice(1, 1)913+ },914+ [{op: "remove", path: ["a", "b", "c", 1]}],915+ [{op: "add", path: ["a", "b", "c", 1], value: 2}]916+)917 860-describe("simple replacement", () => {861- runPatchTest({x: 3}, _d => 4, [{op: "replace", path: [], value: 4}])862-})918+runPatchTests("simple replacement", {x: 3}, _d => 4, [919+ {op: "replace", path: [], value: 4}920+])921 864-describe("same value replacement - 1", () => {865- runPatchTest(866- {x: {y: 3}},867- d => {868- const a = d.x869- d.x = a870- },871- []872- )873-})922+runPatchTests(923+ "same value replacement - 1",924+ {x: {y: 3}},925+ d => {926+ const a = d.x927+ d.x = a928+ },929+ []930+)931 875-describe("same value replacement - 2", () => {876- runPatchTest(877- {x: {y: 3}},878- d => {879- const a = d.x880- d.x = 4881- d.x = a882- },883- []884- )885-})932+runPatchTests(933+ "same value replacement - 2",934+ {x: {y: 3}},935+ d => {936+ const a = d.x937+ d.x = 4938+ d.x = a939+ },940+ []941+)942 887-describe("same value replacement - 3", () => {888- runPatchTest(889- {x: 3},890- d => {891- d.x = 3892- },893- []894- )895-})943+runPatchTests(944+ "same value replacement - 3",945+ {x: 3},946+ d => {947+ d.x = 3948+ },949+ []950+)951 897-describe("same value replacement - 4", () => {898- runPatchTest(899- {x: 3},900- d => {901- d.x = 4902- d.x = 3903- },904- []905- )906-})952+runPatchTests(953+ "same value replacement - 4",954+ {x: 3},955+ d => {956+ d.x = 4957+ d.x = 3958+ },959+ []960+)961 908-describe("same value replacement - 5", () => {909- runPatchTest(910- new Map([["x", 3]]),911- d => {912- d.set("x", 4)913- d.set("x", 3)914- },915- [],916- []917- )918-})962+runPatchTests(963+ "same value replacement - 5",964+ new Map([["x", 3]]),965+ d => {966+ d.set("x", 4)967+ d.set("x", 3)968+ },969+ [],970+ []971+)972 920-describe("same value replacement - 6", () => {921- runPatchTest(922- new Set(["x", 3]),923- d => {924- d.delete("x")925- d.add("x")926- },927- [],928- []929- )930-})973+runPatchTests(974+ "same value replacement - 6",975+ new Set(["x", 3]),976+ d => {977+ d.delete("x")978+ d.add("x")979+ },980+ [],981+ []982+)983 932-describe("simple delete", () => {933- runPatchTest(934- {x: 2},935- d => {936- delete d.x937- },938- [939- {940- op: "remove",941- path: ["x"]942- }943- ]944- )945-})984+runPatchTests(985+ "simple delete",986+ {x: 2},987+ d => {988+ delete d.x989+ },990+ [991+ {992+ op: "remove",993+ path: ["x"]994+ }995+ ]996+)997 998 describe("patch compressions yields correct results", () => {948- let p1, p2949- runPatchTest(999+ let p1 = [1000+ {1001+ op: "add",1002+ path: ["x"],1003+ value: {1004+ test: true1005+ }1006+ }1007+ ]1008+ let p2 = [1009+ {1010+ op: "remove",1011+ path: ["x"]1012+ }1013+ ]1014+1015+ runPatchTests(1016+ "add only",1017 {},1018 d => {1019 d.x = {test: true}1020 },954- (p1 = [955- {956- op: "add",957- path: ["x"],958- value: {959- test: true960- }961- }962- ])1021+ p11022 )1023+964- runPatchTest(1024+ runPatchTests(1025+ "delete only",1026 {x: {test: true}},1027 d => {1028 delete d.x1029 },969- (p2 = [970- {971- op: "remove",972- path: ["x"]973- }974- ])1030+ p21031 )976- const res = runPatchTest(1032+ const testData = runPatchTests(1033+ "add and delete together cancel",1034 {},1035 d => {1036 applyPatches(d, [...p1, ...p2])1037 },1038 []1039 )1040 984- expect(res).toEqual({})1041+ expect(testData.result).toEqual({})1042 })1043 987-describe("change then delete property", () => {988- const res = runPatchTest(1044+runPatchTests(1045+ "change then delete property",1046+ {1047+ x: 11048+ },1049+ d => {1050+ d.x = 21051+ delete d.x1052+ },1053+ [1054 {990- x: 1991- },992- d => {993- d.x = 2994- delete d.x995- },996- [997- {998- op: "remove",999- path: ["x"]1000- }1001- ]1002- )1055+ op: "remove",1056+ path: ["x"]1057+ }1058+ ]1059+)1003- test("valid result", () => {1004- expect(res).toEqual({})1005- })1006-})1060 1061 test("replaying patches with interweaved replacements should work correctly", () => {1062 const patches = []1063 const s0 = {x: 1}135 unmodified lines1199 }1200 1201 let base = new Base()1202 1150- runPatchTest(1203+ runPatchTests(1204+ "",1205 base,1206 vdraft => {1207 reference.value = vdraft1208 produce(base, bdraft => {253 unmodified lines1462 expect(patches).toEqual([{op: "replace", path: [], value: true}])1463 }1464 })1465 1412-describe("#879 delete item from array", () => {1413- runPatchTest(1414- [1, 2, 3],1415- draft => {1416- delete draft[1]1417- },1418- [{op: "replace", path: [1], value: undefined}],1419- [{op: "replace", path: [1], value: 2}],1420- [1, undefined, 3]1421- )1422-})1466+runPatchTests(1467+ "#879 delete item from array",1468+ [1, 2, 3],1469+ draft => {1470+ delete draft[1]1471+ },1472+ [{op: "replace", path: [1], value: undefined}],1473+ [{op: "replace", path: [1], value: 2}],1474+ [1, undefined, 3]1475+)1476 1424-describe("#879 delete item from array - 2", () => {1425- runPatchTest(1426- [1, 2, 3],1427- draft => {1428- delete draft[2]1429- },1430- [{op: "replace", path: [2], value: undefined}],1431- [{op: "replace", path: [2], value: 3}],1432- [1, 2, undefined]1433- )1434-})1477+runPatchTests(1478+ "#879 delete item from array - 2",1479+ [1, 2, 3],1480+ draft => {1481+ delete draft[2]1482+ },1483+ [{op: "replace", path: [2], value: undefined}],1484+ [{op: "replace", path: [2], value: 3}],1485+ [1, 2, undefined]1486+)1487 1488 test("#897 appendPatch", () => {1489 const state0 = {a: []}1490 const state1 = applyPatches(state0, [{op: "add", path: ["a", "-"], value: 1}])6 unmodified linesdeleted:ignoreObseleteSnapshots.js-6 removed
1-module.exports = function(results) {2- // don't count obselete snapshot as a failure, but just check if there are no failing tests3- // console.dir(results)4- results.success = results.testResults.every(r => r.numFailingTests === 0)5- return results6-}deleted:jest.config.build.js-16 removed
1-module.exports = {2- moduleNameMapper: {3- "src/.*": "<rootDir>/dist/cjs/immer.cjs.production.js"4- },5- testEnvironmentOptions: {6- url: "http://localhost"7- },8- globals: {9- USES_BUILD: true10- },11- preset: "ts-jest/presets/js-with-ts",12- testEnvironment: "node",13- testMatch: ["**/__tests__/**/*.[jt]s?(x)"],14- snapshotResolver: "<rootDir>/jest.config.build.snapshots.js",15- testResultsProcessor: "<rootDir>/ignoreObseleteSnapshots.js"16-}deleted:jest.config.build.snapshots.js-15 removed
1-module.exports = {2- // resolves from test to snapshot path3- resolveSnapshotPath: (testPath, snapshotExtension) =>4- testPath.replace("__tests__", "__tests__/__prod_snapshots__") +5- snapshotExtension,6-7- // resolves from snapshot to test path8- resolveTestPath: (snapshotFilePath, snapshotExtension) =>9- snapshotFilePath10- .replace("__tests__/__prod_snapshots__", "__tests__")11- .slice(0, -snapshotExtension.length),12-13- // Example test path, used for preflight consistency check of the implementation above14- testPathForConsistencyCheck: "some/__tests__/example.test.js"15-}deleted:jest.config.js-8 removed
1-module.exports = {2- testEnvironmentOptions: {3- url: "http://localhost"4- },5- preset: "ts-jest/presets/js-with-ts",6- testEnvironment: "node",7- testMatch: ["**/__tests__/**/*.[jt]s?(x)"]8-}modified:package.json+8 added-9 removed
25 unmodified lines26 "types": "./dist/immer.d.ts",27 "sideEffects": false,28 "scripts": {29 "pretest": "yarn build",30- "test": "jest && yarn test:build && yarn test:flow",30+ "test": "vitest run && yarn test:build && yarn test:flow",31 "test:perf": "cd __performance_tests__ && node add-data.mjs && node todo.mjs && node incremental.mjs && node large-obj.mjs",32 "test:flow": "yarn flow check __tests__/flow",33- "test:build": "NODE_ENV='production' yarn jest --config jest.config.build.js",34- "watch": "jest --watch",35- "coverage": "jest --coverage",36- "coveralls": "jest --coverage && cat ./coverage/lcov.info | ./node_modules/.bin/coveralls && rm -rf ./coverage",33+ "test:build": "vitest run --config vitest.config.build.ts",34+ "test:src": "vitest run",35+ "watch": "vitest",36+ "coverage": "vitest run --coverage",37+ "coveralls": "vitest run --coverage && cat ./coverage/lcov.info | ./node_modules/.bin/coveralls && rm -rf ./coverage",38 "build": "tsup",39 "publish-docs": "cd website && GIT_USER=mweststrate USE_SSH=true yarn docusaurus deploy",40 "start": "cd website && yarn start",41 "test:size": "yarn build && yarn import-size --report . produce enableMapSet enablePatches",29 unmodified lines71 "src"72 ],73 "devDependencies": {74 "@babel/core": "^7.21.3",74- "@types/jest": "^25.1.2",75 "coveralls": "^3.0.0",76 "cpx2": "^3.0.0",77 "deep-freeze": "^0.0.1",78 "flow-bin": "^0.123.0",79 "husky": "^1.2.0",80 "immutable": "^3.8.2",81 "import-size": "^1.0.2",82- "jest": "^29.5.0",82 "lodash": "^4.17.4",83 "lodash.clonedeep": "^4.5.0",84 "prettier": "1.19.1",85 "pretty-quick": "^1.8.0",86 "redux": "^4.0.5",87 "rimraf": "^2.6.2",88 "seamless-immutable": "^7.1.3",89 "semantic-release": "^17.0.2",91- "ts-jest": "^29.0.0",90 "tsup": "^6.7.0",93- "typescript": "^5.0.2"91+ "typescript": "^5.0.2",92+ "vitest": "^3.2.4"93 }94 }added:vitest-custom-reporter.ts+18 added
1+import {Reporter} from "vitest"2+3+export default class CustomReporter implements Reporter {4+ onFinished(files: any[], errors: unknown[]) {5+ // Replicate the logic from ignoreObseleteSnapshots.js6+ // Don't count obsolete snapshots as failures, just check if there are no failing tests7+ const hasFailingTests = files.some(8+ (file: any) =>9+ file.result?.state === "fail" &&10+ file.tasks?.some((task: any) => task.result?.state === "fail")11+ )12+13+ if (!hasFailingTests && errors.length === 0) {14+ // Override success status similar to the original Jest processor15+ process.exitCode = 016+ }17+ }18+}added:vitest.config.build.ts+23 added
1+import {defineConfig} from "vitest/config"2+import path from "path"3+4+export default defineConfig({5+ resolve: {6+ alias: {7+ "^src/(.*)": path.resolve(__dirname, "dist/cjs/immer.cjs.production.js")8+ }9+ },10+ define: {11+ "global.USES_BUILD": true,12+ "process.env.NODE_ENV": '"production"'13+ },14+ test: {15+ environment: "node",16+ include: ["**/__tests__/**/*.[jt]s?(x)"],17+ globals: true,18+ resolveSnapshotPath: (testPath: string, snapExtension: string) =>19+ testPath.replace("__tests__", "__tests__/__prod_snapshots__") +20+ snapExtension,21+ reporters: ["default", "./vitest-custom-reporter.ts"]22+ }23+})added:vitest.config.ts+10 added
1+import {defineConfig} from "vitest/config"2+3+export default defineConfig({4+ test: {5+ environment: "node",6+ include: ["**/__tests__/**/*.[jt]s?(x)"],7+ globals: true,8+ setupFiles: []9+ }10+})modified:yarn.lock+615 added-2 removed
496 unmodified lines497 version "1.5.0"498 resolved "https://registry.yarnpkg.com/@colors/colors/-/colors-1.5.0.tgz#bb504579c1cae923e6576a4f5da43d25f97bdbd9"499 integrity sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==500 501+"@esbuild/aix-ppc64@0.25.9":502+ version "0.25.9"503+ resolved "https://registry.yarnpkg.com/@esbuild/aix-ppc64/-/aix-ppc64-0.25.9.tgz#bef96351f16520055c947aba28802eede3c9e9a9"504+ integrity sha512-OaGtL73Jck6pBKjNIe24BnFE6agGl+6KxDtTfHhy1HmhthfKouEcOhqpSL64K4/0WCtbKFLOdzD/44cJ4k9opA==505+506 "@esbuild/android-arm64@0.17.15":507 version "0.17.15"508 resolved "https://registry.yarnpkg.com/@esbuild/android-arm64/-/android-arm64-0.17.15.tgz#893ad71f3920ccb919e1757c387756a9bca2ef42"509 integrity sha512-0kOB6Y7Br3KDVgHeg8PRcvfLkq+AccreK///B4Z6fNZGr/tNHX0z2VywCc7PTeWp+bPvjA5WMvNXltHw5QjAIA==510 511+"@esbuild/android-arm64@0.25.9":512+ version "0.25.9"513+ resolved "https://registry.yarnpkg.com/@esbuild/android-arm64/-/android-arm64-0.25.9.tgz#d2e70be7d51a529425422091e0dcb90374c1546c"514+ integrity sha512-IDrddSmpSv51ftWslJMvl3Q2ZT98fUSL2/rlUXuVqRXHCs5EUF1/f+jbjF5+NG9UffUDMCiTyh8iec7u8RlTLg==515+516 "@esbuild/android-arm@0.17.15":517 version "0.17.15"518 resolved "https://registry.yarnpkg.com/@esbuild/android-arm/-/android-arm-0.17.15.tgz#143e0d4e4c08c786ea410b9a7739779a9a1315d8"519 integrity sha512-sRSOVlLawAktpMvDyJIkdLI/c/kdRTOqo8t6ImVxg8yT7LQDUYV5Rp2FKeEosLr6ZCja9UjYAzyRSxGteSJPYg==520 521+"@esbuild/android-arm@0.25.9":522+ version "0.25.9"523+ resolved "https://registry.yarnpkg.com/@esbuild/android-arm/-/android-arm-0.25.9.tgz#d2a753fe2a4c73b79437d0ba1480e2d760097419"524+ integrity sha512-5WNI1DaMtxQ7t7B6xa572XMXpHAaI/9Hnhk8lcxF4zVN4xstUgTlvuGDorBguKEnZO70qwEcLpfifMLoxiPqHQ==525+526 "@esbuild/android-x64@0.17.15":527 version "0.17.15"528 resolved "https://registry.yarnpkg.com/@esbuild/android-x64/-/android-x64-0.17.15.tgz#d2d12a7676b2589864281b2274355200916540bc"529 integrity sha512-MzDqnNajQZ63YkaUWVl9uuhcWyEyh69HGpMIrf+acR4otMkfLJ4sUCxqwbCyPGicE9dVlrysI3lMcDBjGiBBcQ==530 531+"@esbuild/android-x64@0.25.9":532+ version "0.25.9"533+ resolved "https://registry.yarnpkg.com/@esbuild/android-x64/-/android-x64-0.25.9.tgz#5278836e3c7ae75761626962f902a0d55352e683"534+ integrity sha512-I853iMZ1hWZdNllhVZKm34f4wErd4lMyeV7BLzEExGEIZYsOzqDWDf+y082izYUE8gtJnYHdeDpN/6tUdwvfiw==535+536 "@esbuild/darwin-arm64@0.17.15":537 version "0.17.15"538 resolved "https://registry.yarnpkg.com/@esbuild/darwin-arm64/-/darwin-arm64-0.17.15.tgz#2e88e79f1d327a2a7d9d06397e5232eb0a473d61"539 integrity sha512-7siLjBc88Z4+6qkMDxPT2juf2e8SJxmsbNVKFY2ifWCDT72v5YJz9arlvBw5oB4W/e61H1+HDB/jnu8nNg0rLA==540 541+"@esbuild/darwin-arm64@0.25.9":542+ version "0.25.9"543+ resolved "https://registry.yarnpkg.com/@esbuild/darwin-arm64/-/darwin-arm64-0.25.9.tgz#f1513eaf9ec8fa15dcaf4c341b0f005d3e8b47ae"544+ integrity sha512-XIpIDMAjOELi/9PB30vEbVMs3GV1v2zkkPnuyRRURbhqjyzIINwj+nbQATh4H9GxUgH1kFsEyQMxwiLFKUS6Rg==545+546 "@esbuild/darwin-x64@0.17.15":547 version "0.17.15"548 resolved "https://registry.yarnpkg.com/@esbuild/darwin-x64/-/darwin-x64-0.17.15.tgz#9384e64c0be91388c57be6d3a5eaf1c32a99c91d"549 integrity sha512-NbImBas2rXwYI52BOKTW342Tm3LTeVlaOQ4QPZ7XuWNKiO226DisFk/RyPk3T0CKZkKMuU69yOvlapJEmax7cg==550 551+"@esbuild/darwin-x64@0.25.9":552+ version "0.25.9"553+ resolved "https://registry.yarnpkg.com/@esbuild/darwin-x64/-/darwin-x64-0.25.9.tgz#e27dbc3b507b3a1cea3b9280a04b8b6b725f82be"554+ integrity sha512-jhHfBzjYTA1IQu8VyrjCX4ApJDnH+ez+IYVEoJHeqJm9VhG9Dh2BYaJritkYK3vMaXrf7Ogr/0MQ8/MeIefsPQ==555+556 "@esbuild/freebsd-arm64@0.17.15":557 version "0.17.15"558 resolved "https://registry.yarnpkg.com/@esbuild/freebsd-arm64/-/freebsd-arm64-0.17.15.tgz#2ad5a35bc52ebd9ca6b845dbc59ba39647a93c1a"559 integrity sha512-Xk9xMDjBVG6CfgoqlVczHAdJnCs0/oeFOspFap5NkYAmRCT2qTn1vJWA2f419iMtsHSLm+O8B6SLV/HlY5cYKg==560 561+"@esbuild/freebsd-arm64@0.25.9":562+ version "0.25.9"563+ resolved "https://registry.yarnpkg.com/@esbuild/freebsd-arm64/-/freebsd-arm64-0.25.9.tgz#364e3e5b7a1fd45d92be08c6cc5d890ca75908ca"564+ integrity sha512-z93DmbnY6fX9+KdD4Ue/H6sYs+bhFQJNCPZsi4XWJoYblUqT06MQUdBCpcSfuiN72AbqeBFu5LVQTjfXDE2A6Q==565+566 "@esbuild/freebsd-x64@0.17.15":567 version "0.17.15"568 resolved "https://registry.yarnpkg.com/@esbuild/freebsd-x64/-/freebsd-x64-0.17.15.tgz#b513a48446f96c75fda5bef470e64d342d4379cd"569 integrity sha512-3TWAnnEOdclvb2pnfsTWtdwthPfOz7qAfcwDLcfZyGJwm1SRZIMOeB5FODVhnM93mFSPsHB9b/PmxNNbSnd0RQ==570 571+"@esbuild/freebsd-x64@0.25.9":572+ version "0.25.9"573+ resolved "https://registry.yarnpkg.com/@esbuild/freebsd-x64/-/freebsd-x64-0.25.9.tgz#7c869b45faeb3df668e19ace07335a0711ec56ab"574+ integrity sha512-mrKX6H/vOyo5v71YfXWJxLVxgy1kyt1MQaD8wZJgJfG4gq4DpQGpgTB74e5yBeQdyMTbgxp0YtNj7NuHN0PoZg==575+576 "@esbuild/linux-arm64@0.17.15":577 version "0.17.15"578 resolved "https://registry.yarnpkg.com/@esbuild/linux-arm64/-/linux-arm64-0.17.15.tgz#9697b168175bfd41fa9cc4a72dd0d48f24715f31"579 integrity sha512-T0MVnYw9KT6b83/SqyznTs/3Jg2ODWrZfNccg11XjDehIved2oQfrX/wVuev9N936BpMRaTR9I1J0tdGgUgpJA==580 581+"@esbuild/linux-arm64@0.25.9":582+ version "0.25.9"583+ resolved "https://registry.yarnpkg.com/@esbuild/linux-arm64/-/linux-arm64-0.25.9.tgz#48d42861758c940b61abea43ba9a29b186d6cb8b"584+ integrity sha512-BlB7bIcLT3G26urh5Dmse7fiLmLXnRlopw4s8DalgZ8ef79Jj4aUcYbk90g8iCa2467HX8SAIidbL7gsqXHdRw==585+586 "@esbuild/linux-arm@0.17.15":587 version "0.17.15"588 resolved "https://registry.yarnpkg.com/@esbuild/linux-arm/-/linux-arm-0.17.15.tgz#5b22062c54f48cd92fab9ffd993732a52db70cd3"589 integrity sha512-MLTgiXWEMAMr8nmS9Gigx43zPRmEfeBfGCwxFQEMgJ5MC53QKajaclW6XDPjwJvhbebv+RzK05TQjvH3/aM4Xw==590 591+"@esbuild/linux-arm@0.25.9":592+ version "0.25.9"593+ resolved "https://registry.yarnpkg.com/@esbuild/linux-arm/-/linux-arm-0.25.9.tgz#6ce4b9cabf148274101701d112b89dc67cc52f37"594+ integrity sha512-HBU2Xv78SMgaydBmdor38lg8YDnFKSARg1Q6AT0/y2ezUAKiZvc211RDFHlEZRFNRVhcMamiToo7bDx3VEOYQw==595+596 "@esbuild/linux-ia32@0.17.15":597 version "0.17.15"598 resolved "https://registry.yarnpkg.com/@esbuild/linux-ia32/-/linux-ia32-0.17.15.tgz#eb28a13f9b60b5189fcc9e98e1024f6b657ba54c"599 integrity sha512-wp02sHs015T23zsQtU4Cj57WiteiuASHlD7rXjKUyAGYzlOKDAjqK6bk5dMi2QEl/KVOcsjwL36kD+WW7vJt8Q==600 601+"@esbuild/linux-ia32@0.25.9":602+ version "0.25.9"603+ resolved "https://registry.yarnpkg.com/@esbuild/linux-ia32/-/linux-ia32-0.25.9.tgz#207e54899b79cac9c26c323fc1caa32e3143f1c4"604+ integrity sha512-e7S3MOJPZGp2QW6AK6+Ly81rC7oOSerQ+P8L0ta4FhVi+/j/v2yZzx5CqqDaWjtPFfYz21Vi1S0auHrap3Ma3A==605+606 "@esbuild/linux-loong64@0.17.15":607 version "0.17.15"608 resolved "https://registry.yarnpkg.com/@esbuild/linux-loong64/-/linux-loong64-0.17.15.tgz#32454bdfe144cf74b77895a8ad21a15cb81cfbe5"609 integrity sha512-k7FsUJjGGSxwnBmMh8d7IbObWu+sF/qbwc+xKZkBe/lTAF16RqxRCnNHA7QTd3oS2AfGBAnHlXL67shV5bBThQ==610 611+"@esbuild/linux-loong64@0.25.9":612+ version "0.25.9"613+ resolved "https://registry.yarnpkg.com/@esbuild/linux-loong64/-/linux-loong64-0.25.9.tgz#0ba48a127159a8f6abb5827f21198b999ffd1fc0"614+ integrity sha512-Sbe10Bnn0oUAB2AalYztvGcK+o6YFFA/9829PhOCUS9vkJElXGdphz0A3DbMdP8gmKkqPmPcMJmJOrI3VYB1JQ==615+616 "@esbuild/linux-mips64el@0.17.15":617 version "0.17.15"618 resolved "https://registry.yarnpkg.com/@esbuild/linux-mips64el/-/linux-mips64el-0.17.15.tgz#af12bde0d775a318fad90eb13a0455229a63987c"619 integrity sha512-ZLWk6czDdog+Q9kE/Jfbilu24vEe/iW/Sj2d8EVsmiixQ1rM2RKH2n36qfxK4e8tVcaXkvuV3mU5zTZviE+NVQ==620 621+"@esbuild/linux-mips64el@0.25.9":622+ version "0.25.9"623+ resolved "https://registry.yarnpkg.com/@esbuild/linux-mips64el/-/linux-mips64el-0.25.9.tgz#a4d4cc693d185f66a6afde94f772b38ce5d64eb5"624+ integrity sha512-YcM5br0mVyZw2jcQeLIkhWtKPeVfAerES5PvOzaDxVtIyZ2NUBZKNLjC5z3/fUlDgT6w89VsxP2qzNipOaaDyA==625+626 "@esbuild/linux-ppc64@0.17.15":627 version "0.17.15"628 resolved "https://registry.yarnpkg.com/@esbuild/linux-ppc64/-/linux-ppc64-0.17.15.tgz#34c5ed145b2dfc493d3e652abac8bd3baa3865a5"629 integrity sha512-mY6dPkIRAiFHRsGfOYZC8Q9rmr8vOBZBme0/j15zFUKM99d4ILY4WpOC7i/LqoY+RE7KaMaSfvY8CqjJtuO4xg==630 631+"@esbuild/linux-ppc64@0.25.9":632+ version "0.25.9"633+ resolved "https://registry.yarnpkg.com/@esbuild/linux-ppc64/-/linux-ppc64-0.25.9.tgz#0f5805c1c6d6435a1dafdc043cb07a19050357db"634+ integrity sha512-++0HQvasdo20JytyDpFvQtNrEsAgNG2CY1CLMwGXfFTKGBGQT3bOeLSYE2l1fYdvML5KUuwn9Z8L1EWe2tzs1w==635+636 "@esbuild/linux-riscv64@0.17.15":637 version "0.17.15"638 resolved "https://registry.yarnpkg.com/@esbuild/linux-riscv64/-/linux-riscv64-0.17.15.tgz#87bd515e837f2eb004b45f9e6a94dc5b93f22b92"639 integrity sha512-EcyUtxffdDtWjjwIH8sKzpDRLcVtqANooMNASO59y+xmqqRYBBM7xVLQhqF7nksIbm2yHABptoioS9RAbVMWVA==640 641+"@esbuild/linux-riscv64@0.25.9":642+ version "0.25.9"643+ resolved "https://registry.yarnpkg.com/@esbuild/linux-riscv64/-/linux-riscv64-0.25.9.tgz#6776edece0f8fca79f3386398b5183ff2a827547"644+ integrity sha512-uNIBa279Y3fkjV+2cUjx36xkx7eSjb8IvnL01eXUKXez/CBHNRw5ekCGMPM0BcmqBxBcdgUWuUXmVWwm4CH9kg==645+646 "@esbuild/linux-s390x@0.17.15":647 version "0.17.15"648 resolved "https://registry.yarnpkg.com/@esbuild/linux-s390x/-/linux-s390x-0.17.15.tgz#20bf7947197f199ddac2ec412029a414ceae3aa3"649 integrity sha512-BuS6Jx/ezxFuHxgsfvz7T4g4YlVrmCmg7UAwboeyNNg0OzNzKsIZXpr3Sb/ZREDXWgt48RO4UQRDBxJN3B9Rbg==650 651+"@esbuild/linux-s390x@0.25.9":652+ version "0.25.9"653+ resolved "https://registry.yarnpkg.com/@esbuild/linux-s390x/-/linux-s390x-0.25.9.tgz#3f6f29ef036938447c2218d309dc875225861830"654+ integrity sha512-Mfiphvp3MjC/lctb+7D287Xw1DGzqJPb/J2aHHcHxflUo+8tmN/6d4k6I2yFR7BVo5/g7x2Monq4+Yew0EHRIA==655+656 "@esbuild/linux-x64@0.17.15":657 version "0.17.15"658 resolved "https://registry.yarnpkg.com/@esbuild/linux-x64/-/linux-x64-0.17.15.tgz#31b93f9c94c195e852c20cd3d1914a68aa619124"659 integrity sha512-JsdS0EgEViwuKsw5tiJQo9UdQdUJYuB+Mf6HxtJSPN35vez1hlrNb1KajvKWF5Sa35j17+rW1ECEO9iNrIXbNg==660 661+"@esbuild/linux-x64@0.25.9":662+ version "0.25.9"663+ resolved "https://registry.yarnpkg.com/@esbuild/linux-x64/-/linux-x64-0.25.9.tgz#831fe0b0e1a80a8b8391224ea2377d5520e1527f"664+ integrity sha512-iSwByxzRe48YVkmpbgoxVzn76BXjlYFXC7NvLYq+b+kDjyyk30J0JY47DIn8z1MO3K0oSl9fZoRmZPQI4Hklzg==665+666+"@esbuild/netbsd-arm64@0.25.9":667+ version "0.25.9"668+ resolved "https://registry.yarnpkg.com/@esbuild/netbsd-arm64/-/netbsd-arm64-0.25.9.tgz#06f99d7eebe035fbbe43de01c9d7e98d2a0aa548"669+ integrity sha512-9jNJl6FqaUG+COdQMjSCGW4QiMHH88xWbvZ+kRVblZsWrkXlABuGdFJ1E9L7HK+T0Yqd4akKNa/lO0+jDxQD4Q==670+671 "@esbuild/netbsd-x64@0.17.15":672 version "0.17.15"673 resolved "https://registry.yarnpkg.com/@esbuild/netbsd-x64/-/netbsd-x64-0.17.15.tgz#8da299b3ac6875836ca8cdc1925826498069ac65"674 integrity sha512-R6fKjtUysYGym6uXf6qyNephVUQAGtf3n2RCsOST/neIwPqRWcnc3ogcielOd6pT+J0RDR1RGcy0ZY7d3uHVLA==675 676+"@esbuild/netbsd-x64@0.25.9":677+ version "0.25.9"678+ resolved "https://registry.yarnpkg.com/@esbuild/netbsd-x64/-/netbsd-x64-0.25.9.tgz#db99858e6bed6e73911f92a88e4edd3a8c429a52"679+ integrity sha512-RLLdkflmqRG8KanPGOU7Rpg829ZHu8nFy5Pqdi9U01VYtG9Y0zOG6Vr2z4/S+/3zIyOxiK6cCeYNWOFR9QP87g==680+681+"@esbuild/openbsd-arm64@0.25.9":682+ version "0.25.9"683+ resolved "https://registry.yarnpkg.com/@esbuild/openbsd-arm64/-/openbsd-arm64-0.25.9.tgz#afb886c867e36f9d86bb21e878e1185f5d5a0935"684+ integrity sha512-YaFBlPGeDasft5IIM+CQAhJAqS3St3nJzDEgsgFixcfZeyGPCd6eJBWzke5piZuZ7CtL656eOSYKk4Ls2C0FRQ==685+686 "@esbuild/openbsd-x64@0.17.15":687 version "0.17.15"688 resolved "https://registry.yarnpkg.com/@esbuild/openbsd-x64/-/openbsd-x64-0.17.15.tgz#04a1ec3d4e919714dba68dcf09eeb1228ad0d20c"689 integrity sha512-mVD4PGc26b8PI60QaPUltYKeSX0wxuy0AltC+WCTFwvKCq2+OgLP4+fFd+hZXzO2xW1HPKcytZBdjqL6FQFa7w==690 691+"@esbuild/openbsd-x64@0.25.9":692+ version "0.25.9"693+ resolved "https://registry.yarnpkg.com/@esbuild/openbsd-x64/-/openbsd-x64-0.25.9.tgz#30855c9f8381fac6a0ef5b5f31ac6e7108a66ecf"694+ integrity sha512-1MkgTCuvMGWuqVtAvkpkXFmtL8XhWy+j4jaSO2wxfJtilVCi0ZE37b8uOdMItIHz4I6z1bWWtEX4CJwcKYLcuA==695+696+"@esbuild/openharmony-arm64@0.25.9":697+ version "0.25.9"698+ resolved "https://registry.yarnpkg.com/@esbuild/openharmony-arm64/-/openharmony-arm64-0.25.9.tgz#2f2144af31e67adc2a8e3705c20c2bd97bd88314"699+ integrity sha512-4Xd0xNiMVXKh6Fa7HEJQbrpP3m3DDn43jKxMjxLLRjWnRsfxjORYJlXPO4JNcXtOyfajXorRKY9NkOpTHptErg==700+701 "@esbuild/sunos-x64@0.17.15":702 version "0.17.15"703 resolved "https://registry.yarnpkg.com/@esbuild/sunos-x64/-/sunos-x64-0.17.15.tgz#6694ebe4e16e5cd7dab6505ff7c28f9c1c695ce5"704 integrity sha512-U6tYPovOkw3459t2CBwGcFYfFRjivcJJc1WC8Q3funIwX8x4fP+R6xL/QuTPNGOblbq/EUDxj9GU+dWKX0oWlQ==705 706+"@esbuild/sunos-x64@0.25.9":707+ version "0.25.9"708+ resolved "https://registry.yarnpkg.com/@esbuild/sunos-x64/-/sunos-x64-0.25.9.tgz#69b99a9b5bd226c9eb9c6a73f990fddd497d732e"709+ integrity sha512-WjH4s6hzo00nNezhp3wFIAfmGZ8U7KtrJNlFMRKxiI9mxEK1scOMAaa9i4crUtu+tBr+0IN6JCuAcSBJZfnphw==710+711 "@esbuild/win32-arm64@0.17.15":712 version "0.17.15"713 resolved "https://registry.yarnpkg.com/@esbuild/win32-arm64/-/win32-arm64-0.17.15.tgz#1f95b2564193c8d1fee8f8129a0609728171d500"714 integrity sha512-W+Z5F++wgKAleDABemiyXVnzXgvRFs+GVKThSI+mGgleLWluv0D7Diz4oQpgdpNzh4i2nNDzQtWbjJiqutRp6Q==715 716+"@esbuild/win32-arm64@0.25.9":717+ version "0.25.9"718+ resolved "https://registry.yarnpkg.com/@esbuild/win32-arm64/-/win32-arm64-0.25.9.tgz#d789330a712af916c88325f4ffe465f885719c6b"719+ integrity sha512-mGFrVJHmZiRqmP8xFOc6b84/7xa5y5YvR1x8djzXpJBSv/UsNK6aqec+6JDjConTgvvQefdGhFDAs2DLAds6gQ==720+721 "@esbuild/win32-ia32@0.17.15":722 version "0.17.15"723 resolved "https://registry.yarnpkg.com/@esbuild/win32-ia32/-/win32-ia32-0.17.15.tgz#c362b88b3df21916ed7bcf75c6d09c6bf3ae354a"724 integrity sha512-Muz/+uGgheShKGqSVS1KsHtCyEzcdOn/W/Xbh6H91Etm+wiIfwZaBn1W58MeGtfI8WA961YMHFYTthBdQs4t+w==725 726+"@esbuild/win32-ia32@0.25.9":727+ version "0.25.9"728+ resolved "https://registry.yarnpkg.com/@esbuild/win32-ia32/-/win32-ia32-0.25.9.tgz#52fc735406bd49688253e74e4e837ac2ba0789e3"729+ integrity sha512-b33gLVU2k11nVx1OhX3C8QQP6UHQK4ZtN56oFWvVXvz2VkDoe6fbG8TOgHFxEvqeqohmRnIHe5A1+HADk4OQww==730+731 "@esbuild/win32-x64@0.17.15":732 version "0.17.15"733 resolved "https://registry.yarnpkg.com/@esbuild/win32-x64/-/win32-x64-0.17.15.tgz#c2e737f3a201ebff8e2ac2b8e9f246b397ad19b8"734 integrity sha512-DjDa9ywLUUmjhV2Y9wUTIF+1XsmuFGvZoCmOWkli1XcNAh5t25cc7fgsCx4Zi/Uurep3TTLyDiKATgGEg61pkA==735 736+"@esbuild/win32-x64@0.25.9":737+ version "0.25.9"738+ resolved "https://registry.yarnpkg.com/@esbuild/win32-x64/-/win32-x64-0.25.9.tgz#585624dc829cfb6e7c0aa6c3ca7d7e6daa87e34f"739+ integrity sha512-PPOl1mi6lpLNQxnGoyAfschAodRFYXJ+9fs6WHXz7CSWKbOqiMZsubC+BQsVKuul+3vKLuwTHsS2c2y9EoKwxQ==740+741 "@gar/promisify@^1.0.1":742 version "1.1.3"743 resolved "https://registry.yarnpkg.com/@gar/promisify/-/promisify-1.1.3.tgz#555193ab2e3bb3b6adc3d551c9c030d9e860daf6"744 integrity sha512-k2Ty1JcVojjJFwrg/ThKi2ujJ7XNLYaFGNB/bWT9wGR+oSMJHMa5w+CUq6p/pVrKeNNgA7pCqEcjSnHVoqJQFw==251 unmodified lines996 version "1.4.14"997 resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz#add4c98d341472a289190b424efbdb096991bb24"998 integrity sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==999 1000+"@jridgewell/sourcemap-codec@^1.5.5":1001+ version "1.5.5"1002+ resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.5.tgz#6912b00d2c631c0d15ce1a7ab57cd657f2a8f8ba"1003+ integrity sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==1004+1005 "@jridgewell/trace-mapping@^0.3.12", "@jridgewell/trace-mapping@^0.3.15", "@jridgewell/trace-mapping@^0.3.17", "@jridgewell/trace-mapping@^0.3.9":1006 version "0.3.17"1007 resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.17.tgz#793041277af9073b0951a7fe0f0d8c4c98c36985"1008 integrity sha512-MCNzAp77qzKca9+W/+I0+sEpaUnZoeasnghNeVc41VZCEKaCH73Vq3BZZ/SzWIgrqE4H4ceI+p+b6C0mHf9T4g==274 unmodified lines1283 integrity sha512-eJ2jbzjdijiL3B4PrSQaSjuF2sPEQPVCPzBvTHJD9Nz+9dw2SGH4K4xeQJ77YfTq5bRQ+bD8wT11JbeDPmxmGg==1284 dependencies:1285 "@octokit/openapi-types" "^12.11.0"1286 1287+"@rollup/rollup-android-arm-eabi@4.50.0":1288+ version "4.50.0"1289+ resolved "https://registry.yarnpkg.com/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.50.0.tgz#939c1be9625d428d8513e4ab60d406fe8db23718"1290+ integrity sha512-lVgpeQyy4fWN5QYebtW4buT/4kn4p4IJ+kDNB4uYNT5b8c8DLJDg6titg20NIg7E8RWwdWZORW6vUFfrLyG3KQ==1291+1292+"@rollup/rollup-android-arm64@4.50.0":1293+ version "4.50.0"1294+ resolved "https://registry.yarnpkg.com/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.50.0.tgz#b74005775903f7a8f4e363d2840c1dcef3776ff3"1295+ integrity sha512-2O73dR4Dc9bp+wSYhviP6sDziurB5/HCym7xILKifWdE9UsOe2FtNcM+I4xZjKrfLJnq5UR8k9riB87gauiQtw==1296+1297+"@rollup/rollup-darwin-arm64@4.50.0":1298+ version "4.50.0"1299+ resolved "https://registry.yarnpkg.com/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.50.0.tgz#8c04603cdcf1ec0cd6b27152b3827e49295f2962"1300+ integrity sha512-vwSXQN8T4sKf1RHr1F0s98Pf8UPz7pS6P3LG9NSmuw0TVh7EmaE+5Ny7hJOZ0M2yuTctEsHHRTMi2wuHkdS6Hg==1301+1302+"@rollup/rollup-darwin-x64@4.50.0":1303+ version "4.50.0"1304+ resolved "https://registry.yarnpkg.com/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.50.0.tgz#19ec976f1cc663def2692cd7ffb32981f2b0b733"1305+ integrity sha512-cQp/WG8HE7BCGyFVuzUg0FNmupxC+EPZEwWu2FCGGw5WDT1o2/YlENbm5e9SMvfDFR6FRhVCBePLqj0o8MN7Vw==1306+1307+"@rollup/rollup-freebsd-arm64@4.50.0":1308+ version "4.50.0"1309+ resolved "https://registry.yarnpkg.com/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.50.0.tgz#a96b4ad8346229f6fcbd9d57f1c53040b037c2da"1310+ integrity sha512-UR1uTJFU/p801DvvBbtDD7z9mQL8J80xB0bR7DqW7UGQHRm/OaKzp4is7sQSdbt2pjjSS72eAtRh43hNduTnnQ==1311+1312+"@rollup/rollup-freebsd-x64@4.50.0":1313+ version "4.50.0"1314+ resolved "https://registry.yarnpkg.com/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.50.0.tgz#fa565a282bc57967ee6668607b181678bdd74e4a"1315+ integrity sha512-G/DKyS6PK0dD0+VEzH/6n/hWDNPDZSMBmqsElWnCRGrYOb2jC0VSupp7UAHHQ4+QILwkxSMaYIbQ72dktp8pKA==1316+1317+"@rollup/rollup-linux-arm-gnueabihf@4.50.0":1318+ version "4.50.0"1319+ resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.50.0.tgz#dfc88f7295e1f98d77f25296be787e8a5d6ced75"1320+ integrity sha512-u72Mzc6jyJwKjJbZZcIYmd9bumJu7KNmHYdue43vT1rXPm2rITwmPWF0mmPzLm9/vJWxIRbao/jrQmxTO0Sm9w==1321+1322+"@rollup/rollup-linux-arm-musleabihf@4.50.0":1323+ version "4.50.0"1324+ resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.50.0.tgz#32cd70c87455ca031f0361090cf17da5a2ef66d5"1325+ integrity sha512-S4UefYdV0tnynDJV1mdkNawp0E5Qm2MtSs330IyHgaccOFrwqsvgigUD29uT+B/70PDY1eQ3t40+xf6wIvXJyg==1326+1327+"@rollup/rollup-linux-arm64-gnu@4.50.0":1328+ version "4.50.0"1329+ resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.50.0.tgz#0e7e1fe7241e3384f6c6b4ccdbcfa8ad8c78b869"1330+ integrity sha512-1EhkSvUQXJsIhk4msxP5nNAUWoB4MFDHhtc4gAYvnqoHlaL9V3F37pNHabndawsfy/Tp7BPiy/aSa6XBYbaD1g==1331+1332+"@rollup/rollup-linux-arm64-musl@4.50.0":1333+ version "4.50.0"1334+ resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.50.0.tgz#5d421f2f3e4a84786c4dfd9ce97e595c9b59e7f4"1335+ integrity sha512-EtBDIZuDtVg75xIPIK1l5vCXNNCIRM0OBPUG+tbApDuJAy9mKago6QxX+tfMzbCI6tXEhMuZuN1+CU8iDW+0UQ==1336+1337+"@rollup/rollup-linux-loongarch64-gnu@4.50.0":1338+ version "4.50.0"1339+ resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-loongarch64-gnu/-/rollup-linux-loongarch64-gnu-4.50.0.tgz#a0fb5c7d0e88319e18acfd9436f19ee39354b027"1340+ integrity sha512-BGYSwJdMP0hT5CCmljuSNx7+k+0upweM2M4YGfFBjnFSZMHOLYR0gEEj/dxyYJ6Zc6AiSeaBY8dWOa11GF/ppQ==1341+1342+"@rollup/rollup-linux-ppc64-gnu@4.50.0":1343+ version "4.50.0"1344+ resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-ppc64-gnu/-/rollup-linux-ppc64-gnu-4.50.0.tgz#a65b598af12f25210c3295da551a6e3616ea488d"1345+ integrity sha512-I1gSMzkVe1KzAxKAroCJL30hA4DqSi+wGc5gviD0y3IL/VkvcnAqwBf4RHXHyvH66YVHxpKO8ojrgc4SrWAnLg==1346+1347+"@rollup/rollup-linux-riscv64-gnu@4.50.0":1348+ version "4.50.0"1349+ resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.50.0.tgz#10ba776214ae2857c5bf4389690dabb2fbaf7d98"1350+ integrity sha512-bSbWlY3jZo7molh4tc5dKfeSxkqnf48UsLqYbUhnkdnfgZjgufLS/NTA8PcP/dnvct5CCdNkABJ56CbclMRYCA==1351+1352+"@rollup/rollup-linux-riscv64-musl@4.50.0":1353+ version "4.50.0"1354+ resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.50.0.tgz#c2a46cbaa329d5f21e5808f5a66bb9c78cf68aac"1355+ integrity sha512-LSXSGumSURzEQLT2e4sFqFOv3LWZsEF8FK7AAv9zHZNDdMnUPYH3t8ZlaeYYZyTXnsob3htwTKeWtBIkPV27iQ==1356+1357+"@rollup/rollup-linux-s390x-gnu@4.50.0":1358+ version "4.50.0"1359+ resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.50.0.tgz#a07447be069d64462e30c66611be20c4513963ed"1360+ integrity sha512-CxRKyakfDrsLXiCyucVfVWVoaPA4oFSpPpDwlMcDFQvrv3XY6KEzMtMZrA+e/goC8xxp2WSOxHQubP8fPmmjOQ==1361+1362+"@rollup/rollup-linux-x64-gnu@4.50.0":1363+ version "4.50.0"1364+ resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.50.0.tgz#8887c58bd51242754ae9c56947d6e883332dcc74"1365+ integrity sha512-8PrJJA7/VU8ToHVEPu14FzuSAqVKyo5gg/J8xUerMbyNkWkO9j2ExBho/68RnJsMGNJq4zH114iAttgm7BZVkA==1366+1367+"@rollup/rollup-linux-x64-musl@4.50.0":1368+ version "4.50.0"1369+ resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.50.0.tgz#6403fda72a2b3b9fbbeeff93d14f1c45ef9775f3"1370+ integrity sha512-SkE6YQp+CzpyOrbw7Oc4MgXFvTw2UIBElvAvLCo230pyxOLmYwRPwZ/L5lBe/VW/qT1ZgND9wJfOsdy0XptRvw==1371+1372+"@rollup/rollup-openharmony-arm64@4.50.0":1373+ version "4.50.0"1374+ resolved "https://registry.yarnpkg.com/@rollup/rollup-openharmony-arm64/-/rollup-openharmony-arm64-4.50.0.tgz#52809afccaff47e731b965a0c16e5686be819d5f"1375+ integrity sha512-PZkNLPfvXeIOgJWA804zjSFH7fARBBCpCXxgkGDRjjAhRLOR8o0IGS01ykh5GYfod4c2yiiREuDM8iZ+pVsT+Q==1376+1377+"@rollup/rollup-win32-arm64-msvc@4.50.0":1378+ version "4.50.0"1379+ resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.50.0.tgz#23fe00ddbb40b27a3889bc1e99e6310d97353ad5"1380+ integrity sha512-q7cIIdFvWQoaCbLDUyUc8YfR3Jh2xx3unO8Dn6/TTogKjfwrax9SyfmGGK6cQhKtjePI7jRfd7iRYcxYs93esg==1381+1382+"@rollup/rollup-win32-ia32-msvc@4.50.0":1383+ version "4.50.0"1384+ resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.50.0.tgz#520b588076b593413d919912d69dfd5728a1f305"1385+ integrity sha512-XzNOVg/YnDOmFdDKcxxK410PrcbcqZkBmz+0FicpW5jtjKQxcW1BZJEQOF0NJa6JO7CZhett8GEtRN/wYLYJuw==1386+1387+"@rollup/rollup-win32-x64-msvc@4.50.0":1388+ version "4.50.0"1389+ resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.50.0.tgz#d81efe6a12060c7feddf9805e2a94c3ab0679f48"1390+ integrity sha512-xMmiWRR8sp72Zqwjgtf3QbZfF1wdh8X2ABu3EaozvZcyHJeU0r+XAnXdKgs4cCAp6ORoYoCygipYP1mjmbjrsg==1391+1392 "@semantic-release/commit-analyzer@^8.0.0":1393 version "8.0.1"1394 resolved "https://registry.yarnpkg.com/@semantic-release/commit-analyzer/-/commit-analyzer-8.0.1.tgz#5d2a37cd5a3312da0e3ac05b1ca348bf60b90bca"1395 integrity sha512-5bJma/oB7B4MtwUkZC2Bf7O1MHfi4gWe4mA+MIQ3lsEV0b422Bvl1z5HRpplDnMLHH3EXMoRdEng6Ds5wUqA3A==124 unmodified lines1520 integrity sha512-yGeB2dHEdvxjP0y4UbRtQaSkXJ9649fYCmIdRoul5kfAoGCwxuCbMhag0k3RPfnuh9kPGm8x89btcfDEXdVWGw==1521 dependencies:1522 "@babel/types" "^7.3.0"1523 1524+"@types/chai@^5.2.2":1525+ version "5.2.2"1526+ resolved "https://registry.yarnpkg.com/@types/chai/-/chai-5.2.2.tgz#6f14cea18180ffc4416bc0fd12be05fdd73bdd6b"1527+ integrity sha512-8kB30R7Hwqf40JPiKhVzodJs2Qc1ZJ5zuT3uzw5Hq/dhNCl3G3l83jfpdI1e20BP348+fV7VIL/+FxaXkqBmWg==1528+ dependencies:1529+ "@types/deep-eql" "*"1530+1531+"@types/deep-eql@*":1532+ version "4.0.2"1533+ resolved "https://registry.yarnpkg.com/@types/deep-eql/-/deep-eql-4.0.2.tgz#334311971d3a07121e7eb91b684a605e7eea9cbd"1534+ integrity sha512-c9h9dVVMigMPc4bwTvC5dxqtqJZwQPePsWjPlpSOnojbor6pGqdk541lfA7AqFQr5pB1BRdq0juY9db81BwyFw==1535+1536+"@types/estree@1.0.8", "@types/estree@^1.0.0":1537+ version "1.0.8"1538+ resolved "https://registry.yarnpkg.com/@types/estree/-/estree-1.0.8.tgz#958b91c991b1867ced318bedea0e215ee050726e"1539+ integrity sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==1540+1541 "@types/graceful-fs@^4.1.3":1542 version "4.1.6"1543 resolved "https://registry.yarnpkg.com/@types/graceful-fs/-/graceful-fs-4.1.6.tgz#e14b2576a1c25026b7f02ede1de3b84c3a1efeae"1544 integrity sha512-Sig0SNORX9fdW+bQuTEovKj3uHcUL6LQKbCrrqb1X7J6/ReAbhCXRAhc+SMejhLELFj2QcyuxmUooZ4bt5ReSw==93 unmodified lines1638 integrity sha512-yuogunc04OnzGQCrfHx+Kk883Q4X0aSwmYZhKjI21m+SVYzjIbrWl8dOOwSv5hf2Um2pdCOXWo9isteZTNXUZQ==1639 dependencies:1640 "@types/yargs-parser" "*"1641 1642+"@vitest/expect@3.2.4":1643+ version "3.2.4"1644+ resolved "https://registry.yarnpkg.com/@vitest/expect/-/expect-3.2.4.tgz#8362124cd811a5ee11c5768207b9df53d34f2433"1645+ integrity sha512-Io0yyORnB6sikFlt8QW5K7slY4OjqNX9jmJQ02QDda8lyM6B5oNgVWoSoKPac8/kgnCUzuHQKrSLtu/uOqqrig==1646+ dependencies:1647+ "@types/chai" "^5.2.2"1648+ "@vitest/spy" "3.2.4"1649+ "@vitest/utils" "3.2.4"1650+ chai "^5.2.0"1651+ tinyrainbow "^2.0.0"1652+1653+"@vitest/mocker@3.2.4":1654+ version "3.2.4"1655+ resolved "https://registry.yarnpkg.com/@vitest/mocker/-/mocker-3.2.4.tgz#4471c4efbd62db0d4fa203e65cc6b058a85cabd3"1656+ integrity sha512-46ryTE9RZO/rfDd7pEqFl7etuyzekzEhUbTW3BvmeO/BcCMEgq59BKhek3dXDWgAj4oMK6OZi+vRr1wPW6qjEQ==1657+ dependencies:1658+ "@vitest/spy" "3.2.4"1659+ estree-walker "^3.0.3"1660+ magic-string "^0.30.17"1661+1662+"@vitest/pretty-format@3.2.4", "@vitest/pretty-format@^3.2.4":1663+ version "3.2.4"1664+ resolved "https://registry.yarnpkg.com/@vitest/pretty-format/-/pretty-format-3.2.4.tgz#3c102f79e82b204a26c7a5921bf47d534919d3b4"1665+ integrity sha512-IVNZik8IVRJRTr9fxlitMKeJeXFFFN0JaB9PHPGQ8NKQbGpfjlTx9zO4RefN8gp7eqjNy8nyK3NZmBzOPeIxtA==1666+ dependencies:1667+ tinyrainbow "^2.0.0"1668+1669+"@vitest/runner@3.2.4":1670+ version "3.2.4"1671+ resolved "https://registry.yarnpkg.com/@vitest/runner/-/runner-3.2.4.tgz#5ce0274f24a971f6500f6fc166d53d8382430766"1672+ integrity sha512-oukfKT9Mk41LreEW09vt45f8wx7DordoWUZMYdY/cyAk7w5TWkTRCNZYF7sX7n2wB7jyGAl74OxgwhPgKaqDMQ==1673+ dependencies:1674+ "@vitest/utils" "3.2.4"1675+ pathe "^2.0.3"1676+ strip-literal "^3.0.0"1677+1678+"@vitest/snapshot@3.2.4":1679+ version "3.2.4"1680+ resolved "https://registry.yarnpkg.com/@vitest/snapshot/-/snapshot-3.2.4.tgz#40a8bc0346ac0aee923c0eefc2dc005d90bc987c"1681+ integrity sha512-dEYtS7qQP2CjU27QBC5oUOxLE/v5eLkGqPE0ZKEIDGMs4vKWe7IjgLOeauHsR0D5YuuycGRO5oSRXnwnmA78fQ==1682+ dependencies:1683+ "@vitest/pretty-format" "3.2.4"1684+ magic-string "^0.30.17"1685+ pathe "^2.0.3"1686+1687+"@vitest/spy@3.2.4":1688+ version "3.2.4"1689+ resolved "https://registry.yarnpkg.com/@vitest/spy/-/spy-3.2.4.tgz#cc18f26f40f3f028da6620046881f4e4518c2599"1690+ integrity sha512-vAfasCOe6AIK70iP5UD11Ac4siNUNJ9i/9PZ3NKx07sG6sUxeag1LWdNrMWeKKYBLlzuK+Gn65Yd5nyL6ds+nw==1691+ dependencies:1692+ tinyspy "^4.0.3"1693+1694+"@vitest/utils@3.2.4":1695+ version "3.2.4"1696+ resolved "https://registry.yarnpkg.com/@vitest/utils/-/utils-3.2.4.tgz#c0813bc42d99527fb8c5b138c7a88516bca46fea"1697+ integrity sha512-fB2V0JFrQSMsCo9HiSq3Ezpdv4iYaXRG1Sx8edX3MwxfyNn83mKiGzOcH+Fkxt4MHxr3y42fQi1oeAInqgX2QA==1698+ dependencies:1699+ "@vitest/pretty-format" "3.2.4"1700+ loupe "^3.1.4"1701+ tinyrainbow "^2.0.0"1702+1703 "@webassemblyjs/ast@1.8.5":1704 version "1.8.5"1705 resolved "https://registry.yarnpkg.com/@webassemblyjs/ast/-/ast-1.8.5.tgz#51b1c5fe6576a34953bf4b253df9f0d490d9e359"1706 integrity sha512-aJMfngIZ65+t71C3y2nBBg5FFG0Okt9m0XEgWZ7Ywgn1oMAT8cNwx00Uv1cQyHtidq0Xn94R4TAywO+LCQ+ZAQ==436 unmodified lines2143 dependencies:2144 object-assign "^4.1.1"2145 util "0.10.3"2146 2147+assertion-error@^2.0.1:2148+ version "2.0.1"2149+ resolved "https://registry.yarnpkg.com/assertion-error/-/assertion-error-2.0.1.tgz#f641a196b335690b1070bf00b6e7593fec190bf7"2150+ integrity sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA==2151+2152 assign-symbols@^1.0.0:2153 version "1.0.0"2154 resolved "https://registry.yarnpkg.com/assign-symbols/-/assign-symbols-1.0.0.tgz#59667f41fadd4f20ccbc2bb96b8d4f7f78ec0367"2155 integrity sha1-WWZ/QfrdTyDMvCu5a41Pf3jsA2c=697 unmodified lines2853 integrity sha512-9NQkRHlNdNpDBGmLpngF3EFDcwodhMUuLz9PaWYciVcQF9SE4LFjM2DB/xV1Li5JiuDMv7ZUWuC3rGbqR0MAXQ==2854 dependencies:2855 load-tsconfig "^0.2.3"2856 2534-cac@^6.7.12:2857+cac@^6.7.12, cac@^6.7.14:2858 version "6.7.14"2859 resolved "https://registry.yarnpkg.com/cac/-/cac-6.7.14.tgz#804e1e6f506ee363cb0e3ccbb09cad5dd9870959"2860 integrity sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ==2861 132 unmodified lines2994 version "0.12.0"2995 resolved "https://registry.yarnpkg.com/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc"2996 integrity sha512-4tYFyifaFfGacoiObjJegolkwSU4xQNGbVgUiNYVUxbQ2x2lUsFvY4hVgVzGiIe6WLOPqycWXA40l+PWsxthUw==2997 2998+chai@^5.2.0:2999+ version "5.3.3"3000+ resolved "https://registry.yarnpkg.com/chai/-/chai-5.3.3.tgz#dd3da955e270916a4bd3f625f4b919996ada7e06"3001+ integrity sha512-4zNhdJD/iOjSH0A05ea+Ke6MU5mmpQcbQsSOkgdaUMJ9zTlDTD/GYlwohmIE2u0gaxHYiVHEn1Fw9mZ/ktJWgw==3002+ dependencies:3003+ assertion-error "^2.0.1"3004+ check-error "^2.1.1"3005+ deep-eql "^5.0.1"3006+ loupe "^3.1.0"3007+ pathval "^2.0.0"3008+3009 chalk@^1.1.3:3010 version "1.1.3"3011 resolved "https://registry.yarnpkg.com/chalk/-/chalk-1.1.3.tgz#a8115c55e4a702fe4d150abd3872822a7e09fc98"3012 integrity sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=33 unmodified lines3046 version "1.0.2"3047 resolved "https://registry.yarnpkg.com/char-regex/-/char-regex-1.0.2.tgz#d744358226217f981ed58f479b1d6bcc29545dcf"3048 integrity sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw==3049 3050+check-error@^2.1.1:3051+ version "2.1.1"3052+ resolved "https://registry.yarnpkg.com/check-error/-/check-error-2.1.1.tgz#87eb876ae71ee388fa0471fe423f494be1d96ccc"3053+ integrity sha512-OAlb+T7V4Op9OwdkjmguYRqncdlx5JiofwOAUkmTF+jNdHwzTaTs4sRAGpzLF3oOz5xAyDGrPgeIDFQmDOTiJw==3054+3055 chokidar@^2.0.2:3056 version "2.1.8"3057 resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-2.1.8.tgz#804b3a7b6a99358c3c5c61e71d8728f041cff917"3058 integrity sha512-ZmZUazfOzf0Nve7duiCKD23PFSCs4JPoYyccjUFF3aQkQadqBhfzhjkwBH2mNOG9cTBwhamM37EIsIkZw3nRgg==665 unmodified lines3724 integrity sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==3725 dependencies:3726 ms "2.0.0"3727 3728+debug@^4.4.1:3729+ version "4.4.1"3730+ resolved "https://registry.yarnpkg.com/debug/-/debug-4.4.1.tgz#e5a8bc6cbc4c6cd3e64308b0693a3d4fa550189b"3731+ integrity sha512-KcKCqiftBJcZr++7ykoDIEwSa3XWowTfNPo92BYxjXiyYEVrUQh2aLyhxBCwww+heortUFxEJYcRzosstTEBYQ==3732+ dependencies:3733+ ms "^2.1.3"3734+3735 debuglog@^1.0.1:3736 version "1.0.1"3737 resolved "https://registry.yarnpkg.com/debuglog/-/debuglog-1.0.1.tgz#aa24ffb9ac3df9a2351837cfb2d279360cd78492"3738 integrity sha512-syBZ+rnAK3EgMsH2aYEOLUW7mZSY9Gb+0wUMCFsZvcmiz+HigA0LOcq/HoQqVuGG+EKykunc7QG2bzrponfaSw==20 unmodified lines3759 version "0.7.0"3760 resolved "https://registry.yarnpkg.com/dedent/-/dedent-0.7.0.tgz#2495ddbaf6eb874abb0e1be9df22d2e5a544326c"3761 integrity sha512-Q6fKUPqnAHAyhiUgFU7BUzLiv0kd8saH9al7tnu5Q/okj6dnupxyTgFIBjVzJATdfIAm9NAsvXNzjaKa+bxVyA==3762 3763+deep-eql@^5.0.1:3764+ version "5.0.2"3765+ resolved "https://registry.yarnpkg.com/deep-eql/-/deep-eql-5.0.2.tgz#4b756d8d770a9257300825d52a2c2cff99c3a341"3766+ integrity sha512-h5k/5U50IJJFpzfL6nO9jaaumfjO/f2NjK/oYB2Djzm4p9L+3T9qWpZqZ2hAbLPuuYq9wrU08WQyBTL5GbPk5Q==3767+3768 deep-extend@^0.6.0:3769 version "0.6.0"3770 resolved "https://registry.yarnpkg.com/deep-extend/-/deep-extend-0.6.0.tgz#c4fa7c95404a17a9c3e8ca7e1537312b736330ac"3771 integrity sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==290 unmodified lines4062 integrity sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==4063 dependencies:4064 is-arrayish "^0.2.1"4065 4066+es-module-lexer@^1.7.0:4067+ version "1.7.0"4068+ resolved "https://registry.yarnpkg.com/es-module-lexer/-/es-module-lexer-1.7.0.tgz#9159601561880a85f2734560a9099b2c31e5372a"4069+ integrity sha512-jEQoCwk8hyb2AZziIOLhDqpm5+2ww5uIE6lkO/6jcOCusfk6LhMHpXXfBLXTZ7Ydyt0j4VoUQv6uGNYbdW+kBA==4070+4071 esbuild@^0.17.6:4072 version "0.17.15"4073 resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.17.15.tgz#209ebc87cb671ffb79574db93494b10ffaf43cbc"4074 integrity sha512-LBUV2VsUIc/iD9ME75qhT4aJj0r75abCVS0jakhFzOtR7TQsqQA5w0tZ+KTKnwl3kXE0MhskNdHDh/I5aCR1Zw==20 unmodified lines4095 "@esbuild/win32-arm64" "0.17.15"4096 "@esbuild/win32-ia32" "0.17.15"4097 "@esbuild/win32-x64" "0.17.15"4098 4099+esbuild@^0.25.0:4100+ version "0.25.9"4101+ resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.25.9.tgz#15ab8e39ae6cdc64c24ff8a2c0aef5b3fd9fa976"4102+ integrity sha512-CRbODhYyQx3qp7ZEwzxOk4JBqmD/seJrzPa/cGjY1VtIn5E09Oi9/dB4JwctnfZ8Q8iT7rioVv5k/FNT/uf54g==4103+ optionalDependencies:4104+ "@esbuild/aix-ppc64" "0.25.9"4105+ "@esbuild/android-arm" "0.25.9"4106+ "@esbuild/android-arm64" "0.25.9"4107+ "@esbuild/android-x64" "0.25.9"4108+ "@esbuild/darwin-arm64" "0.25.9"4109+ "@esbuild/darwin-x64" "0.25.9"4110+ "@esbuild/freebsd-arm64" "0.25.9"4111+ "@esbuild/freebsd-x64" "0.25.9"4112+ "@esbuild/linux-arm" "0.25.9"4113+ "@esbuild/linux-arm64" "0.25.9"4114+ "@esbuild/linux-ia32" "0.25.9"4115+ "@esbuild/linux-loong64" "0.25.9"4116+ "@esbuild/linux-mips64el" "0.25.9"4117+ "@esbuild/linux-ppc64" "0.25.9"4118+ "@esbuild/linux-riscv64" "0.25.9"4119+ "@esbuild/linux-s390x" "0.25.9"4120+ "@esbuild/linux-x64" "0.25.9"4121+ "@esbuild/netbsd-arm64" "0.25.9"4122+ "@esbuild/netbsd-x64" "0.25.9"4123+ "@esbuild/openbsd-arm64" "0.25.9"4124+ "@esbuild/openbsd-x64" "0.25.9"4125+ "@esbuild/openharmony-arm64" "0.25.9"4126+ "@esbuild/sunos-x64" "0.25.9"4127+ "@esbuild/win32-arm64" "0.25.9"4128+ "@esbuild/win32-ia32" "0.25.9"4129+ "@esbuild/win32-x64" "0.25.9"4130+4131 escalade@^3.1.1:4132 version "3.1.1"4133 resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.1.1.tgz#d8cfdc7000965c5a0174b4a82eaa5c0552742e40"4134 integrity sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==37 unmodified lines4172 version "4.3.0"4173 resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-4.3.0.tgz#398ad3f3c5a24948be7725e83d11a7de28cdbd1d"4174 integrity sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==4175 4176+estree-walker@^3.0.3:4177+ version "3.0.3"4178+ resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-3.0.3.tgz#67c3e549ec402a487b4fc193d1953a524752340d"4179+ integrity sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==4180+ dependencies:4181+ "@types/estree" "^1.0.0"4182+4183 esutils@^2.0.2:4184 version "2.0.3"4185 resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.3.tgz#74d2eb4de0b8da1293711910d50775b9b710ef64"4186 integrity sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==69 unmodified lines4256 regex-not "^1.0.0"4257 snapdragon "^0.8.1"4258 to-regex "^3.0.1"4259 4260+expect-type@^1.2.1:4261+ version "1.2.2"4262+ resolved "https://registry.yarnpkg.com/expect-type/-/expect-type-1.2.2.tgz#c030a329fb61184126c8447585bc75a7ec6fbff3"4263+ integrity sha512-JhFGDVJ7tmDJItKhYgJCGLOWjuK9vPxiXoUFLwLDc99NlmklilbiQJwoctZtt13+xMw91MCk/REan6MWHqDjyA==4264+4265 expect@^29.5.0:4266 version "29.5.0"4267 resolved "https://registry.yarnpkg.com/expect/-/expect-29.5.0.tgz#68c0509156cb2a0adb8865d413b137eeaae682f7"4268 integrity sha512-yM7xqUrCO2JdpFo4XpM82t+PJBFybdqoQuJLDGeDX2ij8NZzqRHyu3Hp188/JX7SWqud+7t4MUdvcgGBICMHZg==92 unmodified lines4361 integrity sha512-DkPJKQeY6kKwmuMretBhr7G6Vodr7bFwDYTXIkfG1gjvNpaxBTQV3PbXg6bR1c1UP4jPOX0jHUbbHANL9vRjVg==4362 dependencies:4363 bser "2.1.1"4364 4365+fdir@^6.5.0:4366+ version "6.5.0"4367+ resolved "https://registry.yarnpkg.com/fdir/-/fdir-6.5.0.tgz#ed2ab967a331ade62f18d077dae192684d50d350"4368+ integrity sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==4369+4370 figgy-pudding@^3.5.1:4371 version "3.5.2"4372 resolved "https://registry.yarnpkg.com/figgy-pudding/-/figgy-pudding-3.5.2.tgz#b4eee8148abb01dcf1d1ac34367d59e12fa61d6e"4373 integrity sha512-0btnI/H8f2pavGMN8w40mlSKOfTK2SVJmBfBeVIj3kNw0swwgzyRq0d5TJVOwodFmtvpPeWPN/MCcfuWF0Ezbw==184 unmodified lines4558 version "2.3.2"4559 resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.2.tgz#8a526f78b8fdf4623b709e0b975c52c24c02fd1a"4560 integrity sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==4561 4562+fsevents@~2.3.3:4563+ version "2.3.3"4564+ resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.3.tgz#cac6407785d03675a2a5e1a5305c697b347d90d6"4565+ integrity sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==4566+4567 function-bind@^1.1.1:4568 version "1.1.1"4569 resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d"4570 integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==1315 unmodified lines5886 version "3.0.2"5887 resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-3.0.2.tgz#9866df395102130e38f7f996bceb65443209c25b"5888 integrity sha1-mGbfOVECEw449/mWvOtlRDIJwls=5889 5890+js-tokens@^9.0.1:5891+ version "9.0.1"5892+ resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-9.0.1.tgz#2ec43964658435296f6761b34e10671c2d9527f4"5893+ integrity sha512-mxa9E9ITFOt0ban3j6L5MpjwegGz6lBQmM1IJkWeBZGcMxto50+eWdjC/52xDbS2vy0k7vIMK0Fe2wfL9OQSpQ==5894+5895 js-yaml@^3.13.0:5896 version "3.13.1"5897 resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.13.1.tgz#aff151b30bfdfa8e49e05da22e7415e9dfa37847"5898 integrity sha512-YfbcO7jXDdyj0DGxYVSlSeQNHbD7XPWvrVWeVUujrQEoZzWJIRrCPoyk6kL6IAjAG2IolMK4T0hNUe0HOUs5Jw==405 unmodified lines6304 integrity sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==6305 dependencies:6306 js-tokens "^3.0.0 || ^4.0.0"6307 6308+loupe@^3.1.0, loupe@^3.1.4:6309+ version "3.2.1"6310+ resolved "https://registry.yarnpkg.com/loupe/-/loupe-3.2.1.tgz#0095cf56dc5b7a9a7c08ff5b1a8796ec8ad17e76"6311+ integrity sha512-CdzqowRJCeLU72bHvWqwRBBlLcMEtIvGrlvef74kMnV2AolS9Y8xUv1I0U/MNAWMhBlKIoyuEgoJ0t/bbwHbLQ==6312+6313 lru-cache@^4.0.1:6314 version "4.1.5"6315 resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-4.1.5.tgz#8bbe50ea85bed59bc9e33dcab8235ee9bcf443cd"6316 integrity sha512-sWZlbEP2OsHNkXrMl5GYk/jKk70MBng6UU4YI/qGDYbgf6YbP4EvmqISbXCoJiRKs+1bSpFHVgQxvJ17F2li5g==14 unmodified lines6331 integrity sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==6332 dependencies:6333 yallist "^4.0.0"6334 6335+magic-string@^0.30.17:6336+ version "0.30.18"6337+ resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.30.18.tgz#905bfbbc6aa5692703a93db26a9edcaa0007d2bb"6338+ integrity sha512-yi8swmWbO17qHhwIBNeeZxTceJMeBvWJaId6dyvTSOwTipqeHhMhOrz6513r1sOKnpvQ7zkhlG8tPrpilwTxHQ==6339+ dependencies:6340+ "@jridgewell/sourcemap-codec" "^1.5.5"6341+6342 make-dir@^2.0.0:6343 version "2.1.0"6344 resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-2.1.0.tgz#5f0310e18b8be898cc07009295a30ae41e91e6f5"6345 integrity sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==391 unmodified lines6737 version "2.1.2"6738 resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009"6739 integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==6740 6314-ms@^2.0.0, ms@^2.1.2:6741+ms@^2.0.0, ms@^2.1.2, ms@^2.1.3:6742 version "2.1.3"6743 resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2"6744 integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==6745 25 unmodified lines6771 version "2.14.0"6772 resolved "https://registry.yarnpkg.com/nan/-/nan-2.14.0.tgz#7818f722027b2459a86f0295d434d1fc2336c52c"6773 integrity sha512-INOFj37C7k3AfaNTtX8RhsTw7qRy7eLET14cROi9+5HAVbbHuIWUHEauBv5qT4Av2tWasiTY1Jw6puUNqRJXQg==6774 6775+nanoid@^3.3.11:6776+ version "3.3.11"6777+ resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.3.11.tgz#4f4f112cefbe303202f2199838128936266d185b"6778+ integrity sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w==6779+6780 nanomatch@^1.2.9:6781 version "1.2.13"6782 resolved "https://registry.yarnpkg.com/nanomatch/-/nanomatch-1.2.13.tgz#b87a8aa4fc0de8fe6be88895b38983ff265bd119"6783 integrity sha512-fpoe2T0RbHwBTBUOftAfBPaDEi06ufaUai0mE6Yn1kacc3SnTErfb/h+X94VXzI64rKFHYImXSvdwGGCmwOqCA==679 unmodified lines7463 version "4.0.0"7464 resolved "https://registry.yarnpkg.com/path-type/-/path-type-4.0.0.tgz#84ed01c0a7ba380afe09d90a8c180dcd9d03043b"7465 integrity sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==7466 7467+pathe@^2.0.3:7468+ version "2.0.3"7469+ resolved "https://registry.yarnpkg.com/pathe/-/pathe-2.0.3.tgz#3ecbec55421685b70a9da872b2cff3e1cbed1716"7470+ integrity sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==7471+7472+pathval@^2.0.0:7473+ version "2.0.1"7474+ resolved "https://registry.yarnpkg.com/pathval/-/pathval-2.0.1.tgz#8855c5a2899af072d6ac05d11e46045ad0dc605d"7475+ integrity sha512-//nshmD55c46FuFw26xV/xFAaB5HF9Xdap7HJBBnrKdAd6/GxDBaNA1870O79+9ueg61cZLSVc+OaFlfmObYVQ==7476+7477 pbkdf2@^3.0.3:7478 version "3.0.17"7479 resolved "https://registry.yarnpkg.com/pbkdf2/-/pbkdf2-3.0.17.tgz#976c206530617b14ebb32114239f7b09336e93a6"7480 integrity sha512-U/il5MsrZp7mGg3mSQfn742na2T+1/vHDCG5/iTI3X9MKUuYUZVLQhyRsg06mCgDBTd57TxzgZt7P+fYfjRLtA==24 unmodified lines7505 version "1.0.0"7506 resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-1.0.0.tgz#cb5bdc74ff3f51892236eaf79d68bc44564ab81c"7507 integrity sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==7508 7509+picocolors@^1.1.1:7510+ version "1.1.1"7511+ resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-1.1.1.tgz#3d321af3eab939b083c8f929a1d12cda81c26b6b"7512+ integrity sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==7513+7514 picomatch@^2.0.4:7515 version "2.2.1"7516 resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.2.1.tgz#21bac888b6ed8601f831ce7816e335bc779f0a4a"7517 integrity sha512-ISBaA8xQNmwELC7eOjqFKMESB2VIqt4PPDD0nsS95b/9dZXvVKOlz9keMSnoGGKcOHXfTvDD6WMaRoSc9UuhRA==2 unmodified lines7520 version "2.3.1"7521 resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.1.tgz#3ba3833733646d9d3e4995946c1365a67fb07a42"7522 integrity sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==7523 7524+picomatch@^4.0.2, picomatch@^4.0.3:7525+ version "4.0.3"7526+ resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-4.0.3.tgz#796c76136d1eead715db1e7bad785dedd695a042"7527+ integrity sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==7528+7529 pify@^3.0.0:7530 version "3.0.0"7531 resolved "https://registry.yarnpkg.com/pify/-/pify-3.0.0.tgz#e5a4acd2c101fdf3d9a4d07f0dbc4db49dd28176"7532 integrity sha512-C3FsVNH1udSEX48gGX1xfvwTWfsYWj5U+8/uK15BGzIGrKoUpghX8hWZwa/OFnakBiiVNmBvemTJR5mcy7iPcg==342 unmodified lines7875 chalk "^2.4.1"7876 source-map "^0.6.1"7877 supports-color "^5.4.0"7878 7879+postcss@^8.5.6:7880+ version "8.5.6"7881+ resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.5.6.tgz#2825006615a619b4f62a9e7426cc120b349a8f3c"7882+ integrity sha512-3Ybi1tAuwAP9s0r1UQ2J4n5Y0G05bJkpUIO0/bI9MhwmD70S5aTWbXGBwxHrelT+XM1k6dM0pk+SwNkpTRN7Pg==7883+ dependencies:7884+ nanoid "^3.3.11"7885+ picocolors "^1.1.1"7886+ source-map-js "^1.2.1"7887+7888 prepend-http@^1.0.0:7889 version "1.0.4"7890 resolved "https://registry.yarnpkg.com/prepend-http/-/prepend-http-1.0.4.tgz#d4f4562b0ce3696e41ac52d0e002e57a635dc6dc"7891 integrity sha1-1PRWKwzjaW5BrFLQ4ALlemNdxtw=592 unmodified lines8484 integrity sha512-3zwkBQl7Ai7MFYQE0y1MeQ15+9jsi7XxfrqwTb/9EK8D9C9+//EBR4M+CuA1KODRaNbFez/lWxA5vhEGZp4MUg==8485 optionalDependencies:8486 fsevents "~2.3.2"8487 8488+rollup@^4.43.0:8489+ version "4.50.0"8490+ resolved "https://registry.yarnpkg.com/rollup/-/rollup-4.50.0.tgz#6f237f598b7163ede33ce827af8534c929aaa186"8491+ integrity sha512-/Zl4D8zPifNmyGzJS+3kVoyXeDeT/GrsJM94sACNg9RtUE0hrHa1bNPtRSrfHTMH5HjRzce6K7rlTh3Khiw+pw==8492+ dependencies:8493+ "@types/estree" "1.0.8"8494+ optionalDependencies:8495+ "@rollup/rollup-android-arm-eabi" "4.50.0"8496+ "@rollup/rollup-android-arm64" "4.50.0"8497+ "@rollup/rollup-darwin-arm64" "4.50.0"8498+ "@rollup/rollup-darwin-x64" "4.50.0"8499+ "@rollup/rollup-freebsd-arm64" "4.50.0"8500+ "@rollup/rollup-freebsd-x64" "4.50.0"8501+ "@rollup/rollup-linux-arm-gnueabihf" "4.50.0"8502+ "@rollup/rollup-linux-arm-musleabihf" "4.50.0"8503+ "@rollup/rollup-linux-arm64-gnu" "4.50.0"8504+ "@rollup/rollup-linux-arm64-musl" "4.50.0"8505+ "@rollup/rollup-linux-loongarch64-gnu" "4.50.0"8506+ "@rollup/rollup-linux-ppc64-gnu" "4.50.0"8507+ "@rollup/rollup-linux-riscv64-gnu" "4.50.0"8508+ "@rollup/rollup-linux-riscv64-musl" "4.50.0"8509+ "@rollup/rollup-linux-s390x-gnu" "4.50.0"8510+ "@rollup/rollup-linux-x64-gnu" "4.50.0"8511+ "@rollup/rollup-linux-x64-musl" "4.50.0"8512+ "@rollup/rollup-openharmony-arm64" "4.50.0"8513+ "@rollup/rollup-win32-arm64-msvc" "4.50.0"8514+ "@rollup/rollup-win32-ia32-msvc" "4.50.0"8515+ "@rollup/rollup-win32-x64-msvc" "4.50.0"8516+ fsevents "~2.3.2"8517+8518 run-node@^1.0.0:8519 version "1.0.0"8520 resolved "https://registry.yarnpkg.com/run-node/-/run-node-1.0.0.tgz#46b50b946a2aa2d4947ae1d886e9856fd9cabe5e"8521 integrity sha512-kc120TBlQ3mih1LSzdAJXo4xn/GWS2ec0l3S+syHDXP9uRr0JAT8Qd3mdMuyjqCzeZktgP3try92cEgf9Nks8A==182 unmodified lines8704 version "1.8.0"8705 resolved "https://registry.yarnpkg.com/shell-quote/-/shell-quote-1.8.0.tgz#20d078d0eaf71d54f43bd2ba14a1b5b9bfa5c8ba"8706 integrity sha512-QHsz8GgQIGKlRi24yFc6a6lN69Idnx634w49ay6+jA5yFh7a1UY+4Rp6HPx/L/1zcEDPEij8cIsiqR6bQsE5VQ==8707 8708+siginfo@^2.0.0:8709+ version "2.0.0"8710+ resolved "https://registry.yarnpkg.com/siginfo/-/siginfo-2.0.0.tgz#32e76c70b79724e3bb567cb9d543eb858ccfaf30"8711+ integrity sha512-ybx0WO1/8bSBLEWXZvEd7gMW3Sn3JFlW3TvX1nREbDLRNQNaeNN8WK0meBwPdAaOI7TtRRRJn/Es1zhrrCHu7g==8712+8713 signal-exit@^3.0.0, signal-exit@^3.0.2, signal-exit@^3.0.3, signal-exit@^3.0.7:8714 version "3.0.7"8715 resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.7.tgz#a9a1767f8af84155114eaabd73f99273c8f59ad9"8716 integrity sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==90 unmodified lines8807 version "2.0.1"8808 resolved "https://registry.yarnpkg.com/source-list-map/-/source-list-map-2.0.1.tgz#3993bd873bfc48479cca9ea3a547835c7c154b34"8809 integrity sha512-qnQ7gVMxGNxsiL4lEuJwe/To8UnK7fAnmbGEEH8RpLouuKbeEm0lhbQVFIrNSuB+G7tVrAlVsZgETT5nljf+Iw==8810 8811+source-map-js@^1.2.1:8812+ version "1.2.1"8813+ resolved "https://registry.yarnpkg.com/source-map-js/-/source-map-js-1.2.1.tgz#1ce5650fddd87abc099eda37dcff024c2667ae46"8814+ integrity sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==8815+8816 source-map-resolve@^0.5.0:8817 version "0.5.3"8818 resolved "https://registry.yarnpkg.com/source-map-resolve/-/source-map-resolve-0.5.3.tgz#190866bece7553e1f8f267a2ee82c606b5509a1a"8819 integrity sha512-Htz+RnsXWk5+P2slx5Jh3Q66vhQj1Cllm0zvnaY98+NFx+Dv2CF/f5O/t8x+KaNdrdIAsruNzoh/KpialbqAnw==148 unmodified lines8968 integrity sha512-XlkWvfIm6RmsWtNJx+uqtKLS8eqFbxUg0ZzLXqY0caEy9l7hruX8IpiDnjsLavoBgqCCR71TqWO8MaXYheJ3RQ==8969 dependencies:8970 escape-string-regexp "^2.0.0"8971 8972+stackback@0.0.2:8973+ version "0.0.2"8974+ resolved "https://registry.yarnpkg.com/stackback/-/stackback-0.0.2.tgz#1ac8a0d9483848d1695e418b6d031a3c3ce68e3b"8975+ integrity sha512-1XMJE5fQo1jGH6Y/7ebnwPOBEkIEnT4QF32d5R1+VXdXveM0IBMJt8zfaxX1P3QhVwrYe+576+jkANtSS2mBbw==8976+8977 static-extend@^0.1.1:8978 version "0.1.2"8979 resolved "https://registry.yarnpkg.com/static-extend/-/static-extend-0.1.2.tgz#60809c39cbff55337226fd5e0b520f341f1fb5c6"8980 integrity sha1-YICcOcv/VTNyJv1eC1IPNB8ftcY=8981 dependencies:8982 define-property "^0.2.5"8983 object-copy "^0.1.0"8984 8985+std-env@^3.9.0:8986+ version "3.9.0"8987+ resolved "https://registry.yarnpkg.com/std-env/-/std-env-3.9.0.tgz#1a6f7243b339dca4c9fd55e1c7504c77ef23e8f1"8988+ integrity sha512-UGvjygr6F6tpH7o2qyqR6QYpwraIjKSdtzyBdyytFOHmPZY917kwdwLG0RbOjWOnKmnm3PeHjaoLLMie7kPLQw==8989+8990 stream-browserify@^2.0.1:8991 version "2.0.2"8992 resolved "https://registry.yarnpkg.com/stream-browserify/-/stream-browserify-2.0.2.tgz#87521d38a44aa7ee91ce1cd2a47df0cb49dd660b"8993 integrity sha512-nX6hmklHs/gr2FuxYDltq8fJA1GDlxKQCz8O/IM4atRqBH8OORmBNgfvW5gG10GT/qQ9u0CzIvr2X5Pkt6ntqg==148 unmodified lines9142 version "2.0.1"9143 resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a"9144 integrity sha512-4gB8na07fecVVkOI6Rs4e7T6NOTki5EmL7TUduTs6bu3EdnSycntVJ4re8kgZA+wx9IueI2Y11bfbgwtzuE0KQ==9145 9146+strip-literal@^3.0.0:9147+ version "3.0.0"9148+ resolved "https://registry.yarnpkg.com/strip-literal/-/strip-literal-3.0.0.tgz#ce9c452a91a0af2876ed1ae4e583539a353df3fc"9149+ integrity sha512-TcccoMhJOM3OebGhSBEmp3UZ2SfDMZUEBdRA/9ynfLi8yYajyWX3JiXArcJt4Umh4vISpspkQIY8ZZoCqjbviA==9150+ dependencies:9151+ js-tokens "^9.0.1"9152+9153 subarg@^1.0.0:9154 version "1.0.0"9155 resolved "https://registry.yarnpkg.com/subarg/-/subarg-1.0.0.tgz#f62cf17581e996b48fc965699f54c06ae268b8d2"9156 integrity sha512-RIrIdRY0X1xojthNcVtgT9sjpOGagEUKpZdgBUi054OEPFo282yg+zE+t1Rj3+RqKq2xStL7uUHhY+AjbC4BXg==205 unmodified lines9362 version "1.3.0"9363 resolved "https://registry.yarnpkg.com/tiny-relative-date/-/tiny-relative-date-1.3.0.tgz#fa08aad501ed730f31cc043181d995c39a935e07"9364 integrity sha512-MOQHpzllWxDCHHaDno30hhLfbouoYlOI8YlMNtvKe1zXbjEVhbcEovQxvZrPvtiYW630GQDoMMarCnjfyfHA+A==9365 9366+tinybench@^2.9.0:9367+ version "2.9.0"9368+ resolved "https://registry.yarnpkg.com/tinybench/-/tinybench-2.9.0.tgz#103c9f8ba6d7237a47ab6dd1dcff77251863426b"9369+ integrity sha512-0+DUvqWMValLmha6lr4kD8iAMK1HzV0/aKnCtWb9v9641TnP/MFb7Pc2bxoxQjTXAErryXVgUOfv2YqNllqGeg==9370+9371+tinyexec@^0.3.2:9372+ version "0.3.2"9373+ resolved "https://registry.yarnpkg.com/tinyexec/-/tinyexec-0.3.2.tgz#941794e657a85e496577995c6eef66f53f42b3d2"9374+ integrity sha512-KQQR9yN7R5+OSwaK0XQoj22pwHoTlgYqmUscPYoknOoWCWfj/5/ABTMRi69FrKU5ffPVh5QcFikpWJI/P1ocHA==9375+9376+tinyglobby@^0.2.14:9377+ version "0.2.15"9378+ resolved "https://registry.yarnpkg.com/tinyglobby/-/tinyglobby-0.2.15.tgz#e228dd1e638cea993d2fdb4fcd2d4602a79951c2"9379+ integrity sha512-j2Zq4NyQYG5XMST4cbs02Ak8iJUdxRM0XI5QyxXuZOzKOINmWurp3smXu3y5wDcJrptwpSjgXHzIQxR0omXljQ==9380+ dependencies:9381+ fdir "^6.5.0"9382+ picomatch "^4.0.3"9383+9384+tinypool@^1.1.1:9385+ version "1.1.1"9386+ resolved "https://registry.yarnpkg.com/tinypool/-/tinypool-1.1.1.tgz#059f2d042bd37567fbc017d3d426bdd2a2612591"9387+ integrity sha512-Zba82s87IFq9A9XmjiX5uZA/ARWDrB03OHlq+Vw1fSdt0I+4/Kutwy8BP4Y/y/aORMo61FQ0vIb5j44vSo5Pkg==9388+9389+tinyrainbow@^2.0.0:9390+ version "2.0.0"9391+ resolved "https://registry.yarnpkg.com/tinyrainbow/-/tinyrainbow-2.0.0.tgz#9509b2162436315e80e3eee0fcce4474d2444294"9392+ integrity sha512-op4nsTR47R6p0vMUUoYl/a+ljLFVtlfaXkLQmqfLR1qHma1h/ysYk4hEXZ880bf2CYgTskvTa/e196Vd5dDQXw==9393+9394+tinyspy@^4.0.3:9395+ version "4.0.3"9396+ resolved "https://registry.yarnpkg.com/tinyspy/-/tinyspy-4.0.3.tgz#d1d0f0602f4c15f1aae083a34d6d0df3363b1b52"9397+ integrity sha512-t2T/WLB2WRgZ9EpE4jgPJ9w+i66UZfDc8wHh0xrwiRNN+UwH98GIJkTeZqX9rg0i0ptwzqW+uYeIF0T4F8LR7A==9398+9399 tmpl@1.0.5:9400 version "1.0.5"9401 resolved "https://registry.yarnpkg.com/tmpl/-/tmpl-1.0.5.tgz#8683e0b902bb9c20c4f726e3c0b69f36518c07cc"9402 integrity sha512-3f0uOEAQwIqGuWW2MVzYg8fV/QNnc/IpuJNG837rLuczAaLVHslWHZQj4IGiEl5Hs3kkbhwL9Ab7Hrsmuj+Smw==381 unmodified lines9784 assert-plus "^1.0.0"9785 core-util-is "1.0.2"9786 extsprintf "^1.2.0"9787 9788+vite-node@3.2.4:9789+ version "3.2.4"9790+ resolved "https://registry.yarnpkg.com/vite-node/-/vite-node-3.2.4.tgz#f3676d94c4af1e76898c162c92728bca65f7bb07"9791+ integrity sha512-EbKSKh+bh1E1IFxeO0pg1n4dvoOTt0UDiXMd/qn++r98+jPO1xtJilvXldeuQ8giIB5IkpjCgMleHMNEsGH6pg==9792+ dependencies:9793+ cac "^6.7.14"9794+ debug "^4.4.1"9795+ es-module-lexer "^1.7.0"9796+ pathe "^2.0.3"9797+ vite "^5.0.0 || ^6.0.0 || ^7.0.0-0"9798+9799+"vite@^5.0.0 || ^6.0.0 || ^7.0.0-0":9800+ version "7.1.4"9801+ resolved "https://registry.yarnpkg.com/vite/-/vite-7.1.4.tgz#354944affb55e1aff0157406b74e0d0a3232df9a"9802+ integrity sha512-X5QFK4SGynAeeIt+A7ZWnApdUyHYm+pzv/8/A57LqSGcI88U6R6ipOs3uCesdc6yl7nl+zNO0t8LmqAdXcQihw==9803+ dependencies:9804+ esbuild "^0.25.0"9805+ fdir "^6.5.0"9806+ picomatch "^4.0.3"9807+ postcss "^8.5.6"9808+ rollup "^4.43.0"9809+ tinyglobby "^0.2.14"9810+ optionalDependencies:9811+ fsevents "~2.3.3"9812+9813+vitest@^3.2.4:9814+ version "3.2.4"9815+ resolved "https://registry.yarnpkg.com/vitest/-/vitest-3.2.4.tgz#0637b903ad79d1539a25bc34c0ed54b5c67702ea"9816+ integrity sha512-LUCP5ev3GURDysTWiP47wRRUpLKMOfPh+yKTx3kVIEiu5KOMeqzpnYNsKyOoVrULivR8tLcks4+lga33Whn90A==9817+ dependencies:9818+ "@types/chai" "^5.2.2"9819+ "@vitest/expect" "3.2.4"9820+ "@vitest/mocker" "3.2.4"9821+ "@vitest/pretty-format" "^3.2.4"9822+ "@vitest/runner" "3.2.4"9823+ "@vitest/snapshot" "3.2.4"9824+ "@vitest/spy" "3.2.4"9825+ "@vitest/utils" "3.2.4"9826+ chai "^5.2.0"9827+ debug "^4.4.1"9828+ expect-type "^1.2.1"9829+ magic-string "^0.30.17"9830+ pathe "^2.0.3"9831+ picomatch "^4.0.2"9832+ std-env "^3.9.0"9833+ tinybench "^2.9.0"9834+ tinyexec "^0.3.2"9835+ tinyglobby "^0.2.14"9836+ tinypool "^1.1.1"9837+ tinyrainbow "^2.0.0"9838+ vite "^5.0.0 || ^6.0.0 || ^7.0.0-0"9839+ vite-node "3.2.4"9840+ why-is-node-running "^2.3.0"9841+9842 vm-browserify@^1.0.1:9843 version "1.1.2"9844 resolved "https://registry.yarnpkg.com/vm-browserify/-/vm-browserify-1.1.2.tgz#78641c488b8e6ca91a75f511e7a3b32a86e5dda0"9845 integrity sha512-2ham8XPWTONajOR0ohOKOHXkm3+gaBmGut3SRuu75xLd/RRaY6vqgh8NBYYk7+RW3u5AtzPQZG8F10LHkl0lAQ==108 unmodified lines9954 integrity sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==9955 dependencies:9956 isexe "^2.0.0"9957 9958+why-is-node-running@^2.3.0:9959+ version "2.3.0"9960+ resolved "https://registry.yarnpkg.com/why-is-node-running/-/why-is-node-running-2.3.0.tgz#a3f69a97107f494b3cdc3bdddd883a7d65cebf04"9961+ integrity sha512-hUrmaWBdVDcxvYqnyh09zunKzROWjbZTiNy8dBEjkS7ehEDQibXJ7XvlmtbwuTclUiIyN+CyXQD4Vmko8fNm8w==9962+ dependencies:9963+ siginfo "^2.0.0"9964+ stackback "0.0.2"9965+9966 wide-align@^1.1.0, wide-align@^1.1.2:9967 version "1.1.5"9968 resolved "https://registry.yarnpkg.com/wide-align/-/wide-align-1.1.5.tgz#df1d4c206854369ecf3c9a4898f1b23fbd9d15d3"9969 integrity sha512-eDMORYaPNZ4sQIuuYPDHdQvf4gyCF9rEEV/yPxGfwPkRodwEgiMUUXTx/dex+Me0wxx53S+NgUHaP7y3MGlDmg==122 unmodified lines