Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

node-uuid is deprecated, moving to uuid package #128

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/sockets.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ var amqp = require('amqplib');
var inherits = require('util').inherits;
var EventEmitter = require('events').EventEmitter;
var Stream = require('stream');
var guid = require('node-uuid').v4;
var guid = require('uuid/v4');

var Readable = Stream.Readable || require('readable-stream/readable');
var Writable = Stream.Writable || require('readable-stream/writable');
Expand Down Expand Up @@ -43,7 +43,7 @@ function Context(url, connOpts) {
['close', 'blocked', 'unblocked'].forEach(function(ev) {
conn.on(ev, self.emit.bind(self, ev));
});
});
}).catch( onError );
c.then(this.emit.bind(this, 'ready')).then(null, onError);
};
inherits(Context, EventEmitter);
Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "rabbit.js",
"name": "rabbit.js.ng",
"description": "Easy stream-based messaging using RabbitMQ",
"version": "0.4.4",
"version": "0.5.1",
"homepage": "http://github.com/squaremo/rabbit.js",
"repository": {
"type": "git",
Expand All @@ -20,11 +20,11 @@
"node": ">=0.8 <0.13 || ^1"
},
"dependencies": {
"amqplib": "0.3.2",
"node-uuid": "",
"readable-stream": "~1 >=1.0.2"
"amqplib": "0.5.3",
"readable-stream": "3.0.6",
"uuid": "^3.3.2"
},
"devDependencies": {
"mocha": ""
"mocha": "^5.2.0"
}
}