Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup ObjectInstance public API #1720

Merged
merged 1 commit into from Jan 5, 2024

Conversation

lahma
Copy link
Collaborator

@lahma lahma commented Jan 5, 2024

  • Hide CanPut()
  • Hide DefinePropertyOrThrow()
  • Hide DeletePropertyOrThrow()
  • Hide IsArray() from ObjectInstance and add JsValueExtensions.IsArray()
  • Hide SetPrototypeOf() and allow set via Prototype property
  • Make IsLooselyEqual() protected
  • Hide IsArrayLike
  • Only expose Length property for JsArray and JsTypedArray
  • Remove Invoke

* Hide CanPut()
* Hide DefinePropertyOrThrow()
* Hide DeletePropertyOrThrow()
* Hide IsArray() from ObjectInstance and add JsValueExtensions.IsArray()
* Hide SetPrototypeOf() and allow set via Prototype property
* Make IsLooselyEqual() protected
* Hide IsArrayLike
* Only expose Length property for JsArray and JsTypedArray
* Remove Invoke
@lahma lahma merged commit 69b33ac into sebastienros:main Jan 5, 2024
3 checks passed
@lahma lahma deleted the hide-object-properties branch January 5, 2024 10: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.

None yet

1 participant