cli-table / cli-table3

Pretty unicode tables for the command line
MIT License
534 stars 44 forks source link

Fix for ERR_REQUIRE_ESM #347

Closed justinmann closed 1 month ago

justinmann commented 4 months ago

In my monorepo setup, if any package pulls in a newer string-width then I get the inevitable ERR_REQUIRE_ESM. This workaround should fix this issue.

speedytwenty commented 4 months ago

Thanks for the PR! Prima facie, it's worth consideration as a maintenance request. But consideration seems necessary.

Until further consideration can be had, please see #330

speedytwenty commented 1 month ago

After further consideration, I'm late to realize this string-width dependency collision is likely to be highly related to and best resolved with #284. Please add further contributions to the matter there.