★ wanayoo — archive 1999 https://github.com/nodejs/node/pull/20779Nouvelle recherche | Portail wanayoo
Skip to content
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

n-api: throw when entry point is null #20779

Closed

Conversation

Projects
None yet
5 participants
@gabrielschulhof
Copy link
Contributor

gabrielschulhof commented May 16, 2018

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines
@addaleax
Copy link
Member

addaleax left a comment

Would be nice to use node_errors.h for this, though.

@gabrielschulhof gabrielschulhof force-pushed the gabrielschulhof:n-api-handle-null-init branch from f33d2a1 to 99fa5a7 May 16, 2018

@gabrielschulhof

This comment has been minimized.

Copy link
Contributor Author

gabrielschulhof commented May 16, 2018

@addaleax I've changed the text of the error message to be exactly the same as the text for regular addons, i.e. "Module has no declared entry point."

Can we replace both with a node_errors.h construction without the result being semver-major?

@gabrielschulhof

This comment has been minimized.

Copy link
Contributor Author

gabrielschulhof commented May 22, 2018

@gabrielschulhof gabrielschulhof force-pushed the gabrielschulhof:n-api-handle-null-init branch from 99fa5a7 to a2097c7 May 23, 2018

@gabrielschulhof

This comment has been minimized.

Copy link
Contributor Author

gabrielschulhof commented May 23, 2018

@gabrielschulhof

This comment has been minimized.

Copy link
Contributor Author

gabrielschulhof commented May 24, 2018

The CI failures are unrelated.

@gabrielschulhof

This comment has been minimized.

Copy link
Contributor Author

gabrielschulhof commented May 24, 2018

Landed in 9a02de7.

gabrielschulhof added a commit that referenced this pull request May 24, 2018

n-api: throw when entry point is null
PR-URL: #20779
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>

@gabrielschulhof gabrielschulhof deleted the gabrielschulhof:n-api-handle-null-init branch May 24, 2018

targos added a commit that referenced this pull request May 25, 2018

n-api: throw when entry point is null
PR-URL: #20779
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>

@MylesBorins MylesBorins referenced this pull request May 29, 2018

Merged

v10.3.0 proposal #21011

shisama added a commit to shisama/node that referenced this pull request May 30, 2018

n-api: throw when entry point is null
PR-URL: nodejs#20779
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>

shisama added a commit to shisama/node that referenced this pull request May 30, 2018

n-api: throw when entry point is null
PR-URL: nodejs#20779
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>

shisama added a commit to shisama/node that referenced this pull request Jun 5, 2018

n-api: throw when entry point is null
PR-URL: nodejs#20779
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>

shisama added a commit to shisama/node that referenced this pull request Jun 9, 2018

n-api: throw when entry point is null
PR-URL: nodejs#20779
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>

shisama added a commit to shisama/node that referenced this pull request Jun 11, 2018

n-api: throw when entry point is null
PR-URL: nodejs#20779
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>

shisama added a commit to shisama/node that referenced this pull request Jun 12, 2018

n-api: throw when entry point is null
PR-URL: nodejs#20779
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>

shisama added a commit to shisama/node that referenced this pull request Jun 17, 2018

n-api: throw when entry point is null
PR-URL: nodejs#20779
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>

@mhdawson mhdawson referenced this pull request Jul 4, 2018

Merged

v8.12.0 proposal #21593

@MylesBorins

This comment has been minimized.

Copy link
Member

MylesBorins commented Jul 9, 2018

Should this be backported to v8.x-staging? If yes please follow the guide and raise a backport PR, if not let me know or add the dont-land-on label.

gabrielschulhof added a commit to gabrielschulhof/node that referenced this pull request Jul 10, 2018

n-api: throw when entry point is null
PR-URL: nodejs#20779
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>

gabrielschulhof added a commit to gabrielschulhof/node that referenced this pull request Jul 14, 2018

n-api: throw when entry point is null
PR-URL: nodejs#20779
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>

MylesBorins added a commit that referenced this pull request Aug 1, 2018

n-api: throw when entry point is null
Backport-PR-URL: #21732
PR-URL: #20779
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>

rvagg added a commit that referenced this pull request Aug 16, 2018

n-api: throw when entry point is null
Backport-PR-URL: #21732
PR-URL: #20779
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.