Skip to content

deps: bump ai to 7.0.118 and refresh express, body-parser and qs inside their ranges - #230

Merged
laithalsaadoon merged 2 commits into
mainfrom
deps/refresh-0930
Sep 30, 2026
Merged

laithalsaadoon merged 2 commits into
mainfrom
deps/refresh-0930

Conversation

@laithalsaadoon

Copy link
Copy Markdown
Contributor

Two things in one lockfile PR, both non-behavioral for this repo.

  1. ai 7.0.116 -> 7.0.118 (exact pin in apps/consolidator/package.json), which moves its @ai-sdk/gateway dependency 4.0.94 -> 4.0.96. 7.0.118 left pnpm's 3-day release soak at 2026-09-30T06:08Z.
  2. A within-range refresh of express 4.22.2 -> 4.22.3, body-parser 1.20.6 -> 1.20.8 and qs 6.15.3 -> 6.16.0, all transitive under @lhci/cli 0.15.1 (an apps/docs devDependency). @lhci/cli asks for express ^4.17.1, and express 4.22.3 moved to qs ~6.16.0, so no overrides entry is needed. This closes the two medium qs advisories GHSA-4mjr-xmp4-gh2g and GHSA-x5fp-wj9c-mxmx (Dependabot alerts 2 and 3).

A second commit moves the ai pin quoted on docs/architecture/system-overview.md:100.

Lockfile table (peer suffixes stripped)

third-party-web stays at main's 0.30.0 (a plain pnpm install here re-resolves lighthouse's latest range to 0.29.2; the three lines were restored and pnpm install --frozen-lockfile accepts them).

Classification (changelogs plus npm pack tarball diffs)

  • ai: both entries are "Updated dependencies" on the gateway. The dist diff is only var VERSION, which shows up as the ai/7.0.118 user-agent suffix. The consolidator's generateText, tool and wrapLanguageModel paths (apps/consolidator/src/turn.ts, tools.ts, model.ts) are byte-identical.
  • @ai-sdk/gateway: adds validation of conditional evaluation fallbacks on the gateway evaluation-model path. ai reaches the gateway only for string model ids; this repo always passes Bedrock-Anthropic or Anthropic-proxy LanguageModel instances and never imports or configures the gateway.
  • express: req.fresh now includes the QUERY method. The only caller is lhci's local express.static fallback server for staticDistDir: dist, which headless Chrome reaches with GET only.
  • body-parser: 1.20.7 is the qs range move; 1.20.8 is the same code (tarball diff: HISTORY.md and package.json only).
  • qs: the parse fixes are gated on throwOnLimitExceeded (express does not set it) or on arrays past 1000 entries; the stringify fixes are on a path nothing here calls; the new depth option defaults to the old behavior. The audited Lighthouse URLs carry no query strings.

Verification

  • mise run check: 68/68 in 210 s on the bump commit, 68/68 in 66 s after the doc commit.
  • lefthook pre-push ran the live package smoke against Bedrock: 80 checks, "failed": [], 96 s.

Copilot AI balanced review requested due to automatic review settings September 30, 2026 07:10

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@laithalsaadoon

Copy link
Copy Markdown
Contributor Author

Merging under the standing dependency authority. Copilot's review body is its monthly-quota message, so the 2026-09-15 ruling for verified non-behavioral dependency PRs applies: the local gate is green (68/68 twice), CI is 11/11 green on head a57dbba, and every lockfile member was classified non-behavioral from its changelog and an npm pack tarball diff (see the PR body). The live package smoke passed 80/80 on push.

@laithalsaadoon
laithalsaadoon merged commit 77a2d64 into main Sep 30, 2026
11 checks passed
laithalsaadoon added a commit that referenced this pull request Oct 16, 2026
apps/docs no longer depends on @lhci/cli, and `mise run check` no longer
runs `test:budget`. The accessibility gate (axe through Playwright) and
the layout-stability probe keep the WCAG 2.2 AA and CLS checks; no
Lighthouse score gates the build.

Removed with it, each proven before removal:

- apps/docs/lighthouserc.json and the three built-site cases that read
  it. The URL-parity case is moot with one config; the base-segment case
  stays and the browser-suite registration case stays.
- test:budget in apps/docs/package.json, the root package.json,
  turbo.json and mise.toml; `lint` no longer names lighthouserc.json.
- The apparmor sysctl step in check.yml and release-please.yml. It
  existed for lhci's sandboxed Chrome (#2). Playwright 1.64.0 passes
  --no-sandbox unless chromiumSandbox is true (coreBundle.js:44764), and
  neither a11y.test.ts nor layout-stability.test.ts sets it, so the
  remaining gate never needed the namespace.
- The tmp and uuid pnpm overrides, and the extract-zip OpenVEX
  statement with its generated osv-scanner.toml entries. `pnpm why -r`
  on main shows all three reach the lockfile through @lhci/cli alone
  (tmp also via inquirer, itself under @lhci/cli), and the refreshed
  lockfile carries none of them. The ledger keeps its document fields
  with an empty statements list (version 2, last_updated set); grype
  0.120.1, trivy 0.75.0 and osv-scanner 2.7.0 each accept the empty
  ledger and report the finding again against a probe lockfile.
- .gitignore entries for .lighthouseci/ and .lhci-site/.

The lockfile loses 370 package entries and gains none; the five keys
that show as added are unchanged entries git re-anchored.

Why: the lhci tree has cost upkeep since the gate landed. lighthouse's
trace_engine resolves two dependencies from `latest`, which moved the
lockfile on 2026-09-24 and 2026-10-12, and the 2026-09-30 qs advisories
needed an express refresh through @lhci/cli (#230).

verdict-bench item 57 (sod-0914:memhtml-lhci-drop-pr): Laith ruled go
at 15:12 CT 2026-10-12.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants