Skip to content
This repository has been archived by the owner on Dec 1, 2024. It is now read-only.

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
@vweevers vweevers requested a review from ralphtheninja August 11, 2019 07:09
@@ -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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
semver-patch Bug fixes that are backward compatible
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants