Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump @happy-dom/jest-environment from 13.9.0 to 14.3.6 #331

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 25, 2024

Bumps @happy-dom/jest-environment from 13.9.0 to 14.3.6.

Release notes

Sourced from @​happy-dom/jest-environment's releases.

v14.3.6

👷‍♂️ Patch fixes

v14.3.5

👷‍♂️ 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

👷‍♂️ Patch fixes

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

v14.3.3

👷‍♂️ 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

👷‍♂️ Patch fixes

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

v14.3.1

👷‍♂️ 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

🎨 Features

v14.2.1

👷‍♂️ 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

🎨 Features

v14.1.2

👷‍♂️ 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

👷‍♂️ 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 <dependency name> 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)

Bumps [@happy-dom/jest-environment](https://github.com/capricorn86/happy-dom) from 13.9.0 to 14.3.6.
- [Release notes](https://github.com/capricorn86/happy-dom/releases)
- [Commits](capricorn86/happy-dom@v13.9.0...v14.3.6)

---
updated-dependencies:
- dependency-name: "@happy-dom/jest-environment"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Mar 25, 2024
@jihchi jihchi merged commit 364c69a into main Mar 25, 2024
3 checks passed
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/happy-dom/jest-environment-14.3.6 branch March 25, 2024 09:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant