sergiodxa / remix-utils

A set of utility functions and types to use with Remix.run
https://sergiodxa.github.io/remix-utils/
MIT License
2.06k stars 116 forks source link

Bump happy-dom from 13.10.1 to 14.3.6 #326

Closed dependabot[bot] closed 5 months ago

dependabot[bot] commented 5 months ago

Bumps happy-dom from 13.10.1 to 14.3.6.

Release notes

Sourced from happy-dom's releases.

v14.3.6

:construction_worker_man: Patch fixes

v14.3.5

:construction_worker_man: Patch fixes

  • Fixes bug where the tag name for custom elements constructed using the "new" keyword rendered as <null> - By @​capricorn86 in task #1354

v14.3.4

:construction_worker_man: Patch fixes

  • Ignores invalid selectors when parsing CSS in Window.getComputedStyle() - By @​capricorn86 in task #1352

v14.3.3

:construction_worker_man: Patch fixes

  • Fixes bug where calling Storage.getItem() with a key that has the same name as one of its methods or properties, returned the method/property (e.g. Storage.getItem('key') returned Storage.key() which is a function) - By @​capricorn86 in task #1351
    • The solution has been changed to use a Proxy instead to safeguard against this

v14.3.2

:construction_worker_man: Patch fixes

  • Converts the value parameter to string in Storage.setItem() - By @​dr2009 in task #1347

v14.3.1

:construction_worker_man: Patch fixes

  • Adds support for defining keys to the Storage class used by the properties Window.localStorage and Window.sessionStorage - By @​frankdiw in task #1181

v14.3.0

:art: Features

v14.2.1

:construction_worker_man: Patch fixes

  • Binds getters and setters on all Window classes (not only GlobalWindow), so that they will be available when calling Object.getOwnPropertyDescriptors() - By @​capricorn86 in task #1343
    • The reason for this change is that JSDOM and browsers has these properties as part of the Window instance and not the prototype
    • Happy DOM will now behave correctly when overriding a property on Window with spyOn(window, 'property') or Object.defineProperty(window, 'property')

v14.2.0

:art: Features

v14.1.2

:construction_worker_man: 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

v14.1.1

:construction_worker_man: Patch fixes

  • Changes location, history, navigator, screen, sessionStorage and localStorage to be getters instead of properties on Window - By @​capricorn86 in task #1336
  • Adds setter for Window.location - By @​capricorn86 in task #1336

... (truncated)

Commits
  • 0ee95b7 Merge pull request #1358 from capricorn86/1288-add-support-for-comment-shorthand
  • c71929b fix: #1288 Adds support for parsing shorthand comments
  • 06b556c Merge pull request #1357 from capricorn86/1354-incorrect-custom-element-tag-n...
  • 1c57ecc fix: #1354 Fixes bug where the tag name for custom elements constructed usi...
  • 1fa9701 Merge pull request #1355 from capricorn86/1352-bug-domexception-the-selector-...
  • 1a1d05b fix: #1352 Ignores invalid selectors when parsing CSS in Window.getComputed...
  • 6cbe8c0 Merge pull request #1353 from capricorn86/1351-bug-unexpected-return-value-wh...
  • 6cdc5ed fix: #1351 Fixes bug where calling Storage.getItem() with a key that has th...
  • 44dd9ce fix: #1347 LocalStorage.setItem non-string value should to be string (#1348)
  • b5af02b fix: #1181 Adds support for defining keys to the Storage class used by the ...
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)