asyncapi / parser-js

AsyncAPI parser for Javascript (browser-compatible too).
Apache License 2.0
119 stars 97 forks source link

[BUG] Using old version of node-fetch causes issues with Node20 #1047

Open drodil opened 3 months ago

drodil commented 3 months ago

Describe the bug.

Using version 2.6.7 for node-fetch might cause socket hang up issues when using Node20. See related issue here: https://github.com/node-fetch/node-fetch/pull/1765

Fix was introduced in 2.6.13 but I recommend updating node-fetch to ^2.7.0

Expected behavior

New version of node-fetch with fix in use

Screenshots

-

How to Reproduce

  1. Using old version with Backstage showed up this issue, haven't seen it directly affecting the AsyncAPI parser but it might affect it

🥦 Browser

None

👀 Have you checked for similar open issues?

🏢 Have you read the Contributing Guidelines?

Are you willing to work on this issue ?

None

github-actions[bot] commented 3 months ago

Welcome to AsyncAPI. Thanks a lot for reporting your first issue. Please check out our contributors guide and the instructions about a basic recommended setup useful for opening a pull request.
Keep in mind there are also other channels you can use to interact with AsyncAPI community. For more details check out this issue.