Skip to content

Next#102

Merged
drusco merged 62 commits intomainfrom
next
Aug 8, 2025
Merged

Next#102
drusco merged 62 commits intomainfrom
next

Conversation

@drusco
Copy link
Owner

@drusco drusco commented Aug 8, 2025

No description provided.

drusco added 30 commits August 8, 2025 01:29
… resolves to a result getter fn

BREAKING CHANGE: This change improves predictability, avoids double throws, and allows better error
handling patterns for listeners.
…lace the descriptor on the fly

the event.data.result is now a promise that resolves to the boolean value that represents the
success or failure of the define property operation

BREAKING CHANGE: Event-Driven Resolution with event.data.result Promise
…operty on proxy events

Prevented proxy events can replace the return value by actually returning a different value on the
event listener function
drusco added 28 commits August 8, 2025 01:31
…found on the js Object.[method]

The following static methods were removed from the Nexo class: ownKeys, getOwnPropertyDescriptor and
getPrototypeOf. All of them can be replaces by Object.keys, Object.getPrototypeOf and
Object.getOwnPropertyDescriptor safely.

BREAKING CHANGE: The following static methods have been removed from the Nexo class: ownKeys,
getOwnPropertyDescriptor, and getPrototypeOf.These methods are no longer necessary, as their
functionality can be reliably replaced with the native JavaScript equivalents:Object.keys() instead
of Nexo.ownKeysObject.getOwnPropertyDescriptor() instead of
Nexo.getOwnPropertyDescriptorObject.getPrototypeOf() instead of Nexo.getPrototypeOfPlease update any
usage of these methods accordingly.
…om the proxy wrapper

the property is not necessary, it can be replaced by checking if the wrapper has a sandbox object,
when it doesn't it means the proxy is traceable, meaning that it has its own custom target object.
@drusco drusco merged commit 5b07c13 into main Aug 8, 2025
7 of 8 checks passed
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