Closed renovate[bot] closed 1 year ago
Merging #127 (afa7277) into main (f86403f) will increase coverage by
2.89%
. The diff coverage isn/a
.
@@ Coverage Diff @@
## main #127 +/- ##
==========================================
+ Coverage 57.87% 60.76% +2.89%
==========================================
Files 10 10
Lines 864 864
Branches 46 38 -8
==========================================
+ Hits 500 525 +25
+ Misses 364 339 -25
This PR contains the following updates:
^0.30.1
->^0.31.0
8.3.1
->8.4.0
^1.1.1
->^1.1.2
^0.30.1
->^0.31.0
Release Notes
vitest-dev/vitest
### [`v0.31.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.31.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.30.1...v0.31.0) ##### 🚨 Breaking Changes - Update mock implementation to support ESM runtime, introduce "vi.hoisted" - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3258](https://togithub.com/vitest-dev/vitest/issues/3258) [(0c09a)](https://togithub.com/vitest-dev/vitest/commit/0c09a40d) - Bypass ESM import order restriction with `vi.hoisted` to run code before imports are executed: ```ts vi.hoisted(() => vi.setSystemTime(new Date(2022, 1, 1))) ``` You can also use it to pass variables to `vi.mock`: ```ts 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](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3294](https://togithub.com/vitest-dev/vitest/issues/3294) [(cf3af)](https://togithub.com/vitest-dev/vitest/commit/cf3afe2b) - The change should be minor: ```diff - declare namespace Vi { + declare module 'vitest' { interface Assertionpnpm/pnpm
### [`v8.4.0`](https://togithub.com/pnpm/pnpm/releases/tag/v8.4.0) [Compare Source](https://togithub.com/pnpm/pnpm/compare/v8.3.1...v8.4.0) #### Minor Changes - `pnpm publish` supports the `--provenance` CLI option [#6435](https://togithub.com/pnpm/pnpm/issues/6435). #### Patch Changes - Link the bin files of local workspace dependencies, when `node-linker` is set to `hoisted` [6486](https://togithub.com/pnpm/pnpm/issues/6486). - Ask the user to confirm the removal of `node_modules` directory unless the `--force` option is passed. - Do not create a `node_modules` folder with a `.modules.yaml` file if there are no dependencies inside `node_modules`. #### Our Gold Sponsorsunjs/ufo
### [`v1.1.2`](https://togithub.com/unjs/ufo/blob/HEAD/CHANGELOG.md#v112) [Compare Source](https://togithub.com/unjs/ufo/compare/v1.1.1...v1.1.2) [compare changes](https://togithub.com/unjs/ufo/compare/v1.1.1...v1.1.2) ##### 🩹 Fixes - Provide node16 style types field ([#133](https://togithub.com/unjs/ufo/pull/133)) ##### 📖 Documentation - Add jsdocs for parse utils ([#134](https://togithub.com/unjs/ufo/pull/134)) - Add `stringifyParsedURL` ([81e92b2](https://togithub.com/unjs/ufo/commit/81e92b2)) ##### 🏡 Chore - **readme:** Improvements ([e38bdf6](https://togithub.com/unjs/ufo/commit/e38bdf6)) - Update lockfile ([29fd478](https://togithub.com/unjs/ufo/commit/29fd478)) ##### ❤️ Contributors - Pooya Parsa ([@pi0](http://github.com/pi0)) - Nozomu Ikuta - Sébastien ChopinConfiguration
📅 Schedule: Branch creation - "after 2am and before 3am" (UTC), Automerge - "after 1am and before 2am" (UTC).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Mend Renovate. View repository job log here.