Socket
Socket
Sign inDemoInstall

linux-device

Package Overview
Dependencies
132
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.0 to 2.0.1

10

lib/DeviceHandle.js

@@ -218,7 +218,3 @@ "use strict";

if(res && this[kSource].forcedDataSize) {
for(let i = 0; i < res.length; i+= res) {
this.push(res.slice(i, i+this[kSource].forcedDataSize));
}
} if(res && this[kSource].parser) {
if(res && this[kSource].parser) {
if(!this[kSource].emitter) {

@@ -229,2 +225,6 @@ this[kSource].emitter = new EventEmitter();

this[kSource].parser(this[kSource].emitter, res);
} else if(res && this[kSource].forcedDataSize) {
for(let i = 0; i < res.length; i+= res) {
this.push(res.slice(i, i+this[kSource].forcedDataSize));
}
} else {

@@ -231,0 +231,0 @@ this.push(res);

{
"name": "linux-device",
"version": "2.0.0",
"version": "2.0.1",
"description": "Native addon to communicate with linux devices (can also be used for sockets or FIFOs)",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc