🐛 Bug: CJS build of v2.1.1 imports an ESM-only module #151
Labels
status: accepting prs
Please, send a pull request to resolve this!
type: bug
Something isn't working :(
Bug Report Checklist
main
branch of the repository.Expected
Importing the CJS build should work correctly.
Actual
A node error is thrown:
Additional Info
@sindresorhus/is
went ESM-only in v5, making it incompatible in a CJS build without some kind CJS-transpilation in place (don't think this is the case with this library).The upgrade to
@sindresorhus/is@6
was done here.It appears as though this has been an issue in the past.
The text was updated successfully, but these errors were encountered: