Improve Object::get_property_names() and Object::get_own_property_names()#1049
Conversation
bartlomieju
left a comment
There was a problem hiding this comment.
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
bartlomieju
left a comment
There was a problem hiding this comment.
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>
bartlomieju
left a comment
There was a problem hiding this comment.
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