Skip to content

Update dependencies and peer dependencies so that React 19 can be installed #1315

Update dependencies and peer dependencies so that React 19 can be installed

Update dependencies and peer dependencies so that React 19 can be installed #1315

Triggered via pull request January 16, 2025 07:21
Status Failure
Total duration 2m 19s
Artifacts

ci.yml

on: pull_request
Matrix: ci / static-checks
Matrix: ci / unit-tests
Fit to window
Zoom out
Zoom in

Annotations

21 errors
test/redirect-rules/ShortUrlRedirectRules.test.tsx > <ShortUrlRedirectRules /> > resets rules state when unmounted: node_modules/@shlinkio/shlink-frontend-kit/dist/index.js#L139
Error: useLocation() may be used only in the context of a <Router> component. ❯ invariant node_modules/react-router/dist/development/chunk-K6AXKMTT.mjs:182:11 ❯ useLocation node_modules/react-router/dist/development/chunk-K6AXKMTT.mjs:4082:3 ❯ Module.we node_modules/@shlinkio/shlink-frontend-kit/dist/index.js:139:25 ❯ Module.useShortUrlIdentifier src/short-urls/helpers/hooks.ts:84:22 ❯ ShortUrlRedirectRules src/redirect-rules/ShortUrlRedirectRules.tsx:42:22 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:15486:18 ❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20103:13 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21626:16 ❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27465:14 ❯ performUnitOfWork node_modules/react-dom/cjs/react-dom.development.js:26599:12
test/short-urls/EditShortUrl.test.tsx > <EditShortUrl /> > passes a11y checks: node_modules/@shlinkio/shlink-frontend-kit/dist/index.js#L139
Error: useLocation() may be used only in the context of a <Router> component. ❯ invariant node_modules/react-router/dist/development/chunk-K6AXKMTT.mjs:182:11 ❯ useLocation node_modules/react-router/dist/development/chunk-K6AXKMTT.mjs:4082:3 ❯ Module.we node_modules/@shlinkio/shlink-frontend-kit/dist/index.js:139:25 ❯ Module.useShortUrlIdentifier src/short-urls/helpers/hooks.ts:84:22 ❯ EditShortUrl src/short-urls/EditShortUrl.tsx:34:22 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:15486:18 ❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20103:13 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21626:16 ❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27465:14 ❯ performUnitOfWork node_modules/react-dom/cjs/react-dom.development.js:26599:12
test/short-urls/EditShortUrl.test.tsx > <EditShortUrl /> > passes a11y checks: node_modules/@shlinkio/shlink-frontend-kit/dist/index.js#L139
Error: useLocation() may be used only in the context of a <Router> component. ❯ invariant node_modules/react-router/dist/development/chunk-K6AXKMTT.mjs:182:11 ❯ useLocation node_modules/react-router/dist/development/chunk-K6AXKMTT.mjs:4082:3 ❯ Module.we node_modules/@shlinkio/shlink-frontend-kit/dist/index.js:139:25 ❯ Module.useShortUrlIdentifier src/short-urls/helpers/hooks.ts:84:22 ❯ EditShortUrl src/short-urls/EditShortUrl.tsx:34:22 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:15486:18 ❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20103:13 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21626:16 ❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27465:14 ❯ performUnitOfWork node_modules/react-dom/cjs/react-dom.development.js:26599:12
test/short-urls/EditShortUrl.test.tsx > <EditShortUrl /> > passes a11y checks: node_modules/@shlinkio/shlink-frontend-kit/dist/index.js#L139
Error: useLocation() may be used only in the context of a <Router> component. ❯ invariant node_modules/react-router/dist/development/chunk-K6AXKMTT.mjs:182:11 ❯ useLocation node_modules/react-router/dist/development/chunk-K6AXKMTT.mjs:4082:3 ❯ Module.we node_modules/@shlinkio/shlink-frontend-kit/dist/index.js:139:25 ❯ Module.useShortUrlIdentifier src/short-urls/helpers/hooks.ts:84:22 ❯ EditShortUrl src/short-urls/EditShortUrl.tsx:34:22 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:15486:18 ❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20103:13 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21626:16 ❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27465:14 ❯ performUnitOfWork node_modules/react-dom/cjs/react-dom.development.js:26599:12
test/short-urls/EditShortUrl.test.tsx > <EditShortUrl /> > passes a11y checks: node_modules/@shlinkio/shlink-frontend-kit/dist/index.js#L139
Error: useLocation() may be used only in the context of a <Router> component. ❯ invariant node_modules/react-router/dist/development/chunk-K6AXKMTT.mjs:182:11 ❯ useLocation node_modules/react-router/dist/development/chunk-K6AXKMTT.mjs:4082:3 ❯ Module.we node_modules/@shlinkio/shlink-frontend-kit/dist/index.js:139:25 ❯ Module.useShortUrlIdentifier src/short-urls/helpers/hooks.ts:84:22 ❯ EditShortUrl src/short-urls/EditShortUrl.tsx:34:22 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:15486:18 ❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20103:13 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21626:16 ❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27465:14 ❯ performUnitOfWork node_modules/react-dom/cjs/react-dom.development.js:26599:12
test/short-urls/EditShortUrl.test.tsx > <EditShortUrl /> > passes a11y checks: node_modules/@shlinkio/shlink-frontend-kit/dist/index.js#L139
Error: useLocation() may be used only in the context of a <Router> component. ❯ invariant node_modules/react-router/dist/development/chunk-K6AXKMTT.mjs:182:11 ❯ useLocation node_modules/react-router/dist/development/chunk-K6AXKMTT.mjs:4082:3 ❯ Module.we node_modules/@shlinkio/shlink-frontend-kit/dist/index.js:139:25 ❯ Module.useShortUrlIdentifier src/short-urls/helpers/hooks.ts:84:22 ❯ EditShortUrl src/short-urls/EditShortUrl.tsx:34:22 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:15486:18 ❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20103:13 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21626:16 ❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27465:14 ❯ performUnitOfWork node_modules/react-dom/cjs/react-dom.development.js:26599:12
test/short-urls/EditShortUrl.test.tsx > <EditShortUrl /> > renders loading message while loading detail: node_modules/@shlinkio/shlink-frontend-kit/dist/index.js#L139
Error: useLocation() may be used only in the context of a <Router> component. ❯ invariant node_modules/react-router/dist/development/chunk-K6AXKMTT.mjs:182:11 ❯ useLocation node_modules/react-router/dist/development/chunk-K6AXKMTT.mjs:4082:3 ❯ Module.we node_modules/@shlinkio/shlink-frontend-kit/dist/index.js:139:25 ❯ Module.useShortUrlIdentifier src/short-urls/helpers/hooks.ts:84:22 ❯ EditShortUrl src/short-urls/EditShortUrl.tsx:34:22 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:15486:18 ❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20103:13 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21626:16 ❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27465:14 ❯ performUnitOfWork node_modules/react-dom/cjs/react-dom.development.js:26599:12
test/short-urls/EditShortUrl.test.tsx > <EditShortUrl /> > renders error when loading detail fails: node_modules/@shlinkio/shlink-frontend-kit/dist/index.js#L139
Error: useLocation() may be used only in the context of a <Router> component. ❯ invariant node_modules/react-router/dist/development/chunk-K6AXKMTT.mjs:182:11 ❯ useLocation node_modules/react-router/dist/development/chunk-K6AXKMTT.mjs:4082:3 ❯ Module.we node_modules/@shlinkio/shlink-frontend-kit/dist/index.js:139:25 ❯ Module.useShortUrlIdentifier src/short-urls/helpers/hooks.ts:84:22 ❯ EditShortUrl src/short-urls/EditShortUrl.tsx:34:22 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:15486:18 ❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20103:13 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21626:16 ❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27465:14 ❯ performUnitOfWork node_modules/react-dom/cjs/react-dom.development.js:26599:12
test/short-urls/EditShortUrl.test.tsx > <EditShortUrl /> > renders form when detail properly loads: node_modules/@shlinkio/shlink-frontend-kit/dist/index.js#L139
Error: useLocation() may be used only in the context of a <Router> component. ❯ invariant node_modules/react-router/dist/development/chunk-K6AXKMTT.mjs:182:11 ❯ useLocation node_modules/react-router/dist/development/chunk-K6AXKMTT.mjs:4082:3 ❯ Module.we node_modules/@shlinkio/shlink-frontend-kit/dist/index.js:139:25 ❯ Module.useShortUrlIdentifier src/short-urls/helpers/hooks.ts:84:22 ❯ EditShortUrl src/short-urls/EditShortUrl.tsx:34:22 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:15486:18 ❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20103:13 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21626:16 ❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27465:14 ❯ performUnitOfWork node_modules/react-dom/cjs/react-dom.development.js:26599:12
test/short-urls/EditShortUrl.test.tsx > <EditShortUrl /> > shows error when saving data has failed: node_modules/@shlinkio/shlink-frontend-kit/dist/index.js#L139
Error: useLocation() may be used only in the context of a <Router> component. ❯ invariant node_modules/react-router/dist/development/chunk-K6AXKMTT.mjs:182:11 ❯ useLocation node_modules/react-router/dist/development/chunk-K6AXKMTT.mjs:4082:3 ❯ Module.we node_modules/@shlinkio/shlink-frontend-kit/dist/index.js:139:25 ❯ Module.useShortUrlIdentifier src/short-urls/helpers/hooks.ts:84:22 ❯ EditShortUrl src/short-urls/EditShortUrl.tsx:34:22 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:15486:18 ❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20103:13 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21626:16 ❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27465:14 ❯ performUnitOfWork node_modules/react-dom/cjs/react-dom.development.js:26599:12
ci / unit-tests (23.x)
The job was canceled because "_22_x" failed.
test/redirect-rules/ShortUrlRedirectRules.test.tsx > <ShortUrlRedirectRules /> > resets rules state when unmounted: node_modules/@shlinkio/shlink-frontend-kit/dist/index.js#L139
Error: useLocation() may be used only in the context of a <Router> component. ❯ invariant node_modules/react-router/dist/development/chunk-K6AXKMTT.mjs:182:11 ❯ useLocation node_modules/react-router/dist/development/chunk-K6AXKMTT.mjs:4082:3 ❯ Module.we node_modules/@shlinkio/shlink-frontend-kit/dist/index.js:139:25 ❯ Module.useShortUrlIdentifier src/short-urls/helpers/hooks.ts:84:22 ❯ ShortUrlRedirectRules src/redirect-rules/ShortUrlRedirectRules.tsx:42:22 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:15486:18 ❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20103:13 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21626:16 ❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27465:14 ❯ performUnitOfWork node_modules/react-dom/cjs/react-dom.development.js:26599:12
test/short-urls/EditShortUrl.test.tsx > <EditShortUrl /> > passes a11y checks: node_modules/@shlinkio/shlink-frontend-kit/dist/index.js#L139
Error: useLocation() may be used only in the context of a <Router> component. ❯ invariant node_modules/react-router/dist/development/chunk-K6AXKMTT.mjs:182:11 ❯ useLocation node_modules/react-router/dist/development/chunk-K6AXKMTT.mjs:4082:3 ❯ Module.we node_modules/@shlinkio/shlink-frontend-kit/dist/index.js:139:25 ❯ Module.useShortUrlIdentifier src/short-urls/helpers/hooks.ts:84:22 ❯ EditShortUrl src/short-urls/EditShortUrl.tsx:34:22 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:15486:18 ❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20103:13 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21626:16 ❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27465:14 ❯ performUnitOfWork node_modules/react-dom/cjs/react-dom.development.js:26599:12
test/short-urls/EditShortUrl.test.tsx > <EditShortUrl /> > passes a11y checks: node_modules/@shlinkio/shlink-frontend-kit/dist/index.js#L139
Error: useLocation() may be used only in the context of a <Router> component. ❯ invariant node_modules/react-router/dist/development/chunk-K6AXKMTT.mjs:182:11 ❯ useLocation node_modules/react-router/dist/development/chunk-K6AXKMTT.mjs:4082:3 ❯ Module.we node_modules/@shlinkio/shlink-frontend-kit/dist/index.js:139:25 ❯ Module.useShortUrlIdentifier src/short-urls/helpers/hooks.ts:84:22 ❯ EditShortUrl src/short-urls/EditShortUrl.tsx:34:22 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:15486:18 ❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20103:13 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21626:16 ❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27465:14 ❯ performUnitOfWork node_modules/react-dom/cjs/react-dom.development.js:26599:12
test/short-urls/EditShortUrl.test.tsx > <EditShortUrl /> > passes a11y checks: node_modules/@shlinkio/shlink-frontend-kit/dist/index.js#L139
Error: useLocation() may be used only in the context of a <Router> component. ❯ invariant node_modules/react-router/dist/development/chunk-K6AXKMTT.mjs:182:11 ❯ useLocation node_modules/react-router/dist/development/chunk-K6AXKMTT.mjs:4082:3 ❯ Module.we node_modules/@shlinkio/shlink-frontend-kit/dist/index.js:139:25 ❯ Module.useShortUrlIdentifier src/short-urls/helpers/hooks.ts:84:22 ❯ EditShortUrl src/short-urls/EditShortUrl.tsx:34:22 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:15486:18 ❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20103:13 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21626:16 ❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27465:14 ❯ performUnitOfWork node_modules/react-dom/cjs/react-dom.development.js:26599:12
test/short-urls/EditShortUrl.test.tsx > <EditShortUrl /> > passes a11y checks: node_modules/@shlinkio/shlink-frontend-kit/dist/index.js#L139
Error: useLocation() may be used only in the context of a <Router> component. ❯ invariant node_modules/react-router/dist/development/chunk-K6AXKMTT.mjs:182:11 ❯ useLocation node_modules/react-router/dist/development/chunk-K6AXKMTT.mjs:4082:3 ❯ Module.we node_modules/@shlinkio/shlink-frontend-kit/dist/index.js:139:25 ❯ Module.useShortUrlIdentifier src/short-urls/helpers/hooks.ts:84:22 ❯ EditShortUrl src/short-urls/EditShortUrl.tsx:34:22 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:15486:18 ❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20103:13 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21626:16 ❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27465:14 ❯ performUnitOfWork node_modules/react-dom/cjs/react-dom.development.js:26599:12
test/short-urls/EditShortUrl.test.tsx > <EditShortUrl /> > passes a11y checks: node_modules/@shlinkio/shlink-frontend-kit/dist/index.js#L139
Error: useLocation() may be used only in the context of a <Router> component. ❯ invariant node_modules/react-router/dist/development/chunk-K6AXKMTT.mjs:182:11 ❯ useLocation node_modules/react-router/dist/development/chunk-K6AXKMTT.mjs:4082:3 ❯ Module.we node_modules/@shlinkio/shlink-frontend-kit/dist/index.js:139:25 ❯ Module.useShortUrlIdentifier src/short-urls/helpers/hooks.ts:84:22 ❯ EditShortUrl src/short-urls/EditShortUrl.tsx:34:22 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:15486:18 ❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20103:13 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21626:16 ❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27465:14 ❯ performUnitOfWork node_modules/react-dom/cjs/react-dom.development.js:26599:12
test/short-urls/EditShortUrl.test.tsx > <EditShortUrl /> > renders loading message while loading detail: node_modules/@shlinkio/shlink-frontend-kit/dist/index.js#L139
Error: useLocation() may be used only in the context of a <Router> component. ❯ invariant node_modules/react-router/dist/development/chunk-K6AXKMTT.mjs:182:11 ❯ useLocation node_modules/react-router/dist/development/chunk-K6AXKMTT.mjs:4082:3 ❯ Module.we node_modules/@shlinkio/shlink-frontend-kit/dist/index.js:139:25 ❯ Module.useShortUrlIdentifier src/short-urls/helpers/hooks.ts:84:22 ❯ EditShortUrl src/short-urls/EditShortUrl.tsx:34:22 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:15486:18 ❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20103:13 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21626:16 ❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27465:14 ❯ performUnitOfWork node_modules/react-dom/cjs/react-dom.development.js:26599:12
test/short-urls/EditShortUrl.test.tsx > <EditShortUrl /> > renders error when loading detail fails: node_modules/@shlinkio/shlink-frontend-kit/dist/index.js#L139
Error: useLocation() may be used only in the context of a <Router> component. ❯ invariant node_modules/react-router/dist/development/chunk-K6AXKMTT.mjs:182:11 ❯ useLocation node_modules/react-router/dist/development/chunk-K6AXKMTT.mjs:4082:3 ❯ Module.we node_modules/@shlinkio/shlink-frontend-kit/dist/index.js:139:25 ❯ Module.useShortUrlIdentifier src/short-urls/helpers/hooks.ts:84:22 ❯ EditShortUrl src/short-urls/EditShortUrl.tsx:34:22 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:15486:18 ❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20103:13 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21626:16 ❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27465:14 ❯ performUnitOfWork node_modules/react-dom/cjs/react-dom.development.js:26599:12
test/short-urls/EditShortUrl.test.tsx > <EditShortUrl /> > renders form when detail properly loads: node_modules/@shlinkio/shlink-frontend-kit/dist/index.js#L139
Error: useLocation() may be used only in the context of a <Router> component. ❯ invariant node_modules/react-router/dist/development/chunk-K6AXKMTT.mjs:182:11 ❯ useLocation node_modules/react-router/dist/development/chunk-K6AXKMTT.mjs:4082:3 ❯ Module.we node_modules/@shlinkio/shlink-frontend-kit/dist/index.js:139:25 ❯ Module.useShortUrlIdentifier src/short-urls/helpers/hooks.ts:84:22 ❯ EditShortUrl src/short-urls/EditShortUrl.tsx:34:22 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:15486:18 ❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20103:13 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21626:16 ❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27465:14 ❯ performUnitOfWork node_modules/react-dom/cjs/react-dom.development.js:26599:12
test/short-urls/EditShortUrl.test.tsx > <EditShortUrl /> > shows error when saving data has failed: node_modules/@shlinkio/shlink-frontend-kit/dist/index.js#L139
Error: useLocation() may be used only in the context of a <Router> component. ❯ invariant node_modules/react-router/dist/development/chunk-K6AXKMTT.mjs:182:11 ❯ useLocation node_modules/react-router/dist/development/chunk-K6AXKMTT.mjs:4082:3 ❯ Module.we node_modules/@shlinkio/shlink-frontend-kit/dist/index.js:139:25 ❯ Module.useShortUrlIdentifier src/short-urls/helpers/hooks.ts:84:22 ❯ EditShortUrl src/short-urls/EditShortUrl.tsx:34:22 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:15486:18 ❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20103:13 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21626:16 ❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27465:14 ❯ performUnitOfWork node_modules/react-dom/cjs/react-dom.development.js:26599:12