Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency vitest to ^0.31.0 #60

Merged
merged 1 commit into from
May 7, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 7, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
vitest ^0.30.1 -> ^0.31.0 age adoption passing confidence

Release Notes

vitest-dev/vitest

v0.31.0

Compare Source

   🚨 Breaking Changes
  • Update mock implementation to support ESM runtime, introduce "vi.hoisted"  -  by @​sheremet-va in https://github.com/vitest-dev/vitest/issues/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 @​sheremet-va in https://github.com/vitest-dev/vitest/issues/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
    View changes on GitHub

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@vercel
Copy link

vercel bot commented May 7, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
oplayer ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 7, 2023 6:45am

@netlify
Copy link

netlify bot commented May 7, 2023

Deploy Preview for ohplayer ready!

Name Link
🔨 Latest commit ac3b6ff
🔍 Latest deploy log https://app.netlify.com/sites/ohplayer/deploys/6457483a0625d500083befd1
😎 Deploy Preview https://deploy-preview-60--ohplayer.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@shiyiya
Copy link
Owner

shiyiya commented May 7, 2023

Size Change: 0 B

Total Size: 275 kB

ℹ️ View Unchanged
Filename Size
./packages/core/dist/index.es.js 7.84 kB
./packages/core/dist/index.min.js 6.09 kB
./packages/core/dist/index.ui.js 23.5 kB
./packages/core/dist/src/constants.d.ts 334 B
./packages/core/dist/src/event.d.ts 227 B
./packages/core/dist/src/i18n/index.d.ts 224 B
./packages/core/dist/src/index.d.ts 184 B
./packages/core/dist/src/index.umd.d.ts 442 B
./packages/core/dist/src/player.d.ts 1.01 kB
./packages/core/dist/src/types.d.ts 684 B
./packages/core/dist/src/utils/css.d.ts 388 B
./packages/core/dist/src/utils/dom.d.ts 435 B
./packages/core/dist/src/utils/hash.d.ts 122 B
./packages/core/dist/src/utils/index.d.ts 180 B
./packages/core/dist/src/utils/platform.d.ts 127 B
./packages/core/dist/src/utils/script.d.ts 116 B
./packages/danmaku/dist/index.es.js 10.8 kB
./packages/danmaku/dist/index.min.js 8.68 kB
./packages/danmaku/dist/src/danmaku-parse.d.ts 192 B
./packages/danmaku/dist/src/heatmap.d.ts 184 B
./packages/danmaku/dist/src/index.d.ts 168 B
./packages/danmaku/dist/src/sender.d.ts 179 B
./packages/danmaku/dist/src/types.d.ts 606 B
./packages/dash/dist/index.es.js 2.15 kB
./packages/dash/dist/index.min.js 1.76 kB
./packages/dash/dist/src/index.d.ts 644 B
./packages/hls/dist/index.es.js 2.21 kB
./packages/hls/dist/index.hls.js 111 kB
./packages/hls/dist/index.min.js 1.78 kB
./packages/hls/dist/src/index.d.ts 710 B
./packages/mpegts/dist/index.es.js 998 B
./packages/mpegts/dist/index.min.js 839 B
./packages/mpegts/dist/src/index.d.ts 301 B
./packages/plugins/dist/ad.es.js 2.33 kB
./packages/plugins/dist/ad.min.js 2.27 kB
./packages/plugins/dist/chromecast.es.js 1.96 kB
./packages/plugins/dist/chromecast.min.js 1.91 kB
./packages/plugins/dist/hello.es.js 1.01 kB
./packages/plugins/dist/hello.min.js 1.07 kB
./packages/plugins/dist/index.es.js 6.12 kB
./packages/plugins/dist/index.min.js 5.7 kB
./packages/plugins/dist/playlist.es.js 2.42 kB
./packages/plugins/dist/playlist.min.js 2.38 kB
./packages/plugins/dist/src/ad.d.ts 264 B
./packages/plugins/dist/src/chromecast.d.ts 172 B
./packages/plugins/dist/src/hello.d.ts 205 B
./packages/plugins/dist/src/playlist.d.ts 585 B
./packages/plugins/dist/src/vttThumbnails.d.ts 192 B
./packages/plugins/dist/vttThumbnails.es.js 2.32 kB
./packages/plugins/dist/vttThumbnails.min.js 2.2 kB
./packages/react/dist/index.es.js 1.38 kB
./packages/react/dist/index.min.js 1.21 kB
./packages/react/dist/src/index.d.ts 390 B
./packages/torrent/dist/index.es.js 759 B
./packages/torrent/dist/index.min.js 723 B
./packages/torrent/dist/src/index.d.ts 402 B
./packages/ui/dist/index.es.js 23 kB
./packages/ui/dist/index.min.js 18.3 kB
./packages/ui/dist/src/components/Controller.d.ts 147 B
./packages/ui/dist/src/components/ControllerBar.d.ts 202 B
./packages/ui/dist/src/components/ControllerBottom.d.ts 182 B
./packages/ui/dist/src/components/ControllerBottom.style.d.ts 153 B
./packages/ui/dist/src/components/CoverButton.d.ts 160 B
./packages/ui/dist/src/components/Error.d.ts 211 B
./packages/ui/dist/src/components/highlight.d.ts 179 B
./packages/ui/dist/src/components/Loading.d.ts 156 B
./packages/ui/dist/src/components/Loading.style.d.ts 105 B
./packages/ui/dist/src/components/Mask.d.ts 155 B
./packages/ui/dist/src/components/Menubar.d.ts 146 B
./packages/ui/dist/src/components/Notice.d.ts 240 B
./packages/ui/dist/src/components/Progress.d.ts 156 B
./packages/ui/dist/src/components/Progress.style.d.ts 136 B
./packages/ui/dist/src/components/Setting.d.ts 271 B
./packages/ui/dist/src/components/Setting.style.d.ts 218 B
./packages/ui/dist/src/components/Subtitle.d.ts 463 B
./packages/ui/dist/src/components/Subtitle.utils.d.ts 152 B
./packages/ui/dist/src/components/Thumbnail.d.ts 180 B
./packages/ui/dist/src/components/VolumeBar.d.ts 156 B
./packages/ui/dist/src/components/VolumeBar.style.d.ts 140 B
./packages/ui/dist/src/functions/contextmenu.d.ts 146 B
./packages/ui/dist/src/functions/icons.d.ts 415 B
./packages/ui/dist/src/functions/index.d.ts 166 B
./packages/ui/dist/src/functions/keyboard.d.ts 131 B
./packages/ui/dist/src/functions/rotation.d.ts 173 B
./packages/ui/dist/src/functions/slide.d.ts 128 B
./packages/ui/dist/src/functions/speed.d.ts 141 B
./packages/ui/dist/src/index.core.d.ts 461 B
./packages/ui/dist/src/index.d.ts 748 B
./packages/ui/dist/src/listeners/focus.d.ts 171 B
./packages/ui/dist/src/listeners/fullscreen.d.ts 158 B
./packages/ui/dist/src/listeners/index.d.ts 261 B
./packages/ui/dist/src/listeners/loading.d.ts 161 B
./packages/ui/dist/src/listeners/playing.d.ts 161 B
./packages/ui/dist/src/style.d.ts 284 B
./packages/ui/dist/src/types.d.ts 1.73 kB
./packages/ui/dist/src/utils.d.ts 490 B

compressed-size-action

@shiyiya shiyiya merged commit 4abab2f into main May 7, 2023
@shiyiya shiyiya deleted the renovate/vitest-monorepo branch May 7, 2023 08:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant