update urls and package versions
This commit is contained in:
parent
509f11f1ee
commit
7fcfbc4d83
|
@ -301,8 +301,7 @@ function wrap(db, dir, dbsMap) {
|
||||||
DB.save = function (data, oldId) {
|
DB.save = function (data, oldId) {
|
||||||
if (!data[idnameCased] && !oldId) {
|
if (!data[idnameCased] && !oldId) {
|
||||||
// NOTE saving the id both in the object and the id for now
|
// NOTE saving the id both in the object and the id for now
|
||||||
var UUID = require('node-uuid');
|
data[idnameCased] = require('uuid').v4();
|
||||||
data[idnameCased] = UUID.v4();
|
|
||||||
return DB.create(data[idnameCased], data).then(function (/*stats*/) {
|
return DB.create(data[idnameCased], data).then(function (/*stats*/) {
|
||||||
//data._rowid = stats.id;
|
//data._rowid = stats.id;
|
||||||
return data;
|
return data;
|
||||||
|
|
|
@ -8,12 +8,13 @@
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git@github.com:coolaj86/node-masterquest-sqlite3.git"
|
"url": "https://git.coolaj86.com:coolaj86/masterquest-sqlite3.js"
|
||||||
},
|
},
|
||||||
"author": "AJ ONeal <coolaj86@gmail.com> (https://coolaj86.com/)",
|
"author": "AJ ONeal <coolaj86@gmail.com> (https://coolaj86.com/)",
|
||||||
"license": "(MIT OR Apache-2.0)",
|
"license": "(MIT OR Apache-2.0)",
|
||||||
"homepage": "https://github.com/coolaj86/masterquest-sqlite3",
|
"homepage": "https://git.coolaj86.com:coolaj86/masterquest-sqlite3.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"bluebird": "^3.0.5"
|
"bluebird": "^3.5.1",
|
||||||
|
"uuid": "^3.2.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue