Socket
Socket
Sign inDemoInstall

usb

Package Overview
Dependencies
Maintainers
3
Versions
96
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

usb - npm Package Compare versions

Comparing version 2.3.1 to 2.4.0

test/worker.cjs

15

CHANGELOG.md
# Changelog
## [2.4.0] - 2022-05-02
### Fixed
- Made addon context aware - [`512`](https://github.com/node-usb/node-usb/pull/512) ([Rob Moran](https://github.com/thegecko) & [Alba Mendez](https://github.com/mildsunrise))
- Fixed deprecation of `libusb_set_option` - [`510`](https://github.com/node-usb/node-usb/pull/510) ([Rob Moran](https://github.com/thegecko))
### Changed
- **Breaking:** Updated to N-API version 6 (Node >=10.20.0 <11.x, >=12.17.0 <13.0, >=14.0.0) - [`509`](https://github.com/node-usb/node-usb/pull/509) ([Rob Moran](https://github.com/thegecko))
### Added
- Added `rebuild` command - [`511`](https://github.com/node-usb/node-usb/pull/511) ([Rob Moran](https://github.com/thegecko))
### Removed
- Removed `USE_POLL` build definition to simplify code - [`507`](https://github.com/node-usb/node-usb/pull/507) ([Rob Moran](https://github.com/thegecko))
## [2.3.1] - 2022-04-11

@@ -4,0 +19,0 @@

11

package.json

@@ -5,6 +5,6 @@ {

"license": "MIT",
"version": "2.3.1",
"version": "2.4.0",
"main": "dist/index.js",
"engines": {
"node": ">=10.16.0"
"node": ">=10.20.0 <11.x, >=12.17.0 <13.0, >=14.0.0"
},

@@ -42,2 +42,3 @@ "repository": {

"install": "node-gyp-build",
"rebuild": "node-gyp rebuild",
"clean": "git clean -dfx",

@@ -51,4 +52,4 @@ "compile": "tsc && yarn lint && yarn docs",

"docs": "typedoc",
"prebuild": "prebuildify --napi --target 10.16.0 --strip",
"prebuild-cross": "prebuildify-cross --napi --target 10.16.0 --strip",
"prebuild": "prebuildify --napi --strip",
"prebuild-cross": "prebuildify-cross --napi --strip",
"prepublishOnly": "prebuildify-ci download",

@@ -78,5 +79,5 @@ "prebuild-download": "prebuildify-ci download"

"napi_versions": [
4
6
]
}
}

@@ -13,3 +13,3 @@ # USB Library for Node.JS

[Node.js >= v10.16.0](https://nodejs.org), which includes `npm`.
[Node.js >= v10.20.0](https://nodejs.org), which includes `npm`.

@@ -16,0 +16,0 @@ ## Windows

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc