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

svelte repl has access to variables that it shouldn't #11329

Open
FoHoOV opened this issue Apr 25, 2024 · 0 comments · May be fixed by #11330
Open

svelte repl has access to variables that it shouldn't #11329

FoHoOV opened this issue Apr 25, 2024 · 0 comments · May be fixed by #11330

Comments

@FoHoOV
Copy link

FoHoOV commented Apr 25, 2024

Describe the bug

since the eval function is called directly it can access local variables. Another thing is that it can access the global variables intruduced by the script tag within this file.

Reproduction

1- open this REPL
2- see the logs (also open the brower debugger to see more detailed logs)

Logs

No response

System Info

Svelte v5.0.0-next.115

Severity

annoyance

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

Successfully merging a pull request may close this issue.

1 participant