felixge/node-dateformat

4.6.1 causes broken ESM imports

csvan opened this issue · 7 comments

csvan commented

See yeoman/environment#326

Seems like latest version no longer supports require

@csvan Thanks, will fix now

@csvan Fixed in version 4.6.3 of dateformat package:
https://www.npmjs.com/package/dateformat

csvan commented

Thanks!

@csvan Actually, sorry use v4.6.3 😄

Seems like same issue on v5.0.1.
No more support require ? Then I need find other solution..

csvan commented

@hanshino the release notes for 5.0 explicitly say that it's now ESM only

@csvan It's so sad.
I'm sorry I didn't notice, thanks so much for the reminder!