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:
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).
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.
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.
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
Bumps the test group with 3 updates: expect-type, happy-dom and jsdom.
Updates
expect-type
from 0.19.0 to 0.20.0Release notes
Sourced from expect-type's releases.
... (truncated)
Commits
9764060
0.20.025c07d7
renovate: update ts-morph,@types/node
and eslint-plugin-mmkal 🌲 (#109)2b992fc
Addare-the-types-wrong
CI job (#108)432d0bf
run pkg-pr-new on pull_requestf0913f3
let49f21ff
deps: dedupe updates list1e37116
Extends: explain myself4c40b07
Mark internal APIs with@internal
JSDoc tag (#104)5ee0181
Re-export everything inoverloads.ts
file (#107)35b0962
renovate: update dependencies 🌲 (#101)Updates
happy-dom
from 14.12.3 to 15.7.3Release notes
Sourced from happy-dom's releases.
... (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)Updates
jsdom
from 24.1.3 to 25.0.0Release notes
Sourced from jsdom's releases.
Changelog
Sourced from jsdom's changelog.
Commits
c53efc8
Version 25.0.0784c8a5
Set EventTarget.prototype to the jsdom's Object.prototypeDependabot 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