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

Upgrade napi-macros #657

Merged
merged 2 commits into from
Aug 11, 2019
Merged

Upgrade napi-macros #657

merged 2 commits into from
Aug 11, 2019

Conversation

vweevers
Copy link
Member

Because the NAPI_STATUS_THROWS macro was changed to return NULL (mafintosh/napi-macros#13), I switched to NAPI_STATUS_THROWS_VOID in places where we can't return null (i.e. constructors).

Supersedes #644.

@vweevers vweevers added the semver-patch Bug fixes that are backward compatible label Aug 11, 2019
@@ -11,7 +11,7 @@
"test-electron": "electron test/electron.js",
"test-prebuild": "cross-env PREBUILDS_ONLY=1 npm t",
"coverage": "nyc report --reporter=text-lcov | coveralls",
"rebuild": "node-gyp rebuild",
"rebuild": "npm run install --build-from-source",
Copy link
Member Author

Choose a reason for hiding this comment

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

Small unrelated change; previously npm run rebuild would not use the locally-installed node-gyp.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver-patch Bug fixes that are backward compatible
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants