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

Javascript runtime improvements #1323

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft

Conversation

sesposito
Copy link
Member

No description provided.

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).
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