chore: 2.2.1 — maintenance mode, Qodana and dependency refresh (#192)

The last release before JSONPrism moves to maintenance mode.

- Dependencies at their latest releases, superseding Dependabot
  #183-#191. i18next 27.1.3, react-i18next 18.0.2 and jsdom 31.0.1 are
  majors; cargo update within semver (wry 0.57.2, tauri-plugin-opener
  2.7.3); sonarqube-scan-action 8.5.0 and setup-java 6.3.0.
  THIRD-PARTY.md is re-synced with both lockfiles.
- Qodana: a new workflow runs Qodana for JS (native mode) and Qodana for
  Rust (EAP, Docker, as root with a bootstrap for the C toolchain and
  GTK/WebKit headers). Both report to Qodana Cloud.
- Qodana findings, all fixed or documented:
  - React types are imported instead of read from the UMD global.
  - XMLBuilder comes from fast-xml-builder; XMLValidator stays, with a
    documented suppression.
  - act() calls in tests are synchronous.
  - The Range geometry test stub is shared.
  - Small regex and boolean cleanups.
  - Two false positives are excluded with their reasons: a secret
    reference, and serde_json, which tauri::generate_context!() needs.
- Maintenance mode:
  - status badge and section in both READMEs;
  - the policy in CONTRIBUTING;
  - converter and translation issue templates;
  - a Scope checklist in the PR template;
  - ROADMAP Phase 11;
  - maintenance-triage.yml closes out-of-scope feature requests with a
    bilingual comment;
  - a Dependabot group for the two fast-xml packages.
- Release 2.2.1: versionCode 20201, CHANGELOG.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
poli0981andClaude Opus 5.5 authored and GitHub committed 2026-11-16 18:42:33 +07:00
1 parent 4bdf8ded08
commit 9923c4ce17
52 files changed
+1760 -1069

No files matched your search

+1 -1
View File
@@ -37,7 +37,7 @@ announced, focus got stuck, text was unreadable at 200 % zoom).
- Assistive technology and version: [e.g. NVDA 2026.3, VoiceOver, TalkBack, Narrator, Dragon, screen magnifier, none]
- How you use the app: [keyboard only / screen reader / voice control / switch access / zoom or magnification / Windows contrast theme / other]
- Platform: [Web / Windows / macOS / Linux / Android]
- JSONPrism version: [e.g. 2.2.0 — see About → Build info]
- JSONPrism version: [e.g. 2.2.1 — see About → Build info]
- Browser (web) or OS version (apps): [e.g. Firefox on Windows 11, Safari on macOS 15, Android 15]
## How much does it block you?
+1 -1
View File
@@ -45,7 +45,7 @@ What actually happened. Include the error message and target format.
## Environment
- Platform: [Web / Windows / macOS / Linux / Android]
- JSONPrism version: [e.g. 2.2.0 — see About → Build info]
- JSONPrism version: [e.g. 2.2.1 — 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]
- Assistive technology, if any: [e.g. NVDA 2026.3, VoiceOver, keyboard only, 200 % zoom]
+4 -1
View File
@@ -1,8 +1,11 @@
blank_issues_enabled: false
contact_links:
- name: Feature ideas (maintenance mode)
url: https://github.com/poli0981/jsonPrism/discussions/categories/ideas
about: JSONPrism is in maintenance mode and takes no new features. Share ideas in Discussions, with no commitment. To add or remove a format, use the Converter request template.
- name: Questions & general discussion
url: https://github.com/poli0981/jsonPrism/discussions
about: Ask about usage, share workflows, or propose ideas before opening an issue.
about: Ask about usage or share your workflows.
- name: Security vulnerability
url: https://github.com/poli0981/jsonPrism/security/advisories/new
about: Report security issues privately via a GitHub Security Advisory, or email security@poli0981.dev. Never in a public issue.
@@ -0,0 +1,53 @@
---
name: Converter request
about: Add or remove a format, when people really need it
title: '[CONVERTER] '
labels: ['converter', 'needs-triage']
assignees: []
---
<!--
JSONPrism is in maintenance mode (CONTRIBUTING.md → Maintenance mode): it
takes no new features, but a format can still be added or removed when
there is a real need. Other ideas go to Discussions → Ideas:
https://github.com/poli0981/jsonPrism/discussions/categories/ideas
-->
## Add or remove?
- [ ] Add a format
- [ ] Remove a format
## Format
Name, file extension(s), and a link to its specification.
## Who needs it, and for what?
The real workflow this serves, or, for a removal, why the format should go.
Requests without a concrete use case are closed.
## Direction
- [ ] JSON → format
- [ ] Format → JSON
- [ ] Input only (like JSONC → JSON)
## Sample
A small input and the output you expect:
```json
{ "example": "input" }
```
```
expected output here
```
## Scope check
- [ ] It fits the "one JSON → many formats" mission
- [ ] It can run entirely on the user's device (no server)
- [ ] No format JSONPrism already has covers it
- [ ] I checked the latest build at https://jsonprism.poli0981.dev
-50
View File
@@ -1,50 +0,0 @@
---
name: Feature request
about: Suggest a new feature for JSONPrism
title: '[FEATURE] '
labels: ['enhancement', 'needs-triage']
assignees: []
---
## Problem
What problem does this feature solve? What workflow are you trying to support?
## Proposed solution
How would you like JSONPrism to handle it?
## Alternatives considered
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.2.0 — see About → Build info]
## Sample data (if applicable)
If your feature involves a specific JSON shape, paste a sample:
```json
{ "example": "input" }
```
And the expected output:
```
expected output here
```
## Scope check
- [ ] This fits the "one JSON → many formats" core mission
- [ ] 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
Links, screenshots, references to similar tools.
+40
View File
@@ -0,0 +1,40 @@
---
name: Translation or wording issue
about: Wording that doesn't fit a culture or region, or a spelling mistake that could mislead
title: '[I18N] '
labels: ['i18n', 'needs-triage']
assignees: []
---
<!--
JSONPrism ships English, Tiếng Việt, 日本語 and 简体中文. The Japanese and
Simplified Chinese strings, and parts of the Vietnamese ones, are
AI-generated, so corrections from native speakers are very welcome.
-->
## Language
- [ ] Tiếng Việt (`vi`)
- [ ] 日本語 (`ja`)
- [ ] 简体中文 (`zh-CN`)
- [ ] English (`en`)
## Where
The page or screen, and what you were doing: for example the consent
screen, the CSV options, an error message.
## Current text
Copy the text exactly as shown, or attach a screenshot.
## Suggested text
## Why
- [ ] It doesn't fit the culture, region or usual tone
- [ ] A spelling or grammar mistake that could mislead
- [ ] The meaning is wrong (mistranslation)
- [ ] Other
Details:
+15
View File
@@ -1,6 +1,10 @@
<!--
Thanks for contributing to JSONPrism!
JSONPrism is in maintenance mode (CONTRIBUTING.md → "Maintenance mode"):
new features are out of scope, and `feat:` pull requests from outside
contributors are closed automatically.
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 contributions" for what gets dismissed.
@@ -19,6 +23,17 @@ describing it in a public PR.
Closes #
## Scope
<!-- Required. Tick what this PR is. Anything else is out of scope while JSONPrism is in maintenance mode. -->
- [ ] Bug fix, broken UI/UX or accessibility fix
- [ ] Translation or wording fix
- [ ] Add or remove a converter, agreed in issue #
- [ ] Dependency update, security fix, or major language/runtime/framework upgrade
- [ ] Cloudflare / Worker change, or a fix for a website incident
- [ ] Docs or tests only
## Test plan
<!--
+3
View File
@@ -45,6 +45,9 @@ updates:
patterns: ['@radix-ui/*']
cloudflare:
patterns: [wrangler, '@cloudflare/*', '@marsidev/react-turnstile']
# fast-xml-parser re-exports fast-xml-builder; keep the two in step.
xml:
patterns: [fast-xml-parser, fast-xml-builder]
npm-minor-patch:
update-types: [minor, patch]
+1 -1
View File
@@ -110,7 +110,7 @@ jobs:
- name: Scan
if: env.SONAR_TOKEN != ''
uses: SonarSource/sonarqube-scan-action@e805d875275f728fac1885b413934be6d7c63f65 # v8.4.1
uses: SonarSource/sonarqube-scan-action@59202af334b4ba7b5db01b701b8e79f8b3bef0f4 # v8.5.0
rust:
name: Tauri · fmt, clippy
+103
View File
@@ -0,0 +1,103 @@
name: Maintenance triage
# JSONPrism is in maintenance mode (CONTRIBUTING.md → Maintenance mode). This
# workflow closes, with a bilingual comment and the `out-of-scope` label:
# • any issue or pull request the maintainer labels `out-of-scope`;
# • when opened by an outside contributor: issues titled [FEATURE] or
# labelled `enhancement`, and pull requests titled `feat:` (any scope
# except `converter`/`converters`). The owner, members, collaborators and
# bots are skipped.
# pull_request_target runs in the base repository so it can comment on and
# close pull requests from forks. It never checks out or runs pull request
# code, and the script reads titles from the event payload itself instead of
# having untrusted text interpolated into it.
on:
issues:
types: [opened, labeled]
pull_request_target:
types: [opened, labeled]
permissions: {}
concurrency:
group: maintenance-triage-${{ github.event.issue.number || github.event.pull_request.number }}
cancel-in-progress: false
jobs:
triage:
name: Close out-of-scope requests
if: >-
(github.event.action == 'labeled' && github.event.label.name == 'out-of-scope') ||
(github.event.action == 'opened' &&
!contains(fromJSON('["OWNER","MEMBER","COLLABORATOR"]'),
github.event.issue.author_association || github.event.pull_request.author_association))
runs-on: ubuntu-24.04
timeout-minutes: 5
permissions:
issues: write
pull-requests: write
steps:
- name: Close if out of scope
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
with:
script: |
const OUT_OF_SCOPE = 'out-of-scope';
const TRUSTED = ['OWNER', 'MEMBER', 'COLLABORATOR'];
const { payload } = context;
const isPR = Boolean(payload.pull_request);
const item = payload.pull_request ?? payload.issue;
if (!item || item.state !== 'open') return;
const labels = (item.labels ?? []).map((label) => label.name);
let reason = null;
if (payload.action === 'labeled') {
if (payload.label?.name === OUT_OF_SCOPE) reason = 'labelled out-of-scope';
} else if (payload.action === 'opened') {
const trusted = TRUSTED.includes(item.author_association);
const bot = item.user?.type === 'Bot';
const title = String(item.title ?? '').trim();
if (!trusted && !bot) {
if (isPR) {
// Conventional Commits: feat:, feat(scope):, feat!: — converters stay open.
const feat = /^feat(?:\(([^)]*)\))?!?:/i.exec(title);
if (feat && !/^converters?$/i.test((feat[1] ?? '').trim())) reason = 'feat: pull request';
} else if (/^\[feature\]/i.test(title) || labels.includes('enhancement')) {
reason = 'feature request';
}
}
}
if (!reason) {
core.info(`#${item.number}: within scope, nothing to do.`);
return;
}
const ideas = 'https://github.com/poli0981/jsonPrism/discussions/categories/ideas';
const policy = 'https://github.com/poli0981/jsonPrism/blob/main/CONTRIBUTING.md#maintenance-mode';
const en = isPR ? 'pull request' : 'issue';
const vi = isPR ? 'Pull request' : 'Issue';
const body = [
'<!-- maintenance-triage -->',
'Thanks for taking the time to write this. JSONPrism is in **maintenance mode**: it still takes dependency and security updates, major runtime upgrades, fixes for bugs, UI/UX, accessibility and translations, converter additions or removals that people really need, and Cloudflare or website fixes, but no new features.',
'',
`This ${en} falls outside that scope, so it has been closed. If it is actually a bug, an accessibility or translation fix, or a converter request, reply here and the maintainer will take another look. Ideas are welcome in [Discussions → Ideas](${ideas}). The full policy is in [CONTRIBUTING.md → Maintenance mode](${policy}).`,
'',
'---',
'',
'Cảm ơn bạn đã dành thời gian. JSONPrism đang ở **giai đoạn bảo trì**: vẫn nhận cập nhật thư viện và bảo mật, nâng cấp runtime lớn, sửa lỗi, UI/UX, trợ năng (accessibility) và bản dịch, thêm hoặc bỏ converter khi thật sự có người cần, và sửa lỗi Cloudflare hay website, nhưng không thêm tính năng mới.',
'',
`${vi} này nằm ngoài phạm vi đó nên đã được đóng. Nếu thực ra đây là lỗi, sửa trợ năng hay bản dịch, hoặc yêu cầu converter, hãy trả lời tại đây để maintainer xem lại. Ý tưởng có thể gửi ở [Discussions → Ideas](${ideas}). Chính sách đầy đủ: [CONTRIBUTING.md → Maintenance mode](${policy}).`,
].join('\n');
const { owner, repo } = context.repo;
const number = item.number;
await github.rest.issues.createComment({ owner, repo, issue_number: number, body });
if (!labels.includes(OUT_OF_SCOPE)) {
await github.rest.issues.addLabels({ owner, repo, issue_number: number, labels: [OUT_OF_SCOPE] });
}
if (isPR) {
await github.rest.pulls.update({ owner, repo, pull_number: number, state: 'closed' });
} else {
await github.rest.issues.update({ owner, repo, issue_number: number, state: 'closed', state_reason: 'not_planned' });
}
core.notice(`Closed ${en} #${number} as out of scope (${reason}).`);
+149
View File
@@ -0,0 +1,149 @@
name: Qodana
# JetBrains Qodana static analysis, reported to Qodana Cloud (Ultimate licence):
# • js — Qodana for JS in native mode: the web app, the Worker, workflows and
# docs. Project "jsonprism-js-ts", secret QODANA_TOKEN_TS_JS,
# configuration in qodana.yaml.
# • rust — Qodana for Rust (Early Access, Docker only): the Tauri shell in
# src-tauri/. Project "jsonprism-rust", secret QODANA_TOKEN_RUST,
# configuration in src-tauri/qodana.yaml.
# Dependabot and fork pull requests get no secrets, so both jobs skip there.
# Results: Qodana Cloud, check annotations, a pull-request comment and the
# qodana-js / qodana-rust artifacts (SARIF and logs).
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
permissions: {}
concurrency:
group: qodana-${{ github.ref }}
# 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:
js:
name: Qodana · JS/TS
runs-on: ubuntu-24.04
timeout-minutes: 30
permissions:
contents: read
checks: write # annotations
pull-requests: write # summary comment
env:
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN_TS_JS }}
steps:
- name: Skip without a token
if: env.QODANA_TOKEN == ''
run: echo "::notice::QODANA_TOKEN_TS_JS is not available to this run; skipping analysis."
- name: Checkout
if: env.QODANA_TOKEN != ''
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
# The pull request's head, not the merge commit.
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0
persist-credentials: false
- name: Setup Node
if: env.QODANA_TOKEN != ''
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version-file: .nvmrc
cache: npm
- name: Install dependencies
if: env.QODANA_TOKEN != ''
run: npm ci --ignore-scripts --no-audit --no-fund
# worker-configuration.d.ts is generated and gitignored; without it the
# Worker's Env types don't resolve. (wrangler builds dist/ first.)
- name: Generate Worker types
if: env.QODANA_TOKEN != ''
run: npm run cf:types
- name: Qodana scan
if: env.QODANA_TOKEN != ''
uses: JetBrains/qodana-action@3e8d76ff0e0241618abd808682f426afe84bab3f # v2026.2.2
with:
args: --linter qodana-js --within-docker false
pr-mode: false
upload-result: true
artifact-name: qodana-js
primary-cache-key: qodana-2026.2-js-${{ github.ref }}-${{ github.sha }}
# A prefix, so pull requests can restore the cache saved on main.
additional-cache-key: qodana-2026.2-js-
cache-default-branch-only: true
rust:
name: Qodana · Rust (EAP)
runs-on: ubuntu-24.04
timeout-minutes: 45
permissions:
contents: read
checks: write # annotations
pull-requests: write # summary comment
env:
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN_RUST }}
steps:
- name: Skip without a token
if: env.QODANA_TOKEN == ''
run: echo "::notice::QODANA_TOKEN_RUST is not available to this run; skipping analysis."
- name: Checkout
if: env.QODANA_TOKEN != ''
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0
persist-credentials: false
- name: Setup Node
if: env.QODANA_TOKEN != ''
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version-file: .nvmrc
cache: npm
- name: Install dependencies
if: env.QODANA_TOKEN != ''
run: npm ci --ignore-scripts --no-audit --no-fund
# tauri::generate_context!() embeds the icons and ../dist at compile time.
- name: Generate icons
if: env.QODANA_TOKEN != ''
run: npm run tauri:icon
- name: Build the web app
if: env.QODANA_TOKEN != ''
run: npm run build
# Docker mode mounts --repository-root, so ../dist stays visible from
# the src-tauri project directory. The container runs as root so the
# bootstrap in src-tauri/qodana.yaml can apt-get the C toolchain and
# the GTK/WebKit headers that build scripts need.
- name: Qodana scan
if: env.QODANA_TOKEN != ''
uses: JetBrains/qodana-action@3e8d76ff0e0241618abd808682f426afe84bab3f # v2026.2.2
env:
# Keep Cargo's registry in the mounted Qodana cache, which the
# action saves between runs on main.
CARGO_HOME: /data/cache/cargo
with:
args: --linter qodana-rust --repository-root . --project-dir src-tauri --user root
env-vars-to-linter: CARGO_HOME
pr-mode: false
upload-result: true
artifact-name: qodana-rust
primary-cache-key: qodana-2026.2-rust-${{ github.ref }}-${{ github.sha }}
# A prefix, so pull requests can restore the cache saved on main.
additional-cache-key: qodana-2026.2-rust-
cache-default-branch-only: true
+1 -1
View File
@@ -196,7 +196,7 @@ jobs:
persist-credentials: false
- name: Setup Java 17
uses: actions/setup-java@77dd5b2ce225ea11469928ac317850245a74ae78 # v6.2.0
uses: actions/setup-java@d1374f8ac74474200d16ef8ecee22c7ae7a51880 # v6.3.0
with:
distribution: temurin
java-version: '17'
+1 -1
View File
@@ -1,6 +1,6 @@
# Accessibility
**Last reviewed**: 2026-11-09 · **Applies to**: JSONPrism 2.2.0 (website, desktop and Android apps)
**Last reviewed**: 2026-11-09 · **Applies to**: JSONPrism 2.2.x (website, desktop and Android apps)
JSONPrism should work for everyone who needs to convert JSON, whatever
input device, screen reader, display setting or language they use. This
+49 -1
View File
@@ -6,7 +6,55 @@ The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and
## [Unreleased]
No unreleased changes at this time. Future work tracked in `docs/ROADMAP.md` under "Beyond".
No unreleased changes. JSONPrism is in maintenance mode: [CONTRIBUTING.md → Maintenance mode](CONTRIBUTING.md#maintenance-mode) lists what still changes.
## [2.2.1] — 2026-11-16
A maintenance release, and the start of **maintenance mode**. JSONPrism is feature-complete. From now on it gets dependency and security updates, major runtime upgrades, bug, UI/UX, accessibility and translation fixes, converter additions or removals that people really need, and Cloudflare or website fixes, but no new features. Conversions work exactly as before, nothing new is collected, and you are not asked to accept the terms again. `bundle.android.versionCode` 20201.
### Dependencies
- **npm (app):** i18next 27.1.3 and react-i18next 18.0.2 are new majors; their changed defaults don't apply here (`fallbackLng` is set, no translation is empty, no `Trans`, SSR or mocks). Also lucide-react 1.73, zustand 5.1, react-dropzone 20.2, papaparse 5.7.1, fast-xml-parser 5.12.1, `@codemirror/lint` 6.9.8 and `@tauri-apps/plugin-opener` 2.7.3.
- **npm (dev):**
- ESLint 10.15, typescript-eslint 8.72.2, eslint-plugin-react-refresh 0.5.8;
- Vite 8.3.8, `@vitejs/plugin-react` 6.3, Tailwind CSS and `@tailwindcss/vite` 4.3.5;
- Prettier 3.10.1, knip 6.45.1, wrangler 4.162;
- jsdom 31.0.1 (a new major, tests only), `@testing-library/user-event` 14.6.12.
- **Rust:** `cargo update` within semver: wry 0.57.2, tauri-plugin-opener 2.7.3 and 43 other crates.
- **GitHub Actions:** SonarSource/sonarqube-scan-action 8.5.0, actions/setup-java 6.3.0.
- `fast-xml-builder` 1.3.2 is now a direct dependency (see Fixed).
- All 414 packages have verified registry signatures, and `THIRD-PARTY.md` matches both lockfiles again.
- Supersedes Dependabot PRs #183–#191.
### Fixed
Findings from the first Qodana run. None of them is visible in the app.
- **XML builder:** the XML converter now uses `fast-xml-builder` directly. fast-xml-parser 5 deprecated its own `XMLBuilder` export, which only re-exported that package, so the output is identical.
- **React types:** imported from `react` instead of read from the global `React` namespace.
- **Tests:**
- synchronous `act()` calls no longer return a promise nobody awaits;
- the jsdom Range geometry stub is shared, and restored correctly after each file.
- **Small cleanups:** two redundant regular-expression constructs and a redundant boolean comparison.
### Project
- **Maintenance mode:**
- a status badge and section in both READMEs;
- the policy in [CONTRIBUTING.md](CONTRIBUTING.md#maintenance-mode);
- converter and translation issue templates instead of the feature request template;
- a scope checklist in the pull request template.
- **Auto-close:** `maintenance-triage.yml` closes out-of-scope feature requests with a bilingual comment.
- **Qodana:** Qodana for JS (native mode) and Qodana for Rust (Early Access) run on every push and pull request and report to Qodana Cloud.
- **Cleanup:** merged and stale branches and old worktrees were removed.
### Security
- No known vulnerability affects the app or the website.
- i18next 27.1.3 includes the fix for GHSA-q76c-gcvw-89x9. That issue needs a backend connector, which JSONPrism doesn't use.
- `npm audit` still lists minimatch < 11.0.1 (GHSA-g3hv-75wg-m249, moderate) through typescript-eslint, a development tool:
- ESLint 10.15 itself has moved to minimatch 11;
- `@typescript-eslint/typescript-estree` still requires minimatch 10, but only for typed-linting globs, which this project's ESLint config doesn't use.
## [2.2.0] — 2026-11-09
+15 -2
View File
@@ -13,7 +13,20 @@ GitHub Pages (`poli0981.github.io/jsonPrism`) now only redirects to the new doma
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.2.0. See [`docs/ROADMAP.md`](docs/ROADMAP.md) for what is next.
**Current release**: 2.2.1. See [`docs/ROADMAP.md`](docs/ROADMAP.md) for what is next.
**Status: maintenance mode** (since 2.2.1). Don't propose new features. Every change must fall under the policy in [`CONTRIBUTING.md` → Maintenance mode](CONTRIBUTING.md#maintenance-mode):
- dependency updates;
- security fixes (a CVE rated high or critical, a serious runtime issue);
- major language, runtime or framework upgrades;
- bug, UI/UX and accessibility fixes;
- adding or removing a converter when there is a real need;
- translation fixes;
- Cloudflare/Worker changes;
- website incidents.
`.github/workflows/maintenance-triage.yml` closes out-of-scope issues and pull requests (label `out-of-scope`).
## Stack — exact versions matter
@@ -157,7 +170,7 @@ npm run build # verify production output
npm run preview:cf # the real Cloudflare setup on http://localhost:8787
```
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.
CI (`.github/workflows/ci.yml`) also runs `format:check`, `knip`, coverage, `cf:check`, SonarQube Cloud and `cargo fmt`/`clippy`. `.github/workflows/qodana.yml` runs Qodana for JS (native mode, `qodana.yaml`) and Qodana for Rust (Early Access, Docker, `src-tauri/qodana.yaml`) with the `QODANA_TOKEN_TS_JS` and `QODANA_TOKEN_RUST` secrets; both jobs skip without their token. The maintainer typically uses **WebStorm** (JetBrains license), so Prettier and ESLint run on save.
## Communication preferences
+70 -5
View File
@@ -2,6 +2,44 @@
Thanks for considering a contribution! JSONPrism is an open-source project under Apache License 2.0.
## Maintenance mode
Since 2.2.1 (November 2026) JSONPrism is in **maintenance mode**. It is
feature-complete and stays maintained, but it doesn't grow new features.
These changes are still accepted:
1. **Dependency updates** on a regular schedule (weekly, grouped by
Dependabot).
2. **Security fixes**, as soon as possible: a dependency with a high or
critical CVE, or a serious security issue in a runtime such as Node.js.
3. **Major upgrades** of a language, runtime or framework, for example
Node 24 → 26 or TypeScript 6 → 7.
4. **Issues and pull requests** that:
- add or remove a converter when people really need it (open a
[converter request](#converter-requests) first);
- fix a bug, a broken UI/UX or an accessibility barrier.
5. **Language fixes**: wording that doesn't fit a culture or region, and
spelling mistakes that could mislead (see [Translations](#translations)).
6. **Cloudflare / Worker** changes when the platform changes significantly.
7. **Website incidents** such as DDoS or bot spam.
Anything else is out of scope, new features in particular, unless the
maintainer judges one genuinely necessary.
- The [maintenance triage workflow](.github/workflows/maintenance-triage.yml)
closes feature issues and `feat:` pull requests from outside contributors
automatically. It also closes anything the maintainer labels
`out-of-scope`.
- Feature ideas are welcome in
[Discussions → Ideas](https://github.com/poli0981/jsonPrism/discussions/categories/ideas),
with no commitment.
- If your issue or pull request was closed by mistake, reply to it and the
maintainer will take another look.
Releases ship only when one of these changes needs one, for example a
security fix for the desktop and Android apps. The website keeps deploying
from `main`.
## Prerequisites
| Tool | Version | Notes |
@@ -54,6 +92,10 @@ npm run tauri:android:dev # Android emulator or device
Run `npm run tauri:icon` and `npm run build` first: the Rust build
embeds the generated icons and `dist/`.
The **Qodana** workflow (Qodana for JS and Qodana for Rust) needs
Qodana Cloud tokens, so it skips on pull requests from forks. The
maintainer reviews its findings before merging.
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
@@ -188,21 +230,35 @@ Something hard or impossible to use with a keyboard, screen reader, zoom or othe
Fixes for those limitations are welcome.
### Feature requests
### Converter requests
Use the [Feature Request](https://github.com/poli0981/jsonPrism/issues/new?template=feature_request.md) template. We prioritize features that:
A format can still be added or removed when people really need it. Open a
[Converter request](https://github.com/poli0981/jsonPrism/issues/new?template=converter_request.md)
first and describe the workflow it serves. A pull request that adds a
converter without an agreed request may be closed. A new converter must:
- Fit the "one JSON → many formats" core mission
- Run entirely on the user's device (conversion never touches a server)
- Have a clear use case from a real workflow
### Feature ideas
New features are out of scope while JSONPrism is in
[maintenance mode](#maintenance-mode). Share ideas in
[Discussions → Ideas](https://github.com/poli0981/jsonPrism/discussions/categories/ideas):
they are read, but nothing is scheduled.
### Translations
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.
Native-speaker corrections are very welcome. Wording that reads wrong for
a culture or region, or a spelling mistake that could mislead, counts as a
bug: report it with the
[Translation or wording issue](https://github.com/poli0981/jsonPrism/issues/new?template=translation.md)
template, or fix it in a pull request.
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
@@ -211,7 +267,10 @@ 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:
A new language counts as a new feature, so while JSONPrism is in
[maintenance mode](#maintenance-mode), ask in
[Discussions → Ideas](https://github.com/poli0981/jsonPrism/discussions/categories/ideas)
before you start. The steps stay here for reference. To add a new language:
1. Copy `src/i18n/locales/en.json` to `src/i18n/locales/<locale>.json` and translate every value (keep `{{variables}}` unchanged)
2. Import it in `src/i18n/index.ts` and add it to `resources` and `SUPPORTED_LANGUAGES`
@@ -222,7 +281,9 @@ To add a new language:
### Adding a new converter
See the **"Adding a new converter — checklist"** section in [`CLAUDE.md`](CLAUDE.md).
Start with a [converter request](#converter-requests). Once it is agreed,
follow the **"Adding a new converter — checklist"** section in
[`CLAUDE.md`](CLAUDE.md).
Briefly:
@@ -255,6 +316,10 @@ Prefixes: `feat`, `fix`, `perf`, `refactor`, `docs`, `test`, `build`
To keep the maintainer's review queue manageable, the following are
closed without review:
- **New features outside the [maintenance scope](#maintenance-mode).**
Feature issues and `feat:` pull requests from outside contributors are
closed automatically. Other out-of-scope items are closed with the
`out-of-scope` label.
- **PRs with suspicious code.** If a diff looks like obfuscated/minified
code, hidden network calls, or subtly tampered third-party files, it
will be flagged. If CodeQL or Dependabot also flag it, the contributor
+9 -1
View File
@@ -8,6 +8,10 @@ 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.
Since 2.2.1 the project is in **maintenance mode**: no new features, only
the changes listed in
[CONTRIBUTING.md → Maintenance mode](CONTRIBUTING.md#maintenance-mode).
## Responsibilities
- **Code review** — reviews and merges every PR, including AI-assisted
@@ -26,10 +30,14 @@ merged PR.
- **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).
- **Triage** — keeps issues and pull requests within the maintenance
scope, closing the rest with the `out-of-scope` label (the triage
workflow posts the explanation).
## Contact
- Bug reports & feature requests: [GitHub Issues](https://github.com/poli0981/jsonPrism/issues)
- Bug reports, translation fixes and converter requests: [GitHub Issues](https://github.com/poli0981/jsonPrism/issues)
- Feature ideas (no commitment while in maintenance mode): [Discussions → Ideas](https://github.com/poli0981/jsonPrism/discussions/categories/ideas)
- Accessibility barriers: the [Accessibility issue](https://github.com/poli0981/jsonPrism/issues/new?template=accessibility.md) template, or [code@poli0981.dev](mailto:code@poli0981.dev) — see [ACCESSIBILITY.md](ACCESSIBILITY.md)
- Discussion / Q&A: [GitHub Discussions](https://github.com/poli0981/jsonPrism/discussions)
- Community chat: [Discord](https://discord.gg/2aNR3aVt)
+14
View File
@@ -6,7 +6,9 @@
One JSON input. Multi-target formats. Fully on your device.
[![Status: maintenance mode](https://img.shields.io/badge/status-maintenance_mode-yellow.svg)](#project-status)
[![CI](https://github.com/poli0981/jsonPrism/actions/workflows/ci.yml/badge.svg)](https://github.com/poli0981/jsonPrism/actions/workflows/ci.yml)
[![Qodana](https://github.com/poli0981/jsonPrism/actions/workflows/qodana.yml/badge.svg)](https://github.com/poli0981/jsonPrism/actions/workflows/qodana.yml)
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=poli0981_jsonPrism&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=poli0981_jsonPrism)
[![License: Apache 2.0](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](LICENSE)
@@ -18,6 +20,18 @@ One JSON input. Multi-target formats. Fully on 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.
## Project status
**Maintenance mode** since 2.2.1 (November 2026). JSONPrism is feature-complete, and it stays maintained:
- dependency updates on a regular schedule, and fast fixes for high or critical CVEs and serious runtime security issues;
- major language, runtime and framework upgrades (for example Node 24 → 26, TypeScript 6 → 7);
- bug, UI/UX and accessibility fixes, and adding or removing a converter when people really need it;
- translation fixes: wording that doesn't fit a culture or region, and spelling mistakes that could mislead;
- changes the Cloudflare or Worker platform forces, and website incidents such as DDoS or bot spam.
New features are not planned, except the rare one that is genuinely necessary. Feature issues and pull requests outside this list are closed automatically. The full policy is in [CONTRIBUTING.md](CONTRIBUTING.md#maintenance-mode).
## Target formats
| Format | Extension | Status | Reverse (→ JSON) |
+14
View File
@@ -6,7 +6,9 @@
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.
[![Status: maintenance mode](https://img.shields.io/badge/status-maintenance_mode-yellow.svg)](#trạng-thái-dự-án)
[![CI](https://github.com/poli0981/jsonPrism/actions/workflows/ci.yml/badge.svg)](https://github.com/poli0981/jsonPrism/actions/workflows/ci.yml)
[![Qodana](https://github.com/poli0981/jsonPrism/actions/workflows/qodana.yml/badge.svg)](https://github.com/poli0981/jsonPrism/actions/workflows/qodana.yml)
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=poli0981_jsonPrism&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=poli0981_jsonPrism)
[![License: Apache 2.0](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](LICENSE)
@@ -18,6 +20,18 @@ Một JSON đầu vào. Đa định dạng đích. Chạy hoàn toàn trên thi
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.
## Trạng thái dự án
**Đang ở giai đoạn bảo trì** từ bản 2.2.1 (tháng 11/2026). JSONPrism đã đủ tính năng và vẫn được duy trì:
- cập nhật thư viện định kỳ; vá nhanh các CVE mức high trở lên và lỗ hổng bảo mật nghiêm trọng của runtime;
- nâng cấp lớn ngôn ngữ, runtime, framework (ví dụ Node 24 → 26, TypeScript 6 → 7);
- sửa lỗi, lỗi UI/UX và trợ năng (accessibility); thêm hoặc bỏ converter khi thật sự có người cần;
- sửa bản dịch: câu chữ không hợp văn hoá hay giọng địa phương, lỗi chính tả dễ gây hiểu nhầm;
- thay đổi do Cloudflare hoặc nền tảng Worker bắt buộc, và sự cố website như DDoS hay bot spam.
Không thêm tính năng mới, trừ trường hợp hiếm thật sự cần thiết. Issue và pull request đề xuất tính năng ngoài danh sách trên sẽ tự động bị đóng. Chính sách đầy đủ ở [CONTRIBUTING.md](CONTRIBUTING.md#maintenance-mode) (tiếng Anh).
## Định dạng hỗ trợ
| Định dạng | Phần mở rộng | Trạng thái | Đảo (→ JSON) |
+6 -1
View File
@@ -11,6 +11,11 @@ website always runs the latest code on `main`.
| 2.x | ✅ |
| < 2.0 | ❌ |
JSONPrism has been in
[maintenance mode](CONTRIBUTING.md#maintenance-mode) since 2.2.1. That
doesn't change this policy: security fixes keep shipping, and a dependency
with a high or critical CVE is fixed as soon as possible.
## Reporting a vulnerability
**Please do not open a public GitHub Issue for security reports.**
@@ -78,7 +83,7 @@ attestations generated in GitHub Actions:
```bash
sha256sum -c SHA256SUMS.txt --ignore-missing
gh attestation verify JSONPrism_2.2.0_x64-setup.exe --repo poli0981/jsonPrism
gh attestation verify JSONPrism_2.2.1_x64-setup.exe --repo poli0981/jsonPrism
```
The desktop installers are not yet code-signed, so Windows SmartScreen
+25 -24
View File
@@ -3,7 +3,7 @@
JSONPrism is built on top of open-source libraries. This page lists each
direct dependency declared in [`package.json`](package.json) and
[`src-tauri/Cargo.toml`](src-tauri/Cargo.toml), the exact version used by
**JSONPrism 2.2.0**, the upstream license, and a link to the project. It
**JSONPrism 2.2.1**, the upstream license, and a link to the project. It
also lists the third-party services the website uses.
Versions are the ones locked in [`package-lock.json`](package-lock.json)
@@ -25,7 +25,7 @@ copyright and license notices. This file is a starting point.
| `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.1 | MIT | [reactrouter.com](https://reactrouter.com/) |
| `tailwindcss` (devDep) | 4.3.4 | MIT | [tailwindcss.com](https://tailwindcss.com/) |
| `tailwindcss` (devDep) | 4.3.5 | 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/) |
@@ -34,9 +34,9 @@ copyright and license notices. This file is a starting point.
| `@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.67.0 | ISC | [lucide.dev](https://lucide.dev/) |
| `lucide-react` | 1.73.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/) |
| `react-dropzone` | 20.2.0 | 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
@@ -57,18 +57,19 @@ build-time packages whose generated CSS ships in the bundle.
| `@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/) |
| `@codemirror/lint` | 6.9.8 | 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.7.0 | MIT | [papaparse.com](https://www.papaparse.com/) |
| `papaparse` | 5.7.1 | 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.12.0 | 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) |
| `fast-xml-parser` | 5.12.1 | MIT | [github.com/NaturalIntelligence/fast-xml-parser](https://github.com/NaturalIntelligence/fast-xml-parser) |
| `fast-xml-builder` | 1.3.2 | MIT | [github.com/NaturalIntelligence/fast-xml-builder](https://github.com/NaturalIntelligence/fast-xml-builder) |
| `bson` | 7.3.4 | Apache-2.0 | [github.com/mongodb/js-bson](https://github.com/mongodb/js-bson) |
| `cbor-x` | 1.6.9 | 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) |
@@ -77,9 +78,9 @@ build-time packages whose generated CSS ships in the bundle.
| Package | Version | License | Link |
|---|---|---|---|
| `zustand` | 5.0.16 | MIT | [github.com/pmndrs/zustand](https://github.com/pmndrs/zustand) |
| `i18next` | 26.7.1 | MIT | [i18next.com](https://www.i18next.com/) |
| `react-i18next` | 17.1.12 | MIT | [react.i18next.com](https://react.i18next.com/) |
| `zustand` | 5.1.0 | MIT | [github.com/pmndrs/zustand](https://github.com/pmndrs/zustand) |
| `i18next` | 27.1.3 | MIT | [i18next.com](https://www.i18next.com/) |
| `react-i18next` | 18.0.2 | MIT | [react.i18next.com](https://react.i18next.com/) |
| `i18next-browser-languagedetector` | 8.3.0 | MIT | [github.com/i18next/i18next-browser-languageDetector](https://github.com/i18next/i18next-browser-languageDetector) |
## Cloudflare (web build)
@@ -87,7 +88,7 @@ build-time packages whose generated CSS ships in the bundle.
| Package | Version | License | Link |
|---|---|---|---|
| `@marsidev/react-turnstile` | 1.6.3 | MIT | [github.com/marsidev/react-turnstile](https://github.com/marsidev/react-turnstile) |
| `wrangler` (devDep) | 4.157.0 | MIT OR Apache-2.0 | [github.com/cloudflare/workers-sdk](https://github.com/cloudflare/workers-sdk) |
| `wrangler` (devDep) | 4.162.0 | MIT OR Apache-2.0 | [github.com/cloudflare/workers-sdk](https://github.com/cloudflare/workers-sdk) |
`@marsidev/react-turnstile` renders the Turnstile widget on the website
only. `wrangler` runs, type-checks and deploys the Worker in `worker/`.
@@ -101,7 +102,7 @@ The services themselves are covered under
| `@tauri-apps/api` | 2.12.4 | Apache-2.0 OR MIT | [tauri.app](https://tauri.app/) |
| `@tauri-apps/plugin-dialog` | 2.8.4 | 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/plugin-opener` | 2.7.3 | 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`)
@@ -112,7 +113,7 @@ The services themselves are covered under
| `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.4 | 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-opener` | 2.7.3 | 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.5 | 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) |
@@ -124,27 +125,27 @@ shipped in the app.
| Package | Version | License | Link |
|---|---|---|---|
| `vite` | 8.3.5 | MIT | [vite.dev](https://vite.dev/) |
| `@vitejs/plugin-react` | 6.2.1 | MIT | [github.com/vitejs/vite-plugin-react](https://github.com/vitejs/vite-plugin-react) |
| `@tailwindcss/vite` | 4.3.4 | MIT | [tailwindcss.com](https://tailwindcss.com/) |
| `vite` | 8.3.8 | MIT | [vite.dev](https://vite.dev/) |
| `@vitejs/plugin-react` | 6.3.0 | MIT | [github.com/vitejs/vite-plugin-react](https://github.com/vitejs/vite-plugin-react) |
| `@tailwindcss/vite` | 4.3.5 | 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.14.0 | MIT | [eslint.org](https://eslint.org/) |
| `eslint` | 10.15.0 | MIT | [eslint.org](https://eslint.org/) |
| `@eslint/js` | 10.0.1 | MIT | [eslint.org](https://eslint.org/) |
| `typescript-eslint` | 8.72.1 | MIT | [typescript-eslint.io](https://typescript-eslint.io/) |
| `typescript-eslint` | 8.72.2 | 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) |
| `eslint-plugin-react-refresh` | 0.5.8 | MIT | [github.com/ArnaudBarre/eslint-plugin-react-refresh](https://github.com/ArnaudBarre/eslint-plugin-react-refresh) |
| `globals` | 17.14.0 | MIT | [github.com/sindresorhus/globals](https://github.com/sindresorhus/globals) |
| `prettier` | 3.9.10 | MIT | [prettier.io](https://prettier.io/) |
| `prettier` | 3.10.1 | 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.44.1 | ISC | [knip.dev](https://knip.dev/) |
| `knip` | 6.45.1 | ISC | [knip.dev](https://knip.dev/) |
| `vitest` | 5.1.0 | MIT | [vitest.dev](https://vitest.dev/) |
| `@vitest/coverage-v8` | 5.1.0 | MIT | [vitest.dev](https://vitest.dev/) |
| `jsdom` | 30.1.3 | MIT | [github.com/jsdom/jsdom](https://github.com/jsdom/jsdom) |
| `jsdom` | 31.0.1 | 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/) |
| `@testing-library/user-event` | 14.6.12 | MIT | [testing-library.com](https://testing-library.com/) |
| `axe-core` | 4.14.0 | MPL-2.0 | [github.com/dequelabs/axe-core](https://github.com/dequelabs/axe-core) |
| `@types/node` | 26.6.6 | 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) |
+24
View File
@@ -354,6 +354,30 @@ after a rollback or a dashboard change.
(`sonar.qualitygate.wait=false`).
- CodeQL runs through GitHub's default setup (no workflow file).
## Qodana
- Workflow `qodana.yml` ("Qodana") runs on every push to `main`, every pull
request to `main`, and by hand. Results go to Qodana Cloud (Ultimate
licence). They also come back as check annotations, a pull-request
comment and the `qodana-js` / `qodana-rust` artifacts (SARIF and logs).
- **Job `js`**: Qodana for JS in native mode (`--within-docker false`).
- Runs on Node 26 with the runner's `node_modules`; `npm run cf:types`
runs first so the Worker's types resolve.
- Config `qodana.yaml`, Cloud project `jsonprism-js-ts`, secret
`QODANA_TOKEN_TS_JS`.
- **Job `rust`**: Qodana for Rust, Early Access, Docker only
(`jetbrains/qodana-rust:2026.2-eap`).
- `src-tauri/` is the project directory and the repository root is
mounted. The job builds `dist/` and the icons first, because
`tauri::generate_context!()` embeds them.
- Config `src-tauri/qodana.yaml`, Cloud project `jsonprism-rust`, secret
`QODANA_TOKEN_RUST`.
- Both jobs skip without their token (Dependabot and fork pull requests).
Findings are reported, not enforced: there is no quality gate.
- If the licence lapses, the jobs fail at the licence check, but only in
this workflow; CI and the Discord notifier are unaffected. Renew the
licence, or delete the two secrets so the jobs skip.
## Releases (desktop + Android)
The web app ships continuously from `main`; tags are for the desktop and
+32 -2
View File
@@ -4,7 +4,9 @@ This document is the **single source of truth** for what's done, what's next, an
Update it as work lands — keep the project status honest.
**Current release: v2.2.0 (2026-11-09).** The web app runs at https://jsonprism.poli0981.dev (Cloudflare Workers); desktop and Android builds are on [GitHub Releases](https://github.com/poli0981/jsonPrism/releases).
**Status: maintenance mode since v2.2.1 (2026-11-16).** No new features; see [Phase 11](#phase-11--maintenance-mode-) for what is still done.
**Current release: v2.2.1 (2026-11-16).** The web app runs at https://jsonprism.poli0981.dev (Cloudflare Workers); desktop and Android builds are on [GitHub Releases](https://github.com/poli0981/jsonPrism/releases).
---
@@ -263,7 +265,7 @@ Compliance + reliability + first-paint performance. No converter behavior change
## Phase 7 — Android (sideload APK) 🔜
**Status**: in progress — the APK has shipped with every release since v1.7.0 (2026-06-16); only the real-device checks below remain.
**Status**: in progress — the APK has shipped with every release since v1.7.0 (2026-06-16); only the real-device checks below remain, handled as maintenance since 2.2.1.
Goal: ship JSONPrism as an Android app users sideload from a `.apk`. Same React UI, no behavior change to the converters. **Minimum Android 12 (API 31)** — older devices are blocked by the OS.
@@ -412,8 +414,36 @@ An accessibility statement backed by tests. **949 tests in 95 files.**
---
## Phase 11 — Maintenance mode 📋
**Status**: ongoing since v2.2.1 (2026-11-16)
JSONPrism is feature-complete. From 2.2.1 on it is maintained, not extended: no new features unless one is judged genuinely necessary. The accepted changes, and how out-of-scope issues and pull requests are closed, are in [CONTRIBUTING.md → Maintenance mode](../CONTRIBUTING.md#maintenance-mode).
What 2.2.1 set up for it:
- [x] **Policy:**
- a status section and badge in both READMEs;
- the policy in CONTRIBUTING;
- converter and translation issue templates (the feature-request template is gone);
- a scope checklist in the pull request template.
- [x] **Auto-close:** `maintenance-triage.yml` closes, with a bilingual comment:
- feature issues and `feat:` pull requests from outside contributors;
- anything the maintainer labels `out-of-scope`.
- [x] **Qodana:** Qodana for JS (native mode) and Qodana for Rust (Early Access) on every push and pull request, reported to Qodana Cloud.
- [x] **Dependencies:** every dependency at its latest release, including i18next 27, react-i18next 18 and jsdom 31.
Earlier work still open, now handled as maintenance:
- the Android real-device checks (Phase 7);
- the accessibility follow-ups below.
---
## Beyond — Ideas (no commitment)
**Frozen while JSONPrism is in maintenance mode.** An item moves only if it falls under the [maintenance policy](../CONTRIBUTING.md#maintenance-mode), for example a security need or a converter people really need.
### Accessibility follow-ups
These are tracked as known limitations in [`ACCESSIBILITY.md`](../ACCESSIBILITY.md#known-limitations).
+1 -1
View File
@@ -5,7 +5,7 @@
# Trợ năng (Accessibility)
**Rà soát lần cuối**: 2026-11-09 · **Áp dụng cho**: JSONPrism 2.2.0 (website, ứng dụng desktop và Android)
**Rà soát lần cuối**: 2026-11-09 · **Áp dụng cho**: JSONPrism 2.2.x (website, ứng dụng desktop và Android)
JSONPrism muốn ai cần chuyển đổi JSON cũng dùng được, bất kể họ dùng
thiết bị nhập nào, trình đọc màn hình nào, thiết lập hiển thị hay ngôn
+620 -701
View File
File diff suppressed because it is too large. Load diff
+23 -22
View File
@@ -1,7 +1,7 @@
{
"name": "jsonprism",
"private": true,
"version": "2.2.0",
"version": "2.2.1",
"type": "module",
"description": "Disperse JSON into 12 formats (six convert back, plus JSONC → JSON) — JSONL, CSV, TSV, YAML, XML, TOML, RESX, Markdown, SQL, BSON, CBOR, MessagePack. Conversion runs locally in your browser or desktop app.",
"author": "poli0981 <code@poli0981.dev> (https://github.com/poli0981)",
@@ -50,7 +50,7 @@
"@codemirror/lang-yaml": "^6.1.3",
"@codemirror/language": "^6.13.1",
"@codemirror/legacy-modes": "^6.5.5",
"@codemirror/lint": "^6.9.7",
"@codemirror/lint": "^6.9.8",
"@codemirror/state": "^6.7.6",
"@codemirror/view": "^6.43.15",
"@fontsource-variable/geist": "^5.3.0",
@@ -65,59 +65,60 @@
"@tauri-apps/api": "^2.12.4",
"@tauri-apps/plugin-dialog": "^2.8.4",
"@tauri-apps/plugin-fs": "^2.7.1",
"@tauri-apps/plugin-opener": "^2.7.2",
"@tauri-apps/plugin-opener": "^2.7.3",
"@uiw/react-codemirror": "^4.25.12",
"bson": "^7.3.4",
"cbor-x": "^1.6.9",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"fast-xml-parser": "^5.12.0",
"fast-xml-builder": "^1.3.2",
"fast-xml-parser": "^5.12.1",
"fflate": "^0.8.3",
"i18next": "^26.7.2",
"i18next": "^27.1.3",
"i18next-browser-languagedetector": "^8.3.0",
"js-yaml": "^5.5.0",
"lucide-react": "^1.70.0",
"papaparse": "^5.7.0",
"lucide-react": "^1.73.0",
"papaparse": "^5.7.1",
"react": "^19.3.1",
"react-dom": "^19.3.1",
"react-dropzone": "^20.1.4",
"react-i18next": "^17.1.13",
"react-dropzone": "^20.2.0",
"react-i18next": "^18.0.2",
"react-router": "^8.5.1",
"smol-toml": "^1.9.1",
"sonner": "^2.0.8",
"tailwind-merge": "^3.7.0",
"zustand": "^5.0.16"
"zustand": "^5.1.0"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@tailwindcss/vite": "^4.3.4",
"@tailwindcss/vite": "^4.3.5",
"@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",
"@testing-library/user-event": "^14.6.12",
"@types/node": "^26.6.6",
"@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.2.1",
"@vitejs/plugin-react": "^6.3.0",
"@vitest/coverage-v8": "^5.1.0",
"axe-core": "^4.14.0",
"eslint": "^10.14.0",
"eslint": "^10.15.0",
"eslint-plugin-react-hooks": "^7.1.1",
"eslint-plugin-react-refresh": "^0.5.7",
"eslint-plugin-react-refresh": "^0.5.8",
"globals": "^17.14.0",
"jsdom": "^30.1.3",
"knip": "^6.44.1",
"prettier": "^3.9.10",
"jsdom": "^31.0.1",
"knip": "^6.45.1",
"prettier": "^3.10.1",
"prettier-plugin-tailwindcss": "^0.8.1",
"tailwindcss": "^4.3.4",
"tailwindcss": "^4.3.5",
"tw-animate-css": "^1.4.0",
"typescript": "npm:@typescript/typescript6@^6.0.2",
"typescript-eslint": "^8.72.1",
"vite": "^8.3.6",
"typescript-eslint": "^8.72.2",
"vite": "^8.3.8",
"vitest": "^5.1.0",
"wrangler": "^4.158.0"
"wrangler": "^4.162.0"
}
}
+27
View File
@@ -0,0 +1,27 @@
# Qodana for JS/TS: Qodana Cloud project "jsonprism-js-ts".
# Runs in native mode from .github/workflows/qodana.yml (job "js").
# The Tauri shell has its own configuration in src-tauri/qodana.yaml.
version: '1.0'
linter: qodana-js
profile:
name: qodana.recommended
exclude:
- name: All
paths:
# Build output, caches and generated files
- .wrangler
- coverage
- dist
- node_modules
- package-lock.json
- worker-configuration.d.ts
# Generated by the shadcn CLI; not edited by hand (see CLAUDE.md)
- src/components/ui
# Analysed by Qodana for Rust (src-tauri/qodana.yaml)
- src-tauri
# The webhook there is a ${{ secrets.… }} reference, not a hard-coded secret.
- name: HardcodedPasswords
paths:
- .github/workflows/notify-release-pipeline.yml
+306 -150
View File
@@ -140,7 +140,7 @@ checksum = "4f8abc12baad266b1c8cec146854c195b5864b4221d4b2ca7296a7ae82d9e451"
dependencies = [
"proc-macro2",
"quote",
"syn 3.0.9",
"syn 3.0.10",
]
[[package]]
@@ -175,7 +175,7 @@ checksum = "82f6aeea286b8eb4dd3431a1be1b59d290ace00f5bfd8e2a159bc2a05e2c1667"
dependencies = [
"proc-macro2",
"quote",
"syn 3.0.9",
"syn 3.0.10",
]
[[package]]
@@ -231,7 +231,16 @@ version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "08807e080ed7f9d5433fa9b275196cfc35414f66a0c79d864dc51a0d825231a3"
dependencies = [
"bit-vec",
"bit-vec 0.8.0",
]
[[package]]
name = "bit-set"
version = "0.11.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "56d87354e4229f54a44f7bf2435906a4656dba36026ab6eaca629a2c436a691c"
dependencies = [
"bit-vec 0.10.2",
]
[[package]]
@@ -240,6 +249,12 @@ version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5e764a1d40d510daf35e07be9eb06e75770908c27d411ee6c92109c9840eaaf7"
[[package]]
name = "bit-vec"
version = "0.10.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "72503af1e72be411d74ca45cd6b309878fcb35354e252fc2a3a8bda3a97082a0"
[[package]]
name = "bitflags"
version = "1.3.2"
@@ -288,9 +303,9 @@ dependencies = [
[[package]]
name = "brotli"
version = "9.1.1"
version = "9.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "627b7cfb0578f0eafce087a90fcd40add1231900b69e4d4de2d456260a4f5d81"
checksum = "9071f285ed78f04f37d675abaaef5de7689e2f30a216c8dc6795465d81910a13"
dependencies = [
"alloc-no-stdlib",
"alloc-stdlib",
@@ -299,9 +314,9 @@ dependencies = [
[[package]]
name = "brotli-decompressor"
version = "6.2.0"
version = "6.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "34c6783f42c21c952ad7112b354f0ba2f10760e9decea5b1b60523d6e270faaf"
checksum = "cc031cd87c6529082b0b65c604e86af0ed7744841b17ccfe60b1e31fa606179e"
dependencies = [
"alloc-no-stdlib",
"alloc-stdlib",
@@ -318,9 +333,9 @@ dependencies = [
[[package]]
name = "bumpalo"
version = "3.20.3"
version = "3.20.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "72f5acc6cb2ba439de613abc23857ec3d78374d8ed5ac84e9d11336e87da8649"
checksum = "87a0cf66fd1eb2fb7b822cb78370d82303750809bc6ba855f3f58e517d3238db"
[[package]]
name = "bytemuck"
@@ -408,14 +423,14 @@ checksum = "82f4b26e751e711a5302649417f2da046dce6391b2ea30a4820f37462314f0b9"
dependencies = [
"semver",
"serde",
"toml 1.2.0+spec-1.1.0",
"toml 1.2.1+spec-1.1.0",
]
[[package]]
name = "cc"
version = "1.11.0"
version = "1.11.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "375989decec1a0fa424442bed520fa12ede43a48475ce8c7417d2c69b32b5f6b"
checksum = "33ef9e3e8154a45c7a95cff4c1299702106ad94062d7bb85fdc5d3a5afd91d45"
dependencies = [
"find-msvc-tools",
"shlex",
@@ -546,9 +561,9 @@ dependencies = [
[[package]]
name = "crc32fast"
version = "1.5.4"
version = "1.5.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5f97d3416d5337d15c4b0d78c8c91df922ca143f57ec20e2d1c188333047ef04"
checksum = "2b929dd2a135771f40afabd1073f85eed59c800b7c61901e5c254270497dad64"
dependencies = [
"cfg-if",
]
@@ -587,7 +602,20 @@ dependencies = [
"cssparser-macros",
"dtoa-short",
"itoa",
"phf",
"phf 0.13.1",
"smallvec",
]
[[package]]
name = "cssparser"
version = "0.38.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "11119743ad110e8c1bdccd930d7f5c30c99e5fc76a7b63ec9807e84eef0c5f59"
dependencies = [
"cssparser-macros",
"dtoa-short",
"itoa",
"phf 0.14.0",
"smallvec",
]
@@ -598,14 +626,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d045de693cb712d0b22c6a64be5b953f67b3ce00ab5ad3dd5d8b441886ab8e1a"
dependencies = [
"quote",
"syn 3.0.9",
"syn 3.0.10",
]
[[package]]
name = "ctor"
version = "1.0.13"
version = "1.0.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "914a755b7c2d4af2bdcff7ce1739e2db9a1b81a9b07123d8015786ae03c0980d"
checksum = "ea691ed9f36489d087419b8b2ba3ef27d89621380b4178c73e2445a379e4e0f4"
dependencies = [
"link-section",
]
[[package]]
name = "darling"
@@ -627,7 +658,7 @@ dependencies = [
"proc-macro2",
"quote",
"strsim",
"syn 3.0.9",
"syn 3.0.10",
]
[[package]]
@@ -638,7 +669,7 @@ checksum = "2ac7135c3ef02b2f7833bbeb1be5ba7f966dcde8a87c6b87f65a778d71a02785"
dependencies = [
"darling_core",
"quote",
"syn 3.0.9",
"syn 3.0.10",
]
[[package]]
@@ -652,37 +683,6 @@ dependencies = [
"windows-sys 0.61.2",
]
[[package]]
name = "defmt"
version = "1.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
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"
@@ -764,7 +764,7 @@ checksum = "c6232dd377dcc64799954cbd3a9bb882e9cdc1308ccd87b1c098f1fb2eaf82a8"
dependencies = [
"proc-macro2",
"quote",
"syn 3.0.9",
"syn 3.0.10",
]
[[package]]
@@ -796,12 +796,27 @@ version = "0.28.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fac5fca71e65e94cc718a6e2af65d6e0f9c6027751c2aa562fbb5087fda639bc"
dependencies = [
"bit-set",
"cssparser",
"bit-set 0.8.0",
"cssparser 0.37.0",
"foldhash",
"html5ever",
"html5ever 0.39.0",
"precomputed-hash",
"selectors",
"selectors 0.38.0",
"tendril",
]
[[package]]
name = "dom_query"
version = "0.29.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "498c698ac51127148a3984450e51fca7f01805a91d7a1f7a24af0a5f761e3385"
dependencies = [
"bit-set 0.11.1",
"cssparser 0.38.0",
"foldhash",
"html5ever 0.40.1",
"precomputed-hash",
"selectors 0.41.0",
"tendril",
]
@@ -850,7 +865,7 @@ dependencies = [
"cc",
"memchr",
"rustc_version",
"toml 1.2.0+spec-1.1.0",
"toml 1.2.1+spec-1.1.0",
"vswhom",
"winreg",
]
@@ -907,9 +922,9 @@ dependencies = [
[[package]]
name = "errno"
version = "0.3.14"
version = "0.3.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb"
checksum = "e35d6e78f4cebb90e51d543db8fe41528851d6deeef6ef21ebd4bfdc1e784776"
dependencies = [
"libc",
"windows-sys 0.61.2",
@@ -968,9 +983,9 @@ checksum = "1c66915cc5391097de7a2b0b972e8505aa33c0df401fd3a6811dbdb32881ba48"
[[package]]
name = "flate2"
version = "1.1.10"
version = "1.1.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6e634e2e0ebac1ee034020da1ca582e17ffe4e0f5e985823721e168928136dcb"
checksum = "626d4928326b646e70f65ed36fc7cf9f206bdb68a0019ee7c6b4709da4e084c4"
dependencies = [
"crc32fast",
"miniz_oxide 0.9.1",
@@ -1007,7 +1022,7 @@ checksum = "ea5190182e6915eb873ddbc16e23b711b6eb1f9c00a0d0a3a91b5f6228475225"
dependencies = [
"proc-macro2",
"quote",
"syn 3.0.9",
"syn 3.0.10",
]
[[package]]
@@ -1078,7 +1093,7 @@ checksum = "9fb9654ba8355388abeb8dcb4fc62f511300867002afc858860463bdd9fe0c44"
dependencies = [
"proc-macro2",
"quote",
"syn 3.0.9",
"syn 3.0.10",
]
[[package]]
@@ -1432,7 +1447,18 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "46a1761807faccc9a19e86944bbf40610014066306f96edcdedc2fb714bcb7b8"
dependencies = [
"log",
"markup5ever",
"markup5ever 0.39.0",
]
[[package]]
name = "html5ever"
version = "0.40.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "456a1a377e608e555d22ddab27ac0114bc7a7b4199078108e34c2aeae6c9b130"
dependencies = [
"log",
"markup5ever 0.40.0",
"memchr",
]
[[package]]
@@ -1720,9 +1746,9 @@ dependencies = [
[[package]]
name = "itoa"
version = "1.0.18"
version = "1.0.19"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682"
checksum = "3bd1574e617a9a6c1f8f8181bd7e841e1f20e4277607ef28945765188d6284d4"
[[package]]
name = "javascriptcore-rs"
@@ -1749,11 +1775,10 @@ dependencies = [
[[package]]
name = "jiff"
version = "0.2.39"
version = "0.2.46"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3ac703058abac89e5c39b0b879dce2b6b14a4ba36600c7e7e3d0c60a6883ef3c"
checksum = "175dc66334db3b9ab9985bf8b61cfed50dc16d20964bb47f9e479adcae984a7f"
dependencies = [
"defmt",
"jiff-core",
"jiff-static",
"jiff-tzdb-platform",
@@ -1766,19 +1791,18 @@ dependencies = [
[[package]]
name = "jiff-core"
version = "0.1.2"
version = "0.1.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "aee43309eb53bafb8c36d35d6e444769c8f8e6206a9fbf7546f5db9d7d4a0e93"
checksum = "e599b80292e597019b8b3e392de3f4bea2959ddfb8c7dff60e035e9e311a2c1b"
dependencies = [
"defmt",
"log",
]
[[package]]
name = "jiff-static"
version = "0.2.39"
version = "0.2.46"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6dc32470c67eb7d0e9ccb74303fa925313dc04cecb1aa048beaa6f391e36a93d"
checksum = "c7b1af7547d47354bc438d797e3854601bde8f8d185780c5ba4ab27afa54f1ba"
dependencies = [
"jiff-core",
"proc-macro2",
@@ -1788,9 +1812,9 @@ dependencies = [
[[package]]
name = "jiff-tzdb"
version = "0.1.9"
version = "0.1.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fa8377070c6bae868759445e5a77f66d84f0b72f3a054bfb00e6d038b8282da7"
checksum = "0980fca2cc272465bd60e82397607ba9f33add9e48defd77923301bbd03808f2"
[[package]]
name = "jiff-tzdb-platform"
@@ -1870,7 +1894,7 @@ dependencies = [
[[package]]
name = "jsonprism"
version = "2.2.0"
version = "2.2.1"
dependencies = [
"serde",
"serde_json",
@@ -1960,6 +1984,12 @@ dependencies = [
"libc",
]
[[package]]
name = "link-section"
version = "0.19.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4d9aae57673c1a235149777a74d152f3210ebd3e3b13346d2cdb6809e566bd3c"
[[package]]
name = "linux-raw-sys"
version = "0.12.1"
@@ -1995,7 +2025,18 @@ checksum = "7122d987ec5f704ee56f6e5b41a7d93722e9aae27ae07cafa4036c4d3f9757de"
dependencies = [
"log",
"tendril",
"web_atoms",
"web_atoms 0.2.6",
]
[[package]]
name = "markup5ever"
version = "0.40.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0ab3dc68ac4a0f5719e560136778c1ee716e296030d75dbd4484e37e39e3a842"
dependencies = [
"log",
"tendril",
"web_atoms 0.3.0",
]
[[package]]
@@ -2015,9 +2056,9 @@ dependencies = [
[[package]]
name = "mime"
version = "0.3.17"
version = "0.3.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a"
checksum = "d5848f5a9e8117cf94f2f90faac24a87ff81600ff8628c1e3deaab572e76bfa1"
[[package]]
name = "miniz_oxide"
@@ -2041,9 +2082,9 @@ dependencies = [
[[package]]
name = "mio"
version = "1.2.4"
version = "1.2.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1788edb87fdc09c7e26304471e2f5be8cdefb1b6930d6e3985fc02ff53bf86ee"
checksum = "20521a903f02b0a573cd6840e9d0a5a0cc043d361fe924092cd70f8556cc9c4a"
dependencies = [
"libc",
"wasi",
@@ -2440,8 +2481,19 @@ version = "0.13.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c1562dc717473dbaa4c1f85a36410e03c047b2e7df7f45ee938fbef64ae7fadf"
dependencies = [
"phf_macros",
"phf_shared",
"phf_macros 0.13.1",
"phf_shared 0.13.1",
"serde",
]
[[package]]
name = "phf"
version = "0.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "010378780309880b08997fae13be7834dba947d36393bd372f2b1556deb2a2f6"
dependencies = [
"phf_macros 0.14.0",
"phf_shared 0.14.0",
"serde",
]
@@ -2451,8 +2503,18 @@ version = "0.13.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "49aa7f9d80421bca176ca8dbfebe668cc7a2684708594ec9f3c0db0805d5d6e1"
dependencies = [
"phf_generator",
"phf_shared",
"phf_generator 0.13.1",
"phf_shared 0.13.1",
]
[[package]]
name = "phf_codegen"
version = "0.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "41b585a510fb76fdebead6897982ef2a03a21d8e6cbcca904999742a4afc6ffe"
dependencies = [
"phf_generator 0.14.0",
"phf_shared 0.14.0",
]
[[package]]
@@ -2462,7 +2524,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "135ace3a761e564ec88c03a77317a7c6b80bb7f7135ef2544dbe054243b89737"
dependencies = [
"fastrand",
"phf_shared",
"phf_shared 0.13.1",
]
[[package]]
name = "phf_generator"
version = "0.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "aeb62e0959d5a1bebc965f4d15d9e2b7cea002b6b0f5ba8cde6cc26738467100"
dependencies = [
"fastrand",
"phf_shared 0.14.0",
]
[[package]]
@@ -2471,8 +2543,21 @@ version = "0.13.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "812f032b54b1e759ccd5f8b6677695d5268c588701effba24601f6932f8269ef"
dependencies = [
"phf_generator",
"phf_shared",
"phf_generator 0.13.1",
"phf_shared 0.13.1",
"proc-macro2",
"quote",
"syn 2.0.119",
]
[[package]]
name = "phf_macros"
version = "0.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5fa8d0ca26d424d27630da600c6624696e7dec8bf7b3b492b383c5dc49e5e085"
dependencies = [
"phf_generator 0.14.0",
"phf_shared 0.14.0",
"proc-macro2",
"quote",
"syn 2.0.119",
@@ -2487,6 +2572,15 @@ dependencies = [
"siphasher",
]
[[package]]
name = "phf_shared"
version = "0.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c6fd9027e2d9319be6349febd1db4e8d02aa544921200c9b777720ac34a3aa89"
dependencies = [
"siphasher",
]
[[package]]
name = "pin-project-lite"
version = "0.2.17"
@@ -2612,7 +2706,7 @@ version = "3.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e67ba7e9b2b56446f1d419b1d807906278ffa1a658a8a5d8a39dcb1f5a78614f"
dependencies = [
"toml_edit 0.25.18+spec-1.1.0",
"toml_edit 0.25.19+spec-1.1.0",
]
[[package]]
@@ -2720,7 +2814,7 @@ checksum = "92ecd8964f8453721699a1ed72037b0db49ce2f5a5138486ee89bed6f67cdf3a"
dependencies = [
"proc-macro2",
"quote",
"syn 3.0.9",
"syn 3.0.10",
]
[[package]]
@@ -2919,15 +3013,32 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8adfa1c298912827b8a28b223b3b874357397ae706e6190acd9bf28cee99114d"
dependencies = [
"bitflags 2.13.2",
"cssparser",
"cssparser 0.37.0",
"derive_more",
"log",
"new_debug_unreachable",
"phf",
"phf_codegen",
"phf 0.13.1",
"phf_codegen 0.13.1",
"precomputed-hash",
"rustc-hash",
"servo_arc",
"servo_arc 0.4.3",
"smallvec",
]
[[package]]
name = "selectors"
version = "0.41.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8322aebea94a6cc288ff884e8a49bdbceef60206c400c6c46d22e62fc4fd91a6"
dependencies = [
"bitflags 2.13.2",
"cssparser 0.38.0",
"derive_more",
"log",
"new_debug_unreachable",
"precomputed-hash",
"rustc-hash",
"servo_arc 0.5.0",
"smallvec",
]
@@ -2980,7 +3091,7 @@ checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348"
dependencies = [
"proc-macro2",
"quote",
"syn 3.0.9",
"syn 3.0.10",
]
[[package]]
@@ -3015,7 +3126,7 @@ checksum = "8d3b1629de253c70a0508c3899572da79ca359fdab27c7920ff00406df418906"
dependencies = [
"proc-macro2",
"quote",
"syn 3.0.9",
"syn 3.0.10",
]
[[package]]
@@ -3029,9 +3140,9 @@ dependencies = [
[[package]]
name = "serde_spanned"
version = "1.1.2"
version = "1.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4e7523beb55eece201a2356bee0bbca0d1ab466c14c07703b2e0ee6d42cb0c2c"
checksum = "9c187e0a369471c550af028cba56d4f4fa2a489ad28151ae95a4d340a2a8b782"
dependencies = [
"serde_core",
]
@@ -3066,7 +3177,7 @@ dependencies = [
"darling",
"proc-macro2",
"quote",
"syn 3.0.9",
"syn 3.0.10",
]
[[package]]
@@ -3100,6 +3211,15 @@ dependencies = [
"stable_deref_trait",
]
[[package]]
name = "servo_arc"
version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b4eceb519ec34d8290aaf6e46f435102f2bfa63f22b05a144fb16ab266d3b198"
dependencies = [
"stable_deref_trait",
]
[[package]]
name = "sha2"
version = "0.10.9"
@@ -3147,9 +3267,9 @@ checksum = "0c790de23124f9ab44544d7ac05d60440adc586479ce501c1d6d7da3cd8c9cf5"
[[package]]
name = "smallvec"
version = "1.16.4"
version = "1.16.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d0d5d4b1981b8bbbb7aed204cae5726d683d5d6ac7e74ec54122ea28f315e7c8"
checksum = "149309498a5f7334b12ddae0cad8aba81ce785fe91755068867e017cf98fee46"
[[package]]
name = "socket2"
@@ -3229,7 +3349,19 @@ checksum = "a18596f8c785a729f2819c0f6a7eae6ebeebdfffbfe4214ae6b087f690e31901"
dependencies = [
"new_debug_unreachable",
"parking_lot",
"phf_shared",
"phf_shared 0.13.1",
"precomputed-hash",
]
[[package]]
name = "string_cache"
version = "0.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ffa8a5dbe8b3f0bbe29d4c3225daafaeead63afdc1b65fc4c01a1384166038e6"
dependencies = [
"new_debug_unreachable",
"parking_lot",
"phf_shared 0.14.0",
"precomputed-hash",
]
@@ -3239,8 +3371,20 @@ version = "0.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "585635e46db231059f76c5849798146164652513eb9e8ab2685939dd90f29b69"
dependencies = [
"phf_generator",
"phf_shared",
"phf_generator 0.13.1",
"phf_shared 0.13.1",
"proc-macro2",
"quote",
]
[[package]]
name = "string_cache_codegen"
version = "0.11.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "928dcdf75e47626b3617a976ec205d9f057584c371c1f23b782129268d0e6edc"
dependencies = [
"phf_generator 0.14.0",
"phf_shared 0.14.0",
"proc-macro2",
"quote",
]
@@ -3285,9 +3429,9 @@ dependencies = [
[[package]]
name = "syn"
version = "3.0.9"
version = "3.0.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d78c8dee4c7bf0e14673097256fed6142ce9d3b85a408189d07482442145823b"
checksum = "4ae9ccbea3a7b0b09443036490c8f34a8b1b760fd345e5c0dae0aac718faea79"
dependencies = [
"proc-macro2",
"quote",
@@ -3311,7 +3455,7 @@ checksum = "901704edd0dfe137f1987838ee4f259e4e063c31371bdb423f7ae38ec6f77f02"
dependencies = [
"proc-macro2",
"quote",
"syn 3.0.9",
"syn 3.0.10",
]
[[package]]
@@ -3553,15 +3697,15 @@ dependencies = [
"tauri-plugin",
"tauri-utils",
"thiserror 2.0.21",
"toml 1.2.0+spec-1.1.0",
"toml 1.2.1+spec-1.1.0",
"url",
]
[[package]]
name = "tauri-plugin-opener"
version = "2.7.2"
version = "2.7.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "53810be1b4fed22bb6ac3f4cab5a2b80d9391d1af436bda145607532bc0bb219"
checksum = "54592c6718b42ab198bf11bda6a428a3553ca2f2f8e506df56f6a063ec328331"
dependencies = [
"dunce",
"glob",
@@ -3655,7 +3799,7 @@ dependencies = [
"brotli",
"cargo_metadata",
"ctor",
"dom_query",
"dom_query 0.28.0",
"dunce",
"glob",
"http",
@@ -3663,7 +3807,7 @@ dependencies = [
"json-patch",
"log",
"memchr",
"phf",
"phf 0.13.1",
"plist",
"proc-macro2",
"quote",
@@ -3676,7 +3820,7 @@ dependencies = [
"serde_with",
"swift-rs",
"thiserror 2.0.21",
"toml 1.2.0+spec-1.1.0",
"toml 1.2.1+spec-1.1.0",
"url",
"urlpattern",
"uuid",
@@ -3691,7 +3835,7 @@ checksum = "c52bb6904475a6ca662f15ef787f18ade61d5740a1ee12c45d3b748efdb6f796"
dependencies = [
"dunce",
"embed-resource",
"toml 1.2.0+spec-1.1.0",
"toml 1.2.1+spec-1.1.0",
]
[[package]]
@@ -3753,7 +3897,7 @@ checksum = "fe5197923287db20a58125f0bc85c062f7f2c892de97b18c356f9efb14b28524"
dependencies = [
"proc-macro2",
"quote",
"syn 3.0.9",
"syn 3.0.10",
]
[[package]]
@@ -3843,17 +3987,17 @@ dependencies = [
[[package]]
name = "toml"
version = "1.2.0+spec-1.1.0"
version = "1.2.1+spec-1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c5ffcdf8f50436dbbfd675c1fe1b8e0854f42b7defea8584bdebe1aee900e561"
checksum = "d5755c51863cdac711f1956baf8eb9588e060755f7d3c4c979e70ea1e1f32cd7"
dependencies = [
"indexmap 2.14.2",
"serde_core",
"serde_spanned 1.1.2",
"toml_datetime 1.1.2+spec-1.1.0",
"serde_spanned 1.1.3",
"toml_datetime 1.1.3+spec-1.1.0",
"toml_parser",
"toml_writer",
"winnow 1.0.4",
"winnow 1.0.5",
]
[[package]]
@@ -3867,9 +4011,9 @@ dependencies = [
[[package]]
name = "toml_datetime"
version = "1.1.2+spec-1.1.0"
version = "1.1.3+spec-1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2b86d767906c6c42421dcba507eb9d203e779497710a47782a224bb871653053"
checksum = "173f25c883cd2176a2d8212155638c0a60d484a9d84546d270866f40f56b6e49"
dependencies = [
"serde_core",
]
@@ -3900,14 +4044,14 @@ dependencies = [
[[package]]
name = "toml_edit"
version = "0.25.18+spec-1.1.0"
version = "0.25.19+spec-1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1ec6e78bd70db9420d8d212fa9dc97f116448a1ceff5d00eabb991d407e21396"
checksum = "dd43688c4858d7264ae1cf9a9f874a67c3feb74a883b1cd7bebd6a4ea8307218"
dependencies = [
"indexmap 2.14.2",
"toml_datetime 1.1.2+spec-1.1.0",
"toml_datetime 1.1.3+spec-1.1.0",
"toml_parser",
"winnow 1.0.4",
"winnow 1.0.5",
]
[[package]]
@@ -3916,7 +4060,7 @@ version = "1.1.5+spec-1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "baa693a8032d7e1cada7d0041e96126df243179ff061456783ac7f12bda4744c"
dependencies = [
"winnow 1.0.4",
"winnow 1.0.5",
]
[[package]]
@@ -4106,9 +4250,9 @@ checksum = "3a3b425286980a367278453f3b6d28cdcb134b574e5a35824a6ff5eebad50bb6"
[[package]]
name = "uuid"
version = "1.29.0"
version = "1.29.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4a0e2d11620c50695fe12bbbfde96b3477fe606e7284c22d505c12ce51214514"
checksum = "bed99139f7dac9b5cfe5f17be4d66dc7079a34dee1d74bcc77217119240e267c"
dependencies = [
"getrandom 0.4.3",
"js-sys",
@@ -4224,7 +4368,7 @@ dependencies = [
"bumpalo",
"proc-macro2",
"quote",
"syn 3.0.9",
"syn 3.0.10",
"wasm-bindgen-shared",
]
@@ -4276,10 +4420,22 @@ version = "0.2.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ba8b815c1b593dc0baf78dd0f4fc8fdb2de53198fb1163738093e9a311c33fb3"
dependencies = [
"phf",
"phf_codegen",
"string_cache",
"string_cache_codegen",
"phf 0.13.1",
"phf_codegen 0.13.1",
"string_cache 0.9.0",
"string_cache_codegen 0.6.1",
]
[[package]]
name = "web_atoms"
version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7572660c8890448ba236b7376f27e389c6a7e1c70195622faced601f855c0ada"
dependencies = [
"phf 0.14.0",
"phf_codegen 0.14.0",
"string_cache 0.11.0",
"string_cache_codegen 0.11.2",
]
[[package]]
@@ -4612,9 +4768,9 @@ dependencies = [
[[package]]
name = "winnow"
version = "1.0.4"
version = "1.0.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "23b97319f7b8343df12cc98938e5c3eb436064524c8d2b4e30a1d3a36eecdf81"
checksum = "8c3b93199df0ab874cdf0c6a94f0a0dc3423fe41f1cafb62b8bd7b1deb277aef"
dependencies = [
"memchr",
]
@@ -4643,16 +4799,16 @@ checksum = "3ad82d2a33cdc9674dc7465672f271e096168fcdbe0f799d9e6db8c5892679dc"
[[package]]
name = "wry"
version = "0.57.1"
version = "0.57.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "759c50ddad0ef9913bb5496cb9d509a50433a3b78cb0238d61105526589cf0e9"
checksum = "a490119196d02a51d0871df7b9119a1f3e46d75b7e90053a801454d5c6b3491c"
dependencies = [
"base64 0.23.1",
"block2",
"cookie",
"crossbeam-channel",
"dirs",
"dom_query",
"dom_query 0.29.0",
"dpi",
"dunce",
"gdkx11",
@@ -4724,7 +4880,7 @@ checksum = "ec8ebde2db3681e8c9980cc27822030e68752690ddfa9473e739aeb4dbde6d71"
dependencies = [
"proc-macro2",
"quote",
"syn 3.0.9",
"syn 3.0.10",
"synstructure",
]
@@ -4757,7 +4913,7 @@ dependencies = [
"uds_windows",
"uuid",
"windows-sys 0.61.2",
"winnow 1.0.4",
"winnow 1.0.5",
"zbus_macros",
"zbus_names",
"zvariant",
@@ -4772,7 +4928,7 @@ dependencies = [
"proc-macro-crate 3.5.0",
"proc-macro2",
"quote",
"syn 3.0.9",
"syn 3.0.10",
"zbus_names",
"zvariant",
"zvariant_utils",
@@ -4785,7 +4941,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "812a12be4ead7a59e18ea8f047d08add0066b73bc62fc1467066a2472ae088dd"
dependencies = [
"serde",
"winnow 1.0.4",
"winnow 1.0.5",
"zvariant",
]
@@ -4815,7 +4971,7 @@ checksum = "f75b4683f6c7f45248d4d64056a24298c6281e0993356d7d1b4a1a962ef10d4a"
dependencies = [
"proc-macro2",
"quote",
"syn 3.0.9",
"syn 3.0.10",
"synstructure",
]
@@ -4849,7 +5005,7 @@ checksum = "c3743ddbf47738d929cd1ae2e199d40d0162979dfe31aef8ae646d2bf00bf97a"
dependencies = [
"proc-macro2",
"quote",
"syn 3.0.9",
"syn 3.0.10",
]
[[package]]
@@ -4873,7 +5029,7 @@ dependencies = [
"endi",
"enumflags2",
"serde",
"winnow 1.0.4",
"winnow 1.0.5",
"zcheapstr",
"zvariant_derive",
"zvariant_utils",
@@ -4888,7 +5044,7 @@ dependencies = [
"proc-macro-crate 3.5.0",
"proc-macro2",
"quote",
"syn 3.0.9",
"syn 3.0.10",
"zvariant_utils",
]
@@ -4901,6 +5057,6 @@ dependencies = [
"proc-macro2",
"quote",
"serde",
"syn 3.0.9",
"winnow 1.0.4",
"syn 3.0.10",
"winnow 1.0.5",
]
+3 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "jsonprism"
version = "2.2.0"
version = "2.2.1"
description = "Disperse JSON into many formats."
authors = ["poli0981 <code@poli0981.dev>"]
license = "Apache-2.0"
@@ -23,6 +23,8 @@ tauri-plugin-dialog = "2"
tauri-plugin-fs = "2"
tauri-plugin-opener = "2"
serde = { version = "1", features = ["derive"] }
# Not referenced in src/, but the code tauri::generate_context!() expands to
# uses ::serde_json, so it has to stay a direct dependency.
serde_json = "1"
# Desktop-only: prevent multiple JSONPrism windows / processes when the user
+4 -4
View File
@@ -6,12 +6,12 @@
By installing and using JSONPrism, you agree to the terms below.\par
\par
JSONPrism is free, open-source software licensed under the Apache License 2.0:\par
https://github.com/poli0981/jsonPrism/blob/v2.2.0/LICENSE\par
https://github.com/poli0981/jsonPrism/blob/v2.2.1/LICENSE\par
\par
Your use is also governed by the following documents (version 2.0, effective 2026-10-22):\par
\bullet\tab Terms of Service (EULA): https://github.com/poli0981/jsonPrism/blob/v2.2.0/TERMS.md\par
\bullet\tab Privacy Policy: https://github.com/poli0981/jsonPrism/blob/v2.2.0/PRIVACY.md\par
\bullet\tab Disclaimer: https://github.com/poli0981/jsonPrism/blob/v2.2.0/DISCLAIMER.md\par
\bullet\tab Terms of Service (EULA): https://github.com/poli0981/jsonPrism/blob/v2.2.1/TERMS.md\par
\bullet\tab Privacy Policy: https://github.com/poli0981/jsonPrism/blob/v2.2.1/PRIVACY.md\par
\bullet\tab Disclaimer: https://github.com/poli0981/jsonPrism/blob/v2.2.1/DISCLAIMER.md\par
\par
JSONPrism is provided \ldblquote as is\rdblquote , without warranty of any kind. The desktop app converts everything on your device and makes no network requests of its own.\par
\par
+33
View File
@@ -0,0 +1,33 @@
# Qodana for Rust (Early Access): Qodana Cloud project "jsonprism-rust".
# Runs in Docker from .github/workflows/qodana.yml (job "rust"), with this
# folder as the project directory and the repository root mounted, so
# tauri::generate_context!() can read ../dist.
version: '1.0'
linter: qodana-rust
# The image ships Rust but no C toolchain or GTK/WebKit headers, so build
# scripts and proc macros can't compile ("linker `cc` not found") and the
# analysis is incomplete. Install what the CI `rust` job installs. This needs
# the container to run as root (--user root in the workflow).
bootstrap: >-
apt-get update -qq &&
DEBIAN_FRONTEND=noninteractive apt-get install -y -qq --no-install-recommends
build-essential pkg-config libssl-dev libgtk-3-dev libwebkit2gtk-4.1-dev
profile:
name: qodana.recommended
exclude:
- name: All
paths:
# Generated by `tauri android init` and the Android build
- gen
# Generated by `npm run tauri:icon`
- icons
- target
# serde_json looks unused from src/, but the code tauri::generate_context!()
# expands to uses ::serde_json, and removing it breaks the build (see the
# comment in Cargo.toml).
- name: CargoUnusedDependency
paths:
- Cargo.toml
+1 -1
View File
@@ -79,7 +79,7 @@
},
"android": {
"minSdkVersion": 31,
"versionCode": 20200
"versionCode": 20201
}
},
"plugins": {
+3 -21
View File
@@ -1,41 +1,23 @@
import { afterAll, afterEach, beforeAll, beforeEach, describe, expect, it, vi } from 'vitest';
import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest';
import { render, screen, waitFor, within } from '@testing-library/react';
import userEvent from '@testing-library/user-event';
import { MemoryRouter } from 'react-router';
import '@/i18n';
import { App } from '../App';
import { axeViolations } from '@/test/axe';
import { stubRangeGeometry } from '@/test/range-geometry';
import { useConsentStore } from '@/stores/consentStore';
import { useWorkspaceStore } from '@/stores/workspaceStore';
vi.mock('@/lib/analytics', () => ({ loadWebAnalytics: vi.fn(() => false) }));
// jsdom has no layout engine; CodeMirror measures text ranges to draw the
// cursor and selection layers. Empty geometry is enough here.
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 });
});
stubRangeGeometry();
beforeEach(() => {
// axe probes <canvas> for icon fonts; jsdom only logs "not implemented".
vi.spyOn(HTMLCanvasElement.prototype, 'getContext').mockReturnValue(null);
});
afterAll(() => {
rangeGeometry.forEach((key, i) => {
const original = originalGeometry[i];
if (original) Object.defineProperty(Range.prototype, key, original);
else Reflect.deleteProperty(Range.prototype, key);
});
});
function renderApp(path = '/') {
const user = userEvent.setup();
render(
+2 -2
View File
@@ -1,11 +1,11 @@
import { useEffect, useState } from 'react';
import { useEffect, useState, type RefObject } from 'react';
import { useTranslation } from 'react-i18next';
import { ArrowUp } from 'lucide-react';
import { cn } from '@/lib/utils';
interface ScrollToTopProps {
/** The scroll container to watch and scroll back to top. */
scrollRef: React.RefObject<HTMLDivElement | null>;
scrollRef: RefObject<HTMLDivElement | null>;
/** Reveal the button once the container is scrolled past this many pixels. */
threshold?: number;
}
+2 -1
View File
@@ -1,9 +1,10 @@
import type { ReactNode } from 'react';
import { cn } from '@/lib/utils';
interface ToolbarButtonProps {
onClick: () => void;
label: string;
icon: React.ReactNode;
icon: ReactNode;
disabled?: boolean;
/** Shown instead of `label` (visually) without changing the accessible name. */
visibleLabel?: string;
+2 -2
View File
@@ -1,4 +1,4 @@
import { useCallback, useEffect, useRef } from 'react';
import { useCallback, useEffect, useRef, type ChangeEvent } from 'react';
import { useTranslation } from 'react-i18next';
import { useDropzone, type FileRejection } from 'react-dropzone';
import { useShallow } from 'zustand/react/shallow';
@@ -144,7 +144,7 @@ export function BatchPanel({ format, direction, options, open, onOpenChange }: B
}
};
const onFileInputChange = (e: React.ChangeEvent<HTMLInputElement>) => {
const onFileInputChange = (e: ChangeEvent<HTMLInputElement>) => {
const files = Array.from(e.target.files ?? []);
e.target.value = '';
if (files.length > 0) handleAddFiles(files);
+2 -2
View File
@@ -1,4 +1,4 @@
import { useCallback, useId, useMemo, useRef, useState } from 'react';
import { useCallback, useId, useMemo, useRef, useState, type ChangeEvent } from 'react';
import { useTranslation } from 'react-i18next';
import { useDropzone, type FileRejection } from 'react-dropzone';
import { Eraser, FileText, FolderOpen, MessageSquareCode } from 'lucide-react';
@@ -156,7 +156,7 @@ export function InputPanel({
}
};
const handleFileChange = (e: React.ChangeEvent<HTMLInputElement>) => {
const handleFileChange = (e: ChangeEvent<HTMLInputElement>) => {
const file = e.target.files?.[0];
e.target.value = '';
if (file) loadFile(file);
@@ -1,4 +1,4 @@
import { afterAll, afterEach, beforeAll, describe, expect, it, vi } from 'vitest';
import { afterEach, 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';
@@ -7,28 +7,10 @@ import '@/i18n';
import { parseJsonInput } from '@/lib/detect';
import { editorLanguageFor } from '@/lib/editor-language';
import { ThemeProvider, type Theme } from '@/lib/theme';
import { stubRangeGeometry } from '@/test/range-geometry';
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);
});
});
stubRangeGeometry();
afterEach(async () => {
await i18n.changeLanguage('en');
@@ -1,9 +1,10 @@
import { afterAll, afterEach, beforeAll, describe, expect, it, vi } from 'vitest';
import { afterEach, 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 { stubRangeGeometry } from '@/test/range-geometry';
import { CodeEditorLazy } from '../CodeEditorLazy';
// The real editor module, behind a switch that simulates a failed chunk load.
@@ -24,22 +25,7 @@ vi.mock('@/components/converter/CodeEditor', async (importOriginal) => {
};
});
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');
});
stubRangeGeometry();
afterEach(() => {
chunk.broken = false;
@@ -56,6 +56,13 @@ afterEach(() => {
const copyButton = () => screen.getByRole('button', { name: /^Cop(y|ied)$/ });
const downloadButton = () => screen.getByRole('button', { name: 'Download' });
/** Advances the fake timers inside act(); the block body keeps act() synchronous. */
function advance(ms: number) {
act(() => {
vi.advanceTimersByTime(ms);
});
}
async function lastDownloaded(): Promise<{ blob: Blob; name: string; bytes: number[] }> {
const [blob, name] = vi.mocked(downloadBlob).mock.lastCall!;
return { blob, name, bytes: [...new Uint8Array(await blob.arrayBuffer())] };
@@ -145,12 +152,12 @@ describe('OutputPanel — copy', () => {
await act(async () => fireEvent.click(copyButton()));
expect(copyButton()).toHaveTextContent('Copied');
act(() => vi.advanceTimersByTime(1000));
advance(1000);
await act(async () => fireEvent.click(copyButton()));
act(() => vi.advanceTimersByTime(1000));
advance(1000);
expect(copyButton()).toHaveTextContent('Copied');
act(() => vi.advanceTimersByTime(500));
advance(500);
expect(copyButton()).toHaveTextContent('Copy');
expect(copyButton()).not.toHaveTextContent('Copied');
});
+8 -2
View File
@@ -1,4 +1,10 @@
import { useEffect, useId, useRef, useState } from 'react';
import {
useEffect,
useId,
useRef,
useState,
type KeyboardEvent as ReactKeyboardEvent,
} from 'react';
import { useTranslation } from 'react-i18next';
import { Check, Monitor, Moon, SlidersHorizontal, Sun } from 'lucide-react';
import { Switch } from '@/components/ui/switch';
@@ -53,7 +59,7 @@ export function AppearanceMenu() {
};
}, [open]);
const onPanelKeyDown = (e: React.KeyboardEvent<HTMLDivElement>) => {
const onPanelKeyDown = (e: ReactKeyboardEvent<HTMLDivElement>) => {
if (e.key !== 'ArrowDown' && e.key !== 'ArrowUp' && e.key !== 'Home' && e.key !== 'End') return;
const items = Array.from(
panelRef.current?.querySelectorAll<HTMLElement>('[data-menu-item]') ?? [],
+2 -1
View File
@@ -1,3 +1,4 @@
import type { ReactNode } from 'react';
import { useTranslation } from 'react-i18next';
import { BlueskyIcon, DiscordIcon, XIcon } from '@/components/common/SocialIcons';
@@ -44,7 +45,7 @@ export function Footer() {
interface SocialLinkProps {
href: string;
label: string;
icon: React.ReactNode;
icon: ReactNode;
}
function SocialLink({ href, label, icon }: SocialLinkProps) {
+2 -1
View File
@@ -1,3 +1,4 @@
import type { ReactNode } from 'react';
import { Link, NavLink } from 'react-router';
import { useTranslation } from 'react-i18next';
import { GithubIcon } from '@/components/common/SocialIcons';
@@ -50,7 +51,7 @@ export function Header() {
interface NavItemProps {
to: string;
end?: boolean;
children: React.ReactNode;
children: ReactNode;
}
function NavItem({ to, end, children }: NavItemProps) {
+3
View File
@@ -1,3 +1,5 @@
// XMLValidator is deprecated in fast-xml-parser 5 (see the note in xml.ts).
// noinspection JSDeprecatedSymbols
import { XMLParser, XMLValidator } from 'fast-xml-parser';
import type { Converter } from './types';
import { errorMessage } from '@/lib/errors';
@@ -194,6 +196,7 @@ export const resxConverter: Converter<ResxOptions> = {
if (/<!DOCTYPE/i.test(text)) {
return { ok: false, error: 'Not a RESX file: DOCTYPE declarations are not supported.' };
}
// noinspection JSDeprecatedSymbols
const validation = XMLValidator.validate(text);
if (validation !== true) {
return {
+10 -2
View File
@@ -1,4 +1,11 @@
import { XMLBuilder, XMLValidator } from 'fast-xml-parser';
// Default import: the package's typings also declare a named `Builder`, but
// its ES module only has the default export.
import XMLBuilder from 'fast-xml-builder';
// fast-xml-parser 5 deprecates XMLValidator in favour of the separate
// fast-xml-validator package, which would bundle a second XML parser. The
// built-in validator stays until fast-xml-parser removes it.
// noinspection JSDeprecatedSymbols
import { XMLValidator } from 'fast-xml-parser';
import type { Converter } from './types';
import { errorMessage } from '@/lib/errors';
import { defineOwn } from '@/lib/json';
@@ -186,7 +193,8 @@ export const xmlConverter: Converter<XmlOptions> = {
// `{"@_enabled": true}` must become enabled="true", not a bare attribute.
suppressBooleanAttributes: false,
});
const xml = builder.build({ [rootName]: body }) as string;
const xml = builder.build({ [rootName]: body });
// noinspection JSDeprecatedSymbols
const validation = XMLValidator.validate(xml);
if (validation !== true) {
return {
@@ -150,7 +150,9 @@ describe('useBatchActions.start', () => {
return '[2]';
},
});
act(() => useBatchStore.getState().addFiles([slow]));
act(() => {
useBatchStore.getState().addFiles([slow]);
});
let second!: Promise<void>;
act(() => {
second = result.current.start();
@@ -71,6 +71,13 @@ function okOutcome(output: string, ms = 12): TimedOutcome {
const big = (marker: string) =>
JSON.stringify({ marker, blob: 'x'.repeat(WORKER_THRESHOLD_CHARS) });
/** Advances the fake timers inside act(); the block body keeps act() synchronous. */
function advance(ms: number) {
act(() => {
vi.advanceTimersByTime(ms);
});
}
describe('useConversionResult — small inputs (main thread)', () => {
it('is idle for empty or blank input', () => {
const { result, rerender } = setup();
@@ -221,10 +228,10 @@ describe('useConversionResult — large inputs (worker)', () => {
const { result } = setup({ input, format: 'yaml', options: { indent: 2 } });
expect(result.current).toMatchObject({ output: '', pending: true });
act(() => vi.advanceTimersByTime(199));
advance(199);
expect(client.convertLive).not.toHaveBeenCalled();
act(() => vi.advanceTimersByTime(1));
advance(1);
expect(client.convertLive).toHaveBeenCalledTimes(1);
expect(client.convertLive).toHaveBeenCalledWith<[ConversionRequest]>({
text: input,
@@ -247,10 +254,10 @@ describe('useConversionResult — large inputs (worker)', () => {
client.convertLive.mockReturnValue(new Promise(() => {}));
const { rerender } = setup({ input: big('1') });
for (const marker of ['2', '3', '4']) {
act(() => vi.advanceTimersByTime(100));
advance(100);
rerender({ input: big(marker), format: 'csv', direction: 'forward', options: CSV_OPTIONS });
}
act(() => vi.advanceTimersByTime(200));
advance(200);
expect(client.convertLive).toHaveBeenCalledTimes(1);
expect(client.convertLive.mock.calls[0]![0]).toMatchObject({ text: big('4') });
});
@@ -260,14 +267,14 @@ describe('useConversionResult — large inputs (worker)', () => {
const second = deferred();
client.convertLive.mockReturnValueOnce(first.promise).mockReturnValueOnce(second.promise);
const { result, rerender } = setup({ input: big('a') });
act(() => vi.advanceTimersByTime(200));
advance(200);
await act(async () => first.resolve(okOutcome('A')));
expect(result.current).toMatchObject({ output: 'A', pending: false });
rerender({ input: big('b'), format: 'csv', direction: 'forward', options: CSV_OPTIONS });
expect(result.current).toMatchObject({ output: 'A', pending: true });
act(() => vi.advanceTimersByTime(200));
advance(200);
await act(async () => second.resolve(okOutcome('B')));
expect(result.current).toMatchObject({ output: 'B', pending: false });
});
@@ -277,10 +284,10 @@ describe('useConversionResult — large inputs (worker)', () => {
const fresh = deferred();
client.convertLive.mockReturnValueOnce(stale.promise).mockReturnValueOnce(fresh.promise);
const { result, rerender } = setup({ input: big('old') });
act(() => vi.advanceTimersByTime(200));
advance(200);
rerender({ input: big('new'), format: 'csv', direction: 'forward', options: CSV_OPTIONS });
act(() => vi.advanceTimersByTime(200));
advance(200);
await act(async () => stale.resolve(okOutcome('OLD')));
expect(result.current).toMatchObject({ output: '', pending: true });
@@ -292,7 +299,7 @@ describe('useConversionResult — large inputs (worker)', () => {
const run = deferred();
client.convertLive.mockReturnValueOnce(run.promise);
const { result } = setup({ input: big('a') });
act(() => vi.advanceTimersByTime(200));
advance(200);
await act(async () => run.reject(new Error('The conversion ran out of resources.')));
expect(result.current).toMatchObject({
@@ -306,7 +313,7 @@ describe('useConversionResult — large inputs (worker)', () => {
const run = deferred();
client.convertLive.mockReturnValueOnce(run.promise);
const { result } = setup({ input: big('a') });
act(() => vi.advanceTimersByTime(200));
advance(200);
await act(async () => run.reject(new SupersededError()));
expect(result.current).toMatchObject({ output: '', outputError: null, pending: true });
@@ -334,7 +341,7 @@ describe('useConversionResult — large inputs (worker)', () => {
for (const [outcome, expected] of outcomes) {
client.convertLive.mockResolvedValueOnce(outcome);
const { result, unmount } = setup({ input: big('k') });
act(() => vi.advanceTimersByTime(200));
advance(200);
await act(async () => {});
expect(result.current).toMatchObject({ ...expected, pending: false });
unmount();
@@ -345,7 +352,7 @@ describe('useConversionResult — large inputs (worker)', () => {
const run = deferred();
client.convertLive.mockReturnValueOnce(run.promise);
const { unmount, renders } = setup({ input: big('a') });
act(() => vi.advanceTimersByTime(200));
advance(200);
unmount();
const count = renders.length;
await act(async () => run.resolve(okOutcome('late')));
@@ -355,7 +362,7 @@ describe('useConversionResult — large inputs (worker)', () => {
it('cancels the pending timer when the input shrinks below the threshold', () => {
const { result, rerender } = setup({ input: big('a'), format: 'jsonl', options: {} });
rerender({ input: '[{"a":1}]', format: 'jsonl', direction: 'forward', options: {} });
act(() => vi.advanceTimersByTime(1000));
advance(1000);
expect(client.convertLive).not.toHaveBeenCalled();
expect(result.current).toMatchObject({ output: '{"a":1}\n', pending: false });
});
+1 -1
View File
@@ -33,5 +33,5 @@ export function saveConsent(consent: StoredConsent): void {
}
export function isConsentValid(consent: StoredConsent | null): boolean {
return !!consent && consent.accepted === true && consent.version === CONSENT_VERSION;
return !!consent && consent.accepted && consent.version === CONSENT_VERSION;
}
+4 -4
View File
@@ -1,4 +1,4 @@
import { useRef, useState } from 'react';
import { useRef, useState, type ReactNode } from 'react';
import { useTranslation } from 'react-i18next';
import { Check, ClipboardCopy, ExternalLink, Heart, Mail, ShieldCheck, Users } from 'lucide-react';
import { ScrollToTop } from '@/components/common/ScrollToTop';
@@ -18,7 +18,7 @@ import { tauriHostInfo } from '@/lib/tauri';
interface CommunityPlatform {
key: 'discord' | 'x' | 'bluesky' | 'mastodon' | 'telegram' | 'youtube';
url: string;
icon: React.ReactNode;
icon: ReactNode;
}
const COMMUNITY: CommunityPlatform[] = [
@@ -359,9 +359,9 @@ function Section({
title,
children,
}: {
icon?: React.ReactNode;
icon?: ReactNode;
title: string;
children: React.ReactNode;
children: ReactNode;
}) {
return (
<section className="mt-12">
+1 -1
View File
@@ -172,7 +172,7 @@ describe('Copy diagnostics', () => {
'',
'Recent log:',
]);
expect(lines[6]).toMatch(/^\d{4}-\d{2}-\d{2}T\S+ WARN \[convert\] Slow conversion 1200$/);
expect(lines[6]).toMatch(/^\d{4}-\d{2}-\d{2}T\S+ WARN \[convert] Slow conversion 1200$/);
expect(success).toHaveBeenCalledWith('Diagnostics copied — paste them into your bug report.');
expect(copyButton().querySelector('svg')).toHaveClass('lucide-check');
+29
View File
@@ -0,0 +1,29 @@
import { afterAll, beforeAll } from 'vitest';
const emptyRect = { x: 0, y: 0, width: 0, height: 0, top: 0, right: 0, bottom: 0, left: 0 };
const rangeGeometry = ['getClientRects', 'getBoundingClientRect'] as const;
/**
* jsdom has no layout engine, but CodeMirror measures text ranges to draw the
* cursor and selection layers. Call this at the top level of a test file: the
* Range geometry methods return empty boxes for that file's tests, and the
* originals come back afterwards. Empty geometry is enough for the tests.
*/
export function stubRangeGeometry(): void {
const originals = 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 = originals[i];
if (original) Object.defineProperty(Range.prototype, key, original);
else Reflect.deleteProperty(Range.prototype, key);
});
});
}
+2 -2
View File
@@ -151,14 +151,14 @@ export default defineConfig(({ mode }) => ({
// One chunk per parser library.
{ name: 'p-yaml', priority: 70, test: /js-yaml/ },
{ name: 'p-csv', priority: 70, test: /papaparse/ },
{ name: 'p-xml', priority: 70, test: /fast-xml-parser/ },
{ name: 'p-xml', priority: 70, test: /fast-xml-(?:parser|builder)/ },
{ name: 'p-toml', priority: 70, test: /smol-toml/ },
{ name: 'p-bson', priority: 70, test: /node_modules[\\/]bson[\\/]/ },
{ name: 'p-cbor', priority: 70, test: /node_modules[\\/]cbor-x[\\/]/ },
{ name: 'p-msgpack', priority: 70, test: /node_modules[\\/]@msgpack[\\/]/ },
{ name: 'fflate', priority: 70, test: /fflate/ },
// Radix primitives + icon set.
{ name: 'ui', priority: 60, test: /(?:@radix-ui|lucide-react)/ },
{ name: 'ui', priority: 60, test: /@radix-ui|lucide-react/ },
],
},
},