Conversation
…errors and general errors
… Nexo class for event listening
…es that may include examples
…eferred functions
… resolves to a result getter fn BREAKING CHANGE: This change improves predictability, avoids double throws, and allows better error handling patterns for listeners.
…solves to a result getter
…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
…ent names are not "error"
…ler: rejectWith and resolveWith
…ctWith utils to a file
…appropriate utils
…operty on proxy events Prevented proxy events can replace the return value by actually returning a different value on the event listener function
…mise that gets the result value
…eturn a different value
…r sandboxed proxies
…m the typedoc comments
…gurable properties
…e and return custom values
… custom prototypes
…adds unit tests for validation
….ownKeys handler and adds tests
… proxy.preventExtensions event
…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.
…type on sandboxed proxies
…herited keys by default
… proxy.set handler
…ing their performance
…n the setPrototypeOf handler
…ndle event emission
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.