npm happy-dom 2.25.0
v2.25.0

latest releases: 14.7.1, 14.7.0, 14.6.2...
2 years ago

🎨 Features

  • Adds support for EventTarget.attachEvent(). This is only supported by IE8- and Opera, but for some reason React is using it. (#313)
  • Adds support for PointerEvent. (#313)
  • Adds support for Document.activeElement. (#313)
  • Adds support for ShadowRoot.activeElement. (#313)
  • Improves performance of Node.getRootNode(). (#313)
  • Adds support for Element.closest(). (#313)
  • Adds support for checking against multiple selectors divided by comma in Element.matches(). (#313)
  • Updates Node version in Github Actions to Node v16. (#315)

👷‍♂️ Patch fixes

  • Fixes issue with composed events not bubbling through ShadowRoot. (#312)
  • Corrects event types in HTMLElement.click(), HTMLElement.focus(), HTMLElement.blur(). (#313)
  • Fixes issue with HTMLInputElement.defaultValue being undefined. (#313)
  • Fixes issue with query selectors not supporting the ":not()" pseudo selector. (#313)

Don't miss a new happy-dom release

NewReleases is sending notifications on new releases.