n-api: initialize a module via a special symbol#20161
Closed
gabrielschulhof wants to merge 1 commit intonodejs:masterfrom
Closed
n-api: initialize a module via a special symbol#20161gabrielschulhof wants to merge 1 commit intonodejs:masterfrom
gabrielschulhof wants to merge 1 commit intonodejs:masterfrom
Conversation
4 tasks
doc/api/n-api.md
Outdated
Contributor
There was a problem hiding this comment.
Nit: this line has 81 characters and may cause doc linting issue.
d0c4129 to
b699724
Compare
Contributor
Author
|
@vsemozhetbyt fixed. Thanks! |
bnoordhuis
approved these changes
Apr 20, 2018
doc/api/n-api.md
Outdated
Member
There was a problem hiding this comment.
Can you break out the stylistic changes to a separate commit?
src/node.cc
Outdated
Member
There was a problem hiding this comment.
This is arguably a separate change that belongs in its own commit.
tools/remark-cli/package-lock.json
Outdated
Member
There was a problem hiding this comment.
Should not be checked in.
Kinda annoying make lint still touches this file, I thought that had been fixed.
This was referenced Apr 21, 2018
Much like regular modules, N-API modules can also benefit from having a special symbol which they can expose. Fixes: nodejs#19845
b699724 to
051029c
Compare
Contributor
Author
|
@bnoordhuis I split out the changes into two more PRs. |
Member
|
That's fine. Separate commits in this PR would have been alright too. The main thing is to have one change per commit, makes bisecting/reverting and code archeology easier. |
Contributor
Author
Contributor
Author
|
Landed in 0f8caf2. |
MylesBorins
added a commit
that referenced
this pull request
May 8, 2018
Notable Changes:
* console:
- make console.table() use colored inspect (TSUYUSATO Kitsune)
#20510
* fs:
- move fs/promises to fs.promises (cjihrig)
#20504
* http:
- added aborted property to request (Robert Nagy)
#20094
* n-api:
- initialize a module via a special symbol (Gabriel Schulhof)
#20161
* src:
- add public API to expose the main V8 Platform (Allen Yonghuang Wang)
#20447
PR-URL: Coming Soon
Merged
MylesBorins
added a commit
that referenced
this pull request
May 8, 2018
Notable Changes:
* console:
- make console.table() use colored inspect (TSUYUSATO Kitsune)
#20510
* fs:
- move fs/promises to fs.promises (cjihrig)
#20504
* http:
- added aborted property to request (Robert Nagy)
#20094
* n-api:
- initialize a module via a special symbol (Gabriel Schulhof)
#20161
* src:
- add public API to expose the main V8 Platform (Allen Yonghuang Wang)
#20447
PR-URL: #20606
MylesBorins
added a commit
that referenced
this pull request
May 9, 2018
Notable Changes:
* console:
- make console.table() use colored inspect (TSUYUSATO Kitsune)
#20510
* fs:
- move fs/promises to fs.promises (cjihrig)
#20504
* http:
- added aborted property to request (Robert Nagy)
#20094
* n-api:
- initialize a module via a special symbol (Gabriel Schulhof)
#20161
* src:
- add public API to expose the main V8 Platform (Allen Yonghuang Wang)
#20447
PR-URL: #20606
MylesBorins
added a commit
that referenced
this pull request
May 9, 2018
Notable Changes:
* console:
- make console.table() use colored inspect (TSUYUSATO Kitsune)
#20510
* fs:
- move fs/promises to fs.promises (cjihrig)
#20504
* http:
- added aborted property to request (Robert Nagy)
#20094
* n-api:
- initialize a module via a special symbol (Gabriel Schulhof)
#20161
* src:
- add public API to expose the main V8 Platform (Allen Yonghuang Wang)
#20447
PR-URL: #20606
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Much like regular modules, N-API modules can also benefit from having
a special symbol which they can expose.
Fixes: #19845
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes