Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update many-keys-map to v2 ESM #43

Closed
muuvmuuv opened this issue Nov 20, 2023 · 0 comments
Closed

Update many-keys-map to v2 ESM #43

muuvmuuv opened this issue Nov 20, 2023 · 0 comments

Comments

@muuvmuuv
Copy link

I recently stumbled upon an issue while using Jest with element-ready where it has a type error.

  ● Test suite failed to run

           TypeError: many_keys_map_1.default is not a constructor

           > 1 | import elementReady from "element-ready"

During investigation, I just noticed that element-ready has some peers that can be updated. many-keys-map e.g. now is ESM only which match your philosophy of switching to ESM only.

I already tested v2 by doing a pnpm override of many-keys-map (no API changes), and it fixes my issue above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant