fable-uuid
Advanced tools
Comparing version 0.1.2 to 0.1.3
{ | ||
"name": "fable-uuid", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"description": "A simple UUID Generator.", | ||
@@ -34,6 +34,4 @@ "main": "source/Fable-UUID.js", | ||
"biguint-format": "1.0.0", | ||
"fable-log": "0.1.1", | ||
"fable-settings": "0.0.1", | ||
"flake-idgen": "1.0.0" | ||
} | ||
} |
@@ -18,12 +18,5 @@ /** | ||
{ | ||
function createNew(pSettings, pLogProvider) | ||
function createNew(pSettings) | ||
{ | ||
// This generates an object that requires you to construct it with new(Settings,Provider) before using it... | ||
if (typeof(pLogProvider) !== 'object') | ||
{ | ||
return {new: createNew}; | ||
} | ||
var _Settings = pSettings; | ||
var _Log = pLogProvider; | ||
@@ -52,4 +45,2 @@ // Provide sane defaults for data center and worker. | ||
_Log.trace('Fable UUID Generator Initialized with DataCenter #'+_DataCenter+' and Worker #'+_Worker); | ||
/*** | ||
@@ -56,0 +47,0 @@ * Return a nice string UUID |
@@ -25,4 +25,2 @@ /** | ||
}); | ||
var _Log = require('fable-log'); | ||
_Log.initialize(); | ||
@@ -71,3 +69,3 @@ suite | ||
{ | ||
var tmpFableUUID = require('../source/Fable-UUID.js').new(_MockSettings, _Log); | ||
var tmpFableUUID = require('../source/Fable-UUID.js').new(_MockSettings); | ||
Expect(tmpFableUUID).to.have.a.property('new') | ||
@@ -91,3 +89,3 @@ .that.is.a('function'); | ||
{ | ||
var tmpFableUUID = require('../source/Fable-UUID.js').new(_MockSettings, _Log); | ||
var tmpFableUUID = require('../source/Fable-UUID.js').new(_MockSettings); | ||
var tmpUUID = tmpFableUUID.getUUID(); | ||
@@ -107,3 +105,3 @@ Expect(tmpUUID) | ||
{ | ||
var tmpFableUUID = require('../source/Fable-UUID.js').new(false, _Log); | ||
var tmpFableUUID = require('../source/Fable-UUID.js').new(false); | ||
var tmpUUID = tmpFableUUID.getUUID(); | ||
@@ -123,3 +121,3 @@ Expect(tmpUUID) | ||
{ | ||
var tmpFableUUID = require('../source/Fable-UUID.js').new({}, _Log); | ||
var tmpFableUUID = require('../source/Fable-UUID.js').new({}); | ||
var tmpUUID = tmpFableUUID.getUUID(); | ||
@@ -139,3 +137,3 @@ Expect(tmpUUID) | ||
{ | ||
var tmpFableUUID = require('../source/Fable-UUID.js').new({UUID: {DataCenter:'BAD',Worker:'JOB'}}, _Log); | ||
var tmpFableUUID = require('../source/Fable-UUID.js').new({UUID: {DataCenter:'BAD',Worker:'JOB'}}); | ||
var tmpUUID = tmpFableUUID.getUUID(); | ||
@@ -142,0 +140,0 @@ Expect(tmpUUID) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2
8315
197
- Removedfable-log@0.1.1
- Removedfable-settings@0.0.1
- Removedabort-controller@3.0.0(transitive)
- Removedbalanced-match@1.0.2(transitive)
- Removedbase64-js@1.5.1(transitive)
- Removedbrace-expansion@1.1.11(transitive)
- Removedbson@0.2.22(transitive)
- Removedbuffer@6.0.3(transitive)
- Removedbunyan@1.3.3(transitive)
- Removedbunyan-mongo@0.1.0(transitive)
- Removedcoffee-script@1.12.7(transitive)
- Removedconcat-map@0.0.1(transitive)
- Removeddtrace-provider@0.4.0(transitive)
- Removedevent-target-shim@5.0.1(transitive)
- Removedevents@3.3.0(transitive)
- Removedfable-log@0.1.1(transitive)
- Removedfable-settings@0.0.1(transitive)
- Removedglob@6.0.4(transitive)
- Removedieee754@1.2.1(transitive)
- Removedinflight@1.0.6(transitive)
- Removedinherits@2.0.4(transitive)
- Removedkerberos@0.0.9(transitive)
- Removedminimatch@3.1.2(transitive)
- Removedminimist@1.2.8(transitive)
- Removedmkdirp@0.5.6(transitive)
- Removedmongodb@1.4.32(transitive)
- Removedmv@2.1.1(transitive)
- Removednan@1.5.31.6.21.8.4(transitive)
- Removedncp@2.0.0(transitive)
- Removedonce@1.4.0(transitive)
- Removedpath-is-absolute@1.0.1(transitive)
- Removedprocess@0.11.10(transitive)
- Removedreadable-stream@4.6.0(transitive)
- Removedrimraf@2.4.5(transitive)
- Removedsafe-buffer@5.2.1(transitive)
- Removedsafe-json-stringify@1.2.0(transitive)
- Removedstring_decoder@1.3.0(transitive)
- Removedunderscore@1.7.0(transitive)
- Removedwrappy@1.0.2(transitive)