n-api: mark version 5 N-APIs as stable by gabrielschulhof · Pull Request #29401 · nodejs/node (original) (raw)

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 andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation9 Commits1 Checks0 Files changed

Conversation

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

[ Show hidden characters]({{ revealButtonHref }})

gabrielschulhof

Checklist

@nodejs-github-bot nodejs-github-bot added the c++

Issues and PRs that require attention from people who are familiar with C++.

label

Sep 2, 2019

bnoordhuis

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM but you might want to update the documentation for napi_get_date_value() to specify whether it does or doesn't include leap seconds.

Since it's UNIX time and presumably the equivalent of Date.p.valueOf() I'm guessing it doesn't but there's really no way to tell for a casual reader.

cjihrig

jasnell

@nodejs-github-bot

@gabrielschulhof

@bnoordhuis I'm actually not sure whether it does or does not account for leap seconds. napi_get_date_value() merely calls v8::Date::ValueOf() which is documented as a specialization of v8::Value::NumberValue without mention of its (lack of) accounting for leap seconds.

@nodejs-github-bot

@nodejs-github-bot

@gabrielschulhof

Rebased. Hoping this'll fix Travis.

@bnoordhuis

mhdawson

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

gabrielschulhof pushed a commit that referenced this pull request

Sep 5, 2019

PR-URL: #29401 Reviewed-By: Ben Noordhuis info@bnoordhuis.nl Reviewed-By: James M Snell jasnell@gmail.com Reviewed-By: Colin Ihrig cjihrig@gmail.com Reviewed-By: Michael Dawson michael_dawson@ca.ibm.com

@gabrielschulhof

gabrielschulhof pushed a commit to gabrielschulhof/node that referenced this pull request

Sep 5, 2019

PR-URL: nodejs#29401 Reviewed-By: Ben Noordhuis info@bnoordhuis.nl Reviewed-By: James M Snell jasnell@gmail.com Reviewed-By: Colin Ihrig cjihrig@gmail.com Reviewed-By: Michael Dawson michael_dawson@ca.ibm.com

targos pushed a commit that referenced this pull request

Sep 20, 2019

@targos

PR-URL: #29401 Reviewed-By: Ben Noordhuis info@bnoordhuis.nl Reviewed-By: James M Snell jasnell@gmail.com Reviewed-By: Colin Ihrig cjihrig@gmail.com Reviewed-By: Michael Dawson michael_dawson@ca.ibm.com

This was referenced

Sep 25, 2019

This was referenced

Sep 26, 2019

BethGriggs pushed a commit that referenced this pull request

Oct 1, 2019

@BethGriggs

PR-URL: #29401 Backport-PR-URL: #29458 Reviewed-By: Ben Noordhuis info@bnoordhuis.nl Reviewed-By: James M Snell jasnell@gmail.com Reviewed-By: Colin Ihrig cjihrig@gmail.com Reviewed-By: Michael Dawson michael_dawson@ca.ibm.com

BethGriggs added a commit that referenced this pull request

Oct 18, 2019

@BethGriggs

Notable changes:

PR-URL: #29875

BethGriggs added a commit that referenced this pull request

Oct 19, 2019

@BethGriggs

Notable changes:

PR-URL: #29875

BethGriggs added a commit that referenced this pull request

Oct 21, 2019

@BethGriggs

Notable changes:

PR-URL: #29875

BethGriggs added a commit that referenced this pull request

Oct 22, 2019

@BethGriggs

Notable changes:

PR-URL: #29875

BethGriggs added a commit that referenced this pull request

Oct 22, 2019

@BethGriggs

Notable changes:

PR-URL: #29875

Reviewers

@bnoordhuis bnoordhuis bnoordhuis approved these changes

@jasnell jasnell jasnell approved these changes

@cjihrig cjihrig cjihrig approved these changes

@mhdawson mhdawson mhdawson approved these changes

@addaleax addaleax Awaiting requested review from addaleax

Labels

c++

Issues and PRs that require attention from people who are familiar with C++.

node-api

Issues and PRs related to the Node-API.