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

Use of eval: error while building with vite5 #59

Open
Tzahile opened this issue Sep 2, 2024 · 1 comment
Open

Use of eval: error while building with vite5 #59

Tzahile opened this issue Sep 2, 2024 · 1 comment

Comments

@Tzahile
Copy link

Tzahile commented Sep 2, 2024

When building with vite5 (haven't tried webpack), I get this error:

Use of eval in node_modules/react18-json-view/dist/es/index.mjs is strongly discouraged as it poses security risks and may cause issues with minification

I see it locally (macos, node22) and also on GH workflows (latest ubuntu, node 20)
image

@YYsuni
Copy link
Owner

YYsuni commented Sep 3, 2024

You can install with the canary version, where eval has been changed to JSON.parse

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

2 participants