Skip to content

Remove request dependency #15

@jeffutter

Description

@jeffutter

Besides being depreciated in 2020, request has some transitive dependencies that I think might be polluting the claude context window a bit.

{
  "type": "progress",
  "data": {
    "type": "hook_progress",
    "hookEvent": "PostToolUse",
    "hookName": "PostToolUse:Glob",
    "command": "${CLAUDE_PLUGIN_ROOT}/scripts/run"
  },
  "parentToolUseID": "toolu_01274ZmywfpAv6SpnGs3U4TN",
  "toolUseID": "toolu_01274ZmywfpAv6SpnGs3U4TN",
  "timestamp": "2026-01-19T12:24:47.591Z",
  "uuid": "5e0363fa-ff69-475c-895f-ac20ec7015cf"
}
{
  "attachment": {
    "type": "hook_success",
    "hookName": "PostToolUse:Glob",
    "toolUseID": "toolu_01274ZmywfpAv6SpnGs3U4TN",
    "hookEvent": "PostToolUse",
    "content": "",
    "stdout": "",
    "stderr": "(node:1279458) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.\n(Use `node --trace-deprecation ...` to show where the warning was created)\n",
    "exitCode": 0
  },
  "type": "attachment",
  "uuid": "ced081c8-1833-434c-978e-35abeef6c8c5",
  "timestamp": "2026-01-19T12:24:47.856Z"
}

I'm not actually sure if that stderr output gets fed back to claude, but punycode is a transitive dependency of request.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions