-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Node-API migration #2305
Merged
Merged
Node-API migration #2305
Changes from all commits
Commits
Show all changes
47 commits
Select commit
Hold shift + click to select a range
f61387d
Change dependency to napi
GazHank a604ed5
include napi
GazHank 15058ef
update shared functionality to NAPI
GazHank 0ec629f
win specific changes
GazHank 2ab6d14
comment out async resources
GazHank fcdb5ea
initial mac changes for NAPI
GazHank f6651d6
Use include_dir instead of include
GazHank 5dabafc
Remove unchecked call to napi_* for return args
GazHank b6e3d41
update unix methods to include napi_env
GazHank 6b72730
Initial poller conversion (v broken)
GazHank c01113d
Fix setBaton (revert bug)
GazHank 4350078
fix for include_dirs
GazHank 8b37af1
Convert OpenBaton to AsyncWorker
GazHank d5b8185
SetError within Execute()
GazHank 6118528
Replace napi_create_async_work for common methods
GazHank 426d7e9
Comment update - AsyncResource -> AsyncWorker
GazHank 03c4d7b
Update node-abi dependency
GazHank 23e8629
fix Get
GazHank d5ec10b
Update List
GazHank 5500e29
initial update of read and write (win)
GazHank 7aac610
fix linux errors
GazHank deaea83
use void baton inheritance
GazHank c7c2b5c
Consistently pass callback to baton
GazHank 7f3220b
Some poller patches
GazHank afb6371
remove redundant ByteSize Setting
GazHank 5eebb78
fix typo
GazHank be974d9
NODE_ADDON_API_ENABLE_MAYBE
GazHank 06c612d
some poller fixes
GazHank 85635f8
reinstate setBaudRate
GazHank 4e3d595
fix ConnectionOptionsBaton
GazHank 82575c3
optional - remove warnings
GazHank a1cca06
Remove OnError logic
GazHank 8383df4
Fix linting errors
GazHank 1a09db0
linting errors part 2
GazHank 57237f3
linting errors part 3
GazHank c051b7f
package updates
GazHank 4bab582
enable exceptions
GazHank 2ee143d
poller fixes
GazHank 3ab5148
node-abi update
GazHank 540da10
Low Latency fix
GazHank 2bbd67a
package-lock fix
GazHank 70a75b2
Revert loackfile to v1
GazHank 64e8104
Cleanup OnError comments
GazHank 42d87d1
Fix Windows Read and Write
GazHank 3950949
Fix no COM port #2325
GazHank e0e9b52
fix locks
reconbot e300c78
fix: locks
reconbot File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've always seen this setting as:
Specifically, the
@
seems to be missing.Note,
dependencies
generally doesn't use the@
.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems to have been revised as part of nodejs/node-addon-api@f27623f#diff-55ad3a91265d731555313fdee9af5e109244b0e825c4aff0b7cce3c78b07be97