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

readline

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

readline - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0

2

package.json
{
"name": "readline",
"version": "1.1.0",
"version": "1.2.0",
"description": "Simple streaming readline module.",

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

@@ -32,4 +32,6 @@ var fs = require('fs'),

if (data[i] == 10 || data[i] == 13) { // Newline char was found.
lineCount++;
if (lineLength) emit(lineCount, byteCount);
if (data[i] == 10) {
lineCount++;
emit(lineCount, byteCount);
}
} else {

@@ -36,0 +38,0 @@ lineBuffer[lineLength] = data[i]; // Buffer new line data.

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