Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

usb-native

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

usb-native

precompile cross-platform serialport and usb-detection dll libraries and load libraries according to platform

latest
Source
npmnpm
Version
6.0.0
Version published
Maintainers
1
Created
Source

node-usb-native

  • Update electron version in index.js
  • Update electron version in ./scripts/rebuild-serialport.js node-gyp rebuild --target=[new-electron-version] --arch=x64 --dist-url=https://atom.io/download/electron
  • Run Travis CI job to compile cross-platform libraries for the electron version
  • Get new native binaries from https://github.com/VSChina/serialport.node/releases.
  • Place the new libraries under /native folder and remove the useless libraries to reduce package size.
  • Update package version number and run npm publish ro publish the new version.

FAQs

Package last updated on 27 Mar 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts