Skip to content

chore(deps): routine minor and patch updates - #991

Merged
sydevs-bot merged 4 commits into
mainfrom
claude/chore-deps-routine
Oct 19, 2026
Merged

sydevs-bot merged 4 commits into
mainfrom
claude/chore-deps-routine

Conversation

@sydevs-bot

@sydevs-bot sydevs-bot commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Routine minor/patch updates. As a side effect it clears three moderate advisories, including the Vitest path-traversal pair.
  • Four things held back, each because a gate in this repo said so — not out of caution. Payload itself is one of them.
  • Review round: the three versions this run measured are now pinned exact, so the measurement lives in the manifest rather than in the lockfile alone.

Change outline

Contract — what the app now resolves to

Only declared dependencies were named on the update. A bare pnpm update also refreshes transitives, and that is how @apidevtools/json-schema-ref-parser reached 15.5.2, which imports binaryTag from js-yaml and killed two specs at import against the 4.x line. ⚠ The review round's own regeneration did move seven transitives inside vitest's subtree — es-module-lexer, obug, picomatch, std-env, tinyglobby, tinyrainbow, @jridgewell/sourcemap-codec — each onto a copy already in the tree. That is a dedupe, not a bump: nothing new enters, and seven duplicates leave.

 dependencies
-  react, react-dom                 19.2.1    # exact
+  react, react-dom                 19.3.1
-  next                            ^16.3.8
+  next                            ^16.4.2
-  @sentry/nextjs                 ^10.29.0
+  @sentry/nextjs                 ^10.76.2
-  @vvo/tzdb                      ^6.198.0
+  @vvo/tzdb                       6.198.0    # exact — the range admitted a measured break
-  rrule-temporal                   ^1.4.5
+  rrule-temporal                    1.4.5    # exact — same reason
   @aws-sdk/client-s3 + lib-storage 3.1055.0→3.1152.0 · pg 8.16.3→8.23.1
   @mapbox/search-js-react 1.5.1→1.6.0 · lucide-react 1.18.0→1.59.0
   music-metadata 11.12.3→11.16.1 · ical-generator 11.0.0→11.1.2
   iso-639-1 3.1.5→3.1.6 · p-map 7.0.5→7.1.1 · p-retry 8.0.0→8.0.1
   react-email 6.6.0→6.11.3 · react-inlinesvg 4.2.0→4.5.0 · resend 6.17.2→6.34.1
   slugify 1.6.6→1.6.9 · styled-components 6.1.19→6.6.0 · swr 2.3.8→2.5.1
   zod 4.3.5→4.6.7 · @types/styled-components 5.1.35→5.1.36
 devDependencies
-  @types/react 19.1.0 · @types/react-dom 19.1.2 · playwright trio 1.57.0
+  @types/react 19.3.0 · @types/react-dom 19.3.0 · playwright trio 1.64.1
-  vitest ^4.1.8 · @vitest/coverage-v8 4.1.8
+  vitest 4.1.12 · @vitest/coverage-v8 4.1.12   # both exact; coverage-v8's peer IS exact
   @eslint/eslintrc 3.3.3→3.3.7 · @testing-library/react 16.3.0→16.3.3
   @types/node 22.19.3→22.20.5 · @types/pg 8.16.0→8.23.1 · eslint 9.39.2→9.39.5
   eslint-config-next 16.3.4→16.4.2 · eslint-plugin-unused-imports 4.3.0→4.4.1
   nodemailer 10.1.1→10.1.7 · prettier 3.7.4→3.9.10 · qs-esm 8.0.1→8.0.2
   tsx 4.23.0→4.23.15

Behaviour — the four held back, and the gate that said so

Each was attempted, failed a real check, and reverted. None is a guess. Three of the four are now held by the manifest; only payload still rests on the lockfile, because the range that would pin it is not what blocks it.

held at the gate that refused it
payload + the ten @payloadcms/*, 3.90.2 tests/unit/storage-object-key.spec.ts — the guard #865 earned. In 3.91.0 the cloud-storage plugin's own _objectKey field gained disableBulkEdit, disableGroupBy, disableListColumn and disableListFilter, and the spec asserts our credentials-absent stand-in declares the identical field. The four flags are admin.*, so no Postgres column moves and #865's column images._objectkey does not exist is not back — but the fix is a source change in src/plugins/storage, outside this repo's prAllowlistGlobs, so a ticketless deps PR cannot carry it. Already pinned exact, so no range change applies.
@vvo/tzdb, 6.198.0 — now pinned exact (f82b508) tests/unit/timezone-options.spec.ts — 6.201.1 moves SUPPORTED_TIMEZONES, whose membership and order are baked into five Postgres enums. The spec's own instruction is to regenerate the digest deliberately and ship the migration in the same PR, and never to update it to match a diff nobody read. The old ^6.198.0 still admitted 6.201.1, so the next regeneration would have re-tripped it; the pin is what closes that.
rrule-temporal, 1.4.5 — now pinned exact (d4d5d1b) pnpm typecheck. Its 1.6.0 minor retypes its Temporal surface through [email protected], so a ZonedDateTime from @js-temporal/polyfill is no longer assignable to it — errors in src/lib/schedule/icsBuilder.ts and src/lib/schedule/scheduleHooks.ts. The declared range was ^1.4.5, which admitted 1.6.0 and made this latent on main; the pin closes it here. Moving the two modules onto temporal-spec types remains its own change.
every major Not attempted. Listed below.

Behaviour — what moved in the security picture

pnpm audit --audit-level=moderate, measured on both sides of the diff:

-  1 high, 5 moderate     (main)
+  1 high, 2 moderate     (this branch)
-  moderate  vitest, @vitest/mocker  — path traversal / arbitrary file read
-  moderate  ajv                      — ReDoS via the $data option
   high      braces                   — stack exhaustion, GHSA-vfj7-8cjw-p6xm
   moderate  @humanfs/node, baseline-browser-mapping

The braces high stays, and the payload bump would not have cleared it: its 21 paths all run through [email protected] → chokidar → braces, and @payloadcms/next pins that same sass in 3.90.2 and 3.91.0 alike — checked on the registry, not assumed. It is build-time only, which is why the dispatcher's runtime-scoped Dependabot check has never fired on it.

Preview

A fresh preview carries exactly one row anywhere (the reconciled admin), and previewUrl.seed is unset for this repo, so nothing is seeded. These links need no content, and each answers a question this diff actually raises:

  • /api/health — the app boots at all, with next on 16.4.2 and react on 19.3.1 while @payloadcms/* stays on 3.90.2. That pairing is the one worth eyeballing.
  • /admin — the admin shell renders under the new React. Sign in with PREVIEW_ADMIN_EMAIL, which a preview answers with a session.
  • ⚠ /api/openapi.json is not a reviewable link here. It gates on DOCS_PASSWORD basic auth (src/app/(payload)/api/openapi.json/route.ts:45) and answers 401 on the preview, so it shows a reviewer nothing. The question it was offered for — did payload-oapi's schema chain survive the transitive refresh that broke it mid-run? — is answered by the lockfile instead: @apidevtools/json-schema-ref-parser resolves to 15.1.3 here and on main, and js-yaml to 4.3.2 on both. Neither moved.
  • Data: not seeded yet. No later run is promised to seed it.

Test results

  • Lean gate: ✓ .claude/skills/pr-prep/check.sh — pnpm lint, pnpm typecheck, pnpm typecheck:tests, and the unit lane at 2568 passed across 197 files. Identical to main's counts. Re-run on the pinned head.
  • Integration lane: ✓ 1576 passed across 95 files (pnpm test:int, 524s). This did not run on the first push — no PostgreSQL answered then. One did on the review round, so the gap the body reported is closed rather than deferred to CI.
  • pnpm install --frozen-lockfile: ✓ — the committed lockfile is a fixed point, so CI and Railway resolve what is in the diff.
  • pnpm peers check: one unmet peer, unchanged (see below). The vitest / @vitest/coverage-v8 pair is now satisfied by range, not by coincidence.
  • Build: ✓ pnpm build, the Railway build, including the standalone post-build copy. Measured before the pins; the pins change no resolved version.

Manual verification

  1. lucide-react moved 41 minors (1.18 → 1.59). Typecheck resolves every glyph import, but a redrawn icon passes every gate here — worth a glance at the admin's own iconography on the preview.
  2. react-email 6.6 → 6.11 and resend 6.17 → 6.34 both sit on the mail path. Nothing in the lean gate renders a template; scripts/preview-*-emails.ts against Mailpit is the cheap check if a reviewer wants one.

Notes for reviewer

  • Security review: skipped, correctly. No changed path matches this repo's securityReview.triggerPattern, which covers access, endpoints, hooks, storage and payload.config.ts — not package.json. The audit comparison above was run anyway, because a deps PR is where advisories move.
  • One new peer warning. pnpm peers check goes from clean to one unmet peer: [email protected] wants webpack ^5.112.0 and @sentry/[email protected] brings [email protected]. It is entirely inside Sentry's own bundler subtree, and pnpm build succeeds, so it is reported rather than worked around. Re-measured after the pins: still exactly one, still that one.
  • The /simplify and /code-review lenses had no source to read; comment-lint.mjs reports no banned comment added.
  • Docs checked, nothing stale. Three guides name these packages (src/migrations/AGENTS.md, src/collections/AGENTS.md, seeds/atlas/AGENTS.md) and none states a version range, so the pins need no docs change. The only 19.2.1 left in the tree is a generic third-party-plugin example in .agents/skills/payload/reference/PLUGIN-DEVELOPMENT.md, which already names next ^15.4.10 and vitest ^3.0.0 — it is not a claim about this repo.
  • Majors not here, each owing its own PR with its changelog read: @sentry/nextjs → 11.x, @types/node → 26.x, @vitejs/plugin-react → 6.x, vitest/@vitest/coverage-v8 → 5.x, dotenv → 18.x, eslint → 10.x (pnpm now marks the 9.x line deprecated), jose → 6.x, jsdom → 30.x, music-metadata → 12.x, payload-oapi → 0.3.x, rrule-temporal → 2.x, typescript → 7.x, vite-tsconfig-paths → 6.x, lexical/@lexical/* → 0.52 (moves with Payload, not independently).
  • Found by the nightly audit-deps routine-updates pass. The three held-back bumps above are recorded in tonight's journal rather than filed as tickets: the open-proposal count is 21 against a ceiling of 10.

🤖 Generated with Claude Code

https://claude.ai/code/session_019NDFxieXfqbmqnYPHr1qcb

Clears three moderate advisories as a side effect: the Vitest path-traversal
pair (vitest, @vitest/mocker) and ajv's $data ReDoS. `pnpm audit
--audit-level=moderate` goes from 1 high + 5 moderate to 1 high + 2 moderate.

Only declared dependencies were named on the update, deliberately — a bare
`pnpm update` also refreshes transitives, and that pulled
@apidevtools/json-schema-ref-parser to 15.5.2, which imports `binaryTag` from
js-yaml and broke two specs at import with js-yaml pinned to 4.x.

Four held back, each measured rather than assumed:
- The @payloadcms family and payload, at 3.90.2. In 3.91.0 the cloud-storage
  plugin's own `_objectKey` field gained four admin flags (disableBulkEdit,
  disableGroupBy, disableListColumn, disableListFilter), and
  storage-object-key.spec.ts asserts our disabled-path stand-in declares the
  identical field — the guard #865 earned. The flags are UI-only, so no
  Postgres column moves, but the fix is a source change in src/plugins/storage,
  outside this repo's ticketless-PR allowlist.
- @vvo/tzdb, at 6.198.0. 6.201.1 moves SUPPORTED_TIMEZONES, whose membership
  and order are baked into five Postgres enums. timezone-options.spec.ts says
  to regenerate the digest deliberately and ship the migration in the same PR.
- rrule-temporal, at 1.4.5. Its 1.6.0 minor retypes its Temporal surface
  through [email protected], so every ZonedDateTime handed to it from
  @js-temporal/polyfill stops being assignable. Typecheck fails in icsBuilder.ts
  and scheduleHooks.ts. ⚠ The range is ^1.4.5, so a fresh resolution still
  reaches 1.6.0 — this is latent on main, not introduced here.
- Every major.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_019NDFxieXfqbmqnYPHr1qcb
@railway-app

railway-app Bot commented Oct 19, 2026 •

Copy link
Copy Markdown

🚅 Deployed to the SahajCloud-pr-991 environment in sahajcloud

Service Status Web Updated
SahajCloud ✅ Success (View Logs) Web Oct 19, 2026 at 9:53 am UTC
1 service not affected by this PR
  • mailpit

@railway-app
railway-app Bot temporarily deployed to sahajcloud / SahajCloud-pr-991 October 19, 2026 09:11 Destroyed
@sydevs-bot sydevs-bot added the bot:working Lock: a cloud session is running on this item. Removed when it ends. label Oct 19, 2026
@sydevs-bot

sydevs-bot commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor Author

🤖 no session running

recent dispatches
  • 09:33Z address-review · attempt 1 · session · done
  • 09:33Z address-review · attempt 1 · session
  • 09:25Z review-pr · attempt 1 · session · done
  • 09:25Z review-pr · attempt 1 · session

Written by the sydevs dispatcher. Sessions never edit this comment.

@sydevs-bot sydevs-bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧐 Adversarial review

Scope is right. Two files, every bump named, and each of the four hold-backs cites a gate that actually refused it. The payload reasoning checks out: its fix needs src/plugins/storage, outside prAllowlistGlobs.

One shape runs through it, and it is inverted. The dependency whose fix is out of reach (payload) is pinned exact, while the two this PR proved break stay on carets. All three hold-backs rest on the lockfile alone, so the next regeneration — by this routine's own next run — re-resolves and re-trips them. The measurement survives only as prose.

Findings

  • should-fix — @vvo/tzdb ^6.198.0 admits the 6.201.1 that breaks the digest baked into five Postgres enums. package.json:51.
  • should-fix — rrule-temporal ^1.4.5 admits the 1.6.0 the body itself calls latent on main. package.json:75.
  • should-fix — the ## Preview link to /api/openapi.json answers 401. It gates on DOCS_PASSWORD basic auth (src/app/(payload)/api/openapi.json/route.ts:45), which the body never names. Offered as proof the payload-oapi chain survived the transitive refresh, it shows a reviewer nothing. The lockfile proves it instead: json-schema-ref-parser stays 15.1.3.
  • consider — vitest ^4.1.12 beside exact @vitest/coverage-v8 4.1.12, whose peer is exact. package.json:110.

What was checked

/api/health 200 (boots on next 16.4.2 + react 19.3.1 against payload 3.90.2), /admin 200 HTML, /api/openapi.json 401. Both lockfiles diffed by resolved version: [email protected], [email protected], [email protected] unmoved, so the braces high and its stated path hold. Six transitives cross a major, each inside a declared bump's own subtree. Read the openapi route and its gate, prAllowlistGlobs, and @vitest/coverage-v8's peer block. CI green; the lean gate was not re-run.

🤖 Written by the sydevs autonomous loop — see what this is


Generated by Claude Code

Comment thread package.json Resolved
Comment thread package.json Resolved
Comment thread package.json Resolved
@sydevs-bot sydevs-bot added bot:working Lock: a cloud session is running on this item. Removed when it ends. and removed bot:working Lock: a cloud session is running on this item. Removed when it ends. labels Oct 19, 2026
The range was ^6.198.0, which admits the 6.201.1 this run measured as
breaking: it moves SUPPORTED_TIMEZONES, whose membership and order are
baked into five Postgres enums. Only the lockfile held 6.198.0, so the
next regeneration re-resolves and re-trips the same spec.

29 dependencies here are already pinned exact, payload among them.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01DjA92bN7cDitAS24NDLruU
The range was ^1.4.5, which admits 1.6.0 — a minor that retypes its
Temporal surface through temporal-spec, so a ZonedDateTime from
@js-temporal/polyfill stops being assignable and typecheck fails in
src/lib/schedule/icsBuilder.ts and scheduleHooks.ts.

The lockfile was the only thing holding 1.4.5, which is what made this
latent on main rather than fixed anywhere.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01DjA92bN7cDitAS24NDLruU
@vitest/[email protected] declares `vitest: 4.1.12` as an exact peer, so
a caret here is asymmetric: the next patch resolution reproduces the
unmet peer this run already hit. Matching the two numbers was the
symptom; the range was the mechanism.

Regenerating the lockfile also collapsed seven duplicate transitives in
vitest's own subtree onto copies already in the tree — es-module-lexer,
obug, picomatch, std-env, tinyglobby, tinyrainbow and
@jridgewell/sourcemap-codec. Nothing new enters the tree; pnpm stopped
keeping two of each. The lean gate passes on the result, at the same 197
files and 2568 tests as main.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01DjA92bN7cDitAS24NDLruU
@railway-app
railway-app Bot temporarily deployed to sahajcloud / SahajCloud-pr-991 October 19, 2026 09:49 Destroyed
@sydevs-bot

Copy link
Copy Markdown
Contributor Author

Adopted all four review points. Branch was already level with main, so no base merge.

Adopted

Regenerating the lockfile deduped seven transitives in vitest's subtree. Named in the body.

Measured: lean gate green, 197 files and 2568 tests. The integration lane ran this time — 1576 passed across 95 files — closing the gap the body reported. --frozen-lockfile clean. One unmet peer, the same Sentry webpack.

🤖 Written by the sydevs autonomous loop — see what this is


Generated by Claude Code

@sydevs-bot sydevs-bot removed the bot:working Lock: a cloud session is running on this item. Removed when it ends. label Oct 19, 2026
@sydevs-bot
sydevs-bot marked this pull request as ready for review October 19, 2026 10:03
@sydevs-bot
sydevs-bot requested a review from Ardnived October 19, 2026 10:03
@sydevs-bot
sydevs-bot enabled auto-merge October 19, 2026 10:03
@sydevs-bot sydevs-bot moved this from Revising to Approved in SYDevelopers Technical Roadmap Oct 19, 2026
@sydevs-bot
sydevs-bot added this pull request to the merge queue Oct 19, 2026
Merged via the queue into main with commit 1030da7 Oct 19, 2026
60 of 64 checks passed
@sydevs-bot
sydevs-bot deleted the claude/chore-deps-routine branch October 19, 2026 14:31
@sydevs-bot sydevs-bot moved this from Approved to Done in SYDevelopers Technical Roadmap Oct 19, 2026
sydevs-bot pushed a commit that referenced this pull request Oct 19, 2026
#991 raised dependency versions in the same `dependencies` block where this
branch inserts new entries, so both conflicts are one collision twice. Each
keeps both sides.

`package.json` takes main's `@sentry/nextjs` 10.76.2, `@types/styled-components`
5.1.36 and exactly-pinned `@vvo/tzdb`, and keeps this branch's six additions:
`@photostructure/tz-lookup`, `@turf/centroid`, `@turf/distance`, `any-ascii`,
`csv-parse` and `csv-stringify`. The merged file is main's content plus those
six lines and nothing else.

`pnpm-lock.yaml` was regenerated by `pnpm install` rather than hand-merged. A
three-way merge of a lockfile can leave an importer entry naming a peer
resolution the `snapshots` section no longer holds, and that failure surfaces
only at install time. Its delta against main is now purely additive — the six
specifiers plus their transitive closure, with zero removed lines.

No type regeneration this time: the merge moves no schema, so `generate:types`
emits the same types. It does reflow one union in `src/payload-types.ts`,
because #991 also raised `prettier` to 3.9.10 — but main's own committed copy
is unformatted under that same version, so the reflow belongs to main's bump
rather than to this merge and is left out of it.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MFrejBxCxNNrRz8fHEEsda

This branch was successfully deployed

No deployments
sahajcloud / SahajCloud-pr-991 — 2d9c76d0 Deployed Oct 19, 2026 by railway-app[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

3 participants