github capricorn86/happy-dom v14.1.2

latest releases: v15.11.6, v15.11.5, v15.11.4...
7 months ago

👷‍♂️ Patch fixes

  • Fixes problem with properties defined as getters and setters not being registered globally by Vitest - By @capricorn86 in task #1339
    • The problem occurred as Vitest is using Object.getOwnPropertyDescriptors(window) to read which properties to register globally, but getters and setters are defined on the prototype
    • To solve the problem, GlobalWindow now defines the properties on the instance when it is constructed

Don't miss a new happy-dom release

NewReleases is sending notifications on new releases.