quicktype icon indicating copy to clipboard operation
quicktype copied to clipboard

fix: punycode error for non CI

Open avallete opened this issue 1 year ago • 0 comments

Description

Following #2581

This PR fixed an issue with CI but re-introduced the issue with the warning for node >= 21 because instead of conditionally importing the cross-fetch deps only if needed, it was importing it at the top of the file (so that was executed at file load whatever the context).

This PR reinstate the #2573 fix, but keep also keep the "CI fix" around.

Related Issue

Motivation and Context

Previous Behaviour / Output

New Behaviour / Output

How Has This Been Tested?

Screenshots (if appropriate):

avallete avatar Apr 30 '24 18:04 avallete