Skip to content

deps: resolve all open Dependabot PRs and security alerts - #206

Merged
lucperkins merged 1 commit into
mainfrom
deps/dependabot-sweep
Aug 17, 2026
Merged

lucperkins merged 1 commit into
mainfrom
deps/dependabot-sweep

Conversation

@lucperkins

@lucperkins lucperkins commented Aug 17, 2026 •

Copy link
Copy Markdown
Member

Collapses the five open Dependabot PRs into one change, since they all conflict on package-lock.json — merging them individually means five rounds of rebasing.

Closes #198, closes #201, closes #203, closes #204, closes #193.

Security

Clears all 11 open alerts. The undici, js-yaml, and brace-expansion advisories are all transitive and resolve via the lockfile refresh: undici 6.28.0, js-yaml 4.3.1, and brace-expansion 1.1.18 / 2.1.4 / 5.0.9. npm audit now reports 0 vulnerabilities.

Majors

got 14 → 15, eslint 9 → 10, @types/node 25 → 26, tsdown 0.21 → 0.22.

got 15

Drops the named got export in favour of the default export, so ids-host.ts now imports got, { type Got }.

Its other breaking changes were checked against this codebase:

  • url removed from options passed to hooks applies to the init hook, not beforeRequest. beforeRequest now receives a NormalizedOptions that still carries url, so the dynamic-URL failover in IdsHost.getGot() still works. Verified against a live two-server failover rather than just the types.
  • responseType: 'buffer' now yields Uint8Array — nothing here requests a buffer; the checksums fetch reads a string body.
  • retry.enforceRetryRules now defaults on — a no-op without a custom calculateDelay.
  • strictContentLength now defaults on, so a server sending a mismatched Content-Length will throw where it previously did not. Left at the upstream default, but it is a live behavior change for downstream actions.

eslint 10

Lints this repo clean, but eslint-plugin-github depends on eslint-plugin-import, which still caps its eslint peer range at ^9. That is peer metadata lag rather than a real incompatibility, so .npmrc sets legacy-peer-deps to keep npm ci working without a flag.

Note this relaxes peer resolution repo-wide, not just for this one conflict. The file carries a comment to drop it once eslint-plugin-import declares ^10 support.

Actions

Not included

  • Caret ranges for packages that updated within range are left alone — the lockfile carries the resolved versions.
  • TypeScript 7.0.2 is out but still in Dependabot cooldown. Deliberately left at 5.9.3; that is a larger jump than a dependency sweep should absorb.

Verification

Every CI step run locally: npm ci (no flags), lint, test (54 passed), build, git diff --exit-code, and the typedoc build. A fresh rebuild of dist/ is byte-identical to what is committed. Also confirmed eslint 10 is genuinely enforcing rules — 17 files linted, and a deliberately planted any plus unused var was caught.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores

    • Updated project dependencies and development tooling to newer versions.
    • Updated automated workflows and security checks to use newer, pinned action versions.
    • Improved package installation compatibility when using the latest ESLint version.
  • Maintenance

    • Refined type handling for improved compatibility with updated dependencies.
    • No user-facing features or changes to the public API were introduced.

Collapses the five open Dependabot PRs into one change, since they all
conflict on package-lock.json:

  #198  npm-deps group (17 updates)
  #201  undici 6.27.0 -> 6.28.0
  #203  brace-expansion 1.1.13 -> 1.1.18
  #204  js-yaml 4.1.1 -> 4.3.1
  #193  actions group (checkout, zizmor-action)

Clears all 11 open security alerts. The undici, js-yaml, and
brace-expansion advisories are all transitive and resolve via the
lockfile refresh: undici 6.28.0, js-yaml 4.3.1, and brace-expansion
1.1.18 / 2.1.4 / 5.0.9. `npm audit` reports 0 vulnerabilities.

Majors taken: got 14 -> 15, eslint 9 -> 10, @types/node 25 -> 26,
tsdown 0.21 -> 0.22.

got 15 drops the named `got` export in favour of the default export, so
ids-host.ts now imports `got, { type Got }`. Its other breaking changes
were checked against this codebase:

  - `url` removed from options passed to hooks applies to the `init`
    hook, not `beforeRequest`, so the dynamic-URL failover in
    IdsHost.getGot() still works (verified against a live server, not
    just the types).
  - `responseType: 'buffer'` now yields Uint8Array, but nothing here
    requests a buffer; the checksums fetch reads a string body.
  - `retry.enforceRetryRules` now defaults on, which is a no-op without
    a custom `calculateDelay`.
  - `strictContentLength` now defaults on, so a server sending a
    mismatched Content-Length will throw where it previously did not.
    Left at the upstream default.

eslint 10 lints the repo clean, but eslint-plugin-github depends on
eslint-plugin-import, which still caps its eslint peer range at ^9. That
is peer metadata lag rather than a real incompatibility, so .npmrc sets
legacy-peer-deps to keep `npm ci` working without a flag. Note this
relaxes peer resolution repo-wide, not just for this conflict; the file
carries a comment to drop it once eslint-plugin-import supports ^10.

actions/checkout 6.0.2 -> 7.0.1: v7 blocks checking out fork PRs under
pull_request_target and workflow_run, neither of which this repo uses.
zizmor-action 0.5.6 -> 0.6.2, one past the 0.6.1 in #193.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
@netlify

netlify Bot commented Aug 17, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for detsys-ts-docs ready!

Name Link
🔨 Latest commit f35331f
🔍 Latest deploy log https://app.netlify.com/projects/detsys-ts-docs/deploys/6a8377aade0a0300082a94fb
😎 Deploy Preview https://deploy-preview-206--detsys-ts-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@coderabbitai

coderabbitai Bot commented Aug 17, 2026 •

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: c6a9166b-0cae-42b1-bc96-915ec7a83a67

📥 Commits

Reviewing files that changed from the base of the PR and between 998534d and f35331f.

⛔ Files ignored due to path filters (5)
  • dist/index.d.mts is excluded by !**/dist/**
  • dist/index.mjs is excluded by !**/dist/**
  • dist/index.mjs.map is excluded by !**/dist/**, !**/*.map
  • dist/rolldown-runtime-D7D4PA-g.mjs is excluded by !**/dist/**
  • package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (6)
  • .github/workflows/ci.yml
  • .github/workflows/update-downstream.yml
  • .github/workflows/zizmor.yml
  • .npmrc
  • package.json
  • src/ids-host.ts

Included review availability: 4 reviews are currently available. Based on recent review activity, included reviews refill at 5 per hour.


📝 Walkthrough

Walkthrough

The PR updates selected npm dependencies, configures legacy peer dependency resolution, changes a type-only import, and upgrades pinned GitHub Actions revisions.

Changes

Dependency and CI maintenance

Layer / File(s) Summary
Toolchain dependency and import updates
.npmrc, package.json, src/ids-host.ts
Selected dependencies now use newer versions. npm uses legacy peer dependency resolution. The Got import is explicitly type-only while the runtime got import remains unchanged.
GitHub Actions revision updates
.github/workflows/ci.yml, .github/workflows/update-downstream.yml, .github/workflows/zizmor.yml
Checkout action pins now use v7.0.1. The zizmor action pin now uses v0.6.2.

Estimated code review effort: 2 (Simple) | ~10 minutes

Merge Risk: ⚪ Minimal · up to f3533

This dependency and generated-artifact refresh is merge-ready after normal checks and review; no actionable merge-blocking risk remains.

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 inconclusive)

Check name Status Explanation Resolution
Linked Issues check ❓ Inconclusive Reviewable files cover direct dependency, compatibility, and action updates, but transitive upgrades in the excluded package-lock.json cannot be verified. Include package-lock.json in the review or provide evidence that undici, brace-expansion, and js-yaml meet the linked issue versions.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly summarizes the dependency and security-alert updates covered by the pull request.
Out of Scope Changes check ✅ Passed The workflow, dependency, npm configuration, and got compatibility changes all support the linked dependency and security-update objectives.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch deps/dependabot-sweep

Comment @coderabbitai help to get the list of available commands.

@lucperkins
lucperkins requested a review from cole-h August 17, 2026 21:06
@lucperkins
lucperkins enabled auto-merge August 17, 2026 21:07
@lucperkins
lucperkins merged commit e1707a7 into main Aug 17, 2026
6 checks passed
@lucperkins
lucperkins deleted the deps/dependabot-sweep branch August 17, 2026 21:08
@lucperkins
lucperkins deployed to detsys-pr-bot August 17, 2026 21:08 — with GitHub Actions Active
@lucperkins
lucperkins deployed to detsys-pr-bot August 17, 2026 21:08 — with GitHub Actions Active
@lucperkins
lucperkins deployed to detsys-pr-bot August 17, 2026 21:08 — with GitHub Actions Active
@lucperkins
lucperkins deployed to detsys-pr-bot August 17, 2026 21:08 — with GitHub Actions Active
@lucperkins
lucperkins deployed to detsys-pr-bot August 17, 2026 21:08 — with GitHub Actions Active
@lucperkins
lucperkins deployed to detsys-pr-bot August 17, 2026 21:08 — with GitHub Actions Active

This branch was successfully deployed

1 active deployment
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