Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

arrivals

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

arrivals - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

1

lib/index.js

@@ -5,2 +5,3 @@ 'use strict';

var util = require('util');
require('rolex'); // TODO: use noConflict()

@@ -7,0 +8,0 @@ module.exports = {

3

package.json
{
"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));

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc