Repository navigation
chore(deps): routine minor and patch updates - #1064
Conversation
Nine direct dependencies, named explicitly rather than a bare `pnpm update`. A bare refresh also carried @apidevtools/json-schema-ref-parser 15.1.3 -> 15.5.2 under the payload-oapi toolchain, and 15.5.2 declares `js-yaml: ^5.2.2` while overrides in pnpm-workspace.yaml force ^4.3.0. pnpm honours the override silently, so the module threw at import — "does not provide an export named 'binaryTag'" — and three unit specs that load the payload config died with it. Measured both ways: 234 files pass with the transitive at 15.1.3, 231 with it at 15.5.2. Its undici range collides the same way (^6.28.0 against the ^7.29.1 override), and settling which override moves is a decision, so it is filed, not fixed here. The Payload family stays at 3.90.2. All twelve packages plus the lexical trio pin exact and must move together, which is a framework bump with a changelog to read, not a patch batch. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Mg9rjVkVrjNhL42MXm9zE7
|
🚅 Deployed to the SahajCloud-pr-1064 environment in sahajcloud
1 service not affected by this PR
|
|
🤖 no session running recent dispatchesWritten by the sydevs dispatcher. Sessions never edit this comment. |
`pnpm install --frozen-lockfile` refused the branch:
[ERR_PNPM_OUTDATED_LOCKFILE] ... specifiers in the lockfile don't
match specifiers in package.json
- nodemailer (lockfile: ^10.3.1, manifest: ^10.1.1)
pnpm stores the importer specifier *after* overrides are applied, so the
value it expects is `pnpm-workspace.yaml`'s `nodemailer: '^10.1.1'`, not
package.json's `^10.3.1`. `main` has that shape already — package.json
`^10.1.7` against a lockfile specifier of `^10.1.1`. The bump commit
wrote the declared range instead, and no local run caught it because
only `--frozen-lockfile` compares the two.
`pnpm install` rewrites the one line and leaves the resolved version at
10.3.1, since the override's `^10.1.1` picks the latest 10.3.x. The
frozen install now completes, and the lean gate stays green: 234 files,
2990 tests.
One consequence to note rather than change: while that override stands,
package.json's `^10.3.1` floor is documentation, not a constraint — the
override alone decides what resolves. The ⚠ in `pnpm-workspace.yaml`
already says the line goes when `@payloadcms/email-nodemailer` declares
`^10`.
Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjZ5zTXTyPwXWeCuseT
sydevs-bot
left a comment
There was a problem hiding this comment.
🧐 Adversarial review
The diff is exactly the nine bumps the body names and nothing else, and both supply-chain claims hold when re-measured independently. Scope is right for a routine batch: the two causes it declined to guess at are filed (#1065, #1066), not hand-waved. One line pays no rent — the nodemailer floor, which the override makes inert and which is what cost the CI fix commit.
Findings
should-fix—package.json:102, thenodemailerfloor changed nothing the override had not already decided. Thread on that line.
What was checked
- Direct deps re-derived from the lockfile's
importersblock: exactly the nine named moved, no undisclosed bump. Every@payloadcms/*key changed only itsnextpeer suffix, so the family does hold at 3.90.2. - Supply chain, re-measured. 1144 lockfile keys present in both trees, 0 integrity changes. 104 added entries, all registry tarballs with
sha512-integrity, none from git, a URL or a path.pnpm-workspace.yamlis byte-identical. - Publish age, the number
minimumReleaseAge: 0makes this review responsible for and the body does not report: all nine bumps are 2–10 days old (newest[email protected], 2026-10-31). The newest non-optional added transitive is[email protected]at ~25h; everything newer isoptional: true(js-base64, the@rollup/*binaries) and not installed here. Nothing inside a 24h window ships. - The stated cause holds:
@apidevtools/json-schema-ref-parseris 15.1.3 on both sides, so the import canary is genuinely held back. - Contracts:
src/payload-types.tsuntouched, so no consumer sync moves. - nodemailer reachability:
src/payload.config.ts:265takesresendAdapter()in production andnodemailerAdapteronly outside it, so the Dev classification is right. - All three preview links answer 200, at sign-in.
🤖 Written by the sydevs autonomous loop — see what this is
Generated by Claude Code
`pnpm-workspace.yaml`'s `nodemailer: '^10.1.1'` override replaces the manifest range before resolution, so package.json's floor decides nothing while that line stands. pnpm's own error named the substitution: `manifest: ^10.1.1` against a package.json declaring `^10.3.1`. Measured on this branch with the floor back at `^10.1.7`: `pnpm install --frozen-lockfile` passes, a non-frozen `pnpm install` rewrites no lockfile line, and the installed version stays 10.3.1 — the override's refresh is what moved it, not the declared range. The lean gate stays green: 234 files, 2990 tests. That floor is what broke `--frozen-lockfile` and cost 3884abb. Reverting it buys back the one line in this PR that constrained nothing. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Mg9rjWNNNM99ob9pQ8rY4i
|
Addressed the one open thread. Adopted — the inert Nothing rebutted, nothing asked. The branch was already on current Body refreshed: the Dev line credits the override's refresh, and 🤖 Written by the sydevs autonomous loop — see what this is Generated by Claude Code |
Summary
pnpm updateproduces a tree where the Payload config will not import, and that cause is filed separately. Eight of the nine move a range inpackage.json;nodemailermoves by thepnpm-workspace.yamloverride's own refresh, so no manifest line changes for it.Change outline
Contract — what resolves after
pnpm installRuntime:
Dev:
pnpm-workspace.yamlis untouched — no override, noallowBuildsentry and nopatchedDependencieskey moved.package.json'snodemailerrange stays^10.1.7.pnpm-workspace.yaml'snodemailer: '^10.1.1'override replaces the manifest range before resolution — pnpm's ownERR_PNPM_OUTDATED_LOCKFILEreportedmanifest: ^10.1.1against a package.json declaring^10.3.1— so a floor written there constrains nothing while that line stands. Measured with therange reverted (d97831a):
pnpm install --frozen-lockfilepasses, a non-frozenpnpm installrewrites no lockfile line, and 10.3.1 still installs.
Flow — why the update names nine packages instead of none
A bare
pnpm updatere-resolves transitives too, and one of them breaks the config import:Measured both ways on this branch: 234 files / 2990 tests pass with the transitive at
15.1.3, and 231 files pass, 3 suites fail at import with it at 15.5.2.
js-yamlis 4.3.2 inboth trees, so the version did not move — the consumer did, onto a range the override refuses.
Which override moves is a decision, not a fact, so it is filed rather than guessed at here.
Scoping the key the way its neighbours already are (
'js-yaml@^4.0.0': '^4.3.0', aspicomatch@^4.0.0andminimatch@^3.0.0are scoped) would let a^5consumer resolve 5.x whilethe 4.x line stays patched — but the same question is open for
undici, where this repo took theoverride deliberately for GHSA-4cwx-7wf7-3272. Pinning the transitive instead is the other answer.
Preview
Railway keys the host on the PR number, so these are live once the build finishes.
next16.4.3 and@sentry/nextjs10.78.0lucide-reactmoved seven minors@payloadcms/db-postgres, which did not moveSign in with a link as
PREVIEW_ADMIN_EMAIL(AGENTS.md§ Admin Access).Data: not seeded.
previewUrl.seedis unset for this repo, so no seed command exists for thisrun to call. The three links above are chrome and list views, which render on an empty database —
they show that the app boots and the admin UI draws, not content.
Test results
.claude/skills/pr-prep/check.sh— lint,prettier --check,tsc --noEmitfor src and tests, and the Tier 2 unit lane: 234 files, 2990 tests passed.nodemailerfloor: green, same 234 files / 2990 tests, andpnpm-lock.yamlbyte-identical to 3884abb's.sanitized-config-rules,atlas-registrations-data,meditation-transcripts-verify-run— all load the Payload config, which is what makes them the import canary. Green.pnpm build, run becausenextmoved. The standalone postbuild copy completed.Manual verification
lucide-reactmoved seven minors and@payloadcms/uidraws the editor chrome from it.resend,react-emailandnodemailerall moved, and production mail goes throughresendAdapter()while a developer's Mailpit path goes through nodemailer.Notes for reviewer
pnpm audit --audit-level=highreports three high advisories on this branch, all pre-existing and none in the nine packages here. They are filed rather than fixed, because this is the routine-updates branch prefix and a vulnerability fix belongs on the other one — an openclaude/fix-deps-*PR holds back the dispatcher's own vulnerability fires.nodemailerfloor is reverted in d97831a: it changed no resolution, and it was the one line that broke--frozen-lockfileand cost 3884abb (thread)./simplifyor/code-reviewpass: the diff ispackage.jsonplus the lockfile, with no code to review.package.jsonandpnpm-lock.yamlmatch none of this repo'ssecurityReview.triggerPattern, which scopes to access control, endpoints, hooks, storage, webhooks andpayload.config.ts..env.exampleorrailway.tomlnames any of these versions.Detail
Supply-chain checks on the lockfile diff, since a dependency diff has no data flow to trace:
pnpm-workspace.yamlis byte-identical, so no override, build-script approval or patch moved; the[email protected]patch still applies, and@payloadcms/[email protected]would also pindrizzle-kitat exactly0.31.7, so the Payload bump will not strand it; every addedresolution:line is a registry tarball with a
sha512-integrity hash, none from git, a URL or a path; and0 of the lockfile keys present in both trees changed integrity, which is the republished-tarball
signal.
The Payload family, left for its own PR. Twelve packages pin exact at 3.90.2 and 3.92.1 is
available:
payload,@payloadcms/{db-postgres,email-nodemailer,next,plugin-cloud-storage,plugin-form-builder,plugin-nested-docs,plugin-seo,richtext-lexical,typescript-plugin,ui}.The
lexical,@lexical/reactand@lexical/rich-texttrio pins exact at 0.50.0 (0.53.0available) and has to be aligned with whatever
@payloadcms/richtext-lexicalexpects.One thing that bump gets to clean up:
pnpm-workspace.yaml'snodemailer: '^10.1.1'override ismarked ⚠ as the one override past a declared major, with "Drop this line once the adapter declares
^10".@payloadcms/[email protected]does declare^10.1.1. At 3.90.2 it stilldeclares
^9.1.1, so the override stays load-bearing in this PR and must not be dropped here —and while it stands it is the only thing deciding which 10.x installs.
Also held, by their own declared ranges.
@vvo/tzdb6.198.0 → 6.202.0 and the lexical trioare exact pins.
payload-oapiis^0.2.5against a published 0.3.1 — a 0.x minor is a breakingchange by convention, so the caret correctly refuses it.
Majors available, deliberately not taken. Each gets its own PR and its changelog read:
@sentry/nextjs10→11,@types/node22→26,@vitejs/plugin-react4→6 (⚠ its peer cap is whatoverrides.vite: '7.3.6'exists to satisfy, so these two move together),@vitest/coverage-v8and
vitest4→5,csv-parse5→7,dotenv16→18,eslint9→10,jose5→6,jsdom26→30,music-metadata11→12,rrule-temporal1→2,typescript5.7→7,vite-tsconfig-paths5→6.Generated by Claude Code