build(deps-dev): bump lint-staged from 15.5.2 to 17.0.8 #51
ci.yml
on: pull_request
audit
42s
lint
1m 0s
build
1m 47s
test
2m 44s
codeql
4m 19s
secrets-scan
15s
Annotations
12 errors and 18 warnings
|
build
Process completed with exit code 1.
|
|
__tests__/app/contact/page.test.tsx > ContactPage > renders the page heading:
app/contact/page.tsx#L15
ReferenceError: notFound is not defined
❯ ContactPage app/contact/page.tsx:15:5
❯ Object.react_stack_bottom_frame node_modules/react-dom/cjs/react-dom-client.development.js:25904:20
❯ renderWithHooks node_modules/react-dom/cjs/react-dom-client.development.js:7662:22
❯ updateFunctionComponent node_modules/react-dom/cjs/react-dom-client.development.js:10166:19
❯ beginWork node_modules/react-dom/cjs/react-dom-client.development.js:11778:18
❯ runWithFiberInDEV node_modules/react-dom/cjs/react-dom-client.development.js:874:13
❯ performUnitOfWork node_modules/react-dom/cjs/react-dom-client.development.js:17641:22
❯ workLoopSync node_modules/react-dom/cjs/react-dom-client.development.js:17469:41
❯ renderRootSync node_modules/react-dom/cjs/react-dom-client.development.js:17450:11
❯ performWorkOnRoot node_modules/react-dom/cjs/react-dom-client.development.js:16583:35
|
|
__tests__/app/about/page.test.tsx > AboutPage > renders CTA section:
app/about/page.tsx#L16
Error: NEXT_HTTP_ERROR_FALLBACK;404
❯ notFound node_modules/next/src/client/components/not-found.ts:24:16
❯ AboutPage app/about/page.tsx:16:12
❯ Object.react_stack_bottom_frame node_modules/react-dom/cjs/react-dom-client.development.js:25904:20
❯ renderWithHooks node_modules/react-dom/cjs/react-dom-client.development.js:7662:22
❯ updateFunctionComponent node_modules/react-dom/cjs/react-dom-client.development.js:10166:19
❯ beginWork node_modules/react-dom/cjs/react-dom-client.development.js:11778:18
❯ runWithFiberInDEV node_modules/react-dom/cjs/react-dom-client.development.js:874:13
❯ performUnitOfWork node_modules/react-dom/cjs/react-dom-client.development.js:17641:22
❯ workLoopSync node_modules/react-dom/cjs/react-dom-client.development.js:17469:41
❯ renderRootSync node_modules/react-dom/cjs/react-dom-client.development.js:17450:11
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { __NEXT_ERROR_CODE: 'E1041', digest: 'NEXT_HTTP_ERROR_FALLBACK;404' }
|
|
__tests__/app/about/page.test.tsx > AboutPage > renders callout section:
app/about/page.tsx#L16
Error: NEXT_HTTP_ERROR_FALLBACK;404
❯ notFound node_modules/next/src/client/components/not-found.ts:24:16
❯ AboutPage app/about/page.tsx:16:12
❯ Object.react_stack_bottom_frame node_modules/react-dom/cjs/react-dom-client.development.js:25904:20
❯ renderWithHooks node_modules/react-dom/cjs/react-dom-client.development.js:7662:22
❯ updateFunctionComponent node_modules/react-dom/cjs/react-dom-client.development.js:10166:19
❯ beginWork node_modules/react-dom/cjs/react-dom-client.development.js:11778:18
❯ runWithFiberInDEV node_modules/react-dom/cjs/react-dom-client.development.js:874:13
❯ performUnitOfWork node_modules/react-dom/cjs/react-dom-client.development.js:17641:22
❯ workLoopSync node_modules/react-dom/cjs/react-dom-client.development.js:17469:41
❯ renderRootSync node_modules/react-dom/cjs/react-dom-client.development.js:17450:11
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { __NEXT_ERROR_CODE: 'E1041', digest: 'NEXT_HTTP_ERROR_FALLBACK;404' }
|
|
__tests__/app/about/page.test.tsx > AboutPage > renders testimonials section:
app/about/page.tsx#L16
Error: NEXT_HTTP_ERROR_FALLBACK;404
❯ notFound node_modules/next/src/client/components/not-found.ts:24:16
❯ AboutPage app/about/page.tsx:16:12
❯ Object.react_stack_bottom_frame node_modules/react-dom/cjs/react-dom-client.development.js:25904:20
❯ renderWithHooks node_modules/react-dom/cjs/react-dom-client.development.js:7662:22
❯ updateFunctionComponent node_modules/react-dom/cjs/react-dom-client.development.js:10166:19
❯ beginWork node_modules/react-dom/cjs/react-dom-client.development.js:11778:18
❯ runWithFiberInDEV node_modules/react-dom/cjs/react-dom-client.development.js:874:13
❯ performUnitOfWork node_modules/react-dom/cjs/react-dom-client.development.js:17641:22
❯ workLoopSync node_modules/react-dom/cjs/react-dom-client.development.js:17469:41
❯ renderRootSync node_modules/react-dom/cjs/react-dom-client.development.js:17450:11
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { __NEXT_ERROR_CODE: 'E1041', digest: 'NEXT_HTTP_ERROR_FALLBACK;404' }
|
|
__tests__/app/about/page.test.tsx > AboutPage > renders the hours section:
app/about/page.tsx#L16
Error: NEXT_HTTP_ERROR_FALLBACK;404
❯ notFound node_modules/next/src/client/components/not-found.ts:24:16
❯ AboutPage app/about/page.tsx:16:12
❯ Object.react_stack_bottom_frame node_modules/react-dom/cjs/react-dom-client.development.js:25904:20
❯ renderWithHooks node_modules/react-dom/cjs/react-dom-client.development.js:7662:22
❯ updateFunctionComponent node_modules/react-dom/cjs/react-dom-client.development.js:10166:19
❯ beginWork node_modules/react-dom/cjs/react-dom-client.development.js:11778:18
❯ runWithFiberInDEV node_modules/react-dom/cjs/react-dom-client.development.js:874:13
❯ performUnitOfWork node_modules/react-dom/cjs/react-dom-client.development.js:17641:22
❯ workLoopSync node_modules/react-dom/cjs/react-dom-client.development.js:17469:41
❯ renderRootSync node_modules/react-dom/cjs/react-dom-client.development.js:17450:11
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { __NEXT_ERROR_CODE: 'E1041', digest: 'NEXT_HTTP_ERROR_FALLBACK;404' }
|
|
__tests__/app/about/page.test.tsx > AboutPage > renders the intro text:
app/about/page.tsx#L16
Error: NEXT_HTTP_ERROR_FALLBACK;404
❯ notFound node_modules/next/src/client/components/not-found.ts:24:16
❯ AboutPage app/about/page.tsx:16:12
❯ Object.react_stack_bottom_frame node_modules/react-dom/cjs/react-dom-client.development.js:25904:20
❯ renderWithHooks node_modules/react-dom/cjs/react-dom-client.development.js:7662:22
❯ updateFunctionComponent node_modules/react-dom/cjs/react-dom-client.development.js:10166:19
❯ beginWork node_modules/react-dom/cjs/react-dom-client.development.js:11778:18
❯ runWithFiberInDEV node_modules/react-dom/cjs/react-dom-client.development.js:874:13
❯ performUnitOfWork node_modules/react-dom/cjs/react-dom-client.development.js:17641:22
❯ workLoopSync node_modules/react-dom/cjs/react-dom-client.development.js:17469:41
❯ renderRootSync node_modules/react-dom/cjs/react-dom-client.development.js:17450:11
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { __NEXT_ERROR_CODE: 'E1041', digest: 'NEXT_HTTP_ERROR_FALLBACK;404' }
|
|
__tests__/app/about/page.test.tsx > AboutPage > renders the page heading:
app/about/page.tsx#L16
Error: NEXT_HTTP_ERROR_FALLBACK;404
❯ notFound node_modules/next/src/client/components/not-found.ts:24:16
❯ AboutPage app/about/page.tsx:16:12
❯ Object.react_stack_bottom_frame node_modules/react-dom/cjs/react-dom-client.development.js:25904:20
❯ renderWithHooks node_modules/react-dom/cjs/react-dom-client.development.js:7662:22
❯ updateFunctionComponent node_modules/react-dom/cjs/react-dom-client.development.js:10166:19
❯ beginWork node_modules/react-dom/cjs/react-dom-client.development.js:11778:18
❯ runWithFiberInDEV node_modules/react-dom/cjs/react-dom-client.development.js:874:13
❯ performUnitOfWork node_modules/react-dom/cjs/react-dom-client.development.js:17641:22
❯ workLoopSync node_modules/react-dom/cjs/react-dom-client.development.js:17469:41
❯ renderRootSync node_modules/react-dom/cjs/react-dom-client.development.js:17450:11
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { __NEXT_ERROR_CODE: 'E1041', digest: 'NEXT_HTTP_ERROR_FALLBACK;404' }
|
|
__tests__/components/hours-location.test.tsx > HoursLocation > renders location section:
__tests__/components/hours-location.test.tsx#L28
TestingLibraryElementError: Unable to find an element with the text: 5/1 Winton Road. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.
Ignored nodes: comments, script, style
<body>
<div>
<section
class="bg-stone-50 py-20"
>
<div
class="mx-auto max-w-6xl px-4 sm:px-6"
>
<div
class="grid gap-12 md:grid-cols-2"
>
<div>
<div
class="flex items-center gap-3"
>
<svg
aria-hidden="true"
class="lucide lucide-clock h-6 w-6 text-amber-700"
fill="none"
height="24"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
viewBox="0 0 24 24"
width="24"
xmlns="http://www.w3.org/2000/svg"
>
<circle
cx="12"
cy="12"
r="10"
/>
<path
d="M12 6v6l4 2"
/>
</svg>
<h2
class="text-2xl font-bold text-stone-900"
>
Hours
</h2>
</div>
<dl
class="mt-6 space-y-3"
>
<div
class="flex justify-between"
>
<dt
class="text-sm font-medium text-stone-700"
>
Monday - Friday
</dt>
<dd
class="text-sm text-stone-500"
>
7:00 AM - 3:00 PM
</dd>
</div>
<div
class="flex justify-between"
>
<dt
class="text-sm font-medium text-stone-700"
>
Saturday
</dt>
<dd
class="text-sm text-stone-500"
>
8:00 AM - 4:00 PM
</dd>
</div>
<div
class="flex justify-between"
>
<dt
class="text-sm font-medium text-stone-700"
>
Sunday
</dt>
<dd
class="text-sm text-stone-500"
>
Closed
</dd>
</div>
</dl>
</div>
<div>
<div
class="flex items-center gap-3"
>
<svg
aria-hidden="true"
class="lucide lucide-map-pin h-6 w-6 text-amber-700"
fill="none"
height="24"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
viewBox="0 0 24 24"
width="24"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0"
/>
<circle
cx="12"
cy="10"
r="3"
/>
</svg>
<h2
class="text-2xl font-bold text-stone-900"
>
Location
</h2>
</div>
<div
class="mt-6 space-y-2 text-sm text-stone-600"
>
<p>
123 Coffee Lane
</p>
<p>
Melbourne VIC 3000
</p>
<p>
Australia
</p>
</div>
</div>
</div>
</div>
</section>
</div>
</body>
❯
|
|
__tests__/components/hours-location.test.tsx > HoursLocation > renders all business hours:
__tests__/components/hours-location.test.tsx#L20
TestingLibraryElementError: Unable to find an element with the text: 8:00 AM - 2:00 PM. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.
Ignored nodes: comments, script, style
<body>
<div>
<section
class="bg-stone-50 py-20"
>
<div
class="mx-auto max-w-6xl px-4 sm:px-6"
>
<div
class="grid gap-12 md:grid-cols-2"
>
<div>
<div
class="flex items-center gap-3"
>
<svg
aria-hidden="true"
class="lucide lucide-clock h-6 w-6 text-amber-700"
fill="none"
height="24"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
viewBox="0 0 24 24"
width="24"
xmlns="http://www.w3.org/2000/svg"
>
<circle
cx="12"
cy="12"
r="10"
/>
<path
d="M12 6v6l4 2"
/>
</svg>
<h2
class="text-2xl font-bold text-stone-900"
>
Hours
</h2>
</div>
<dl
class="mt-6 space-y-3"
>
<div
class="flex justify-between"
>
<dt
class="text-sm font-medium text-stone-700"
>
Monday - Friday
</dt>
<dd
class="text-sm text-stone-500"
>
7:00 AM - 3:00 PM
</dd>
</div>
<div
class="flex justify-between"
>
<dt
class="text-sm font-medium text-stone-700"
>
Saturday
</dt>
<dd
class="text-sm text-stone-500"
>
8:00 AM - 4:00 PM
</dd>
</div>
<div
class="flex justify-between"
>
<dt
class="text-sm font-medium text-stone-700"
>
Sunday
</dt>
<dd
class="text-sm text-stone-500"
>
Closed
</dd>
</div>
</dl>
</div>
<div>
<div
class="flex items-center gap-3"
>
<svg
aria-hidden="true"
class="lucide lucide-map-pin h-6 w-6 text-amber-700"
fill="none"
height="24"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
viewBox="0 0 24 24"
width="24"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0"
/>
<circle
cx="12"
cy="10"
r="3"
/>
</svg>
<h2
class="text-2xl font-bold text-stone-900"
>
Location
</h2>
</div>
<div
class="mt-6 space-y-2 text-sm text-stone-600"
>
<p>
123 Coffee Lane
</p>
<p>
Melbourne VIC 3000
</p>
<p>
Australia
</p>
</div>
</div>
</div>
</div>
</section>
</div>
</body>
��
|
|
__tests__/app/manifest.test.ts > manifest > returns PWA manifest with correct metadata:
__tests__/app/manifest.test.ts#L7
AssertionError: expected 'Cafe Template' to be 'Aydin\'s Cafe' // Object.is equality
Expected: "Aydin's Cafe"
Received: "Cafe Template"
❯ __tests__/app/manifest.test.ts:7:25
|
|
codeql
Resource not accessible by integration - https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run
|
|
lint:
components/cms/ThemeProvider.tsx#L13
'tenant' is defined but never used
|
|
lint:
components/cms/ThemeProvider.tsx#L6
'MOTION_SPEED' is assigned a value but never used
|
|
lint:
components/cms/ThemeProvider.tsx#L4
'ThemeConfig' is defined but never used
|
|
lint:
components/cms/CmsRenderer.tsx#L459
Using `<img>` could result in slower LCP and higher bandwidth. Consider using `<Image />` from `next/image` or a custom image loader to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element
|
|
lint:
components/cms/CmsRenderer.tsx#L393
Using `<img>` could result in slower LCP and higher bandwidth. Consider using `<Image />` from `next/image` or a custom image loader to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element
|
|
lint:
components/cms/CmsRenderer.tsx#L251
Using `<img>` could result in slower LCP and higher bandwidth. Consider using `<Image />` from `next/image` or a custom image loader to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element
|
|
lint:
components/cms/CmsRenderer.tsx#L7
'IconRenderer' is defined but never used
|
|
lint:
components/cart/CartItem.tsx#L25
Using `<img>` could result in slower LCP and higher bandwidth. Consider using `<Image />` from `next/image` or a custom image loader to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element
|
|
lint:
app/[tenant]/layout.tsx#L10
'tenant' is assigned a value but never used
|
|
lint:
app/[tenant]/[slug]/page.tsx#L10
'tenant' is assigned a value but never used
|
|
codeql
Failed to gather information for telemetry: Resource not accessible by integration - https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run. Will skip sending status report.
|
|
codeql
Failed to gather information for telemetry: Resource not accessible by integration - https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run. Will skip sending status report.
|
|
codeql
Failed to gather information for telemetry: Resource not accessible by integration - https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run. Will skip sending status report.
|
|
codeql
Failed to gather information for telemetry: Resource not accessible by integration - https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run. Will skip sending status report.
|
|
codeql
Starting April 2026, the CodeQL Action will skip computing file coverage information on pull requests to improve analysis performance. File coverage information will still be computed on non-PR analyses.
To opt out of this change, set the `CODEQL_ACTION_FILE_COVERAGE_ON_PRS` environment variable to `true`.
|
|
codeql
Feature flags do not specify a default CLI version. Falling back to the CLI version shipped with the Action. This is 2.25.6.
|
|
codeql
This run of the CodeQL Action does not have permission to access the CodeQL Action API endpoints. As a result, it will not be opted into any experimental features. This could be because the Action is running on a pull request from a fork. If not, please ensure the workflow has at least the 'security-events: read' permission. Details: Code scanning is not enabled for this repository. Please enable code scanning in the repository settings. - https://docs.github.com/rest
|
|
codeql
Failed to gather information for telemetry: Resource not accessible by integration - https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run. Will skip sending status report.
|