Node-hid now uses N-API instead of NAN to bind to hidapi.
This is due to node-abi's continuing issues with reporting the correct ABI for latest Electron & Node releases.
The benefit is only one binary per OS now.
v1.3.2
No release notes provided.
node-hid v1.3.1
Updates in this release:
Support for Electron v10 and Node v14 (#392, #395)
Cross-compile flag for setting CFLAGS and LDFLAGS when building with node-gyp (#393)
More fixes for context-aware / Worker thread use (#389, still ongoing but perhaps fixed)
Fix to allow use before Node v10
v1.3.0
No release notes provided.
node-hid v1.2.0
Changes/fixes in this release:
On Windows, device.on('data',...) event handler now allows process exit if device doesn't send data. This is accomplished by changing the underlying hidapi read from hid_read() to a looping hid_read_timeout(). Addresses issue #358 and others.
Node Buffers can now be used in device.write() and device.sendFeatureReport(). Allows a >10x speed up for certain types of data sends. See PR #357 (thanks @Julusian!)
node-hid v1.1.0
Includes updated hidapi that allows Macs to see devices with multiple usages/usagePages (#348)
Prebuilds now include Node v13 and Electron v6 (#352)
node-hid v1.0.0
Now uses libusb/hidapi! This should fix several outstanding issues.
Added support for Electron v7.
Up to Node v12 is supported (Node v13 isn't in node-abi yet, so prebuild can't make prebuilt binaries for it)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps node-hid from 0.7.9 to 2.1.2.
Release notes
Sourced from node-hid's releases.
Commits
ee96d1b
bump versionb10da03
update prebuild and prebuild-install to latestde7b162
update prebuild and prebuild-install to latest5c6704e
add node v18 to linux test matrix0da939d
Merge pull request #486 from Julusian/fix/electron-21b6c0015
fix: switch windows runner versionfba3544
fix: electron 21 support1bb251c
add electron-react-boilerplate example link3f2d7e0
update README to better describe Windows build-from-source setup9071817
update README to better describe Linux build-from-source requirementsDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)