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

fix: ignore prototype methods when using setData on objects #2265

Merged
merged 2 commits into from
Dec 4, 2023

Conversation

Haberkamp
Copy link
Contributor

@Haberkamp Haberkamp commented Nov 30, 2023

This change ignores the prototype methods of an object when using setData

resolves: #2257

Copy link

netlify bot commented Nov 30, 2023

Deploy Preview for vue-test-utils-docs ready!

Name Link
🔨 Latest commit 30f971b
🔍 Latest deploy log https://app.netlify.com/sites/vue-test-utils-docs/deploys/656dda60e449f3000879aee6
😎 Deploy Preview https://deploy-preview-2265--vue-test-utils-docs.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 configuration.

tests/utils.spec.ts Outdated Show resolved Hide resolved
tests/utils.spec.ts Outdated Show resolved Hide resolved
tests/setData.spec.ts Outdated Show resolved Hide resolved
tests/setData.spec.ts Outdated Show resolved Hide resolved
tests/setData.spec.ts Outdated Show resolved Hide resolved
Copy link
Member

@cexbrayat cexbrayat left a comment

Choose a reason for hiding this comment

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

Awesome, thanks @Haberkamp 👍

@cexbrayat cexbrayat merged commit fa7dbaf into vuejs:main Dec 4, 2023
6 checks passed
@doutatsu
Copy link

When will the new version be released, with this fix? Need this fix, as I use a lot of Object.keys and as a result my tests are failing

renovate bot referenced this pull request in slipmatio/ui Jan 29, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@types/node](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node)
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node))
| [`20.11.5` ->
`20.11.7`](https://renovatebot.com/diffs/npm/@types%2fnode/20.11.5/20.11.7)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnode/20.11.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fnode/20.11.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fnode/20.11.5/20.11.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnode/20.11.5/20.11.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[@vitest/coverage-v8](https://togithub.com/vitest-dev/vitest/tree/main/packages/coverage-v8#readme)
([source](https://togithub.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8))
| [`1.2.1` ->
`1.2.2`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-v8/1.2.1/1.2.2)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fcoverage-v8/1.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fcoverage-v8/1.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fcoverage-v8/1.2.1/1.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fcoverage-v8/1.2.1/1.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [@vue/test-utils](https://togithub.com/vuejs/test-utils) | [`2.4.3` ->
`2.4.4`](https://renovatebot.com/diffs/npm/@vue%2ftest-utils/2.4.3/2.4.4)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@vue%2ftest-utils/2.4.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vue%2ftest-utils/2.4.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vue%2ftest-utils/2.4.3/2.4.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vue%2ftest-utils/2.4.3/2.4.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [happy-dom](https://togithub.com/capricorn86/happy-dom) | [`13.2.0` ->
`13.3.1`](https://renovatebot.com/diffs/npm/happy-dom/13.2.0/13.3.1) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/happy-dom/13.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/happy-dom/13.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/happy-dom/13.2.0/13.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/happy-dom/13.2.0/13.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [vite-plugin-dts](https://togithub.com/qmhc/vite-plugin-dts) |
[`3.7.1` ->
`3.7.2`](https://renovatebot.com/diffs/npm/vite-plugin-dts/3.7.1/3.7.2)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/vite-plugin-dts/3.7.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vite-plugin-dts/3.7.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vite-plugin-dts/3.7.1/3.7.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vite-plugin-dts/3.7.1/3.7.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [vitest](https://togithub.com/vitest-dev/vitest)
([source](https://togithub.com/vitest-dev/vitest/tree/HEAD/packages/vitest))
| [`1.2.1` ->
`1.2.2`](https://renovatebot.com/diffs/npm/vitest/1.2.1/1.2.2) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/1.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/1.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/1.2.1/1.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/1.2.1/1.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>vitest-dev/vitest (@&#8203;vitest/coverage-v8)</summary>

###
[`v1.2.2`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.2.2)

[Compare
Source](https://togithub.com/vitest-dev/vitest/compare/v1.2.1...v1.2.2)

#####    🐞 Bug Fixes

-   **coverage**:
- Remove `coverage/.tmp` files after run  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/5008](https://togithub.com/vitest-dev/vitest/issues/5008)
[<samp>(d53b8)</samp>](https://togithub.com/vitest-dev/vitest/commit/d53b8580)
- Don't crash when re-run removes earlier run's reports  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/5022](https://togithub.com/vitest-dev/vitest/issues/5022)
[<samp>(66898)</samp>](https://togithub.com/vitest-dev/vitest/commit/6689856f)
-   **expect**:
- Improve `toThrow(asymmetricMatcher)` failure message  -  by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/5000](https://togithub.com/vitest-dev/vitest/issues/5000)
[<samp>(a199a)</samp>](https://togithub.com/vitest-dev/vitest/commit/a199ac2d)
-   **forks**:
- Set correct `VITEST_POOL_ID`  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/5002](https://togithub.com/vitest-dev/vitest/issues/5002)
[<samp>(7d0a4)</samp>](https://togithub.com/vitest-dev/vitest/commit/7d0a4692)
-   **threads**:
- Mention common work-around for the logged error  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/5024](https://togithub.com/vitest-dev/vitest/issues/5024)
[<samp>(915d6)</samp>](https://togithub.com/vitest-dev/vitest/commit/915d6c43)
-   **typecheck**:
- Fix `ignoreSourceErrors` in run mode  -  by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/5044](https://togithub.com/vitest-dev/vitest/issues/5044)
[<samp>(6dae3)</samp>](https://togithub.com/vitest-dev/vitest/commit/6dae3feb)
-   **vite-node**:
- Provide import.meta.filename and dirname  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5011](https://togithub.com/vitest-dev/vitest/issues/5011)
[<samp>(73148)</samp>](https://togithub.com/vitest-dev/vitest/commit/73148575)
-   **vitest**:
- Expose getHooks & setHooks  -  by
[@&#8203;adriencaccia](https://togithub.com/adriencaccia) in
[https://github.com/vitest-dev/vitest/issues/5032](https://togithub.com/vitest-dev/vitest/issues/5032)
[<samp>(73448)</samp>](https://togithub.com/vitest-dev/vitest/commit/73448706)
- Test deep dependencies change detection  -  by
[@&#8203;blake-newman](https://togithub.com/blake-newman) in
[https://github.com/vitest-dev/vitest/issues/4934](https://togithub.com/vitest-dev/vitest/issues/4934)
[<samp>(9c7c0)</samp>](https://togithub.com/vitest-dev/vitest/commit/9c7c0fc9)
- Throw an error if vi.mock is exported  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5034](https://togithub.com/vitest-dev/vitest/issues/5034)
[<samp>(253df)</samp>](https://togithub.com/vitest-dev/vitest/commit/253df1cc)
- Allow `useFakeTimers` to fake `requestIdleCallback` on non browser  - 
by [@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/5028](https://togithub.com/vitest-dev/vitest/issues/5028)
[<samp>(a9a48)</samp>](https://togithub.com/vitest-dev/vitest/commit/a9a486f2)
- Support older NodeJS with async `import.meta.resolve`  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/5045](https://togithub.com/vitest-dev/vitest/issues/5045)
[<samp>(cf564)</samp>](https://togithub.com/vitest-dev/vitest/commit/cf5641a9)
- Don't throw an error if mocked file was already imported  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5050](https://togithub.com/vitest-dev/vitest/issues/5050)
[<samp>(fff1a)</samp>](https://togithub.com/vitest-dev/vitest/commit/fff1a270)

#####     [View changes on
GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.2.1...v1.2.2)

</details>

<details>
<summary>vuejs/test-utils (@&#8203;vue/test-utils)</summary>

###
[`v2.4.4`](https://togithub.com/vuejs/test-utils/releases/tag/v2.4.4)

[Compare
Source](https://togithub.com/vuejs/test-utils/compare/v2.4.3...v2.4.4)

#### What's Changed

- fix: ignore prototype methods when using setData on objects by
[@&#8203;Haberkamp](https://togithub.com/Haberkamp) in
[https://github.com/vuejs/test-utils/pull/2265](https://togithub.com/vuejs/test-utils/pull/2265)
- fix: always load cjs bundle in node environment by
[@&#8203;danielroe](https://togithub.com/danielroe) in
[https://github.com/vuejs/test-utils/pull/2269](https://togithub.com/vuejs/test-utils/pull/2269)
- fix: experimentalVmThreads is now pool=vmThreads by
[@&#8203;cexbrayat](https://togithub.com/cexbrayat) in
[https://github.com/vuejs/test-utils/pull/2275](https://togithub.com/vuejs/test-utils/pull/2275)
- feat: respect devtools definition by
[@&#8203;webfansplz](https://togithub.com/webfansplz) in
[https://github.com/vuejs/test-utils/pull/2311](https://togithub.com/vuejs/test-utils/pull/2311)

#### New Contributors

- [@&#8203;ArtemTropanets](https://togithub.com/ArtemTropanets) made
their first contribution in
[https://github.com/vuejs/test-utils/pull/2267](https://togithub.com/vuejs/test-utils/pull/2267)
- [@&#8203;Haberkamp](https://togithub.com/Haberkamp) made their first
contribution in
[https://github.com/vuejs/test-utils/pull/2265](https://togithub.com/vuejs/test-utils/pull/2265)
- [@&#8203;danielroe](https://togithub.com/danielroe) made their first
contribution in
[https://github.com/vuejs/test-utils/pull/2269](https://togithub.com/vuejs/test-utils/pull/2269)
- [@&#8203;webfansplz](https://togithub.com/webfansplz) made their first
contribution in
[https://github.com/vuejs/test-utils/pull/2311](https://togithub.com/vuejs/test-utils/pull/2311)

**Full Changelog**:
vuejs/test-utils@v2.4.3...v2.4.4

</details>

<details>
<summary>capricorn86/happy-dom (happy-dom)</summary>

###
[`v13.3.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.3.1)

[Compare
Source](https://togithub.com/capricorn86/happy-dom/compare/v13.3.0...v13.3.1)

##### 👷‍♂️ Patch fixes

- Improves documentation for
"[@&#8203;happy-dom/global-registrator](https://togithub.com/happy-dom/global-registrator)".
([#&#8203;1233](https://togithub.com/capricorn86/happy-dom/issues/1233))

###
[`v13.3.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.3.0)

[Compare
Source](https://togithub.com/capricorn86/happy-dom/compare/v13.2.2...v13.3.0)

##### 🎨 Features

- Adds support for sending in Window options to
`GlobalRegistrator.register()` in
"[@&#8203;happy-dom/global-registrator](https://togithub.com/happy-dom/global-registrator)".
([#&#8203;1105](https://togithub.com/capricorn86/happy-dom/issues/1105))

##### 👷‍♂️ Patch fixes

- Fixes problem with getters and setters not being added to the global
object when using `GlobalRegistrator.register()` in
"[@&#8203;happy-dom/global-registrator](https://togithub.com/happy-dom/global-registrator)".
([#&#8203;1105](https://togithub.com/capricorn86/happy-dom/issues/1105))

###
[`v13.2.2`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.2.2)

[Compare
Source](https://togithub.com/capricorn86/happy-dom/compare/v13.2.1...v13.2.2)

##### 👷‍♂️ Patch fixes

- Fixes issue where it is not possible to set `global.location.href`
when using Happy DOM in the global scope (e.g. by using
[@&#8203;happy-dom/global-registrator](https://togithub.com/happy-dom/global-registrator)).
([#&#8203;1230](https://togithub.com/capricorn86/happy-dom/issues/1230))

###
[`v13.2.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.2.1)

[Compare
Source](https://togithub.com/capricorn86/happy-dom/compare/v13.2.0...v13.2.1)

##### 👷‍♂️ Patch fixes

- Adds missing element classes and types to the export in "index.js", so
that they are easier to import. The missing elements was
`HTMLAnchorElement`, `HTMLButtonElement`, `HTMLOptGroupElement`,
`HTMLOptionElement`, `HTMLUnknownElement` and `HTMLSelectElement`.
([#&#8203;1227](https://togithub.com/capricorn86/happy-dom/issues/1227))
- Adds non-implemented element classes to the export in "index.js" by
exporting `HTMLElement` as the non-implemented class name.
([#&#8203;1227](https://togithub.com/capricorn86/happy-dom/issues/1227))

</details>

<details>
<summary>qmhc/vite-plugin-dts (vite-plugin-dts)</summary>

###
[`v3.7.2`](https://togithub.com/qmhc/vite-plugin-dts/blob/HEAD/CHANGELOG.md#372-2024-01-24)

[Compare
Source](https://togithub.com/qmhc/vite-plugin-dts/compare/v3.7.1...v3.7.2)

##### Bug Fixes

- correct match result for alias form tsconfig
([88469d0](https://togithub.com/qmhc/vite-plugin-dts/commit/88469d0e6a8883a18e93e185da8060b66cf60550)),
closes
[#&#8203;298](https://togithub.com/qmhc/vite-plugin-dts/issues/298)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 4am on Monday" in timezone
Europe/Helsinki, Automerge - At any time (no schedule defined).

🚦 **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](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/slipmatio/ui).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNTMuMiIsInVwZGF0ZWRJblZlciI6IjM3LjE1My4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot referenced this pull request in slipmatio/logger Jan 29, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@types/node](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node)
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node))
| [`20.11.5` ->
`20.11.7`](https://renovatebot.com/diffs/npm/@types%2fnode/20.11.5/20.11.7)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnode/20.11.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fnode/20.11.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fnode/20.11.5/20.11.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnode/20.11.5/20.11.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[@vitest/coverage-v8](https://togithub.com/vitest-dev/vitest/tree/main/packages/coverage-v8#readme)
([source](https://togithub.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8))
| [`1.2.1` ->
`1.2.2`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-v8/1.2.1/1.2.2)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fcoverage-v8/1.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fcoverage-v8/1.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fcoverage-v8/1.2.1/1.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fcoverage-v8/1.2.1/1.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [@vue/test-utils](https://togithub.com/vuejs/test-utils) | [`2.4.3` ->
`2.4.4`](https://renovatebot.com/diffs/npm/@vue%2ftest-utils/2.4.3/2.4.4)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@vue%2ftest-utils/2.4.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vue%2ftest-utils/2.4.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vue%2ftest-utils/2.4.3/2.4.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vue%2ftest-utils/2.4.3/2.4.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [happy-dom](https://togithub.com/capricorn86/happy-dom) | [`13.2.0` ->
`13.3.1`](https://renovatebot.com/diffs/npm/happy-dom/13.2.0/13.3.1) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/happy-dom/13.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/happy-dom/13.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/happy-dom/13.2.0/13.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/happy-dom/13.2.0/13.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [vitest](https://togithub.com/vitest-dev/vitest)
([source](https://togithub.com/vitest-dev/vitest/tree/HEAD/packages/vitest))
| [`1.2.1` ->
`1.2.2`](https://renovatebot.com/diffs/npm/vitest/1.2.1/1.2.2) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/1.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/1.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/1.2.1/1.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/1.2.1/1.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>vitest-dev/vitest (@&#8203;vitest/coverage-v8)</summary>

###
[`v1.2.2`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.2.2)

[Compare
Source](https://togithub.com/vitest-dev/vitest/compare/v1.2.1...v1.2.2)

#####    🐞 Bug Fixes

-   **coverage**:
- Remove `coverage/.tmp` files after run  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/5008](https://togithub.com/vitest-dev/vitest/issues/5008)
[<samp>(d53b8)</samp>](https://togithub.com/vitest-dev/vitest/commit/d53b8580)
- Don't crash when re-run removes earlier run's reports  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/5022](https://togithub.com/vitest-dev/vitest/issues/5022)
[<samp>(66898)</samp>](https://togithub.com/vitest-dev/vitest/commit/6689856f)
-   **expect**:
- Improve `toThrow(asymmetricMatcher)` failure message  -  by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/5000](https://togithub.com/vitest-dev/vitest/issues/5000)
[<samp>(a199a)</samp>](https://togithub.com/vitest-dev/vitest/commit/a199ac2d)
-   **forks**:
- Set correct `VITEST_POOL_ID`  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/5002](https://togithub.com/vitest-dev/vitest/issues/5002)
[<samp>(7d0a4)</samp>](https://togithub.com/vitest-dev/vitest/commit/7d0a4692)
-   **threads**:
- Mention common work-around for the logged error  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/5024](https://togithub.com/vitest-dev/vitest/issues/5024)
[<samp>(915d6)</samp>](https://togithub.com/vitest-dev/vitest/commit/915d6c43)
-   **typecheck**:
- Fix `ignoreSourceErrors` in run mode  -  by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/5044](https://togithub.com/vitest-dev/vitest/issues/5044)
[<samp>(6dae3)</samp>](https://togithub.com/vitest-dev/vitest/commit/6dae3feb)
-   **vite-node**:
- Provide import.meta.filename and dirname  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5011](https://togithub.com/vitest-dev/vitest/issues/5011)
[<samp>(73148)</samp>](https://togithub.com/vitest-dev/vitest/commit/73148575)
-   **vitest**:
- Expose getHooks & setHooks  -  by
[@&#8203;adriencaccia](https://togithub.com/adriencaccia) in
[https://github.com/vitest-dev/vitest/issues/5032](https://togithub.com/vitest-dev/vitest/issues/5032)
[<samp>(73448)</samp>](https://togithub.com/vitest-dev/vitest/commit/73448706)
- Test deep dependencies change detection  -  by
[@&#8203;blake-newman](https://togithub.com/blake-newman) in
[https://github.com/vitest-dev/vitest/issues/4934](https://togithub.com/vitest-dev/vitest/issues/4934)
[<samp>(9c7c0)</samp>](https://togithub.com/vitest-dev/vitest/commit/9c7c0fc9)
- Throw an error if vi.mock is exported  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5034](https://togithub.com/vitest-dev/vitest/issues/5034)
[<samp>(253df)</samp>](https://togithub.com/vitest-dev/vitest/commit/253df1cc)
- Allow `useFakeTimers` to fake `requestIdleCallback` on non browser  - 
by [@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/5028](https://togithub.com/vitest-dev/vitest/issues/5028)
[<samp>(a9a48)</samp>](https://togithub.com/vitest-dev/vitest/commit/a9a486f2)
- Support older NodeJS with async `import.meta.resolve`  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/5045](https://togithub.com/vitest-dev/vitest/issues/5045)
[<samp>(cf564)</samp>](https://togithub.com/vitest-dev/vitest/commit/cf5641a9)
- Don't throw an error if mocked file was already imported  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5050](https://togithub.com/vitest-dev/vitest/issues/5050)
[<samp>(fff1a)</samp>](https://togithub.com/vitest-dev/vitest/commit/fff1a270)

#####     [View changes on
GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.2.1...v1.2.2)

</details>

<details>
<summary>vuejs/test-utils (@&#8203;vue/test-utils)</summary>

###
[`v2.4.4`](https://togithub.com/vuejs/test-utils/releases/tag/v2.4.4)

[Compare
Source](https://togithub.com/vuejs/test-utils/compare/v2.4.3...v2.4.4)

#### What's Changed

- fix: ignore prototype methods when using setData on objects by
[@&#8203;Haberkamp](https://togithub.com/Haberkamp) in
[https://github.com/vuejs/test-utils/pull/2265](https://togithub.com/vuejs/test-utils/pull/2265)
- fix: always load cjs bundle in node environment by
[@&#8203;danielroe](https://togithub.com/danielroe) in
[https://github.com/vuejs/test-utils/pull/2269](https://togithub.com/vuejs/test-utils/pull/2269)
- fix: experimentalVmThreads is now pool=vmThreads by
[@&#8203;cexbrayat](https://togithub.com/cexbrayat) in
[https://github.com/vuejs/test-utils/pull/2275](https://togithub.com/vuejs/test-utils/pull/2275)
- feat: respect devtools definition by
[@&#8203;webfansplz](https://togithub.com/webfansplz) in
[https://github.com/vuejs/test-utils/pull/2311](https://togithub.com/vuejs/test-utils/pull/2311)

#### New Contributors

- [@&#8203;ArtemTropanets](https://togithub.com/ArtemTropanets) made
their first contribution in
[https://github.com/vuejs/test-utils/pull/2267](https://togithub.com/vuejs/test-utils/pull/2267)
- [@&#8203;Haberkamp](https://togithub.com/Haberkamp) made their first
contribution in
[https://github.com/vuejs/test-utils/pull/2265](https://togithub.com/vuejs/test-utils/pull/2265)
- [@&#8203;danielroe](https://togithub.com/danielroe) made their first
contribution in
[https://github.com/vuejs/test-utils/pull/2269](https://togithub.com/vuejs/test-utils/pull/2269)
- [@&#8203;webfansplz](https://togithub.com/webfansplz) made their first
contribution in
[https://github.com/vuejs/test-utils/pull/2311](https://togithub.com/vuejs/test-utils/pull/2311)

**Full Changelog**:
vuejs/test-utils@v2.4.3...v2.4.4

</details>

<details>
<summary>capricorn86/happy-dom (happy-dom)</summary>

###
[`v13.3.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.3.1)

[Compare
Source](https://togithub.com/capricorn86/happy-dom/compare/v13.3.0...v13.3.1)

##### 👷‍♂️ Patch fixes

- Improves documentation for
"[@&#8203;happy-dom/global-registrator](https://togithub.com/happy-dom/global-registrator)".
([#&#8203;1233](https://togithub.com/capricorn86/happy-dom/issues/1233))

###
[`v13.3.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.3.0)

[Compare
Source](https://togithub.com/capricorn86/happy-dom/compare/v13.2.2...v13.3.0)

##### 🎨 Features

- Adds support for sending in Window options to
`GlobalRegistrator.register()` in
"[@&#8203;happy-dom/global-registrator](https://togithub.com/happy-dom/global-registrator)".
([#&#8203;1105](https://togithub.com/capricorn86/happy-dom/issues/1105))

##### 👷‍♂️ Patch fixes

- Fixes problem with getters and setters not being added to the global
object when using `GlobalRegistrator.register()` in
"[@&#8203;happy-dom/global-registrator](https://togithub.com/happy-dom/global-registrator)".
([#&#8203;1105](https://togithub.com/capricorn86/happy-dom/issues/1105))

###
[`v13.2.2`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.2.2)

[Compare
Source](https://togithub.com/capricorn86/happy-dom/compare/v13.2.1...v13.2.2)

##### 👷‍♂️ Patch fixes

- Fixes issue where it is not possible to set `global.location.href`
when using Happy DOM in the global scope (e.g. by using
[@&#8203;happy-dom/global-registrator](https://togithub.com/happy-dom/global-registrator)).
([#&#8203;1230](https://togithub.com/capricorn86/happy-dom/issues/1230))

###
[`v13.2.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.2.1)

[Compare
Source](https://togithub.com/capricorn86/happy-dom/compare/v13.2.0...v13.2.1)

##### 👷‍♂️ Patch fixes

- Adds missing element classes and types to the export in "index.js", so
that they are easier to import. The missing elements was
`HTMLAnchorElement`, `HTMLButtonElement`, `HTMLOptGroupElement`,
`HTMLOptionElement`, `HTMLUnknownElement` and `HTMLSelectElement`.
([#&#8203;1227](https://togithub.com/capricorn86/happy-dom/issues/1227))
- Adds non-implemented element classes to the export in "index.js" by
exporting `HTMLElement` as the non-implemented class name.
([#&#8203;1227](https://togithub.com/capricorn86/happy-dom/issues/1227))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 4am on Monday" in timezone
Europe/Helsinki, Automerge - At any time (no schedule defined).

🚦 **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](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/slipmatio/logger).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNTMuMiIsInVwZGF0ZWRJblZlciI6IjM3LjE1My4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot referenced this pull request in slipmatio/toolbelt Feb 5, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@playwright/test](https://playwright.dev)
([source](https://togithub.com/microsoft/playwright)) | [`1.41.1` ->
`1.41.2`](https://renovatebot.com/diffs/npm/@playwright%2ftest/1.41.1/1.41.2)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@playwright%2ftest/1.41.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@playwright%2ftest/1.41.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@playwright%2ftest/1.41.1/1.41.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@playwright%2ftest/1.41.1/1.41.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[@types/node](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node)
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node))
| [`20.11.5` ->
`20.11.16`](https://renovatebot.com/diffs/npm/@types%2fnode/20.11.5/20.11.16)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnode/20.11.16?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fnode/20.11.16?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fnode/20.11.5/20.11.16?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnode/20.11.5/20.11.16?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[@vitest/coverage-v8](https://togithub.com/vitest-dev/vitest/tree/main/packages/coverage-v8#readme)
([source](https://togithub.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8))
| [`1.2.1` ->
`1.2.2`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-v8/1.2.1/1.2.2)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fcoverage-v8/1.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fcoverage-v8/1.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fcoverage-v8/1.2.1/1.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fcoverage-v8/1.2.1/1.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [@vue/test-utils](https://togithub.com/vuejs/test-utils) | [`2.4.3` ->
`2.4.4`](https://renovatebot.com/diffs/npm/@vue%2ftest-utils/2.4.3/2.4.4)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@vue%2ftest-utils/2.4.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vue%2ftest-utils/2.4.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vue%2ftest-utils/2.4.3/2.4.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vue%2ftest-utils/2.4.3/2.4.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [happy-dom](https://togithub.com/capricorn86/happy-dom) | [`13.2.0` ->
`13.3.8`](https://renovatebot.com/diffs/npm/happy-dom/13.2.0/13.3.8) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/happy-dom/13.3.8?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/happy-dom/13.3.8?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/happy-dom/13.2.0/13.3.8?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/happy-dom/13.2.0/13.3.8?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [vite-plugin-dts](https://togithub.com/qmhc/vite-plugin-dts) |
[`3.7.1` ->
`3.7.2`](https://renovatebot.com/diffs/npm/vite-plugin-dts/3.7.1/3.7.2)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/vite-plugin-dts/3.7.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vite-plugin-dts/3.7.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vite-plugin-dts/3.7.1/3.7.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vite-plugin-dts/3.7.1/3.7.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [vitest](https://togithub.com/vitest-dev/vitest)
([source](https://togithub.com/vitest-dev/vitest/tree/HEAD/packages/vitest))
| [`1.2.1` ->
`1.2.2`](https://renovatebot.com/diffs/npm/vitest/1.2.1/1.2.2) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/1.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/1.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/1.2.1/1.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/1.2.1/1.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>microsoft/playwright (@&#8203;playwright/test)</summary>

###
[`v1.41.2`](https://togithub.com/microsoft/playwright/releases/tag/v1.41.2)

[Compare
Source](https://togithub.com/microsoft/playwright/compare/v1.41.1...v1.41.2)

##### Highlights


[https://github.com/microsoft/playwright/issues/29123](https://togithub.com/microsoft/playwright/issues/29123)
- \[REGRESSION] route.continue: Protocol error (Fetch.continueRequest):
Invalid InterceptionId.

#### Browser Versions

-   Chromium 121.0.6167.57
-   Mozilla Firefox 121.0
-   WebKit 17.4

This version was also tested against the following stable channels:

-   Google Chrome 120
-   Microsoft Edge 120

</details>

<details>
<summary>vitest-dev/vitest (@&#8203;vitest/coverage-v8)</summary>

###
[`v1.2.2`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.2.2)

[Compare
Source](https://togithub.com/vitest-dev/vitest/compare/v1.2.1...v1.2.2)

#####    🐞 Bug Fixes

-   **coverage**:
- Remove `coverage/.tmp` files after run  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/5008](https://togithub.com/vitest-dev/vitest/issues/5008)
[<samp>(d53b8)</samp>](https://togithub.com/vitest-dev/vitest/commit/d53b8580)
- Don't crash when re-run removes earlier run's reports  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/5022](https://togithub.com/vitest-dev/vitest/issues/5022)
[<samp>(66898)</samp>](https://togithub.com/vitest-dev/vitest/commit/6689856f)
-   **expect**:
- Improve `toThrow(asymmetricMatcher)` failure message  -  by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/5000](https://togithub.com/vitest-dev/vitest/issues/5000)
[<samp>(a199a)</samp>](https://togithub.com/vitest-dev/vitest/commit/a199ac2d)
-   **forks**:
- Set correct `VITEST_POOL_ID`  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/5002](https://togithub.com/vitest-dev/vitest/issues/5002)
[<samp>(7d0a4)</samp>](https://togithub.com/vitest-dev/vitest/commit/7d0a4692)
-   **threads**:
- Mention common work-around for the logged error  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/5024](https://togithub.com/vitest-dev/vitest/issues/5024)
[<samp>(915d6)</samp>](https://togithub.com/vitest-dev/vitest/commit/915d6c43)
-   **typecheck**:
- Fix `ignoreSourceErrors` in run mode  -  by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/5044](https://togithub.com/vitest-dev/vitest/issues/5044)
[<samp>(6dae3)</samp>](https://togithub.com/vitest-dev/vitest/commit/6dae3feb)
-   **vite-node**:
- Provide import.meta.filename and dirname  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5011](https://togithub.com/vitest-dev/vitest/issues/5011)
[<samp>(73148)</samp>](https://togithub.com/vitest-dev/vitest/commit/73148575)
-   **vitest**:
- Expose getHooks & setHooks  -  by
[@&#8203;adriencaccia](https://togithub.com/adriencaccia) in
[https://github.com/vitest-dev/vitest/issues/5032](https://togithub.com/vitest-dev/vitest/issues/5032)
[<samp>(73448)</samp>](https://togithub.com/vitest-dev/vitest/commit/73448706)
- Test deep dependencies change detection  -  by
[@&#8203;blake-newman](https://togithub.com/blake-newman) in
[https://github.com/vitest-dev/vitest/issues/4934](https://togithub.com/vitest-dev/vitest/issues/4934)
[<samp>(9c7c0)</samp>](https://togithub.com/vitest-dev/vitest/commit/9c7c0fc9)
- Throw an error if vi.mock is exported  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5034](https://togithub.com/vitest-dev/vitest/issues/5034)
[<samp>(253df)</samp>](https://togithub.com/vitest-dev/vitest/commit/253df1cc)
- Allow `useFakeTimers` to fake `requestIdleCallback` on non browser  - 
by [@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/5028](https://togithub.com/vitest-dev/vitest/issues/5028)
[<samp>(a9a48)</samp>](https://togithub.com/vitest-dev/vitest/commit/a9a486f2)
- Support older NodeJS with async `import.meta.resolve`  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/5045](https://togithub.com/vitest-dev/vitest/issues/5045)
[<samp>(cf564)</samp>](https://togithub.com/vitest-dev/vitest/commit/cf5641a9)
- Don't throw an error if mocked file was already imported  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5050](https://togithub.com/vitest-dev/vitest/issues/5050)
[<samp>(fff1a)</samp>](https://togithub.com/vitest-dev/vitest/commit/fff1a270)

#####     [View changes on
GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.2.1...v1.2.2)

</details>

<details>
<summary>vuejs/test-utils (@&#8203;vue/test-utils)</summary>

###
[`v2.4.4`](https://togithub.com/vuejs/test-utils/releases/tag/v2.4.4)

[Compare
Source](https://togithub.com/vuejs/test-utils/compare/v2.4.3...v2.4.4)

#### What's Changed

- fix: ignore prototype methods when using setData on objects by
[@&#8203;Haberkamp](https://togithub.com/Haberkamp) in
[https://github.com/vuejs/test-utils/pull/2265](https://togithub.com/vuejs/test-utils/pull/2265)
- fix: always load cjs bundle in node environment by
[@&#8203;danielroe](https://togithub.com/danielroe) in
[https://github.com/vuejs/test-utils/pull/2269](https://togithub.com/vuejs/test-utils/pull/2269)
- fix: experimentalVmThreads is now pool=vmThreads by
[@&#8203;cexbrayat](https://togithub.com/cexbrayat) in
[https://github.com/vuejs/test-utils/pull/2275](https://togithub.com/vuejs/test-utils/pull/2275)
- feat: respect devtools definition by
[@&#8203;webfansplz](https://togithub.com/webfansplz) in
[https://github.com/vuejs/test-utils/pull/2311](https://togithub.com/vuejs/test-utils/pull/2311)

#### New Contributors

- [@&#8203;ArtemTropanets](https://togithub.com/ArtemTropanets) made
their first contribution in
[https://github.com/vuejs/test-utils/pull/2267](https://togithub.com/vuejs/test-utils/pull/2267)
- [@&#8203;Haberkamp](https://togithub.com/Haberkamp) made their first
contribution in
[https://github.com/vuejs/test-utils/pull/2265](https://togithub.com/vuejs/test-utils/pull/2265)
- [@&#8203;danielroe](https://togithub.com/danielroe) made their first
contribution in
[https://github.com/vuejs/test-utils/pull/2269](https://togithub.com/vuejs/test-utils/pull/2269)
- [@&#8203;webfansplz](https://togithub.com/webfansplz) made their first
contribution in
[https://github.com/vuejs/test-utils/pull/2311](https://togithub.com/vuejs/test-utils/pull/2311)

**Full Changelog**:
vuejs/test-utils@v2.4.3...v2.4.4

</details>

<details>
<summary>capricorn86/happy-dom (happy-dom)</summary>

###
[`v13.3.8`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.3.8)

[Compare
Source](https://togithub.com/capricorn86/happy-dom/compare/v13.3.7...v13.3.8)

##### 👷‍♂️ Patch fixes

- Updates documentation - By
**[@&#8203;capricorn86](https://togithub.com/capricorn86)** in task
[#&#8203;1251](https://togithub.com/capricorn86/happy-dom/issues/1251)

###
[`v13.3.7`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.3.7)

[Compare
Source](https://togithub.com/capricorn86/happy-dom/compare/v13.3.6...v13.3.7)

##### 👷‍♂️ Patch fixes

- Removes validation of PR commit messages from Github workflow as it
will fallback to patch version anyway - By
**[@&#8203;capricorn86](https://togithub.com/capricorn86)** in task
[#&#8203;1249](https://togithub.com/capricorn86/happy-dom/issues/1249)

###
[`v13.3.6`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.3.6)

[Compare
Source](https://togithub.com/capricorn86/happy-dom/compare/v13.3.5...v13.3.6)

##### 👷‍♂️ Patch fixes

- Adds support for PR username in release notes if it is not possible to
retrieve Github username based on commit email - By
**[@&#8203;capricorn86](https://togithub.com/capricorn86)** in task
[#&#8203;1247](https://togithub.com/capricorn86/happy-dom/issues/1247)

###
[`v13.3.5`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.3.5)

[Compare
Source](https://togithub.com/capricorn86/happy-dom/compare/v13.3.4...v13.3.5)

##### 🎨 Features

- Support for passing pseudo-selectors as argument of `:not` in query
selectors - By **[@&#8203;gdorsi](https://togithub.com/gdorsi)** in task
[#&#8203;1191](https://togithub.com/capricorn86/happy-dom/issues/1191)
- Add support for `TouchEvent` and `Touch` - By
**[@&#8203;visualjerk](https://togithub.com/visualjerk)** in task
[#&#8203;1186](https://togithub.com/capricorn86/happy-dom/issues/1186)

##### 👷‍♂️ Patch fixes

- Fixes problem with calculating next version by updating the package
"happy-conventional-commit" - By
**[@&#8203;capricorn86](https://togithub.com/capricorn86)** in task
[#&#8203;1244](https://togithub.com/capricorn86/happy-dom/issues/1244)

###
[`v13.3.4`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.3.4)

[Compare
Source](https://togithub.com/capricorn86/happy-dom/compare/v13.3.3...v13.3.4)

##### 👷‍♂️ Patch fixes

- Fixes automatic release notes in the Github Workflow - By
**[@&#8203;capricorn86](https://togithub.com/capricorn86)** in task
[#&#8203;1241](https://togithub.com/capricorn86/happy-dom/issues/1241)

###
[`v13.3.3`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.3.3)

[Compare
Source](https://togithub.com/capricorn86/happy-dom/compare/v13.3.2...v13.3.3)

##### 👷‍♂️ Patch fixes

- Updates documentation.
([#&#8203;1240](https://togithub.com/capricorn86/happy-dom/issues/1240))

###
[`v13.3.2`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.3.2)

[Compare
Source](https://togithub.com/capricorn86/happy-dom/compare/v13.3.1...v13.3.2)

##### 👷‍♂️ Patch fixes

- Use [Conventional Commits](https://www.conventionalcommits.org/en/) as
pattern when developing with Happy DOM.
([#&#8203;975](https://togithub.com/capricorn86/happy-dom/issues/975))

###
[`v13.3.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.3.1)

[Compare
Source](https://togithub.com/capricorn86/happy-dom/compare/v13.3.0...v13.3.1)

##### 👷‍♂️ Patch fixes

- Improves documentation for
"[@&#8203;happy-dom/global-registrator](https://togithub.com/happy-dom/global-registrator)".
([#&#8203;1233](https://togithub.com/capricorn86/happy-dom/issues/1233))

###
[`v13.3.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.3.0)

[Compare
Source](https://togithub.com/capricorn86/happy-dom/compare/v13.2.2...v13.3.0)

##### 🎨 Features

- Adds support for sending in Window options to
`GlobalRegistrator.register()` in
"[@&#8203;happy-dom/global-registrator](https://togithub.com/happy-dom/global-registrator)".
([#&#8203;1105](https://togithub.com/capricorn86/happy-dom/issues/1105))

##### 👷‍♂️ Patch fixes

- Fixes problem with getters and setters not being added to the global
object when using `GlobalRegistrator.register()` in
"[@&#8203;happy-dom/global-registrator](https://togithub.com/happy-dom/global-registrator)".
([#&#8203;1105](https://togithub.com/capricorn86/happy-dom/issues/1105))

###
[`v13.2.2`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.2.2)

[Compare
Source](https://togithub.com/capricorn86/happy-dom/compare/v13.2.1...v13.2.2)

##### 👷‍♂️ Patch fixes

- Fixes issue where it is not possible to set `global.location.href`
when using Happy DOM in the global scope (e.g. by using
[@&#8203;happy-dom/global-registrator](https://togithub.com/happy-dom/global-registrator)).
([#&#8203;1230](https://togithub.com/capricorn86/happy-dom/issues/1230))

###
[`v13.2.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.2.1)

[Compare
Source](https://togithub.com/capricorn86/happy-dom/compare/v13.2.0...v13.2.1)

##### 👷‍♂️ Patch fixes

- Adds missing element classes and types to the export in "index.js", so
that they are easier to import. The missing elements was
`HTMLAnchorElement`, `HTMLButtonElement`, `HTMLOptGroupElement`,
`HTMLOptionElement`, `HTMLUnknownElement` and `HTMLSelectElement`.
([#&#8203;1227](https://togithub.com/capricorn86/happy-dom/issues/1227))
- Adds non-implemented element classes to the export in "index.js" by
exporting `HTMLElement` as the non-implemented class name.
([#&#8203;1227](https://togithub.com/capricorn86/happy-dom/issues/1227))

</details>

<details>
<summary>qmhc/vite-plugin-dts (vite-plugin-dts)</summary>

###
[`v3.7.2`](https://togithub.com/qmhc/vite-plugin-dts/blob/HEAD/CHANGELOG.md#372-2024-01-24)

[Compare
Source](https://togithub.com/qmhc/vite-plugin-dts/compare/v3.7.1...v3.7.2)

##### Bug Fixes

- correct match result for alias form tsconfig
([88469d0](https://togithub.com/qmhc/vite-plugin-dts/commit/88469d0e6a8883a18e93e185da8060b66cf60550)),
closes
[#&#8203;298](https://togithub.com/qmhc/vite-plugin-dts/issues/298)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 4am on Monday" in timezone
Europe/Helsinki, Automerge - At any time (no schedule defined).

🚦 **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](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/slipmatio/toolbelt).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNzAuMCIsInVwZGF0ZWRJblZlciI6IjM3LjE3MC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
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.

Bug: setData() incorrectly sets object prototype methods as keys
3 participants