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

hadron-app-registry

Package Overview
Dependencies
Maintainers
22
Versions
524
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hadron-app-registry - npm Package Compare versions

Comparing version 5.3.0 to 6.0.0

15

lib/app-registry.js
'use strict';
const Reflux = require('reflux');
const Action = require('./actions');

@@ -13,2 +14,8 @@

/**
* Returning a fake store when asking for a store that does not
* exist.
*/
const STUB_STORE = Reflux.createStore();
/**
* Is a registry for all user interface components, stores, and actions

@@ -47,2 +54,3 @@ * in the application.

this.roles = {};
this.storeMisses = {};
}

@@ -171,3 +179,8 @@

getStore(name) {
return this.stores[name];
const store = this.stores[name];
if (store === undefined) {
this.storeMisses[name] = (this.storeMisses[name] || 0) + 1;
return STUB_STORE;
}
return store;
}

@@ -174,0 +187,0 @@

2

package.json

@@ -7,3 +7,3 @@ {

"homepage": "https://github.com/mongodb-js/hadron-app-registry",
"version": "5.3.0",
"version": "6.0.0",
"repository": {

@@ -10,0 +10,0 @@ "type": "git",

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