@serialport/stream
Advanced tools
Comparing version 10.0.2 to 10.1.0
{ | ||
"name": "@serialport/stream", | ||
"version": "10.0.2", | ||
"version": "10.1.0", | ||
"main": "lib", | ||
@@ -9,3 +9,3 @@ "dependencies": { | ||
"devDependencies": { | ||
"@serialport/binding-mock": "10.0.1" | ||
"@serialport/binding-mock": "10.1.0" | ||
}, | ||
@@ -24,3 +24,3 @@ "engines": { | ||
"funding": "https://opencollective.com/serialport/donate", | ||
"gitHead": "4a475ec09b6f4017315903894b5aa7d00b519f52" | ||
"gitHead": "2f64c829ca66826dd2e93220a2563e2d10c6ce7c" | ||
} |
@@ -11,4 +11,4 @@ # @serialport/Stream | ||
const SerialPort = require('@serialport/stream') | ||
const Binding = require('@serialport/bindings-cpp') | ||
SerialPort.Binding = Binding | ||
const { autoDetect } = require('@serialport/bindings-cpp') | ||
SerialPort.Binding = autoDetect() | ||
const port = new Serialport('/dev/ttyay') | ||
@@ -15,0 +15,0 @@ ``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
26566