mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 06:03:45 +01:00
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:
@@ -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 =
|
||||
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user