Skip to content

Commit

Permalink
Replaces node-fetch v2 (sync-fetch) with node-fetch v3 (#1391)
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>
Co-authored-by: Mattermost Build <build@mattermost.com>
  • Loading branch information
tnir and mattermost-build authored Jul 19, 2024
1 parent 7fae74f commit 23f3434
Show file tree
Hide file tree
Showing 3 changed files with 123 additions and 155 deletions.
Loading

0 comments on commit 23f3434

Please sign in to comment.