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

wrap-ansi / commonjs dependency horror #28087

Closed
dbkr opened this issue Sep 20, 2024 · 0 comments · Fixed by element-hq/matrix-react-sdk#84
Closed

wrap-ansi / commonjs dependency horror #28087

dbkr opened this issue Sep 20, 2024 · 0 comments · Fixed by element-hq/matrix-react-sdk#84
Labels
T-Task Tasks for the team like planning

Comments

@dbkr
Copy link
Member

dbkr commented Sep 20, 2024

Your use case

Upgrading or touching anything around wrap-ansi causes jest to break entirely with an esmodule / commonjs error.

I've just had to delve into what's going on here, and it appears to be that the qrcode library (of all things) is using an old version of yargs which uses an old version of wrap-ansi.

My hypothesis is that if we force the whole lot to upgrade, it will be happy again (since obviously we don't use the qrcode library CLI stuff at all).

Have you considered any alternatives?

No response

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-Task Tasks for the team like planning
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant