Skip to content

build(deps-dev): Bump vitest from 0.29.7 to 0.31.0 - #176

Closed
dependabot[bot] wants to merge 2 commits into
mainfrom
dependabot/npm_and_yarn/vitest-0.31.0
Closed

dependabot[bot] wants to merge 2 commits into
mainfrom
dependabot/npm_and_yarn/vitest-0.31.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github May 4, 2023 •

Copy link
Copy Markdown
Contributor

Bumps vitest from 0.29.7 to 0.31.0.

Release notes

Sourced from vitest's releases.

v0.31.0

聽聽聽馃毃 Breaking Changes

  • Update mock implementation to support ESM runtime, introduce "vi.hoisted" 聽-聽 by @鈥媠heremet-va in vitest-dev/vitest#3258 (0c09a)

    • Bypass ESM import order restriction with vi.hoisted to run code before imports are executed:
    vi.hoisted(() => vi.setSystemTime(new Date(2022, 1, 1)))

    You can also use it to pass variables to vi.mock:

    const { mockedMethod } = vi.hoisted(() => {
      return { mockedMethod: vi.fn() }
    })   
    vi.mocked('./path/to/module.js', () => {
      return { originalMethod: mockedMethod }
    })
  • Move assertion declarations to expect package 聽-聽 by @鈥媠heremet-va in vitest-dev/vitest#3294 (cf3af)

    • The change should be minor:
    - declare namespace Vi {
    + declare module 'vitest' {
       interface Assertion<T = any> extends CustomMatchers<T> {}
       interface AsymmetricMatchersContaining extends CustomMatchers {}
    }

聽聽聽馃殌 Features

聽聽聽馃悶 Bug Fixes

... (truncated)

Commits

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 dependabot Bot added scope:dependencies dependency updates type:build changes to the build system or external dependencies labels May 4, 2023
@unicornware
Lex (unicornware) enabled auto-merge (squash) May 4, 2023 11:02

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm 馃憤馃従

@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/vitest-0.31.0 branch from bb13dd4 to 7f70978 Compare May 4, 2023 11:18
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/vitest-0.31.0 branch from 27fd4ce to be51333 Compare May 4, 2023 11:19
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/vitest-0.31.0 branch from 4929416 to a32fa5e Compare May 5, 2023 11:26
Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) from 0.29.7 to 0.31.0.
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v0.31.0/packages/vitest)

---
updated-dependencies:
- dependency-name: vitest
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/vitest-0.31.0 branch from 4396fbf to 0bebd71 Compare May 8, 2023 10:35
Signed-off-by: flexdevelopment[bot] <admin@flexdevelopment.llc>
@dependabot @github

dependabot Bot commented on behalf of github May 18, 2023

Copy link
Copy Markdown
Contributor Author

Superseded by #198.

@dependabot dependabot Bot closed this May 18, 2023
auto-merge was automatically disabled May 18, 2023 11:09

Pull request was closed

@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/vitest-0.31.0 branch May 18, 2023 11:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope:dependencies dependency updates type:build changes to the build system or external dependencies

Projects

Status: 馃ザ Icebox

Development

Successfully merging this pull request may close these issues.

1 participant