Skip to content

chore(deps): update dependency happy-dom to v13 #262

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

Merged
merged 1 commit into from
Feb 13, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 10, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
happy-dom 12.10.1 -> 13.3.8 age adoption passing confidence

Release Notes

capricorn86/happy-dom (happy-dom)

v13.3.8

Compare Source

👷‍♂️ Patch fixes

v13.3.7

Compare Source

👷‍♂️ Patch fixes
  • Removes validation of PR commit messages from Github workflow as it will fallback to patch version anyway - By @​capricorn86 in task #​1249

v13.3.6

Compare Source

👷‍♂️ Patch fixes
  • Adds support for PR username in release notes if it is not possible to retrieve Github username based on commit email - By @​capricorn86 in task #​1247

v13.3.5

Compare Source

🎨 Features
👷‍♂️ Patch fixes
  • Fixes problem with calculating next version by updating the package "happy-conventional-commit" - By @​capricorn86 in task #​1244

v13.3.4

Compare Source

👷‍♂️ Patch fixes

v13.3.3

Compare Source

👷‍♂️ Patch fixes

v13.3.2

Compare Source

v13.3.1

Compare Source

👷‍♂️ Patch fixes

v13.3.0

Compare Source

🎨 Features
👷‍♂️ Patch fixes

v13.2.2

Compare Source

👷‍♂️ Patch fixes

v13.2.1

Compare Source

👷‍♂️ Patch fixes
  • Adds missing element classes and types to the export in "index.js", so that they are easier to import. The missing elements was HTMLAnchorElement, HTMLButtonElement, HTMLOptGroupElement, HTMLOptionElement, HTMLUnknownElement and HTMLSelectElement. (#​1227)
  • Adds non-implemented element classes to the export in "index.js" by exporting HTMLElement as the non-implemented class name. (#​1227)

v13.2.0

Compare Source

🎨 Features
  • Removes unnecessary dependencies. (#​1215)

v13.1.4

Compare Source

👷‍♂️ Patch fixes
  • Adds submitter to SubmitEvent instances dispatched by HTMLInputElement and HTMLButtonElement . (#​1173)

Thank you @​aaltepet for your contribution!

v13.1.3

Compare Source

👷‍♂️ Patch fixes
  • Throws an error when providing an invalid selector to querySelector() and querySelectorAll(). (#​1170)

Thank you @​btea for your contribution!

v13.1.2

Compare Source

👷‍♂️ Patch fixes
  • Selection.anchorOffset, Selection.baseOffset, Selection.focusOffset and Selection.extendOffset should return 0 when no range has been added. (#​1163)

Thank you @​seanogdev for your contribution!

v13.1.1

Compare Source

👷‍♂️ Patch fixes
  • Support whitespace with multiple spaces, line breaks or tabs in DOMTokenList (e.g. <div class=" class1 class2 ">). (#​1168)

Thank you @​takenspc for your contribution!

v13.1.0

Compare Source

🎨 Features
  • Makes properties into getters and setters according to spec in all nodes. (#​1188)
  • Adds support for adopted stylesheets to Window.getComputedStyle(). (#​1188)

v13.0.7

Compare Source

👷‍♂️ Patch fixes
  • Fixes issue related to using fake timers in Vitest making the test get stuck. (#​1210)

v13.0.6

Compare Source

👷‍♂️ Patch fixes
  • Fixes problem related to exception thrown when creating a Node in the constructor of a custom element. (#​1207)

v13.0.5

Compare Source

👷‍♂️ Patch fixes

v13.0.4

Compare Source

👷‍♂️ Patch fixes
  • Adds support for fallback values when declaring a CSS variable (e.g. "var(--my-var, #FFF)"). (#​1192)

v13.0.3

Compare Source

👷‍♂️ Patch fixes
  • Fixes problem with clearTimeout(), clearInterval() and cancelAnimationFrame() not supporting number values. (#​1201)

v13.0.2

Compare Source

👷‍♂️ Patch fixes
  • Removes unused browser setting. (#​1199)

v13.0.1

Compare Source

🎨 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

Compare Source

💣 Breaking Changes
  • This is a big release where a lot of the code has been refactored to improve security and to be able to support the new Browser API. A big release is always a potential risk for bugs and therefore it make sense to make this a major release to avoid that consumers automatically updates 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 not collect multiple records with 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)
  • Uses Symbol for public internal properties instead of using "_" as a prefix, so that internal properties won't be enumerable. This will also make sure that these properties won't clash with properties defined by the consumer. (#​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() did'nt 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)

Merry Christmas and a Happy New Year! 🎅 ✨

This release took some time as I didn't want to release the Browser API without applying security fixes. I've also stumbled across a few other issues along the way that I felt I needed to address.

I hope you will enjoy the release!

v12.10.3

Compare Source

👷‍♂️ Patch fixes
  • Fix for week being wrong sometimes as it is not calculated as UTC in HTMLInputElement.valueAsDate(). (#​1144)

Thank you @​IGx89 for your contribution!

v12.10.2

Compare Source

👷‍♂️ Patch fixes
  • Element.cloneNode() should not clone scroll properties. (#​1148)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

Copy link

github-actions bot commented Jan 10, 2024

Size Change: 0 B

Total Size: 19.3 kB

ℹ️ View Unchanged
Filename Size
lib/app-check/index.js 59 B
lib/app-check/useAppCheckToken.js 382 B
lib/auth/index.js 75 B
lib/auth/useAuthIdToken.js 520 B
lib/auth/useAuthIdTokenResult.js 536 B
lib/auth/useAuthState.js 395 B
lib/common/index.js 31 B
lib/common/types.js 31 B
lib/database/index.js 70 B
lib/database/internal.js 188 B
lib/database/useObject.js 372 B
lib/database/useObjectOnce.js 432 B
lib/database/useObjectValue.js 691 B
lib/database/useObjectValueOnce.js 661 B
lib/firestore/index.js 126 B
lib/firestore/internal.js 441 B
lib/firestore/types.js 31 B
lib/firestore/useAggregateFromServer.js 590 B
lib/firestore/useDocument.js 631 B
lib/firestore/useDocumentData.js 748 B
lib/firestore/useDocumentDataOnce.js 620 B
lib/firestore/useDocumentOnce.js 562 B
lib/firestore/useQueries.js 627 B
lib/firestore/useQueriesData.js 706 B
lib/firestore/useQueriesDataOnce.js 673 B
lib/firestore/useQuery.js 601 B
lib/firestore/useQueryData.js 746 B
lib/firestore/useQueryDataOnce.js 627 B
lib/firestore/useQueryOnce.js 547 B
lib/index.js 107 B
lib/internal/useGet.js 482 B
lib/internal/useIsMounted.js 185 B
lib/internal/useListen.js 506 B
lib/internal/useLoadingValue.js 351 B
lib/internal/useMultiGet.js 631 B
lib/internal/useMultiListen.js 635 B
lib/internal/useMultiLoadingValue.js 523 B
lib/internal/useStableValue.js 259 B
lib/messaging/index.js 60 B
lib/messaging/useMessagingToken.js 395 B
lib/storage/index.js 90 B
lib/storage/internal.js 142 B
lib/storage/useBlob.js 512 B
lib/storage/useBytes.js 477 B
lib/storage/useDownloadURL.js 369 B
lib/storage/useMetadata.js 363 B
lib/storage/useStream.js 518 B

compressed-size-action

@renovate renovate bot force-pushed the renovate/happy-dom-13.x branch 8 times, most recently from 820278f to 3a19c9e Compare January 15, 2024 03:27
@renovate renovate bot force-pushed the renovate/happy-dom-13.x branch 4 times, most recently from f9dd0fc to bf2b7f7 Compare January 25, 2024 15:25
@renovate renovate bot force-pushed the renovate/happy-dom-13.x branch 3 times, most recently from 4041557 to 2622738 Compare January 29, 2024 21:38
@renovate renovate bot force-pushed the renovate/happy-dom-13.x branch from 2622738 to bac9c9c Compare January 31, 2024 03:58
@andipaetzold andipaetzold merged commit 1093f76 into main Feb 13, 2024
@andipaetzold andipaetzold deleted the renovate/happy-dom-13.x branch February 13, 2024 08:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant