Replace deprecated node-uuid with uuid module

This commit is contained in:
Raymond Feng 2017-01-17 09:07:21 -08:00
parent 485ad3ee78
commit 9bfab2b5a2
3 changed files with 4 additions and 4 deletions

View File

@ -25,7 +25,7 @@ var validations = require('./validations');
var _extend = util._extend; var _extend = util._extend;
var utils = require('./utils'); var utils = require('./utils');
var fieldsToArray = utils.fieldsToArray; var fieldsToArray = utils.fieldsToArray;
var uuid = require('node-uuid'); var uuid = require('uuid');
var deprecated = require('depd')('loopback-datasource-juggler'); var deprecated = require('depd')('loopback-datasource-juggler');
var shortid = require('shortid'); var shortid = require('shortid');

View File

@ -6,7 +6,7 @@
var g = require('strong-globalize')(); var g = require('strong-globalize')();
var debug = require('debug')('loopback:connector:transaction'); var debug = require('debug')('loopback:connector:transaction');
var uuid = require('node-uuid'); var uuid = require('uuid');
var utils = require('./utils'); var utils = require('./utils');
var jutil = require('./jutil'); var jutil = require('./jutil');
var ObserverMixin = require('./observer'); var ObserverMixin = require('./observer');

View File

@ -46,11 +46,11 @@
"inflection": "^1.6.0", "inflection": "^1.6.0",
"loopback-connector": "^2.1.0", "loopback-connector": "^2.1.0",
"minimatch": "^3.0.3", "minimatch": "^3.0.3",
"node-uuid": "^1.4.2",
"qs": "^3.1.0", "qs": "^3.1.0",
"shortid": "^2.2.6", "shortid": "^2.2.6",
"strong-globalize": "^2.6.2", "strong-globalize": "^2.6.2",
"traverse": "^0.6.6" "traverse": "^0.6.6",
"uuid": "^3.0.1"
}, },
"license": "MIT" "license": "MIT"
} }