Upgrading happy-dom 3 to 4
Breaking3.2.2 → 4.1.0Breaking1New1Fixed3
BreakingUpgrade verdict
1 breaking change.
In plain terms
- Fixes issues with HTML parsing and serialization related to void and SVG elements.
Must act 1 item needs code or config changes
What you must change
Breaking1
Fixes issues with HTML parsing and serialization related to void and SVG elements.
<img><circle></circle>API changes
Generated by DepDelta from published .d.ts files. Not mixed with prose notes.
- removed:
const _default: string[] - removed:
default _default
- removed:
const _default: string[] - removed:
default _default
- added:
const _default: string[] - added:
default _default
- added:
export { DOMRect }
- added:
get Document.baseURI(): string
- added:
constructor DOMRect(x?: any, y?: any, width?: any, height?: any)
- added:
readonly property IWindow.DOMRect: typeof DOMRect
- added:
readonly property Window.DOMRect: typeof DOMRect