Skip to content
This repository has been archived by the owner on Jul 20, 2024. It is now read-only.

⬆️ Bump happy-dom from 12.10.3 to 13.0.2 #46

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 12, 2024

Bumps happy-dom from 12.10.3 to 13.0.2.

Release notes

Sourced from happy-dom's releases.

v13.0.2

👷‍♂️ Patch fixes

  • Removes unused browser setting. (#1199)

v13.0.1

🎨 Features

  • Adds support for BrowserFrame.viewport. (#466)
  • Adds support for Window.resizeTo(). (#466)
  • Adds support for Window.resizeBy(). (#466)

👷‍♂️ Patch fixes

  • Fixes issues related to viewport not being kept when navigating to new a URL. (#466)

v13.0.0

💣 Breaking Changes

  • This is a big release where much of the code has been refactored to improve security and to support the new Browser API. A big release is always a potential risk of bugs, so it makes sense to make this a major release to avoid consumers automatically updating to it. (#466)

🎨 Features

  • Adds support for a Browser API similar to Puppeteer and Playwright. With the Browser API, it is for example possible to create new pages and navigate in them. You can read more about it in the Happy DOM Wiki. (#466)
  • Improves security by not exposing sensitive internal logic to scripts running within the Happy DOM Browser. (#466)
  • Improves support for CORS management. It now supports "OPTIONS" requests to detect if the client is allowed to proceed with a cross origin request. (#466)
  • Adds support for HTTP response cache. The cache is in memory, but the plan is to add support for storing it on disk in the future. (#466)
  • Improves support for XMLHttpRequest. It now supports the GZip, Deflate and Brotli encodings. (#466)
  • Adds support for adding a process level error event listener for capturing errors. This is useful when using the Browser API, but will not work in environments such as Jest and Vitest, as it collides with their error listener. (#466)
  • Adds support for Ẁindow.open(). (#466)
  • Adds support for Ẁindow.close(). This function should now be used when tearing down the environment. (#466)
  • Improves support for cookies. (#466)
  • Improves support for HTMLIFrameElement. (#466)
  • Changes export of types to use "import type" and "export type" in "index.js". This will allow transpilers/compilers to optimize better. (#466)
  • Adds support for navigating when clicking on an anchor link. (#466)
  • Adds support for navigating when setting Location.href. (#466)
  • Improves support for MutationObserver. It will now queue multiple records by using a microtask. It now also supports MutationObserver.takeRecords() for records that has not yet been published. (#466)
  • Deprecates "@​happy-dom/uncaught-exception-observer" as the functionality is supported by "happy-dom" out of the box now. (#466)
  • Changes internal properties to use Symbol instead of using "_" as a prefix, so they won't be enumerable. This will also make sure that these properties won't clash with properties defined by the consumer. It will use private properties with # where it is possible. (#466)

👷‍♂️ Patch fixes

  • Improves the check for if the property is a class to avoid that it gets bound in "@​happy-dom/global-registrator". We only want functions to get bound to the global context. (#466)
  • Fixes bug where new Document() didn't work according to spec. (#466)
  • Fixes bug where several Element classes wheren't available as properties on Window. (#466)
  • Fixes bug in Document.importNode() where it didn't change ownerDocument on child nodes. (#466)
  • Resets static ownerDocument state used when creating Node instances, so that it can be garbage collected if not used anymore. (#466)

... (truncated)

Commits

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 <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

@dependabot dependabot bot added dependencies Pull requests that update a dependency file ignore-for-release Exclude from Release Notes. labels Jan 12, 2024
Bumps [happy-dom](https://github.com/capricorn86/happy-dom) from 12.10.3 to 13.0.2.
- [Release notes](https://github.com/capricorn86/happy-dom/releases)
- [Commits](capricorn86/happy-dom@v12.10.3...v13.0.2)

---
updated-dependencies:
- dependency-name: happy-dom
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/happy-dom-13.0.2 branch from e234e54 to 5ab5651 Compare January 12, 2024 05:07
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 15, 2024

Superseded by #53.

@dependabot dependabot bot closed this Jan 15, 2024
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/happy-dom-13.0.2 branch January 15, 2024 05:00
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
@apps/frontend dependencies Pull requests that update a dependency file ignore-for-release Exclude from Release Notes. @packages/ui
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants