aboutsummaryrefslogtreecommitdiffstats
path: root/lib/utils.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/utils.js')
-rw-r--r--lib/utils.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/utils.js b/lib/utils.js
index 8caf280..b4558bd 100644
--- a/lib/utils.js
+++ b/lib/utils.js
@@ -1,5 +1,5 @@
/*
-Copyright(c) 2017-2018 AT&T Intellectual Property. All rights reserved.
+Copyright(c) 2017-2020 AT&T Intellectual Property. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -16,7 +16,7 @@ See the License for the specific language governing permissions and limitations
"use strict";
-const uuid = require('uuid/v4');
+const uuid = require('uuid');
// Utility functions
@@ -35,7 +35,7 @@ exports.hasProperty = function(o, key) {
/* Generate a random ID string */
exports.generateId = function() {
- return uuid();
+ return uuid.v4();
};
const hide_fields = ["passphrase", "pfx"];