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 1.7.1 to 1.7.2-prebuild

30

package.json
{
"name": "usb",
"description": "Library to access USB devices",
"version": "1.7.1",
"version": "1.7.2-prebuild",
"engines": {
"node": ">=6"
"node": ">=10"
},

@@ -35,15 +35,21 @@ "keywords": [

"type": "git",
"url": "https://github.com/tessel/node-usb.git"
"url": "https://github.com/thegecko/node-usb.git"
},
"scripts": {
"install": "prebuild-install --runtime napi --target 4 --verbose || node-gyp rebuild",
"prebuild": "prebuild --runtime napi --target 4 --force --strip --verbose",
"install": "node-gyp-build",
"test": "mocha --require coffeescript/register --grep Module test/*",
"full-test": "mocha --require coffeescript/register test/*",
"valgrind": "coffee -c test/usb.coffee; valgrind --leak-check=full --show-possibly-lost=no node --expose-gc --trace-gc node_modules/mocha/bin/_mocha -R spec"
"valgrind": "coffee -c test/usb.coffee; valgrind --leak-check=full --show-possibly-lost=no node --expose-gc --trace-gc node_modules/mocha/bin/_mocha -R spec",
"prebuild": "prebuildify --napi --strip",
"prebuild-darwin": "prebuildify --napi --strip --arch x64+arm64",
"prebuild-win32-x86": "prebuildify --napi --strip",
"prebuild-win32-x64": "prebuildify --napi --strip",
"prebuild-linux-x64": "prebuildify-cross -i ghcr.io/node-usb/centos7-devtoolset7 -i ghcr.io/node-usb/alpine --napi --strip --tag-libc",
"prebuild-linux-arm": "prebuildify-cross -i ghcr.io/node-usb/linux-arm64 -i ghcr.io/node-usb/linux-armv7 -i ghcr.io/node-usb/linux-armv6 --napi --strip --tag-armv",
"prebuild-android-arm": "prebuildify-cross -i ghcr.io/node-usb/android-arm64 -i ghcr.io/node-usb/android-armv7 --napi --strip --tag-armv",
"prebuild-download": "prebuildify-ci download"
},
"dependencies": {
"bindings": "^1.4.0",
"node-addon-api": "3.0.2",
"prebuild-install": "^5.3.3"
"node-addon-api": "^4.2.0",
"node-gyp-build": "^4.3.0"
},

@@ -53,4 +59,6 @@ "devDependencies": {

"mocha": "^8.3.2",
"node-abi": "^2.19.3",
"prebuild": "^10.0.1"
"node-gyp": "^7.1.2",
"prebuildify": "^4.2.1",
"prebuildify-ci": "^1.0.5",
"prebuildify-cross": "^4.0.1"
},

@@ -57,0 +65,0 @@ "license": "MIT",

@@ -321,4 +321,7 @@ USB Library for Node.JS

Some tests require an attached USB device -- firmware to be released soon.
Some tests require an [attached STM32F103 Microprocessor USB device with specific firmware](https://github.com/thegecko/node-usb-test-firmware).
npm run --silent full-test
npm run --silent valgrind
Limitations

@@ -325,0 +328,0 @@ ===========

@@ -1,2 +0,2 @@

var usb = exports = module.exports = require('bindings')('usb_bindings');
var usb = exports = module.exports = require('node-gyp-build')(__dirname);
var events = require('events')

@@ -3,0 +3,0 @@ var util = require('util')

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