-
Notifications
You must be signed in to change notification settings - Fork 315
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
Improve Object::get_property_names()
and Object::get_own_property_names()
#1049
Improve Object::get_property_names()
and Object::get_own_property_names()
#1049
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for looking into this!
1f90275
to
c9bb339
Compare
…es() This change allows the customization of the behavior of v8::Object::GetOwnPropertyNames() and v8::Object::GetPropertyNames() by accepting all the options that the raw V8 API supports. Fixes: denoland#740 Signed-off-by: Darshan Sen <raisinten@gmail.com>
c9bb339
to
ecc023e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work @RaisinTen, thank you. I have just one small nitpick
Signed-off-by: Darshan Sen <raisinten@gmail.com>
Signed-off-by: Darshan Sen <raisinten@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, nice work @RaisinTen, it's a great improvement!
Since this changes the API of |
Sounds good, but keep in mind that it might take a couple more weeks before we release a new version of |
👍 opened the upgrade PR as a draft - denoland/deno#15762 |
This change allows the customization of the behavior of
v8::Object::GetOwnPropertyNames()
andv8::Object::GetPropertyNames()
byaccepting all the options that the raw V8 API supports.
Fixes: #740
Signed-off-by: Darshan Sen raisinten@gmail.com
cc @bnoordhuis