Skip to content

refactor: replace debug with obug - #446

Open
sxzz wants to merge 1 commit into
TooTallNate:mainfrom
sxzz:chore/replace-debug-with-obug
Open

refactor: replace debug with obug#446
sxzz wants to merge 1 commit into
TooTallNate:mainfrom
sxzz:chore/replace-debug-with-obug

Conversation

@sxzz

@sxzz sxzz commented Aug 17, 2026

Copy link
Copy Markdown

Replaces debug with obug, a fork with built-in TypeScript types, zero dependencies and pure ESM. Part of e18e/ecosystem-issues#217 — Vite, Vitest, Babel, VitePress and Slidev have already switched.

Changes

  • pnpm-workspace.yaml: catalog debug: ^4.3.4obug: ^2.1.4, removed @types/debug
  • 7 packages swap the dependency; 8 drop @types/debug (agent-base had one left over without ever importing debug)
  • 13 source files: import createDebug from 'debug'import { createDebug } from 'obug'
  • Added a changeset (patch)

Prepared with Claude Code; reviewed by me before opening.

`obug` is a fork of `debug` with built-in TypeScript types, zero
dependencies and pure ESM. Since these packages are already ESM-only,
the swap is a drop-in: namespaces and the `DEBUG` environment variable
behave identically, and `@types/debug` is no longer needed.

Refs: e18e/ecosystem-issues#217

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@changeset-bot

changeset-bot Bot commented Aug 17, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 671884a

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 7 packages
Name Type
get-uri Patch
http-proxy-agent Patch
https-proxy-agent Patch
pac-proxy-agent Patch
proxy-agent Patch
proxy Patch
socks-proxy-agent Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@sxzz sxzz changed the title chore: replace debug with obug refactor: replace debug with obug Aug 17, 2026
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.

1 participant