diff --git a/lib/client.js b/lib/client.js index 3766f5f..354416e 100644 --- a/lib/client.js +++ b/lib/client.js @@ -9,7 +9,7 @@ var _ = require('lodash'), HashRing = require('hashring'), misc = require('./misc'), Promise = require('bluebird'), - Queue = require('collections/deque'), + Queue = require('queue'), R = require('ramda'); var Connection = require('./connection'); diff --git a/package.json b/package.json index b9970b7..50e4233 100644 --- a/package.json +++ b/package.json @@ -41,11 +41,11 @@ "bluebird": "^3.4.1", "carrier": "^0.3.0", "chai": "^3.5.0", - "collections": "^5.0.4", "debug": "^2.2.0", "hashring": "^3.2.0", "immutable": "^3.8.1", "lodash": "^4.14.0", + "queue": "^4.0.0", "ramda": "^0.21.0" } } diff --git a/yarn.lock b/yarn.lock index 2523f1b..d87a078 100644 --- a/yarn.lock +++ b/yarn.lock @@ -831,12 +831,6 @@ coffee-script@~1.10.0: version "1.10.0" resolved "https://registry.yarnpkg.com/coffee-script/-/coffee-script-1.10.0.tgz#12938bcf9be1948fa006f92e0c4c9e81705108c0" -collections@^5.0.4: - version "5.0.4" - resolved "https://registry.yarnpkg.com/collections/-/collections-5.0.4.tgz#9344874e7f279ef0f8ec5cb50d75d4512e38ec6a" - dependencies: - weak-map "~1.0.x" - colors@~1.1.2: version "1.1.2" resolved "https://registry.yarnpkg.com/colors/-/colors-1.1.2.tgz#168a4701756b6a7f51a12ce0c97bfa28c084ed63" @@ -3621,6 +3615,12 @@ querystring@0.2.0: version "0.2.0" resolved "https://registry.yarnpkg.com/querystring/-/querystring-0.2.0.tgz#b209849203bb25df820da756e747005878521620" +queue: + version "4.0.0" + resolved "https://registry.yarnpkg.com/queue/-/queue-4.0.0.tgz#e5b10fa5847c696c64149a40c58d270ad79ac713" + dependencies: + inherits "~2.0.0" + ramda@^0.21.0: version "0.21.0" resolved "https://registry.yarnpkg.com/ramda/-/ramda-0.21.0.tgz#a001abedb3ff61077d4ff1d577d44de77e8d0a35" @@ -4645,10 +4645,6 @@ ware@^1.2.0, ware@1.3.0: dependencies: wrap-fn "^0.1.0" -weak-map@~1.0.x: - version "1.0.5" - resolved "https://registry.yarnpkg.com/weak-map/-/weak-map-1.0.5.tgz#79691584d98607f5070bd3b70a40e6bb22e401eb" - webidl-conversions@^2.0.0: version "2.0.1" resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-2.0.1.tgz#3bf8258f7d318c7443c36f2e169402a1a6703506"