-
-
Notifications
You must be signed in to change notification settings - Fork 34.3k
node-api: fix node_api_create_object_with_properties name
#61319
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
base: main
Are you sure you want to change the base?
node-api: fix node_api_create_object_with_properties name
#61319
Conversation
|
Review requested:
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #61319 +/- ##
==========================================
+ Coverage 88.00% 88.55% +0.54%
==========================================
Files 704 704
Lines 208739 208739
Branches 40196 40287 +91
==========================================
+ Hits 183706 184841 +1135
+ Misses 16992 15917 -1075
+ Partials 8041 7981 -60
🚀 New features to boost your workflow:
|
|
This is a breaking change, don't we need to go through the usual deprecation process, even if it's a typo fix (like we did with |
Good point! I will add the original function back with the deprecated attribute. |
|
This is an experimental API and does not require a full cycle of breaking change or semver-major. This was also landed not long ago, so I'd argue that we should fix it sooner. |
0a6852b to
dfd1f3c
Compare
PR #59953 added the new
napi_create_object_with_propertiesfunction to Node-API.Unfortunately, we did not catch in the PR review that it uses the old function prefix.
This PR addresses the issue by renaming it to
node_api_create_object_with_propertieswhere we use the propernode_api_prefix.