diff --git a/lib/util/makeErrorFunction.js b/lib/util/makeErrorFunction.js index b19c6a9..4ab3ad0 100644 --- a/lib/util/makeErrorFunction.js +++ b/lib/util/makeErrorFunction.js @@ -1,6 +1,6 @@ "use strict"; var format = require("util").format; -var uuid = require("node-uuid"); +var uuid = require("uuid"); module.exports = function makeErrorFunction(errorCodeName, errorCodeSpec) { if (!errorCodeName) { diff --git a/lib/util/parse.js b/lib/util/parse.js index c985087..eeb995b 100644 --- a/lib/util/parse.js +++ b/lib/util/parse.js @@ -1,5 +1,5 @@ "use strict"; -var uuid = require("node-uuid"); +var uuid = require("uuid"); var getSerializableError = require("./getSerializableError"); module.exports = function parseError(err) { diff --git a/package.json b/package.json index bc81ef6..29da7bc 100644 --- a/package.json +++ b/package.json @@ -13,9 +13,9 @@ "node": ">=0.10.0" }, "dependencies": { + "moduleconfig": "^2.0.0", "underscore": "^1.8.3", - "node-uuid": "^1.4.7", - "moduleconfig": "^2.0.0" + "uuid": "^3.0.1" }, "scripts": { "test": "istanbul cover _mocha",