testing-library / svelte-testing-library

:chipmunk: Simple and complete Svelte DOM testing utilities that encourage good testing practices
https://testing-library.com/docs/svelte-testing-library/intro
MIT License
620 stars 33 forks source link

chore(deps-dev): bump the test group with 3 updates #399

Closed dependabot[bot] closed 2 months ago

dependabot[bot] commented 2 months ago

Bumps the test group with 3 updates: expect-type, happy-dom and jsdom.

Updates expect-type from 0.19.0 to 0.20.0

Release notes

Sourced from expect-type's releases.

v0.20.0

Breaking changes

This change updates how overloaded functions are treated. Now, .parameters gives you a union of the parameter-tuples that a function can take. For example, given the following type:

type Factorize = {
  (input: number): number[]
  (input: bigint): bigint[]
}

Behvaiour before:

expectTypeOf<Factorize>().parameters.toEqualTypeOf<[bigint]>()

Behaviour now:

expectTypeOf<Factorize>().parameters.toEqualTypeOf<[number] | [bigint]>()

There were similar changes for .returns, .parameter(...), and .toBeCallableWith. Also, overloaded functions are now differentiated properly when using .branded.toEqualTypeOf (this was a bug that it seems nobody found).

See #83 for more details or look at the updated docs (including a new section called "Overloaded functions", which has more info on how this behaviour differs for TypeScript versions before 5.3).

What's Changed

Full Changelog: https://github.com/mmkal/expect-type/compare/v0.19.0...v0.20.0

v0.20.0-0

Breaking changes

... (truncated)

Commits


Updates happy-dom from 14.12.3 to 15.7.3

Release notes

Sourced from happy-dom's releases.

v15.7.3

:construction_worker_man: Patch fixes

  • Fixes bug that occurs when checking if a symbol property exists on HTMLSelectElement - By @​Cherry in task #1526

v15.7.2

:construction_worker_man: Patch fixes

  • Fixes problem where it is not possible to observe again after disconnecting in MutationObserver - By @​capricorn86 in task #1524

v15.7.1

:construction_worker_man: Patch fixes

  • Fixes selector validation and converts selectors to string (e.g. querySelector(['.class'])) - By @​capricorn86 in task #1507

v15.7.0

:art: Features

v15.6.1

:construction_worker_man: Patch fixes

  • Include Access-Control-*, Origin headers for cross-origin preflight requests - By @​rexxars in task #1489

v15.6.0

:art: Features

:construction_worker_man: Patch fixes

  • Changes wrong property name "inputmode" to "inputMode" in HTMLInputElement and HTMLTextAreaElement - By @​capricorn86 in task #1487

v15.5.0

:art: Features

v15.4.3

:construction_worker_man: Patch fixes

  • Adds support for supporting new lines and tabs as white-space character in CSS selectors - By @​syi0808 in task #1414

v15.4.2

:construction_worker_man: Patch fixes

v15.4.1

:construction_worker_man: Patch fixes

  • Throw error in FormData.append() when value parameter type is incorrect - By @​btea in task #1484

v15.4.0

:art: Features

v15.3.2

:construction_worker_man: Patch fixes

  • Fixes the HTMLInputElement.indeterminate, so that it behaves correctly - By @​malko in task #1439

... (truncated)

Commits
  • afc3692 fix: #1526 Handles scenario where a symbol property doesn't exist on HTMLSe...
  • 20b520a fix: #1527 Fixes problem where it is not possible to observe again after di...
  • 07a424a chore: [1] Add vitest extensions (#1523)
  • d0c8ab5 fix: #1507 Fixes selector validation, so that it converts values to string ...
  • 9bde659 feat: #1373 Adds support for the :has pseudo selector (#1521)
  • 2c52052 chore: #1213 Replaces rm rf with a windows compatible script when building ...
  • 86748db fix: #1489 Include Access-Control, Origin headers for cross-origin requests...
  • 71d243a feat: #1515 Adds support for the selectors :focus and :focus-visible (#1520)
  • 2b20cc3 fix: #1487 Changes wrong property name inputmode to inputMode in HTMLInputE...
  • 48dc929 chore: #1504 Upgrades Vitest (#1504)
  • Additional commits viewable in compare view


Updates jsdom from 24.1.3 to 25.0.0

Release notes

Sourced from jsdom's releases.

Version 25.0.0

This major release changes the prototype of a jsdom's EventTarget.prototype to point to the Object.prototype inside the jsdom, instead of pointing to the Node.js Object.prototype. Thus, the prototype chain of Window stays entirely within the jsdom, never crossing over into the Node.js realm.

This only occurs when runScripts is set to non-default values of "dangerously" or "outside-only", as with the default value, there is no separate Object.prototype inside the jsdom.

This will likely not impact many programs, but could cause some changes in instanceof behavior, and so out of an abundance of caution, we're releasing it as a new major version.

Changelog

Sourced from jsdom's changelog.

25.0.0

This major release changes the prototype of a jsdom's EventTarget.prototype to point to the Object.prototype inside the jsdom, instead of pointing to the Node.js Object.prototype. Thus, the prototype chain of Window stays entirely within the jsdom, never crossing over into the Node.js realm.

This only occurs when runScripts is set to non-default values of "dangerously" or "outside-only", as with the default value, there is no separate Object.prototype inside the jsdom.

This will likely not impact many programs, but could cause some changes in instanceof behavior, and so out of an abundance of caution, we're releasing it as a new major version.

Commits


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 ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore 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 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 ` 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 ` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
github-actions[bot] commented 1 month ago

:tada: This PR is included in version 5.2.2 :tada:

The release is available on:

Your semantic-release bot :package::rocket: