package-updates #7

Merged
nuclear314 merged 10 commits from package-updates into master 2026-10-16 19:28:44 +00:00
Owner

Update packages and add some minor app fixes

Update packages and add some minor app fixes
- @electron/rebuild 4.2.0 -> 4.2.1
- @modelcontextprotocol/sdk 1.30.0 -> 1.32.1
- express 4.22.2 -> 4.22.3
- multer 2.2.0 -> 2.4.0
Lockfile only; no package.json range changes.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
- Clears the uuid bounds-check advisory (GHSA-w5hq-g745-h8pq); prod audit is now clean.
- No code changes: cron.schedule/validate and task.stop() are unchanged for our usage,
  and require() from electron/main.cjs still works.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
- No code changes: only 'dotenv/config' imports are used, DOTENV_CONFIG_PATH still
  redirects in Electron, and no extra startup log noise was observed.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
- Express 5 leaves req.body undefined when nothing was parsed (v4 gave {}); handlers
  destructure it directly, so add a small middleware after express.json() that
  defaults it to {}.
- No wildcard routes or legacy res.json(status, body) signatures in use.
- Smoke-tested static pages, board/posts APIs, empty-body POSTs and multipart POSTs.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
- v13 moved to N-API (requires Node >=22): one build now loads under both plain Node
  and Electron, so the ABI-flip gotcha should no longer apply. Verified npm start and
  npx electron . both open the DB with no rebuild.
- Update allowScripts key; note the change in CLAUDE.md.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Upgrade electron 33 -> 44 and electron-builder 25 -> 26
Some checks failed
Build desktop apps / build-windows (push) Failing after 36s
Build desktop apps / build-linux (push) Successful in 55s
Build desktop apps / publish-release (push) Failing after 0s
953d8ccdb3
- No main-process code changes needed; app boots under Electron 44 (server, scheduler).
- Update allowScripts key for electron.
- Not yet verified: tray/Settings window, packaged installer/AppImage builds.
- Remaining npm audit findings are dev-only (sprintf-js chain under electron-builder).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Fix CI build after better-sqlite3 13: skip implicit node-gyp rebuild
All checks were successful
Build desktop apps / build-linux (push) Successful in 49s
Build desktop apps / build-windows (push) Successful in 2m13s
Build desktop apps / publish-release (push) Successful in 13s
08f3ae7536
better-sqlite3 13 ships N-API prebuilds and no install script, but npm still runs
an implicit 'node-gyp rebuild' because the package has a binding.gyp. The bare
Windows runner has no Python/MSVC, so 'npm ci' failed.

- CI: npm ci --ignore-scripts (both jobs)
- package.json: build.npmRebuild = false so electron-builder doesn't recompile either
- build-win.bat / build-linux.sh: drop the now-pointless ABI-restore step
- CLAUDE.md: document why both settings must stay

Verified locally: electron-builder --win --dir packages the prebuilds and the
unpacked exe boots and serves the API.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Fix generator button becoming unresponsive
All checks were successful
Build desktop apps / build-linux (push) Successful in 50s
Build desktop apps / build-windows (push) Successful in 2m8s
Build desktop apps / publish-release (push) Successful in 13s
02219bb60c
Add remove option after picking on-site images
All checks were successful
Build desktop apps / build-linux (push) Successful in 49s
Build desktop apps / build-windows (push) Successful in 2m8s
Build desktop apps / publish-release (push) Successful in 14s
d6bb6366fa
nuclear314 deleted branch package-updates 2026-10-16 19:28:46 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
nuclear314/CivitAI-Publisher!7
No description provided.