Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.34.4
->0.34.6
12.0.1
->12.9.1
0.34.4
->0.34.6
Release Notes
vitest-dev/vitest (@vitest/coverage-v8)
v0.34.6
Compare Source
🐞 Bug Fixes
test.extend
should be init once time in all test - by @Dunqing in https://github.com/vitest-dev/vitest/issues/4168 (730b2)View changes on GitHub
v0.34.5
Compare Source
🚀 Features
diff
option - by @fenghan34 and @sheremet-va in https://github.com/vitest-dev/vitest/issues/4063 (b50cf)coverage['100']
to istanbul provider - by @marcelobotega in https://github.com/vitest-dev/vitest/issues/4109 (a7e09)vi.waitFor
method - by @Dunqing and @sheremet-va in https://github.com/vitest-dev/vitest/issues/4113 (d79cb)vi.waitUntil
method - by @Dunqing and @sheremet-va in https://github.com/vitest-dev/vitest/issues/4129 (e0ac9)🐞 Bug Fixes
toThrow
- by @Dunqing in https://github.com/vitest-dev/vitest/issues/3979 (725a0)testNamePattern
- by @segrey in https://github.com/vitest-dev/vitest/issues/4103 and https://github.com/vitest-dev/vitest/issues/4104 (3c305)test.extend
doesn't work in hooks without test - by @Dunqing in https://github.com/vitest-dev/vitest/issues/4065 (175c7)SourceMapInput
to fix CYCLIC_CROSS_CHUNK_REEXPORT - by @Dunqing in https://github.com/vitest-dev/vitest/issues/4128 (ca70a)🏎 Performance
View changes on GitHub
capricorn86/happy-dom (happy-dom)
v12.9.1
Compare Source
👷♂️ Patch fixes
Thank you @goring for your contribution!
v12.9.0
Compare Source
🎨 Features
v12.8.1
Compare Source
👷♂️ Patch fixes
MutationObserver
. (#1113)Thank you @wojtekmaj for your contribution!
v12.8.0
Compare Source
🎨 Features
Clipboard
,ClipboardItem
,Permissions
andPermissionStatus
, which are used by theWindow.navigator.clipboard
andWindow.navigator.permissions
properties. (#833)ClipboardEvent
. (#833)DataTransfer
,DataTransferItemList
andDataTransferItem
. (#833)MutationRecord
class toWindow
as a property. (#1112)👷♂️ Patch fixes
HTMLInputElement.checked
state whenEvent.preventDefault()
is called on a dispatched "click" event.v12.7.0
Compare Source
🎨 Features
Element.scrollWidth
. (#1109)v12.6.0
Compare Source
🎨 Features
v12.5.1
Compare Source
🎨 Features
DocumentFragment
as a constructor (e.g.new DocumentFragment()
). (#940)👷♂️ Patch fixes
ownerDocument
being null when executingownerDocument.createElement()
in React 18. The error occurred when rendering a Radix UI component. The root cause was that React 18 usesDocumentFragment
as a constructor which was not supported. (#940)v12.5.0
Compare Source
🎨 Features
FocusEvent.relatedTarget
to blur and focus events. (#1094)Thank you @artursvonda for your contribution!
v12.4.0
Compare Source
🎨 Features
Document.currentScript
. (#1099)Thank you @ckhampus for your contribution!
v12.3.0
Compare Source
🎨 Features
vm.Script
for setting globals instead of a string to improve performance. (#1102)👷♂️ Patch fixes
Window.happyDOM.whenAsyncComplete()
. (#1102)v12.2.2
Compare Source
👷♂️ Patch fixes
PointerEvent
implementation more specification compliant. (#1092)Thank you @tkrotoff for your contribution!
v12.2.1
Compare Source
👷♂️ Patch fixes
Symbol.toStringTag
toEventTarget
andAbortSignal
. (#1097)Thank you @Afsoon for your contribution!
v12.2.0
Compare Source
🎨 Features
HTMLElement.clientLeft
andHTMLElement.clientTop
. (#1089)Thank you @konomae for your contribution!
v12.1.7
Compare Source
👷♂️ Patch fixes
NamedNodeMap.removeNamedItem()
throw an exception on missing item. (#652)HTMLElement.dataset
. Deleting a nonexistent key in a dataset will not throw an exception, even though it indirectly is usingNamedNodeMap.removeNamedItem()
. (#652)Thank you @RussianCow for your contribution!
v12.1.6
Compare Source
👷♂️ Patch fixes
URL.createObjectURL()
where it did not support the Happy DOMBlob
object. (#847)v12.1.5
Compare Source
👷♂️ Patch fixes
GlobalRegistrator
from @happy-dom/global-registrator. (#1082)v12.1.4
Compare Source
👷♂️ Patch fixes
global.window
not referring to global when usingGlobalRegistrator
from @happy-dom/global-registrator. (#1049)v12.1.3
Compare Source
👷♂️ Patch fixes
GlobalRegistrator
from @happy-dom/global-registrator, as some global properties may behave different from the Happy DOM implementation. The properties will be restored when unregistering. (#1049)v12.1.2
Compare Source
👷♂️ Patch fixes
Document.referrer
. (#653)v12.1.1
Compare Source
👷♂️ Patch fixes
display: none
, but should returndisplay: block
. This caused testing-library to not return the element when usinggetByRole('dialog')
. (#802)v12.1.0
Compare Source
🎨 Features
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - "before 4am on Monday" (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.