Skip to content

Javascript runtime improvements #1323

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

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

sesposito
Copy link
Member

No description provided.

@sesposito sesposito marked this pull request as ready for review March 10, 2025 11:19
Allow match state to be a class instance with functions - previously
the object would be stripped of it's methods.

Use JS runtime JSON unmarshal instead of Go to prevent arrays to behave
in unexpected ways when modified - this is a goja quirk, see:
https://github.com/dop251/goja/blob/master/runtime.go#L1529
(above ToValue definition).
@sesposito sesposito force-pushed the spe/js-runtime-improvements branch from b6c9a97 to ad01194 Compare March 28, 2025 17:30
@sesposito sesposito requested a review from zyro March 31, 2025 12:38
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 this pull request may close these issues.

1 participant