You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@stoplight/spectral-runtime and @stoplight/json-ref-readers indirectly depend on node-fetch@2 and tr46@0.0.3 which triggers a runtime deprecation warning in Node.js 21 and above. As per node-fetch/node-fetch#1793 (comment), the likely only option is to upgrade to node-fetch@3:
Warning:
(node:77383) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
silverwind
changed the title
Need to upgrade to node-fetch@3 to avoid punycode deprecation warning
Node.js 21+: DeprecationWarning: The punycode module is deprecated
May 23, 2024
@stoplight/spectral-runtime
and@stoplight/json-ref-readers
indirectly depend onnode-fetch@2
andtr46@0.0.3
which triggers a runtime deprecation warning in Node.js 21 and above. As per node-fetch/node-fetch#1793 (comment), the likely only option is to upgrade tonode-fetch@3
:Warning:
Occurence:
Dependency tree:
The text was updated successfully, but these errors were encountered: