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

Upgrade: Bump happy-dom from 12.10.3 to 13.0.4 #1502

Merged
merged 1 commit into from
Jan 15, 2024

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps happy-dom from 12.10.3 to 13.0.4.

Release notes

Sourced from happy-dom's releases.

v13.0.4

πŸ‘·β€β™‚οΈ Patch fixes

  • Adds support for fallback values when declaring a CSS variable (e.g. "var(--my-var, #FFF)"). (#1192)

v13.0.3

πŸ‘·β€β™‚οΈ Patch fixes

  • Fixes problem with clearTimeout(), clearInterval() and cancelAnimationFrame() not supporting number values. (#1201)

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)

... (truncated)

Commits

Dependabot compatibility score

You can trigger a rebase of this PR 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 12.10.3 to 13.0.4.
- [Release notes](https://github.com/capricorn86/happy-dom/releases)
- [Commits](capricorn86/happy-dom@v12.10.3...v13.0.4)

---
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 added 3. to review dependencies Pull requests that update a dependency file labels Jan 13, 2024
Copy link

cypress bot commented Jan 13, 2024

1 flaky test on run #1108 β†—οΈŽ

0 10 0 0 Flakiness 1

Details:

Upgrade: Bump happy-dom from 12.10.3 to 13.0.4
Project: Activity Commit: a62d9297c7
Status: Passed Duration: 02:44 πŸ’‘
Started: Jan 13, 2024 4:19 AM Ended: Jan 13, 2024 4:22 AM
FlakinessΒ  cypress/e2e/sidebar.cy.ts β€’ 1 flaky test β€’ Run E2E

View Output

Test Artifacts
Check activity listing in the sidebar > Has favorite activity Test Replay Screenshots

Review all test suite changes for PR #1502 β†—οΈŽ

@susnux
Copy link
Contributor

susnux commented Jan 15, 2024

@dependabot merge

@dependabot dependabot bot merged commit 9cc89d4 into master Jan 15, 2024
43 checks passed
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/happy-dom-13.0.4 branch January 15, 2024 17:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant