Skip to content

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

Merged
sydevs-bot merged 2 commits into
mainfrom
claude/chore-deps-routine
Nov 16, 2026
Merged

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

Conversation

@sydevs-bot

@sydevs-bot sydevs-bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Ten in-range minor/patch bumps. No majors; the Payload family is pinned exact and does not move.
  • One of the ten could not ship alone: it needs the js-yaml override scoped to the major it was written for, or two unit suites fail to load.
  • Three more overrides carried the same latent bug and are scoped here too. One of them, undici, was not latent: it was already answering a ^6 dependency with 7.30.2.

Change outline

Contract — what resolves after pnpm install

Runtime:

-  @aws-sdk/client-s3          3.1161.0 → 3.1169.0
-  @photostructure/tz-lookup   11.7.0   → 11.8.0
-  lucide-react                1.66.0   → 1.73.0
-  next                        16.4.3   → 16.4.6
-  react-email                 6.11.6   → 6.11.13
-  react-inlinesvg             4.5.0    → 4.6.0
-  resend                      6.37.0   → 6.38.1
+  all routine, all inside the declared caret range

Dev:

-  eslint-config-next          16.4.3   → 16.4.6
-  nodemailer                  10.3.1   → 10.6.0
-  prettier                    3.9.10   → 3.10.1

Behaviour — the override that stopped being right

This is the part of the PR that is not a version number. pnpm-workspace.yaml carries a
transitive-security override js-yaml: '^4.3.0', unscoped, so it answers every js-yaml
dependency in the tree. That was harmless while every consumer wanted 4.x. It stopped being
harmless here:

 @apidevtools/json-schema-ref-parser   15.1.3 → 15.5.2     # transitive, pulled by the OpenAPI tooling
-  15.1.3 declares  js-yaml: ^4.1.1    → override answers 4.3.2    ✓ in range
+  15.5.2 declares  js-yaml: ^5.2.2    → override answers 4.3.2    ✗ out of range, applied silently

dist/lib/parsers/yaml.js:2 imports binaryTag from js-yaml, which is a 5.x export. Against
4.3.2 the module throws on load, and two suites went red with no test failure in them — they
failed to collect:

SyntaxError: The requested module 'js-yaml' does not provide an export named 'binaryTag'
  tests/unit/sanitized-config-rules.spec.ts
  tests/unit/meditation-transcripts-verify-run.spec.ts

The fix is the convention pnpm-workspace.yaml already uses for picomatch, minimatch, yaml
and brace-expansion — scope the pin to the vulnerable major, and leave the other major line
alone:

 pnpm-workspace.yaml
-  js-yaml: '^4.3.0'
+  'js-yaml@^4.0.0': '^4.3.0'

Who gets what afterwards:

  @apidevtools/[email protected]   js-yaml ^4.1.1 → 4.3.2    # unchanged
  @eslint/[email protected]                       js-yaml ^4.1.0 → 4.3.2    # unchanged
  [email protected]             js-yaml ^4.1.0 → 4.3.2    # unchanged
+ @apidevtools/[email protected]   js-yaml ^5.2.2 → 5.5.0    # now its own range

The pin is not loosened: every 4.x consumer still gets >=4.3.0. pnpm audit is identical on
both sides of this — 0 critical, 0 high, 3 moderate (csv-parse, glob, minimatch), 1 low
(deepmerge) — and js-yaml appears in none of them.

Behaviour — the same shape in three more entries

@opentelemetry/core, @babel/core and undici each have a next major published, so each is an
unscoped floor that will one day answer a parent declaring that major:

 pnpm-workspace.yaml
-  '@opentelemetry/core': '^2.8.0'
-  '@babel/core': '^7.29.6'
-  undici: '^7.29.1'
+  '@opentelemetry/core@^2.0.0': '^2.8.0'
+  '@babel/core@^7.0.0': '^7.29.6'
+  'undici@^7.0.0': '^7.29.1'

Two of the three are latent — one copy each, inside the current major, so the lockfile does not
move for them. undici was not. @apidevtools/[email protected], new in this
PR, declares undici: ^6.28.0, and the unscoped ^7.29.1 was answering it with 7.30.2: out of
range, applied silently, the same failure as the js-yaml entry above and shipped in the same
commit. Scoped, it resolves to 6.29.1, the newest 6.x, and that is the whole lockfile change here.

Nothing loses its floor. GHSA-4cwx-7wf7-3272, the advisory the undici entry exists for, affects
>=7.0.0 <7.29.0 and >=8.0.0 <8.9.0, so the 6.x line sits outside it and needs no entry of its
own. pnpm audit is unchanged either side: 0 critical, 0 high, 3 moderate, 1 low.

The rest stay unscoped on purpose. nodemailer and happy-dom are marked ⚠ as deliberately past
a declared major. vite and esbuild are exact caps, not floors. dompurify, ws, flatted
and postcss have no next major published, so none of them can answer one wrongly yet.

Transitive — the rest of what the lockfile moves

200 package names move, 11 are new and 19 drop out. The bulk belong to the declared bumps:
@aws-sdk/* and @smithy/* (22), @rollup/rollup-* (27), @unrs/resolver-binding-* (18),
@next/swc-* (8), @babel/* (14), @typescript-eslint/* 8.60.0 → 8.72.2 (11, under
eslint-config-next). Worth naming on their own:

  # Security-relevant, all transitive
-  dompurify                   3.4.17  → 3.4.18   # upstream SAFE_FOR_TEMPLATES fix
-  xss                         1.0.15  → 1.0.17
-  undici                      7.30.1  → 7.30.2

  # Build and tooling
-  tailwindcss                 4.3.0   → 4.3.5
-  unrs-resolver               1.11.1  → 1.13.0
-  @react-email/render         2.2.0   → 2.3.1

The tree gets tidier, not messier. Six names collapse from several copies to one:

-  rollup                      4.61.1 + 4.67.4 → 4.68.3
-  ws                          8.21.0 + 8.22.0 + 8.22.1 → 8.23.0
-  postcss                     8.5.28 + 8.5.32 → 8.5.33
-  caniuse-lite                three copies → one
-  node-releases               two copies → one
-  baseline-browser-mapping    three copies → one
+  js-yaml                     4.3.2 → 4.3.2 + 5.5.0     # deliberate, above
+  undici                      7.30.2 → 7.30.2 + 6.29.1  # deliberate, above

Preview

Railway builds this preview from the PR number, so the host is known already:

  • Admin dashboard — the whole admin renders through lucide-react, which crosses seven minors here

  • Events list — a dense table, the densest icon surface in the app

  • Health endpoint — a route handler, which next 16.4.6 now compresses automatically

  • OpenAPI document — built through @apidevtools/json-schema-ref-parser, the package at the centre of the override change above

  • Data: not fetched. This environment holds neither PREVIEW_ACCESS_CLIENT_ID nor PREVIEW_ACCESS_CLIENT_SECRET, so the run could not pass the Cloudflare Access gate in front of the preview. previewUrl.seed is unset for this repo, so nothing seeds it either. The links are correct for the PR number; whether they open on content is unverified here.

Test results

  • Lean gate: ✓ .claude/skills/pr-prep/check.sh on af348f5 — eslint . --max-warnings 0, prettier --check ., tsc --noEmit (src and tests), and the Tier 2 unit lane: 282 files, 3876 tests passed, in 70 s. Same counts as on 62dcbc4.
  • Targeted specs: the two that the override break took down, tests/unit/sanitized-config-rules.spec.ts and tests/unit/meditation-transcripts-verify-run.spec.ts, both collect and pass. Before the scope fix the same run was 280 passed / 2 failed, 3854 tests.
  • Build: not run locally. CI runs the full suite and the build.

Manual verification

  1. Open the admin dashboard and one collection list on the preview — lucide-react moved seven minors and the admin is where every icon renders.
  2. Fetch /api/openapi.json and confirm it is valid JSON with $refs resolved — that document is what @apidevtools/json-schema-ref-parser builds, and it is the package whose js-yaml requirement changed.

Notes for reviewer

  • The override change is the one thing here that is not a version number, and it is worth the extra minute. An unscoped override is a silent answer to a range it does not satisfy. pnpm applies it without a warning, and nothing but a load-time failure revealed it. The same shape — an override quietly answering a dependency's exact pin — is called out in sydevs/SahajAtlasWeb's src/components/CLAUDE.md for @radix-ui/react-focus-scope, where the symptom would have been silent rather than loud. The three entries with a next major published are scoped in af348f5; the section above says which, and why undici was the one already misfiring.
  • next 16.4.6 compresses route-handler responses that are not already compressed. Nothing under src/ sets Content-Length or Content-Encoding by hand, so no handler can disagree with it. The other two backports in 16.4.4–16.4.6 are Turbopack dev GC fixes and a create-next-app Tailwind pin, neither of which reaches this repo.
  • The Payload family does not move. Every @payloadcms/* and payload entry is pinned exact at 3.90.2, so pnpm update cannot touch them. chore(deps): bump the Payload family to 3.92.1 for the consumers #1165 is the PR that moves them, and both consumer repos wait on it — fix(deps): the live-preview pin is load-bearing, and #222 widened it to a caret WeMeditateWeb#223 is where that coupling is written down.
  • This PR and chore(deps): bump the Payload family to 3.92.1 for the consumers #1165 will conflict on pnpm-lock.yaml. Both rewrite it. Whichever merges second needs a rebase, which for a lockfile means re-running pnpm install rather than resolving hunks.
  • Security review skipped — the diff is package.json, pnpm-lock.yaml and pnpm-workspace.yaml, and it matches none of securityReview.triggerPattern. That still holds for af348f5.
  • No /simplify or /code-review pass: there is no code in the diff.
  • No migration.
  • Docs checked, nothing stale: no .md in this repo names a version that moved, and the override's reasoning lives in pnpm-workspace.yaml itself, which the change updates.
Detail

Majors available, deliberately not taken. The skill batches minors and patches only; a major
gets its own PR and its changelog read.

eslint is the one worth naming. eslint@9 is deprecated on npm, every version of it —
npm view [email protected] deprecated answers "This version is no longer supported", and 9.39.5 is
the last 9.x, so there is no in-range move at all, only the major. The line gets no further fixes,
security ones included. The same is true in sydevs/SahajAtlasWeb and sydevs/WeMeditateWeb, and the
eslint family has to move together in each.

The 19 names that drop out are mostly deduplication fallout: @types/estree, hasown,
tslib, nanoid, browserslist, update-browserslist-db, base64id, debounce,
tinyrainbow, pg-protocol, @babel/helper-validator-identifier,
@eslint-community/eslint-utils, @types/ws, and the @emnapi / @napi-rs / @tybys WASM
runtime trio that unrs-resolver 1.13.0 no longer needs on this platform. Nothing that drops is
declared in package.json.

The 11 new names are the other half of that: path-scurry, [email protected],
@isaacs/nonrecursive-glob-match, node-exports-info, es-abstract-get, is-document.all,
@humanfs/types, @swc/helpers, and three @unrs/resolver-binding-* platform binaries
(loong64 gnu and musl, openharmony arm64) that 1.13.0 adds.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Mg9rjXRpFu9wcqcwPMxF2N

Ten in-range bumps, inside the declared caret ranges. No majors. The
Payload family is pinned exact at 3.90.2 and does not move; it is
#1165's to move.

One of the ten does not stand on its own. @apidevtools/json-schema-ref-parser
goes 15.1.3 -> 15.5.2 transitively, and 15.5.2 changed its js-yaml
dependency from ^4.1.1 to ^5.2.2. The `js-yaml: ^4.3.0` override answered
that with 4.3.2, which exports no `binaryTag`, and the module fails to
load. Two unit suites went red on it:

  SyntaxError: The requested module 'js-yaml' does not provide an export
  named 'binaryTag'
    tests/unit/sanitized-config-rules.spec.ts
    tests/unit/meditation-transcripts-verify-run.spec.ts

So the override is scoped to the major it was written for, the way
picomatch, minimatch, yaml and brace-expansion already are. 4.x consumers
still get >=4.3.0; json-schema-ref-parser gets js-yaml 5.5.0. The scope
and the bump ship together because neither is green without the other.

pnpm audit is unchanged either side of that: 0 critical, 0 high, 3
moderate, 1 low. js-yaml appears in none of them.

Checked for breakage:

- next 16.4.6 compresses a route handler's response when it is not
  already compressed. No handler under src/ sets Content-Length or
  Content-Encoding by hand, so none of them can disagree with it.
- lucide-react crosses seven minors. tsc and eslint both pass, which is
  what would catch a renamed or withdrawn icon.

The lockfile also deduplicates heavily: rollup 4.61.1 + 4.67.4 -> 4.68.3,
ws three copies -> one, postcss two -> one, caniuse-lite three -> one,
node-releases two -> one.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjXRpFu9wcqcwPMxF2N
@railway-app
railway-app Bot temporarily deployed to sahajcloud / SahajCloud-pr-1166 November 16, 2026 08:34 Destroyed
@railway-app

railway-app Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

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

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

@sydevs-bot

sydevs-bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor Author

🤖 no session running
pending since 16:28Z

recent dispatches
  • 08:56Z address-review · attempt 1 · session · done
  • 08:56Z address-review · attempt 1 · session
  • 08:48Z review-pr · attempt 1 · session · done
  • 08:48Z review-pr · attempt 1 · session

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

@sydevs-bot sydevs-bot added the bot:working Lock: a cloud session is running on this item. Removed when it ends. label Nov 16, 2026
@sydevs-bot sydevs-bot moved this from Pending to Working in SYDevelopers Technical Roadmap Nov 16, 2026

@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

The diff is the size of its problem: ten in-range bumps plus the one override line that had to move with them. The scope fix is right, reusing the file's own convention (picomatch, minimatch, yaml, brace-expansion). No code, no contract surface — src/payload-types.ts is untouched, so both type-consumer repos are unaffected. One thing first: the same latent bug sits in three more entries of this file, and the body defers it on "the next time one of them bites".

Not this PR's: eslint 9.x is deprecated in every published version, so no in-range move exists and the line gets no further security fixes. A major-bump decision across all three TS repos, and yours.

Findings

  • should-fix — pnpm-workspace.yaml:74: three unscoped overrides already have a next major published. Scope them here.

What was checked

  • pnpm-workspace.yaml read whole. nodemailer and happy-dom are ⚠ deliberately cross-major and excluded; vite/esbuild are caps, not floors. The braces/happy-dom prose says not to re-derive it; I did not.
  • Lockfile against the body: 4.3.2 kept, 5.5.0 added only under @apidevtools/[email protected]; nodemailer 10.3.1 → 10.6.0; the override key is the only non-version change in the header. 5.5.0 is the newest js-yaml published, so no fix sits above it.
  • Every unscoped override resolves to one copy, inside its major: latent, not live.
  • next 16.4.6: nothing under src/ writes Content-Length/Content-Encoding by hand.
  • lucide-react crosses seven minors, but a dropped icon export fails tsc --noEmit, which the gate ran. The admin check is rendering only.
  • Preview at 62dcbc4: /api/health answers 200 with the PR's commit. /admin and /api/openapi.json sit behind Cloudflare Access with neither credential half here, so the ref-parser path is unverified.

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


Generated by Claude Code

Comment thread pnpm-workspace.yaml Resolved
@sydevs-bot sydevs-bot removed the bot:working Lock: a cloud session is running on this item. Removed when it ends. label Nov 16, 2026
@sydevs-bot sydevs-bot moved this from Working to Pending in SYDevelopers Technical Roadmap Nov 16, 2026
@sydevs-bot sydevs-bot added the bot:working Lock: a cloud session is running on this item. Removed when it ends. label Nov 16, 2026
@sydevs-bot sydevs-bot moved this from Pending to Working in SYDevelopers Technical Roadmap Nov 16, 2026
`@opentelemetry/core`, `@babel/core` and `undici` each have a next major
published, so an unscoped floor answers a parent that declares one with a
version below its range, silently.

`undici` was already doing it. `@apidevtools/[email protected]`
declares `undici: ^6.28.0` and the unscoped `^7.29.1` was answering it with
7.30.2. Scoped, it gets 6.29.1, the newest 6.x — a second copy in the tree,
and the only lockfile change here. GHSA-4cwx-7wf7-3272, the advisory the
entry exists for, starts at 7.0.0, so the 6.x line needs no floor of its own;
`pnpm audit` is unchanged at 0 critical, 0 high, 3 moderate, 1 low.

The other two were latent: both resolve to one copy inside their current
major, so the lockfile does not move for them.

`nodemailer` and `happy-dom` stay unscoped — both are deliberately past a
declared major. `vite` and `esbuild` are exact caps, not floors, so scoping
does not apply. `dompurify`, `ws`, `flatted` and `postcss` have no next major
published.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjVq3T5BPqVMhvqYnh7
@railway-app
railway-app Bot temporarily deployed to sahajcloud / SahajCloud-pr-1166 November 16, 2026 09:04 Destroyed
@sydevs-bot

Copy link
Copy Markdown
Contributor Author

Pushed af348f5. The review's one finding is built.

Adopted — pnpm-workspace.yaml:74: the three unscoped overrides with a next major published are scoped — @opentelemetry/core@^2.0.0, @babel/core@^7.0.0, undici@^7.0.0. nodemailer and happy-dom stay ⚠ cross-major; vite and esbuild are caps.

One premise corrected. undici was not latent. @apidevtools/[email protected], new in this PR, declares undici: ^6.28.0, and the unscoped ^7.29.1 was answering it with 7.30.2 — the same silent out-of-range answer as the js-yaml entry, in the same commit. Scoped, it resolves to 6.29.1, the only lockfile change. GHSA-4cwx-7wf7-3272 affects >=7.0.0 <7.29.0 and >=8.0.0 <8.9.0, so the 6.x line needs no floor. pnpm audit unchanged.

Lean gate green on af348f5 — 282 files, 3876 tests. Body carries the new section.

🤖 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 Nov 16, 2026
@sydevs-bot sydevs-bot moved this from Working to Pending in SYDevelopers Technical Roadmap Nov 16, 2026
@sydevs-bot
sydevs-bot marked this pull request as ready for review November 16, 2026 09:19
@sydevs-bot
sydevs-bot requested a review from Ardnived November 16, 2026 09:19
@sydevs-bot
sydevs-bot enabled auto-merge November 16, 2026 09:19
@sydevs-bot sydevs-bot moved this from Pending to Awaiting in SYDevelopers Technical Roadmap Nov 16, 2026
@sydevs-bot sydevs-bot moved this from Awaiting to Pending in SYDevelopers Technical Roadmap Nov 16, 2026
@sydevs-bot
sydevs-bot added this pull request to the merge queue Nov 16, 2026
Merged via the queue into main with commit dd5dc9d Nov 16, 2026
39 checks passed
@sydevs-bot
sydevs-bot deleted the claude/chore-deps-routine branch November 16, 2026 16:47
Ardnived added a commit that referenced this pull request Nov 16, 2026
Conflicts were the three manifests, against main's routine update (#1166).

- package.json: this branch's 3.92.1 pins, plus main's
  @photostructure/tz-lookup ^11.8.0 (next ^16.4.6 merged cleanly).
- pnpm-workspace.yaml: the undici and nodemailer overrides stay dropped.
  Main had only rescoped undici to `undici@^7.0.0`; [email protected] pins
  7.30.1 itself and [email protected] no longer caps at 9.x.
- pnpm-lock.yaml: main's lockfile, re-resolved with `pnpm install`. The
  package set equals both sides' changes combined, except undici resolves
  7.30.1 (payload's exact pin) instead of main's override-driven 7.30.2.
  `pnpm audit --prod` reports the same four advisories as main, none undici.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

This branch was successfully deployed

No deployments
sahajcloud / SahajCloud-pr-1166 — af348f5a Deployed Nov 16, 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