- Unbind ATL lib on Windows (
atlstr.h
)- Thanks to @sarakusha for the contribution
- Fix
deviceName
garbled in Windows- Thanks to @nononoone for the contribution
- Add support for Node.js v12
- Thanks to @kryops for the contribution
- Add note about
usbDetect.find()
requiringusbDetect.startMonitoring()
for proper results after insert/remove- Thanks to @mikew for the contribution
- Fix
usbDetect.find(...)
promise syntax/callback not working- Thanks to @erikkallen for the contribution
- Add Windows backslash normalization for instance id's to fix certain USB devices not being detected
- Thanks to @LanetheGreat for the contribution
- Use native Promises, MadLittleMods#69
- Now requires Node.js >=4
- Update dependencies based on npm security audit, MadLittleMods#70
- Add TypeScript declarations/definitions
- Thanks to @thegecko for the contribution
- Add serial number support to Windows
- Thanks to @doganmurat for the contribution
- Show multiple/duplicate USB devices on Windows
- Thanks to @doganmurat for the contribution
- Update all dependencies
- Add npm
install
hook that will use our prebuilt binaries instead of having to compile from source with node-gyp. - Remove side-effects when you
require('usb-detection')
so the process won't hang from just requiring. - Fix 100% CPU usage on Linux, MadLittleMods#2
- Thanks to @sarakusha for the contribution
- Ensure the process will exit gracefully across all platforms, MadLittleMods#35
- Remove npm
install
hook to prevent hanging the install process caused byprebuild-install
verify require and our side-effects.- Thanks to @Lange for noticing an issue.
Remove side-effects when youNow requires an explicit call torequire('usb-detection')
so the process won't hang from just requiring.usbDetect.startMonitoring()
to begin listening to USB add/remove/change events.- Add npm
install
hook that will use our prebuilt binaries instead of having to compile from source with node-gyp.
- Remove npm
install
hook to prevent hanging the install process caused byprebuild-install
verify require and our side-effects.- Thanks to @Lange for figuring out the root cause.
- Add check for null before notifying of addition/removal
- Thanks to @reidmweber for this contribution via #37
- Create prebuilt binaries on tagged releases
- Thanks to @jayalfredprufrock for the PoC and @Lange for the contribution
- Add compatibility for
[email protected]
by using morenan
types and methods.- Thanks to @apla for this contribution!
- Add compatibility for Node 4
- Upgrade
nan
dependency [email protected]. Thank you @lorenc-tomasz
- Upgrade
- New maintainer/owner @MadLittleMods. Previously maintained by @adrai 👍
- Add tests
npm test
find
now also returns a promise- Format js and c++
- Added eslint file, linter code style guidelines
- Alias
insert
as theadd
event name for.on
- Update readme
- Fix usage section
.on
callbacks which do not actually have aerr
parameter passed to the callback - Add API section to document clearly all of the methods and events emitted
- Add test instructions
- Fix usage section
- Add support for Node v0.12.x
- Revert "ready for node >= 0.11.4"
- Fix issues found via cppcheck
- Ready for node >= 0.11.4
- First release