Skip to content

[codex] remove unused node-fetch dependency#216

Merged
LukeHankey merged 1 commit into
mainfrom
codex/remove-unused-node-fetch
Jun 14, 2026
Merged

[codex] remove unused node-fetch dependency#216
LukeHankey merged 1 commit into
mainfrom
codex/remove-unused-node-fetch

Conversation

@LukeHankey

Copy link
Copy Markdown
Owner

What changed

  • Removed the unused direct node-fetch dependency from package.json.
  • Updated the root dependency list in package-lock.json.

Why

ValenceBot runs on Node.js 22 and uses the built-in global fetch. The codebase does not import node-fetch, so keeping it as a direct dependency adds unnecessary dependency surface. Dependabot PR #208 was closed in favor of this removal.

Transitive copies required by other packages remain managed in the lockfile.

Validation

  • npm ci --ignore-scripts
  • npx eslint . (0 errors; one pre-existing object-shorthand warning in src/dsf/calls/counts.js)
  • git diff --check

@LukeHankey LukeHankey marked this pull request as ready for review June 14, 2026 15:40
@LukeHankey LukeHankey merged commit 853c865 into main Jun 14, 2026
3 checks passed
@LukeHankey LukeHankey deleted the codex/remove-unused-node-fetch branch June 14, 2026 15:41
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