chore(deps): bump nodemailer to 10.0.10 and patch vulnerable undici copies
Merged
WA
1mo ago+20+20+01234567890123456789-33-33-01234567890123456789
Summary
- Supersedes #8392 — Dependabot bumped
package.jsonwithoutbun.lock, so every CI job failed on--frozen-lockfile nodemailer9.1.1 → 10.0.10 (GHSA-6vj9-mwq6-2f5v); 10.0.11+ are still inside the repo's 7-day minimum release ageundici7.29.0 → 7.29.1 (the September undici advisory batch)- Patched the transitive undici copies too: e2b override 2.45.0 → 2.50.0 (pins
undici88.10.2) and node-gyp's nested undici 6.28.0 → 6.28.1 - nodemailer 10 ships its own types: dropped
@types/nodemailer, switchednodemailer.Transporter/nodemailer.SendMailOptionsnamespace types to named type imports, and removed the SESdouble-cast-allowedcast whose only reason was the@typespackage's nested AWS SDK - Kept
bun.lockat lockfileVersion 1. Scopedoverrides(undici@8,parent>child) would force v3, which Bun 1.3.x ignores
Not covered: @earendil-works/pi-coding-agent@0.80.10 exact-pins undici@8.5.0; patched undici needs pi ≥ 0.86.0, which is a separate Pi bump
Type of Change
- Dependency update / security fix
Testing
bun install --frozen-lockfilepasses on Bun 1.4.2 (CI) and 1.3.14apps/simtype-check cleanlib/internal/smtp+lib/messaging/emailtests: 52 passed (gmail tests exercise the realMailComposer)- Real SMTP round-trip through
sendSmtpMessageagainst a local SMTP server (message id, subject, attachment), plus the SES v2 transport with a stubbed client andMailComposerraw build bun run lint, block registry check,bun run check:audits(51 audits),docs-manifest:check
Checklist
- Code follows project style guidelines
- Self-reviewed my changes
- Tests added/updated and passing (new tests pass the
test-auditauthoring gate) - No new warnings introduced
- I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)