diff --git a/lib/dbwrap.js b/lib/dbwrap.js index 5cecf42..38f4e29 100644 --- a/lib/dbwrap.js +++ b/lib/dbwrap.js @@ -301,8 +301,7 @@ function wrap(db, dir, dbsMap) { DB.save = function (data, oldId) { if (!data[idnameCased] && !oldId) { // NOTE saving the id both in the object and the id for now - var UUID = require('node-uuid'); - data[idnameCased] = UUID.v4(); + data[idnameCased] = require('uuid').v4(); return DB.create(data[idnameCased], data).then(function (/*stats*/) { //data._rowid = stats.id; return data; diff --git a/package.json b/package.json index 2dad4b3..d992a97 100644 --- a/package.json +++ b/package.json @@ -8,12 +8,13 @@ }, "repository": { "type": "git", - "url": "git@github.com:coolaj86/node-masterquest-sqlite3.git" + "url": "https://git.coolaj86.com:coolaj86/masterquest-sqlite3.js" }, "author": "AJ ONeal (https://coolaj86.com/)", "license": "(MIT OR Apache-2.0)", - "homepage": "https://github.com/coolaj86/masterquest-sqlite3", + "homepage": "https://git.coolaj86.com:coolaj86/masterquest-sqlite3.js", "dependencies": { - "bluebird": "^3.0.5" + "bluebird": "^3.5.1", + "uuid": "^3.2.1" } }