Skip to content
This repository has been archived by the owner on Dec 12, 2018. It is now read-only.

Commit

Permalink
Merge pull request #574 from stormpath/update-uuid
Browse files Browse the repository at this point in the history
Update uuid
  • Loading branch information
robertjd committed Nov 23, 2016
2 parents 654c04f + 3d5cea2 commit 43d1ad2
Show file tree
Hide file tree
Showing 12 changed files with 14 additions and 15 deletions.
2 changes: 1 addition & 1 deletion benchmark/api-key-encryption.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
var stormpath = require('../');
var uuid = require('node-uuid');
var uuid = require('uuid');
var base64 = require('../lib/utils').base64;
var Benchmark = require('benchmark');
var async = require('async');
Expand Down
2 changes: 1 addition & 1 deletion lib/authc/ApiKeyEncryptedOptions.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';

var uuid = require('node-uuid');
var uuid = require('uuid');

var utils = require('../utils');

Expand Down
2 changes: 1 addition & 1 deletion lib/authc/Sauthc1RequestAuthenticator.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

var moment = require('moment');
var url = require('url');
var uuid = require('node-uuid');
var uuid = require('uuid');

var _ = require('../underscore');
var RequestAuthenticator = require('./RequestAuthenticator');
Expand Down
2 changes: 1 addition & 1 deletion lib/resource/Application.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ var async = require('async');
var _ = require('underscore');
var njwt = require('njwt');
var url = require('url');
var uuid = require('node-uuid');
var uuid = require('uuid');

var Account = require('./Account');
var ApiAuthRequestError = require('../error/ApiAuthRequestError');
Expand Down
2 changes: 1 addition & 1 deletion lib/saml/SamlIdpUrlBuilder.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict';

var njwt = require('njwt');
var uuid = require('node-uuid');
var uuid = require('uuid');
var querystring = require('querystring');

var utils = require('../utils');
Expand Down
2 changes: 1 addition & 1 deletion lib/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ var Buffer = require('buffer').Buffer;
var util = require('util');

var stormpathConfig = require('stormpath-config');
var uuid = require('node-uuid');
var uuid = require('uuid');
var url = require('url');

function shallowCopy(src, dest) {
Expand Down
7 changes: 3 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,13 @@
"memcached": "~2.2.2",
"moment": "^2.15.2",
"njwt": "^0.3.1",
"node-uuid": "~1.4.7",
"properties-parser": "~0.3.1",
"redis": "~2.6.2",
"request": "~2.74.0",
"stormpath-config": "^0.0.24",
"underscore": "~1.5.2",
"underscore.string": "~3.2.3"
"underscore.string": "~3.2.3",
"uuid": "^3.0.0"
},
"devDependencies": {
"benchmark": "^2.0.0",
Expand Down Expand Up @@ -83,7 +83,6 @@
"sinon-chai": "~2.8.0",
"time-grunt": "~1.4.0",
"timekeeper": "~0.1.1",
"tmp": "0.0.28",
"uuid": "^2.0.1"
"tmp": "0.0.28"
}
}
2 changes: 1 addition & 1 deletion quickstart.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ var stormpath = require('stormpath');

//helper function to prevent any data collisions in the tenant while running the quickstart:
function unique(aString) {
return aString + '-' + require('node-uuid').v4().toString();
return aString + '-' + require('uuid').v4().toString();
}

//populated during the quickstart steps
Expand Down
2 changes: 1 addition & 1 deletion test/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ var assert = require('chai').assert;
var should = require("chai").should();
var moment = require('moment');
var sinonChai = require("sinon-chai");
var uuid = require('node-uuid');
var uuid = require('uuid');
var nock = require('nock');
var timekeeper = require('timekeeper');
var jwt = require('njwt');
Expand Down
2 changes: 1 addition & 1 deletion test/sp.auth.unit_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ describe('Authorization module', function () {
var sandbox, guidStub;

before(function () {
uuid = require('node-uuid');
uuid = require('uuid');
auth = getAuthenticator({apiKey: apiKey, authenticationScheme:'SAUTHC1'});

sandbox = sinon.sandbox.create();
Expand Down
2 changes: 1 addition & 1 deletion test/sp.resource.application_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ var PasswordResetToken = require('../lib/resource/PasswordResetToken');
var AccountLinkingPolicy = require('../lib/resource/AccountLinkingPolicy');
var nJwt = require('njwt');
var nJwtProperties = require('njwt/properties');
var uuid = require('node-uuid');
var uuid = require('uuid');
var url = require('url');

describe('Resources: ', function () {
Expand Down
2 changes: 1 addition & 1 deletion test/sp.resource.tenant_test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
var common = require('./common');
var assert = common.assert;
var sinon = common.sinon;
var uuid = require('node-uuid');
var uuid = require('uuid');

var Account = require('../lib/resource/Account');
var AccountLink = require('../lib/resource/AccountLink');
Expand Down

0 comments on commit 43d1ad2

Please sign in to comment.