Skip to content

Expose own-property and intrinsic metadata for QuickJS values#42

Open
mackross wants to merge 1 commit intofastschema:masterfrom
mackross:expose-quickjs-metadata-for-bridges
Open

Expose own-property and intrinsic metadata for QuickJS values#42
mackross wants to merge 1 commit intofastschema:masterfrom
mackross:expose-quickjs-metadata-for-bridges

Conversation

@mackross
Copy link
Copy Markdown

@mackross mackross commented Apr 9, 2026

Summary

  • add wrapper APIs to inspect own-property descriptors without running user JavaScript
  • add intrinsic kind detection for built-in QuickJS objects and typed arrays
  • switch typed-array detection and JS-to-Go conversions to use the new metadata
  • add focused tests for descriptor handling, null-prototype objects, intrinsic kinds, and spoofed tags

Why

needs a safe way to inspect QuickJS values without relying on constructor.name, Symbol.toStringTag, or helper evals like Object.getOwnPropertyDescriptor(...).

@mackross mackross marked this pull request as ready for review April 9, 2026 23:41
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