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

dispatchr

Package Overview
Dependencies
Maintainers
2
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.9 to 0.0.10

21

lib/dispatcher.js

@@ -51,2 +51,23 @@ /**

/**
* Method to discover if a storeName has been registered
* @param {Object|String} store The store to check
* @returns {boolean}
*/
Dispatcher.isRegistered = function (store) {
var storeName = Dispatcher.getStoreName(store),
storeInstance = Dispatcher.stores[storeName];
if (!storeInstance) {
return false;
}
if ('function' === typeof store) {
if (store !== storeInstance) {
return false;
}
}
return true;
};
/**
* Gets a name from a store

@@ -53,0 +74,0 @@ * @param {String|Object} store The store name or class from which to extract

2

package.json
{
"name": "dispatchr",
"version": "0.0.9",
"version": "0.0.10",
"description": "A Flux dispatcher for applications that run on 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