Uh oh!
There was an error while loading. Please reload this page.
n-api: initialize a module via a special symbol - #20161
Conversation
There was a problem hiding this comment.
Nit: this line has 81 characters and may cause doc linting issue.
d0c4129 to
b699724Comparegabrielschulhof
commented
Apr 20, 2018
@vsemozhetbyt fixed. Thanks! |
There was a problem hiding this comment.
Can you break out the stylistic changes to a separate commit?
There was a problem hiding this comment.
This is arguably a separate change that belongs in its own commit.
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.
Much like regular modules, N-API modules can also benefit from having a special symbol which they can expose. Fixes: nodejs#19845
b699724 to
051029cComparegabrielschulhof
commented
Apr 21, 2018
@bnoordhuis I split out the changes into two more PRs. |
bnoordhuis
commented
Apr 21, 2018
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. |
gabrielschulhof
commented
Apr 22, 2018
gabrielschulhof
commented
Apr 23, 2018
Landed in 0f8caf2. |
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
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
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
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
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