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

sprae should be flagged #1139 #1531

Open
0-v-0 opened this issue Dec 13, 2023 · 2 comments
Open

sprae should be flagged #1139 #1531

0-v-0 opened this issue Dec 13, 2023 · 2 comments

Comments

@0-v-0
Copy link
Contributor

0-v-0 commented Dec 13, 2023

It fails with CSP.
See https://github.com/dy/sprae/blob/5a7cfc436d0140b6d15194a40675b46e08342f75/src/directives.js#L415

@dy
Copy link
Contributor

dy commented Jan 7, 2024

As well as alpinejs, petite-vue and any other frameworks of that kind - bundling full evaluator (like subscript) would be heavy, not as performant and not much safer.
I wonder though which flags you mean

@dy dy mentioned this issue May 20, 2024
@dy
Copy link
Contributor

dy commented May 20, 2024

Ok, sprae@10 supports safe-eval via justin.

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