Skip to content

Commit

Permalink
Replaces node-fetch v2 (sync-fetch) with node-fetch v3
Browse files Browse the repository at this point in the history
node-fetch 2.x, followed by sync-fetch, does not support
Node.js 21 and higher fully as it relies on punycode
depending from whatwg-url 5.0.0.

See also larsgw/sync-fetch#29

This change replaces sync-fetch with await and node-fetch v3.

Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
  • Loading branch information
tnir committed Jul 10, 2024
1 parent a47fef0 commit 1538949
Show file tree
Hide file tree
Showing 3 changed files with 123 additions and 155 deletions.
Loading

0 comments on commit 1538949

Please sign in to comment.