Comparing version 1.0.1 to 1.0.2
@@ -5,2 +5,3 @@ 'use strict'; | ||
var util = require('util'); | ||
require('rolex'); // TODO: use noConflict() | ||
@@ -7,0 +8,0 @@ module.exports = { |
{ | ||
"name": "arrivals", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Modeling arrival processes of events in a system.", | ||
@@ -24,2 +24,3 @@ "main": "index.js", | ||
"dependencies": { | ||
"rolex": "0.0.1" | ||
}, | ||
@@ -26,0 +27,0 @@ "devDependencies": { |
@@ -65,7 +65,2 @@ # arrivals | ||
**NOTE:** When using uniform process, setting the inter-arrival time to N ms | ||
and duration to D ms will yield D/N arrivals as intuitively expected. However, | ||
stopping the process with `p.stop()` via `setTimeout` with the same N and D | ||
values will result in D/N-1 arrivals. | ||
## License | ||
@@ -72,0 +67,0 @@ |
@@ -58,3 +58,3 @@ 'use strict'; | ||
t.end(); | ||
}, 2800); | ||
}, 2700); | ||
}); | ||
@@ -64,3 +64,3 @@ | ||
var count = 0; | ||
var p = arrivals.uniform.process(400, 2800); | ||
var p = arrivals.uniform.process(400, 2700); | ||
p.on('arrival', function() { | ||
@@ -67,0 +67,0 @@ t.ok(true, ' got arrival event ' + (++count)); |
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
143
10234
1
84
+ Addedrolex@0.0.1
+ Addedbower@1.8.14(transitive)
+ Addedpresent@0.0.3(transitive)
+ Addedrolex@0.0.1(transitive)