Skip to content

ABI: implement value-key property query and BunString upsert #370

Description

@chrisbbreuer

Parent: #134
Related: #140, #163, #164

Implement the three shared private JSValue property operations used by pinned Home and Bun.

Acceptance:

  • JSC__JSValue__hasOwnPropertyValue performs observable ToPropertyKey once and exact own-property inquiry, including Symbols, indexed exotics, proxies, and exception publication.
  • JSC__JSValue__putBunString converts every valid BunString key and performs direct own data-property replacement without invoking prototype setters.
  • JSC__JSValue__upsertBunStringArray stores a missing value directly, replaces an existing scalar with [old, new], pushes into an existing real array, and returns encoded undefined.
  • Reject invalid/foreign values safely while retaining first-exception behavior and selected-VM identity.
  • Add focused engine and compiled Home/Bun consumer evidence in Debug and ReleaseSafe.
  • Refresh inventories/docs and parent issue evidence.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions