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

hadron-app-registry

Package Overview
Dependencies
Maintainers
29
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 8.10.0 to 8.11.0

8

dist/app-registry.d.ts

@@ -7,3 +7,3 @@ /// <reference types="react" />

name: string;
component: React.ComponentType<unknown>;
component: React.ComponentType<any>;
order?: number;

@@ -17,3 +17,3 @@ }

actions: Record<string, unknown>;
components: Record<string, React.ComponentType<unknown>>;
components: Record<string, React.ComponentType<any>>;
stores: Record<string, Store>;

@@ -30,3 +30,3 @@ roles: Record<string, Role[]>;

getAction(name: string): unknown;
getComponent(name: string): React.ComponentType<unknown> | undefined;
getComponent(name: string): React.ComponentType<any> | undefined;
getRole(name: string): Role[] | undefined;

@@ -36,3 +36,3 @@ getStore(name: string): Store;

registerAction(name: string, action: unknown): this;
registerComponent(name: string, component: React.ComponentType<unknown>): this;
registerComponent(name: string, component: React.ComponentType<any>): this;
registerRole(name: string, role: Role): this;

@@ -39,0 +39,0 @@ registerStore(name: string, store: Store): this;

@@ -10,3 +10,3 @@ {

"homepage": "https://github.com/mongodb-js/compass",
"version": "8.10.0",
"version": "8.11.0",
"repository": {

@@ -21,7 +21,10 @@ "type": "git",

"main": "dist/index.js",
"compass:main": "src/index.ts",
"exports": {
"webpack": "./src/index.ts",
"require": "./dist/index.js",
"import": "./dist/.esm-wrapper.mjs"
},
"compass:exports": {
".": "./src/index.ts"
},
"types": "./dist/index.d.ts",

@@ -50,3 +53,3 @@ "scripts": {

"devDependencies": {
"@mongodb-js/eslint-config-compass": "^0.7.0",
"@mongodb-js/eslint-config-compass": "^0.8.0",
"@mongodb-js/mocha-config-compass": "^0.10.0",

@@ -66,3 +69,3 @@ "@mongodb-js/prettier-config-compass": "^0.5.0",

},
"gitHead": "a1283df32eb52881cc00eb73f8d435f772cdbfde"
"gitHead": "2c4149184e87b8340851590663287b914d7ee63e"
}

@@ -21,3 +21,3 @@ import type { Store as RefluxStore } from 'reflux';

name: string;
component: React.ComponentType<unknown>;
component: React.ComponentType<any>;
order?: number;

@@ -39,3 +39,3 @@ }

actions: Record<string, unknown>;
components: Record<string, React.ComponentType<unknown>>;
components: Record<string, React.ComponentType<any>>;
stores: Record<string, Store>;

@@ -139,3 +139,3 @@ roles: Record<string, Role[]>;

*/
getComponent(name: string): React.ComponentType<unknown> | undefined {
getComponent(name: string): React.ComponentType<any> | undefined {
return this.components[name];

@@ -211,6 +211,3 @@ }

*/
registerComponent(
name: string,
component: React.ComponentType<unknown>
): this {
registerComponent(name: string, component: React.ComponentType<any>): this {
const overwrite = Object.prototype.hasOwnProperty.call(

@@ -217,0 +214,0 @@ this.components,

Sorry, the diff of this file is not supported yet

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