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

dispatchr

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dispatchr - npm Package Compare versions

Comparing version 0.0.3 to 0.0.5

.travis.yml

19

lib/dispatcher.js

@@ -130,9 +130,16 @@ /**

var actionPromise = self.handleAction(nextAction);
actionPromise.nodeify(function (err, result) {
actionPromise.then(function (result) {
debug('finished ' + nextAction.name);
self.currentAction = null;
if (nextAction.callback) {
nextAction.callback(err, result);
nextAction.callback(null, result);
}
setImmediate(self.next.bind(self));
}).catch(function (err) {
debug('finished with error ' + nextAction.name);
self.currentAction = null;
if (nextAction.callback) {
nextAction.callback(err);
}
setImmediate(self.next.bind(self));
});

@@ -212,3 +219,9 @@ }

Promise.all(waitHandlers).nodeify(callback);
Promise.all(waitHandlers).then(function (result) {
setImmediate(function () {
callback(null, result);
});
}).catch(function (err) {
callback(err);
});
};

@@ -215,0 +228,0 @@

2

package.json
{
"name": "dispatchr",
"version": "0.0.3",
"version": "0.0.5",
"description": "A dispatcher to aid in following the Flux application architecture for applications that run in the server and the client",

@@ -5,0 +5,0 @@ "main": "index.js",

Sorry, the diff of this file is not supported yet

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