switch to node-byline module to avoid buffering problem with readline-stream

for lines > 64k the readline-stream module is affected by
https://github.com/jahewson/node-byline/issues/30 which is fixed in
node-byline (readline-stream was an earlier fork of the byline module)
This commit is contained in:
Brian Gough 2016-01-11 16:50:22 +00:00
parent cb109a27a6
commit b8862ca5af
2 changed files with 3 additions and 3 deletions

View file

@ -4,7 +4,7 @@ AWS = require 'aws-sdk'
S3S = require 's3-streams'
{db, ObjectId} = require "./mongojs"
JSONStream = require "JSONStream"
ReadlineStream = require "readline-stream"
ReadlineStream = require "byline"
module.exports = MongoAWS =

View file

@ -9,6 +9,7 @@
"dependencies": {
"async": "~0.2.10",
"bson": "^0.4.20",
"byline": "^4.2.1",
"cli": "^0.6.6",
"express": "3.3.5",
"line-reader": "^0.2.4",
@ -22,8 +23,7 @@
"underscore": "~1.7.0",
"mongo-uri": "^0.1.2",
"s3-streams": "^0.3.0",
"JSONStream": "^1.0.4",
"readline-stream": "^1.0.1"
"JSONStream": "^1.0.4"
},
"devDependencies": {
"chai": "~1.9.0",