react-firehooks
react-firehooks copied to clipboard
chore(deps): update dev dependencies (non-major)
This PR contains the following updates:
Release Notes
vitest-dev/vitest (@vitest/coverage-v8)
v2.1.1
🐞 Bug Fixes
- browser:
- Make example test callbacks async - by @aqandrew in https://github.com/vitest-dev/vitest/issues/6484 (16aa7)
- Optimize vitest-browser-vue correctly - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6490 (5cbb0)
- workspace:
- Resolve glob pattern once to avoid name collision - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6489 (36b5a)
View changes on GitHub
v2.1.0
This release makes another big change to the Browser Mode by introducing locators API:
test('renders blog posts', async () => {
const screen = page.render(<Blog />)
await expect.element(screen.getByRole('heading', { name: 'Blog' })).toBeInTheDocument()
const [firstPost] = screen.getByRole('listitem').all()
await firstPost.getByRole('button', { name: 'Delete' }).click()
expect(screen.getByRole('listitem').all()).toHaveLength(3)
})
You can use either vitest-browser-vue, vitest-browser-svelte or vitest-browser-react to render components and make assertions using locators. Locators are also available on the page object from @vitest/browser/context.
🚀 Features
- api:
- Make spec into a class instead of a tuple - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6355 (874a1)
- browser:
- Move page.config to server.config, add more docs - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6252 (af2b8)
- Make iframe scalable, improve documentation - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6257 (74ca1)
- Introduce built-in locators - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6084 (3347f)
- Support v8 coverage - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/6273 (34199)
- Support
userEvent.uploadin playwright provider - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6442 (cf148) - Support
--inspect- by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/6433 (0499a) - Support
--inspect-brk- by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/6434 (7ab0f)
- cli:
- Extend existing list command to output only a list of file names - by @Ma-hawaj and @sheremet-va in https://github.com/vitest-dev/vitest/issues/6392 (008f0)
- coverage:
- Add
--exclude-after-remap- by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/6309 (5932a)
- Add
- mocker:
- Introduce @vitest/mocker package, allow
{ spy: true }instead of a factory - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6289 (95f02)
- Introduce @vitest/mocker package, allow
- vitest:
- Add "provide" option - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6253 (4409d)
- Add return type and promisable mockFactory - by @syi0808 and @sheremet-va in https://github.com/vitest-dev/vitest/issues/6139 (f5e0b)
- Add
vi.advanceTimersToNextFrame- by @bnjm and @sheremet-va in https://github.com/vitest-dev/vitest/issues/6347 (8ff63) - Allow env to be stubbed to undefined - by @JSanchezIO and @sheremet-va in https://github.com/vitest-dev/vitest/issues/6359 (c3b27)
🐞 Bug Fixes
- Correctly resolve nested mocks with
indexfile - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6266 (081cf) - Don't panic when coverage.reporter is a string - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6267 (7b37d)
- Align RawMatcherFn type definition with Jest - by @wheresrhys in https://github.com/vitest-dev/vitest/issues/6351 (d09f0)
- Cjs build of vite node server - by @AkaraChen in https://github.com/vitest-dev/vitest/issues/6389 (12e70)
- Allow inlining vite's cached dependencies - by @chriswheeldon-peakon in https://github.com/vitest-dev/vitest/issues/6284 (03208)
- Print unexpected error message if peer dependencies have a different version - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6446 (b992b)
- Ignore importer when resolving Vitest - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6469 (0b447)
expect.getState().testPathalways returns correct path - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6472 (ac698)- UserEvent works consistently between providers - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6480 (0b4da)
- browser:
- Print correct stack trace for unhandled errors - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6134 (1da6c)
- Use documentElement as the root for selector - by @sheremet-va (d8077)
- Keep querying elements even if locator is created with elementLocator, add pubic @vitest/browser/utils - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6296 (30dc5)
- Produce valid config file if preview provider is used - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6305 (7f0ae)
- Correctly run in-source tests in the browser - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6440 (c8531)
- Exclude missed packages from optimization, print help message - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6445 (8d883)
- Define mocker as a dependency - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6476 (9560a)
- coverage:
- Warn if
vitestand@vitest/*versions don't match - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/6317 (e662c) - V8 to support source maps with multiple sources - by @AriPerkkio and @sheremet-va in https://github.com/vitest-dev/vitest/issues/6120 (1f6cb)
- V8 to warn instead of crash when conversion fails - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/6318 (91dea)
- Use project specific
vitenodefor uncovered files - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/6044 (da52d)
- Warn if
- runner:
- Use
performance.nowinstead ofDate.nowfor duration - by @LuciNyan in https://github.com/vitest-dev/vitest/issues/6382 (fe489) - Async assertion auto await should timeout - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6391 (ad6e7)
- Use
- snapshot:
- Reject multiple
toMatchInlineSnapshotupdates at the same location - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6332 (1606f) - Improve inline snapshot inside loop rejection - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6339 (e0368)
- Reject multiple
- typecheck:
- Run both runtime and typecheck tests if
typecheck.includeoverlaps withinclude- by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6256 (153ff)
- Run both runtime and typecheck tests if
- types:
- Allow Callbacks Passed to before*/after* to Return Anything - by @LuciNyan in https://github.com/vitest-dev/vitest/issues/6393 (f6217)
- ui:
- Remove "filters" flickering - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6463 (0223b)
- Render project name consistently - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6329 (94a18)
- vite-node:
- Disable watcher if hmr is disabled - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6251 (c51c6)
- Fix watch on vite 6 - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6422 (c3ac4)
- vitest:
- Update json reporter output - by @Emiyaaaaa in https://github.com/vitest-dev/vitest/issues/6064 (c9979)
- Add more type guards for --merge-reports - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6307 (0a5d8)
- Always resolve vitest to the root version - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6369 (163d7)
- Dispose vmForks listeners to avoid memory leak - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6448 (2673c)
- workspace:
- Correctly resolve workspace globs and file paths - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6316 (afdcb)
View changes on GitHub
gajus/eslint-plugin-jsdoc (eslint-plugin-jsdoc)
v50.2.4
Bug Fixes
require-returns-check: allow infinite for loops to have only one branch to return; fixes #1315 (e7ab475)
v50.2.3
Bug Fixes
require-jsdoc: avoid erring on static blocks (8222262)
jsx-eslint/eslint-plugin-react (eslint-plugin-react)
v7.36.1
Fixed
- [
no-is-mounted]: fix logic in method name check (#3821 @Mathias-S) - [
jsx-no-literals]: Avoid crashing on valueless boolean props (#3823 @reosarevok)
v7.36.0
Added
- [
no-string-refs]: allow this.refs in > 18.3.0 (#3807 @henryqdineen) - [
jsx-no-literals] AddelementOverridesoption and the ability to ignore this rule on specific elements (#3812 @Pearce-Ropion) - [
forward-ref-uses-ref]: add rule for checking ref parameter is added ([#3667][] @NotWoods)
Fixed
- [
function-component-definition], [boolean-prop-naming], [jsx-first-prop-new-line], [jsx-props-no-multi-spaces],propTypes: use type args (#3629 @HenryBrown0) - JSX pragma: fail gracefully (#3632 @ljharb)
- [
jsx-props-no-spreading]: addexplicitSpreadoption to schema (#3799 @ljharb)
Changed
- [Tests] add @typescript-eslint/parser v6 (#3629 @HenryBrown0)
- [Tests] add @typescript-eslint/parser v7 and v8 (#3629 @hampustagerud)
- [Docs] [
no-danger]: update broken link (#3817 @lucasrmendonca) - [types] add jsdoc type annotations (#3731 @y-hsgw)
- [Tests]
button-has-type: add test case with spread (#3731 @y-hsgw)
v7.35.2
Fixed
- [
jsx-curly-brace-presence]: avoid autofixing attributes with double quotes to a double quoted attribute ([#3814][] @ljharb)
undefined [#1000]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1000%0A[#1002]: https://github.com/jsx-eslint/eslint-plugin-react/issues/1002%0A[#1005]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1005%0A[#100]: https://github.com/jsx-eslint/eslint-plugin-react/issues/100%0A[#1010]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1010%0A[#1013]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1013%0A[#1022]: https://github.com/jsx-eslint/eslint-plugin-react/issues/1022%0A[#1029]: https://github.com/jsx-eslint/eslint-plugin-react/issues/1029%0A[#102]: https://github.com/jsx-eslint/eslint-plugin-react/issues/102%0A[#1034]: https://github.com/jsx-eslint/eslint-plugin-react/issues/1034%0A[#1038]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1038%0A[#1041]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1041%0A[#1043]: https://github.com/jsx-eslint/eslint-plugin-react/issues/1043%0A[#1046]: https://github.com/jsx-eslint/eslint-plugin-react/issues/1046%0A[#1047]: https://github.com/jsx-eslint/eslint-plugin-react/issues/1047%0A[#1050]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1050%0A[#1053]: https://github.com/jsx-eslint/eslint-plugin-react/issues/1053%0A[#1057]: https://github.com/jsx-eslint/eslint-plugin-react/issues/1057%0A[#105]: https://github.com/jsx-eslint/eslint-plugin-react/issues/105%0A[#1061]: https://github.com/jsx-eslint/eslint-plugin-react/issues/1061%0A[#1062]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1062%0A[#1070]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1070%0A[#1071]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1071%0A[#1073]: https://github.com/jsx-eslint/eslint-plugin-react/issues/1073%0A[#1076]: https://github.com/jsx-eslint/eslint-plugin-react/issues/1076%0A[#1079]: https://github.com/jsx-eslint/eslint-plugin-react/issues/1079%0A[#1088]: https://github.com/jsx-eslint/eslint-plugin-react/issues/1088%0A[#1098]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1098%0A[#1101]: https://github.com/jsx-eslint/eslint-plugin-react/issues/1101%0A[#1103]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1103%0A[#110]: https://github.com/jsx-eslint/eslint-plugin-react/issues/110%0A[#1116]: https://github.com/jsx-eslint/eslint-plugin-react/issues/1116%0A[#1117]: https://github.com/jsx-eslint/eslint-plugin-react/issues/1117%0A[#1119]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1119%0A[#1121]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1121%0A[#1122]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1122%0A[#1123]: https://github.com/jsx-eslint/eslint-plugin-react/issues/1123%0A[#1130]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1130%0A[#1131]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1131%0A[#1132]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1132%0A[#1134]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1134%0A[#1135]: https://github.com/jsx-eslint/eslint-plugin-react/issues/1135%0A[#1139]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1139%0A[#1148]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1148%0A[#1149]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1149%0A[#114]: https://github.com/jsx-eslint/eslint-plugin-react/pull/114%0A[#1151]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1151%0A[#1155]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1155%0A[#1161]: https://github.com/jsx-eslint/eslint-plugin-react/issues/1161%0A[#1167]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1167%0A[#1173]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1173%0A[#1174]: https://github.com/jsx-eslint/eslint-plugin-react/issues/1174%0A[#1175]: https://github.com/jsx-eslint/eslint-plugin-react/issues/1175%0A[#1178]: https://github.com/jsx-eslint/eslint-plugin-react/issues/1178%0A[#1179]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1179%0A[#117]: https://github.com/jsx-eslint/eslint-plugin-react/pull/117%0A[#1180]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1180%0A[#1183]: https://github.com/jsx-eslint/eslint-plugin-react/issues/1183%0A[#1189]: https://github.com/jsx-eslint/eslint-plugin-react/issues/1189%0A[#118]: https://github.com/jsx-eslint/eslint-plugin-react/issues/118%0A[#1192]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1192%0A[#1195]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1195%0A[#1199]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1199%0A[#119]: https://github.com/jsx-eslint/eslint-plugin-react/pull/119%0A[#11]: https://github.com/jsx-eslint/eslint-plugin-react/issues/11%0A[#1201]: https://github.com/jsx-eslint/eslint-plugin-react/issues/1201%0A[#1202]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1202%0A[#1206]: https://github.com/jsx-eslint/eslint-plugin-react/issues/1206%0A[#1213]: https://github.com/jsx-eslint/eslint-plugin-react/issues/1213%0A[#1216]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1216%0A[#1222]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1222%0A[#1226]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1226%0A[#1227]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1227%0A[#122]: https://github.com/jsx-eslint/eslint-plugin-react/issues/122%0A[#1231]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1231%0A[#1236]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1236%0A[#1239]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1239%0A[#123]: https://github.com/jsx-eslint/eslint-plugin-react/pull/123%0A[#1241]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1241%0A[#1242]: https://github.com/jsx-eslint/eslint-plugin-react/issues/1242%0A[#1246]: https://github.com/jsx-eslint/eslint-plugin-react/issues/1246%0A[#1249]: https://github.com/jsx-eslint/eslint-plugin-react/issues/1249%0A[#1253]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1253%0A[#1257]: https://github.com/jsx-eslint/eslint-plugin-react/issues/1257%0A[#125]: https://github.com/jsx-eslint/eslint-plugin-react/issues/125%0A[#1260]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1260%0A[#1261]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1261%0A[#1262]: https://github.com/jsx-eslint/eslint-plugin-react/issues/1262%0A[#1264]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1264%0A[#1266]: https://github.com/jsx-eslint/eslint-plugin-react/issues/1266%0A[#1269]: https://github.com/jsx-eslint/eslint-plugin-react/issues/1269%0A[#1273]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1273%0A[#1274]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1274%0A[#1277]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1277%0A[#127]: https://github.com/jsx-eslint/eslint-plugin-react/pull/127%0A[#1281]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1281%0A[#1287]: https://github.com/jsx-eslint/eslint-plugin-react/issues/1287%0A[#1288]: https://github.com/jsx-eslint/eslint-plugin-react/issues/1288%0A[#1289]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1289%0A[#128]: https://github.com/jsx-eslint/eslint-plugin-react/issues/128%0A[#1290]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1290%0A[#1294]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1294%0A[#1296]: https://github.com/jsx-eslint/eslint-plugin-react/issues/1296%0A[#129]: https://github.com/jsx-eslint/eslint-plugin-react/issues/129%0A[#12]: https://github.com/jsx-eslint/eslint-plugin-react/issues/12%0A[#1301]: https://github.com/jsx-eslint/eslint-plugin-react/issues/1301%0A[#1303]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1303%0A[[#1306](https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1306
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.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.
Size Change: 0 B
Total Size: 19.6 kB
ℹ️ View Unchanged
| Filename | Size |
|---|---|
lib/app-check/index.js |
59 B |
lib/app-check/useAppCheckToken.js |
383 B |
lib/auth/index.js |
75 B |
lib/auth/useAuthIdToken.js |
519 B |
lib/auth/useAuthIdTokenResult.js |
532 B |
lib/auth/useAuthState.js |
396 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 |
371 B |
lib/database/useObjectOnce.js |
430 B |
lib/database/useObjectValue.js |
687 B |
lib/database/useObjectValueOnce.js |
657 B |
lib/firestore/index.js |
128 B |
lib/firestore/internal.js |
444 B |
lib/firestore/types.js |
31 B |
lib/firestore/useAggregateFromServer.js |
589 B |
lib/firestore/useDocument.js |
650 B |
lib/firestore/useDocumentData.js |
772 B |
lib/firestore/useDocumentDataOnce.js |
615 B |
lib/firestore/useDocumentOnce.js |
560 B |
lib/firestore/useQueries.js |
650 B |
lib/firestore/useQueriesData.js |
729 B |
lib/firestore/useQueriesDataOnce.js |
671 B |
lib/firestore/useQuery.js |
622 B |
lib/firestore/useQueryData.js |
770 B |
lib/firestore/useQueryDataOnce.js |
623 B |
lib/firestore/useQueryOnce.js |
544 B |
lib/index.js |
107 B |
lib/internal/useGet.js |
523 B |
lib/internal/useIsMounted.js |
185 B |
lib/internal/useListen.js |
450 B |
lib/internal/useLoadingValue.js |
351 B |
lib/internal/useMultiGet.js |
676 B |
lib/internal/useMultiListen.js |
634 B |
lib/internal/useMultiLoadingValue.js |
522 B |
lib/internal/usePrevious.js |
146 B |
lib/internal/useStableValue.js |
257 B |
lib/messaging/index.js |
60 B |
lib/messaging/useMessagingToken.js |
394 B |
lib/storage/index.js |
90 B |
lib/storage/internal.js |
142 B |
lib/storage/useBlob.js |
507 B |
lib/storage/useBytes.js |
472 B |
lib/storage/useDownloadURL.js |
368 B |
lib/storage/useMetadata.js |
360 B |
lib/storage/useStream.js |
512 B |