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.2-prebuild.2 to 1.7.2-test.1

.github/workflows/prebuild.yml

31

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

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

"type": "git",
"url": "https://github.com/thegecko/node-usb.git"
"url": "https://github.com/tessel/node-usb.git"
},
"scripts": {
"install": "node-gyp-build",
"install": "prebuild-install --runtime napi --target 4 --verbose || node-gyp rebuild",
"prebuild": "prebuild --runtime napi --target 4 --force --strip --verbose",
"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",
"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-x86": "prebuildify-cross -i ghcr.io/node-usb/linux-x86 --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"
"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"
},
"dependencies": {
"node-addon-api": "^4.2.0",
"node-gyp-build": "^4.3.0"
"bindings": "^1.4.0",
"node-addon-api": "3.0.2",
"prebuild-install": "^5.3.3"
},

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

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

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

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

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

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

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