Closed DavidAnson closed 2 months ago
Thanks for reporting.
This was not intended, and again, my lack of time and understandning caused problems. I'm sorry for the inconvenience. The API change in 4.0.0 was unintentional, and I (incorrectly) assumed that this completely broke CommonJS support, but apparently this was not the case.
I'll deprecate 4.0.1 and release 5.0.0 in its place.
5.0.0 is released.
Thanks! It's a bummer when things go wonky as a maintainer, but I think this is better in the long term. :)
I agree! Thanks for reporting!
CommonJS callers who had to add
.default
when updating to 4.0.0 will need to remove it (according to my CI run from the relevant Dependabot PR) in 4.0.1. If so, then 4.0.1 should instead be version 5.0.0 as it is neither patch nor minor per semver guidance.