Move @testing-library/dom and @types/react-dom to peer dependencies (#1305) (a4744fa)
BREAKING CHANGES
@testing-library/dom was moved to a peer dependency and needs to be explicitly installed. This reduces the chance of having conflicting versions of @testing-library/dom installed that frequently caused bugs when used with @testing-library/user-event. We will also be able to allow new versions of @testing-library/dom being used without a SemVer major release of @testing-library/react by just widening the peer dependency.
@types/react-dom needs to be installed if you're typechecking files using @testing-library/react.
Since reverting to nwsapi causes several functionality regressions, e.g. removing :has() support, we've decided to make this a major version.
Additionally:
Small fixes to edge-case behavior of the following properties: input.maxLength, input.minLength, input.size, progress.max, tableCell.colSpan, tableCell.rowSpan, tableCol.span, textArea.cols, textArea.maxLength, textArea.minLength, textArea.rows.
Version 23.2.0
This release switches our CSS selector engine from nwsapi to @asamuzakjp/dom-selector. The new engine is more actively maintained, and supports many new selectors: see the package's documentation for the full list. It also works better with shadow trees.
There is a potential of a performance regression due to this change. In our stress test benchmark, which runs most of these 273 selectors against this 128 KiB document, the new engine completes the benchmark only 0.25x as fast. However, we're hopeful that in more moderate usage this will not be a significant issue. Any help speeding up @asamuzakjp/dom-selector is appreciated, and feel free to open an issue if this has had a significant impact on your project.
Version 23.1.0
Added an initial implementation of ElementInternals, including the shadowRoot getter and the string-valued ARIA properties. (zjffun)
Added the string-valued ARIA attribute-reflecting properties to Element.
Fixed history.pushState() and history.replaceState() to follow the latest specification, notably with regards to how they handle empty string inputs and what new URLs are possible.
Fixed the input.valueAsANumber setter to handle NaN correctly. (alexandertrefz)
Updated various dependencies, including cssstyle which contains several bug fixes.
Version 23.0.1
Fixed the incorrect canvas peer dependency introduced in v23.0.0.
Version 23.0.0
Node.js v18 is now the minimum supported version.
Updated various dependencies, including whatwg-url which integrates various additions to the URL and URLSearchParams objects.
Since reverting to nwsapi causes several functionality regressions, e.g. removing :has() support, we've decided to make this a major version.
Additionally:
Small fixes to edge-case behavior of the following properties: input.maxLength, input.minLength, input.size, progress.max, tableCell.colSpan, tableCell.rowSpan, tableCol.span, textArea.cols, textArea.maxLength, textArea.minLength, textArea.rows.
23.2.0
This release switches our CSS selector engine from nwsapi to @asamuzakjp/dom-selector. The new engine is more actively maintained, and supports many new selectors: see the package's documentation for the full list. It also works better with shadow trees.
There is a potential of a performance regression due to this change. In our stress test benchmark, which runs most of these 273 selectors against this 128 KiB document, the new engine completes the benchmark only 0.25x as fast. However, we're hopeful that in more moderate usage this will not be a significant issue. Any help speeding up @asamuzakjp/dom-selector is appreciated, and feel free to open an issue if this has had a significant impact on your project.
23.1.0
Added an initial implementation of ElementInternals, including the shadowRoot getter and the string-valued ARIA properties. (zjffun)
Added the string-valued ARIA attribute-reflecting properties to Element.
Fixed history.pushState() and history.replaceState() to follow the latest specification, notably with regards to how they handle empty string inputs and what new URLs are possible.
Fixed the input.valueAsANumber setter to handle NaN correctly. (alexandertrefz)
Updated various dependencies, including cssstyle which contains several bug fixes.
23.0.1
Fixed the incorrect canvas peer dependency introduced in v23.0.0.
23.0.0
Node.js v18 is now the minimum supported version.
Updated various dependencies, including whatwg-url which integrates various additions to the URL and URLSearchParams objects.
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 dev-dependencies group with 4 updates in the /frontend directory: @testing-library/jest-dom, @testing-library/react, eslint and jsdom.
Updates
@testing-library/jest-dom
from 5.17.0 to 6.4.8Release notes
Sourced from
@testing-library/jest-dom
's releases.... (truncated)
Commits
d02e80b
docs: add ddolcimascolo as a contributor for maintenance (#616)faf534b
fix: Drop peerDependencies from package.json (#610)78a2934
docs: add tonyhallett as a contributor for bug (#615)5cc6298
fix: Type definition oftoHaveClass
(#611)fd9ee68
fix: Support@starting-style
(#602)e8c8b13
fix: add js suffix to isEqualWith import (#599)f03a582
fix(infra): codecoverage token addition (#600)20aca33
fix: Updates role support for aria-required attribute intoBeRequired
(#590)bd82f64
refactor: replace lodash with own implementation when possible (#593)a93c0c4
fix: Remove errant export of GetByRoleMatcher, fixing type checking in some T...Updates
@testing-library/react
from 14.3.1 to 16.0.0Release notes
Sourced from
@testing-library/react
's releases.... (truncated)
Commits
a4744fa
feat: Move@testing-library/dom
and@types/react-dom
to peer dependencie...c1f2957
fix: Ensureact
is notany
whenReact.act
is not declared (#1323)b6e59f7
fix: export new act when available (#1319)f6a1677
chore: Adjust tests to workaround 18.3.0 bug (#1315)d143f46
fix: Stop restrictingcontainer
option based onhydrate
(#1313)48282c2
fix: EnsurerenderHook
options extend options forrender
(#1308)067d0c6
fix: Don't raise TypeScript errors when hydatingdocument
(#1304)c63b873
fix: ImprovelegacyRoot
error message (#1301)1645d21
fix: Stop using nullish coalescing (#1299)787cb85
Release: 15.0.0 (#1295)Updates
eslint
from 8.57.0 to 9.9.0Release notes
Sourced from eslint's releases.
... (truncated)
Changelog
Sourced from eslint's changelog.
... (truncated)
Commits
0dd3863
9.9.02e5ba77
Build: changelog update for 9.9.0461b2c3
chore: upgrade to@eslint/js@9.9.0
(#18765)59dba1b
chore: package.json update for@eslint/js
releasefea8563
chore: update dependency@eslint/core
to ^0.3.0 (#18724)41d0206
feat: Add support for TS config files (#18134)aac191e
chore: update dependency@eslint/json
to ^0.3.0 (#18760)9fe068c
docs: how to author plugins with configs that extend other configs (#18753)b97fa05
chore: update wdio dependencies for more stable tests (#18759)3a4eaf9
feat: add suggestion torequire-await
to removeasync
keyword (#18716)Updates
jsdom
from 22.1.0 to 24.1.1Release notes
Sourced from jsdom's releases.
Changelog
Sourced from jsdom's changelog.
Commits
ee8b615
Version 24.1.14c167b3
Update ESLint to v9c8a5103
Update dependencies and dev dependenciesb2235af
Trigger selectionchange event on document when selection changes4555914
Version 24.1.0a693107
Fix elements with names from Object.prototype8738255
Add regression test for comma selectora343932
Implement the getSetCookie() method of Headersf2fa507
Update URLs and fix grammar error7dc7ab9
Fix getComputedStyle() not-implemented messageDependabot 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