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

linerstream

Package Overview
Dependencies
Maintainers
2
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

linerstream - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

3

index.js
var Transform = require('stream').Transform
var util = require('util')
var os = require('os')

@@ -16,3 +17,3 @@ function Liner(opts) {

}
var lines = data.split('\n')
var lines = data.split(os.EOL)
this._lastLineData = lines.splice(lines.length - 1, 1)[0]

@@ -19,0 +20,0 @@

{
"name": "linerstream",
"version": "0.1.3",
"version": "0.1.4",
"description": "Split a readable stream by newline characters",

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

@@ -5,3 +5,3 @@ # linerstream

[![NPM](https://nodei.co/npm/linestream.png)](https://nodei.co/npm/linerstream/)
[![NPM](https://nodei.co/npm/linerstream.png)](https://nodei.co/npm/linerstream/)

@@ -8,0 +8,0 @@ [![Build Status](https://travis-ci.org/nisaacson/linerstream.png)](https://travis-ci.org/nisaacson/linerstream)

var sinon = require('sinon')
var fs = require('fs')
var path = require('path')
var os = require('os')
var expect = require('chai').expect

@@ -24,3 +25,3 @@ var Linerstream = require('../')

expect(line).to.not.be.empty
expect(line).to.not.match(/\n/)
expect(line).to.not.match(/\n|\r/)
}

@@ -27,0 +28,0 @@

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