Skip to content

Conversation

azu
Copy link
Member

@azu azu commented Aug 16, 2025

Summary

  • Removed node-fetch dependency and replaced with native fetch API
  • Removed unused fs-extra dependency
  • All tests pass without any breaking changes

Changes

  • Updated src/no-dead-link.ts to use native fetch instead of node-fetch
  • Removed node-fetch (^2.6.0) and fs-extra (^8.1.0) from package.json dependencies
  • Removed @types/node-fetch from devDependencies

Test plan

  • Run npm run test - all 36 tests pass
  • TypeScript compilation succeeds with npm run type-check
  • No functionality changes - native fetch provides the same behavior

🤖 Generated with Claude Code

Replace node-fetch with native fetch API and remove unused fs-extra dependency.
The native fetch API is now available in Node.js 18+ and provides the same functionality.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
@azu azu added the Type: Refactoring A code change that neither fixes a bug nor adds a feature label Aug 16, 2025
@azu azu marked this pull request as ready for review August 16, 2025 04:46
@azu azu merged commit 1017ef6 into master Aug 16, 2025
12 checks passed
@azu azu deleted the remove-node-fetch-fs-extra branch August 16, 2025 04:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Type: Refactoring A code change that neither fixes a bug nor adds a feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant