Supersedes Dependabot #75, #76 and #77, which could not merge while `main`'s audits were red. Rust (floors raised to what is locked, so the manifests say what is built): - tauri 2.11.5 → 2.12.4 and tauri-build 2.7.3, with the plugins dialog 2.8.3, opener 2.7.2, clipboard-manager 2.5.0 and single-instance 2.5.4 — in lockstep with `@tauri-apps/*` 2.12, which Tauri's own version check requires. - **rusqlite 0.37 → 0.40.2** (libsqlite3-sys 0.38.2, SQLite 3.53.2). ARCHITECTURE §10 held it because libsqlite3-sys used the then-unstable `cfg_select!`; that is stable since 1.95 and the toolchain is now 1.99.1. Nothing here used `u64`/`usize` `ToSql` (disabled by default since 0.38) or `prepare_cached` (optional since 0.38), and 0.40.1 fixes a SAVEPOINT-name injection. - reqwest 0.13.5, tokio 1.53.3, tokio-util 0.7.20, jiff 0.2.38, clap 4.6.7, schemars 1.2.3, sha2 0.11.1, thiserror 2.0.21, serde_json 1.0.154, async-trait 0.1.92, insta 1.49.0, and 211 transitive updates (h2 0.4.20 among them). npm: React 19.3.1, Vite 8.3.4, @vitejs/plugin-react 6.1.2, **Vitest 5.0.5** (all 18 `vi.mock` calls were already top-level), ESLint 10.12.0, typescript-eslint 8.71.2, jsdom 30.1.3, @tanstack/react-virtual 3.14.21, i18next 26.4.7, react-i18next 17.0.19, @types/* current. **TypeScript stays 6.0.3**: typescript-eslint 8.71.2 still peers `>=4.8.4 <6.1.0`. Code Health pin: ruff 0.16.3 → 0.17.1. Verified by running it, not by reading its changelog: `health/sample/capture.py` reproduces all four committed `ruff/*.json` byte for byte, and exit codes 0/1/2 still mean clean/findings/error. Two things the upgrade surfaced in the frontend, both real: - virtual-core 3.19 measures the scroll element with `clientWidth`/`clientHeight` (it used `getBoundingClientRect()`), and that first reading replaces `initialRect`. jsdom reports 0, so 13 table tests and 5 App-level ones went back to rendering an empty grid; the setup now stubs the two properties beside the `offset*` ones. - jsdom 30.1 implements "a closed `<dialog>`'s contents cannot take focus", which is the spec. React applies `autoFocus` by calling `focus()` during commit — *before* PdDialog's effect calls `showModal()` — and never writes the `autofocus` attribute, so neither path focused Cancel. It worked in WebView2 only because Cancel is the first focusable element. PdDialog and the palette now focus explicitly after `showModal()`, and return focus to whatever opened them on close (it fell to `<body>` before). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
61 lines
1.8 KiB
JSON
61 lines
1.8 KiB
JSON
{
|
|
"name": "pipdock",
|
|
"version": "1.3.0",
|
|
"private": true,
|
|
"description": "A friendly dock for your Python environments \u2014 bulk inspect, install, update and clean up Python packages.",
|
|
"license": "GPL-3.0-only",
|
|
"type": "module",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/poli0981/pipdock.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/poli0981/pipdock/issues"
|
|
},
|
|
"homepage": "https://github.com/poli0981/pipdock#readme",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "vite build",
|
|
"bundle:cli": "node scripts/bundle-cli.mjs",
|
|
"bundle": "npm run bundle:cli && tauri build --bundles nsis,msi --config src-tauri/tauri.bundle.conf.json -- --locked",
|
|
"preview": "vite preview",
|
|
"lint": "eslint .",
|
|
"typecheck": "tsc --noEmit",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"tauri": "tauri"
|
|
},
|
|
"dependencies": {
|
|
"@tanstack/react-virtual": "^3.14.21",
|
|
"@tauri-apps/api": "^2.12.4",
|
|
"@tauri-apps/plugin-clipboard-manager": "^2.5.0",
|
|
"@tauri-apps/plugin-dialog": "^2.8.3",
|
|
"@tauri-apps/plugin-opener": "^2.7.2",
|
|
"i18next": "^26.4.7",
|
|
"react": "^19.3.1",
|
|
"react-dom": "^19.3.1",
|
|
"react-i18next": "^17.0.19",
|
|
"zustand": "^5.0.15"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^10.0.1",
|
|
"@tailwindcss/vite": "^4.3.3",
|
|
"@tauri-apps/cli": "^2.12.3",
|
|
"@testing-library/jest-dom": "^7.0.1",
|
|
"@testing-library/react": "^16.3.3",
|
|
"@types/node": "^26.6.5",
|
|
"@types/react": "^19.3.0",
|
|
"@types/react-dom": "^19.3.0",
|
|
"@vitejs/plugin-react": "^6.1.2",
|
|
"eslint": "^10.12.0",
|
|
"eslint-plugin-react-hooks": "^7.1.1",
|
|
"eslint-plugin-react-refresh": "^0.5.7",
|
|
"jsdom": "^30.1.3",
|
|
"tailwindcss": "^4.3.3",
|
|
"typescript": "^6.0.3",
|
|
"typescript-eslint": "^8.71.2",
|
|
"vite": "^8.3.4",
|
|
"vitest": "^5.0.5"
|
|
}
|
|
}
|