GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||
GeezerVison is showing github.com — napi: Remove napi_is_construct_call and introduce napi_get_new_target by sampsongao · Pull Request #14698 · nodejs/node Conversation
|
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
nit: This is a bit pedantic but we do use 4-space indentation for statement continuations, this can stay as it was.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
This is a typo, will fix it
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Can the IsConstructCall() methods be deleted?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Remove the extra blank line. I think the linter will complain anyway.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Need to also update doc\api\n-api.md.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Left some comments. Mainly the doc needs updating.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
nit: Since this is C++ code use nullptr
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Use REPLACEME instead of a specific version. Whoever does a release will then update it to the correct version. (This will be in some later 8.x release.)
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
I don't know if it's worth it since n-api is still unofficial, but we could also make a function level changelog entry stating that it was renamed.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
I don't know if it's worth it since n-api is still unofficial, but we could also make a function level changelog entry stating that it was renamed.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Can you remove the curly braces on the if-else.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
I think that it is better to be consistent with the rest of the file.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Replace "construct" with "constructor" here and above.
Fix grammar: "This API returns the new.target" ... "the result is nullptr."
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
CI run: https://ci.nodejs.org/job/node-test-pull-request/9673/ |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
AIX is known unrelated issue We are good to land, but I want to make sure we are ready with required changes in wrapper and ported modules before we land. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
For node-sass: sampsongao/node-sass@9338267 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@mhdawson are you going to check for the required changes? If so, would you mind assigning yourself to the PR? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Ping @mhdawson |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Assigned to myself, will land along with other breaking changes. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
New CI run since its been a while: https://ci.nodejs.org/job/node-test-pull-request/10080/ |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
#14697 landed, going to check ci results and land if ok. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Linux failure looks unrelated, opened #15416 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
ARM failure said this so believe its unrelated as well, opened nodejs/build#884 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Landed as 973c12f |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Remove napi_is_construct_call and introduce napi_get_new_target. PR-URL: #14698 Reviewed-By: Jason Ginchereau <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Kyle Farnung <[email protected]>
Remove napi_is_construct_call and introduce napi_get_new_target. PR-URL: nodejs/node#14698 Reviewed-By: Jason Ginchereau <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Kyle Farnung <[email protected]>
Remove napi_is_construct_call and introduce napi_get_new_target. PR-URL: #14698 Reviewed-By: Jason Ginchereau <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Kyle Farnung <[email protected]>
Remove napi_is_construct_call and introduce napi_get_new_target. PR-URL: nodejs/node#14698 Reviewed-By: Jason Ginchereau <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Kyle Farnung <[email protected]>
Remove napi_is_construct_call and introduce napi_get_new_target. PR-URL: nodejs#14698 Reviewed-By: Jason Ginchereau <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Kyle Farnung <[email protected]>
Remove napi_is_construct_call and introduce napi_get_new_target. Backport-PR-URL: #19447 PR-URL: #14698 Reviewed-By: Jason Ginchereau <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Kyle Farnung <[email protected]>
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.