Socket
Socket
Sign inDemoInstall

@serialport/parser-byte-length

Package Overview
Dependencies
Maintainers
3
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@serialport/parser-byte-length - npm Package Compare versions

Comparing version 10.2.2 to 10.3.0

6

dist/index.d.ts

@@ -11,8 +11,2 @@ /// <reference types="node" />

* A transform stream that emits data as a buffer after a specific number of bytes are received. Runs in O(n) time.
* @example
const SerialPort = require('serialport')
const ByteLength = require('@serialport/parser-byte-length')
const port = new SerialPort('/dev/tty-usbserial1')
const parser = port.pipe(new ByteLength({length: 8}))
parser.on('data', console.log) // will have 8 bytes per data event
*/

@@ -19,0 +13,0 @@ export declare class ByteLengthParser extends Transform {

@@ -9,8 +9,2 @@ "use strict";

* A transform stream that emits data as a buffer after a specific number of bytes are received. Runs in O(n) time.
* @example
const SerialPort = require('serialport')
const ByteLength = require('@serialport/parser-byte-length')
const port = new SerialPort('/dev/tty-usbserial1')
const parser = port.pipe(new ByteLength({length: 8}))
parser.on('data', console.log) // will have 8 bytes per data event
*/

@@ -17,0 +11,0 @@ class ByteLengthParser extends stream_1.Transform {

4

package.json
{
"name": "@serialport/parser-byte-length",
"version": "10.2.2",
"version": "10.3.0",
"main": "./dist/index.js",

@@ -24,3 +24,3 @@ "types": "./dist/index.d.ts",

},
"gitHead": "e8be807d39ad084ffc7e8609693da5a94cf8a9cb"
"gitHead": "ceba41c8f89d911de210f2513aaae85fff3ab457"
}

@@ -0,1 +1,3 @@

# @serialport/parser-byte-length
See our api docs https://serialport.io/docs/api-parser-byte-length
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