diff --git a/.dev.vars.example b/.dev.vars.example
new file mode 100644
index 0000000..480e2e9
--- /dev/null
+++ b/.dev.vars.example
@@ -0,0 +1,3 @@
+# Copy to .dev.vars for `npm run cf:dev` / `npm run preview:cf`.
+# Cloudflare's documented always-pass test secret; real secrets live in the dashboard.
+TURNSTILE_SECRET=1x0000000000000000000000000000000AA
diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md
index 6dcdf7b..c701e7b 100644
--- a/.github/ISSUE_TEMPLATE/bug_report.md
+++ b/.github/ISSUE_TEMPLATE/bug_report.md
@@ -6,6 +6,12 @@ labels: ['bug', 'needs-triage']
assignees: []
---
+
+
## Describe the bug
A clear description of what the bug is.
@@ -13,13 +19,13 @@ A clear description of what the bug is.
## To reproduce
1. Go to '...'
-2. Paste this JSON: '...'
-3. Pick format '...'
+2. Paste this input: '...'
+3. Pick format '...' and direction (JSON → format, or format → JSON where available)
4. See error
## Sample JSON
-Please provide a **minimal** JSON sample that triggers the bug:
+Please provide a **minimal** JSON sample (or source-format input, for format → JSON) that triggers the bug, with anything private removed:
```json
{ "your": "sample here" }
@@ -35,10 +41,20 @@ What actually happened. Include the error message and target format.
## Environment
-- Browser: [e.g. Chrome 130, Firefox 132, Safari 18]
-- OS: [e.g. Windows 11, macOS 15, Ubuntu 24.04]
-- JSONPrism version: [e.g. 0.1.0 — check the footer]
-- Is this on the hosted version (poli0981.github.io/jsonPrism/) or local dev?
+- Platform: [Web / Windows / macOS / Linux / Android]
+- JSONPrism version: [e.g. 2.0.0 — see About → Build info]
+- Browser (web) or OS version (apps): [e.g. Firefox on Windows 11, Safari on macOS 15, Ubuntu 24.04, Android 15]
+- Where: [the website https://jsonprism.poli0981.dev / an installed release / a local dev build]
+
+## Diagnostics
+
+Optional but helpful: open **About → Build info → Copy diagnostics** in the
+app and paste the result below. It contains the version, commit, platform
+and recent log lines; check it for anything private before posting.
+
+```text
+Paste diagnostics here
+```
## Screenshots
diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml
index a3327df..7993d42 100644
--- a/.github/ISSUE_TEMPLATE/config.yml
+++ b/.github/ISSUE_TEMPLATE/config.yml
@@ -5,7 +5,7 @@ contact_links:
about: Ask about usage, share workflows, or propose ideas before opening an issue.
- name: Security vulnerability
url: https://github.com/poli0981/jsonPrism/security/advisories/new
- about: Report security issues privately via GitHub Security Advisory (not in public issues).
+ about: Report security issues privately via a GitHub Security Advisory, or email security@poli0981.dev. Never in a public issue.
- name: Live demo
- url: https://poli0981.github.io/jsonPrism/
+ url: https://jsonprism.poli0981.dev
about: Try the latest deployed build in your browser before filing a bug.
diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md
index 12fc08f..6d84560 100644
--- a/.github/ISSUE_TEMPLATE/feature_request.md
+++ b/.github/ISSUE_TEMPLATE/feature_request.md
@@ -18,6 +18,12 @@ How would you like JSONPrism to handle it?
Other approaches you thought about, and why this one fits better.
+## Platform
+
+Where would you use it? [All / Web / Windows / macOS / Linux / Android]
+
+Version you're on: [e.g. 2.0.0 — see About → Build info]
+
## Sample data (if applicable)
If your feature involves a specific JSON shape, paste a sample:
@@ -35,8 +41,9 @@ expected output here
## Scope check
- [ ] This fits the "one JSON → many formats" core mission
-- [ ] This can be done client-side (no server required)
+- [ ] This can be done on the user's device (no server required)
- [ ] I have a real use case for this (not just hypothetical)
+- [ ] I checked the latest build at https://jsonprism.poli0981.dev and it doesn't do this yet
## Additional context
diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md
index 5fc8772..b11532e 100644
--- a/.github/PULL_REQUEST_TEMPLATE.md
+++ b/.github/PULL_REQUEST_TEMPLATE.md
@@ -3,12 +3,16 @@ Thanks for contributing to JSONPrism!
Please fill in the sections below. PRs missing required context (no summary,
no test plan, off-topic preamble) may be closed without review.
-See CONTRIBUTING.md → "Auto-ignored cases" for what gets dismissed.
+See CONTRIBUTING.md → "Auto-ignored contributions" for what gets dismissed.
+
+Fixing an undisclosed security vulnerability? Report it privately first
+(SECURITY.md: private advisory or security@poli0981.dev) instead of
+describing it in a public PR.
-->
## Summary
-
+
-
-
@@ -17,33 +21,42 @@ Closes #
## Test plan
-
+
-- [ ] `npm run typecheck`
+- [ ] `npm run format:check`
- [ ] `npm run lint`
+- [ ] `npm run knip`
+- [ ] `npm run typecheck`
- [ ] `npm test`
- [ ] `npm run build`
-- [ ] Manual smoke (describe what you clicked / loaded)
+- [ ] `npm run cf:check`
+- [ ] Rust changed: `cargo fmt --check` and `cargo clippy --all-targets --locked -- -D warnings` in `src-tauri/`
+- [ ] Manual smoke (describe what you clicked / loaded, and on which platform: Web / Windows / macOS / Linux / Android)
## Screenshots / recordings (UI changes only)
-## AI-assist disclosure
+## AI-assistance disclosure
--
+- [ ] No AI assistance.
+- [ ] AI-assisted. Tool(s) and how they were used:
## Checklist
-- [ ] My changes follow the conventions in [CLAUDE.md](../CLAUDE.md).
+- [ ] My changes follow the conventions in [CLAUDE.md](https://github.com/poli0981/jsonPrism/blob/main/CLAUDE.md) and [CONTRIBUTING.md](https://github.com/poli0981/jsonPrism/blob/main/CONTRIBUTING.md).
- [ ] I added or updated tests where relevant.
-- [ ] I updated docs / i18n keys if user-visible strings changed.
+- [ ] New or changed UI strings are in all four locales (`en`, `vi`, `ja`, `zh-CN`) and the i18n parity test passes.
+- [ ] App code uses no ES2025 runtime APIs (Iterator helpers, `Set` methods, `Promise.try`, …).
+- [ ] I updated the docs and `CHANGELOG.md` (under `[Unreleased]`) for user-visible changes.
- [ ] I did not include unrelated drive-by changes.
diff --git a/.github/dependabot.yml b/.github/dependabot.yml
index f168772..2502b69 100644
--- a/.github/dependabot.yml
+++ b/.github/dependabot.yml
@@ -1,65 +1,83 @@
version: 2
-# Dependency update schedule for JSONPrism.
-# Groups minor + patch bumps together to reduce PR churn; majors get their
-# own PR so they can be evaluated individually.
+# Weekly updates, grouped by package family so a family's majors land together:
+# a lone `eslint` major once left `npm ci` broken on main for four months.
+# A cooldown skips releases younger than a few days (security updates are exempt).
updates:
- # npm ecosystem (root package.json + lockfile)
- package-ecosystem: npm
- directory: "/"
+ directory: /
schedule:
interval: weekly
day: monday
- time: "08:00"
+ time: '08:00'
timezone: Asia/Ho_Chi_Minh
open-pull-requests-limit: 10
versioning-strategy: increase
- labels:
- - dependencies
- - npm
+ cooldown:
+ default-days: 3
+ semver-major-days: 7
+ labels: [dependencies, npm]
+ ignore:
+ # `typescript` is an alias for the TypeScript 6 API that typescript-eslint
+ # needs; the compiler itself is TypeScript 7 (`@typescript/native`).
+ - dependency-name: typescript
+ versions: ['>=6.1.0']
+ # @types/node follows the Node major in .nvmrc.
+ - dependency-name: '@types/node'
+ update-types: ['version-update:semver-major']
groups:
+ eslint:
+ patterns: [eslint, '@eslint/*', typescript-eslint, 'eslint-plugin-*', globals]
+ test:
+ patterns: [vitest, '@vitest/*', jsdom, '@testing-library/*']
+ react:
+ patterns: [react, react-dom, '@types/react', '@types/react-dom', '@vitejs/plugin-react']
+ build:
+ patterns: [vite, tailwindcss, '@tailwindcss/*', tw-animate-css, prettier, 'prettier-plugin-*', knip]
+ i18n:
+ patterns: [i18next, react-i18next]
+ tauri:
+ patterns: ['@tauri-apps/*']
+ codemirror:
+ patterns: ['@codemirror/*', '@uiw/*', '@lezer/*']
+ radix:
+ patterns: ['@radix-ui/*']
+ cloudflare:
+ patterns: [wrangler, '@cloudflare/*', '@marsidev/react-turnstile']
npm-minor-patch:
- applies-to: version-updates
- update-types:
- - minor
- - patch
+ update-types: [minor, patch]
- # GitHub Actions used in .github/workflows/
- package-ecosystem: github-actions
- directory: "/"
+ directory: /
schedule:
interval: weekly
day: monday
- time: "08:00"
+ time: '08:00'
timezone: Asia/Ho_Chi_Minh
open-pull-requests-limit: 5
- labels:
- - dependencies
- - github-actions
+ cooldown:
+ default-days: 3
+ labels: [dependencies, github-actions]
groups:
- actions-minor-patch:
- applies-to: version-updates
- update-types:
- - minor
- - patch
+ actions:
+ patterns: ['*']
- # Cargo ecosystem for the Tauri shell.
+ # The Tauri shell. Keep the crate versions in step with the @tauri-apps npm packages.
- package-ecosystem: cargo
- directory: "/src-tauri"
+ directory: /src-tauri
schedule:
interval: weekly
day: monday
- time: "08:00"
+ time: '08:00'
timezone: Asia/Ho_Chi_Minh
open-pull-requests-limit: 5
- labels:
- - dependencies
- - rust
- - tauri
+ cooldown:
+ default-days: 3
+ semver-major-days: 7
+ labels: [dependencies, rust, tauri]
groups:
+ tauri:
+ patterns: ['tauri', 'tauri-*']
cargo-minor-patch:
- applies-to: version-updates
- update-types:
- - minor
- - patch
+ update-types: [minor, patch]
diff --git a/.github/pages-redirect/404.html b/.github/pages-redirect/404.html
new file mode 100644
index 0000000..e4247c9
--- /dev/null
+++ b/.github/pages-redirect/404.html
@@ -0,0 +1,37 @@
+
+
+
+
+
+ JSONPrism has moved
+
+
+
+
+
+
+
+
+
+ JSONPrism has moved to
+ jsonprism.poli0981.dev .
+
+
+
diff --git a/.github/pages-redirect/index.html b/.github/pages-redirect/index.html
new file mode 100644
index 0000000..e4247c9
--- /dev/null
+++ b/.github/pages-redirect/index.html
@@ -0,0 +1,37 @@
+
+
+
+
+
+ JSONPrism has moved
+
+
+
+
+
+
+
+
+
+ JSONPrism has moved to
+ jsonprism.poli0981.dev .
+
+
+
diff --git a/.github/workflows/announce-discussion.yml b/.github/workflows/announce-discussion.yml
index 114ff0e..e01077f 100644
--- a/.github/workflows/announce-discussion.yml
+++ b/.github/workflows/announce-discussion.yml
@@ -1,8 +1,8 @@
-name: Announce Release / Deploy in Discussions
+name: Announce Release in Discussions
-# Create a Discussion post in the "Announcements" category when:
-# • a GitHub Release is published (tag-based deploys)
-# • the Deploy to GitHub Pages workflow finishes successfully
+# Create a Discussion post in the "Announcements" category when a GitHub
+# Release is published, or by hand. (Per-deploy posts were dropped: web deploys
+# now happen on every merge through Cloudflare Workers Builds.)
#
# Prerequisites (one-time manual setup):
# 1. Enable Discussions in the repo Settings → Features.
@@ -16,9 +16,6 @@ name: Announce Release / Deploy in Discussions
on:
release:
types: [published]
- workflow_run:
- workflows: ["Deploy to GitHub Pages"]
- types: [completed]
workflow_dispatch:
inputs:
message:
@@ -26,9 +23,7 @@ on:
required: true
type: string
-permissions:
- contents: read
- discussions: write
+permissions: {}
concurrency:
group: announce-discussion-${{ github.event_name }}
@@ -37,12 +32,10 @@ concurrency:
jobs:
announce:
name: Create Discussion post
- runs-on: ubuntu-latest
- # Skip when triggered by a failed deploy.
- if: >
- github.event_name == 'release'
- || github.event_name == 'workflow_dispatch'
- || (github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success')
+ runs-on: ubuntu-24.04
+ permissions:
+ contents: read
+ discussions: write
timeout-minutes: 5
steps:
- name: Resolve repository + category IDs
@@ -82,8 +75,6 @@ jobs:
RELEASE_TAG: ${{ github.event.release.tag_name || '' }}
RELEASE_URL: ${{ github.event.release.html_url || '' }}
RELEASE_BODY: ${{ github.event.release.body || '' }}
- DEPLOY_SHA: ${{ github.event.workflow_run.head_sha || '' }}
- DEPLOY_URL: ${{ github.event.workflow_run.html_url || '' }}
DISPATCH_MSG: ${{ inputs.message || '' }}
run: |
set -euo pipefail
@@ -97,11 +88,6 @@ jobs:
title="Release ${RELEASE_TAG}"
body="## ${RELEASE_TAG}${NL}${NL}${RELEASE_BODY}${NL}${NL}[View release →](${RELEASE_URL})"
;;
- workflow_run)
- short_sha="${DEPLOY_SHA:0:7}"
- title="Deploy succeeded — ${short_sha}"
- body="Latest commit deployed to GitHub Pages.${NL}${NL}[Deploy run →](${DEPLOY_URL})"
- ;;
workflow_dispatch)
title="Announcement"
body="${DISPATCH_MSG}"
diff --git a/.github/workflows/announce-release.yml b/.github/workflows/announce-release.yml
index 53b5ece..b8d3234 100644
--- a/.github/workflows/announce-release.yml
+++ b/.github/workflows/announce-release.yml
@@ -6,18 +6,21 @@ on:
workflow_dispatch:
inputs:
tag:
- description: "Existing release tag to re-announce"
+ description: Existing release tag to re-announce
required: true
type: string
-# Reusable announce-release.yml only needs `contents: read` to fetch
-# release metadata via the gh CLI.
-permissions:
- contents: read
+permissions: {}
jobs:
announce:
- uses: poli0981/.github/.github/workflows/announce-release.yml@main
+ permissions:
+ contents: read
+ uses: poli0981/.github/.github/workflows/announce-release.yml@c3e118a01d40e95b36b2c3466dc206638c11eb5a # main 2026-07-06
with:
tag_override: ${{ inputs.tag || '' }}
- secrets: inherit
+ # Only the webhooks it needs, not every repository secret.
+ secrets:
+ DISCORD_RELEASES_WEBHOOK: ${{ secrets.DISCORD_RELEASES_WEBHOOK }}
+ DISCORD_REPO_WEBHOOK: ${{ secrets.DISCORD_REPO_WEBHOOK }}
+ DISCORD_PING_ROLE_ID: ${{ secrets.DISCORD_PING_ROLE_ID }}
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 1e522d8..846ebef 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -5,36 +5,41 @@ on:
branches: [main]
pull_request:
branches: [main]
+ workflow_dispatch:
-permissions:
- contents: read
+permissions: {}
concurrency:
group: ci-${{ github.workflow }}-${{ github.ref }}
- cancel-in-progress: true
+ # Only superseded PR runs are cancelled; every commit on main gets a full run.
+ cancel-in-progress: ${{ github.event_name == 'pull_request' }}
+
+env:
+ WRANGLER_SEND_METRICS: 'false'
jobs:
- build:
- name: Lint, typecheck, build
- runs-on: ubuntu-latest
- timeout-minutes: 10
-
- strategy:
- matrix:
- node-version: [22.x]
-
+ web:
+ name: Web · lint, typecheck, test, build
+ runs-on: ubuntu-24.04
+ timeout-minutes: 15
+ permissions:
+ contents: read
steps:
- name: Checkout
- uses: actions/checkout@v7
-
- - name: Setup Node ${{ matrix.node-version }}
- uses: actions/setup-node@v6
+ uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
- node-version: ${{ matrix.node-version }}
+ persist-credentials: false
+
+ - name: Setup Node
+ uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
+ with:
+ node-version-file: .nvmrc
cache: npm
+ # No dependency needs its install scripts (esbuild, workerd and the Tauri
+ # CLI resolve their platform binaries at runtime), so none get to run.
- name: Install dependencies
- run: npm ci --no-audit --no-fund
+ run: npm ci --ignore-scripts --no-audit --no-fund
- name: Format check
run: npm run format:check
@@ -45,18 +50,120 @@ jobs:
- name: Knip
run: npm run knip
- - name: Typecheck
- run: npm run typecheck
+ - name: Typecheck (TypeScript 7)
+ run: |
+ npx tsc --version | grep -q '^Version 7\.' || { echo "::error::tsc is not TypeScript 7"; exit 1; }
+ npm run typecheck
- - name: Test
- run: npm test
+ - name: Test with coverage
+ run: npm run test:coverage
- name: Build
run: npm run build
- - name: Upload build artifact
- uses: actions/upload-artifact@v7
+ - name: Worker deploy dry run
+ run: npm run cf:check
+
+ - name: Upload dist
+ uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with:
name: dist
path: dist
retention-days: 7
+
+ - name: Upload coverage
+ uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
+ with:
+ name: coverage
+ path: coverage/lcov.info
+ retention-days: 7
+
+ sonar:
+ name: SonarQube Cloud
+ needs: web
+ runs-on: ubuntu-24.04
+ timeout-minutes: 10
+ permissions:
+ contents: read
+ env:
+ # Empty for Dependabot and fork PRs, which get no secrets: skip, don't fail.
+ SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
+ steps:
+ - name: Skip without a token
+ if: env.SONAR_TOKEN == ''
+ run: echo "::notice::SONAR_TOKEN is not available to this run; skipping analysis."
+
+ - name: Checkout
+ if: env.SONAR_TOKEN != ''
+ uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
+ with:
+ # Full history so new-code detection and blame work.
+ fetch-depth: 0
+ persist-credentials: false
+
+ - name: Download coverage
+ if: env.SONAR_TOKEN != ''
+ uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
+ with:
+ name: coverage
+ path: coverage
+
+ - name: Scan
+ if: env.SONAR_TOKEN != ''
+ uses: SonarSource/sonarqube-scan-action@d209202bc7d53ff1cc128f7f907dac145c9d6ae9 # v8.3.0
+
+ rust:
+ name: Tauri · fmt, clippy
+ needs: web
+ runs-on: ubuntu-24.04
+ timeout-minutes: 30
+ permissions:
+ contents: read
+ steps:
+ - name: Checkout
+ uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
+ with:
+ persist-credentials: false
+
+ - name: Install Linux build dependencies
+ run: |
+ sudo apt-get update
+ sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf libssl-dev libgtk-3-dev
+
+ - name: Setup Node
+ uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
+ with:
+ node-version-file: .nvmrc
+ cache: npm
+
+ - name: Install dependencies
+ run: npm ci --ignore-scripts --no-audit --no-fund
+
+ # generate_context!() embeds the icons and the built frontend at compile time.
+ - name: Generate icons
+ run: npm run tauri:icon
+
+ - name: Download dist
+ uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
+ with:
+ name: dist
+ path: dist
+
+ - name: Setup Rust
+ uses: dtolnay/rust-toolchain@683b588c487a69d01f6c6ddf40f036ff682cc2c8 # master
+ with:
+ toolchain: stable
+ components: clippy, rustfmt
+
+ - name: Cache Cargo
+ uses: swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2.9.3
+ with:
+ workspaces: './src-tauri -> target'
+
+ - name: rustfmt
+ working-directory: src-tauri
+ run: cargo fmt --check
+
+ - name: Clippy
+ working-directory: src-tauri
+ run: cargo clippy --all-targets --locked -- -D warnings
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
deleted file mode 100644
index 072110d..0000000
--- a/.github/workflows/deploy.yml
+++ /dev/null
@@ -1,61 +0,0 @@
-name: Deploy to GitHub Pages
-
-on:
- push:
- branches: [main]
- workflow_dispatch:
-
-permissions:
- contents: read
- pages: write
- id-token: write
-
-concurrency:
- group: pages
- cancel-in-progress: false
-
-jobs:
- build:
- name: Build
- runs-on: ubuntu-latest
- timeout-minutes: 10
-
- steps:
- - name: Checkout
- uses: actions/checkout@v7
-
- - name: Setup Node 22
- uses: actions/setup-node@v6
- with:
- node-version: 22.x
- cache: npm
-
- - name: Install dependencies
- run: npm ci --no-audit --no-fund
-
- - name: Build
- run: npm run build
-
- # SPA fallback so deep links (/jsonprism/about) work on GH Pages.
- - name: Copy index.html → 404.html
- run: cp dist/index.html dist/404.html
-
- - name: Setup Pages
- uses: actions/configure-pages@v6
-
- - name: Upload Pages artifact
- uses: actions/upload-pages-artifact@v5
- with:
- path: dist
-
- deploy:
- name: Deploy
- needs: build
- runs-on: ubuntu-latest
- environment:
- name: github-pages
- url: ${{ steps.deployment.outputs.page_url }}
- steps:
- - name: Deploy to GitHub Pages
- id: deployment
- uses: actions/deploy-pages@v5
diff --git a/.github/workflows/notify-ci-failure.yml b/.github/workflows/notify-ci-failure.yml
index 521decc..1ea761e 100644
--- a/.github/workflows/notify-ci-failure.yml
+++ b/.github/workflows/notify-ci-failure.yml
@@ -2,20 +2,16 @@ name: Notify CI Failures
on:
workflow_run:
- # Subscribe only to the workflow we actually want failure notifications
- # for. The previous catch-all ("*") triggered this workflow on every
- # completion (deploy, release, notify itself), most of which immediately
- # skipped — adding noise to the Actions tab.
- workflows: ["CI"]
+ workflows: ["CI", "Production smoke"]
types: [completed]
-# REQUIRED: declare permissions matching the reusable workflow's needs.
-# Reusable needs `actions: read` to inspect workflow_run details.
-permissions:
- contents: read
- actions: read
+permissions: {}
jobs:
notify:
- uses: poli0981/.github/.github/workflows/notify-ci-failure.yml@main
- secrets: inherit
+ permissions:
+ contents: read
+ actions: read
+ uses: poli0981/.github/.github/workflows/notify-ci-failure.yml@c3e118a01d40e95b36b2c3466dc206638c11eb5a # main 2026-07-06
+ secrets:
+ DISCORD_CI_WEBHOOK: ${{ secrets.DISCORD_CI_WEBHOOK }}
diff --git a/.github/workflows/notify-release-pipeline.yml b/.github/workflows/notify-release-pipeline.yml
index 769554b..5616eb0 100644
--- a/.github/workflows/notify-release-pipeline.yml
+++ b/.github/workflows/notify-release-pipeline.yml
@@ -2,17 +2,16 @@ name: Notify Release Pipeline
on:
workflow_run:
- # Subscribe only to release-pipeline workflows. The previous catch-all
- # ("*") triggered this workflow on every completion (including CI and
- # this workflow itself), most of which immediately skipped.
- workflows: ["Release Tauri bundles", "Deploy to GitHub Pages"]
+ workflows: ["Release Tauri bundles"]
types: [completed]
-permissions:
- contents: read
- actions: read
+permissions: {}
jobs:
notify:
- uses: poli0981/.github/.github/workflows/notify-release-pipeline.yml@main
- secrets: inherit
+ permissions:
+ contents: read
+ actions: read
+ uses: poli0981/.github/.github/workflows/notify-release-pipeline.yml@c3e118a01d40e95b36b2c3466dc206638c11eb5a # main 2026-07-06
+ secrets:
+ DISCORD_RELEASE_PIPELINE_WEBHOOK: ${{ secrets.DISCORD_RELEASE_PIPELINE_WEBHOOK }}
diff --git a/.github/workflows/pages-redirect.yml b/.github/workflows/pages-redirect.yml
new file mode 100644
index 0000000..4b0fe6e
--- /dev/null
+++ b/.github/workflows/pages-redirect.yml
@@ -0,0 +1,45 @@
+name: Pages redirect
+
+# GitHub Pages used to host the web app at poli0981.github.io/jsonPrism/. It now
+# serves only a redirect to https://jsonprism.poli0981.dev that keeps the path,
+# so old links from YouTube, Discord and READMEs still land on the right page.
+# Run it by hand after changing .github/pages-redirect/.
+
+on:
+ workflow_dispatch:
+
+permissions: {}
+
+concurrency:
+ group: pages
+ cancel-in-progress: false
+
+jobs:
+ deploy:
+ name: Deploy redirect
+ runs-on: ubuntu-24.04
+ timeout-minutes: 5
+ permissions:
+ contents: read
+ pages: write
+ id-token: write
+ environment:
+ name: github-pages
+ url: ${{ steps.deployment.outputs.page_url }}
+ steps:
+ - name: Checkout
+ uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
+ with:
+ persist-credentials: false
+
+ - name: Setup Pages
+ uses: actions/configure-pages@45bfe0192ca1faeb007ade9deae92b16b8254a0d # v6.0.0
+
+ - name: Upload the redirect pages
+ uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5.0.0
+ with:
+ path: .github/pages-redirect
+
+ - name: Deploy
+ id: deployment
+ uses: actions/deploy-pages@368f82528645a54fb793d4d04e342629a3f51346 # v5.0.1
diff --git a/.github/workflows/production-smoke.yml b/.github/workflows/production-smoke.yml
new file mode 100644
index 0000000..27261f1
--- /dev/null
+++ b/.github/workflows/production-smoke.yml
@@ -0,0 +1,64 @@
+name: Production smoke
+
+# Cloudflare Workers Builds deploys every push to main to
+# https://jsonprism.poli0981.dev. This waits until the site serves the pushed
+# commit (index.html carries ), then checks the
+# security headers, routing, redirects and the API. Failures reach Discord via
+# notify-ci-failure.yml.
+
+on:
+ push:
+ branches: [main]
+ workflow_dispatch:
+
+permissions: {}
+
+concurrency:
+ group: production-smoke
+ cancel-in-progress: true
+
+env:
+ SITE: https://jsonprism.poli0981.dev
+ UA: jsonprism-smoke (+https://github.com/poli0981/jsonPrism)
+
+jobs:
+ smoke:
+ name: Check production
+ runs-on: ubuntu-24.04
+ timeout-minutes: 20
+ permissions: {}
+ steps:
+ - name: Wait for this commit to go live
+ if: github.event_name == 'push'
+ env:
+ SHA: ${{ github.sha }}
+ run: |
+ want="${SHA:0:7}"
+ for attempt in $(seq 1 60); do
+ live=$(curl -fsS -A "$UA" --max-time 10 "$SITE/" | sed -n 's/.* > "$GITHUB_OUTPUT"
+
+ - name: Setup Node
+ uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
+ with:
+ node-version-file: .nvmrc
+ cache: npm
+
+ - name: Install dependencies
+ run: npm ci --ignore-scripts --no-audit --no-fund
+
+ - name: Test
+ run: npm test
+
+ # One draft for the whole matrix: parallel "find or create" calls used to
+ # race and split the assets across duplicate drafts.
create-release:
name: Create draft release
- runs-on: ubuntu-latest
+ needs: verify
+ runs-on: ubuntu-24.04
+ timeout-minutes: 5
+ permissions:
+ contents: write
outputs:
- release_id: ${{ steps.create-release.outputs.result }}
+ release_id: ${{ steps.release.outputs.result }}
steps:
- - name: Create draft release
- id: create-release
- uses: actions/github-script@v9
+ - name: Create or reuse the draft
+ id: release
+ uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
with:
script: |
- const tag = context.ref.replace('refs/tags/', '').replace('refs/heads/', '');
+ const tag = process.env.TAG;
+ const { owner, repo } = context.repo;
+ const releases = await github.paginate(github.rest.repos.listReleases, { owner, repo, per_page: 100 });
+ const existing = releases.find((r) => r.tag_name === tag);
+ if (existing) {
+ if (!existing.draft) throw new Error(`Release ${tag} is already published; delete it or tag a new version.`);
+ core.info(`Reusing draft ${existing.id}`);
+ return existing.id;
+ }
const { data } = await github.rest.repos.createRelease({
- owner: context.repo.owner,
- repo: context.repo.repo,
+ owner,
+ repo,
tag_name: tag,
name: `JSONPrism ${tag}`,
- body: [
- 'Native desktop builds for Windows, macOS, and Linux, plus an Android APK (sideload, Android 12+).',
- '',
- 'Android: download the `.apk`, then enable "install unknown apps" for your browser/file manager to sideload.',
- '',
- 'See the [CHANGELOG](https://github.com/poli0981/jsonPrism/blob/main/CHANGELOG.md) for details.',
- ].join('\n'),
draft: true,
- prerelease: false,
+ prerelease: tag.includes('-'),
+ body: [
+ 'Native builds for Windows, macOS (universal) and Linux, plus an Android APK (sideload, Android 12+). The web app runs at https://jsonprism.poli0981.dev.',
+ '',
+ 'Verify a download with `sha256sum -c SHA256SUMS.txt --ignore-missing`, or check its build provenance with `gh attestation verify --repo poli0981/jsonPrism`.',
+ '',
+ 'Android: download the `.apk`, then allow "install unknown apps" for your browser or file manager.',
+ '',
+ `See the [CHANGELOG](https://github.com/${owner}/${repo}/blob/${tag}/CHANGELOG.md) for details.`,
+ ].join('\n'),
});
return data.id;
- build:
+ desktop:
name: Build · ${{ matrix.platform.name }}
needs: create-release
runs-on: ${{ matrix.platform.runner }}
- timeout-minutes: 40
-
+ timeout-minutes: 45
+ permissions:
+ contents: write
strategy:
fail-fast: false
matrix:
@@ -61,118 +126,108 @@ jobs:
- name: macOS (universal)
runner: macos-14
args: '--target universal-apple-darwin'
+ # The oldest supported Ubuntu keeps the AppImage/deb glibc floor low.
- name: Linux
runner: ubuntu-22.04
args: ''
-
steps:
- name: Checkout
- uses: actions/checkout@v7
+ uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
+ with:
+ ref: refs/tags/${{ env.TAG }}
+ persist-credentials: false
- name: Install Linux build dependencies
- if: matrix.platform.runner == 'ubuntu-22.04'
+ if: runner.os == 'Linux'
run: |
sudo apt-get update
- sudo apt-get install -y \
- libwebkit2gtk-4.1-dev \
- libappindicator3-dev \
- librsvg2-dev \
- patchelf \
- libssl-dev \
- libgtk-3-dev
+ sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf libssl-dev libgtk-3-dev
- - name: Setup Node 22
- uses: actions/setup-node@v6
+ - name: Setup Node
+ uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
- node-version: 22.x
+ node-version-file: .nvmrc
cache: npm
- - name: Setup Rust (stable)
- uses: dtolnay/rust-toolchain@stable
+ - name: Setup Rust
+ uses: dtolnay/rust-toolchain@683b588c487a69d01f6c6ddf40f036ff682cc2c8 # master
with:
- # macOS universal2 build needs both aarch64 + x86_64 targets installed.
- targets: ${{ matrix.platform.runner == 'macos-14' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }}
+ toolchain: stable
+ # The universal macOS bundle needs both Apple targets.
+ targets: ${{ runner.os == 'macOS' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }}
- - name: Cache Cargo build artifacts
- uses: swatinem/rust-cache@v2
+ - name: Cache Cargo
+ uses: swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2.9.3
with:
workspaces: './src-tauri -> target'
+ key: ${{ matrix.platform.runner }}
- - name: Install npm dependencies
- run: npm ci --no-audit --no-fund
+ - name: Install dependencies
+ run: npm ci --ignore-scripts --no-audit --no-fund
- - name: Generate icons (Linux & macOS)
- if: matrix.platform.runner != 'windows-latest'
+ - name: Generate icons
run: npm run tauri:icon
- - name: Generate icons (Windows)
- if: matrix.platform.runner == 'windows-latest'
- run: npm run tauri:icon
- shell: pwsh
-
- - name: Build, sign, and upload to release
- uses: tauri-apps/tauri-action@v0
+ - name: Build and upload to the draft
+ uses: tauri-apps/tauri-action@1deb371b0cd8bd54025b384f1cd735e725c4060f # action-v1.0.0
env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ GITHUB_TOKEN: ${{ github.token }}
with:
- # Upload into the single draft created by the create-release job above
- # instead of finding/creating one per matrix job (which caused
- # duplicate drafts + split assets). The maintainer un-drafts manually.
releaseId: ${{ needs.create-release.outputs.release_id }}
args: ${{ matrix.platform.args }}
- # Android is built separately: tauri-action does not build mobile targets, so
- # this job drives the Tauri CLI directly (Java + Android SDK/NDK + Rust android
- # targets), signs with the release keystore from secrets, and uploads the
- # universal APK into the same draft release as the desktop bundles.
- #
- # Requires these repository secrets (see docs/TAURI-NOTES.md):
- # ANDROID_KEYSTORE_BASE64 base64 of upload-keystore.jks
- # ANDROID_KEYSTORE_PASSWORD the keystore (store) password
- # ANDROID_KEY_PASSWORD the key password (optional; defaults to store password)
- # ANDROID_KEY_ALIAS the key alias (optional; defaults to "upload")
+ # tauri-action builds desktop targets only; Android drives the Tauri CLI
+ # directly and signs with the release keystore (see docs/TAURI-NOTES.md):
+ # ANDROID_KEYSTORE_BASE64, ANDROID_KEYSTORE_PASSWORD,
+ # ANDROID_KEY_PASSWORD (optional), ANDROID_KEY_ALIAS (optional, "upload").
android:
name: Build · Android (APK)
- needs: create-release
- runs-on: ubuntu-latest
- timeout-minutes: 40
+ needs: [verify, create-release]
+ runs-on: ubuntu-24.04
+ timeout-minutes: 45
+ permissions:
+ contents: write
steps:
- name: Checkout
- uses: actions/checkout@v7
+ uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
+ with:
+ ref: refs/tags/${{ env.TAG }}
+ persist-credentials: false
- name: Setup Java 17
- uses: actions/setup-java@v5
+ uses: actions/setup-java@b843ebf9b913146b38da2eaa7aeddf76074ae1ad # v6.1.0
with:
distribution: temurin
java-version: '17'
- name: Setup Android SDK
- uses: android-actions/setup-android@v4
+ uses: android-actions/setup-android@be39fa834029ff78f1a44aa3bb0819b8fc2bd8fd # v4.0.4
- - name: Install SDK platform + NDK
+ - name: Install SDK platform and NDK
run: |
sdkmanager "platforms;android-36" "ndk;27.2.12479018"
echo "NDK_HOME=$ANDROID_HOME/ndk/27.2.12479018" >> "$GITHUB_ENV"
- - name: Setup Rust (stable) + Android targets
- uses: dtolnay/rust-toolchain@stable
+ - name: Setup Rust with Android targets
+ uses: dtolnay/rust-toolchain@683b588c487a69d01f6c6ddf40f036ff682cc2c8 # master
with:
+ toolchain: stable
targets: aarch64-linux-android,armv7-linux-androideabi,i686-linux-android,x86_64-linux-android
- - name: Cache Cargo build artifacts
- uses: swatinem/rust-cache@v2
+ - name: Cache Cargo
+ uses: swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2.9.3
with:
workspaces: './src-tauri -> target'
key: android
- - name: Setup Node 22
- uses: actions/setup-node@v6
+ - name: Setup Node
+ uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
- node-version: 22.x
+ node-version-file: .nvmrc
cache: npm
- - name: Install npm dependencies
- run: npm ci --no-audit --no-fund
+ - name: Install dependencies
+ run: npm ci --ignore-scripts --no-audit --no-fund
- name: Generate icons
run: npm run tauri:icon
@@ -185,7 +240,7 @@ jobs:
ANDROID_KEY_ALIAS: ${{ secrets.ANDROID_KEY_ALIAS }}
run: |
if [ -z "$ANDROID_KEYSTORE_BASE64" ]; then
- echo "::error::ANDROID_KEYSTORE_BASE64 secret is not set — cannot sign the release APK."
+ echo "::error::ANDROID_KEYSTORE_BASE64 is not set; cannot sign the release APK."
exit 1
fi
KEYSTORE_PATH="$RUNNER_TEMP/upload-keystore.jks"
@@ -200,22 +255,86 @@ jobs:
- name: Build signed universal APK
run: npm run tauri -- android build --apk
- - name: Upload APK to release
- uses: actions/github-script@v9
+ - name: Upload the APK to the draft
+ uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
+ env:
+ RELEASE_ID: ${{ needs.create-release.outputs.release_id }}
+ VERSION: ${{ needs.verify.outputs.version }}
with:
script: |
- const fs = require('fs');
- const tag = context.ref.replace('refs/tags/', '').replace('refs/heads/', '');
+ const fs = require('node:fs');
+ const { owner, repo } = context.repo;
+ const releaseId = Number(process.env.RELEASE_ID);
const dir = 'src-tauri/gen/android/app/build/outputs/apk/universal/release';
const apks = fs.readdirSync(dir).filter((f) => f.endsWith('.apk'));
- if (apks.length === 0) throw new Error(`No APK found in ${dir}`);
- const src = `${dir}/${apks[0]}`;
- const name = `JSONPrism-${tag}-android-universal.apk`;
+ if (apks.length !== 1) throw new Error(`Expected one APK in ${dir}, found: ${apks.join(', ') || 'none'}`);
+ // Same naming scheme as the desktop bundles.
+ const name = `JSONPrism_${process.env.VERSION}_android-universal.apk`;
+ const assets = await github.paginate(github.rest.repos.listReleaseAssets, { owner, repo, release_id: releaseId });
+ for (const old of assets.filter((a) => a.name === name)) {
+ await github.rest.repos.deleteReleaseAsset({ owner, repo, asset_id: old.id });
+ }
await github.rest.repos.uploadReleaseAsset({
- owner: context.repo.owner,
- repo: context.repo.repo,
- release_id: ${{ needs.create-release.outputs.release_id }},
+ owner,
+ repo,
+ release_id: releaseId,
name,
- data: fs.readFileSync(src),
+ data: fs.readFileSync(`${dir}/${apks[0]}`),
+ });
+ core.info(`Uploaded ${name}`);
+
+ checksums:
+ name: Checksums and provenance
+ needs: [create-release, desktop, android]
+ runs-on: ubuntu-24.04
+ timeout-minutes: 15
+ permissions:
+ contents: write
+ id-token: write
+ attestations: write
+ steps:
+ - name: Download the draft's assets
+ env:
+ GH_TOKEN: ${{ github.token }}
+ RELEASE_ID: ${{ needs.create-release.outputs.release_id }}
+ run: |
+ mkdir assets
+ gh api --paginate "repos/$GITHUB_REPOSITORY/releases/$RELEASE_ID/assets" \
+ --jq '.[] | select(.name != "SHA256SUMS.txt") | [.id, .name] | @tsv' |
+ while IFS=$'\t' read -r id name; do
+ gh api -H 'Accept: application/octet-stream' "repos/$GITHUB_REPOSITORY/releases/assets/$id" > "assets/$name"
+ done
+ ls -l assets
+
+ - name: Write SHA256SUMS.txt
+ working-directory: assets
+ run: |
+ sha256sum -- * > ../SHA256SUMS.txt
+ cat ../SHA256SUMS.txt
+
+ - name: Attest build provenance
+ uses: actions/attest-build-provenance@4d101475d8b20a2381f78447822ac1eab6504dd8 # v4.2.2
+ with:
+ subject-path: assets/*
+
+ - name: Upload SHA256SUMS.txt to the draft
+ uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
+ env:
+ RELEASE_ID: ${{ needs.create-release.outputs.release_id }}
+ with:
+ script: |
+ const fs = require('node:fs');
+ const { owner, repo } = context.repo;
+ const releaseId = Number(process.env.RELEASE_ID);
+ const name = 'SHA256SUMS.txt';
+ const assets = await github.paginate(github.rest.repos.listReleaseAssets, { owner, repo, release_id: releaseId });
+ for (const old of assets.filter((a) => a.name === name)) {
+ await github.rest.repos.deleteReleaseAsset({ owner, repo, asset_id: old.id });
+ }
+ await github.rest.repos.uploadReleaseAsset({
+ owner,
+ repo,
+ release_id: releaseId,
+ name,
+ data: fs.readFileSync(name),
});
- core.info(`Uploaded ${name} from ${src}`);
diff --git a/.gitignore b/.gitignore
index d6732da..a86b0a3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -53,3 +53,11 @@ coverage
*.tsbuildinfo
.claude/
+
+# Cloudflare Workers (wrangler)
+.wrangler/
+.dev.vars
+.dev.vars.*
+!.dev.vars.example
+# Generated by `npm run cf:types` (wrangler types) — regenerate, don't commit.
+worker-configuration.d.ts
diff --git a/.nvmrc b/.nvmrc
index 2bd5a0a..6f4247a 100644
--- a/.nvmrc
+++ b/.nvmrc
@@ -1 +1 @@
-22
+26
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 47c4711..f9089f0 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -8,6 +8,80 @@ The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and
No unreleased changes at this time. Future work tracked in `docs/ROADMAP.md` under "Beyond".
+## [2.0.0] — 2026-10-22
+
+A new home, a hardened toolchain and a full audit. The web app moves to **** on Cloudflare Workers; the old GitHub Pages address redirects there, keeping the path. Because the website now uses Cloudflare services, the Privacy Policy and Terms are at version 2.0 and **everyone is asked to accept them again** (`CONSENT_VERSION` 2).
+
+### Added
+
+- **Cloudflare Workers hosting.** `wrangler.jsonc` serves `dist/` as static assets with an SPA fallback on the custom domain; only `/api/*` runs Worker code (`worker/`). Cloudflare Workers Builds deploys every push to `main` and publishes a Worker Preview for other branches (`previews` block). New scripts: `cf:types`, `cf:check` (deploy dry run, also in CI) and `preview:cf` (`wrangler dev` on port 8787; `wrangler.jsonc` builds first). See `docs/DEPLOYMENT.md`.
+- **Edge security headers** in `public/_headers`: a strict CSP, HSTS, `nosniff`, `X-Frame-Options: DENY`, `Referrer-Policy`, `Permissions-Policy`, COOP, and immutable caching for hashed assets. `public/_redirects` 301s the old `/jsonPrism/*` paths. Also new: `robots.txt`, `sitemap.xml`, `/.well-known/security.txt`, an Open Graph image and canonical URLs.
+- **Cloudflare Turnstile human check (web only).** Runs inside the Consent Gate and is verified server-side by `POST /api/turnstile/verify` (same-origin check, JSON only, 4 KB body cap, per-client rate limit, siteverify with retry and hostname/action/age checks, no visitor IP sent). A pass is remembered for 7 days. A rejected token keeps the gate closed; if Cloudflare cannot be reached the user may continue after a warning, since conversion never needs the network. `GET /api/health` reports Worker health.
+- **Cloudflare Web Analytics (web only, cookieless).** Loaded only on the production hostname, after consent, while the new Appearance toggle is on; it starts off when the browser sends Global Privacy Control.
+- **Appearance menu** replacing the theme toggle: light / dark / system theme, **hide scrollbars** (scrolling still works) and, on the web, the analytics switch. Custom thin scrollbars everywhere, including the editors.
+- **Web Worker conversion.** Inputs over 256 KB and every batch job convert off the main thread (`src/lib/convert-worker.ts`, `convert-client.ts`), with cancellation and a main-thread fallback only if the worker cannot load.
+- **Logging and diagnostics.** `src/lib/logger.ts` keeps the last 200 log lines in memory (never sent anywhere) and catches global errors; About → **Copy diagnostics** copies version, commit, platform and recent logs for bug reports.
+- **CSV `escapeFormulae` option** (off by default) that prefixes cells starting with `=`, `+`, `-`, `@`, a tab or a carriage return with `'`, so spreadsheet apps don't run them as formulas.
+- **Precision warning** when the input contains integers beyond 2^53, which JavaScript cannot represent exactly.
+- **Release integrity.** Releases include `SHA256SUMS.txt` and GitHub build-provenance attestations (`gh attestation verify`).
+- **Production smoke workflow** that waits for each merge to go live and checks headers, routing, redirects and the API.
+- Per-route page titles, build commit in the header and About page, and the Android-friendly `viewport-fit=cover` with safe-area padding.
+
+### Changed
+
+- **Toolchain.** Node.js 26 (`.nvmrc`, `engines >=26`). **TypeScript 7** native compiler (`@typescript/native` provides `tsc`; `typescript` is an alias for the TS 6 API that typescript-eslint still needs), target ES2025 while app code keeps the ES2023 library so the Android WebView 111 / macOS 12 floors hold. Separate tsconfigs for app, tests, config files and the Worker. Vite 8 `codeSplitting.groups` replaces the deprecated `advancedChunks`.
+- **Dependencies to current majors**: React 19.3, React Router 8 (`react-router` only), i18next 26 / react-i18next 17, js-yaml 5, lucide-react 1, tailwind-merge 3, react-dropzone 20, Vitest 5, jsdom 30, ESLint 10, eslint-plugin-react-hooks 7 (React Compiler rules), wrangler 4, Tauri 2.12. `npm audit` reports no vulnerabilities.
+- **"Technical" UI refresh, same layout.** Blueprint grid, mono labels, corner ticks, separate light and dark prism colours (light-theme text now meets 4.5:1 contrast), success/warning tokens, a terminal-style status bar (state, bytes in → out, time, encoding), animated icons behind `prefers-reduced-motion`, and headings in Geist (Instrument Serif lacked Vietnamese glyphs). Format chips that don't suit the detected shape get a dashed border instead of faded text. The theme is applied before first paint (`public/theme-init.js`), so there is no flash.
+- **Consent Gate.** Also shown on macOS and Linux desktop (only the Windows installer has its own license page); legal links point at the exact commit of the build; the app renders behind the gate instead of a blank page.
+- **Faster typing.** One layout rendered at a time, stable editor extensions (no reconfiguration per keystroke), deferred live conversion, a virtualised read-only CodeMirror for output, batched batch-progress updates and streaming ZIP creation.
+- **Tauri bundles carry no web-only code.** The analytics beacon and the Turnstile widget are compiled out of desktop and Android builds instead of only being switched off at runtime.
+- **Tauri permissions narrowed.** The static file scope is now Documents, Downloads and Desktop (previously all of `$HOME`); files you pick or drop are added at runtime. Dotfiles never match scope globs, unused permissions (`os`, `set-title`, `write-text-file`, message dialogs) are gone, and the app CSP adds `object-src 'none'`, `base-uri`, `form-action` and `frame-ancestors`. The version now comes from `package.json`; Android `versionCode` 20000 and `allowBackup="false"`.
+- **Keyboard shortcuts.** Ctrl/⌘+S downloads, Ctrl/⌘+, opens settings; Ctrl/⌘+K (clear) is removed because it hijacked the browser's search. Shortcuts ignore key repeat, IME composition and open dialogs.
+- **Internationalisation.** Japanese and Simplified Chinese gained 27 missing strings, unused keys were removed, remaining hard-coded strings (including CodeMirror's search and lint panels) are translated, and a test keeps the four locales in sync.
+- **CI and releases.** Actions pinned to commit SHAs, least-privilege permissions, `npm ci --ignore-scripts`, a TypeScript 7 guard, coverage, a Rust `fmt`/`clippy` job and SonarQube Cloud analysis. Releases check that the tag matches the app version, run the tests first, build into a single draft and name the APK `JSONPrism__android-universal.apk`. Notification workflows pass only the secrets they need to pinned reusable workflows, and GitHub Discussions no longer receive a post for every deploy. Dependabot groups related packages (majors included) and waits a few days before proposing new releases.
+- **Documentation and legal.** Privacy Policy and Terms 2.0, refreshed Disclaimer, Security policy (2.x supported, Worker and edge in scope), Code of Conduct, contributing guide, third-party notices, new `docs/DEPLOYMENT.md`, and project contacts at `@poli0981.dev`.
+
+### Fixed
+
+- **CSV** used only the first row's keys as columns, silently dropping fields that appeared later; columns are now the union across rows. Reverse parsing turns only canonical numbers into numbers (no more `007` → `7` or dates guessed), and keys like `__proto__` are stored safely.
+- **Batch ZIP** stored base64 text for BSON, CBOR and MessagePack; it now contains the real bytes. Pressing *Process* a second time no longer wipes earlier results, cancelling returns unfinished files to the queue, and duplicate output names are made unique case-insensitively.
+- **SQL INSERT**: MySQL string literals escape backslashes (a `\'` payload could break out of the string), MSSQL uses `N'…'` and `NVARCHAR`, `CREATE TABLE` types are inferred from all rows (`BIGINT`, `DECIMAL(38, 0)` for huge integers), dotted table names are quoted per part, and MSSQL batches are capped at its 1000-row limit.
+- **RESX** reverse keeps values such as `"007"` as strings, validates the XML and rejects `DOCTYPE`; output always includes the resheaders, encodes carriage returns and replaces characters XML cannot carry.
+- **XML** produced invalid documents for keys that are not valid element names; names are now sanitised (the original kept in a `key` attribute), nested arrays are wrapped, control characters replaced, root/item names validated and every result checked with a validator.
+- **BSON** documents over 16 MiB were silently truncated; they now return a clear error.
+- **YAML** `quoteStyle` had no effect; it works again with js-yaml 5. Alias and merge-key bombs are capped, and empty input reports an error instead of `undefined`.
+- **TOML** reports `null` values with their path (or omits them, by option), keeps integers beyond 2^53 exact and sorts keys deterministically.
+- **JSONL** tolerates a BOM and reports real line numbers, blank lines included.
+- **JSON errors** show the correct line and column in Chromium, Firefox and WebKit.
+- The editor inserted the text of dropped files itself, racing the file loader; file drops now go only to the drop zone. An empty editor is no longer flagged as invalid JSON, JSONL typed in the → JSON direction is checked line by line instead of being marked invalid, and a leading byte-order mark is accepted like the converter accepts it.
+- File sizes just under 1 MiB showed as "1024.0 KB".
+- **Download** and Ctrl/⌘+S reported success on Android without saving; desktop and Android now use the native save dialog.
+- Native open dialogs filter by conversion direction and accept `.yml`, `.ndjson` and `.markdown`; a drag-and-drop listener could leak when the component unmounted early.
+- Route errors now reset when you navigate away, and a stale tab that fails to load a chunk after a deploy reloads once instead of breaking.
+- Stored options and formats are validated, so corrupt `localStorage` can no longer crash the app; blocked storage is tolerated everywhere.
+- Accessibility: live regions for errors, status and batch progress; accessible names for the editors; `aria-pressed` on toggle groups; touch targets of at least 24 px; `` follows the interface language.
+
+### Removed
+
+- The GitHub Pages deployment (`deploy.yml`, `public/404.html` and the SPA redirect script). Pages now serves only a redirect page (`pages-redirect.yml`, run by hand).
+- `react-router-dom`, `@fontsource/instrument-serif`, `@types/js-yaml` and the unused `os` plugin (`@tauri-apps/plugin-os`, `tauri-plugin-os`).
+
+### Security
+
+- Fixed the MySQL backslash escaping flaw in the SQL converter (see Fixed) and the XML/RESX output issues that could yield malformed documents.
+- Narrowed the desktop file-system scope and permissions, disabled Android backups and tightened both CSPs (see Changed).
+- Resolved the open npm Dependabot alerts by upgrading react-router, js-yaml, undici, postcss, smol-toml, brace-expansion, source-map-js and vitest.
+
+### Tests
+
+- **864 tests in 92 files** (up from 215), 97% line and 91% branch coverage: regression tests for every fix above, a contract test that feeds hostile input to every converter, component tests for the whole UI (Testing Library + user-event, with a fake Turnstile widget and Tauri IPC mocks), hook, store and storage tests, the Web Worker client, locale parity, and Worker tests for the verify endpoint and router. Vitest runs two projects (`app` in jsdom, `worker` in Node) and reports coverage to SonarQube Cloud, whose quality gate now passes.
+
+## [1.7.2] — 2026-06-16
+
+### Fixed
+
+- **External links open on Android.** Links tapped in the Android app — the Consent Gate's legal links, the footer and About links — did nothing: `@tauri-apps/plugin-shell`'s `open()` has no URL handler on Android and failed with "os error 2". `openExternal()` now uses `@tauri-apps/plugin-opener`'s `openUrl()`, which hands the URL to the system browser through `Intent.ACTION_VIEW`. The shell plugin, its capability and its npm package were removed. Verified on an Android 13 emulator. `bundle.android.versionCode` 10702.
+
## [1.7.1] — 2026-06-16
### Fixed
diff --git a/CLAUDE.md b/CLAUDE.md
index 9d706cd..160dc33 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -4,111 +4,151 @@ Guidance for Claude (and other AI assistants) working on this repository.
## Project context
-**JSONPrism** is a client-side JSON converter web app. Single JSON input → many formats (JSONL, CSV, TSV, YAML, XML, TOML, RESX, Markdown table, SQL INSERT). Deployed to GitHub Pages; later wrapped in Tauri 2 as a desktop app.
+**JSONPrism** converts one JSON input into 12 formats (JSONL, CSV, TSV, YAML, XML, TOML, .NET RESX, Markdown table, SQL INSERT, BSON, CBOR, MessagePack) and parses six of them (JSONL, CSV, TSV, YAML, TOML, RESX) back. Conversion always runs on the user's device. It ships as:
-The maintainer is **Kokone** ([@poli0981](https://github.com/poli0981)). Audience: developer community on the open-source Discord server + YouTube viewers who watch indie/visual-novel gameplay and occasionally want a quick devtool.
+- a web app at , served by the Cloudflare Worker `jsonprism` (static assets + a tiny `/api/*` Worker), deployed by Cloudflare Workers Builds on every push to `main`;
+- native apps built with Tauri 2: Windows, macOS, Linux and Android (sideload APK).
-**Project phase**: Phase 0 scaffold complete. Phase 1 polishes the four working converters and adds CodeMirror. Phase 2 implements XML/TOML/Markdown/SQL and the Tauri build. Phase 3 implements RESX.
+GitHub Pages (`poli0981.github.io/jsonPrism`) now only redirects to the new domain.
+
+The maintainer is **Kokone** ([@poli0981](https://github.com/poli0981)). Audience: the developer community on the open-source Discord server plus YouTube viewers who watch indie/visual-novel gameplay and occasionally want a quick devtool.
+
+**Current release**: 2.0.0. See [`docs/ROADMAP.md`](docs/ROADMAP.md) for what is next.
## Stack — exact versions matter
-- **Node.js** 22.x LTS (minimum 22.0.0; enforced in `package.json` `engines`)
-- **React** 19.x (uses new JSX transform, `use()` hook, ref-as-prop)
-- **TypeScript** 5.7+ (strict mode; `verbatimModuleSyntax`; `erasableSyntaxOnly`)
-- **Vite** 6.x (ES2022 target, `@tailwindcss/vite` plugin)
-- **Tailwind CSS** v4 (new `@theme inline` syntax in CSS, NOT `tailwind.config.ts`)
-- **shadcn/ui** New York style, neutral base, configured in `components.json`
-- **ESLint** v9 flat config + `typescript-eslint` v8
-- **Prettier** 3.x with `prettier-plugin-tailwindcss`
+- **Node.js** 26 (`.nvmrc`; `engines.node` >= 26.0.0). npm 11; nothing needs dependency install scripts (CI runs `npm ci --ignore-scripts`).
+- **TypeScript 7** (native compiler) — `@typescript/native` (`npm:typescript@^7`) provides `tsc`. The `typescript` package is an alias for `@typescript/typescript6` and exists only because typescript-eslint needs the TS 6 API; don't "fix" the alias. Remove it once TS 7.1 ships an API and typescript-eslint supports it.
+ - Strict mode, `verbatimModuleSyntax`, `erasableSyntaxOnly` (no enums, no parameter properties), no `baseUrl` (TS 7 rejects it; `paths` only), `types` listed explicitly per tsconfig (TS 7 defaults to `[]`).
+ - `target` ES2025, but app `lib` is ES2023: **don't use ES2025 runtime APIs** (Iterator helpers, Set methods, `Promise.try`, `RegExp.escape`…). The floors are Android WebView Chromium 111 and macOS 12 WebKit.
+ - tsconfigs: `tsconfig.app.json` (browser code), `tsconfig.test.json` (tests, Node types), `tsconfig.node.json` (config files), `tsconfig.worker.json` (Worker; types from `wrangler types`).
+- **React** 19.3 (new JSX transform, `use()`, ref-as-prop, `` hoisting), **React Router** 8 (`react-router` only).
+- **Vite** 8 (Rolldown + Oxc). Chunks are split with `build.rollupOptions.output.codeSplitting.groups` (the old `manualChunks`/`advancedChunks` forms are deprecated). Leave `build.target` at the default; an ES-year target also raises the CSS target.
+- **Tailwind CSS** v4 (`@theme inline` in CSS, no `tailwind.config.ts`), **shadcn/ui** New York style in `components.json`.
+- **ESLint** 10 flat config (`defineConfig`) + typescript-eslint 8, eslint-plugin-react-hooks 7 (React Compiler rules: no setState in effects, no components defined during render, pure render), react-refresh.
+- **Prettier** 3 with `prettier-plugin-tailwindcss`, **Knip**, **Vitest** 5 (projects: `app` = jsdom, `worker` = node).
+- **Cloudflare**: wrangler 4, `wrangler.jsonc`, Worker code in `worker/`.
Do not propose downgrading or "modernizing" to deprecated patterns.
-## Tauri 2 desktop wrapper
+## Web platform (Cloudflare)
-JSONPrism is shipped as both a web app (GitHub Pages) and a native desktop app (Tauri 2 bundles). The same React UI runs in both contexts.
+- `wrangler.jsonc`: static assets from `dist/` with SPA fallback; only `/api/*` runs the Worker (`run_worker_first`). Bindings: `ASSETS`, `VERIFY_LIMITER` (rate limit), var `ALLOWED_HOSTNAMES`, secret `TURNSTILE_SECRET` (dashboard; locally `.dev.vars`, copied from `.dev.vars.example`).
+- `worker/index.ts` may only have a **default export** — workerd treats every named export of the entry module as an entrypoint and refuses to start. Put shared code in other modules (`worker/verify.ts`, `worker/turnstile.ts`, `worker/http.ts`).
+- Worker logs are structured (`logEvent`) and must never contain IPs, tokens or user content.
+- `public/_headers` holds the CSP and security headers; `public/_redirects` maps the old `/jsonPrism/*` paths. Adding any third-party script, style, font or connection means updating the CSP there (and the Tauri CSP in `tauri.conf.json` if it applies to the apps).
+- `wrangler dev` rewrites the request URL and `Origin` to the production route; the verify endpoint relaxes its origin check only under Cloudflare's test secret.
+- Local preview of the real edge setup: `npm run preview:cf` (http://localhost:8787). `npm run cf:check` is the deploy dry run CI uses.
-**Runtime detection**: `isTauri()` from `src/lib/tauri.ts` is the single source of truth. The web bundle never imports Tauri modules statically — they're behind dynamic imports gated by `isTauri()` so tree-shaking keeps web builds clean.
+## Web-only services
-**When to branch on `isTauri()`**:
+Turnstile and Web Analytics exist **only in the web build** — never in Tauri builds, never in `npm run dev` (Turnstile can be forced with `VITE_TURNSTILE_DEV=1`).
-- File dialogs: web uses hidden ` `; Tauri uses `plugin-dialog`
-- Save .zip: web uses Blob URL download; Tauri uses native save dialog + `plugin-fs.writeFile`
-- Drag-drop from File Explorer / Finder: web uses `react-dropzone`; Tauri uses `tauri://drag-drop` event via `useTauriDragDrop`
+- **Turnstile** (`src/lib/turnstile.ts`, `src/components/common/HumanCheck.tsx`, `worker/verify.ts`): runs in the Consent Gate, verified server-side, remembered 7 days. Rejected token → gate stays closed. Cloudflare unreachable → let the user continue after a warning (conversion never needs the network). Keep the action name in sync between client and Worker.
+- **Web Analytics** (`src/lib/analytics.ts`): injected only on the production hostname, after consent, while the Appearance toggle is on (default off under Global Privacy Control).
+- Changing what the website collects means updating `PRIVACY.md` and bumping `CONSENT_VERSION` in `src/lib/consent-storage.ts` so users accept again.
-**Don't branch on `isTauri()`** for things that work in both: clipboard, in-memory operations, the converters themselves. Keep the Tauri-specific code at the I/O boundary.
+## Tauri 2 apps
-**Adding a new Tauri-only command**: declare in `src-tauri/src/lib.rs` with `#[tauri::command]`, register in `invoke_handler!`, expose a typed wrapper in `src/lib/tauri.ts` using `invoke()`. Update the capability JSON if it needs new permissions.
+The same React UI runs in the browser and in Tauri (desktop + Android).
-**Icon updates**: edit `src-tauri/icons/icon.svg` (1024×1024 canvas) then run `npm run tauri:icon`. The generated PNG/ICO/ICNS files are gitignored — CI regenerates them per build.
+**Runtime detection**: `isTauri()` from `src/lib/tauri.ts`, backed by the build-time `__IS_TAURI_BUILD__`, `__IS_ANDROID_BUILD__` and `__TAURI_PLATFORM__` defines. The web bundle never imports Tauri modules statically — they sit behind dynamic imports guarded by these flags so tree-shaking keeps them out of the web build.
-**Permission model**: Tauri 2 uses capability files. Edits to `src-tauri/capabilities/default.json` change which APIs the main window can call. Default capability already grants dialog, fs (scoped to `$HOME`, `$DOCUMENT`, `$DOWNLOAD`, `$DESKTOP`), os, and shell:open.
+**When to branch on the platform**:
-**Bundling**: `npm run tauri:build` produces the platform bundle of whatever OS you're on. For cross-platform releases, push a `v*` tag — `.github/workflows/release.yml` matrix-builds for Windows, macOS Intel/ARM, and Linux.
+- File dialogs: web uses a hidden ` `; Tauri uses `nativeOpenFiles()` (`plugin-dialog`).
+- Saving output or a `.zip`: web uses a Blob download (`src/lib/download.ts`); Tauri uses `nativeSaveBlob()` (save dialog + `plugin-fs.writeFile`).
+- Drag-drop from the OS: web uses `react-dropzone`; Tauri uses the `tauri://drag-drop` event via `useTauriDragDrop`.
+- External links: `openExternal()` (the Android WebView ignores `target="_blank"`).
+- Consent Gate: shown on web, Android, macOS and Linux; Windows skips it because the installer's license page (`src-tauri/license.rtf`) already asks.
-**Velopack note**: PhantomMAC uses Velopack for `.exe` deltas; JSONPrism uses Tauri's native bundler instead. Don't mix the two — Tauri's bundler produces `.msi` + `.exe` (NSIS) for Windows which covers the same ground.
+**Don't branch** for things that work everywhere: clipboard, in-memory work, the converters. Keep platform code at the I/O boundary.
+
+**Adding a Tauri command**: declare it in `src-tauri/src/lib.rs` with `#[tauri::command]`, register it in `generate_handler!`, expose a typed wrapper in `src/lib/tauri.ts` using `invoke()`, and grant only the permissions it needs.
+
+**Permission model**: `src-tauri/capabilities/default.json` is least-privilege — `core:default`, `opener:default`, dialog open/save, fs read-text/write/stat. The static fs scope is `$DOCUMENT`, `$DOWNLOAD`, `$DESKTOP`; files the user picks in a dialog or drops on the window are added to the scope at runtime by the plugins. `plugins.fs.requireLiteralLeadingDot` is `true`, so globs never match dotfiles. Don't widen the scope to `$HOME/**`.
+
+**Versions**: `tauri.conf.json` reads the version from `package.json`. On a release bump `package.json`, `src-tauri/Cargo.toml` (+ `Cargo.lock`) and `bundle.android.versionCode` (MAJOR*10000 + MINOR*100 + PATCH). The release workflow refuses a tag that doesn't match.
+
+**Icons**: edit `src-tauri/icons/icon.svg` (1024×1024) and run `npm run tauri:icon`. Generated PNG/ICO/ICNS files are gitignored; CI regenerates them. Revert unintended changes it makes under `src-tauri/gen/android/`.
+
+**Bundling**: `npm run tauri:build` builds for the current OS. Releases come from pushing a `vX.Y.Z` tag: `.github/workflows/release.yml` builds Windows, macOS universal, Linux and Android into one draft release with `SHA256SUMS.txt` and provenance attestations.
+
+**Velopack note**: PhantomMAC uses Velopack for `.exe` deltas; JSONPrism uses Tauri's native bundler (`.msi` + NSIS `.exe`). Don't mix the two.
## Code style — non-negotiable
-- **Pure functions for converters**. Each converter is a pure, synchronous module implementing the `Converter` interface in `src/converters/types.ts`. No I/O, no DOM access, no global state.
-- **Errors as values**. Converters return `{ ok: true, output } | { ok: false, error }`. Never throw across converter boundaries.
-- **No `any`**. Use `unknown` for JSON values and narrow with type guards. The only sanctioned `any` is in `registry.ts` for the heterogeneous record type — keep it there.
-- **Type-only imports**: `import type { Converter } from './types'`. Enforced by ESLint rule `consistent-type-imports`.
-- **Use the `@/*` path alias** for imports inside `src/`. Don't write `../../lib/utils`.
-- **Tailwind class order**: rely on `prettier-plugin-tailwindcss` — never hand-sort.
-- **Don't fight the theme system**. Use the CSS variables (`--color-prism-*`, `bg-background`, etc.) instead of hard-coded hex.
-- **i18n everything user-facing**. Hard-coded English strings in components are a bug. Add to both `en.json` and `vi.json`.
+- **Pure functions for converters**. Each converter is a pure, synchronous module implementing `Converter` from `src/converters/types.ts`. No I/O, no DOM, no global state.
+- **Errors as values**. Converters return `{ ok: true, output } | { ok: false, error }`. Never throw across converter boundaries; callers go through `safeConvert`/`safeReverse` in `registry.ts`, which also catch the unexpected. Turn caught values into messages with `errorMessage()` from `src/lib/errors.ts`.
+- **Untrusted keys**: build objects from parsed input with `defineOwn()` (`src/lib/json.ts`) so `__proto__` stays a plain key; sort keys with `compareOrdinal`.
+- **No `any`**. Use `unknown` and narrow. The only sanctioned `any` is the heterogeneous record in `registry.ts`.
+- **Type-only imports**: `import type { Converter } from './types'` (ESLint `consistent-type-imports`).
+- **Use the `@/*` path alias** inside `src/`.
+- **Tailwind class order**: rely on `prettier-plugin-tailwindcss`; never hand-sort.
+- **Don't fight the theme system**. Use the tokens (`--color-prism-*`, `--color-success`, `--color-warning`, `bg-background`, …), which have separate light and dark values. No hard-coded hex. Animations go behind `motion-safe:`.
+- **i18n everything user-facing** in all four locales: `en.json`, `vi.json`, `ja.json`, `zh-CN.json` (`src/i18n/__tests__/locales.test.ts` enforces key parity). Libraries return error *codes*; components translate them.
+- **Logging**: use `createLogger(scope)` from `src/lib/logger.ts`, not `console.*` (ESLint warns). Logs stay in memory and feed About → Copy diagnostics; never log user content.
+- **Heavy work off the main thread**: conversions of large inputs and batch jobs go through `src/lib/convert-client.ts` (Web Worker); keep `convert-worker.ts` free of DOM access.
## File layout — where things go
```
src/
-├── app/ # Top-level App component + routes
+├── app/ # App component + routes
├── components/
│ ├── ui/ # shadcn components — generated by CLI, don't hand-edit
-│ ├── layout/ # Header, Footer, theme/language toggles
+│ ├── layout/ # Header, Footer, AppearanceMenu, Layout
│ ├── converter/ # The workspace UI
-│ └── common/ # Reusable bits not specific to converters
+│ └── common/ # Reusable bits (ConsentGate, HumanCheck, error states…)
├── converters/ # ONE file per format. Self-contained.
├── hooks/ # React hooks
├── i18n/ # i18next setup + locales
-├── lib/ # Pure utilities: detect, theme, sample, utils
+├── lib/ # Pure utilities and platform glue
├── pages/ # Route components
-└── styles/ # globals.css ONLY — no per-component CSS files
+├── stores/ # Zustand stores (workspace, batch, consent, preferences)
+├── styles/ # globals.css ONLY — no per-component CSS files
+└── test/ # Vitest setup
+worker/ # Cloudflare Worker (its own runtime and tsconfig)
+public/ # Static files incl. _headers, _redirects, .well-known/
+src-tauri/ # Tauri shell (Rust), capabilities, Android project
```
-If you find yourself wanting to add a new top-level folder, stop and reconsider.
+If you find yourself wanting another top-level folder, stop and reconsider.
## Adding a new converter — checklist
-1. Create `src/converters/myformat.ts` exporting `myFormatConverter` (camelCase).
-2. Implement the `Converter` interface. Return errors as values.
-3. Add the format ID to the `FormatId` union in `src/converters/types.ts`.
-4. Register in `src/converters/registry.ts` (both `CONVERTERS` and `ALL_FORMATS`).
-5. Add `formats.myformat` label to BOTH `src/i18n/locales/en.json` AND `src/i18n/locales/vi.json`.
-6. If introducing a new parsing library, add it to `vite.config.ts` `manualChunks.parsers` so it splits cleanly.
-7. Update the format table in `README.md` and `README.vi.md`.
-8. Update `docs/ROADMAP.md` to mark the phase done.
-9. Write unit tests (Phase 1+ when Vitest lands).
+1. Create `src/converters/myformat.ts` exporting `myFormatConverter`.
+2. Implement `Converter`, including `meta.extension` (plus `altExtensions` for aliases such as `yml`, and `binary` for byte formats). Return errors as values.
+3. Add the ID to the `FormatId` union in `src/converters/types.ts`.
+4. Register it in `src/converters/registry.ts` (`CONVERTERS` and `ALL_FORMATS`).
+5. Add `formats.myformat` (and any option labels) to all four locale files.
+6. A new parsing library gets its own `p-*` group in `vite.config.ts` `codeSplitting.groups`.
+7. Add regression tests under `src/converters/__tests__/`; the contract test runs every converter against hostile input automatically.
+8. Update the format tables in `README.md` and `README.vi.md`, `THIRD-PARTY.md` for new dependencies, and `docs/ROADMAP.md`.
## Pitfalls observed in the wild
-- **Don't put options inside the converter call signature**. Options are passed separately so the UI can introspect `defaultOptions` to render a settings panel.
-- **Don't use `JSON.parse` directly in components**. Always go through `parseJsonInput` in `src/lib/detect.ts` so error positions surface uniformly.
-- **CSV nested values**: stringify nested objects as JSON by default (`nestedStrategy: 'json'`). The `flatten` strategy is alpha — keep it but don't make it default.
-- **YAML force-quoting**: js-yaml's `forceQuotes` only works in conjunction with `quotingType`. Leaving one undefined produces unquoted output. Tested.
-- **GitHub Pages basename**: production builds use base `/jsonprism/`. The router uses `import.meta.env.PROD` to switch basename. Do not hard-code.
-- **Tailwind v4 dark mode**: uses the new `@custom-variant dark (&:is(.dark *));` syntax. The `.dark` class on `` triggers all dark-mode variants. Don't add `darkMode: 'class'` configs — that's v3 syntax.
+- **Options live outside the converter call signature**. They are passed separately so the UI can introspect `defaultOptions`/the option schema; stored options are validated against that schema (`src/lib/options-storage.ts`).
+- **Don't use `JSON.parse` directly in components**. Go through `parseJsonInput` in `src/lib/detect.ts` so error positions and the precision-loss warning surface uniformly.
+- **CSV nested values**: stringify nested objects as JSON by default (`nestedStrategy: 'json'`). `flatten` is alpha — keep it, don't make it default. Columns are the union of keys across rows.
+- **YAML quoting** (js-yaml 5): `quoteStyle` picks the quote character and `forceQuotes` must be `true` for it to apply; `'auto'` means no forced quotes. Tested.
+- **Binary formats** (BSON, CBOR, MessagePack) produce text (base64/hex) for display; downloads and ZIPs must contain the decoded bytes.
+- **Base path**: the web build is served from `/` on its own domain. Don't reintroduce a `/jsonPrism/` base or router basename.
+- **Tailwind v4 dark mode**: `@custom-variant dark (&:is(.dark *));`. The `.dark` class on `` (set before paint by `public/theme-init.js`) drives it. Don't add `darkMode: 'class'` configs.
+- **Inline scripts are blocked by the CSP**. Early page logic goes in a file under `public/` (like `theme-init.js`).
## Commands the maintainer actually runs
```bash
-npm run dev # 99% of the time
-npm run typecheck # before pushing
-npm run lint # CI does this anyway
-npm run build # to verify production output
+npm run dev # 99% of the time
+npm run typecheck # before pushing (tsc -b + the Worker)
+npm run lint # CI does this anyway
+npm test # Vitest, app + worker projects
+npm run build # verify production output
+npm run preview:cf # the real Cloudflare setup on http://localhost:8787
```
-Format check happens automatically via Prettier in CI. The maintainer typically uses **WebStorm** (JetBrains license), so Prettier and ESLint run on save.
+CI (`.github/workflows/ci.yml`) also runs `format:check`, `knip`, coverage, `cf:check`, SonarQube Cloud and `cargo fmt`/`clippy`. The maintainer typically uses **WebStorm** (JetBrains license), so Prettier and ESLint run on save.
## Communication preferences
@@ -117,8 +157,8 @@ Format check happens automatically via Prettier in CI. The maintainer typically
- When proposing changes, show the diff or full file; don't just describe.
- Match the file-naming and patterns already established (`*Converter`, `useFoo`, kebab-case for files, PascalCase for components).
- The maintainer dislikes excessive emoji; reserve them for status indicators in docs (✅ 🔜 📋).
-- When unsure between two equally-valid approaches, pick one and explain briefly — don't ask which the maintainer prefers unless it's a meaningful tradeoff.
+- When unsure between two equally valid approaches, pick one and explain briefly — don't ask which the maintainer prefers unless it's a meaningful tradeoff.
## Roadmap reference
-See [`docs/ROADMAP.md`](docs/ROADMAP.md) for the canonical phase plan. Update it as work lands.
+See [`docs/ROADMAP.md`](docs/ROADMAP.md) for the canonical phase plan and [`docs/DEPLOYMENT.md`](docs/DEPLOYMENT.md) for hosting and releases. Update them as work lands.
diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md
index 2f8ffe5..3e8953a 100644
--- a/CODE_OF_CONDUCT.md
+++ b/CODE_OF_CONDUCT.md
@@ -1,6 +1,7 @@
# Code of Conduct
-This project adopts the **[Contributor Covenant, v2.1](https://www.contributor-covenant.org/version/2/1/code_of_conduct/)** verbatim.
+This project adopts the **[Contributor Covenant, v2.1](https://www.contributor-covenant.org/version/2/1/code_of_conduct/)** by reference: its full text is
+JSONPrism's Code of Conduct.
In short:
@@ -9,14 +10,21 @@ In short:
- Assume good intent, but don't tolerate bad behavior.
- Keep discussion focused on the project.
-The maintainer ([@poli0981](https://github.com/poli0981)) is responsible
-for enforcement. Reports of misconduct can be sent through:
+The maintainer, Kokone ([@poli0981](https://github.com/poli0981)), is
+responsible for enforcement. Report misconduct by email to
+**[code@poli0981.dev](mailto:code@poli0981.dev)**, with links to the
+issues, comments or messages concerned if you can.
-- A [private Discussion](https://github.com/poli0981/jsonPrism/discussions) addressed to the maintainer, or
-- Email via the address on the GitHub profile.
+Content on GitHub that breaks GitHub's own rules, including anything
+posted by the maintainer, can also be reported to GitHub directly:
+see [Reporting abuse or spam](https://docs.github.com/en/communities/maintaining-your-safety-on-github/reporting-abuse-or-spam).
-Reports are handled confidentially. Possible outcomes include: a warning,
-a temporary ban, or a permanent ban from the repository.
+Reports are handled confidentially. Following the Covenant's enforcement
+guidelines, possible outcomes are a private correction, a warning, a
+temporary ban, or a permanent ban from the repository.
+
+Security vulnerabilities are not conduct reports; see
+[SECURITY.md](SECURITY.md).
For the full text — definitions, scope, enforcement guidelines — see the
[Contributor Covenant 2.1](https://www.contributor-covenant.org/version/2/1/code_of_conduct/).
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index e5d11f8..7f7114a 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -2,83 +2,214 @@
Thanks for considering a contribution! JSONPrism is an open-source project under Apache License 2.0.
+## Prerequisites
+
+| Tool | Version | Notes |
+|---|---|---|
+| **Node.js** | 26 | Pinned in [`.nvmrc`](.nvmrc), so `nvm use` (or `fnm use`) picks it up. `engines.node` is `>=26.0.0`. |
+| **npm** | 11 | Ships with Node 26. |
+| **Rust** | latest stable (Tauri 2.12 needs ≥ 1.90) | Only for the desktop / Android shell in `src-tauri/`. |
+
+The OS packages needed for Tauri builds are listed under "Desktop app"
+and "Android app" in [README.md](README.md).
+
## Quick start
```bash
git clone https://github.com/poli0981/jsonPrism.git
-cd jsonprism
-npm install
+cd jsonPrism
+npm ci
npm run dev
```
Open .
+npm 11 may block or warn about dependency install scripts. That is
+expected: nothing in this project needs them, and CI installs with
+`npm ci --ignore-scripts`.
+
+Desktop and Android shells (Tauri 2):
+
+```bash
+npm run tauri:dev # desktop window around the dev server
+npm run tauri:android:dev # Android emulator or device
+```
+
## Before opening a PR
-1. **Run the checks locally**:
+1. **Run the same checks as CI**. If any fails, your PR can't be merged:
```bash
- npm run format
- npm run lint
- npm run knip
- npm run typecheck
- npm run build
+ npm run format:check # Prettier (fix with: npm run format)
+ npm run lint # ESLint (many issues fix with: npm run lint:fix)
+ npm run knip # unused files, exports and dependencies
+ npm run typecheck # TypeScript 7: app, tests, config files, Worker
+ npm test # Vitest (CI runs npm run test:coverage)
+ npm run build # production web build into dist/
+ npm run cf:check # Worker deploy dry run; needs dist/ from the build
```
- CI runs all of these. If any fails, your PR can't be merged.
+ If you changed `src-tauri/`, CI also runs `cargo fmt --check` and
+ `cargo clippy --all-targets --locked -- -D warnings` in that folder.
+ Run `npm run tauri:icon` and `npm run build` first: the Rust build
+ embeds the generated icons and `dist/`.
-2. **Match the project style.** Read [`CLAUDE.md`](CLAUDE.md) for non-negotiable conventions (converter shape, error handling, i18n requirements).
+2. **Match the project style.** Read [`CLAUDE.md`](CLAUDE.md) for the
+ non-negotiable code conventions (converter shape, error handling, i18n
+ requirements). For tool versions, `package.json` and this file are
+ authoritative.
3. **Keep PRs focused.** One feature or one fix per PR. Refactors as separate PRs.
-4. **Write a clear PR description**: what changed, why, screenshots if UI.
+4. **Fill in the [PR template](.github/PULL_REQUEST_TEMPLATE.md)**: what
+ changed, why, how you tested it, screenshots if UI, and whether AI
+ tools helped.
+
+## Toolchain notes
+
+### TypeScript 7 and the TS 6 alias
+
+JSONPrism type-checks and builds with **TypeScript 7**, the native
+compiler. Two TypeScript packages are installed side by side on purpose:
+
+| `package.json` entry | Installs | Used for |
+|---|---|---|
+| `@typescript/native` | `typescript@7` | The `tsc` binary: `npm run typecheck` and `npm run build` |
+| `typescript` | `@typescript/typescript6` | The TypeScript 6 API (binary `tsc6`) that typescript-eslint and editors load |
+
+Why: TypeScript 7.0 ships no JavaScript API yet, and typescript-eslint 8
+only supports `typescript` below 6.1. Leave the alias as it is (Dependabot
+ignores it from 6.1 on). It goes away once TypeScript 7.1 ships an API
+that typescript-eslint supports.
+
+- **`npm run typecheck` is the source of truth.** CI also checks that
+ `tsc` really is TypeScript 7. Diagnostics from an editor running the
+ TS 6 language service can occasionally differ; the command line wins.
+- **WebStorm**: in *Settings → Languages & Frameworks → TypeScript*, point
+ the TypeScript package at `node_modules/typescript` (the TS 6 API), or
+ use the TypeScript 7 native preview as described in JetBrains' docs.
+- TS 7 rules to remember: no `baseUrl` (use `paths`), `types` defaults to
+ `[]` so every tsconfig lists its own, and `erasableSyntaxOnly` rules out
+ enums, runtime namespaces and constructor parameter properties.
+- Projects: `tsconfig.app.json` (browser code), `tsconfig.test.json`
+ (tests, Node types), `tsconfig.node.json` (Vite / Vitest config) and
+ `tsconfig.worker.json` (Cloudflare Worker).
+
+### No ES2025 runtime APIs in app code
+
+TypeScript targets ES2025, but `tsconfig.app.json` deliberately includes
+only the **ES2023** library. Do not use ES2025 runtime APIs in `src/`:
+Iterator helpers, the new `Set` methods, `Promise.try`, `RegExp.escape`
+and the like. The Android WebView floor (Chromium 111) and macOS 12
+WebKit don't have them, and the compiler rejects them on purpose. Leave
+Vite's `build.target` at its default too. The Worker in `worker/` runs on
+Cloudflare's runtime and is not bound by this rule.
+
+### Tests
+
+- `npm test` runs Vitest once, in two projects: `app` (jsdom) for
+ `src/**/*.test.{ts,tsx}` and `worker` (Node) for `worker/**/*.test.ts`.
+- `npm run test:watch` re-runs on change. `npm run test:coverage` adds V8
+ coverage in `coverage/` (CI feeds `lcov.info` to SonarQube Cloud).
+- Tests live in `__tests__/` folders next to the code they cover. Add a
+ regression test with a bug fix where you can.
+
+## Cloudflare Worker (web build)
+
+The website is served by a Cloudflare Worker configured in
+[`wrangler.jsonc`](wrangler.jsonc). Only `/api/*` runs Worker code;
+everything else is static files from `dist/`. The code lives in
+[`worker/`](worker/):
+
+| File | Role |
+|---|---|
+| `worker/index.ts` | Router. The entry module must only have a **default export**: workerd treats named exports as entrypoints. |
+| `worker/verify.ts` | `POST /api/turnstile/verify`: same-origin check, JSON only, body size cap, rate limit |
+| `worker/turnstile.ts` | Cloudflare siteverify call: timeout, one retry, hostname / action / age checks |
+| `worker/http.ts` | JSON responses with strict headers, structured logs |
+
+Worker logs must never contain IP addresses, tokens or user content.
+
+To run it locally:
+
+```bash
+cp .dev.vars.example .dev.vars # Cloudflare's always-pass Turnstile test secret
+npm run preview:cf # wrangler dev on http://localhost:8787 (builds first)
+```
+
+`wrangler.jsonc` runs `npm run build` before every `wrangler dev`, deploy and
+dry run, so `preview:cf` always serves a fresh build.
+
+- `.dev.vars` is gitignored. Never commit real secrets; production secrets
+ live in the Cloudflare dashboard.
+- `npm run cf:types` regenerates the gitignored `worker-configuration.d.ts`
+ after you change bindings in `wrangler.jsonc` (`npm run typecheck` does
+ this too).
+- The Turnstile human check is off in `npm run dev` unless you set
+ `VITE_TURNSTILE_DEV=1`. On localhost the app uses Cloudflare's test
+ sitekey.
+- Nobody deploys by hand: Cloudflare Workers Builds deploys every push to
+ `main`. `npm run cf:check` is the deploy dry run CI uses. Hosting, secrets,
+ rollback and releases are described in [docs/DEPLOYMENT.md](docs/DEPLOYMENT.md).
## Ways to contribute
-### 🐛 Bug reports
+### Bug reports
Use the [Bug Report](https://github.com/poli0981/jsonPrism/issues/new?template=bug_report.md) template. Include:
-- Browser + OS
+- Platform (Web / Windows / macOS / Linux / Android) and browser or OS version
+- JSONPrism version (*About → Build info*), or the output of *Copy diagnostics* on the same page
- Steps to reproduce
-- Sample JSON that triggers the bug (minimal, please)
+- Sample JSON that triggers the bug (minimal, please, and nothing private)
- Expected vs actual output
-### 💡 Feature requests
+Security vulnerabilities never go in a public issue. See [SECURITY.md](SECURITY.md).
+
+### Feature requests
Use the [Feature Request](https://github.com/poli0981/jsonPrism/issues/new?template=feature_request.md) template. We prioritize features that:
- Fit the "one JSON → many formats" core mission
-- Don't require server-side processing (we're client-only by design)
+- Run entirely on the user's device (conversion never touches a server)
- Have a clear use case from a real workflow
-### 🌍 Translations
+### Translations
-Currently bundled: **English**, **Tiếng Việt**, **日本語**, **简体中文**.
-Non-English locales are AI-generated and not professionally reviewed —
-see [DISCLAIMER.md](DISCLAIMER.md). Native-speaker corrections are very
-welcome.
+Currently bundled: **English** (`en`), **Tiếng Việt** (`vi`), **日本語**
+(`ja`), **简体中文** (`zh-CN`). The Japanese and Simplified Chinese
+locales, and parts of the Vietnamese one, are AI-generated and not
+professionally reviewed; see [DISCLAIMER.md](DISCLAIMER.md).
+Native-speaker corrections are very welcome.
+
+Every user-facing string goes through i18next, so a new or changed string
+means editing **all four** files in `src/i18n/locales/`. The parity test
+(`src/i18n/__tests__/locales.test.ts`, part of `npm test` and CI) fails
+when a locale is missing a key or has an extra one, changes a
+`{{variable}}`, or leaves a value empty. If you aren't confident in a
+translation, say so in the PR.
To add a new language:
-1. Copy `src/i18n/locales/en.json` to `src/i18n/locales/.json`
-2. Translate every value
-3. Register in `src/i18n/index.ts`
-4. Add to the `supportedLngs` array
-5. Add the language to `LanguageSwitcher.tsx`
+1. Copy `src/i18n/locales/en.json` to `src/i18n/locales/.json` and translate every value (keep `{{variables}}` unchanged)
+2. Import it in `src/i18n/index.ts` and add it to `resources` and `SUPPORTED_LANGUAGES`
+3. Add it to `LANGUAGES` in `src/components/common/LanguageSwitcher.tsx`
+4. Add it to the `describe.each` list in `src/i18n/__tests__/locales.test.ts`
+5. If Cloudflare Turnstile supports the language, map it in `turnstileLanguage()` in `src/lib/turnstile.ts`
6. Open a PR
-### ➕ Adding a new converter
+### Adding a new converter
See the **"Adding a new converter — checklist"** section in [`CLAUDE.md`](CLAUDE.md).
Briefly:
-1. New file `src/converters/myformat.ts` implementing `Converter`
-2. Register in `registry.ts` and `types.ts`
-3. Add i18n labels (EN + VI minimum)
-4. Update README format tables
-5. Mark roadmap entry done
+1. New file `src/converters/myformat.ts` implementing `Converter` (pure, errors as values)
+2. Add the ID to `FormatId` in `types.ts` and register the converter in `registry.ts`
+3. Add `formats.myformat` labels to all four locales
+4. Add tests in `src/converters/__tests__/` (`contract.test.ts` already runs every registered converter against the errors-as-values contract)
+5. New parsing library? Give it its own `p-*` entry in the `codeSplitting.groups` list in `vite.config.ts`
+6. Update the format tables in `README.md` and `README.vi.md`, the roadmap entry in `docs/ROADMAP.md`, and `CHANGELOG.md`
## Commit messages
@@ -87,11 +218,15 @@ We follow a relaxed version of [Conventional Commits](https://www.conventionalco
```
feat(converter): add TOML converter with smol-toml
fix(csv): escape pipes in cell values
+perf(batch): convert large inputs in a Web Worker
docs: clarify Tauri build steps
-chore(deps): bump react to 19.1
+build(deps): bump react to 19.3
+ci: pin actions to full commit SHAs
```
-Prefixes: `feat`, `fix`, `docs`, `refactor`, `test`, `chore`, `style`.
+Prefixes: `feat`, `fix`, `perf`, `refactor`, `docs`, `test`, `build`
+(dependencies, bundling, toolchain), `ci` (GitHub Actions workflows),
+`chore`, `style`.
## Auto-ignored contributions
@@ -108,11 +243,11 @@ closed without review:
- **Behavior / language violating GitHub's policy** — harassment, hate
speech, doxxing, NSFW content, etc.
- **Off-topic preamble**, e.g. "Chào buổi sáng, hôm nay là 1 ngày trời
- đẹp…" or any greeting/filler that doesn't immediately address the
- issue. Get to the point: what's wrong, what's the expected behavior,
- what reproduces it.
-- **PRs without a meaningful description** or test plan. See the PR
- template — sections marked required are required.
+ đẹp…" ("Good morning, what a lovely day…") or any greeting/filler that
+ doesn't immediately address the issue. Get to the point: what's wrong,
+ what's the expected behavior, what reproduces it.
+- **PRs without a meaningful description** or test plan. The Summary and
+ Test plan sections of the PR template are required.
These rules exist because this is a one-person + AI-assisted project
(see [DISCLAIMER.md](DISCLAIMER.md)); time spent triaging low-effort
@@ -124,7 +259,9 @@ This project adopts the [Contributor Covenant v2.1](CODE_OF_CONDUCT.md).
Be kind. Assume good faith. Disagreements about technical choices are
fine; personal attacks and harassment are not.
-Reports to the maintainer via the [private Security Advisory flow](https://github.com/poli0981/jsonPrism/security/advisories/new) for sensitive matters, or a private GitHub Discussion otherwise.
+Report conduct concerns to the maintainer at **code@poli0981.dev**.
+Security vulnerabilities are not conduct reports: follow
+[SECURITY.md](SECURITY.md) (private advisory or security@poli0981.dev).
## License
diff --git a/DISCLAIMER.md b/DISCLAIMER.md
index 47af498..9dc077a 100644
--- a/DISCLAIMER.md
+++ b/DISCLAIMER.md
@@ -1,62 +1,71 @@
# Disclaimer
-**Last updated**: 2026-05-13
+**Last updated**: 2026-10-22
## Project status
-JSONPrism is a **one-person open-source project** maintained by
-[@poli0981](https://github.com/poli0981) (Kokone), written with substantial
-AI assistance. It is published under the Apache 2.0 License and the source
-is available on GitHub.
+JSONPrism is a **one-person open-source project** maintained by poli0981
+(Kokone, [@poli0981](https://github.com/poli0981)), written with
+substantial AI assistance. It is published under the Apache 2.0 License
+and the source is available on GitHub.
-It is **not** a commercial product. There is no SLA, no support contract,
+It is **not** a commercial product. There is no SLA, no support contract
and no warranty. See the `LICENSE` file for the exact legal text — the
Apache 2.0 disclaimer-of-warranty clause applies in full.
## Quality expectations
- The maintainer aims for production-grade quality but does not guarantee
- bug-free behavior, performance, or correctness for any particular input.
+ bug-free behaviour, performance or correctness for any particular input.
- Each conversion is implemented to a reasonable interpretation of the
- target spec, but edge cases (especially around lossy formats like XML
- and Markdown) may differ from other tools you've used.
-- If you rely on JSONPrism for a critical workflow, please verify the
- output yourself.
+ target format, but edge cases (especially in lossy formats such as XML,
+ CSV and Markdown) may differ from other tools you have used.
+- If you rely on JSONPrism for a critical workflow, verify the output
+ yourself.
-## AI-assisted code & translations
+## AI-assisted code and translations
This project openly uses AI tools during development:
-- **Claude Chat** + **Claude Code (Opus 4.7, 1M context)** — used for
- drafting code, refactoring, writing tests, generating translations,
- and reviewing PRs.
-- All AI-generated code is reviewed by the maintainer before being
- merged. Errors that slip through are bugs — please report them via
+- **Claude Chat** and **Claude Code** — Claude Opus 4.7 and 4.8 for the 1.x
+ releases, Claude Opus 5.5 for 2.0 — used for drafting code,
+ refactoring, writing tests and documentation, generating translations
+ and reviewing changes.
+- All AI-generated code is reviewed by the maintainer before it is merged.
+ Errors that slip through are bugs — please report them via
[GitHub Issues](https://github.com/poli0981/jsonPrism/issues).
### Translations
-Non-English locales (currently Vietnamese, Japanese, Simplified Chinese)
-are produced primarily by AI translation. They are **not professionally
-reviewed**. Subtle wording, technical jargon, or idiomatic phrasings may
-be inaccurate.
+Non-English locales (Vietnamese, Japanese, Simplified Chinese) are
+produced primarily by AI translation. They are **not professionally
+reviewed**, so wording, technical terms or idioms may be inaccurate.
-If you are a native speaker and spot a translation issue, a PR or a
-Discussion post is very welcome. See the `disclaimer.translation` i18n
-key — it surfaces this disclaimer to users at runtime.
+If you are a native speaker and spot a translation issue, a pull request
+or a Discussion post is very welcome.
+
+## Third-party services
+
+The website relies on Cloudflare for hosting, the Turnstile human check
+and cookieless Web Analytics (see [PRIVACY.md](PRIVACY.md)). Their
+availability is outside the maintainer's control: if Cloudflare cannot
+be reached, the website lets you continue after a warning, because
+conversion itself never needs the network. The desktop and Android apps
+do not depend on these services.
## What this means in practice
-- Do not feed JSONPrism sensitive data and then ship the output to
- production without checking it.
-- Do not assume that round-tripping JSON → format → JSON is byte-perfect
- for lossy formats (XML, SQL, Markdown — the app marks these by not
- exposing a reverse converter).
-- Pin a specific JSONPrism version if you depend on its behavior; future
+- Do not feed JSONPrism sensitive data and ship the output to production
+ without checking it.
+- Do not assume that a round trip JSON → format → JSON is byte-perfect for
+ lossy formats. Only JSONL, CSV, TSV, YAML, TOML and RESX convert back
+ to JSON at all.
+- Pin a specific JSONPrism version if you depend on its behaviour; future
releases may change defaults.
## Reporting concerns
- Bugs: [GitHub Issues](https://github.com/poli0981/jsonPrism/issues)
-- Security: [Private Security Advisory](https://github.com/poli0981/jsonPrism/security/advisories/new)
-- Translation accuracy: GitHub Discussions
+- Security: [SECURITY.md](SECURITY.md)
+- Translation accuracy: [GitHub Discussions](https://github.com/poli0981/jsonPrism/discussions)
+- Legal: legal@poli0981.dev
diff --git a/MAINTAINERS.md b/MAINTAINERS.md
index c745183..5965891 100644
--- a/MAINTAINERS.md
+++ b/MAINTAINERS.md
@@ -1,18 +1,36 @@
# Maintainers
-| Name | GitHub | Scope |
-|---|---|---|
-| Kokone | [@poli0981](https://github.com/poli0981) | Solo maintainer — code review, releases, translations review, community |
+| Name | GitHub | Contact | Scope |
+|---|---|---|---|
+| Kokone | [@poli0981](https://github.com/poli0981) | [code@poli0981.dev](mailto:code@poli0981.dev) | Solo maintainer — code review, releases, translations review, community |
JSONPrism is co-authored with AI tooling — see [DISCLAIMER.md](DISCLAIMER.md)
for details. The maintainer is the single point of human review for every
merged PR.
+## Responsibilities
+
+- **Code review** — reviews and merges every PR, including AI-assisted
+ changes and the weekly grouped Dependabot updates, and doesn't merge on
+ red CI.
+- **Releases** — tags `v*` releases; `release.yml` builds the Windows,
+ macOS, Linux and Android packages into a draft GitHub Release with
+ `SHA256SUMS.txt` and build-provenance attestations, which the maintainer
+ reviews and publishes. The website deploys itself from `main` through
+ Cloudflare Workers Builds.
+- **Translations review** — the AI-generated Japanese and Simplified
+ Chinese strings and the partly AI-generated Vietnamese ones.
+- **Community** — issues, Discussions and the Discord server, and
+ enforcement of the [Code of Conduct](CODE_OF_CONDUCT.md). Vulnerability
+ reports are triaged as described in [SECURITY.md](SECURITY.md).
+
## Contact
- Bug reports & feature requests: [GitHub Issues](https://github.com/poli0981/jsonPrism/issues)
- Discussion / Q&A: [GitHub Discussions](https://github.com/poli0981/jsonPrism/discussions)
-- Security: [Private Security Advisory](https://github.com/poli0981/jsonPrism/security/advisories/new)
+- Community chat: [Discord](https://discord.gg/2aNR3aVt)
+- Project, maintainer & Code of Conduct: [code@poli0981.dev](mailto:code@poli0981.dev)
+- Security: [Private Security Advisory](https://github.com/poli0981/jsonPrism/security/advisories/new) or [security@poli0981.dev](mailto:security@poli0981.dev) — never a public issue
## Becoming a maintainer
@@ -20,7 +38,8 @@ JSONPrism is small-by-design. Additional maintainers may be added when a
contributor has demonstrated:
- Multiple high-quality merged PRs.
-- Familiarity with the conventions in [CLAUDE.md](CLAUDE.md).
+- Familiarity with the conventions in [CLAUDE.md](CLAUDE.md) and
+ [CONTRIBUTING.md](CONTRIBUTING.md).
- Willingness to review others' PRs and respond to issues.
Until then, the project runs as a single-maintainer indie project.
diff --git a/PRIVACY.md b/PRIVACY.md
index b86a2b0..efc8029 100644
--- a/PRIVACY.md
+++ b/PRIVACY.md
@@ -1,72 +1,178 @@
-# Privacy policy
+# Privacy Policy
-**Last updated**: 2026-05-13
+**Version**: 2.0 · **Effective**: 2026-10-22 · Replaces the policy of 2026-05-13.
## Short version
-**JSONPrism does not collect, transmit, or store your data on any server.**
-Everything happens in your browser (or inside the Tauri desktop bundle).
-There is no analytics, no telemetry, no tracking, no account system, no
-"cloud sync." This page exists to explain what *does* happen locally and
-why.
+- **Your data stays on your device.** JSON, files and output are converted
+ in your browser or in the desktop/Android app. They are never uploaded,
+ and JSONPrism has no account system, no cloud sync and no error reporting.
+- **The website** () is hosted on
+ Cloudflare. It runs a quick Cloudflare Turnstile human check when you
+ first open it (and again every 7 days), and it counts page views with
+ Cloudflare Web Analytics, which uses no cookies. You can switch the
+ analytics off under **Appearance**; it starts off if your browser sends
+ [Global Privacy Control](https://globalprivacycontrol.org/).
+- **The desktop and Android apps** make no network requests of their own
+ and use none of the Cloudflare services.
-## What we run on
+## Who is responsible
-| Surface | Hosting | What it can see |
+JSONPrism is an open-source project maintained by one person, poli0981
+(Kokone), who is the controller for the processing described here.
+Privacy questions and requests: **privacy@poli0981.dev**.
+
+## What happens on each surface
+
+| Surface | Hosting / runtime | What leaves your device |
|---|---|---|
-| Web app | [GitHub Pages](https://pages.github.com/) (static hosting only) | Standard request logs at the GitHub layer — IP, user-agent, requested asset. JSONPrism has no server code with access to those. |
-| Desktop app | Tauri 2 bundle, runs locally | No network calls from app code. Only the OS file dialogs you trigger. |
+| Website | Cloudflare Workers (static files plus a small API for the human check) | Standard HTTP request data needed to deliver the site; the Turnstile check; anonymous page-view metrics if analytics is on. Never the data you convert. |
+| Windows, macOS, Linux app | Tauri 2, runs locally | Nothing from app code. Links you click open in your browser. |
+| Android app | Tauri 2 in the system WebView | Nothing from app code. Links you tap open in your browser. |
-Neither surface phones home about how you use the app.
+### Hosting (website)
-## What we store locally
+Cloudflare, Inc. serves the website and processes the data every web
+request carries (IP address, user agent, requested URL, time, TLS details)
+to deliver pages and protect the service against abuse. JSONPrism's own
+server code handles only the human-check API (`/api/turnstile/verify`)
+and a health check. For that API it records structured events — outcome,
+HTTP status, the Cloudflare data centre code, duration and Turnstile error
+codes — in Cloudflare Workers Logs, kept for 7 days. These events never
+contain IP addresses, Turnstile tokens or anything you convert. The API is
+rate limited per client by Cloudflare; the client key is not stored by
+JSONPrism.
-The app uses `localStorage` to remember your preferences across reloads.
-These keys are written by JSONPrism:
+### Human check (website)
-| Key | What it stores |
+[Cloudflare Turnstile](https://www.cloudflare.com/products/turnstile/)
+tells people and bots apart without puzzles. When the check runs, your
+browser loads Cloudflare's script from `challenges.cloudflare.com`, which
+collects signals such as your IP address, TLS fingerprint, user agent and
+the site key, as described in Cloudflare's
+[Turnstile Privacy Addendum](https://www.cloudflare.com/turnstile-privacy-policy/).
+JSONPrism's server then sends the resulting one-time token — not your IP
+address — to Cloudflare's verification API. If the check passes, your
+browser stores the expiry time (`jsonprism.humanCheck`) and is not asked
+again for 7 days.
+
+### Web Analytics (website, optional)
+
+[Cloudflare Web Analytics](https://www.cloudflare.com/web-analytics/)
+counts page views and measures load performance (page path, referrer,
+browser and device type, timing metrics). It sets no cookies, uses no
+local storage and, according to Cloudflare, does not collect or use
+visitors' personal data. JSONPrism loads it only on the production
+website, only after you have accepted the terms, and only while
+**Appearance → Anonymous usage analytics** is on. The setting starts off
+when your browser sends Global Privacy Control, and turning it off takes
+effect from your next visit.
+
+### Desktop and Android apps
+
+- No telemetry, no analytics, no Turnstile, no update checks.
+- Files reach the app only when you pick them in a system dialog or drop
+ them onto the window. The app can read files you choose and write only
+ where you choose to save; its static file access is limited to your
+ Documents, Downloads and Desktop folders and never includes hidden
+ files such as `~/.ssh`
+ (see [`src-tauri/capabilities/default.json`](src-tauri/capabilities/default.json)).
+- The Android app declares the `INTERNET` permission because the Tauri
+ WebView runtime requires it; JSONPrism's code makes no network requests.
+ Android backups of the app's data are disabled.
+
+## What is stored on your device
+
+The app keeps these entries in your browser's (or the app WebView's)
+`localStorage`. They never leave your device.
+
+| Key | Contents |
|---|---|
-| `jsonprism.theme` | `light` / `dark` / `system` |
-| `jsonprism.lang` | UI language code (`en` / `vi` / `ja` / `zh-CN`) |
-| `jsonprism.selected_format` | The target format chip you last selected |
-| `jsonprism.direction` | Conversion direction (`forward` / `reverse`) |
-| `jsonprism.options.` | Per-format options (e.g. CSV header on/off) |
-| `jsonprism.consent` | That you accepted the License / Terms / Privacy / Disclaimer (acceptance flag + version + timestamp). Web only — the desktop app gates this in its installer. |
+| `jsonprism.consent` | That you accepted the License, Terms, Privacy Policy and Disclaimer: flag, policy version, time |
+| `jsonprism.humanCheck` | Website only: when the passed human check expires |
+| `jsonprism.prefs` | Appearance preferences: hide scrollbars, anonymous analytics on/off |
+| `jsonprism.theme` | `light`, `dark` or `system` |
+| `jsonprism.lang` | Interface language (`en`, `vi`, `ja`, `zh-CN`) |
+| `jsonprism.selected_format` | The target format you last selected |
+| `jsonprism.direction` | Conversion direction |
+| `jsonprism.options.` | Your options for each format |
-That is the entire on-disk footprint. Clearing your browser's site data
-removes everything. Nothing leaves your device.
+`sessionStorage` briefly holds `jsonprism.preloadReload` (when the app
+last reloaded itself after a new release). Clearing the site's data, or
+uninstalling the app, removes all of it.
+
+The app also keeps its most recent 200 log lines in memory, for
+**About → Copy diagnostics**. They are never sent anywhere; the button
+copies them to your clipboard, together with the version, commit and
+platform, so you can choose to paste them into a bug report.
## What JSONPrism never does
-- No analytics SDK (no Google Analytics, no Plausible, no PostHog, etc.).
-- No remote error reporting (no Sentry, no Rollbar).
-- No CDN that proxies your content — assets are served directly from
- GitHub Pages.
-- No login or account.
-- No "cloud" backup, no clipboard upload, no diff-sharing.
+- Upload, store or inspect what you convert.
+- Use cookies, advertising or cross-site tracking.
+- Sell or share personal information.
+- Load fonts or scripts from third parties other than the two Cloudflare
+ services above (fonts are bundled with the app).
+- Report errors to a remote service.
-## Tauri desktop specifics
+## Legal bases (EU/EEA, UK)
-- The Tauri bundle has filesystem access scoped to `$HOME`, `$DOCUMENT`,
- `$DOWNLOAD`, `$DESKTOP` only (see [`src-tauri/capabilities/default.json`](src-tauri/capabilities/default.json)).
-- Drag-and-drop files come from the OS — JSONPrism reads their contents
- in-process and never writes them anywhere unless you explicitly hit
- "Download .zip" or "Save".
-- The OS may write window-position / window-size metadata on shutdown
- (handled by Tauri, not by JSONPrism code).
+- Hosting, security, abuse prevention and the human check: legitimate
+ interests in running a public website safely (GDPR Art. 6(1)(f)).
+- Anonymous page-view statistics: legitimate interest in understanding,
+ in aggregate, how the website is used, with an easy opt-out and Global
+ Privacy Control honoured (Art. 6(1)(f)).
+- Preferences stored on your device: strictly necessary to provide the
+ features you use.
-## Third-party fonts
+You may object to processing based on legitimate interests at any time by
+writing to privacy@poli0981.dev; for analytics, switching it off in
+Appearance is enough.
-The web build loads three fonts from Google Fonts via ` `:
+## International transfers
-- Geist (body)
-- Instrument Serif (display)
-- JetBrains Mono (code)
+Cloudflare operates worldwide, so request data may be processed outside
+your country, including in the United States. Cloudflare is certified
+under the EU-U.S. Data Privacy Framework (and its UK and Swiss
+extensions) and its data processing addendum includes the EU Standard
+Contractual Clauses. See [Cloudflare's privacy policy](https://www.cloudflare.com/privacypolicy/).
-Google Fonts can see your IP when your browser fetches the font files.
-The Tauri build inlines these fonts and never makes the request.
+## Retention
-## Questions
+- Data on your device: until you clear it; the human check expires after
+ 7 days, and acceptance is asked again whenever this policy's version
+ changes.
+- Workers Logs for the human-check API: 7 days.
+- Request processing and analytics data held by Cloudflare: according to
+ Cloudflare's own retention schedules; Web Analytics shows aggregated
+ figures only.
-Open a [GitHub Discussion](https://github.com/poli0981/jsonPrism/discussions) if anything here is unclear.
-For security-relevant reports, use the [private Security Advisory flow](https://github.com/poli0981/jsonPrism/security/advisories/new).
+## Your rights
+
+Depending on where you live (for example under the GDPR, UK GDPR or the
+California CCPA/CPRA) you may have the right to access, correct, delete,
+restrict or object to the processing of personal data about you, to data
+portability, and to lodge a complaint with your data protection
+authority. JSONPrism itself holds no personal data about you beyond what
+Cloudflare processes on its behalf, so most requests are best served by
+clearing the site's data; for anything else write to
+privacy@poli0981.dev and you will get an answer within 30 days. JSONPrism
+does not sell or share personal information and honours Global Privacy
+Control.
+
+## Children
+
+JSONPrism is a developer tool and is not directed at children under 13
+(or under the age of digital consent where you live).
+
+## Changes to this policy
+
+Changes are listed in [CHANGELOG.md](CHANGELOG.md). When this policy
+changes materially its version number increases, and the app asks you to
+accept it again before you continue.
+
+## Contact
+
+- Privacy: privacy@poli0981.dev
+- Security vulnerabilities: see [SECURITY.md](SECURITY.md)
+- Everything else: [GitHub Issues](https://github.com/poli0981/jsonPrism/issues)
diff --git a/README.md b/README.md
index 93d60c2..1448969 100644
--- a/README.md
+++ b/README.md
@@ -4,19 +4,19 @@
**Disperse JSON into many formats.**
-One JSON input. Multi-target formats. Fully in your browser.
+One JSON input. Multi-target formats. Fully on your device.
[](https://github.com/poli0981/jsonPrism/actions/workflows/ci.yml)
-[](https://github.com/poli0981/jsonPrism/actions/workflows/deploy.yml)
+[](https://sonarcloud.io/summary/new_code?id=poli0981_jsonPrism)
[](LICENSE)
-[Live demo](https://poli0981.github.io/jsonPrism/) · [Tiếng Việt](README.vi.md) · [Roadmap](docs/ROADMAP.md)
+[Web app](https://jsonprism.poli0981.dev) · [Downloads](https://github.com/poli0981/jsonPrism/releases/latest) · [Tiếng Việt](README.vi.md) · [Roadmap](docs/ROADMAP.md)
---
-JSONPrism is a refracting tool for developers. It takes a single JSON input and disperses it into many target formats — like white light through a prism. **Everything runs client-side**, so your data never leaves your device.
+JSONPrism is a refracting tool for developers. It takes a single JSON input and disperses it into many target formats — like white light through a prism. **Conversion runs entirely on your device** — in the browser, the desktop app or the Android app — so your data never leaves it.
## Target formats
@@ -35,41 +35,119 @@ JSONPrism is a refracting tool for developers. It takes a single JSON input and
| CBOR | `.cbor` | ✅ Phase 4 | — |
| MessagePack | `.msgpack` | ✅ Phase 4 | — |
+Twelve formats. Six of them — JSONL, CSV, TSV, YAML, TOML and RESX — also convert back to JSON; in that direction `.ndjson`, `.tab` and `.yml` files are accepted too. SQL `INSERT` speaks standard SQL, PostgreSQL, MySQL, SQLite and MSSQL. BSON, CBOR and MessagePack are binary: the output panel shows them as base64 or hex text, and downloads are real binary files.
+
## Features
-- **Client-side only** — no server, no telemetry, no upload. Your JSON stays in your browser.
+- **On-device conversion** — no upload, no conversion server. What you paste, type or open stays on your device; see [Privacy](#privacy) for the few services the website itself uses.
- **Fast first paint** — routes and the CodeMirror editor are lazy-loaded, and vendor/parser code is split into small per-feature chunks, so the browser only downloads what you actually use.
-- **Batch processing** — up to 500 files at once (Phase 2).
+- **Smooth with large inputs** — inputs over 256 KB and every batch run convert in a Web Worker, so typing and scrolling stay responsive.
+- **Batch processing** — up to 500 files at once, downloaded as a single `.zip` (binary formats as real binary files).
- **Smart shape detection** — recognizes flat objects, arrays of objects, scalars; suggests the best target format.
- **Per-format options** — pretty-print, indentation, dialect (for SQL), alignment (for Markdown), and more.
-- **Dark + light themes** — Prism Spectrum palette with violet / cyan / amber / rose accents.
+- **Light, dark or system theme** — Prism Spectrum palette with violet / cyan / amber / rose accents on a technical, blueprint-grid look. The Appearance menu can also hide scrollbars.
- **Responsive — designed for viewports ≥ 360 × 640.** Smaller screens still work but may feel cramped; on mobile, Input and Output use a Tabs UI to give each panel full height. See [`docs/tested-viewports.md`](docs/tested-viewports.md) for the full device test matrix.
-- **EN + VI** — bilingual interface out of the box. More languages welcome.
-- **Tauri desktop build** — drag-and-drop file workflow, offline-first (Phase 2 milestone).
+- **4 UI languages** — English, Tiếng Việt, 日本語 and 简体中文. The Japanese and Chinese translations are AI-generated; fixes from native speakers are welcome.
+- **Desktop and Android apps** — Tauri 2 builds for Windows, macOS, Linux and Android with native file dialogs and drag-and-drop. They work fully offline.
+
+## Privacy
+
+- **Your data stays on your device.** Every build converts locally; nothing you paste, type or open is uploaded. Settings and workspace state live in `localStorage` and are never sent anywhere.
+- **The website** ([jsonprism.poli0981.dev](https://jsonprism.poli0981.dev)) **adds three Cloudflare services**, none of which sees what you convert:
+ - **Hosting** — Cloudflare serves the site and, like any host, processes request logs (IP address, user agent) for delivery and security.
+ - **Turnstile** — a quick human check, about once a week (a passed check is remembered for 7 days). If Cloudflare can't be reached you can continue after a warning, because conversion never needs the network.
+ - **Web Analytics** — cookieless, anonymous page-view counts, loaded only after you accept the Terms and Privacy Policy. Turn it off under **Appearance → Anonymous usage analytics**; it is off by default when your browser sends Global Privacy Control.
+- **The desktop and Android apps use none of these** — no analytics, no human check, no network requests except links you open yourself.
+
+Details: [`PRIVACY.md`](PRIVACY.md).
## Tech stack
-- **Vite 8** + **React 19** + **TypeScript 5.7**
+- **Vite 8** + **React 19.3** + **TypeScript 7** (native compiler; the `typescript` dependency is a TS 6 alias kept only for typescript-eslint)
- **Tailwind CSS v4** + **shadcn/ui** (New York style, neutral base)
-- **CodeMirror 6** for the input editor (Phase 1 polish)
-- **PapaParse**, **js-yaml**, **smol-toml**, **fast-xml-parser** for parsing/serialization
-- **i18next** for translations, **Zustand** for state, **Sonner** for toasts
-- **Tauri 2** wrapper (Phase 2)
+- **CodeMirror 6** for the input editor and the read-only output view
+- **PapaParse**, **js-yaml**, **smol-toml**, **fast-xml-parser**, **bson**, **cbor-x**, **@msgpack/msgpack** for parsing/serialization; **fflate** for batch `.zip` files
+- **i18next** for translations, **Zustand** for state, **React Router 8** for routing, **Sonner** for toasts
+- **Vitest** + Testing Library for tests
+- **Node.js 26** for the toolchain
+- **Cloudflare Workers** hosts the web app (static assets plus a small Worker for `/api/*`)
+- **Tauri 2.12** for the desktop (Windows, macOS, Linux) and Android apps
## Quick start
-**Requirements**: Node.js **22 LTS** or newer.
+**Requirements**: Node.js **26** (pinned in `.nvmrc`).
```bash
git clone https://github.com/poli0981/jsonPrism.git
-cd jsonprism
+cd jsonPrism
+nvm use # picks Node 26 from .nvmrc
npm install
npm run dev # http://localhost:5173
```
+The Turnstile human check is off in `npm run dev` (set `VITE_TURNSTILE_DEV=1` to try it). To run the production build the way Cloudflare serves it — static assets plus the Worker:
+
+```bash
+cp .dev.vars.example .dev.vars # Cloudflare's always-pass Turnstile test secret
+npm run preview:cf # build + wrangler dev on http://localhost:8787
+```
+
+### Scripts
+
+| Script | What it does |
+| --- | --- |
+| `npm run dev` | Start Vite dev server with HMR |
+| `npm run build` | Type-check, then build for production into `dist/` |
+| `npm run preview` | Preview the built site locally (Vite) |
+| `npm run lint` | Run ESLint |
+| `npm run lint:fix` | Run ESLint with autofix |
+| `npm run typecheck` | Type-check the app, tests, config files and Worker (TypeScript 7), no emit |
+| `npm run knip` | Find unused files, exports and dependencies |
+| `npm run format` | Format with Prettier |
+| `npm run format:check` | Check formatting (CI uses this) |
+| `npm test` | Run the Vitest suite once |
+| `npm run test:watch` | Run Vitest in watch mode |
+| `npm run test:coverage` | Run the tests with a coverage report (CI uses this) |
+| `npm run cf:types` | Regenerate the Worker's binding types |
+| `npm run cf:check` | Dry-run the Cloudflare deploy (`wrangler deploy --dry-run`; CI runs it too) |
+| `npm run preview:cf` | Serve a fresh build and the Worker with `wrangler dev` on http://localhost:8787 |
+| `npm run tauri:dev` | Desktop app in dev mode (Vite + Tauri window with hot reload) |
+| `npm run tauri:build` | Native desktop bundles for the current OS |
+| `npm run tauri:icon` | Render `src-tauri/icons/icon.svg` into every icon size |
+| `npm run tauri:android:dev` | Android app on a device or emulator |
+| `npm run tauri:android:build` | Universal Android APK |
+
+### shadcn/ui components
+
+The `components.json` is preconfigured. Add components on demand:
+
+```bash
+npx shadcn@latest add button input textarea tabs select card dialog sheet \
+ dropdown-menu switch badge progress tooltip sonner resizable
+```
+
## Desktop app (Tauri 2)
-JSONPrism also ships as a native desktop app via Tauri 2. The app uses the same React UI, with native OS dialogs and drag-drop hooked into the existing batch flow.
+JSONPrism also ships as a native desktop app via Tauri 2. The app uses the same React UI, with native OS dialogs and drag-drop hooked into the existing batch flow. It works fully offline: no analytics, no human check, and no network requests except links you open yourself.
+
+### Download (users)
+
+Get the bundle for your OS from the [latest release](https://github.com/poli0981/jsonPrism/releases/latest):
+
+| OS | Files | Requirement |
+| --- | --- | --- |
+| **Windows** | `.msi` or NSIS `-setup.exe` | WebView2 runtime (preinstalled on Windows 11) |
+| **macOS** | universal `.dmg` (Apple Silicon + Intel) | macOS **12** or newer |
+| **Linux** | `.deb`, `.rpm` or `.AppImage` | Built on Ubuntu 22.04 — needs Ubuntu 22.04 or a similarly recent distro |
+
+The desktop bundles aren't code-signed yet, so Windows SmartScreen or macOS Gatekeeper may warn the first time you open them. Releases from v2.0.0 on also carry `SHA256SUMS.txt` and GitHub build-provenance attestations, so you can check a download before running it:
+
+```bash
+sha256sum -c SHA256SUMS.txt --ignore-missing
+gh attestation verify --repo poli0981/jsonPrism
+```
+
+### Build (developers)
**Additional requirements**:
@@ -77,7 +155,7 @@ JSONPrism also ships as a native desktop app via Tauri 2. The app uses the same
- **Platform build deps**:
- **Windows**: Visual Studio Build Tools (C++ workload) + WebView2 (preinstalled on Windows 11)
- **macOS**: Xcode Command Line Tools (`xcode-select --install`)
- - **Linux**: `libwebkit2gtk-4.1-dev`, `libappindicator3-dev`, `librsvg2-dev`, `patchelf`, `libssl-dev`
+ - **Linux**: `libwebkit2gtk-4.1-dev`, `libappindicator3-dev`, `librsvg2-dev`, `patchelf`, `libssl-dev`, `libgtk-3-dev`
**Generate icons once** (uses Tauri's CLI to render the SVG to PNG/ICO/ICNS):
@@ -101,9 +179,9 @@ Output:
- Windows → `src-tauri/target/release/bundle/msi/*.msi` + `nsis/*-setup.exe`
- macOS → `src-tauri/target/release/bundle/dmg/*.dmg` + `macos/*.app`
-- Linux → `src-tauri/target/release/bundle/appimage/*.AppImage` + `deb/*.deb`
+- Linux → `src-tauri/target/release/bundle/appimage/*.AppImage` + `deb/*.deb` + `rpm/*.rpm`
-**Automated releases**: pushing a `v*` tag triggers `.github/workflows/release.yml`, which builds for all platforms in parallel and creates a draft GitHub release.
+**Automated releases**: pushing a `v*` tag runs `.github/workflows/release.yml`. It checks that the tag matches the version in `package.json` and `src-tauri/Cargo.toml`, runs the tests, builds the Windows, macOS (universal) and Linux bundles plus the Android APK into **one** draft GitHub release, then adds `SHA256SUMS.txt` and build-provenance attestations. The maintainer publishes the draft.
## Android app (Tauri 2)
@@ -117,14 +195,15 @@ JSONPrism also ships as an Android app you sideload from a `.apk`. Same React UI
| **System WebView** | **Chromium 111+** (Android System WebView / Chrome). Kept current by the Play Store on most devices; a much older WebView renders the layout incorrectly — update "Android System WebView" and Chrome from the Play Store if the UI looks broken. |
| **CPU / ABI** | arm64-v8a, armeabi-v7a, x86, or x86_64 — the single universal APK runs on all of them (modern phones are arm64-v8a) |
| **RAM** | 2 GB minimum; 4 GB recommended for large or batch (up to 500 files) conversions |
-| **Storage** | ~27 MB to download; ~100 MB free recommended (install + temporary working files) |
+| **Storage** | ~100 MB free recommended (install + temporary working files) |
| **Network** | None — the app runs fully offline and sends nothing off the device |
### Install (users)
-1. Download `JSONPrism--android-universal.apk` from the [Releases](https://github.com/poli0981/jsonPrism/releases) page.
-2. Open it; Android will ask you to allow "install unknown apps" for your browser/file manager — enable it, then install.
-3. Needs Android 12+. The app runs fully offline.
+1. Download `JSONPrism__android-universal.apk` from the [latest release](https://github.com/poli0981/jsonPrism/releases/latest).
+2. Optionally check it against `SHA256SUMS.txt` or with `gh attestation verify` (see [Download (users)](#download-users)).
+3. Open it; Android will ask you to allow "install unknown apps" for your browser/file manager — enable it, then install.
+4. Needs Android 12+. The app runs fully offline.
### Build (developers)
@@ -151,29 +230,7 @@ npm run tauri:android:build
Output: `src-tauri/gen/android/app/build/outputs/apk/universal/release/app-universal-release.apk`. Release signing is read from `src-tauri/gen/android/keystore.properties` (gitignored); without it the APK builds unsigned. See [`docs/TAURI-NOTES.md`](docs/TAURI-NOTES.md) for keystore setup and the CI signing secrets.
-**Automated releases**: the same `v*` tag also runs the `android` job in `release.yml`, which signs the APK with the keystore from repository secrets and attaches it to the draft release.
-
-### Scripts
-
-| Script | What it does |
-| --------------------- | --------------------------------------------- |
-| `npm run dev` | Start Vite dev server with HMR |
-| `npm run build` | Production build to `dist/` |
-| `npm run preview` | Preview the built site locally |
-| `npm run lint` | Run ESLint |
-| `npm run lint:fix` | Run ESLint with autofix |
-| `npm run typecheck` | TypeScript type-check, no emit |
-| `npm run format` | Format with Prettier |
-| `npm run format:check`| Check formatting (CI uses this) |
-
-### shadcn/ui components
-
-The `components.json` is preconfigured. Add components on demand:
-
-```bash
-npx shadcn@latest add button input textarea tabs select card dialog sheet \
- dropdown-menu switch badge progress tooltip sonner resizable
-```
+**Automated releases**: the same `v*` tag also runs the `android` job in `release.yml`, which signs the APK with the keystore from repository secrets and attaches it to the draft release as `JSONPrism__android-universal.apk`.
## Architecture
@@ -182,30 +239,34 @@ src/
├── app/ # Router + global providers
├── components/
│ ├── ui/ # shadcn components (added on demand)
-│ ├── layout/ # Header, Footer, ThemeToggle
-│ ├── converter/ # Workspace, panels, format picker
-│ └── common/ # ErrorBoundary, LanguageSwitcher
+│ ├── layout/ # Header, Footer, AppearanceMenu
+│ ├── converter/ # Workspace, panels, format picker, batch
+│ └── common/ # ConsentGate, HumanCheck, error boundaries, LanguageSwitcher
├── converters/ # One module per target format
│ ├── types.ts # Converter interface
│ ├── registry.ts # Lookup table
│ └── *.ts # Per-format implementations
├── hooks/ # Custom hooks
-├── i18n/ # Translations (en, vi)
-├── lib/ # detect, theme, utils, sample
-├── pages/ # Home, About
+├── i18n/ # Translations (en, vi, ja, zh-CN)
+├── lib/ # detect, conversion + Web Worker, batch, theme, logger, utils
+├── pages/ # Home, About, error pages
+├── stores/ # Zustand stores (workspace, batch, consent, preferences)
├── styles/ # globals.css (Tailwind + theme tokens)
└── main.tsx
```
+Outside `src/`: `worker/` is the Cloudflare Worker (`/api/health` and `/api/turnstile/verify`, configured in `wrangler.jsonc`), and `src-tauri/` is the Tauri 2 shell for the desktop and Android apps.
+
### Adding a new format
Each format is a self-contained module implementing the `Converter` interface:
```ts
import type { Converter } from './types';
+import { errorMessage } from '@/lib/errors';
interface MyFormatOptions {
- indent: 2 | 4;
+ indent: number;
}
export const myFormatConverter: Converter = {
@@ -218,18 +279,23 @@ export const myFormatConverter: Converter = {
ready: true,
},
defaultOptions: { indent: 2 },
+ // Drives the auto-generated settings panel.
+ optionSchema: [
+ { type: 'integer', key: 'indent', labelKey: 'options.myformat.indent', min: 0, max: 8 },
+ ],
convert({ data }, options) {
try {
const output = serialize(data, options);
return { ok: true, output };
} catch (err) {
- return { ok: false, error: (err as Error).message };
+ return { ok: false, error: errorMessage(err) };
}
},
+ // Optional: reverse({ text }, options) parses the format back to JSON.
};
```
-Then register it in `src/converters/registry.ts` and add label keys to `src/i18n/locales/*.json`.
+Then add the id to the `FormatId` union in `src/converters/types.ts`, register the converter in `src/converters/registry.ts` (`CONVERTERS` and `ALL_FORMATS`), and add its label keys to all four files in `src/i18n/locales/` — a parity test fails when a locale is missing a key.
See [`docs/ROADMAP.md`](docs/ROADMAP.md) for the full phase plan.
@@ -239,17 +305,31 @@ Pull requests welcome — please read [`CONTRIBUTING.md`](CONTRIBUTING.md) first
For bug reports and feature requests, use [GitHub Issues](https://github.com/poli0981/jsonPrism/issues). For security vulnerabilities, use the [private Security Advisory flow](https://github.com/poli0981/jsonPrism/security/advisories/new).
+## Contact
+
+| Address | For |
+| --- | --- |
+| [security@poli0981.dev](mailto:security@poli0981.dev) | Vulnerability reports (the [private Security Advisory flow](https://github.com/poli0981/jsonPrism/security/advisories/new) is preferred) |
+| [privacy@poli0981.dev](mailto:privacy@poli0981.dev) | Privacy requests |
+| [legal@poli0981.dev](mailto:legal@poli0981.dev) | Terms, licensing and other legal questions |
+| [copyright@poli0981.dev](mailto:copyright@poli0981.dev) | Copyright and takedown notices |
+| [code@poli0981.dev](mailto:code@poli0981.dev) | The project and its maintainer; Code of Conduct reports |
+| [sponsor@poli0981.dev](mailto:sponsor@poli0981.dev) | Sponsorship |
+
+Bug reports and feature requests belong in [GitHub Issues](https://github.com/poli0981/jsonPrism/issues), not email.
+
## Project docs
| Doc | What's in it |
|---|---|
-| [`PRIVACY.md`](PRIVACY.md) | Offline-first, localStorage-only, no telemetry. |
+| [`PRIVACY.md`](PRIVACY.md) | What stays on your device, and the web-only Cloudflare services (hosting, Turnstile, Web Analytics). |
| [`TERMS.md`](TERMS.md) | ToS / EULA — acceptable use, license inheritance, user data ownership. |
| [`SECURITY.md`](SECURITY.md) | How to report vulnerabilities; response SLAs. |
| [`DISCLAIMER.md`](DISCLAIMER.md) | One-person + AI-assisted project; no warranty. |
| [`THIRD-PARTY.md`](THIRD-PARTY.md) | Every dependency: version, license, link. |
| [`MAINTAINERS.md`](MAINTAINERS.md) | Who's responsible for what. |
| [`CODE_OF_CONDUCT.md`](CODE_OF_CONDUCT.md) | Contributor Covenant v2.1. |
+| [`CHANGELOG.md`](CHANGELOG.md) | Release notes for every version. |
| [`docs/ROADMAP.md`](docs/ROADMAP.md) | Phase plan, current status. |
| [`docs/pc_spec.md`](docs/pc_spec.md) · [`docs/dev_env.md`](docs/dev_env.md) | Maintainer's hardware + toolchain. |
| [`docs/TAURI-NOTES.md`](docs/TAURI-NOTES.md) | Tauri build / process notes. |
@@ -269,17 +349,21 @@ Hang out, ask questions, or follow updates:
## Acknowledgements
Substantial parts of JSONPrism's code, tests, translations, and docs
-were drafted with **Claude Chat** and **Claude Code (Opus 4.7, 1M
-context)**. See [DISCLAIMER.md](DISCLAIMER.md) for the full AI-assist
-disclosure. Translation quality for non-English locales is best-effort
-and contributions from native speakers are welcomed.
+were drafted with AI assistance: **Claude Chat** and **Claude Code
+(Opus 4.7, 1M context)** for v1.x, and **Claude Code (Opus 5.5)** for
+v2.0.0. See [DISCLAIMER.md](DISCLAIMER.md) for the full AI-assist
+disclosure. The Japanese and Simplified Chinese translations, and parts
+of the Vietnamese one, are AI-generated and best-effort; contributions
+from native speakers are welcomed.
## Sponsorship
-If JSONPrism is useful to you, consider sponsoring the maintainer via
-any of the channels in [`.github/FUNDING.yml`](.github/FUNDING.yml):
-GitHub Sponsors, Ko-fi, Buy Me a Coffee, Patreon, or PayPal.
+If JSONPrism is useful to you, consider sponsoring the maintainer,
+poli0981 (Kokone), via any of the channels in
+[`.github/FUNDING.yml`](.github/FUNDING.yml): GitHub Sponsors, Ko-fi,
+Buy Me a Coffee, Patreon, or PayPal. For sponsorship enquiries, email
+[sponsor@poli0981.dev](mailto:sponsor@poli0981.dev).
## License
-[Apache License 2.0](LICENSE) — © 2026 Kokone ([@poli0981](https://github.com/poli0981)).
+[Apache License 2.0](LICENSE) — © 2026 [poli0981](https://github.com/poli0981) (Kokone).
diff --git a/README.vi.md b/README.vi.md
index 57791d6..ee65a71 100644
--- a/README.vi.md
+++ b/README.vi.md
@@ -4,19 +4,19 @@
**Tán sắc JSON ra nhiều định dạng.**
-Một JSON đầu vào. Đa định dạng đích. Chạy hoàn toàn trong trình duyệt.
+Một JSON đầu vào. Đa định dạng đích. Chạy hoàn toàn trên thiết bị của bạn.
[](https://github.com/poli0981/jsonPrism/actions/workflows/ci.yml)
-[](https://github.com/poli0981/jsonPrism/actions/workflows/deploy.yml)
+[](https://sonarcloud.io/summary/new_code?id=poli0981_jsonPrism)
[](LICENSE)
-[Bản demo](https://poli0981.github.io/jsonPrism/) · [English](README.md) · [Lộ trình](docs/ROADMAP.md)
+[Ứng dụng web](https://jsonprism.poli0981.dev) · [Tải về](https://github.com/poli0981/jsonPrism/releases/latest) · [English](README.md) · [Lộ trình](docs/ROADMAP.md)
---
-JSONPrism là công cụ "tán sắc" cho developer. Nhận một JSON đầu vào và phân tách ra nhiều định dạng đích — như ánh sáng trắng đi qua lăng kính. **Mọi thứ chạy client-side**, dữ liệu của bạn không bao giờ rời khỏi máy.
+JSONPrism là công cụ "tán sắc" cho developer. Nhận một JSON đầu vào và phân tách ra nhiều định dạng đích — như ánh sáng trắng đi qua lăng kính. **Việc chuyển đổi diễn ra hoàn toàn trên thiết bị của bạn** — trong trình duyệt, app desktop hay app Android — nên dữ liệu không bao giờ rời khỏi máy.
## Định dạng hỗ trợ
@@ -35,41 +35,119 @@ JSONPrism là công cụ "tán sắc" cho developer. Nhận một JSON đầu v
| CBOR | `.cbor` | ✅ Phase 4 | — |
| MessagePack | `.msgpack` | ✅ Phase 4 | — |
+Tổng cộng 12 định dạng. Sáu trong số đó — JSONL, CSV, TSV, YAML, TOML và RESX — còn chuyển ngược được về JSON; ở chiều này app cũng nhận file `.ndjson`, `.tab` và `.yml`. SQL `INSERT` hỗ trợ SQL chuẩn, PostgreSQL, MySQL, SQLite và MSSQL. BSON, CBOR và MessagePack là định dạng nhị phân: panel output hiển thị chúng dưới dạng text base64 hoặc hex, còn file tải về là binary thật.
+
## Tính năng
-- **Chạy hoàn toàn client-side** — không server, không telemetry, không upload. JSON của bạn ở lại trong trình duyệt.
+- **Chuyển đổi ngay trên thiết bị** — không upload, không có server chuyển đổi. Những gì bạn dán, gõ hay mở đều ở lại trên máy; xem phần [Quyền riêng tư](#quyền-riêng-tư) để biết vài dịch vụ mà riêng website sử dụng.
- **Khởi động nhanh** — route và editor CodeMirror được lazy-load, mã vendor/parser tách thành nhiều chunk nhỏ theo tính năng, nên trình duyệt chỉ tải đúng phần bạn dùng.
-- **Xử lý batch** — tới 500 file cùng lúc (Phase 2).
+- **Mượt cả với input lớn** — input trên 256 KB và mọi lượt xử lý batch đều chạy trong Web Worker, nên gõ phím và cuộn trang vẫn mượt.
+- **Xử lý batch** — tới 500 file cùng lúc, tải về gọn trong một file `.zip` (định dạng nhị phân là binary thật).
- **Phát hiện shape thông minh** — nhận diện flat object, mảng object, scalar; gợi ý format đích phù hợp.
- **Tuỳ chọn theo từng format** — pretty-print, indentation, dialect (SQL), alignment (Markdown), v.v.
-- **Theme sáng/tối** — bảng màu Prism Spectrum với violet / cyan / amber / rose.
+- **Theme sáng, tối hoặc theo hệ thống** — bảng màu Prism Spectrum với violet / cyan / amber / rose trên phong cách "kỹ thuật" với nền lưới kiểu bản vẽ (blueprint). Menu Giao diện còn có tuỳ chọn ẩn thanh cuộn.
- **Responsive — tối ưu cho viewport ≥ 360 × 640.** Màn hình nhỏ hơn vẫn dùng được nhưng có thể chật; trên mobile, Input và Output dùng Tabs UI để mỗi panel có toàn bộ chiều cao. Xem [`docs/tested-viewports.md`](docs/tested-viewports.md) cho ma trận thiết bị đã kiểm thử.
-- **Đa ngôn ngữ EN + VI** — sẵn sàng từ ngày đầu. Hoan nghênh thêm ngôn ngữ khác.
-- **Bản desktop Tauri** — drag-and-drop file, hoạt động offline (mốc Phase 2).
+- **4 ngôn ngữ giao diện** — English, Tiếng Việt, 日本語 và 简体中文. Bản tiếng Nhật và tiếng Trung do AI dịch; rất hoan nghênh người bản ngữ góp ý chỉnh sửa.
+- **App desktop và Android** — bản Tauri 2 cho Windows, macOS, Linux và Android, có dialog chọn file native và drag-and-drop. Chạy hoàn toàn offline.
+
+## Quyền riêng tư
+
+- **Dữ liệu của bạn ở lại trên thiết bị.** Mọi bản build đều chuyển đổi ngay trên máy; những gì bạn dán, gõ hay mở không bao giờ bị tải lên. Cài đặt và trạng thái workspace được lưu trong `localStorage` và không gửi đi đâu cả.
+- **Riêng website** ([jsonprism.poli0981.dev](https://jsonprism.poli0981.dev)) **dùng thêm ba dịch vụ của Cloudflare**, và không dịch vụ nào thấy nội dung bạn chuyển đổi:
+ - **Hosting** — Cloudflare phục vụ trang web và, như mọi nhà cung cấp hosting, xử lý log request (địa chỉ IP, user agent) để phân phối nội dung và bảo mật.
+ - **Turnstile** — bước xác minh nhanh, khoảng mỗi tuần một lần (xác minh thành công được ghi nhớ 7 ngày). Nếu không kết nối được tới Cloudflare, bạn vẫn có thể tiếp tục sau một cảnh báo, vì việc chuyển đổi không bao giờ cần mạng.
+ - **Web Analytics** — đếm lượt xem trang ẩn danh, không dùng cookie, chỉ được tải sau khi bạn chấp nhận Điều khoản và Chính sách quyền riêng tư. Tắt tại **Giao diện → Thống kê truy cập ẩn danh**; mặc định tắt nếu trình duyệt gửi tín hiệu Global Privacy Control.
+- **App desktop và Android không dùng dịch vụ nào trong số này** — không analytics, không bước xác minh, không request mạng nào ngoài các link bạn tự mở.
+
+Chi tiết: [`PRIVACY.md`](PRIVACY.md).
## Tech stack
-- **Vite 8** + **React 19** + **TypeScript 5.7**
+- **Vite 8** + **React 19.3** + **TypeScript 7** (compiler native; dependency `typescript` là alias TS 6, chỉ giữ lại cho typescript-eslint)
- **Tailwind CSS v4** + **shadcn/ui** (style New York, base neutral)
-- **CodeMirror 6** cho editor đầu vào (Phase 1 polish)
-- **PapaParse**, **js-yaml**, **smol-toml**, **fast-xml-parser** để parse/serialize
-- **i18next** cho dịch thuật, **Zustand** cho state, **Sonner** cho toast
-- **Tauri 2** wrapper (Phase 2)
+- **CodeMirror 6** cho editor đầu vào và khung output chỉ đọc
+- **PapaParse**, **js-yaml**, **smol-toml**, **fast-xml-parser**, **bson**, **cbor-x**, **@msgpack/msgpack** để parse/serialize; **fflate** để đóng gói file `.zip` khi xử lý batch
+- **i18next** cho dịch thuật, **Zustand** cho state, **React Router 8** cho routing, **Sonner** cho toast
+- **Vitest** + Testing Library cho test
+- **Node.js 26** cho toolchain
+- **Cloudflare Workers** host bản web (static assets kèm một Worker nhỏ cho `/api/*`)
+- **Tauri 2.12** cho app desktop (Windows, macOS, Linux) và Android
## Bắt đầu nhanh
-**Yêu cầu**: Node.js **22 LTS** trở lên.
+**Yêu cầu**: Node.js **26** (ghim trong `.nvmrc`).
```bash
git clone https://github.com/poli0981/jsonPrism.git
-cd jsonprism
+cd jsonPrism
+nvm use # chọn Node 26 theo .nvmrc
npm install
npm run dev # http://localhost:5173
```
+Bước xác minh Turnstile tắt khi chạy `npm run dev` (đặt `VITE_TURNSTILE_DEV=1` nếu muốn thử). Để chạy bản build production giống cách Cloudflare phục vụ — static assets kèm Worker:
+
+```bash
+cp .dev.vars.example .dev.vars # secret test của Cloudflare Turnstile, luôn pass
+npm run preview:cf # build + wrangler dev tại http://localhost:8787
+```
+
+### Các script
+
+| Script | Chức năng |
+| --- | --- |
+| `npm run dev` | Chạy Vite dev server với HMR |
+| `npm run build` | Type-check rồi build production vào `dist/` |
+| `npm run preview` | Xem trước bản build trên máy local (Vite) |
+| `npm run lint` | Chạy ESLint |
+| `npm run lint:fix` | Chạy ESLint với autofix |
+| `npm run typecheck` | Type-check app, test, file config và Worker (TypeScript 7), không emit |
+| `npm run knip` | Tìm file, export và dependency không dùng đến |
+| `npm run format` | Format bằng Prettier |
+| `npm run format:check` | Kiểm tra format (CI dùng cái này) |
+| `npm test` | Chạy bộ test Vitest một lần |
+| `npm run test:watch` | Chạy Vitest ở chế độ watch |
+| `npm run test:coverage` | Chạy test kèm báo cáo coverage (CI dùng cái này) |
+| `npm run cf:types` | Tạo lại type cho các binding của Worker |
+| `npm run cf:check` | Chạy thử deploy lên Cloudflare (`wrangler deploy --dry-run`; CI cũng chạy) |
+| `npm run preview:cf` | Build mới rồi chạy site + Worker bằng `wrangler dev` tại http://localhost:8787 |
+| `npm run tauri:dev` | Chạy app desktop ở dev mode (Vite + cửa sổ Tauri có hot reload) |
+| `npm run tauri:build` | Build bundle desktop native cho OS đang dùng |
+| `npm run tauri:icon` | Render `src-tauri/icons/icon.svg` ra mọi kích thước icon |
+| `npm run tauri:android:dev` | Chạy app Android trên thiết bị hoặc emulator |
+| `npm run tauri:android:build` | Build APK Android universal |
+
+### Components shadcn/ui
+
+`components.json` đã được cấu hình sẵn. Thêm component theo nhu cầu:
+
+```bash
+npx shadcn@latest add button input textarea tabs select card dialog sheet \
+ dropdown-menu switch badge progress tooltip sonner resizable
+```
+
## Bản desktop (Tauri 2)
-JSONPrism cũng có bản desktop native qua Tauri 2. App dùng cùng React UI, với dialog OS native và drag-drop tích hợp vào batch flow hiện có.
+JSONPrism cũng có bản desktop native qua Tauri 2. App dùng cùng React UI, với dialog OS native và drag-drop tích hợp vào batch flow hiện có. App chạy hoàn toàn offline: không analytics, không bước xác minh, không request mạng nào ngoài các link bạn tự mở.
+
+### Tải về (người dùng)
+
+Tải bundle cho hệ điều hành của bạn từ [bản release mới nhất](https://github.com/poli0981/jsonPrism/releases/latest):
+
+| Hệ điều hành | File | Yêu cầu |
+| --- | --- | --- |
+| **Windows** | `.msi` hoặc NSIS `-setup.exe` | WebView2 runtime (cài sẵn trên Windows 11) |
+| **macOS** | `.dmg` universal (Apple Silicon + Intel) | macOS **12** trở lên |
+| **Linux** | `.deb`, `.rpm` hoặc `.AppImage` | Build trên Ubuntu 22.04 — cần Ubuntu 22.04 hoặc distro mới tương đương |
+
+Bản desktop chưa được ký số (code signing), nên Windows SmartScreen hoặc macOS Gatekeeper có thể cảnh báo ở lần mở đầu tiên. Từ v2.0.0, mỗi bản release đều kèm `SHA256SUMS.txt` và build-provenance attestation của GitHub để bạn kiểm tra file trước khi chạy:
+
+```bash
+sha256sum -c SHA256SUMS.txt --ignore-missing
+gh attestation verify --repo poli0981/jsonPrism
+```
+
+### Build (lập trình viên)
**Yêu cầu thêm**:
@@ -77,7 +155,7 @@ JSONPrism cũng có bản desktop native qua Tauri 2. App dùng cùng React UI,
- **Build deps theo platform**:
- **Windows**: Visual Studio Build Tools (workload C++) + WebView2 (cài sẵn trên Windows 11)
- **macOS**: Xcode Command Line Tools (`xcode-select --install`)
- - **Linux**: `libwebkit2gtk-4.1-dev`, `libappindicator3-dev`, `librsvg2-dev`, `patchelf`, `libssl-dev`
+ - **Linux**: `libwebkit2gtk-4.1-dev`, `libappindicator3-dev`, `librsvg2-dev`, `patchelf`, `libssl-dev`, `libgtk-3-dev`
**Generate icon một lần** (dùng Tauri CLI render SVG ra PNG/ICO/ICNS):
@@ -101,9 +179,9 @@ Output:
- Windows → `src-tauri/target/release/bundle/msi/*.msi` + `nsis/*-setup.exe`
- macOS → `src-tauri/target/release/bundle/dmg/*.dmg` + `macos/*.app`
-- Linux → `src-tauri/target/release/bundle/appimage/*.AppImage` + `deb/*.deb`
+- Linux → `src-tauri/target/release/bundle/appimage/*.AppImage` + `deb/*.deb` + `rpm/*.rpm`
-**Release tự động**: push tag `v*` sẽ trigger `.github/workflows/release.yml`, build cho tất cả platform song song và tạo draft GitHub release.
+**Release tự động**: push tag `v*` sẽ chạy `.github/workflows/release.yml`: kiểm tra tag khớp với version trong `package.json` và `src-tauri/Cargo.toml`, chạy test, build bundle Windows, macOS (universal), Linux cùng APK Android vào **một** draft GitHub release, rồi thêm `SHA256SUMS.txt` và build-provenance attestation. Maintainer sẽ publish draft đó.
## Bản Android (Tauri 2)
@@ -117,14 +195,15 @@ JSONPrism còn có bản Android để bạn sideload từ file `.apk`. Cùng Re
| **System WebView** | **Chromium 111+** (Android System WebView / Chrome). Đa số máy được Play Store cập nhật sẵn; WebView quá cũ sẽ render giao diện sai — nếu UI bị vỡ, hãy cập nhật "Android System WebView" và Chrome trong Play Store. |
| **CPU / ABI** | arm64-v8a, armeabi-v7a, x86 hoặc x86_64 — một file APK universal chạy được trên tất cả (máy hiện đại là arm64-v8a) |
| **RAM** | Tối thiểu 2 GB; khuyến nghị 4 GB cho file lớn hoặc xử lý hàng loạt (tối đa 500 file) |
-| **Dung lượng** | ~27 MB để tải; nên có ~100 MB trống (cài đặt + file tạm khi làm việc) |
+| **Dung lượng** | Nên có ~100 MB trống (cài đặt + file tạm khi làm việc) |
| **Mạng** | Không cần — app chạy hoàn toàn offline, không gửi gì ra ngoài |
### Cài đặt (người dùng)
-1. Tải `JSONPrism--android-universal.apk` từ trang [Releases](https://github.com/poli0981/jsonPrism/releases).
-2. Mở file; Android sẽ hỏi cho phép "cài app không rõ nguồn" cho trình duyệt/trình quản lý file — bật lên rồi cài.
-3. Cần Android 12+. App chạy hoàn toàn offline.
+1. Tải `JSONPrism__android-universal.apk` từ [bản release mới nhất](https://github.com/poli0981/jsonPrism/releases/latest).
+2. Nếu muốn, đối chiếu file với `SHA256SUMS.txt` hoặc kiểm tra bằng `gh attestation verify` (xem [Tải về (người dùng)](#tải-về-người-dùng)).
+3. Mở file; Android sẽ hỏi cho phép "cài app không rõ nguồn" cho trình duyệt/trình quản lý file — bật lên rồi cài.
+4. Cần Android 12+. App chạy hoàn toàn offline.
### Build (lập trình viên)
@@ -151,29 +230,7 @@ npm run tauri:android:build
Output: `src-tauri/gen/android/app/build/outputs/apk/universal/release/app-universal-release.apk`. Thông tin ký lấy từ `src-tauri/gen/android/keystore.properties` (gitignored); thiếu file này thì APK build ra chưa ký. Xem [`docs/TAURI-NOTES.md`](docs/TAURI-NOTES.md) để biết cách tạo keystore và các secret ký trong CI.
-**Release tự động**: cùng tag `v*` cũng chạy job `android` trong `release.yml`, ký APK bằng keystore từ repository secrets và đính vào draft release.
-
-### Các script
-
-| Script | Chức năng |
-| --------------------- | ---------------------------------------- |
-| `npm run dev` | Chạy Vite dev server với HMR |
-| `npm run build` | Build production vào `dist/` |
-| `npm run preview` | Xem trước bản build trên máy local |
-| `npm run lint` | Chạy ESLint |
-| `npm run lint:fix` | Chạy ESLint với autofix |
-| `npm run typecheck` | Type-check TypeScript, không emit |
-| `npm run format` | Format bằng Prettier |
-| `npm run format:check`| Kiểm tra format (CI dùng cái này) |
-
-### Components shadcn/ui
-
-`components.json` đã được cấu hình sẵn. Thêm component theo nhu cầu:
-
-```bash
-npx shadcn@latest add button input textarea tabs select card dialog sheet \
- dropdown-menu switch badge progress tooltip sonner resizable
-```
+**Release tự động**: cùng tag `v*` cũng chạy job `android` trong `release.yml`, ký APK bằng keystore từ repository secrets và đính vào draft release với tên `JSONPrism__android-universal.apk`.
## Kiến trúc
@@ -182,30 +239,34 @@ src/
├── app/ # Router + providers
├── components/
│ ├── ui/ # shadcn components (thêm theo nhu cầu)
-│ ├── layout/ # Header, Footer, ThemeToggle
-│ ├── converter/ # Workspace, panels, format picker
-│ └── common/ # ErrorBoundary, LanguageSwitcher
+│ ├── layout/ # Header, Footer, AppearanceMenu
+│ ├── converter/ # Workspace, panels, format picker, batch
+│ └── common/ # ConsentGate, HumanCheck, error boundary, LanguageSwitcher
├── converters/ # Một module cho mỗi định dạng đích
│ ├── types.ts # Interface Converter
│ ├── registry.ts # Bảng tra cứu
│ └── *.ts # Cài đặt theo từng format
├── hooks/ # Custom hooks
-├── i18n/ # Dịch thuật (en, vi)
-├── lib/ # detect, theme, utils, sample
-├── pages/ # Home, About
+├── i18n/ # Dịch thuật (en, vi, ja, zh-CN)
+├── lib/ # detect, chuyển đổi + Web Worker, batch, theme, logger, utils
+├── pages/ # Home, About, trang lỗi
+├── stores/ # Zustand store (workspace, batch, consent, preferences)
├── styles/ # globals.css (Tailwind + theme tokens)
└── main.tsx
```
+Ngoài `src/`: `worker/` là Cloudflare Worker (`/api/health` và `/api/turnstile/verify`, cấu hình trong `wrangler.jsonc`), còn `src-tauri/` là phần vỏ Tauri 2 cho app desktop và Android.
+
### Thêm định dạng mới
Mỗi format là một module độc lập, cài đặt interface `Converter`:
```ts
import type { Converter } from './types';
+import { errorMessage } from '@/lib/errors';
interface MyFormatOptions {
- indent: 2 | 4;
+ indent: number;
}
export const myFormatConverter: Converter = {
@@ -218,38 +279,57 @@ export const myFormatConverter: Converter = {
ready: true,
},
defaultOptions: { indent: 2 },
+ // Drives the auto-generated settings panel.
+ optionSchema: [
+ { type: 'integer', key: 'indent', labelKey: 'options.myformat.indent', min: 0, max: 8 },
+ ],
convert({ data }, options) {
try {
const output = serialize(data, options);
return { ok: true, output };
} catch (err) {
- return { ok: false, error: (err as Error).message };
+ return { ok: false, error: errorMessage(err) };
}
},
+ // Optional: reverse({ text }, options) parses the format back to JSON.
};
```
-Sau đó đăng ký nó trong `src/converters/registry.ts` và thêm label key vào `src/i18n/locales/*.json`.
+Sau đó thêm id vào union `FormatId` trong `src/converters/types.ts`, đăng ký converter trong `src/converters/registry.ts` (`CONVERTERS` và `ALL_FORMATS`), và thêm label key vào cả bốn file trong `src/i18n/locales/` — test parity sẽ fail nếu một ngôn ngữ thiếu key.
Xem [`docs/ROADMAP.md`](docs/ROADMAP.md) để biết kế hoạch phase đầy đủ.
## Đóng góp
-Welcome pull request — vui lòng đọc [`CONTRIBUTING.md`](CONTRIBUTING.md) trước. PR thuộc nhóm **auto-ignored** (code đáng ngờ, lan man không vào vấn đề, không mô tả…) sẽ bị đóng không review.
+Rất hoan nghênh pull request — vui lòng đọc [`CONTRIBUTING.md`](CONTRIBUTING.md) trước. PR thuộc nhóm **auto-ignored** (code đáng ngờ, lan man không vào vấn đề, không mô tả…) sẽ bị đóng không review.
Báo bug hoặc đề xuất tính năng tại [GitHub Issues](https://github.com/poli0981/jsonPrism/issues). Vấn đề bảo mật vui lòng dùng [Security Advisory riêng tư](https://github.com/poli0981/jsonPrism/security/advisories/new).
+## Liên hệ
+
+| Địa chỉ | Dùng cho |
+| --- | --- |
+| [security@poli0981.dev](mailto:security@poli0981.dev) | Báo lỗ hổng bảo mật (ưu tiên dùng [Security Advisory riêng tư](https://github.com/poli0981/jsonPrism/security/advisories/new)) |
+| [privacy@poli0981.dev](mailto:privacy@poli0981.dev) | Yêu cầu liên quan đến quyền riêng tư |
+| [legal@poli0981.dev](mailto:legal@poli0981.dev) | Điều khoản, giấy phép và các vấn đề pháp lý khác |
+| [copyright@poli0981.dev](mailto:copyright@poli0981.dev) | Thông báo bản quyền và yêu cầu gỡ bỏ (takedown) |
+| [code@poli0981.dev](mailto:code@poli0981.dev) | Về project và maintainer; báo cáo vi phạm Quy tắc ứng xử |
+| [sponsor@poli0981.dev](mailto:sponsor@poli0981.dev) | Tài trợ |
+
+Báo bug và đề xuất tính năng vui lòng gửi qua [GitHub Issues](https://github.com/poli0981/jsonPrism/issues), không gửi qua email.
+
## Tài liệu project
| Doc | Nội dung |
|---|---|
-| [`PRIVACY.md`](PRIVACY.md) | Offline-first, chỉ localStorage, không telemetry. |
+| [`PRIVACY.md`](PRIVACY.md) | Những gì ở lại trên thiết bị, và các dịch vụ Cloudflare chỉ dùng cho website (hosting, Turnstile, Web Analytics). |
| [`TERMS.md`](TERMS.md) | ToS / EULA — acceptable use, kế thừa giấy phép, quyền sở hữu dữ liệu. |
| [`SECURITY.md`](SECURITY.md) | Cách report vulnerability, SLA. |
| [`DISCLAIMER.md`](DISCLAIMER.md) | Project 1 người + AI-assisted, không bảo hành. |
| [`THIRD-PARTY.md`](THIRD-PARTY.md) | Mỗi dependency: version, giấy phép, link. |
| [`MAINTAINERS.md`](MAINTAINERS.md) | Ai chịu trách nhiệm gì. |
| [`CODE_OF_CONDUCT.md`](CODE_OF_CONDUCT.md) | Contributor Covenant v2.1. |
+| [`CHANGELOG.md`](CHANGELOG.md) | Ghi chú phát hành của từng phiên bản. |
| [`docs/ROADMAP.md`](docs/ROADMAP.md) | Phase plan, trạng thái hiện tại. |
| [`docs/i18n/vi/pc_spec.md`](docs/i18n/vi/pc_spec.md) · [`docs/i18n/vi/dev_env.md`](docs/i18n/vi/dev_env.md) | Phần cứng + toolchain của maintainer. |
| [`docs/TAURI-NOTES.md`](docs/TAURI-NOTES.md) | Ghi chú Tauri build / process. |
@@ -269,17 +349,20 @@ Trò chuyện, hỏi đáp, hoặc theo dõi cập nhật:
## Ghi nhận
Phần lớn code, test, bản dịch và tài liệu của JSONPrism được draft với
-**Claude Chat** và **Claude Code (Opus 4.7, 1M context)**. Xem
-[DISCLAIMER.md](DISCLAIMER.md) để biết chi tiết về AI-assist. Chất lượng
-bản dịch ngôn ngữ ngoài tiếng Anh là best-effort — rất hoan nghênh
-đóng góp từ người bản ngữ.
+sự hỗ trợ của AI: **Claude Chat** và **Claude Code (Opus 4.7, 1M
+context)** cho v1.x, **Claude Code (Opus 5.5)** cho v2.0.0. Xem
+[DISCLAIMER.md](DISCLAIMER.md) để biết chi tiết về AI-assist. Bản dịch
+tiếng Nhật, tiếng Trung giản thể và một phần bản tiếng Việt do AI tạo,
+chất lượng ở mức best-effort — rất hoan nghênh đóng góp từ người bản ngữ.
## Tài trợ
-Nếu JSONPrism hữu ích cho bạn, hãy cân nhắc tài trợ maintainer qua một
-trong các kên trong [`.github/FUNDING.yml`](.github/FUNDING.yml):
-GitHub Sponsors, Ko-fi, Buy Me a Coffee, Patreon hoặc PayPal.
+Nếu JSONPrism hữu ích cho bạn, hãy cân nhắc tài trợ maintainer
+poli0981 (Kokone) qua một trong các kênh trong
+[`.github/FUNDING.yml`](.github/FUNDING.yml): GitHub Sponsors, Ko-fi,
+Buy Me a Coffee, Patreon hoặc PayPal. Liên hệ về tài trợ qua email
+[sponsor@poli0981.dev](mailto:sponsor@poli0981.dev).
## Giấy phép
-[Apache License 2.0](LICENSE) — © 2026 Kokone ([@poli0981](https://github.com/poli0981)).
+[Apache License 2.0](LICENSE) — © 2026 [poli0981](https://github.com/poli0981) (Kokone).
diff --git a/SECURITY.md b/SECURITY.md
index 136fa42..97ca594 100644
--- a/SECURITY.md
+++ b/SECURITY.md
@@ -3,12 +3,13 @@
## Supported versions
JSONPrism follows [Semantic Versioning](https://semver.org/). Only the
-latest minor of the current major receives security fixes.
+latest release of the current major version receives security fixes; the
+website always runs the latest code on `main`.
| Version | Supported |
|---|---|
-| 1.x | ✅ |
-| < 1.0 | ❌ |
+| 2.x | ✅ |
+| < 2.0 | ❌ |
## Reporting a vulnerability
@@ -18,51 +19,72 @@ Use GitHub's private vulnerability reporting:
→
-This routes the report directly to the maintainer through a private
-channel. You can include a proof-of-concept, suggested fix, and your
-disclosure timeline preference.
+This reaches the maintainer through a private channel. Include a
+proof of concept, a suggested fix if you have one, and your preferred
+disclosure timeline.
-If GitHub's private reporting is unavailable for any reason, contact
-[@poli0981](https://github.com/poli0981) via the email listed on the
-GitHub profile.
+If you cannot use GitHub, email **security@poli0981.dev**. The same
+contacts are published in
+[`/.well-known/security.txt`](https://jsonprism.poli0981.dev/.well-known/security.txt).
## Response expectations
JSONPrism is a one-person open-source project (see
-[DISCLAIMER.md](DISCLAIMER.md)). Response times are best-effort:
+[DISCLAIMER.md](DISCLAIMER.md)). Response times are best effort:
| Severity | Initial response | Fix released |
|---|---|---|
-| Critical (RCE, data exfil, auth bypass) | within 48h | best-effort patch ASAP |
-| High (information disclosure, persistent XSS) | within 7 days | next release |
+| Critical (code execution, data exfiltration, supply-chain compromise) | within 48 h | as soon as possible |
+| High (information disclosure, persistent XSS, CSP bypass) | within 7 days | next release |
| Medium / Low | within 30 days | next minor release |
-For the **client-side, no-server** nature of JSONPrism, "critical" issues
-are realistically: malicious-input parsing crashes that lead to RCE
-inside the Tauri WebView, supply-chain compromise of a dependency, or
-prototype-pollution-style flaws in a converter that affects downstream
-consumers of the output.
+Conversion runs entirely on the user's device, so realistic critical
+issues are: malicious input that achieves code execution in the browser
+or the Tauri WebView, a compromised dependency, a converter flaw that
+produces output dangerous to downstream consumers (for example SQL or
+CSV injection beyond what the options document), or a weakness in the
+website's edge configuration.
## Scope
In scope:
-- Vulnerabilities in `src/` (React app, converters, batch processor).
-- Vulnerabilities in `src-tauri/` (Rust shell, plugin config, CSP).
-- Vulnerabilities introduced by build tooling that end up in the
- published bundle (`dist/` on GitHub Pages, Tauri release artifacts).
-- Auth/identity vulnerabilities — not applicable; the app has no
- accounts, no server, no telemetry.
+
+- `src/` — the React app, converters and batch processor.
+- `worker/` — the Cloudflare Worker (`/api/turnstile/verify`,
+ `/api/health`): origin checks, rate limiting, request validation.
+- Website edge configuration: `public/_headers` (CSP and security
+ headers), `public/_redirects`, `wrangler.jsonc`.
+- `src-tauri/` — the Rust shell, capabilities, file-system scope and CSP.
+- Build and release tooling whose output ships to users: the website
+ build, Tauri release artifacts and `.github/workflows/`.
Out of scope:
-- GitHub Pages or GitHub Actions platform issues — report to GitHub.
-- WebView2 / WebKitGTK / WKWebView host bugs — report to Microsoft /
- the GTK / Apple WebKit teams. JSONPrism inherits whatever is on the
+
+- Cloudflare, GitHub Pages or GitHub Actions platform issues — report them
+ to Cloudflare or GitHub.
+- WebView2 / WebKitGTK / WKWebView / Android System WebView bugs — report
+ them to their vendors. JSONPrism uses whatever is installed on the
user's system.
-- Issues that require an attacker to already have local code execution
- on the user's machine.
+- Turnstile bypasses that only affect Cloudflare's challenge itself.
+- Attacks that require existing local code execution on the user's
+ machine.
+- Missing best-practice headers with no demonstrable impact.
+
+## Verifying releases
+
+Every GitHub release includes `SHA256SUMS.txt` and build-provenance
+attestations generated in GitHub Actions:
+
+```bash
+sha256sum -c SHA256SUMS.txt --ignore-missing
+gh attestation verify JSONPrism_2.0.0_x64-setup.exe --repo poli0981/jsonPrism
+```
+
+The desktop installers are not yet code-signed, so Windows SmartScreen
+and macOS Gatekeeper may warn on first launch.
## Acknowledgements
-Reporters are credited in the published advisory unless they request
+Reporters are credited in the published advisory unless they ask
otherwise. Contributors of accepted fixes are credited in the release
notes.
diff --git a/TERMS.md b/TERMS.md
index e7ca14c..4241c2a 100644
--- a/TERMS.md
+++ b/TERMS.md
@@ -1,122 +1,146 @@
# Terms of Service / EULA
-**Last updated**: 2026-05-13
+**Version**: 2.0 · **Effective**: 2026-10-22 · Replaces the terms of 2026-05-13.
JSONPrism is a one-person, AI-assisted open-source project published by
-[@poli0981](https://github.com/poli0981) under the [Apache License 2.0](LICENSE).
-This page sets out the terms under which you may use the website, the
-desktop application, the source repository, and any associated assets
-(collectively, "JSONPrism").
+poli0981 (Kokone, [@poli0981](https://github.com/poli0981)) under the
+[Apache License 2.0](LICENSE). These terms cover the website, the desktop
+and Android applications, the source repository and associated assets
+(together, "JSONPrism").
-By using JSONPrism in any form, you agree to the terms below. If you do
-not agree, stop using it.
+By using JSONPrism in any form you agree to these terms. If you do not
+agree, stop using it.
---
## 1. Acceptance
-Accessing the web app at ,
-running the Tauri desktop bundle, cloning or downloading the repository,
-or otherwise interacting with the project constitutes acceptance of
-these terms.
+Using the web app at , installing or
+running the desktop or Android app, cloning or downloading the repository,
+or otherwise interacting with the project means you accept these terms.
+The apps ask you to confirm this on first launch (the Windows installer
+does so on its license page) and again whenever these terms or the
+[Privacy Policy](PRIVACY.md) change materially.
+
+You must be at least 13 years old, or the age of digital consent where
+you live, to use JSONPrism.
## 2. GitHub Terms of Service
-The repository, issues, discussions, releases, and pull requests are
-hosted on GitHub. You agree to use them in compliance with:
+The repository, issues, discussions, releases and pull requests are
+hosted on GitHub. Using them means complying with:
- [GitHub Terms of Service](https://docs.github.com/en/site-policy/github-terms/github-terms-of-service)
- [GitHub Acceptable Use Policies](https://docs.github.com/en/site-policy/acceptable-use-policies/github-acceptable-use-policies)
- [GitHub Privacy Statement](https://docs.github.com/en/site-policy/privacy-policies/github-general-privacy-statement)
-Behavior that violates GitHub's platform rules is also a violation of
-these terms.
+Behaviour that violates GitHub's rules also violates these terms.
-## 3. License inheritance
+## 3. License
-JSONPrism source code is licensed under the
-[Apache License, Version 2.0](LICENSE). You may use, modify, and
-redistribute the code subject to that license — most importantly, you
-must preserve copyright notices and the license text in distributions.
+JSONPrism's source code is licensed under the
+[Apache License, Version 2.0](LICENSE). You may use, study, modify and
+redistribute it under that license; in particular you must keep the
+copyright notices and the license text in your distributions. Nothing in
+these terms restricts rights the Apache License grants you.
-The project consumes third-party libraries with their own licenses. See
-[THIRD-PARTY.md](THIRD-PARTY.md) for the full list. When redistributing
-JSONPrism or a derivative, you are responsible for satisfying the terms
-of every upstream dependency.
+The project uses third-party libraries, fonts and services with their own
+licenses and terms, listed in [THIRD-PARTY.md](THIRD-PARTY.md). When you
+redistribute JSONPrism or a derivative, you are responsible for meeting
+the terms of every upstream component.
-## 4. No warranty / limitation of liability
+## 4. Third-party services (website only)
+
+The website is hosted on Cloudflare and uses Cloudflare Turnstile for a
+human check and Cloudflare Web Analytics for anonymous page-view counts,
+as described in the [Privacy Policy](PRIVACY.md). Cloudflare provides
+these services under its own terms and
+[privacy policy](https://www.cloudflare.com/privacypolicy/). The desktop
+and Android apps do not use them.
+
+## 5. No warranty and limitation of liability
JSONPrism is provided **"AS IS"**, without warranty of any kind, express
-or implied, including (but not limited to) warranties of merchantability,
-fitness for a particular purpose, and non-infringement. The maintainer
-is not liable for any claim, damages, or other liability arising from
-your use of the software.
+or implied, including warranties of merchantability, fitness for a
+particular purpose and non-infringement. To the maximum extent permitted
+by law, the maintainer is not liable for any claim, damages or other
+liability arising from your use of JSONPrism, including data loss or
+incorrect conversions. Check converted output before you rely on it.
-This restates the disclaimer in the Apache 2.0 license — see
-[DISCLAIMER.md](DISCLAIMER.md) for the project's own framing of the
-"one-person + AI-assisted" reality.
+This restates the disclaimer in the Apache License; see
+[DISCLAIMER.md](DISCLAIMER.md) for the project's own account of what
+"one person plus AI assistance" means in practice.
-## 5. User data ownership
+## 6. Your data
-You own everything you paste, drop, type, or generate in JSONPrism.
+You own everything you paste, drop, type or generate in JSONPrism.
-- The maintainer does not receive, store, transmit, or analyze your
- input or output. The web build is a static GitHub Pages deploy with no
- server-side code; the desktop bundle runs entirely on your machine.
-- The only on-disk footprint is a small set of `localStorage` preferences
- (theme, language, selected format, direction, per-format options) —
- documented in [PRIVACY.md](PRIVACY.md).
-- You are responsible for the legality of the data you feed in. If you
- paste copyrighted, classified, or otherwise restricted data, the
- responsibility is yours.
+- The maintainer does not receive, store, transmit or analyse your input
+ or output. Conversion runs on your device in every version.
+- What the apps keep on your device, and what the website's hosting and
+ services process, is documented in [PRIVACY.md](PRIVACY.md).
+- You are responsible for having the right to use the data you feed in.
-## 6. Acceptable use
+## 7. Acceptable use
-You may not:
+You must not:
-- Use JSONPrism, the repository, or its assets to facilitate activity
- that violates applicable law in your jurisdiction or the jurisdiction
- where the data was sourced.
-- Process **regulated personal data** (PHI, PCI, biometric, etc.) on the
- publicly hosted web build. If your environment requires such handling,
- build the Tauri desktop bundle yourself from source and run it
- air-gapped.
-- Submit pull requests or content that the maintainer determines
- contains hidden malicious code, obfuscated payloads, or supply-chain
- attack vectors. See [CONTRIBUTING.md](CONTRIBUTING.md) "Auto-ignored
- cases" for the enforcement rules — repeat offenders are banned from
- the repository.
-- Reverse-engineer the Tauri desktop bundle's capability scope to bypass
- the filesystem / dialog / shell restrictions configured in
- `src-tauri/capabilities/default.json`. This is enforced by Tauri's
- runtime; circumventing it is a violation of these terms.
-- Misrepresent JSONPrism as an official, certified, or guaranteed
- product. It is a one-person indie project (see
- [MAINTAINERS.md](MAINTAINERS.md)).
+- Use JSONPrism, the repository or its assets to facilitate activity that
+ is unlawful where you are or where the data comes from.
+- Process **regulated personal data** (health, payment card, biometric
+ data and the like) on the hosted website. If your environment requires
+ such handling, use the desktop app or build JSONPrism from source and
+ run it in your own controlled environment.
+- Attack, overload, probe for vulnerabilities without following
+ [SECURITY.md](SECURITY.md), or disrupt the website or its API, or try
+ to bypass or automate its human check.
+- Submit pull requests or other content that hides malicious code,
+ obfuscated payloads or supply-chain attacks. See
+ [CONTRIBUTING.md](CONTRIBUTING.md) for how such contributions are
+ handled; repeat offenders are blocked from the repository.
+- Present JSONPrism as an official, certified or guaranteed product. It
+ is a one-person indie project (see [MAINTAINERS.md](MAINTAINERS.md)).
-## 7. Trademarks
+## 8. Trademarks
-"JSONPrism" and the prism logo are project marks of the maintainer.
-You may reference the project, but do not imply official endorsement of
-your derivative product without prior written permission.
+"JSONPrism" and the prism logo identify this project. You may refer to
+the project, but do not use the name or logo in a way that suggests the
+maintainer made or endorses your product or modified build without prior
+written permission.
-## 8. Modifications
+## 9. Copyright complaints
-The maintainer may update these terms. Material changes are recorded in
-[CHANGELOG.md](CHANGELOG.md) under the corresponding release. Continued
-use after a change constitutes acceptance of the updated terms.
+The website hosts no user content. If you believe material in the
+repository or the apps infringes your copyright, write to
+**copyright@poli0981.dev** with the material concerned, the work you
+claim it infringes and your contact details. Content on GitHub
+(issues, discussions, pull requests) is also subject to
+[GitHub's DMCA process](https://docs.github.com/en/site-policy/content-removal-policies/dmca-takedown-policy).
-## 9. Termination
+## 10. Changes
-The maintainer may, at any time and at sole discretion, restrict access
-to the repository or block contributions from a user whose behavior
-violates these terms or [CODE_OF_CONDUCT.md](CODE_OF_CONDUCT.md). Such
-restrictions do not revoke the Apache 2.0 license already granted on
-existing distributions.
+The maintainer may update these terms. Changes are listed in
+[CHANGELOG.md](CHANGELOG.md) under the release that introduces them, and
+material changes increase the version number above and are presented for
+acceptance in the apps. Continuing to use JSONPrism after a change means
+you accept the updated terms.
-## 10. Contact
+## 11. Termination
-- General contact: see [MAINTAINERS.md](MAINTAINERS.md).
-- Security: see [SECURITY.md](SECURITY.md) for the private vulnerability
- reporting flow.
-- Privacy questions: see [PRIVACY.md](PRIVACY.md).
+The maintainer may at any time restrict access to the website or the
+repository, or block contributions from anyone whose behaviour violates
+these terms or the [Code of Conduct](CODE_OF_CONDUCT.md). This does not
+revoke the Apache License already granted for existing distributions.
+
+## 12. Severability
+
+If any provision of these terms is held unenforceable, the rest remain in
+effect. Not enforcing a provision does not waive it.
+
+## 13. Contact
+
+- Legal and licensing: legal@poli0981.dev
+- Copyright: copyright@poli0981.dev
+- Privacy: privacy@poli0981.dev ([PRIVACY.md](PRIVACY.md))
+- Security: [SECURITY.md](SECURITY.md)
+- Project and maintainer: [MAINTAINERS.md](MAINTAINERS.md)
diff --git a/THIRD-PARTY.md b/THIRD-PARTY.md
index 5f79ee9..539b4c0 100644
--- a/THIRD-PARTY.md
+++ b/THIRD-PARTY.md
@@ -1,16 +1,20 @@
# Third-party notice
JSONPrism is built on top of open-source libraries. This page lists each
-direct dependency, the version pinned in [`package.json`](package.json) and
-[`src-tauri/Cargo.toml`](src-tauri/Cargo.toml), the upstream license, and a
-link to the project.
+direct dependency declared in [`package.json`](package.json) and
+[`src-tauri/Cargo.toml`](src-tauri/Cargo.toml), the exact version used by
+**JSONPrism 2.0.0**, the upstream license, and a link to the project. It
+also lists the third-party services the website uses.
-Versions reflect the `^` semver range — exact installed versions appear
-in [`package-lock.json`](package-lock.json) and `src-tauri/Cargo.lock`.
+Versions are the ones locked in [`package-lock.json`](package-lock.json)
+and [`src-tauri/Cargo.lock`](src-tauri/Cargo.lock); the manifests declare
+semver ranges. License identifiers (SPDX) are copied from each package's
+own `package.json` or `Cargo.toml`. Transitive dependencies are listed in
+the lockfiles.
-If you are bundling JSONPrism into a derived work, the Apache 2.0
-license inherited from the upstream packages requires that you reproduce
-the relevant notices. This file is a starting point.
+If you are bundling JSONPrism into a derived work, these licenses (MIT,
+ISC, BSD, Apache-2.0, OFL-1.1) require that you keep the upstream
+copyright and license notices. This file is a starting point.
---
@@ -18,120 +22,164 @@ the relevant notices. This file is a starting point.
| Package | Version | License | Link |
|---|---|---|---|
-| `react` | ^19.0.0 | MIT | [react.dev](https://react.dev/) |
-| `react-dom` | ^19.0.0 | MIT | [react.dev](https://react.dev/) |
-| `react-router-dom` | ^7.0.0 | MIT | [reactrouter.com](https://reactrouter.com/) |
-| `tailwindcss` | ^4.0.0 | MIT | [tailwindcss.com](https://tailwindcss.com/) |
-| `tw-animate-css` | ^1.2.0 | MIT | [github.com/Wombosvideo/tw-animate-css](https://github.com/Wombosvideo/tw-animate-css) |
-| `tailwind-merge` | ^2.5.0 | MIT | [github.com/dcastil/tailwind-merge](https://github.com/dcastil/tailwind-merge) |
-| `class-variance-authority` | ^0.7.0 | Apache-2.0 | [cva.style](https://cva.style/) |
-| `clsx` | ^2.1.0 | MIT | [github.com/lukeed/clsx](https://github.com/lukeed/clsx) |
-| `@radix-ui/react-dialog` | ^1.1.0 | MIT | [radix-ui.com](https://www.radix-ui.com/) |
-| `@radix-ui/react-slot` | ^1.1.0 | MIT | [radix-ui.com](https://www.radix-ui.com/) |
-| `@radix-ui/react-switch` | ^1.1.0 | MIT | [radix-ui.com](https://www.radix-ui.com/) |
-| `@radix-ui/react-tabs` | ^1.1.0 | MIT | [radix-ui.com](https://www.radix-ui.com/) |
-| `lucide-react` | ^0.460.0 | ISC | [lucide.dev](https://lucide.dev/) |
-| `sonner` | ^2.0.7 | MIT | [sonner.emilkowal.ski](https://sonner.emilkowal.ski/) |
-| `react-dropzone` | ^14.3.0 | MIT | [react-dropzone.js.org](https://react-dropzone.js.org/) |
+| `react` | 19.3.1 | MIT | [react.dev](https://react.dev/) |
+| `react-dom` | 19.3.1 | MIT | [react.dev](https://react.dev/) |
+| `react-router` | 8.5.0 | MIT | [reactrouter.com](https://reactrouter.com/) |
+| `tailwindcss` (devDep) | 4.3.3 | MIT | [tailwindcss.com](https://tailwindcss.com/) |
+| `tw-animate-css` (devDep) | 1.4.0 | MIT | [github.com/Wombosvideo/tw-animate-css](https://github.com/Wombosvideo/tw-animate-css) |
+| `tailwind-merge` | 3.7.0 | MIT | [github.com/dcastil/tailwind-merge](https://github.com/dcastil/tailwind-merge) |
+| `class-variance-authority` | 0.7.1 | Apache-2.0 | [cva.style](https://cva.style/) |
+| `clsx` | 2.1.1 | MIT | [github.com/lukeed/clsx](https://github.com/lukeed/clsx) |
+| `@radix-ui/react-dialog` | 1.3.1 | MIT | [radix-ui.com](https://www.radix-ui.com/) |
+| `@radix-ui/react-slot` | 1.5.0 | MIT | [radix-ui.com](https://www.radix-ui.com/) |
+| `@radix-ui/react-switch` | 1.4.1 | MIT | [radix-ui.com](https://www.radix-ui.com/) |
+| `@radix-ui/react-tabs` | 1.2.1 | MIT | [radix-ui.com](https://www.radix-ui.com/) |
+| `lucide-react` | 1.61.0 | ISC | [lucide.dev](https://lucide.dev/) |
+| `sonner` | 2.0.8 | MIT | [sonner.emilkowal.ski](https://sonner.emilkowal.ski/) |
+| `react-dropzone` | 20.1.4 | MIT | [react-dropzone.js.org](https://react-dropzone.js.org/) |
The component patterns under `src/components/ui/` are generated from
**[shadcn/ui](https://ui.shadcn.com/)** (MIT) — copied into the repo, not
-installed as a runtime dependency.
+installed as a runtime dependency. `tailwindcss` and `tw-animate-css` are
+build-time packages whose generated CSS ships in the bundle.
## Code editor
| Package | Version | License | Link |
|---|---|---|---|
-| `@uiw/react-codemirror` | ^4.23.0 | MIT | [uiwjs.github.io/react-codemirror](https://uiwjs.github.io/react-codemirror/) |
-| `@codemirror/state` | ^6.4.0 | MIT | [codemirror.net](https://codemirror.net/) |
-| `@codemirror/view` | ^6.34.0 | MIT | [codemirror.net](https://codemirror.net/) |
-| `@codemirror/language` | ^6.10.0 | MIT | [codemirror.net](https://codemirror.net/) |
-| `@codemirror/lang-json` | ^6.0.0 | MIT | [codemirror.net](https://codemirror.net/) |
-| `@codemirror/lang-yaml` | ^6.1.3 | MIT | [codemirror.net](https://codemirror.net/) |
-| `@codemirror/lang-xml` | ^6.1.0 | MIT | [codemirror.net](https://codemirror.net/) |
-| `@codemirror/lang-markdown` | ^6.5.0 | MIT | [codemirror.net](https://codemirror.net/) |
-| `@codemirror/lang-sql` | ^6.10.0 | MIT | [codemirror.net](https://codemirror.net/) |
-| `@codemirror/legacy-modes` | ^6.5.2 | MIT | [codemirror.net](https://codemirror.net/) |
-| `@codemirror/lint` | ^6.8.0 | MIT | [codemirror.net](https://codemirror.net/) |
-| `@lezer/highlight` | ^1.2.0 | MIT | [lezer.codemirror.net](https://lezer.codemirror.net/) |
+| `@uiw/react-codemirror` | 4.25.12 | MIT | [uiwjs.github.io/react-codemirror](https://uiwjs.github.io/react-codemirror/) |
+| `@codemirror/state` | 6.7.6 | MIT | [codemirror.net](https://codemirror.net/) |
+| `@codemirror/view` | 6.43.15 | MIT | [codemirror.net](https://codemirror.net/) |
+| `@codemirror/language` | 6.13.1 | MIT | [codemirror.net](https://codemirror.net/) |
+| `@codemirror/lang-json` | 6.0.2 | MIT | [codemirror.net](https://codemirror.net/) |
+| `@codemirror/lang-yaml` | 6.1.3 | MIT | [codemirror.net](https://codemirror.net/) |
+| `@codemirror/lang-xml` | 6.1.0 | MIT | [codemirror.net](https://codemirror.net/) |
+| `@codemirror/lang-markdown` | 6.5.2 | MIT | [codemirror.net](https://codemirror.net/) |
+| `@codemirror/lang-sql` | 6.10.0 | MIT | [codemirror.net](https://codemirror.net/) |
+| `@codemirror/legacy-modes` | 6.5.5 | MIT | [codemirror.net](https://codemirror.net/) |
+| `@codemirror/lint` | 6.9.7 | MIT | [codemirror.net](https://codemirror.net/) |
+| `@lezer/highlight` | 1.2.5 | MIT | [lezer.codemirror.net](https://lezer.codemirror.net/) |
## Parsers / serialization
| Package | Version | License | Link |
|---|---|---|---|
-| `papaparse` | ^5.4.0 | MIT | [papaparse.com](https://www.papaparse.com/) |
-| `js-yaml` | ^4.1.0 | MIT | [github.com/nodeca/js-yaml](https://github.com/nodeca/js-yaml) |
-| `smol-toml` | ^1.3.0 | BSD-3-Clause | [github.com/squirrelchat/smol-toml](https://github.com/squirrelchat/smol-toml) |
-| `fast-xml-parser` | ^5.8.0 | MIT | [github.com/NaturalIntelligence/fast-xml-parser](https://github.com/NaturalIntelligence/fast-xml-parser) |
-| `bson` | ^7.2.0 | Apache-2.0 | [github.com/mongodb/js-bson](https://github.com/mongodb/js-bson) |
-| `cbor-x` | ^1.6.4 | MIT | [github.com/kriszyp/cbor-x](https://github.com/kriszyp/cbor-x) |
-| `@msgpack/msgpack` | ^3.1.3 | ISC | [msgpack.org/javascript](https://msgpack.org/) |
-| `fflate` | ^0.8.2 | MIT | [github.com/101arrowz/fflate](https://github.com/101arrowz/fflate) |
+| `papaparse` | 5.7.0 | MIT | [papaparse.com](https://www.papaparse.com/) |
+| `js-yaml` | 5.5.0 | MIT | [github.com/nodeca/js-yaml](https://github.com/nodeca/js-yaml) |
+| `smol-toml` | 1.9.1 | BSD-3-Clause | [github.com/squirrelchat/smol-toml](https://github.com/squirrelchat/smol-toml) |
+| `fast-xml-parser` | 5.11.2 | MIT | [github.com/NaturalIntelligence/fast-xml-parser](https://github.com/NaturalIntelligence/fast-xml-parser) |
+| `bson` | 7.3.3 | Apache-2.0 | [github.com/mongodb/js-bson](https://github.com/mongodb/js-bson) |
+| `cbor-x` | 1.6.8 | MIT | [github.com/kriszyp/cbor-x](https://github.com/kriszyp/cbor-x) |
+| `@msgpack/msgpack` | 3.1.3 | ISC | [msgpack.org](https://msgpack.org/) |
+| `fflate` | 0.8.3 | MIT | [github.com/101arrowz/fflate](https://github.com/101arrowz/fflate) |
## State & i18n
| Package | Version | License | Link |
|---|---|---|---|
-| `zustand` | ^5.0.0 | MIT | [github.com/pmndrs/zustand](https://github.com/pmndrs/zustand) |
-| `i18next` | ^23.0.0 | MIT | [i18next.com](https://www.i18next.com/) |
-| `react-i18next` | ^15.0.0 | MIT | [react.i18next.com](https://react.i18next.com/) |
-| `i18next-browser-languagedetector` | ^8.0.0 | MIT | [github.com/i18next/i18next-browser-languageDetector](https://github.com/i18next/i18next-browser-languageDetector) |
+| `zustand` | 5.0.16 | MIT | [github.com/pmndrs/zustand](https://github.com/pmndrs/zustand) |
+| `i18next` | 26.5.5 | MIT | [i18next.com](https://www.i18next.com/) |
+| `react-i18next` | 17.1.1 | MIT | [react.i18next.com](https://react.i18next.com/) |
+| `i18next-browser-languagedetector` | 8.2.1 | MIT | [github.com/i18next/i18next-browser-languageDetector](https://github.com/i18next/i18next-browser-languageDetector) |
-## Tauri (desktop)
+## Cloudflare (web build)
| Package | Version | License | Link |
|---|---|---|---|
-| `@tauri-apps/api` | ^2.0.0 | Apache-2.0 OR MIT | [tauri.app](https://tauri.app/) |
-| `@tauri-apps/plugin-dialog` | ^2.0.0 | Apache-2.0 OR MIT | [tauri.app](https://tauri.app/) |
-| `@tauri-apps/plugin-fs` | ^2.0.0 | Apache-2.0 OR MIT | [tauri.app](https://tauri.app/) |
-| `@tauri-apps/plugin-opener` | ^2.0.0 | Apache-2.0 OR MIT | [tauri.app](https://tauri.app/) |
-| `@tauri-apps/plugin-os` | ^2.0.0 | Apache-2.0 OR MIT | [tauri.app](https://tauri.app/) |
-| `@tauri-apps/cli` (devDep) | ^2.0.0 | Apache-2.0 OR MIT | [tauri.app](https://tauri.app/) |
+| `@marsidev/react-turnstile` | 1.6.3 | MIT | [github.com/marsidev/react-turnstile](https://github.com/marsidev/react-turnstile) |
+| `wrangler` (devDep) | 4.151.3 | MIT OR Apache-2.0 | [github.com/cloudflare/workers-sdk](https://github.com/cloudflare/workers-sdk) |
-### Rust crates (`src-tauri/Cargo.toml`)
+`@marsidev/react-turnstile` renders the Turnstile widget on the website
+only. `wrangler` runs, type-checks and deploys the Worker in `worker/`.
+The services themselves are covered under
+[Third-party services](#third-party-services-web-build-only).
+
+## Tauri (desktop and Android)
+
+| Package | Version | License | Link |
+|---|---|---|---|
+| `@tauri-apps/api` | 2.12.4 | Apache-2.0 OR MIT | [tauri.app](https://tauri.app/) |
+| `@tauri-apps/plugin-dialog` | 2.8.3 | MIT OR Apache-2.0 | [tauri.app](https://tauri.app/) |
+| `@tauri-apps/plugin-fs` | 2.7.1 | MIT OR Apache-2.0 | [tauri.app](https://tauri.app/) |
+| `@tauri-apps/plugin-opener` | 2.7.2 | MIT OR Apache-2.0 | [tauri.app](https://tauri.app/) |
+| `@tauri-apps/cli` (devDep) | 2.12.4 | Apache-2.0 OR MIT | [tauri.app](https://tauri.app/) |
+
+### Rust crates (`src-tauri/Cargo.lock`)
| Crate | Version | License | Link |
|---|---|---|---|
-| `tauri` | 2 | Apache-2.0 OR MIT | [crates.io/crates/tauri](https://crates.io/crates/tauri) |
-| `tauri-build` | 2 | Apache-2.0 OR MIT | [crates.io/crates/tauri-build](https://crates.io/crates/tauri-build) |
-| `tauri-plugin-dialog` | 2 | Apache-2.0 OR MIT | [crates.io/crates/tauri-plugin-dialog](https://crates.io/crates/tauri-plugin-dialog) |
-| `tauri-plugin-fs` | 2 | Apache-2.0 OR MIT | [crates.io/crates/tauri-plugin-fs](https://crates.io/crates/tauri-plugin-fs) |
-| `tauri-plugin-opener` | 2 | Apache-2.0 OR MIT | [crates.io/crates/tauri-plugin-opener](https://crates.io/crates/tauri-plugin-opener) |
-| `tauri-plugin-os` | 2 | Apache-2.0 OR MIT | [crates.io/crates/tauri-plugin-os](https://crates.io/crates/tauri-plugin-os) |
-| `tauri-plugin-single-instance` | 2 | Apache-2.0 OR MIT | [crates.io/crates/tauri-plugin-single-instance](https://crates.io/crates/tauri-plugin-single-instance) |
-| `serde` | 1 | Apache-2.0 OR MIT | [serde.rs](https://serde.rs/) |
-| `serde_json` | 1 | Apache-2.0 OR MIT | [github.com/serde-rs/json](https://github.com/serde-rs/json) |
+| `tauri` | 2.12.5 | Apache-2.0 OR MIT | [crates.io/crates/tauri](https://crates.io/crates/tauri) |
+| `tauri-build` (build dependency) | 2.7.4 | Apache-2.0 OR MIT | [crates.io/crates/tauri-build](https://crates.io/crates/tauri-build) |
+| `tauri-plugin-dialog` | 2.8.3 | Apache-2.0 OR MIT | [crates.io/crates/tauri-plugin-dialog](https://crates.io/crates/tauri-plugin-dialog) |
+| `tauri-plugin-fs` | 2.7.1 | Apache-2.0 OR MIT | [crates.io/crates/tauri-plugin-fs](https://crates.io/crates/tauri-plugin-fs) |
+| `tauri-plugin-opener` | 2.7.2 | Apache-2.0 OR MIT | [crates.io/crates/tauri-plugin-opener](https://crates.io/crates/tauri-plugin-opener) |
+| `tauri-plugin-single-instance` (desktop only) | 2.5.4 | Apache-2.0 OR MIT | [crates.io/crates/tauri-plugin-single-instance](https://crates.io/crates/tauri-plugin-single-instance) |
+| `serde` | 1.0.229 | MIT OR Apache-2.0 | [serde.rs](https://serde.rs/) |
+| `serde_json` | 1.0.154 | MIT OR Apache-2.0 | [github.com/serde-rs/json](https://github.com/serde-rs/json) |
## Build tooling
+Development dependencies: used to build, lint and test JSONPrism, not
+shipped in the app.
+
| Package | Version | License | Link |
|---|---|---|---|
-| `vite` | ^8.0.0 | MIT | [vite.dev](https://vite.dev/) |
-| `@vitejs/plugin-react` | ^6.0.0 | MIT | [github.com/vitejs/vite-plugin-react](https://github.com/vitejs/vite-plugin-react) |
-| `@tailwindcss/vite` | ^4.0.0 | MIT | [tailwindcss.com](https://tailwindcss.com/) |
-| `typescript` | ^5.7.0 | Apache-2.0 | [typescriptlang.org](https://www.typescriptlang.org/) |
-| `eslint` | ^9.15.0 | MIT | [eslint.org](https://eslint.org/) |
-| `typescript-eslint` | ^8.15.0 | MIT, BSD-2-Clause | [typescript-eslint.io](https://typescript-eslint.io/) |
-| `eslint-plugin-react-hooks` | ^5.0.0 | MIT | [github.com/facebook/react](https://github.com/facebook/react) |
-| `eslint-plugin-react-refresh` | ^0.4.0 | MIT | [github.com/ArnaudBarre/eslint-plugin-react-refresh](https://github.com/ArnaudBarre/eslint-plugin-react-refresh) |
-| `prettier` | ^3.4.0 | MIT | [prettier.io](https://prettier.io/) |
-| `prettier-plugin-tailwindcss` | ^0.6.0 | MIT | [github.com/tailwindlabs/prettier-plugin-tailwindcss](https://github.com/tailwindlabs/prettier-plugin-tailwindcss) |
-| `vitest` | ^4.1.6 | MIT | [vitest.dev](https://vitest.dev/) |
-| `@vitest/coverage-v8` | ^4.1.6 | MIT | [vitest.dev](https://vitest.dev/) |
-| `@testing-library/react` | ^16.1.0 | MIT | [testing-library.com](https://testing-library.com/) |
-| `@testing-library/jest-dom` | ^6.6.0 | MIT | [testing-library.com](https://testing-library.com/) |
-| `@testing-library/user-event` | ^14.5.0 | MIT | [testing-library.com](https://testing-library.com/) |
-| `jsdom` | ^29.0.0 | MIT | [github.com/jsdom/jsdom](https://github.com/jsdom/jsdom) |
-| `knip` | ^6.14.1 | ISC | [knip.dev](https://knip.dev/) |
-| `globals` | ^14.0.0 | MIT | [github.com/sindresorhus/globals](https://github.com/sindresorhus/globals) |
+| `vite` | 8.3.5 | MIT | [vite.dev](https://vite.dev/) |
+| `@vitejs/plugin-react` | 6.1.2 | MIT | [github.com/vitejs/vite-plugin-react](https://github.com/vitejs/vite-plugin-react) |
+| `@tailwindcss/vite` | 4.3.3 | MIT | [tailwindcss.com](https://tailwindcss.com/) |
+| `@typescript/native` (alias of `typescript@^7`) | 7.0.2 | Apache-2.0 | [typescriptlang.org](https://www.typescriptlang.org/) |
+| `typescript` (alias of `@typescript/typescript6`, wraps TypeScript 6.0.3) | 6.0.2 | Apache-2.0 | [typescriptlang.org](https://www.typescriptlang.org/) |
+| `eslint` | 10.13.0 | MIT | [eslint.org](https://eslint.org/) |
+| `@eslint/js` | 10.0.1 | MIT | [eslint.org](https://eslint.org/) |
+| `typescript-eslint` | 8.72.0 | MIT | [typescript-eslint.io](https://typescript-eslint.io/) |
+| `eslint-plugin-react-hooks` | 7.1.1 | MIT | [github.com/facebook/react](https://github.com/facebook/react) |
+| `eslint-plugin-react-refresh` | 0.5.7 | MIT | [github.com/ArnaudBarre/eslint-plugin-react-refresh](https://github.com/ArnaudBarre/eslint-plugin-react-refresh) |
+| `globals` | 17.13.0 | MIT | [github.com/sindresorhus/globals](https://github.com/sindresorhus/globals) |
+| `prettier` | 3.9.10 | MIT | [prettier.io](https://prettier.io/) |
+| `prettier-plugin-tailwindcss` | 0.8.1 | MIT | [github.com/tailwindlabs/prettier-plugin-tailwindcss](https://github.com/tailwindlabs/prettier-plugin-tailwindcss) |
+| `knip` | 6.42.1 | ISC | [knip.dev](https://knip.dev/) |
+| `vitest` | 5.0.5 | MIT | [vitest.dev](https://vitest.dev/) |
+| `@vitest/coverage-v8` | 5.0.5 | MIT | [vitest.dev](https://vitest.dev/) |
+| `jsdom` | 30.1.3 | MIT | [github.com/jsdom/jsdom](https://github.com/jsdom/jsdom) |
+| `@testing-library/react` | 16.3.3 | MIT | [testing-library.com](https://testing-library.com/) |
+| `@testing-library/dom` | 10.4.2 | MIT | [testing-library.com](https://testing-library.com/) |
+| `@testing-library/jest-dom` | 7.0.1 | MIT | [testing-library.com](https://testing-library.com/) |
+| `@testing-library/user-event` | 14.6.8 | MIT | [testing-library.com](https://testing-library.com/) |
+| `@types/node` | 26.6.5 | MIT | [github.com/DefinitelyTyped/DefinitelyTyped](https://github.com/DefinitelyTyped/DefinitelyTyped) |
+| `@types/papaparse` | 5.5.2 | MIT | [github.com/DefinitelyTyped/DefinitelyTyped](https://github.com/DefinitelyTyped/DefinitelyTyped) |
+| `@types/react` | 19.3.0 | MIT | [github.com/DefinitelyTyped/DefinitelyTyped](https://github.com/DefinitelyTyped/DefinitelyTyped) |
+| `@types/react-dom` | 19.3.0 | MIT | [github.com/DefinitelyTyped/DefinitelyTyped](https://github.com/DefinitelyTyped/DefinitelyTyped) |
## Fonts
-Served via Google Fonts on the web build, inlined into Tauri build:
+Both fonts are self-hosted: the [Fontsource](https://fontsource.org/)
+packages below bundle the font files into the build, so neither the
+website nor the apps request fonts from Google Fonts or any other CDN.
-- **Geist** — SIL Open Font License 1.1 — [vercel.com/font](https://vercel.com/font)
-- **Instrument Serif** — SIL Open Font License 1.1 — [github.com/Instrument/instrument-serif](https://github.com/Instrument/instrument-serif)
-- **JetBrains Mono** — SIL Open Font License 1.1 — [jetbrains.com/lp/mono](https://www.jetbrains.com/lp/mono/)
+| Package | Version | License | Link |
+|---|---|---|---|
+| `@fontsource-variable/geist` | 5.3.0 | OFL-1.1 | [fontsource.org/fonts/geist](https://fontsource.org/fonts/geist) |
+| `@fontsource-variable/jetbrains-mono` | 5.3.0 | OFL-1.1 | [fontsource.org/fonts/jetbrains-mono](https://fontsource.org/fonts/jetbrains-mono) |
+
+- **Geist** (headings and body text) — SIL Open Font License 1.1 — [vercel.com/font](https://vercel.com/font)
+- **JetBrains Mono** (code and labels) — SIL Open Font License 1.1 — [jetbrains.com/lp/mono](https://www.jetbrains.com/lp/mono/)
+
+## Third-party services (web build only)
+
+The website at uses the Cloudflare
+services below. The desktop (Windows, macOS, Linux) and Android apps don't
+include any of them. The JSON you convert never reaches them: conversion
+runs on your device.
+
+| Service | What JSONPrism uses it for | What it processes | Documentation |
+|---|---|---|---|
+| **Cloudflare Workers** | Hosting: serves the site from `dist/` and runs the small Worker in `worker/` for `/api/*` (Turnstile verification, health check). | Standard request data (IP address, user agent, requested URL) to deliver and protect the site. The Worker's own logs contain no IP addresses, tokens or user content. | [developers.cloudflare.com/workers](https://developers.cloudflare.com/workers/) |
+| **Cloudflare Turnstile** | Human check inside the first-launch consent screen, verified server-side by the Worker. A pass is remembered on the device for 7 days. | Browser signals collected by Cloudflare's widget script to tell people from bots. The Worker does not send the visitor's IP address when it verifies a token. | [developers.cloudflare.com/turnstile](https://developers.cloudflare.com/turnstile/) · [Turnstile Privacy Addendum](https://www.cloudflare.com/turnstile-privacy-policy/) |
+| **Cloudflare Web Analytics** | Cookieless page-view counts. Loaded only on the production site, only after the consent screen is accepted, and only while *Appearance → Anonymous usage analytics* is on (off by default when the browser sends Global Privacy Control). | Page path, referrer, browser and device type, and load-performance timings. No cookies or local storage; never editor content. | [developers.cloudflare.com/web-analytics](https://developers.cloudflare.com/web-analytics/) |
+
+Cloudflare processes this data under the
+[Cloudflare Privacy Policy](https://www.cloudflare.com/privacypolicy/).
+How JSONPrism itself handles data is described in [PRIVACY.md](PRIVACY.md).
## Icon
@@ -139,8 +187,19 @@ The JSONPrism brand icon at `src-tauri/icons/icon.svg` is original
artwork by Kokone, licensed under the same Apache 2.0 terms as the rest
of the project.
-## Acknowledgements
+## AI assistance
Substantial portions of JSONPrism's code, tests, translations, and docs
-were drafted with **Claude Chat** + **Claude Code (Opus 4.7, 1M
-context)** from Anthropic. See [DISCLAIMER.md](DISCLAIMER.md).
+were drafted with AI assistance from Anthropic: **Claude Chat** +
+**Claude Code** with Claude Opus 4.7 and 4.8 for the 1.x releases, and
+**Claude Code** with Claude Opus 5.5 for 2.0.0. The Japanese and Simplified
+Chinese translations, and parts of the Vietnamese one, are AI-generated.
+The maintainer reviews every change before it is merged. See
+[DISCLAIMER.md](DISCLAIMER.md).
+
+## Copyright and takedown
+
+If you believe JSONPrism uses your work without a compatible license or
+proper attribution, or a notice on this page is missing or wrong, write to
+**copyright@poli0981.dev**. [TERMS.md](TERMS.md) describes what to include
+in a copyright complaint.
diff --git a/docs/DEPLOYMENT.md b/docs/DEPLOYMENT.md
new file mode 100644
index 0000000..5f7f037
--- /dev/null
+++ b/docs/DEPLOYMENT.md
@@ -0,0 +1,356 @@
+# Deployment
+
+Maintainer guide for the web app at https://jsonprism.poli0981.dev and for the
+desktop / Android releases. Contributors don't need any of this: local setup is
+in [dev_env.md](dev_env.md), Tauri details in [TAURI-NOTES.md](TAURI-NOTES.md).
+
+## Quick reference
+
+| Task | How |
+| --- | --- |
+| Deploy the web app | Merge or push to `main`. Cloudflare Workers Builds deploys it. |
+| Check a deploy | GitHub Actions → **Production smoke** (runs on every push to `main`). |
+| Roll back the web app | Dashboard → `jsonprism` Worker → **Deployments**, or `npx wrangler rollback`. |
+| Preview locally | `npm run preview:cf` → http://localhost:8787 |
+| Rotate the Turnstile secret | Rotate it on the widget, then update `TURNSTILE_SECRET` on the Worker. |
+| Ship desktop + Android builds | Bump the versions, push a `vX.Y.Z` tag, publish the draft release. |
+
+## Architecture
+
+```
+browser ──► jsonprism.poli0981.dev (Cloudflare Worker "jsonprism")
+ ├─ /api/* → worker/index.ts ──► Turnstile siteverify
+ └─ everything → static assets from dist/
+ else (_headers, _redirects, SPA fallback to index.html)
+```
+
+- One Cloudflare Worker, **`jsonprism`** (Workers Paid plan), configured in
+ `wrangler.jsonc`.
+- **Static assets**: the Vite build in `dist/`, served by Workers Static Assets
+ with `not_found_handling: "single-page-application"`.
+- **Worker code** runs only for `/api/*` (`run_worker_first: ["/api/*"]`).
+ Conversion never happens on the server.
+
+ | Route | Code | Response |
+ | --- | --- | --- |
+ | `POST /api/turnstile/verify` | `worker/verify.ts`, `worker/turnstile.ts` | Verifies a Turnstile token — see [Turnstile](#turnstile). |
+ | `GET /api/health` | `worker/index.ts` | `{"ok":true,"service":"jsonprism"}` |
+ | any other `/api/*` | `worker/index.ts` | JSON 404 |
+
+- `worker/index.ts` may only have a default export: workerd treats every named
+ export of the entry module as an entrypoint. Put helpers in other modules.
+- API responses set their own headers (`worker/http.ts`: `no-store`,
+ `nosniff`, `default-src 'none'`); assets get theirs from `public/_headers`.
+- The Worker has its own `tsconfig.worker.json`; its runtime and binding types
+ come from `npm run cf:types` (`wrangler types` → gitignored
+ `worker-configuration.d.ts`).
+- `compatibility_date` is pinned in `wrangler.jsonc`; move it deliberately and
+ test with `npm run preview:cf`.
+
+## Workers Builds (automatic deploys)
+
+Configured in the Cloudflare dashboard (the `jsonprism` Worker →
+**Settings → Build**), not in the repo:
+
+| Setting | Value |
+| --- | --- |
+| Repository | `poli0981/jsonPrism` |
+| Production branch | `main` |
+| Build command | `npm run build` (may also be empty) |
+| Deploy command | `npx wrangler deploy` |
+| Non-production branch deploy command | `npx wrangler preview` |
+| Root directory | repository root |
+| Node.js | 26, from `.nvmrc` or the `NODE_VERSION` build variable |
+
+- `wrangler.jsonc` → `build.command` runs `npm run build` before every
+ `wrangler deploy`, `preview` and `dev`, so a deploy works even with no build
+ command in the dashboard (setting one only builds twice).
+- Workers Builds installs dependencies with `npm clean-install` using its own
+ npm (10.9.2 at the time of writing). The lockfile must stay installable with
+ that npm: a peer-dependency conflict fails the build at the install step
+ (this kept `main` undeployable before 2.0.0).
+
+### Previews (pull requests and other branches)
+
+Non-production branches run `npx wrangler preview`, which publishes a
+[Worker Preview](https://developers.cloudflare.com/workers/previews/) named
+after the branch (`-jsonprism..workers.dev` when workers.dev
+is enabled) and reports it on the pull request.
+
+- Previews inherit no production vars or bindings. `wrangler.jsonc` → `previews`
+ declares them again: a separate rate-limit counter (`namespace_id` 4202) and
+ an empty `ALLOWED_HOSTNAMES`. Any binding added at the top level needs a
+ preview-safe twin there, or `wrangler preview` fails with "missing a
+ `previews` block".
+- Previews get no `TURNSTILE_SECRET` (set one with
+ `npx wrangler preview base-config secret put` only if you need the check on
+ previews), and the production sitekey doesn't run on preview hostnames, so
+ the human check reports "unavailable" and testers continue past it. Web
+ Analytics never loads there.
+
+- Every push to `main` builds and deploys. No GitHub Action deploys the web
+ app, and GitHub holds no Cloudflare credentials.
+- The build stamps the short commit (`WORKERS_CI_COMMIT_SHA`) into
+ ` ` and the header's version chip; the smoke
+ workflow uses it to recognise the new deploy.
+- A failed build leaves the previous version live. Build logs exist only in the
+ dashboard (the Worker's build history).
+- Changes to `wrangler.jsonc` (route, vars, bindings) apply on the next deploy.
+ CI's `npm run cf:check` (`wrangler deploy --dry-run`) catches config and
+ bundling errors before merge.
+
+## Custom domain
+
+- `routes: [{ "pattern": "jsonprism.poli0981.dev", "custom_domain": true }]`:
+ Cloudflare manages the DNS record and certificate for the hostname. The
+ `poli0981.dev` zone is on the same account.
+- `workers_dev: false` — there is no `*.workers.dev` URL.
+- Changing the hostname touches more than the route. Search the repo for
+ `jsonprism.poli0981.dev` (`wrangler.jsonc` route and `ALLOWED_HOSTNAMES`,
+ `src/lib/analytics.ts`, `src/lib/links.ts`, `index.html`, `public/`,
+ `.github/pages-redirect/`, the workflows, the legal docs), then update the
+ Turnstile widget's hostnames and the Web Analytics site in the dashboard.
+
+## Secrets and variables
+
+| Name | Kind | Where |
+| --- | --- | --- |
+| `TURNSTILE_SECRET` | Secret | Worker → **Settings → Variables and Secrets**, or `npx wrangler secret put TURNSTILE_SECRET`. Never in the repo. |
+| `ALLOWED_HOSTNAMES` | Variable | `wrangler.jsonc` → `vars`: comma-separated hostnames a Turnstile token may be issued on. |
+| `VERIFY_LIMITER` | Binding | `wrangler.jsonc` → `ratelimits` — see [Rate limiting](#rate-limiting). |
+
+- Plain variables added in the dashboard are replaced by `wrangler.jsonc` `vars`
+ on every deploy (`keep_vars` is off); secrets are kept. The sitekey needs no
+ Worker variable — it is compiled into the frontend.
+- Without `TURNSTILE_SECRET`, `/api/turnstile/verify` answers 503 and Workers
+ Logs record `outcome: "misconfigured"`; a wrong secret also gives 503
+ (`detail: "misconfigured-secret"`). Users can still continue past the check,
+ so nothing looks broken — watch the logs after changing it.
+- Locally, `.dev.vars` (copied from `.dev.vars.example`) holds Cloudflare's
+ always-pass test secret. With it the Worker also accepts loopback and plain
+ `http` origins, because `wrangler dev` rewrites the request URL and `Origin`
+ to the route host. That secret proves nothing, so nothing is lost.
+
+## Turnstile
+
+- **Widget**: Cloudflare dashboard → **Turnstile** → the JSONPrism widget. The
+ sitekey `0x4AAAAAAFgqIzSPBs9hZJnX` is public by design and lives in
+ `src/lib/turnstile.ts`; its secret is `TURNSTILE_SECRET`.
+- **Hostname management**: the widget's hostname list must contain
+ `jsonprism.poli0981.dev` — keep it in step with `ALLOWED_HOSTNAMES`. Localhost
+ doesn't need to be listed: on `localhost` / `127.0.0.1` the app uses
+ Cloudflare's test sitekey instead.
+- **What the Worker checks**: an HTTPS `Origin` from an allowed hostname,
+ `Content-Type: application/json`, a body of at most 4 KB, the rate limit,
+ then Cloudflare siteverify (8 s timeout, one retry with the same idempotency
+ key; the visitor IP is not sent). Tokens are rejected when their hostname is
+ not allowed, their action is not `gate`, or they are older than 300 s.
+- **Responses**: 200 verified (with `verifiedUntil`, 7 days ahead) · 400 bad
+ JSON or token · 403 foreign origin or rejected token · 405 not POST · 413
+ body too large · 415 not JSON · 429 rate limited · 503 secret missing or
+ Cloudflare unreachable.
+- **Client behaviour**: a pass is remembered for 7 days (`jsonprism.humanCheck`
+ in localStorage). 400/403 keep the Consent Gate closed; anything else
+ (offline, blocked script, 429, 5xx, timeout) lets the user continue after a
+ warning, because conversion never needs the network.
+- **Rotating the secret**: rotate it on the widget, then update
+ `TURNSTILE_SECRET` on the Worker straight away.
+
+## Web Analytics
+
+- Cloudflare dashboard → **Web Analytics** → site `jsonprism.poli0981.dev`.
+ Token `f1f718464e5a417997c84170ddbec2b6` (public, in `src/lib/analytics.ts`).
+- **Manual beacon**: the app adds `beacon.min.js` itself, and only when all of
+ these hold — production hostname, Consent Gate accepted, "Anonymous usage
+ analytics" on in the Appearance menu (on by default, off by default when the
+ browser sends Global Privacy Control). Never in desktop or Android builds,
+ local previews or dev.
+- **Keep automatic injection OFF** in the site's Web Analytics settings.
+ Automatic setup adds the beacon to every page before consent and ignores the
+ user's setting.
+- The CSP already allows `static.cloudflareinsights.com` (script) and
+ `cloudflareinsights.com` (reports).
+
+## Zone settings to keep off
+
+These zone features rewrite HTML or inject scripts the app doesn't expect; with
+the strict CSP they break pages or fill the console with violations. Keep them
+off for `poli0981.dev` (or at least for this hostname):
+
+| Setting | Why |
+| --- | --- |
+| Rocket Loader | Rewrites the app's `
+
-
-
+ JSONPrism · Disperse JSON into 12 formats
+
+
+
+
-
-
-
+
+
+
+
+
+
+
+
+
+
-
- JSONPrism · Disperse JSON
+ JSONPrism needs JavaScript to convert files in your browser.
diff --git a/knip.json b/knip.json
index fa702c5..6f1aebe 100644
--- a/knip.json
+++ b/knip.json
@@ -1,14 +1,9 @@
{
- "project": ["src/**/*.{ts,tsx}"],
+ "$schema": "https://unpkg.com/knip@6/schema.json",
+ "entry": ["src/lib/convert-worker.ts"],
+ "project": ["src/**/*.{ts,tsx,css}", "worker/**/*.ts"],
"ignore": ["src/components/ui/**"],
- "ignoreDependencies": [
- "@radix-ui/react-slot",
- "tailwindcss",
- "tw-animate-css",
- "@tauri-apps/plugin-opener",
- "@tauri-apps/plugin-os",
- "@testing-library/user-event"
- ],
+ "ignoreDependencies": ["@radix-ui/react-slot", "@testing-library/user-event"],
"rules": {
"types": "off"
}
diff --git a/package-lock.json b/package-lock.json
index 56e57bd..c4cff4c 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,160 +1,162 @@
{
"name": "jsonprism",
- "version": "1.7.2",
+ "version": "2.0.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "jsonprism",
- "version": "1.7.2",
+ "version": "2.0.0",
"license": "Apache-2.0",
"dependencies": {
- "@codemirror/lang-json": "^6.0.0",
- "@codemirror/lang-markdown": "^6.5.0",
+ "@codemirror/lang-json": "^6.0.2",
+ "@codemirror/lang-markdown": "^6.5.2",
"@codemirror/lang-sql": "^6.10.0",
"@codemirror/lang-xml": "^6.1.0",
"@codemirror/lang-yaml": "^6.1.3",
- "@codemirror/language": "^6.10.0",
- "@codemirror/legacy-modes": "^6.5.3",
+ "@codemirror/language": "^6.13.1",
+ "@codemirror/legacy-modes": "^6.5.5",
"@codemirror/lint": "^6.9.7",
- "@codemirror/state": "^6.4.0",
- "@codemirror/view": "^6.43.1",
- "@fontsource-variable/geist": "^5.2.9",
- "@fontsource-variable/jetbrains-mono": "^5.2.8",
- "@fontsource/instrument-serif": "^5.2.8",
- "@lezer/highlight": "^1.2.0",
+ "@codemirror/state": "^6.7.6",
+ "@codemirror/view": "^6.43.15",
+ "@fontsource-variable/geist": "^5.3.0",
+ "@fontsource-variable/jetbrains-mono": "^5.3.0",
+ "@lezer/highlight": "^1.2.5",
+ "@marsidev/react-turnstile": "^1.6.3",
"@msgpack/msgpack": "^3.1.3",
- "@radix-ui/react-dialog": "^1.1.16",
- "@radix-ui/react-slot": "^1.1.0",
- "@radix-ui/react-switch": "^1.3.0",
- "@radix-ui/react-tabs": "^1.1.14",
- "@tauri-apps/api": "^2.0.0",
- "@tauri-apps/plugin-dialog": "^2.0.0",
- "@tauri-apps/plugin-fs": "^2.0.0",
- "@tauri-apps/plugin-opener": "^2.0.0",
- "@tauri-apps/plugin-os": "^2.0.0",
- "@uiw/react-codemirror": "^4.25.10",
- "bson": "^7.2.0",
- "cbor-x": "^1.6.4",
- "class-variance-authority": "^0.7.0",
- "clsx": "^2.1.0",
- "fast-xml-parser": "^5.8.0",
+ "@radix-ui/react-dialog": "^1.3.1",
+ "@radix-ui/react-slot": "^1.5.0",
+ "@radix-ui/react-switch": "^1.4.1",
+ "@radix-ui/react-tabs": "^1.2.1",
+ "@tauri-apps/api": "^2.12.4",
+ "@tauri-apps/plugin-dialog": "^2.8.3",
+ "@tauri-apps/plugin-fs": "^2.7.1",
+ "@tauri-apps/plugin-opener": "^2.7.2",
+ "@uiw/react-codemirror": "^4.25.12",
+ "bson": "^7.3.3",
+ "cbor-x": "^1.6.8",
+ "class-variance-authority": "^0.7.1",
+ "clsx": "^2.1.1",
+ "fast-xml-parser": "^5.11.2",
"fflate": "^0.8.3",
- "i18next": "^23.0.0",
- "i18next-browser-languagedetector": "^8.0.0",
- "js-yaml": "^4.2.0",
- "lucide-react": "^0.460.0",
- "papaparse": "^5.4.0",
- "react": "^19.2.7",
- "react-dom": "^19.2.7",
- "react-dropzone": "^14.3.0",
- "react-i18next": "^15.0.0",
- "react-router-dom": "^7.17.0",
- "smol-toml": "^1.3.0",
- "sonner": "^2.0.7",
- "tailwind-merge": "^2.5.0",
- "zustand": "^5.0.14"
+ "i18next": "^26.5.5",
+ "i18next-browser-languagedetector": "^8.2.1",
+ "js-yaml": "^5.5.0",
+ "lucide-react": "^1.61.0",
+ "papaparse": "^5.7.0",
+ "react": "^19.3.1",
+ "react-dom": "^19.3.1",
+ "react-dropzone": "^20.1.4",
+ "react-i18next": "^17.1.1",
+ "react-router": "^8.5.0",
+ "smol-toml": "^1.9.1",
+ "sonner": "^2.0.8",
+ "tailwind-merge": "^3.7.0",
+ "zustand": "^5.0.16"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
- "@tailwindcss/vite": "^4.3.1",
- "@tauri-apps/cli": "^2.11.2",
- "@testing-library/jest-dom": "^6.6.0",
- "@testing-library/react": "^16.1.0",
- "@testing-library/user-event": "^14.5.0",
- "@types/js-yaml": "^4.0.0",
- "@types/node": "^25.9.3",
- "@types/papaparse": "^5.3.0",
- "@types/react": "^19.2.17",
- "@types/react-dom": "^19.0.0",
- "@vitejs/plugin-react": "^6.0.2",
- "@vitest/coverage-v8": "^4.1.8",
- "eslint": "^10.5.0",
- "eslint-plugin-react-hooks": "^5.0.0",
- "eslint-plugin-react-refresh": "^0.5.2",
- "globals": "^17.6.0",
- "jsdom": "^29.0.0",
- "knip": "^6.16.1",
- "prettier": "^3.8.4",
- "prettier-plugin-tailwindcss": "^0.8.0",
- "tailwindcss": "^4.0.0",
- "tw-animate-css": "^1.2.0",
- "typescript": "^5.7.0",
- "typescript-eslint": "^8.61.0",
- "vite": "^8.0.16",
- "vitest": "^4.1.6"
+ "@tailwindcss/vite": "^4.3.3",
+ "@tauri-apps/cli": "^2.12.4",
+ "@testing-library/dom": "^10.4.2",
+ "@testing-library/jest-dom": "^7.0.1",
+ "@testing-library/react": "^16.3.3",
+ "@testing-library/user-event": "^14.6.8",
+ "@types/node": "^26.6.5",
+ "@types/papaparse": "^5.5.2",
+ "@types/react": "^19.3.0",
+ "@types/react-dom": "^19.3.0",
+ "@typescript/native": "npm:typescript@^7.0.2",
+ "@vitejs/plugin-react": "^6.1.2",
+ "@vitest/coverage-v8": "^5.0.5",
+ "eslint": "^10.13.0",
+ "eslint-plugin-react-hooks": "^7.1.1",
+ "eslint-plugin-react-refresh": "^0.5.7",
+ "globals": "^17.13.0",
+ "jsdom": "^30.1.3",
+ "knip": "^6.42.1",
+ "prettier": "^3.9.10",
+ "prettier-plugin-tailwindcss": "^0.8.1",
+ "tailwindcss": "^4.3.3",
+ "tw-animate-css": "^1.4.0",
+ "typescript": "npm:@typescript/typescript6@^6.0.2",
+ "typescript-eslint": "^8.72.0",
+ "vite": "^8.3.5",
+ "vitest": "^5.0.5",
+ "wrangler": "^4.151.3"
},
"engines": {
- "node": ">=22.11.0"
+ "node": ">=26.0.0"
}
},
"node_modules/@adobe/css-tools": {
- "version": "4.4.4",
- "resolved": "https://registry.npmjs.org/@adobe/css-tools/-/css-tools-4.4.4.tgz",
- "integrity": "sha512-Elp+iwUx5rN5+Y8xLt5/GRoG20WGoDCQ/1Fb+1LiGtvwbDavuSk0jhD/eZdckHAuzcDzccnkv+rEjyWfRx18gg==",
+ "version": "4.5.0",
+ "resolved": "https://registry.npmjs.org/@adobe/css-tools/-/css-tools-4.5.0.tgz",
+ "integrity": "sha512-6OzddxPio9UiWTCemp4N8cYLV2ZN1ncRnV1cVGtve7dhPOtRkleRyx32GQCYSwDYgaHU3USMm84tNsvKzRCa1Q==",
"dev": true,
"license": "MIT"
},
"node_modules/@asamuzakjp/css-color": {
- "version": "5.1.11",
- "resolved": "https://registry.npmjs.org/@asamuzakjp/css-color/-/css-color-5.1.11.tgz",
- "integrity": "sha512-KVw6qIiCTUQhByfTd78h2yD1/00waTmm9uy/R7Ck/ctUyAPj+AEDLkQIdJW0T8+qGgj3j5bpNKK7Q3G+LedJWg==",
+ "version": "7.1.7",
+ "resolved": "https://registry.npmjs.org/@asamuzakjp/css-color/-/css-color-7.1.7.tgz",
+ "integrity": "sha512-Q7ioeear07HwixdIitIn9KS1LZi97CEDFCSjPNm9v+y8KNbsu9q4Lrd4zUQW4faED+E7qxvfeVnbNRW46wFKuw==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@asamuzakjp/generational-cache": "^1.0.1",
- "@csstools/css-calc": "^3.2.0",
- "@csstools/css-color-parser": "^4.1.0",
- "@csstools/css-parser-algorithms": "^4.0.0",
- "@csstools/css-tokenizer": "^4.0.0"
+ "@csstools/css-calc": "^3.4.3",
+ "@csstools/css-color-parser": "^4.2.6",
+ "@csstools/css-parser-algorithms": "^4.0.2",
+ "@csstools/css-tokenizer": "^4.0.2",
+ "lru-cache": "^11.5.3"
},
"engines": {
- "node": "^20.19.0 || ^22.12.0 || >=24.0.0"
+ "node": "^22.22.2 || ^24.15.0 || >=26.0.0"
+ }
+ },
+ "node_modules/@asamuzakjp/css-color/node_modules/lru-cache": {
+ "version": "11.5.3",
+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.5.3.tgz",
+ "integrity": "sha512-U4N8FgzmWxc8k1VH8Kr6lQg18U7Fjvby6wXHVRX/ZZ7IwWbRMgrRbP0Wrb5q5NVinryp4SQampHKdvtecItxUg==",
+ "dev": true,
+ "license": "BlueOak-1.0.0",
+ "engines": {
+ "node": "20 || >=22"
}
},
"node_modules/@asamuzakjp/dom-selector": {
- "version": "7.1.1",
- "resolved": "https://registry.npmjs.org/@asamuzakjp/dom-selector/-/dom-selector-7.1.1.tgz",
- "integrity": "sha512-67RZDnYRc8H/8MLDgQCDE//zoqVFwajkepHZgmXrbwybzXOEwOWGPYGmALYl9J2DOLfFPPs6kKCqmbzV895hTQ==",
+ "version": "10.0.4",
+ "resolved": "https://registry.npmjs.org/@asamuzakjp/dom-selector/-/dom-selector-10.0.4.tgz",
+ "integrity": "sha512-A6f1nKy99I6tyoK82U6kBHvQQZmdHmTmPzJYPY/0eaOW0r8/qPmEOwjGHs+hL/vCgOwQTupu4LT1XtXNUuDruA==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@asamuzakjp/generational-cache": "^1.0.1",
- "@asamuzakjp/nwsapi": "^2.3.9",
- "bidi-js": "^1.0.3",
+ "bidi-js": "^1.1.0",
"css-tree": "^3.2.1",
- "is-potential-custom-element-name": "^1.0.1"
+ "is-potential-custom-element-name": "^1.0.1",
+ "lru-cache": "^11.5.3"
},
"engines": {
- "node": "^20.19.0 || ^22.12.0 || >=24.0.0"
+ "node": "^22.22.2 || ^24.15.0 || >=26.0.0"
}
},
- "node_modules/@asamuzakjp/generational-cache": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/@asamuzakjp/generational-cache/-/generational-cache-1.0.1.tgz",
- "integrity": "sha512-wajfB8KqzMCN2KGNFdLkReeHncd0AslUSrvHVvvYWuU8ghncRJoA50kT3zP9MVL0+9g4/67H+cdvBskj9THPzg==",
+ "node_modules/@asamuzakjp/dom-selector/node_modules/lru-cache": {
+ "version": "11.5.3",
+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.5.3.tgz",
+ "integrity": "sha512-U4N8FgzmWxc8k1VH8Kr6lQg18U7Fjvby6wXHVRX/ZZ7IwWbRMgrRbP0Wrb5q5NVinryp4SQampHKdvtecItxUg==",
"dev": true,
- "license": "MIT",
+ "license": "BlueOak-1.0.0",
"engines": {
- "node": "^20.19.0 || ^22.12.0 || >=24.0.0"
+ "node": "20 || >=22"
}
},
- "node_modules/@asamuzakjp/nwsapi": {
- "version": "2.3.9",
- "resolved": "https://registry.npmjs.org/@asamuzakjp/nwsapi/-/nwsapi-2.3.9.tgz",
- "integrity": "sha512-n8GuYSrI9bF7FFZ/SjhwevlHc8xaVlb/7HmHelnc/PZXBD2ZR49NnN9sMMuDdEGPeeRQ5d0hqlSlEpgCX3Wl0Q==",
- "dev": true,
- "license": "MIT"
- },
"node_modules/@babel/code-frame": {
- "version": "7.29.0",
- "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.29.0.tgz",
- "integrity": "sha512-9NhCeYjq9+3uxgdtp20LSiJXJvN0FeCtNGpJxuMFZ1Kv3cWUNb6DOhJwUvcVCzKGR66cw4njwM6hrJLqgOwbcw==",
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.29.7.tgz",
+ "integrity": "sha512-Aup7aUOfpbAUg2ROOJN6Iw5f9DMBlzu0mIkm/malLQFN/YQgO48wCj0Kxa3sEHJvPVFg7siR+qRInwXd2qhQKw==",
"dev": true,
"license": "MIT",
- "peer": true,
"dependencies": {
- "@babel/helper-validator-identifier": "^7.28.5",
+ "@babel/helper-validator-identifier": "^7.29.7",
"js-tokens": "^4.0.0",
"picocolors": "^1.1.1"
},
@@ -162,10 +164,127 @@
"node": ">=6.9.0"
}
},
+ "node_modules/@babel/compat-data": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.29.7.tgz",
+ "integrity": "sha512-locTkQyKvwIEgBzVrn8693ebc97F2U8ZHjbXwDXJ5Fn2TCpNwTlKcaKLkdHop5c/icOFE7qt7Q9JC5hnKNa6Gg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/core": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.29.7.tgz",
+ "integrity": "sha512-RgHBCvtjbOK2gXSNBNIkNoEc9qoVEtau3hj8gEqKQuL3HZAibKarWFEI3Lfm6EYKkLalOh8eSrj9b+ch9H/VBA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/code-frame": "^7.29.7",
+ "@babel/generator": "^7.29.7",
+ "@babel/helper-compilation-targets": "^7.29.7",
+ "@babel/helper-module-transforms": "^7.29.7",
+ "@babel/helpers": "^7.29.7",
+ "@babel/parser": "^7.29.7",
+ "@babel/template": "^7.29.7",
+ "@babel/traverse": "^7.29.7",
+ "@babel/types": "^7.29.7",
+ "@jridgewell/remapping": "^2.3.5",
+ "convert-source-map": "^2.0.0",
+ "debug": "^4.1.0",
+ "gensync": "^1.0.0-beta.2",
+ "json5": "^2.2.3",
+ "semver": "^6.3.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/babel"
+ }
+ },
+ "node_modules/@babel/generator": {
+ "version": "7.29.8",
+ "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.29.8.tgz",
+ "integrity": "sha512-gZbepsdh3WDtgZKWL+vTPh71LSBrm/Y4/QDZBVCcYfmeTEEuoOYwlSy+G1StfJg+/Zy550u/3TATbm7qDbbMtg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/parser": "^7.29.8",
+ "@babel/types": "^7.29.8",
+ "@jridgewell/gen-mapping": "^0.3.12",
+ "@jridgewell/trace-mapping": "^0.3.28",
+ "jsesc": "^3.0.2"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-compilation-targets": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.29.7.tgz",
+ "integrity": "sha512-wem6WaBj4NaVYVdNhLPPVacES6ZJ+KBBfSkTMD3YZxbP3rm3Di85tJU5ljaUNhaOynt+Aj0xruhYuzQBt8n71g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/compat-data": "^7.29.7",
+ "@babel/helper-validator-option": "^7.29.7",
+ "browserslist": "^4.24.0",
+ "lru-cache": "^5.1.1",
+ "semver": "^6.3.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-globals": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/helper-globals/-/helper-globals-7.29.7.tgz",
+ "integrity": "sha512-3nQVUAtvkKH9zahfWgw96Jc/uFOmjACE1kQz82E2lqWmHBgjzbNlsC22nuQTfahmWeQtTq5nQ/4Nnd2A1wj4zA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-module-imports": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.29.7.tgz",
+ "integrity": "sha512-ejHwrQQYcm9xnTivShn2IDOlIzInN34AXskvq9QicvCtEzq1Vzclu/tKF8Jq1Cg8JG2GL6/EmjgsCT7lXepE3g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/traverse": "^7.29.7",
+ "@babel/types": "^7.29.7"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-module-transforms": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.29.7.tgz",
+ "integrity": "sha512-UPUVSyXbOh627KiCIGQSgwWzGeBKLkaJ9PJEdrngIwMSzxLR4jS4+f1f1jb7VzBbg8nFLaYotvVPFCTqdrmTAg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-module-imports": "^7.29.7",
+ "@babel/helper-validator-identifier": "^7.29.7",
+ "@babel/traverse": "^7.29.7"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0"
+ }
+ },
"node_modules/@babel/helper-string-parser": {
- "version": "7.27.1",
- "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.27.1.tgz",
- "integrity": "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA==",
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.29.7.tgz",
+ "integrity": "sha512-Pb5ijPrZ89GDH8223L4UP8i6QApWxs04RbPQJTeWDV0/keR2E36MeKnyr6LYmUUvqRRI+Iv87SuF1W6ErINzYw==",
"dev": true,
"license": "MIT",
"engines": {
@@ -173,23 +292,47 @@
}
},
"node_modules/@babel/helper-validator-identifier": {
- "version": "7.28.5",
- "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.28.5.tgz",
- "integrity": "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q==",
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.29.7.tgz",
+ "integrity": "sha512-qehxGkRj55h/ff8EMaJ+cYhyaKlHIxqYDn682wQD7RNp9UujOQsHog2uS0r2vzr4pW+sXf90NeeayjcNaX3fFg==",
"dev": true,
"license": "MIT",
"engines": {
"node": ">=6.9.0"
}
},
- "node_modules/@babel/parser": {
- "version": "7.29.3",
- "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.29.3.tgz",
- "integrity": "sha512-b3ctpQwp+PROvU/cttc4OYl4MzfJUWy6FZg+PMXfzmt/+39iHVF0sDfqay8TQM3JA2EUOyKcFZt75jWriQijsA==",
+ "node_modules/@babel/helper-validator-option": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.29.7.tgz",
+ "integrity": "sha512-N9ZErrD+yW5geCDtBqnOoxmR8+tNKiGuxKlDpuJxfsqpa2dFcexaziGAE/qoHLiDDreVNMupxGmSoNlyvsA3gw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helpers": {
+ "version": "7.29.10",
+ "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.29.10.tgz",
+ "integrity": "sha512-EMCx3AGZ3WfAl6ht7AyQoPm2Lh+BGYEMdc4Q6Hf7uSCDOZFuLq44qNwL+iaim8VlyYhRAo4X43+weadK8ZB4Yg==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@babel/types": "^7.29.0"
+ "@babel/template": "^7.29.7",
+ "@babel/types": "^7.29.8"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/parser": {
+ "version": "7.29.9",
+ "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.29.9.tgz",
+ "integrity": "sha512-CjXrNHTnvqBVqHgdBysY3vk2T8tpJHb5/RMeHJBTyVa9xgugCB0CJTx/3oO8RV2QRQP391RWpB7D6hLjm8V9uA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/types": "^7.29.8"
},
"bin": {
"parser": "bin/babel-parser.js"
@@ -199,23 +342,57 @@
}
},
"node_modules/@babel/runtime": {
- "version": "7.29.2",
- "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.29.2.tgz",
- "integrity": "sha512-JiDShH45zKHWyGe4ZNVRrCjBz8Nh9TMmZG1kh4QTK8hCBTWBi8Da+i7s1fJw7/lYpM4ccepSNfqzZ/QvABBi5g==",
+ "version": "7.29.10",
+ "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.29.10.tgz",
+ "integrity": "sha512-NpugTzbKgGrNe45Ui32cN8vCFFMxVtP/9rtfwv0nP5FRDAjvYBxJcLVpYA9mr1jxP6cnIT7x9LUzuDTbWYYNRA==",
"license": "MIT",
"engines": {
"node": ">=6.9.0"
}
},
- "node_modules/@babel/types": {
- "version": "7.29.0",
- "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.29.0.tgz",
- "integrity": "sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A==",
+ "node_modules/@babel/template": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.29.7.tgz",
+ "integrity": "sha512-puq+Gf35oI24FeN11LkoUQFqv9uwNeWpxXZi/Ji3rRIoKAzKnxRaZ+Gkj0vKS9ZCiTESfng1N9LyOyXvo+m+Gg==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@babel/helper-string-parser": "^7.27.1",
- "@babel/helper-validator-identifier": "^7.28.5"
+ "@babel/code-frame": "^7.29.7",
+ "@babel/parser": "^7.29.7",
+ "@babel/types": "^7.29.7"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/traverse": {
+ "version": "7.29.10",
+ "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.29.10.tgz",
+ "integrity": "sha512-B3lYAs2nkKskbgQ1nfy8Ma9ao9Q1rntTAQHrzzyDuj+TSO+X3le6PfWwqDvodsb+OumE10eMFfuMCTQSQ5iuIQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/code-frame": "^7.29.7",
+ "@babel/generator": "^7.29.8",
+ "@babel/helper-globals": "^7.29.7",
+ "@babel/parser": "^7.29.9",
+ "@babel/template": "^7.29.7",
+ "@babel/types": "^7.29.8",
+ "debug": "^4.3.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/types": {
+ "version": "7.29.8",
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.29.8.tgz",
+ "integrity": "sha512-Vj1jF3cPfxg7OAfoI7QnVKLoILlm2JF9pnVHrX8qx7AHMiYWT+NDAA7jChlNgRS4WTLc/fD1lXLmPixluj+3Gg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-string-parser": "^7.29.7",
+ "@babel/helper-validator-identifier": "^7.29.7"
},
"engines": {
"node": ">=6.9.0"
@@ -232,18 +409,42 @@
}
},
"node_modules/@bramus/specificity": {
- "version": "2.4.2",
- "resolved": "https://registry.npmjs.org/@bramus/specificity/-/specificity-2.4.2.tgz",
- "integrity": "sha512-ctxtJ/eA+t+6q2++vj5j7FYX3nRu311q1wfYH3xjlLOsczhlhxAg2FWNUXhpGvAw3BWo1xBcvOV6/YLc2r5FJw==",
+ "version": "2.4.3",
+ "resolved": "https://registry.npmjs.org/@bramus/specificity/-/specificity-2.4.3.tgz",
+ "integrity": "sha512-0GEz8qJWokkUVYQYRukmkSHIFNoBH8QTreeHrAFbvz1XFYc3Y+puhMs8PQ5x8GNugiC2l5jvDBXKLbBIByeSBw==",
"dev": true,
"license": "MIT",
"dependencies": {
- "css-tree": "^3.0.0"
+ "css-tree": "^3.2.1"
},
"bin": {
"specificity": "bin/cli.js"
}
},
+ "node_modules/@cacheable/memory": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/@cacheable/memory/-/memory-2.2.0.tgz",
+ "integrity": "sha512-CTLKqLItRCEixEAewD3/j9DB3/o96gpTPD4eJ1v+DGOlxZRZncRQkGYqqnAGCscYd6RNeXfGeiuCphsPtqyIfQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@cacheable/utils": "^2.5.0",
+ "@keyv/bigmap": "^1.3.1",
+ "hookified": "^1.15.1",
+ "keyv": "^5.6.0"
+ }
+ },
+ "node_modules/@cacheable/utils": {
+ "version": "2.5.0",
+ "resolved": "https://registry.npmjs.org/@cacheable/utils/-/utils-2.5.0.tgz",
+ "integrity": "sha512-buipgOVDkkPXNR5+xBpDw7Zk2n1EvU7qBJCNUcL7rhQ//kfpOXPAvQ511Os0vpLYJ1pZnvudNytkQt2hst3wqA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "hashery": "^1.5.1",
+ "keyv": "^5.6.0"
+ }
+ },
"node_modules/@cbor-extract/cbor-extract-darwin-arm64": {
"version": "2.2.2",
"resolved": "https://registry.npmjs.org/@cbor-extract/cbor-extract-darwin-arm64/-/cbor-extract-darwin-arm64-2.2.2.tgz",
@@ -322,10 +523,121 @@
"win32"
]
},
+ "node_modules/@cloudflare/kv-asset-handler": {
+ "version": "0.5.0",
+ "resolved": "https://registry.npmjs.org/@cloudflare/kv-asset-handler/-/kv-asset-handler-0.5.0.tgz",
+ "integrity": "sha512-jxQYkj8dSIzc0cD6cMMNdOc1UVjqSqu8BZdor5s8cGjW2I8BjODt/kWPVdY+u9zj3ms75Q5qaZgnxUad83+eAg==",
+ "dev": true,
+ "license": "MIT OR Apache-2.0",
+ "engines": {
+ "node": ">=22.0.0"
+ }
+ },
+ "node_modules/@cloudflare/unenv-preset": {
+ "version": "2.16.2",
+ "resolved": "https://registry.npmjs.org/@cloudflare/unenv-preset/-/unenv-preset-2.16.2.tgz",
+ "integrity": "sha512-JBP1+Z7ZSNG/d4mRP+y8VC5dka3tZVMLEZRvS+rzQ4DGV1EoxRFQckcJTTkXbHSQiTj0DtNI01Zwb/V2fX0mvQ==",
+ "dev": true,
+ "license": "MIT OR Apache-2.0",
+ "peerDependencies": {
+ "unenv": "2.0.0-rc.24",
+ "workerd": ">1.20260305.0 <2.0.0-0"
+ },
+ "peerDependenciesMeta": {
+ "workerd": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@cloudflare/workerd-darwin-64": {
+ "version": "1.20261019.1",
+ "resolved": "https://registry.npmjs.org/@cloudflare/workerd-darwin-64/-/workerd-darwin-64-1.20261019.1.tgz",
+ "integrity": "sha512-5ZILbAta/fBQvhmAYeCE7dKMMYIr7N9wJEX50fEGLKSIwGtvT0HzSfHNIK/O7cBQ4gHQ2WfIiPClvwcye6E0fA==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">=16"
+ }
+ },
+ "node_modules/@cloudflare/workerd-darwin-arm64": {
+ "version": "1.20261019.1",
+ "resolved": "https://registry.npmjs.org/@cloudflare/workerd-darwin-arm64/-/workerd-darwin-arm64-1.20261019.1.tgz",
+ "integrity": "sha512-cww2Ab6lVMxpTiEEjKmPI58p5EMo0vYTZSH+3WkqXJdQgc3ES66GuL247+U2B2YWajhhu2tqj7jySrXneU749g==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">=16"
+ }
+ },
+ "node_modules/@cloudflare/workerd-linux-64": {
+ "version": "1.20261019.1",
+ "resolved": "https://registry.npmjs.org/@cloudflare/workerd-linux-64/-/workerd-linux-64-1.20261019.1.tgz",
+ "integrity": "sha512-4++VRi9vkQROYqrpZYOixIJuVDmujkwrT4kszsxNFlvcmsX6Mr2GumvxIN3gIixS3vJUh3Umdtkthqj5X0S3Xw==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=16"
+ }
+ },
+ "node_modules/@cloudflare/workerd-linux-arm64": {
+ "version": "1.20261019.1",
+ "resolved": "https://registry.npmjs.org/@cloudflare/workerd-linux-arm64/-/workerd-linux-arm64-1.20261019.1.tgz",
+ "integrity": "sha512-75PVtJOwfjScQ53sbLtQXI7D8yP1c21t+WEUPaYbqkzaz4ZqfR5wAd+zuWs8G5Q7kOj2SQIvEfY5Sn8Y+UVrnA==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=16"
+ }
+ },
+ "node_modules/@cloudflare/workerd-windows-64": {
+ "version": "1.20261019.1",
+ "resolved": "https://registry.npmjs.org/@cloudflare/workerd-windows-64/-/workerd-windows-64-1.20261019.1.tgz",
+ "integrity": "sha512-z49fvKTETMCnG6wnMcQwxx9CpryFceiKz04FRjq26EkhCyzRNJ6c3UXhyZz3r5f1CXnnBZc5DcU8ZouPkUJCqw==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=16"
+ }
+ },
"node_modules/@codemirror/autocomplete": {
- "version": "6.20.2",
- "resolved": "https://registry.npmjs.org/@codemirror/autocomplete/-/autocomplete-6.20.2.tgz",
- "integrity": "sha512-G5FPkgIiLjOgZMjqVjvuKQ1rGPtHogLldJr33eFJdVLtmwY+giGrlv/ewljLz6b9BSQLkjxuwBc6g6omDM+YxQ==",
+ "version": "6.20.4",
+ "resolved": "https://registry.npmjs.org/@codemirror/autocomplete/-/autocomplete-6.20.4.tgz",
+ "integrity": "sha512-yF8RhOf2SXlg00+qtupzLhrglcas61boqaONiNcbPIebHCpJocpqTBA6dyrtUrQO47hqyTdeob/3XnYilT7TaQ==",
"license": "MIT",
"dependencies": {
"@codemirror/language": "^6.0.0",
@@ -335,13 +647,13 @@
}
},
"node_modules/@codemirror/commands": {
- "version": "6.10.3",
- "resolved": "https://registry.npmjs.org/@codemirror/commands/-/commands-6.10.3.tgz",
- "integrity": "sha512-JFRiqhKu+bvSkDLI+rUhJwSxQxYb759W5GBezE8Uc8mHLqC9aV/9aTC7yJSqCtB3F00pylrLCwnyS91Ap5ej4Q==",
+ "version": "6.11.1",
+ "resolved": "https://registry.npmjs.org/@codemirror/commands/-/commands-6.11.1.tgz",
+ "integrity": "sha512-O/4hG3SC1YwcmQ0d2UVNDs+AsaNWd1iHVxbTeEBuqH+6bExAiPK3iS/BvpY6rZGURALv4ZD3sIgcCmRvw3ehBg==",
"license": "MIT",
"dependencies": {
"@codemirror/language": "^6.0.0",
- "@codemirror/state": "^6.6.0",
+ "@codemirror/state": "^6.7.0",
"@codemirror/view": "^6.27.0",
"@lezer/common": "^1.1.0"
}
@@ -360,9 +672,9 @@
}
},
"node_modules/@codemirror/lang-html": {
- "version": "6.4.11",
- "resolved": "https://registry.npmjs.org/@codemirror/lang-html/-/lang-html-6.4.11.tgz",
- "integrity": "sha512-9NsXp7Nwp891pQchI7gPdTwBuSuT3K65NGTHWHNJ55HjYcHLllr0rbIZNdOzas9ztc1EUVBlHou85FFZS4BNnw==",
+ "version": "6.4.12",
+ "resolved": "https://registry.npmjs.org/@codemirror/lang-html/-/lang-html-6.4.12.tgz",
+ "integrity": "sha512-pw2ReWKUqSkbvh76RAT4NYxiogRu+PWkR2ukAwO9uOgrm8uipkzjtKKtNpyeAQwHOqxEeSvAXZ6vr3AfyB9y/w==",
"license": "MIT",
"dependencies": {
"@codemirror/autocomplete": "^6.0.0",
@@ -402,9 +714,9 @@
}
},
"node_modules/@codemirror/lang-markdown": {
- "version": "6.5.0",
- "resolved": "https://registry.npmjs.org/@codemirror/lang-markdown/-/lang-markdown-6.5.0.tgz",
- "integrity": "sha512-0K40bZ35jpHya6FriukbgaleaqzBLZfOh7HuzqbMxBXkbYMJDxfF39c23xOgxFezR+3G+tR2/Mup+Xk865OMvw==",
+ "version": "6.5.2",
+ "resolved": "https://registry.npmjs.org/@codemirror/lang-markdown/-/lang-markdown-6.5.2.tgz",
+ "integrity": "sha512-AwBOdkWYuA//WcM0xO5PfHPUcmz/O2i5o0Nsg1U69SII/loCJlFI1Romd9xp2HYb1kYJRGZotyqRghuHH5n8Kw==",
"license": "MIT",
"dependencies": {
"@codemirror/autocomplete": "^6.7.1",
@@ -460,12 +772,13 @@
}
},
"node_modules/@codemirror/language": {
- "version": "6.12.3",
- "resolved": "https://registry.npmjs.org/@codemirror/language/-/language-6.12.3.tgz",
- "integrity": "sha512-QwCZW6Tt1siP37Jet9Tb02Zs81TQt6qQrZR2H+eGMcFsL1zMrk2/b9CLC7/9ieP1fjIUMgviLWMmgiHoJrj+ZA==",
+ "version": "6.13.1",
+ "resolved": "https://registry.npmjs.org/@codemirror/language/-/language-6.13.1.tgz",
+ "integrity": "sha512-zfvU2r3TyylQLMj/te+5CnQ0rSqZi8B1oTCBbQkagcLW4Xc6imab6qN+pEJhsuNOLaJqiRyBXp9UhWA1DhVvDw==",
"license": "MIT",
"dependencies": {
"@codemirror/state": "^6.0.0",
+ "@codemirror/streamparser": "^6.0.0",
"@codemirror/view": "^6.23.0",
"@lezer/common": "^1.5.0",
"@lezer/highlight": "^1.0.0",
@@ -474,12 +787,12 @@
}
},
"node_modules/@codemirror/legacy-modes": {
- "version": "6.5.3",
- "resolved": "https://registry.npmjs.org/@codemirror/legacy-modes/-/legacy-modes-6.5.3.tgz",
- "integrity": "sha512-xCsmIzH78MyWkib9jlPaaun57XNkfbMIhagfaZVd0iLTqlpw3jXaIcbZm72MTmmn64eTZpBVNjbyYh+QXnxRsg==",
+ "version": "6.5.5",
+ "resolved": "https://registry.npmjs.org/@codemirror/legacy-modes/-/legacy-modes-6.5.5.tgz",
+ "integrity": "sha512-9ltT214oMb3Y1w5eAZMSigzrjzZnMI2Wa3Feq73rU/i4C56MkwrpfswfQYOr28C5pXr6dWwspNTMyeHXlzWMxg==",
"license": "MIT",
"dependencies": {
- "@codemirror/language": "^6.0.0"
+ "@codemirror/streamparser": "^6.0.0"
}
},
"node_modules/@codemirror/lint": {
@@ -494,9 +807,9 @@
}
},
"node_modules/@codemirror/search": {
- "version": "6.7.0",
- "resolved": "https://registry.npmjs.org/@codemirror/search/-/search-6.7.0.tgz",
- "integrity": "sha512-ZvGm99wc/s2cITtMT15LFdn8aH/aS+V+DqyGq/N5ZlV5vWtH+nILvC2nw0zX7ByNoHHDZ2IxxdW38O0tc5nVHg==",
+ "version": "6.7.2",
+ "resolved": "https://registry.npmjs.org/@codemirror/search/-/search-6.7.2.tgz",
+ "integrity": "sha512-gUYkYhT2+n/+VGZ+8EzE5WFkYZUZYm1VOKDudIsNqh42uRVQJ0a6Yss9sdKT3MeOYfuL1N6AZA57oza0Oyr0LA==",
"license": "MIT",
"dependencies": {
"@codemirror/state": "^6.0.0",
@@ -505,14 +818,20 @@
}
},
"node_modules/@codemirror/state": {
- "version": "6.6.0",
- "resolved": "https://registry.npmjs.org/@codemirror/state/-/state-6.6.0.tgz",
- "integrity": "sha512-4nbvra5R5EtiCzr9BTHiTLc+MLXK2QGiAVYMyi8PkQd3SR+6ixar/Q/01Fa21TBIDOZXgeWV4WppsQolSreAPQ==",
+ "version": "6.7.6",
+ "resolved": "https://registry.npmjs.org/@codemirror/state/-/state-6.7.6.tgz",
+ "integrity": "sha512-kAz+AncRtKuIknedxT1bq4XwXv4UowhbkHU1myPrtVb/jZtImWuV5BXzv5vK6i3kYACsdiZiQKFQQ5Mq7elW8w==",
"license": "MIT",
"dependencies": {
"@marijn/find-cluster-break": "^1.0.0"
}
},
+ "node_modules/@codemirror/streamparser": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/@codemirror/streamparser/-/streamparser-6.0.0.tgz",
+ "integrity": "sha512-JTFPF6xrfjt0mnfGPgzcLiMwYmvIyNaoizp8BYzv8FE8KrT6GBGDZ190rtt+O7Wke3gG/MFHyiY9YGNeimof4w==",
+ "license": "MIT"
+ },
"node_modules/@codemirror/theme-one-dark": {
"version": "6.1.3",
"resolved": "https://registry.npmjs.org/@codemirror/theme-one-dark/-/theme-one-dark-6.1.3.tgz",
@@ -526,21 +845,45 @@
}
},
"node_modules/@codemirror/view": {
- "version": "6.43.1",
- "resolved": "https://registry.npmjs.org/@codemirror/view/-/view-6.43.1.tgz",
- "integrity": "sha512-+BIjw/AG3tDQ4pJgTLPYdAW25eDE66YsvM4LKyVPgGzVgZ4a9Wj1SRX8kPVKgBDdPt8oHtZ15F0qx7p0oOHdHw==",
+ "version": "6.43.15",
+ "resolved": "https://registry.npmjs.org/@codemirror/view/-/view-6.43.15.tgz",
+ "integrity": "sha512-HHsfpqFeHyXLs983pSRe38Xajs0vFWZQ2BuX0m7Ki8w3jZ5iD8cuR3lBz2/5/X53Dhf32SBHKh6rtSTB6tKeGw==",
"license": "MIT",
"dependencies": {
- "@codemirror/state": "^6.6.0",
+ "@codemirror/state": "^6.7.0",
"crelt": "^1.0.6",
"style-mod": "^4.1.0",
"w3c-keyname": "^2.2.4"
}
},
+ "node_modules/@cspotcode/source-map-support": {
+ "version": "0.8.1",
+ "resolved": "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz",
+ "integrity": "sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/trace-mapping": "0.3.9"
+ },
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@cspotcode/source-map-support/node_modules/@jridgewell/trace-mapping": {
+ "version": "0.3.9",
+ "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.9.tgz",
+ "integrity": "sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/resolve-uri": "^3.0.3",
+ "@jridgewell/sourcemap-codec": "^1.4.10"
+ }
+ },
"node_modules/@csstools/color-helpers": {
- "version": "6.0.2",
- "resolved": "https://registry.npmjs.org/@csstools/color-helpers/-/color-helpers-6.0.2.tgz",
- "integrity": "sha512-LMGQLS9EuADloEFkcTBR3BwV/CGHV7zyDxVRtVDTwdI2Ca4it0CCVTT9wCkxSgokjE5Ho41hEPgb8OEUwoXr6Q==",
+ "version": "6.1.2",
+ "resolved": "https://registry.npmjs.org/@csstools/color-helpers/-/color-helpers-6.1.2.tgz",
+ "integrity": "sha512-grhRy3OKmniaAEKXMjua5z/EODX0MSqBGjunw8+j/3HQjOnahs2AGhvEOIYVUWcU6ScApbhLhVrQTX8XqrMrow==",
"dev": true,
"funding": [
{
@@ -558,9 +901,9 @@
}
},
"node_modules/@csstools/css-calc": {
- "version": "3.2.0",
- "resolved": "https://registry.npmjs.org/@csstools/css-calc/-/css-calc-3.2.0.tgz",
- "integrity": "sha512-bR9e6o2BDB12jzN/gIbjHa5wLJ4UjD1CB9pM7ehlc0ddk6EBz+yYS1EV2MF55/HUxrHcB/hehAyt5vhsA3hx7w==",
+ "version": "3.4.3",
+ "resolved": "https://registry.npmjs.org/@csstools/css-calc/-/css-calc-3.4.3.tgz",
+ "integrity": "sha512-iex20d8CHVkyvg6B7UKV7uHnI2Bqo9g+EFfT9E0y+GvTvhZ/DwONJ+9aKb1dlqm0ZiGsL5RXjp0fCoJYnkeDjA==",
"dev": true,
"funding": [
{
@@ -577,14 +920,14 @@
"node": ">=20.19.0"
},
"peerDependencies": {
- "@csstools/css-parser-algorithms": "^4.0.0",
- "@csstools/css-tokenizer": "^4.0.0"
+ "@csstools/css-parser-algorithms": "^4.0.2",
+ "@csstools/css-tokenizer": "^4.0.2"
}
},
"node_modules/@csstools/css-color-parser": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/@csstools/css-color-parser/-/css-color-parser-4.1.0.tgz",
- "integrity": "sha512-U0KhLYmy2GVj6q4T3WaAe6NPuFYCPQoE3b0dRGxejWDgcPp8TP7S5rVdM5ZrFaqu4N67X8YaPBw14dQSYx3IyQ==",
+ "version": "4.2.6",
+ "resolved": "https://registry.npmjs.org/@csstools/css-color-parser/-/css-color-parser-4.2.6.tgz",
+ "integrity": "sha512-iiPQ3iRWwnJkeEn6RIu6SJPr7hYrLz6XZ9s/QZl+2/LI5KQVjpl2fdmDSZKuD4xP6GMmMPgHFFXg6k1Wkz0Trg==",
"dev": true,
"funding": [
{
@@ -598,21 +941,21 @@
],
"license": "MIT",
"dependencies": {
- "@csstools/color-helpers": "^6.0.2",
- "@csstools/css-calc": "^3.2.0"
+ "@csstools/color-helpers": "^6.1.2",
+ "@csstools/css-calc": "^3.4.3"
},
"engines": {
"node": ">=20.19.0"
},
"peerDependencies": {
- "@csstools/css-parser-algorithms": "^4.0.0",
- "@csstools/css-tokenizer": "^4.0.0"
+ "@csstools/css-parser-algorithms": "^4.0.2",
+ "@csstools/css-tokenizer": "^4.0.2"
}
},
"node_modules/@csstools/css-parser-algorithms": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/@csstools/css-parser-algorithms/-/css-parser-algorithms-4.0.0.tgz",
- "integrity": "sha512-+B87qS7fIG3L5h3qwJ/IFbjoVoOe/bpOdh9hAjXbvx0o8ImEmUsGXN0inFOnk2ChCFgqkkGFQ+TpM5rbhkKe4w==",
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/@csstools/css-parser-algorithms/-/css-parser-algorithms-4.0.2.tgz",
+ "integrity": "sha512-40cSKyMvK+tq4qz6Awrlye2WGuOKt3FwPgtGg6KTfbHOWNw+Rk1rzbAtZnZ6IBhsY491HLRnDXwoyBAijmmILA==",
"dev": true,
"funding": [
{
@@ -629,13 +972,13 @@
"node": ">=20.19.0"
},
"peerDependencies": {
- "@csstools/css-tokenizer": "^4.0.0"
+ "@csstools/css-tokenizer": "^4.0.2"
}
},
"node_modules/@csstools/css-syntax-patches-for-csstree": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/@csstools/css-syntax-patches-for-csstree/-/css-syntax-patches-for-csstree-1.1.3.tgz",
- "integrity": "sha512-SH60bMfrRCJF3morcdk57WklujF4Jr/EsQUzqkarfHXEFcAR1gg7fS/chAE922Sehgzc1/+Tz5H3Ypa1HiEKrg==",
+ "version": "1.1.15",
+ "resolved": "https://registry.npmjs.org/@csstools/css-syntax-patches-for-csstree/-/css-syntax-patches-for-csstree-1.1.15.tgz",
+ "integrity": "sha512-J0u7HkVl2nzSlhsiTOp4AmwcUQ3D+mGEEKfBy/7To5/y7F2OHwyLrXfrhR0SMgr4p5Lo+eaMVSeai24zUcBIxA==",
"dev": true,
"funding": [
{
@@ -658,9 +1001,9 @@
}
},
"node_modules/@csstools/css-tokenizer": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/@csstools/css-tokenizer/-/css-tokenizer-4.0.0.tgz",
- "integrity": "sha512-QxULHAm7cNu72w97JUNCBFODFaXpbDg+dP8b/oWFAZ2MTRppA3U00Y2L1HqaS4J6yBqxwa/Y3nMBaxVKbB/NsA==",
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/@csstools/css-tokenizer/-/css-tokenizer-4.0.2.tgz",
+ "integrity": "sha512-OoKoR0f76dCY666JlcbhmVTs2drYj1GUXZTYTcbUgJjh9Nv41aFfZ21bPQTERm5+L5cBDo466NltB2lplS5GBw==",
"dev": true,
"funding": [
{
@@ -678,21 +1021,21 @@
}
},
"node_modules/@emnapi/core": {
- "version": "1.10.0",
- "resolved": "https://registry.npmjs.org/@emnapi/core/-/core-1.10.0.tgz",
- "integrity": "sha512-yq6OkJ4p82CAfPl0u9mQebQHKPJkY7WrIuk205cTYnYe+k2Z8YBh11FrbRG/H6ihirqcacOgl2BIO8oyMQLeXw==",
+ "version": "1.11.2",
+ "resolved": "https://registry.npmjs.org/@emnapi/core/-/core-1.11.2.tgz",
+ "integrity": "sha512-TC8MkTuZUtcTSiFeuC0ksCh9QIJ5+F21MvZ4Wn4ORfYaFJ/0dsiudv5tVkejgwZlwQ39jL9WWDe2lz8x0WglOA==",
"dev": true,
"license": "MIT",
"optional": true,
"dependencies": {
- "@emnapi/wasi-threads": "1.2.1",
+ "@emnapi/wasi-threads": "1.2.2",
"tslib": "^2.4.0"
}
},
"node_modules/@emnapi/runtime": {
- "version": "1.10.0",
- "resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.10.0.tgz",
- "integrity": "sha512-ewvYlk86xUoGI0zQRNq/mC+16R1QeDlKQy21Ki3oSYXNgLb45GV1P6A0M+/s6nyCuNDqe5VpaY84BzXGwVbwFA==",
+ "version": "1.11.2",
+ "resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.11.2.tgz",
+ "integrity": "sha512-kyOl3X0DuTiT1h2ft8r2fYO8JYtU9a9Xis/zBSiGArNaagCOWx90N1k2wxp18czFDH+OgcWGb5ZP/XMt3dcyPA==",
"dev": true,
"license": "MIT",
"optional": true,
@@ -701,9 +1044,9 @@
}
},
"node_modules/@emnapi/wasi-threads": {
- "version": "1.2.1",
- "resolved": "https://registry.npmjs.org/@emnapi/wasi-threads/-/wasi-threads-1.2.1.tgz",
- "integrity": "sha512-uTII7OYF+/Mes/MrcIOYp5yOtSMLBWSIoLPpcgwipoiKbli6k322tcoFsxoIIxPDqW01SQGAgko4EzZi2BNv2w==",
+ "version": "1.2.2",
+ "resolved": "https://registry.npmjs.org/@emnapi/wasi-threads/-/wasi-threads-1.2.2.tgz",
+ "integrity": "sha512-c95qOXkHdydNKhscBTebqEC1CVAZpyqOfVfBzQ1qgzyl3gfeldUjIggDbIZgDKsHLgnsM+igH7TJ/eAasaVuMA==",
"dev": true,
"license": "MIT",
"optional": true,
@@ -711,10 +1054,452 @@
"tslib": "^2.4.0"
}
},
+ "node_modules/@esbuild/aix-ppc64": {
+ "version": "0.28.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.28.2.tgz",
+ "integrity": "sha512-XExcO+dvLKvVtNTibSTBej1NCAbaGhWn9Ww1ZPx80qsahhPFe/8jgWP0IchNe0F3HwkU7n8ejhH8bjonqht8mQ==",
+ "cpu": [
+ "ppc64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "aix"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/android-arm": {
+ "version": "0.28.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.28.2.tgz",
+ "integrity": "sha512-kXXoiPVVGQcnIYGOeaovwOURpniDBpSq4A03qkQ+BMQqtGG6HYap3xne9C1O1yo4TR3qxlCX5IqqmX6fFo2Lqg==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/android-arm64": {
+ "version": "0.28.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.28.2.tgz",
+ "integrity": "sha512-5YfKeeI8qWfBZIX+u2xZC3Zlb3Os/gLS2sbEKM+I4ZOcsWmHS2WLysCcQZDAFRslDUU5Oiq44gf6PYN1vGwG5A==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/android-x64": {
+ "version": "0.28.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.28.2.tgz",
+ "integrity": "sha512-O387ite7SzUyCcy3JQX4P4bLtEA7bLLkx+esve5JHnyYfNTxcVpXZo9jhdB0lTKN44gztELTdU7nS8Nr16Fs1Q==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/darwin-arm64": {
+ "version": "0.28.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.28.2.tgz",
+ "integrity": "sha512-n4KqkOQrraxHJcgjM1RvwbigfQKIKJVpM7xp+KsxiyUSrRdIXnt73VhrPAx0fV44hgfmIVKjxMN9J1t5jySVkw==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/darwin-x64": {
+ "version": "0.28.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.28.2.tgz",
+ "integrity": "sha512-uq6suIWYP37qzGddBKPw5QEQPi6HiLGsO7UmkpfyaYNQ3D+rN6w6WfwH+nuqcGXWvawGwxOEroO4YGnFh95azw==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/freebsd-arm64": {
+ "version": "0.28.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.28.2.tgz",
+ "integrity": "sha512-n+I0BTSRIoy+d6RPKnEVwql5UwBJolytvY4mAOIEJorKlqgPII8ix6slVVrfZ5Tnj7glIZvloylbB/EJPMWEXw==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/freebsd-x64": {
+ "version": "0.28.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.28.2.tgz",
+ "integrity": "sha512-78XJTJkvPs0kz2w61301PJjXl4g7q3JqiYMZ/M/yVI73EHBrCRTgkhu9oqG7vPqq+a/yadEW8aD+agKlk5xrmg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-arm": {
+ "version": "0.28.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.28.2.tgz",
+ "integrity": "sha512-XlDnu2q5yoqems+xay6wSAcg9DDD7K9RLKZEBOMZm3ckNpJBvOX20tSfby8KfrrhINDyv9V2YVZKY/SpoGJI8w==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-arm64": {
+ "version": "0.28.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.28.2.tgz",
+ "integrity": "sha512-pW4AC0P3it8c7do9MVM4p51FzHzdM/TZrerurgRcHJ2WTa1VQ1CIq18xncfpBJw4ojkiZZrKW2yIBWBP92j6Ug==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-ia32": {
+ "version": "0.28.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.28.2.tgz",
+ "integrity": "sha512-CYbnj78HsIeA+DhgUKgFCfvNsTHFhMMrinUrMZpDXJXKN8T3XViTZ/+wtHeVxEWY8ewSzTFN+nRmSwO2tZaLUQ==",
+ "cpu": [
+ "ia32"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-loong64": {
+ "version": "0.28.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.28.2.tgz",
+ "integrity": "sha512-buwkd8nsph4R+ajRvw0qM5Hja/TXQow3ptzWO2EbG/cqcIkHloRrdlBtQlshyYGTNFvfkfJ5tpPLVkY4DtsPfQ==",
+ "cpu": [
+ "loong64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-mips64el": {
+ "version": "0.28.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.28.2.tgz",
+ "integrity": "sha512-ZVykbDyk7519VwiNb9Lcj9m8XM6v5V9uKPvrEMkkEedVewf+0itkhahp4HDpgERXhwLRpWFypsGbG/J8s0QjJA==",
+ "cpu": [
+ "mips64el"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-ppc64": {
+ "version": "0.28.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.28.2.tgz",
+ "integrity": "sha512-CAXl+Dtd9UUuJd8pKKdwh6MLm3MUMiqMPmhZ3tTSXPqfyQ3vDl6R5hZdZ/kYojK4ofXtdfSv1tFq8XzWx3heNQ==",
+ "cpu": [
+ "ppc64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-riscv64": {
+ "version": "0.28.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.28.2.tgz",
+ "integrity": "sha512-GeXCej4IQtU1B+QlDV8W/RRvbzI3O/Stss+/bCXv4lZls5WGRtu2a+3JkA3i4qIUlMXpcHebWpF8AkJhATowuA==",
+ "cpu": [
+ "riscv64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-s390x": {
+ "version": "0.28.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.28.2.tgz",
+ "integrity": "sha512-3H1weTYZPxt/WOhByszQZybS9w5lKzUn1FDMsgEChbHWQwHYQQRfBxgCcZvPhjHfKyJjIievvMmEUawJrdY9Dg==",
+ "cpu": [
+ "s390x"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-x64": {
+ "version": "0.28.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.28.2.tgz",
+ "integrity": "sha512-4xTZr1FUmSoQW4XIWmit3tzQrUTZM+N3P0XV8xROKYF50XfI7xeO90+1bZvNwxIufQ9hDQVRJH5YhgPVF8A/HQ==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/netbsd-arm64": {
+ "version": "0.28.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.28.2.tgz",
+ "integrity": "sha512-sSATRjPeDBg3pdgHoQfoYBob11Kk1FGa9lui5RIHZCoCkJa9QKlvl3/vKz2usCmYYjs7ymJR/2Nnsqe+Hjt5nw==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "netbsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/netbsd-x64": {
+ "version": "0.28.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.28.2.tgz",
+ "integrity": "sha512-lqnzCV+mM0gIADaKihiCg6ifgfU2L3h5E33rNQBN1Y4MaVGnzryzmvvf7UHxprpQdE8hpqLolJ9Rl+SkIRDpyw==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "netbsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/openbsd-arm64": {
+ "version": "0.28.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.28.2.tgz",
+ "integrity": "sha512-AL2qJILH7lNjrDmCQDvdxMfAUIv8KMNZOvrwAQ8i8//ntL9FflhOyMJ8OZSMBb8/AWXe3/5v5S20y3zCoZWKoQ==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "openbsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/openbsd-x64": {
+ "version": "0.28.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.28.2.tgz",
+ "integrity": "sha512-QtiuPytchRyC4rwUKhexJdQKvDuZ6hWloi3igqPQNUJCS1/v9EiO3UTOXR6A3FoMo4fnAKbWJdqaIwhOzh8qEw==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "openbsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/openharmony-arm64": {
+ "version": "0.28.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/openharmony-arm64/-/openharmony-arm64-0.28.2.tgz",
+ "integrity": "sha512-WkhYDmpTjLvGlScA1rwjRUmhl4k8oXR3cIbtqWmELgU/dFeHHlEllxDvdWcNJV9rbzCexB5vz8gtNewWLgCT7Q==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "openharmony"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/sunos-x64": {
+ "version": "0.28.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.28.2.tgz",
+ "integrity": "sha512-GPMSkTOtMnv2U2F8gxe4Io6qmVs+YKyp832Etqqxr0hFngmXQ3rzwytelm3GIn7T4VviRUlf3sOgBOiTdvaf7g==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "sunos"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/win32-arm64": {
+ "version": "0.28.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.28.2.tgz",
+ "integrity": "sha512-PIhhEkE9uPBleRBrQEJpUn7MBnibZzbGzYWPmY3x+YoVg/95zbjB4CxPPOQ8l5tYYM4mMaCthF8/1DIfBQQyWQ==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/win32-ia32": {
+ "version": "0.28.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.28.2.tgz",
+ "integrity": "sha512-YmJbfTlvU7Sdn9BB+4PRES4oB6pxgS37MAONj+hBr/cpXS1aBPKXxNnDbu+QCWPj0o9dgyxeq79g6c5P8KeuYA==",
+ "cpu": [
+ "ia32"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/win32-x64": {
+ "version": "0.28.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.28.2.tgz",
+ "integrity": "sha512-5ebpxr3nWMzrL/rnUI755Jkuee0bHL/Gq0WTF9lvcpv73wAp5eu8MfBUgWK9bhWvZjj7yX8etf/8tI8Ney695g==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
"node_modules/@eslint-community/eslint-utils": {
- "version": "4.9.1",
- "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.9.1.tgz",
- "integrity": "sha512-phrYmNiYppR7znFEdqgfWHXR6NCkZEK7hwWDHZUjit/2/U0r6XvkDl0SYnoM51Hq7FhCGdLDT6zxCCOY1hexsQ==",
+ "version": "4.10.1",
+ "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.10.1.tgz",
+ "integrity": "sha512-cuadcxVFE8sDK6iWJbs8Sn0av2Nrh2QSGQhVlBW9AaAHqHwjWsZHT8LJ4hFGPh7ASBV2deFdM7H/DPjulmh8rg==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -769,9 +1554,9 @@
}
},
"node_modules/@eslint/config-helpers": {
- "version": "0.6.0",
- "resolved": "https://registry.npmjs.org/@eslint/config-helpers/-/config-helpers-0.6.0.tgz",
- "integrity": "sha512-ii6Bw9jJ2zi2cWA2Z+9/QZ/+3DX6kwaV5Q986D/CdP3Lap3w/pgQZ373FV7byY/i7L4IRH/G43I5dz1ClsCbpA==",
+ "version": "0.7.0",
+ "resolved": "https://registry.npmjs.org/@eslint/config-helpers/-/config-helpers-0.7.0.tgz",
+ "integrity": "sha512-DObd/KKUsU+FaFv4PLxSRenpXfQWmPXXP3pPZ6/K1PCrMu2vQpMDMuQe/BqYeoLcz8ro0bVDF1RxOJgfVEdhUw==",
"dev": true,
"license": "Apache-2.0",
"dependencies": {
@@ -826,9 +1611,9 @@
}
},
"node_modules/@eslint/plugin-kit": {
- "version": "0.7.2",
- "resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.7.2.tgz",
- "integrity": "sha512-+CNAzxglkrpNf/kKywqQfk74QjtceuOE7Qm+AF8miRvPF/wmmK5+OJOgVh3AVTT3RP2mH3+FOaxlE5v72owk0A==",
+ "version": "0.7.3",
+ "resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.7.3.tgz",
+ "integrity": "sha512-IkO+/KEUvwbVpiURZg+P7zF74z5Jxe0UgJxVni+RtoHQ6IZieXaO02kmadomap/q+l6bc/jdPGGqTjhuZnuz1Q==",
"dev": true,
"license": "Apache-2.0",
"dependencies": {
@@ -840,9 +1625,9 @@
}
},
"node_modules/@exodus/bytes": {
- "version": "1.15.0",
- "resolved": "https://registry.npmjs.org/@exodus/bytes/-/bytes-1.15.0.tgz",
- "integrity": "sha512-UY0nlA+feH81UGSHv92sLEPLCeZFjXOuHhrIo0HQydScuQc8s0A7kL/UdgwgDq8g8ilksmuoF35YVTNphV2aBQ==",
+ "version": "1.16.0",
+ "resolved": "https://registry.npmjs.org/@exodus/bytes/-/bytes-1.16.0.tgz",
+ "integrity": "sha512-IcpW84uEn3N7ETtNZMlxKhfl6Pec8rUNGOTBtWbK1FKhJxIFAptZyVrvVRVBimAJxJCgc3PxepxkdWWG4DVzfA==",
"dev": true,
"license": "MIT",
"engines": {
@@ -858,27 +1643,18 @@
}
},
"node_modules/@fontsource-variable/geist": {
- "version": "5.2.9",
- "resolved": "https://registry.npmjs.org/@fontsource-variable/geist/-/geist-5.2.9.tgz",
- "integrity": "sha512-TP+QSBG3wxKGPE33CbMy/L0Nu3qvJ6Fy81Yc4LnQ95xH+i+cfEp8fyU8/kfV14YwszxIFPhnoMTbjL71waVpyQ==",
+ "version": "5.3.0",
+ "resolved": "https://registry.npmjs.org/@fontsource-variable/geist/-/geist-5.3.0.tgz",
+ "integrity": "sha512-j0m+vLQuG5XAYoHtGCVu0spvlGreR3EzpECUVzkFmI1mTVnAO38l/NEPDCFgZ177JxzYJCLSmTQibIiYPilGrA==",
"license": "OFL-1.1",
"funding": {
"url": "https://github.com/sponsors/ayuhito"
}
},
"node_modules/@fontsource-variable/jetbrains-mono": {
- "version": "5.2.8",
- "resolved": "https://registry.npmjs.org/@fontsource-variable/jetbrains-mono/-/jetbrains-mono-5.2.8.tgz",
- "integrity": "sha512-WBA9elru6Jdp5df2mES55wuOO0WIrn3kpXnI4+W2ek5u3ZgLS9XS4gmIlcQhiZOWEKl95meYdvK7xI+ETLCq/Q==",
- "license": "OFL-1.1",
- "funding": {
- "url": "https://github.com/sponsors/ayuhito"
- }
- },
- "node_modules/@fontsource/instrument-serif": {
- "version": "5.2.8",
- "resolved": "https://registry.npmjs.org/@fontsource/instrument-serif/-/instrument-serif-5.2.8.tgz",
- "integrity": "sha512-s+bkz+syj2rO00Rmq9g0P+PwuLig33DR1xDR8pTWmovH1pUjwnncrFk++q9mmOex8fUQ7oW80gPpPDaw7V1MMw==",
+ "version": "5.3.0",
+ "resolved": "https://registry.npmjs.org/@fontsource-variable/jetbrains-mono/-/jetbrains-mono-5.3.0.tgz",
+ "integrity": "sha512-F32xpS2NsGYoQi2ADSkKTgpJj7ozajsGgDJ8woTnqjmIB+dxDIqImjl4pXZVEExu8UFZ2ndhmX18EBS/hdz3Lw==",
"license": "OFL-1.1",
"funding": {
"url": "https://github.com/sponsors/ayuhito"
@@ -950,6 +1726,592 @@
"url": "https://github.com/sponsors/nzakas"
}
},
+ "node_modules/@img/colour": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/@img/colour/-/colour-1.1.0.tgz",
+ "integrity": "sha512-Td76q7j57o/tLVdgS746cYARfSyxk8iEfRxewL9h4OMzYhbW4TAcppl0mT4eyqXddh6L/jwoM75mo7ixa/pCeQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@img/sharp-darwin-arm64": {
+ "version": "0.35.5",
+ "resolved": "https://registry.npmjs.org/@img/sharp-darwin-arm64/-/sharp-darwin-arm64-0.35.5.tgz",
+ "integrity": "sha512-QRUlFQ0WxvdWyqqG/WtI3iupfD5rBzmCHXSdPsY91sAtVtTo7Q4cb6zOccZ3gqEqkr0f1As1ehLqmEpDsRf+lg==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">=20.9.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ },
+ "optionalDependencies": {
+ "@img/sharp-libvips-darwin-arm64": "1.3.4"
+ }
+ },
+ "node_modules/@img/sharp-darwin-x64": {
+ "version": "0.35.5",
+ "resolved": "https://registry.npmjs.org/@img/sharp-darwin-x64/-/sharp-darwin-x64-0.35.5.tgz",
+ "integrity": "sha512-+BR255RhDlpygUpOc/Jdt1nT6DQ3XG/ERo5wbcdOf5Q320dKtPCKPLR1LJs9VGXRaMa8l1uUa0tkCNOXiAxZUw==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">=20.9.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ },
+ "optionalDependencies": {
+ "@img/sharp-libvips-darwin-x64": "1.3.4"
+ }
+ },
+ "node_modules/@img/sharp-freebsd-wasm32": {
+ "version": "0.35.5",
+ "resolved": "https://registry.npmjs.org/@img/sharp-freebsd-wasm32/-/sharp-freebsd-wasm32-0.35.5.tgz",
+ "integrity": "sha512-Y/z91nEZ4uIBX5X3nfTovjU9lHNKFYbL2lpHCLVNmXQK03VIZvXBBt0KxbPGp2SdGSF+2mQU4e+hQaWOt86iAw==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ],
+ "dependencies": {
+ "@img/sharp-wasm32": "0.35.5"
+ },
+ "engines": {
+ "node": ">=20.9.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ }
+ },
+ "node_modules/@img/sharp-libvips-darwin-arm64": {
+ "version": "1.3.4",
+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-darwin-arm64/-/sharp-libvips-darwin-arm64-1.3.4.tgz",
+ "integrity": "sha512-5R89nBYiRdUlSWJxPhO+GVtaXzXSxKnRu/xqMn3KTA3L9EB9Oy/P+Nn2f2vlhPuUdy/Zusb2DarbyTpGCfEDuw==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "LGPL-3.0-or-later",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ }
+ },
+ "node_modules/@img/sharp-libvips-darwin-x64": {
+ "version": "1.3.4",
+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-darwin-x64/-/sharp-libvips-darwin-x64-1.3.4.tgz",
+ "integrity": "sha512-iR2OKH80yi0U+dUplyh3/xdpFvps6YkCwsXenIJxqxR1v9o+xtKTGbS9H7cps+2Vxjc8B1j96p75NmTGjIhtpQ==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "LGPL-3.0-or-later",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ }
+ },
+ "node_modules/@img/sharp-libvips-linux-arm": {
+ "version": "1.3.4",
+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-arm/-/sharp-libvips-linux-arm-1.3.4.tgz",
+ "integrity": "sha512-LmRtTsOHuvM2+wlO2Db37dx5MiZhB0FvSunciw48YjdOkZz9KAiRbm8ujeMOA1INqmei5NapFxYEK1D1ZSidmw==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "libc": [
+ "glibc"
+ ],
+ "license": "LGPL-3.0-or-later",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ }
+ },
+ "node_modules/@img/sharp-libvips-linux-arm64": {
+ "version": "1.3.4",
+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-arm64/-/sharp-libvips-linux-arm64-1.3.4.tgz",
+ "integrity": "sha512-Y3dgX/6lE2QhQb+Gxy0WZxfg9MEm/JBjamZpS2IklP7xIQoKN4hzAm7KcMVGtaVDt3neE9OKBC7vAfonA/Lr1A==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "libc": [
+ "glibc"
+ ],
+ "license": "LGPL-3.0-or-later",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ }
+ },
+ "node_modules/@img/sharp-libvips-linux-ppc64": {
+ "version": "1.3.4",
+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-ppc64/-/sharp-libvips-linux-ppc64-1.3.4.tgz",
+ "integrity": "sha512-Le6boB8Tai0Nis+gIxIpKx68UDVVIqdR8Tin5Yf1z2LJJQLDJvCDRqRu+jC2qCoD+eIomonmOwB4smBRxfVpYQ==",
+ "cpu": [
+ "ppc64"
+ ],
+ "dev": true,
+ "libc": [
+ "glibc"
+ ],
+ "license": "LGPL-3.0-or-later",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ }
+ },
+ "node_modules/@img/sharp-libvips-linux-riscv64": {
+ "version": "1.3.4",
+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-riscv64/-/sharp-libvips-linux-riscv64-1.3.4.tgz",
+ "integrity": "sha512-aHkkIEHPRdQEegJN20MLmGtxYD9R2wQr3Cwpddnu5+YKMt6Uzax7S9h5gpZTo8wyrGuZSlfQ63OevL5mTyOC7Q==",
+ "cpu": [
+ "riscv64"
+ ],
+ "dev": true,
+ "libc": [
+ "glibc"
+ ],
+ "license": "LGPL-3.0-or-later",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ }
+ },
+ "node_modules/@img/sharp-libvips-linux-s390x": {
+ "version": "1.3.4",
+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-s390x/-/sharp-libvips-linux-s390x-1.3.4.tgz",
+ "integrity": "sha512-ra/mB6MikESDUO7Yg+Mi95bFBb9GsObURuhnOv3OqknjGe9sZrG8tCe9q0xSIGrtLgvgw0gKnFWcK4blSgQOuQ==",
+ "cpu": [
+ "s390x"
+ ],
+ "dev": true,
+ "libc": [
+ "glibc"
+ ],
+ "license": "LGPL-3.0-or-later",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ }
+ },
+ "node_modules/@img/sharp-libvips-linux-x64": {
+ "version": "1.3.4",
+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-x64/-/sharp-libvips-linux-x64-1.3.4.tgz",
+ "integrity": "sha512-GJ//SSXbnwSDes02umB3nDJLFcQzw8a18V8fyhqr6tV515tOEMdImjjxj1AoafMRz56F3PHgftnj1QEKSU1zkw==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "libc": [
+ "glibc"
+ ],
+ "license": "LGPL-3.0-or-later",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ }
+ },
+ "node_modules/@img/sharp-libvips-linuxmusl-arm64": {
+ "version": "1.3.4",
+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linuxmusl-arm64/-/sharp-libvips-linuxmusl-arm64-1.3.4.tgz",
+ "integrity": "sha512-hvulFwtjUcagsis6BBxHwGFwWoNZjgYmULGVrZcyfNbjA8hKILbRxGg15/7w5HDyXHXUos/j6baAWqnCyQ2DWA==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "libc": [
+ "musl"
+ ],
+ "license": "LGPL-3.0-or-later",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ }
+ },
+ "node_modules/@img/sharp-libvips-linuxmusl-x64": {
+ "version": "1.3.4",
+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linuxmusl-x64/-/sharp-libvips-linuxmusl-x64-1.3.4.tgz",
+ "integrity": "sha512-6zXKeE/p39I1AmA3cJG35eyBGNqNddLnUXjhwBnsGjFPWqf5VKkDBEqaEkPDoTEtkxwi2vv8Tcr2mDyP4So7Fg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "libc": [
+ "musl"
+ ],
+ "license": "LGPL-3.0-or-later",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ }
+ },
+ "node_modules/@img/sharp-linux-arm": {
+ "version": "0.35.5",
+ "resolved": "https://registry.npmjs.org/@img/sharp-linux-arm/-/sharp-linux-arm-0.35.5.tgz",
+ "integrity": "sha512-LEaXK2WdXVK5ykcw0buWyPMsmLLL2vpHLD6yrNSW+JGEL3BZPA4tpKN6iaMc4AxTTAoaX/sU1rOL51lcIz48ZQ==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "libc": [
+ "glibc"
+ ],
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=20.9.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ },
+ "optionalDependencies": {
+ "@img/sharp-libvips-linux-arm": "1.3.4"
+ }
+ },
+ "node_modules/@img/sharp-linux-arm64": {
+ "version": "0.35.5",
+ "resolved": "https://registry.npmjs.org/@img/sharp-linux-arm64/-/sharp-linux-arm64-0.35.5.tgz",
+ "integrity": "sha512-LYVx5JTsOM2CBzmxreh+nl64/3H6Xb09iSLknqH47z2T2DFFxDeFLP5y4dJwe6H7uGQlHPyEEtIqyo3DYsRwdQ==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "libc": [
+ "glibc"
+ ],
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=20.9.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ },
+ "optionalDependencies": {
+ "@img/sharp-libvips-linux-arm64": "1.3.4"
+ }
+ },
+ "node_modules/@img/sharp-linux-ppc64": {
+ "version": "0.35.5",
+ "resolved": "https://registry.npmjs.org/@img/sharp-linux-ppc64/-/sharp-linux-ppc64-0.35.5.tgz",
+ "integrity": "sha512-QVxAAq8evVRI9ia2vqgwrmWucn5Dfv+JdWzj75pD8omHLPSP7f8p20O8jxzjCcuCEQEOtYOZUmX1hkiZ0kdevA==",
+ "cpu": [
+ "ppc64"
+ ],
+ "dev": true,
+ "libc": [
+ "glibc"
+ ],
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=20.9.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ },
+ "optionalDependencies": {
+ "@img/sharp-libvips-linux-ppc64": "1.3.4"
+ }
+ },
+ "node_modules/@img/sharp-linux-riscv64": {
+ "version": "0.35.5",
+ "resolved": "https://registry.npmjs.org/@img/sharp-linux-riscv64/-/sharp-linux-riscv64-0.35.5.tgz",
+ "integrity": "sha512-LtdreXguaavKODPIfzJ4kffx7UNt1omwtK0rch4EBbbSTXPnxWmYSayXdLJw0fJzQ97kHt1gL/yh4tvU+nCyRQ==",
+ "cpu": [
+ "riscv64"
+ ],
+ "dev": true,
+ "libc": [
+ "glibc"
+ ],
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=20.9.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ },
+ "optionalDependencies": {
+ "@img/sharp-libvips-linux-riscv64": "1.3.4"
+ }
+ },
+ "node_modules/@img/sharp-linux-s390x": {
+ "version": "0.35.5",
+ "resolved": "https://registry.npmjs.org/@img/sharp-linux-s390x/-/sharp-linux-s390x-0.35.5.tgz",
+ "integrity": "sha512-UZasTOFiYzotTsGOCu42BfUzP6Tu6Do/947iRm1RsLKvlllxwGcn4RN27LibGWceix4Y+Pmw3jsnTcCQIgWjqA==",
+ "cpu": [
+ "s390x"
+ ],
+ "dev": true,
+ "libc": [
+ "glibc"
+ ],
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=20.9.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ },
+ "optionalDependencies": {
+ "@img/sharp-libvips-linux-s390x": "1.3.4"
+ }
+ },
+ "node_modules/@img/sharp-linux-x64": {
+ "version": "0.35.5",
+ "resolved": "https://registry.npmjs.org/@img/sharp-linux-x64/-/sharp-linux-x64-0.35.5.tgz",
+ "integrity": "sha512-SxFtLTeJInhAA9Q836kux2vZNeOBQEx658qvbboZScr0wIARym3IcGmW7KpVD5sbVg0Ojy+udFQdayYIZyoNog==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "libc": [
+ "glibc"
+ ],
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=20.9.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ },
+ "optionalDependencies": {
+ "@img/sharp-libvips-linux-x64": "1.3.4"
+ }
+ },
+ "node_modules/@img/sharp-linuxmusl-arm64": {
+ "version": "0.35.5",
+ "resolved": "https://registry.npmjs.org/@img/sharp-linuxmusl-arm64/-/sharp-linuxmusl-arm64-0.35.5.tgz",
+ "integrity": "sha512-9HbMclmI1zlNkFRs3z9/eBtDjfD0sGlrX1z6b1qwmiFY5ElDLh4BC0LPBdVp7z1DXFiKlIcznf+ZlsuZzLxQqg==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "libc": [
+ "musl"
+ ],
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=20.9.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ },
+ "optionalDependencies": {
+ "@img/sharp-libvips-linuxmusl-arm64": "1.3.4"
+ }
+ },
+ "node_modules/@img/sharp-linuxmusl-x64": {
+ "version": "0.35.5",
+ "resolved": "https://registry.npmjs.org/@img/sharp-linuxmusl-x64/-/sharp-linuxmusl-x64-0.35.5.tgz",
+ "integrity": "sha512-4KOphqB035HrVdqLZfCgMzzERrQkkzOwRhl4OAkRO1YCldbaFjySXMaK534Mo0V+LndnlJk+sbUyLeU0ULyD1A==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "libc": [
+ "musl"
+ ],
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=20.9.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ },
+ "optionalDependencies": {
+ "@img/sharp-libvips-linuxmusl-x64": "1.3.4"
+ }
+ },
+ "node_modules/@img/sharp-wasm32": {
+ "version": "0.35.5",
+ "resolved": "https://registry.npmjs.org/@img/sharp-wasm32/-/sharp-wasm32-0.35.5.tgz",
+ "integrity": "sha512-Ptsga1su4tQx+LLF1ECS9U6nz5kmrXKo6XVbtR48Ke3ZRxxgaWBu7IDtEe1quo8hiupwm6WFqxVlXaSf7IINGQ==",
+ "dev": true,
+ "license": "Apache-2.0 AND LGPL-3.0-or-later AND MIT",
+ "optional": true,
+ "dependencies": {
+ "@emnapi/runtime": "^1.11.3"
+ },
+ "engines": {
+ "node": ">=20.9.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ }
+ },
+ "node_modules/@img/sharp-wasm32/node_modules/@emnapi/runtime": {
+ "version": "1.11.3",
+ "resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.11.3.tgz",
+ "integrity": "sha512-Xz4Tpyki7XyrpbUK1jR1AhdAdaXyhhY4lZ3neLodmhpuWfy2PAQN5B46sAiU4liOXGLkHypn/qU+jvfWSCYYLA==",
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "tslib": "^2.4.0"
+ }
+ },
+ "node_modules/@img/sharp-webcontainers-wasm32": {
+ "version": "0.35.5",
+ "resolved": "https://registry.npmjs.org/@img/sharp-webcontainers-wasm32/-/sharp-webcontainers-wasm32-0.35.5.tgz",
+ "integrity": "sha512-hfhF/FmoQyTUkA0bIKFOtw536BQSeBMe6BF6QyWlrPxT754+TFLaZ7sKKTfvvM0yJgKgaYTwnFCIZ/GuDw5SUA==",
+ "cpu": [
+ "wasm32"
+ ],
+ "dev": true,
+ "license": "Apache-2.0",
+ "optional": true,
+ "dependencies": {
+ "@img/sharp-wasm32": "0.35.5"
+ },
+ "engines": {
+ "node": ">=20.9.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ }
+ },
+ "node_modules/@img/sharp-win32-arm64": {
+ "version": "0.35.5",
+ "resolved": "https://registry.npmjs.org/@img/sharp-win32-arm64/-/sharp-win32-arm64-0.35.5.tgz",
+ "integrity": "sha512-X4t7g+7ZA5DKblCBEXGjUqqemj4vczING/5viFwAL8h4N3qYeyjwdCvRLHi4EdOUI+2Z7UFlp1VM+p/AuEtm6Q==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "Apache-2.0 AND LGPL-3.0-or-later",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=20.9.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ }
+ },
+ "node_modules/@img/sharp-win32-ia32": {
+ "version": "0.35.5",
+ "resolved": "https://registry.npmjs.org/@img/sharp-win32-ia32/-/sharp-win32-ia32-0.35.5.tgz",
+ "integrity": "sha512-5Zm82LoBc43nhwNybZlG7Y1KO//Zhsn306fQl29ZOuStHLGTo3BWL83q3cznX0poxSAMuYL1On/BHBxkBeKr6A==",
+ "cpu": [
+ "ia32"
+ ],
+ "dev": true,
+ "license": "Apache-2.0 AND LGPL-3.0-or-later",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": "^20.9.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ }
+ },
+ "node_modules/@img/sharp-win32-x64": {
+ "version": "0.35.5",
+ "resolved": "https://registry.npmjs.org/@img/sharp-win32-x64/-/sharp-win32-x64-0.35.5.tgz",
+ "integrity": "sha512-x76eH0vEiHlcMQu8Y8IenntaACtddpT6W0wmXtWrnKcnKI7ME5DdgqhAD6SEWOEl1v2zDvkZDhFA9KnURwpfqg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "Apache-2.0 AND LGPL-3.0-or-later",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=20.9.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ }
+ },
"node_modules/@jridgewell/gen-mapping": {
"version": "0.3.13",
"resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.13.tgz",
@@ -983,9 +2345,9 @@
}
},
"node_modules/@jridgewell/sourcemap-codec": {
- "version": "1.5.5",
- "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.5.tgz",
- "integrity": "sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==",
+ "version": "1.6.0",
+ "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.6.0.tgz",
+ "integrity": "sha512-T7jf+5zgsZHwNJ4lvQ7/aezbyk0nNX+zJVWpmHA7VYsEx7a7qr5Rg5IbtJFqkgze5Y2sruq1RUY8Q837Od7iFw==",
"dev": true,
"license": "MIT"
},
@@ -1000,16 +2362,40 @@
"@jridgewell/sourcemap-codec": "^1.4.14"
}
},
+ "node_modules/@keyv/bigmap": {
+ "version": "1.3.1",
+ "resolved": "https://registry.npmjs.org/@keyv/bigmap/-/bigmap-1.3.1.tgz",
+ "integrity": "sha512-WbzE9sdmQtKy8vrNPa9BRnwZh5UF4s1KTmSK0KUVLo3eff5BlQNNWDnFOouNpKfPKDnms9xynJjsMYjMaT/aFQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "hashery": "^1.4.0",
+ "hookified": "^1.15.0"
+ },
+ "engines": {
+ "node": ">= 18"
+ },
+ "peerDependencies": {
+ "keyv": "^5.6.0"
+ }
+ },
+ "node_modules/@keyv/serialize": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/@keyv/serialize/-/serialize-1.1.1.tgz",
+ "integrity": "sha512-dXn3FZhPv0US+7dtJsIi2R+c7qWYiReoEh5zUntWCf4oSpMNib8FDhSoed6m3QyZdx5hK7iLFkYk3rNxwt8vTA==",
+ "dev": true,
+ "license": "MIT"
+ },
"node_modules/@lezer/common": {
- "version": "1.5.2",
- "resolved": "https://registry.npmjs.org/@lezer/common/-/common-1.5.2.tgz",
- "integrity": "sha512-sxQE460fPZyU3sdc8lafxiPwJHBzZRy/udNFynGQky1SePYBdhkBl1kOagA9uT3pxR8K09bOrmTUqA9wb/PjSQ==",
+ "version": "1.5.4",
+ "resolved": "https://registry.npmjs.org/@lezer/common/-/common-1.5.4.tgz",
+ "integrity": "sha512-xt3Q4z64xM+xhg4M7NXqw1N//1O74bUFo5kz6fwMeC4qwxSuRdwkYSmjcqCEEKYkNw5e67f2hcNqBoNERAEU0w==",
"license": "MIT"
},
"node_modules/@lezer/css": {
- "version": "1.3.3",
- "resolved": "https://registry.npmjs.org/@lezer/css/-/css-1.3.3.tgz",
- "integrity": "sha512-RzBo8r+/6QJeow7aPHIpGVIH59xTcJXp399820gZoMo9noQDRVpJLheIBUicYwKcsbOYoBRoLZlf2720dG/4Tg==",
+ "version": "1.3.9",
+ "resolved": "https://registry.npmjs.org/@lezer/css/-/css-1.3.9.tgz",
+ "integrity": "sha512-ZmzgvTOBdJWGIsY/ItAfN7UW8DV802oZG+jeG6E508SwEzz5YhuAajptpWPICvIyqYAD2+VjMdOS40GgGkyEOQ==",
"license": "MIT",
"dependencies": {
"@lezer/common": "^1.2.0",
@@ -1018,9 +2404,9 @@
}
},
"node_modules/@lezer/highlight": {
- "version": "1.2.3",
- "resolved": "https://registry.npmjs.org/@lezer/highlight/-/highlight-1.2.3.tgz",
- "integrity": "sha512-qXdH7UqTvGfdVBINrgKhDsVTJTxactNNxLk7+UMwZhU13lMHaOBlJe9Vqp907ya56Y3+ed2tlqzys7jDkTmW0g==",
+ "version": "1.2.5",
+ "resolved": "https://registry.npmjs.org/@lezer/highlight/-/highlight-1.2.5.tgz",
+ "integrity": "sha512-O1GMVKgtf5YspFaRzpmqkVgMtIk2HG9uMAbH6wdAIdNh3TVzCsch/+cRi+6l2//UGDKe6NB9BW3cvuR5ezMQ0w==",
"license": "MIT",
"dependencies": {
"@lezer/common": "^1.3.0"
@@ -1038,9 +2424,9 @@
}
},
"node_modules/@lezer/javascript": {
- "version": "1.5.4",
- "resolved": "https://registry.npmjs.org/@lezer/javascript/-/javascript-1.5.4.tgz",
- "integrity": "sha512-vvYx3MhWqeZtGPwDStM2dwgljd5smolYD2lR2UyFcHfxbBQebqx8yjmFmxtJ/E6nN6u1D9srOiVWm3Rb4tmcUA==",
+ "version": "1.5.6",
+ "resolved": "https://registry.npmjs.org/@lezer/javascript/-/javascript-1.5.6.tgz",
+ "integrity": "sha512-sEvOqpl4vJQca0NugSQK02vQPbc5KrvoojnYGoqqFgFO0MtcYhwGiHKVEB+LuXYJnfyXo4QPA8ztbrEa4Fw5NA==",
"license": "MIT",
"dependencies": {
"@lezer/common": "^1.2.0",
@@ -1060,18 +2446,18 @@
}
},
"node_modules/@lezer/lr": {
- "version": "1.4.10",
- "resolved": "https://registry.npmjs.org/@lezer/lr/-/lr-1.4.10.tgz",
- "integrity": "sha512-rnCpTIBafOx4mRp43xOxDJbFipJm/c0cia/V5TiGlhmMa+wsSdoGmUN3w5Bqrks/09Q/D4tNAmWaT8p6NRi77A==",
+ "version": "1.4.11",
+ "resolved": "https://registry.npmjs.org/@lezer/lr/-/lr-1.4.11.tgz",
+ "integrity": "sha512-UwgZcl1R66H2hDzBrA7kWyYmX6s8p5TQ+e/t7CuvgCtBEPxbEPaHYHu+pJBvTvDotEJpuQkJjbXuHiw5Cixxgw==",
"license": "MIT",
"dependencies": {
"@lezer/common": "^1.0.0"
}
},
"node_modules/@lezer/markdown": {
- "version": "1.6.3",
- "resolved": "https://registry.npmjs.org/@lezer/markdown/-/markdown-1.6.3.tgz",
- "integrity": "sha512-jpGm5Ps+XErS+xA4urw7ogEGkeZOahVQF21Z6oECF0sj+2liwZopd2+I8uH5I/vZsRuuze3OxBREIANLf6KKUw==",
+ "version": "1.8.1",
+ "resolved": "https://registry.npmjs.org/@lezer/markdown/-/markdown-1.8.1.tgz",
+ "integrity": "sha512-M5YmEcKWO4mJ45Y1hECwqyu8cLv25EiXOK554PVOvDOWOP0olwelHHQUWr9sjF+d1bENVhy0nfJ8E57XZUTiXg==",
"license": "MIT",
"dependencies": {
"@lezer/common": "^1.5.0",
@@ -1101,11 +2487,21 @@
}
},
"node_modules/@marijn/find-cluster-break": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/@marijn/find-cluster-break/-/find-cluster-break-1.0.2.tgz",
- "integrity": "sha512-l0h88YhZFyKdXIFNfSWpyjStDjGHwZ/U7iobcK1cQQD8sejsONdQtTVU+1wVN1PBw40PiiHB1vA5S7VTfQiP9g==",
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/@marijn/find-cluster-break/-/find-cluster-break-1.0.4.tgz",
+ "integrity": "sha512-Wy0V7+SGUjnF9/TkiM1hKVDPj7jKXduPNboMVtHTA8dySMURWqfg/JZ9E2Sq8JgSJmkl7k7Qe9FLeMSrSraWmQ==",
"license": "MIT"
},
+ "node_modules/@marsidev/react-turnstile": {
+ "version": "1.6.3",
+ "resolved": "https://registry.npmjs.org/@marsidev/react-turnstile/-/react-turnstile-1.6.3.tgz",
+ "integrity": "sha512-JdMMArjEVDMs5jnGMBeXl3y6dkMuIXPG4Tu88Uo2Rkf8ujEw/iJ2Yp/3n4kDF3BjJ+bJB9WC19LPWc5a7/4srA==",
+ "license": "MIT",
+ "peerDependencies": {
+ "react": "^17.0.2 || ^18.0.0 || ^19.0",
+ "react-dom": "^17.0.2 || ^18.0.0 || ^19.0"
+ }
+ },
"node_modules/@msgpack/msgpack": {
"version": "3.1.3",
"resolved": "https://registry.npmjs.org/@msgpack/msgpack/-/msgpack-3.1.3.tgz",
@@ -1116,28 +2512,31 @@
}
},
"node_modules/@napi-rs/wasm-runtime": {
- "version": "1.1.4",
- "resolved": "https://registry.npmjs.org/@napi-rs/wasm-runtime/-/wasm-runtime-1.1.4.tgz",
- "integrity": "sha512-3NQNNgA1YSlJb/kMH1ildASP9HW7/7kYnRI2szWJaofaS1hWmbGI4H+d3+22aGzXXN9IJ+n+GiFVcGipJP18ow==",
+ "version": "1.2.5",
+ "resolved": "https://registry.npmjs.org/@napi-rs/wasm-runtime/-/wasm-runtime-1.2.5.tgz",
+ "integrity": "sha512-HshSvXzmBxNzqejd3k/KemgQ3hdREUYFRRrgxOZ+gPljDIsO2SDZrVZMd4Z/HsxudQbE62OVyVFE8z9BCurfjA==",
"dev": true,
"license": "MIT",
"optional": true,
"dependencies": {
- "@tybys/wasm-util": "^0.10.1"
+ "@tybys/wasm-util": "^0.10.3"
+ },
+ "engines": {
+ "node": "^20.19.0 || ^22.13.0 || >=23.5.0"
},
"funding": {
"type": "github",
"url": "https://github.com/sponsors/Brooooooklyn"
},
"peerDependencies": {
- "@emnapi/core": "^1.7.1",
- "@emnapi/runtime": "^1.7.1"
+ "@emnapi/core": "^1.7.1 || ^2.0.0-alpha.4",
+ "@emnapi/runtime": "^1.7.1 || ^2.0.0-alpha.4"
}
},
"node_modules/@nodable/entities": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/@nodable/entities/-/entities-2.1.0.tgz",
- "integrity": "sha512-nyT7T3nbMyBI/lvr6L5TyWbFJAI9FTgVRakNoBqCD+PmID8DzFrrNdLLtHMwMszOtqZa8PAOV24ZqDnQrhQINA==",
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/@nodable/entities/-/entities-3.1.0.tgz",
+ "integrity": "sha512-LsS/DjHr+uDM647Gru/cA8+J3a3HfhttwCKLyuoyN7yXTFCxKBtSgMQBvrW9yNPa2/zDRUNuGPaH5QUFoa4arQ==",
"funding": [
{
"type": "github",
@@ -1147,9 +2546,9 @@
"license": "MIT"
},
"node_modules/@oxc-parser/binding-android-arm-eabi": {
- "version": "0.133.0",
- "resolved": "https://registry.npmjs.org/@oxc-parser/binding-android-arm-eabi/-/binding-android-arm-eabi-0.133.0.tgz",
- "integrity": "sha512-l/44caGse+VpnY9gx0yvvc5QnnG3yG1FO3KZgYvNL1GZrfK86zIwAOgGEVlxDyRymzrU/KHiblPFpevKOmJmUA==",
+ "version": "0.154.0",
+ "resolved": "https://registry.npmjs.org/@oxc-parser/binding-android-arm-eabi/-/binding-android-arm-eabi-0.154.0.tgz",
+ "integrity": "sha512-sDdEtDl7vKdCvf54j72RJbowE3jCmyRz/+oOB6IAwQxAHZ0eI+Dcj4hvVnm0b9Dy31plUkdmfds9C+/Zt895Tg==",
"cpu": [
"arm"
],
@@ -1164,9 +2563,9 @@
}
},
"node_modules/@oxc-parser/binding-android-arm64": {
- "version": "0.133.0",
- "resolved": "https://registry.npmjs.org/@oxc-parser/binding-android-arm64/-/binding-android-arm64-0.133.0.tgz",
- "integrity": "sha512-KUHmPMziLBp4u+zbrLdB7iWS7KshuZe+RAp7ELnY9SI9nNXBZ+dp8fiBqWOxhXqn+FQg3a4UcQhwmsJOKV8Jjg==",
+ "version": "0.154.0",
+ "resolved": "https://registry.npmjs.org/@oxc-parser/binding-android-arm64/-/binding-android-arm64-0.154.0.tgz",
+ "integrity": "sha512-UHrDPELzvWZoVkIDdSycj4bzcTMCJG3IbN++mSUgVBaUtNtWHjQ98U6Vz5bpF/1Ic3FYJyYhMr74huO5tVvpZw==",
"cpu": [
"arm64"
],
@@ -1181,9 +2580,9 @@
}
},
"node_modules/@oxc-parser/binding-darwin-arm64": {
- "version": "0.133.0",
- "resolved": "https://registry.npmjs.org/@oxc-parser/binding-darwin-arm64/-/binding-darwin-arm64-0.133.0.tgz",
- "integrity": "sha512-q8dWmnU/8ea2tga9w2f1PinQ5rcMPDUGkF64T189b65YMjUomET4oy5oRldOr4AwOQkneOG/Zttnz1Dvrc62wg==",
+ "version": "0.154.0",
+ "resolved": "https://registry.npmjs.org/@oxc-parser/binding-darwin-arm64/-/binding-darwin-arm64-0.154.0.tgz",
+ "integrity": "sha512-mokYzajOSXxtSRDWCdHARGdntrKH+rZZ24Jzo8AtafyNzz0NARmpMm26Tc5B6qiGrr6UliWibHCOif1qRN2vaA==",
"cpu": [
"arm64"
],
@@ -1198,9 +2597,9 @@
}
},
"node_modules/@oxc-parser/binding-darwin-x64": {
- "version": "0.133.0",
- "resolved": "https://registry.npmjs.org/@oxc-parser/binding-darwin-x64/-/binding-darwin-x64-0.133.0.tgz",
- "integrity": "sha512-cOKeIELIB2bJnCKwqx4Rdj+1Lss/U6uCbLxRySZrhyOOQa1flKhwZFjEHRHxk8fU1NKmhK5OnTdPQ4CpjuFuVw==",
+ "version": "0.154.0",
+ "resolved": "https://registry.npmjs.org/@oxc-parser/binding-darwin-x64/-/binding-darwin-x64-0.154.0.tgz",
+ "integrity": "sha512-WbtUBrclOVItWfLRSvs+Z/WLtXxJ2Ctv50PyuX894HzDN5/e0qzxVpTNPIVMzOerBhgKtFsSMcfxlYIAbvdVgg==",
"cpu": [
"x64"
],
@@ -1215,9 +2614,9 @@
}
},
"node_modules/@oxc-parser/binding-freebsd-x64": {
- "version": "0.133.0",
- "resolved": "https://registry.npmjs.org/@oxc-parser/binding-freebsd-x64/-/binding-freebsd-x64-0.133.0.tgz",
- "integrity": "sha512-OpaSv4pW3KgFrMYQxTaS0aOE4T1DQF3qZE/4B6uqqv1KgPWWd4UQhJALi8PJPX1RRV5K7ThKXRfF7qGg2+3l1A==",
+ "version": "0.154.0",
+ "resolved": "https://registry.npmjs.org/@oxc-parser/binding-freebsd-x64/-/binding-freebsd-x64-0.154.0.tgz",
+ "integrity": "sha512-YooHZSLawOe2fqm+lDdG8oAaQh2NYV/RMYTYzWRLy72stm2BgE9O/8Al6kFENjkmzyyBccDLLBirGxVtpzQfrw==",
"cpu": [
"x64"
],
@@ -1232,9 +2631,9 @@
}
},
"node_modules/@oxc-parser/binding-linux-arm-gnueabihf": {
- "version": "0.133.0",
- "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-0.133.0.tgz",
- "integrity": "sha512-JGK1wlGrGwxBIlVSF7KWTX1/ru6BEtf28fRROztDRkLfiW+Kxa4onnriezMIiogfn9hVw2KzYcKiLjkLR2ns8A==",
+ "version": "0.154.0",
+ "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-0.154.0.tgz",
+ "integrity": "sha512-hKOwhZbrXdTwc4bGVfbLCXl9f2swl6zWdISocLQSNX9MgPmwHE3qGzOUkCrkuGpwdCVHPnkfOwsqTuYsrP5uNg==",
"cpu": [
"arm"
],
@@ -1249,9 +2648,9 @@
}
},
"node_modules/@oxc-parser/binding-linux-arm-musleabihf": {
- "version": "0.133.0",
- "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-arm-musleabihf/-/binding-linux-arm-musleabihf-0.133.0.tgz",
- "integrity": "sha512-yuZO533Ftonxn/iyoqQzURzLQHMspvsIyfiCSNi1t/ER4eIQaR0SsmUOUm5b/lmSig7IWIUa5/BrbEkAPwcilQ==",
+ "version": "0.154.0",
+ "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-arm-musleabihf/-/binding-linux-arm-musleabihf-0.154.0.tgz",
+ "integrity": "sha512-tnjiooXEU013349O/yxKbF5Cusp1CfHWQ8kYR8tGeRzR/P4sOpQGQo21fsS71M0fMD6ESLq+lbvXFWi43PuKeQ==",
"cpu": [
"arm"
],
@@ -1266,13 +2665,16 @@
}
},
"node_modules/@oxc-parser/binding-linux-arm64-gnu": {
- "version": "0.133.0",
- "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-0.133.0.tgz",
- "integrity": "sha512-hvpbqT5pN2rR+3+xtWeizwfR/aZ0vGceg6TqYMl+ToxMpk9/tmnX7kSvQnfEUkoua8mhogzvIKsAkn0wxgblBA==",
+ "version": "0.154.0",
+ "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-0.154.0.tgz",
+ "integrity": "sha512-Cao2kj+8d7BT6XJU1gV9eVQjV+Cr+e8vQm3tddDRZiM2hHrMDxwy3j6t+ofaSl0idyuPPCZ4AlpmQoj8yOT1QA==",
"cpu": [
"arm64"
],
"dev": true,
+ "libc": [
+ "glibc"
+ ],
"license": "MIT",
"optional": true,
"os": [
@@ -1283,13 +2685,16 @@
}
},
"node_modules/@oxc-parser/binding-linux-arm64-musl": {
- "version": "0.133.0",
- "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-arm64-musl/-/binding-linux-arm64-musl-0.133.0.tgz",
- "integrity": "sha512-wJQGamIosQBoJHW9+S5XxrtKRo3eyJxsnS1XCPrqN0LHi8uw1pTqqTfn3t/NVuvbBg7Pumn4ez9Eidgcn0xbEg==",
+ "version": "0.154.0",
+ "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-arm64-musl/-/binding-linux-arm64-musl-0.154.0.tgz",
+ "integrity": "sha512-uiwA0V3q8llWA7/8r+a9BBjk4j5YMDmi6wfOsyQfGOJMQSLHEiZ3HI8ulea766ykUa9wJFWk9XWEl4uJrZLQqw==",
"cpu": [
"arm64"
],
"dev": true,
+ "libc": [
+ "musl"
+ ],
"license": "MIT",
"optional": true,
"os": [
@@ -1300,13 +2705,16 @@
}
},
"node_modules/@oxc-parser/binding-linux-ppc64-gnu": {
- "version": "0.133.0",
- "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-0.133.0.tgz",
- "integrity": "sha512-Koaz32/O5+abIfrNGdyndgRvdOZ9jEf5/z3Ep9h3h2QWpdDiUQpVwgH0OcMXCs+l9aXxPLtkupqyVig9W6FDKw==",
+ "version": "0.154.0",
+ "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-0.154.0.tgz",
+ "integrity": "sha512-LICfN0Xs4Zdko+bJy6eOAEQojDuIR26suF2JtOsMaXjgbCrpRSH7/NCvJhY13YvYBx12V6hnwrL8n0lk0rbNJQ==",
"cpu": [
"ppc64"
],
"dev": true,
+ "libc": [
+ "glibc"
+ ],
"license": "MIT",
"optional": true,
"os": [
@@ -1317,13 +2725,16 @@
}
},
"node_modules/@oxc-parser/binding-linux-riscv64-gnu": {
- "version": "0.133.0",
- "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-riscv64-gnu/-/binding-linux-riscv64-gnu-0.133.0.tgz",
- "integrity": "sha512-R4vOjWzxhnNWHnVLeiB6jNuIifdy9vcMXZGPc7StXcxBovI+U2zg1QhZ9o8OjV80oGivs1lX5NfPLzk4IPqlRA==",
+ "version": "0.154.0",
+ "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-riscv64-gnu/-/binding-linux-riscv64-gnu-0.154.0.tgz",
+ "integrity": "sha512-gbbSYxLF8ssRbQ2qQPy+2EhGNwNH1bAoRdkk6cnWaKHqmCikpSIPtpXjFbCCtjTi0uojqOM3ghFQwQPbDQsU0Q==",
"cpu": [
"riscv64"
],
"dev": true,
+ "libc": [
+ "glibc"
+ ],
"license": "MIT",
"optional": true,
"os": [
@@ -1334,13 +2745,16 @@
}
},
"node_modules/@oxc-parser/binding-linux-riscv64-musl": {
- "version": "0.133.0",
- "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-riscv64-musl/-/binding-linux-riscv64-musl-0.133.0.tgz",
- "integrity": "sha512-iwgBNUTHiMdxARLYuM0SBlnYeb19iw1Ea5M+4ERZupCsBMLArti6FyZ6UfFjJxIiTDr2oW2DGQFxlQVQ/dW9rA==",
+ "version": "0.154.0",
+ "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-riscv64-musl/-/binding-linux-riscv64-musl-0.154.0.tgz",
+ "integrity": "sha512-nSnRYYDLCcRVjSQzF3g6rKqCNYwo5o+aQgnn8BBXfe+ofCgMGlGqkfRyvXm6ptZvoxNkkWtLlqM8W7Xc3j6ZnQ==",
"cpu": [
"riscv64"
],
"dev": true,
+ "libc": [
+ "musl"
+ ],
"license": "MIT",
"optional": true,
"os": [
@@ -1351,13 +2765,16 @@
}
},
"node_modules/@oxc-parser/binding-linux-s390x-gnu": {
- "version": "0.133.0",
- "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-0.133.0.tgz",
- "integrity": "sha512-ZwZNo8FZmB/gVfboQl+wXilBigGl+6nQQs+nITOeAP/HcAOjiHl6XZJL9F/KXNEspODQcbjAiyjUbeCJd9a0fA==",
+ "version": "0.154.0",
+ "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-0.154.0.tgz",
+ "integrity": "sha512-BxBQoJKtzRQgZEKQIt6CDUm8RGKC5T8Qo4576yDa5/xgc10X3fBDItMbRabzLtbUBfTqKLl+8AVr/H6CF7W22g==",
"cpu": [
"s390x"
],
"dev": true,
+ "libc": [
+ "glibc"
+ ],
"license": "MIT",
"optional": true,
"os": [
@@ -1368,13 +2785,16 @@
}
},
"node_modules/@oxc-parser/binding-linux-x64-gnu": {
- "version": "0.133.0",
- "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-x64-gnu/-/binding-linux-x64-gnu-0.133.0.tgz",
- "integrity": "sha512-govCvWx1dBlED3uu4qXctxpRcouu9I8Kn+DBktGCl760JtlGJzc9l/OmPJKlYWSbrRqKkMZehNeZ/4Wfma7uSA==",
+ "version": "0.154.0",
+ "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-x64-gnu/-/binding-linux-x64-gnu-0.154.0.tgz",
+ "integrity": "sha512-/whkust2vYy+GjRUVL5cWaJmEu6jkdFfo5mkxgckyeOX61eMwo4iBoiwzeJZeMWAdzb/XOtQyLApHhFht3sOWA==",
"cpu": [
"x64"
],
"dev": true,
+ "libc": [
+ "glibc"
+ ],
"license": "MIT",
"optional": true,
"os": [
@@ -1385,13 +2805,16 @@
}
},
"node_modules/@oxc-parser/binding-linux-x64-musl": {
- "version": "0.133.0",
- "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-x64-musl/-/binding-linux-x64-musl-0.133.0.tgz",
- "integrity": "sha512-ssTlpXD5Mq9uCssDJPzlRWqBt4Y7Zzd9i+XZhWmK/9Y6KUIuAxVYTYiI8lxcGWi0+3/Cz4A8q9UrD4NK9Y2j7g==",
+ "version": "0.154.0",
+ "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-x64-musl/-/binding-linux-x64-musl-0.154.0.tgz",
+ "integrity": "sha512-EXURTyW9riw4B/kZnnE+58emAtw6+3VEszQfXUZkRqGaKIcmWDYkZtKB+xY/blHvuZ+Qy/fDclc31nmUCgtkSA==",
"cpu": [
"x64"
],
"dev": true,
+ "libc": [
+ "musl"
+ ],
"license": "MIT",
"optional": true,
"os": [
@@ -1402,9 +2825,9 @@
}
},
"node_modules/@oxc-parser/binding-openharmony-arm64": {
- "version": "0.133.0",
- "resolved": "https://registry.npmjs.org/@oxc-parser/binding-openharmony-arm64/-/binding-openharmony-arm64-0.133.0.tgz",
- "integrity": "sha512-51aByfXhPtLEdWG4a2Ihdw6cPWV1ei1AarALpFdDP8MLWDLE2NuUMgbo3DERR2Kt8fT/ok1GUvBiLxVGke9uUQ==",
+ "version": "0.154.0",
+ "resolved": "https://registry.npmjs.org/@oxc-parser/binding-openharmony-arm64/-/binding-openharmony-arm64-0.154.0.tgz",
+ "integrity": "sha512-ZRFooyH3qsR6vuR4jFGlG3XM36490SvvXtNaUahBK4zHpooMdTHNaOMtGGJI0EW38m5hi4rOco9kw7ZwCIp28w==",
"cpu": [
"arm64"
],
@@ -1418,29 +2841,10 @@
"node": "^20.19.0 || >=22.12.0"
}
},
- "node_modules/@oxc-parser/binding-wasm32-wasi": {
- "version": "0.133.0",
- "resolved": "https://registry.npmjs.org/@oxc-parser/binding-wasm32-wasi/-/binding-wasm32-wasi-0.133.0.tgz",
- "integrity": "sha512-2e16tkKp+wDO2GTAmXfxbBcCmGEaFPIJEIRBBmVKNVXSc8/fJsSIaBGyFTPHM9ST5GNWgJcYIt94rDTks+PLwA==",
- "cpu": [
- "wasm32"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "dependencies": {
- "@emnapi/core": "1.10.0",
- "@emnapi/runtime": "1.10.0",
- "@napi-rs/wasm-runtime": "^1.1.4"
- },
- "engines": {
- "node": "^20.19.0 || >=22.12.0"
- }
- },
"node_modules/@oxc-parser/binding-win32-arm64-msvc": {
- "version": "0.133.0",
- "resolved": "https://registry.npmjs.org/@oxc-parser/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-0.133.0.tgz",
- "integrity": "sha512-KPTNDKbxH1cglrqTyVeXHb4Pk4oksz8EcE1/v8zqU7N4UXbiHfA/IwtXZ2U77fnRAWBbgVkl/lZbL7o3hRdejg==",
+ "version": "0.154.0",
+ "resolved": "https://registry.npmjs.org/@oxc-parser/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-0.154.0.tgz",
+ "integrity": "sha512-U0Vp+4lvwUa/PnOCJTZOjydj1rX2+VLHz4Y2vSFqlN8/7LTiURgD7z4uQ9yNv9O/NlU3mELBnPDlu7aaSYG1zQ==",
"cpu": [
"arm64"
],
@@ -1455,9 +2859,9 @@
}
},
"node_modules/@oxc-parser/binding-win32-ia32-msvc": {
- "version": "0.133.0",
- "resolved": "https://registry.npmjs.org/@oxc-parser/binding-win32-ia32-msvc/-/binding-win32-ia32-msvc-0.133.0.tgz",
- "integrity": "sha512-Una1bNYv9zCavQrfnDR9wuZVB3itLjCEH4Oz7i6CwAJN/Xq9b+zbbcxmvdkKvvJt4Ngc/MBmIYlbLo3zS4TQ0A==",
+ "version": "0.154.0",
+ "resolved": "https://registry.npmjs.org/@oxc-parser/binding-win32-ia32-msvc/-/binding-win32-ia32-msvc-0.154.0.tgz",
+ "integrity": "sha512-Hc8QgsFY5eUUP25we8TISUruibG2cDt0H4IcPG9RKdabb6odkCzIqjV6Gk9beGWGuOwMVCr81H/Su1q363LCCg==",
"cpu": [
"ia32"
],
@@ -1472,9 +2876,9 @@
}
},
"node_modules/@oxc-parser/binding-win32-x64-msvc": {
- "version": "0.133.0",
- "resolved": "https://registry.npmjs.org/@oxc-parser/binding-win32-x64-msvc/-/binding-win32-x64-msvc-0.133.0.tgz",
- "integrity": "sha512-kjBhCiOGSYTwDJQuuZa7a94JbP8htWu7J0X1KwH74kV2K5eYf6eyJRYmkpCDvr0XEL8tMxYI4WU1VekblFCLgg==",
+ "version": "0.154.0",
+ "resolved": "https://registry.npmjs.org/@oxc-parser/binding-win32-x64-msvc/-/binding-win32-x64-msvc-0.154.0.tgz",
+ "integrity": "sha512-hD7judkUMA/hZPoamvKADs6+an1smp8UTK0aMYRijkvi00K/1vl7vEtmyn2JyQ9S+vibtnfcNzxqTLGyJUZCRQ==",
"cpu": [
"x64"
],
@@ -1489,19 +2893,19 @@
}
},
"node_modules/@oxc-project/types": {
- "version": "0.133.0",
- "resolved": "https://registry.npmjs.org/@oxc-project/types/-/types-0.133.0.tgz",
- "integrity": "sha512-KzkdCd6Uxqnf6l3HOw1xfatAlUURA0g14cvBYFyJ5SaNOQbOUvBr9PKArcPcrNIeRsBdgcUzOGrhKveVpvOIGA==",
+ "version": "0.154.0",
+ "resolved": "https://registry.npmjs.org/@oxc-project/types/-/types-0.154.0.tgz",
+ "integrity": "sha512-KYOUGQFlLWR+s4QMV2Q9ko38TZm7EdO87Qm7rvZLqk/webse/cDjtyxKhg/47l0byCbs/k46LT8qc4PKjAikzA==",
"dev": true,
"license": "MIT",
"funding": {
- "url": "https://github.com/sponsors/Boshen"
+ "url": "https://github.com/sponsors/oxc-project"
}
},
"node_modules/@oxc-resolver/binding-android-arm-eabi": {
- "version": "11.20.0",
- "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-android-arm-eabi/-/binding-android-arm-eabi-11.20.0.tgz",
- "integrity": "sha512-IjfWOXRgJFNdORDl+Uf1aibNgZY2guOD3zmOhx1BGVb/MIiqlFTdmjpQNplSN58lhWehnX4UNqC3QwpUo8pjJg==",
+ "version": "11.24.2",
+ "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-android-arm-eabi/-/binding-android-arm-eabi-11.24.2.tgz",
+ "integrity": "sha512-y09e0L0SRI2OA2tUIrjBgoV3eH5hvUKXNkJqXmNo5V2WxIjyC7I7aJfRLMEVpA8yi95f90gFDvO0VMgrDw+vwA==",
"cpu": [
"arm"
],
@@ -1513,9 +2917,9 @@
]
},
"node_modules/@oxc-resolver/binding-android-arm64": {
- "version": "11.20.0",
- "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-android-arm64/-/binding-android-arm64-11.20.0.tgz",
- "integrity": "sha512-QqslZAuFQG8Q9xm7JuIn8JUbvywhSBMVhuQHtYW+auirZJloS41oxUUaBXk7uUhZJgp44c5zQLeVvmFaDQB+2Q==",
+ "version": "11.24.2",
+ "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-android-arm64/-/binding-android-arm64-11.24.2.tgz",
+ "integrity": "sha512-cl4icWaZFnLdg8m6qtnh5rBMuGbxc/ptStFHLeCNwr+2cZjkjNwQu/jYRS0CHlnPecOJMpuS5M6/BH+0J/YkEg==",
"cpu": [
"arm64"
],
@@ -1527,9 +2931,9 @@
]
},
"node_modules/@oxc-resolver/binding-darwin-arm64": {
- "version": "11.20.0",
- "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-darwin-arm64/-/binding-darwin-arm64-11.20.0.tgz",
- "integrity": "sha512-MUcavykj2ewlR+kc5arpg4tC2RvzJkUxWtNv74pf7lcNk00GpIpN43vXMj+j6r4eMmfZhlb8hueKoIb8e9kAGQ==",
+ "version": "11.24.2",
+ "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-darwin-arm64/-/binding-darwin-arm64-11.24.2.tgz",
+ "integrity": "sha512-At29QEMF6HajbQvgY8K6OXnHD1x9rad74xBEfmCB6ZqCGsdq75aK7tOYcTbOanMy8qdIBrfL3SMr3p/lfSlb9w==",
"cpu": [
"arm64"
],
@@ -1541,9 +2945,9 @@
]
},
"node_modules/@oxc-resolver/binding-darwin-x64": {
- "version": "11.20.0",
- "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-darwin-x64/-/binding-darwin-x64-11.20.0.tgz",
- "integrity": "sha512-BGB16nRUK5Etiv//ihPyzj8Lj1px0mhh4YIfe0FDf045ywknfSm0GEbiRESpr6Q4K82AvnyaRIhhluHByvS4bg==",
+ "version": "11.24.2",
+ "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-darwin-x64/-/binding-darwin-x64-11.24.2.tgz",
+ "integrity": "sha512-A5Kqr1EUj4oIL5CF4WRssq/o5P0Y11cwoFouMRmQ7YnC/A8V93nv1nb7aSU8HwcgmXropjLNkVTl4MN87cu28Q==",
"cpu": [
"x64"
],
@@ -1555,9 +2959,9 @@
]
},
"node_modules/@oxc-resolver/binding-freebsd-x64": {
- "version": "11.20.0",
- "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-freebsd-x64/-/binding-freebsd-x64-11.20.0.tgz",
- "integrity": "sha512-JZgtePaqj3qmD5XFHJaSLWzHRxQu0LaPkdoM1KJXYADvAaa83ijXHclV3ej3CueeW0wxfIAbGCZVP45J0CA7uQ==",
+ "version": "11.24.2",
+ "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-freebsd-x64/-/binding-freebsd-x64-11.24.2.tgz",
+ "integrity": "sha512-R5xkRBRRz7ceH/P5Jrc6G7FmdUdgpLYyESFAUDVTNQ9K0sGPxcp4ljiwEwEqsvNcQ4sYbMRrWcHHBCu7ksAJVw==",
"cpu": [
"x64"
],
@@ -1569,9 +2973,9 @@
]
},
"node_modules/@oxc-resolver/binding-linux-arm-gnueabihf": {
- "version": "11.20.0",
- "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-11.20.0.tgz",
- "integrity": "sha512-hOQ/p3ry3v3SchUBXicrrnszaI/UmYzM4wtS4RGfwgVUX7a+HbyQSzJ5aOzu+o6XZkFkS3ZXN4PZAzhOb77OSg==",
+ "version": "11.24.2",
+ "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-11.24.2.tgz",
+ "integrity": "sha512-k/RuYL4L/R58IBn3wT5ma3Wh4k62bp1eYCFRWCmMsasUOqL+H6sW0VGFadEzKWXFFlz+2uIMoeMk9ySSZJHgbg==",
"cpu": [
"arm"
],
@@ -1583,9 +2987,9 @@
]
},
"node_modules/@oxc-resolver/binding-linux-arm-musleabihf": {
- "version": "11.20.0",
- "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-linux-arm-musleabihf/-/binding-linux-arm-musleabihf-11.20.0.tgz",
- "integrity": "sha512-2ArPksaw0AqeuGBfoS715VF+JvJQAhD2niWgjE5hVO+L+nAfikVQopvngCMX9x4BD8itWoQ3dnikrQyl5Ho5Jg==",
+ "version": "11.24.2",
+ "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-linux-arm-musleabihf/-/binding-linux-arm-musleabihf-11.24.2.tgz",
+ "integrity": "sha512-bnHAak3ujYfH5pKk4NieFNbvYvernfoQDgwLddbZ3OtMYrem87/qjlA+u+aKG0oZcqSLGCful/6/CEA+aeAgaA==",
"cpu": [
"arm"
],
@@ -1597,13 +3001,16 @@
]
},
"node_modules/@oxc-resolver/binding-linux-arm64-gnu": {
- "version": "11.20.0",
- "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-11.20.0.tgz",
- "integrity": "sha512-0bJnmYFp62JdZ4nVMDUZ/C58BCZOCcqgKtnUlp7L9Ojf/czIN+3j72YlLPeWLkzlr6SlYvIQA4SGV/HyO0d+qg==",
+ "version": "11.24.2",
+ "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-11.24.2.tgz",
+ "integrity": "sha512-vDT3KHgzYp47gmtNOqL2VNhCyl5Zv643eyxm//A68J8DeUGXrvD1pZFiaT4jSfe+RInfnn1R2yVHye4enx6RnA==",
"cpu": [
"arm64"
],
"dev": true,
+ "libc": [
+ "glibc"
+ ],
"license": "MIT",
"optional": true,
"os": [
@@ -1611,13 +3018,16 @@
]
},
"node_modules/@oxc-resolver/binding-linux-arm64-musl": {
- "version": "11.20.0",
- "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-linux-arm64-musl/-/binding-linux-arm64-musl-11.20.0.tgz",
- "integrity": "sha512-wKHHzPKZo7Ufhv/Bt6yxT7FOgnIgW4gwXcJUipkShGp68W3wGVqvr1Sr0fY65lN0Oy6y41+g2kIDvkgZaMMUkw==",
+ "version": "11.24.2",
+ "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-linux-arm64-musl/-/binding-linux-arm64-musl-11.24.2.tgz",
+ "integrity": "sha512-+kMlQvbzfyEYtu5FcjE4p+ttBLpKW4d/AsAsuE69BxV6V4twZJeIQZFfD8gh/wqglY0MkPSezWXQH0jBV13MUw==",
"cpu": [
"arm64"
],
"dev": true,
+ "libc": [
+ "musl"
+ ],
"license": "MIT",
"optional": true,
"os": [
@@ -1625,13 +3035,16 @@
]
},
"node_modules/@oxc-resolver/binding-linux-ppc64-gnu": {
- "version": "11.20.0",
- "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-11.20.0.tgz",
- "integrity": "sha512-RN8goF7Ie0B79L4i4G6OeBocTgSC56vJbQ65VJje+oXnldVpLnOU7j/AQ/dP94TcCS+Yh6WG8u3Qt4ETteXFNQ==",
+ "version": "11.24.2",
+ "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-11.24.2.tgz",
+ "integrity": "sha512-shjfMhmZ3gq9fv/w7bi3PnZlgOPG+2QAOFf0BJF0EgBSIGZ6PMLN2zbGEblTUYB/NKVDRyYhE2ff3dJ1QqNPkA==",
"cpu": [
"ppc64"
],
"dev": true,
+ "libc": [
+ "glibc"
+ ],
"license": "MIT",
"optional": true,
"os": [
@@ -1639,13 +3052,16 @@
]
},
"node_modules/@oxc-resolver/binding-linux-riscv64-gnu": {
- "version": "11.20.0",
- "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-linux-riscv64-gnu/-/binding-linux-riscv64-gnu-11.20.0.tgz",
- "integrity": "sha512-5l1yU6/xQEqLZRzxqmMxJfWPslpwCmBsdDGaBvABPehxquCXDC7dd7oraNdKSJUMDXSM7VvVj8H2D2FTjU7oWw==",
+ "version": "11.24.2",
+ "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-linux-riscv64-gnu/-/binding-linux-riscv64-gnu-11.24.2.tgz",
+ "integrity": "sha512-zGelwFR5oRo+b69k8Lrzun86DyUHzfKN6cnjbR9l7Z7NIRznOE/2ZvPa1IUKqAL2PzAXOdwkfVqNvO1H2RlpAw==",
"cpu": [
"riscv64"
],
"dev": true,
+ "libc": [
+ "glibc"
+ ],
"license": "MIT",
"optional": true,
"os": [
@@ -1653,13 +3069,16 @@
]
},
"node_modules/@oxc-resolver/binding-linux-riscv64-musl": {
- "version": "11.20.0",
- "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-linux-riscv64-musl/-/binding-linux-riscv64-musl-11.20.0.tgz",
- "integrity": "sha512-xHEvkbgz6UC+A3JOyDQy76LkUaxsNSfIr3/GV8slwZsnuooJiIB34gzJfsyvR4JdCYNUUPsRJc/w/oWkODu+hg==",
+ "version": "11.24.2",
+ "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-linux-riscv64-musl/-/binding-linux-riscv64-musl-11.24.2.tgz",
+ "integrity": "sha512-qxZ1SWCXJY0eyhAlP6Lmo9F2Nrtx7EkYj9oCgL8apDPCwXwCEDA2U697bbT81JIc2IrVjxO4KX6WU2N+oN9Z4w==",
"cpu": [
"riscv64"
],
"dev": true,
+ "libc": [
+ "musl"
+ ],
"license": "MIT",
"optional": true,
"os": [
@@ -1667,13 +3086,16 @@
]
},
"node_modules/@oxc-resolver/binding-linux-s390x-gnu": {
- "version": "11.20.0",
- "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-11.20.0.tgz",
- "integrity": "sha512-aWPDUUmSeyHvlW+SoEUd+JIJsQhVhu6a5tBpDRMu058naPAchTgAVGCFy35zjbnFlt0i8hLWziff6HX0D3LU4g==",
+ "version": "11.24.2",
+ "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-11.24.2.tgz",
+ "integrity": "sha512-sGCecF3cx2DFlH4t/z7ApnOnXqN48p5p5mlHDEnHTAukQa2P+qMVE4CwyWE9W+q/m3QJ7kKfGrIjax31f44oFQ==",
"cpu": [
"s390x"
],
"dev": true,
+ "libc": [
+ "glibc"
+ ],
"license": "MIT",
"optional": true,
"os": [
@@ -1681,13 +3103,16 @@
]
},
"node_modules/@oxc-resolver/binding-linux-x64-gnu": {
- "version": "11.20.0",
- "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-linux-x64-gnu/-/binding-linux-x64-gnu-11.20.0.tgz",
- "integrity": "sha512-x2YeSimvhJjKLVD8KSu8f/rqU1potcdEMkApIPJqjZWN7c2Fpt4g2X32WDg1p+XDAmyT7nuQGe0vnhvXeLbH+g==",
+ "version": "11.24.2",
+ "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-linux-x64-gnu/-/binding-linux-x64-gnu-11.24.2.tgz",
+ "integrity": "sha512-k/VlMMcSzMlahb3/fENM4rTlsJ0s3fFROA0KXPBmKggqmTSaE383sl8F3KCOXPLmVsYfW6hCitMhXCEtNeZxxg==",
"cpu": [
"x64"
],
"dev": true,
+ "libc": [
+ "glibc"
+ ],
"license": "MIT",
"optional": true,
"os": [
@@ -1695,13 +3120,16 @@
]
},
"node_modules/@oxc-resolver/binding-linux-x64-musl": {
- "version": "11.20.0",
- "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-linux-x64-musl/-/binding-linux-x64-musl-11.20.0.tgz",
- "integrity": "sha512-kcRLEIxpZefeYfLChjpgFf3ilBzRDZ+yobMrpRsQlSrxuFGtm3U6PMU7AaEpMqo3NfDGVyJJseAjnRLzMFHjwQ==",
+ "version": "11.24.2",
+ "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-linux-x64-musl/-/binding-linux-x64-musl-11.24.2.tgz",
+ "integrity": "sha512-8hbnZyNi97b/8wapYaIF9+t9GmZKBW2vunaOc3h9HGJptH7b7XpvZqOTBSm/MpTjr7H497BlgOaSfLUdhmy2bw==",
"cpu": [
"x64"
],
"dev": true,
+ "libc": [
+ "musl"
+ ],
"license": "MIT",
"optional": true,
"os": [
@@ -1709,9 +3137,9 @@
]
},
"node_modules/@oxc-resolver/binding-openharmony-arm64": {
- "version": "11.20.0",
- "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-openharmony-arm64/-/binding-openharmony-arm64-11.20.0.tgz",
- "integrity": "sha512-HHcfnApSZGtKhTiHqe8OZruOZe5XuFQH5/E0Yhj3u8fnFvzkM4/k6WjacUf4SvA0SPEAbfbgYmVPuo0VX/fIBQ==",
+ "version": "11.24.2",
+ "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-openharmony-arm64/-/binding-openharmony-arm64-11.24.2.tgz",
+ "integrity": "sha512-MvyGik3a6pVgZ0t/kWlbmFxFLmXQJwgLsY2eYFHLpy0wGwRbfzeIGgDwQ3kXqE30z+kSXennRkCrT7TUvkptNg==",
"cpu": [
"arm64"
],
@@ -1723,9 +3151,9 @@
]
},
"node_modules/@oxc-resolver/binding-wasm32-wasi": {
- "version": "11.20.0",
- "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-wasm32-wasi/-/binding-wasm32-wasi-11.20.0.tgz",
- "integrity": "sha512-Tn0y1XOFYHNfK1wp1Z5QK8Rcld/bsOwRISQXfqAZ5IBpv8Gz1IvV39fUWNprqNdRizgcvFhOzWwFun2zkJsyBg==",
+ "version": "11.24.2",
+ "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-wasm32-wasi/-/binding-wasm32-wasi-11.24.2.tgz",
+ "integrity": "sha512-vHcssMPwO08RTvj/c0iOBz90attxyG3wQJ0dTcyEQK43LRpcdLWZlV5feBhv6Isn6ahbQIzHbCgfa81+RiML0Q==",
"cpu": [
"wasm32"
],
@@ -1733,18 +3161,18 @@
"license": "MIT",
"optional": true,
"dependencies": {
- "@emnapi/core": "1.10.0",
- "@emnapi/runtime": "1.10.0",
- "@napi-rs/wasm-runtime": "^1.1.4"
+ "@emnapi/core": "1.11.2",
+ "@emnapi/runtime": "1.11.2",
+ "@napi-rs/wasm-runtime": "^1.1.6"
},
"engines": {
"node": ">=14.0.0"
}
},
"node_modules/@oxc-resolver/binding-win32-arm64-msvc": {
- "version": "11.20.0",
- "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-11.20.0.tgz",
- "integrity": "sha512-qPi25YNPe4YenS8MgsQU2+bIFHxxpLx1LVna2444cEHqNPhNjvWf9zqj4aWE43H9LpAsTmkkAlA3eL5ElBU3mA==",
+ "version": "11.24.2",
+ "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-11.24.2.tgz",
+ "integrity": "sha512-uokJqro2iBqkFvJdKQLP7d8/BUmFwESQFVmIJUQKj1Xn1a/LysJoe1vmeECLF5b3jsV8CAL5sEMJXX6SdK9Nhg==",
"cpu": [
"arm64"
],
@@ -1756,9 +3184,9 @@
]
},
"node_modules/@oxc-resolver/binding-win32-x64-msvc": {
- "version": "11.20.0",
- "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-win32-x64-msvc/-/binding-win32-x64-msvc-11.20.0.tgz",
- "integrity": "sha512-Wb14jWEW8huH6It9F6sXd9vrYmIS7pMrgkU6sxpLxkP+9z+wRgs71hUEhRpcn8FOXAFa27FVWfY2tRpbfTzfLw==",
+ "version": "11.24.2",
+ "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-win32-x64-msvc/-/binding-win32-x64-msvc-11.24.2.tgz",
+ "integrity": "sha512-UqGPmo56KDfLlfXFAFIrNflHT8tFxWGEivWg3Zeyp4Uy2NlKN1FGPr6/BxcLGG3+kZ6Wp14g5Uj+n71boqZfiw==",
"cpu": [
"x64"
],
@@ -1769,22 +3197,52 @@
"win32"
]
},
+ "node_modules/@poppinss/colors": {
+ "version": "4.1.6",
+ "resolved": "https://registry.npmjs.org/@poppinss/colors/-/colors-4.1.6.tgz",
+ "integrity": "sha512-H9xkIdFswbS8n1d6vmRd8+c10t2Qe+rZITbbDHHkQixH5+2x1FDGmi/0K+WgWiqQFKPSlIYB7jlH6Kpfn6Fleg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "kleur": "^4.1.5"
+ }
+ },
+ "node_modules/@poppinss/dumper": {
+ "version": "0.6.5",
+ "resolved": "https://registry.npmjs.org/@poppinss/dumper/-/dumper-0.6.5.tgz",
+ "integrity": "sha512-NBdYIb90J7LfOI32dOewKI1r7wnkiH6m920puQ3qHUeZkxNkQiFnXVWoE6YtFSv6QOiPPf7ys6i+HWWecDz7sw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@poppinss/colors": "^4.1.5",
+ "@sindresorhus/is": "^7.0.2",
+ "supports-color": "^10.0.0"
+ }
+ },
+ "node_modules/@poppinss/exception": {
+ "version": "1.2.3",
+ "resolved": "https://registry.npmjs.org/@poppinss/exception/-/exception-1.2.3.tgz",
+ "integrity": "sha512-dCED+QRChTVatE9ibtoaxc+WkdzOSjYTKi/+uacHWIsfodVfpsueo3+DKpgU5Px8qXjgmXkSvhXvSCz3fnP9lw==",
+ "dev": true,
+ "license": "MIT"
+ },
"node_modules/@radix-ui/primitive": {
- "version": "1.1.4",
- "resolved": "https://registry.npmjs.org/@radix-ui/primitive/-/primitive-1.1.4.tgz",
- "integrity": "sha512-7AdCK9PQyiljKoBDbN8OuctCbd/esdwZPQ8RtOE3SsyQtUpiPb+ND75q0jEhC1m1ecBI0MFNeLJvwIh9iKHRcQ==",
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/primitive/-/primitive-1.2.0.tgz",
+ "integrity": "sha512-KABY+VMIRPJL+Vyzv/335FEhXXD/xDv8BMb1kl48/aXJZMH0LtHCTx5ga5RnxaEP3nZHtmTLf1P9vanmFX46bw==",
"license": "MIT"
},
"node_modules/@radix-ui/react-collection": {
- "version": "1.1.9",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-collection/-/react-collection-1.1.9.tgz",
- "integrity": "sha512-zuSVi7ziP7uQRqc+yGxsKJfNkdyHv3ZKDaHe0gzg4dRgws96TPKWIiz84tVHP4GEcEl8bC0mdt17NkcxaJHmaQ==",
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-collection/-/react-collection-1.2.0.tgz",
+ "integrity": "sha512-+yiQzqcc7Sy7/5s0jrMCjpPRFB3538VNrXPWdTLZhE/SCfgEws4aI6lHWN/vvcnyhHndROWBzqmqB4QBrITZ9Q==",
"license": "MIT",
"dependencies": {
- "@radix-ui/react-compose-refs": "1.1.3",
- "@radix-ui/react-context": "1.1.4",
- "@radix-ui/react-primitive": "2.1.5",
- "@radix-ui/react-slot": "1.2.5"
+ "@radix-ui/react-compose-refs": "1.1.5",
+ "@radix-ui/react-context": "1.3.0",
+ "@radix-ui/react-primitive": "2.2.0",
+ "@radix-ui/react-slot": "1.5.0",
+ "@radix-ui/react-use-layout-effect": "1.1.4"
},
"peerDependencies": {
"@types/react": "*",
@@ -1802,9 +3260,9 @@
}
},
"node_modules/@radix-ui/react-compose-refs": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-compose-refs/-/react-compose-refs-1.1.3.tgz",
- "integrity": "sha512-rYOP8OMnuuPMQF1uhPVlGNcCDlkokKqGFE3JcxFViIkAXP7EvFWUliJAstrapypaBLJNHbZL6jGhbVDGTwmVhA==",
+ "version": "1.1.5",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-compose-refs/-/react-compose-refs-1.1.5.tgz",
+ "integrity": "sha512-+48PbAAbq3didjJxa+OaWY2ZwgAKsNiRGyeHKszblZMQ+kcpd9pAaT11cMkGEie0vsOi3QdeTE6d5Fe3Gn61kA==",
"license": "MIT",
"peerDependencies": {
"@types/react": "*",
@@ -1817,9 +3275,9 @@
}
},
"node_modules/@radix-ui/react-context": {
- "version": "1.1.4",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-context/-/react-context-1.1.4.tgz",
- "integrity": "sha512-QwH4PO5urrbO+FaGd5Aglg+YJgWTyyuZ3g/6mKvsqraLkglDdckw9JafgL5McL5VEJ6EPNduPaT3ZE9BttDAqg==",
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-context/-/react-context-1.3.0.tgz",
+ "integrity": "sha512-v5AYEocMISkbJ+1fTXzZpiFv7NRr3D2WiYbLIKf+FkmJ8VkP6d503eV2n34MFussHXY1pcoq3yfJiQH77dc4Mg==",
"license": "MIT",
"peerDependencies": {
"@types/react": "*",
@@ -1832,23 +3290,24 @@
}
},
"node_modules/@radix-ui/react-dialog": {
- "version": "1.1.16",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-dialog/-/react-dialog-1.1.16.tgz",
- "integrity": "sha512-l9ok83YBclEZhbjgzt76Hw733e6cvRKPNgO6GJ/IETlufXG9p+fRu2wlvpImQvR6xdJ8h7J8J2DBvsPEiEsKMw==",
+ "version": "1.3.1",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-dialog/-/react-dialog-1.3.1.tgz",
+ "integrity": "sha512-+0E4qvVTwjAWra9sEhJ+9BTsvHE00zkUuNw1VGh7S+Gc13dfYk+S1PVQdchWDj+XYHhAai7Z7IpzXVDCGsDplg==",
"license": "MIT",
"dependencies": {
- "@radix-ui/primitive": "1.1.4",
- "@radix-ui/react-compose-refs": "1.1.3",
- "@radix-ui/react-context": "1.1.4",
- "@radix-ui/react-dismissable-layer": "1.1.12",
- "@radix-ui/react-focus-guards": "1.1.4",
- "@radix-ui/react-focus-scope": "1.1.9",
- "@radix-ui/react-id": "1.1.2",
- "@radix-ui/react-portal": "1.1.11",
- "@radix-ui/react-presence": "1.1.6",
- "@radix-ui/react-primitive": "2.1.5",
- "@radix-ui/react-slot": "1.2.5",
- "@radix-ui/react-use-controllable-state": "1.2.3",
+ "@radix-ui/primitive": "1.2.0",
+ "@radix-ui/react-compose-refs": "1.1.5",
+ "@radix-ui/react-context": "1.3.0",
+ "@radix-ui/react-dismissable-layer": "1.2.1",
+ "@radix-ui/react-focus-guards": "1.2.0",
+ "@radix-ui/react-focus-scope": "1.3.1",
+ "@radix-ui/react-id": "1.1.4",
+ "@radix-ui/react-portal": "1.2.0",
+ "@radix-ui/react-presence": "1.1.11",
+ "@radix-ui/react-primitive": "2.2.0",
+ "@radix-ui/react-slot": "1.5.0",
+ "@radix-ui/react-use-controllable-state": "1.3.0",
+ "@radix-ui/react-use-layout-effect": "1.1.4",
"aria-hidden": "^1.2.4",
"react-remove-scroll": "^2.7.2"
},
@@ -1868,9 +3327,9 @@
}
},
"node_modules/@radix-ui/react-direction": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-direction/-/react-direction-1.1.2.tgz",
- "integrity": "sha512-C3vFhbyi4SW3PmbAi6Awpu4OzJtd0MxGurvSsYtr7p7nM8RNB3VAF3CUmnp2j50knpkrRcB7+ycVXzgLgF6yNA==",
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-direction/-/react-direction-1.2.0.tgz",
+ "integrity": "sha512-FtRA52a/r+LKStFT+neLUm+8vSe7wbzkbQGGeU8ixFiwC8NU14Evoq9ATECqL3eGbcUzJR4fyfA4KkK/q6dfqg==",
"license": "MIT",
"peerDependencies": {
"@types/react": "*",
@@ -1883,16 +3342,16 @@
}
},
"node_modules/@radix-ui/react-dismissable-layer": {
- "version": "1.1.12",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-dismissable-layer/-/react-dismissable-layer-1.1.12.tgz",
- "integrity": "sha512-MhoruH6xEzsbvOmo4TNgMfmtvRGyDZw4MDSdf4ybMHfezjqwzv6hyd4lsMzBp8K9Sn6sGzCF62x1I7BYUECXOg==",
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-dismissable-layer/-/react-dismissable-layer-1.2.1.tgz",
+ "integrity": "sha512-KIfDcAsx+oVylFZ4xryVKusJUrLLhTQmfnJW4kwk4Km5myvhHCrj04hnWWUC166+xD4DHdH8tQGylwYX1h6+Pg==",
"license": "MIT",
"dependencies": {
- "@radix-ui/primitive": "1.1.4",
- "@radix-ui/react-compose-refs": "1.1.3",
- "@radix-ui/react-primitive": "2.1.5",
- "@radix-ui/react-use-callback-ref": "1.1.2",
- "@radix-ui/react-use-escape-keydown": "1.1.2"
+ "@radix-ui/primitive": "1.2.0",
+ "@radix-ui/react-compose-refs": "1.1.5",
+ "@radix-ui/react-primitive": "2.2.0",
+ "@radix-ui/react-use-callback-ref": "1.1.5",
+ "@radix-ui/react-use-effect-event": "0.0.5"
},
"peerDependencies": {
"@types/react": "*",
@@ -1910,9 +3369,9 @@
}
},
"node_modules/@radix-ui/react-focus-guards": {
- "version": "1.1.4",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-focus-guards/-/react-focus-guards-1.1.4.tgz",
- "integrity": "sha512-cot/aB/mOm0IYVYTTmQcEEK1M48lZWi8FlYe5nDPQQ8NYZUlXEFgncJ9p2Kzer3RKSrY7cTTpEMLZKNo9QoP5Q==",
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-focus-guards/-/react-focus-guards-1.2.0.tgz",
+ "integrity": "sha512-MPm5R0iRGUDrDnPNxmLBkv+X7pN4XKzt+MbWJEuJQsH3NFH4omrbpXpucyYCCKTSt+na/ZxGhEWQrWTZ0285cA==",
"license": "MIT",
"peerDependencies": {
"@types/react": "*",
@@ -1925,14 +3384,14 @@
}
},
"node_modules/@radix-ui/react-focus-scope": {
- "version": "1.1.9",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-focus-scope/-/react-focus-scope-1.1.9.tgz",
- "integrity": "sha512-9Se8t+Zry+1rEOL7Y6l/4ANYU/TOtAtf8O2fKdwLltcaMcm6kOqYGbzO4tMFQ0bvzO920pRAoHpFZ4W85S3keQ==",
+ "version": "1.3.1",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-focus-scope/-/react-focus-scope-1.3.1.tgz",
+ "integrity": "sha512-ugeMhbXt4y5S2T1GnIqbWDKEN962PDwnX1fN0eKOOgf5f63Dh2mn8F1FUySlgW0iF6GiVsRF32DzuDIWTUyQJg==",
"license": "MIT",
"dependencies": {
- "@radix-ui/react-compose-refs": "1.1.3",
- "@radix-ui/react-primitive": "2.1.5",
- "@radix-ui/react-use-callback-ref": "1.1.2"
+ "@radix-ui/react-compose-refs": "1.1.5",
+ "@radix-ui/react-primitive": "2.2.0",
+ "@radix-ui/react-use-callback-ref": "1.1.5"
},
"peerDependencies": {
"@types/react": "*",
@@ -1950,12 +3409,12 @@
}
},
"node_modules/@radix-ui/react-id": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-id/-/react-id-1.1.2.tgz",
- "integrity": "sha512-orBC88futVpqCmhX1p4cvquNHsELQ+w+vBJnuj3ftETI5bJb0bZn3Tqu3SWN2IOcPycTnMGnhwoermvISt72sA==",
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-id/-/react-id-1.1.4.tgz",
+ "integrity": "sha512-TMQp2llA+RYn7JcjnrMnz7wN4pcVttPZnRZo52PLQsoLVKzNlVwUeHmfePgTgRluXFvlD3GD5g5MOVVTJCO0qA==",
"license": "MIT",
"dependencies": {
- "@radix-ui/react-use-layout-effect": "1.1.2"
+ "@radix-ui/react-use-layout-effect": "1.1.4"
},
"peerDependencies": {
"@types/react": "*",
@@ -1968,13 +3427,13 @@
}
},
"node_modules/@radix-ui/react-portal": {
- "version": "1.1.11",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-portal/-/react-portal-1.1.11.tgz",
- "integrity": "sha512-UEytdjgEh2tJGgD/gZK4FUx6t1rNIlM3U0DENhSrG7I75FGm1DnaDuVUWF1pWAWUwGmn1sCJ1VGHn8LhN1aTOw==",
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-portal/-/react-portal-1.2.0.tgz",
+ "integrity": "sha512-StX7xXnaRU41VvFtMm9zlhVGz8XF6GmWWTXftkQaY+tqVkbs/R9UmAp5mLzHHapk5hM9RMZQvO/3usyIP/g42g==",
"license": "MIT",
"dependencies": {
- "@radix-ui/react-primitive": "2.1.5",
- "@radix-ui/react-use-layout-effect": "1.1.2"
+ "@radix-ui/react-primitive": "2.2.0",
+ "@radix-ui/react-use-layout-effect": "1.1.4"
},
"peerDependencies": {
"@types/react": "*",
@@ -1992,12 +3451,12 @@
}
},
"node_modules/@radix-ui/react-presence": {
- "version": "1.1.6",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-presence/-/react-presence-1.1.6.tgz",
- "integrity": "sha512-zdTk4PlUO0E18HnZ3wYbW0KkJJxWCdiNYp6g6X1PtONFhxVkg01vliTJAmwIszU6mHiyBOoW9P0rAugl5/hULQ==",
+ "version": "1.1.11",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-presence/-/react-presence-1.1.11.tgz",
+ "integrity": "sha512-Z7/atlkab36Z8hm+V8zYc79r0W+tiOB1o0tun1By94JyadkekLQmtEAnBSP9XKXBNQsStoStS4+gX10JpS5akA==",
"license": "MIT",
"dependencies": {
- "@radix-ui/react-use-layout-effect": "1.1.2"
+ "@radix-ui/react-use-layout-effect": "1.1.4"
},
"peerDependencies": {
"@types/react": "*",
@@ -2015,12 +3474,12 @@
}
},
"node_modules/@radix-ui/react-primitive": {
- "version": "2.1.5",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-2.1.5.tgz",
- "integrity": "sha512-zifXeB8Y88qCYx8PLZ5oQb32KwZub+s925mMoZsBBq9KUQqWKkREubTfs6ASjRPPBe7Jt9O8OHH89+95VG+grA==",
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-2.2.0.tgz",
+ "integrity": "sha512-HCTSPMNqv55Qk0IX4geJbpyXazmqulcimwuyjxTkKi29v+QZbG2Zho9BnbBq4YS2PF+KlNb2CXoLz66uUmblkg==",
"license": "MIT",
"dependencies": {
- "@radix-ui/react-slot": "1.2.5"
+ "@radix-ui/react-slot": "1.5.0"
},
"peerDependencies": {
"@types/react": "*",
@@ -2038,20 +3497,22 @@
}
},
"node_modules/@radix-ui/react-roving-focus": {
- "version": "1.1.12",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-roving-focus/-/react-roving-focus-1.1.12.tgz",
- "integrity": "sha512-FvgPt1bRmg8Xt2QpF7NUZW3dE0ZQHGm41dAdgT2J2GJPoIXz+9Em3NobAxf4fupcxhgHu03E5CRiU2MWvObXyg==",
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-roving-focus/-/react-roving-focus-1.2.1.tgz",
+ "integrity": "sha512-UwraORzVUeEPMclhO1p0vz0qI+TbdDLO9i+FiOqhJyHKwdpCRCck9yVEscUnAMIzCiuNoQa8D4A9bIpOPXGt6Q==",
"license": "MIT",
"dependencies": {
- "@radix-ui/primitive": "1.1.4",
- "@radix-ui/react-collection": "1.1.9",
- "@radix-ui/react-compose-refs": "1.1.3",
- "@radix-ui/react-context": "1.1.4",
- "@radix-ui/react-direction": "1.1.2",
- "@radix-ui/react-id": "1.1.2",
- "@radix-ui/react-primitive": "2.1.5",
- "@radix-ui/react-use-callback-ref": "1.1.2",
- "@radix-ui/react-use-controllable-state": "1.2.3"
+ "@radix-ui/primitive": "1.2.0",
+ "@radix-ui/react-collection": "1.2.0",
+ "@radix-ui/react-compose-refs": "1.1.5",
+ "@radix-ui/react-context": "1.3.0",
+ "@radix-ui/react-direction": "1.2.0",
+ "@radix-ui/react-id": "1.1.4",
+ "@radix-ui/react-primitive": "2.2.0",
+ "@radix-ui/react-use-callback-ref": "1.1.5",
+ "@radix-ui/react-use-controllable-state": "1.3.0",
+ "@radix-ui/react-use-is-hydrated": "0.1.3",
+ "@radix-ui/react-use-layout-effect": "1.1.4"
},
"peerDependencies": {
"@types/react": "*",
@@ -2069,12 +3530,12 @@
}
},
"node_modules/@radix-ui/react-slot": {
- "version": "1.2.5",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.2.5.tgz",
- "integrity": "sha512-rCMO3QsIVKv5JTY5CVbo2MvO77SpEqqYc8AvRE7OWqRDOIqAKjsp+DrmnY9uc8NPdxB5E2z47HTYGeE2+NTptg==",
+ "version": "1.5.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.5.0.tgz",
+ "integrity": "sha512-tyYd9ddPXAysAbdbD9eYxgwpCSv6f3PncqVSNKQFSR5lcJVLz3cb/pANDoYrLiHBpXv7skortyUgGUWsYuPPFQ==",
"license": "MIT",
"dependencies": {
- "@radix-ui/react-compose-refs": "1.1.3"
+ "@radix-ui/react-compose-refs": "1.1.5"
},
"peerDependencies": {
"@types/react": "*",
@@ -2087,18 +3548,17 @@
}
},
"node_modules/@radix-ui/react-switch": {
- "version": "1.3.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-switch/-/react-switch-1.3.0.tgz",
- "integrity": "sha512-GP1EZwhoZO/GGnhM1P5/2Vpm8iN8EnngyU0oezn2l78kN8tj25pyrvjIaT7azBhK615KSt+P2w39y57YV5jVkA==",
+ "version": "1.4.1",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-switch/-/react-switch-1.4.1.tgz",
+ "integrity": "sha512-NpBGwc40rY02ZmSvuyeKk0Bvc8ZsNeTMi4qHvJ+ZH4EiYCv0zIXEgdCW4bVdzgIUeP9xxbLJSxKOUfqITYNmkA==",
"license": "MIT",
"dependencies": {
- "@radix-ui/primitive": "1.1.4",
- "@radix-ui/react-compose-refs": "1.1.3",
- "@radix-ui/react-context": "1.1.4",
- "@radix-ui/react-primitive": "2.1.5",
- "@radix-ui/react-use-controllable-state": "1.2.3",
- "@radix-ui/react-use-previous": "1.1.2",
- "@radix-ui/react-use-size": "1.1.2"
+ "@radix-ui/primitive": "1.2.0",
+ "@radix-ui/react-compose-refs": "1.1.5",
+ "@radix-ui/react-context": "1.3.0",
+ "@radix-ui/react-primitive": "2.2.0",
+ "@radix-ui/react-use-controllable-state": "1.3.0",
+ "@radix-ui/react-use-size": "1.1.5"
},
"peerDependencies": {
"@types/react": "*",
@@ -2116,19 +3576,19 @@
}
},
"node_modules/@radix-ui/react-tabs": {
- "version": "1.1.14",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-tabs/-/react-tabs-1.1.14.tgz",
- "integrity": "sha512-D5jwp9JNuwDeCw3CYD2Fz+sSHo0droQjC8u75dJHe4aWr5q6yBiXZU+hurXnKudRgEpUkD5TsI6bjHPo5ThUxA==",
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-tabs/-/react-tabs-1.2.1.tgz",
+ "integrity": "sha512-hRoJlode+hg5ZNlR+3tkfkUliIybdTpD5lkAvHQ9yaXseGf7XVO9Ib2GPEIOuaJJbo7YWYbNpDDRfo8Dhf6/xA==",
"license": "MIT",
"dependencies": {
- "@radix-ui/primitive": "1.1.4",
- "@radix-ui/react-context": "1.1.4",
- "@radix-ui/react-direction": "1.1.2",
- "@radix-ui/react-id": "1.1.2",
- "@radix-ui/react-presence": "1.1.6",
- "@radix-ui/react-primitive": "2.1.5",
- "@radix-ui/react-roving-focus": "1.1.12",
- "@radix-ui/react-use-controllable-state": "1.2.3"
+ "@radix-ui/primitive": "1.2.0",
+ "@radix-ui/react-context": "1.3.0",
+ "@radix-ui/react-direction": "1.2.0",
+ "@radix-ui/react-id": "1.1.4",
+ "@radix-ui/react-presence": "1.1.11",
+ "@radix-ui/react-primitive": "2.2.0",
+ "@radix-ui/react-roving-focus": "1.2.1",
+ "@radix-ui/react-use-controllable-state": "1.3.0"
},
"peerDependencies": {
"@types/react": "*",
@@ -2146,10 +3606,13 @@
}
},
"node_modules/@radix-ui/react-use-callback-ref": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-use-callback-ref/-/react-use-callback-ref-1.1.2.tgz",
- "integrity": "sha512-xCso9j1/u8sEgP1RNHjFrXJLApL8LiqOkI1R4ywuN00rxWdYg4oQXuwKLS3i0j5NWLromUD27/4nlxj2UFVvIw==",
+ "version": "1.1.5",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-callback-ref/-/react-use-callback-ref-1.1.5.tgz",
+ "integrity": "sha512-Y5GBf4NKeADoXI1geiMlMuMoURT3k9MizzzKhGb/m55H94aGigZ01PIpkvsO6lML13BA6XYAXSJ6gza7vTn5nw==",
"license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-use-layout-effect": "1.1.4"
+ },
"peerDependencies": {
"@types/react": "*",
"react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
@@ -2161,13 +3624,14 @@
}
},
"node_modules/@radix-ui/react-use-controllable-state": {
- "version": "1.2.3",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-use-controllable-state/-/react-use-controllable-state-1.2.3.tgz",
- "integrity": "sha512-PLzC90MS+ReootmjC597dvopoelpZ8Q61HJkDXZSExitIq7PL55vHNnesAHwguHK0aPfBnpdNzQtv1uliaqQrA==",
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-controllable-state/-/react-use-controllable-state-1.3.0.tgz",
+ "integrity": "sha512-TAcBI7bw2ljYCbv4+zuTSd6zICu8pRt6SDN2vJ/Z06K2MXh6I9WYFe/A9ovlFDtR5HVHGm5iDxDoABm/++dbKg==",
"license": "MIT",
"dependencies": {
- "@radix-ui/react-use-effect-event": "0.0.3",
- "@radix-ui/react-use-layout-effect": "1.1.2"
+ "@radix-ui/primitive": "1.2.0",
+ "@radix-ui/react-use-effect-event": "0.0.5",
+ "@radix-ui/react-use-layout-effect": "1.1.4"
},
"peerDependencies": {
"@types/react": "*",
@@ -2180,12 +3644,12 @@
}
},
"node_modules/@radix-ui/react-use-effect-event": {
- "version": "0.0.3",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-use-effect-event/-/react-use-effect-event-0.0.3.tgz",
- "integrity": "sha512-6c8ZqvPTWILEKnyVkP53EGRCcpnJiKTC21sS/6R1GF5xKyHJJWQEPfkqlcgUkdRQivd6tb23abUwe4ngWmY0JA==",
+ "version": "0.0.5",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-effect-event/-/react-use-effect-event-0.0.5.tgz",
+ "integrity": "sha512-7cshFL8HGS/7HEiHH+9kL9HBwp2sa9yX18Knwek6KYWmXwM7pegMgta2AXMQKI+rq3JnfSj9x8wYqFMTdG1Jgg==",
"license": "MIT",
"dependencies": {
- "@radix-ui/react-use-layout-effect": "1.1.2"
+ "@radix-ui/react-use-layout-effect": "1.1.4"
},
"peerDependencies": {
"@types/react": "*",
@@ -2197,14 +3661,11 @@
}
}
},
- "node_modules/@radix-ui/react-use-escape-keydown": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-use-escape-keydown/-/react-use-escape-keydown-1.1.2.tgz",
- "integrity": "sha512-2uVLvLjgO7NZCWw01/FdqRwmA42J0BcjPMUCA+koFEOAb+zjqIP7SiFz/7zWPrKnVmSqr76Omq2ALyCuX4dhLw==",
+ "node_modules/@radix-ui/react-use-is-hydrated": {
+ "version": "0.1.3",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-is-hydrated/-/react-use-is-hydrated-0.1.3.tgz",
+ "integrity": "sha512-umO/aJ+82CpOnhDZUTbILCQf7kU/g0iv+oGs/Q8jw7IkhWBzaEP4sA268PhFAJTFetbwp3ICc6ktpI4TqtxcIw==",
"license": "MIT",
- "dependencies": {
- "@radix-ui/react-use-callback-ref": "1.1.2"
- },
"peerDependencies": {
"@types/react": "*",
"react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
@@ -2216,24 +3677,9 @@
}
},
"node_modules/@radix-ui/react-use-layout-effect": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-use-layout-effect/-/react-use-layout-effect-1.1.2.tgz",
- "integrity": "sha512-jrBWOxZITuGcnjRCM2t2U5ZPkCLxD+Ym6DjfssS5haTj2iiak/DOb64JeN6OdLfLgptb6/e2kKR+ZuTrGoZTPA==",
- "license": "MIT",
- "peerDependencies": {
- "@types/react": "*",
- "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
- },
- "peerDependenciesMeta": {
- "@types/react": {
- "optional": true
- }
- }
- },
- "node_modules/@radix-ui/react-use-previous": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-use-previous/-/react-use-previous-1.1.2.tgz",
- "integrity": "sha512-IGBQPtRFdhN6MQ8dbegVmBq1LVZluya3F1jWY+puIcQC3MHctRwTDSBWCkL/3ZcnMJLTMJ++Z+ktmvg0F89iCw==",
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-layout-effect/-/react-use-layout-effect-1.1.4.tgz",
+ "integrity": "sha512-K20DkRkUwDnxEYMBPcg3Y6voLkEy5p5QQmszZgLngKKiC7dzBR/aEuK3w1qlx2JWDUNH6FluahYdgR3BP+QbYw==",
"license": "MIT",
"peerDependencies": {
"@types/react": "*",
@@ -2246,12 +3692,12 @@
}
},
"node_modules/@radix-ui/react-use-size": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-use-size/-/react-use-size-1.1.2.tgz",
- "integrity": "sha512-giWQp+4mxjBPt4KZ0MmyuykFNWfbDxKt4x+fPkRYmgRFJSbCZFzUglvMb/Kjn38tm10YP4ufiQZDx3zna4LU6w==",
+ "version": "1.1.5",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-size/-/react-use-size-1.1.5.tgz",
+ "integrity": "sha512-V1McDQkMGzgivwqdu7u96APs7oi0Jvj9LTzgq3WWrDZqxWdAqU9yZnZQqk5OizGFR8badUQwZsrlao7MOlWYOA==",
"license": "MIT",
"dependencies": {
- "@radix-ui/react-use-layout-effect": "1.1.2"
+ "@radix-ui/react-use-layout-effect": "1.1.4"
},
"peerDependencies": {
"@types/react": "*",
@@ -2263,10 +3709,33 @@
}
}
},
+ "node_modules/@remix-run/route-pattern": {
+ "version": "0.22.1",
+ "resolved": "https://registry.npmjs.org/@remix-run/route-pattern/-/route-pattern-0.22.1.tgz",
+ "integrity": "sha512-czdGJWh09Lapvcqt7Vb09KlrU2PhRJ8xQaI+AItTuD9aDJ5MAgxnS38lnys6Ll+6RJEqPiaUqTwIQhVLwFvv+w==",
+ "license": "MIT"
+ },
+ "node_modules/@rolldown/binding-android-arm-eabi": {
+ "version": "1.2.15",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm-eabi/-/binding-android-arm-eabi-1.2.15.tgz",
+ "integrity": "sha512-aLcgK9gIJ3YRvrrtfSBbRa27F5WrpiTaPulnFpsHPxpUHgFlSgnU4854MHwoRGEBhfRJDWCS2WQ7lIjskE9Olw==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": "^20.19.0 || >=22.12.0"
+ }
+ },
"node_modules/@rolldown/binding-android-arm64": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm64/-/binding-android-arm64-1.0.3.tgz",
- "integrity": "sha512-454rs7jHngixp/NMxd5srYD57OnzSlZ/eFTETjORQHLwJG1lRtmNOJcBerZlfu4GjKqeq8aCCIQrMdHyhI51Hw==",
+ "version": "1.2.15",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm64/-/binding-android-arm64-1.2.15.tgz",
+ "integrity": "sha512-xD7DdZCrbThKuxNg7ooQmvp07ys4J/pnSEMTG3/OdOWl6daC67m/Q4fL78sRHMxTH/N4fGUbYhcPM0MF5WFHkg==",
"cpu": [
"arm64"
],
@@ -2281,9 +3750,9 @@
}
},
"node_modules/@rolldown/binding-darwin-arm64": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-arm64/-/binding-darwin-arm64-1.0.3.tgz",
- "integrity": "sha512-PcAhP+ynjURNyy8SKGl5DQP94aGuB/7JrXJb/t7P+hanXvQVMWzUvRRhBAcg/lNRadBhoUPqSoP4xw5tR/KBEA==",
+ "version": "1.2.15",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-arm64/-/binding-darwin-arm64-1.2.15.tgz",
+ "integrity": "sha512-m2WuQ6r0B4OTYxyPpNLtXaMRbRDUbG8YQV2Q3KTdSSK8Th6KHCnC8jVCJt8bvYeSB5WivkkNbc85mKadaSdOxA==",
"cpu": [
"arm64"
],
@@ -2298,9 +3767,9 @@
}
},
"node_modules/@rolldown/binding-darwin-x64": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-x64/-/binding-darwin-x64-1.0.3.tgz",
- "integrity": "sha512-9YpfeUvSE2RS7wysJ81uOZkXJz7f7Q55H2Gvp3VEw/EsahqDtrphrZ0EwDLK5vvKOzaCrBsjF8JmnMLcUt78Gg==",
+ "version": "1.2.15",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-x64/-/binding-darwin-x64-1.2.15.tgz",
+ "integrity": "sha512-5RtnsHM36nodM9WbMy+zip0LGS/G+y5wro5RHrpOlr4ac24+1zSi9kiV2MP1myZeZ/ifEHfulQcWjnAXzc2C2A==",
"cpu": [
"x64"
],
@@ -2315,9 +3784,9 @@
}
},
"node_modules/@rolldown/binding-freebsd-x64": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/@rolldown/binding-freebsd-x64/-/binding-freebsd-x64-1.0.3.tgz",
- "integrity": "sha512-yB1IlAsSNHncV6SCTL27/MVGR5htvQsoGxIv5KMGXALp+Ll1wYsn+x98M9MW7qa+NdSbvrrY7ANI4wLJ0n1e6g==",
+ "version": "1.2.15",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-freebsd-x64/-/binding-freebsd-x64-1.2.15.tgz",
+ "integrity": "sha512-g3l09pyFqhu+135JKkbkwiKGQmwU5hUMUPJ4VdBADvuqR8d33L6H578rh8m7rtxbdp+VmX/+nzI7nvhSZlzpUQ==",
"cpu": [
"x64"
],
@@ -2332,9 +3801,9 @@
}
},
"node_modules/@rolldown/binding-linux-arm-gnueabihf": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-1.0.3.tgz",
- "integrity": "sha512-Yi30IVAAfLUCy2MseFjbB1jAMDl1VMCAas5StnYp8da9+CKvMd2H2cbEjWcw5NPaPqzvYkVIaF1nNUG+b7u/sw==",
+ "version": "1.2.15",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-1.2.15.tgz",
+ "integrity": "sha512-nIe3VugI97nGQtspPxDqA4sXMUpeiocKIP/CqpY/u/vgbT+alX+cVxu1C/oVBPKg4feNTmYovE91v4DgXvXNwQ==",
"cpu": [
"arm"
],
@@ -2349,13 +3818,16 @@
}
},
"node_modules/@rolldown/binding-linux-arm64-gnu": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-1.0.3.tgz",
- "integrity": "sha512-jsO7R8To+AdlYgUmN5sHSCZbfhtMBkO0WUx8iORQnPcMMdgr7qM2DQmMwgabs3GhNztdmoKkMKQFHD6DTMCIQw==",
+ "version": "1.2.15",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-1.2.15.tgz",
+ "integrity": "sha512-iTBjXx+B5QSvgI89lJfmqh4wTh8NabR1YZIIN3hNx4zSG0EVfVqkOvLulNpG4251pbd6/IAmZ/LefVk1Y4rPhw==",
"cpu": [
"arm64"
],
"dev": true,
+ "libc": [
+ "glibc"
+ ],
"license": "MIT",
"optional": true,
"os": [
@@ -2366,13 +3838,16 @@
}
},
"node_modules/@rolldown/binding-linux-arm64-musl": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-musl/-/binding-linux-arm64-musl-1.0.3.tgz",
- "integrity": "sha512-VWkUHwWriDciit80wleYwKILoR/KMvxh/IdwS/paX+ZgpuRpCrKLUdadJbc0NpBEiyhpYawsJ73j9aCvOH+f7Q==",
+ "version": "1.2.15",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-musl/-/binding-linux-arm64-musl-1.2.15.tgz",
+ "integrity": "sha512-uN26XOnVR7rqQupG3V9oAG2EGGatWjcJHOeDOHUFCh4TBWmP2tHTFoVN13aYbwfm0aHqJAEmcwhAu6sooIjfqQ==",
"cpu": [
"arm64"
],
"dev": true,
+ "libc": [
+ "musl"
+ ],
"license": "MIT",
"optional": true,
"os": [
@@ -2383,13 +3858,16 @@
}
},
"node_modules/@rolldown/binding-linux-ppc64-gnu": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-1.0.3.tgz",
- "integrity": "sha512-5f1laC0SlIR0yDbFCd8acUhvJIag6N3zC5P7oUPN6wX0aOma+uKJ0wBDH5aq7I1PVI2ttTlhJwzwRIBnLiSGEg==",
+ "version": "1.2.15",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-1.2.15.tgz",
+ "integrity": "sha512-9nWkcdd+H+XhaA3fQIwpHnKIrfx/PQ6rO0pivr78Og07tXlUlctBBJoEYLPfhTmCR/QxEVdn6uPjHV5SymPhdw==",
"cpu": [
"ppc64"
],
"dev": true,
+ "libc": [
+ "glibc"
+ ],
"license": "MIT",
"optional": true,
"os": [
@@ -2400,13 +3878,16 @@
}
},
"node_modules/@rolldown/binding-linux-s390x-gnu": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-1.0.3.tgz",
- "integrity": "sha512-Iq4ko0r4XsgbrF/LunNgHtAGLRRVE2kXonAXQ/MV0mC6jQpMOhW1SvtZja2EhC/kd05++bP78dsqBeIQyYJ6Yg==",
+ "version": "1.2.15",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-1.2.15.tgz",
+ "integrity": "sha512-Ggh0ciFjLwIusLSLz7LZYEaGdxOAUJXI+Qu5JCbhPJJHEt8vP+IjRATTJheiJsdzzTYgUiHUiw3X1Ea3ZpMBdA==",
"cpu": [
"s390x"
],
"dev": true,
+ "libc": [
+ "glibc"
+ ],
"license": "MIT",
"optional": true,
"os": [
@@ -2417,13 +3898,16 @@
}
},
"node_modules/@rolldown/binding-linux-x64-gnu": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-gnu/-/binding-linux-x64-gnu-1.0.3.tgz",
- "integrity": "sha512-B8m6tD5+/N5FeNQFbKlLA/2yVq9ycQP1SeedyEYYKWBNR3ZQbkvIUcNnDNM03lO1l5F2roiiFJGgvoLLyZXtSg==",
+ "version": "1.2.15",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-gnu/-/binding-linux-x64-gnu-1.2.15.tgz",
+ "integrity": "sha512-FHg60rS6DBePAYZ9X9F67x+JObFdmgn6tupA1C/a3B+CufFmTD4mX+e8M75tCiAO3foR/6xwVBI0KQiI7sn/rw==",
"cpu": [
"x64"
],
"dev": true,
+ "libc": [
+ "glibc"
+ ],
"license": "MIT",
"optional": true,
"os": [
@@ -2434,13 +3918,16 @@
}
},
"node_modules/@rolldown/binding-linux-x64-musl": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-musl/-/binding-linux-x64-musl-1.0.3.tgz",
- "integrity": "sha512-pSdpdUJHkuCxun9LE7jvgUB9qsRgaiyNNCX7m/AvHTcq67AiT/Yhoxvw5zPfhrM8k/BfP8ce/hMOpthKDpEUow==",
+ "version": "1.2.15",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-musl/-/binding-linux-x64-musl-1.2.15.tgz",
+ "integrity": "sha512-/cvV/7v5VGz/moiz0XKRj2dE8DzsKyhIu1KpOvJGPjRywg3yscON889UGvAe8zfiJLHup7VLjBduoGWi3HusWQ==",
"cpu": [
"x64"
],
"dev": true,
+ "libc": [
+ "musl"
+ ],
"license": "MIT",
"optional": true,
"os": [
@@ -2451,9 +3938,9 @@
}
},
"node_modules/@rolldown/binding-openharmony-arm64": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/@rolldown/binding-openharmony-arm64/-/binding-openharmony-arm64-1.0.3.tgz",
- "integrity": "sha512-OXXS3RKJgX2uLwM+gYyuH5omcH8fL1LJs96pZGgtetVCahON57+d4SJHzTgZiOjxgGkSnpXpOsWuPDGAKAigEg==",
+ "version": "1.2.15",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-openharmony-arm64/-/binding-openharmony-arm64-1.2.15.tgz",
+ "integrity": "sha512-MyzC5Hrv/sm+Z7TSGKP/j8001RO2xQm1zOpCNVL4j0cY/VhBZviludA2YFQ7i4lH6ZAXxQm0lcMdBzM+99mE7w==",
"cpu": [
"arm64"
],
@@ -2467,29 +3954,10 @@
"node": "^20.19.0 || >=22.12.0"
}
},
- "node_modules/@rolldown/binding-wasm32-wasi": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/@rolldown/binding-wasm32-wasi/-/binding-wasm32-wasi-1.0.3.tgz",
- "integrity": "sha512-JTtb8BWFynicNSoPrehsCzBtOKjZ6jhMiPFEmOiuXg1Fl8dn2KHQob+GuPSGR0dryQa1PQJbzjF3dqO/whhjLg==",
- "cpu": [
- "wasm32"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "dependencies": {
- "@emnapi/core": "1.10.0",
- "@emnapi/runtime": "1.10.0",
- "@napi-rs/wasm-runtime": "^1.1.4"
- },
- "engines": {
- "node": "^20.19.0 || >=22.12.0"
- }
- },
"node_modules/@rolldown/binding-win32-arm64-msvc": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-1.0.3.tgz",
- "integrity": "sha512-gEdFFEN70A/jxb2svrWsN3aDL7OUtmvlOy+6fa2jxG8K0wQ1ZbdeLGnidov6Yu5/733dI5ySfzFlQ/cb0bSz1g==",
+ "version": "1.2.15",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-1.2.15.tgz",
+ "integrity": "sha512-+PgYiS+AH5omy6L45ZLxybasauJaj3M8buoT83D+nzPmCayXlxUV9hydhciCKVyIg0B/v0BtXPDE1uGqNwCPpg==",
"cpu": [
"arm64"
],
@@ -2504,9 +3972,9 @@
}
},
"node_modules/@rolldown/binding-win32-x64-msvc": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-x64-msvc/-/binding-win32-x64-msvc-1.0.3.tgz",
- "integrity": "sha512-eXB7CHuaQdqmJcc3koCNtNPmT/bj2gc999kUFgBxG8Ac0NdgXc4rkCHhqrgrhN3zddvvvrgzj1e90SuSfmyIXA==",
+ "version": "1.2.15",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-x64-msvc/-/binding-win32-x64-msvc-1.2.15.tgz",
+ "integrity": "sha512-HFZd2QNQYn1JbIi+Hpd7H+r/lkWxcfIu28nirZ6eCn2LafuvmExMlb/P96Sfx5tf7pPArw39IdhmCF8vmV+NhQ==",
"cpu": [
"x64"
],
@@ -2527,57 +3995,70 @@
"dev": true,
"license": "MIT"
},
- "node_modules/@standard-schema/spec": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/@standard-schema/spec/-/spec-1.1.0.tgz",
- "integrity": "sha512-l2aFy5jALhniG5HgqrD6jXLi/rUWrKvqN/qJx6yoJsgKhblVd+iqqU4RCXavm/jPityDo5TCvKMnpjKnOriy0w==",
+ "node_modules/@sindresorhus/is": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-7.2.0.tgz",
+ "integrity": "sha512-P1Cz1dWaFfR4IR+U13mqqiGsLFf1KbayybWwdd2vfctdV6hDpUkgCY0nKOLLTMSoRd/jJNjtbqzf13K8DCCXQw==",
"dev": true,
- "license": "MIT"
+ "license": "MIT",
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sindresorhus/is?sponsor=1"
+ }
+ },
+ "node_modules/@speed-highlight/core": {
+ "version": "1.2.24",
+ "resolved": "https://registry.npmjs.org/@speed-highlight/core/-/core-1.2.24.tgz",
+ "integrity": "sha512-qeW2e1l78afw8VhRPfPQ1Gjj+KU5XFQ/OFV5ti6eTa9bruO7mJyZtA4vw0ofqmA3tKCkROE9xLk3VZoeRc98nw==",
+ "dev": true,
+ "license": "CC0-1.0"
},
"node_modules/@tailwindcss/node": {
- "version": "4.3.1",
- "resolved": "https://registry.npmjs.org/@tailwindcss/node/-/node-4.3.1.tgz",
- "integrity": "sha512-6NDaqRoAMSXD1mr/RXu0HBvNE9a2n5tHPsxu9XHLws8o4Twes5rBM2205SUUiJ9goAtadrN6xTGX0UDEwp/N4A==",
+ "version": "4.3.3",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/node/-/node-4.3.3.tgz",
+ "integrity": "sha512-/T8IKEsf9VTU6tLjgC7+sv2mOPtQxzE2jMw7u4Tt40Tx+QSZxpzh95/H6cMKoja9XuW7iMdLJYBB0o9G1CaAgg==",
"dev": true,
"license": "MIT",
"dependencies": {
"@jridgewell/remapping": "^2.3.5",
- "enhanced-resolve": "5.21.6",
+ "enhanced-resolve": "^5.24.1",
"jiti": "^2.7.0",
"lightningcss": "1.32.0",
"magic-string": "^0.30.21",
"source-map-js": "^1.2.1",
- "tailwindcss": "4.3.1"
+ "tailwindcss": "4.3.3"
}
},
"node_modules/@tailwindcss/oxide": {
- "version": "4.3.1",
- "resolved": "https://registry.npmjs.org/@tailwindcss/oxide/-/oxide-4.3.1.tgz",
- "integrity": "sha512-yVPyo8RNkabVr3O2EhHEE0Rewu7YKzc1DhIqfL46LKveFrmu9XbDazNOJY7/GRuvw1h6u3utWnR29H/p5JPlgA==",
+ "version": "4.3.3",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide/-/oxide-4.3.3.tgz",
+ "integrity": "sha512-krXjAikiaFSPaK/FkAQT5UTx3VormQaiZ5hBFlJZ9UFQGB/rwg1MZIhHAG9smMQRTdyJxP6Qt5MwMtdyU5FWrA==",
"dev": true,
"license": "MIT",
"engines": {
"node": ">= 20"
},
"optionalDependencies": {
- "@tailwindcss/oxide-android-arm64": "4.3.1",
- "@tailwindcss/oxide-darwin-arm64": "4.3.1",
- "@tailwindcss/oxide-darwin-x64": "4.3.1",
- "@tailwindcss/oxide-freebsd-x64": "4.3.1",
- "@tailwindcss/oxide-linux-arm-gnueabihf": "4.3.1",
- "@tailwindcss/oxide-linux-arm64-gnu": "4.3.1",
- "@tailwindcss/oxide-linux-arm64-musl": "4.3.1",
- "@tailwindcss/oxide-linux-x64-gnu": "4.3.1",
- "@tailwindcss/oxide-linux-x64-musl": "4.3.1",
- "@tailwindcss/oxide-wasm32-wasi": "4.3.1",
- "@tailwindcss/oxide-win32-arm64-msvc": "4.3.1",
- "@tailwindcss/oxide-win32-x64-msvc": "4.3.1"
+ "@tailwindcss/oxide-android-arm64": "4.3.3",
+ "@tailwindcss/oxide-darwin-arm64": "4.3.3",
+ "@tailwindcss/oxide-darwin-x64": "4.3.3",
+ "@tailwindcss/oxide-freebsd-x64": "4.3.3",
+ "@tailwindcss/oxide-linux-arm-gnueabihf": "4.3.3",
+ "@tailwindcss/oxide-linux-arm64-gnu": "4.3.3",
+ "@tailwindcss/oxide-linux-arm64-musl": "4.3.3",
+ "@tailwindcss/oxide-linux-x64-gnu": "4.3.3",
+ "@tailwindcss/oxide-linux-x64-musl": "4.3.3",
+ "@tailwindcss/oxide-wasm32-wasi": "4.3.3",
+ "@tailwindcss/oxide-win32-arm64-msvc": "4.3.3",
+ "@tailwindcss/oxide-win32-x64-msvc": "4.3.3"
}
},
"node_modules/@tailwindcss/oxide-android-arm64": {
- "version": "4.3.1",
- "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-android-arm64/-/oxide-android-arm64-4.3.1.tgz",
- "integrity": "sha512-SVlyf61g374l5cHyg8x9kf5xmLcOaxvOTsbsqDnSsDJaKOEFZ7GCvi84VAVGpxojYOs1+3K6M0UjXfqPU8vmOQ==",
+ "version": "4.3.3",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-android-arm64/-/oxide-android-arm64-4.3.3.tgz",
+ "integrity": "sha512-Y85A2gmPSkl5Ve5qR86GL4HT509cFqQh1aes9p3sSkyTPwt0Pppf3GkwGe4JPACcRYjgJIEhQgM6dBClnr0NYw==",
"cpu": [
"arm64"
],
@@ -2592,9 +4073,9 @@
}
},
"node_modules/@tailwindcss/oxide-darwin-arm64": {
- "version": "4.3.1",
- "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-darwin-arm64/-/oxide-darwin-arm64-4.3.1.tgz",
- "integrity": "sha512-hVnWLwv+e/l7c4WKyVtHVrIPvYdqWHjRB3MDIqARynzFtnQg85kmQEFCbV9Ja0VVx4xXTIiDWY60Y7iz/iNoDA==",
+ "version": "4.3.3",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-darwin-arm64/-/oxide-darwin-arm64-4.3.3.tgz",
+ "integrity": "sha512-BiaWatpBcERQFDlOjRDpIVXuFK5PJez5SA4JMg6VYZdBYU+qKfV/vqjcIs+IYmtitf1xYQZTwXvU/8y4lfZUGw==",
"cpu": [
"arm64"
],
@@ -2609,9 +4090,9 @@
}
},
"node_modules/@tailwindcss/oxide-darwin-x64": {
- "version": "4.3.1",
- "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-darwin-x64/-/oxide-darwin-x64-4.3.1.tgz",
- "integrity": "sha512-Cf7abu0WVgbhU7ANgPUnSAvm7nCvMweusHb8FnaHlLfv/Caq4GYaEZg7ZImzzmjx4lIAfuS8q+eLIS7A7IzxIg==",
+ "version": "4.3.3",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-darwin-x64/-/oxide-darwin-x64-4.3.3.tgz",
+ "integrity": "sha512-fAeUqfV5ndhxRwai8cXGzdLvul9utWOmeTkv69unv4ZXixjn61Z+p9lCWdwOwA3TYboG3BwdVuN/RDjhBRl0mw==",
"cpu": [
"x64"
],
@@ -2626,9 +4107,9 @@
}
},
"node_modules/@tailwindcss/oxide-freebsd-x64": {
- "version": "4.3.1",
- "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-freebsd-x64/-/oxide-freebsd-x64-4.3.1.tgz",
- "integrity": "sha512-ZZqzX2Y+GXtXXfqSfpJhDm60OoZfvLHLCgm+J7NVqgHHJjG/m9ugZI77RwTsVd4fnBJuCFP6Ae6kTJb71UdS8g==",
+ "version": "4.3.3",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-freebsd-x64/-/oxide-freebsd-x64-4.3.3.tgz",
+ "integrity": "sha512-iyf5bV6+wnAlflVeEy7R25dupxTNECZN5QMI0qNT6eT+EgaGdZcKhGkr5SdoaWiLJ3spLqIY9VCeSGrwmtg4kw==",
"cpu": [
"x64"
],
@@ -2643,9 +4124,9 @@
}
},
"node_modules/@tailwindcss/oxide-linux-arm-gnueabihf": {
- "version": "4.3.1",
- "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm-gnueabihf/-/oxide-linux-arm-gnueabihf-4.3.1.tgz",
- "integrity": "sha512-/Ah/xik0LaMYfv9DZ0S/t4pBlBNYOcqtRwusjgovHkvT8ixueWCLyJjsaF5kQIckjb4IT8Q6K6p/iPmZMixYgg==",
+ "version": "4.3.3",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm-gnueabihf/-/oxide-linux-arm-gnueabihf-4.3.3.tgz",
+ "integrity": "sha512-aAYUprJAJQWWbRrPvtjdroZ56Md+JM8pMiopS6xGEwDfLhqj+2ver2p4nU4Mb3CRqcMmNBjo8KkUgcxhkzVQGQ==",
"cpu": [
"arm"
],
@@ -2660,13 +4141,16 @@
}
},
"node_modules/@tailwindcss/oxide-linux-arm64-gnu": {
- "version": "4.3.1",
- "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm64-gnu/-/oxide-linux-arm64-gnu-4.3.1.tgz",
- "integrity": "sha512-gqdFoVJlw444GvpnheZLHmvTzSxI/cOUUh2KSNejQjTcYkW062SVD+En0rUgD+QV91bz1XGIGtt1HJd48xUGbQ==",
+ "version": "4.3.3",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm64-gnu/-/oxide-linux-arm64-gnu-4.3.3.tgz",
+ "integrity": "sha512-nDxldcEENOxZRzC2uu9jrutZdAAQtb+8WWDCSnWL1zvBk1+FN+x6MtDViPB5AJMfttVCUhehGWus3XBPgatM/w==",
"cpu": [
"arm64"
],
"dev": true,
+ "libc": [
+ "glibc"
+ ],
"license": "MIT",
"optional": true,
"os": [
@@ -2677,13 +4161,16 @@
}
},
"node_modules/@tailwindcss/oxide-linux-arm64-musl": {
- "version": "4.3.1",
- "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm64-musl/-/oxide-linux-arm64-musl-4.3.1.tgz",
- "integrity": "sha512-Bwv9KwOvE0VKa86xPFif9b9c3Y1NxOV1P0gLti/IYaWEsQYZXDlxfGEtA8mdDZ7SG3wyNXAWYT5SIn3giL57oA==",
+ "version": "4.3.3",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm64-musl/-/oxide-linux-arm64-musl-4.3.3.tgz",
+ "integrity": "sha512-Md44bD6veX/PC5iyF8cDVnw4HBIANZepRZZ7a8DQOvkfo5WUBwcp6iAuCUz23u+4SUkhJlD3eL7hNdW8ezd/kA==",
"cpu": [
"arm64"
],
"dev": true,
+ "libc": [
+ "musl"
+ ],
"license": "MIT",
"optional": true,
"os": [
@@ -2694,13 +4181,16 @@
}
},
"node_modules/@tailwindcss/oxide-linux-x64-gnu": {
- "version": "4.3.1",
- "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-x64-gnu/-/oxide-linux-x64-gnu-4.3.1.tgz",
- "integrity": "sha512-Ymi8O8T15HYQdOUWUtTI6ldN0neHP85FC+Qz32xTcZ7iJXtem/x8ITev0o1e9e5rkqj4lONZfTRLvkmin1+tKg==",
+ "version": "4.3.3",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-x64-gnu/-/oxide-linux-x64-gnu-4.3.3.tgz",
+ "integrity": "sha512-tx7us1muwOKAKWao2v/GaafFeQboE6aj88vC6ziN2NCGcRm8gWUhwjzg+YdVB1e4boAtdtma4L43onunI6NS4w==",
"cpu": [
"x64"
],
"dev": true,
+ "libc": [
+ "glibc"
+ ],
"license": "MIT",
"optional": true,
"os": [
@@ -2711,13 +4201,16 @@
}
},
"node_modules/@tailwindcss/oxide-linux-x64-musl": {
- "version": "4.3.1",
- "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-x64-musl/-/oxide-linux-x64-musl-4.3.1.tgz",
- "integrity": "sha512-M+P/91qJ6uILLw4k2G93GMDRAXj61SMvFQYt39AqvUqYgExXpLL5aepfns7sj4HiAQeolirQF9E0lzRvdf4zPQ==",
+ "version": "4.3.3",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-x64-musl/-/oxide-linux-x64-musl-4.3.3.tgz",
+ "integrity": "sha512-SJxX60smvHgasZoBy11dX6YRjXJFovwWBoedhbQPOBzgFWBHGB+TVPWB9BxzR7TTxU8FQZAI2AyiNCMzFm8Img==",
"cpu": [
"x64"
],
"dev": true,
+ "libc": [
+ "musl"
+ ],
"license": "MIT",
"optional": true,
"os": [
@@ -2728,9 +4221,9 @@
}
},
"node_modules/@tailwindcss/oxide-wasm32-wasi": {
- "version": "4.3.1",
- "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-wasm32-wasi/-/oxide-wasm32-wasi-4.3.1.tgz",
- "integrity": "sha512-zsM8uOeqvVGHsAXsJxsT28ttosFahLJKCLOTUBqRAtKnVgGSRitds9T432QiT8b77Yga7JIBkulIRRlJPtYhRA==",
+ "version": "4.3.3",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-wasm32-wasi/-/oxide-wasm32-wasi-4.3.3.tgz",
+ "integrity": "sha512-jx1+rPhY/5Ympkktd656HBWEBLxP7dH06losBLjjf5vgCODXvi9KhtftWcMIwTFIDqBr7cRnQkdLnAG+IOlGvQ==",
"bundleDependencies": [
"@napi-rs/wasm-runtime",
"@emnapi/core",
@@ -2746,9 +4239,9 @@
"license": "MIT",
"optional": true,
"dependencies": {
- "@emnapi/core": "^1.10.0",
- "@emnapi/runtime": "^1.10.0",
- "@emnapi/wasi-threads": "^1.2.1",
+ "@emnapi/core": "^1.11.1",
+ "@emnapi/runtime": "^1.11.1",
+ "@emnapi/wasi-threads": "^1.2.2",
"@napi-rs/wasm-runtime": "^1.1.4",
"@tybys/wasm-util": "^0.10.2",
"tslib": "^2.8.1"
@@ -2757,76 +4250,10 @@
"node": ">=14.0.0"
}
},
- "node_modules/@tailwindcss/oxide-wasm32-wasi/node_modules/@emnapi/core": {
- "version": "1.10.0",
- "dev": true,
- "inBundle": true,
- "license": "MIT",
- "optional": true,
- "dependencies": {
- "@emnapi/wasi-threads": "1.2.1",
- "tslib": "^2.4.0"
- }
- },
- "node_modules/@tailwindcss/oxide-wasm32-wasi/node_modules/@emnapi/runtime": {
- "version": "1.10.0",
- "dev": true,
- "inBundle": true,
- "license": "MIT",
- "optional": true,
- "dependencies": {
- "tslib": "^2.4.0"
- }
- },
- "node_modules/@tailwindcss/oxide-wasm32-wasi/node_modules/@emnapi/wasi-threads": {
- "version": "1.2.1",
- "dev": true,
- "inBundle": true,
- "license": "MIT",
- "optional": true,
- "dependencies": {
- "tslib": "^2.4.0"
- }
- },
- "node_modules/@tailwindcss/oxide-wasm32-wasi/node_modules/@napi-rs/wasm-runtime": {
- "version": "1.1.4",
- "dev": true,
- "inBundle": true,
- "license": "MIT",
- "optional": true,
- "dependencies": {
- "@tybys/wasm-util": "^0.10.1"
- },
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/Brooooooklyn"
- },
- "peerDependencies": {
- "@emnapi/core": "^1.7.1",
- "@emnapi/runtime": "^1.7.1"
- }
- },
- "node_modules/@tailwindcss/oxide-wasm32-wasi/node_modules/@tybys/wasm-util": {
- "version": "0.10.2",
- "dev": true,
- "inBundle": true,
- "license": "MIT",
- "optional": true,
- "dependencies": {
- "tslib": "^2.4.0"
- }
- },
- "node_modules/@tailwindcss/oxide-wasm32-wasi/node_modules/tslib": {
- "version": "2.8.1",
- "dev": true,
- "inBundle": true,
- "license": "0BSD",
- "optional": true
- },
"node_modules/@tailwindcss/oxide-win32-arm64-msvc": {
- "version": "4.3.1",
- "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-win32-arm64-msvc/-/oxide-win32-arm64-msvc-4.3.1.tgz",
- "integrity": "sha512-aiNvSq9BsVk8V513lDKlrCFAgf8qBMPZTpgEhInL+NwQqs97mYmupVMrPrgBBSL8Pv/0zXu9MrMF9rMun1ZeNg==",
+ "version": "4.3.3",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-win32-arm64-msvc/-/oxide-win32-arm64-msvc-4.3.3.tgz",
+ "integrity": "sha512-3rc292Ca2ceK6Ulcc/bAVnTs/3nDtoPhyEKlgPv+yQJQi/JS/AMJlqzxvlDacL1nekbrcf6bTqp/jV4qgnPxNQ==",
"cpu": [
"arm64"
],
@@ -2841,9 +4268,9 @@
}
},
"node_modules/@tailwindcss/oxide-win32-x64-msvc": {
- "version": "4.3.1",
- "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-win32-x64-msvc/-/oxide-win32-x64-msvc-4.3.1.tgz",
- "integrity": "sha512-xDEyu1rg290472FEGaKHnzyDyh5QH+AlWvsU5hMoMtPpzmKlRI0jaYKCgSHDYtaQWZOYbMaduSyCwFwY4n1HmA==",
+ "version": "4.3.3",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-win32-x64-msvc/-/oxide-win32-x64-msvc-4.3.3.tgz",
+ "integrity": "sha512-yJ0pwIVc/nYeGoV02WtsN8KYyLQv7kyI2wDnkezyJlGGjkd4QLwDGAwl47YpPJeuI0M0ObaXGSPjvWDPeTPggw==",
"cpu": [
"x64"
],
@@ -2858,24 +4285,24 @@
}
},
"node_modules/@tailwindcss/vite": {
- "version": "4.3.1",
- "resolved": "https://registry.npmjs.org/@tailwindcss/vite/-/vite-4.3.1.tgz",
- "integrity": "sha512-hItDHuIIlEV61R+faXu66s1K36aTurO/Qw0e45Vskz57gXl9pWOT6eg3zmcEui6CZXddbN7zd41bwmvag4JGwQ==",
+ "version": "4.3.3",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/vite/-/vite-4.3.3.tgz",
+ "integrity": "sha512-yYU8cogLeSh/ms2jh8Fj7jaba/EWa7Ja6GoUqYZaraEuCI5YS6ms6ObZgjjedm+jm6XZjdNRWBpPP6Z86oOxcw==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@tailwindcss/node": "4.3.1",
- "@tailwindcss/oxide": "4.3.1",
- "tailwindcss": "4.3.1"
+ "@tailwindcss/node": "4.3.3",
+ "@tailwindcss/oxide": "4.3.3",
+ "tailwindcss": "4.3.3"
},
"peerDependencies": {
"vite": "^5.2.0 || ^6 || ^7 || ^8"
}
},
"node_modules/@tauri-apps/api": {
- "version": "2.11.0",
- "resolved": "https://registry.npmjs.org/@tauri-apps/api/-/api-2.11.0.tgz",
- "integrity": "sha512-7CinYODhky9lmO23xHnUFv0Xt43fbtWMyxZcLcRBlFkcgXKuEirBvHpmtJ89YMhyeGcq20Wuc47Fa4XjyniywA==",
+ "version": "2.12.4",
+ "resolved": "https://registry.npmjs.org/@tauri-apps/api/-/api-2.12.4.tgz",
+ "integrity": "sha512-pVmfis+4zT8H0Qhp3xPZx9Ju7kpzvA6rr/PSJPyuwfvucTQ8sVt61NYU9KMkK703UFlYadFmjKA4HhybOtN0gg==",
"license": "Apache-2.0 OR MIT",
"funding": {
"type": "opencollective",
@@ -2883,9 +4310,9 @@
}
},
"node_modules/@tauri-apps/cli": {
- "version": "2.11.2",
- "resolved": "https://registry.npmjs.org/@tauri-apps/cli/-/cli-2.11.2.tgz",
- "integrity": "sha512-bk3HemqvGRoy+5D/dVMUQHKMYLglD0jVnMm/0iGMH6ufZ+p8r14m6BpIixwij3PBvZdvORUp1YifTD8QxVZ1Nw==",
+ "version": "2.12.4",
+ "resolved": "https://registry.npmjs.org/@tauri-apps/cli/-/cli-2.12.4.tgz",
+ "integrity": "sha512-JI9bHfudSRJikGOrjbXEm6RjzzvmKuLc+JixB1NE8hNzQkNlCCIC3pTES3uypkR9lxHrsbxzcnSwhI2IxBQphw==",
"dev": true,
"license": "Apache-2.0 OR MIT",
"bin": {
@@ -2899,23 +4326,23 @@
"url": "https://opencollective.com/tauri"
},
"optionalDependencies": {
- "@tauri-apps/cli-darwin-arm64": "2.11.2",
- "@tauri-apps/cli-darwin-x64": "2.11.2",
- "@tauri-apps/cli-linux-arm-gnueabihf": "2.11.2",
- "@tauri-apps/cli-linux-arm64-gnu": "2.11.2",
- "@tauri-apps/cli-linux-arm64-musl": "2.11.2",
- "@tauri-apps/cli-linux-riscv64-gnu": "2.11.2",
- "@tauri-apps/cli-linux-x64-gnu": "2.11.2",
- "@tauri-apps/cli-linux-x64-musl": "2.11.2",
- "@tauri-apps/cli-win32-arm64-msvc": "2.11.2",
- "@tauri-apps/cli-win32-ia32-msvc": "2.11.2",
- "@tauri-apps/cli-win32-x64-msvc": "2.11.2"
+ "@tauri-apps/cli-darwin-arm64": "2.12.4",
+ "@tauri-apps/cli-darwin-x64": "2.12.4",
+ "@tauri-apps/cli-linux-arm-gnueabihf": "2.12.4",
+ "@tauri-apps/cli-linux-arm64-gnu": "2.12.4",
+ "@tauri-apps/cli-linux-arm64-musl": "2.12.4",
+ "@tauri-apps/cli-linux-riscv64-gnu": "2.12.4",
+ "@tauri-apps/cli-linux-x64-gnu": "2.12.4",
+ "@tauri-apps/cli-linux-x64-musl": "2.12.4",
+ "@tauri-apps/cli-win32-arm64-msvc": "2.12.4",
+ "@tauri-apps/cli-win32-ia32-msvc": "2.12.4",
+ "@tauri-apps/cli-win32-x64-msvc": "2.12.4"
}
},
"node_modules/@tauri-apps/cli-darwin-arm64": {
- "version": "2.11.2",
- "resolved": "https://registry.npmjs.org/@tauri-apps/cli-darwin-arm64/-/cli-darwin-arm64-2.11.2.tgz",
- "integrity": "sha512-+4UZzLt+eOAEQCwgd+TqKgyUJMrvx+BgdXLLaqJYmPqzP+nE6YZr/hY6CWLYGQb8jFn99jEkmC6uA3tNvamA1w==",
+ "version": "2.12.4",
+ "resolved": "https://registry.npmjs.org/@tauri-apps/cli-darwin-arm64/-/cli-darwin-arm64-2.12.4.tgz",
+ "integrity": "sha512-OxqKSckIkoJ6vX2AjifIJpTasFC0Hbdoo7gEiCmAjauABO3U8m2MRsLWe+QTiBwDx1mIrvgA+rvI7tvDnbnHVg==",
"cpu": [
"arm64"
],
@@ -2930,9 +4357,9 @@
}
},
"node_modules/@tauri-apps/cli-darwin-x64": {
- "version": "2.11.2",
- "resolved": "https://registry.npmjs.org/@tauri-apps/cli-darwin-x64/-/cli-darwin-x64-2.11.2.tgz",
- "integrity": "sha512-VjYYtZUPqDMLutSfJEyxFE3Bz+DPi7c8wC3imckgvciLDZLq4qwKJxBicg0BXGhXjJsl8vKWgWRFNMPELQ+Xyg==",
+ "version": "2.12.4",
+ "resolved": "https://registry.npmjs.org/@tauri-apps/cli-darwin-x64/-/cli-darwin-x64-2.12.4.tgz",
+ "integrity": "sha512-fz76/77wMMJOaaUN6n3CybRG0P/MTEjjqYk81mGPyhi9m6Ue5T+LWBnJP/AkPooNatBPI2vtulGqomyMJ44lCQ==",
"cpu": [
"x64"
],
@@ -2947,9 +4374,9 @@
}
},
"node_modules/@tauri-apps/cli-linux-arm-gnueabihf": {
- "version": "2.11.2",
- "resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-arm-gnueabihf/-/cli-linux-arm-gnueabihf-2.11.2.tgz",
- "integrity": "sha512-yMemD6f4i95AQriS8EazyOFzbE34yjnP16i3IOzpHGQvBoy2DjypFMFBq0NtPuITURv/cOGguRtHR5d79/9CSA==",
+ "version": "2.12.4",
+ "resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-arm-gnueabihf/-/cli-linux-arm-gnueabihf-2.12.4.tgz",
+ "integrity": "sha512-K0w8Bof6Lt8QKLAYhRy0yy36ZH5iA/35VuSOvnxyjvCUZ+A3JKsUTlALviH/sVgAlisaPzzmeJSH8XOn4Q2HBA==",
"cpu": [
"arm"
],
@@ -2964,13 +4391,16 @@
}
},
"node_modules/@tauri-apps/cli-linux-arm64-gnu": {
- "version": "2.11.2",
- "resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-arm64-gnu/-/cli-linux-arm64-gnu-2.11.2.tgz",
- "integrity": "sha512-cgI91D2wL8GSgoWwZXDqt+DwnuZCP2/bz03QAE4TrhgAKIsrB4hX26W/H1EONPUUNkqrsgeCD0wU6pcNjV/5kw==",
+ "version": "2.12.4",
+ "resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-arm64-gnu/-/cli-linux-arm64-gnu-2.12.4.tgz",
+ "integrity": "sha512-j5rOnjmRUwWrm1oosf0zBYl4D+fqydgUROFCk0hvKZxvbTT8SOERes0QB7rBV/XWNy+kM6pCKzb3oSm2sRglzg==",
"cpu": [
"arm64"
],
"dev": true,
+ "libc": [
+ "glibc"
+ ],
"license": "Apache-2.0 OR MIT",
"optional": true,
"os": [
@@ -2981,13 +4411,16 @@
}
},
"node_modules/@tauri-apps/cli-linux-arm64-musl": {
- "version": "2.11.2",
- "resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-arm64-musl/-/cli-linux-arm64-musl-2.11.2.tgz",
- "integrity": "sha512-X1rm0BERqAAggtYTESSgXrS3sz4Sb/OiPiz54UqISlXW+GkR3vNIGnsy/lejNmoXGVqri3Q53BCfQiclOIyRPw==",
+ "version": "2.12.4",
+ "resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-arm64-musl/-/cli-linux-arm64-musl-2.12.4.tgz",
+ "integrity": "sha512-aOue3Fy6Jb7+oWcfAVUsVHfeTybSCt2CZoU06aO4jv4d2Ks/KnaTPwMAK3CLEduGOvBLY1lbBBrIyomqLLH5Sg==",
"cpu": [
"arm64"
],
"dev": true,
+ "libc": [
+ "musl"
+ ],
"license": "Apache-2.0 OR MIT",
"optional": true,
"os": [
@@ -2998,13 +4431,16 @@
}
},
"node_modules/@tauri-apps/cli-linux-riscv64-gnu": {
- "version": "2.11.2",
- "resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-riscv64-gnu/-/cli-linux-riscv64-gnu-2.11.2.tgz",
- "integrity": "sha512-usbMLJbT3KtkOrBMDVeGYNM35aTHXx38SJSzTMSqqjeUIOQ+iVPjb2yAGNAE+KqmBbAx4FOFIyMeKXx2M/JKGQ==",
+ "version": "2.12.4",
+ "resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-riscv64-gnu/-/cli-linux-riscv64-gnu-2.12.4.tgz",
+ "integrity": "sha512-Fx6GShY/RvST+t6LMlTHAwd66+1tEaAAGrnU7cysVfaiRP1BKng5Vl6rVmO6rSLOA1Sp1dRzNYM4f0OWQGb7qA==",
"cpu": [
"riscv64"
],
"dev": true,
+ "libc": [
+ "glibc"
+ ],
"license": "Apache-2.0 OR MIT",
"optional": true,
"os": [
@@ -3015,13 +4451,16 @@
}
},
"node_modules/@tauri-apps/cli-linux-x64-gnu": {
- "version": "2.11.2",
- "resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-x64-gnu/-/cli-linux-x64-gnu-2.11.2.tgz",
- "integrity": "sha512-Ru4gwJKPG0ctVGchRGpRup4Y4lW2SSfFnrbQcyHhCliKy4g8Qz97TrUgCur4CbWyAgKxvGh3SjrkA0LDYzDGiw==",
+ "version": "2.12.4",
+ "resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-x64-gnu/-/cli-linux-x64-gnu-2.12.4.tgz",
+ "integrity": "sha512-tNzZSa79Z1nRpHxEpQ38lsAFpKlFlYvoXzjTV+lRRn/zSf3wrdUC3wnLcq2XEadchPu4ttK0zivhYzr+XGD19Q==",
"cpu": [
"x64"
],
"dev": true,
+ "libc": [
+ "glibc"
+ ],
"license": "Apache-2.0 OR MIT",
"optional": true,
"os": [
@@ -3032,13 +4471,16 @@
}
},
"node_modules/@tauri-apps/cli-linux-x64-musl": {
- "version": "2.11.2",
- "resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-x64-musl/-/cli-linux-x64-musl-2.11.2.tgz",
- "integrity": "sha512-eUm7T6clN1MMmNSRQ9gaWsQdyehQx2Gmn5hht/QUlqZQI/qcP2OJK5dnaxqwFzCr2HdsEo9ydxaqcS1oJzMvUw==",
+ "version": "2.12.4",
+ "resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-x64-musl/-/cli-linux-x64-musl-2.12.4.tgz",
+ "integrity": "sha512-jmZ1pr0xEqUhuEusWtt9Yt+GF6lCnGHUmIL+KIknpbjK/XQ2qkhDBhaxK/JMHM2A8dAacVXCxXJk2EXpwhQUfA==",
"cpu": [
"x64"
],
"dev": true,
+ "libc": [
+ "musl"
+ ],
"license": "Apache-2.0 OR MIT",
"optional": true,
"os": [
@@ -3049,9 +4491,9 @@
}
},
"node_modules/@tauri-apps/cli-win32-arm64-msvc": {
- "version": "2.11.2",
- "resolved": "https://registry.npmjs.org/@tauri-apps/cli-win32-arm64-msvc/-/cli-win32-arm64-msvc-2.11.2.tgz",
- "integrity": "sha512-HeeZW80jU+gVTOEX4X/hC6NVSAdDVXajwP5fxIZ/3z9WvUC7qrudX2GMTilYq6Dg0e0sk0XgsAJD1hZ5wPBXUA==",
+ "version": "2.12.4",
+ "resolved": "https://registry.npmjs.org/@tauri-apps/cli-win32-arm64-msvc/-/cli-win32-arm64-msvc-2.12.4.tgz",
+ "integrity": "sha512-fGo8pgEHZxdSYgZ/J98m1usJ7NHKmKbq7k6uT0x1rpOq6Bg2YVzzpaAblWk710f5LHYBJIL5QIFS5IrD+4gmTg==",
"cpu": [
"arm64"
],
@@ -3066,9 +4508,9 @@
}
},
"node_modules/@tauri-apps/cli-win32-ia32-msvc": {
- "version": "2.11.2",
- "resolved": "https://registry.npmjs.org/@tauri-apps/cli-win32-ia32-msvc/-/cli-win32-ia32-msvc-2.11.2.tgz",
- "integrity": "sha512-YhjQNZcXfbkCLyazSv1nPnJ9iRFE1wm6kc51FDbU10/Dk09io+6PAGMLjkxnX2GdM0qMnDmTjstY8mTDVvtKeA==",
+ "version": "2.12.4",
+ "resolved": "https://registry.npmjs.org/@tauri-apps/cli-win32-ia32-msvc/-/cli-win32-ia32-msvc-2.12.4.tgz",
+ "integrity": "sha512-ezl8sQIcjYsye3TUnTH5VcWmWzccZASlQm7hlZt0dYyj1XD0qpVW47u2xYVrIKui0F8uQv/7QGZixdWiClBsbg==",
"cpu": [
"ia32"
],
@@ -3083,9 +4525,9 @@
}
},
"node_modules/@tauri-apps/cli-win32-x64-msvc": {
- "version": "2.11.2",
- "resolved": "https://registry.npmjs.org/@tauri-apps/cli-win32-x64-msvc/-/cli-win32-x64-msvc-2.11.2.tgz",
- "integrity": "sha512-d2JchlFIpZevZVReyqhQOekJmb1UH3rhZ5VX6sH3ty9ETE0TKQavpihvoScUXfKKpW6HZC0MrFGRU0ZtD+w3gA==",
+ "version": "2.12.4",
+ "resolved": "https://registry.npmjs.org/@tauri-apps/cli-win32-x64-msvc/-/cli-win32-x64-msvc-2.12.4.tgz",
+ "integrity": "sha512-DJhDeCqjLDNMWYFy7ZS8cfeAHX2RK0RbQMLiA3bMVVkXRDJ4NBYiHriGqsUhsr9iG41aTb+dJGkFPmPw1gWwVw==",
"cpu": [
"x64"
],
@@ -3100,48 +4542,38 @@
}
},
"node_modules/@tauri-apps/plugin-dialog": {
- "version": "2.7.1",
- "resolved": "https://registry.npmjs.org/@tauri-apps/plugin-dialog/-/plugin-dialog-2.7.1.tgz",
- "integrity": "sha512-OK1UBXYt+ojcmxMktzzuyonYIFta8CmAASpX+CA+DTGK24KlHjhYI6x2iOJ/TjZF4N7/ACK1oFmEOjIY9IhzOQ==",
+ "version": "2.8.3",
+ "resolved": "https://registry.npmjs.org/@tauri-apps/plugin-dialog/-/plugin-dialog-2.8.3.tgz",
+ "integrity": "sha512-Hd/yBfk2R5v2MFrz/0VArSXeh8xKLLXGunqSiTtcHKn1zNZwaKujuA0VSwUvNfwC4hDoF1PveS+gBDNe3nHspw==",
"license": "MIT OR Apache-2.0",
"dependencies": {
- "@tauri-apps/api": "^2.11.0"
+ "@tauri-apps/api": "^2.12.0"
}
},
"node_modules/@tauri-apps/plugin-fs": {
- "version": "2.5.1",
- "resolved": "https://registry.npmjs.org/@tauri-apps/plugin-fs/-/plugin-fs-2.5.1.tgz",
- "integrity": "sha512-9Lz+Jopp6QyeEWhlpkMx4R/+P9HgR+AVAI4vOZhlT8Xaymtz8iVI/Ov984/XTqgJz/5gz5NretqPB/XEMS3NhQ==",
+ "version": "2.7.1",
+ "resolved": "https://registry.npmjs.org/@tauri-apps/plugin-fs/-/plugin-fs-2.7.1.tgz",
+ "integrity": "sha512-4TBVjpi/q8PuNzjpkAc2iBGXMTLjOrAyfTiiOL8ORaJCZJRG3tjzmQ4sqs2CMG75FvLyRkOkERfP7AyY4iBNwQ==",
"license": "MIT OR Apache-2.0",
"dependencies": {
- "@tauri-apps/api": "^2.11.0"
+ "@tauri-apps/api": "^2.12.0"
}
},
"node_modules/@tauri-apps/plugin-opener": {
- "version": "2.5.4",
- "resolved": "https://registry.npmjs.org/@tauri-apps/plugin-opener/-/plugin-opener-2.5.4.tgz",
- "integrity": "sha512-1HnPkb+AmgO29HBazm4uPLKB+r7zzcTBW1d0fyYp1uP+jwtpoiNDGKMMzz58SFp49nOIrxdE3aUJtT57lfO9CQ==",
+ "version": "2.7.2",
+ "resolved": "https://registry.npmjs.org/@tauri-apps/plugin-opener/-/plugin-opener-2.7.2.tgz",
+ "integrity": "sha512-LyybP1VSzTMQiaFYcsbAse47KpivlyXdLZMQzGLEnkgQacGESnpjAfFoQ6h5sqWgAdZDH9szYjPzHMpv0Sz+TQ==",
"license": "MIT OR Apache-2.0",
"dependencies": {
- "@tauri-apps/api": "^2.11.0"
- }
- },
- "node_modules/@tauri-apps/plugin-os": {
- "version": "2.3.2",
- "resolved": "https://registry.npmjs.org/@tauri-apps/plugin-os/-/plugin-os-2.3.2.tgz",
- "integrity": "sha512-n+nXWeuSeF9wcEsSPmRnBEGrRgOy6jjkSU+UVCOV8YUGKb2erhDOxis7IqRXiRVHhY8XMKks00BJ0OAdkpf6+A==",
- "license": "MIT OR Apache-2.0",
- "dependencies": {
- "@tauri-apps/api": "^2.8.0"
+ "@tauri-apps/api": "^2.12.0"
}
},
"node_modules/@testing-library/dom": {
- "version": "10.4.1",
- "resolved": "https://registry.npmjs.org/@testing-library/dom/-/dom-10.4.1.tgz",
- "integrity": "sha512-o4PXJQidqJl82ckFaXUeoAW+XysPLauYI43Abki5hABd853iMhitooc6znOnczgbTYmEP6U6/y1ZyKAIsvMKGg==",
+ "version": "10.4.2",
+ "resolved": "https://registry.npmjs.org/@testing-library/dom/-/dom-10.4.2.tgz",
+ "integrity": "sha512-yzr2S9HyAIdhz2/6qHgbs665Q7PKVcDF05vsOlHPxG1mo36gKVesdYVeDLnXgfjJ03CrKRk08knc6+E/9m8v2Q==",
"dev": true,
"license": "MIT",
- "peer": true,
"dependencies": {
"@babel/code-frame": "^7.10.4",
"@babel/runtime": "^7.12.5",
@@ -3157,9 +4589,9 @@
}
},
"node_modules/@testing-library/jest-dom": {
- "version": "6.9.1",
- "resolved": "https://registry.npmjs.org/@testing-library/jest-dom/-/jest-dom-6.9.1.tgz",
- "integrity": "sha512-zIcONa+hVtVSSep9UT3jZ5rizo2BsxgyDYU7WFD5eICBE7no3881HGeb/QkGfsJs6JTkY1aQhT7rIPC7e+0nnA==",
+ "version": "7.0.1",
+ "resolved": "https://registry.npmjs.org/@testing-library/jest-dom/-/jest-dom-7.0.1.tgz",
+ "integrity": "sha512-oMDTC3oA+6CXSO2JZnvOI7CA6oVub6kij5ggk9ohwye5slmkwxYDXcPOVxgMw/RQlticjtO0C1RZkR97HgrWMw==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -3171,9 +4603,18 @@
"redent": "^3.0.0"
},
"engines": {
- "node": ">=14",
+ "node": ">=22",
"npm": ">=6",
"yarn": ">=1"
+ },
+ "peerDependencies": {
+ "@testing-library/dom": ">=10 <11",
+ "vitest": ">= 0.32"
+ },
+ "peerDependenciesMeta": {
+ "vitest": {
+ "optional": true
+ }
}
},
"node_modules/@testing-library/jest-dom/node_modules/dom-accessibility-api": {
@@ -3184,9 +4625,9 @@
"license": "MIT"
},
"node_modules/@testing-library/react": {
- "version": "16.3.2",
- "resolved": "https://registry.npmjs.org/@testing-library/react/-/react-16.3.2.tgz",
- "integrity": "sha512-XU5/SytQM+ykqMnAnvB2umaJNIOsLF3PVv//1Ew4CTcpz0/BRyy/af40qqrt7SjKpDdT1saBMc42CUok5gaw+g==",
+ "version": "16.3.3",
+ "resolved": "https://registry.npmjs.org/@testing-library/react/-/react-16.3.3.tgz",
+ "integrity": "sha512-Uo193NgQbPMz6lrrhtRQQFcMC6Re/ELLFbbuVL30WDlZxlpZf9/lMHTAVxPRLw1q1iu9OJmR1c2BLiENRstdBg==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -3212,9 +4653,9 @@
}
},
"node_modules/@testing-library/user-event": {
- "version": "14.6.1",
- "resolved": "https://registry.npmjs.org/@testing-library/user-event/-/user-event-14.6.1.tgz",
- "integrity": "sha512-vq7fv0rnt+QTXgPxr5Hjc210p6YKq2kmdziLgnsZGgLJ9e6VAShx1pACLuRjd/AS/sr7phAR58OIIpf0LlmQNw==",
+ "version": "14.6.8",
+ "resolved": "https://registry.npmjs.org/@testing-library/user-event/-/user-event-14.6.8.tgz",
+ "integrity": "sha512-vgSSqnANMnkcYR/vUNDbwS7aM3OErRLNUG8vCVVlj4oc6cKffUrccX7UAS5AmJQQNZTSibi9z5GvvRZ0aYgUCQ==",
"dev": true,
"license": "MIT",
"engines": {
@@ -3226,9 +4667,9 @@
}
},
"node_modules/@tybys/wasm-util": {
- "version": "0.10.2",
- "resolved": "https://registry.npmjs.org/@tybys/wasm-util/-/wasm-util-0.10.2.tgz",
- "integrity": "sha512-RoBvJ2X0wuKlWFIjrwffGw1IqZHKQqzIchKaadZZfnNpsAYp2mM0h36JtPCjNDAHGgYez/15uMBpfGwchhiMgg==",
+ "version": "0.10.4",
+ "resolved": "https://registry.npmjs.org/@tybys/wasm-util/-/wasm-util-0.10.4.tgz",
+ "integrity": "sha512-W3c4gRigFS0T/Ma4qIYF3GDAc5AQdHb1yL5znJT1Zv1YaD9Kitx656wBjvr19qbiosmZT8lWDM5BEMynUqX65A==",
"dev": true,
"license": "MIT",
"optional": true,
@@ -3241,8 +4682,7 @@
"resolved": "https://registry.npmjs.org/@types/aria-query/-/aria-query-5.0.4.tgz",
"integrity": "sha512-rfT93uj5s0PRL7EzccGMs3brplhcrghnDoV26NqKhCAS1hVo+WdNsPvE/yb6ilfr5hi2MEk6d5EWJTKdxg8jVw==",
"dev": true,
- "license": "MIT",
- "peer": true
+ "license": "MIT"
},
"node_modules/@types/chai": {
"version": "5.2.3",
@@ -3276,13 +4716,6 @@
"dev": true,
"license": "MIT"
},
- "node_modules/@types/js-yaml": {
- "version": "4.0.9",
- "resolved": "https://registry.npmjs.org/@types/js-yaml/-/js-yaml-4.0.9.tgz",
- "integrity": "sha512-k4MGaQl5TGo/iipqb2UDG2UwjXziSWkh0uysQelTlJpX1qGlpUZYm8PnO4DxG1qBomtJUdYJ6qR6xdIah10JLg==",
- "dev": true,
- "license": "MIT"
- },
"node_modules/@types/json-schema": {
"version": "7.0.15",
"resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz",
@@ -3291,13 +4724,13 @@
"license": "MIT"
},
"node_modules/@types/node": {
- "version": "25.9.3",
- "resolved": "https://registry.npmjs.org/@types/node/-/node-25.9.3.tgz",
- "integrity": "sha512-603BddQMv3pUcr4U2dhujk83N2tTDVr/34wII2B6bJy6g+8WD6yUb11jszNs0gdi4PesVWl7ABt8nYMVpnLUcg==",
+ "version": "26.6.5",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-26.6.5.tgz",
+ "integrity": "sha512-uMzsv9stDdofIZBx4UGh4Z9ZgXnGC9seRDscilBcTHAeOFk67MZg/k9bWVfO+bk4qZmG+l52hRnLwUiH2LnJTg==",
"dev": true,
"license": "MIT",
"dependencies": {
- "undici-types": ">=7.24.0 <7.24.7"
+ "undici-types": "~8.9.0"
}
},
"node_modules/@types/papaparse": {
@@ -3311,9 +4744,9 @@
}
},
"node_modules/@types/react": {
- "version": "19.2.17",
- "resolved": "https://registry.npmjs.org/@types/react/-/react-19.2.17.tgz",
- "integrity": "sha512-MXfmqaVPEVgkBT/aY0aGCkRWWtByiYQXo3xdQ8r5RzuFrPiRn8Gar2tQdXSUQ2GKV3bkXckek89V8wQBY2Q/Aw==",
+ "version": "19.3.0",
+ "resolved": "https://registry.npmjs.org/@types/react/-/react-19.3.0.tgz",
+ "integrity": "sha512-N0rFCuH9YoxG9/m61l9MfpJKfmLOVU0em7ipIz6TRgSSkvReLB9vL85GB+yr8Bs5leqpvg96JSwF4ZS1s4viQg==",
"devOptional": true,
"license": "MIT",
"dependencies": {
@@ -3321,27 +4754,27 @@
}
},
"node_modules/@types/react-dom": {
- "version": "19.2.3",
- "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-19.2.3.tgz",
- "integrity": "sha512-jp2L/eY6fn+KgVVQAOqYItbF0VY/YApe5Mz2F0aykSO8gx31bYCZyvSeYxCHKvzHG5eZjc+zyaS5BrBWya2+kQ==",
+ "version": "19.3.0",
+ "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-19.3.0.tgz",
+ "integrity": "sha512-ZI7bU42mZXXKHn/qNLEw2IrbiINU7X5+vfgdixBHkCNpYWXjKgfQ/P+uyGb5CjOLB9UcnTeg3rylQtV2hym44Q==",
"devOptional": true,
"license": "MIT",
"peerDependencies": {
- "@types/react": "^19.2.0"
+ "@types/react": "^19.3.0"
}
},
"node_modules/@typescript-eslint/eslint-plugin": {
- "version": "8.61.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.61.0.tgz",
- "integrity": "sha512-bFNvl9ZczlVb+wR2Akszf3gHfKVj/8WanXaGJ3UstTA7brNKg0cNdk6X1Psu5V7MZ2oQtzZKOEzIUehaoxbDGw==",
+ "version": "8.72.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.72.0.tgz",
+ "integrity": "sha512-aysKgysPX9XOv/dk95UkvUDe++Q3n3dJPG9CEWT3RUccxfkPJ+Qn6nhKPDhZXU6Ofo9kgwGWwKyQCnZIXTgngg==",
"dev": true,
"license": "MIT",
"dependencies": {
"@eslint-community/regexpp": "^4.12.2",
- "@typescript-eslint/scope-manager": "8.61.0",
- "@typescript-eslint/type-utils": "8.61.0",
- "@typescript-eslint/utils": "8.61.0",
- "@typescript-eslint/visitor-keys": "8.61.0",
+ "@typescript-eslint/scope-manager": "8.72.0",
+ "@typescript-eslint/type-utils": "8.72.0",
+ "@typescript-eslint/utils": "8.72.0",
+ "@typescript-eslint/visitor-keys": "8.72.0",
"ignore": "^7.0.5",
"natural-compare": "^1.4.0",
"ts-api-utils": "^2.5.0"
@@ -3354,15 +4787,15 @@
"url": "https://opencollective.com/typescript-eslint"
},
"peerDependencies": {
- "@typescript-eslint/parser": "^8.61.0",
+ "@typescript-eslint/parser": "^8.72.0",
"eslint": "^8.57.0 || ^9.0.0 || ^10.0.0",
"typescript": ">=4.8.4 <6.1.0"
}
},
"node_modules/@typescript-eslint/eslint-plugin/node_modules/ignore": {
- "version": "7.0.5",
- "resolved": "https://registry.npmjs.org/ignore/-/ignore-7.0.5.tgz",
- "integrity": "sha512-Hs59xBNfUIunMFgWAbGX5cq6893IbWg4KnrjbYwX3tx0ztorVgTDA6B2sxf8ejHJ4wz8BqGUMYlnzNBer5NvGg==",
+ "version": "7.0.13",
+ "resolved": "https://registry.npmjs.org/ignore/-/ignore-7.0.13.tgz",
+ "integrity": "sha512-2E8Q6rh+1RRSq/YdaGsNfXsEZy9FVqv6BSSrkmZJP7BnaoPnRfKL+YaofPvP+5rzdk144qSm6i4+hvPgUcbV4Q==",
"dev": true,
"license": "MIT",
"engines": {
@@ -3370,16 +4803,16 @@
}
},
"node_modules/@typescript-eslint/parser": {
- "version": "8.61.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.61.0.tgz",
- "integrity": "sha512-5B7PfA2e1NQGCnDHd/0lW7W3gvp3d59Ryw54FYO8Uswxo9f6ikw3AZV+Xj/TvpImmpsiYyUqAfhC6kJID1jF6w==",
+ "version": "8.72.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.72.0.tgz",
+ "integrity": "sha512-0O+x3ynciD6zuXb1CKSu165haQV6ey53DKhHHUnujP7U+XlltJG+/keT0Xhd1HXCze+IHf7Tvt39ovyepX/LNw==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@typescript-eslint/scope-manager": "8.61.0",
- "@typescript-eslint/types": "8.61.0",
- "@typescript-eslint/typescript-estree": "8.61.0",
- "@typescript-eslint/visitor-keys": "8.61.0",
+ "@typescript-eslint/scope-manager": "8.72.0",
+ "@typescript-eslint/types": "8.72.0",
+ "@typescript-eslint/typescript-estree": "8.72.0",
+ "@typescript-eslint/visitor-keys": "8.72.0",
"debug": "^4.4.3"
},
"engines": {
@@ -3395,14 +4828,14 @@
}
},
"node_modules/@typescript-eslint/project-service": {
- "version": "8.61.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.61.0.tgz",
- "integrity": "sha512-DV42F7MLJO6Rax7SK1yg43tcnEfGUrurSpSxKuVX+a3RCTzBlH3fuxprrOJXKCJGAaw82xXocikJ0uQaqwXgGA==",
+ "version": "8.72.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.72.0.tgz",
+ "integrity": "sha512-bzHngBbmIgzj6TsTjVUCntGx6FFLgE7mPjpO0PzHycOaZHXqS43XnrkFIHRS16LLr/xO6FHSXG3GJFo/F4bSBQ==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@typescript-eslint/tsconfig-utils": "^8.61.0",
- "@typescript-eslint/types": "^8.61.0",
+ "@typescript-eslint/tsconfig-utils": "^8.72.0",
+ "@typescript-eslint/types": "^8.72.0",
"debug": "^4.4.3"
},
"engines": {
@@ -3417,14 +4850,14 @@
}
},
"node_modules/@typescript-eslint/scope-manager": {
- "version": "8.61.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.61.0.tgz",
- "integrity": "sha512-IWdXFHFSb6mlC3HPc7QsLDm5zYEbUla6trDEHf32D3/dnuUyXd87plScSNXSbm0/RxMvObpI17sv/EDTGrGZkA==",
+ "version": "8.72.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.72.0.tgz",
+ "integrity": "sha512-JewPyJOYcXBSAS7PIgufscHOwZqhTGyBRiQJhhuDln66tMchxvvt7nJ90JKKIoOelmdHA3kAQbm9cEUHc4JSEA==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@typescript-eslint/types": "8.61.0",
- "@typescript-eslint/visitor-keys": "8.61.0"
+ "@typescript-eslint/types": "8.72.0",
+ "@typescript-eslint/visitor-keys": "8.72.0"
},
"engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
@@ -3435,9 +4868,9 @@
}
},
"node_modules/@typescript-eslint/tsconfig-utils": {
- "version": "8.61.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.61.0.tgz",
- "integrity": "sha512-O5Amvdv9ztMpxpf+vmFULGG78IE6Qwdr3bCGvqwG4nwc9H2qXkOYJJnRbRHyMkQTjv1d03olqwwwzHLMqpFePQ==",
+ "version": "8.72.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.72.0.tgz",
+ "integrity": "sha512-0vbxCf7xLVPSjcOdm6eQbgViH8EDJ8xnl1laLT9yoqSz2YmcSfSg5Vdl0JUvZf6rcuJ0ZivJIuMD4edTg8obaA==",
"dev": true,
"license": "MIT",
"engines": {
@@ -3452,15 +4885,15 @@
}
},
"node_modules/@typescript-eslint/type-utils": {
- "version": "8.61.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.61.0.tgz",
- "integrity": "sha512-TuBiQYIkd97yBfInHCTKVYMbX4kvEmpOEuixIuzCU9p8BGT1SfyyO0d0IfDMbPIHcjn/hWnusUX5e8v5Xg+X8A==",
+ "version": "8.72.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.72.0.tgz",
+ "integrity": "sha512-gEXxmmbSTSOVTC37IYYvremOM31v+UN2W772bJxmVYPhAOPSUxtacyb7wkm1EhkYKU6KzFJsdU44DCV4to0LWw==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@typescript-eslint/types": "8.61.0",
- "@typescript-eslint/typescript-estree": "8.61.0",
- "@typescript-eslint/utils": "8.61.0",
+ "@typescript-eslint/types": "8.72.0",
+ "@typescript-eslint/typescript-estree": "8.72.0",
+ "@typescript-eslint/utils": "8.72.0",
"debug": "^4.4.3",
"ts-api-utils": "^2.5.0"
},
@@ -3477,9 +4910,9 @@
}
},
"node_modules/@typescript-eslint/types": {
- "version": "8.61.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.61.0.tgz",
- "integrity": "sha512-9QTQpZ5Iin4CdIodfbDQFSeiSJKidgYJYug1P9CC2xWgUTvlmixViqDZNciMjwLBZyJnG4tGmPl97rVAFb1AJg==",
+ "version": "8.72.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.72.0.tgz",
+ "integrity": "sha512-Adfoy59kxNEjT5E5fnyrp7GpHYuWs8ONbdohu4ez6IU46qDq8LltG90tLmkucZB2uhYL8mqBjtXqGd8yhfjXqQ==",
"dev": true,
"license": "MIT",
"engines": {
@@ -3491,16 +4924,16 @@
}
},
"node_modules/@typescript-eslint/typescript-estree": {
- "version": "8.61.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.61.0.tgz",
- "integrity": "sha512-42zatd5qSvvcV1JdDBCLxYRznvP4eIHpPoZXdkPFnAmanA4FuZ5dibSnCBggY8hQnqajPpoGjXFdZ7fIJKQnlA==",
+ "version": "8.72.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.72.0.tgz",
+ "integrity": "sha512-gwLfFgWcw15tN2KXDCJvxEOQjPn+P3j/n3eSqkZ5sX4VpW9Cosodr+tWwBZRvJT3TcKx6HnPRGZMCNAiP1Xhug==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@typescript-eslint/project-service": "8.61.0",
- "@typescript-eslint/tsconfig-utils": "8.61.0",
- "@typescript-eslint/types": "8.61.0",
- "@typescript-eslint/visitor-keys": "8.61.0",
+ "@typescript-eslint/project-service": "8.72.0",
+ "@typescript-eslint/tsconfig-utils": "8.72.0",
+ "@typescript-eslint/types": "8.72.0",
+ "@typescript-eslint/visitor-keys": "8.72.0",
"debug": "^4.4.3",
"minimatch": "^10.2.2",
"semver": "^7.7.3",
@@ -3518,17 +4951,30 @@
"typescript": ">=4.8.4 <6.1.0"
}
},
+ "node_modules/@typescript-eslint/typescript-estree/node_modules/semver": {
+ "version": "7.8.5",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.5.tgz",
+ "integrity": "sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA==",
+ "dev": true,
+ "license": "ISC",
+ "bin": {
+ "semver": "bin/semver.js"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
"node_modules/@typescript-eslint/utils": {
- "version": "8.61.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.61.0.tgz",
- "integrity": "sha512-3bzFt7ImFMW/jVYwJamDoe/dMOdFLSC6pom6rRjdh4SZJEYupyMzem8e7vKZLclLfpHjlwSAXOUxtKxGXUiLqA==",
+ "version": "8.72.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.72.0.tgz",
+ "integrity": "sha512-0up3oArJZBYnzOaEXKo8DmI43QvMZyPoFEt9LWzRJcyl/RcJjfKKPebknN1VbTgXBf3M/KggUh5uUMdURLnseg==",
"dev": true,
"license": "MIT",
"dependencies": {
"@eslint-community/eslint-utils": "^4.9.1",
- "@typescript-eslint/scope-manager": "8.61.0",
- "@typescript-eslint/types": "8.61.0",
- "@typescript-eslint/typescript-estree": "8.61.0"
+ "@typescript-eslint/scope-manager": "8.72.0",
+ "@typescript-eslint/types": "8.72.0",
+ "@typescript-eslint/typescript-estree": "8.72.0"
},
"engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
@@ -3543,13 +4989,13 @@
}
},
"node_modules/@typescript-eslint/visitor-keys": {
- "version": "8.61.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.61.0.tgz",
- "integrity": "sha512-QVLZu3ZPQEE+HICQyAMZ2yLQhxf0meY/wx6Hx14YcTNj13JB3qHlX3lJ02L3fLGHgERRH71kvYDwiXIguT3AjQ==",
+ "version": "8.72.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.72.0.tgz",
+ "integrity": "sha512-E2mroviasaWecDzTGiGMtuEguuLVOeRggnrIn93CJuxYJzQBHbyymlT08aVQydbBal5538o+JkBKXh2sRuCyIA==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@typescript-eslint/types": "8.61.0",
+ "@typescript-eslint/types": "8.72.0",
"eslint-visitor-keys": "^5.0.0"
},
"engines": {
@@ -3560,10 +5006,401 @@
"url": "https://opencollective.com/typescript-eslint"
}
},
+ "node_modules/@typescript/native": {
+ "name": "typescript",
+ "version": "7.0.2",
+ "resolved": "https://registry.npmjs.org/typescript/-/typescript-7.0.2.tgz",
+ "integrity": "sha512-8FYau96o3NKOhbjKi/qNvG/W5jhzxkbdm5sj9AbZ/5T5sWqn3hJgLfGx27sRKZWTvyzCP8dLRBTf5tBTSRVUNA==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "bin": {
+ "tsc": "bin/tsc"
+ },
+ "engines": {
+ "node": ">=16.20.0"
+ },
+ "optionalDependencies": {
+ "@typescript/typescript-aix-ppc64": "7.0.2",
+ "@typescript/typescript-darwin-arm64": "7.0.2",
+ "@typescript/typescript-darwin-x64": "7.0.2",
+ "@typescript/typescript-freebsd-arm64": "7.0.2",
+ "@typescript/typescript-freebsd-x64": "7.0.2",
+ "@typescript/typescript-linux-arm": "7.0.2",
+ "@typescript/typescript-linux-arm64": "7.0.2",
+ "@typescript/typescript-linux-loong64": "7.0.2",
+ "@typescript/typescript-linux-mips64el": "7.0.2",
+ "@typescript/typescript-linux-ppc64": "7.0.2",
+ "@typescript/typescript-linux-riscv64": "7.0.2",
+ "@typescript/typescript-linux-s390x": "7.0.2",
+ "@typescript/typescript-linux-x64": "7.0.2",
+ "@typescript/typescript-netbsd-arm64": "7.0.2",
+ "@typescript/typescript-netbsd-x64": "7.0.2",
+ "@typescript/typescript-openbsd-arm64": "7.0.2",
+ "@typescript/typescript-openbsd-x64": "7.0.2",
+ "@typescript/typescript-sunos-x64": "7.0.2",
+ "@typescript/typescript-win32-arm64": "7.0.2",
+ "@typescript/typescript-win32-x64": "7.0.2"
+ }
+ },
+ "node_modules/@typescript/old": {
+ "name": "typescript",
+ "version": "6.0.3",
+ "resolved": "https://registry.npmjs.org/typescript/-/typescript-6.0.3.tgz",
+ "integrity": "sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw==",
+ "devOptional": true,
+ "license": "Apache-2.0",
+ "bin": {
+ "tsc": "bin/tsc",
+ "tsserver": "bin/tsserver"
+ },
+ "engines": {
+ "node": ">=14.17"
+ }
+ },
+ "node_modules/@typescript/typescript-aix-ppc64": {
+ "version": "7.0.2",
+ "resolved": "https://registry.npmjs.org/@typescript/typescript-aix-ppc64/-/typescript-aix-ppc64-7.0.2.tgz",
+ "integrity": "sha512-MTKKkWB7p/0E9xi1d1tHtZ5PiLkGEMIq88pK2CubZjOsLtYTLqhgIgi6zepFa+9GHZ6h05NMCkQxGKiPXMxXtQ==",
+ "cpu": [
+ "ppc64"
+ ],
+ "dev": true,
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "aix"
+ ],
+ "engines": {
+ "node": ">=16.20.0"
+ }
+ },
+ "node_modules/@typescript/typescript-darwin-arm64": {
+ "version": "7.0.2",
+ "resolved": "https://registry.npmjs.org/@typescript/typescript-darwin-arm64/-/typescript-darwin-arm64-7.0.2.tgz",
+ "integrity": "sha512-gowzar9MwS/aRWp6f3a4KUqzRjAZjOsmGNCM6LcTgXum+dBfgsBVMN+AgvOCCbguXyick6LJhpBszxMebJ8syA==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">=16.20.0"
+ }
+ },
+ "node_modules/@typescript/typescript-darwin-x64": {
+ "version": "7.0.2",
+ "resolved": "https://registry.npmjs.org/@typescript/typescript-darwin-x64/-/typescript-darwin-x64-7.0.2.tgz",
+ "integrity": "sha512-SZ9xZInqApNlNGc9s0W1VSsktYSOe9cFqNOIqmN1Gs8SmkjKZYFt017G4VwPxASInODuAdbTW7sXiFUf893RgA==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">=16.20.0"
+ }
+ },
+ "node_modules/@typescript/typescript-freebsd-arm64": {
+ "version": "7.0.2",
+ "resolved": "https://registry.npmjs.org/@typescript/typescript-freebsd-arm64/-/typescript-freebsd-arm64-7.0.2.tgz",
+ "integrity": "sha512-W5NH4y/J0plIIS5b2xvTEkU7JFxyqdMAOgf+Ilhl0vHQXKO5dZoxd+C/jEtq56c4F3wk71RB4BMRQ2XdI+bwYQ==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ],
+ "engines": {
+ "node": ">=16.20.0"
+ }
+ },
+ "node_modules/@typescript/typescript-freebsd-x64": {
+ "version": "7.0.2",
+ "resolved": "https://registry.npmjs.org/@typescript/typescript-freebsd-x64/-/typescript-freebsd-x64-7.0.2.tgz",
+ "integrity": "sha512-UMGDx5sTpzNw3WiPebH7l90IWfJggEd+egHt/q6p7/Cm3zqoV7VxkGXt+3DxPIw8CcmvAB0j3sVVfbhX+M4Tpw==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ],
+ "engines": {
+ "node": ">=16.20.0"
+ }
+ },
+ "node_modules/@typescript/typescript-linux-arm": {
+ "version": "7.0.2",
+ "resolved": "https://registry.npmjs.org/@typescript/typescript-linux-arm/-/typescript-linux-arm-7.0.2.tgz",
+ "integrity": "sha512-gffT3xPz9sR7j/YJExkyPntrI0P2EP9XbOyWzth2/Gs0RstK+90RBcO0ncXoXy/beYll1SXw846Nf2zdnEz0QQ==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=16.20.0"
+ }
+ },
+ "node_modules/@typescript/typescript-linux-arm64": {
+ "version": "7.0.2",
+ "resolved": "https://registry.npmjs.org/@typescript/typescript-linux-arm64/-/typescript-linux-arm64-7.0.2.tgz",
+ "integrity": "sha512-Qh4eU4/y3yDjnfjjyPYihMj5/ODIlmt+Bzu17OI+fiSRDW57QmU5SiN63exPRNJPKUzcc1INa1NXdrJ+MqHjUQ==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=16.20.0"
+ }
+ },
+ "node_modules/@typescript/typescript-linux-loong64": {
+ "version": "7.0.2",
+ "resolved": "https://registry.npmjs.org/@typescript/typescript-linux-loong64/-/typescript-linux-loong64-7.0.2.tgz",
+ "integrity": "sha512-uEHck9i8hoAzXPiYRib1O7miOnz23SxIeVl6F4LXox+qov1K35jHcEW6VHKvZI+pyvl7fZEP4MCU5LYvIq1GuQ==",
+ "cpu": [
+ "loong64"
+ ],
+ "dev": true,
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=16.20.0"
+ }
+ },
+ "node_modules/@typescript/typescript-linux-mips64el": {
+ "version": "7.0.2",
+ "resolved": "https://registry.npmjs.org/@typescript/typescript-linux-mips64el/-/typescript-linux-mips64el-7.0.2.tgz",
+ "integrity": "sha512-R4KvAMnE43W5Qeqb0Ly56O3mWMWIAgsMyz36DCaycd5nbg/9kzm0liw3JocfRqyJY0KPmzFjbswozXyW0DnIYA==",
+ "cpu": [
+ "mips64el"
+ ],
+ "dev": true,
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=16.20.0"
+ }
+ },
+ "node_modules/@typescript/typescript-linux-ppc64": {
+ "version": "7.0.2",
+ "resolved": "https://registry.npmjs.org/@typescript/typescript-linux-ppc64/-/typescript-linux-ppc64-7.0.2.tgz",
+ "integrity": "sha512-DORx5b3sd/4S7eayxm4FQv+A7CrkUIGRaHiwI8oiHTAI1fAPWhF4J0vAlkC8biAlHSVVwxMQ3tjZ2/DVbnQiiA==",
+ "cpu": [
+ "ppc64"
+ ],
+ "dev": true,
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=16.20.0"
+ }
+ },
+ "node_modules/@typescript/typescript-linux-riscv64": {
+ "version": "7.0.2",
+ "resolved": "https://registry.npmjs.org/@typescript/typescript-linux-riscv64/-/typescript-linux-riscv64-7.0.2.tgz",
+ "integrity": "sha512-wf0jqEDOjrPRnKwYRyyJDRo11KMbvMFrU+q4zqKyChODBzvlkbhNQfKvLxQCcwTpdDaXSHZTVuh0JoCrKCUMHQ==",
+ "cpu": [
+ "riscv64"
+ ],
+ "dev": true,
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=16.20.0"
+ }
+ },
+ "node_modules/@typescript/typescript-linux-s390x": {
+ "version": "7.0.2",
+ "resolved": "https://registry.npmjs.org/@typescript/typescript-linux-s390x/-/typescript-linux-s390x-7.0.2.tgz",
+ "integrity": "sha512-IkwJc3L7yhytWd/ewjyxNDfOmswCm9GWMJT/ue/dU4aZNbwZeYAetq42VyLmsmSjvoX7z74X6ZaYCtzAr0EuGw==",
+ "cpu": [
+ "s390x"
+ ],
+ "dev": true,
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=16.20.0"
+ }
+ },
+ "node_modules/@typescript/typescript-linux-x64": {
+ "version": "7.0.2",
+ "resolved": "https://registry.npmjs.org/@typescript/typescript-linux-x64/-/typescript-linux-x64-7.0.2.tgz",
+ "integrity": "sha512-EYdf2cNg7rgCWJnxCdJ+F3V39O8ihb37eHAu1LK8oAFizgTQbPOK7zHHXbPt8rX24COqODXeI3sIf0fCXG7H/A==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=16.20.0"
+ }
+ },
+ "node_modules/@typescript/typescript-netbsd-arm64": {
+ "version": "7.0.2",
+ "resolved": "https://registry.npmjs.org/@typescript/typescript-netbsd-arm64/-/typescript-netbsd-arm64-7.0.2.tgz",
+ "integrity": "sha512-+polYF4MF04aPpO5FTkHran9yUQDSXqy5GiSDKpsll5jy3l3+g9QLhpf39T+ePtefhXLOGrLl0QIjkQP6VnelA==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "netbsd"
+ ],
+ "engines": {
+ "node": ">=16.20.0"
+ }
+ },
+ "node_modules/@typescript/typescript-netbsd-x64": {
+ "version": "7.0.2",
+ "resolved": "https://registry.npmjs.org/@typescript/typescript-netbsd-x64/-/typescript-netbsd-x64-7.0.2.tgz",
+ "integrity": "sha512-8YIT0EHM/3dq10ZOVF/A7pc/YSMtbcecct4rWtexrnSCHOPcpC2KTLXfTCR6vDpnSiY12heNb1GiN/wu+T/FyA==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "netbsd"
+ ],
+ "engines": {
+ "node": ">=16.20.0"
+ }
+ },
+ "node_modules/@typescript/typescript-openbsd-arm64": {
+ "version": "7.0.2",
+ "resolved": "https://registry.npmjs.org/@typescript/typescript-openbsd-arm64/-/typescript-openbsd-arm64-7.0.2.tgz",
+ "integrity": "sha512-APT8+ClYnuYm1u9+kgGXoMj2VzWzcymwh2gNSQVySHfkRDGOTVkoWLjCmOQSaO+PoqQ57B0flRp9SA+7GnnkzQ==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "openbsd"
+ ],
+ "engines": {
+ "node": ">=16.20.0"
+ }
+ },
+ "node_modules/@typescript/typescript-openbsd-x64": {
+ "version": "7.0.2",
+ "resolved": "https://registry.npmjs.org/@typescript/typescript-openbsd-x64/-/typescript-openbsd-x64-7.0.2.tgz",
+ "integrity": "sha512-yX7s+Q0Dln0Dt9tEzZsAjXXR/+ytBM7AlglaqyeMPxQszJ1JhlJdZ6jLA+IzldHtflX81em7lDao1xXu+aRRkg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "openbsd"
+ ],
+ "engines": {
+ "node": ">=16.20.0"
+ }
+ },
+ "node_modules/@typescript/typescript-sunos-x64": {
+ "version": "7.0.2",
+ "resolved": "https://registry.npmjs.org/@typescript/typescript-sunos-x64/-/typescript-sunos-x64-7.0.2.tgz",
+ "integrity": "sha512-dLJDGaLZ1D4HPQn62u1n8mBDkJREwMsAkCdkwd4Ieqw+x3TUyTsqY0YiBCtE6H6OzzgGk3iuZ3vFWRS+E8/d1g==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "sunos"
+ ],
+ "engines": {
+ "node": ">=16.20.0"
+ }
+ },
+ "node_modules/@typescript/typescript-win32-arm64": {
+ "version": "7.0.2",
+ "resolved": "https://registry.npmjs.org/@typescript/typescript-win32-arm64/-/typescript-win32-arm64-7.0.2.tgz",
+ "integrity": "sha512-Gyl1Vy6OsWesLzmq+EP0Fb7b4Nid5232AvcA2SFcdYreldpNtYFFofPjnt62y9hQy7VTaZp65ICJjuAQRaVcIQ==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=16.20.0"
+ }
+ },
+ "node_modules/@typescript/typescript-win32-x64": {
+ "version": "7.0.2",
+ "resolved": "https://registry.npmjs.org/@typescript/typescript-win32-x64/-/typescript-win32-x64-7.0.2.tgz",
+ "integrity": "sha512-0BQ3HkAHHlKLSp1qRvf3SUhGpGsDuhB/jgFw75guyqbxJqEaS0Cw/VFO8i2nHglJUzQCRtMMR/IBAKE3ETMC4g==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=16.20.0"
+ }
+ },
"node_modules/@uiw/codemirror-extensions-basic-setup": {
- "version": "4.25.10",
- "resolved": "https://registry.npmjs.org/@uiw/codemirror-extensions-basic-setup/-/codemirror-extensions-basic-setup-4.25.10.tgz",
- "integrity": "sha512-P3vytLlpE62KYSWrMUnwDCv2lvaQDuDZzyj03mHntuHo5bSl34fRZpjTY3kQTPGuXHxkGSYpoPFFj+hMTqaaMQ==",
+ "version": "4.25.12",
+ "resolved": "https://registry.npmjs.org/@uiw/codemirror-extensions-basic-setup/-/codemirror-extensions-basic-setup-4.25.12.tgz",
+ "integrity": "sha512-wR5lz7jbVcBGyiiLEObAmDikcc39KNqrrd4bdUhav85WZu48ttgnSf1YV+grHuMsj5l/WCw6u+r9ZuSfURJgiA==",
"license": "MIT",
"dependencies": {
"@codemirror/autocomplete": "^6.0.0",
@@ -3588,16 +5425,16 @@
}
},
"node_modules/@uiw/react-codemirror": {
- "version": "4.25.10",
- "resolved": "https://registry.npmjs.org/@uiw/react-codemirror/-/react-codemirror-4.25.10.tgz",
- "integrity": "sha512-DzgSMwM5qzB7v1FIb4gEeriYt67iiay756/HIOM9mAbeOVK0MO7rqefHf0O5c0269pJKMW7AH9FjclExD23V9w==",
+ "version": "4.25.12",
+ "resolved": "https://registry.npmjs.org/@uiw/react-codemirror/-/react-codemirror-4.25.12.tgz",
+ "integrity": "sha512-RE0Gj/QesD7/JWPnJREG8Kq8brGv2NAH17iUECcBrLkqXzzEAgsj/4Qqvz/OlK8XWKmzlsenLRkObT9H+gYQ0w==",
"license": "MIT",
"dependencies": {
"@babel/runtime": "^7.18.6",
"@codemirror/commands": "^6.1.0",
"@codemirror/state": "^6.1.1",
"@codemirror/theme-one-dark": "^6.0.0",
- "@uiw/codemirror-extensions-basic-setup": "4.25.10",
+ "@uiw/codemirror-extensions-basic-setup": "4.25.12",
"codemirror": "^6.0.0"
},
"funding": {
@@ -3614,13 +5451,13 @@
}
},
"node_modules/@vitejs/plugin-react": {
- "version": "6.0.2",
- "resolved": "https://registry.npmjs.org/@vitejs/plugin-react/-/plugin-react-6.0.2.tgz",
- "integrity": "sha512-DlSMqo4WhThw4vB8Mpn0Woe9J+Jfq1geJ61AKW0QEgLzGMNwtIMdxbDUzLxcun8W7NbJO0e2Jg/Nxm3cCSVzzg==",
+ "version": "6.1.2",
+ "resolved": "https://registry.npmjs.org/@vitejs/plugin-react/-/plugin-react-6.1.2.tgz",
+ "integrity": "sha512-fhJNGUdscQa4HkI0xFxwonWyhnVReCPDbXI7FH7jmzpnVCrFQI7PRrhWecO263610vOrs9tr2Y4xcf8uAdFxbw==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@rolldown/pluginutils": "^1.0.0"
+ "@rolldown/pluginutils": "^1.0.1"
},
"engines": {
"node": "^20.19.0 || >=22.12.0"
@@ -3628,6 +5465,7 @@
"peerDependencies": {
"@rolldown/plugin-babel": "^0.1.7 || ^0.2.0",
"babel-plugin-react-compiler": "^1.0.0",
+ "oxc-transform-react": "^0.152.0",
"vite": "^8.0.0"
},
"peerDependenciesMeta": {
@@ -3636,33 +5474,34 @@
},
"babel-plugin-react-compiler": {
"optional": true
+ },
+ "oxc-transform-react": {
+ "optional": true
}
}
},
"node_modules/@vitest/coverage-v8": {
- "version": "4.1.8",
- "resolved": "https://registry.npmjs.org/@vitest/coverage-v8/-/coverage-v8-4.1.8.tgz",
- "integrity": "sha512-lt3kovsyHwYe00wq4D1ti0Z974fWj4NLp6siqiyEufUpyFwK9Yhi7rBhac9JL5aA0zoMrJqc4vYPZRUnI7l7nw==",
+ "version": "5.0.5",
+ "resolved": "https://registry.npmjs.org/@vitest/coverage-v8/-/coverage-v8-5.0.5.tgz",
+ "integrity": "sha512-4KpkGdIrSqBihx/JyP/e+S+IKB98etg1XDQiLAxksLfcShnwi1VReGeOT9NI43hLHbknosKp/1CCLn9Zgcs8mg==",
"dev": true,
"license": "MIT",
"dependencies": {
"@bcoe/v8-coverage": "^1.0.2",
- "@vitest/utils": "4.1.8",
- "ast-v8-to-istanbul": "^1.0.0",
- "istanbul-lib-coverage": "^3.2.2",
- "istanbul-lib-report": "^3.0.1",
- "istanbul-reports": "^3.2.0",
- "magicast": "^0.5.2",
- "obug": "^2.1.1",
- "std-env": "^4.0.0-rc.1",
- "tinyrainbow": "^3.1.0"
+ "@vitest/istanbul-lib-coverage": "^1.0.2",
+ "@vitest/istanbul-lib-report": "^1.0.2",
+ "ast-v8-to-istanbul": "^1.0.7",
+ "magicast": "^0.5.5",
+ "obug": "^3.0.0",
+ "std-env": "^4.3.0",
+ "tinyrainbow": "^3.2.0"
},
"funding": {
"url": "https://opencollective.com/vitest"
},
"peerDependencies": {
- "@vitest/browser": "4.1.8",
- "vitest": "4.1.8"
+ "@vitest/browser": "5.0.5",
+ "vitest": "5.0.5"
},
"peerDependenciesMeta": {
"@vitest/browser": {
@@ -3670,40 +5509,46 @@
}
}
},
- "node_modules/@vitest/expect": {
- "version": "4.1.8",
- "resolved": "https://registry.npmjs.org/@vitest/expect/-/expect-4.1.8.tgz",
- "integrity": "sha512-h3nDO677RDLEGlBxyQ5CW8RlMThSKSRLUePLOx09gNIWRL40edgA1GCZSZgf1W55MFAG6/Sw14KeaAnqv0NKdQ==",
+ "node_modules/@vitest/istanbul-lib-coverage": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/@vitest/istanbul-lib-coverage/-/istanbul-lib-coverage-1.0.2.tgz",
+ "integrity": "sha512-9J/JMwOf9AoJhAywhrn7ScKTL38hsWQP/qPG60OtaAFcQ5OXPwKsxZFlbnuCKmZ61m8/lGgHYnFpdyQZUvG/iA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=22"
+ }
+ },
+ "node_modules/@vitest/istanbul-lib-report": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/@vitest/istanbul-lib-report/-/istanbul-lib-report-1.0.2.tgz",
+ "integrity": "sha512-gUsfXZJbzPamoIY5TvHFiMMoXESBrUMo+xqaj+rYrWI69+EnvRlYBlP96ZnHPY4vX8kyUpgAnFUCg5wZG/HkDQ==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@standard-schema/spec": "^1.1.0",
- "@types/chai": "^5.2.2",
- "@vitest/spy": "4.1.8",
- "@vitest/utils": "4.1.8",
- "chai": "^6.2.2",
- "tinyrainbow": "^3.1.0"
+ "@vitest/istanbul-lib-coverage": "1.0.2"
},
- "funding": {
- "url": "https://opencollective.com/vitest"
+ "engines": {
+ "node": ">=22"
}
},
"node_modules/@vitest/mocker": {
- "version": "4.1.8",
- "resolved": "https://registry.npmjs.org/@vitest/mocker/-/mocker-4.1.8.tgz",
- "integrity": "sha512-LEiN/xe4OSIbKe9HQIp5OC24agGD9J5CnmMgsLohVVoOPWL9a2sBoR6VBx43jQZb7Kr1l4RCuyCJzcAa0+dojw==",
+ "version": "5.0.5",
+ "resolved": "https://registry.npmjs.org/@vitest/mocker/-/mocker-5.0.5.tgz",
+ "integrity": "sha512-xLL3lkDegJZw+MGoGaCCsFayDZthGgpAtr3Vziyfc4p7xH89K7KRPcRBBh/kEYm0Aqkt5DtTmkYpBtRV/FrHZg==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@vitest/spy": "4.1.8",
+ "@jridgewell/trace-mapping": "0.3.31",
+ "@vitest/spy": "5.0.5",
"estree-walker": "^3.0.3",
- "magic-string": "^0.30.21"
+ "magic-string": "^1.4.3"
},
"funding": {
"url": "https://opencollective.com/vitest"
},
"peerDependencies": {
- "msw": "^2.4.9",
+ "msw": "^2.4.9 || ^3.0.0",
"vite": "^6.0.0 || ^7.0.0 || ^8.0.0"
},
"peerDependenciesMeta": {
@@ -3715,78 +5560,30 @@
}
}
},
- "node_modules/@vitest/pretty-format": {
- "version": "4.1.8",
- "resolved": "https://registry.npmjs.org/@vitest/pretty-format/-/pretty-format-4.1.8.tgz",
- "integrity": "sha512-9GasEBxpZ1VYIpqHf/0+YGg121uSNwCKOJqIrTwWP/TB7DmFCiaBpNl3aPZzoLWfWkuqhbH8vJIVobZkvdo2cA==",
+ "node_modules/@vitest/mocker/node_modules/magic-string": {
+ "version": "1.4.3",
+ "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-1.4.3.tgz",
+ "integrity": "sha512-z12OxmaPGE0F4xlpGdjuAUckipLpQlTAuAmyGhNoD7ODpYUzvDfvtxUbjM/jwznyP178oju/KDdyi220wNJ0RQ==",
"dev": true,
"license": "MIT",
"dependencies": {
- "tinyrainbow": "^3.1.0"
- },
- "funding": {
- "url": "https://opencollective.com/vitest"
- }
- },
- "node_modules/@vitest/runner": {
- "version": "4.1.8",
- "resolved": "https://registry.npmjs.org/@vitest/runner/-/runner-4.1.8.tgz",
- "integrity": "sha512-EmVxeBAfMJvycdjd6Hm+RbFBbA9fKvo0Kx37hNpBYoYeavH3RNsBXWDooR1mgD52dCrxIIuP7UotpfiwOikvcg==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@vitest/utils": "4.1.8",
- "pathe": "^2.0.3"
- },
- "funding": {
- "url": "https://opencollective.com/vitest"
- }
- },
- "node_modules/@vitest/snapshot": {
- "version": "4.1.8",
- "resolved": "https://registry.npmjs.org/@vitest/snapshot/-/snapshot-4.1.8.tgz",
- "integrity": "sha512-acfZboRmAIf05DEKcBQy33VXojFJjtUdLyo7oOmV9kebb2xdU01UknNiPuPZoJZQyO7DF0gZdTGTpeAzET9QPQ==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@vitest/pretty-format": "4.1.8",
- "@vitest/utils": "4.1.8",
- "magic-string": "^0.30.21",
- "pathe": "^2.0.3"
- },
- "funding": {
- "url": "https://opencollective.com/vitest"
+ "@jridgewell/sourcemap-codec": "^1.6.0"
}
},
"node_modules/@vitest/spy": {
- "version": "4.1.8",
- "resolved": "https://registry.npmjs.org/@vitest/spy/-/spy-4.1.8.tgz",
- "integrity": "sha512-6EevtBp6OZOPF7bmz36HrGMeP3txgVSrgebWxHOafDXGkhIzfXK14f8KF6MuFfgXXUeHxmpD3BQxkV00/3s5mA==",
+ "version": "5.0.5",
+ "resolved": "https://registry.npmjs.org/@vitest/spy/-/spy-5.0.5.tgz",
+ "integrity": "sha512-lwJRExuH417257Q5wv9QYugN9IMJkoxcrKrYxGPQkBzl7wlNpTUxD/5yNX4ESKVUIShKPgkGchYPFMWOOk0wzw==",
"dev": true,
"license": "MIT",
"funding": {
"url": "https://opencollective.com/vitest"
}
},
- "node_modules/@vitest/utils": {
- "version": "4.1.8",
- "resolved": "https://registry.npmjs.org/@vitest/utils/-/utils-4.1.8.tgz",
- "integrity": "sha512-uOJamYALNhfJ6iolExyQM40yIQwDqYnkKtQ5VCiSe17E33H0aQ/u+1GlRuz4LZBk6Mm3sg90G9hEbmEt37C1Zg==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@vitest/pretty-format": "4.1.8",
- "convert-source-map": "^2.0.0",
- "tinyrainbow": "^3.1.0"
- },
- "funding": {
- "url": "https://opencollective.com/vitest"
- }
- },
"node_modules/acorn": {
- "version": "8.17.0",
- "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.17.0.tgz",
- "integrity": "sha512-xRQbDb9BnwDafYNn6Vwl839DYVjqXYb1XVGtWAZ1kcDc6iwAL4hg3B1dZlRiuENFeO2H53gFG3in621AdERVAg==",
+ "version": "8.19.0",
+ "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.19.0.tgz",
+ "integrity": "sha512-oJlA3XiRm7Cyk6qFD2Jn8ak9B7jSy0qy00ADO3+8dpT0LSjFihQYv4C02LFCSYJV3Q37xYwwRy5m+IpIiUzqWw==",
"dev": true,
"license": "MIT",
"bin": {
@@ -3829,16 +5626,50 @@
"integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",
"dev": true,
"license": "MIT",
- "peer": true,
"engines": {
"node": ">=8"
}
},
+ "node_modules/ansi-styles": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz",
+ "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/ansi-styles?sponsor=1"
+ }
+ },
+ "node_modules/anynum": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/anynum/-/anynum-1.0.1.tgz",
+ "integrity": "sha512-N6//FLET/tXYNM/F6ABca1oH6fWB+KlTt909Le28WMDBk8oaT4vY17DCrwg2MvmuqUKt3Ni4N5dGJ/EoBgcO6A==",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/NaturalIntelligence"
+ }
+ ],
+ "license": "MIT"
+ },
"node_modules/argparse": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz",
- "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==",
- "license": "Python-2.0"
+ "version": "3.0.3",
+ "resolved": "https://registry.npmjs.org/argparse/-/argparse-3.0.3.tgz",
+ "integrity": "sha512-Sn98ftV3KfsO8xfLPHG6oT8y+b0yvbrLgZjgPDXsharNY15tTAjqIsIju4S32nl6/iEUNNE4v+yL2Zhm8ooP3w==",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/puzrin"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/nodeca"
+ }
+ ],
+ "license": "PSF-2.0"
},
"node_modules/aria-hidden": {
"version": "1.2.6",
@@ -3873,9 +5704,9 @@
}
},
"node_modules/ast-v8-to-istanbul": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/ast-v8-to-istanbul/-/ast-v8-to-istanbul-1.0.0.tgz",
- "integrity": "sha512-1fSfIwuDICFA4LKkCzRPO7F0hzFf0B7+Xqrl27ynQaa+Rh0e1Es0v6kWHPott3lU10AyAr7oKHa65OppjLn3Rg==",
+ "version": "1.0.7",
+ "resolved": "https://registry.npmjs.org/ast-v8-to-istanbul/-/ast-v8-to-istanbul-1.0.7.tgz",
+ "integrity": "sha512-kFL68AG6ajd8fg248zwM9GQrUWEp79gsmjum34OEXjs4yHuUMZfYKwOLW9GMmB4oNvVrj+EAGxsP7ye2UR9UlA==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -3892,12 +5723,12 @@
"license": "MIT"
},
"node_modules/attr-accept": {
- "version": "2.2.5",
- "resolved": "https://registry.npmjs.org/attr-accept/-/attr-accept-2.2.5.tgz",
- "integrity": "sha512-0bDNnY/u6pPwHDMoF0FieU354oBi0a8rD9FcsLwzcGWbc8KS8KPIi7y+s13OlVY+gMWc/9xEMUgNE6Qm8ZllYQ==",
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/attr-accept/-/attr-accept-4.0.1.tgz",
+ "integrity": "sha512-rOKAGOwbnTUvwTL8rNA0hWnU3uX9tOI20di4KjR5I1ez/RJmnA37W3zz4EMxGC2YnI289yPjRy63CdAZeQFZ4Q==",
"license": "MIT",
"engines": {
- "node": ">=4"
+ "node": ">= 22"
}
},
"node_modules/balanced-match": {
@@ -3910,38 +5741,127 @@
"node": "18 || 20 || >=22"
}
},
+ "node_modules/baseline-browser-mapping": {
+ "version": "2.11.30",
+ "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.11.30.tgz",
+ "integrity": "sha512-YJs6Pz17RMNv8HoyKREtCY38E3BV1nPkWVmIb+XN1uHC1Vqt3KZCH/uJH9ZKRoiKb/icZ6tvehyee6RZNbFfRA==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "bin": {
+ "baseline-browser-mapping": "dist/cli.cjs"
+ },
+ "engines": {
+ "node": ">=6.0.0"
+ }
+ },
"node_modules/bidi-js": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/bidi-js/-/bidi-js-1.0.3.tgz",
- "integrity": "sha512-RKshQI1R3YQ+n9YJz2QQ147P66ELpa1FQEg20Dk8oW9t2KgLbpDLLp9aGZ7y8WHSshDknG0bknqGw5/tyCs5tw==",
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/bidi-js/-/bidi-js-1.1.0.tgz",
+ "integrity": "sha512-fX1Onk0tdVPC7obPWB5EbJ1z7NVhLq4m2xZLq2YXBkxzMXIGRpNMU88n0EPgWseKl12J7zXs7qrDxPK4sRs2fg==",
"dev": true,
"license": "MIT",
"dependencies": {
"require-from-string": "^2.0.2"
}
},
+ "node_modules/blake3-wasm": {
+ "version": "2.1.5",
+ "resolved": "https://registry.npmjs.org/blake3-wasm/-/blake3-wasm-2.1.5.tgz",
+ "integrity": "sha512-F1+K8EbfOZE49dtoPtmxUQrpXaBIl3ICvasLh+nJta0xkz+9kF/7uet9fLnwKqhDrmj6g+6K3Tw9yQPUg2ka5g==",
+ "dev": true,
+ "license": "MIT"
+ },
"node_modules/brace-expansion": {
- "version": "5.0.6",
- "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.6.tgz",
- "integrity": "sha512-kLpxurY4Z4r9sgMsyG0Z9uzsBlgiU/EFKhj/h91/8yHu0edo7XuixOIH3VcJ8kkxs6/jPzoI6U9Vj3WqbMQ94g==",
+ "version": "5.0.12",
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.12.tgz",
+ "integrity": "sha512-YovQ3rzhaLMIrDjNDMkNS01tea93qhEhG5xy8f6+R0l+dw3Ki+5sCoIoI942iuLZTHWogWktgwVDhU09iNEimQ==",
"dev": true,
"license": "MIT",
"dependencies": {
"balanced-match": "^4.0.2"
},
"engines": {
- "node": "18 || 20 || >=22"
+ "node": "20 || >=22"
+ }
+ },
+ "node_modules/browserslist": {
+ "version": "4.29.4",
+ "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.29.4.tgz",
+ "integrity": "sha512-2TcbbiwXEq+N0kD36tykpCfyyQigUXmuwNQbnPp4Xk4PX9JOqVIKjJlIDjpH7uY6tmRGoAd+apeT1p60T8wsdA==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/browserslist"
+ },
+ {
+ "type": "tidelift",
+ "url": "https://tidelift.com/funding/github/npm/browserslist"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "baseline-browser-mapping": "^2.11.29",
+ "caniuse-lite": "^1.0.30001816",
+ "electron-to-chromium": "^1.5.459",
+ "node-releases": "^2.0.59",
+ "update-browserslist-db": "^1.3.4"
+ },
+ "bin": {
+ "browserslist": "cli.js"
+ },
+ "engines": {
+ "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7"
}
},
"node_modules/bson": {
- "version": "7.2.0",
- "resolved": "https://registry.npmjs.org/bson/-/bson-7.2.0.tgz",
- "integrity": "sha512-YCEo7KjMlbNlyHhz7zAZNDpIpQbd+wOEHJYezv0nMYTn4x31eIUM2yomNNubclAt63dObUzKHWsBLJ9QcZNSnQ==",
+ "version": "7.3.3",
+ "resolved": "https://registry.npmjs.org/bson/-/bson-7.3.3.tgz",
+ "integrity": "sha512-oz3LwE3qGEhTCSyhzQRLY3Bj1NLOsjFMf6tcmY5J8M+3R7EVcmoBfSHWvjUK3yXCLDUsGpIuB3aQL4nDZ1EV/g==",
"license": "Apache-2.0",
"engines": {
"node": ">=20.19.0"
}
},
+ "node_modules/cacheable": {
+ "version": "2.5.0",
+ "resolved": "https://registry.npmjs.org/cacheable/-/cacheable-2.5.0.tgz",
+ "integrity": "sha512-60cyAOytib/OzBw1JNSoSV/boK1AtHryDIjvVBk7XbN4ugfkM3+Sry7fEjNgPMGgOjuaZPAp8ruZ0Cxafwyq9g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@cacheable/memory": "^2.2.0",
+ "@cacheable/utils": "^2.5.0",
+ "hookified": "^1.15.0",
+ "keyv": "^5.6.0",
+ "qified": "^0.10.1"
+ }
+ },
+ "node_modules/caniuse-lite": {
+ "version": "1.0.30001819",
+ "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001819.tgz",
+ "integrity": "sha512-LFUqIIAwpzsIuevnKnsR9qnStBcgzPShTX61lBwN9uFkkf8o8zLiebEjbW8AYtZiF+1YKDWfdt/pWDtMuG8Xwg==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/browserslist"
+ },
+ {
+ "type": "tidelift",
+ "url": "https://tidelift.com/funding/github/npm/caniuse-lite"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "CC-BY-4.0"
+ },
"node_modules/cbor-extract": {
"version": "2.2.2",
"resolved": "https://registry.npmjs.org/cbor-extract/-/cbor-extract-2.2.2.tgz",
@@ -3965,18 +5885,18 @@
}
},
"node_modules/cbor-x": {
- "version": "1.6.4",
- "resolved": "https://registry.npmjs.org/cbor-x/-/cbor-x-1.6.4.tgz",
- "integrity": "sha512-UGKHjp6RHC6QuZ2yy5LCKm7MojM4716DwoSaqwQpaH4DvZvbBTGcoDNTiG9Y2lByXZYFEs9WRkS5tLl96IrF1Q==",
+ "version": "1.6.8",
+ "resolved": "https://registry.npmjs.org/cbor-x/-/cbor-x-1.6.8.tgz",
+ "integrity": "sha512-wUtIwq2J+Y2bEvDpdJj0z9QIX+PGMzms489HFvNwr0V8Zq3ejqOdZKTaTe6Zru8WU0IwuRDtpys3nUF4LDRKAQ==",
"license": "MIT",
"optionalDependencies": {
"cbor-extract": "^2.2.2"
}
},
"node_modules/chai": {
- "version": "6.2.2",
- "resolved": "https://registry.npmjs.org/chai/-/chai-6.2.2.tgz",
- "integrity": "sha512-NUPRluOfOiTKBKvWPtSD4PhFvWCqOi0BGStNWs57X9js7XGTprSmFoz5F0tWhR4WPjNeR9jXqdC7/UpSJTnlRg==",
+ "version": "6.3.0",
+ "resolved": "https://registry.npmjs.org/chai/-/chai-6.3.0.tgz",
+ "integrity": "sha512-XWAtwJ6OHO+tj0EKCs0Y2UamnyOxseZWltU4x2U2wh8g4AigdjwvtUjvLP2tqkA/avxHEtzxNaqGq/YGNwckKg==",
"dev": true,
"license": "MIT",
"engines": {
@@ -4030,6 +5950,7 @@
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/cookie/-/cookie-1.1.1.tgz",
"integrity": "sha512-ei8Aos7ja0weRpFzJnEA9UHJ/7XQmqglbRwnf2ATjcB9Wq874VKH9kfjjirM6UhU2/E5fFYadylyhFldcqSidQ==",
+ "dev": true,
"license": "MIT",
"engines": {
"node": ">=18"
@@ -4039,10 +5960,16 @@
"url": "https://opencollective.com/express"
}
},
+ "node_modules/cookie-es": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/cookie-es/-/cookie-es-3.1.1.tgz",
+ "integrity": "sha512-UaXxwISYJPTr9hwQxMFYZ7kNhSXboMXP+Z3TRX6f1/NyaGPfuNUZOWP1pUEb75B2HjfklIYLVRfWiFZJyC6Npg==",
+ "license": "MIT"
+ },
"node_modules/crelt": {
- "version": "1.0.6",
- "resolved": "https://registry.npmjs.org/crelt/-/crelt-1.0.6.tgz",
- "integrity": "sha512-VQ2MBenTq1fWZUH9DJNGti7kKv6EeAuYr3cLwxUWhIu1baTaXh4Ib5W2CqHVqib4/MqbYGJqiL3Zb8GJZr3l4g==",
+ "version": "1.0.7",
+ "resolved": "https://registry.npmjs.org/crelt/-/crelt-1.0.7.tgz",
+ "integrity": "sha512-aK6BbWfhf4U/wCcLHKPJl/xa6VkVstRaPywWtMKGwuOLc/wZTyQYuoxgvZnNsBvv7Kg3YTBQYYBCggcviQczuA==",
"license": "MIT"
},
"node_modules/cross-spawn": {
@@ -4089,17 +6016,17 @@
"license": "MIT"
},
"node_modules/data-urls": {
- "version": "7.0.0",
- "resolved": "https://registry.npmjs.org/data-urls/-/data-urls-7.0.0.tgz",
- "integrity": "sha512-23XHcCF+coGYevirZceTVD7NdJOqVn+49IHyxgszm+JIiHLoB2TkmPtsYkNWT1pvRSGkc35L6NHs0yHkN2SumA==",
+ "version": "8.0.0",
+ "resolved": "https://registry.npmjs.org/data-urls/-/data-urls-8.0.0.tgz",
+ "integrity": "sha512-JQUCCK+/CAGbGGx618PlFZMXH81Jtj7t73CHv9dd/zVWvxgGT2zLFRjnKb+Ng46GIwcy+f7f88qd4duqllK+WQ==",
"dev": true,
"license": "MIT",
"dependencies": {
"whatwg-mimetype": "^5.0.0",
- "whatwg-url": "^16.0.0"
+ "whatwg-url": "^17.1.2"
},
"engines": {
- "node": "^20.19.0 || ^22.12.0 || >=24.0.0"
+ "node": "^22.14.0 || >=24.0.0"
}
},
"node_modules/debug": {
@@ -4165,13 +6092,19 @@
"resolved": "https://registry.npmjs.org/dom-accessibility-api/-/dom-accessibility-api-0.5.16.tgz",
"integrity": "sha512-X7BJ2yElsnOJ30pZF4uIIDfBEVgF4XEBxL9Bxhy6dnrm5hkzqmsWHGTiHqRiITNhMyFLyAiWndIJP7Z1NTteDg==",
"dev": true,
- "license": "MIT",
- "peer": true
+ "license": "MIT"
+ },
+ "node_modules/electron-to-chromium": {
+ "version": "1.5.463",
+ "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.463.tgz",
+ "integrity": "sha512-nVWNU6ltFjopvOdD44J4zoBkgO0M+WZiFKKFV7EjebOH9z0KNphk6bCEjplXtJofL21ARIuuwWOCsFkBVklm6w==",
+ "dev": true,
+ "license": "ISC"
},
"node_modules/enhanced-resolve": {
- "version": "5.21.6",
- "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.21.6.tgz",
- "integrity": "sha512-aNnGCvbJ/RIyWo1IuhNdVjnNF+EjH9wpzpNHt+ci/m9He9LJvUN8wrCcXjp9cWsGNAuvSpVFTx/vraAFQ8qGjQ==",
+ "version": "5.26.0",
+ "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.26.0.tgz",
+ "integrity": "sha512-9vhedylFonb2YGogzUKX6+Ja72gOJbN1QHAqdrvqLwhdl/QWbKopzoUC9EbQNVsAns/bx/4uyqalrQAoy1IByw==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -4183,9 +6116,9 @@
}
},
"node_modules/entities": {
- "version": "8.0.0",
- "resolved": "https://registry.npmjs.org/entities/-/entities-8.0.0.tgz",
- "integrity": "sha512-zwfzJecQ/Uej6tusMqwAqU/6KL2XaB2VZ2Jg54Je6ahNBGNH6Ek6g3jjNCF0fG9EWQKGZNddNjU5F1ZQn/sBnA==",
+ "version": "8.1.0",
+ "resolved": "https://registry.npmjs.org/entities/-/entities-8.1.0.tgz",
+ "integrity": "sha512-kxL7msIffSuh9aaFAMD7rxAIuTRMAHMeBtgHW2yUdWw732ZNh4MehkF2gdjvtdmikkaIP9bFDDJOPlsvm7avrA==",
"dev": true,
"license": "BSD-2-Clause",
"engines": {
@@ -4195,13 +6128,75 @@
"url": "https://github.com/fb55/entities?sponsor=1"
}
},
+ "node_modules/error-stack-parser-es": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/error-stack-parser-es/-/error-stack-parser-es-1.0.5.tgz",
+ "integrity": "sha512-5qucVt2XcuGMcEGgWI7i+yZpmpByQ8J1lHhcL7PwqCwu9FPP3VUXzT4ltHe5i2z9dePwEHcDVOAfSnHsOlCXRA==",
+ "dev": true,
+ "license": "MIT",
+ "funding": {
+ "url": "https://github.com/sponsors/antfu"
+ }
+ },
"node_modules/es-module-lexer": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-2.1.0.tgz",
- "integrity": "sha512-n27zTYMjYu1aj4MjCWzSP7G9r75utsaoc8m61weK+W8JMBGGQybd43GstCXZ3WNmSFtGT9wi59qQTW6mhTR5LQ==",
+ "version": "2.3.2",
+ "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-2.3.2.tgz",
+ "integrity": "sha512-poHGpORABojJJucnV9KbOavETW8lBVnphkW77ER5/BQ5Fz7oXSoCNek7IH3vR5nRjdsEz926ibFYX8KtLQmdyw==",
"dev": true,
"license": "MIT"
},
+ "node_modules/esbuild": {
+ "version": "0.28.2",
+ "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.28.2.tgz",
+ "integrity": "sha512-HKVLS8dvII+xoKW9kmqxbRKrnWEXfJJr/FZhhJmiqIB0e053QNYFqOBouTMO/k5sID4MvCiUCvv8b9M4h32wIA==",
+ "dev": true,
+ "hasInstallScript": true,
+ "license": "MIT",
+ "bin": {
+ "esbuild": "bin/esbuild"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "optionalDependencies": {
+ "@esbuild/aix-ppc64": "0.28.2",
+ "@esbuild/android-arm": "0.28.2",
+ "@esbuild/android-arm64": "0.28.2",
+ "@esbuild/android-x64": "0.28.2",
+ "@esbuild/darwin-arm64": "0.28.2",
+ "@esbuild/darwin-x64": "0.28.2",
+ "@esbuild/freebsd-arm64": "0.28.2",
+ "@esbuild/freebsd-x64": "0.28.2",
+ "@esbuild/linux-arm": "0.28.2",
+ "@esbuild/linux-arm64": "0.28.2",
+ "@esbuild/linux-ia32": "0.28.2",
+ "@esbuild/linux-loong64": "0.28.2",
+ "@esbuild/linux-mips64el": "0.28.2",
+ "@esbuild/linux-ppc64": "0.28.2",
+ "@esbuild/linux-riscv64": "0.28.2",
+ "@esbuild/linux-s390x": "0.28.2",
+ "@esbuild/linux-x64": "0.28.2",
+ "@esbuild/netbsd-arm64": "0.28.2",
+ "@esbuild/netbsd-x64": "0.28.2",
+ "@esbuild/openbsd-arm64": "0.28.2",
+ "@esbuild/openbsd-x64": "0.28.2",
+ "@esbuild/openharmony-arm64": "0.28.2",
+ "@esbuild/sunos-x64": "0.28.2",
+ "@esbuild/win32-arm64": "0.28.2",
+ "@esbuild/win32-ia32": "0.28.2",
+ "@esbuild/win32-x64": "0.28.2"
+ }
+ },
+ "node_modules/escalade": {
+ "version": "3.2.0",
+ "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz",
+ "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
"node_modules/escape-string-regexp": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz",
@@ -4216,9 +6211,9 @@
}
},
"node_modules/eslint": {
- "version": "10.5.0",
- "resolved": "https://registry.npmjs.org/eslint/-/eslint-10.5.0.tgz",
- "integrity": "sha512-1y+7C+vi12bUK1IpZeaV3gsH9fHLBmPvYmPx42pvT/E9yG0IC8g3PUZZgp0+JLJl7ZDK0flc2gc+Aw9dpCvIsQ==",
+ "version": "10.13.0",
+ "resolved": "https://registry.npmjs.org/eslint/-/eslint-10.13.0.tgz",
+ "integrity": "sha512-UohDjD4zSzEwhf58M3O7vc/ycc8O1I7dNlhtD0WxE8Px8EHNJKtUwzBqrzeGhisRuv2ag4sAYswszCJRgKXYUg==",
"dev": true,
"license": "MIT",
"workspaces": [
@@ -4228,9 +6223,9 @@
"@eslint-community/eslint-utils": "^4.8.0",
"@eslint-community/regexpp": "^4.12.2",
"@eslint/config-array": "^0.23.5",
- "@eslint/config-helpers": "^0.6.0",
+ "@eslint/config-helpers": "^0.7.0",
"@eslint/core": "^1.2.1",
- "@eslint/plugin-kit": "^0.7.2",
+ "@eslint/plugin-kit": "^0.7.3",
"@humanfs/node": "^0.16.6",
"@humanwhocodes/module-importer": "^1.0.1",
"@humanwhocodes/retry": "^0.4.2",
@@ -4245,14 +6240,14 @@
"esquery": "^1.7.0",
"esutils": "^2.0.2",
"fast-deep-equal": "^3.1.3",
- "file-entry-cache": "^8.0.0",
+ "file-entry-cache": "11.1.5 || >11.1.6 <12",
"find-up": "^5.0.0",
"glob-parent": "^6.0.2",
"ignore": "^5.2.0",
"imurmurhash": "^0.1.4",
"is-glob": "^4.0.0",
"json-stable-stringify-without-jsonify": "^1.0.1",
- "minimatch": "^10.2.4",
+ "minimatch": "^10.2.5",
"natural-compare": "^1.4.0",
"optionator": "^0.9.3"
},
@@ -4275,22 +6270,29 @@
}
},
"node_modules/eslint-plugin-react-hooks": {
- "version": "5.2.0",
- "resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-5.2.0.tgz",
- "integrity": "sha512-+f15FfK64YQwZdJNELETdn5ibXEUQmW1DZL6KXhNnc2heoy/sg9VJJeT7n8TlMWouzWqSWavFkIhHyIbIAEapg==",
+ "version": "7.1.1",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-7.1.1.tgz",
+ "integrity": "sha512-f2I7Gw6JbvCexzIInuSbZpfdQ44D7iqdWX01FKLvrPgqxoE7oMj8clOfto8U6vYiz4yd5oKu39rRSVOe1zRu0g==",
"dev": true,
"license": "MIT",
+ "dependencies": {
+ "@babel/core": "^7.24.4",
+ "@babel/parser": "^7.24.4",
+ "hermes-parser": "^0.25.1",
+ "zod": "^3.25.0 || ^4.0.0",
+ "zod-validation-error": "^3.5.0 || ^4.0.0"
+ },
"engines": {
- "node": ">=10"
+ "node": ">=18"
},
"peerDependencies": {
- "eslint": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 || ^9.0.0"
+ "eslint": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 || ^9.0.0 || ^10.0.0"
}
},
"node_modules/eslint-plugin-react-refresh": {
- "version": "0.5.2",
- "resolved": "https://registry.npmjs.org/eslint-plugin-react-refresh/-/eslint-plugin-react-refresh-0.5.2.tgz",
- "integrity": "sha512-hmgTH57GfzoTFjVN0yBwTggnsVUF2tcqi7RJZHqi9lIezSs4eFyAMktA68YD4r5kNw1mxyY4dmkyoFDb3FIqrA==",
+ "version": "0.5.7",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-react-refresh/-/eslint-plugin-react-refresh-0.5.7.tgz",
+ "integrity": "sha512-XhJSzLljuYD4UjNuFGJu2v7aD3sqNVK12w5/DCUfrNfHWegZo2+TsavNx8MuxMwEquuFAzNbNfXKU0WoZ+YUIg==",
"dev": true,
"license": "MIT",
"peerDependencies": {
@@ -4329,19 +6331,6 @@
"url": "https://opencollective.com/eslint"
}
},
- "node_modules/eslint/node_modules/@eslint/js": {
- "version": "9.39.4",
- "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.39.4.tgz",
- "integrity": "sha512-nE7DEIchvtiFTwBw4Lfbu59PG+kCofhjsKaCWzxTpt4lfRjRMqG6uMBzKXuEcyXhOHoUp9riAm7/aWYGhXZ9cw==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
- },
- "funding": {
- "url": "https://eslint.org/donate"
- }
- },
"node_modules/espree": {
"version": "11.2.0",
"resolved": "https://registry.npmjs.org/espree/-/espree-11.2.0.tgz",
@@ -4417,9 +6406,9 @@
}
},
"node_modules/expect-type": {
- "version": "1.3.0",
- "resolved": "https://registry.npmjs.org/expect-type/-/expect-type-1.3.0.tgz",
- "integrity": "sha512-knvyeauYhqjOYvQ66MznSMs83wmHrCycNEN6Ao+2AeYEfxUIkuiVxdEa1qlGEPK+We3n0THiDciYSsCcgW/DoA==",
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/expect-type/-/expect-type-1.4.0.tgz",
+ "integrity": "sha512-KfYbmpRm0VbLjEvVa9yGwCi9GI34xvi7A/HXYWQO65CSD2u3MczUJSuwXKFIxlGsgBQizV9q5J9NHj4VG0n+pA==",
"dev": true,
"license": "Apache-2.0",
"engines": {
@@ -4448,9 +6437,9 @@
"license": "MIT"
},
"node_modules/fast-xml-builder": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/fast-xml-builder/-/fast-xml-builder-1.2.0.tgz",
- "integrity": "sha512-00aAWieqff+ZJhsXA4g1g7M8k+7AYoMUUHF+/zFb5U6Uv/P0Vl4QZo84/IcufzYalLuEj9928bXN9PbbFzMF0Q==",
+ "version": "1.3.1",
+ "resolved": "https://registry.npmjs.org/fast-xml-builder/-/fast-xml-builder-1.3.1.tgz",
+ "integrity": "sha512-pIM/1n3ntFXKYrUZwW7QCK0gAW7XY+wzj1YMIV3tLDvPj/V+zTGJK5e3/4WJfwj0qWw2ElNXiTixda/R+3YSug==",
"funding": [
{
"type": "github",
@@ -4459,14 +6448,14 @@
],
"license": "MIT",
"dependencies": {
- "path-expression-matcher": "^1.5.0",
- "xml-naming": "^0.1.0"
+ "path-expression-matcher": "^1.6.2",
+ "xml-naming": "^0.3.0"
}
},
"node_modules/fast-xml-parser": {
- "version": "5.8.0",
- "resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-5.8.0.tgz",
- "integrity": "sha512-6bIM7fsJxeo3uXv7OncQYsBAMPJ7V16Slahl/6M98C/i2q+vB1+4a0MtrvYwDFEUrwDSbAmeLDRXsOBwrL7yAg==",
+ "version": "5.11.2",
+ "resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-5.11.2.tgz",
+ "integrity": "sha512-R9iDuNrQYeQut46cn2r2wHKn4HYzVDvDm5J1wW+koZewykv0yuO2HChTYeZtrULyHIDM9cj9TUXloCsueCQUog==",
"funding": [
{
"type": "github",
@@ -4475,11 +6464,12 @@
],
"license": "MIT",
"dependencies": {
- "@nodable/entities": "^2.1.0",
+ "@nodable/entities": "^3.0.1",
"fast-xml-builder": "^1.2.0",
- "path-expression-matcher": "^1.5.0",
- "strnum": "^2.3.0",
- "xml-naming": "^0.1.0"
+ "is-unsafe": "^2.0.0",
+ "path-expression-matcher": "^1.6.2",
+ "strnum": "^2.4.2",
+ "xml-naming": "^0.3.0"
},
"bin": {
"fxparser": "src/cli/cli.js"
@@ -4520,28 +6510,22 @@
"license": "MIT"
},
"node_modules/file-entry-cache": {
- "version": "8.0.0",
- "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-8.0.0.tgz",
- "integrity": "sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==",
+ "version": "11.1.5",
+ "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-11.1.5.tgz",
+ "integrity": "sha512-+PFTHITI08JIGhnNpGNI8T8inUpgZfk3GNEqfT9R2zZV2iFXg3CvqzSl/uEhs7TSGujYRELEANyDvS8Fj7+S7Q==",
"dev": true,
"license": "MIT",
"dependencies": {
- "flat-cache": "^4.0.0"
- },
- "engines": {
- "node": ">=16.0.0"
+ "flat-cache": "^6.1.23"
}
},
"node_modules/file-selector": {
- "version": "2.1.2",
- "resolved": "https://registry.npmjs.org/file-selector/-/file-selector-2.1.2.tgz",
- "integrity": "sha512-QgXo+mXTe8ljeqUFaX3QVHc5osSItJ/Km+xpocx0aSqWGMSCf6qYs/VnzZgS864Pjn5iceMRFigeAV7AfTlaig==",
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/file-selector/-/file-selector-5.0.1.tgz",
+ "integrity": "sha512-v0g/PTeuQgvKCBrVRsfVudvwXlRHSWHEQkVgKawgCGHkEpKA1clp3Om5jvEVhz8G9W/mOYjJH9FhkH4C888PgQ==",
"license": "MIT",
- "dependencies": {
- "tslib": "^2.7.0"
- },
"engines": {
- "node": ">= 12"
+ "node": ">= 22"
}
},
"node_modules/find-up": {
@@ -4562,40 +6546,39 @@
}
},
"node_modules/flat-cache": {
- "version": "4.0.1",
- "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-4.0.1.tgz",
- "integrity": "sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw==",
+ "version": "6.1.23",
+ "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-6.1.23.tgz",
+ "integrity": "sha512-f++BY9pTk+983xK1FLzlLpmM0i0z+jHmx3QESGkURMXujQZz1k5wzwX6hjnQ8goaD0B+sYnDK1yZ6MTyZfUaqA==",
"dev": true,
"license": "MIT",
"dependencies": {
- "flatted": "^3.2.9",
- "keyv": "^4.5.4"
- },
- "engines": {
- "node": ">=16"
+ "cacheable": "^2.5.0",
+ "flatted": "^3.4.2",
+ "hookified": "^1.15.0"
}
},
"node_modules/flatted": {
- "version": "3.4.2",
- "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.4.2.tgz",
- "integrity": "sha512-PjDse7RzhcPkIJwy5t7KPWQSZ9cAbzQXcafsetQoD7sOJRQlGikNbx7yZp2OotDnJyrDcbyRq3Ttb18iYOqkxA==",
+ "version": "3.4.4",
+ "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.4.4.tgz",
+ "integrity": "sha512-5+ybhBZANEJxaH3X5evAFatUxLfEHSr7n6kYJ+1Qd0mUqr4eu9gIf6GDbWHf8RJijHrjjO8G+la14SlL2SeS1Q==",
"dev": true,
"license": "ISC"
},
"node_modules/formatly": {
- "version": "0.3.0",
- "resolved": "https://registry.npmjs.org/formatly/-/formatly-0.3.0.tgz",
- "integrity": "sha512-9XNj/o4wrRFyhSMJOvsuyMwy8aUfBaZ1VrqHVfohyXf0Sw0e+yfKG+xZaY3arGCOMdwFsqObtzVOc1gU9KiT9w==",
+ "version": "0.11.4",
+ "resolved": "https://registry.npmjs.org/formatly/-/formatly-0.11.4.tgz",
+ "integrity": "sha512-TeCC10lP8KCgoX+Fe5lryILIT0/Dy+nP0OSVnsuB5CwXoLuOdqxCYlPFF1inR8S/zTy1ec7TjhS2TeRKWzzImA==",
"dev": true,
"license": "MIT",
"dependencies": {
- "fd-package-json": "^2.0.0"
+ "fd-package-json": "^2.0.0",
+ "package-manager-detector": "^1.8.0"
},
"bin": {
"formatly": "bin/index.mjs"
},
"engines": {
- "node": ">=18.3.0"
+ "node": ">=18.14.0"
}
},
"node_modules/fsevents": {
@@ -4613,6 +6596,16 @@
"node": "^8.16.0 || ^10.6.0 || >=11.0.0"
}
},
+ "node_modules/gensync": {
+ "version": "1.0.0-beta.2",
+ "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz",
+ "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
"node_modules/get-nonce": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/get-nonce/-/get-nonce-1.0.1.tgz",
@@ -4623,9 +6616,9 @@
}
},
"node_modules/get-tsconfig": {
- "version": "4.14.0",
- "resolved": "https://registry.npmjs.org/get-tsconfig/-/get-tsconfig-4.14.0.tgz",
- "integrity": "sha512-yTb+8DXzDREzgvYmh6s9vHsSVCHeC0G3PI5bEXNBHtmshPnO+S5O7qgLEOn0I5QvMy6kpZN8K1NKGyilLb93wA==",
+ "version": "4.14.3",
+ "resolved": "https://registry.npmjs.org/get-tsconfig/-/get-tsconfig-4.14.3.tgz",
+ "integrity": "sha512-++QEw4DIY7WGoukz+/+A/8dGYPT9l9yIadnmSgZ8Rjr3YVSVDipQSO9CdnJo9ePqFqUUqh+wk9uIaoiAwsiPkA==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -4649,9 +6642,9 @@
}
},
"node_modules/globals": {
- "version": "17.6.0",
- "resolved": "https://registry.npmjs.org/globals/-/globals-17.6.0.tgz",
- "integrity": "sha512-sepffkT8stwnIYbsMBpoCHJuJM5l98FUF2AnE07hfvE0m/qp3R586hw4jF4uadbhvg1ooIdzuu7CsfD2jzCaNA==",
+ "version": "17.13.0",
+ "resolved": "https://registry.npmjs.org/globals/-/globals-17.13.0.tgz",
+ "integrity": "sha512-RwMTC61u7hrG3ZJMkZQOK4JLJrKS8QtoTii63EmWvFXHqycY9FObBJQCbsLxSO8kjKhWE5kV1GC+Vb1g3RI0Zg==",
"dev": true,
"license": "MIT",
"engines": {
@@ -4668,66 +6661,91 @@
"dev": true,
"license": "ISC"
},
- "node_modules/has-flag": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
- "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/html-encoding-sniffer": {
- "version": "6.0.0",
- "resolved": "https://registry.npmjs.org/html-encoding-sniffer/-/html-encoding-sniffer-6.0.0.tgz",
- "integrity": "sha512-CV9TW3Y3f8/wT0BRFc1/KAVQ3TUHiXmaAb6VW9vtiMFf7SLoMd1PdAc4W3KFOFETBJUb90KatHqlsZMWV+R9Gg==",
+ "node_modules/hashery": {
+ "version": "1.5.1",
+ "resolved": "https://registry.npmjs.org/hashery/-/hashery-1.5.1.tgz",
+ "integrity": "sha512-iZyKG96/JwPz1N55vj2Ie2vXbhu440zfUfJvSwEqEbeLluk7NnapfGqa7LH0mOsnDxTF85Mx8/dyR6HfqcbmbQ==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@exodus/bytes": "^1.6.0"
+ "hookified": "^1.15.0"
},
"engines": {
- "node": "^20.19.0 || ^22.12.0 || >=24.0.0"
+ "node": ">=20"
}
},
- "node_modules/html-escaper": {
- "version": "2.0.2",
- "resolved": "https://registry.npmjs.org/html-escaper/-/html-escaper-2.0.2.tgz",
- "integrity": "sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==",
+ "node_modules/hermes-estree": {
+ "version": "0.25.1",
+ "resolved": "https://registry.npmjs.org/hermes-estree/-/hermes-estree-0.25.1.tgz",
+ "integrity": "sha512-0wUoCcLp+5Ev5pDW2OriHC2MJCbwLwuRx+gAqMTOkGKJJiBCLjtrvy4PWUGn6MIVefecRpzoOZ/UV6iGdOr+Cw==",
"dev": true,
"license": "MIT"
},
- "node_modules/html-parse-stringify": {
- "version": "3.0.1",
- "resolved": "https://registry.npmjs.org/html-parse-stringify/-/html-parse-stringify-3.0.1.tgz",
- "integrity": "sha512-KknJ50kTInJ7qIScF3jeaFRpMpE8/lfiTdzf/twXyPBLAGrLRTmkz3AdTnKeh40X8k9L2fdYwEp/42WGXIRGcg==",
+ "node_modules/hermes-parser": {
+ "version": "0.25.1",
+ "resolved": "https://registry.npmjs.org/hermes-parser/-/hermes-parser-0.25.1.tgz",
+ "integrity": "sha512-6pEjquH3rqaI6cYAXYPcz9MS4rY6R4ngRgrgfDshRptUZIc3lw0MCIJIGDj9++mfySOuPTHB4nrSW99BCvOPIA==",
+ "dev": true,
"license": "MIT",
"dependencies": {
- "void-elements": "3.1.0"
+ "hermes-estree": "0.25.1"
+ }
+ },
+ "node_modules/hookified": {
+ "version": "1.15.1",
+ "resolved": "https://registry.npmjs.org/hookified/-/hookified-1.15.1.tgz",
+ "integrity": "sha512-MvG/clsADq1GPM2KGo2nyfaWVyn9naPiXrqIe4jYjXNZQt238kWyOGrsyc/DmRAQ+Re6yeo6yX/yoNCG5KAEVg==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/html-encoding-sniffer": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/html-encoding-sniffer/-/html-encoding-sniffer-7.0.0.tgz",
+ "integrity": "sha512-UikN5yr7xsCDAq87Or5or0PAlD3HJJOKVzM05az588WnpDJ4Ux7a2A53Qi6gofGg2/EtvF/H4hCi/TXfCW4Y6w==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@exodus/bytes": "^1.15.1"
+ },
+ "engines": {
+ "node": "^22.13.0 || >=24.0.0"
+ }
+ },
+ "node_modules/html-parse-stringify": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/html-parse-stringify/-/html-parse-stringify-4.0.1.tgz",
+ "integrity": "sha512-0zHsZJrK7S3K2aucXWL6ycoYJ/iNtIcFHC/nYQgFklPtrv5LpJctIiSCroWZWeuoXvuyFdzp6KzjJQ+OT5MfFw==",
+ "license": "MIT",
+ "funding": {
+ "url": "https://locize.com"
}
},
"node_modules/i18next": {
- "version": "23.16.8",
- "resolved": "https://registry.npmjs.org/i18next/-/i18next-23.16.8.tgz",
- "integrity": "sha512-06r/TitrM88Mg5FdUXAKL96dJMzgqLE5dv3ryBAra4KCwD9mJ4ndOTS95ZuymIGoE+2hzfdaMak2X11/es7ZWg==",
+ "version": "26.5.5",
+ "resolved": "https://registry.npmjs.org/i18next/-/i18next-26.5.5.tgz",
+ "integrity": "sha512-txdaNOlnZCdiTMSlEzl5hUJU8TC9R4J/RCR1G7XrDPbWT2t3mR142QPz84ZuZeXDt3yq+9zmsdPiakxYtmp3fw==",
"funding": [
{
"type": "individual",
- "url": "https://locize.com"
- },
- {
- "type": "individual",
- "url": "https://locize.com/i18next.html"
+ "url": "https://www.locize.com/i18next"
},
{
"type": "individual",
"url": "https://www.i18next.com/how-to/faq#i18next-is-awesome.-how-can-i-support-the-project"
+ },
+ {
+ "type": "individual",
+ "url": "https://www.locize.com"
}
],
"license": "MIT",
- "dependencies": {
- "@babel/runtime": "^7.23.2"
+ "peerDependencies": {
+ "typescript": "^5 || ^6 || ^7"
+ },
+ "peerDependenciesMeta": {
+ "typescript": {
+ "optional": true
+ }
}
},
"node_modules/i18next-browser-languagedetector": {
@@ -4799,6 +6817,18 @@
"dev": true,
"license": "MIT"
},
+ "node_modules/is-unsafe": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/is-unsafe/-/is-unsafe-2.0.2.tgz",
+ "integrity": "sha512-HgbIHPBH0KHHCcjLfGsCvhtPTVxjaAZlXjwdz7/GQC40SjSe4sfQsar8J5VFo8JOSbarkpV0OLG95bbaNd9aAQ==",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/NaturalIntelligence"
+ }
+ ],
+ "license": "MIT"
+ },
"node_modules/isexe": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz",
@@ -4806,45 +6836,6 @@
"dev": true,
"license": "ISC"
},
- "node_modules/istanbul-lib-coverage": {
- "version": "3.2.2",
- "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.2.tgz",
- "integrity": "sha512-O8dpsF+r0WV/8MNRKfnmrtCWhuKjxrq2w+jpzBL5UZKTi2LeVWnWOmWRxFlesJONmc+wLAGvKQZEOanko0LFTg==",
- "dev": true,
- "license": "BSD-3-Clause",
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/istanbul-lib-report": {
- "version": "3.0.1",
- "resolved": "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-3.0.1.tgz",
- "integrity": "sha512-GCfE1mtsHGOELCU8e/Z7YWzpmybrx/+dSTfLrvY8qRmaY6zXTKWn6WQIjaAFw069icm6GVMNkgu0NzI4iPZUNw==",
- "dev": true,
- "license": "BSD-3-Clause",
- "dependencies": {
- "istanbul-lib-coverage": "^3.0.0",
- "make-dir": "^4.0.0",
- "supports-color": "^7.1.0"
- },
- "engines": {
- "node": ">=10"
- }
- },
- "node_modules/istanbul-reports": {
- "version": "3.2.0",
- "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.2.0.tgz",
- "integrity": "sha512-HGYWWS/ehqTV3xN10i23tkPkpH46MLCIMFNCaaKNavAXTF1RkqxawEPtnjnGZ6XKSInBKkiOA5BKS+aZiY3AvA==",
- "dev": true,
- "license": "BSD-3-Clause",
- "dependencies": {
- "html-escaper": "^2.0.0",
- "istanbul-lib-report": "^3.0.0"
- },
- "engines": {
- "node": ">=8"
- }
- },
"node_modules/jiti": {
"version": "2.7.0",
"resolved": "https://registry.npmjs.org/jiti/-/jiti-2.7.0.tgz",
@@ -4859,12 +6850,13 @@
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",
"integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==",
+ "dev": true,
"license": "MIT"
},
"node_modules/js-yaml": {
- "version": "4.2.0",
- "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.2.0.tgz",
- "integrity": "sha512-ePWsvanv0DWuDRsW8dnt+R4jQ31SCRCQ7hhNcPXZPsoBZiemuZNYGf7adZdqX2D86j6rvKp3RpCxVTSb8WQlOw==",
+ "version": "5.5.0",
+ "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-5.5.0.tgz",
+ "integrity": "sha512-paNr4LFIFPjeeSmwNYdrb8FafLLG/Cr2Af3GjbsHJ5CxIjH4r0c2emlmRdAtpPAieP1gRVzk6buBbVP5gBMGAg==",
"funding": [
{
"type": "github",
@@ -4877,46 +6869,45 @@
],
"license": "MIT",
"dependencies": {
- "argparse": "^2.0.1"
+ "argparse": "^3.0.3"
},
"bin": {
- "js-yaml": "bin/js-yaml.js"
+ "js-yaml": "bin/js-yaml.mjs"
}
},
"node_modules/jsdom": {
- "version": "29.1.1",
- "resolved": "https://registry.npmjs.org/jsdom/-/jsdom-29.1.1.tgz",
- "integrity": "sha512-ECi4Fi2f7BdJtUKTflYRTiaMxIB0O6zfR1fX0GXpUrf6flp8QIYn1UT20YQqdSOfk2dfkCwS8LAFoJDEppNK5Q==",
+ "version": "30.1.3",
+ "resolved": "https://registry.npmjs.org/jsdom/-/jsdom-30.1.3.tgz",
+ "integrity": "sha512-hQMUPvRgN7KxsfIytDQji7bimuJeRQa6Qo5+iuiZQk5CafeRxLIA10/cG5YCBFNpD9RO3oqIiN4CO1Y44kxqXg==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@asamuzakjp/css-color": "^5.1.11",
- "@asamuzakjp/dom-selector": "^7.1.1",
+ "@asamuzakjp/css-color": "^7.1.3",
+ "@asamuzakjp/dom-selector": "^10.0.3",
"@bramus/specificity": "^2.4.2",
- "@csstools/css-syntax-patches-for-csstree": "^1.1.3",
- "@exodus/bytes": "^1.15.0",
+ "@csstools/css-syntax-patches-for-csstree": "^1.1.15",
+ "@exodus/bytes": "^1.16.0",
"css-tree": "^3.2.1",
- "data-urls": "^7.0.0",
+ "data-urls": "^8.0.0",
"decimal.js": "^10.6.0",
- "html-encoding-sniffer": "^6.0.0",
+ "html-encoding-sniffer": "^7.0.0",
"is-potential-custom-element-name": "^1.0.1",
- "lru-cache": "^11.3.5",
+ "lru-cache": "^11.5.3",
"parse5": "^8.0.1",
"saxes": "^6.0.0",
- "symbol-tree": "^3.2.4",
- "tough-cookie": "^6.0.1",
- "undici": "^7.25.0",
- "w3c-xmlserializer": "^5.0.0",
+ "tough-cookie": "^6.0.2",
+ "undici": "^8.12.1",
+ "w3c-xmlserializer": "^6.0.0",
"webidl-conversions": "^8.0.1",
"whatwg-mimetype": "^5.0.0",
- "whatwg-url": "^16.0.1",
+ "whatwg-url": "^17.2.0",
"xml-name-validator": "^5.0.0"
},
"engines": {
- "node": "^20.19.0 || ^22.13.0 || >=24.0.0"
+ "node": "^22.22.2 || ^24.15.0 || >=26.0.0"
},
"peerDependencies": {
- "canvas": "^3.0.0"
+ "canvas": "^3.2.3"
},
"peerDependenciesMeta": {
"canvas": {
@@ -4925,21 +6916,27 @@
}
},
"node_modules/jsdom/node_modules/lru-cache": {
- "version": "11.3.6",
- "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.3.6.tgz",
- "integrity": "sha512-Gf/KoL3C/MlI7Bt0PGI9I+TeTC/I6r/csU58N4BSNc4lppLBeKsOdFYkK+dX0ABDUMJNfCHTyPpzwwO21Awd3A==",
+ "version": "11.5.3",
+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.5.3.tgz",
+ "integrity": "sha512-U4N8FgzmWxc8k1VH8Kr6lQg18U7Fjvby6wXHVRX/ZZ7IwWbRMgrRbP0Wrb5q5NVinryp4SQampHKdvtecItxUg==",
"dev": true,
"license": "BlueOak-1.0.0",
"engines": {
"node": "20 || >=22"
}
},
- "node_modules/json-buffer": {
- "version": "3.0.1",
- "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz",
- "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==",
+ "node_modules/jsesc": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-3.1.0.tgz",
+ "integrity": "sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA==",
"dev": true,
- "license": "MIT"
+ "license": "MIT",
+ "bin": {
+ "jsesc": "bin/jsesc"
+ },
+ "engines": {
+ "node": ">=6"
+ }
},
"node_modules/json-schema-traverse": {
"version": "0.4.1",
@@ -4955,20 +6952,43 @@
"dev": true,
"license": "MIT"
},
+ "node_modules/json5": {
+ "version": "2.2.3",
+ "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz",
+ "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==",
+ "dev": true,
+ "license": "MIT",
+ "bin": {
+ "json5": "lib/cli.js"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
"node_modules/keyv": {
- "version": "4.5.4",
- "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz",
- "integrity": "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==",
+ "version": "5.6.0",
+ "resolved": "https://registry.npmjs.org/keyv/-/keyv-5.6.0.tgz",
+ "integrity": "sha512-CYDD3SOtsHtyXeEORYRx2qBtpDJFjRTGXUtmNEMGyzYOKj1TE3tycdlho7kA1Ufx9OYWZzg52QFBGALTirzDSw==",
"dev": true,
"license": "MIT",
"dependencies": {
- "json-buffer": "3.0.1"
+ "@keyv/serialize": "^1.1.1"
+ }
+ },
+ "node_modules/kleur": {
+ "version": "4.1.5",
+ "resolved": "https://registry.npmjs.org/kleur/-/kleur-4.1.5.tgz",
+ "integrity": "sha512-o+NO+8WrRiQEE4/7nwRJhN1HWpVmJm511pBHUxPLtp0BUISzlBplORYSmTclCnJvQq2tKu/sgl3xVpkc7ZWuQQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
}
},
"node_modules/knip": {
- "version": "6.16.1",
- "resolved": "https://registry.npmjs.org/knip/-/knip-6.16.1.tgz",
- "integrity": "sha512-TKMn1rxgH6h9vXR9Y0B+Cq7AdPTr9EI02IwoT65NzqYUkvoDQAaJ/aPybiFpAhZ1px6cNYYwXf86iHkBgzCo9w==",
+ "version": "6.42.1",
+ "resolved": "https://registry.npmjs.org/knip/-/knip-6.42.1.tgz",
+ "integrity": "sha512-gKJVsiT4LJQ0lfc8uSHOCzkOY8adAXNFGarIeODZbJOkBnQRVsG3e0UZFnO4LMwjA82A5tBWX/VgoeTYcjdKiQ==",
"dev": true,
"funding": [
{
@@ -4982,19 +7002,18 @@
],
"license": "ISC",
"dependencies": {
- "fdir": "^6.5.0",
- "formatly": "^0.3.0",
- "get-tsconfig": "4.14.0",
+ "formatly": "^0.11.4",
+ "get-tsconfig": "4.14.3",
"jiti": "^2.7.0",
- "oxc-parser": "^0.133.0",
- "oxc-resolver": "^11.20.0",
- "picomatch": "^4.0.4",
- "smol-toml": "^1.6.1",
+ "oxc-parser": "^0.154.0",
+ "oxc-resolver": "11.24.2",
+ "picomatch": "^4.0.7",
+ "smol-toml": "^1.9.0",
"strip-json-comments": "5.0.3",
- "tinyglobby": "^0.2.16",
- "unbash": "^3.0.0",
- "yaml": "^2.9.0",
- "zod": "^4.1.11"
+ "tinyglobby": "^0.2.17",
+ "unbash": "^6.0.0",
+ "yaml": "^2.9.1",
+ "zod": "^4.6.5"
},
"bin": {
"knip": "bin/knip.js",
@@ -5004,19 +7023,6 @@
"node": "^20.19.0 || >=22.12.0"
}
},
- "node_modules/knip/node_modules/strip-json-comments": {
- "version": "5.0.3",
- "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-5.0.3.tgz",
- "integrity": "sha512-1tB5mhVo7U+ETBKNf92xT4hrQa3pm0MZ0PQvuDnWgAAGHDsfp4lPSpiS6psrSiet87wyGPh9ft6wmhOMQ0hDiw==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=14.16"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
"node_modules/levn": {
"version": "0.4.1",
"resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz",
@@ -5174,6 +7180,9 @@
"arm64"
],
"dev": true,
+ "libc": [
+ "glibc"
+ ],
"license": "MPL-2.0",
"optional": true,
"os": [
@@ -5195,6 +7204,9 @@
"arm64"
],
"dev": true,
+ "libc": [
+ "musl"
+ ],
"license": "MPL-2.0",
"optional": true,
"os": [
@@ -5216,6 +7228,9 @@
"x64"
],
"dev": true,
+ "libc": [
+ "glibc"
+ ],
"license": "MPL-2.0",
"optional": true,
"os": [
@@ -5237,6 +7252,9 @@
"x64"
],
"dev": true,
+ "libc": [
+ "musl"
+ ],
"license": "MPL-2.0",
"optional": true,
"os": [
@@ -5308,25 +7326,29 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/loose-envify": {
- "version": "1.4.0",
- "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz",
- "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==",
- "license": "MIT",
+ "node_modules/lru-cache": {
+ "version": "5.1.1",
+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz",
+ "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==",
+ "dev": true,
+ "license": "ISC",
"dependencies": {
- "js-tokens": "^3.0.0 || ^4.0.0"
- },
- "bin": {
- "loose-envify": "cli.js"
+ "yallist": "^3.0.2"
}
},
"node_modules/lucide-react": {
- "version": "0.460.0",
- "resolved": "https://registry.npmjs.org/lucide-react/-/lucide-react-0.460.0.tgz",
- "integrity": "sha512-BVtq/DykVeIvRTJvRAgCsOwaGL8Un3Bxh8MbDxMhEWlZay3T4IpEKDEpwt5KZ0KJMHzgm6jrltxlT5eXOWXDHg==",
+ "version": "1.61.0",
+ "resolved": "https://registry.npmjs.org/lucide-react/-/lucide-react-1.61.0.tgz",
+ "integrity": "sha512-v2SQPPPNjnr+BlhL9Spuzmo5yR+hLkftfuE4E3jaxdNPgSH0hJKPcLJBP7yAta87jQNPsSERS59PJjCJ/CorBA==",
"license": "ISC",
"peerDependencies": {
- "react": "^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0-rc"
+ "@types/react": "*",
+ "react": "^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
}
},
"node_modules/lz-string": {
@@ -5335,7 +7357,6 @@
"integrity": "sha512-h5bgJWpxJNswbU7qCrV0tIKQCaS3blPDrqKWx+QxzuzL1zGUzij9XCWLrSLsJPu5t+eWA/ycetzYAO5IOMcWAQ==",
"dev": true,
"license": "MIT",
- "peer": true,
"bin": {
"lz-string": "bin/bin.js"
}
@@ -5351,33 +7372,17 @@
}
},
"node_modules/magicast": {
- "version": "0.5.2",
- "resolved": "https://registry.npmjs.org/magicast/-/magicast-0.5.2.tgz",
- "integrity": "sha512-E3ZJh4J3S9KfwdjZhe2afj6R9lGIN5Pher1pF39UGrXRqq/VDaGVIGN13BjHd2u8B61hArAGOnso7nBOouW3TQ==",
+ "version": "0.5.5",
+ "resolved": "https://registry.npmjs.org/magicast/-/magicast-0.5.5.tgz",
+ "integrity": "sha512-UicdXN8zQ3JHlxVq+28afMXPr1z7WNY6+7EJnzTdQWkTAlMLF5fNCCKxJHBQwGaNGR11581EiQmQzx73+MvszA==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@babel/parser": "^7.29.0",
- "@babel/types": "^7.29.0",
+ "@babel/parser": "^7.29.7",
+ "@babel/types": "^7.29.7",
"source-map-js": "^1.2.1"
}
},
- "node_modules/make-dir": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-4.0.0.tgz",
- "integrity": "sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "semver": "^7.5.3"
- },
- "engines": {
- "node": ">=10"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
"node_modules/mdn-data": {
"version": "2.27.1",
"resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.27.1.tgz",
@@ -5395,14 +7400,42 @@
"node": ">=4"
}
},
+ "node_modules/miniflare": {
+ "version": "5.20261019.1-beta",
+ "resolved": "https://registry.npmjs.org/miniflare/-/miniflare-5.20261019.1-beta.tgz",
+ "integrity": "sha512-1n7MN2UqZnPniyYAqNuV1YEAaja66ozKGVCc5ZTmYQhTubnoAwGLccwb+ZWYLOajuw3pOaJ70u//bZMuURlRew==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@cspotcode/source-map-support": "0.8.1",
+ "sharp": "0.35.5",
+ "undici": "7.29.1",
+ "workerd": "1.20261019.1",
+ "ws": "8.21.0",
+ "youch": "4.1.0-beta.10"
+ },
+ "engines": {
+ "node": ">=22.0.0"
+ }
+ },
+ "node_modules/miniflare/node_modules/undici": {
+ "version": "7.29.1",
+ "resolved": "https://registry.npmjs.org/undici/-/undici-7.29.1.tgz",
+ "integrity": "sha512-RYONW2MeafgYlkVOKYKkA/Ag7BmXqgIWCa8t1m0JcxrQg9pI9lEqRhAOruOBCbAohOa/gkCF+iPi9hrgvTzu6Q==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=20.18.1"
+ }
+ },
"node_modules/minimatch": {
- "version": "10.2.5",
- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.5.tgz",
- "integrity": "sha512-MULkVLfKGYDFYejP07QOurDLLQpcjk7Fw+7jXS2R2czRQzR56yHRveU5NDJEOviH+hETZKSkIk5c+T23GjFUMg==",
+ "version": "10.2.6",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.6.tgz",
+ "integrity": "sha512-vpLQEs+VLCr1nU0BXS07maYoFwlDAH0gngQuuttxIwutDFEMHq2blX+8vpgxDdK3J1PwjCJiep77OitTZ4Ll1A==",
"dev": true,
"license": "BlueOak-1.0.0",
"dependencies": {
- "brace-expansion": "^5.0.5"
+ "brace-expansion": "^5.0.8"
},
"engines": {
"node": "18 || 20 || >=22"
@@ -5419,9 +7452,9 @@
"license": "MIT"
},
"node_modules/nanoid": {
- "version": "3.3.12",
- "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.12.tgz",
- "integrity": "sha512-ZB9RH/39qpq5Vu6Y+NmUaFhQR6pp+M2Xt76XBnEwDaGcVAqhlvxrl3B2bKS5D3NH3QR76v3aSrKaF/Kiy7lEtQ==",
+ "version": "3.3.20",
+ "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.20.tgz",
+ "integrity": "sha512-uKdg2G3GNCKQn9byYOpxbGqrT2fGO5KRt5J/8b3pok8rT6qxGWF6hxMyJiEYtAf+FVyYuD9hRaDqX5uPFYJ4ZQ==",
"dev": true,
"funding": [
{
@@ -5459,25 +7492,29 @@
"node-gyp-build-optional-packages-test": "build-test.js"
}
},
- "node_modules/object-assign": {
- "version": "4.1.1",
- "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz",
- "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==",
+ "node_modules/node-releases": {
+ "version": "2.0.60",
+ "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.60.tgz",
+ "integrity": "sha512-OmO8+GM1JUZqXET720VrJCwkjUCXmCMQm0Z3UDDRbfNLHS4NEAvY60j5jiFv0tkKw2PNNlqOLhahVmwJIOLDIQ==",
+ "dev": true,
"license": "MIT",
"engines": {
- "node": ">=0.10.0"
+ "node": ">=18"
}
},
"node_modules/obug": {
- "version": "2.1.1",
- "resolved": "https://registry.npmjs.org/obug/-/obug-2.1.1.tgz",
- "integrity": "sha512-uTqF9MuPraAQ+IsnPf366RG4cP9RtUi7MLO1N3KEc+wb0a6yKpeL0lmk2IB1jY5KHPAlTc6T/JRdC/YqxHNwkQ==",
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/obug/-/obug-3.0.0.tgz",
+ "integrity": "sha512-5vvB5+W7ePv+p3uqxi+RcW1XAzLW0/hxt3/4X4Lc4qHudzOhmBiBwOY6DRob4WnanAEGvNcLjF+KNOufrUoEQw==",
"dev": true,
"funding": [
"https://github.com/sponsors/sxzz",
"https://opencollective.com/debug"
],
- "license": "MIT"
+ "license": "MIT",
+ "engines": {
+ "node": ">=12.20.0"
+ }
},
"node_modules/optionator": {
"version": "0.9.4",
@@ -5498,72 +7535,71 @@
}
},
"node_modules/oxc-parser": {
- "version": "0.133.0",
- "resolved": "https://registry.npmjs.org/oxc-parser/-/oxc-parser-0.133.0.tgz",
- "integrity": "sha512-661RSx+ZcjBmjBYid+Fpp/2F5EbtildpeoZh5HdgnGs+jZ03nqQEQW8yGkt4BGyOC3OMPDQQRl8M5kqD2/g6jw==",
+ "version": "0.154.0",
+ "resolved": "https://registry.npmjs.org/oxc-parser/-/oxc-parser-0.154.0.tgz",
+ "integrity": "sha512-Gr/6fkjZwi937c4Tsz8y0iO4U0FLPkZI6JSVucLAIvQyqh379px7RS8ORIc0HOORbFjXZ6zyqWLl53qxhSeofw==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@oxc-project/types": "^0.133.0"
+ "@oxc-project/types": "^0.154.0"
},
"engines": {
"node": "^20.19.0 || >=22.12.0"
},
"funding": {
- "url": "https://github.com/sponsors/Boshen"
+ "url": "https://github.com/sponsors/oxc-project"
},
"optionalDependencies": {
- "@oxc-parser/binding-android-arm-eabi": "0.133.0",
- "@oxc-parser/binding-android-arm64": "0.133.0",
- "@oxc-parser/binding-darwin-arm64": "0.133.0",
- "@oxc-parser/binding-darwin-x64": "0.133.0",
- "@oxc-parser/binding-freebsd-x64": "0.133.0",
- "@oxc-parser/binding-linux-arm-gnueabihf": "0.133.0",
- "@oxc-parser/binding-linux-arm-musleabihf": "0.133.0",
- "@oxc-parser/binding-linux-arm64-gnu": "0.133.0",
- "@oxc-parser/binding-linux-arm64-musl": "0.133.0",
- "@oxc-parser/binding-linux-ppc64-gnu": "0.133.0",
- "@oxc-parser/binding-linux-riscv64-gnu": "0.133.0",
- "@oxc-parser/binding-linux-riscv64-musl": "0.133.0",
- "@oxc-parser/binding-linux-s390x-gnu": "0.133.0",
- "@oxc-parser/binding-linux-x64-gnu": "0.133.0",
- "@oxc-parser/binding-linux-x64-musl": "0.133.0",
- "@oxc-parser/binding-openharmony-arm64": "0.133.0",
- "@oxc-parser/binding-wasm32-wasi": "0.133.0",
- "@oxc-parser/binding-win32-arm64-msvc": "0.133.0",
- "@oxc-parser/binding-win32-ia32-msvc": "0.133.0",
- "@oxc-parser/binding-win32-x64-msvc": "0.133.0"
+ "@oxc-parser/binding-android-arm-eabi": "0.154.0",
+ "@oxc-parser/binding-android-arm64": "0.154.0",
+ "@oxc-parser/binding-darwin-arm64": "0.154.0",
+ "@oxc-parser/binding-darwin-x64": "0.154.0",
+ "@oxc-parser/binding-freebsd-x64": "0.154.0",
+ "@oxc-parser/binding-linux-arm-gnueabihf": "0.154.0",
+ "@oxc-parser/binding-linux-arm-musleabihf": "0.154.0",
+ "@oxc-parser/binding-linux-arm64-gnu": "0.154.0",
+ "@oxc-parser/binding-linux-arm64-musl": "0.154.0",
+ "@oxc-parser/binding-linux-ppc64-gnu": "0.154.0",
+ "@oxc-parser/binding-linux-riscv64-gnu": "0.154.0",
+ "@oxc-parser/binding-linux-riscv64-musl": "0.154.0",
+ "@oxc-parser/binding-linux-s390x-gnu": "0.154.0",
+ "@oxc-parser/binding-linux-x64-gnu": "0.154.0",
+ "@oxc-parser/binding-linux-x64-musl": "0.154.0",
+ "@oxc-parser/binding-openharmony-arm64": "0.154.0",
+ "@oxc-parser/binding-win32-arm64-msvc": "0.154.0",
+ "@oxc-parser/binding-win32-ia32-msvc": "0.154.0",
+ "@oxc-parser/binding-win32-x64-msvc": "0.154.0"
}
},
"node_modules/oxc-resolver": {
- "version": "11.20.0",
- "resolved": "https://registry.npmjs.org/oxc-resolver/-/oxc-resolver-11.20.0.tgz",
- "integrity": "sha512-CblytBiV/a/ZXY34dsVU2NxhIOxMXst8CvDCtyBelVITgd7PLrKzbEbA6oKLdPjvDKDzCiW48qzmzZ+mYaqn+g==",
+ "version": "11.24.2",
+ "resolved": "https://registry.npmjs.org/oxc-resolver/-/oxc-resolver-11.24.2.tgz",
+ "integrity": "sha512-FY91FiDBj7ls5MsFS9jN3tjz2o0/zsdSsymlakySaBwVJZorHhkWyICLZMKxlu1R9vYo+sd3z1jwb4J8x7bNDw==",
"dev": true,
"license": "MIT",
"funding": {
"url": "https://github.com/sponsors/Boshen"
},
"optionalDependencies": {
- "@oxc-resolver/binding-android-arm-eabi": "11.20.0",
- "@oxc-resolver/binding-android-arm64": "11.20.0",
- "@oxc-resolver/binding-darwin-arm64": "11.20.0",
- "@oxc-resolver/binding-darwin-x64": "11.20.0",
- "@oxc-resolver/binding-freebsd-x64": "11.20.0",
- "@oxc-resolver/binding-linux-arm-gnueabihf": "11.20.0",
- "@oxc-resolver/binding-linux-arm-musleabihf": "11.20.0",
- "@oxc-resolver/binding-linux-arm64-gnu": "11.20.0",
- "@oxc-resolver/binding-linux-arm64-musl": "11.20.0",
- "@oxc-resolver/binding-linux-ppc64-gnu": "11.20.0",
- "@oxc-resolver/binding-linux-riscv64-gnu": "11.20.0",
- "@oxc-resolver/binding-linux-riscv64-musl": "11.20.0",
- "@oxc-resolver/binding-linux-s390x-gnu": "11.20.0",
- "@oxc-resolver/binding-linux-x64-gnu": "11.20.0",
- "@oxc-resolver/binding-linux-x64-musl": "11.20.0",
- "@oxc-resolver/binding-openharmony-arm64": "11.20.0",
- "@oxc-resolver/binding-wasm32-wasi": "11.20.0",
- "@oxc-resolver/binding-win32-arm64-msvc": "11.20.0",
- "@oxc-resolver/binding-win32-x64-msvc": "11.20.0"
+ "@oxc-resolver/binding-android-arm-eabi": "11.24.2",
+ "@oxc-resolver/binding-android-arm64": "11.24.2",
+ "@oxc-resolver/binding-darwin-arm64": "11.24.2",
+ "@oxc-resolver/binding-darwin-x64": "11.24.2",
+ "@oxc-resolver/binding-freebsd-x64": "11.24.2",
+ "@oxc-resolver/binding-linux-arm-gnueabihf": "11.24.2",
+ "@oxc-resolver/binding-linux-arm-musleabihf": "11.24.2",
+ "@oxc-resolver/binding-linux-arm64-gnu": "11.24.2",
+ "@oxc-resolver/binding-linux-arm64-musl": "11.24.2",
+ "@oxc-resolver/binding-linux-ppc64-gnu": "11.24.2",
+ "@oxc-resolver/binding-linux-riscv64-gnu": "11.24.2",
+ "@oxc-resolver/binding-linux-riscv64-musl": "11.24.2",
+ "@oxc-resolver/binding-linux-s390x-gnu": "11.24.2",
+ "@oxc-resolver/binding-linux-x64-gnu": "11.24.2",
+ "@oxc-resolver/binding-linux-x64-musl": "11.24.2",
+ "@oxc-resolver/binding-openharmony-arm64": "11.24.2",
+ "@oxc-resolver/binding-wasm32-wasi": "11.24.2",
+ "@oxc-resolver/binding-win32-arm64-msvc": "11.24.2",
+ "@oxc-resolver/binding-win32-x64-msvc": "11.24.2"
}
},
"node_modules/p-limit": {
@@ -5598,10 +7634,17 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
+ "node_modules/package-manager-detector": {
+ "version": "1.9.0",
+ "resolved": "https://registry.npmjs.org/package-manager-detector/-/package-manager-detector-1.9.0.tgz",
+ "integrity": "sha512-zAMfbta9nPA8AKkA4WdmNAT8R8s6Dk0/xwPsqNnRidMFcLo1YkLuPDTgs2f64XdzS8vbLNnoJ+uUIkgbz7oRHA==",
+ "dev": true,
+ "license": "MIT"
+ },
"node_modules/papaparse": {
- "version": "5.5.3",
- "resolved": "https://registry.npmjs.org/papaparse/-/papaparse-5.5.3.tgz",
- "integrity": "sha512-5QvjGxYVjxO59MGU2lHVYpRWBBtKHnlIAcSe1uNFCkkptUh63NFRj0FJQm7nR67puEruUci/ZkjmEFrjCAyP4A==",
+ "version": "5.7.0",
+ "resolved": "https://registry.npmjs.org/papaparse/-/papaparse-5.7.0.tgz",
+ "integrity": "sha512-qBGxg/7Q3Kl9Wfhrz2Z74UnvnHTXLNG6jmKJFeBvP2+y4lV7So+7SR62+Zd47JvdrCkX+nDcnr0ObPzek/+6RA==",
"license": "MIT"
},
"node_modules/parse5": {
@@ -5628,9 +7671,9 @@
}
},
"node_modules/path-expression-matcher": {
- "version": "1.5.0",
- "resolved": "https://registry.npmjs.org/path-expression-matcher/-/path-expression-matcher-1.5.0.tgz",
- "integrity": "sha512-cbrerZV+6rvdQrrD+iGMcZFEiiSrbv9Tfdkvnusy6y0x0GKBXREFg/Y65GhIfm0tnLntThhzCnfKwp1WRjeCyQ==",
+ "version": "1.6.2",
+ "resolved": "https://registry.npmjs.org/path-expression-matcher/-/path-expression-matcher-1.6.2.tgz",
+ "integrity": "sha512-enSlaiat05iasnzmgNxRj8reFdj3puY2QpNgP1aPIaVfT6nn9ICuPoFlKHk8EN22HcwewshO+mN2DGbkCEOtqQ==",
"funding": [
{
"type": "github",
@@ -5652,6 +7695,13 @@
"node": ">=8"
}
},
+ "node_modules/path-to-regexp": {
+ "version": "6.3.0",
+ "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-6.3.0.tgz",
+ "integrity": "sha512-Yhpw4T9C6hPpgPeA28us07OJeqZ5EzQTkbfwuhsUg0c237RomFoETJgmp2sa3F/41gfLE6G5cqcYwznmeEeOlQ==",
+ "dev": true,
+ "license": "MIT"
+ },
"node_modules/pathe": {
"version": "2.0.3",
"resolved": "https://registry.npmjs.org/pathe/-/pathe-2.0.3.tgz",
@@ -5667,9 +7717,9 @@
"license": "ISC"
},
"node_modules/picomatch": {
- "version": "4.0.4",
- "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.4.tgz",
- "integrity": "sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A==",
+ "version": "4.0.7",
+ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.7.tgz",
+ "integrity": "sha512-qcJu88Q2IWqJsDD529JKMdwGm/dvInW4HvQnRwiH9JtihJvzGOscDtHE3x1pBKeUOTysQ8kVmLnJ2kJu7yhcGA==",
"dev": true,
"license": "MIT",
"engines": {
@@ -5680,9 +7730,9 @@
}
},
"node_modules/postcss": {
- "version": "8.5.15",
- "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.15.tgz",
- "integrity": "sha512-FfR8sjd4em2T6fb3I2MwAJU7HWVMr9zba+enmQeeWFfCbm+UOC/0X4DS8XtpUTMwWMGbjKYP7xjfNekzyGmB3A==",
+ "version": "8.5.31",
+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.31.tgz",
+ "integrity": "sha512-YUbWYCgErwnMAVkjUnYa+KlMBzGpHwiIt/DE7f0G33AuX2LH9UcTk6KgWxd3zRU+pN3u/C+Xl3EnMLM4Hea7Sg==",
"dev": true,
"funding": [
{
@@ -5700,9 +7750,9 @@
],
"license": "MIT",
"dependencies": {
- "nanoid": "^3.3.12",
+ "nanoid": "^3.3.20",
"picocolors": "^1.1.1",
- "source-map-js": "^1.2.1"
+ "source-map-js": "^1.2.2"
},
"engines": {
"node": "^10 || ^12 || >=14"
@@ -5719,9 +7769,9 @@
}
},
"node_modules/prettier": {
- "version": "3.8.4",
- "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.8.4.tgz",
- "integrity": "sha512-N2MylSdi48+5N/6S5j+maeHbUSIzzZ5uOcX5Hm4QpV8Dkb1HFjfAKTKX6yNPJQD9AhcT3ifHNB66tWTTJDi11Q==",
+ "version": "3.9.10",
+ "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.9.10.tgz",
+ "integrity": "sha512-skGHTH1Yb9QvaTC4hWnRTzEYtCpApF0UMBPz+t/0ZPzP8ihefo/btKd+QA7pUE0fEwA1SbS/NmhyEcstdXOIdA==",
"dev": true,
"license": "MIT",
"bin": {
@@ -5735,9 +7785,9 @@
}
},
"node_modules/prettier-plugin-tailwindcss": {
- "version": "0.8.0",
- "resolved": "https://registry.npmjs.org/prettier-plugin-tailwindcss/-/prettier-plugin-tailwindcss-0.8.0.tgz",
- "integrity": "sha512-V8ITGH87yuBDF6JpEZTOVlUz/saAwqb8f3HRgUj8Lh+tGCcrmorhsLpYqzygwFwK0PE2Ib6Mv3M7T/uE2tZV1g==",
+ "version": "0.8.1",
+ "resolved": "https://registry.npmjs.org/prettier-plugin-tailwindcss/-/prettier-plugin-tailwindcss-0.8.1.tgz",
+ "integrity": "sha512-iaFMYqDsE4ffdDkn5qup0j5f2aCEBFZrdrZnvu9QKTlWx/iGPeQ4HHu7b7fCPMxeo9nwQBiOAh2nSypdFYWJkw==",
"dev": true,
"license": "MIT",
"engines": {
@@ -5819,7 +7869,6 @@
"integrity": "sha512-Qb1gy5OrP5+zDf2Bvnzdl3jsTf1qXVMazbvCoKhtKqVs4/YK4ozX4gKQJJVyNe+cajNPn0KoC0MC3FUmaHWEmQ==",
"dev": true,
"license": "MIT",
- "peer": true,
"dependencies": {
"ansi-regex": "^5.0.1",
"ansi-styles": "^5.0.0",
@@ -5829,37 +7878,6 @@
"node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0"
}
},
- "node_modules/pretty-format/node_modules/ansi-styles": {
- "version": "5.2.0",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz",
- "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==",
- "dev": true,
- "license": "MIT",
- "peer": true,
- "engines": {
- "node": ">=10"
- },
- "funding": {
- "url": "https://github.com/chalk/ansi-styles?sponsor=1"
- }
- },
- "node_modules/prop-types": {
- "version": "15.8.1",
- "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz",
- "integrity": "sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==",
- "license": "MIT",
- "dependencies": {
- "loose-envify": "^1.4.0",
- "object-assign": "^4.1.1",
- "react-is": "^16.13.1"
- }
- },
- "node_modules/prop-types/node_modules/react-is": {
- "version": "16.13.1",
- "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz",
- "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==",
- "license": "MIT"
- },
"node_modules/punycode": {
"version": "2.3.1",
"resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz",
@@ -5870,57 +7888,83 @@
"node": ">=6"
}
},
+ "node_modules/qified": {
+ "version": "0.10.1",
+ "resolved": "https://registry.npmjs.org/qified/-/qified-0.10.1.tgz",
+ "integrity": "sha512-+Owyggi9IxT1ePKGafcI87ubSmxol6smwJ+RAHDQlx9+9cPwFWDiKFFCPuWhr9ignlGpZ9vDQLw67N4dcTVFEA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "hookified": "^2.1.1"
+ },
+ "engines": {
+ "node": ">=20"
+ }
+ },
+ "node_modules/qified/node_modules/hookified": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/hookified/-/hookified-2.2.0.tgz",
+ "integrity": "sha512-p/LgFzRN5FeoD3DLS6bkUapeye6E4SI6yJs6KetENd18S+FBthqYq2amJUWpt5z0EQwwHemidjY5OqJGEKm5uA==",
+ "dev": true,
+ "license": "MIT"
+ },
"node_modules/react": {
- "version": "19.2.7",
- "resolved": "https://registry.npmjs.org/react/-/react-19.2.7.tgz",
- "integrity": "sha512-HNe9WslTbXmFK8o8cmwgAeJFSBvt1bPdHCVKtaaV+WlAN36mpT4hcRpwbf3fY56ar2oIXzsBpOAiIRHAdY0OlQ==",
+ "version": "19.3.1",
+ "resolved": "https://registry.npmjs.org/react/-/react-19.3.1.tgz",
+ "integrity": "sha512-QNhWdt7nrgVWWQG58QuGsAR3jv3Hbe4mb4vz7w2csnHavciZJgda1CPNaldF6eVxv90ud3jUXpKlHL69gO38yw==",
"license": "MIT",
"engines": {
"node": ">=0.10.0"
}
},
"node_modules/react-dom": {
- "version": "19.2.7",
- "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-19.2.7.tgz",
- "integrity": "sha512-t0BRVXvbiE/o20Hfw669rLbMCDWtYZLvmJigy2f0MxsXF+71pxhR3xOkspmsO8h3ZlNzyibAmtCa3l4lYKk6gQ==",
+ "version": "19.3.1",
+ "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-19.3.1.tgz",
+ "integrity": "sha512-Y0bARz53lhEC1NMCASs0/j+faB/zqt3R8hpvg1e8+61ZVJ4UL0UdC4cBbXfZMcIuhrfgeILTLe+ZeBCavQPtKQ==",
"license": "MIT",
"dependencies": {
- "scheduler": "^0.27.0"
+ "scheduler": "^0.28.0"
},
"peerDependencies": {
- "react": "^19.2.7"
+ "react": "^19.3.1"
}
},
"node_modules/react-dropzone": {
- "version": "14.4.1",
- "resolved": "https://registry.npmjs.org/react-dropzone/-/react-dropzone-14.4.1.tgz",
- "integrity": "sha512-QDuV76v3uKbHiH34SpwifZ+gOLi1+RdsCO1kl5vxMT4wW8R82+sthjvBw4th3NHF/XX6FBsqDYZVNN+pnhaw0g==",
+ "version": "20.1.4",
+ "resolved": "https://registry.npmjs.org/react-dropzone/-/react-dropzone-20.1.4.tgz",
+ "integrity": "sha512-LyjT9iQySNkJGC6yL+XTlmfTRxHhPx0eSoTh+WlR0Ge+W35rLcRH/oH7w5bzijfPHeCFcLnO9G7i+hX+LINAAA==",
"license": "MIT",
"dependencies": {
- "attr-accept": "^2.2.4",
- "file-selector": "^2.1.0",
- "prop-types": "^15.8.1"
+ "attr-accept": "^4.0.0",
+ "file-selector": "^5.0.1"
},
"engines": {
- "node": ">= 10.13"
+ "node": ">= 22"
},
"peerDependencies": {
- "react": ">= 16.8 || 18.0.0"
+ "@types/react": "*",
+ "react": ">= 18"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
}
},
"node_modules/react-i18next": {
- "version": "15.7.4",
- "resolved": "https://registry.npmjs.org/react-i18next/-/react-i18next-15.7.4.tgz",
- "integrity": "sha512-nyU8iKNrI5uDJch0z9+Y5XEr34b0wkyYj3Rp+tfbahxtlswxSCjcUL9H0nqXo9IR3/t5Y5PKIA3fx3MfUyR9Xw==",
+ "version": "17.1.1",
+ "resolved": "https://registry.npmjs.org/react-i18next/-/react-i18next-17.1.1.tgz",
+ "integrity": "sha512-Q76xpzxrZNcqhB7M31Ns7isulGOlmhURqRsJOGlYgJJCyoy1pMq6tRl8KQycGNNY1vPaxbIdrogrqY9nkb+SEA==",
"license": "MIT",
"dependencies": {
- "@babel/runtime": "^7.27.6",
- "html-parse-stringify": "^3.0.1"
+ "@babel/runtime": "^7.29.7",
+ "html-parse-stringify": "^4.0.1",
+ "use-sync-external-store": "^1.6.0"
},
"peerDependencies": {
- "i18next": ">= 23.4.0",
+ "i18next": ">= 26.2.0",
"react": ">= 16.8.0",
- "typescript": "^5"
+ "typescript": "^5 || ^6 || ^7"
},
"peerDependenciesMeta": {
"react-dom": {
@@ -5939,8 +7983,7 @@
"resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz",
"integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==",
"dev": true,
- "license": "MIT",
- "peer": true
+ "license": "MIT"
},
"node_modules/react-remove-scroll": {
"version": "2.7.2",
@@ -5990,43 +8033,35 @@
}
},
"node_modules/react-router": {
- "version": "7.17.0",
- "resolved": "https://registry.npmjs.org/react-router/-/react-router-7.17.0.tgz",
- "integrity": "sha512-FDELK7rTMlCHO5+reyXsPlmfr7N1F91lPHsWYfMEGQm/KQ+F4JFM8jGoeQDmDvdTs93Fw9aSilH+uKRb4/jXvQ==",
+ "version": "8.5.0",
+ "resolved": "https://registry.npmjs.org/react-router/-/react-router-8.5.0.tgz",
+ "integrity": "sha512-9nEd/deifcTJIIcUaNIyQGkyXD0D6QVB9XD2O5GgHpP3xu3U5RXm87YQ8++Wn8JQWgMBM/5+PjWPM/7n7O7WHA==",
"license": "MIT",
"dependencies": {
- "cookie": "^1.0.1",
- "set-cookie-parser": "^2.6.0"
+ "@remix-run/route-pattern": "^0.22.1",
+ "cookie-es": "^3.1.1"
},
"engines": {
- "node": ">=20.0.0"
+ "node": ">=22.22.0"
},
"peerDependencies": {
- "react": ">=18",
- "react-dom": ">=18"
+ "@types/react": ">=19.2.0",
+ "@types/react-dom": ">=19.2.0",
+ "react": ">=19.2.7",
+ "react-dom": ">=19.2.7"
},
"peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ },
"react-dom": {
"optional": true
}
}
},
- "node_modules/react-router-dom": {
- "version": "7.17.0",
- "resolved": "https://registry.npmjs.org/react-router-dom/-/react-router-dom-7.17.0.tgz",
- "integrity": "sha512-fyU2yjGups/hE6Xz0I5ZYbVL8Gx29eCjgpHaRaTaVU+OOAdfRX05KsvyRm0GO8YQwOkhpU3MurW1jyMUJn+zSw==",
- "license": "MIT",
- "dependencies": {
- "react-router": "7.17.0"
- },
- "engines": {
- "node": ">=20.0.0"
- },
- "peerDependencies": {
- "react": ">=18",
- "react-dom": ">=18"
- }
- },
"node_modules/react-style-singleton": {
"version": "2.2.3",
"resolved": "https://registry.npmjs.org/react-style-singleton/-/react-style-singleton-2.2.3.tgz",
@@ -6084,13 +8119,13 @@
}
},
"node_modules/rolldown": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/rolldown/-/rolldown-1.0.3.tgz",
- "integrity": "sha512-i00lAJ2ks1BYr7rjNjKC7BcqAS7nVfiT3QX1SI5aY+AFHblCmaUf9OE9dbdzDvW6dJxbi2ZCZiy9v3CcwOiX3g==",
+ "version": "1.2.15",
+ "resolved": "https://registry.npmjs.org/rolldown/-/rolldown-1.2.15.tgz",
+ "integrity": "sha512-6odND+fel5zVw3I4Yc2e69gvguDnX0CAAGiNDZSq4ik5WUcaLrkD2GLuog0XcODbor31hZ5ayEMgVDno+KPV5g==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@oxc-project/types": "=0.133.0",
+ "@oxc-project/types": "=0.155.0",
"@rolldown/pluginutils": "^1.0.0"
},
"bin": {
@@ -6100,21 +8135,31 @@
"node": "^20.19.0 || >=22.12.0"
},
"optionalDependencies": {
- "@rolldown/binding-android-arm64": "1.0.3",
- "@rolldown/binding-darwin-arm64": "1.0.3",
- "@rolldown/binding-darwin-x64": "1.0.3",
- "@rolldown/binding-freebsd-x64": "1.0.3",
- "@rolldown/binding-linux-arm-gnueabihf": "1.0.3",
- "@rolldown/binding-linux-arm64-gnu": "1.0.3",
- "@rolldown/binding-linux-arm64-musl": "1.0.3",
- "@rolldown/binding-linux-ppc64-gnu": "1.0.3",
- "@rolldown/binding-linux-s390x-gnu": "1.0.3",
- "@rolldown/binding-linux-x64-gnu": "1.0.3",
- "@rolldown/binding-linux-x64-musl": "1.0.3",
- "@rolldown/binding-openharmony-arm64": "1.0.3",
- "@rolldown/binding-wasm32-wasi": "1.0.3",
- "@rolldown/binding-win32-arm64-msvc": "1.0.3",
- "@rolldown/binding-win32-x64-msvc": "1.0.3"
+ "@rolldown/binding-android-arm-eabi": "1.2.15",
+ "@rolldown/binding-android-arm64": "1.2.15",
+ "@rolldown/binding-darwin-arm64": "1.2.15",
+ "@rolldown/binding-darwin-x64": "1.2.15",
+ "@rolldown/binding-freebsd-x64": "1.2.15",
+ "@rolldown/binding-linux-arm-gnueabihf": "1.2.15",
+ "@rolldown/binding-linux-arm64-gnu": "1.2.15",
+ "@rolldown/binding-linux-arm64-musl": "1.2.15",
+ "@rolldown/binding-linux-ppc64-gnu": "1.2.15",
+ "@rolldown/binding-linux-s390x-gnu": "1.2.15",
+ "@rolldown/binding-linux-x64-gnu": "1.2.15",
+ "@rolldown/binding-linux-x64-musl": "1.2.15",
+ "@rolldown/binding-openharmony-arm64": "1.2.15",
+ "@rolldown/binding-win32-arm64-msvc": "1.2.15",
+ "@rolldown/binding-win32-x64-msvc": "1.2.15"
+ }
+ },
+ "node_modules/rolldown/node_modules/@oxc-project/types": {
+ "version": "0.155.0",
+ "resolved": "https://registry.npmjs.org/@oxc-project/types/-/types-0.155.0.tgz",
+ "integrity": "sha512-SeE8JPwW1xs1tHeNycjUtUBdhorRa8o4jlvjwk49R7/Z291i+4DQa7JJIgOm/TaYQZx+QrPQbVJ/9c8dMIZN8Q==",
+ "dev": true,
+ "license": "MIT",
+ "funding": {
+ "url": "https://github.com/sponsors/oxc-project"
}
},
"node_modules/saxes": {
@@ -6131,15 +8176,75 @@
}
},
"node_modules/scheduler": {
- "version": "0.27.0",
- "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.27.0.tgz",
- "integrity": "sha512-eNv+WrVbKu1f3vbYJT/xtiF5syA5HPIMtf9IgY/nKg0sWqzAUEvqY/xm7OcZc/qafLx/iO9FgOmeSAp4v5ti/Q==",
+ "version": "0.28.0",
+ "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.28.0.tgz",
+ "integrity": "sha512-juorfCmIkIw8tT+p5BXSm6PJjQF/ycEYmKyzURCIt/RaZIhL+PulbQ9Yu2z1HdOJDdqDTlxA1+xKBmHXJsczAw==",
"license": "MIT"
},
"node_modules/semver": {
- "version": "7.8.4",
- "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.4.tgz",
- "integrity": "sha512-rUCObTnP32Q08R2uuIrt7r9PlEonuTmtuXYcW6s5kjdlj3xbnwe+21yXptAUYcMAABLkYYTtnmzb3w3EDZfueA==",
+ "version": "6.3.1",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz",
+ "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==",
+ "dev": true,
+ "license": "ISC",
+ "bin": {
+ "semver": "bin/semver.js"
+ }
+ },
+ "node_modules/sharp": {
+ "version": "0.35.5",
+ "resolved": "https://registry.npmjs.org/sharp/-/sharp-0.35.5.tgz",
+ "integrity": "sha512-Ywn4OnzGukp7CDMrp08RQ50YKmuwG47brZgIVPTvBaaAfQlRlygrRqSrxdCiL9M+LlzLBiJ68IR1QqvzHyjC7g==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "dependencies": {
+ "@img/colour": "^1.1.0",
+ "detect-libc": "^2.1.2",
+ "semver": "^7.8.5"
+ },
+ "engines": {
+ "node": ">=20.9.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ },
+ "optionalDependencies": {
+ "@img/sharp-darwin-arm64": "0.35.5",
+ "@img/sharp-darwin-x64": "0.35.5",
+ "@img/sharp-freebsd-wasm32": "0.35.5",
+ "@img/sharp-libvips-darwin-arm64": "1.3.4",
+ "@img/sharp-libvips-darwin-x64": "1.3.4",
+ "@img/sharp-libvips-linux-arm": "1.3.4",
+ "@img/sharp-libvips-linux-arm64": "1.3.4",
+ "@img/sharp-libvips-linux-ppc64": "1.3.4",
+ "@img/sharp-libvips-linux-riscv64": "1.3.4",
+ "@img/sharp-libvips-linux-s390x": "1.3.4",
+ "@img/sharp-libvips-linux-x64": "1.3.4",
+ "@img/sharp-libvips-linuxmusl-arm64": "1.3.4",
+ "@img/sharp-libvips-linuxmusl-x64": "1.3.4",
+ "@img/sharp-linux-arm": "0.35.5",
+ "@img/sharp-linux-arm64": "0.35.5",
+ "@img/sharp-linux-ppc64": "0.35.5",
+ "@img/sharp-linux-riscv64": "0.35.5",
+ "@img/sharp-linux-s390x": "0.35.5",
+ "@img/sharp-linux-x64": "0.35.5",
+ "@img/sharp-linuxmusl-arm64": "0.35.5",
+ "@img/sharp-linuxmusl-x64": "0.35.5",
+ "@img/sharp-webcontainers-wasm32": "0.35.5",
+ "@img/sharp-win32-arm64": "0.35.5",
+ "@img/sharp-win32-ia32": "0.35.5",
+ "@img/sharp-win32-x64": "0.35.5"
+ },
+ "peerDependenciesMeta": {
+ "@types/node": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/sharp/node_modules/semver": {
+ "version": "7.8.5",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.5.tgz",
+ "integrity": "sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA==",
"dev": true,
"license": "ISC",
"bin": {
@@ -6149,12 +8254,6 @@
"node": ">=10"
}
},
- "node_modules/set-cookie-parser": {
- "version": "2.7.2",
- "resolved": "https://registry.npmjs.org/set-cookie-parser/-/set-cookie-parser-2.7.2.tgz",
- "integrity": "sha512-oeM1lpU/UvhTxw+g3cIfxXHyJRc/uidd3yK1P242gzHds0udQBYzs3y8j4gCCW+ZJ7ad0yctld8RYO+bdurlvw==",
- "license": "MIT"
- },
"node_modules/shebang-command": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz",
@@ -6178,17 +8277,10 @@
"node": ">=8"
}
},
- "node_modules/siginfo": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/siginfo/-/siginfo-2.0.0.tgz",
- "integrity": "sha512-ybx0WO1/8bSBLEWXZvEd7gMW3Sn3JFlW3TvX1nREbDLRNQNaeNN8WK0meBwPdAaOI7TtRRRJn/Es1zhrrCHu7g==",
- "dev": true,
- "license": "ISC"
- },
"node_modules/smol-toml": {
- "version": "1.6.1",
- "resolved": "https://registry.npmjs.org/smol-toml/-/smol-toml-1.6.1.tgz",
- "integrity": "sha512-dWUG8F5sIIARXih1DTaQAX4SsiTXhInKf1buxdY9DIg4ZYPZK5nGM1VRIYmEbDbsHt7USo99xSLFu5Q1IqTmsg==",
+ "version": "1.9.1",
+ "resolved": "https://registry.npmjs.org/smol-toml/-/smol-toml-1.9.1.tgz",
+ "integrity": "sha512-j7WyPdf0CJoutMzMoPLF/bVXHtKZIT9Rb4eGeEbWw8X2t5oirjPgpL+OpaENZrILYaXqYwnVH+qgUwVbl+pUJQ==",
"license": "BSD-3-Clause",
"engines": {
"node": ">= 18"
@@ -6198,36 +8290,35 @@
}
},
"node_modules/sonner": {
- "version": "2.0.7",
- "resolved": "https://registry.npmjs.org/sonner/-/sonner-2.0.7.tgz",
- "integrity": "sha512-W6ZN4p58k8aDKA4XPcx2hpIQXBRAgyiWVkYhT7CvK6D3iAu7xjvVyhQHg2/iaKJZ1XVJ4r7XuwGL+WGEK37i9w==",
+ "version": "2.0.8",
+ "resolved": "https://registry.npmjs.org/sonner/-/sonner-2.0.8.tgz",
+ "integrity": "sha512-UM/ByIoFra8yzV75n1o0Puu0bw5U/9UNnDacrJNspekBewIfsQ3D6ez1nvlWpt7aTsO6rujQtifBpycwIivqlg==",
"license": "MIT",
"peerDependencies": {
+ "@types/react": "^18.0.0 || ^19.0.0",
"react": "^18.0.0 || ^19.0.0 || ^19.0.0-rc",
"react-dom": "^18.0.0 || ^19.0.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
}
},
"node_modules/source-map-js": {
- "version": "1.2.1",
- "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz",
- "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==",
+ "version": "1.2.2",
+ "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.2.tgz",
+ "integrity": "sha512-KGj/8Y43x35aZVDtt+J4mK1hoLGHULMYfSkODJNQjNDC3oW1PqPoxMwo0pLUsWM/UEGzON/NxeHywEfNXNP3Vw==",
"dev": true,
"license": "BSD-3-Clause",
"engines": {
"node": ">=0.10.0"
}
},
- "node_modules/stackback": {
- "version": "0.0.2",
- "resolved": "https://registry.npmjs.org/stackback/-/stackback-0.0.2.tgz",
- "integrity": "sha512-1XMJE5fQo1jGH6Y/7ebnwPOBEkIEnT4QF32d5R1+VXdXveM0IBMJt8zfaxX1P3QhVwrYe+576+jkANtSS2mBbw==",
- "dev": true,
- "license": "MIT"
- },
"node_modules/std-env": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/std-env/-/std-env-4.1.0.tgz",
- "integrity": "sha512-Rq7ybcX2RuC55r9oaPVEW7/xu3tj8u4GeBYHBWCychFtzMIr86A7e3PPEBPT37sHStKX3+TiX/Fr/ACmJLVlLQ==",
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/std-env/-/std-env-4.3.0.tgz",
+ "integrity": "sha512-OtU/EgQ1kIm5KwqQpBC6ZEMXrZRui11w8zgfTWp8cdO9B8OaPsbA8bTHO2P+HNo1VlUTGMVBwPhydu6poeXiag==",
"dev": true,
"license": "MIT"
},
@@ -6244,48 +8335,57 @@
"node": ">=8"
}
},
+ "node_modules/strip-json-comments": {
+ "version": "5.0.3",
+ "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-5.0.3.tgz",
+ "integrity": "sha512-1tB5mhVo7U+ETBKNf92xT4hrQa3pm0MZ0PQvuDnWgAAGHDsfp4lPSpiS6psrSiet87wyGPh9ft6wmhOMQ0hDiw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=14.16"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
"node_modules/strnum": {
- "version": "2.3.0",
- "resolved": "https://registry.npmjs.org/strnum/-/strnum-2.3.0.tgz",
- "integrity": "sha512-ums3KNd42PGyx5xaoVTO1mjU1bH3NpY4vsrVlnv9PNGqQj8wd7rJ6nEypLrJ7z5vxK5RP0yMLo6J/Gsm62DI5Q==",
+ "version": "2.5.1",
+ "resolved": "https://registry.npmjs.org/strnum/-/strnum-2.5.1.tgz",
+ "integrity": "sha512-UM4nTLWzQiDBseVxUGxN0wJzIk0UU89Qi7pKXz9qISo+lhviJikTuikBsK/oFRlpvYHvSdz0TVoLyQ+sEpYwxA==",
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/NaturalIntelligence"
}
],
- "license": "MIT"
+ "license": "MIT",
+ "dependencies": {
+ "anynum": "^1.0.1"
+ }
},
"node_modules/style-mod": {
- "version": "4.1.3",
- "resolved": "https://registry.npmjs.org/style-mod/-/style-mod-4.1.3.tgz",
- "integrity": "sha512-i/n8VsZydrugj3Iuzll8+x/00GH2vnYsk1eomD8QiRrSAeW6ItbCQDtfXCeJHd0iwiNagqjQkvpvREEPtW3IoQ==",
+ "version": "4.1.4",
+ "resolved": "https://registry.npmjs.org/style-mod/-/style-mod-4.1.4.tgz",
+ "integrity": "sha512-XXWIQt633/EpAFx8aZDOTjBzrCaGmhvEQlQo6MVPfa2OzO2cWo+4hV9h+6UkHYlXGfy+ODXKUdP7Pthmcu5ATw==",
"license": "MIT"
},
"node_modules/supports-color": {
- "version": "7.2.0",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
- "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
+ "version": "10.2.2",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-10.2.2.tgz",
+ "integrity": "sha512-SS+jx45GF1QjgEXQx4NJZV9ImqmO2NPz5FNsIHrsDjh2YsHnawpan7SNQ1o8NuhrbHZy9AZhIoCUiCeaW/C80g==",
"dev": true,
"license": "MIT",
- "dependencies": {
- "has-flag": "^4.0.0"
- },
"engines": {
- "node": ">=8"
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/supports-color?sponsor=1"
}
},
- "node_modules/symbol-tree": {
- "version": "3.2.4",
- "resolved": "https://registry.npmjs.org/symbol-tree/-/symbol-tree-3.2.4.tgz",
- "integrity": "sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==",
- "dev": true,
- "license": "MIT"
- },
"node_modules/tailwind-merge": {
- "version": "2.6.1",
- "resolved": "https://registry.npmjs.org/tailwind-merge/-/tailwind-merge-2.6.1.tgz",
- "integrity": "sha512-Oo6tHdpZsGpkKG88HJ8RR1rg/RdnEkQEfMoEk2x1XRI3F1AxeU+ijRXpiVUF4UbLfcxxRGw6TbUINKYdWVsQTQ==",
+ "version": "3.7.0",
+ "resolved": "https://registry.npmjs.org/tailwind-merge/-/tailwind-merge-3.7.0.tgz",
+ "integrity": "sha512-XPPUyAc+cvspz3lHTcR/QgPfW2A0lv/xQNIjX3HGhLR+Nq2lHaLq5MtTesHn8GUr3W3DguT2KT5x3NVgRtYwmA==",
"license": "MIT",
"funding": {
"type": "github",
@@ -6293,9 +8393,9 @@
}
},
"node_modules/tailwindcss": {
- "version": "4.3.1",
- "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-4.3.1.tgz",
- "integrity": "sha512-hk+TB1m+K8CYNrP6rjQaq/Y+4Zylwpa87mLYBKCunwnnQ9p+fHb7kmSfGqyEJoxF/O6CDyABWVFEafNSYKll+Q==",
+ "version": "4.3.3",
+ "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-4.3.3.tgz",
+ "integrity": "sha512-gOhV3P7ufE62QDGg1zVaTgCR+EtPv92k2nIhVcVKcLmxT1sUBsQGhnZj175j+MqRt4zLF7ic+sCYjfhxMxj7YQ==",
"dev": true,
"license": "MIT"
},
@@ -6314,16 +8414,19 @@
}
},
"node_modules/tinybench": {
- "version": "2.9.0",
- "resolved": "https://registry.npmjs.org/tinybench/-/tinybench-2.9.0.tgz",
- "integrity": "sha512-0+DUvqWMValLmha6lr4kD8iAMK1HzV0/aKnCtWb9v9641TnP/MFb7Pc2bxoxQjTXAErryXVgUOfv2YqNllqGeg==",
+ "version": "6.2.2",
+ "resolved": "https://registry.npmjs.org/tinybench/-/tinybench-6.2.2.tgz",
+ "integrity": "sha512-nIZ2N2dFpjBsg2hgitKu7mA+FvsIJuGJOwysRngmVRRmWgR/UyPjwJj8c/fT/dhm8EkHnF5EOogRf+0Z2qrimA==",
"dev": true,
- "license": "MIT"
+ "license": "MIT",
+ "engines": {
+ "node": ">=20.0.0"
+ }
},
"node_modules/tinyexec": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/tinyexec/-/tinyexec-1.1.2.tgz",
- "integrity": "sha512-dAqSqE/RabpBKI8+h26GfLq6Vb3JVXs30XYQjdMjaj/c2tS8IYYMbIzP599KtRj7c57/wYApb3QjgRgXmrCukA==",
+ "version": "1.3.1",
+ "resolved": "https://registry.npmjs.org/tinyexec/-/tinyexec-1.3.1.tgz",
+ "integrity": "sha512-GCvB3aoys96IuDFBMcTB46JOR6mdMtAToqwiW8JlWhsoh1mhHi/xn9ss/Dg7N555GiJyEt2qzoG/NHCwM6h1EA==",
"dev": true,
"license": "MIT",
"engines": {
@@ -6348,9 +8451,9 @@
}
},
"node_modules/tinyrainbow": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/tinyrainbow/-/tinyrainbow-3.1.0.tgz",
- "integrity": "sha512-Bf+ILmBgretUrdJxzXM0SgXLZ3XfiaUuOj/IKQHuTXip+05Xn+uyEYdVg0kYDipTBcLrCVyUzAPz7QmArb0mmw==",
+ "version": "3.2.0",
+ "resolved": "https://registry.npmjs.org/tinyrainbow/-/tinyrainbow-3.2.0.tgz",
+ "integrity": "sha512-LgO3D9yZJjApUiuUfl9iFAwrtaX4+lok3wJIqttGoKCHlWUqHqbQpnxCf82L8FjgKsh4iGo78hqJwgL8F6To2A==",
"dev": true,
"license": "MIT",
"engines": {
@@ -6358,29 +8461,29 @@
}
},
"node_modules/tldts": {
- "version": "7.0.30",
- "resolved": "https://registry.npmjs.org/tldts/-/tldts-7.0.30.tgz",
- "integrity": "sha512-ELrFxuqsDdHUwoh0XxDbxuLD3Wnz49Z57IFvTtvWy1hJdcMZjXLIuonjilCiWHlT2GbE4Wlv1wKVTzDFnXH1aw==",
+ "version": "7.4.19",
+ "resolved": "https://registry.npmjs.org/tldts/-/tldts-7.4.19.tgz",
+ "integrity": "sha512-48dH6aSpQnpbzDUc4vIQZ1VjB8tkK+e8c1yx05/SZK+rkssgjEOlxDd/yU8/a4vGYQ9vRgJr9dwMq9TJ0b3X2Q==",
"dev": true,
"license": "MIT",
"dependencies": {
- "tldts-core": "^7.0.30"
+ "tldts-core": "^7.4.19"
},
"bin": {
"tldts": "bin/cli.js"
}
},
"node_modules/tldts-core": {
- "version": "7.0.30",
- "resolved": "https://registry.npmjs.org/tldts-core/-/tldts-core-7.0.30.tgz",
- "integrity": "sha512-uiHN8PIB1VmWyS98eZYja4xzlYqeFZVjb4OuYlJQnZAuJhMw4PbKQOKgHKhBdJR3FE/t5mUQ1Kd80++B+qhD1Q==",
+ "version": "7.4.19",
+ "resolved": "https://registry.npmjs.org/tldts-core/-/tldts-core-7.4.19.tgz",
+ "integrity": "sha512-goNXV6Ho9TIOfpJZanTd6CKG5DyYgYAL+k+22T0SLh8l6+KHIfBUPFuePuSZv05UttIaaLmI9tb7TmGIdK5AkQ==",
"dev": true,
"license": "MIT"
},
"node_modules/tough-cookie": {
- "version": "6.0.1",
- "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-6.0.1.tgz",
- "integrity": "sha512-LktZQb3IeoUWB9lqR5EWTHgW/VTITCXg4D21M+lvybRVdylLrRMnqaIONLVb5mav8vM19m44HIcGq4qASeu2Qw==",
+ "version": "6.0.2",
+ "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-6.0.2.tgz",
+ "integrity": "sha512-exgYmnmL/sJpR3upZfXG5PoatXQii55xAiXGXzY+sROLZ/Y+SLcp9PgJNI9Vz37HpQ74WvDcLT8eqm+kV3FzrA==",
"dev": true,
"license": "BSD-3-Clause",
"dependencies": {
@@ -6391,16 +8494,16 @@
}
},
"node_modules/tr46": {
- "version": "6.0.0",
- "resolved": "https://registry.npmjs.org/tr46/-/tr46-6.0.0.tgz",
- "integrity": "sha512-bLVMLPtstlZ4iMQHpFHTR7GAGj2jxi8Dg0s2h2MafAE4uSWF98FC/3MomU51iQAMf8/qDUbKWf5GxuvvVcXEhw==",
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/tr46/-/tr46-7.0.0.tgz",
+ "integrity": "sha512-BcDSDW+SIGWVOns1Zm6Yg91q9AEj7eaID0QDY9oIqJD1A8dscNwMcl9Sms2DeuWCNov1X0/oXanHGYQBSLwZsg==",
"dev": true,
"license": "MIT",
"dependencies": {
"punycode": "^2.3.1"
},
"engines": {
- "node": ">=20"
+ "node": "^22.14.0 || >=24.0.0"
}
},
"node_modules/ts-api-utils": {
@@ -6446,30 +8549,30 @@
}
},
"node_modules/typescript": {
- "version": "5.9.3",
- "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz",
- "integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==",
+ "name": "@typescript/typescript6",
+ "version": "6.0.2",
+ "resolved": "https://registry.npmjs.org/@typescript/typescript6/-/typescript6-6.0.2.tgz",
+ "integrity": "sha512-mbCddXd+jm7hfx7w2YU64/Av4/NqqeG3GoRZgxPcgoTxYjhrcfJRw9ULch71SS4G+Q3bOXFhRvPqjguN0Hyp5w==",
"devOptional": true,
"license": "Apache-2.0",
- "bin": {
- "tsc": "bin/tsc",
- "tsserver": "bin/tsserver"
+ "dependencies": {
+ "@typescript/old": "npm:typescript@^6"
},
- "engines": {
- "node": ">=14.17"
+ "bin": {
+ "tsc6": "bin/tsc6"
}
},
"node_modules/typescript-eslint": {
- "version": "8.61.0",
- "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.61.0.tgz",
- "integrity": "sha512-8y31Rd0eGTrDKqhy6vT0HtzhN+YLjQizwX3aA3hPXP/ynSfnrBXcQY5IzsP9/DM7+klX4IUncZZjkchP0z+rUw==",
+ "version": "8.72.0",
+ "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.72.0.tgz",
+ "integrity": "sha512-r26Fkc8As+mZvqp7SLsMmNFyYUup/6CjK7/eHBHmhOw6GH6n6YFxHVFrG0jN1c5CMpDzelLPxvgeCOzx7BjN+A==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@typescript-eslint/eslint-plugin": "8.61.0",
- "@typescript-eslint/parser": "8.61.0",
- "@typescript-eslint/typescript-estree": "8.61.0",
- "@typescript-eslint/utils": "8.61.0"
+ "@typescript-eslint/eslint-plugin": "8.72.0",
+ "@typescript-eslint/parser": "8.72.0",
+ "@typescript-eslint/typescript-estree": "8.72.0",
+ "@typescript-eslint/utils": "8.72.0"
},
"engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
@@ -6484,9 +8587,9 @@
}
},
"node_modules/unbash": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/unbash/-/unbash-3.0.0.tgz",
- "integrity": "sha512-FeFPZ/WFT0mbRCuydiZzpPFlrYN8ZUpphQKoq4EeElVIYjYyGzPMxQR/simUwCOJIyVhpFk4RbtyO7RuMpMnHA==",
+ "version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/unbash/-/unbash-6.0.1.tgz",
+ "integrity": "sha512-0db9eS5iqybux41zLkX69nk90KTci7F7eZ+gXzEG/Q7E0tAqEBhRh5fkZvk1N7jT7QkGWqq34i8SFGPFEe1V8A==",
"dev": true,
"license": "ISC",
"engines": {
@@ -6494,22 +8597,63 @@
}
},
"node_modules/undici": {
- "version": "7.28.0",
- "resolved": "https://registry.npmjs.org/undici/-/undici-7.28.0.tgz",
- "integrity": "sha512-cRZYrTDwWznlnRiPjggAGxZXanty6M8RV1ff8Wm4LWXBp7/IG8v5DnOm74DtUBp9OONpK75YlPnIjQqX0dBDtA==",
+ "version": "8.12.3",
+ "resolved": "https://registry.npmjs.org/undici/-/undici-8.12.3.tgz",
+ "integrity": "sha512-+fdndUTwBP86cVjihTp21hZHo7d6oj1c/47XPA3lL8mM0XHs+C4EkcjmgRsFnFk2f/UONGDy9ItBItmXsLOQHw==",
"dev": true,
"license": "MIT",
"engines": {
- "node": ">=20.18.1"
+ "node": ">=22.19.0"
}
},
"node_modules/undici-types": {
- "version": "7.24.6",
- "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.24.6.tgz",
- "integrity": "sha512-WRNW+sJgj5OBN4/0JpHFqtqzhpbnV0GuB+OozA9gCL7a993SmU+1JBZCzLNxYsbMfIeDL+lTsphD5jN5N+n0zg==",
+ "version": "8.9.0",
+ "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-8.9.0.tgz",
+ "integrity": "sha512-KTDyRTYX8sWmKXAikPHHSyc63CRPETMctyjKFupcC6OBLXT3xsN0e9aF7m+mIXutFWpUXuedtowG7iLOzp0kQg==",
"dev": true,
"license": "MIT"
},
+ "node_modules/unenv": {
+ "version": "2.0.0-rc.24",
+ "resolved": "https://registry.npmjs.org/unenv/-/unenv-2.0.0-rc.24.tgz",
+ "integrity": "sha512-i7qRCmY42zmCwnYlh9H2SvLEypEFGye5iRmEMKjcGi7zk9UquigRjFtTLz0TYqr0ZGLZhaMHl/foy1bZR+Cwlw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "pathe": "^2.0.3"
+ }
+ },
+ "node_modules/update-browserslist-db": {
+ "version": "1.3.4",
+ "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.3.4.tgz",
+ "integrity": "sha512-t8wonIOdQyOjtPd2VktlBu6QjTVTks6v8bSi7kd0r2Vll8TK1JYDZtRRdbmCHOAMphkZgrzK+L+vXK4pyZ8t4A==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/browserslist"
+ },
+ {
+ "type": "tidelift",
+ "url": "https://tidelift.com/funding/github/npm/browserslist"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "escalade": "^3.2.0",
+ "picocolors": "^1.1.1"
+ },
+ "bin": {
+ "update-browserslist-db": "cli.js"
+ },
+ "peerDependencies": {
+ "browserslist": ">= 4.21.0"
+ }
+ },
"node_modules/uri-js": {
"version": "4.4.1",
"resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz",
@@ -6563,17 +8707,26 @@
}
}
},
+ "node_modules/use-sync-external-store": {
+ "version": "1.7.0",
+ "resolved": "https://registry.npmjs.org/use-sync-external-store/-/use-sync-external-store-1.7.0.tgz",
+ "integrity": "sha512-6L+EeigHMQhdaIPNIFUKwfWJSwWFQ8gJbJ2DLOs5sDIegTwR9fRxvnM3uciHKjIZhFz+KAv2emhWMRvDmMcY8A==",
+ "license": "MIT",
+ "peerDependencies": {
+ "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
+ }
+ },
"node_modules/vite": {
- "version": "8.0.16",
- "resolved": "https://registry.npmjs.org/vite/-/vite-8.0.16.tgz",
- "integrity": "sha512-h9bXPmJichP5fLmVQo3PyaGSDE2n3aPuomeAlVRm0JLmt4rY6zmPKd59HYI4LNW8oTK7tlTsuC7l/m7awx9Jcw==",
+ "version": "8.3.5",
+ "resolved": "https://registry.npmjs.org/vite/-/vite-8.3.5.tgz",
+ "integrity": "sha512-z1YpjieJ9g0ebTmQpLBv/oq9E3F9EIlOe+7LahW8SrE3LTiG3udBRUXQOlYXP9b+IC2q2phHeVxj9xGlw34OEQ==",
"dev": true,
"license": "MIT",
"dependencies": {
- "lightningcss": "^1.32.0",
- "picomatch": "^4.0.4",
- "postcss": "^8.5.15",
- "rolldown": "1.0.3",
+ "lightningcss": "^1.33.0",
+ "picomatch": "^4.0.7",
+ "postcss": "^8.5.30",
+ "rolldown": "~1.2.14",
"tinyglobby": "^0.2.17"
},
"bin": {
@@ -6590,7 +8743,7 @@
},
"peerDependencies": {
"@types/node": "^20.19.0 || >=22.12.0",
- "@vitejs/devtools": "^0.1.18",
+ "@vitejs/devtools": "^0.7.1 || ^0.8.0",
"esbuild": "^0.27.0 || ^0.28.0",
"jiti": ">=1.21.0",
"less": "^4.0.0",
@@ -6641,39 +8794,305 @@
}
}
},
+ "node_modules/vite/node_modules/lightningcss": {
+ "version": "1.33.0",
+ "resolved": "https://registry.npmjs.org/lightningcss/-/lightningcss-1.33.0.tgz",
+ "integrity": "sha512-WkUDrojuJs0xkgGf2udWxa3yGBRxPtxUkB79i6aCZLRgc7PM8fZe9TosfPDcvEpQZbuFASnHYmRLBLUbmLOIIA==",
+ "dev": true,
+ "license": "MPL-2.0",
+ "dependencies": {
+ "detect-libc": "^2.0.3"
+ },
+ "engines": {
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ },
+ "optionalDependencies": {
+ "lightningcss-android-arm64": "1.33.0",
+ "lightningcss-darwin-arm64": "1.33.0",
+ "lightningcss-darwin-x64": "1.33.0",
+ "lightningcss-freebsd-x64": "1.33.0",
+ "lightningcss-linux-arm-gnueabihf": "1.33.0",
+ "lightningcss-linux-arm64-gnu": "1.33.0",
+ "lightningcss-linux-arm64-musl": "1.33.0",
+ "lightningcss-linux-x64-gnu": "1.33.0",
+ "lightningcss-linux-x64-musl": "1.33.0",
+ "lightningcss-win32-arm64-msvc": "1.33.0",
+ "lightningcss-win32-x64-msvc": "1.33.0"
+ }
+ },
+ "node_modules/vite/node_modules/lightningcss-android-arm64": {
+ "version": "1.33.0",
+ "resolved": "https://registry.npmjs.org/lightningcss-android-arm64/-/lightningcss-android-arm64-1.33.0.tgz",
+ "integrity": "sha512-gEpRTalKdosp4Bb8qWtc2iOgE5SeIHlpS1up9bFq2wAyYhl1UdTObYiHe98zEM9SQvSoqQZ1IQD0JNpg3Ml5pg==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ }
+ },
+ "node_modules/vite/node_modules/lightningcss-darwin-arm64": {
+ "version": "1.33.0",
+ "resolved": "https://registry.npmjs.org/lightningcss-darwin-arm64/-/lightningcss-darwin-arm64-1.33.0.tgz",
+ "integrity": "sha512-Sciaz8eenNTKn9b3t7+xr0ipTp9YxKQY4npwQ3mrRuL0BAVHBLyZxofhaKBAVtzmtRZ/zTyo0/to4B1uWG/Djg==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ }
+ },
+ "node_modules/vite/node_modules/lightningcss-darwin-x64": {
+ "version": "1.33.0",
+ "resolved": "https://registry.npmjs.org/lightningcss-darwin-x64/-/lightningcss-darwin-x64-1.33.0.tgz",
+ "integrity": "sha512-Z5UPAxzrjlWNNyGy6i65cJzzvgJ5D3T6wMvs+gWpY9d7qRhANrxqAp6LhxIgZhWEw18RfJTGcRxjuLIBr+m8XQ==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ }
+ },
+ "node_modules/vite/node_modules/lightningcss-freebsd-x64": {
+ "version": "1.33.0",
+ "resolved": "https://registry.npmjs.org/lightningcss-freebsd-x64/-/lightningcss-freebsd-x64-1.33.0.tgz",
+ "integrity": "sha512-QQM/Ti/hQajJwCY+RiWuCZ9sdtI/XQk7nDK5vC8kkdwixezOlDgvDx7+RT+QjK6FcFT4MpsuoBnHIo/O3StRRg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ],
+ "engines": {
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ }
+ },
+ "node_modules/vite/node_modules/lightningcss-linux-arm-gnueabihf": {
+ "version": "1.33.0",
+ "resolved": "https://registry.npmjs.org/lightningcss-linux-arm-gnueabihf/-/lightningcss-linux-arm-gnueabihf-1.33.0.tgz",
+ "integrity": "sha512-N7FVBe6iS24MlM6R/4RBTxGhQheZGs7tiQ9U32UtF75NzP5Q7xWPRqLBCKxlRQRk3rY1jCIPLzx7WzOhuUIRLQ==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ }
+ },
+ "node_modules/vite/node_modules/lightningcss-linux-arm64-gnu": {
+ "version": "1.33.0",
+ "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-gnu/-/lightningcss-linux-arm64-gnu-1.33.0.tgz",
+ "integrity": "sha512-j2v/itmy4HlNxlc6voKXYgBqNi0Ng2LShg4z7GufpEgs05P+2suBVyi9I6YHq5uoVFx9ETin3eCEhLVyXGQnKg==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "libc": [
+ "glibc"
+ ],
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ }
+ },
+ "node_modules/vite/node_modules/lightningcss-linux-arm64-musl": {
+ "version": "1.33.0",
+ "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-musl/-/lightningcss-linux-arm64-musl-1.33.0.tgz",
+ "integrity": "sha512-yiO5ROMuYQgXbC60yjZU5CYSFZGKXL0HFATXt9mHJn1+zW55oCtMI9NfcVhYLMFDL7gV7oBPon/EmMMGg2OvtQ==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "libc": [
+ "musl"
+ ],
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ }
+ },
+ "node_modules/vite/node_modules/lightningcss-linux-x64-gnu": {
+ "version": "1.33.0",
+ "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-gnu/-/lightningcss-linux-x64-gnu-1.33.0.tgz",
+ "integrity": "sha512-ar+Ju7LmcN0Jo4FpL4hpFybwNG9/3A/Br5KW2n2jyODg3MEZXaDYADdemoNS+BDNfMgKvylJLj4S5tyRActuAg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "libc": [
+ "glibc"
+ ],
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ }
+ },
+ "node_modules/vite/node_modules/lightningcss-linux-x64-musl": {
+ "version": "1.33.0",
+ "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-musl/-/lightningcss-linux-x64-musl-1.33.0.tgz",
+ "integrity": "sha512-RYiYbkokw0trfKqqzfF55lginwEPrD3OJDfTuJzFs1MK6iFnDenaz1fqLLtX4ITG3OktJQXOeTaw1awrBAlZPw==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "libc": [
+ "musl"
+ ],
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ }
+ },
+ "node_modules/vite/node_modules/lightningcss-win32-arm64-msvc": {
+ "version": "1.33.0",
+ "resolved": "https://registry.npmjs.org/lightningcss-win32-arm64-msvc/-/lightningcss-win32-arm64-msvc-1.33.0.tgz",
+ "integrity": "sha512-1K+MPfLSFVpphzpdbfkhlWk6wBrTObBzS2T6db10PNOZgR9GoVsAWzwNyuhUYYbTp23j+4RrncfujZ4uAzXvwA==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ }
+ },
+ "node_modules/vite/node_modules/lightningcss-win32-x64-msvc": {
+ "version": "1.33.0",
+ "resolved": "https://registry.npmjs.org/lightningcss-win32-x64-msvc/-/lightningcss-win32-x64-msvc-1.33.0.tgz",
+ "integrity": "sha512-OlEICDx/Xl0FqSp4bry8zFnCvGpig3Gl4gCquvYwHuqJKEC1+n9NgDniFvqHGmMv1ZkqDJrDqKKSykTDX+ehuA==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ }
+ },
"node_modules/vitest": {
- "version": "4.1.8",
- "resolved": "https://registry.npmjs.org/vitest/-/vitest-4.1.8.tgz",
- "integrity": "sha512-flY6ScbCIt9HThs+C5HS7jvGOB560DJtk/Z15IQROTA6zEy49Nh8T/dofWTQL+n3vswqn87sbJNiuqw1SDp5Ig==",
+ "version": "5.0.5",
+ "resolved": "https://registry.npmjs.org/vitest/-/vitest-5.0.5.tgz",
+ "integrity": "sha512-cPODOMF8YnkiiYtDdHo6n4wWmBrOBBbOIYH2d33M4l3CdNn72h+qMmO6uXffUN6A5AZFXNND/d+krS9mgkXRfg==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@vitest/expect": "4.1.8",
- "@vitest/mocker": "4.1.8",
- "@vitest/pretty-format": "4.1.8",
- "@vitest/runner": "4.1.8",
- "@vitest/snapshot": "4.1.8",
- "@vitest/spy": "4.1.8",
- "@vitest/utils": "4.1.8",
- "es-module-lexer": "^2.0.0",
- "expect-type": "^1.3.0",
- "magic-string": "^0.30.21",
- "obug": "^2.1.1",
- "pathe": "^2.0.3",
- "picomatch": "^4.0.3",
- "std-env": "^4.0.0-rc.1",
- "tinybench": "^2.9.0",
- "tinyexec": "^1.0.2",
- "tinyglobby": "^0.2.15",
- "tinyrainbow": "^3.1.0",
- "vite": "^6.0.0 || ^7.0.0 || ^8.0.0",
- "why-is-node-running": "^2.3.0"
+ "@types/chai": "^5.2.2",
+ "@vitest/mocker": "5.0.5",
+ "chai": "^6.3.0",
+ "es-module-lexer": "^2.3.2",
+ "expect-type": "^1.4.0",
+ "magic-string": "^1.4.3",
+ "obug": "^3.0.0",
+ "picomatch": "^4.0.7",
+ "std-env": "^4.3.0",
+ "tinybench": "^6.2.2",
+ "tinyexec": "^1.3.1",
+ "tinyglobby": "^0.2.17",
+ "why-is-node-running": "3.2.1"
},
"bin": {
"vitest": "vitest.mjs"
},
"engines": {
- "node": "^20.0.0 || ^22.0.0 || >=24.0.0"
+ "node": "^22.12.0 || ^24.0.0 || >=26.0.0"
},
"funding": {
"url": "https://opencollective.com/vitest"
@@ -6681,16 +9100,16 @@
"peerDependencies": {
"@edge-runtime/vm": "*",
"@opentelemetry/api": "^1.9.0",
- "@types/node": "^20.0.0 || ^22.0.0 || >=24.0.0",
- "@vitest/browser-playwright": "4.1.8",
- "@vitest/browser-preview": "4.1.8",
- "@vitest/browser-webdriverio": "4.1.8",
- "@vitest/coverage-istanbul": "4.1.8",
- "@vitest/coverage-v8": "4.1.8",
- "@vitest/ui": "4.1.8",
+ "@types/node": "^22.0.0 || >=24.0.0",
+ "@vitest/browser-playwright": "5.0.5",
+ "@vitest/browser-preview": "5.0.5",
+ "@vitest/browser-webdriverio": "^5.0.0-beta.5 || >=5.0.0",
+ "@vitest/coverage-istanbul": "5.0.5",
+ "@vitest/coverage-v8": "5.0.5",
+ "@vitest/ui": "5.0.5",
"happy-dom": "*",
"jsdom": "*",
- "vite": "^6.0.0 || ^7.0.0 || ^8.0.0"
+ "vite": "^6.4.0 || ^7.0.0 || ^8.0.0"
},
"peerDependenciesMeta": {
"@edge-runtime/vm": {
@@ -6731,13 +9150,14 @@
}
}
},
- "node_modules/void-elements": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/void-elements/-/void-elements-3.1.0.tgz",
- "integrity": "sha512-Dhxzh5HZuiHQhbvTW9AMetFfBHDMYpo23Uo9btPXgdYP+3T5S+p+jgNy7spra+veYhBP2dCSgxR/i2Y02h5/6w==",
+ "node_modules/vitest/node_modules/magic-string": {
+ "version": "1.4.3",
+ "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-1.4.3.tgz",
+ "integrity": "sha512-z12OxmaPGE0F4xlpGdjuAUckipLpQlTAuAmyGhNoD7ODpYUzvDfvtxUbjM/jwznyP178oju/KDdyi220wNJ0RQ==",
+ "dev": true,
"license": "MIT",
- "engines": {
- "node": ">=0.10.0"
+ "dependencies": {
+ "@jridgewell/sourcemap-codec": "^1.6.0"
}
},
"node_modules/w3c-keyname": {
@@ -6747,16 +9167,16 @@
"license": "MIT"
},
"node_modules/w3c-xmlserializer": {
- "version": "5.0.0",
- "resolved": "https://registry.npmjs.org/w3c-xmlserializer/-/w3c-xmlserializer-5.0.0.tgz",
- "integrity": "sha512-o8qghlI8NZHU1lLPrpi2+Uq7abh4GGPpYANlalzWxyWteJOCsr/P+oPBA49TOLu5FTZO4d3F9MnWJfiMo4BkmA==",
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/w3c-xmlserializer/-/w3c-xmlserializer-6.0.0.tgz",
+ "integrity": "sha512-4Nsy8K5Tr6SPDH9jhKJOHf7ChDrc1zufZTVSF7x72hwuEXBqxqk9G6cK+K2NRUtB3iELRJqjXb4JPDMBjMTl2Q==",
"dev": true,
"license": "MIT",
"dependencies": {
"xml-name-validator": "^5.0.0"
},
"engines": {
- "node": ">=18"
+ "node": "^22.22.2 || ^24.15.0 || >=26.0.0"
}
},
"node_modules/walk-up-path": {
@@ -6790,18 +9210,18 @@
}
},
"node_modules/whatwg-url": {
- "version": "16.0.1",
- "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-16.0.1.tgz",
- "integrity": "sha512-1to4zXBxmXHV3IiSSEInrreIlu02vUOvrhxJJH5vcxYTBDAx51cqZiKdyTxlecdKNSjj8EcxGBxNf6Vg+945gw==",
+ "version": "17.3.0",
+ "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-17.3.0.tgz",
+ "integrity": "sha512-KwOAJrpf+GTgBvcBQJcP38sMF0DsQKdwtG+TxM2pW44P6E5k0hDbWrDmyuJDIF0Uef0aQq0ZoJs+5oI+k8ddhg==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@exodus/bytes": "^1.11.0",
- "tr46": "^6.0.0",
+ "@exodus/bytes": "^1.16.0",
+ "tr46": "^7.0.0",
"webidl-conversions": "^8.0.1"
},
"engines": {
- "node": "^20.19.0 || ^22.12.0 || >=24.0.0"
+ "node": "^22.14.0 || >=24.0.0"
}
},
"node_modules/which": {
@@ -6821,20 +9241,16 @@
}
},
"node_modules/why-is-node-running": {
- "version": "2.3.0",
- "resolved": "https://registry.npmjs.org/why-is-node-running/-/why-is-node-running-2.3.0.tgz",
- "integrity": "sha512-hUrmaWBdVDcxvYqnyh09zunKzROWjbZTiNy8dBEjkS7ehEDQibXJ7XvlmtbwuTclUiIyN+CyXQD4Vmko8fNm8w==",
+ "version": "3.2.1",
+ "resolved": "https://registry.npmjs.org/why-is-node-running/-/why-is-node-running-3.2.1.tgz",
+ "integrity": "sha512-Tb2FUhB4vUsGQlfSquQLYkApkuPAFQXGFzxWKHHumVz2dK+X1RUm/HnID4+TfIGYJ1kTcwOaCk/buYCEJr6YjQ==",
"dev": true,
"license": "MIT",
- "dependencies": {
- "siginfo": "^2.0.0",
- "stackback": "0.0.2"
- },
"bin": {
"why-is-node-running": "cli.js"
},
"engines": {
- "node": ">=8"
+ "node": ">=20.11"
}
},
"node_modules/word-wrap": {
@@ -6847,6 +9263,85 @@
"node": ">=0.10.0"
}
},
+ "node_modules/workerd": {
+ "version": "1.20261019.1",
+ "resolved": "https://registry.npmjs.org/workerd/-/workerd-1.20261019.1.tgz",
+ "integrity": "sha512-UUYRUq/7DmeCl11YriNbcVbjUZVLtt8uuCXFu+nz77hGFf8d4DEVXoCYtnA+MlBatE4+wxoj47DVqzK3xGBAiw==",
+ "dev": true,
+ "hasInstallScript": true,
+ "license": "Apache-2.0",
+ "bin": {
+ "workerd": "bin/workerd"
+ },
+ "engines": {
+ "node": ">=16"
+ },
+ "optionalDependencies": {
+ "@cloudflare/workerd-darwin-64": "1.20261019.1",
+ "@cloudflare/workerd-darwin-arm64": "1.20261019.1",
+ "@cloudflare/workerd-linux-64": "1.20261019.1",
+ "@cloudflare/workerd-linux-arm64": "1.20261019.1",
+ "@cloudflare/workerd-windows-64": "1.20261019.1"
+ }
+ },
+ "node_modules/wrangler": {
+ "version": "4.151.3",
+ "resolved": "https://registry.npmjs.org/wrangler/-/wrangler-4.151.3.tgz",
+ "integrity": "sha512-mzPQLmkAhZUV7CdiAhE+hiIAJlS9xPL6vZe1B8oQFuWxFu7nmQnvHAVjcAcabwSGkXFXH9uspzXwHOFrfbQmqQ==",
+ "dev": true,
+ "license": "MIT OR Apache-2.0",
+ "dependencies": {
+ "@cloudflare/kv-asset-handler": "0.5.0",
+ "@cloudflare/unenv-preset": "2.16.2",
+ "blake3-wasm": "2.1.5",
+ "esbuild": "0.28.2",
+ "miniflare": "5.20261019.1-beta",
+ "path-to-regexp": "6.3.0",
+ "unenv": "2.0.0-rc.24",
+ "workerd": "1.20261019.1"
+ },
+ "bin": {
+ "cf-wrangler": "bin/cf-wrangler.js",
+ "wrangler": "bin/wrangler.js",
+ "wrangler2": "bin/wrangler.js"
+ },
+ "engines": {
+ "node": ">=22.0.0"
+ },
+ "optionalDependencies": {
+ "fsevents": "2.3.3"
+ },
+ "peerDependencies": {
+ "@cloudflare/workers-types": "^5.20261019.1"
+ },
+ "peerDependenciesMeta": {
+ "@cloudflare/workers-types": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/ws": {
+ "version": "8.21.0",
+ "resolved": "https://registry.npmjs.org/ws/-/ws-8.21.0.tgz",
+ "integrity": "sha512-Vsp28b7DRcimFQvrqu2Wek3z1iYxDCWqHYB8Qsnk/S4RfaCQzPGPyBNuVjJV3cd6UiKtUtp6sNM77gWvzcCH+g==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=10.0.0"
+ },
+ "peerDependencies": {
+ "bufferutil": "^4.0.1",
+ "utf-8-validate": ">=5.0.2"
+ },
+ "peerDependenciesMeta": {
+ "bufferutil": {
+ "optional": true
+ },
+ "utf-8-validate": {
+ "optional": true
+ }
+ }
+ },
"node_modules/xml-name-validator": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/xml-name-validator/-/xml-name-validator-5.0.0.tgz",
@@ -6858,9 +9353,9 @@
}
},
"node_modules/xml-naming": {
- "version": "0.1.0",
- "resolved": "https://registry.npmjs.org/xml-naming/-/xml-naming-0.1.0.tgz",
- "integrity": "sha512-k8KO9hrMyNk6tUWqUfkTEZbezRRpONVOzUTnc97VnCvyj6Tf9lyUR9EDAIeiVLv56jsMcoXEwjW8Kv5yPY52lw==",
+ "version": "0.3.0",
+ "resolved": "https://registry.npmjs.org/xml-naming/-/xml-naming-0.3.0.tgz",
+ "integrity": "sha512-ghig2TBE/H11aOVgmahA3MhimvkBr6JIYknH/Dhdk10nXwdbIqBJsbfMxpvFPG8bAw77gN29aQWvKpmVoPlvPQ==",
"funding": [
{
"type": "github",
@@ -6879,10 +9374,17 @@
"dev": true,
"license": "MIT"
},
+ "node_modules/yallist": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz",
+ "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==",
+ "dev": true,
+ "license": "ISC"
+ },
"node_modules/yaml": {
- "version": "2.9.0",
- "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.9.0.tgz",
- "integrity": "sha512-2AvhNX3mb8zd6Zy7INTtSpl1F15HW6Wnqj0srWlkKLcpYl/gMIMJiyuGq2KeI2YFxUPjdlB+3Lc10seMLtL4cA==",
+ "version": "2.9.1",
+ "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.9.1.tgz",
+ "integrity": "sha512-3NxN8+78OdzbT7C/WjGsyfPAtJaN3FNDsWxv7Y7mcDsT/oOmgW8BpyQQFFBnvZE3j9Y2Sdz1ULFLezL7Eb2yFw==",
"dev": true,
"license": "ISC",
"bin": {
@@ -6908,20 +9410,58 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
+ "node_modules/youch": {
+ "version": "4.1.0-beta.10",
+ "resolved": "https://registry.npmjs.org/youch/-/youch-4.1.0-beta.10.tgz",
+ "integrity": "sha512-rLfVLB4FgQneDr0dv1oddCVZmKjcJ6yX6mS4pU82Mq/Dt9a3cLZQ62pDBL4AUO+uVrCvtWz3ZFUL2HFAFJ/BXQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@poppinss/colors": "^4.1.5",
+ "@poppinss/dumper": "^0.6.4",
+ "@speed-highlight/core": "^1.2.7",
+ "cookie": "^1.0.2",
+ "youch-core": "^0.3.3"
+ }
+ },
+ "node_modules/youch-core": {
+ "version": "0.3.3",
+ "resolved": "https://registry.npmjs.org/youch-core/-/youch-core-0.3.3.tgz",
+ "integrity": "sha512-ho7XuGjLaJ2hWHoK8yFnsUGy2Y5uDpqSTq1FkHLK4/oqKtyUU1AFbOOxY4IpC9f0fTLjwYbslUz0Po5BpD1wrA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@poppinss/exception": "^1.2.2",
+ "error-stack-parser-es": "^1.0.5"
+ }
+ },
"node_modules/zod": {
- "version": "4.4.3",
- "resolved": "https://registry.npmjs.org/zod/-/zod-4.4.3.tgz",
- "integrity": "sha512-ytENFjIJFl2UwYglde2jchW2Hwm4GJFLDiSXWdTrJQBIN9Fcyp7n4DhxJEiWNAJMV1/BqWfW/kkg71UDcHJyTQ==",
+ "version": "4.6.7",
+ "resolved": "https://registry.npmjs.org/zod/-/zod-4.6.7.tgz",
+ "integrity": "sha512-g8W2D2kU6a8untc053fX1uVBKzM7yqAxW/3zwk83+6RyF2+SKOuV+c0wBDhUwzV1PaGapmZH+rmcUzPf+3CGwg==",
"dev": true,
"license": "MIT",
"funding": {
"url": "https://github.com/sponsors/colinhacks"
}
},
+ "node_modules/zod-validation-error": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/zod-validation-error/-/zod-validation-error-4.0.2.tgz",
+ "integrity": "sha512-Q6/nZLe6jxuU80qb/4uJ4t5v2VEZ44lzQjPDhYJNztRQ4wyWc6VF3D3Kb/fAuPetZQnhS3hnajCf9CsWesghLQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=18.0.0"
+ },
+ "peerDependencies": {
+ "zod": "^3.25.0 || ^4.0.0"
+ }
+ },
"node_modules/zustand": {
- "version": "5.0.14",
- "resolved": "https://registry.npmjs.org/zustand/-/zustand-5.0.14.tgz",
- "integrity": "sha512-/8tAspM5LMPr28b3fwLYrtdj77ECpfZviaP75CMTnwO8ISyaE4GDIG/9rDDYq/cH9D2Xw2A2RXglLInmVBQB/g==",
+ "version": "5.0.16",
+ "resolved": "https://registry.npmjs.org/zustand/-/zustand-5.0.16.tgz",
+ "integrity": "sha512-Uv7e327ihlCfayfja3hDc0M64Upev1LWBKpRobdK4NyovDDPeeX4imWXc/wzC1yc6fkYPoAY/ncKVPAs2jrtQw==",
"license": "MIT",
"engines": {
"node": ">=12.20.0"
diff --git a/package.json b/package.json
index 4c36d0e..fc628d7 100644
--- a/package.json
+++ b/package.json
@@ -1,18 +1,21 @@
{
"name": "jsonprism",
"private": true,
- "version": "1.7.2",
+ "version": "2.0.0",
"type": "module",
- "description": "Disperse JSON into many formats — JSONL, CSV, YAML, XML, TOML, RESX, Markdown, SQL — fully client-side.",
- "author": "poli0981 ",
+ "description": "Disperse JSON into 12 formats (six convert back) — JSONL, CSV, TSV, YAML, XML, TOML, RESX, Markdown, SQL, BSON, CBOR, MessagePack. Conversion runs locally in your browser or desktop app.",
+ "author": "poli0981 (https://github.com/poli0981)",
"license": "Apache-2.0",
- "homepage": "https://poli0981.github.io/jsonPrism/",
+ "homepage": "https://jsonprism.poli0981.dev",
"repository": {
"type": "git",
"url": "https://github.com/poli0981/jsonPrism.git"
},
+ "bugs": {
+ "url": "https://github.com/poli0981/jsonPrism/issues"
+ },
"engines": {
- "node": ">=22.11.0"
+ "node": ">=26.0.0"
},
"scripts": {
"dev": "vite",
@@ -21,13 +24,16 @@
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"knip": "knip",
- "format": "prettier --write \"src/**/*.{ts,tsx,css,md,json}\"",
- "format:check": "prettier --check \"src/**/*.{ts,tsx,css,md,json}\"",
- "typecheck": "tsc -b --noEmit",
+ "format": "prettier --write \"src/**/*.{ts,tsx,css,md,json}\" \"worker/**/*.ts\"",
+ "format:check": "prettier --check \"src/**/*.{ts,tsx,css,md,json}\" \"worker/**/*.ts\"",
+ "typecheck": "tsc -b && npm run typecheck:worker",
+ "typecheck:worker": "wrangler types && tsc -p tsconfig.worker.json",
"test": "vitest run",
"test:watch": "vitest",
- "test:ui": "vitest --ui",
"test:coverage": "vitest run --coverage",
+ "cf:types": "wrangler types",
+ "cf:check": "wrangler deploy --dry-run --outdir .wrangler/dry-run",
+ "preview:cf": "wrangler dev",
"tauri": "tauri",
"tauri:dev": "tauri dev",
"tauri:build": "tauri build",
@@ -37,79 +43,80 @@
"tauri:android:build": "npm run tauri:icon && tauri android build --apk"
},
"dependencies": {
- "@codemirror/lang-json": "^6.0.0",
- "@codemirror/lang-markdown": "^6.5.0",
+ "@codemirror/lang-json": "^6.0.2",
+ "@codemirror/lang-markdown": "^6.5.2",
"@codemirror/lang-sql": "^6.10.0",
"@codemirror/lang-xml": "^6.1.0",
"@codemirror/lang-yaml": "^6.1.3",
- "@codemirror/language": "^6.10.0",
- "@codemirror/legacy-modes": "^6.5.3",
+ "@codemirror/language": "^6.13.1",
+ "@codemirror/legacy-modes": "^6.5.5",
"@codemirror/lint": "^6.9.7",
- "@codemirror/state": "^6.4.0",
- "@codemirror/view": "^6.43.1",
- "@fontsource-variable/geist": "^5.2.9",
- "@fontsource-variable/jetbrains-mono": "^5.2.8",
- "@fontsource/instrument-serif": "^5.2.8",
- "@lezer/highlight": "^1.2.0",
+ "@codemirror/state": "^6.7.6",
+ "@codemirror/view": "^6.43.15",
+ "@fontsource-variable/geist": "^5.3.0",
+ "@fontsource-variable/jetbrains-mono": "^5.3.0",
+ "@lezer/highlight": "^1.2.5",
+ "@marsidev/react-turnstile": "^1.6.3",
"@msgpack/msgpack": "^3.1.3",
- "@radix-ui/react-dialog": "^1.1.16",
- "@radix-ui/react-slot": "^1.1.0",
- "@radix-ui/react-switch": "^1.3.0",
- "@radix-ui/react-tabs": "^1.1.14",
- "@tauri-apps/api": "^2.0.0",
- "@tauri-apps/plugin-dialog": "^2.0.0",
- "@tauri-apps/plugin-fs": "^2.0.0",
- "@tauri-apps/plugin-opener": "^2.0.0",
- "@tauri-apps/plugin-os": "^2.0.0",
- "@uiw/react-codemirror": "^4.25.10",
- "bson": "^7.2.0",
- "cbor-x": "^1.6.4",
- "class-variance-authority": "^0.7.0",
- "clsx": "^2.1.0",
- "fast-xml-parser": "^5.8.0",
+ "@radix-ui/react-dialog": "^1.3.1",
+ "@radix-ui/react-slot": "^1.5.0",
+ "@radix-ui/react-switch": "^1.4.1",
+ "@radix-ui/react-tabs": "^1.2.1",
+ "@tauri-apps/api": "^2.12.4",
+ "@tauri-apps/plugin-dialog": "^2.8.3",
+ "@tauri-apps/plugin-fs": "^2.7.1",
+ "@tauri-apps/plugin-opener": "^2.7.2",
+ "@uiw/react-codemirror": "^4.25.12",
+ "bson": "^7.3.3",
+ "cbor-x": "^1.6.8",
+ "class-variance-authority": "^0.7.1",
+ "clsx": "^2.1.1",
+ "fast-xml-parser": "^5.11.2",
"fflate": "^0.8.3",
- "i18next": "^23.0.0",
- "i18next-browser-languagedetector": "^8.0.0",
- "js-yaml": "^4.2.0",
- "lucide-react": "^0.460.0",
- "papaparse": "^5.4.0",
- "react": "^19.2.7",
- "react-dom": "^19.2.7",
- "react-dropzone": "^14.3.0",
- "react-i18next": "^15.0.0",
- "react-router-dom": "^7.17.0",
- "smol-toml": "^1.3.0",
- "sonner": "^2.0.7",
- "tailwind-merge": "^2.5.0",
- "zustand": "^5.0.14"
+ "i18next": "^26.5.5",
+ "i18next-browser-languagedetector": "^8.2.1",
+ "js-yaml": "^5.5.0",
+ "lucide-react": "^1.61.0",
+ "papaparse": "^5.7.0",
+ "react": "^19.3.1",
+ "react-dom": "^19.3.1",
+ "react-dropzone": "^20.1.4",
+ "react-i18next": "^17.1.1",
+ "react-router": "^8.5.0",
+ "smol-toml": "^1.9.1",
+ "sonner": "^2.0.8",
+ "tailwind-merge": "^3.7.0",
+ "zustand": "^5.0.16"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
- "@tailwindcss/vite": "^4.3.1",
- "@tauri-apps/cli": "^2.11.2",
- "@testing-library/jest-dom": "^6.6.0",
- "@testing-library/react": "^16.1.0",
- "@testing-library/user-event": "^14.5.0",
- "@types/js-yaml": "^4.0.0",
- "@types/node": "^25.9.3",
- "@types/papaparse": "^5.3.0",
- "@types/react": "^19.2.17",
- "@types/react-dom": "^19.0.0",
- "@vitejs/plugin-react": "^6.0.2",
- "@vitest/coverage-v8": "^4.1.8",
- "eslint": "^10.5.0",
- "eslint-plugin-react-hooks": "^5.0.0",
- "eslint-plugin-react-refresh": "^0.5.2",
- "globals": "^17.6.0",
- "jsdom": "^29.0.0",
- "knip": "^6.16.1",
- "prettier": "^3.8.4",
- "prettier-plugin-tailwindcss": "^0.8.0",
- "tailwindcss": "^4.0.0",
- "tw-animate-css": "^1.2.0",
- "typescript": "^5.7.0",
- "typescript-eslint": "^8.61.0",
- "vite": "^8.0.16",
- "vitest": "^4.1.6"
+ "@tailwindcss/vite": "^4.3.3",
+ "@tauri-apps/cli": "^2.12.4",
+ "@testing-library/dom": "^10.4.2",
+ "@testing-library/jest-dom": "^7.0.1",
+ "@testing-library/react": "^16.3.3",
+ "@testing-library/user-event": "^14.6.8",
+ "@types/node": "^26.6.5",
+ "@types/papaparse": "^5.5.2",
+ "@types/react": "^19.3.0",
+ "@types/react-dom": "^19.3.0",
+ "@typescript/native": "npm:typescript@^7.0.2",
+ "@vitejs/plugin-react": "^6.1.2",
+ "@vitest/coverage-v8": "^5.0.5",
+ "eslint": "^10.13.0",
+ "eslint-plugin-react-hooks": "^7.1.1",
+ "eslint-plugin-react-refresh": "^0.5.7",
+ "globals": "^17.13.0",
+ "jsdom": "^30.1.3",
+ "knip": "^6.42.1",
+ "prettier": "^3.9.10",
+ "prettier-plugin-tailwindcss": "^0.8.1",
+ "tailwindcss": "^4.3.3",
+ "tw-animate-css": "^1.4.0",
+ "typescript": "npm:@typescript/typescript6@^6.0.2",
+ "typescript-eslint": "^8.72.0",
+ "vite": "^8.3.5",
+ "vitest": "^5.0.5",
+ "wrangler": "^4.151.3"
}
}
diff --git a/public/.well-known/security.txt b/public/.well-known/security.txt
new file mode 100644
index 0000000..608fcdc
--- /dev/null
+++ b/public/.well-known/security.txt
@@ -0,0 +1,7 @@
+# Security contact for JSONPrism (RFC 9116). Policy: SECURITY.md.
+Contact: https://github.com/poli0981/jsonPrism/security/advisories/new
+Contact: mailto:security@poli0981.dev
+Expires: 2027-10-01T00:00:00.000Z
+Preferred-Languages: en, vi
+Canonical: https://jsonprism.poli0981.dev/.well-known/security.txt
+Policy: https://github.com/poli0981/jsonPrism/blob/main/SECURITY.md
diff --git a/public/404.html b/public/404.html
deleted file mode 100644
index 11a002d..0000000
--- a/public/404.html
+++ /dev/null
@@ -1,41 +0,0 @@
-
-
-
-
-
- JSONPrism
-
-
-
-
-
diff --git a/public/_headers b/public/_headers
new file mode 100644
index 0000000..4bb529f
--- /dev/null
+++ b/public/_headers
@@ -0,0 +1,26 @@
+# Response headers for static assets (Cloudflare Workers Static Assets).
+# API responses from worker/ set their own headers.
+#
+# CSP notes:
+# - script-src: the Cloudflare Web Analytics beacon and the Turnstile widget.
+# - style-src 'unsafe-inline': CodeMirror, Radix and Sonner inject styles at runtime.
+# - connect-src: the analytics beacon reports to cloudflareinsights.com (or /cdn-cgi/rum).
+# - frame-src: the Turnstile challenge iframe.
+# - worker-src 'self': the conversion Web Worker.
+/*
+ Content-Security-Policy: default-src 'self'; script-src 'self' https://static.cloudflareinsights.com https://challenges.cloudflare.com; style-src 'self' 'unsafe-inline'; img-src 'self' data:; font-src 'self' data:; connect-src 'self' https://cloudflareinsights.com; frame-src https://challenges.cloudflare.com; worker-src 'self'; manifest-src 'self'; object-src 'none'; base-uri 'self'; form-action 'self'; frame-ancestors 'none'; upgrade-insecure-requests
+ Strict-Transport-Security: max-age=31536000
+ X-Content-Type-Options: nosniff
+ X-Frame-Options: DENY
+ Referrer-Policy: strict-origin-when-cross-origin
+ Permissions-Policy: accelerometer=(), camera=(), geolocation=(), gyroscope=(), magnetometer=(), microphone=(), payment=(), usb=(), browsing-topics=()
+ Cross-Origin-Opener-Policy: same-origin
+ # HTML must revalidate so a deploy is picked up; no-transform keeps zone
+ # features (Rocket Loader, Email Obfuscation) from rewriting pages and
+ # breaking the CSP.
+ Cache-Control: no-cache, no-transform
+
+# Vite's hashed bundles never change content under the same name.
+/assets/*
+ ! Cache-Control
+ Cache-Control: public, max-age=31536000, immutable
diff --git a/public/_redirects b/public/_redirects
new file mode 100644
index 0000000..e431528
--- /dev/null
+++ b/public/_redirects
@@ -0,0 +1,4 @@
+# Old GitHub Pages paths (https://poli0981.github.io/jsonPrism/…) carried a
+# /jsonPrism prefix; keep links that were rewritten to the new host working.
+/jsonPrism / 301
+/jsonPrism/* /:splat 301
diff --git a/public/favicon.svg b/public/favicon.svg
index ba890a0..fa15d84 100644
--- a/public/favicon.svg
+++ b/public/favicon.svg
@@ -1,8 +1,16 @@
+
-
+
-
+
diff --git a/public/og-image.png b/public/og-image.png
new file mode 100644
index 0000000..75be423
Binary files /dev/null and b/public/og-image.png differ
diff --git a/public/robots.txt b/public/robots.txt
new file mode 100644
index 0000000..924840d
--- /dev/null
+++ b/public/robots.txt
@@ -0,0 +1,4 @@
+User-agent: *
+Allow: /
+
+Sitemap: https://jsonprism.poli0981.dev/sitemap.xml
diff --git a/public/sitemap.xml b/public/sitemap.xml
new file mode 100644
index 0000000..38e77ff
--- /dev/null
+++ b/public/sitemap.xml
@@ -0,0 +1,15 @@
+
+
+
+ https://jsonprism.poli0981.dev/
+ 2026-10-22
+ monthly
+ 1.0
+
+
+ https://jsonprism.poli0981.dev/about
+ 2026-10-22
+ monthly
+ 0.5
+
+
diff --git a/public/theme-init.js b/public/theme-init.js
new file mode 100644
index 0000000..96cb390
--- /dev/null
+++ b/public/theme-init.js
@@ -0,0 +1,29 @@
+// Applies the saved theme and display preferences before the first paint so
+// the page never flashes the wrong theme. Loaded as a blocking external script
+// (not inline) so the Content-Security-Policy can stay free of 'unsafe-inline'.
+// Mirrors src/lib/theme.tsx and src/stores/preferencesStore.ts — keep the
+// storage keys and colors in sync with those files.
+(function () {
+ var root = document.documentElement;
+ var theme = 'system';
+ var hideScrollbars = false;
+ try {
+ var stored = window.localStorage.getItem('jsonprism.theme');
+ if (stored === 'light' || stored === 'dark' || stored === 'system') theme = stored;
+ var prefs = JSON.parse(window.localStorage.getItem('jsonprism.prefs') || 'null');
+ hideScrollbars = !!(prefs && prefs.hideScrollbars === true);
+ } catch (e) {
+ // Blocked storage: fall back to the system theme.
+ }
+ // Same default as systemTheme() in src/lib/theme-dom.ts: dark when the
+ // browser cannot report a preference.
+ var dark =
+ theme === 'dark' ||
+ (theme === 'system' &&
+ (!window.matchMedia || window.matchMedia('(prefers-color-scheme: dark)').matches));
+ root.classList.toggle('dark', dark);
+ root.style.colorScheme = dark ? 'dark' : 'light';
+ if (hideScrollbars) root.setAttribute('data-scrollbars', 'hidden');
+ var meta = document.querySelector('meta[name="theme-color"]');
+ if (meta) meta.setAttribute('content', dark ? '#0b0c14' : '#fbfbfe');
+})();
diff --git a/sonar-project.properties b/sonar-project.properties
new file mode 100644
index 0000000..6c3503a
--- /dev/null
+++ b/sonar-project.properties
@@ -0,0 +1,22 @@
+# SonarQube Cloud, CI-based analysis (.github/workflows/ci.yml, job "sonar").
+# Automatic Analysis must stay off in the project settings, or the CI scan fails.
+sonar.organization=poli0981
+sonar.projectKey=poli0981_jsonPrism
+sonar.projectName=JSONPrism
+sonar.sourceEncoding=UTF-8
+
+# The Android project under src-tauri/gen is Tauri scaffolding; only the files
+# we maintain (manifest, Kotlin entry point) are analysed, not its Gradle setup.
+sonar.sources=src,worker,src-tauri/src,src-tauri/gen/android/app/src/main,.github/workflows,vite.config.ts,vitest.config.ts
+sonar.tests=src,worker
+sonar.test.inclusions=**/__tests__/**,**/*.test.ts,**/*.test.tsx,src/test/**
+sonar.exclusions=**/__tests__/**,**/*.test.ts,**/*.test.tsx,src/test/**,src/components/ui/**,**/*.d.ts,src-tauri/gen/android/app/src/main/res/**
+
+# Coverage comes from Vitest (npm run test:coverage). Rust, Android and
+# workflow files have no JS coverage to report.
+sonar.javascript.lcov.reportPaths=coverage/lcov.info
+sonar.coverage.exclusions=src/main.tsx,src/i18n/locales/**,src-tauri/**,.github/**,vite.config.ts,vitest.config.ts
+sonar.cpd.exclusions=src/i18n/locales/**
+
+# Report the Quality Gate without blocking CI until coverage settles.
+sonar.qualitygate.wait=false
diff --git a/src-tauri/Cargo.lock b/src-tauri/Cargo.lock
index 6ad10a7..522d3e8 100644
--- a/src-tauri/Cargo.lock
+++ b/src-tauri/Cargo.lock
@@ -10,42 +10,42 @@ checksum = "320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa"
[[package]]
name = "aho-corasick"
-version = "1.1.4"
+version = "1.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ddd31a130427c27518df266943a5308ed92d4b226cc639f5a8f1002816174301"
+checksum = "c982642fa9e8606056828ee9a8505737230110bb1099153c79efe865c59d12ba"
dependencies = [
"memchr",
]
[[package]]
name = "alloc-no-stdlib"
-version = "2.0.4"
+version = "3.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cc7bb162ec39d46ab1ca8c77bf72e890535becd1751bb45f64c597edb4c8c6b3"
+checksum = "c2fb6cfd47bf496ff64095c20eaba0c201404ee38714d4142fcfa1dc334fcc7a"
[[package]]
name = "alloc-stdlib"
-version = "0.2.2"
+version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "94fb8275041c72129eb51b7d0322c29b8387a0386127718b096429201a5d6ece"
+checksum = "0b5c1865780388bfa186411ab5f247819487fc4864c6e9c3106611fa347586e1"
dependencies = [
"alloc-no-stdlib",
]
[[package]]
name = "android_system_properties"
-version = "0.1.5"
+version = "0.1.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "819e7219dbd41043ac279b19830f2efc897156490d7fd6ea916720117ee66311"
+checksum = "ae221649c9976a6f6c56ae1facf410f3ddb33cc661c4b7b61020a912d4237fbc"
dependencies = [
"libc",
]
[[package]]
name = "anyhow"
-version = "1.0.102"
+version = "1.0.104"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7f202df86484c868dbad7eaa557ef785d5c66295e41b460ef922eca0723b842c"
+checksum = "330a5ed07fa54e4702c9d6c4174f74427fc0ef6e214bbd677ae50a5099946470"
[[package]]
name = "async-broadcast"
@@ -134,13 +134,13 @@ dependencies = [
[[package]]
name = "async-recursion"
-version = "1.1.1"
+version = "1.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3b43422f69d8ff38f95f1b2bb76517c91589a924d1559a0e935d7c8ce0274c11"
+checksum = "4f8abc12baad266b1c8cec146854c195b5864b4221d4b2ca7296a7ae82d9e451"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.117",
+ "syn 3.0.9",
]
[[package]]
@@ -169,13 +169,13 @@ checksum = "8b75356056920673b02621b35afd0f7dda9306d03c79a30f5c56c44cf256e3de"
[[package]]
name = "async-trait"
-version = "0.1.89"
+version = "0.1.92"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9035ad2d096bed7955a320ee7e2230574d28fd3c3a0f186cbea1ff3c7eed5dbb"
+checksum = "82f6aeea286b8eb4dd3431a1be1b59d290ace00f5bfd8e2a159bc2a05e2c1667"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.117",
+ "syn 3.0.9",
]
[[package]]
@@ -225,6 +225,12 @@ version = "0.22.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6"
+[[package]]
+name = "base64"
+version = "0.23.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ac07cdecf99051d9a5238b80f35af32cdeba5b336e55d957b318b50137e18da5"
+
[[package]]
name = "bit-set"
version = "0.8.0"
@@ -248,9 +254,9 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
[[package]]
name = "bitflags"
-version = "2.13.0"
+version = "2.13.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b4388bee8683e3d04af747c73422af53102d2bd24d9eadb6cbc100baef4b43f8"
+checksum = "3ded4057c258ba199e2d26386d3af3780957ecaee6c4ef4041c6b4b8b97c0b06"
dependencies = [
"serde_core",
]
@@ -275,9 +281,9 @@ dependencies = [
[[package]]
name = "blocking"
-version = "1.6.2"
+version = "1.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e83f8d02be6967315521be875afa792a316e28d57b5a2d401897e2a7921b7f21"
+checksum = "a70e4329df6cb94385eed412ec92375c3cdd8a6e502493d1229b6414e4036dfa"
dependencies = [
"async-channel",
"async-task",
@@ -288,9 +294,9 @@ dependencies = [
[[package]]
name = "brotli"
-version = "8.0.3"
+version = "9.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8119e4516436f5708bbc474a9d395bf12f1b5395e93a92a56e647ac3388c8610"
+checksum = "f8b851b75c23ca7873623d612fe49bd1989aeb03d08fb9432187eb253d3d4c6b"
dependencies = [
"alloc-no-stdlib",
"alloc-stdlib",
@@ -299,9 +305,9 @@ dependencies = [
[[package]]
name = "brotli-decompressor"
-version = "5.0.1"
+version = "6.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5962523e1b92ce1b5e793d9169b9943eece10d39f62550bc04bb605d75b94924"
+checksum = "941cd9bd4ddab83cb46fa5a2d428f1c857b24ac78cb876cf7beb710840934bd7"
dependencies = [
"alloc-no-stdlib",
"alloc-stdlib",
@@ -324,9 +330,9 @@ checksum = "72f5acc6cb2ba439de613abc23857ec3d78374d8ed5ac84e9d11336e87da8649"
[[package]]
name = "bytemuck"
-version = "1.25.0"
+version = "1.25.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c8efb64bd706a16a1bdde310ae86b351e4d21550d98d056f22f8a7f7a2183fec"
+checksum = "95832e849adfb21180ccb6826a99da14e5d266ae5c2e668e1602cf234f153797"
[[package]]
name = "byteorder"
@@ -336,9 +342,9 @@ checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b"
[[package]]
name = "bytes"
-version = "1.11.1"
+version = "1.12.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1e748733b7cbc798e1434b6ac524f0c1ff2ab456fe201501e6497c8417a4fc33"
+checksum = "fc652a48c352aef3ea3aed32080501cf3ef6ed5da78602a020c991775b0aff04"
dependencies = [
"serde",
]
@@ -349,7 +355,7 @@ version = "0.18.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8ca26ef0159422fb77631dc9d17b102f253b876fe1586b03b803e63a309b4ee2"
dependencies = [
- "bitflags 2.13.0",
+ "bitflags 2.13.2",
"cairo-sys-rs",
"glib",
"libc",
@@ -370,9 +376,9 @@ dependencies = [
[[package]]
name = "camino"
-version = "1.2.2"
+version = "1.2.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e629a66d692cb9ff1a1c664e41771b3dcaf961985a9774c0eb0bd1b51cf60a48"
+checksum = "bbbad30e4b4c14a39e3cc8aed085a12a327257c316619c93581e017bc52be591"
dependencies = [
"serde_core",
]
@@ -397,24 +403,25 @@ dependencies = [
"semver",
"serde",
"serde_json",
- "thiserror 2.0.18",
+ "thiserror 2.0.21",
]
[[package]]
name = "cargo_toml"
-version = "0.22.3"
+version = "1.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "374b7c592d9c00c1f4972ea58390ac6b18cbb6ab79011f3bdc90a0b82ca06b77"
+checksum = "82f4b26e751e711a5302649417f2da046dce6391b2ea30a4820f37462314f0b9"
dependencies = [
+ "semver",
"serde",
- "toml 0.9.12+spec-1.1.0",
+ "toml 1.1.8+spec-1.1.0",
]
[[package]]
name = "cc"
-version = "1.2.64"
+version = "1.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dad887fd958be91b5098c0248def011f4523ab786cd411be668777e55063501f"
+checksum = "877bf67ac8e52449eb2f9e98a344ea163beb70dd1f9eebe3cc5357dcfeaee4df"
dependencies = [
"find-msvc-tools",
"shlex",
@@ -428,13 +435,13 @@ checksum = "6d43a04d8753f35258c91f8ec639f792891f748a1edbd759cf1dcea3382ad83c"
[[package]]
name = "cfb"
-version = "0.7.3"
+version = "0.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d38f2da7a0a2c4ccf0065be06397cc26a81f4e528be095826eee9d4adbb8c60f"
+checksum = "a347dcabdae9c31b0825fd6a8bed285ec9c2acb89c47827126d52fa4f59cece3"
dependencies = [
- "byteorder",
"fnv",
"uuid",
+ "web-time",
]
[[package]]
@@ -449,15 +456,9 @@ dependencies = [
[[package]]
name = "cfg-if"
-version = "1.0.4"
+version = "1.0.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801"
-
-[[package]]
-name = "cfg_aliases"
-version = "0.2.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724"
+checksum = "4e7648175b45a9a48536d676f68d918270699102aa8dab5496df06904c914600"
[[package]]
name = "chrono"
@@ -468,14 +469,14 @@ dependencies = [
"iana-time-zone",
"num-traits",
"serde",
- "windows-link 0.2.1",
+ "windows-link",
]
[[package]]
name = "combine"
-version = "4.6.7"
+version = "4.6.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ba5a308b75df32fe02788e748662718f03fde005016435c444eea572398219fd"
+checksum = "4356eba6976435498d05a311ee9fc486da3bc81c200d3f0d7dd9703b41913f92"
dependencies = [
"bytes",
"memchr",
@@ -492,9 +493,9 @@ dependencies = [
[[package]]
name = "cookie"
-version = "0.18.1"
+version = "0.18.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4ddef33a339a91ea89fb53151bd0a4689cfce27055c291dfa69945475d22c747"
+checksum = "1a373e3602691c3cdea496d2f0ee5935151e6168fe87739483c463db1b2f2f87"
dependencies = [
"time",
"version_check",
@@ -522,7 +523,7 @@ version = "0.25.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "064badf302c3194842cf2c5d61f56cc88e54a759313879cdf03abdd27d0c3b97"
dependencies = [
- "bitflags 2.13.0",
+ "bitflags 2.13.2",
"core-foundation",
"core-graphics-types",
"foreign-types",
@@ -535,7 +536,7 @@ version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3d44a101f213f6c4cdc1853d4b78aef6db6bdfa3468798cc1d9912f4735013eb"
dependencies = [
- "bitflags 2.13.0",
+ "bitflags 2.13.2",
"core-foundation",
"libc",
]
@@ -551,27 +552,27 @@ dependencies = [
[[package]]
name = "crc32fast"
-version = "1.5.0"
+version = "1.5.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9481c1c90cbf2ac953f07c8d4a58aa3945c425b7185c9154d67a65e4230da511"
+checksum = "0ba106e844045ddc02c20768ac4b0b7cb45f2cc2ecbd833ac9f5dacb183c2055"
dependencies = [
"cfg-if",
]
[[package]]
name = "crossbeam-channel"
-version = "0.5.15"
+version = "0.5.17"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "82b8f8f868b36967f9606790d1903570de9ceaf870a7bf9fbbd3016d636a2cb2"
+checksum = "98b0cc327b5bc766e7fda9c9260cc0fa81b43a8e240440422dff70788e3f9ef1"
dependencies = [
"crossbeam-utils",
]
[[package]]
name = "crossbeam-utils"
-version = "0.8.21"
+version = "0.8.23"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28"
+checksum = "a31eee39dddec8330830986fcd7625edb5a24ec90ea038215273bbc3adb08ac6"
[[package]]
name = "crypto-common"
@@ -585,9 +586,9 @@ dependencies = [
[[package]]
name = "cssparser"
-version = "0.36.0"
+version = "0.37.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dae61cf9c0abb83bd659dab65b7e4e38d8236824c85f0f804f173567bda257d2"
+checksum = "8c9cdaae01d5ed7882b04d795e7f752f46ff52d2fa3b50a20d28c464510bba98"
dependencies = [
"cssparser-macros",
"dtoa-short",
@@ -598,35 +599,25 @@ dependencies = [
[[package]]
name = "cssparser-macros"
-version = "0.6.1"
+version = "0.7.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "13b588ba4ac1a99f7f2964d24b3d896ddc6bf847ee3855dbd4366f058cfcd331"
+checksum = "d045de693cb712d0b22c6a64be5b953f67b3ce00ab5ad3dd5d8b441886ab8e1a"
dependencies = [
"quote",
- "syn 2.0.117",
+ "syn 3.0.9",
]
[[package]]
name = "ctor"
-version = "0.8.0"
+version = "1.0.13"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "352d39c2f7bef1d6ad73db6f5160efcaed66d94ef8c6c573a8410c00bf909a98"
-dependencies = [
- "ctor-proc-macro",
- "dtor",
-]
-
-[[package]]
-name = "ctor-proc-macro"
-version = "0.0.7"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "52560adf09603e58c9a7ee1fe1dcb95a16927b17c127f0ac02d6e768a0e25bc1"
+checksum = "914a755b7c2d4af2bdcff7ce1739e2db9a1b81a9b07123d8015786ae03c0980d"
[[package]]
name = "darling"
-version = "0.23.0"
+version = "0.24.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "25ae13da2f202d56bd7f91c25fba009e7717a1e4a1cc98a76d844b65ae912e9d"
+checksum = "ed17f5901b6630b993ca003def43f2f8ef4014fc13b047b57aad617ff32bc2ec"
dependencies = [
"darling_core",
"darling_macro",
@@ -634,33 +625,33 @@ dependencies = [
[[package]]
name = "darling_core"
-version = "0.23.0"
+version = "0.24.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9865a50f7c335f53564bb694ef660825eb8610e0a53d3e11bf1b0d3df31e03b0"
+checksum = "6837e2cf7485aaae18f86181d2f0e9a7ed297a025e220aeabf63fdebd3a2ddff"
dependencies = [
"ident_case",
"proc-macro2",
"quote",
"strsim",
- "syn 2.0.117",
+ "syn 3.0.9",
]
[[package]]
name = "darling_macro"
-version = "0.23.0"
+version = "0.24.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ac3984ec7bd6cfa798e62b4a642426a5be0e68f9401cfc2a01e3fa9ea2fcdb8d"
+checksum = "2ac7135c3ef02b2f7833bbeb1be5ba7f966dcde8a87c6b87f65a778d71a02785"
dependencies = [
"darling_core",
"quote",
- "syn 2.0.117",
+ "syn 3.0.9",
]
[[package]]
name = "dbus"
-version = "0.9.11"
+version = "0.9.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b942602992bb7acfd1f51c49811c58a610ef9181b6e66f3e519d79b540a3bf73"
+checksum = "3ab69f03cc8c4340c9c8e315114e1658e6775a9b16a04357973aa21cec22b32e"
dependencies = [
"libc",
"libdbus-sys",
@@ -668,10 +659,41 @@ dependencies = [
]
[[package]]
-name = "deranged"
-version = "0.5.8"
+name = "defmt"
+version = "1.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7cd812cc2bc1d69d4764bd80df88b4317eaef9e773c75226407d9bc0876b211c"
+checksum = "e4a0795ac740cb54d7b3775c9c17345f6aaecf884c01733b39d6017738e0e3e1"
+dependencies = [
+ "bitflags 1.3.2",
+ "defmt-macros",
+]
+
+[[package]]
+name = "defmt-macros"
+version = "1.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "840bb056bd99c495c9188198a258ab787c79f306d864db3e6e8451442d6d8366"
+dependencies = [
+ "defmt-parser",
+ "proc-macro2",
+ "quote",
+ "syn 3.0.9",
+]
+
+[[package]]
+name = "defmt-parser"
+version = "1.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "71958f69fb2de856c5dd51ac9377e986ca1aa5919f931bf5395a807277f889a0"
+dependencies = [
+ "thiserror 2.0.21",
+]
+
+[[package]]
+name = "deranged"
+version = "0.5.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9e9de72ce2ad1f90dc62fa25f0f430ef85eb4b0d8fa0be4f30373bc40a21d28e"
dependencies = [
"serde_core",
]
@@ -694,7 +716,7 @@ dependencies = [
"proc-macro2",
"quote",
"rustc_version",
- "syn 2.0.117",
+ "syn 2.0.119",
]
[[package]]
@@ -709,9 +731,9 @@ dependencies = [
[[package]]
name = "dirs"
-version = "6.0.0"
+version = "7.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c3e8aa94d75141228480295a7d0e7feb620b1a5ad9f12bc40be62411e38cce4e"
+checksum = "8d57d423b3c82e89b9a24ca3091fee61f456a26edbd28d26c65906f4bc1dcd8f"
dependencies = [
"dirs-sys",
]
@@ -734,7 +756,7 @@ version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1e0e367e4e7da84520dedcac1901e4da967309406d1e51017ae1abfb97adbd38"
dependencies = [
- "bitflags 2.13.0",
+ "bitflags 2.13.2",
"block2",
"libc",
"objc2",
@@ -742,13 +764,13 @@ dependencies = [
[[package]]
name = "displaydoc"
-version = "0.2.6"
+version = "0.2.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1ac70aa55017e108007fbaf5aa0f54b021c98f92ff8af59d42eda9da96e3dd4f"
+checksum = "c6232dd377dcc64799954cbd3a9bb882e9cdc1308ccd87b1c098f1fb2eaf82a8"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.117",
+ "syn 3.0.9",
]
[[package]]
@@ -771,18 +793,18 @@ checksum = "0fbbb781877580993a8707ec48672673ec7b81eeba04cfd2310bd28c08e47c8f"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.117",
+ "syn 2.0.119",
]
[[package]]
name = "dom_query"
-version = "0.27.0"
+version = "0.28.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "521e380c0c8afb8d9a1e83a1822ee03556fc3e3e7dbc1fd30be14e37f9cb3f89"
+checksum = "fac5fca71e65e94cc718a6e2af65d6e0f9c6027751c2aa562fbb5087fda639bc"
dependencies = [
"bit-set",
"cssparser",
- "foldhash 0.2.0",
+ "foldhash",
"html5ever",
"precomputed-hash",
"selectors",
@@ -813,21 +835,6 @@ dependencies = [
"dtoa",
]
-[[package]]
-name = "dtor"
-version = "0.3.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f1057d6c64987086ff8ed0fd3fbf377a6b7d205cc7715868cd401705f715cbe4"
-dependencies = [
- "dtor-proc-macro",
-]
-
-[[package]]
-name = "dtor-proc-macro"
-version = "0.0.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f678cf4a922c215c63e0de95eb1ff08a958a81d47e485cf9da1e27bf6305cfa5"
-
[[package]]
name = "dunce"
version = "1.0.5"
@@ -842,14 +849,14 @@ checksum = "d0881ea181b1df73ff77ffaaf9c7544ecc11e82fba9b5f27b262a3c73a332555"
[[package]]
name = "embed-resource"
-version = "3.0.9"
+version = "3.0.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c31a88c8d26de40ed18fe748c547845aa39de1db3afd958f8cb91579f3644bcb"
+checksum = "6168487b5e7eb2673e6efe1200b1848016e436a6ca0b8031bf04bd9d493a249f"
dependencies = [
"cc",
"memchr",
"rustc_version",
- "toml 1.1.2+spec-1.1.0",
+ "toml 1.1.8+spec-1.1.0",
"vswhom",
"winreg",
]
@@ -884,14 +891,14 @@ checksum = "67c78a4d8fdf9953a5c9d458f9efe940fd97a0cab0941c075a813ac594733827"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.117",
+ "syn 2.0.119",
]
[[package]]
name = "equivalent"
-version = "1.0.2"
+version = "1.0.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f"
+checksum = "00d174d5400e5e8fd687ad1049e2f578285fa914201b1af7e8b112a4546bd826"
[[package]]
name = "erased-serde"
@@ -916,11 +923,10 @@ dependencies = [
[[package]]
name = "event-listener"
-version = "5.4.1"
+version = "5.4.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e13b66accf52311f30a0db42147dadea9850cb48cd070028831ae5f5d4b856ab"
+checksum = "5a23add41df1562121a9393cb065eab5146a1242410f23a644851e90cfd669d2"
dependencies = [
- "concurrent-queue",
"parking",
"pin-project-lite",
]
@@ -937,9 +943,9 @@ dependencies = [
[[package]]
name = "fastrand"
-version = "2.4.1"
+version = "2.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9f1f227452a390804cdb637b74a86990f2a7d7ba4b7d5693aac9b4dd6defd8d6"
+checksum = "da7c62ceae207dd37ea5b845da6a0696c799f85e97da1ab5b7910be3c1c80223"
[[package]]
name = "fdeflate"
@@ -962,18 +968,19 @@ dependencies = [
[[package]]
name = "find-msvc-tools"
-version = "0.1.9"
+version = "0.1.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5baebc0774151f905a1a2cc41989300b1e6fbb29aff0ceffa1064fdd3088d582"
+checksum = "1c66915cc5391097de7a2b0b972e8505aa33c0df401fd3a6811dbdb32881ba48"
[[package]]
name = "flate2"
-version = "1.1.9"
+version = "1.1.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "843fba2746e448b37e26a819579957415c8cef339bf08564fe8b7ddbd959573c"
+checksum = "6e634e2e0ebac1ee034020da1ca582e17ffe4e0f5e985823721e168928136dcb"
dependencies = [
"crc32fast",
- "miniz_oxide",
+ "miniz_oxide 0.9.1",
+ "zlib-rs",
]
[[package]]
@@ -982,12 +989,6 @@ version = "1.0.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1"
-[[package]]
-name = "foldhash"
-version = "0.1.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d9c4f5dac5e15c24eb999c26181a6ca40b39fe946cbe4c263c7209467bc83af2"
-
[[package]]
name = "foldhash"
version = "0.2.0"
@@ -1006,13 +1007,13 @@ dependencies = [
[[package]]
name = "foreign-types-macros"
-version = "0.2.3"
+version = "0.2.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1a5c6c585bc94aaf2c7b51dd4c2ba22680844aba4c687be581871a6f518c5742"
+checksum = "ea5190182e6915eb873ddbc16e23b711b6eb1f9c00a0d0a3a91b5f6228475225"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.117",
+ "syn 3.0.9",
]
[[package]]
@@ -1032,24 +1033,24 @@ dependencies = [
[[package]]
name = "futures-channel"
-version = "0.3.32"
+version = "0.3.34"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "07bbe89c50d7a535e539b8c17bc0b49bdb77747034daa8087407d655f3f7cc1d"
+checksum = "b1f9e3d69d39e4862ffed03ed071a76f9a13ba1d9109d355b0f0aa6b15e393c4"
dependencies = [
"futures-core",
]
[[package]]
name = "futures-core"
-version = "0.3.32"
+version = "0.3.34"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7e3450815272ef58cec6d564423f6e755e25379b217b0bc688e295ba24df6b1d"
+checksum = "92d699e522242e69e3003b94ecc1f960f3a5e015aa7c5d7486e65ad01dd94f5e"
[[package]]
name = "futures-executor"
-version = "0.3.32"
+version = "0.3.34"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "baf29c38818342a3b26b5b923639e7b1f4a61fc5e76102d4b1981c6dc7a7579d"
+checksum = "031b47cf1a3c6cc8bc2fc76cd437f521619387907d469316e7c0bc278f1f5432"
dependencies = [
"futures-core",
"futures-task",
@@ -1058,9 +1059,9 @@ dependencies = [
[[package]]
name = "futures-io"
-version = "0.3.32"
+version = "0.3.34"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cecba35d7ad927e23624b22ad55235f2239cfa44fd10428eecbeba6d6a717718"
+checksum = "53c0fa8157de1303bfffdaa1cc2a673bfffb60102f76b0ef4441659124373fed"
[[package]]
name = "futures-lite"
@@ -1077,32 +1078,32 @@ dependencies = [
[[package]]
name = "futures-macro"
-version = "0.3.32"
+version = "0.3.34"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e835b70203e41293343137df5c0664546da5745f82ec9b84d40be8336958447b"
+checksum = "9fb9654ba8355388abeb8dcb4fc62f511300867002afc858860463bdd9fe0c44"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.117",
+ "syn 3.0.9",
]
[[package]]
name = "futures-sink"
-version = "0.3.32"
+version = "0.3.34"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c39754e157331b013978ec91992bde1ac089843443c49cbc7f46150b0fad0893"
+checksum = "1944426bf7d03f1d14f708785e4b33efd750b36d48a157b836b3efc15ede8e1d"
[[package]]
name = "futures-task"
-version = "0.3.32"
+version = "0.3.34"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "037711b3d59c33004d3856fbdc83b99d4ff37a24768fa1be9ce3538a1cde4393"
+checksum = "cd417de3d1d015fc3bfd2b1ea46dfc7bab72ef86f1cc7cc9c78e728b34a6d1fd"
[[package]]
name = "futures-util"
-version = "0.3.32"
+version = "0.3.34"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "389ca41296e6190b48053de0321d02a77f32f8a5d2461dd38762c0593805c6d6"
+checksum = "0d50a92467f8ba5dd6e3ee5d4bd04d73ab2e4e1c44474a0674821dfce14b79bc"
dependencies = [
"futures-core",
"futures-io",
@@ -1223,27 +1224,6 @@ dependencies = [
"version_check",
]
-[[package]]
-name = "gethostname"
-version = "1.1.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1bd49230192a3797a9a4d6abe9b3eed6f7fa4c8a8a4947977c6f80025f92cbd8"
-dependencies = [
- "rustix",
- "windows-link 0.2.1",
-]
-
-[[package]]
-name = "getrandom"
-version = "0.2.17"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ff2abc00be7fca6ebc474524697ae276ad847ad0a6b3faa4bcb027e9a4614ad0"
-dependencies = [
- "cfg-if",
- "libc",
- "wasi",
-]
-
[[package]]
name = "getrandom"
version = "0.3.4"
@@ -1258,15 +1238,13 @@ dependencies = [
[[package]]
name = "getrandom"
-version = "0.4.2"
+version = "0.4.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0de51e6874e94e7bf76d726fc5d13ba782deca734ff60d5bb2fb2607c7406555"
+checksum = "300e883d756b2e4ec94e02791f39b04b522276138852cfc41d9fb7e904106099"
dependencies = [
"cfg-if",
"libc",
"r-efi 6.0.0",
- "wasip2",
- "wasip3",
]
[[package]]
@@ -1307,7 +1285,7 @@ version = "0.18.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "233daaf6e83ae6a12a52055f568f9d7cf4671dabb78ff9560ab6da230ce00ee5"
dependencies = [
- "bitflags 2.13.0",
+ "bitflags 2.13.2",
"futures-channel",
"futures-core",
"futures-executor",
@@ -1335,7 +1313,7 @@ dependencies = [
"proc-macro-error",
"proc-macro2",
"quote",
- "syn 2.0.117",
+ "syn 2.0.119",
]
[[package]]
@@ -1350,9 +1328,9 @@ dependencies = [
[[package]]
name = "glob"
-version = "0.3.3"
+version = "0.3.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0cc23270f6e1808e30a928bdc84dea0b9b4136a8bc82338574f23baf47bbd280"
+checksum = "e4eba85ea1d0a966a983acd07deee566e67395d2d96b6fb39e62b5a833f1eb0b"
[[package]]
name = "gobject-sys"
@@ -1414,7 +1392,7 @@ dependencies = [
"proc-macro-error",
"proc-macro2",
"quote",
- "syn 2.0.117",
+ "syn 2.0.119",
]
[[package]]
@@ -1423,15 +1401,6 @@ version = "0.12.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888"
-[[package]]
-name = "hashbrown"
-version = "0.15.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9229cfe53dfd69f0609a49f65461bd93001ea1ef889cd5529dd176593f5338a1"
-dependencies = [
- "foldhash 0.1.5",
-]
-
[[package]]
name = "hashbrown"
version = "0.17.1"
@@ -1452,9 +1421,9 @@ checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
[[package]]
name = "hermit-abi"
-version = "0.5.2"
+version = "0.5.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fc0fef456e4baa96da950455cd02c081ca953b141298e41db3fc7e36b1da849c"
+checksum = "e17592d60ebacc7d5e169f4663c5f84f9161cc90328abcfe8456f41e4dfcb284"
[[package]]
name = "hex"
@@ -1464,9 +1433,9 @@ checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70"
[[package]]
name = "html5ever"
-version = "0.38.0"
+version = "0.39.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1054432bae2f14e0061e33d23402fbaa67a921d319d56adc6bcf887ddad1cbc2"
+checksum = "46a1761807faccc9a19e86944bbf40610014066306f96edcdedc2fb714bcb7b8"
dependencies = [
"log",
"markup5ever",
@@ -1474,9 +1443,9 @@ dependencies = [
[[package]]
name = "http"
-version = "1.4.2"
+version = "1.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6970f50e31d6fc17d3fa27329444bfa74e196cf62e95052a3f6fee181dba6425"
+checksum = "918d3568bebf352712bc2ef3d46a8bcf1a75b373be6539de198e9105cbbf9ce0"
dependencies = [
"bytes",
"itoa",
@@ -1484,9 +1453,9 @@ dependencies = [
[[package]]
name = "http-body"
-version = "1.0.1"
+version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1efedce1fb8e6913f23e0c92de8e62cd5b772a67e7b3946df930a62566c93184"
+checksum = "ca2a8f2913ee65f60facd6a5905613afaa448497a0230cc41ce022d93290bc2c"
dependencies = [
"bytes",
"http",
@@ -1494,9 +1463,9 @@ dependencies = [
[[package]]
name = "http-body-util"
-version = "0.1.3"
+version = "0.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b021d93e26becf5dc7e1b75b1bed1fd93124b374ceb73f43d4d4eafec896a64a"
+checksum = "23169fe34a5fbcdd3f3862e78fb9b6fccd5f02a6dc6f732547005d45631ce71c"
dependencies = [
"bytes",
"futures-core",
@@ -1513,13 +1482,12 @@ checksum = "6dbf3de79e51f3d586ab4cb9d5c3e2c14aa28ed23d180cf89b4df0454a69cc87"
[[package]]
name = "hyper"
-version = "1.10.1"
+version = "1.12.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "55281c53a1894c864990125767da440a4e630446785086f52523b20033b74498"
+checksum = "2c3e324da4c95177d6291d4c8730197c0d1822f8a9766814a4a44fa5ab797c9c"
dependencies = [
"atomic-waker",
"bytes",
- "futures-channel",
"futures-core",
"http",
"http-body",
@@ -1533,16 +1501,17 @@ dependencies = [
[[package]]
name = "hyper-util"
-version = "0.1.20"
+version = "0.1.21"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "96547c2556ec9d12fb1578c4eaf448b04993e7fb79cbaad930a656880a6bdfa0"
+checksum = "ddc03d96684f9226b8a787cdb71488417b53ab5ea8fdb1dac946cb9431cc8bff"
dependencies = [
- "base64 0.22.1",
+ "base64 0.23.1",
"bytes",
"futures-channel",
"futures-util",
"http",
"http-body",
+ "httparse",
"hyper",
"ipnet",
"libc",
@@ -1566,7 +1535,7 @@ dependencies = [
"js-sys",
"log",
"wasm-bindgen",
- "windows-core 0.62.2",
+ "windows-core",
]
[[package]]
@@ -1580,19 +1549,19 @@ dependencies = [
[[package]]
name = "ico"
-version = "0.5.0"
+version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3e795dff5605e0f04bff85ca41b51a96b83e80b281e96231bcaaf1ac35103371"
+checksum = "d75e94d66081e4d8dcd098bd8dc5254800fea14a26389b298410158d834de167"
dependencies = [
"byteorder",
- "png 0.17.16",
+ "png",
]
[[package]]
name = "icu_collections"
-version = "2.2.0"
+version = "2.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2984d1cd16c883d7935b9e07e44071dca8d917fd52ecc02c04d5fa0b5a3f191c"
+checksum = "fe090a42a0d3140fed8c63263ed1fecc02422cb2f4bfe55cd8de2de1b8e105dd"
dependencies = [
"displaydoc",
"potential_utf",
@@ -1604,9 +1573,9 @@ dependencies = [
[[package]]
name = "icu_locale_core"
-version = "2.2.0"
+version = "2.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "92219b62b3e2b4d88ac5119f8904c10f8f61bf7e95b640d25ba3075e6cac2c29"
+checksum = "25d29b57c17c6528d0dc4c2141cfa2d08200465acb537a3909c8b9b8a4a984c0"
dependencies = [
"displaydoc",
"litemap",
@@ -1617,9 +1586,9 @@ dependencies = [
[[package]]
name = "icu_normalizer"
-version = "2.2.0"
+version = "2.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c56e5ee99d6e3d33bd91c5d85458b6005a22140021cc324cea84dd0e72cff3b4"
+checksum = "404a3b8c486f205c87fe7f23ab6894d84a4ad76d6e4671ae1981ba7def87c599"
dependencies = [
"icu_collections",
"icu_normalizer_data",
@@ -1631,16 +1600,17 @@ dependencies = [
[[package]]
name = "icu_normalizer_data"
-version = "2.2.0"
+version = "2.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "da3be0ae77ea334f4da67c12f149704f19f81d1adf7c51cf482943e84a2bad38"
+checksum = "20f0088bfb7441f7a37fa0c9e20cb1e9cba1cac6b9ce8cd2a6dc44294f8e8cbc"
[[package]]
name = "icu_properties"
-version = "2.2.0"
+version = "2.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bee3b67d0ea5c2cca5003417989af8996f8604e34fb9ddf96208a033901e70de"
+checksum = "2ea83d991c56158f7cf898bf86436c1dfe7c07ee82fe88951f2695c9f37a379f"
dependencies = [
+ "displaydoc",
"icu_collections",
"icu_locale_core",
"icu_properties_data",
@@ -1651,15 +1621,15 @@ dependencies = [
[[package]]
name = "icu_properties_data"
-version = "2.2.0"
+version = "2.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8e2bbb201e0c04f7b4b3e14382af113e17ba4f63e2c9d2ee626b720cbce54a14"
+checksum = "b98f29af82d02b163fe50161388350e743bb3107cc8e8c2f7314cb505faddfcf"
[[package]]
name = "icu_provider"
-version = "2.2.0"
+version = "2.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "139c4cf31c8b5f33d7e199446eff9c1e02decfc2f0eec2c8d71f65befa45b421"
+checksum = "413099315636c588ee8f011190b329b971a09a8fae9d157e01dcae8379468514"
dependencies = [
"displaydoc",
"icu_locale_core",
@@ -1670,12 +1640,6 @@ dependencies = [
"zerovec",
]
-[[package]]
-name = "id-arena"
-version = "2.3.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3d3067d79b975e8844ca9eb072e16b31c3c1c36928edf9c6789548c524d0d954"
-
[[package]]
name = "ident_case"
version = "1.0.1"
@@ -1716,9 +1680,9 @@ dependencies = [
[[package]]
name = "indexmap"
-version = "2.14.0"
+version = "2.14.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d466e9454f08e4a911e14806c24e16fba1b4c121d1ea474396f396069cf949d9"
+checksum = "cc4e190f5d26ca7051642629da2c52fc03bde85a03197c99408dcd291734c855"
dependencies = [
"equivalent",
"hashbrown 0.17.1",
@@ -1728,18 +1692,18 @@ dependencies = [
[[package]]
name = "infer"
-version = "0.19.0"
+version = "0.22.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a588916bfdfd92e71cacef98a63d9b1f0d74d6599980d11894290e7ddefffcf7"
+checksum = "f4200d433cbd5178df7797c9c2e75b348b728e39631cf14520d1e2fc424201f4"
dependencies = [
"cfb",
]
[[package]]
name = "ipnet"
-version = "2.12.0"
+version = "2.12.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d98f6fed1fde3f8c21bc40a1abb88dd75e67924f9cffc3ef95607bad8017f8e2"
+checksum = "791930b43c0d5973160d90a8f3894509f2b273430f5c5c73b668636d0287c5c0"
[[package]]
name = "is-docker"
@@ -1789,6 +1753,60 @@ dependencies = [
"system-deps",
]
+[[package]]
+name = "jiff"
+version = "0.2.38"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b2b005715dcbeb0089a3c0dab99f2ff1cc3b2525323552703d648585d342a383"
+dependencies = [
+ "defmt",
+ "jiff-core",
+ "jiff-static",
+ "jiff-tzdb-platform",
+ "log",
+ "portable-atomic",
+ "portable-atomic-util",
+ "serde_core",
+ "windows-link",
+]
+
+[[package]]
+name = "jiff-core"
+version = "0.1.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5e52fe76043ccecc9005d2305ebaadf7d7fc0cc89ca6baa10a94d6bc68c7128c"
+dependencies = [
+ "defmt",
+ "log",
+]
+
+[[package]]
+name = "jiff-static"
+version = "0.2.38"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2cc9817253cf7c7ee4684451bd327e88d6f3658014e54a29198625590650695c"
+dependencies = [
+ "jiff-core",
+ "proc-macro2",
+ "quote",
+ "syn 2.0.119",
+]
+
+[[package]]
+name = "jiff-tzdb"
+version = "0.1.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "fa8377070c6bae868759445e5a77f66d84f0b72f3a054bfb00e6d038b8282da7"
+
+[[package]]
+name = "jiff-tzdb-platform"
+version = "0.1.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "875a5a69ac2bab1a891711cf5eccbec1ce0341ea805560dcd90b7a2e925132e8"
+dependencies = [
+ "jiff-tzdb",
+]
+
[[package]]
name = "jni"
version = "0.21.1"
@@ -1830,14 +1848,14 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "38c0b942f458fe50cdac086d2f946512305e5631e720728f2a61aabcd47a6264"
dependencies = [
"quote",
- "syn 2.0.117",
+ "syn 2.0.119",
]
[[package]]
name = "js-sys"
-version = "0.3.102"
+version = "0.3.106"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "03d04c30968dffe80775bd4d7fb676131cd04a1fb46d2686dbffbaec2d9dfd31"
+checksum = "7883d941dae510fb2d978fc3fe018c71c9e2892fd38854de3e8b92c2e5ad9cc5"
dependencies = [
"cfg-if",
"futures-util",
@@ -1846,19 +1864,19 @@ dependencies = [
[[package]]
name = "json-patch"
-version = "3.0.1"
+version = "4.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "863726d7afb6bc2590eeff7135d923545e5e964f004c2ccf8716c25e70a86f08"
+checksum = "7421438de105a0827e44fadd05377727847d717c80ce29a229f85fd04c427b72"
dependencies = [
"jsonptr",
"serde",
"serde_json",
- "thiserror 1.0.69",
+ "thiserror 2.0.21",
]
[[package]]
name = "jsonprism"
-version = "1.7.2"
+version = "2.0.0"
dependencies = [
"serde",
"serde_json",
@@ -1867,15 +1885,14 @@ dependencies = [
"tauri-plugin-dialog",
"tauri-plugin-fs",
"tauri-plugin-opener",
- "tauri-plugin-os",
"tauri-plugin-single-instance",
]
[[package]]
name = "jsonptr"
-version = "0.6.3"
+version = "0.7.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5dea2b27dd239b2556ed7a25ba842fe47fd602e7fc7433c2a8d6106d4d9edd70"
+checksum = "a5a3cc660ba5d72bce0b3bb295bf20847ccbb40fd423f3f05b61273672e561fe"
dependencies = [
"serde",
"serde_json",
@@ -1883,21 +1900,14 @@ dependencies = [
[[package]]
name = "keyboard-types"
-version = "0.7.0"
+version = "0.8.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b750dcadc39a09dbadd74e118f6dd6598df77fa01df0cfcdc52c28dece74528a"
+checksum = "0fbe853b403ae61a04233030ae8a79d94975281ed9770a1f9e246732b534b28d"
dependencies = [
- "bitflags 2.13.0",
+ "bitflags 2.13.2",
"serde",
- "unicode-segmentation",
]
-[[package]]
-name = "leb128fmt"
-version = "0.1.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "09edd9e8b54e49e587e4f6295a7d29c3ea94d469cb40ab8ca70b288248a81db2"
-
[[package]]
name = "libappindicator"
version = "0.9.0"
@@ -1924,9 +1934,9 @@ dependencies = [
[[package]]
name = "libc"
-version = "0.2.186"
+version = "0.2.191"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "68ab91017fe16c622486840e4c83c9a37afeff978bd239b5293d61ece587de66"
+checksum = "65cd87c9a6d60536580b316ad985726104730a5151c99845f2490428ef91240a"
[[package]]
name = "libdbus-sys"
@@ -1949,9 +1959,9 @@ dependencies = [
[[package]]
name = "libredox"
-version = "0.1.17"
+version = "0.1.25"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f02ab6bace2054fb888a3c16f990117b579d14a3088e472d63c6011fa185c9d3"
+checksum = "61ff90caf6077a803a240f62fdbe88645a890bbca49ef8174c3cb0404362171d"
dependencies = [
"libc",
]
@@ -1964,9 +1974,9 @@ checksum = "32a66949e030da00e8c7d4434b251670a91556f4144941d37452769c25d58a53"
[[package]]
name = "litemap"
-version = "0.8.2"
+version = "0.8.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "92daf443525c4cce67b150400bc2316076100ce0b3686209eb8cf3c31612e6f0"
+checksum = "47d9d19d1d6efa0109d2f65ff4c85cddd50bd572e5a00127ab10987290bcefae"
[[package]]
name = "lock_api"
@@ -1979,15 +1989,15 @@ dependencies = [
[[package]]
name = "log"
-version = "0.4.32"
+version = "0.4.34"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "953f07c43838f8e6f9758cab68bf5bed85465e7587ebe0b823f1bcd81978ad3a"
+checksum = "f9f8bd3e56ce4dfc153cf470fffbfa98c7620958b312ca5c3a4b8d5181fd13c6"
[[package]]
name = "markup5ever"
-version = "0.38.0"
+version = "0.39.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8983d30f2915feeaaab2d6babdd6bc7e9ed1a00b66b5e6d74df19aa9c0e91862"
+checksum = "7122d987ec5f704ee56f6e5b41a7d93722e9aae27ae07cafa4036c4d3f9757de"
dependencies = [
"log",
"tendril",
@@ -1996,9 +2006,9 @@ dependencies = [
[[package]]
name = "memchr"
-version = "2.8.2"
+version = "2.8.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "88904434abc2901f197fe8cc55f0445e7ded921dba5911dad2e2b39b48e663c4"
+checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98"
[[package]]
name = "memoffset"
@@ -2026,10 +2036,20 @@ dependencies = [
]
[[package]]
-name = "mio"
-version = "1.2.1"
+name = "miniz_oxide"
+version = "0.9.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "02bd0af71c67b473010cbbc60715ee815645a4dc942899111f494b4b737d6fda"
+checksum = "b63fbc4a50860e98e7b2aa7804ded1db5cbc3aff9193adaff57a6931bf7c4b4c"
+dependencies = [
+ "adler2",
+ "simd-adler32",
+]
+
+[[package]]
+name = "mio"
+version = "1.2.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1788edb87fdc09c7e26304471e2f5be8cdefb1b6930d6e3985fc02ff53bf86ee"
dependencies = [
"libc",
"wasi",
@@ -2038,9 +2058,9 @@ dependencies = [
[[package]]
name = "muda"
-version = "0.19.2"
+version = "0.20.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "47a2e3dff89cd322c66647942668faee0a2b1f88ea6cbb4d374b4a8d7e92528c"
+checksum = "cca139e57da4383727f189e43e66e84fa372347027fc996f9f1a007ec0a37996"
dependencies = [
"crossbeam-channel",
"dpi",
@@ -2051,9 +2071,9 @@ dependencies = [
"objc2-core-foundation",
"objc2-foundation",
"once_cell",
- "png 0.18.1",
+ "png",
"serde",
- "thiserror 2.0.18",
+ "thiserror 2.0.21",
"windows-sys 0.61.2",
]
@@ -2063,7 +2083,7 @@ version = "0.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c3f42e7bbe13d351b6bead8286a43aac9534b82bd3cc43e47037f012ebfd62d4"
dependencies = [
- "bitflags 2.13.0",
+ "bitflags 2.13.2",
"jni-sys 0.3.1",
"log",
"ndk-sys",
@@ -2072,6 +2092,12 @@ dependencies = [
"thiserror 1.0.69",
]
+[[package]]
+name = "ndk-context"
+version = "0.1.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "27b02d87554356db9e9a873add8782d4ea6e3e58ea071a9adb9a2e8ddb884a8b"
+
[[package]]
name = "ndk-sys"
version = "0.6.0+11769913"
@@ -2087,18 +2113,6 @@ version = "1.0.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "650eef8c711430f1a879fdd01d4745a7deea475becfb90269c06775983bbf086"
-[[package]]
-name = "nix"
-version = "0.31.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cf20d2fde8ff38632c426f1165ed7436270b44f199fc55284c38276f9db47c3d"
-dependencies = [
- "bitflags 2.13.0",
- "cfg-if",
- "cfg_aliases",
- "libc",
-]
-
[[package]]
name = "num-conv"
version = "0.2.2"
@@ -2133,14 +2147,14 @@ dependencies = [
"proc-macro-crate 3.5.0",
"proc-macro2",
"quote",
- "syn 2.0.117",
+ "syn 2.0.119",
]
[[package]]
name = "objc2"
-version = "0.6.4"
+version = "0.6.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3a12a8ed07aefc768292f076dc3ac8c48f3781c8f2d5851dd3d98950e8c5a89f"
+checksum = "08849bbd4767dfae9457696856ae1c84fe4e0281bbe4a7abff2d0e06fb7981f8"
dependencies = [
"objc2-encode",
"objc2-exception-helper",
@@ -2152,11 +2166,12 @@ version = "0.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d49e936b501e5c5bf01fda3a9452ff86dc3ea98ad5f283e1455153142d97518c"
dependencies = [
- "bitflags 2.13.0",
+ "bitflags 2.13.2",
"block2",
"objc2",
"objc2-core-foundation",
"objc2-foundation",
+ "objc2-quartz-core",
]
[[package]]
@@ -2165,7 +2180,7 @@ version = "0.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "73ad74d880bb43877038da939b7427bba67e9dd42004a18b809ba7d87cee241c"
dependencies = [
- "bitflags 2.13.0",
+ "bitflags 2.13.2",
"objc2",
"objc2-foundation",
]
@@ -2186,7 +2201,7 @@ version = "0.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2a180dd8642fa45cdb7dd721cd4c11b1cadd4929ce112ebd8b9f5803cc79d536"
dependencies = [
- "bitflags 2.13.0",
+ "bitflags 2.13.2",
"dispatch2",
"objc2",
]
@@ -2197,7 +2212,7 @@ version = "0.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e022c9d066895efa1345f8e33e584b9f958da2fd4cd116792e15e07e4720a807"
dependencies = [
- "bitflags 2.13.0",
+ "bitflags 2.13.2",
"dispatch2",
"objc2",
"objc2-core-foundation",
@@ -2230,7 +2245,7 @@ version = "0.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0cde0dfb48d25d2b4862161a4d5fcc0e3c24367869ad306b0c9ec0073bfed92d"
dependencies = [
- "bitflags 2.13.0",
+ "bitflags 2.13.2",
"objc2",
"objc2-core-foundation",
"objc2-core-graphics",
@@ -2257,7 +2272,7 @@ version = "0.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e3e0adef53c21f888deb4fa59fc59f7eb17404926ee8a6f59f5df0fd7f9f3272"
dependencies = [
- "bitflags 2.13.0",
+ "bitflags 2.13.2",
"block2",
"libc",
"objc2",
@@ -2270,7 +2285,7 @@ version = "0.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "180788110936d59bab6bd83b6060ffdfffb3b922ba1396b312ae795e1de9d81d"
dependencies = [
- "bitflags 2.13.0",
+ "bitflags 2.13.2",
"objc2",
"objc2-core-foundation",
]
@@ -2281,7 +2296,7 @@ version = "0.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "96c1358452b371bf9f104e21ec536d37a650eb10f7ee379fff67d2e08d537f1f"
dependencies = [
- "bitflags 2.13.0",
+ "bitflags 2.13.2",
"objc2",
"objc2-core-foundation",
"objc2-foundation",
@@ -2293,7 +2308,7 @@ version = "0.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d87d638e33c06f577498cbcc50491496a3ed4246998a7fbba7ccb98b1e7eab22"
dependencies = [
- "bitflags 2.13.0",
+ "bitflags 2.13.2",
"block2",
"objc2",
"objc2-cloud-kit",
@@ -2324,7 +2339,7 @@ version = "0.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b2e5aaab980c433cf470df9d7af96a7b46a9d892d521a2cbbb2f8a4c16751e7f"
dependencies = [
- "bitflags 2.13.0",
+ "bitflags 2.13.2",
"block2",
"objc2",
"objc2-app-kit",
@@ -2340,14 +2355,13 @@ checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50"
[[package]]
name = "open"
-version = "5.3.5"
+version = "5.4.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2fbaa89d2ddc8473c78a3adf69eea8cffa28c483b8e02a971ef31527cd0fc92c"
+checksum = "8d8c8b8e725ad26404d6896eb2f064294a0a7b4f1d9120210d85544684c4ca95"
dependencies = [
"dunce",
"is-wsl",
"libc",
- "pathdiff",
]
[[package]]
@@ -2366,22 +2380,6 @@ dependencies = [
"pin-project-lite",
]
-[[package]]
-name = "os_info"
-version = "3.15.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9cf20a545b305cf1da722b236b5155c9bb35f1d5ceb28c048bd96ca842f41b5b"
-dependencies = [
- "android_system_properties",
- "log",
- "nix",
- "objc2",
- "objc2-foundation",
- "objc2-ui-kit",
- "serde",
- "windows-sys 0.61.2",
-]
-
[[package]]
name = "pango"
version = "0.18.3"
@@ -2433,15 +2431,9 @@ dependencies = [
"libc",
"redox_syscall",
"smallvec",
- "windows-link 0.2.1",
+ "windows-link",
]
-[[package]]
-name = "pathdiff"
-version = "0.2.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "df94ce210e5bc13cb6651479fa48d14f601d9858cfe0467f43ae157023b938d3"
-
[[package]]
name = "percent-encoding"
version = "2.3.2"
@@ -2489,7 +2481,7 @@ dependencies = [
"phf_shared",
"proc-macro2",
"quote",
- "syn 2.0.117",
+ "syn 2.0.119",
]
[[package]]
@@ -2520,47 +2512,34 @@ dependencies = [
[[package]]
name = "pkg-config"
-version = "0.3.33"
+version = "0.3.34"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "19f132c84eca552bf34cab8ec81f1c1dcc229b811638f9d283dceabe58c5569e"
+checksum = "f6b464fbc74e149a392436b17d523f769e057cb6877f6a5c4618bc6f11800548"
[[package]]
name = "plist"
-version = "1.9.0"
+version = "1.10.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "092791278e026273c1b65bbdcfbba3a300f2994c896bd01ab01da613c29c46f1"
+checksum = "327a4cb2ad49dc48adfdc9da89e22c64d488b508c67a044d71ba729e4521a285"
dependencies = [
- "base64 0.22.1",
- "indexmap 2.14.0",
+ "base64 0.23.1",
+ "indexmap 2.14.2",
"quick-xml",
"serde",
"time",
]
-[[package]]
-name = "png"
-version = "0.17.16"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "82151a2fc869e011c153adc57cf2789ccb8d9906ce52c0b39a6b5697749d7526"
-dependencies = [
- "bitflags 1.3.2",
- "crc32fast",
- "fdeflate",
- "flate2",
- "miniz_oxide",
-]
-
[[package]]
name = "png"
version = "0.18.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "60769b8b31b2a9f263dae2776c37b1b28ae246943cf719eb6946a1db05128a61"
dependencies = [
- "bitflags 2.13.0",
+ "bitflags 2.13.2",
"crc32fast",
"fdeflate",
"flate2",
- "miniz_oxide",
+ "miniz_oxide 0.8.9",
]
[[package]]
@@ -2578,19 +2557,34 @@ dependencies = [
]
[[package]]
-name = "potential_utf"
-version = "0.1.5"
+name = "portable-atomic"
+version = "1.15.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0103b1cef7ec0cf76490e969665504990193874ea05c85ff9bab8b911d0a0564"
+checksum = "05c8b63e8d9609db387f0324918f81d68fe27748f084ef092fb35954d0539a85"
+
+[[package]]
+name = "portable-atomic-util"
+version = "0.2.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "10ab3eb7f3becc3a1cbc4f2c6f20267996cfc1a6467a873763411b136a122715"
+dependencies = [
+ "portable-atomic",
+]
+
+[[package]]
+name = "potential_utf"
+version = "0.1.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d83eb9bc6d8e5cf568e7a1101d60ee05e81ed50ea106026f3d18deeb046d7661"
dependencies = [
"zerovec",
]
[[package]]
name = "powerfmt"
-version = "0.2.0"
+version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391"
+checksum = "4a6394b9e965e73d0a289ee54f589087e2c676aedf60885baf52c76b771e4958"
[[package]]
name = "precomputed-hash"
@@ -2598,16 +2592,6 @@ version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "925383efa346730478fb4838dbe9137d2a47675ad789c546d150a6e1dd4ab31c"
-[[package]]
-name = "prettyplease"
-version = "0.2.37"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "479ca8adacdd7ce8f1fb39ce9ecccbfe93a3f1344b3d0d97f20bc0196208f62b"
-dependencies = [
- "proc-macro2",
- "syn 2.0.117",
-]
-
[[package]]
name = "proc-macro-crate"
version = "1.3.1"
@@ -2634,7 +2618,7 @@ version = "3.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e67ba7e9b2b56446f1d419b1d807906278ffa1a658a8a5d8a39dcb1f5a78614f"
dependencies = [
- "toml_edit 0.25.12+spec-1.1.0",
+ "toml_edit 0.25.17+spec-1.1.0",
]
[[package]]
@@ -2663,27 +2647,27 @@ dependencies = [
[[package]]
name = "proc-macro2"
-version = "1.0.106"
+version = "1.0.107"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8fd00f0bb2e90d81d1044c2b32617f68fcb9fa3bb7640c23e9c748e53fb30934"
+checksum = "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9"
dependencies = [
"unicode-ident",
]
[[package]]
name = "quick-xml"
-version = "0.39.4"
+version = "0.42.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cdcc8dd4e2f670d309a5f0e83fe36dfdc05af317008fea29144da1a2ac858e5e"
+checksum = "41b1177fdf999d2321d3fb46ff47159d9c1fb9ad66a4879f8c50a0b504615e9b"
dependencies = [
"memchr",
]
[[package]]
name = "quote"
-version = "1.0.45"
+version = "1.0.47"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "41f2619966050689382d2b44f664f4bc593e129785a36d6ee376ddf37259b924"
+checksum = "1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001"
dependencies = [
"proc-macro2",
]
@@ -2712,45 +2696,44 @@ version = "0.5.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ed2bf2547551a7053d6fdfafda3f938979645c44812fbfcda098faae3f1a362d"
dependencies = [
- "bitflags 2.13.0",
+ "bitflags 2.13.2",
]
[[package]]
name = "redox_users"
-version = "0.5.2"
+version = "0.5.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a4e608c6638b9c18977b00b475ac1f28d14e84b27d8d42f70e0bf1e3dec127ac"
+checksum = "60dc65c0ff1a7ae1294b0c67b9f14baf70b644404010370171787bfac1038fc0"
dependencies = [
- "getrandom 0.2.17",
"libredox",
- "thiserror 2.0.18",
+ "thiserror 2.0.21",
]
[[package]]
name = "ref-cast"
-version = "1.0.25"
+version = "1.0.27"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f354300ae66f76f1c85c5f84693f0ce81d747e2c3f21a45fef496d89c960bf7d"
+checksum = "7e440fb4e4b4147295338efb76001ab9e4efc0e5839df2c47fc5ac2381d365c3"
dependencies = [
"ref-cast-impl",
]
[[package]]
name = "ref-cast-impl"
-version = "1.0.25"
+version = "1.0.27"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b7186006dcb21920990093f30e3dea63b7d6e977bf1256be20c3563a5db070da"
+checksum = "92ecd8964f8453721699a1ed72037b0db49ce2f5a5138486ee89bed6f67cdf3a"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.117",
+ "syn 3.0.9",
]
[[package]]
name = "regex"
-version = "1.12.4"
+version = "1.13.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f1292b7759ae1cb9ec195452d1390a074f0cd8541ab7a5a8c31cd6db45d4a6ba"
+checksum = "f020237b6c8eed93db2e2cb53c00c60a8e1bc73da7d073199a1180401450218d"
dependencies = [
"aho-corasick",
"memchr",
@@ -2760,9 +2743,9 @@ dependencies = [
[[package]]
name = "regex-automata"
-version = "0.4.14"
+version = "0.4.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6e1dd4122fc1595e8162618945476892eefca7b88c52820e74af6262213cae8f"
+checksum = "ad8553b9b26413251cbf30e620595c7a41b3887f03da04579c0e6b0d6a06b4b2"
dependencies = [
"aho-corasick",
"memchr",
@@ -2777,11 +2760,11 @@ checksum = "d6f6ff9a378485b298a5286656da665ba74413d36db0979633275d2e708145d4"
[[package]]
name = "reqwest"
-version = "0.13.4"
+version = "0.13.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "219c5811de6525e5416c7d5d53bb656d3afdbc6c5af816e0802bcfa42dbdc1c3"
+checksum = "16a1cfa75cc186dd73d5818e510e042e40927bccc9c236b061cea97e1eb08029"
dependencies = [
- "base64 0.22.1",
+ "base64 0.23.1",
"bytes",
"futures-core",
"futures-util",
@@ -2835,9 +2818,9 @@ dependencies = [
[[package]]
name = "rustc-hash"
-version = "2.1.2"
+version = "2.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "94300abf3f1ae2e2b8ffb7b58043de3d399c73fa6f4b73826402a5c457614dbe"
+checksum = "6b1e7f9a428571be2dc5bc0505c13fb6bf936822b894ec87abf8a08a4e51742d"
[[package]]
name = "rustc_version"
@@ -2850,11 +2833,11 @@ dependencies = [
[[package]]
name = "rustix"
-version = "1.1.4"
+version = "1.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b6fe4565b9518b83ef4f91bb47ce29620ca828bd32cb7e408f0062e9930ba190"
+checksum = "891efababe418670775f199f0d233d84843c227a0949a883ce15b37c78d6629d"
dependencies = [
- "bitflags 2.13.0",
+ "bitflags 2.13.2",
"errno",
"libc",
"linux-raw-sys",
@@ -2863,9 +2846,9 @@ dependencies = [
[[package]]
name = "rustversion"
-version = "1.0.22"
+version = "1.0.23"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d"
+checksum = "cf54715a573b99ac80df0bc206da022bcd442c974952c7b9720069370852e21f"
[[package]]
name = "same-file"
@@ -2905,9 +2888,9 @@ dependencies = [
[[package]]
name = "schemars"
-version = "1.2.1"
+version = "1.2.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a2b42f36aa1cd011945615b92222f6bf73c599a102a300334cd7f8dbeec726cc"
+checksum = "ab508826f74a77ca9d5aba6ff19b522583ee3eaf28a19384ff3d0e5835fadf6e"
dependencies = [
"dyn-clone",
"ref-cast",
@@ -2924,7 +2907,7 @@ dependencies = [
"proc-macro2",
"quote",
"serde_derive_internals",
- "syn 2.0.117",
+ "syn 2.0.119",
]
[[package]]
@@ -2935,11 +2918,11 @@ checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
[[package]]
name = "selectors"
-version = "0.36.1"
+version = "0.38.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c5d9c0c92a92d33f08817311cf3f2c29a3538a8240e94a6a3c622ce652d7e00c"
+checksum = "8adfa1c298912827b8a28b223b3b874357397ae706e6190acd9bf28cee99114d"
dependencies = [
- "bitflags 2.13.0",
+ "bitflags 2.13.2",
"cssparser",
"derive_more",
"log",
@@ -2964,9 +2947,9 @@ dependencies = [
[[package]]
name = "serde"
-version = "1.0.228"
+version = "1.0.229"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e"
+checksum = "4148590afebada386688f18773da617792bf2ef03ffc1e4cbd2b1d45b023e0ba"
dependencies = [
"serde_core",
"serde_derive",
@@ -2986,22 +2969,22 @@ dependencies = [
[[package]]
name = "serde_core"
-version = "1.0.228"
+version = "1.0.229"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad"
+checksum = "67dca2c9c51e58a4791a4b1ed58308b39c64224d349a935ab5039aa360942a48"
dependencies = [
"serde_derive",
]
[[package]]
name = "serde_derive"
-version = "1.0.228"
+version = "1.0.229"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79"
+checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.117",
+ "syn 3.0.9",
]
[[package]]
@@ -3012,14 +2995,14 @@ checksum = "18d26a20a969b9e3fdf2fc2d9f21eda6c40e2de84c9408bb5d3b05d499aae711"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.117",
+ "syn 2.0.119",
]
[[package]]
name = "serde_json"
-version = "1.0.150"
+version = "1.0.154"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e8014e44b4736ed0538adeecded0fce2a272f22dc9578a7eb6b2d9993c74cfb9"
+checksum = "e7e9cc8b1b85264074fbcc02a88680c4096b1e47df8f739dceb03bf482f04bd6"
dependencies = [
"itoa",
"memchr",
@@ -3030,13 +3013,13 @@ dependencies = [
[[package]]
name = "serde_repr"
-version = "0.1.20"
+version = "0.1.21"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "175ee3e80ae9982737ca543e96133087cbd9a485eecc3bc4de9c1a37b47ea59c"
+checksum = "8d3b1629de253c70a0508c3899572da79ca359fdab27c7920ff00406df418906"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.117",
+ "syn 3.0.9",
]
[[package]]
@@ -3050,27 +3033,28 @@ dependencies = [
[[package]]
name = "serde_spanned"
-version = "1.1.1"
+version = "1.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6662b5879511e06e8999a8a235d848113e942c9124f211511b16466ee2995f26"
+checksum = "4e7523beb55eece201a2356bee0bbca0d1ab466c14c07703b2e0ee6d42cb0c2c"
dependencies = [
"serde_core",
]
[[package]]
name = "serde_with"
-version = "3.21.0"
+version = "3.24.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "76a5c54c7310e7b8b9577c286d7e399ddd876c3e12b3ed917a8aabc4b96e9e8c"
+checksum = "df9adc193c780ef8f159aee8b61e2d5801aaa555e6eb0947fe45530ec506296f"
dependencies = [
- "base64 0.22.1",
+ "base64 0.23.1",
"bs58",
"chrono",
"hex",
"indexmap 1.9.3",
- "indexmap 2.14.0",
+ "indexmap 2.14.2",
+ "jiff",
"schemars 0.9.0",
- "schemars 1.2.1",
+ "schemars 1.2.3",
"serde_core",
"serde_json",
"serde_with_macros",
@@ -3079,14 +3063,14 @@ dependencies = [
[[package]]
name = "serde_with_macros"
-version = "3.21.0"
+version = "3.24.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "84d57bc0c8b9a17920c178daa6bb924850d54a9c97ab45194bb8c17ad66bb660"
+checksum = "3e17bbc68e28663bbbb90df47e058aa7eda4fb445b89fe70457bb94fbccf6e49"
dependencies = [
"darling",
"proc-macro2",
"quote",
- "syn 2.0.117",
+ "syn 3.0.9",
]
[[package]]
@@ -3108,7 +3092,7 @@ checksum = "772ee033c0916d670af7860b6e1ef7d658a4629a6d0b4c8c3e67f09b3765b75d"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.117",
+ "syn 2.0.119",
]
[[package]]
@@ -3149,15 +3133,15 @@ dependencies = [
[[package]]
name = "simd-adler32"
-version = "0.3.9"
+version = "0.3.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "703d5c7ef118737c72f1af64ad2f6f8c5e1921f818cdcb97b8fe6fc69bf66214"
+checksum = "3a219298ac11a56ea9a6d2120044824d6f01aeb034955e7af7bc16858527deea"
[[package]]
name = "siphasher"
-version = "1.0.3"
+version = "1.0.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8ee5873ec9cce0195efcb7a4e9507a04cd49aec9c83d0389df45b1ef7ba2e649"
+checksum = "33f4fe9184a62d842c9ef383018f3306d8ba224fd9d836f56d7288308847c256"
[[package]]
name = "slab"
@@ -3167,15 +3151,15 @@ checksum = "0c790de23124f9ab44544d7ac05d60440adc586479ce501c1d6d7da3cd8c9cf5"
[[package]]
name = "smallvec"
-version = "1.15.2"
+version = "1.16.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8ed6a63f02c8539c91a8685a86f4099661ba3da017932f6ebbea6de3f0fa7c90"
+checksum = "5b3dc8af474f516a851ff4bd12db780f948b9250ad37211e4eec0bccea54e01b"
[[package]]
name = "socket2"
-version = "0.6.4"
+version = "0.6.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "52d1cfed4120b4d927bf7c0f86d2087a4a7d6027c906d9f9d525a80573b9be51"
+checksum = "c3d1e2c7f27f8d4cb10542a02c49005dbd6e93095799d6f3be745fae9f8fedd4"
dependencies = [
"libc",
"windows-sys 0.61.2",
@@ -3235,6 +3219,12 @@ version = "1.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6ce2be8dc25455e1f91df71bfa12ad37d7af1092ae736f3a6cd0e37bc7810596"
+[[package]]
+name = "static_vcruntime"
+version = "3.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ff7589a1859b09232522bb9edf076ca7fcf14ded96685d3fa629db73023ffbb7"
+
[[package]]
name = "string_cache"
version = "0.9.0"
@@ -3267,9 +3257,9 @@ checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f"
[[package]]
name = "swift-rs"
-version = "1.0.7"
+version = "1.0.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4057c98e2e852d51fdcfca832aac7b571f6b351ad159f9eda5db1655f8d0c4d7"
+checksum = "cefd87076fd385308ee4aff597256c902f1fbb4d031de1558efc12f8ffefadd9"
dependencies = [
"base64 0.21.7",
"serde",
@@ -3288,9 +3278,20 @@ dependencies = [
[[package]]
name = "syn"
-version = "2.0.117"
+version = "2.0.119"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e665b8803e7b1d2a727f4023456bbbbe74da67099c585258af0ad9c5013b9b99"
+checksum = "872831b642d1a07999a962a351ed35b955ea2cfc8f3862091e2a240a84f17297"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "unicode-ident",
+]
+
+[[package]]
+name = "syn"
+version = "3.0.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d78c8dee4c7bf0e14673097256fed6142ce9d3b85a408189d07482442145823b"
dependencies = [
"proc-macro2",
"quote",
@@ -3308,22 +3309,13 @@ dependencies = [
[[package]]
name = "synstructure"
-version = "0.13.2"
+version = "0.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "728a70f3dbaf5bab7f0c4b1ac8d7ae5ea60a4b5549c8a5914361c99147a709d2"
+checksum = "901704edd0dfe137f1987838ee4f259e4e063c31371bdb423f7ae38ec6f77f02"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.117",
-]
-
-[[package]]
-name = "sys-locale"
-version = "0.3.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8eab9a99a024a169fe8a903cf9d4a3b3601109bcc13bd9e3c6fff259138626c4"
-dependencies = [
- "libc",
+ "syn 3.0.9",
]
[[package]]
@@ -3341,11 +3333,11 @@ dependencies = [
[[package]]
name = "tao"
-version = "0.35.3"
+version = "0.37.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d1c93047acf68669466a34690ac58cca7010bd1b201e1ec86f1fd0a75d3dd4a9"
+checksum = "f37f381f4e048e6cdf038b5705f8cf14ad108279d46eb968140a7b291aba9400"
dependencies = [
- "bitflags 2.13.0",
+ "bitflags 2.13.2",
"block2",
"core-foundation",
"core-graphics",
@@ -3361,12 +3353,12 @@ dependencies = [
"libc",
"log",
"ndk",
+ "ndk-context",
"ndk-sys",
"objc2",
"objc2-app-kit",
"objc2-foundation",
"objc2-ui-kit",
- "once_cell",
"parking_lot",
"percent-encoding",
"raw-window-handle",
@@ -3374,20 +3366,20 @@ dependencies = [
"unicode-segmentation",
"url",
"windows",
- "windows-core 0.61.2",
+ "windows-core",
"windows-version",
"x11-dl",
]
[[package]]
name = "tao-macros"
-version = "0.1.3"
+version = "0.1.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f4e16beb8b2ac17db28eab8bca40e62dbfbb34c0fcdc6d9826b11b7b5d047dfd"
+checksum = "5f7eeb6d99155545da6150a1795945f16ac9c178deb2a5f2e74d776107bd5849"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.117",
+ "syn 2.0.119",
]
[[package]]
@@ -3398,9 +3390,9 @@ checksum = "61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1"
[[package]]
name = "tauri"
-version = "2.11.3"
+version = "2.12.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c2616f96cb644bf2c5c456d9de4d5d5100e592d7424c74d8b55c5cb96e359e93"
+checksum = "5fb0244332cfb9cee7e2a568bf5da29a36ed8fdbd717f6f47a66b6b7b358c072"
dependencies = [
"anyhow",
"bytes",
@@ -3437,7 +3429,7 @@ dependencies = [
"tauri-runtime",
"tauri-runtime-wry",
"tauri-utils",
- "thiserror 2.0.18",
+ "thiserror 2.0.21",
"tokio",
"tray-icon",
"url",
@@ -3449,9 +3441,9 @@ dependencies = [
[[package]]
name = "tauri-build"
-version = "2.6.3"
+version = "2.7.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bc9ce40b16101cb6ea63d3e221567affd1c3a9205f95d7bc574941a10636b632"
+checksum = "adddb0e648752aaac5da9c3c3c6a68e1e87cab55e3b757b18a9441ef8c3ac614"
dependencies = [
"anyhow",
"cargo_toml",
@@ -3463,6 +3455,8 @@ dependencies = [
"semver",
"serde",
"serde_json",
+ "static_vcruntime",
+ "strsim",
"tauri-utils",
"tauri-winres",
"walkdir",
@@ -3470,25 +3464,25 @@ dependencies = [
[[package]]
name = "tauri-codegen"
-version = "2.6.3"
+version = "2.7.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "08279169ff42f8fc45a1dbc9dcae888893ba95288142e5880c59b93a26d2cfc5"
+checksum = "fb37631cf71dab5e8ab55e1bdd701e18a52653d90b78e71d0e5598b1e0a61316"
dependencies = [
- "base64 0.22.1",
+ "base64 0.23.1",
"brotli",
"ico",
"json-patch",
"plist",
- "png 0.17.16",
+ "png",
"proc-macro2",
"quote",
"semver",
"serde",
"serde_json",
"sha2",
- "syn 2.0.117",
+ "syn 2.0.119",
"tauri-utils",
- "thiserror 2.0.18",
+ "thiserror 2.0.21",
"time",
"url",
"uuid",
@@ -3497,23 +3491,23 @@ dependencies = [
[[package]]
name = "tauri-macros"
-version = "2.6.3"
+version = "2.7.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e8b394794f399a421811d06966343e7933fcae92d59f5180b9388d1174497a45"
+checksum = "0cc38db58854c10fb5f91a887ed8bf82d3239bb92b5d8db86eda09e96d9963d1"
dependencies = [
"heck 0.5.0",
"proc-macro2",
"quote",
- "syn 2.0.117",
+ "syn 2.0.119",
"tauri-codegen",
"tauri-utils",
]
[[package]]
name = "tauri-plugin"
-version = "2.6.2"
+version = "2.7.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e126abc9e84e35cdfd01596140a73a1850cdb0df0a23acf0185776c30b469a6e"
+checksum = "67fb21a77e8f94e8beb3325e583102488659365af0a3948b7ea244c5b779c291"
dependencies = [
"anyhow",
"glob",
@@ -3527,9 +3521,9 @@ dependencies = [
[[package]]
name = "tauri-plugin-dialog"
-version = "2.7.1"
+version = "2.8.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "65981abb771e74e571a38196c3baa11c459379164791eba0e67abc1a5fac9884"
+checksum = "b7461aaacf1901915ea7b9f5cd74f8224a351ed96af0a62c07fce934003cb34b"
dependencies = [
"log",
"raw-window-handle",
@@ -3539,15 +3533,15 @@ dependencies = [
"tauri",
"tauri-plugin",
"tauri-plugin-fs",
- "thiserror 2.0.18",
+ "thiserror 2.0.21",
"url",
]
[[package]]
name = "tauri-plugin-fs"
-version = "2.5.1"
+version = "2.7.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b7ecc274121aca0c036a2b42d1cbe83d368d348f54e0bb8a735c2b1548e8f371"
+checksum = "5d58eb1d4984e535f47a642ffec09a2da6f5c18a12b5902d12126cb7626d628b"
dependencies = [
"anyhow",
"dunce",
@@ -3562,16 +3556,16 @@ dependencies = [
"tauri",
"tauri-plugin",
"tauri-utils",
- "thiserror 2.0.18",
- "toml 1.1.2+spec-1.1.0",
+ "thiserror 2.0.21",
+ "toml 1.1.8+spec-1.1.0",
"url",
]
[[package]]
name = "tauri-plugin-opener"
-version = "2.5.4"
+version = "2.7.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "17e1bea14edce6b793a04e2417e3fd924b9bc4faae83cdee7d714156cceeed29"
+checksum = "53810be1b4fed22bb6ac3f4cab5a2b80d9391d1af436bda145607532bc0bb219"
dependencies = [
"dunce",
"glob",
@@ -3583,50 +3577,33 @@ dependencies = [
"serde_json",
"tauri",
"tauri-plugin",
- "thiserror 2.0.18",
+ "thiserror 2.0.21",
"url",
"windows",
"zbus",
]
-[[package]]
-name = "tauri-plugin-os"
-version = "2.3.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d8f08346c8deb39e96f86973da0e2d76cbb933d7ac9b750f6dc4daf955a6f997"
-dependencies = [
- "gethostname",
- "log",
- "os_info",
- "serde",
- "serde_json",
- "serialize-to-javascript",
- "sys-locale",
- "tauri",
- "tauri-plugin",
- "thiserror 2.0.18",
-]
-
[[package]]
name = "tauri-plugin-single-instance"
-version = "2.4.2"
+version = "2.5.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5c8f29386f5e9fdc699182388a33ee80a56de436d91b67459e86afef426282af"
+checksum = "561cd99484561bc39c954768e7b41a66cebbe1ac3d9d081c34361f740c489e2c"
dependencies = [
"serde",
"serde_json",
"tauri",
- "thiserror 2.0.18",
+ "thiserror 2.0.21",
+ "tokio",
"tracing",
- "windows-sys 0.60.2",
+ "windows-sys 0.61.2",
"zbus",
]
[[package]]
name = "tauri-runtime"
-version = "2.11.3"
+version = "2.12.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b0b4bc95aed361b0019067d189a1174a603d460d0f6c72606512d59fc9c12ec8"
+checksum = "7c55766d99cea69055904d1735b93c2049302b2e09effd462120deb5581d78e9"
dependencies = [
"cookie",
"dpi",
@@ -3640,7 +3617,7 @@ dependencies = [
"serde",
"serde_json",
"tauri-utils",
- "thiserror 2.0.18",
+ "thiserror 2.0.21",
"url",
"webkit2gtk",
"webview2-com",
@@ -3649,9 +3626,9 @@ dependencies = [
[[package]]
name = "tauri-runtime-wry"
-version = "2.11.3"
+version = "2.12.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fe41e015bf8fc4d6477ff4926a0ef769dc64ff34c7b0038b6f7cacae892acb5c"
+checksum = "e1aa9d8b7a120f879f44fdc1053f7b7dbf416bf0bbc6a72b714dec46b782b52f"
dependencies = [
"gtk",
"http",
@@ -3659,7 +3636,6 @@ dependencies = [
"log",
"objc2",
"objc2-app-kit",
- "once_cell",
"percent-encoding",
"raw-window-handle",
"softbuffer",
@@ -3675,9 +3651,9 @@ dependencies = [
[[package]]
name = "tauri-utils"
-version = "2.9.3"
+version = "2.10.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3e176a18e67764923c4f1ce66f25ae4abe5f688384d5eb1a0fa6c77f3d90f887"
+checksum = "362ab21cd4cc713f2a02b1a9b5688198b1541cfb6907c4281e9190e0f0ef4aa3"
dependencies = [
"anyhow",
"brotli",
@@ -3703,8 +3679,8 @@ dependencies = [
"serde_json",
"serde_with",
"swift-rs",
- "thiserror 2.0.18",
- "toml 1.1.2+spec-1.1.0",
+ "thiserror 2.0.21",
+ "toml 1.1.8+spec-1.1.0",
"url",
"urlpattern",
"uuid",
@@ -3713,13 +3689,13 @@ dependencies = [
[[package]]
name = "tauri-winres"
-version = "0.3.6"
+version = "0.3.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cc65d45c68858bfe420dd29e834b5d15dbecf8a07a8a16cf4d532c7b1f69d4b6"
+checksum = "c52bb6904475a6ca662f15ef787f18ade61d5740a1ee12c45d3b748efdb6f796"
dependencies = [
"dunce",
"embed-resource",
- "toml 1.1.2+spec-1.1.0",
+ "toml 1.1.8+spec-1.1.0",
]
[[package]]
@@ -3729,7 +3705,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "32497e9a4c7b38532efcdebeef879707aa9f794296a4f0244f6f69e9bc8574bd"
dependencies = [
"fastrand",
- "getrandom 0.4.2",
+ "getrandom 0.4.3",
"once_cell",
"rustix",
"windows-sys 0.61.2",
@@ -3737,12 +3713,11 @@ dependencies = [
[[package]]
name = "tendril"
-version = "0.5.0"
+version = "0.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c4790fc369d5a530f4b544b094e31388b9b3a37c0f4652ade4505945f5660d24"
+checksum = "5fed54709c5b3a53d09bb1c113ea4f5ceafd1e772ddcb0030a82e1d56c087b08"
dependencies = [
"new_debug_unreachable",
- "utf-8",
]
[[package]]
@@ -3756,11 +3731,11 @@ dependencies = [
[[package]]
name = "thiserror"
-version = "2.0.18"
+version = "2.0.21"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4288b5bcbc7920c07a1149a35cf9590a2aa808e0bc1eafaade0b80947865fbc4"
+checksum = "09e52cb86a36cede5cb101bf8908837b3e4c6e5e59fe7fd85c23fb56200d189e"
dependencies = [
- "thiserror-impl 2.0.18",
+ "thiserror-impl 2.0.21",
]
[[package]]
@@ -3771,25 +3746,25 @@ checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.117",
+ "syn 2.0.119",
]
[[package]]
name = "thiserror-impl"
-version = "2.0.18"
+version = "2.0.21"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ebc4ee7f67670e9b64d05fa4253e753e016c6c95ff35b89b7941d6b856dec1d5"
+checksum = "fe5197923287db20a58125f0bc85c062f7f2c892de97b18c356f9efb14b28524"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.117",
+ "syn 3.0.9",
]
[[package]]
name = "time"
-version = "0.3.49"
+version = "0.3.55"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "711a53c2d47bbd818258c498c8dbfe186a2526c631495cfe7e078567f86b8469"
+checksum = "cdb87b95ec50ddfa440816d227a17b2ccbdda963a316a727fda0fc4334f7d134"
dependencies = [
"deranged",
"num-conv",
@@ -3807,9 +3782,9 @@ checksum = "9e1c906769ad99c88eaa54e728060edef082f8e358ff32030cb7c7d315e81109"
[[package]]
name = "time-macros"
-version = "0.2.29"
+version = "0.2.32"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "71c652a3727a9cbb9a02f707f530b618ce00d0ccd762009c8c23bd191df3c17d"
+checksum = "7e689342a48d2ea927c87ea50cabf8594854bf940e9310208848d680d668ed85"
dependencies = [
"num-conv",
"time-core",
@@ -3817,9 +3792,9 @@ dependencies = [
[[package]]
name = "tinystr"
-version = "0.8.3"
+version = "0.8.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c8323304221c2a851516f22236c5722a72eaa19749016521d6dff0824447d96d"
+checksum = "abc840c238154d58f9e86b2792261edfde565a17696e1cda1a449de27979801a"
dependencies = [
"displaydoc",
"zerovec",
@@ -3827,24 +3802,15 @@ dependencies = [
[[package]]
name = "tinyvec"
-version = "1.11.0"
+version = "1.13.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3e61e67053d25a4e82c844e8424039d9745781b3fc4f32b8d55ed50f5f667ef3"
-dependencies = [
- "tinyvec_macros",
-]
-
-[[package]]
-name = "tinyvec_macros"
-version = "0.1.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20"
+checksum = "fd3ca314f692efd6c868f8408f53fe444634a845f96c028b97d35f6a1f79f0ee"
[[package]]
name = "tokio"
-version = "1.52.3"
+version = "1.54.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8fc7f01b389ac15039e4dc9531aa973a135d7a4135281b12d7c1bc79fd57fffe"
+checksum = "b52fd3255258d26fac7264ab5a76b53c13367136dc011d3d6ad4f8ed070396a3"
dependencies = [
"bytes",
"libc",
@@ -3856,9 +3822,9 @@ dependencies = [
[[package]]
name = "tokio-util"
-version = "0.7.18"
+version = "0.7.20"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9ae9cec805b01e8fc3fd2fe289f89149a9b66dd16786abd8b19cfa7b48cb0098"
+checksum = "e464cf451ba96ebfc6f9b6542f17ee8b8956e33f1e40d9690624e59d7a7f8a4b"
dependencies = [
"bytes",
"futures-core",
@@ -3881,32 +3847,17 @@ dependencies = [
[[package]]
name = "toml"
-version = "0.9.12+spec-1.1.0"
+version = "1.1.8+spec-1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cf92845e79fc2e2def6a5d828f0801e29a2f8acc037becc5ab08595c7d5e9863"
+checksum = "20489e00e4d8741d6be680764cc12e270655e375a20d1011e844a9c3379e678d"
dependencies = [
- "indexmap 2.14.0",
+ "indexmap 2.14.2",
"serde_core",
- "serde_spanned 1.1.1",
- "toml_datetime 0.7.5+spec-1.1.0",
+ "serde_spanned 1.1.2",
+ "toml_datetime 1.1.2+spec-1.1.0",
"toml_parser",
"toml_writer",
- "winnow 0.7.15",
-]
-
-[[package]]
-name = "toml"
-version = "1.1.2+spec-1.1.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "81f3d15e84cbcd896376e6730314d59fb5a87f31e4b038454184435cd57defee"
-dependencies = [
- "indexmap 2.14.0",
- "serde_core",
- "serde_spanned 1.1.1",
- "toml_datetime 1.1.1+spec-1.1.0",
- "toml_parser",
- "toml_writer",
- "winnow 1.0.3",
+ "winnow 1.0.4",
]
[[package]]
@@ -3920,18 +3871,9 @@ dependencies = [
[[package]]
name = "toml_datetime"
-version = "0.7.5+spec-1.1.0"
+version = "1.1.2+spec-1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "92e1cfed4a3038bc5a127e35a2d360f145e1f4b971b551a2ba5fd7aedf7e1347"
-dependencies = [
- "serde_core",
-]
-
-[[package]]
-name = "toml_datetime"
-version = "1.1.1+spec-1.1.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3165f65f62e28e0115a00b2ebdd37eb6f3b641855f9d636d3cd4103767159ad7"
+checksum = "2b86d767906c6c42421dcba507eb9d203e779497710a47782a224bb871653053"
dependencies = [
"serde_core",
]
@@ -3942,7 +3884,7 @@ version = "0.19.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1b5bb770da30e5cbfde35a2d7b9b8a2c4b8ef89548a7a6aeab5c9a576e3e7421"
dependencies = [
- "indexmap 2.14.0",
+ "indexmap 2.14.2",
"toml_datetime 0.6.3",
"winnow 0.5.40",
]
@@ -3953,7 +3895,7 @@ version = "0.20.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "396e4d48bbb2b7554c944bde63101b5ae446cff6ec4a24227428f15eb72ef338"
dependencies = [
- "indexmap 2.14.0",
+ "indexmap 2.14.2",
"serde",
"serde_spanned 0.6.9",
"toml_datetime 0.6.3",
@@ -3962,30 +3904,30 @@ dependencies = [
[[package]]
name = "toml_edit"
-version = "0.25.12+spec-1.1.0"
+version = "0.25.17+spec-1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d2153edc6955a6c354fad8f5efd38b6a8769bdccf9fe50f8e1329f81b0baa5d7"
+checksum = "e3641d5bbb5349a79e1020a242d251efbc546ad8048d133958323ce9c40a9c9c"
dependencies = [
- "indexmap 2.14.0",
- "toml_datetime 1.1.1+spec-1.1.0",
+ "indexmap 2.14.2",
+ "toml_datetime 1.1.2+spec-1.1.0",
"toml_parser",
- "winnow 1.0.3",
+ "winnow 1.0.4",
]
[[package]]
name = "toml_parser"
-version = "1.1.2+spec-1.1.0"
+version = "1.1.5+spec-1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a2abe9b86193656635d2411dc43050282ca48aa31c2451210f4202550afb7526"
+checksum = "baa693a8032d7e1cada7d0041e96126df243179ff061456783ac7f12bda4744c"
dependencies = [
- "winnow 1.0.3",
+ "winnow 1.0.4",
]
[[package]]
name = "toml_writer"
-version = "1.1.1+spec-1.1.0"
+version = "1.1.3+spec-1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "756daf9b1013ebe47a8776667b466417e2d4c5679d441c26230efd9ef78692db"
+checksum = "06bdbd8cfc056b8d2e2e85f29b56a3bdbecb527cef81eb39e3e7b98af4652770"
[[package]]
name = "tower"
@@ -4008,7 +3950,7 @@ version = "0.6.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4cfcf7e2740e6fc6d4d688b4ef00650406bb94adf4731e43c096c3a19fe40840"
dependencies = [
- "bitflags 2.13.0",
+ "bitflags 2.13.2",
"bytes",
"futures-util",
"http",
@@ -4051,7 +3993,7 @@ checksum = "7490cfa5ec963746568740651ac6781f701c9c5ea257c58e057f3ba8cf69e8da"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.117",
+ "syn 2.0.119",
]
[[package]]
@@ -4065,9 +4007,9 @@ dependencies = [
[[package]]
name = "tray-icon"
-version = "0.24.1"
+version = "0.25.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "65ba1e5f6b9ef9fd87e21b9c6f351554dbd717960089168fcfdef854686961dc"
+checksum = "b2b9c52859a94554803ccd4a24b98f74148ebc73b90676d783f3490b1bff9d72"
dependencies = [
"crossbeam-channel",
"dirs",
@@ -4079,9 +4021,9 @@ dependencies = [
"objc2-core-graphics",
"objc2-foundation",
"once_cell",
- "png 0.18.1",
+ "png",
"serde",
- "thiserror 2.0.18",
+ "thiserror 2.0.21",
"windows-sys 0.61.2",
]
@@ -4114,52 +4056,11 @@ dependencies = [
"windows-sys 0.61.2",
]
-[[package]]
-name = "unic-char-property"
-version = "0.9.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a8c57a407d9b6fa02b4795eb81c5b6652060a15a7903ea981f3d723e6c0be221"
-dependencies = [
- "unic-char-range",
-]
-
-[[package]]
-name = "unic-char-range"
-version = "0.9.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0398022d5f700414f6b899e10b8348231abf9173fa93144cbc1a43b9793c1fbc"
-
-[[package]]
-name = "unic-common"
-version = "0.9.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "80d7ff825a6a654ee85a63e80f92f054f904f21e7d12da4e22f9834a4aaa35bc"
-
-[[package]]
-name = "unic-ucd-ident"
-version = "0.9.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e230a37c0381caa9219d67cf063aa3a375ffed5bf541a452db16e744bdab6987"
-dependencies = [
- "unic-char-property",
- "unic-char-range",
- "unic-ucd-version",
-]
-
-[[package]]
-name = "unic-ucd-version"
-version = "0.9.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "96bd2f2237fe450fcd0a1d2f5f4e91711124f7857ba2e964247776ebeeb7b0c4"
-dependencies = [
- "unic-common",
-]
-
[[package]]
name = "unicode-ident"
-version = "1.0.24"
+version = "1.0.27"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75"
+checksum = "a2c754d6c33795a1c324727428e5a7dedb5b06195f9890bdbcba760d3e246563"
[[package]]
name = "unicode-segmentation"
@@ -4167,12 +4068,6 @@ version = "1.13.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c6f5d3c3b1bf09027a88a6bc961fc00497d651009560b5463668dc81b0fa87a8"
-[[package]]
-name = "unicode-xid"
-version = "0.2.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ebc1c04c71510c7f702b52b7c350734c9ff1295c464a03335b00bb84fc54f853"
-
[[package]]
name = "url"
version = "2.5.8"
@@ -4188,22 +4083,16 @@ dependencies = [
[[package]]
name = "urlpattern"
-version = "0.3.0"
+version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "70acd30e3aa1450bc2eece896ce2ad0d178e9c079493819301573dae3c37ba6d"
+checksum = "df16f50ef4cc145211879a3867ba757076b25dfee812040dcb0658bd9ae7904b"
dependencies = [
+ "icu_properties",
"regex",
"serde",
- "unic-ucd-ident",
"url",
]
-[[package]]
-name = "utf-8"
-version = "0.7.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "09cc8ee72d2a9becf2f2febe0205bbed8fc6615b7cb429ad062dc7b7ddd036a9"
-
[[package]]
name = "utf8_iter"
version = "1.0.4"
@@ -4212,11 +4101,11 @@ checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be"
[[package]]
name = "uuid"
-version = "1.23.3"
+version = "1.28.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "144d6b123cef80b301b8f72a9e2ca4370ddec21950d0a103dd22c437006d2db7"
+checksum = "7cc1186384beb7dd8eedea376413fd654937285ea6c9cfbb928dc3043ea4b606"
dependencies = [
- "getrandom 0.4.2",
+ "getrandom 0.4.3",
"js-sys",
"serde_core",
"wasm-bindgen",
@@ -4266,9 +4155,9 @@ dependencies = [
[[package]]
name = "want"
-version = "0.3.1"
+version = "0.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bfa7760aed19e106de2c7c0b581b509f2f25d3dacaf737cb82ac61bc6d760b0e"
+checksum = "ec4cdd0dd910afe868b7ef477227d8d538b46b3075031afee8a9f2acb0a2ed0b"
dependencies = [
"try-lock",
]
@@ -4285,23 +4174,14 @@ version = "1.0.4+wasi-0.2.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b67efb37e106e55ce722a510d6b5f9c17f083e5fc79afc2badeb12cc313d9487"
dependencies = [
- "wit-bindgen 0.57.1",
-]
-
-[[package]]
-name = "wasip3"
-version = "0.4.0+wasi-0.3.0-rc-2026-01-06"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5428f8bf88ea5ddc08faddef2ac4a67e390b88186c703ce6dbd955e1c145aca5"
-dependencies = [
- "wit-bindgen 0.51.0",
+ "wit-bindgen",
]
[[package]]
name = "wasm-bindgen"
-version = "0.2.125"
+version = "0.2.129"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8ddb3f79143bced6de84270411622a2699cee572fc0875aeaf1e7867cf9fca1a"
+checksum = "9bb54f33acc68fd454578d9820b0bde1a1a3d17aa17bb7b6595806d02886d409"
dependencies = [
"cfg-if",
"once_cell",
@@ -4312,19 +4192,20 @@ dependencies = [
[[package]]
name = "wasm-bindgen-futures"
-version = "0.4.75"
+version = "0.4.79"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "503b14d284f2c8dac03b819967e155ea753f573586193b2b2c95990cb5d69280"
+checksum = "3cbab34de2d982e9b48e18d216d04c4a6f641066ff19ffb699980f591ee3610e"
dependencies = [
"js-sys",
+ "tokio",
"wasm-bindgen",
]
[[package]]
name = "wasm-bindgen-macro"
-version = "0.2.125"
+version = "0.2.129"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4e21a184b13fb19e157296e2c46056aec9092264fab83e4ba59e68c61b323c3d"
+checksum = "2e29d0c35b16e224a7eeb5cd2d25e3e1968fbd65604117b44d3b789d00ee8535"
dependencies = [
"quote",
"wasm-bindgen-macro-support",
@@ -4332,48 +4213,26 @@ dependencies = [
[[package]]
name = "wasm-bindgen-macro-support"
-version = "0.2.125"
+version = "0.2.129"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fecefd9c35bd935a20fc3fc344b5f29138961e4f47fb03297d88f2587afb5ebd"
+checksum = "6f501a8bc3719dba86ef8ae4728879c08001bea749eb1333ac5b91e040e2a6b7"
dependencies = [
"bumpalo",
"proc-macro2",
"quote",
- "syn 2.0.117",
+ "syn 3.0.9",
"wasm-bindgen-shared",
]
[[package]]
name = "wasm-bindgen-shared"
-version = "0.2.125"
+version = "0.2.129"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "23939e44bb9a5d7576fa2b563dc2e136628f1224e88a8deed09e04858b77871f"
+checksum = "23f0c9c52aa7cd7d77769a4cfe2a9adb1b331f489a41d912ce14513d5ab995c6"
dependencies = [
"unicode-ident",
]
-[[package]]
-name = "wasm-encoder"
-version = "0.244.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "990065f2fe63003fe337b932cfb5e3b80e0b4d0f5ff650e6985b1048f62c8319"
-dependencies = [
- "leb128fmt",
- "wasmparser",
-]
-
-[[package]]
-name = "wasm-metadata"
-version = "0.244.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bb0e353e6a2fbdc176932bbaab493762eb1255a7900fe0fea1a2f96c296cc909"
-dependencies = [
- "anyhow",
- "indexmap 2.14.0",
- "wasm-encoder",
- "wasmparser",
-]
-
[[package]]
name = "wasm-streams"
version = "0.5.0"
@@ -4388,22 +4247,20 @@ dependencies = [
]
[[package]]
-name = "wasmparser"
-version = "0.244.0"
+name = "web-sys"
+version = "0.3.106"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "47b807c72e1bac69382b3a6fb3dbe8ea4c0ed87ff5629b8685ae6b9a611028fe"
+checksum = "88261b9deccee56594c11a3460c462c41f58d148598fe70ad77070126a68aba4"
dependencies = [
- "bitflags 2.13.0",
- "hashbrown 0.15.5",
- "indexmap 2.14.0",
- "semver",
+ "js-sys",
+ "wasm-bindgen",
]
[[package]]
-name = "web-sys"
-version = "0.3.102"
+name = "web-time"
+version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a6430a72df5eb332242960fe84b3002a241163998241eb596d4f739b9757061d"
+checksum = "5a6580f308b1fad9207618087a65c04e7a10bc77e02c8e84e9b00dd4b12fa0bb"
dependencies = [
"js-sys",
"wasm-bindgen",
@@ -4411,9 +4268,9 @@ dependencies = [
[[package]]
name = "web_atoms"
-version = "0.2.4"
+version = "0.2.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d7cff6eef815df1834fd250e3a2ff436044d82a9f1bc1980ca1dbdf07effc538"
+checksum = "ba8b815c1b593dc0baf78dd0f4fc8fdb2de53198fb1163738093e9a311c33fb3"
dependencies = [
"phf",
"phf_codegen",
@@ -4467,16 +4324,14 @@ dependencies = [
[[package]]
name = "webview2-com"
-version = "0.38.2"
+version = "0.39.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7130243a7a5b33c54a444e54842e6a9e133de08b5ad7b5861cd8ed9a6a5bc96a"
+checksum = "3f89fca7a704cee10dcb3654c1dbb8941d1783132f1917358af75bec37a7d7e6"
dependencies = [
"webview2-com-macros",
"webview2-com-sys",
"windows",
- "windows-core 0.61.2",
- "windows-implement",
- "windows-interface",
+ "windows-core",
]
[[package]]
@@ -4487,18 +4342,18 @@ checksum = "67a921c1b6914c367b2b823cd4cde6f96beec77d30a939c8199bb377cf9b9b54"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.117",
+ "syn 2.0.119",
]
[[package]]
name = "webview2-com-sys"
-version = "0.38.2"
+version = "0.39.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "381336cfffd772377d291702245447a5251a2ffa5bad679c99e61bc48bacbf9c"
+checksum = "b3a07132775117d6065853d9d1178157b8c90e228de47129d6bce2c7edebedfb"
dependencies = [
- "thiserror 2.0.18",
+ "thiserror 2.0.21",
"windows",
- "windows-core 0.61.2",
+ "windows-core",
]
[[package]]
@@ -4534,52 +4389,39 @@ checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
[[package]]
name = "window-vibrancy"
-version = "0.6.0"
+version = "0.8.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d9bec5a31f3f9362f2258fd0e9c9dd61a9ca432e7306cc78c444258f0dce9a9c"
+checksum = "111e51caca442cafd9bab396628ac4d814880eaea4e63dfd76a12e9f342b5580"
dependencies = [
"objc2",
"objc2-app-kit",
"objc2-core-foundation",
"objc2-foundation",
+ "objc2-quartz-core",
"raw-window-handle",
- "windows-sys 0.59.0",
+ "windows-sys 0.61.2",
"windows-version",
]
[[package]]
name = "windows"
-version = "0.61.3"
+version = "0.62.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9babd3a767a4c1aef6900409f85f5d53ce2544ccdfaa86dad48c91782c6d6893"
+checksum = "527fadee13e0c05939a6a05d5bd6eec6cd2e3dbd648b9f8e447c6518133d8580"
dependencies = [
"windows-collections",
- "windows-core 0.61.2",
+ "windows-core",
"windows-future",
- "windows-link 0.1.3",
"windows-numerics",
]
[[package]]
name = "windows-collections"
-version = "0.2.0"
+version = "0.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3beeceb5e5cfd9eb1d76b381630e82c4241ccd0d27f1a39ed41b2760b255c5e8"
+checksum = "23b2d95af1a8a14a3c7367e1ed4fc9c20e0a26e79551b1454d72583c97cc6610"
dependencies = [
- "windows-core 0.61.2",
-]
-
-[[package]]
-name = "windows-core"
-version = "0.61.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c0fdd3ddb90610c7638aa2b3a3ab2904fb9e5cdbecc643ddb3647212781c4ae3"
-dependencies = [
- "windows-implement",
- "windows-interface",
- "windows-link 0.1.3",
- "windows-result 0.3.4",
- "windows-strings 0.4.2",
+ "windows-core",
]
[[package]]
@@ -4590,19 +4432,19 @@ checksum = "b8e83a14d34d0623b51dce9581199302a221863196a1dde71a7663a4c2be9deb"
dependencies = [
"windows-implement",
"windows-interface",
- "windows-link 0.2.1",
- "windows-result 0.4.1",
- "windows-strings 0.5.1",
+ "windows-link",
+ "windows-result",
+ "windows-strings",
]
[[package]]
name = "windows-future"
-version = "0.2.1"
+version = "0.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fc6a41e98427b19fe4b73c550f060b59fa592d7d686537eebf9385621bfbad8e"
+checksum = "e1d6f90251fe18a279739e78025bd6ddc52a7e22f921070ccdc67dde84c605cb"
dependencies = [
- "windows-core 0.61.2",
- "windows-link 0.1.3",
+ "windows-core",
+ "windows-link",
"windows-threading",
]
@@ -4614,7 +4456,7 @@ checksum = "053e2e040ab57b9dc951b72c264860db7eb3b0200ba345b4e4c3b14f67855ddf"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.117",
+ "syn 2.0.119",
]
[[package]]
@@ -4625,15 +4467,9 @@ checksum = "3f316c4a2570ba26bbec722032c4099d8c8bc095efccdc15688708623367e358"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.117",
+ "syn 2.0.119",
]
-[[package]]
-name = "windows-link"
-version = "0.1.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5e6ad25900d524eaabdbbb96d20b4311e1e7ae1699af4fb28c17ae66c80d798a"
-
[[package]]
name = "windows-link"
version = "0.2.1"
@@ -4642,21 +4478,12 @@ checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
[[package]]
name = "windows-numerics"
-version = "0.2.0"
+version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9150af68066c4c5c07ddc0ce30421554771e528bde427614c61038bc2c92c2b1"
+checksum = "6e2e40844ac143cdb44aead537bbf727de9b044e107a0f1220392177d15b0f26"
dependencies = [
- "windows-core 0.61.2",
- "windows-link 0.1.3",
-]
-
-[[package]]
-name = "windows-result"
-version = "0.3.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "56f42bd332cc6c8eac5af113fc0c1fd6a8fd2aa08a0119358686e5160d0586c6"
-dependencies = [
- "windows-link 0.1.3",
+ "windows-core",
+ "windows-link",
]
[[package]]
@@ -4665,16 +4492,7 @@ version = "0.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7781fa89eaf60850ac3d2da7af8e5242a5ea78d1a11c49bf2910bb5a73853eb5"
dependencies = [
- "windows-link 0.2.1",
-]
-
-[[package]]
-name = "windows-strings"
-version = "0.4.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "56e6c93f3a0c3b36176cb1327a4958a0353d5d166c2a35cb268ace15e91d3b57"
-dependencies = [
- "windows-link 0.1.3",
+ "windows-link",
]
[[package]]
@@ -4683,7 +4501,7 @@ version = "0.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7837d08f69c77cf6b07689544538e017c1bfcf57e34b4c0ff58e6c2cd3b37091"
dependencies = [
- "windows-link 0.2.1",
+ "windows-link",
]
[[package]]
@@ -4695,15 +4513,6 @@ dependencies = [
"windows-targets 0.42.2",
]
-[[package]]
-name = "windows-sys"
-version = "0.59.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b"
-dependencies = [
- "windows-targets 0.52.6",
-]
-
[[package]]
name = "windows-sys"
version = "0.60.2"
@@ -4719,7 +4528,7 @@ version = "0.61.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc"
dependencies = [
- "windows-link 0.2.1",
+ "windows-link",
]
[[package]]
@@ -4737,33 +4546,17 @@ dependencies = [
"windows_x86_64_msvc 0.42.2",
]
-[[package]]
-name = "windows-targets"
-version = "0.52.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973"
-dependencies = [
- "windows_aarch64_gnullvm 0.52.6",
- "windows_aarch64_msvc 0.52.6",
- "windows_i686_gnu 0.52.6",
- "windows_i686_gnullvm 0.52.6",
- "windows_i686_msvc 0.52.6",
- "windows_x86_64_gnu 0.52.6",
- "windows_x86_64_gnullvm 0.52.6",
- "windows_x86_64_msvc 0.52.6",
-]
-
[[package]]
name = "windows-targets"
version = "0.53.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4945f9f551b88e0d65f3db0bc25c33b8acea4d9e41163edf90dcd0b19f9069f3"
dependencies = [
- "windows-link 0.2.1",
+ "windows-link",
"windows_aarch64_gnullvm 0.53.1",
"windows_aarch64_msvc 0.53.1",
"windows_i686_gnu 0.53.1",
- "windows_i686_gnullvm 0.53.1",
+ "windows_i686_gnullvm",
"windows_i686_msvc 0.53.1",
"windows_x86_64_gnu 0.53.1",
"windows_x86_64_gnullvm 0.53.1",
@@ -4772,11 +4565,11 @@ dependencies = [
[[package]]
name = "windows-threading"
-version = "0.1.0"
+version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b66463ad2e0ea3bbf808b7f1d371311c80e115c0b71d60efc142cafbcfb057a6"
+checksum = "3949bd5b99cafdf1c7ca86b43ca564028dfe27d66958f2470940f73d86d75b37"
dependencies = [
- "windows-link 0.1.3",
+ "windows-link",
]
[[package]]
@@ -4785,7 +4578,7 @@ version = "0.1.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e4060a1da109b9d0326b7262c8e12c84df67cc0dbc9e33cf49e01ccc2eb63631"
dependencies = [
- "windows-link 0.2.1",
+ "windows-link",
]
[[package]]
@@ -4794,12 +4587,6 @@ version = "0.42.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8"
-[[package]]
-name = "windows_aarch64_gnullvm"
-version = "0.52.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
-
[[package]]
name = "windows_aarch64_gnullvm"
version = "0.53.1"
@@ -4812,12 +4599,6 @@ version = "0.42.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43"
-[[package]]
-name = "windows_aarch64_msvc"
-version = "0.52.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
-
[[package]]
name = "windows_aarch64_msvc"
version = "0.53.1"
@@ -4830,24 +4611,12 @@ version = "0.42.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f"
-[[package]]
-name = "windows_i686_gnu"
-version = "0.52.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b"
-
[[package]]
name = "windows_i686_gnu"
version = "0.53.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "960e6da069d81e09becb0ca57a65220ddff016ff2d6af6a223cf372a506593a3"
-[[package]]
-name = "windows_i686_gnullvm"
-version = "0.52.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
-
[[package]]
name = "windows_i686_gnullvm"
version = "0.53.1"
@@ -4860,12 +4629,6 @@ version = "0.42.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060"
-[[package]]
-name = "windows_i686_msvc"
-version = "0.52.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
-
[[package]]
name = "windows_i686_msvc"
version = "0.53.1"
@@ -4878,12 +4641,6 @@ version = "0.42.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36"
-[[package]]
-name = "windows_x86_64_gnu"
-version = "0.52.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78"
-
[[package]]
name = "windows_x86_64_gnu"
version = "0.53.1"
@@ -4896,12 +4653,6 @@ version = "0.42.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3"
-[[package]]
-name = "windows_x86_64_gnullvm"
-version = "0.52.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
-
[[package]]
name = "windows_x86_64_gnullvm"
version = "0.53.1"
@@ -4914,12 +4665,6 @@ version = "0.42.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0"
-[[package]]
-name = "windows_x86_64_msvc"
-version = "0.52.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
-
[[package]]
name = "windows_x86_64_msvc"
version = "0.53.1"
@@ -4937,36 +4682,21 @@ dependencies = [
[[package]]
name = "winnow"
-version = "0.7.15"
+version = "1.0.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "df79d97927682d2fd8adb29682d1140b343be4ac0f08fd68b7765d9c059d3945"
-
-[[package]]
-name = "winnow"
-version = "1.0.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0592e1c9d151f854e6fd382574c3a0855250e1d9b2f99d9281c6e6391af352f1"
+checksum = "23b97319f7b8343df12cc98938e5c3eb436064524c8d2b4e30a1d3a36eecdf81"
dependencies = [
"memchr",
]
[[package]]
name = "winreg"
-version = "0.55.0"
+version = "0.56.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cb5a765337c50e9ec252c2069be9bf91c7df47afb103b642ba3a53bf8101be97"
+checksum = "7d6f32a0ff4a9f6f01231eb2059cc85479330739333e0e58cadf03b6af2cca10"
dependencies = [
"cfg-if",
- "windows-sys 0.59.0",
-]
-
-[[package]]
-name = "wit-bindgen"
-version = "0.51.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d7249219f66ced02969388cf2bb044a09756a083d0fab1e566056b04d9fbcaa5"
-dependencies = [
- "wit-bindgen-rust-macro",
+ "windows-sys 0.61.2",
]
[[package]]
@@ -4975,96 +4705,17 @@ version = "0.57.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1ebf944e87a7c253233ad6766e082e3cd714b5d03812acc24c318f549614536e"
-[[package]]
-name = "wit-bindgen-core"
-version = "0.51.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ea61de684c3ea68cb082b7a88508a8b27fcc8b797d738bfc99a82facf1d752dc"
-dependencies = [
- "anyhow",
- "heck 0.5.0",
- "wit-parser",
-]
-
-[[package]]
-name = "wit-bindgen-rust"
-version = "0.51.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b7c566e0f4b284dd6561c786d9cb0142da491f46a9fbed79ea69cdad5db17f21"
-dependencies = [
- "anyhow",
- "heck 0.5.0",
- "indexmap 2.14.0",
- "prettyplease",
- "syn 2.0.117",
- "wasm-metadata",
- "wit-bindgen-core",
- "wit-component",
-]
-
-[[package]]
-name = "wit-bindgen-rust-macro"
-version = "0.51.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0c0f9bfd77e6a48eccf51359e3ae77140a7f50b1e2ebfe62422d8afdaffab17a"
-dependencies = [
- "anyhow",
- "prettyplease",
- "proc-macro2",
- "quote",
- "syn 2.0.117",
- "wit-bindgen-core",
- "wit-bindgen-rust",
-]
-
-[[package]]
-name = "wit-component"
-version = "0.244.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9d66ea20e9553b30172b5e831994e35fbde2d165325bec84fc43dbf6f4eb9cb2"
-dependencies = [
- "anyhow",
- "bitflags 2.13.0",
- "indexmap 2.14.0",
- "log",
- "serde",
- "serde_derive",
- "serde_json",
- "wasm-encoder",
- "wasm-metadata",
- "wasmparser",
- "wit-parser",
-]
-
-[[package]]
-name = "wit-parser"
-version = "0.244.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ecc8ac4bc1dc3381b7f59c34f00b67e18f910c2c0f50015669dde7def656a736"
-dependencies = [
- "anyhow",
- "id-arena",
- "indexmap 2.14.0",
- "log",
- "semver",
- "serde",
- "serde_derive",
- "serde_json",
- "unicode-xid",
- "wasmparser",
-]
-
[[package]]
name = "writeable"
-version = "0.6.3"
+version = "0.6.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1ffae5123b2d3fc086436f8834ae3ab053a283cfac8fe0a0b8eaae044768a4c4"
+checksum = "3ad82d2a33cdc9674dc7465672f271e096168fcdbe0f799d9e6db8c5892679dc"
[[package]]
name = "wry"
-version = "0.55.1"
+version = "0.57.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "186f9871daa55fd9c016578b810d149de58367113db7fb72b462d2323ce19514"
+checksum = "a819957a01b3119af85e638a38d242af76dbc87d130dca67bfd0441072e21ff0"
dependencies = [
"base64 0.22.1",
"block2",
@@ -5093,13 +4744,13 @@ dependencies = [
"sha2",
"soup3",
"tao-macros",
- "thiserror 2.0.18",
+ "thiserror 2.0.21",
"url",
"webkit2gtk",
"webkit2gtk-sys",
"webview2-com",
"windows",
- "windows-core 0.61.2",
+ "windows-core",
"windows-version",
"x11-dl",
]
@@ -5127,9 +4778,9 @@ dependencies = [
[[package]]
name = "yoke"
-version = "0.8.3"
+version = "0.8.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "709fe23a0424b6a435d82152b1bd3fdfb0833487d5fa90d05d42762a9891fef5"
+checksum = "417ef3fcf6c300b7dbd25c85531a746931c02ad536f3cf4786ed1e88223340b3"
dependencies = [
"stable_deref_trait",
"yoke-derive",
@@ -5138,21 +4789,21 @@ dependencies = [
[[package]]
name = "yoke-derive"
-version = "0.8.2"
+version = "0.8.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "de844c262c8848816172cef550288e7dc6c7b7814b4ee56b3e1553f275f1858e"
+checksum = "ec8ebde2db3681e8c9980cc27822030e68752690ddfa9473e739aeb4dbde6d71"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.117",
+ "syn 3.0.9",
"synstructure",
]
[[package]]
name = "zbus"
-version = "5.16.0"
+version = "5.19.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "eee682d202a77e4a9f3b2c2bdf48a7b28af5c08c34ddf66f98c93e5e39464285"
+checksum = "5db4be7c075cb421e4b7ee645541604239bd243ba7c357511f4ff3a74b555907"
dependencies = [
"async-broadcast",
"async-executor",
@@ -5177,7 +4828,7 @@ dependencies = [
"uds_windows",
"uuid",
"windows-sys 0.61.2",
- "winnow 1.0.3",
+ "winnow 1.0.4",
"zbus_macros",
"zbus_names",
"zvariant",
@@ -5185,14 +4836,14 @@ dependencies = [
[[package]]
name = "zbus_macros"
-version = "5.16.0"
+version = "5.19.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "adf1bd45a81a103745b1757754762a26e8cd01e4532e4d6c8ec431624b80d1d6"
+checksum = "2990635d09ade6df1868f72f8cac69a876a90981e8bd3c40b1be413f8dc88f40"
dependencies = [
"proc-macro-crate 3.5.0",
"proc-macro2",
"quote",
- "syn 2.0.117",
+ "syn 3.0.9",
"zbus_names",
"zvariant",
"zvariant_utils",
@@ -5200,15 +4851,24 @@ dependencies = [
[[package]]
name = "zbus_names"
-version = "4.3.2"
+version = "4.3.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7074f3e50b894eac91750142016d30d0a89be8e67dbfd9704fb875825760e52d"
+checksum = "812a12be4ead7a59e18ea8f047d08add0066b73bc62fc1467066a2472ae088dd"
dependencies = [
"serde",
- "winnow 1.0.3",
+ "winnow 1.0.4",
"zvariant",
]
+[[package]]
+name = "zcheapstr"
+version = "1.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d1afec51604565183aeb5c54c20aeab286120d4e4460f7f76e3e8bb8c0d99473"
+dependencies = [
+ "serde",
+]
+
[[package]]
name = "zerofrom"
version = "0.1.8"
@@ -5220,21 +4880,21 @@ dependencies = [
[[package]]
name = "zerofrom-derive"
-version = "0.1.7"
+version = "0.1.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "11532158c46691caf0f2593ea8358fed6bbf68a0315e80aae9bd41fbade684a1"
+checksum = "f75b4683f6c7f45248d4d64056a24298c6281e0993356d7d1b4a1a962ef10d4a"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.117",
+ "syn 3.0.9",
"synstructure",
]
[[package]]
name = "zerotrie"
-version = "0.2.4"
+version = "0.2.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0f9152d31db0792fa83f70fb2f83148effb5c1f5b8c7686c3459e361d9bc20bf"
+checksum = "4ea269c3bd32f0a32c321907a2ae912ba6f4649bb0fc764a15627e99a7095a3f"
dependencies = [
"displaydoc",
"yoke",
@@ -5243,9 +4903,9 @@ dependencies = [
[[package]]
name = "zerovec"
-version = "0.11.6"
+version = "0.11.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "90f911cbc359ab6af17377d242225f4d75119aec87ea711a880987b18cd7b239"
+checksum = "f58a2799cfe9a1670c7ea8edbd52ef8edb93cb37a7f83bf31ba9e35d9dae6a40"
dependencies = [
"yoke",
"zerofrom",
@@ -5254,57 +4914,64 @@ dependencies = [
[[package]]
name = "zerovec-derive"
-version = "0.11.3"
+version = "0.11.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "625dc425cab0dca6dc3c3319506e6593dcb08a9f387ea3b284dbd52a92c40555"
+checksum = "c3743ddbf47738d929cd1ae2e199d40d0162979dfe31aef8ae646d2bf00bf97a"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.117",
+ "syn 3.0.9",
]
[[package]]
-name = "zmij"
-version = "1.0.21"
+name = "zlib-rs"
+version = "0.6.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b8848ee67ecc8aedbaf3e4122217aff892639231befc6a1b58d29fff4c2cabaa"
+checksum = "b268e58e7c693d7c271f93ffc4ba3b380412554231c85bf61ca7af91042a4112"
+
+[[package]]
+name = "zmij"
+version = "1.0.23"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "29666d0abbfad1e3dc4dcf6144730dd3a3ab225bbbdac83319345b1b44ccfc1b"
[[package]]
name = "zvariant"
-version = "5.12.0"
+version = "5.15.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a192a0bde63360d77a7523c833d4b4ce6070a927e2c53246e4c540b1a3e27be0"
+checksum = "80bf6d6cd6a4b601acb64cfb8284cdc643fcfa75ef26ae3c46ec8aa4e8a1fbb7"
dependencies = [
"endi",
"enumflags2",
"serde",
- "winnow 1.0.3",
+ "winnow 1.0.4",
+ "zcheapstr",
"zvariant_derive",
"zvariant_utils",
]
[[package]]
name = "zvariant_derive"
-version = "5.12.0"
+version = "5.15.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "90bc6cde9c01c511074be97f7ccb6c19d0da89e3f8662e812e999dcfd4638737"
+checksum = "ef2672456ba1cb54b5eaec136e63135b3c7495fb938e53b28a62e633496d486d"
dependencies = [
"proc-macro-crate 3.5.0",
"proc-macro2",
"quote",
- "syn 2.0.117",
+ "syn 3.0.9",
"zvariant_utils",
]
[[package]]
name = "zvariant_utils"
-version = "3.4.0"
+version = "4.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1e8535915cfa75547e559d8c68e8139909a4aeee076831e4ef7fc59d8172c4d6"
+checksum = "bad0294361a320b694a328460dc73add56c306150f5cb6bfafc44446120008a3"
dependencies = [
"proc-macro2",
"quote",
"serde",
- "syn 2.0.117",
- "winnow 1.0.3",
+ "syn 3.0.9",
+ "winnow 1.0.4",
]
diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml
index 11e7bdc..b537758 100644
--- a/src-tauri/Cargo.toml
+++ b/src-tauri/Cargo.toml
@@ -1,12 +1,13 @@
[package]
name = "jsonprism"
-version = "1.7.2"
+version = "2.0.0"
description = "Disperse JSON into many formats."
-authors = ["poli0981 "]
+authors = ["poli0981 "]
license = "Apache-2.0"
repository = "https://github.com/poli0981/jsonPrism"
+homepage = "https://jsonprism.poli0981.dev"
edition = "2021"
-rust-version = "1.77"
+rust-version = "1.90"
# Disable the default `main.rs` binary lookup; we want a library + bin.
[lib]
@@ -21,7 +22,6 @@ tauri = { version = "2", features = [] }
tauri-plugin-dialog = "2"
tauri-plugin-fs = "2"
tauri-plugin-opener = "2"
-tauri-plugin-os = "2"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
diff --git a/src-tauri/capabilities/default.json b/src-tauri/capabilities/default.json
index a547083..e75c50d 100644
--- a/src-tauri/capabilities/default.json
+++ b/src-tauri/capabilities/default.json
@@ -1,29 +1,20 @@
{
"$schema": "../gen/schemas/desktop-schema.json",
"identifier": "default",
- "description": "Default permissions for the JSONPrism main window.",
+ "description": "JSONPrism main window: native open/save dialogs, reading files the user picks or drops, writing where they choose to save, and opening links in the system browser. Picked and dropped paths are added to the fs scope at runtime; the static scope only covers common folders.",
"windows": ["main"],
"permissions": [
"core:default",
- "core:event:allow-listen",
- "core:event:allow-unlisten",
- "core:webview:default",
- "core:window:default",
- "core:window:allow-set-title",
"opener:default",
- "os:default",
- "dialog:default",
"dialog:allow-open",
"dialog:allow-save",
- "dialog:allow-message",
"fs:default",
"fs:allow-read-text-file",
- "fs:allow-write-text-file",
"fs:allow-write-file",
"fs:allow-stat",
{
"identifier": "fs:scope",
- "allow": ["$HOME/**", "$DOCUMENT/**", "$DOWNLOAD/**", "$DESKTOP/**"]
+ "allow": ["$DOCUMENT/**", "$DOWNLOAD/**", "$DESKTOP/**"]
}
]
}
diff --git a/src-tauri/gen/android/app/src/main/AndroidManifest.xml b/src-tauri/gen/android/app/src/main/AndroidManifest.xml
index 00aadff..77840e6 100644
--- a/src-tauri/gen/android/app/src/main/AndroidManifest.xml
+++ b/src-tauri/gen/android/app/src/main/AndroidManifest.xml
@@ -6,6 +6,7 @@
import('@/pages/About').then((m) => ({ default: m.About
const NotFound = lazy(() => import('@/pages/errors/NotFound'));
const ErrorRoute = lazy(() => import('@/pages/errors/ErrorRoute'));
+/** Cloudflare Web Analytics: production web only, after consent, if the user didn't opt out. */
+function useWebAnalytics() {
+ const consented = useConsentStore((s) => s.accepted);
+ const enabled = usePreferencesStore((s) => s.analytics);
+ useEffect(() => {
+ loadWebAnalytics({ consented, enabled });
+ }, [consented, enabled]);
+}
+
export function App() {
useExternalLinkInterceptor();
+ useWebAnalytics();
return (
-
-
+ // The crash boundary is outermost so even a theme/storage failure renders
+ // the fallback instead of a blank page.
+
+
}>
@@ -31,7 +46,7 @@ export function App() {
-
-
+
+
);
}
diff --git a/src/app/__tests__/App.test.tsx b/src/app/__tests__/App.test.tsx
new file mode 100644
index 0000000..79243ee
--- /dev/null
+++ b/src/app/__tests__/App.test.tsx
@@ -0,0 +1,92 @@
+import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest';
+import { act, render, screen } from '@testing-library/react';
+import { MemoryRouter } from 'react-router';
+import '@/i18n';
+import { App } from '../App';
+import { loadWebAnalytics } from '@/lib/analytics';
+import { useConsentStore } from '@/stores/consentStore';
+import { usePreferencesStore } from '@/stores/preferencesStore';
+
+const home = vi.hoisted(() => ({ crash: false }));
+
+vi.mock('@/lib/analytics', () => ({ loadWebAnalytics: vi.fn(() => false) }));
+
+// The real workspace pulls in the editor and every parser; the routing and
+// app-shell wiring are what's under test here.
+vi.mock('@/pages/Home', () => ({
+ Home: () => {
+ if (home.crash) throw new Error('Workspace exploded');
+ return Converter workspace ;
+ },
+}));
+
+function renderApp(path = '/') {
+ return render(
+
+
+ ,
+ );
+}
+
+beforeEach(() => {
+ home.crash = false;
+ useConsentStore.setState({ accepted: true, humanVerified: true });
+ usePreferencesStore.setState({ hideScrollbars: false, analytics: true });
+});
+
+afterEach(() => {
+ vi.restoreAllMocks();
+ document.documentElement.classList.remove('dark');
+});
+
+describe('App', () => {
+ it.each([
+ ['/', 'Converter workspace'],
+ ['/about', 'About JSONPrism'],
+ ['/error/403', 'Forbidden'],
+ ['/no/such/page', 'Page not found'],
+ ])('renders %s inside the app shell', async (path, heading) => {
+ renderApp(path);
+ expect(await screen.findByRole('heading', { level: 1, name: heading })).toBeInTheDocument();
+ expect(screen.getByRole('banner')).toBeInTheDocument();
+ expect(screen.getByRole('contentinfo')).toBeInTheDocument();
+ });
+
+ it('mounts the translated toast region', async () => {
+ renderApp('/');
+ await screen.findByRole('heading', { name: 'Converter workspace' });
+ expect(screen.getByRole('region', { name: /^Notifications/ })).toBeInTheDocument();
+ });
+
+ it('puts the consent gate in front of the app on first launch', async () => {
+ useConsentStore.setState({ accepted: false });
+ renderApp('/');
+ expect(await screen.findByRole('dialog', { name: 'Before you start' })).toBeInTheDocument();
+ // The shell renders behind the modal but is hidden from assistive tech.
+ expect(screen.queryByRole('banner')).not.toBeInTheDocument();
+ });
+
+ it('loads analytics only after consent and re-checks when the opt-out changes', async () => {
+ useConsentStore.setState({ accepted: false });
+ renderApp('/');
+ await screen.findByRole('dialog');
+ expect(loadWebAnalytics).toHaveBeenLastCalledWith({ consented: false, enabled: true });
+
+ act(() => useConsentStore.getState().accept());
+ expect(loadWebAnalytics).toHaveBeenLastCalledWith({ consented: true, enabled: true });
+
+ act(() => usePreferencesStore.getState().setAnalytics(false));
+ expect(loadWebAnalytics).toHaveBeenLastCalledWith({ consented: true, enabled: false });
+ });
+
+ it('falls back to the crash screen when a page fails for reasons other than loading', async () => {
+ vi.spyOn(console, 'error').mockImplementation(() => {});
+ home.crash = true;
+ renderApp('/');
+ expect(
+ await screen.findByRole('heading', { name: 'Something refracted unexpectedly.' }),
+ ).toBeInTheDocument();
+ expect(screen.getByText('Workspace exploded')).toBeInTheDocument();
+ expect(screen.getByRole('button', { name: 'Reload' })).toBeInTheDocument();
+ });
+});
diff --git a/src/components/common/ChunkErrorBoundary.tsx b/src/components/common/ChunkErrorBoundary.tsx
index 48b78b4..417362e 100644
--- a/src/components/common/ChunkErrorBoundary.tsx
+++ b/src/components/common/ChunkErrorBoundary.tsx
@@ -1,6 +1,9 @@
import { Component, type ErrorInfo, type ReactNode } from 'react';
import { ChunkErrorFallback } from '@/components/common/ChunkErrorFallback';
import { isChunkLoadError } from '@/lib/chunk-error';
+import { createLogger } from '@/lib/logger';
+
+const log = createLogger('chunk');
interface Props {
children: ReactNode;
@@ -25,7 +28,7 @@ export class ChunkErrorBoundary extends Component {
override componentDidCatch(error: Error, info: ErrorInfo): void {
if (isChunkLoadError(error)) {
- console.error('JSONPrism chunk-load error:', error, info);
+ log.error('Chunk failed to load:', error, info.componentStack ?? '');
}
}
diff --git a/src/components/common/ConsentGate.tsx b/src/components/common/ConsentGate.tsx
index 85645a6..626464d 100644
--- a/src/components/common/ConsentGate.tsx
+++ b/src/components/common/ConsentGate.tsx
@@ -8,83 +8,127 @@ import {
DialogHeader,
DialogTitle,
} from '@/components/ui/dialog';
+import { HumanCheck } from '@/components/common/HumanCheck';
+import { legalDocUrl } from '@/lib/links';
+import { isTurnstileEnabled } from '@/lib/turnstile';
import { useConsentStore } from '@/stores/consentStore';
-const REPO_URL = 'https://github.com/poli0981/jsonPrism';
-
-const LEGAL_LINKS = [
- { key: 'license', href: `${REPO_URL}/blob/main/LICENSE` },
- { key: 'terms', href: `${REPO_URL}/blob/main/TERMS.md` },
- { key: 'privacy', href: `${REPO_URL}/blob/main/PRIVACY.md` },
- { key: 'disclaimer', href: `${REPO_URL}/blob/main/DISCLAIMER.md` },
+const LEGAL_DOCS = [
+ { key: 'license', file: 'LICENSE' },
+ { key: 'terms', file: 'TERMS.md' },
+ { key: 'privacy', file: 'PRIVACY.md' },
+ { key: 'disclaimer', file: 'DISCLAIMER.md' },
] as const;
/**
- * First-launch legal gate (web + Android). Blocks the app behind a
- * non-dismissible modal until the user accepts. On desktop the store seeds
- * `accepted = true` (the installer's license page already gated acceptance), so
- * this renders its children straight through; the Android sideload APK has no
- * such installer step, so it shows the gate like the web build.
+ * First-launch legal gate. Blocks the app behind a non-dismissible modal until
+ * the user accepts; on the web build it also runs the Cloudflare Turnstile
+ * human check (re-run alone every 7 days for returning visitors).
+ *
+ * The app renders behind the modal (inert) so the page has real content for
+ * search engines and context for the user. Windows desktop builds skip the
+ * gate — their installer's license page already required acceptance.
*/
export function ConsentGate({ children }: { children: ReactNode }) {
const accepted = useConsentStore((s) => s.accepted);
- const accept = useConsentStore((s) => s.accept);
- const { t } = useTranslation();
- const [checked, setChecked] = useState(false);
-
- if (accepted) return <>{children}>;
+ const humanVerified = useConsentStore((s) => s.humanVerified);
+ const gated = !accepted || !humanVerified;
+ // One stable wrapper, so passing the gate doesn't remount the whole app.
return (
-
-
- e.preventDefault()}
- onPointerDownOutside={(e) => e.preventDefault()}
- onInteractOutside={(e) => e.preventDefault()}
- className="max-w-md"
- >
-
- {t('consent.title')}
- {t('consent.intro')}
-
-
-
-
-
- setChecked(e.target.checked)}
- className="accent-primary mt-0.5 h-4 w-4 shrink-0"
- />
- {t('consent.agree')}
-
-
-
+
+ {children}
+
+ {gated && (
+
+ e.preventDefault()}
+ onPointerDownOutside={(e) => e.preventDefault()}
+ onInteractOutside={(e) => e.preventDefault()}
+ className="max-w-md"
>
- {t('consent.continue')}
-
-
-
-
+ {/* Tauri builds never run the human check, so the bundler drops it there. */}
+ {accepted && !__IS_TAURI_BUILD__ ? (
+
+ ) : (
+
+ )}
+
+
+ )}
+ >
+ );
+}
+
+function ConsentForm({ humanVerified }: { humanVerified: boolean }) {
+ const { t } = useTranslation();
+ const accept = useConsentStore((s) => s.accept);
+ const [checked, setChecked] = useState(false);
+ // Decided once, so a passed check stays visible (and announced) instead of vanishing.
+ const [needsCheck] = useState(() => isTurnstileEnabled() && !humanVerified);
+ const web = !__IS_TAURI_BUILD__;
+
+ return (
+ <>
+
+ {t('consent.title')}
+ {t('consent.intro')}
+
+
+ {web && {t('consent.web_services')}
}
+
+
+
+
+ setChecked(e.target.checked)}
+ className="accent-primary mt-0.5 h-4 w-4 shrink-0"
+ />
+ {t('consent.agree')}
+
+
+ {!__IS_TAURI_BUILD__ && needsCheck && }
+
+
+ {t('consent.continue')}
+
+ >
+ );
+}
+
+/** Returning visitor whose 7-day human check expired: just the check. */
+function RecheckForm() {
+ const { t } = useTranslation();
+ return (
+ <>
+
+ {t('human_check.title')}
+ {t('human_check.recheck_intro')}
+
+
+ >
);
}
diff --git a/src/components/common/ErrorBoundary.tsx b/src/components/common/ErrorBoundary.tsx
index f22e639..77fa416 100644
--- a/src/components/common/ErrorBoundary.tsx
+++ b/src/components/common/ErrorBoundary.tsx
@@ -1,5 +1,8 @@
import { Component, type ErrorInfo, type ReactNode } from 'react';
import { ErrorState, errorActionPrimary } from '@/components/common/ErrorState';
+import { createLogger } from '@/lib/logger';
+
+const log = createLogger('error-boundary');
interface Props {
children: ReactNode;
@@ -19,7 +22,7 @@ export class ErrorBoundary extends Component {
}
override componentDidCatch(error: Error, info: ErrorInfo): void {
- console.error('JSONPrism error boundary caught:', error, info);
+ log.error(error, info.componentStack ?? '');
}
override render(): ReactNode {
diff --git a/src/components/common/ErrorState.tsx b/src/components/common/ErrorState.tsx
index b75734a..9425f65 100644
--- a/src/components/common/ErrorState.tsx
+++ b/src/components/common/ErrorState.tsx
@@ -29,12 +29,16 @@ export function ErrorState({ code, title, message, icon, actions, className }: E
className,
)}
>
-
+ {/* Hoisted into by React 19, so error routes aren't titled like the app. */}
+
{`${title} · JSONPrism`}
+
{code !== undefined && (
-
{code}
+
+ {code}
+
)}
{icon}
-
{title}
+
{title}
{message &&
{message}
}
{actions && (
{actions}
diff --git a/src/components/common/HumanCheck.tsx b/src/components/common/HumanCheck.tsx
new file mode 100644
index 0000000..500592b
--- /dev/null
+++ b/src/components/common/HumanCheck.tsx
@@ -0,0 +1,111 @@
+import { useCallback, useEffect, useRef, useState } from 'react';
+import { useTranslation } from 'react-i18next';
+import { Turnstile, type TurnstileInstance } from '@marsidev/react-turnstile';
+import { LoaderCircle, ShieldCheck, TriangleAlert } from 'lucide-react';
+import { createLogger } from '@/lib/logger';
+import { useTheme } from '@/lib/theme';
+import {
+ TURNSTILE_ACTION,
+ turnstileLanguage,
+ turnstileSiteKey,
+ verifyToken,
+} from '@/lib/turnstile';
+import { useConsentStore } from '@/stores/consentStore';
+
+const log = createLogger('turnstile');
+
+type CheckState = 'loading' | 'verifying' | 'verified' | 'rejected' | 'unavailable';
+
+/** If the widget neither solves nor errors in this time, offer the fallback. */
+const WIDGET_TIMEOUT_MS = 20_000;
+
+/**
+ * Cloudflare Turnstile check for the web build, verified server-side by the
+ * Worker (`/api/turnstile/verify`). A rejected token keeps the gate closed; an
+ * unreachable Cloudflare (offline, blocked script, 5xx) lets the user continue
+ * after a warning, because conversion itself never needs the network.
+ */
+export function HumanCheck() {
+ const { t, i18n } = useTranslation();
+ const { resolvedTheme } = useTheme();
+ const markHumanVerified = useConsentStore((s) => s.markHumanVerified);
+ const allowUnverified = useConsentStore((s) => s.allowUnverified);
+ const widgetRef = useRef
(undefined);
+ const [state, setState] = useState('loading');
+
+ useEffect(() => {
+ if (state !== 'loading') return;
+ const timer = setTimeout(() => setState('unavailable'), WIDGET_TIMEOUT_MS);
+ return () => clearTimeout(timer);
+ }, [state]);
+
+ const onSuccess = useCallback(
+ (token: string) => {
+ setState('verifying');
+ void verifyToken(token).then((result) => {
+ if (result.status === 'verified') {
+ setState('verified');
+ markHumanVerified(result.verifiedUntil);
+ } else if (result.status === 'rejected') {
+ log.warn('Turnstile token rejected:', result.codes.join(', ') || 'no codes');
+ setState('rejected');
+ widgetRef.current?.reset();
+ } else {
+ log.warn('Turnstile verification unavailable:', result.reason);
+ setState('unavailable');
+ }
+ });
+ },
+ [markHumanVerified],
+ );
+
+ const onWidgetError = useCallback((code?: string) => {
+ log.warn('Turnstile widget error:', code ?? 'unknown');
+ setState('unavailable');
+ }, []);
+
+ return (
+
+
+ {state === 'verified' ? (
+
+ ) : state === 'unavailable' || state === 'rejected' ? (
+
+ ) : (
+
+ )}
+ {t(`human_check.${state}`)}
+
+ {state !== 'verified' && state !== 'unavailable' && (
+
onWidgetError('script-load-failed') }}
+ onSuccess={onSuccess}
+ onError={onWidgetError}
+ onExpire={() => widgetRef.current?.reset()}
+ onUnsupported={() => onWidgetError('unsupported-browser')}
+ />
+ )}
+ {state === 'unavailable' && (
+
+
{t('human_check.unavailable_hint')}
+
+ {t('human_check.continue_anyway')}
+
+
+ )}
+
+ );
+}
diff --git a/src/components/common/LanguageSwitcher.tsx b/src/components/common/LanguageSwitcher.tsx
index 700eefe..f8f1a87 100644
--- a/src/components/common/LanguageSwitcher.tsx
+++ b/src/components/common/LanguageSwitcher.tsx
@@ -2,33 +2,57 @@ import { useTranslation } from 'react-i18next';
import { cn } from '@/lib/utils';
const LANGUAGES = [
- { code: 'en', label: 'EN' },
- { code: 'vi', label: 'VI' },
- { code: 'ja', label: 'JA' },
- { code: 'zh-CN', label: 'ZH' },
+ { code: 'en', label: 'EN', name: 'English' },
+ { code: 'vi', label: 'VI', name: 'Tiếng Việt' },
+ { code: 'ja', label: 'JA', name: '日本語' },
+ { code: 'zh-CN', label: 'ZH', name: '简体中文' },
] as const;
+/** Button group on ≥ sm screens; a compact native select on phones (fits 360px headers). */
export function LanguageSwitcher() {
- const { i18n } = useTranslation();
+ const { t, i18n } = useTranslation();
const current = i18n.resolvedLanguage ?? 'en';
+ const change = (code: string) => void i18n.changeLanguage(code);
return (
-
- {LANGUAGES.map((lang) => (
- void i18n.changeLanguage(lang.code)}
- className={cn(
- 'rounded px-2 py-0.5 text-xs font-medium transition',
- current === lang.code
- ? 'bg-muted text-foreground'
- : 'text-muted-foreground hover:text-foreground',
- )}
- >
- {lang.label}
-
- ))}
-
+ <>
+
+ {LANGUAGES.map((lang) => (
+ change(lang.code)}
+ className={cn(
+ 'focus-visible:ring-ring min-h-7 min-w-8 rounded px-1.5 font-mono text-xs font-medium transition outline-none focus-visible:ring-2',
+ current === lang.code
+ ? 'bg-muted text-foreground'
+ : 'text-muted-foreground hover:text-foreground',
+ )}
+ >
+ {lang.label}
+
+ ))}
+
+ change(e.target.value)}
+ aria-label={t('language.label')}
+ className="border-border/70 text-foreground h-9 rounded-md border bg-transparent px-1.5 font-mono text-xs sm:hidden"
+ >
+ {LANGUAGES.map((lang) => (
+
+ {lang.label} · {lang.name}
+
+ ))}
+
+ >
);
}
diff --git a/src/components/common/OfflineBanner.tsx b/src/components/common/OfflineBanner.tsx
index 9496229..d5fb372 100644
--- a/src/components/common/OfflineBanner.tsx
+++ b/src/components/common/OfflineBanner.tsx
@@ -4,19 +4,24 @@ import { useOnlineStatus } from '@/hooks/useOnlineStatus';
/**
* Non-blocking strip shown when the browser goes offline. Deliberately not a
- * route — going offline must never interrupt a conversion in progress.
+ * route — going offline must never interrupt a conversion in progress. Not
+ * shown in the desktop/Android apps, where offline is the normal state.
*/
export function OfflineBanner() {
+ if (__IS_TAURI_BUILD__) return null;
+ return ;
+}
+
+function WebOfflineBanner() {
const { t } = useTranslation();
const online = useOnlineStatus();
if (online) return null;
return (
-
+
{t('error_page.offline.message')}
);
diff --git a/src/components/common/SocialIcons.tsx b/src/components/common/SocialIcons.tsx
index 424c4e9..346115f 100644
--- a/src/components/common/SocialIcons.tsx
+++ b/src/components/common/SocialIcons.tsx
@@ -52,3 +52,11 @@ export function YoutubeIcon({ className }: IconProps) {
);
}
+
+export function GithubIcon({ className }: IconProps) {
+ return (
+
+
+
+ );
+}
diff --git a/src/components/common/ToolbarButton.tsx b/src/components/common/ToolbarButton.tsx
index 8f009c1..a9febd8 100644
--- a/src/components/common/ToolbarButton.tsx
+++ b/src/components/common/ToolbarButton.tsx
@@ -1,11 +1,28 @@
+import { cn } from '@/lib/utils';
+
interface ToolbarButtonProps {
onClick: () => void;
label: string;
icon: React.ReactNode;
disabled?: boolean;
+ /** Shown instead of `label` (visually) without changing the accessible name. */
+ visibleLabel?: string;
+ className?: string;
}
-export function ToolbarButton({ onClick, label, icon, disabled }: ToolbarButtonProps) {
+/**
+ * Compact icon + label button for panel headers. The `group` class lets icons
+ * animate on hover (`motion-safe:group-hover:…`); the label hides on narrow
+ * screens but stays the accessible name.
+ */
+export function ToolbarButton({
+ onClick,
+ label,
+ icon,
+ disabled,
+ visibleLabel,
+ className,
+}: ToolbarButtonProps) {
return (
{icon}
- {label}
+ {visibleLabel ?? label}
);
}
diff --git a/src/components/common/__tests__/ChunkErrorBoundary.test.tsx b/src/components/common/__tests__/ChunkErrorBoundary.test.tsx
new file mode 100644
index 0000000..5d40142
--- /dev/null
+++ b/src/components/common/__tests__/ChunkErrorBoundary.test.tsx
@@ -0,0 +1,112 @@
+import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest';
+import { render, screen } from '@testing-library/react';
+import userEvent from '@testing-library/user-event';
+import '@/i18n';
+import { ChunkErrorBoundary } from '../ChunkErrorBoundary';
+import { ChunkErrorFallback } from '../ChunkErrorFallback';
+import { ErrorBoundary } from '../ErrorBoundary';
+import { clearLogs, recentLogs } from '@/lib/logger';
+
+const CHUNK_ERROR = 'Failed to fetch dynamically imported module: /assets/About-1a2b3c.js';
+
+function Bomb({ message }: { message: string }): never {
+ throw new Error(message);
+}
+
+function stubReload() {
+ const reload = vi.fn();
+ vi.stubGlobal('location', { ...window.location, reload });
+ return reload;
+}
+
+beforeEach(() => {
+ // React and the logger both report caught render errors to the console.
+ vi.spyOn(console, 'error').mockImplementation(() => {});
+});
+
+afterEach(() => {
+ clearLogs();
+ vi.restoreAllMocks();
+ vi.unstubAllGlobals();
+});
+
+describe('ChunkErrorBoundary', () => {
+ it('renders its children when the chunk loads', () => {
+ render(
+
+ page
+ ,
+ );
+ expect(screen.getByText('page')).toBeInTheDocument();
+ });
+
+ it('shows the reload panel for a failed chunk and logs it', async () => {
+ const user = userEvent.setup();
+ const reload = stubReload();
+ render(
+
+
+ ,
+ );
+
+ expect(
+ screen.getByRole('heading', { name: "Couldn't load part of the app" }),
+ ).toBeInTheDocument();
+ expect(screen.getByText(/usually a new version was just deployed/)).toBeInTheDocument();
+ const entry = recentLogs().find((e) => e.scope === 'chunk');
+ expect(entry?.message).toContain('Chunk failed to load:');
+ expect(entry?.message).toContain('/assets/About-1a2b3c.js');
+
+ await user.click(screen.getByRole('button', { name: 'Reload' }));
+ expect(reload).toHaveBeenCalledTimes(1);
+ });
+
+ it('renders a custom fallback for chunk errors', () => {
+ render(
+ }>
+
+ ,
+ );
+ expect(screen.getByRole('textbox', { name: 'Plain editor' })).toBeInTheDocument();
+ expect(screen.queryByRole('button', { name: 'Reload' })).not.toBeInTheDocument();
+ });
+
+ it('passes any other error to the outer crash boundary', () => {
+ render(
+
+
+
+
+ ,
+ );
+ expect(
+ screen.getByRole('heading', { name: 'Something refracted unexpectedly.' }),
+ ).toBeInTheDocument();
+ expect(screen.getByText('Cannot read properties of undefined')).toBeInTheDocument();
+ expect(recentLogs().some((e) => e.scope === 'chunk')).toBe(false);
+ });
+
+ it('still logs a chunk failure when React supplies no component stack', () => {
+ new ChunkErrorBoundary({ children: null }).componentDidCatch(new Error(CHUNK_ERROR), {});
+ expect(recentLogs(1)[0]).toMatchObject({ scope: 'chunk', level: 'error' });
+ });
+
+ it('leaves logging of other errors to the crash boundary', () => {
+ const boundary = new ChunkErrorBoundary({ children: null });
+ boundary.componentDidCatch(new Error('Cannot read properties of undefined'), {
+ componentStack: '\n at Page',
+ });
+ expect(recentLogs()).toEqual([]);
+ });
+});
+
+describe('ChunkErrorFallback', () => {
+ it('explains the failure and offers a reload', async () => {
+ const user = userEvent.setup();
+ const reload = stubReload();
+ render( );
+ expect(document.title).toBe("Couldn't load part of the app · JSONPrism");
+ await user.click(screen.getByRole('button', { name: 'Reload' }));
+ expect(reload).toHaveBeenCalledTimes(1);
+ });
+});
diff --git a/src/components/common/__tests__/ConsentGate.test.tsx b/src/components/common/__tests__/ConsentGate.test.tsx
new file mode 100644
index 0000000..f20aecc
--- /dev/null
+++ b/src/components/common/__tests__/ConsentGate.test.tsx
@@ -0,0 +1,229 @@
+import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest';
+import { act, fireEvent, render, screen, within } from '@testing-library/react';
+import userEvent from '@testing-library/user-event';
+import { useEffect, useImperativeHandle, type Ref } from 'react';
+import '@/i18n';
+import { ConsentGate } from '../ConsentGate';
+import { CONSENT_VERSION } from '@/lib/consent-storage';
+import { ThemeProvider } from '@/lib/theme';
+import { verifyToken } from '@/lib/turnstile';
+import type * as TurnstileModule from '@/lib/turnstile';
+import { useConsentStore } from '@/stores/consentStore';
+
+const gate = vi.hoisted(() => ({ turnstile: false, reset: vi.fn() }));
+
+vi.mock('@/lib/turnstile', async (importOriginal) => ({
+ ...(await importOriginal()),
+ isTurnstileEnabled: () => gate.turnstile,
+ verifyToken: vi.fn(),
+}));
+
+interface FakeTurnstileProps {
+ ref?: Ref<{ reset(): void } | undefined>;
+ onSuccess?: (token: string) => void;
+ onError?: (code?: string) => void;
+}
+
+// Stand-in for Cloudflare's widget: buttons fire the callbacks the real one would.
+vi.mock('@marsidev/react-turnstile', () => ({
+ Turnstile({ ref, onSuccess, onError }: FakeTurnstileProps) {
+ useImperativeHandle(ref, () => ({ reset: gate.reset }));
+ return (
+
+ onSuccess?.('widget-token')}>
+ solve
+
+ onError?.('network')}>
+ widget error
+
+
+ );
+ },
+}));
+
+const appMounted = vi.fn();
+
+function FakeApp() {
+ useEffect(() => {
+ appMounted();
+ }, []);
+ return (
+
+
Converter
+ Convert now
+
+ );
+}
+
+function renderGate() {
+ const user = userEvent.setup();
+ render(
+
+
+
+
+ ,
+ );
+ return user;
+}
+
+const appWrapper = () => screen.getByTestId('app').parentElement;
+const agreeBox = () => screen.getByRole('checkbox', { name: /I have read and agree/ });
+const continueButton = () => screen.getByRole('button', { name: 'Continue' });
+
+beforeEach(() => {
+ gate.turnstile = false;
+ useConsentStore.setState({ accepted: false, humanVerified: true });
+ vi.spyOn(console, 'warn').mockImplementation(() => {});
+});
+
+afterEach(() => {
+ vi.restoreAllMocks();
+});
+
+describe('ConsentGate', () => {
+ it('shows the terms over the app, which renders behind it but stays unreachable', () => {
+ renderGate();
+ const dialog = screen.getByRole('dialog', { name: 'Before you start' });
+ expect(dialog).toHaveAccessibleDescription(/converts everything on your device/);
+ expect(within(dialog).getByText(/Cloudflare hosts the app/)).toBeInTheDocument();
+
+ expect(screen.getByText('Converter')).toBeInTheDocument();
+ expect(screen.queryByRole('button', { name: 'Convert now' })).not.toBeInTheDocument();
+ expect(appWrapper()).toHaveAttribute('inert');
+ expect(appWrapper()).toHaveAttribute('aria-hidden', 'true');
+ });
+
+ it('links each legal document as of this build', () => {
+ renderGate();
+ const dialog = screen.getByRole('dialog');
+ const docs = {
+ License: 'LICENSE',
+ 'Terms (EULA)': 'TERMS.md',
+ 'Privacy Policy': 'PRIVACY.md',
+ Disclaimer: 'DISCLAIMER.md',
+ };
+ for (const [name, file] of Object.entries(docs)) {
+ const link = within(dialog).getByRole('link', { name });
+ // Test builds have no commit hash, so links fall back to `main`.
+ expect(link).toHaveAttribute(
+ 'href',
+ `https://github.com/poli0981/jsonPrism/blob/main/${file}`,
+ );
+ expect(link).toHaveAttribute('target', '_blank');
+ expect(link).toHaveAttribute('rel', 'noopener noreferrer');
+ }
+ });
+
+ it('enables Continue only while the terms are accepted, then opens the app in place', async () => {
+ const user = renderGate();
+ expect(continueButton()).toBeDisabled();
+
+ await user.click(agreeBox());
+ expect(continueButton()).toBeEnabled();
+ await user.click(agreeBox());
+ expect(continueButton()).toBeDisabled();
+
+ await user.click(agreeBox());
+ await user.click(continueButton());
+
+ expect(screen.queryByRole('dialog')).not.toBeInTheDocument();
+ expect(useConsentStore.getState().accepted).toBe(true);
+ expect(JSON.parse(window.localStorage.getItem('jsonprism.consent') as string)).toMatchObject({
+ accepted: true,
+ version: CONSENT_VERSION,
+ });
+ expect(screen.getByRole('button', { name: 'Convert now' })).toBeInTheDocument();
+ expect(appWrapper()).not.toHaveAttribute('inert');
+ expect(appWrapper()).not.toHaveAttribute('aria-hidden');
+ expect(appWrapper()).toHaveClass('contents');
+ // One stable wrapper: passing the gate must not remount the app.
+ expect(appMounted).toHaveBeenCalledTimes(1);
+ });
+
+ it('cannot be dismissed with Escape or a click outside', async () => {
+ renderGate();
+ // Radix arms its outside-pointer listener on the next tick.
+ await act(() => new Promise((resolve) => setTimeout(resolve, 0)));
+
+ fireEvent.keyDown(document.body, { key: 'Escape' });
+ // A modal Radix dialog dismisses on the click that completes an outside press.
+ fireEvent.pointerDown(document.body);
+ fireEvent.click(document.body);
+ fireEvent.focusIn(document.body);
+
+ expect(screen.getByRole('dialog', { name: 'Before you start' })).toBeInTheDocument();
+ expect(useConsentStore.getState().accepted).toBe(false);
+ });
+
+ it('requires a passed human check before Continue when Turnstile is on', async () => {
+ gate.turnstile = true;
+ useConsentStore.setState({ accepted: false, humanVerified: false });
+ vi.mocked(verifyToken).mockResolvedValue({
+ status: 'verified',
+ verifiedUntil: Date.now() + 60_000,
+ });
+ const user = renderGate();
+
+ await user.click(agreeBox());
+ expect(continueButton()).toBeDisabled();
+
+ await user.click(screen.getByRole('button', { name: 'solve' }));
+ // The passed check stays visible (and announced) instead of vanishing.
+ expect(await screen.findByText('Verified — thanks!')).toBeInTheDocument();
+ expect(continueButton()).toBeEnabled();
+
+ await user.click(continueButton());
+ expect(screen.queryByRole('dialog')).not.toBeInTheDocument();
+ expect(useConsentStore.getState()).toMatchObject({ accepted: true, humanVerified: true });
+ });
+
+ it('lets the user continue without the check when it cannot run', async () => {
+ gate.turnstile = true;
+ useConsentStore.setState({ accepted: false, humanVerified: false });
+ const user = renderGate();
+
+ await user.click(screen.getByRole('button', { name: 'widget error' }));
+ await user.click(screen.getByRole('button', { name: 'Continue without the check' }));
+ await user.click(agreeBox());
+ await user.click(continueButton());
+
+ expect(screen.queryByRole('dialog')).not.toBeInTheDocument();
+ expect(window.localStorage.getItem('jsonprism.humanCheck')).toBeNull();
+ });
+
+ it('skips the human check when a recent one is remembered', () => {
+ gate.turnstile = true;
+ renderGate();
+ expect(screen.getByRole('dialog', { name: 'Before you start' })).toBeInTheDocument();
+ expect(screen.queryByTestId('turnstile')).not.toBeInTheDocument();
+ });
+
+ it('only re-runs the human check for returning visitors', async () => {
+ gate.turnstile = true;
+ useConsentStore.setState({ accepted: true, humanVerified: false });
+ vi.mocked(verifyToken).mockResolvedValue({
+ status: 'verified',
+ verifiedUntil: Date.now() + 60_000,
+ });
+ const user = renderGate();
+
+ const dialog = screen.getByRole('dialog', { name: 'Quick check' });
+ expect(dialog).toHaveAccessibleDescription(/about once a week/);
+ expect(within(dialog).queryByRole('checkbox')).not.toBeInTheDocument();
+ expect(within(dialog).queryByRole('button', { name: 'Continue' })).not.toBeInTheDocument();
+
+ await user.click(within(dialog).getByRole('button', { name: 'solve' }));
+ expect(await screen.findByRole('button', { name: 'Convert now' })).toBeInTheDocument();
+ expect(screen.queryByRole('dialog')).not.toBeInTheDocument();
+ });
+
+ it('stays out of the way once consent and the check are in place', () => {
+ useConsentStore.setState({ accepted: true, humanVerified: true });
+ renderGate();
+ expect(screen.queryByRole('dialog')).not.toBeInTheDocument();
+ expect(screen.getByRole('button', { name: 'Convert now' })).toBeInTheDocument();
+ expect(appWrapper()).not.toHaveAttribute('inert');
+ expect(appWrapper()).toHaveClass('contents');
+ });
+});
diff --git a/src/components/common/__tests__/ErrorBoundary.test.tsx b/src/components/common/__tests__/ErrorBoundary.test.tsx
new file mode 100644
index 0000000..21bd5ad
--- /dev/null
+++ b/src/components/common/__tests__/ErrorBoundary.test.tsx
@@ -0,0 +1,86 @@
+import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest';
+import { render, screen } from '@testing-library/react';
+import userEvent from '@testing-library/user-event';
+import { ErrorBoundary } from '../ErrorBoundary';
+import { clearLogs, recentLogs } from '@/lib/logger';
+
+function Bomb({ error }: { error: unknown }): never {
+ throw error;
+}
+
+beforeEach(() => {
+ // React and the logger both report caught render errors to the console.
+ vi.spyOn(console, 'error').mockImplementation(() => {});
+});
+
+afterEach(() => {
+ clearLogs();
+ vi.restoreAllMocks();
+ vi.unstubAllGlobals();
+});
+
+describe('ErrorBoundary', () => {
+ it('renders its children when nothing throws', () => {
+ render(
+
+ all good
+ ,
+ );
+ expect(screen.getByText('all good')).toBeInTheDocument();
+ });
+
+ it('replaces a crashed tree with the crash screen and logs the error', () => {
+ render(
+
+
+ ,
+ );
+ expect(
+ screen.getByRole('heading', { name: 'Something refracted unexpectedly.' }),
+ ).toBeInTheDocument();
+ expect(screen.getByText('kaboom')).toBeInTheDocument();
+ expect(document.title).toBe('Something refracted unexpectedly. · JSONPrism');
+
+ const entry = recentLogs().find((e) => e.scope === 'error-boundary');
+ expect(entry).toMatchObject({ level: 'error' });
+ expect(entry?.message).toContain('kaboom');
+ });
+
+ it('shows a generic message when something other than an Error is thrown', () => {
+ render(
+
+
+ ,
+ );
+ expect(screen.getByText('Unknown error.')).toBeInTheDocument();
+ });
+
+ it('renders a custom fallback instead of the crash screen', () => {
+ render(
+ custom fallback}>
+
+ ,
+ );
+ expect(screen.getByText('custom fallback')).toBeInTheDocument();
+ expect(screen.queryByRole('button', { name: 'Reload' })).not.toBeInTheDocument();
+ });
+
+ it('reloads the page from the crash screen', async () => {
+ const user = userEvent.setup();
+ const reload = vi.fn();
+ vi.stubGlobal('location', { ...window.location, reload });
+ render(
+
+
+ ,
+ );
+ await user.click(screen.getByRole('button', { name: 'Reload' }));
+ expect(reload).toHaveBeenCalledTimes(1);
+ });
+
+ it('still logs when React supplies no component stack', () => {
+ new ErrorBoundary({ children: null }).componentDidCatch(new Error('bare'), {});
+ expect(recentLogs(1)[0]).toMatchObject({ scope: 'error-boundary', level: 'error' });
+ expect(recentLogs(1)[0]?.message).toContain('bare');
+ });
+});
diff --git a/src/components/common/__tests__/HumanCheck.test.tsx b/src/components/common/__tests__/HumanCheck.test.tsx
new file mode 100644
index 0000000..7c6ca96
--- /dev/null
+++ b/src/components/common/__tests__/HumanCheck.test.tsx
@@ -0,0 +1,244 @@
+import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest';
+import { act, fireEvent, render, screen } from '@testing-library/react';
+import userEvent from '@testing-library/user-event';
+import { useImperativeHandle, type Ref } from 'react';
+import '@/i18n';
+import { HumanCheck } from '../HumanCheck';
+import { clearLogs, recentLogs } from '@/lib/logger';
+import { ThemeProvider } from '@/lib/theme';
+import { TEST_SITE_KEY, verifyToken, type VerifyResult } from '@/lib/turnstile';
+import type * as TurnstileModule from '@/lib/turnstile';
+import { useConsentStore } from '@/stores/consentStore';
+
+const widget = vi.hoisted(() => ({ reset: vi.fn() }));
+
+vi.mock('@/lib/turnstile', async (importOriginal) => ({
+ ...(await importOriginal()),
+ verifyToken: vi.fn(),
+}));
+
+interface FakeTurnstileProps {
+ ref?: Ref<{ reset(): void } | undefined>;
+ siteKey: string;
+ options?: { action?: string; theme?: string; language?: string };
+ scriptOptions?: { onError?: () => void };
+ onSuccess?: (token: string) => void;
+ onError?: (code?: string) => void;
+ onExpire?: () => void;
+ onUnsupported?: () => void;
+}
+
+// Stand-in for Cloudflare's widget: each button fires a callback the real one would.
+vi.mock('@marsidev/react-turnstile', () => ({
+ Turnstile({
+ ref,
+ siteKey,
+ options,
+ scriptOptions,
+ onSuccess,
+ onError,
+ onExpire,
+ onUnsupported,
+ }: FakeTurnstileProps) {
+ useImperativeHandle(ref, () => widget);
+ return (
+
+ onSuccess?.('widget-token')}>
+ solve
+
+ onError?.('110200')}>
+ widget error
+
+ onError?.()}>
+ widget error without code
+
+ onUnsupported?.()}>
+ unsupported browser
+
+ scriptOptions?.onError?.()}>
+ script blocked
+
+ onExpire?.()}>
+ expire
+
+
+ );
+ },
+}));
+
+const LOADING = "Checking that you're human…";
+const UNAVAILABLE = 'The human check is unavailable right now.';
+
+function deferred() {
+ let resolve: (value: T) => void = () => {};
+ const promise = new Promise((r) => {
+ resolve = r;
+ });
+ return { promise, resolve };
+}
+
+function renderCheck() {
+ return render(
+
+
+ ,
+ );
+}
+
+const status = () => screen.getByRole('status');
+const lastLog = () => recentLogs(1)[0]?.message;
+
+beforeEach(() => {
+ useConsentStore.setState({ accepted: false, humanVerified: false });
+ vi.spyOn(console, 'warn').mockImplementation(() => {});
+});
+
+afterEach(() => {
+ clearLogs();
+ vi.restoreAllMocks();
+});
+
+describe('HumanCheck', () => {
+ it('renders the widget for the gate action in the current theme and language', () => {
+ renderCheck();
+ expect(status()).toHaveTextContent(LOADING);
+ const turnstile = screen.getByTestId('turnstile');
+ // jsdom runs on localhost, where Cloudflare's always-pass test key is used.
+ expect(turnstile).toHaveAttribute('data-sitekey', TEST_SITE_KEY);
+ expect(turnstile).toHaveAttribute('data-action', 'gate');
+ expect(turnstile).toHaveAttribute('data-theme', 'light');
+ expect(turnstile).toHaveAttribute('data-language', 'en');
+ });
+
+ it('verifies a solved challenge server-side, then opens and remembers the gate', async () => {
+ const user = userEvent.setup();
+ const pending = deferred();
+ vi.mocked(verifyToken).mockReturnValue(pending.promise);
+ renderCheck();
+
+ await user.click(screen.getByRole('button', { name: 'solve' }));
+ expect(verifyToken).toHaveBeenCalledWith('widget-token');
+ expect(status()).toHaveTextContent('Verifying…');
+ expect(useConsentStore.getState().humanVerified).toBe(false);
+
+ const verifiedUntil = Date.now() + 60_000;
+ await act(async () => {
+ pending.resolve({ status: 'verified', verifiedUntil });
+ await pending.promise;
+ });
+ expect(status()).toHaveTextContent('Verified — thanks!');
+ expect(screen.queryByTestId('turnstile')).not.toBeInTheDocument();
+ expect(useConsentStore.getState().humanVerified).toBe(true);
+ expect(JSON.parse(window.localStorage.getItem('jsonprism.humanCheck') as string)).toEqual({
+ verifiedUntil,
+ });
+ });
+
+ it.each([
+ [
+ ['invalid-input-response', 'timeout-or-duplicate'],
+ 'invalid-input-response, timeout-or-duplicate',
+ ],
+ [[], 'no codes'],
+ ])(
+ 'keeps the gate closed and resets the widget on a rejected token (%j)',
+ async (codes, logged) => {
+ const user = userEvent.setup();
+ vi.mocked(verifyToken).mockResolvedValue({ status: 'rejected', codes });
+ renderCheck();
+
+ await user.click(screen.getByRole('button', { name: 'solve' }));
+ expect(
+ await screen.findByText('Verification failed. Please try the check again.'),
+ ).toBeInTheDocument();
+ expect(widget.reset).toHaveBeenCalledTimes(1);
+ expect(screen.getByTestId('turnstile')).toBeInTheDocument();
+ expect(screen.queryByRole('button', { name: /without the check/ })).not.toBeInTheDocument();
+ expect(useConsentStore.getState().humanVerified).toBe(false);
+ expect(lastLog()).toBe(`Turnstile token rejected: ${logged}`);
+ },
+ );
+
+ it('offers to continue without the check when verification is unreachable', async () => {
+ const user = userEvent.setup();
+ vi.mocked(verifyToken).mockResolvedValue({ status: 'unavailable', reason: 'http-503' });
+ renderCheck();
+
+ await user.click(screen.getByRole('button', { name: 'solve' }));
+ expect(await screen.findByText(UNAVAILABLE)).toBeInTheDocument();
+ expect(screen.getByText(/JSONPrism converts on your device/)).toBeInTheDocument();
+ expect(screen.queryByTestId('turnstile')).not.toBeInTheDocument();
+ expect(lastLog()).toBe('Turnstile verification unavailable: http-503');
+
+ await user.click(screen.getByRole('button', { name: 'Continue without the check' }));
+ expect(useConsentStore.getState().humanVerified).toBe(true);
+ // Not persisted: the next visit tries the check again.
+ expect(window.localStorage.getItem('jsonprism.humanCheck')).toBeNull();
+ });
+
+ it.each([
+ ['widget error', '110200'],
+ ['widget error without code', 'unknown'],
+ ['unsupported browser', 'unsupported-browser'],
+ ['script blocked', 'script-load-failed'],
+ ])('treats "%s" as the check being unavailable', async (button, code) => {
+ const user = userEvent.setup();
+ renderCheck();
+
+ await user.click(screen.getByRole('button', { name: button }));
+ expect(status()).toHaveTextContent(UNAVAILABLE);
+ expect(screen.getByRole('button', { name: 'Continue without the check' })).toBeInTheDocument();
+ expect(lastLog()).toBe(`Turnstile widget error: ${code}`);
+ expect(verifyToken).not.toHaveBeenCalled();
+ });
+
+ it('resets an expired token instead of failing the check', async () => {
+ const user = userEvent.setup();
+ renderCheck();
+
+ await user.click(screen.getByRole('button', { name: 'expire' }));
+ expect(widget.reset).toHaveBeenCalledTimes(1);
+ expect(status()).toHaveTextContent(LOADING);
+ });
+
+ describe('widget timeout', () => {
+ beforeEach(() => {
+ vi.useFakeTimers();
+ });
+
+ afterEach(() => {
+ vi.useRealTimers();
+ });
+
+ it('offers the fallback after 20 s without any widget response', () => {
+ renderCheck();
+ act(() => {
+ vi.advanceTimersByTime(19_999);
+ });
+ expect(status()).toHaveTextContent(LOADING);
+
+ act(() => {
+ vi.advanceTimersByTime(1);
+ });
+ expect(status()).toHaveTextContent(UNAVAILABLE);
+ expect(screen.queryByTestId('turnstile')).not.toBeInTheDocument();
+ });
+
+ it('does not time out while a token is being verified', () => {
+ vi.mocked(verifyToken).mockReturnValue(new Promise(() => {}));
+ renderCheck();
+
+ fireEvent.click(screen.getByRole('button', { name: 'solve' }));
+ act(() => {
+ vi.advanceTimersByTime(30_000);
+ });
+ expect(status()).toHaveTextContent('Verifying…');
+ });
+ });
+});
diff --git a/src/components/common/__tests__/LanguageSwitcher.test.tsx b/src/components/common/__tests__/LanguageSwitcher.test.tsx
new file mode 100644
index 0000000..65e65a0
--- /dev/null
+++ b/src/components/common/__tests__/LanguageSwitcher.test.tsx
@@ -0,0 +1,73 @@
+import { afterEach, describe, expect, it } from 'vitest';
+import { act, render, screen, within } from '@testing-library/react';
+import userEvent from '@testing-library/user-event';
+import { createInstance } from 'i18next';
+import { I18nextProvider } from 'react-i18next';
+import i18n from 'i18next';
+import '@/i18n';
+import { LanguageSwitcher } from '../LanguageSwitcher';
+
+afterEach(async () => {
+ await act(() => i18n.changeLanguage('en'));
+});
+
+describe('LanguageSwitcher', () => {
+ it('offers every UI language and marks the current one', () => {
+ render( );
+ const group = screen.getByRole('group', { name: 'Language' });
+ const buttons = within(group).getAllByRole('button');
+ expect(buttons.map((b) => b.textContent)).toEqual(['EN', 'VI', 'JA', 'ZH']);
+ expect(within(group).getByRole('button', { name: 'English' })).toHaveAttribute(
+ 'aria-pressed',
+ 'true',
+ );
+ expect(within(group).getByRole('button', { name: '日本語' })).toHaveAttribute('lang', 'ja');
+ expect(screen.getByRole('combobox', { name: 'Language' })).toHaveValue('en');
+ });
+
+ it('switches the UI language and from the button group', async () => {
+ const user = userEvent.setup();
+ render( );
+
+ await user.click(screen.getByRole('button', { name: 'Tiếng Việt' }));
+ expect(i18n.resolvedLanguage).toBe('vi');
+ expect(document.documentElement.lang).toBe('vi');
+ expect(screen.getByRole('button', { name: 'Tiếng Việt' })).toHaveAttribute(
+ 'aria-pressed',
+ 'true',
+ );
+ expect(screen.getByRole('button', { name: 'English' })).toHaveAttribute(
+ 'aria-pressed',
+ 'false',
+ );
+ expect(window.localStorage.getItem('jsonprism.lang')).toBe('vi');
+ });
+
+ it('switches the UI language from the compact select on phones', async () => {
+ const user = userEvent.setup();
+ render( );
+
+ await user.selectOptions(screen.getByRole('combobox'), 'zh-CN');
+ expect(i18n.resolvedLanguage).toBe('zh-CN');
+ expect(document.documentElement.lang).toBe('zh-CN');
+ expect(screen.getByRole('combobox')).toHaveValue('zh-CN');
+ expect(screen.getByRole('button', { name: '简体中文' })).toHaveAttribute(
+ 'aria-pressed',
+ 'true',
+ );
+ });
+
+ it('treats the UI as English until a language has resolved', async () => {
+ const unresolved = createInstance();
+ await unresolved.init({ resources: {} });
+ expect(unresolved.resolvedLanguage).toBeUndefined();
+
+ render(
+
+
+ ,
+ );
+ expect(screen.getByRole('combobox')).toHaveValue('en');
+ expect(screen.getByRole('button', { name: 'English' })).toHaveAttribute('aria-pressed', 'true');
+ });
+});
diff --git a/src/components/common/__tests__/OfflineBanner.test.tsx b/src/components/common/__tests__/OfflineBanner.test.tsx
new file mode 100644
index 0000000..bdb751d
--- /dev/null
+++ b/src/components/common/__tests__/OfflineBanner.test.tsx
@@ -0,0 +1,38 @@
+import { afterEach, describe, expect, it } from 'vitest';
+import { act, render, screen } from '@testing-library/react';
+import '@/i18n';
+import { OfflineBanner } from '../OfflineBanner';
+
+function setNavigatorOnline(value: boolean) {
+ Object.defineProperty(navigator, 'onLine', { configurable: true, value });
+}
+
+afterEach(() => {
+ setNavigatorOnline(true);
+});
+
+describe('OfflineBanner', () => {
+ it('renders nothing while online', () => {
+ setNavigatorOnline(true);
+ const { container } = render( );
+ expect(container).toBeEmptyDOMElement();
+ });
+
+ it('announces offline mode without blocking, and clears on reconnect', () => {
+ setNavigatorOnline(false);
+ render( );
+ expect(screen.getByRole('status')).toHaveTextContent(
+ "You're offline — JSONPrism keeps working; conversion never needs the network.",
+ );
+
+ act(() => {
+ window.dispatchEvent(new Event('online'));
+ });
+ expect(screen.queryByRole('status')).not.toBeInTheDocument();
+
+ act(() => {
+ window.dispatchEvent(new Event('offline'));
+ });
+ expect(screen.getByRole('status')).toBeInTheDocument();
+ });
+});
diff --git a/src/components/common/__tests__/RouteFallback.test.tsx b/src/components/common/__tests__/RouteFallback.test.tsx
new file mode 100644
index 0000000..46c0776
--- /dev/null
+++ b/src/components/common/__tests__/RouteFallback.test.tsx
@@ -0,0 +1,12 @@
+import { describe, expect, it } from 'vitest';
+import { render, screen } from '@testing-library/react';
+import '@/i18n';
+import { RouteFallback } from '../RouteFallback';
+
+describe('RouteFallback', () => {
+ it('shows a translated loading indicator while a route chunk streams in', () => {
+ const { container } = render( );
+ expect(screen.getByText('Loading…')).toBeInTheDocument();
+ expect(container.querySelector('svg')).toHaveClass('animate-spin');
+ });
+});
diff --git a/src/components/common/__tests__/ScrollToTop.test.tsx b/src/components/common/__tests__/ScrollToTop.test.tsx
new file mode 100644
index 0000000..444913d
--- /dev/null
+++ b/src/components/common/__tests__/ScrollToTop.test.tsx
@@ -0,0 +1,118 @@
+import { afterEach, describe, expect, it, vi } from 'vitest';
+import { fireEvent, render, screen } from '@testing-library/react';
+import userEvent from '@testing-library/user-event';
+import { useLayoutEffect, useRef } from 'react';
+import '@/i18n';
+import { ScrollToTop } from '../ScrollToTop';
+
+/** jsdom ships without matchMedia; only the reduced-motion query matters here. */
+function stubReducedMotion(reduce: boolean) {
+ const matchMedia = vi.fn((query: string) => ({
+ matches: reduce && query === '(prefers-reduced-motion: reduce)',
+ media: query,
+ }));
+ vi.stubGlobal('matchMedia', matchMedia);
+ return matchMedia;
+}
+
+function ScrollArea({
+ threshold,
+ initialScroll = 0,
+}: {
+ threshold?: number;
+ initialScroll?: number;
+}) {
+ const ref = useRef(null);
+ // Runs before ScrollToTop's passive effect reads the initial position.
+ useLayoutEffect(() => {
+ if (ref.current) ref.current.scrollTop = initialScroll;
+ }, [initialScroll]);
+ return (
+
+ );
+}
+
+function scrollTo(el: HTMLElement, top: number) {
+ el.scrollTop = top;
+ fireEvent.scroll(el);
+}
+
+// aria-hidden elements have no accessible name, so find the hidden button by its tooltip.
+const hiddenButton = () => screen.getByTitle('Back to top');
+
+afterEach(() => {
+ vi.unstubAllGlobals();
+ vi.restoreAllMocks();
+});
+
+describe('ScrollToTop', () => {
+ it('stays hidden and out of the tab order near the top', () => {
+ render( );
+ expect(screen.queryByRole('button', { name: 'Back to top' })).not.toBeInTheDocument();
+ expect(hiddenButton()).toHaveAttribute('aria-hidden', 'true');
+ expect(hiddenButton()).toHaveAttribute('tabindex', '-1');
+ expect(hiddenButton()).toHaveAttribute('aria-label', 'Back to top');
+ });
+
+ it('appears after scrolling past the default threshold and hides again near the top', () => {
+ render( );
+ const scroller = screen.getByTestId('scroller');
+
+ scrollTo(scroller, 320);
+ expect(screen.queryByRole('button', { name: 'Back to top' })).not.toBeInTheDocument();
+
+ scrollTo(scroller, 321);
+ const button = screen.getByRole('button', { name: 'Back to top' });
+ expect(button).toHaveAttribute('tabindex', '0');
+ expect(button).toHaveAttribute('aria-hidden', 'false');
+
+ scrollTo(scroller, 10);
+ expect(screen.queryByRole('button', { name: 'Back to top' })).not.toBeInTheDocument();
+ });
+
+ it('honours a custom threshold', () => {
+ render( );
+ scrollTo(screen.getByTestId('scroller'), 60);
+ expect(screen.getByRole('button', { name: 'Back to top' })).toBeInTheDocument();
+ });
+
+ it('checks the position on mount', () => {
+ render( );
+ expect(screen.getByRole('button', { name: 'Back to top' })).toBeInTheDocument();
+ });
+
+ it.each([
+ [false, 'smooth'],
+ [true, 'auto'],
+ ])('scrolls back to the top (reduced motion: %s → %s)', async (reduce, behavior) => {
+ const user = userEvent.setup();
+ stubReducedMotion(reduce);
+ render( );
+ const scroller = screen.getByTestId('scroller');
+ const scroll = vi.fn();
+ Object.defineProperty(scroller, 'scrollTo', { configurable: true, value: scroll });
+
+ await user.click(screen.getByRole('button', { name: 'Back to top' }));
+ expect(scroll).toHaveBeenCalledWith({ top: 0, behavior });
+ });
+
+ it('does nothing without a scroll container', async () => {
+ const user = userEvent.setup();
+ const matchMedia = stubReducedMotion(false);
+ render( );
+ await user.click(hiddenButton());
+ expect(matchMedia).not.toHaveBeenCalled();
+ expect(hiddenButton()).toHaveAttribute('aria-hidden', 'true');
+ });
+
+ it('stops listening to the container when unmounted', () => {
+ const { unmount } = render( );
+ const scroller = screen.getByTestId('scroller');
+ const remove = vi.spyOn(scroller, 'removeEventListener');
+ unmount();
+ expect(remove).toHaveBeenCalledWith('scroll', expect.any(Function));
+ });
+});
diff --git a/src/components/common/__tests__/SocialIcons.test.tsx b/src/components/common/__tests__/SocialIcons.test.tsx
new file mode 100644
index 0000000..fbc8754
--- /dev/null
+++ b/src/components/common/__tests__/SocialIcons.test.tsx
@@ -0,0 +1,36 @@
+import { describe, expect, it } from 'vitest';
+import { render } from '@testing-library/react';
+import {
+ BlueskyIcon,
+ DiscordIcon,
+ GithubIcon,
+ MastodonIcon,
+ TelegramIcon,
+ XIcon,
+ YoutubeIcon,
+} from '../SocialIcons';
+
+const ICONS = {
+ BlueskyIcon,
+ DiscordIcon,
+ GithubIcon,
+ MastodonIcon,
+ TelegramIcon,
+ XIcon,
+ YoutubeIcon,
+};
+
+describe('SocialIcons', () => {
+ it.each(Object.entries(ICONS))(
+ '%s is a decorative glyph that inherits size and color',
+ (_name, Icon) => {
+ const { container } = render( );
+ const svg = container.querySelector('svg');
+ expect(svg).toHaveAttribute('aria-hidden', 'true');
+ expect(svg).toHaveAttribute('viewBox', '0 0 24 24');
+ expect(svg).toHaveAttribute('fill', 'currentColor');
+ expect(svg).toHaveClass('h-4', 'w-4');
+ expect(svg?.querySelector('path')?.getAttribute('d')).toMatch(/^M/);
+ },
+ );
+});
diff --git a/src/components/common/__tests__/ToolbarButton.test.tsx b/src/components/common/__tests__/ToolbarButton.test.tsx
new file mode 100644
index 0000000..49ad224
--- /dev/null
+++ b/src/components/common/__tests__/ToolbarButton.test.tsx
@@ -0,0 +1,42 @@
+import { describe, expect, it, vi } from 'vitest';
+import { render, screen } from '@testing-library/react';
+import userEvent from '@testing-library/user-event';
+import { ToolbarButton } from '../ToolbarButton';
+
+const icon = ;
+
+describe('ToolbarButton', () => {
+ it('keeps the label as accessible name and tooltip when a shorter visible label is shown', () => {
+ render(
+ {}} label="Download output" visibleLabel="Save" icon={icon} />,
+ );
+ const button = screen.getByRole('button', { name: 'Download output' });
+ expect(button).toHaveAttribute('title', 'Download output');
+ expect(button).toHaveAttribute('type', 'button');
+ expect(button).toHaveTextContent('Save');
+ expect(screen.getByTestId('icon')).toBeInTheDocument();
+ });
+
+ it('shows the label itself when no visible label is given', () => {
+ render( {}} label="Copy" icon={icon} />);
+ expect(screen.getByRole('button', { name: 'Copy' })).toHaveTextContent('Copy');
+ });
+
+ it('calls onClick unless disabled', async () => {
+ const user = userEvent.setup();
+ const onClick = vi.fn();
+ const { rerender } = render( );
+ await user.click(screen.getByRole('button', { name: 'Clear' }));
+ expect(onClick).toHaveBeenCalledTimes(1);
+
+ rerender( );
+ expect(screen.getByRole('button', { name: 'Clear' })).toBeDisabled();
+ await user.click(screen.getByRole('button', { name: 'Clear' }));
+ expect(onClick).toHaveBeenCalledTimes(1);
+ });
+
+ it('merges extra classes with its own', () => {
+ render( {}} label="Options" icon={icon} className="ml-auto" />);
+ expect(screen.getByRole('button', { name: 'Options' })).toHaveClass('ml-auto', 'inline-flex');
+ });
+});
diff --git a/src/components/converter/BatchItemRow.tsx b/src/components/converter/BatchItemRow.tsx
index 8111e11..ae18313 100644
--- a/src/components/converter/BatchItemRow.tsx
+++ b/src/components/converter/BatchItemRow.tsx
@@ -1,114 +1,108 @@
+import { memo } from 'react';
import { useTranslation } from 'react-i18next';
-import { Loader2, Trash2 } from 'lucide-react';
+import { LoaderCircle, Trash2 } from 'lucide-react';
import { cn } from '@/lib/utils';
import { formatBytes } from '@/lib/format-bytes';
-import type { BatchItem } from '@/stores/batchStore';
+import { useBatchStore, type BatchItemStatus } from '@/stores/batchStore';
interface BatchItemRowProps {
- item: BatchItem;
+ id: string;
outputExt: string;
- onRemove: () => void;
+ onRemove: (id: string) => void;
disabled: boolean;
}
-export function BatchItemRow({ item, outputExt, onRemove, disabled }: BatchItemRowProps) {
+/** One queue row. Subscribes to its own item so updates re-render only this row. */
+export const BatchItemRow = memo(function BatchItemRow({
+ id,
+ outputExt,
+ onRemove,
+ disabled,
+}: BatchItemRowProps) {
const { t } = useTranslation();
- const Icon = statusIcon(item.status);
- const tone = statusTone(item.status);
+ const item = useBatchStore((s) => s.items[id]);
+ if (!item) return null;
+
+ const error = item.errorCode ? t(`batch.error.${item.errorCode}`) : item.error;
return (
-
+
+ {t(`batch.stat.${item.status}`)}
{item.filename}
- → .{outputExt}
+ → .{outputExt}
{formatBytes(item.size)}
{item.outputSize !== undefined && (
<>
- ·
-
- {t('batch.row.out')}: {formatBytes(item.outputSize)}
-
+ ·
+ {t('batch.row.out_value', { size: formatBytes(item.outputSize) })}
>
)}
- {item.error && (
-
{item.error}
+ {error && (
+
{error}
)}
onRemove(id)}
disabled={disabled}
- aria-label={t('batch.row.remove')}
- className="text-muted-foreground hover:bg-muted hover:text-foreground rounded p-1 transition disabled:cursor-not-allowed disabled:opacity-40"
+ aria-label={t('batch.row.remove', { name: item.filename })}
+ className="text-muted-foreground hover:bg-muted hover:text-foreground inline-flex h-7 w-7 shrink-0 items-center justify-center rounded transition disabled:cursor-not-allowed disabled:opacity-40"
>
-
+
);
-}
+});
-function statusIcon(status: BatchItem['status']) {
+function StatusIcon({ status }: { status: BatchItemStatus }) {
+ const base = 'mt-0.5 h-4 w-4 shrink-0';
switch (status) {
- case 'queued':
- return CircleIcon;
case 'processing':
- return ProcessingIcon;
+ return (
+
+ );
case 'done':
- return CheckIcon;
+ return (
+
+
+
+ );
case 'error':
- return ErrorIcon;
+ return (
+
+
+
+ );
+ case 'queued':
+ return (
+
+
+
+ );
}
}
-
-function statusTone(status: BatchItem['status']): string {
- switch (status) {
- case 'done':
- return 'text-primary';
- case 'error':
- return 'text-destructive';
- case 'processing':
- return 'text-foreground';
- case 'queued':
- default:
- return 'text-muted-foreground/60';
- }
-}
-
-function CircleIcon({ className }: { className?: string }) {
- return (
-
-
-
- );
-}
-
-function ProcessingIcon({ className }: { className?: string }) {
- return ;
-}
-
-function CheckIcon({ className }: { className?: string }) {
- return (
-
-
-
- );
-}
-
-function ErrorIcon({ className }: { className?: string }) {
- return (
-
-
-
- );
-}
diff --git a/src/components/converter/BatchPanel.tsx b/src/components/converter/BatchPanel.tsx
index 4e902a1..2ebd4b7 100644
--- a/src/components/converter/BatchPanel.tsx
+++ b/src/components/converter/BatchPanel.tsx
@@ -1,7 +1,8 @@
import { useCallback, useEffect, useRef } from 'react';
import { useTranslation } from 'react-i18next';
-import { useDropzone } from 'react-dropzone';
-import { Download, FileStack, FolderOpen, Play, StopCircle, Trash2 } from 'lucide-react';
+import { useDropzone, type FileRejection } from 'react-dropzone';
+import { useShallow } from 'zustand/react/shallow';
+import { CircleStop, Download, FileStack, FolderOpen, Play, Trash2 } from 'lucide-react';
import {
Sheet,
SheetContent,
@@ -11,14 +12,15 @@ import {
SheetTrigger,
} from '@/components/ui/sheet';
import { toast } from '@/components/ui/sonner';
+import { extensionsFor } from '@/converters/registry';
+import type { Direction, FormatId } from '@/converters/types';
import { useBatchActions } from '@/hooks/useBatchActions';
import { useFileAccept } from '@/hooks/useFileAccept';
+import { errorMessage } from '@/lib/errors';
import { filterByExtension } from '@/lib/file-filter';
-import { isTauri, nativeOpenFiles, fileFromNativePath } from '@/lib/tauri';
+import { fileFromNativePath, isTauri, nativeOpenFiles } from '@/lib/tauri';
import { cn } from '@/lib/utils';
import { useBatchStore, BATCH_MAX_FILES } from '@/stores/batchStore';
-import type { FormatId } from '@/converters/types';
-import type { Direction } from './DirectionToggle';
import { BatchItemRow } from './BatchItemRow';
import { BatchSummaryChips } from './BatchSummaryChips';
@@ -32,20 +34,30 @@ interface BatchPanelProps {
export function BatchPanel({ format, direction, options, open, onOpenChange }: BatchPanelProps) {
const { t } = useTranslation();
- const items = useBatchStore((s) => s.items);
+ // Counts and order only — each row subscribes to its own item, so a status
+ // change re-renders one row instead of the whole 500-row list.
const itemOrder = useBatchStore((s) => s.itemOrder);
+ const counts = useBatchStore(
+ useShallow((s) => {
+ let done = 0;
+ let failed = 0;
+ let queued = 0;
+ for (const id of s.itemOrder) {
+ const status = s.items[id]?.status;
+ if (status === 'done') done += 1;
+ else if (status === 'error') failed += 1;
+ else if (status === 'queued') queued += 1;
+ }
+ return { done, failed, queued };
+ }),
+ );
const processing = useBatchStore((s) => s.processing);
const addFiles = useBatchStore((s) => s.addFiles);
const removeItem = useBatchStore((s) => s.removeItem);
const clear = useBatchStore((s) => s.clear);
- const resetStatuses = useBatchStore((s) => s.resetStatuses);
const fileInputRef = useRef(null);
-
const totalCount = itemOrder.length;
- const doneCount = itemOrder.filter((id) => items[id]?.status === 'done').length;
- const errorCount = itemOrder.filter((id) => items[id]?.status === 'error').length;
- const queuedCount = itemOrder.filter((id) => items[id]?.status === 'queued').length;
const { converter, isReverse, accept, fileInputAccept, allowedExtensions } = useFileAccept(
format,
@@ -77,14 +89,13 @@ export function BatchPanel({ format, direction, options, open, onOpenChange }: B
const onDrop = useCallback(
(accepted: File[]) => {
- if (accepted.length === 0) return;
- handleAddFiles(accepted);
+ if (accepted.length > 0) handleAddFiles(accepted);
},
[handleAddFiles],
);
const onDropRejected = useCallback(
- (rejections: { file: File }[]) => {
+ (rejections: FileRejection[]) => {
// react-dropzone rejects via MIME mismatch; surface as wrong-format toast
// so the user sees something, not a silent drop.
if (rejections.length > 0) {
@@ -103,23 +114,40 @@ export function BatchPanel({ format, direction, options, open, onOpenChange }: B
noKeyboard: true,
});
+ const formatLabel = t(converter.meta.labelKey);
+
const handleOpenFiles = async () => {
- if (isTauri()) {
- const paths = await nativeOpenFiles({ multiple: true });
+ if (!isTauri()) {
+ fileInputRef.current?.click();
+ return;
+ }
+ try {
+ const paths = await nativeOpenFiles({
+ multiple: true,
+ filters: isReverse
+ ? [
+ { name: formatLabel, extensions: extensionsFor(format) },
+ { name: t('file_dialog.text'), extensions: ['txt'] },
+ ]
+ : [
+ { name: t('file_dialog.json'), extensions: ['json'] },
+ { name: t('file_dialog.text'), extensions: ['txt'] },
+ ],
+ });
if (!paths || paths.length === 0) return;
const files = await Promise.all(paths.map(fileFromNativePath));
// The native dialog already filtered; Android content URIs may carry no
// extension, so don't re-reject them here.
handleAddFiles(files, true);
- return;
+ } catch (err) {
+ toast.error(t('toast.file_failed', { message: errorMessage(err) }));
}
- fileInputRef.current?.click();
};
const onFileInputChange = (e: React.ChangeEvent) => {
const files = Array.from(e.target.files ?? []);
- if (files.length > 0) handleAddFiles(files);
e.target.value = '';
+ if (files.length > 0) handleAddFiles(files);
};
// Cancel processing if the user clears the queue while it's running.
@@ -129,11 +157,12 @@ export function BatchPanel({ format, direction, options, open, onOpenChange }: B
}
}, [totalCount, processing]);
- const formatLabel = t(converter.meta.labelKey);
- // Direction-aware labels for the SheetDescription and dropzone text.
- // In reverse mode the user supplies `` files and gets JSON back.
+ const removeRow = useCallback((id: string) => removeItem(id), [removeItem]);
+ // Direction-aware labels: in reverse mode the user supplies `` files
+ // and gets JSON back.
const fromLabel = isReverse ? formatLabel : 'JSON';
const toLabel = isReverse ? 'JSON' : formatLabel;
+ const outputExt = isReverse ? 'json' : converter.meta.extension;
return (
@@ -141,11 +170,11 @@ export function BatchPanel({ format, direction, options, open, onOpenChange }: B
0 && 'border-primary/40 text-foreground',
)}
>
-
+
{t('batch.trigger')}
{totalCount > 0 && (
@@ -155,12 +184,15 @@ export function BatchPanel({ format, direction, options, open, onOpenChange }: B
-
+
- {t('batch.title')} {' '}
-
- · {totalCount} / {BATCH_MAX_FILES}
+ {t('batch.title')} {' '}
+
+ {totalCount} / {BATCH_MAX_FILES}
@@ -178,16 +210,21 @@ export function BatchPanel({ format, direction, options, open, onOpenChange }: B
multiple
className="hidden"
onChange={onFileInputChange}
+ tabIndex={-1}
+ aria-hidden
/>
-
+
{isDragActive
? t('batch.drop_active')
@@ -195,57 +232,56 @@ export function BatchPanel({ format, direction, options, open, onOpenChange }: B
void handleOpenFiles()}
+ className="text-primary min-h-8 px-2 text-xs hover:underline"
>
{t('batch.browse')}
- {/* Summary chips */}
{totalCount > 0 && (
)}
{/* Queue list */}
-
+
{totalCount === 0 ? (
-
+
{t('batch.empty_format', { format: fromLabel })}
) : (
-
- {itemOrder.map((id) => {
- const item = items[id];
- if (!item) return null;
- return (
- removeItem(id)}
- disabled={processing}
- />
- );
- })}
+
+ {itemOrder.map((id) => (
+
+ ))}
)}
{/* Footer controls */}
-
+
clear()}
disabled={totalCount === 0 || processing}
- className="text-muted-foreground hover:bg-muted hover:text-foreground inline-flex items-center gap-1.5 rounded-md px-2.5 py-1.5 text-xs transition disabled:cursor-not-allowed disabled:opacity-40"
+ className="text-muted-foreground hover:bg-muted hover:text-foreground inline-flex min-h-8 items-center gap-1.5 rounded-md px-2.5 text-xs transition disabled:cursor-not-allowed disabled:opacity-40"
>
-
+
{t('batch.clear')}
@@ -254,22 +290,19 @@ export function BatchPanel({ format, direction, options, open, onOpenChange }: B
-
+
{t('batch.cancel')}
) : (
{
- resetStatuses();
- void start();
- }}
+ onClick={() => void start()}
disabled={totalCount === 0}
- className="bg-primary/15 text-primary hover:bg-primary/25 inline-flex items-center gap-1.5 rounded-md px-3 py-1.5 text-xs font-medium transition disabled:cursor-not-allowed disabled:opacity-40"
+ className="group bg-primary/15 text-primary hover:bg-primary/25 inline-flex min-h-8 items-center gap-1.5 rounded-md px-3 text-xs font-medium transition disabled:cursor-not-allowed disabled:opacity-40"
>
-
+
{t('batch.process')}
)}
@@ -277,10 +310,10 @@ export function BatchPanel({ format, direction, options, open, onOpenChange }: B
void downloadZip()}
- disabled={doneCount === 0 || processing}
- className="bg-foreground/90 text-background hover:bg-foreground inline-flex items-center gap-1.5 rounded-md px-3 py-1.5 text-xs font-medium transition disabled:cursor-not-allowed disabled:opacity-40"
+ disabled={counts.done === 0 || processing}
+ className="group bg-foreground/90 text-background hover:bg-foreground inline-flex min-h-8 items-center gap-1.5 rounded-md px-3 text-xs font-medium transition disabled:cursor-not-allowed disabled:opacity-40"
>
-
+
{t('batch.download_zip')}
diff --git a/src/components/converter/BatchSummaryChips.tsx b/src/components/converter/BatchSummaryChips.tsx
index 0689738..749724a 100644
--- a/src/components/converter/BatchSummaryChips.tsx
+++ b/src/components/converter/BatchSummaryChips.tsx
@@ -10,7 +10,11 @@ interface BatchSummaryChipsProps {
export function BatchSummaryChips({ queuedCount, doneCount, errorCount }: BatchSummaryChipsProps) {
const { t } = useTranslation();
return (
-
+
{errorCount > 0 &&
}
@@ -23,13 +27,13 @@ function Chip({ label, value, tone }: { label: string; value: number; tone?: 'ok
- {label}:
- {value}
+ {label}
+ {value}
);
}
diff --git a/src/components/converter/CodeEditor.tsx b/src/components/converter/CodeEditor.tsx
index b8baba4..9e21883 100644
--- a/src/components/converter/CodeEditor.tsx
+++ b/src/components/converter/CodeEditor.tsx
@@ -1,18 +1,21 @@
import { useMemo } from 'react';
-import CodeMirror, { type ReactCodeMirrorRef, EditorView } from '@uiw/react-codemirror';
-import { json, jsonParseLinter } from '@codemirror/lang-json';
+import { useTranslation } from 'react-i18next';
+import CodeMirror, { EditorState, EditorView, type BasicSetupOptions } from '@uiw/react-codemirror';
+import { json } from '@codemirror/lang-json';
import { yaml } from '@codemirror/lang-yaml';
import { xml } from '@codemirror/lang-xml';
import { markdown } from '@codemirror/lang-markdown';
import { sql } from '@codemirror/lang-sql';
import { HighlightStyle, StreamLanguage, syntaxHighlighting } from '@codemirror/language';
import { toml } from '@codemirror/legacy-modes/mode/toml';
-import { lintGutter, linter } from '@codemirror/lint';
+import { lintGutter, linter, type Diagnostic } from '@codemirror/lint';
import { tags as t } from '@lezer/highlight';
+import { parseJsonInput } from '@/lib/detect';
import { useTheme } from '@/lib/theme';
import { cn } from '@/lib/utils';
-export type EditorLanguage = 'json' | 'plain' | 'yaml' | 'xml' | 'markdown' | 'sql' | 'toml';
+export type EditorLanguage =
+ 'json' | 'jsonl' | 'plain' | 'yaml' | 'xml' | 'markdown' | 'sql' | 'toml';
export interface CodeEditorProps {
value: string;
@@ -21,7 +24,8 @@ export interface CodeEditorProps {
language?: EditorLanguage;
className?: string;
placeholder?: string;
- editorRef?: React.RefObject
;
+ /** Accessible name for the editable region (screen readers). */
+ ariaLabel?: string;
}
/**
@@ -38,6 +42,116 @@ const prismHighlightStyle = HighlightStyle.define([
{ tag: t.comment, color: 'var(--muted-foreground)', fontStyle: 'italic' },
]);
+// Stable references: a new basicSetup object or extensions array on every
+// render makes @uiw/react-codemirror reconfigure the whole editor per keystroke.
+const EDITABLE_SETUP: BasicSetupOptions = {
+ lineNumbers: true,
+ highlightActiveLine: true,
+ highlightActiveLineGutter: true,
+ foldGutter: true,
+ autocompletion: false,
+ searchKeymap: true,
+};
+const READ_ONLY_SETUP: BasicSetupOptions = {
+ ...EDITABLE_SETUP,
+ highlightActiveLine: false,
+ highlightActiveLineGutter: false,
+};
+
+/** Wrapping a multi-megabyte single line (minified JSON, base64) is very slow. */
+const WRAP_LIMIT_CHARS = 1_000_000;
+
+// File drops belong to the panel's dropzone (load into the editor or route to
+// the batch queue). Without this, CodeMirror inserts the files' text itself.
+const yieldFileDrops = EditorView.domEventHandlers({
+ drop: (event) => (event.dataTransfer?.files.length ?? 0) > 0,
+});
+
+/** Linting re-parses the whole document; beyond this the conversion reports errors alone. */
+const LINT_LIMIT_CHARS = 2_000_000;
+const MAX_JSONL_DIAGNOSTICS = 100;
+
+/**
+ * Lints `text` (starting at document offset `start`) with the converter's own
+ * parser, so the editor and the conversion agree — a leading byte-order mark
+ * is fine, and error positions match on every engine. Blank text is a
+ * prompt, not an error.
+ */
+function parseDiagnostic(view: EditorView, text: string, start: number): Diagnostic | null {
+ const result = parseJsonInput(text);
+ if (result.ok || result.error === 'empty') return null;
+ const { doc } = view.state;
+ let from = start;
+ if (result.line !== undefined && result.column !== undefined) {
+ const line = doc.line(Math.min(doc.lineAt(start).number + result.line - 1, doc.lines));
+ from = Math.min(line.from + result.column - 1, line.to);
+ }
+ return { from, to: from, severity: 'error', message: result.error };
+}
+
+const jsonLint = linter((view) => {
+ if (view.state.doc.length > LINT_LIMIT_CHARS) return [];
+ const diagnostic = parseDiagnostic(view, view.state.doc.toString(), 0);
+ return diagnostic ? [diagnostic] : [];
+});
+
+// JSONL: every non-blank line is its own JSON document.
+const jsonlLint = linter((view) => {
+ const { doc } = view.state;
+ if (doc.length > LINT_LIMIT_CHARS) return [];
+ const diagnostics: Diagnostic[] = [];
+ for (let n = 1; n <= doc.lines && diagnostics.length < MAX_JSONL_DIAGNOSTICS; n++) {
+ const line = doc.line(n);
+ const diagnostic = parseDiagnostic(view, line.text, line.from);
+ if (diagnostic) diagnostics.push(diagnostic);
+ }
+ return diagnostics;
+});
+
+function languageExtensions(language: EditorLanguage, readOnly: boolean) {
+ switch (language) {
+ case 'json':
+ return readOnly ? [json()] : [json(), lintGutter(), jsonLint];
+ case 'jsonl':
+ return readOnly ? [json()] : [json(), lintGutter(), jsonlLint];
+ case 'yaml':
+ return [yaml()];
+ case 'xml':
+ return [xml()];
+ case 'markdown':
+ return [markdown()];
+ case 'sql':
+ return [sql()];
+ case 'toml':
+ return [StreamLanguage.define(toml)];
+ case 'plain':
+ return [];
+ }
+}
+
+// English phrases used by CodeMirror's search panel, folding and lint UI.
+const PHRASE_KEYS: Record = {
+ Find: 'find',
+ Replace: 'replace',
+ next: 'next',
+ previous: 'previous',
+ all: 'all',
+ 'match case': 'match_case',
+ regexp: 'regexp',
+ 'by word': 'by_word',
+ replace: 'replace_one',
+ 'replace all': 'replace_all',
+ close: 'close',
+ 'Go to line': 'go_to_line',
+ go: 'go',
+ 'Fold line': 'fold_line',
+ 'Unfold line': 'unfold_line',
+ 'folded code': 'folded_code',
+ unfold: 'unfold',
+ Diagnostics: 'diagnostics',
+ 'No diagnostics': 'no_diagnostics',
+};
+
export function CodeEditor({
value,
onChange,
@@ -45,36 +159,25 @@ export function CodeEditor({
language = 'json',
className,
placeholder,
- editorRef,
+ ariaLabel,
}: CodeEditorProps) {
const { resolvedTheme } = useTheme();
+ const { t: translate, i18n } = useTranslation();
+ const wrap = value.length < WRAP_LIMIT_CHARS;
+
+ const phrases = useMemo(() => {
+ const entries = Object.entries(PHRASE_KEYS).map(([phrase, key]) => [
+ phrase,
+ translate(`editor.phrases.${key}`, { defaultValue: phrase }),
+ ]);
+ return EditorState.phrases.of(Object.fromEntries(entries));
+ // i18n.language drives re-translation; translate is stable per language.
+ // eslint-disable-next-line react-hooks/exhaustive-deps
+ }, [i18n.language]);
const extensions = useMemo(() => {
- const exts = [];
- if (language === 'json') {
- exts.push(json());
- if (!readOnly) {
- exts.push(lintGutter(), linter(jsonParseLinter()));
- }
- } else if (language === 'yaml') {
- exts.push(yaml());
- } else if (language === 'xml') {
- exts.push(xml());
- } else if (language === 'markdown') {
- exts.push(markdown());
- } else if (language === 'sql') {
- exts.push(sql());
- } else if (language === 'toml') {
- exts.push(StreamLanguage.define(toml));
- }
- exts.push(syntaxHighlighting(prismHighlightStyle));
- exts.push(EditorView.lineWrapping);
- return exts;
- }, [language, readOnly]);
-
- const themeExt = useMemo(() => {
const isDark = resolvedTheme === 'dark';
- return EditorView.theme(
+ const theme = EditorView.theme(
{
'&': {
backgroundColor: 'transparent',
@@ -82,41 +185,30 @@ export function CodeEditor({
height: '100%',
fontSize: '13px',
},
+ // Scrollbar styling comes from globals.css so the "hide scrollbars"
+ // preference applies here too.
'.cm-scroller': {
fontFamily: 'var(--font-mono)',
lineHeight: '1.6',
overflow: 'auto',
- // Show a thin native scrollbar — `scrollbarWidth: 'none'` made wheel
- // scroll require a click-to-focus first on some browsers.
- scrollbarWidth: 'thin',
- },
- '.cm-scroller::-webkit-scrollbar': {
- width: '8px',
- height: '8px',
- },
- '.cm-scroller::-webkit-scrollbar-thumb': {
- backgroundColor: 'color-mix(in oklch, var(--muted-foreground) 30%, transparent)',
- borderRadius: '4px',
},
'.cm-content': {
- padding: '16px 0',
+ padding: '12px 0',
caretColor: 'var(--color-prism-violet)',
},
'.cm-gutters': {
backgroundColor: 'transparent',
border: 'none',
color: 'var(--muted-foreground)',
- opacity: '0.5',
},
'.cm-activeLine': {
backgroundColor: isDark
- ? 'color-mix(in oklch, var(--color-prism-violet) 6%, transparent)'
- : 'color-mix(in oklch, var(--color-prism-violet) 4%, transparent)',
+ ? 'color-mix(in oklch, var(--color-prism-violet) 7%, transparent)'
+ : 'color-mix(in oklch, var(--color-prism-violet) 5%, transparent)',
},
'.cm-activeLineGutter': {
backgroundColor: 'transparent',
color: 'var(--foreground)',
- opacity: '0.9',
},
'&.cm-focused .cm-selectionBackground, .cm-selectionBackground, ::selection': {
backgroundColor:
@@ -128,31 +220,37 @@ export function CodeEditor({
},
'.cm-placeholder': {
color: 'var(--muted-foreground)',
- opacity: '0.5',
+ },
+ '&.cm-focused': {
+ outline: 'none',
},
},
{ dark: isDark },
);
- }, [resolvedTheme]);
+ return [
+ ...languageExtensions(language, readOnly),
+ syntaxHighlighting(prismHighlightStyle),
+ ...(wrap ? [EditorView.lineWrapping] : []),
+ yieldFileDrops,
+ phrases,
+ EditorView.contentAttributes.of({
+ ...(ariaLabel ? { 'aria-label': ariaLabel } : {}),
+ ...(readOnly ? { 'aria-readonly': 'true' } : {}),
+ }),
+ theme,
+ ];
+ }, [ariaLabel, language, phrases, readOnly, resolvedTheme, wrap]);
return (
diff --git a/src/components/converter/CodeEditorLazy.tsx b/src/components/converter/CodeEditorLazy.tsx
index 0288491..e304725 100644
--- a/src/components/converter/CodeEditorLazy.tsx
+++ b/src/components/converter/CodeEditorLazy.tsx
@@ -19,6 +19,7 @@ function EditorFallback({
placeholder,
readOnly = false,
className,
+ ariaLabel,
}: CodeEditorProps) {
return (
@@ -27,8 +28,9 @@ function EditorFallback({
readOnly={readOnly}
spellCheck={false}
placeholder={placeholder}
+ aria-label={ariaLabel}
onChange={onChange ? (e) => onChange(e.target.value) : undefined}
- className="text-foreground placeholder:text-muted-foreground/50 h-full w-full resize-none bg-transparent px-4 py-4 font-mono text-[13px] leading-[1.6] outline-none"
+ className="text-foreground placeholder:text-muted-foreground h-full w-full resize-none bg-transparent px-4 py-3 font-mono text-[13px] leading-[1.6] outline-none"
/>
);
diff --git a/src/components/converter/ConverterWorkspace.tsx b/src/components/converter/ConverterWorkspace.tsx
index 6cd485d..17b3be9 100644
--- a/src/components/converter/ConverterWorkspace.tsx
+++ b/src/components/converter/ConverterWorkspace.tsx
@@ -2,22 +2,28 @@ import { useCallback, useMemo, useRef, useState } from 'react';
import { useTranslation } from 'react-i18next';
import { toast } from '@/components/ui/sonner';
import { Tabs, TabsContent, TabsList, TabsTrigger } from '@/components/ui/tabs';
+import { extensionsFor, getConverter } from '@/converters/registry';
+import type { Direction, FormatId } from '@/converters/types';
import { useBatchFileRouter } from '@/hooks/useBatchFileRouter';
import { useConversionResult } from '@/hooks/useConversionResult';
import { useKeyboardShortcuts } from '@/hooks/useKeyboardShortcuts';
+import { useMediaQuery } from '@/hooks/useMediaQuery';
import { useOutputBadge } from '@/hooks/useOutputBadge';
-import { getConverter } from '@/converters/registry';
-import type { FormatId } from '@/converters/types';
+import { utf8ByteLength } from '@/lib/bytes';
+import { errorMessage } from '@/lib/errors';
+import { extOf, getAllowedExtensions } from '@/lib/file-filter';
import { useWorkspaceStore } from '@/stores/workspaceStore';
-import { DirectionToggle, type Direction } from './DirectionToggle';
+import { DirectionToggle } from './DirectionToggle';
import { FormatPicker } from './FormatPicker';
import { InputPanel } from './InputPanel';
import { OutputPanel } from './OutputPanel';
import { SettingsPanel } from './SettingsPanel';
import { ShapeHint } from './ShapeHint';
-import { StatusBar } from './StatusBar';
+import { StatusBar, type ConversionState } from './StatusBar';
import { BatchPanel } from './BatchPanel';
+const REVERSIBLE_FALLBACKS: FormatId[] = ['jsonl', 'csv', 'yaml', 'toml', 'resx'];
+
export function ConverterWorkspace() {
const { t } = useTranslation();
@@ -29,32 +35,47 @@ export function ConverterWorkspace() {
const setFormat = useWorkspaceStore((s) => s.setFormat);
const direction = useWorkspaceStore((s) => s.direction);
const setDirection = useWorkspaceStore((s) => s.setDirection);
- const optionsByFormat = useWorkspaceStore((s) => s.optionsByFormat);
+ const storedOptions = useWorkspaceStore((s) => s.optionsByFormat[s.format]);
const setOptionsForFormat = useWorkspaceStore((s) => s.setOptionsForFormat);
const resetOptionsForFormat = useWorkspaceStore((s) => s.resetOptionsForFormat);
const actionsRef = useRef<{ copy: () => void; download: () => void } | null>(null);
const [batchOpen, setBatchOpen] = useState(false);
const [settingsOpen, setSettingsOpen] = useState(false);
- // Mobile tab state — desktop ignores this and renders both panels side-by-side.
+ // Mobile tab state — desktop renders both panels side-by-side.
const [activeTab, setActiveTab] = useState<'input' | 'output'>('input');
+ // One layout at a time: mounting both (CSS-hidden) doubled every editor
+ // update. Defaults to desktop where matchMedia is unavailable.
+ const isDesktop = useMediaQuery('(min-width: 768px)', true);
const openBatch = useCallback(() => setBatchOpen(true), []);
- const handleMultiFileDrop = useBatchFileRouter(format, direction, openBatch);
- const switchFormat = useCallback(
- (next: FormatId) => {
- setFormat(next);
+ const loadSingleFile = useCallback(
+ (file: File) => {
+ const allowed = getAllowedExtensions(direction, extensionsFor(format));
+ const ext = extOf(file.name);
+ if (ext && !allowed.includes(ext)) {
+ toast.warning(t('batch.toast.wrong_format', { count: 1 }));
+ return;
+ }
+ file.text().then(
+ (text) => {
+ setInput(text);
+ toast.success(t('toast.file_loaded', { name: file.name }));
+ },
+ (err: unknown) => toast.error(t('toast.file_failed', { message: errorMessage(err) })),
+ );
},
- [setFormat],
+ [direction, format, setInput, t],
);
+ const handleMultiFileDrop = useBatchFileRouter(format, direction, loadSingleFile, openBatch);
const switchDirection = useCallback(
(next: Direction) => {
setDirection(next);
// If the current format doesn't support the new direction, switch to one that does.
if (next === 'reverse' && typeof getConverter(format).reverse !== 'function') {
- const fallback = (['jsonl', 'csv', 'yaml', 'toml', 'resx'] as FormatId[]).find(
+ const fallback = REVERSIBLE_FALLBACKS.find(
(id) => typeof getConverter(id).reverse === 'function',
);
if (fallback) setFormat(fallback);
@@ -63,12 +84,13 @@ export function ConverterWorkspace() {
[format, setDirection, setFormat],
);
- const currentOptions = optionsByFormat[format] ?? getConverter(format).defaultOptions;
+ const currentOptions = useMemo(
+ () => storedOptions ?? { ...getConverter(format).defaultOptions },
+ [format, storedOptions],
+ );
const setCurrentOptions = useCallback(
- (next: Record
) => {
- setOptionsForFormat(format, next);
- },
+ (next: Record) => setOptionsForFormat(format, next),
[format, setOptionsForFormat],
);
@@ -77,38 +99,65 @@ export function ConverterWorkspace() {
toast.success(t('toast.options_reset'));
}, [format, resetOptionsForFormat, t]);
- const { output, inputError, outputError, shape, parseMs } = useConversionResult(
- input,
- format,
- direction,
- currentOptions,
- );
+ const result = useConversionResult(input, format, direction, currentOptions);
useKeyboardShortcuts([
- { key: 'k', mod: true, handler: () => setInput('') },
- { key: 's', mod: true, handler: () => actionsRef.current?.download() },
- { key: ',', mod: true, handler: () => setSettingsOpen((v) => !v) },
+ { code: 'KeyS', mod: true, handler: () => actionsRef.current?.download() },
+ { code: 'Comma', mod: true, handler: () => setSettingsOpen((v) => !v) },
]);
- const hasUnreadOutput = useOutputBadge(output, activeTab);
+ const hasUnreadOutput = useOutputBadge(result.output, activeTab);
+ const inputBytes = useMemo(() => utf8ByteLength(input), [input]);
+ const registerActions = useCallback((a: { copy: () => void; download: () => void }) => {
+ actionsRef.current = a;
+ }, []);
- const inputBytes = useMemo(() => new TextEncoder().encode(input).length, [input]);
- const outputBytes = useMemo(() => new TextEncoder().encode(output).length, [output]);
+ const state: ConversionState = result.pending
+ ? 'working'
+ : result.inputError || result.outputError
+ ? 'error'
+ : result.output
+ ? 'ok'
+ : 'idle';
+
+ const inputPanel = (
+
+ );
+ const outputPanel = (
+
+ );
return (
-
-
-
+
+
+
-
-
+
+
-
- {/* Mobile: Tabs UI — each tab gets the full workspace height so panels
- never overlap on short viewports. */}
-
setActiveTab(v as 'input' | 'output')}
- className="flex min-h-0 flex-1 flex-col md:hidden"
- >
-
- {t('home.tab_input')}
-
- {t('home.tab_output')}
- {hasUnreadOutput && (
-
- )}
-
-
-
-
-
-
- {
- actionsRef.current = a;
- }}
- />
-
-
-
- {/* Desktop: side-by-side grid (≥ md). Rendered in parallel with the
- Tabs above so neither remounts on viewport resize and CodeMirror
- state survives the swap. */}
-
-
-
+
+ {isDesktop ? (
+
+
{inputPanel}
+
{outputPanel}
-
- {
- actionsRef.current = a;
- }}
- />
-
-
+ ) : (
+
setActiveTab(v as 'input' | 'output')}
+ className="flex min-h-0 flex-1 flex-col"
+ >
+
+ {t('home.tab_input')}
+
+ {t('home.tab_output')}
+ {hasUnreadOutput && (
+
+ )}
+
+
+ {/* forceMount keeps both editors alive (undo history, scroll) across tab switches. */}
+
+ {inputPanel}
+
+
+ {outputPanel}
+
+
+ )}
-
+
);
diff --git a/src/components/converter/DirectionToggle.tsx b/src/components/converter/DirectionToggle.tsx
index b45bf0d..7305449 100644
--- a/src/components/converter/DirectionToggle.tsx
+++ b/src/components/converter/DirectionToggle.tsx
@@ -1,50 +1,50 @@
import { useTranslation } from 'react-i18next';
import { ArrowLeft, ArrowRight } from 'lucide-react';
+import type { Direction } from '@/converters/types';
import { cn } from '@/lib/utils';
-export type Direction = 'forward' | 'reverse';
-
interface DirectionToggleProps {
value: Direction;
onChange: (next: Direction) => void;
}
+const OPTIONS: Array<{ value: Direction; Icon: typeof ArrowRight }> = [
+ { value: 'forward', Icon: ArrowRight },
+ { value: 'reverse', Icon: ArrowLeft },
+];
+
export function DirectionToggle({ value, onChange }: DirectionToggleProps) {
const { t } = useTranslation();
return (
-
onChange('forward')}
- title={t('direction.hint')}
- className={cn(
- 'inline-flex items-center gap-1 rounded px-2 py-0.5 text-xs font-medium transition',
- value === 'forward'
- ? 'bg-muted text-foreground'
- : 'text-muted-foreground hover:text-foreground',
- )}
- >
-
- {t('direction.forward')}
-
-
onChange('reverse')}
- title={t('direction.hint')}
- className={cn(
- 'inline-flex items-center gap-1 rounded px-2 py-0.5 text-xs font-medium transition',
- value === 'reverse'
- ? 'bg-muted text-foreground'
- : 'text-muted-foreground hover:text-foreground',
- )}
- >
-
- {t('direction.reverse')}
-
+ {OPTIONS.map(({ value: option, Icon }) => {
+ const active = value === option;
+ return (
+
onChange(option)}
+ title={t('direction.hint')}
+ className={cn(
+ 'focus-visible:ring-ring inline-flex min-h-7 items-center gap-1.5 rounded px-2.5 text-xs font-medium transition outline-none focus-visible:ring-2',
+ active ? 'bg-muted text-foreground' : 'text-muted-foreground hover:text-foreground',
+ )}
+ >
+ {/* Re-keyed on change so the "refract" spin replays each time. */}
+
+ {t(`direction.${option}`)}
+
+ );
+ })}
);
}
diff --git a/src/components/converter/FormatPicker.tsx b/src/components/converter/FormatPicker.tsx
index 1551266..061b416 100644
--- a/src/components/converter/FormatPicker.tsx
+++ b/src/components/converter/FormatPicker.tsx
@@ -3,11 +3,10 @@ import { useTranslation } from 'react-i18next';
import { ChevronDown } from 'lucide-react';
import { Sheet, SheetContent, SheetHeader, SheetTitle, SheetTrigger } from '@/components/ui/sheet';
import { ALL_FORMATS, getConverter } from '@/converters/registry';
-import type { FormatId } from '@/converters/types';
+import type { Direction, FormatId } from '@/converters/types';
import type { JsonShape } from '@/lib/detect';
import { isFormatSuggested } from '@/lib/suggestions';
import { cn } from '@/lib/utils';
-import type { Direction } from './DirectionToggle';
interface FormatPickerProps {
value: FormatId;
@@ -36,21 +35,26 @@ export function FormatPicker({ value, onChange, shape, direction = 'forward' }:
-
- {t('home.format_picker_label')}
-
+ {t('home.format_picker_label')}
{t(current.meta.labelKey)}
-
+
-
+
{t('home.format_picker_label')}
-
+
{ALL_FORMATS.map((id) => (
{/* Desktop: 12 chips inline. */}
-
+
{ALL_FORMATS.map((id) => (
onChange(id)}
disabled={!enabled}
className={cn(
- 'group relative inline-flex items-center gap-1.5 rounded-md border font-medium transition',
- expanded
- ? 'justify-between px-3 py-2 text-sm'
- : 'px-2 py-0.5 text-[11px] sm:px-2.5 sm:py-1 sm:text-xs',
+ 'group focus-visible:ring-ring relative inline-flex items-center gap-1.5 overflow-hidden rounded-md border font-mono font-medium transition outline-none focus-visible:ring-2',
+ expanded ? 'min-h-10 justify-between px-3 text-sm' : 'min-h-7 px-2 text-xs',
active
? 'border-primary/60 bg-primary/10 text-foreground'
- : 'border-border bg-card/40 text-muted-foreground hover:text-foreground hover:border-border',
+ : 'border-border bg-card/60 text-muted-foreground hover:text-foreground hover:border-foreground/30',
!enabled && 'cursor-not-allowed opacity-50',
- dimmed && !active && 'opacity-50',
+ // Dashed rather than faded, so the label keeps its contrast.
+ dimmed && !active && 'border-dashed',
suggested && !active && 'ring-primary/30 ring-offset-background ring-1 ring-offset-1',
)}
- title={
- !c.meta.ready
- ? t('format_status.planned', { phase: c.meta.phase })
- : noReverse
- ? t('format_status.no_reverse')
- : suggested
- ? t('format_status.suggested')
- : t('format_status.ready')
- }
+ title={t(`format_status.${status}`)}
>
- {t(c.meta.labelKey)}
- {!c.meta.ready && (
-
- P{c.meta.phase}
-
- )}
+ {t(c.meta.labelKey)}
+ {/* Spectrum underline marks the active format. */}
+
);
}
diff --git a/src/components/converter/InputPanel.tsx b/src/components/converter/InputPanel.tsx
index 3cfea32..8c48888 100644
--- a/src/components/converter/InputPanel.tsx
+++ b/src/components/converter/InputPanel.tsx
@@ -1,26 +1,30 @@
import { useCallback, useRef, useState } from 'react';
import { useTranslation } from 'react-i18next';
-import { useDropzone } from 'react-dropzone';
+import { useDropzone, type FileRejection } from 'react-dropzone';
import { Eraser, FileText, FolderOpen } from 'lucide-react';
import { ToolbarButton } from '@/components/common/ToolbarButton';
import { toast } from '@/components/ui/sonner';
+import { extensionsFor } from '@/converters/registry';
+import type { Direction, FormatId } from '@/converters/types';
import { useFileAccept } from '@/hooks/useFileAccept';
import { editorLanguageFor } from '@/lib/editor-language';
+import { errorMessage } from '@/lib/errors';
import { extOf } from '@/lib/file-filter';
import { readFileText } from '@/lib/read-file';
import { SAMPLE_JSON } from '@/lib/sample';
-import { isTauri, nativeOpenFiles, fileFromNativePath } from '@/lib/tauri';
-import type { FormatId } from '@/converters/types';
+import { fileFromNativePath, isTauri, nativeOpenFiles, type DialogFilter } from '@/lib/tauri';
+import { cn } from '@/lib/utils';
import { CodeEditorLazy } from './CodeEditorLazy';
-import type { Direction } from './DirectionToggle';
interface InputPanelProps {
value: string;
onChange: (v: string) => void;
error?: string | null;
+ errorLine?: number | null;
+ errorColumn?: number | null;
/** Drives accept list, file picker filter, and editor label. */
format: FormatId;
- /** Forward = JSON-only; reverse = the format's native extension. */
+ /** Forward = JSON-only; reverse = the format's native extensions. */
direction: Direction;
/** Called when 2+ files are dropped — workspace routes them into batch. */
onMultiFileDrop?: (files: File[]) => void;
@@ -30,6 +34,8 @@ export function InputPanel({
value,
onChange,
error,
+ errorLine,
+ errorColumn,
format,
direction,
onMultiFileDrop,
@@ -42,18 +48,33 @@ export function InputPanel({
format,
direction,
);
-
+ const formatLabel = t(converter.meta.labelKey);
const inputLabel = isReverse
- ? t('home.input_label_format', { format: t(converter.meta.labelKey) })
+ ? t('home.input_label_format', { format: formatLabel })
: t('home.input_label');
- const editorLanguage = editorLanguageFor(format, direction);
-
const hasAllowedExt = useCallback(
(name: string) => allowedExtensions.includes(extOf(name)),
[allowedExtensions],
);
+ const loadFile = useCallback(
+ (file: File) => {
+ if (!hasAllowedExt(file.name)) {
+ toast.warning(t('batch.toast.wrong_format', { count: 1 }));
+ return;
+ }
+ readFileText(file).then(
+ (text) => {
+ onChange(text);
+ toast.success(t('toast.file_loaded', { name: file.name }));
+ },
+ (err: unknown) => toast.error(t('toast.file_failed', { message: errorMessage(err) })),
+ );
+ },
+ [hasAllowedExt, onChange, t],
+ );
+
const onDrop = useCallback(
(acceptedFiles: File[]) => {
setDragActive(false);
@@ -62,26 +83,14 @@ export function InputPanel({
onMultiFileDrop(acceptedFiles);
return;
}
- const file = acceptedFiles[0]!;
- if (!hasAllowedExt(file.name)) {
- toast.warning(t('batch.toast.wrong_format', { count: 1 }));
- return;
- }
- void readFileText(file).then(
- (text) => {
- onChange(text);
- toast.success(t('toast.file_loaded', { name: file.name }));
- },
- (err: Error) => {
- toast.error(t('toast.file_failed', { message: err.message }));
- },
- );
+ loadFile(acceptedFiles[0]!);
},
- [hasAllowedExt, onChange, onMultiFileDrop, t],
+ [loadFile, onMultiFileDrop],
);
const onDropRejected = useCallback(
- (rejections: { file: File }[]) => {
+ (rejections: FileRejection[]) => {
+ setDragActive(false);
if (rejections.length > 0) {
toast.warning(t('batch.toast.wrong_format', { count: rejections.length }));
}
@@ -100,59 +109,58 @@ export function InputPanel({
noKeyboard: true,
});
+ const dialogFilters = (): DialogFilter[] =>
+ isReverse
+ ? [
+ { name: formatLabel, extensions: extensionsFor(format) },
+ { name: t('file_dialog.text'), extensions: ['txt'] },
+ ]
+ : [
+ { name: t('file_dialog.json'), extensions: ['json'] },
+ { name: t('file_dialog.text'), extensions: ['txt'] },
+ ];
+
const handleOpenFile = async () => {
- if (isTauri()) {
- const paths = await nativeOpenFiles({ multiple: false });
- if (!paths || paths.length === 0) return;
- try {
- const file = await fileFromNativePath(paths[0]!);
- // The native dialog already filtered; reject only when the name carries
- // a recognizable, disallowed extension. Android content URIs often have
- // no extension at all (opaque document ids) — don't reject those.
- const pickedExt = extOf(file.name);
- if (pickedExt && !allowedExtensions.includes(pickedExt)) {
- toast.warning(t('batch.toast.wrong_format', { count: 1 }));
- return;
- }
- const text = await file.text();
- onChange(text);
- // Android content URIs sometimes yield an opaque document id with no
- // real filename (e.g. `msf:1000000123`). When there's no usable
- // extension to show a clean name, fall back to a count-based message.
- toast.success(
- pickedExt
- ? t('toast.file_loaded', { name: file.name })
- : t('toast.files_loaded', { count: 1 }),
- );
- } catch (err) {
- toast.error(t('toast.file_failed', { message: (err as Error).message }));
- }
+ if (!isTauri()) {
+ fileInputRef.current?.click();
return;
}
- fileInputRef.current?.click();
+ try {
+ const paths = await nativeOpenFiles({ multiple: false, filters: dialogFilters() });
+ if (!paths || paths.length === 0) return;
+ const file = await fileFromNativePath(paths[0]!);
+ // The native dialog already filtered; reject only when the name carries
+ // a recognizable, disallowed extension. Android content URIs often have
+ // no extension at all (opaque document ids) — don't reject those.
+ const pickedExt = extOf(file.name);
+ if (pickedExt && !allowedExtensions.includes(pickedExt)) {
+ toast.warning(t('batch.toast.wrong_format', { count: 1 }));
+ return;
+ }
+ onChange(await file.text());
+ // Android content URIs sometimes yield an opaque document id with no
+ // real filename (e.g. `msf:1000000123`); fall back to a count message.
+ toast.success(
+ pickedExt
+ ? t('toast.file_loaded', { name: file.name })
+ : t('toast.files_loaded', { count: 1 }),
+ );
+ } catch (err) {
+ toast.error(t('toast.file_failed', { message: errorMessage(err) }));
+ }
};
const handleFileChange = (e: React.ChangeEvent) => {
const file = e.target.files?.[0];
- if (!file) return;
- if (!hasAllowedExt(file.name)) {
- toast.warning(t('batch.toast.wrong_format', { count: 1 }));
- e.target.value = '';
- return;
- }
- void readFileText(file).then(
- (text) => {
- onChange(text);
- toast.success(t('toast.file_loaded', { name: file.name }));
- },
- (err: Error) => {
- toast.error(t('toast.file_failed', { message: err.message }));
- },
- );
e.target.value = '';
+ if (file) loadFile(file);
};
const showOverlay = isDragActive || dragActive;
+ const position =
+ errorLine != null
+ ? t('home.error_position', { line: errorLine, column: errorColumn ?? 1 })
+ : null;
return (
@@ -163,46 +171,60 @@ export function InputPanel({
accept={fileInputAccept}
className="hidden"
onChange={handleFileChange}
+ tabIndex={-1}
+ aria-hidden
/>
-
+
-
- {inputLabel}
-
- {error && (
-
- · {error}
-
- )}
+ {inputLabel}
-
+
void handleOpenFile()}
label={t('home.open_file')}
- icon={ }
+ icon={ }
/>
{!isReverse && (
onChange(SAMPLE_JSON)}
label={t('home.load_sample')}
- icon={ }
+ icon={
+
+ }
/>
)}
onChange('')}
label={t('home.clear')}
- icon={ }
+ icon={ }
disabled={!value}
/>
+
+ {error ? (
+ <>
+ {position && {position} }
+ {error}
+ >
+ ) : null}
+
+
{showOverlay && (
-
-
-
- {t('home.drop_zone_active')}
-
+
+
+
{t('home.drop_zone_active')}
)}
diff --git a/src/components/converter/OutputPanel.tsx b/src/components/converter/OutputPanel.tsx
index 5b92b33..398abe5 100644
--- a/src/components/converter/OutputPanel.tsx
+++ b/src/components/converter/OutputPanel.tsx
@@ -1,17 +1,23 @@
-import { useCallback, useEffect, useState } from 'react';
+import { useCallback, useEffect, useRef, useState } from 'react';
import { useTranslation } from 'react-i18next';
-import { Check, Copy, Download } from 'lucide-react';
+import { Check, Copy, Download, LoaderCircle } from 'lucide-react';
import { toast } from '@/components/ui/sonner';
import { ToolbarButton } from '@/components/common/ToolbarButton';
-import type { FormatId } from '@/converters/types';
import { getConverter } from '@/converters/registry';
-import { decodeBytes } from '@/lib/bytes';
-import type { Direction } from './DirectionToggle';
+import type { Direction, FormatId } from '@/converters/types';
+import { decodeBytes, type Encoding } from '@/lib/bytes';
+import { downloadBlob } from '@/lib/download';
+import { outputLanguageFor } from '@/lib/editor-language';
+import { errorMessage } from '@/lib/errors';
+import { isTauri, nativeSaveBlob } from '@/lib/tauri';
+import { CodeEditorLazy } from './CodeEditorLazy';
interface OutputPanelProps {
format: FormatId;
content: string;
error?: string | null;
+ /** A newer result is being computed (large input in the worker). */
+ pending?: boolean;
/** Current converter options — needed to decode binary output for download. */
options?: Record
;
/** Forward = JSON→format; reverse = format→JSON. Drives download extension. */
@@ -20,96 +26,139 @@ interface OutputPanelProps {
registerActions?: (actions: { copy: () => void; download: () => void }) => void;
}
+const COPIED_FEEDBACK_MS = 1500;
+
export function OutputPanel({
format,
content,
error,
+ pending = false,
options,
direction = 'forward',
registerActions,
}: OutputPanelProps) {
const { t } = useTranslation();
const [copied, setCopied] = useState(false);
+ const copiedTimer = useRef | null>(null);
const converter = getConverter(format);
const isReverse = direction === 'reverse';
const outputExt = isReverse ? 'json' : converter.meta.extension;
const outputMime = isReverse ? 'application/json' : converter.meta.mimeType;
+ const formatLabel = isReverse ? 'JSON' : t(converter.meta.labelKey);
+
+ useEffect(
+ () => () => {
+ if (copiedTimer.current) clearTimeout(copiedTimer.current);
+ },
+ [],
+ );
const handleCopy = useCallback(async () => {
if (!content) return;
try {
await navigator.clipboard.writeText(content);
setCopied(true);
- toast.success(t('toast.copied', { format: t(converter.meta.labelKey) }));
- setTimeout(() => setCopied(false), 1500);
+ toast.success(t('toast.copied', { format: formatLabel }));
+ if (copiedTimer.current) clearTimeout(copiedTimer.current);
+ copiedTimer.current = setTimeout(() => setCopied(false), COPIED_FEEDBACK_MS);
} catch {
toast.error(t('toast.copy_failed'));
}
- }, [content, converter, t]);
+ }, [content, formatLabel, t]);
- const handleDownload = useCallback(() => {
- if (!content) return;
+ const handleDownload = useCallback(async () => {
+ if (!content || error) return;
const filename = `output.${outputExt}`;
- let blob: Blob;
- if (!isReverse && converter.meta.binary) {
- // Decode encoded text back to raw bytes so the downloaded file is a
- // real binary BSON / CBOR / MessagePack payload.
- const encoding = (options?.['encoding'] ?? 'base64') as 'base64' | 'hex';
- const bytes = decodeBytes(content, encoding);
- // .slice() copies into a fresh ArrayBuffer (not SharedArrayBuffer),
- // which is what Blob's typed constructor accepts.
- blob = new Blob([bytes.slice()], { type: outputMime });
- } else {
- blob = new Blob([content], { type: outputMime });
+ try {
+ const blob =
+ !isReverse && converter.meta.binary
+ ? // Decode the displayed text back to raw bytes so the file is real
+ // BSON / CBOR / MessagePack. .slice() yields a plain ArrayBuffer view.
+ new Blob(
+ [
+ decodeBytes(
+ content,
+ (options?.['encoding'] as Encoding | undefined) ?? 'base64',
+ ).slice(),
+ ],
+ { type: outputMime },
+ )
+ : new Blob([content], { type: outputMime });
+ if (isTauri()) {
+ // Android WebViews ignore ; desktop webviews are inconsistent.
+ const saved = await nativeSaveBlob(blob, filename, {
+ name: formatLabel,
+ extensions: [outputExt],
+ });
+ if (saved) toast.success(t('toast.downloaded', { filename }));
+ return;
+ }
+ downloadBlob(blob, filename);
+ toast.success(t('toast.downloaded', { filename }));
+ } catch (err) {
+ toast.error(t('toast.download_failed', { message: errorMessage(err) }));
}
- const url = URL.createObjectURL(blob);
- const a = document.createElement('a');
- a.href = url;
- a.download = filename;
- a.click();
- URL.revokeObjectURL(url);
- toast.success(t('toast.downloaded', { filename }));
- }, [content, converter, isReverse, outputExt, outputMime, options, t]);
+ }, [content, converter, error, formatLabel, isReverse, options, outputExt, outputMime, t]);
useEffect(() => {
- registerActions?.({ copy: handleCopy, download: handleDownload });
+ registerActions?.({ copy: () => void handleCopy(), download: () => void handleDownload() });
}, [registerActions, handleCopy, handleDownload]);
const disabled = !content || !!error;
return (
-
-
-
- {t('home.output_label')}
-
-
· .{outputExt}
+
+
+ {t('home.output_label')}
+ .{outputExt}
+ {pending && (
+
+ )}
-
+
: }
+ onClick={() => void handleCopy()}
+ label={t('home.copy')}
+ visibleLabel={copied ? t('home.copied') : t('home.copy')}
+ icon={
+ copied ? (
+
+ ) : (
+
+ )
+ }
disabled={disabled}
/>
void handleDownload()}
label={t('home.download')}
- icon={ }
+ icon={ }
disabled={disabled}
/>
-
+
{error ? (
-
{error}
+
+ {error}
+
) : content ? (
-
- {content}
-
+
) : (
-
+
{isReverse
? t('home.output_empty_format', {
ext: converter.meta.extension.toUpperCase(),
diff --git a/src/components/converter/SettingsPanel.tsx b/src/components/converter/SettingsPanel.tsx
index 1ad1d7f..567cfcb 100644
--- a/src/components/converter/SettingsPanel.tsx
+++ b/src/components/converter/SettingsPanel.tsx
@@ -1,3 +1,4 @@
+import { useState } from 'react';
import { useTranslation } from 'react-i18next';
import { RotateCcw, Settings2 } from 'lucide-react';
import {
@@ -47,18 +48,23 @@ export function SettingsPanel({
-
+
{t('home.options')}
-
+
- {formatLabel} {' '}
-
+ {formatLabel} {' '}
+
· {t('settings.title')}
@@ -67,12 +73,12 @@ export function SettingsPanel({
-
+
{hasFields ? (
{schema.map((field) => (
setField(field.key, v)}
@@ -80,20 +86,23 @@ export function SettingsPanel({
))}
) : (
-
+
{t('settings.no_options_long')}
)}
{hasFields && (
-
+
-
+
{t('settings.reset')}
@@ -111,23 +120,18 @@ interface FieldRendererProps {
function FieldRenderer({ field, value, onChange }: FieldRendererProps) {
const { t } = useTranslation();
+ const id = `field-${field.key}`;
+ const descriptionId = field.descriptionKey ? `${id}-desc` : undefined;
+ const description = field.descriptionKey && (
+
+ {t(field.descriptionKey)}
+
+ );
- return (
-
-
-
- {t(field.labelKey)}
-
- {field.type === 'boolean' && (
- onChange(v)}
- />
- )}
-
-
- {field.type === 'enum' && (
+ if (field.type === 'enum') {
+ return (
+
+ {t(field.labelKey)}
{field.choices.map((choice) => {
const active = String(value) === choice.value;
@@ -135,12 +139,13 @@ function FieldRenderer({ field, value, onChange }: FieldRendererProps) {
onChange(choice.value)}
className={cn(
- 'rounded-md border px-2.5 py-1 text-xs font-medium transition',
+ 'min-h-8 rounded-md border px-2.5 text-xs font-medium transition',
active
? 'border-primary/60 bg-primary/10 text-foreground'
- : 'border-border bg-card/40 text-muted-foreground hover:text-foreground',
+ : 'border-border bg-card/60 text-muted-foreground hover:text-foreground',
)}
>
{t(choice.labelKey)}
@@ -148,37 +153,97 @@ function FieldRenderer({ field, value, onChange }: FieldRendererProps) {
);
})}
- )}
+ {description}
+
+ );
+ }
+
+ return (
+
+
+
+ {t(field.labelKey)}
+
+ {field.type === 'boolean' && (
+ onChange(v)}
+ aria-describedby={descriptionId}
+ />
+ )}
+
{field.type === 'integer' && (
-
{
- const n = Number(e.target.value);
- if (Number.isFinite(n)) onChange(n);
- }}
- className="border-border bg-background focus:ring-ring rounded-md border px-3 py-1.5 font-mono text-sm focus:ring-2 focus:outline-none"
+ describedBy={descriptionId}
+ onCommit={onChange}
/>
)}
{field.type === 'string' && (
onChange(e.target.value)}
className="border-border bg-background focus:ring-ring rounded-md border px-3 py-1.5 font-mono text-sm focus:ring-2 focus:outline-none"
/>
)}
- {field.descriptionKey && (
-
{t(field.descriptionKey)}
- )}
+ {description}
);
}
+
+interface IntegerInputProps {
+ id: string;
+ value: number;
+ min: number | undefined;
+ max: number | undefined;
+ describedBy: string | undefined;
+ onCommit: (v: number) => void;
+}
+
+/**
+ * Keeps the raw text while typing (so "", "-" or "1" on the way to "10" are
+ * allowed) and commits a clamped integer when the text parses or on blur.
+ */
+function IntegerInput({ id, value, min, max, describedBy, onCommit }: IntegerInputProps) {
+ const [draft, setDraft] = useState
(null);
+ const clamp = (n: number) => Math.min(max ?? Infinity, Math.max(min ?? -Infinity, Math.trunc(n)));
+
+ return (
+ {
+ const text = e.target.value;
+ setDraft(text);
+ const n = Number(text);
+ if (text.trim() !== '' && Number.isFinite(n) && clamp(n) === n) onCommit(n);
+ }}
+ onBlur={() => {
+ if (draft !== null) {
+ const n = Number(draft);
+ if (draft.trim() !== '' && Number.isFinite(n)) onCommit(clamp(n));
+ setDraft(null);
+ }
+ }}
+ className="border-border bg-background focus:ring-ring rounded-md border px-3 py-1.5 font-mono text-sm focus:ring-2 focus:outline-none"
+ />
+ );
+}
diff --git a/src/components/converter/ShapeHint.tsx b/src/components/converter/ShapeHint.tsx
index 47a0947..0784ca8 100644
--- a/src/components/converter/ShapeHint.tsx
+++ b/src/components/converter/ShapeHint.tsx
@@ -11,10 +11,9 @@ export function ShapeHint({ shape }: ShapeHintProps) {
if (!shape || shape === 'unknown') return null;
return (
-
-
-
{t('shape.detected')}:
-
{t(`shape.${shape}`)}
+
+
+ {t('shape.detected_value', { shape: t(`shape.${shape}`) })}
);
}
diff --git a/src/components/converter/StatusBar.tsx b/src/components/converter/StatusBar.tsx
index a42e139..5705ab8 100644
--- a/src/components/converter/StatusBar.tsx
+++ b/src/components/converter/StatusBar.tsx
@@ -1,24 +1,57 @@
import { useTranslation } from 'react-i18next';
+import { TriangleAlert } from 'lucide-react';
import { modKey } from '@/hooks/useKeyboardShortcuts';
+import { formatBytes } from '@/lib/format-bytes';
+import { cn } from '@/lib/utils';
+
+export type ConversionState = 'idle' | 'working' | 'ok' | 'error';
interface StatusBarProps {
+ state: ConversionState;
inputBytes: number;
outputBytes: number;
- parseMs: number | null;
+ ms: number | null;
+ precisionLoss: boolean;
}
-export function StatusBar({ inputBytes, outputBytes, parseMs }: StatusBarProps) {
+const DOT_TONE: Record
= {
+ idle: 'bg-muted-foreground/50',
+ working: 'bg-warning motion-safe:animate-pulse-dot',
+ ok: 'bg-success',
+ error: 'bg-destructive',
+};
+
+/** Terminal-style footer: state light, bytes in → out, timing, encoding, shortcuts. */
+export function StatusBar({ state, inputBytes, outputBytes, ms, precisionLoss }: StatusBarProps) {
const { t } = useTranslation();
return (
-
-
-
-
- {parseMs !== null &&
}
+
+
+
+
+ {t(`status.state.${state}`)}
+
+
+ {t('status.in')} {formatBytes(inputBytes)}
+
+ →
+
+ {t('status.out')} {formatBytes(outputBytes)}
+
+ {ms !== null && {t('status.time_value', { ms: ms.toFixed(1) })} }
+ {precisionLoss && (
+
+
+ {t('status.precision')}
+
+ )}
-
-
+
+ UTF-8
@@ -26,29 +59,11 @@ export function StatusBar({ inputBytes, outputBytes, parseMs }: StatusBarProps)
);
}
-function Stat({ label, value }: { label: string; value: string }) {
- return (
-
- {label}:
- {value}
-
- );
-}
-
function Shortcut({ keys, label }: { keys: string; label: string }) {
return (
-
- {keys}
-
- {label}
+ {keys}
+ {label}
);
}
-
-function formatBytes(bytes: number): string {
- if (bytes === 0) return '0 B';
- if (bytes < 1024) return `${bytes} B`;
- if (bytes < 1024 * 1024) return `${(bytes / 1024).toFixed(1)} KB`;
- return `${(bytes / 1024 / 1024).toFixed(2)} MB`;
-}
diff --git a/src/components/converter/__tests__/BatchItemRow.test.tsx b/src/components/converter/__tests__/BatchItemRow.test.tsx
new file mode 100644
index 0000000..4d926ff
--- /dev/null
+++ b/src/components/converter/__tests__/BatchItemRow.test.tsx
@@ -0,0 +1,118 @@
+import { beforeEach, describe, expect, it, vi } from 'vitest';
+import { act, render, screen } from '@testing-library/react';
+import userEvent from '@testing-library/user-event';
+import '@/i18n';
+import { useBatchStore, type BatchItem } from '@/stores/batchStore';
+import { BatchItemRow } from '../BatchItemRow';
+
+function queue(name: string, bytes: number): string {
+ useBatchStore.getState().addFiles([new File(['x'.repeat(bytes)], name)]);
+ const { itemOrder } = useBatchStore.getState();
+ return itemOrder[itemOrder.length - 1]!;
+}
+
+function update(id: string, patch: Partial
): void {
+ act(() => useBatchStore.getState().updateItem(id, patch));
+}
+
+function renderRow(id: string, { disabled = false, outputExt = 'csv' } = {}) {
+ const onRemove = vi.fn<(id: string) => void>();
+ const view = render(
+ ,
+ );
+ return { ...view, onRemove };
+}
+
+beforeEach(() => {
+ useBatchStore.getState().clear();
+});
+
+describe('BatchItemRow', () => {
+ it('renders nothing for an id that is not in the queue', () => {
+ const { container } = renderRow('missing');
+ expect(container.querySelector('li')).toBeNull();
+ });
+
+ it('shows a queued file with its size and target extension', () => {
+ const id = queue('data.json', 2048);
+ renderRow(id);
+
+ expect(screen.getByText('data.json')).toBeInTheDocument();
+ expect(screen.getByText('→ .csv')).toBeInTheDocument();
+ expect(screen.getByText('2.0 KB')).toBeInTheDocument();
+ expect(screen.getByText('queued')).toHaveClass('sr-only');
+ expect(screen.queryByText(/^out:/)).not.toBeInTheDocument();
+ expect(screen.getByRole('button', { name: 'Remove data.json from queue' })).toBeEnabled();
+ });
+
+ it('shows a spinner while the file is processing', () => {
+ const id = queue('data.json', 10);
+ const { container } = renderRow(id);
+
+ update(id, { status: 'processing' });
+
+ expect(screen.getByText('processing')).toHaveClass('sr-only');
+ expect(container.querySelector('svg.motion-safe\\:animate-spin')).not.toBeNull();
+ });
+
+ it('shows the output size once the file is converted', () => {
+ const id = queue('data.json', 10);
+ renderRow(id);
+
+ update(id, { status: 'done', output: 'a,b\n', outputSize: 1536 });
+
+ expect(screen.getByText('done')).toHaveClass('sr-only');
+ expect(screen.getByText('out: 1.5 KB')).toBeInTheDocument();
+ });
+
+ it('translates known error codes', () => {
+ const id = queue('empty.json', 0);
+ renderRow(id);
+
+ update(id, { status: 'error', error: 'Empty file.', errorCode: 'empty_file' });
+
+ expect(screen.getByText('failed')).toHaveClass('sr-only');
+ expect(screen.getByText('The file is empty.')).toBeInTheDocument();
+ expect(screen.queryByText('Empty file.')).not.toBeInTheDocument();
+ });
+
+ it("shows the converter's own message for other errors", () => {
+ const id = queue('broken.json', 5);
+ renderRow(id);
+
+ update(id, { status: 'error', error: 'Unexpected end of JSON input' });
+
+ expect(screen.getByText('Unexpected end of JSON input')).toHaveClass('text-destructive');
+ });
+
+ it('removes the row through onRemove', async () => {
+ const id = queue('data.json', 10);
+ const { onRemove } = renderRow(id);
+
+ await userEvent.click(screen.getByRole('button', { name: 'Remove data.json from queue' }));
+
+ expect(onRemove).toHaveBeenCalledWith(id);
+ });
+
+ it('cannot be removed while the batch is processing', async () => {
+ const id = queue('data.json', 10);
+ const { onRemove } = renderRow(id, { disabled: true });
+
+ const remove = screen.getByRole('button', { name: 'Remove data.json from queue' });
+ expect(remove).toBeDisabled();
+ await userEvent.click(remove);
+ expect(onRemove).not.toHaveBeenCalled();
+ });
+
+ it('disappears when its item leaves the queue', () => {
+ const id = queue('data.json', 10);
+ const { container } = renderRow(id, { outputExt: 'json' });
+ expect(screen.getByText('→ .json')).toBeInTheDocument();
+
+ act(() => useBatchStore.getState().removeItem(id));
+
+ expect(container.querySelector('li')).toBeNull();
+ });
+});
diff --git a/src/components/converter/__tests__/BatchPanel.test.tsx b/src/components/converter/__tests__/BatchPanel.test.tsx
new file mode 100644
index 0000000..bec7ddf
--- /dev/null
+++ b/src/components/converter/__tests__/BatchPanel.test.tsx
@@ -0,0 +1,465 @@
+import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest';
+import { act, cleanup, fireEvent, render, screen, waitFor, within } from '@testing-library/react';
+import userEvent, { type UserEvent } from '@testing-library/user-event';
+import { clearMocks, mockIPC } from '@tauri-apps/api/mocks';
+import '@/i18n';
+import { toast } from '@/components/ui/sonner';
+import type { Direction, FormatId } from '@/converters/types';
+import { pathHashAsMillis } from '@/lib/tauri';
+import { BATCH_MAX_FILES, useBatchStore } from '@/stores/batchStore';
+import { BatchPanel } from '../BatchPanel';
+
+function jsonFile(name: string, content = '[{"id":1}]'): File {
+ return new File([content], name, { type: 'application/json', lastModified: 1_700_000_000_000 });
+}
+
+/** Queues files directly through the store; returns their ids. */
+function seed(...files: File[]): string[] {
+ const before = useBatchStore.getState().itemOrder.length;
+ act(() => {
+ useBatchStore.getState().addFiles(files);
+ });
+ return useBatchStore.getState().itemOrder.slice(before);
+}
+
+function queuedNames(): string[] {
+ const { items, itemOrder } = useBatchStore.getState();
+ return itemOrder.map((id) => items[id]?.filename ?? '?');
+}
+
+function renderPanel({
+ format = 'jsonl' as FormatId,
+ direction = 'forward' as Direction,
+ open = true,
+}: { format?: FormatId; direction?: Direction; open?: boolean } = {}) {
+ const onOpenChange = vi.fn<(open: boolean) => void>();
+ const view = render(
+ ,
+ );
+ return { ...view, onOpenChange };
+}
+
+/** The hidden ` ` the browse button forwards to. */
+function browseInput(): HTMLInputElement {
+ const input = document.querySelector('input[type="file"].hidden');
+ if (!input) throw new Error('browse input not rendered');
+ return input;
+}
+
+function dropZone(): HTMLElement {
+ const zone = browseInput().parentElement;
+ if (!zone) throw new Error('drop zone not rendered');
+ return zone;
+}
+
+/** A drag event payload as react-dropzone reads it (jsdom has no DataTransfer). */
+function withFiles(files: File[]) {
+ return {
+ dataTransfer: {
+ files,
+ items: files.map((file) => ({ kind: 'file', type: file.type, getAsFile: () => file })),
+ types: ['Files'],
+ },
+ };
+}
+
+function chip(label: string): HTMLElement {
+ return within(screen.getByRole('status')).getByText(label).parentElement!;
+}
+
+const button = (name: string | RegExp) => screen.getByRole('button', { name });
+
+let user: UserEvent;
+
+beforeEach(() => {
+ // No artificial delays between pointer steps; `accept` is only a hint, so
+ // uploads reach the component's own extension filter.
+ user = userEvent.setup({ delay: null, applyAccept: false });
+ useBatchStore.getState().clear();
+ vi.spyOn(toast, 'success').mockImplementation(() => 0);
+ vi.spyOn(toast, 'warning').mockImplementation(() => 0);
+ vi.spyOn(toast, 'info').mockImplementation(() => 0);
+ vi.spyOn(toast, 'error').mockImplementation(() => 0);
+});
+
+afterEach(() => {
+ cleanup();
+ vi.unstubAllGlobals();
+ vi.restoreAllMocks();
+});
+
+describe('BatchPanel trigger', () => {
+ it('shows how many files are queued and asks to open the sheet', async () => {
+ seed(jsonFile('a.json'), jsonFile('b.json'), jsonFile('c.json'));
+ const { onOpenChange } = renderPanel({ open: false });
+
+ const trigger = button(/Batch/);
+ expect(trigger).toHaveTextContent('Batch3');
+ expect(screen.queryByRole('dialog')).not.toBeInTheDocument();
+
+ await user.click(trigger);
+ expect(onOpenChange).toHaveBeenCalledWith(true);
+ });
+
+ it('shows no count while the queue is empty', () => {
+ renderPanel({ open: false });
+ expect(button(/Batch/)).toHaveTextContent(/^Batch$/);
+ });
+});
+
+describe('BatchPanel sheet', () => {
+ it('renders an empty queue with every action disabled', () => {
+ renderPanel();
+
+ expect(screen.getByRole('dialog', { name: 'Batch queue 0 / 500' })).toBeInTheDocument();
+ expect(
+ screen.getByText(
+ 'Process multiple JSON files into JSONL at once. All processing happens on your device.',
+ ),
+ ).toBeInTheDocument();
+ expect(screen.getByText('Drop JSON files here')).toBeInTheDocument();
+ expect(
+ screen.getByText('No files queued yet. Drop JSON files above to begin.'),
+ ).toBeInTheDocument();
+ expect(screen.queryByRole('status')).not.toBeInTheDocument();
+ expect(button('Clear')).toBeDisabled();
+ expect(button('Process')).toBeDisabled();
+ expect(button('Download .zip')).toBeDisabled();
+ });
+
+ it('labels everything for the reverse direction', () => {
+ seed(new File(['a: 1'], 'config.yaml'));
+ renderPanel({ format: 'yaml', direction: 'reverse' });
+
+ expect(
+ screen.getByText(
+ 'Process multiple YAML files into JSON at once. All processing happens on your device.',
+ ),
+ ).toBeInTheDocument();
+ expect(screen.getByText('Drop YAML files here')).toBeInTheDocument();
+ expect(screen.getByText('→ .json')).toBeInTheDocument();
+ expect(browseInput()).toHaveAttribute('accept', '.yaml,.yml,.txt,application/yaml');
+ });
+
+ it('lists queued files with live summary counts', () => {
+ const [, done, failed] = seed(jsonFile('a.json'), jsonFile('b.json'), jsonFile('c.json'));
+ act(() => {
+ useBatchStore.getState().updateItem(done!, { status: 'done', output: '{"id":1}\n' });
+ useBatchStore.getState().updateItem(failed!, { status: 'error', error: 'Bad JSON' });
+ });
+ renderPanel();
+
+ expect(screen.getByRole('dialog', { name: 'Batch queue 3 / 500' })).toBeInTheDocument();
+ expect(chip('queued')).toHaveTextContent('queued1');
+ expect(chip('done')).toHaveTextContent('done1');
+ expect(chip('failed')).toHaveTextContent('failed1');
+ const list = screen.getByRole('list');
+ expect(within(list).getAllByRole('listitem')).toHaveLength(3);
+ expect(within(list).getAllByText('→ .jsonl')).toHaveLength(3);
+ expect(button('Clear')).toBeEnabled();
+ expect(button('Process')).toBeEnabled();
+ expect(button('Download .zip')).toBeEnabled();
+ });
+
+ it('closes from the sheet close button', async () => {
+ const { onOpenChange } = renderPanel();
+
+ await user.click(button('Close'));
+
+ expect(onOpenChange).toHaveBeenCalledWith(false);
+ });
+});
+
+describe('BatchPanel adding files (web)', () => {
+ it('forwards the browse button to the hidden file input', async () => {
+ renderPanel();
+ const click = vi.spyOn(browseInput(), 'click').mockImplementation(() => {});
+
+ await user.click(button('or click to browse…'));
+
+ expect(click).toHaveBeenCalledTimes(1);
+ });
+
+ it('queues picked files, skipping the wrong format, and resets the input', async () => {
+ renderPanel();
+ const input = browseInput();
+
+ await user.upload(input, [jsonFile('a.json'), new File(['x,y'], 'table.csv')]);
+
+ expect(queuedNames()).toEqual(['a.json']);
+ expect(toast.success).toHaveBeenCalledWith('Added 1 file to the queue');
+ expect(toast.warning).toHaveBeenCalledWith('Skipped 1 file (wrong format)');
+ expect(input.value).toBe('');
+ expect(screen.getByRole('dialog', { name: 'Batch queue 1 / 500' })).toBeInTheDocument();
+ });
+
+ it('ignores an empty selection', () => {
+ renderPanel();
+
+ fireEvent.change(browseInput(), { target: { files: [] } });
+
+ expect(queuedNames()).toEqual([]);
+ expect(toast.success).not.toHaveBeenCalled();
+ expect(toast.warning).not.toHaveBeenCalled();
+ });
+
+ it('adds nothing when every picked file has the wrong format', async () => {
+ renderPanel();
+
+ await user.upload(browseInput(), [new File(['x,y'], 'table.csv')]);
+
+ expect(queuedNames()).toEqual([]);
+ expect(toast.warning).toHaveBeenCalledWith('Skipped 1 file (wrong format)');
+ expect(toast.success).not.toHaveBeenCalled();
+ });
+
+ it('reports duplicates', async () => {
+ const data = jsonFile('data.json');
+ seed(data);
+ renderPanel();
+
+ await user.upload(browseInput(), [data]);
+
+ expect(queuedNames()).toEqual(['data.json']);
+ expect(toast.warning).toHaveBeenCalledWith('Skipped 1 duplicate file');
+ expect(toast.success).not.toHaveBeenCalled();
+ });
+
+ it('reports files beyond the queue limit', async () => {
+ seed(...Array.from({ length: BATCH_MAX_FILES - 1 }, (_, i) => jsonFile(`f${i}.json`)));
+ renderPanel();
+
+ await user.upload(browseInput(), [jsonFile('x.json'), jsonFile('y.json')]);
+
+ expect(useBatchStore.getState().itemOrder).toHaveLength(BATCH_MAX_FILES);
+ expect(toast.success).toHaveBeenCalledWith('Added 1 file to the queue');
+ expect(toast.warning).toHaveBeenCalledWith('Skipped 1 file (limit: 500)');
+ });
+
+ it('highlights the drop zone while dragging and queues dropped files', async () => {
+ renderPanel();
+ const file = jsonFile('dropped.json');
+
+ fireEvent.dragEnter(dropZone(), withFiles([file]));
+ expect(await screen.findByText('Release to add files')).toBeInTheDocument();
+
+ fireEvent.drop(dropZone(), withFiles([file]));
+
+ await waitFor(() => expect(queuedNames()).toEqual(['dropped.json']));
+ expect(toast.success).toHaveBeenCalledWith('Added 1 file to the queue');
+ expect(screen.getByText('Drop JSON files here')).toBeInTheDocument();
+ });
+
+ it('warns when the drop contains files of another type', async () => {
+ renderPanel();
+
+ fireEvent.drop(dropZone(), withFiles([new File(['x,y'], 'table.csv', { type: 'text/csv' })]));
+
+ await waitFor(() =>
+ expect(toast.warning).toHaveBeenCalledWith('Skipped 1 file (wrong format)'),
+ );
+ expect(queuedNames()).toEqual([]);
+ });
+});
+
+describe('BatchPanel queue actions', () => {
+ it('processes the queue and offers the outputs as a zip', async () => {
+ const createObjectURL = vi.spyOn(URL, 'createObjectURL').mockReturnValue('blob:batch');
+ vi.spyOn(URL, 'revokeObjectURL').mockImplementation(() => {});
+ const downloads: string[] = [];
+ vi.spyOn(HTMLAnchorElement.prototype, 'click').mockImplementation(function (
+ this: HTMLAnchorElement,
+ ) {
+ downloads.push(this.download);
+ });
+ seed(jsonFile('one.json', '[{"a":1}]'), jsonFile('two.json', '[{"b":2},{"c":3}]'));
+ renderPanel();
+
+ await user.click(button('Process'));
+
+ await waitFor(() => expect(chip('done')).toHaveTextContent('done2'));
+ expect(chip('queued')).toHaveTextContent('queued0');
+ expect(screen.getByText('out: 8 B')).toBeInTheDocument();
+ expect(screen.getByText('out: 16 B')).toBeInTheDocument();
+ await waitFor(() => expect(button('Process')).toBeEnabled());
+
+ await user.click(button('Download .zip'));
+
+ await waitFor(() => expect(toast.success).toHaveBeenCalledWith('Packed 2 files into a .zip'));
+ expect(createObjectURL).toHaveBeenCalledTimes(1);
+ expect(downloads).toHaveLength(1);
+ expect(downloads[0]).toMatch(/^jsonprism-batch-\d{4}-\d{2}-\d{2}\.zip$/);
+ });
+
+ it('swaps Process for Cancel while a batch runs', async () => {
+ const [running] = seed(jsonFile('a.json'), jsonFile('b.json'));
+ const controller = new AbortController();
+ act(() => {
+ useBatchStore.getState().setAbortController(controller);
+ useBatchStore.getState().setProcessing(true);
+ useBatchStore.getState().updateItem(running!, { status: 'processing' });
+ });
+ renderPanel();
+
+ // The row being converted is neither queued, done nor failed.
+ expect(chip('queued')).toHaveTextContent('queued1');
+ expect(chip('done')).toHaveTextContent('done0');
+ expect(screen.queryByRole('button', { name: 'Process' })).not.toBeInTheDocument();
+ expect(button('Clear')).toBeDisabled();
+ expect(button('Download .zip')).toBeDisabled();
+ expect(button('Remove a.json from queue')).toBeDisabled();
+
+ await user.click(button('Cancel'));
+
+ expect(controller.signal.aborted).toBe(true);
+ expect(toast.info).toHaveBeenCalledWith('Batch cancelled');
+ });
+
+ it('removes single rows and clears the queue', async () => {
+ seed(jsonFile('a.json'), jsonFile('b.json'));
+ renderPanel();
+
+ await user.click(button('Remove a.json from queue'));
+ expect(queuedNames()).toEqual(['b.json']);
+ expect(screen.queryByText('a.json')).not.toBeInTheDocument();
+
+ await user.click(button('Clear'));
+ expect(queuedNames()).toEqual([]);
+ expect(
+ screen.getByText('No files queued yet. Drop JSON files above to begin.'),
+ ).toBeInTheDocument();
+ });
+
+ it('aborts a running batch when its queue empties', () => {
+ const [only] = seed(jsonFile('a.json'));
+ const controller = new AbortController();
+ act(() => {
+ useBatchStore.getState().setAbortController(controller);
+ useBatchStore.getState().setProcessing(true);
+ });
+ renderPanel();
+ expect(controller.signal.aborted).toBe(false);
+
+ act(() => useBatchStore.getState().removeItem(only!));
+
+ expect(controller.signal.aborted).toBe(true);
+ });
+});
+
+describe('BatchPanel native picker (Tauri)', () => {
+ const ANDROID_URI = 'content://com.android.providers.media.documents/document/msf%3A1000000123';
+ let ipc: [string, Record][];
+ let picked: string[] | null;
+ let unreadable: string | null;
+
+ beforeEach(() => {
+ ipc = [];
+ picked = ['/home/me/a.json', ANDROID_URI];
+ unreadable = null;
+ // fileFromNativePath logs the stat() fallback at debug level.
+ vi.spyOn(console, 'debug').mockImplementation(() => {});
+ vi.stubGlobal('__IS_TAURI_BUILD__', true);
+ mockIPC((cmd, payload) => {
+ const args = (payload ?? {}) as Record;
+ ipc.push([cmd, args]);
+ switch (cmd) {
+ case 'plugin:dialog|open':
+ return picked;
+ case 'plugin:fs|read_text_file':
+ if (args['path'] === unreadable) throw new Error('permission denied');
+ return Array.from(new TextEncoder().encode('[{"id":1}]'));
+ case 'plugin:fs|stat':
+ // stat() on Android content URIs is unreliable.
+ if (String(args['path']).startsWith('content://')) throw new Error('unsupported');
+ return { mtime: 1_700_000_000_000 };
+ default:
+ throw new Error(`Unexpected IPC command ${cmd}`);
+ }
+ });
+ });
+
+ afterEach(() => {
+ cleanup();
+ clearMocks();
+ Reflect.deleteProperty(window, '__TAURI_INTERNALS__');
+ Reflect.deleteProperty(window, '__TAURI_EVENT_PLUGIN_INTERNALS__');
+ });
+
+ const dialogOptions = () => ipc.find(([cmd]) => cmd === 'plugin:dialog|open')?.[1]['options'];
+
+ it('queues files chosen in the native dialog, keeping extension-less Android picks', async () => {
+ renderPanel();
+ const webPicker = vi.spyOn(browseInput(), 'click');
+
+ await user.click(button('or click to browse…'));
+
+ await waitFor(() => expect(queuedNames()).toEqual(['a.json', '1000000123']));
+ const { items, itemOrder } = useBatchStore.getState();
+ // Real mtime where stat() works, a stable path hash where it does not.
+ expect(itemOrder.map((id) => items[id]!.file.lastModified)).toEqual([
+ 1_700_000_000_000,
+ pathHashAsMillis(ANDROID_URI),
+ ]);
+ expect(webPicker).not.toHaveBeenCalled();
+ expect(dialogOptions()).toEqual({
+ multiple: true,
+ filters: [
+ { name: 'JSON', extensions: ['json'] },
+ { name: 'Text', extensions: ['txt'] },
+ ],
+ });
+ expect(toast.success).toHaveBeenCalledWith('Added 2 files to the queue');
+ expect(toast.warning).not.toHaveBeenCalled();
+ });
+
+ it('offers the source format in reverse mode and does nothing on cancel', async () => {
+ picked = null;
+ renderPanel({ format: 'yaml', direction: 'reverse' });
+
+ await user.click(button('or click to browse…'));
+
+ await waitFor(() =>
+ expect(dialogOptions()).toEqual({
+ multiple: true,
+ filters: [
+ { name: 'YAML', extensions: ['yaml', 'yml'] },
+ { name: 'Text', extensions: ['txt'] },
+ ],
+ }),
+ );
+ expect(ipc.map(([cmd]) => cmd)).toEqual(['plugin:dialog|open']);
+ expect(queuedNames()).toEqual([]);
+ expect(toast.success).not.toHaveBeenCalled();
+ });
+
+ it('does nothing when the dialog returns no paths', async () => {
+ picked = [];
+ renderPanel();
+
+ await user.click(button('or click to browse…'));
+
+ await waitFor(() => expect(dialogOptions()).toBeDefined());
+ expect(queuedNames()).toEqual([]);
+ expect(toast.success).not.toHaveBeenCalled();
+ expect(toast.error).not.toHaveBeenCalled();
+ });
+
+ it('reports files the native side cannot read', async () => {
+ picked = ['/home/me/a.json'];
+ unreadable = '/home/me/a.json';
+ renderPanel();
+
+ await user.click(button('or click to browse…'));
+
+ await waitFor(() =>
+ expect(toast.error).toHaveBeenCalledWith('Failed to load file: permission denied'),
+ );
+ expect(queuedNames()).toEqual([]);
+ });
+});
diff --git a/src/components/converter/__tests__/BatchSummaryChips.test.tsx b/src/components/converter/__tests__/BatchSummaryChips.test.tsx
new file mode 100644
index 0000000..01c8e06
--- /dev/null
+++ b/src/components/converter/__tests__/BatchSummaryChips.test.tsx
@@ -0,0 +1,41 @@
+import { describe, expect, it } from 'vitest';
+import { render, screen, within } from '@testing-library/react';
+import '@/i18n';
+import { BatchSummaryChips } from '../BatchSummaryChips';
+
+function chip(label: string): HTMLElement {
+ const chipElement = within(screen.getByRole('status')).getByText(label).parentElement;
+ if (!chipElement) throw new Error(`no chip for ${label}`);
+ return chipElement;
+}
+
+describe('BatchSummaryChips', () => {
+ it('announces queued and done counts in a polite live region', () => {
+ render( );
+
+ const region = screen.getByRole('status');
+ expect(region).toHaveAttribute('aria-live', 'polite');
+ expect(chip('queued')).toHaveTextContent('queued3');
+ expect(chip('done')).toHaveTextContent('done1');
+ expect(within(region).queryByText('failed')).not.toBeInTheDocument();
+ });
+
+ it('adds a failed chip only when something failed', () => {
+ render( );
+
+ expect(chip('failed')).toHaveTextContent('failed2');
+ expect(chip('failed')).toHaveClass('text-destructive');
+ expect(chip('done')).toHaveClass('text-success');
+ expect(chip('queued')).toHaveClass('bg-muted');
+ });
+
+ it('updates the live region as counts change', () => {
+ const { rerender } = render( );
+
+ rerender( );
+
+ expect(chip('queued')).toHaveTextContent('queued0');
+ expect(chip('done')).toHaveTextContent('done1');
+ expect(chip('failed')).toHaveTextContent('failed1');
+ });
+});
diff --git a/src/components/converter/__tests__/CodeEditor.test.tsx b/src/components/converter/__tests__/CodeEditor.test.tsx
new file mode 100644
index 0000000..18c007a
--- /dev/null
+++ b/src/components/converter/__tests__/CodeEditor.test.tsx
@@ -0,0 +1,252 @@
+import { afterAll, afterEach, beforeAll, describe, expect, it, vi } from 'vitest';
+import { act, createEvent, fireEvent, render } from '@testing-library/react';
+import { EditorView } from '@codemirror/view';
+import { diagnosticCount, forceLinting } from '@codemirror/lint';
+import i18n from 'i18next';
+import '@/i18n';
+import { parseJsonInput } from '@/lib/detect';
+import { editorLanguageFor } from '@/lib/editor-language';
+import { ThemeProvider, type Theme } from '@/lib/theme';
+import { CodeEditor, type CodeEditorProps, type EditorLanguage } from '../CodeEditor';
+
+// jsdom has no layout engine; CodeMirror measures text ranges to draw the
+// cursor and selection layers. Empty geometry is enough for these tests.
+const emptyRect = { x: 0, y: 0, width: 0, height: 0, top: 0, right: 0, bottom: 0, left: 0 };
+const rangeGeometry = ['getClientRects', 'getBoundingClientRect'] as const;
+const originalGeometry = rangeGeometry.map((key) =>
+ Object.getOwnPropertyDescriptor(Range.prototype, key),
+);
+
+beforeAll(() => {
+ Range.prototype.getClientRects = () => [] as unknown as DOMRectList;
+ Range.prototype.getBoundingClientRect = () => ({ ...emptyRect, toJSON: () => emptyRect });
+});
+
+afterAll(() => {
+ rangeGeometry.forEach((key, i) => {
+ const original = originalGeometry[i];
+ if (original) Object.defineProperty(Range.prototype, key, original);
+ else Reflect.deleteProperty(Range.prototype, key);
+ });
+});
+
+afterEach(async () => {
+ await i18n.changeLanguage('en');
+});
+
+function renderEditor(props: CodeEditorProps, theme: Theme = 'dark') {
+ const utils = render(
+
+
+ ,
+ );
+ const root = utils.container.querySelector('.cm-editor')!;
+ const content = utils.container.querySelector('.cm-content')!;
+ const view = EditorView.findFromDOM(root)!;
+ const rerender = (next: CodeEditorProps) =>
+ utils.rerender(
+
+
+ ,
+ );
+ return { ...utils, root, content, view, rerender };
+}
+
+/** Replace the whole document, as typing or pasting would. */
+function typeInto(view: EditorView, text: string) {
+ act(() => {
+ view.dispatch({
+ changes: { from: 0, to: view.state.doc.length, insert: text },
+ userEvent: 'input.type',
+ });
+ });
+}
+
+async function lintNow(view: EditorView): Promise {
+ await act(async () => {
+ forceLinting(view);
+ });
+ return diagnosticCount(view.state);
+}
+
+describe('CodeEditor — editable', () => {
+ it('renders the value in a labelled, editable textbox', () => {
+ const { content, view, container } = renderEditor({
+ value: '{"a":1}',
+ ariaLabel: 'Input JSON',
+ });
+ expect(view.state.doc.toString()).toBe('{"a":1}');
+ expect(content).toHaveAttribute('role', 'textbox');
+ expect(content).toHaveAttribute('aria-label', 'Input JSON');
+ expect(content).toHaveAttribute('contenteditable', 'true');
+ expect(content).not.toHaveAttribute('aria-readonly');
+ expect(content).toHaveAttribute('data-language', 'json');
+ expect(content).toHaveClass('cm-lineWrapping');
+ expect(container.querySelector('.cm-lineNumbers')).not.toBeNull();
+ expect(container.querySelector('.cm-gutter-lint')).not.toBeNull();
+ });
+
+ it('shows the placeholder while empty', () => {
+ const { container } = renderEditor({ value: '', placeholder: 'Paste your JSON here…' });
+ expect(container.querySelector('.cm-placeholder')).toHaveTextContent('Paste your JSON here…');
+ });
+
+ it('reports user edits through onChange', () => {
+ const onChange = vi.fn();
+ const { view } = renderEditor({ value: '', onChange });
+ typeInto(view, '[1, 2]');
+ expect(onChange).toHaveBeenLastCalledWith('[1, 2]', expect.anything());
+ });
+
+ it('follows the value prop without echoing it back', () => {
+ const onChange = vi.fn();
+ const { view, rerender } = renderEditor({ value: 'a', onChange });
+ rerender({ value: '{"loaded":true}', onChange });
+ expect(view.state.doc.toString()).toBe('{"loaded":true}');
+ expect(onChange).not.toHaveBeenCalled();
+ });
+
+ it('tolerates a missing onChange', () => {
+ const { view } = renderEditor({ value: '' });
+ typeInto(view, '{}');
+ expect(view.state.doc.toString()).toBe('{}');
+ });
+});
+
+describe('CodeEditor — read-only', () => {
+ it('marks the content read-only and drops the editing chrome', () => {
+ const { content, container } = renderEditor({
+ value: 'a: 1',
+ readOnly: true,
+ language: 'yaml',
+ ariaLabel: 'YAML output (read-only)',
+ });
+ expect(content).toHaveAttribute('contenteditable', 'false');
+ expect(content).toHaveAttribute('aria-readonly', 'true');
+ expect(content).toHaveAttribute('aria-label', 'YAML output (read-only)');
+ expect(container.querySelector('.cm-lineNumbers')).not.toBeNull();
+ expect(container.querySelector('.cm-activeLine')).toBeNull();
+ expect(container.querySelector('.cm-gutter-lint')).toBeNull();
+ });
+
+ it('does not lint read-only JSON', async () => {
+ const { view } = renderEditor({ value: '{"broken":', readOnly: true });
+ expect(await lintNow(view)).toBe(0);
+ });
+});
+
+describe('CodeEditor — languages', () => {
+ it.each<[EditorLanguage, string | null]>([
+ ['json', 'json'],
+ ['jsonl', 'json'],
+ ['yaml', 'yaml'],
+ ['xml', 'xml'],
+ ['markdown', 'markdown'],
+ ['sql', 'sql'],
+ ['toml', 'toml'],
+ ['plain', null],
+ ])('loads the %s language pack', (language, expected) => {
+ const { content } = renderEditor({ value: 'x', language, readOnly: true });
+ if (expected) expect(content).toHaveAttribute('data-language', expected);
+ else expect(content).not.toHaveAttribute('data-language');
+ });
+
+ it('defaults to JSON', () => {
+ const { content } = renderEditor({ value: '[]' });
+ expect(content).toHaveAttribute('data-language', 'json');
+ });
+});
+
+describe('CodeEditor — JSON linting', () => {
+ it('flags invalid JSON but not an empty or blank editor', async () => {
+ const { view } = renderEditor({ value: '' });
+ expect(await lintNow(view)).toBe(0);
+
+ typeInto(view, '{"a": 1,');
+ expect(await lintNow(view)).toBeGreaterThan(0);
+
+ typeInto(view, ' \n\t ');
+ expect(await lintNow(view)).toBe(0);
+
+ typeInto(view, '{"a": 1}');
+ expect(await lintNow(view)).toBe(0);
+ });
+
+ // Regression: JSONL typed in reverse mode used the JSON linter, which marked
+ // every valid multi-line document as an error.
+ it('does not flag valid JSONL typed in reverse mode', async () => {
+ const { view } = renderEditor({
+ value: '{"a":1}\n{"a":2}\n',
+ language: editorLanguageFor('jsonl', 'reverse'),
+ });
+ expect(await lintNow(view)).toBe(0);
+ });
+
+ it('flags each invalid JSONL line on its own', async () => {
+ const { view } = renderEditor({
+ value: '{"a":1}\n{"a":\n\n[1,2]\nnope\n',
+ language: editorLanguageFor('jsonl', 'reverse'),
+ });
+ expect(await lintNow(view)).toBe(2);
+ });
+
+ // Regression: the editor lint rejected a leading byte-order mark that the
+ // converter accepts.
+ it('agrees with the converter about a leading byte-order mark', async () => {
+ const BOM = String.fromCharCode(0xfeff);
+ const text = `${BOM}{"a":1}`;
+ expect(parseJsonInput(text).ok).toBe(true);
+ const { view } = renderEditor({ value: text });
+ expect(await lintNow(view)).toBe(0);
+ });
+});
+
+describe('CodeEditor — behaviour', () => {
+ it('leaves file drops to the surrounding dropzone', async () => {
+ const { content, view } = renderEditor({ value: 'keep' });
+ const file = new File(['{"x":1}'], 'x.json', { type: 'application/json' });
+ const drop = createEvent.drop(content, { dataTransfer: { files: [file], types: ['Files'] } });
+ fireEvent(content, drop);
+ // CodeMirror's own handler would read the file and insert its text.
+ await act(async () => {
+ await new Promise((resolve) => setTimeout(resolve, 50));
+ });
+ expect(drop.defaultPrevented).toBe(true);
+ expect(view.state.doc.toString()).toBe('keep');
+ });
+
+ it('does not claim drops that carry no files', () => {
+ const { content } = renderEditor({ value: 'keep' });
+ const textDrop = createEvent.drop(content, {
+ dataTransfer: { files: [], types: ['text/plain'], getData: () => '' },
+ });
+ fireEvent(content, textDrop);
+ expect(textDrop.defaultPrevented).toBe(false);
+
+ const bareDrop = createEvent.drop(content);
+ fireEvent(content, bareDrop);
+ expect(bareDrop.defaultPrevented).toBe(false);
+ });
+
+ it('turns off line wrapping for huge single-line documents', () => {
+ const { content } = renderEditor({ value: 'x'.repeat(1_000_000), readOnly: true });
+ expect(content).not.toHaveClass('cm-lineWrapping');
+ });
+
+ it('follows the app theme', () => {
+ expect(renderEditor({ value: '' }, 'dark').view.state.facet(EditorView.darkTheme)).toBe(true);
+ expect(renderEditor({ value: '' }, 'light').view.state.facet(EditorView.darkTheme)).toBe(false);
+ });
+
+ it('translates search and lint UI phrases with the app language', async () => {
+ const { view } = renderEditor({ value: '' });
+ expect(view.state.phrase('Find')).toBe('Find');
+ expect(view.state.phrase('Go to line')).toBe('Go to line');
+
+ await act(async () => {
+ await i18n.changeLanguage('vi');
+ });
+ expect(view.state.phrase('Find')).toBe(i18n.t('editor.phrases.find'));
+ expect(view.state.phrase('Find')).not.toBe('Find');
+ });
+});
diff --git a/src/components/converter/__tests__/CodeEditorLazy.test.tsx b/src/components/converter/__tests__/CodeEditorLazy.test.tsx
new file mode 100644
index 0000000..6f11a05
--- /dev/null
+++ b/src/components/converter/__tests__/CodeEditorLazy.test.tsx
@@ -0,0 +1,117 @@
+import { afterAll, afterEach, beforeAll, describe, expect, it, vi } from 'vitest';
+import { fireEvent, render, screen, waitFor } from '@testing-library/react';
+import '@/i18n';
+import type { CodeEditorProps } from '@/components/converter/CodeEditor';
+import type * as CodeEditorModule from '@/components/converter/CodeEditor';
+import { ThemeProvider } from '@/lib/theme';
+import { CodeEditorLazy } from '../CodeEditorLazy';
+
+// The real editor module, behind a switch that simulates a failed chunk load.
+const chunk = vi.hoisted(() => ({ broken: false }));
+vi.mock('@/components/converter/CodeEditor', async (importOriginal) => {
+ const actual = await importOriginal();
+ const { createElement } = await import('react');
+ return {
+ ...actual,
+ CodeEditor: (props: CodeEditorProps) => {
+ if (chunk.broken) {
+ throw new TypeError(
+ 'Failed to fetch dynamically imported module: /assets/CodeEditor-1a2b3c.js',
+ );
+ }
+ return createElement(actual.CodeEditor, props);
+ },
+ };
+});
+
+const emptyRect = { x: 0, y: 0, width: 0, height: 0, top: 0, right: 0, bottom: 0, left: 0 };
+const originalGetClientRects = Object.getOwnPropertyDescriptor(Range.prototype, 'getClientRects');
+beforeAll(() => {
+ // jsdom has no layout; CodeMirror measures ranges for the cursor layer.
+ Range.prototype.getClientRects = () => [] as unknown as DOMRectList;
+ Range.prototype.getBoundingClientRect = () => ({ ...emptyRect, toJSON: () => emptyRect });
+});
+
+afterAll(() => {
+ if (originalGetClientRects) {
+ Object.defineProperty(Range.prototype, 'getClientRects', originalGetClientRects);
+ } else {
+ Reflect.deleteProperty(Range.prototype, 'getClientRects');
+ }
+ Reflect.deleteProperty(Range.prototype, 'getBoundingClientRect');
+});
+
+afterEach(() => {
+ chunk.broken = false;
+ vi.restoreAllMocks();
+});
+
+function renderLazy(props: CodeEditorProps) {
+ return render(
+
+
+ ,
+ );
+}
+
+describe('CodeEditorLazy', () => {
+ // Must run first: once the lazy chunk resolves, React caches it for the file.
+ it('offers a working textarea until CodeMirror has loaded', async () => {
+ const onChange = vi.fn();
+ const { container } = renderLazy({
+ value: '{"a":1}',
+ onChange,
+ placeholder: 'Paste your JSON here…',
+ ariaLabel: 'Input JSON',
+ });
+
+ const fallback = screen.getByRole('textbox', { name: 'Input JSON' });
+ expect(fallback.tagName).toBe('TEXTAREA');
+ expect(fallback).toHaveValue('{"a":1}');
+ expect(fallback).toHaveAttribute('placeholder', 'Paste your JSON here…');
+ expect(fallback).toHaveAttribute('spellcheck', 'false');
+ expect(fallback).not.toHaveAttribute('readonly');
+ fireEvent.change(fallback, { target: { value: '{"a":2}' } });
+ expect(onChange).toHaveBeenCalledWith('{"a":2}');
+
+ await waitFor(() => expect(container.querySelector('.cm-editor')).not.toBeNull());
+ expect(container.querySelector('textarea')).toBeNull();
+ expect(screen.getByRole('textbox', { name: 'Input JSON' })).toHaveClass('cm-content');
+ });
+
+ it('renders CodeMirror straight away once the chunk is cached', () => {
+ const { container } = renderLazy({ value: 'a: 1', language: 'yaml', readOnly: true });
+ expect(container.querySelector('.cm-content')).toHaveAttribute('data-language', 'yaml');
+ });
+
+ it('keeps a usable textarea if the editor chunk fails to load', () => {
+ chunk.broken = true;
+ // React and the boundary both report the caught error; keep the output clean.
+ const consoleError = vi.spyOn(console, 'error').mockImplementation(() => {});
+ const onChange = vi.fn();
+ renderLazy({ value: 'name: Tunic', onChange, ariaLabel: 'Input YAML' });
+
+ const fallback = screen.getByRole('textbox', { name: 'Input YAML' });
+ expect(fallback.tagName).toBe('TEXTAREA');
+ expect(fallback).toHaveValue('name: Tunic');
+ fireEvent.change(fallback, { target: { value: 'name: Inscryption' } });
+ expect(onChange).toHaveBeenCalledWith('name: Inscryption');
+ expect(consoleError).toHaveBeenCalledWith(
+ '[jsonprism:chunk]',
+ 'Chunk failed to load:',
+ expect.any(TypeError),
+ expect.any(String),
+ );
+ });
+
+ it('keeps the read-only fallback read-only', () => {
+ chunk.broken = true;
+ vi.spyOn(console, 'error').mockImplementation(() => {});
+ renderLazy({ value: '{"out":true}', readOnly: true, ariaLabel: 'JSON output (read-only)' });
+
+ const fallback = screen.getByRole('textbox', { name: 'JSON output (read-only)' });
+ expect(fallback).toHaveAttribute('readonly');
+ fireEvent.change(fallback, { target: { value: 'x' } });
+ expect(fallback).toHaveValue('{"out":true}');
+ });
+});
diff --git a/src/components/converter/__tests__/ConverterWorkspace.test.tsx b/src/components/converter/__tests__/ConverterWorkspace.test.tsx
new file mode 100644
index 0000000..9f553c4
--- /dev/null
+++ b/src/components/converter/__tests__/ConverterWorkspace.test.tsx
@@ -0,0 +1,360 @@
+import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest';
+import { act, fireEvent, render, screen, waitFor, within } from '@testing-library/react';
+import userEvent from '@testing-library/user-event';
+import '@/i18n';
+import type { CodeEditorProps } from '@/components/converter/CodeEditor';
+import { toast } from '@/components/ui/sonner';
+import { WORKER_THRESHOLD_CHARS } from '@/lib/convert-client';
+import { downloadBlob } from '@/lib/download';
+import { useBatchStore } from '@/stores/batchStore';
+import { useWorkspaceStore } from '@/stores/workspaceStore';
+import { ConverterWorkspace } from '../ConverterWorkspace';
+
+// CodeMirror has its own tests; a labelled textarea keeps the workspace fast.
+vi.mock('@/components/converter/CodeEditorLazy', () => ({
+ CodeEditorLazy: ({ value, onChange, readOnly, language, ariaLabel }: CodeEditorProps) => (
+