mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-23 15:00:58 +00: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:
parent
cb109a27a6
commit
b8862ca5af
2 changed files with 3 additions and 3 deletions
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue