You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 19, 2026. It is now read-only.
getNativeObjectdoesn't check if the given js object corresponds to the expected native type.Indeed, if we pass
Carjs object instead of aBrand,getNativeObjectcasts a nativeCarpointer as aBrandnative object, leading to unknown behavior.See https://github.com/lightpanda-io/jsruntime-lib/blob/main/src/engines/v8/generate.zig#L727
To ways are possible to do the check: