Skip to content

Commit

Permalink
chore(package): update uuid to version 3.0.0 (#1234)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcbachmann authored and DonutEspresso committed Dec 6, 2016
1 parent d2eabef commit 735cdb3
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion lib/bunyan_helper.js
Expand Up @@ -8,7 +8,7 @@ var util = require('util');
var assert = require('assert-plus');
var bunyan = require('bunyan');
var LRU = require('lru-cache');
var uuid = require('node-uuid');
var uuid = require('uuid');


///--- Globals
Expand Down
2 changes: 1 addition & 1 deletion lib/request.js
Expand Up @@ -9,7 +9,7 @@ var sprintf = require('util').format;
var assert = require('assert-plus');
var mime = require('mime');
var Negotatior = require('negotiator');
var uuid = require('node-uuid');
var uuid = require('uuid');

var dtrace = require('./dtrace');

Expand Down
2 changes: 1 addition & 1 deletion lib/server.js
Expand Up @@ -14,7 +14,7 @@ var mime = require('mime');
var once = require('once');
var semver = require('semver');
var spdy = require('spdy');
var uuid = require('node-uuid');
var uuid = require('uuid');
var vasync = require('vasync');

var dtrace = require('./dtrace');
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -68,12 +68,12 @@
"lru-cache": "^4.0.1",
"mime": "^1.2.11",
"negotiator": "^0.6.1",
"node-uuid": "^1.4.7",
"once": "^1.3.0",
"qs": "^6.2.1",
"restify-errors": "^4.2.3",
"semver": "^5.0.1",
"spdy": "^3.3.3",
"uuid": "^3.0.0",
"vasync": "^1.6.4"
},
"optionalDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions test/server.test.js
Expand Up @@ -12,7 +12,7 @@ var errors = require('restify-errors');
var filed = require('filed');
var plugins = require('restify-plugins');
var restifyClients = require('restify-clients');
var uuid = require('node-uuid');
var uuid = require('uuid');
var validator = require('validator');

var RestError = errors.RestError;
Expand Down Expand Up @@ -1782,7 +1782,7 @@ test('error handler defers "after" event', function (t) {
// do not fire prematurely
t.notOk(true);
});
CLIENT.get('/' + uuid(), function (err, _, res) {
CLIENT.get('/' + uuid.v4(), function (err, _, res) {
t.ok(err);
t.equal(res.statusCode, 404);
t.end();
Expand Down

0 comments on commit 735cdb3

Please sign in to comment.