* fix(deps): move @xmldom/xmldom off the versions upstream flagged as critical
Upstream deprecated 0.8.13 and 0.9.10 with 'this version has critical issues,
please update to the latest version'. 0.8.14 and 0.9.11 are the patched
releases of those same lines.
The direct dependency moves to ^0.8.14, which also lifts xml-crypto and
xml-encryption since both accept the whole 0.8 line. @boxyhq/saml20 pins
0.9.10 exactly, so a version scoped override takes it to 0.9.11.
epubjs asks for ^0.7.5 and the 0.7 line has no release that is not deprecated,
so 0.7.13 stays until epubjs moves; overriding it across two minors of an xml
parser is not something to do blind.
Also refreshes the stale minimumReleaseAgeExclude entry, which still named
0.8.12 and 0.8.13. The policy is not currently switched on, but 0.8.14 was
published three days ago and the list is where this repo records that.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Mf5V2jMpFFXxGVXZU5rHBq
* test(crontab-generator): pin the cron dialect detection and the execution times
getLastExecutionTimes was only asserted to return five items, and getCronType
only covered four expressions. Neither is enough to move a cron library under.
Adds a classification table spanning the standard and aws dialects, including
the six field expressions where they overlap, and freezes the clock so the
returned execution times can be pinned exactly, timezone offsets included.
No behaviour change: this is the reference the cron-parser v5 upgrade has to
reproduce.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Mf5V2jMpFFXxGVXZU5rHBq
* fix(deps): upgrade cron-parser to v5, keeping the aws dialect detected
Upstream deprecated v4 with 'v4 is no longer maintained, upgrade to v5'. The
rename is mechanical (parseExpression -> CronExpressionParser.parse) but the
upgrade is not, because v5 accepts the six field aws dialect that v4 rejected.
getCronType relied on that rejection: it tried the standard parser first and
treated a throw as the signal to fall through to event-cron-parser. Under v5
'0 11-22 ? * MON-FRI *' parses as standard, so aws expressions would have been
classified as standard, given the wrong next execution times and reported as
invalid whenever the aws dialect was requested.
Detection now keys off the '?' marker, which AWS EventBridge requires in one of
the two day fields and which standard cron gives no meaning to. Checked against
v4 over a 32 expression corpus spanning both dialects: identical classification
everywhere, including '* * * * * *', which is valid in both and stays standard.
getLastExecutionTimes keeps returning string[]: v5 types toJSON() as nullable
and the caller joins the array, so a hole would have silently rendered as a
blank line.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Mf5V2jMpFFXxGVXZU5rHBq
* fix(build): stub bare fs/promises, which cron-parser v5 reaches for
cron-parser v5 adds CronFileParser, exported from the package entry, and it
does require('fs/promises') to read crontab files. The browser build has no
business loading that, and the alias list only stubbed 'node:fs/promises'.
Vite matches aliases by prefix, so the bare 'fs' entry rewrote 'fs/promises'
into '_empty.ts/promises' and the build failed with UNLOADABLE_DEPENDENCY:
'Not a directory'. The new entry has to sit before 'fs' for that reason.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Mf5V2jMpFFXxGVXZU5rHBq
* refactor(crontab-generator): run each cron parser at most once per classification
From review feedback. getCronType could evaluate the standard branch twice for
an expression that is neither dialect, and getLastExecutionTimes asked for the
type twice, which repeated the whole classification. The '?' marker now selects
which dialect to try first and each parser runs once; the caller keeps the type
in a local.
Behaviour is unchanged, the 30 assertions of the untouched test file still pass.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Mf5V2jMpFFXxGVXZU5rHBq
---------
Co-authored-by: Claude <noreply@anthropic.com>
* refactor(websocket-tester): use the native WebSocket instead of w-websocket-client
w-websocket-client ships a single 1465 byte UMD that wraps the platform
WebSocket: it builds `${url}/?token=${token}`, wires four handlers and returns
the socket. It nevertheless declares wsemi and lodash-es as runtime
dependencies, which its published build never imports, and wsemi alone pulls in
20 packages. Installing all of that to avoid writing twenty lines is a bad
trade, so the wrapper now lives here, behind tests.
Removes 14 packages from the lockfile (w-websocket-client, wsemi, diff2html,
tippy.js, @popperjs/core, seamless-scroll-polyfill, tree-kill, eventemitter3,
xxhash-wasm and their own transitives), and drops the Node-only `ws` from the
browser app's dependency graph; `ws` now only comes in through ethers.
Two follow-on effects:
- wsemi was the only subdependency wanting xlsx, which is why the xlsx CDN
override forced pnpm's blockExoticSubdeps protection off repo-wide. Only this
package depends on xlsx now, so the protection goes back to its default. A
forced re-resolution of all 2484 packages passes with it enabled and leaves
the lockfile byte identical.
- Connecting with an invalid url used to return { error } from the wrapper
instead of a socket, so the next send() threw 'wsc.send is not a function'
and nothing was ever logged. The failure is now reported in the log.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Mf5V2jMpFFXxGVXZU5rHBq
* fix(websocket-tester): make connection errors readable and normalize the url
Both from review feedback on the pull request:
- The log showed 'Error: [object Event]' for a failed connection, because the
native onerror handler receives a bare Event whose reason the websocket spec
deliberately withholds. formatWebSocketError() turns it into 'connection
failed', keeps the message of a real Error, and stringifies anything else.
The old client had the same flaw, but this pr claims to report connection
failures in the log, so it should actually report something.
- buildWebSocketUrl() now trims a trailing slash, so 'ws://host/' produces
'ws://host/?token=...' rather than 'ws://host//?token=...'. This is a
deliberate deviation from the previous client, which concatenated blindly.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Mf5V2jMpFFXxGVXZU5rHBq
---------
Co-authored-by: Claude <noreply@anthropic.com>
* test: extract testable services and pin current crypto behaviour
Move the hashing, hmac, crc and ULA logic out of the single file components
into service modules next to them, and cover them with characterization tests
that pin the exact digests, encodings and ciphertexts the tools produce today.
The encryption tool had no tests at all; it now has round trip coverage for
every algorithm plus pinned ciphertexts for the deterministic ones, including
OpenSSL salted payloads produced by previous versions of it-tools.
No behaviour change: this is the reference point the dependency replacements
that follow have to reproduce exactly.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Mf5V2jMpFFXxGVXZU5rHBq
* chore(deps): replace the five deprecated packages flagged by renovate
Renovate's dependency dashboard lists five deprecated or replaced packages;
this removes all of them, keeping the observable behaviour identical.
- crypto-js -> crypto-es. Upstream discontinued crypto-js; crypto-es is its
maintained ESM/TypeScript successor and is byte for byte compatible, which
the characterization tests added in the previous commit verify: the same
1012 assertions pass before and after the swap, including the OpenSSL
salted ciphertexts of the encryption tool. It ships its own types, so
@types/crypto-js goes away too.
- plausible-tracker -> @plausible-analytics/tracker, the official replacement.
The app keeps providing the same 'plausible' injection shape, so nothing
downstream changes. apiHost maps onto the new endpoint option and keeps
posting to the very same url, trackLocalhost onto captureOnLocalhost, and
the pageviews that enableAutoPageviews() used to start are now captured by
init() itself. init() throws without a domain, unlike the old tracker, so
an enabled but domain-less config now falls back to the no-op instance
instead of breaking the app bootstrap.
- svg2png-wasm -> @resvg/resvg-wasm, the replacement named in its deprecation
notice. The renderer moves into a service covered by tests that rasterize
real svg content, and the 2 MB binary no longer has to be committed under
public/: vite emits it from the package as a hashed asset, so it can never
drift from the js glue on upgrade.
- @types/bcryptjs and @types/uuid are deprecated stubs, bcryptjs and uuid
having shipped their own types for a while.
Also drops the now dead renovate rules that only existed to keep uuid and
@types/uuid in lockstep, and fixes the tool metadata a new guard test caught:
the encryption tool advertised 'crypto-s' and the wysiwyg editor still
advertised monaco and prettier.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Mf5V2jMpFFXxGVXZU5rHBq
* test: pin that svg text is actually drawn, document the load bearing empty iv
The resvg swap is pixel identical to svg2png-wasm for shapes and gradients,
and it also fixes text that names the embedded Roboto family: svg2png-wasm
returned an empty canvas there, so the assertion guards a real improvement
rather than only the image dimensions.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Mf5V2jMpFFXxGVXZU5rHBq
* fix: address review feedback on the plugin and renderer initialization
Two of the review comments are real regressions against the behaviour the
replaced packages had, so both are fixed with a test that fails without the fix:
- The plausible plugin called init() on every install. init() throws on the
second call, so installing the plugin on a second app instance (tests, hot
reload) would have taken the app down, where the old tracker was happy to be
constructed repeatedly. The tracker is now initialized once and reused. The
api host also gets its trailing slash trimmed so the endpoint cannot end up
with a double slash.
- initializeSvgRenderer() memoized the initialization promise including its
rejections, so one failed wasm download left the tool broken until a page
reload. The old code only latched its flag after a successful load. A failed
attempt is no longer cached.
Also extends the tool metadata guard to the removed stub type packages, and
pins the negative counters that verifyHOTP walks through when the window is
wider than the counter: their hexadecimal form keeps the minus sign, which the
hex parser reads as ffffffff rather than rejecting, and crypto-es reproduces
that exactly.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Mf5V2jMpFFXxGVXZU5rHBq
---------
Co-authored-by: Claude <noreply@anthropic.com>
* feat(git-memo): add i18n support and Chinese translation
- Dynamically load locale-specific markdown content
- Add comprehensive Chinese translation for git memo
- Apply theme-aware styles for tables and links
* feat(git-semantic-commit-memo): add i18n support and table styling
Load memo markdown dynamically based on locale, add Chinese translation, and apply theme-aware styles for tables and links.
* feat(jq-memo): add i18n support and Chinese memo
Support multiple languages for the jq memo tool by dynamically loading locale-specific markdown files based on the current i18n locale, and add the Chinese translation (jq.zh.md).
* feat(jsonpath-memo): add i18n support for memo component
Dynamically load localized markdown files based on the current locale, falling back to the default English memo.
* feat(markdown-cheatsheet): add i18n support with Chinese content
Load locale-specific memo content dynamically using glob import and provide the Chinese translation for the Markdown cheatsheet.
* style(markdown-cheatsheet): add table and link styling
Add borders, padding, and collapse for tables, and set link color using theme variables.
* feat(nano-memo): add i18n support and table/link styling
- Dynamically load locale-specific content markdown based on the current language
- Add Chinese translation content file
- Apply theme-aware border and link colors for tables and links
* feat(nginx-memo): add i18n support and styling improvements
- dynamically load localized content based on current locale
- add Chinese (zh) translation for nginx memo
- add table and link styling using theme variables
- fallback to default content if localized version is missing
* feat(powershell-memo): add i18n support and Chinese translation
Load localized Markdown content based on the current locale, falling back to the default English version. Include the complete Chinese translation file.
* feat(sed-memo): add i18n support and zh docs
* feat(tmux-memo): add i18n support and Chinese translation
- Dynamically load locale-specific markdown content
- Add Chinese translation (tmux-memo.content.zh.md)
- Fall back to default content if locale file not found
* feat(vim-memo): add i18n support and zh content
- Implement dynamic locale-based content loading
- Add comprehensive Chinese translation file
- Update styles for tables and links using theme variables
* feat(xpath-memo): support locale-based markdown loading
Load the appropriate markdown file based on the current i18n locale, falling back to the default when a localized version is not available.
* feat(zellij-memo): add i18n support for memo content
Load locale-specific markdown files dynamically based on the current language setting, falling back to the default when a translation is unavailable.
* feat(chmod-memo): add i18n support and Chinese docs
- load locale-specific markdown via dynamic imports
- add chmod.zh.md with detailed Chinese documentation
- fall back to default chmod.md if no locale match
* feat(screen-memo): add i18n support with Chinese translation
Add dynamic locale-based markdown loading for the Screen Memo tool
and include the complete Chinese (zh) translation.
* feat(regex-memo): add i18n support with Chinese translation
Load locale-specific markdown content dynamically based on the selected language.
Large inputs (e.g. a 64KB JSON pasted into the JSON prettify tool) pushed
all tool content off-screen. The mobile UX overhaul (#474) switched the app
to document-level scrolling (overflow: visible, no nested scroll container),
which exposed that the .content flex column has the default min-width: auto
and refuses to shrink below its content's min-content width. A long,
non-wrapping code line therefore stretched the whole column past the
viewport instead of scrolling inside the viewer.
Set min-width: 0 on the .content flex child so the column shrinks to the
available width and the inner scrollers (n-scrollbar / CodeMirror) handle
horizontal overflow as intended.
Claude-Session: https://claude.ai/code/session_016ujGA3EmSyT39H7awrRuCS
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
* feat: mobile UX overhaul, theme flash prevention and build cleanup
UI/UX (mostly mobile):
- Prevent white flash on load: pre-paint inline style + script in
index.html applies the persisted theme before first paint.
- Match browser chrome to the app background: theme-color meta kept in
sync for Android/older iOS, and body background pinned to the Layout
color for Safari 26+, which ignores theme-color and samples the page.
- Make the document the app's scroller instead of n-layout's nested
container: single scrollbar, native iOS tap-status-bar-to-scroll-top,
natural toolbar collapsing; desktop sider becomes sticky and router
scrollBehavior restores/resets scroll on navigation.
- Full-width mobile menu that fades in under an always-visible sticky
top bar, seamless app background without the hero gradient, closes on
navigation (including About while already on /about), scroll-locked
behind, symmetric spacing around the title block and icon row.
- Language selector and theme toggle become icon dropdowns; theme
supports System/Light/Dark via useColorMode (same storage as before).
- Route-change loading spinner scoped to the page area so the nav bar
stays visible; spinner remains cosmetic-only (350ms delay).
- Halve content padding on small screens; reduce home top padding.
- Full-width expand/collapse tools button so its width doesn't jump.
- No sticky hover styles on touch devices (hover gated behind
@media (hover: hover)).
Build:
- Rename deprecated rolldown output.advancedChunks to codeSplitting.
- Fix unocss 'unmatched utility' warnings in the pretty-scrollbar
shortcut; override js-sha256 to 0.11.x (drops eval); bump
javascript-obfuscator to 5.4.6.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TNayL5ianBBucVapfkM8CC
* Remove unnecessary comment
* Refresh lockfile, remove releaseage ignore
Signed-off-by: Sebastian Danielsson <sebastian.danielsson@proton.me>
* chore: remove unused LocaleSelector component
Language selection moved into the NavbarButtons dropdown; nothing
references this component anymore. Its i18n keys are left in place.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TNayL5ianBBucVapfkM8CC
---------
Signed-off-by: Sebastian Danielsson <sebastian.danielsson@proton.me>
Co-authored-by: Claude <noreply@anthropic.com>
* perf(i18n): bundle only English eagerly, lazy-load other locales on demand
The entry bundle previously inlined all 19 locales (11 MB minified, 2.4 MB
gzip) via the virtual @intlify messages module. Now only en (plus tool-level
en files) is compiled into the entry; every other locale becomes its own lazy
chunk fetched the first time it is selected, with vue-i18n falling back to
English until the messages arrive.
VITE_AVAILABLE_LOCALES now filters the locales offered at runtime instead of
trimming the build; unlisted locale chunks are emitted but never fetched.
Also adds shims for *.yml default imports and @tabler/icons-vue per-icon
deep imports (used by the follow-up icon-loading commit).
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RKAJuYi4dP1mwsjPi4v5Ea
* perf(tools): load tool icons lazily and parallelize boot config fetches
The eager tool-metadata glob pulled ~460 static icon component modules into
the entry graph. Tool definitions now reference their icon via
defineAsyncComponent + per-icon dynamic import, and an advancedChunks group
merges all of them into a single lazy 'tool-icons' chunk fetched off the
critical path when the menu/home first renders. Exact same glyphs as before.
Entry-graph components (navbar, layouts, ToolCard, copy buttons, command
palette, home) switch from runtime icon packages to build-time-inlined
~icons/tabler imports so no static reference drags the icon chunk into the
entry bundle.
src/tools/index.ts also fetched tools-filter.json and external-tools.json
sequentially under top-level await, blocking first render on two serial
round-trips; they are now fetched in parallel.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RKAJuYi4dP1mwsjPi4v5Ea
* perf(pwa): precache only the app shell, cache chunks and wasm on demand
The service worker precached every JS chunk and WASM binary — 1,679 files,
~162 MB — on first visit, saturating bandwidth while the page was trying to
become interactive. Precache is now limited to the shell (css/html) with
CacheFirst runtime caching for same-origin hashed scripts, workers and wasm,
so offline support covers everything the user has actually opened.
VITE_PWA_FULL_PRECACHE=true restores the previous cache-everything behavior
for self-hosted full-offline deployments.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RKAJuYi4dP1mwsjPi4v5Ea
* perf(menu): eliminate layout thrash in sider and category animations
The sider show/hide animates CSS width, which re-laid-out all ~460 menu
items plus the page content on every frame; category expand/collapse
animates grid-template-rows with the same cost. Two changes cut the
per-frame work:
- content-visibility: auto on each category container so offscreen
categories skip layout and paint entirely during animations
- the sider scroll content is pinned to the expanded width, so the width
transition clips the menu instead of re-wrapping every item per frame
Measured with the Long Animation Frames API (dev mode, full hide+show
cycle): 4 long frames totalling ~395 ms before, 2 totalling ~236 ms after;
animation frames after the initial commit now stay under 50 ms.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RKAJuYi4dP1mwsjPi4v5Ea
* perf(deps): replace moment with date-fns in countdown and alarm tools
moment was only used by three tools, each pulling its ~70 KB gzip bundle
into their chunks while date-fns (already a dependency) covers the same
needs tree-shaken. Also fixes a latent bug: moment's mutating add()/set()
modified the shared 'now' ref on every computed evaluation, so the deadline
could drift by one duration per re-render; date-fns operations are
immutable.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RKAJuYi4dP1mwsjPi4v5Ea
* perf(deps): replace lodash with es-toolkit
Full CJS lodash (~70 KB gzip, no tree-shaking) was in the entry graph via
the tools store and shared composables, plus four lodash.* micro-packages.
es-toolkit provides the same functions as tree-shakeable ESM:
- import _ from 'lodash' -> import * as _ from 'es-toolkit/compat'
(namespace member access tree-shakes under Rolldown)
- the 20 _.chain pipelines are rewritten as plain array/object operations
or es-toolkit calls (es-toolkit has no chain, deliberately)
- lodash.defaultsdeep/flattendeep/last/mergewith micro-packages replaced
with es-toolkit core/compat equivalents
- lodash's RecursiveArray type is declared locally in generate-tree.ts
- files whose only lodash use was inside a rewritten chain lose the
dependency entirely
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RKAJuYi4dP1mwsjPi4v5Ea
* fix: catch lodash usages the codemod missed (.js/.tsx files, bare _() wrapper)
outputFormatter.js and diff-viewer.models.tsx were outside the codemod's
*.ts/*.vue glob, and otp.service.ts used the implicit-chain _(...) wrapper
form that the _. usage regex didn't match (its import was wrongly removed).
Both builds still passed because pnpm's hoisted store made 'lodash'
resolvable even after removal from package.json.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RKAJuYi4dP1mwsjPi4v5Ea
* perf(boot): drop the splash screen and parallelize the settings fetch
The splash screen existed to cover a multi-second blank period while the old
13 MB entry bundle parsed; with the startup payload at ~3 MB the app shell
paints fast enough to render directly (measurements in the PR description).
Removes vite-plugin-splash-screen entirely.
tools-settings.json was fetched under top-level await in main.ts, serially
after the config fetches in src/tools/index.ts. It now lives in a sibling
async module so all three optional config fetches share one round-trip.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RKAJuYi4dP1mwsjPi4v5Ea
* fix: defer preload-error reload so it cannot abort an in-flight navigation
Firefox fires vite:preloadError for module preloads cancelled by a user
navigation (NS_BINDING_ABORTED), and the immediate location.reload() raced
and aborted that navigation. With the tool icons now loading via dynamic
imports there are ~460 preloads in flight at startup, which made the race
deterministic in the date-time-converter Playwright specs on firefox.
Deferring the reload by a tick resolves it: if the page is genuinely
navigating away its timers die with the document; on a real chunk-load
failure the reload still happens.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RKAJuYi4dP1mwsjPi4v5Ea
* fix(types): satisfy the vitest tsconfig typecheck
pnpm typecheck runs vue-tsc against tsconfig.vitest.json, which lacks the
unplugin-vue-i18n type shim and infers stricter unions:
- tools/index.ts: type the fetch fallbacks so Promise.all doesn't widen
filterConfig to 'ToolsFilter | {}'
- i18n.plugin.ts: collapse es-toolkit merge's recursive mapped type before
it reaches vue-i18n's generics (TS2589), watch the locale through the
getter, and cast the messages record
- generate-tree.ts: drop flattenDeep/RecursiveArray for a plain spread —
child output is already joined strings, so there was only one level to
flatten
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RKAJuYi4dP1mwsjPi4v5Ea
* perf(bundle): cut startup payload from ~1 MB to ~560 KB gzip
Four eager-loading leaks accounted for almost half the startup JS:
- Font Awesome (298 KB gzip): main.ts registered the entire solid icon set
via library.add(fas) although only the pomodoro timer uses it. The six
icons it needs are now registered inside the tool's lazy chunk.
- tool-icons chunk (67 KB gzip): rolldown's advancedChunks defaults to
includeDependenciesRecursively, which captured shared helpers into the
icon chunk and made entry chunks statically depend on it, dragging the
whole lazy icon set back into the startup payload. Disabled per-group.
- markdown-it + entities + dompurify (~50 KB gzip): eagerly reachable via
three paths — the external-tools mapping in tools/index.ts (now a
conditional dynamic import), vue-markdown-render in tool.layout.vue and
Home.custom.vue (now defineAsyncComponent).
- demo gallery routes: registered behind a runtime env check the bundler
cannot eliminate; now a conditional dynamic import gated on
import.meta.env.DEV so production builds drop it entirely.
Startup JS: 3.2 MB -> 1.92 MB raw, ~1.05 MB -> 562 KB gzip.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RKAJuYi4dP1mwsjPi4v5Ea
* fix(lint): drop redundant spread flagged by oxlint
Object.values already returns a fresh array, so it can be pushed into
directly.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RKAJuYi4dP1mwsjPi4v5Ea
---------
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
* chore: upgrade toolchain to Vite 8, Vue 3.5, Vitest 4, TypeScript 6 and pnpm 11; adopt oxlint/oxfmt
- vite 4 -> 8.1.3 (rolldown-based: build.rollupOptions -> rolldownOptions,
drop optimizeDeps.esbuildOptions), @vitejs/plugin-vue 4 -> 6, plugin-vue-jsx 3 -> 5
- vue 3.3 -> 3.5.39, vue-tsc 1.8 -> 3.3.6, vitest 0.34 -> 4.1.9, jsdom 22 -> 29
- typescript 5.2 -> 6.0.3 with moduleResolution=bundler (baseUrl/node10 are
hard errors in TS 6, removed in TS 7); TS 7 RC not adoptable: its native
tsc lacks the JS compiler API vue-tsc needs (vuejs/language-tools#5381)
- unocss 0.57 -> 66 (presetUno -> presetWind3), unplugin-* to current majors
(unplugin-vue-components dtsTsx disabled: emits invalid declarations for
dotted component names)
- @vueuse/head 1.0.0 -> 1.3.1 (1.0.0 silently stopped applying page titles
under Vue 3.5)
- replace ESLint (@antfu config) + Prettier with oxlint + oxfmt; configs
mirror the previous style rules. Existing files are intentionally NOT
mass-reformatted (oxfmt has no brace-style/operator-position options to
match the old @antfu style) — only files with real changes are formatted
- pnpm 9 -> 11.10.0: settings move to pnpm-workspace.yaml, fresh lockfile
passing supply-chain policies, explicit allowBuilds decisions,
blockExoticSubdeps off (xlsx CDN override patches vulnerable npm 0.18.5)
- isolated-vm (17 MB) and onnxruntime-node (208 MB) stubbed via overrides:
native-only transitives already aliased to an empty module for the bundle
- elliptic overridden to npm ^6.6.1 (github fork tarball of
webcrypto-liner-shim unreachable from the build environment)
- CI: node 22 -> 24, all actions pinned to latest patch releases, automatic
Vercel workflows disabled (fork deploys via Vercel Git integration),
vercel.json: git.deploymentEnabled removed, buildCommand skips no-op vue-tsc
- Dockerfile: node:24-alpine, pnpm@11, ship pnpm-workspace.yaml and stubs
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01M6deEDJXFzgDzPiYPAcsv1
* fix: resolve type, lint and runtime issues from the toolchain upgrade
vue-tsc 3 checks templates far more strictly than 1.8 and TS 5.7+ made
Uint8Array generic over its backing buffer. Widen shared component props
(InputCopyable, c-table, c-input-text, UnitsConverter), convert values at
call sites, fix invalid local .d.ts declarations, and repair issues the
new tooling exposed:
- WireGuard generator: pre-shared-keys checkbox used v-model:value which
never binds on a standalone n-checkbox (now v-model:checked)
- mask-closable="false" string attrs became real boolean bindings in
countdown/cron-alarm/time-alarm
- v-model casts (x as any) fail to compile under plugin-vue 6 + rolldown;
replaced with :value/@update:value split bindings
- invalid '::ffff::' IPv6 literal in ipv6registry.json, exposed by stricter
parsing in cidr-tools 11.3 (IPv4-mapped range never matched)
- fanger pinned to 0.3.1 (0.3.2 published without dist/)
- countries-and-timezones namespace imports, Vitest 4 snapshot format,
invalid ul-inside-p HTML in dead-pixel, test assertion outside it() block
vue-tsc clean; oxlint clean; vitest 665/665; vite build + PWA OK;
Playwright e2e 100/100; all 457 tool routes render without errors
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01M6deEDJXFzgDzPiYPAcsv1
* chore: drop whole-tree oxfmt from precommit instructions
The tree deliberately keeps its existing @antfu-era formatting; running
'pnpm fmt' (oxfmt over all of src) would reformat ~800 untouched files.
Format only the files you change, or run 'pnpm fmt' in a dedicated PR.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01M6deEDJXFzgDzPiYPAcsv1
* fix: escape backslashes before dots in parquet column keys
CodeQL flagged incomplete string escaping (js/incomplete-sanitization):
escaping '.' to '\.' without first escaping existing backslashes makes
column names containing backslashes ambiguous in naive-ui's nested-key
syntax. Escape backslashes first.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01M6deEDJXFzgDzPiYPAcsv1
* test: allow 30s for initial mermaid render in e2e
mermaid is a large lazy-loaded chunk; webkit on cold CI runners exceeds
Playwright's default 5s expect timeout even across retries.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01M6deEDJXFzgDzPiYPAcsv1
* refactor: replace 'as any' input type casts with proper typings
Copilot review on the upstream PR flagged the casts. c-input-text
renders any non-password type as a text input, so widen its type union
to include 'url' instead of casting; for naive-ui's NInput use the
documented input-props to set the native input's type=number.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01M6deEDJXFzgDzPiYPAcsv1
(cherry picked from commit 906820336b271aa6d96ecb11efa03219bf869475)
* fix: reconcile lockfile with upstream sync; repair date-picker typing in Docker Label Generator
- fold upstream's new CodeMirror/picomatch dependencies into the pnpm 11
lockfile; add @lezer/highlight to optimizeDeps (kept from upstream)
- dockerfile-label-generator: n-date-picker emits a number timestamp,
not a Date — calling toISOString() on it would throw at runtime the
moment a date was picked. Type as number and convert via new Date()
- drop stray tsconfig.vite-config.tsbuildinfo build artifact; ignore
*.tsbuildinfo
vue-tsc clean; oxlint clean; vitest 665/665; vite build OK
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01M6deEDJXFzgDzPiYPAcsv1
* chore: keep upstream Vercel CLI deployment setup
The fork-specific Vercel changes (Git-integration deploys, disabled CLI
workflows, build:vercel command) are excluded from the upstream
contribution; upstream deploys via its own Vercel CLI workflows.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01M6deEDJXFzgDzPiYPAcsv1
(cherry picked from commit ed182ec55648358556343e60e1667129acdbb966)
* fix: escape backslashes in Docker label values; raise global e2e expect timeout
- dockerfile-label-generator escaped quotes without escaping existing
backslashes first (CodeQL js/incomplete-sanitization, same class as
the parquets-reader fix): a value ending in a backslash would break
the generated LABEL quoting
- playwright: 15s global expect timeout — first paint of heavy lazy
chunks exceeds the 5s default on slow CI browsers (webkit), which
intermittently failed title assertions across retries
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01M6deEDJXFzgDzPiYPAcsv1
(cherry picked from commit 5b3822e10113a49bc519661a5b01ad62660d56a9)
* Update .gitignore to include specific file types
* Add stats.html to .gitignore
* Delete tsconfig.vite-config.tsbuildinfo
* Delete stats.html
---------
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: sharevb <sharevb@gmail.com>