Repository navigation
chore(deps): bump shadcn from 3.8.4 to 4.13.1 in /frontend - #39
Closed
dependabot[bot] wants to merge 1 commit into
Closed
dependabot[bot] wants to merge 1 commit into
dependabot[bot] wants to merge 1 commit into
Conversation
Contributor
Author
LabelsThe following labels could not be found: Please fix the above issues or remove invalid values from |
dependabot
Bot
force-pushed
the
dependabot/npm_and_yarn/frontend/shadcn-4.13.0
branch
3 times, most recently
from
July 10, 2026 18:38
57eb6ea to
36893d4
Compare
dependabot
Bot
force-pushed
the
dependabot/npm_and_yarn/frontend/shadcn-4.13.0
branch
2 times, most recently
from
July 15, 2026 14:41
2ba19f8 to
8937b49
Compare
Bumps [shadcn](https://github.com/shadcn-ui/ui/tree/HEAD/packages/shadcn) from 3.8.4 to 4.13.1. - [Release notes](https://github.com/shadcn-ui/ui/releases) - [Changelog](https://github.com/shadcn-ui/ui/blob/main/packages/shadcn/CHANGELOG.md) - [Commits](https://github.com/shadcn-ui/ui/commits/[email protected]/packages/shadcn) --- updated-dependencies: - dependency-name: shadcn dependency-version: 4.13.0 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
dependabot
Bot
force-pushed
the
dependabot/npm_and_yarn/frontend/shadcn-4.13.0
branch
from
July 20, 2026 17:44
8937b49 to
73d11ec
Compare
Contributor
Author
|
Looks like shadcn is up-to-date now, so this is no longer needed. |
dependabot
Bot
deleted the
dependabot/npm_and_yarn/frontend/shadcn-4.13.0
branch
July 21, 2026 13:37
khaira777
added a commit
that referenced
this pull request
Oct 28, 2026
…ests/daily-sales-export.test.ts` and `tests/reports-export.test.ts` by unescaping `&` last (after `<`, `>`, `"`, and `'`) in `extractHtmlSummaryMap` and `parseHtmlSummaryMetrics`. Verified with `npx tsx tests/reports-export.test.ts`, `npx tsx tests/daily-sales-export.test.ts`, `npm run lint`, `npm run build`, and `git diff --check`
khaira777
added a commit
that referenced
this pull request
Oct 28, 2026
…ests/daily-sales-export.test.ts` and `tests/reports-export.test.ts` by unescaping `&` last (after `<`, `>`, `"`, and `'`) in `extractHtmlSummaryMap` and `parseHtmlSummaryMetrics`. Verified with `npx tsx tests/reports-export.test.ts`, `npx tsx tests/daily-sales-export.test.ts`, `npm run lint`, `npm run build`, and `git diff --check`
khaira777
added a commit
that referenced
this pull request
Oct 28, 2026
* feat(reports): PDF export for X, Z, daily sales * no-mistakes(document): Update report HTML export docs and fix lint warning * no-mistakes(ci): Fixed the 3 CodeQL `js/double-escaping` alerts in `tests/daily-sales-export.test.ts` and `tests/reports-export.test.ts` by unescaping `&` last (after `<`, `>`, `"`, and `'`) in `extractHtmlSummaryMap` and `parseHtmlSummaryMetrics`. Verified with `npx tsx tests/reports-export.test.ts`, `npx tsx tests/daily-sales-export.test.ts`, `npm run lint`, `npm run build`, and `git diff --check` * fix(reports): address PR #1393 review feedback * no-mistakes(review): Update printer IPC test for preferCSSPageSize PDF option * no-mistakes(document): Update daily sales HTML export docs and doc comment * test(reports): verify native Electron printToPDF and remove HTML row truncation * no-mistakes(document): Update daily sales PDF export docs and test comments * no-mistakes(ci): Diagnosed and fixed the `Core Test Suite (Shard 1/4)` failure (`ci-1`, `github-check-run:123131589299`) in `npm run test:reports-export` (`tests/reports-export.test.ts:1265` and `:1489`). ### Invariant & Root Cause - **Invariant**: PDF report generation (`buildCashCloseReportHtml`, `buildDailySalesReportHtml`) and its real Electron `printToPDF` verification (`extractPdfInfo` / `pdfTextIncludesToken`) must preserve the full multi-script document metadata and verify rendered report tokens across X, Z, and daily-sales exports on every supported platform (macOS, Windows, and headless Linux CI runners with or without optional CJK/Devanagari system fonts). - **Root Cause**: 1. Both PDF HTML templates (`main/services/cash-close-export.ts` and `main/services/daily-sales-export.ts`) only specified generic Latin sans-serif fallbacks (`-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif`) instead of the multi-script system font stack used in `frontend/src/app/globals.css`. 2. On `ubuntu-24.04` GitHub Actions runners (`linux-tests`), `fonts-dejavu-core` and `fonts-liberation` are pre-installed (covering Latin, accented French, Arabic, and currency `₹`), whereas optional CJK and Devanagari system font packages are not pre-installed. When HarfBuzz/FontConfig has no installed font for a character, Chromium's Skia PDF backend maps the character to glyph ID `0` (`.notdef`): the first `.notdef` character/cluster in a font subset is emitted as bare `<0000> Tj` and omitted from `/ToUnicode` (`SkPDFMakeToUnicodeCmap` starts at glyph index `1`), while all subsequent `.notdef` characters in that font subset are emitted via `/Span<</ActualText <FEFF...> >> BDC` (e.g. `'京カフェ'`, `'茶ラテ'`, `'कैफे'`, `'साला चाय'`), and the PDF document metadata dictionary (`/Title <FEFF...>`) always preserves the complete UTF-16BE string (`كافيه النور · 東京カフェ · फ्लो कैफे · Café Élégant <script>alert(1)</script>`). ### Changes 1. Updated the CSS `font-family` fallback stack in `main/services/cash-close-export.ts` and `main/services/daily-sales-export.ts` to include the cross-platform multi-script system fonts (Noto/PingFang/Hiragino/Yu Gothic/Meiryo/Microsoft YaHei/Nirmala UI/Kohinoor). 2. Updated `extractPdfInfo` and added `pdfTextIncludesToken` in `tests/reports-export.test.ts` across all three real Electron `printToPDF` verification blocks (`xPdfInfo`, `zPdfInfo`, `dsPdfInfo`) to decode and assert the full UTF-16BE `/Title` metadata on all three PDFs while matching `/ToUnicode` + `/ActualText` page stream text across both full-font environments and headless Linux runners without CJK/Devanagari system fonts. ### Verification - `npm run test:reports-export` (passed, including real Electron `printToPDF` child-process suite) - `npm run test:daily-sales-export` (248/248 passed) - `npm run lint` (passed, 0 errors) - `npm run build` (passed) - `git diff --check` (clean) * no-mistakes(ci): Diagnosed and fixed the `Core Test Suite (Shard 1/4)` failure (`ci-1`, `github-check-run:123144964054`) in `npm run test:reports-export` (`tests/reports-export.test.ts`). ### Invariant & Root Cause - **Invariant**: Headless Electron PDF and layout verification in `tests/reports-export.test.ts` must rely only on deterministic offscreen-safe DOM layout metrics (`executeJavaScript`) and `printToPDF` output, never invoking Viz compositor surface capture (`webContents.capturePage()`) on hidden (`show: false`) windows where X11/Xvfb does not allocate a composited surface. - **Root Cause**: After all X, Z, and daily-sales `printToPDF` assertions succeeded on Linux CI (`ubuntu-24.04` under `xvfb-run`), `verifyHtmlLayoutAndCapturePages` opened a hidden (`show: false`) `BrowserWindow` and called `win.webContents.capturePage()` in a loop to write unused PNG screenshots. On Linux X11/Xvfb, an unmapped (`show: false`) window does not submit frames to the Viz surface, so Electron's `WebContents::CapturePage` callback (`OnCapturePageDone`) receives an empty `SkBitmap` (`bitmap.drawsNothing() === true`) after the ~3.5s Viz copy timeout and rejects with `[Error: UnknownVizError]`. ### Changes - Renamed `verifyHtmlLayoutAndCapturePages` to `verifyHtmlLayout` in `tests/reports-export.test.ts` and removed the `webContents.capturePage()` loop and `FLO_PDF_ARTIFACTS_DIR` artifact-dumping path across all three report layout checks (`xLayout`, `zLayout`, and `dsLayout`), retaining the `executeJavaScript` DOM layout and overflow assertions (`scrollWidth <= clientWidth && overflowingCells === 0`). ### Verification - `npm run test:reports-export` (passed, including real Electron `printToPDF` child-process suite) - `npm run lint` (passed, 0 errors) - `node scripts/ci/check-changed-format.cjs --base 2fa0228` (passed) - `npm run build` (passed) - `git diff --check` (clean)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps shadcn from 3.8.4 to 4.13.1.
Release notes
Sourced from shadcn's releases.
... (truncated)
Changelog
Sourced from shadcn's changelog.
... (truncated)
Commits
c9850bfchore(release): version packages (#11192)2b89d67feat: aria (#11208)c49c306fix(shadcn): drop custom registry headers on cross-origin redirects (#11196)b8a8e92fix(shadcn): prevent flag injection via registry dependency strings (#11195)df26561fix(shadcn): validate file paths for registry items without an explicit targe...2ef6388chore(release): version packages (#11083)f3e7de1feat: base (#11082)8055a12chore(release): version packages (#11024)18fcf0ffeat:@shadcn/react(#11022)c520191chore(release): version packages (#10949)