mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-23 15:31:10 +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'
|
S3S = require 's3-streams'
|
||||||
{db, ObjectId} = require "./mongojs"
|
{db, ObjectId} = require "./mongojs"
|
||||||
JSONStream = require "JSONStream"
|
JSONStream = require "JSONStream"
|
||||||
ReadlineStream = require "readline-stream"
|
ReadlineStream = require "byline"
|
||||||
|
|
||||||
module.exports = MongoAWS =
|
module.exports = MongoAWS =
|
||||||
|
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"async": "~0.2.10",
|
"async": "~0.2.10",
|
||||||
"bson": "^0.4.20",
|
"bson": "^0.4.20",
|
||||||
|
"byline": "^4.2.1",
|
||||||
"cli": "^0.6.6",
|
"cli": "^0.6.6",
|
||||||
"express": "3.3.5",
|
"express": "3.3.5",
|
||||||
"line-reader": "^0.2.4",
|
"line-reader": "^0.2.4",
|
||||||
|
@ -22,8 +23,7 @@
|
||||||
"underscore": "~1.7.0",
|
"underscore": "~1.7.0",
|
||||||
"mongo-uri": "^0.1.2",
|
"mongo-uri": "^0.1.2",
|
||||||
"s3-streams": "^0.3.0",
|
"s3-streams": "^0.3.0",
|
||||||
"JSONStream": "^1.0.4",
|
"JSONStream": "^1.0.4"
|
||||||
"readline-stream": "^1.0.1"
|
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"chai": "~1.9.0",
|
"chai": "~1.9.0",
|
||||||
|
|
Loading…
Reference in a new issue