Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@serialport/parser-ready

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@serialport/parser-ready - npm Package Compare versions

Comparing version 1.0.5 to 2.0.1

CHANGELOG.md

11

package.json
{
"name": "@serialport/parser-ready",
"main": "ready.js",
"version": "1.0.5",
"dependencies": {
"safe-buffer": "^5.1.1"
"version": "2.0.1",
"engines": {
"node": ">=6.0.0"
},

@@ -14,4 +14,5 @@ "publishConfig": {

"type": "git",
"url": "git://github.com/node-serialport/parsers.git"
}
"url": "git://github.com/node-serialport/node-serialport.git"
},
"gitHead": "40a06fb71d659940ed5058316b594b9da9957c2f"
}

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

See our api docs https://node-serialport.github.io/parsers/ReadyParser.html
See our api docs https://node-serialport.github.io/node-serialport/ReadyParser.html

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

'use strict'
const Buffer = require('safe-buffer').Buffer
const Transform = require('stream').Transform

@@ -23,4 +21,3 @@

*/
constructor (options) {
options = options || {}
constructor(options = {}) {
if (options.delimiter === undefined) {

@@ -40,3 +37,3 @@ throw new TypeError('"delimiter" is not a bufferable object')

_transform (chunk, encoding, cb) {
_transform(chunk, encoding, cb) {
if (this.ready) {

@@ -43,0 +40,0 @@ this.push(chunk)

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