mirror of
https://github.com/profullstack/logicsrc.git
synced 2026-12-01 01:14:47 +00:00
chore(deps): upgrade all dependencies; next 16.4.3 (RCE GHSA-2464-fhr4-w9xw)
- next 16.3.8 -> 16.4.3 (GHSA-2464-fhr4-w9xw, GHSA-673q-mjm6-r5xr) - every workspace dependency to latest; majors: express 5, @simplewebauthn 14, imapflow 2 (status() may return false), nodemailer 10, libsodium-wrappers 0.8, commander 15, vite 8, @vitejs/plugin-react 6, typescript 7 (base tsconfig lists types: ["node"]), @logicsrc/validators 0.6, openmcp 0.4, hqtui 0.11, stack 0.5, x402-gateway 0.13 - bun 1.4.4 (image + packageManager) - bun audit: 3 critical / 34 high -> 0 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
50eb8ac30d
commit
c34fa1d5e8
36 changed files with 501 additions and 793 deletions
|
|
@ -23,15 +23,15 @@
|
|||
"@logicsrc/plugin-social-accounts": "file:../../plugins/social-accounts",
|
||||
"@logicsrc/plugin-ugig": "file:../../plugins/ugig",
|
||||
"@logicsrc/validators": "file:../../packages/validators",
|
||||
"@supabase/supabase-js": "^2.105.4",
|
||||
"imapflow": "^1.4.3",
|
||||
"mailparser": "^3.9.12",
|
||||
"nodemailer": "^9.0.1"
|
||||
"@supabase/supabase-js": "^2.118.0",
|
||||
"imapflow": "^2.9.1",
|
||||
"mailparser": "^3.12.4",
|
||||
"nodemailer": "^10.2.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/mailparser": "^3.4.6",
|
||||
"@types/nodemailer": "^8.0.1",
|
||||
"tsx": "^4.21.0",
|
||||
"vitest": "^4.0.8"
|
||||
"@types/mailparser": "^3.9.0",
|
||||
"@types/nodemailer": "^8.0.2",
|
||||
"tsx": "^4.23.15",
|
||||
"vitest": "^5.0.5"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -107,8 +107,9 @@ function createImapflowDriver(config: MailuConfig): ImapDriver {
|
|||
out.push({
|
||||
name: box.name,
|
||||
path: box.path,
|
||||
unseen: status.unseen ?? 0,
|
||||
total: status.messages ?? 0
|
||||
// imapflow 2 returns false when STATUS fails for a mailbox.
|
||||
unseen: status ? status.unseen ?? 0 : 0,
|
||||
total: status ? status.messages ?? 0 : 0
|
||||
});
|
||||
}
|
||||
return out;
|
||||
|
|
@ -120,7 +121,7 @@ function createImapflowDriver(config: MailuConfig): ImapDriver {
|
|||
const lock = await c.getMailboxLock(mailbox);
|
||||
try {
|
||||
const status = await c.status(mailbox, { messages: true });
|
||||
const total = status.messages ?? 0;
|
||||
const total = status ? status.messages ?? 0 : 0;
|
||||
if (total === 0) return [];
|
||||
const start = Math.max(1, total - limit + 1);
|
||||
const rows: MessageSummary[] = [];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue