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 authored and M-ZubairAhmed committed Jul 18, 2024
1 parent 7fae74f commit 8d03f9d
Show file tree
Hide file tree
Showing 3 changed files with 123 additions and 155 deletions.
Loading

0 comments on commit 8d03f9d

Please sign in to comment.