diff --git a/services/document-updater/app/coffee/HistoryManager.coffee b/services/document-updater/app/coffee/HistoryManager.coffee index 9f78b5af4b..c3675f4018 100644 --- a/services/document-updater/app/coffee/HistoryManager.coffee +++ b/services/document-updater/app/coffee/HistoryManager.coffee @@ -1,7 +1,6 @@ settings = require "settings-sharelatex" request = require "request" logger = require "logger-sharelatex" -async = require "async" HistoryRedisManager = require "./HistoryRedisManager" module.exports = HistoryManager = diff --git a/services/document-updater/app/coffee/HistoryRedisManager.coffee b/services/document-updater/app/coffee/HistoryRedisManager.coffee index 0ac8723359..d9a99a09aa 100644 --- a/services/document-updater/app/coffee/HistoryRedisManager.coffee +++ b/services/document-updater/app/coffee/HistoryRedisManager.coffee @@ -1,7 +1,6 @@ Settings = require('settings-sharelatex') rclient = require("redis-sharelatex").createClient(Settings.redis.history) Keys = Settings.redis.history.key_schema -async = require "async" logger = require('logger-sharelatex') module.exports = HistoryRedisManager = diff --git a/services/document-updater/app/coffee/RedisManager.coffee b/services/document-updater/app/coffee/RedisManager.coffee index b873f9bd6a..ccb82a1ab6 100644 --- a/services/document-updater/app/coffee/RedisManager.coffee +++ b/services/document-updater/app/coffee/RedisManager.coffee @@ -1,5 +1,4 @@ Settings = require('settings-sharelatex') -async = require('async') rclient = require("redis-sharelatex").createClient(Settings.redis.documentupdater) _ = require('underscore') logger = require('logger-sharelatex') diff --git a/services/document-updater/app/coffee/ShareJsUpdateManager.coffee b/services/document-updater/app/coffee/ShareJsUpdateManager.coffee index 3ec90e4f62..a5cc6070cb 100644 --- a/services/document-updater/app/coffee/ShareJsUpdateManager.coffee +++ b/services/document-updater/app/coffee/ShareJsUpdateManager.coffee @@ -1,6 +1,5 @@ ShareJsModel = require "./sharejs/server/model" ShareJsDB = require "./ShareJsDB" -async = require "async" logger = require "logger-sharelatex" Settings = require('settings-sharelatex') Keys = require "./UpdateKeys" diff --git a/services/document-updater/package.json b/services/document-updater/package.json index 3436da467d..3854e78158 100644 --- a/services/document-updater/package.json +++ b/services/document-updater/package.json @@ -7,7 +7,7 @@ "url": "https://github.com/sharelatex/document-updater-sharelatex.git" }, "dependencies": { - "async": "2.0.0-rc.5", + "async": "^2.5.0", "coffee-script": "1.4.0", "express": "3.3.4", "ioredis": "^3.1.4",