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

@thatopen/components

Package Overview
Dependencies
Maintainers
2
Versions
151
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@thatopen/components - npm Package Compare versions

Comparing version 2.0.10 to 2.0.11

46

dist/core/Components/index.d.ts

@@ -9,3 +9,3 @@ import { Component, Disposable, Event } from "../Types";

*/
static readonly release = "2.0.8";
static readonly release = "2.0.11";
/** {@link Disposable.onDisposed} */

@@ -25,26 +25,26 @@ readonly onDisposed: Event<void>;

/**
* Adds a component to the list of components.
* Throws an error if a component with the same UUID already exists.
*
* @param uuid - The unique identifier of the component.
* @param instance - The instance of the component to be added.
*
* @throws Will throw an error if a component with the same UUID already exists.
*
* @internal
*/
* Adds a component to the list of components.
* Throws an error if a component with the same UUID already exists.
*
* @param uuid - The unique identifier of the component.
* @param instance - The instance of the component to be added.
*
* @throws Will throw an error if a component with the same UUID already exists.
*
* @internal
*/
add(uuid: string, instance: Component): void;
/**
* Retrieves a component instance by its constructor function.
* If the component does not exist in the list, it will be created and added.
*
* @template U - The type of the component to retrieve.
* @param Component - The constructor function of the component to retrieve.
*
* @returns The instance of the requested component.
*
* @throws Will throw an error if a component with the same UUID already exists.
*
* @internal
*/
* Retrieves a component instance by its constructor function.
* If the component does not exist in the list, it will be created and added.
*
* @template U - The type of the component to retrieve.
* @param Component - The constructor function of the component to retrieve.
*
* @returns The instance of the requested component.
*
* @throws Will throw an error if a component with the same UUID already exists.
*
* @internal
*/
get<U extends Component>(Component: new (components: Components) => U): U;

@@ -51,0 +51,0 @@ constructor();

{
"name": "@thatopen/components",
"description": "Collection of core functionalities to author BIM apps.",
"version": "2.0.10",
"version": "2.0.11",
"author": "That Open Company",

@@ -56,2 +56,2 @@ "contributors": [

}
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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