Skip to content

Bump happy-dom from 9.20.3 to 13.0.2#717

Closed
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/happy-dom-13.0.2
Closed

Bump happy-dom from 9.20.3 to 13.0.2#717
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/happy-dom-13.0.2

Conversation

@dependabot
Copy link
Contributor

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

Bumps happy-dom from 9.20.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 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](https://github.com/capricorn86/happy-dom) from 9.20.3 to 13.0.2.
- [Release notes](https://github.com/capricorn86/happy-dom/releases)
- [Commits](capricorn86/happy-dom@v9.20.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] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Jan 12, 2024
@vercel
Copy link

vercel bot commented Jan 12, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
v7 ⬜️ Ignored (Inspect) Visit Preview Jan 12, 2024 11:58am

@netlify
Copy link

netlify bot commented Jan 12, 2024

Deploy Preview for jazzy-fox-5e62db ready!

Name Link
🔨 Latest commit 230ea6d
🔍 Latest deploy log https://app.netlify.com/sites/jazzy-fox-5e62db/deploys/65a1296bb7efb50008ea2952
😎 Deploy Preview https://deploy-preview-717--jazzy-fox-5e62db.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 15, 2024

Superseded by #720.

@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 11:12
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.

0 participants