jsdom / tr46

An implementation of the Unicode UTS #46: Unicode IDNA Compatibility Processing.
MIT License
32 stars 14 forks source link

Switch to ESM and require node v12.20 #32

Closed jimmywarting closed 2 years ago

jimmywarting commented 3 years ago

time to switch require for import?

domenic commented 3 years ago

No. Then whatwg-url would need to switch or import async, which would have the same effect on jsdom, which is infeasible.

jimmywarting commented 3 years ago

Got to start somewhere? How about switching jsdom to ESM first then? NodeJS can still import commonjs files.

domenic commented 3 years ago

Nah.