Skip to content

Develop#101

Merged
drusco merged 44 commits intonextfrom
develop
Aug 8, 2025
Merged

Develop#101
drusco merged 44 commits intonextfrom
develop

Conversation

@drusco
Copy link
Owner

@drusco drusco commented Jul 30, 2025

No description provided.

drusco added 30 commits August 8, 2025 01:13
…operty on proxy events

Prevented proxy events can replace the return value by actually returning a different value on the
event listener function
…or the GetOwnPropertyDescriptor

Allows to cancel the event. Permits to overwrite the return value on the event listener. Validates
the custom return values. Returns the actual property descriptor for sandboxed proxies.
drusco added 14 commits August 8, 2025 01:15
…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 0ed4566 into next Aug 8, 2025
2 checks passed
@github-actions
Copy link
Contributor

github-actions bot commented Aug 8, 2025

🎉 This PR is included in version 3.0.0-next.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant