garycourt / uri-js

An RFC 3986 compliant, scheme extendable URI parsing/validating/normalizing/resolving library for JavaScript
Other
305 stars 68 forks source link

fix: Update `punycode` import path #99

Open wrobinson91 opened 1 week ago

wrobinson91 commented 1 week ago

With later Node versions, deprecation warnings began to appear about changing the import path to avoid using core modules, instead to use userland modules. This follows the advice for punycode's most recent version (v2.3.1). This should ideally be applied for a v4.4.2 tag so a number of active packages can remove this warning.