react-hook-form / resolvers

📋 Validation resolvers: Yup, Zod, Superstruct, Joi, Vest, Class Validator, io-ts, Nope, computed-types, typanion, Ajv, TypeBox, ArkType, Valibot, effect-ts and VineJS
https://react-hook-form.com/
MIT License
1.77k stars 161 forks source link

build(deps-dev): bump vitest from 0.30.1 to 0.32.0 #573

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps vitest from 0.30.1 to 0.32.0.

Release notes

Sourced from vitest's releases.

v0.32.0

   🚨 Breaking Changes

  • Throw an error, if the module cannot be resolved  -  by @​sheremet-va in vitest-dev/vitest#3307 (1ad63)
    • Vitest used to fall back to the original import when it could not resolve it to the file path or the virtual module. This leads to hard-to-find module graph mismatches if you had incorrect alias or relied on relative imports to be resolved to the project root (which is usual behavior in TypeScript) because the code accidentally "worked". With this release, Vitest will now throw an error if it cannot resolve the module - there are possible edge cases that are not covered yet, so if you have any problems with this, please open a separate issue with reproduction.
  • Improve globs  -  by @​nickmccurdy in vitest-dev/vitest#3392 (19ecc)
    • Vitest now has glob patterns similar to Jest for better compatibility. It's possible that some files will be considered test files when previously they were not. For example, Vitest now considers test.js to be a test file. Also any file in __tests__ is now considered to be a test, not just files with test or spec suffix.
  • Add @vitest/coverage-v8 package  -  by @​AriPerkkio in vitest-dev/vitest#3339 (82112)
    • Vitest now uses v8 code coverage directly for better performance. @vitest/coverage-c8 is deprecated as Vitest no longer uses c8 package for coverage output. It will not be updated anymore, and Vitest will fail in the next version if the user has c8 as their coverage provider. Please, install the new @vitest/coverage-v8 package if you previously used @vitest/coverage-c8.
  • mocker: Don't restore mock to the original if the module is automocked  -  by @​sheremet-va in vitest-dev/vitest#3518 (c1004)
    • spy.mockRestore on auto-mocked named exports will no longer restore their implementation to the actual function. This behavior better matches what Jest does.

   🚀 Features

   🐞 Bug Fixes

    View changes on GitHub

v0.31.4

   🚀 Features

   🐞 Bug Fixes

    View changes on GitHub

v0.31.3

   🚀 Features

   🐞 Bug Fixes

... (truncated)

Commits
  • 8d3cf9d chore: release v0.32.0
  • c1004e1 fix(mocker)!: don't restore mock to the original if module is mocked (#3518)
  • 821126f feat!: add @vitest/coverage-v8 package (#3339)
  • 19ecc6c fix!: improve globs (#3392)
  • 1ad63b0 feat!: throw an error, if module cannot be resolved (#3307)
  • c37cdeb fix: the cli option is passed to coverage.exclude (#3506)
  • 7c687ad feat(expect): support expect.soft (#3507)
  • dfb46e6 chore(deps): update dependency @​edge-runtime/vm to v3 (#3511)
  • 5b73cbf fix(watch): junit reporter fails to re-generate report (#3496)
  • 5fc6aa2 chore(deps): update dependency jsdom to v22 (#3512)
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
dependabot[bot] commented 1 year ago

Superseded by #579.