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

@equinor/fusion-framework-module

Package Overview
Dependencies
Maintainers
3
Versions
93
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@equinor/fusion-framework-module - npm Package Compare versions

Comparing version 1.2.9 to 1.2.10

4

CHANGELOG.md

@@ -6,2 +6,6 @@ # Change Log

## 1.2.10 (2022-12-01)
**Note:** Version bump only for package @equinor/fusion-framework-module
## 1.2.9 (2022-11-11)

@@ -8,0 +12,0 @@

32

dist/types/types.d.ts

@@ -1,2 +0,2 @@

export declare type ModuleInitializerArgs<TConfig, TDeps extends Array<AnyModule>> = {
export type ModuleInitializerArgs<TConfig, TDeps extends Array<AnyModule>> = {
ref?: any;

@@ -23,10 +23,10 @@ config: TConfig;

}
export declare type AnyModule = Module<any, any, any, any>;
export declare type CombinedModules<T1, T2> = T1 extends Array<AnyModule> ? T2 extends Array<AnyModule> ? [...T1, ...T2] : T1 : T2 extends Array<AnyModule> ? T2 : never;
export declare type AnyModuleInstance = Record<string, AnyModule>;
export declare type ModuleKey<M> = M extends Module<infer TKey, any, any, any> ? TKey : never;
export declare type ModuleType<M> = M extends Module<any, infer TType, any, any> ? TType : never;
export declare type ModuleTypes<M extends Array<AnyModule>> = M extends Array<infer U> ? U : never;
export declare type ModuleConfigType<M> = M extends Module<any, any, infer TType, any> ? TType : never;
export declare type ModulesInstance<TModules extends Array<AnyModule> | Record<string, AnyModule>> = ModulesInstanceType<TModules> & {
export type AnyModule = Module<any, any, any, any>;
export type CombinedModules<T1, T2> = T1 extends Array<AnyModule> ? T2 extends Array<AnyModule> ? [...T1, ...T2] : T1 : T2 extends Array<AnyModule> ? T2 : never;
export type AnyModuleInstance = Record<string, AnyModule>;
export type ModuleKey<M> = M extends Module<infer TKey, any, any, any> ? TKey : never;
export type ModuleType<M> = M extends Module<any, infer TType, any, any> ? TType : never;
export type ModuleTypes<M extends Array<AnyModule>> = M extends Array<infer U> ? U : never;
export type ModuleConfigType<M> = M extends Module<any, any, infer TType, any> ? TType : never;
export type ModulesInstance<TModules extends Array<AnyModule> | Record<string, AnyModule>> = ModulesInstanceType<TModules> & {
dispose: VoidFunction;

@@ -37,7 +37,7 @@ };

}
export declare type ModulesType<M extends Array<AnyModule>> = M extends Array<AnyModule> ? {
export type ModulesType<M extends Array<AnyModule>> = M extends Array<AnyModule> ? {
[K in keyof M as M[K] extends Module<infer T, any, any, any> ? T : never]: M[Extract<K, string>];
} : never;
export declare type ModulesConfigType<TModules extends Array<AnyModule> | Record<string, AnyModule>> = TModules extends Array<AnyModule> ? ModulesObjectConfigType<ModulesType<TModules>> : TModules extends Record<string, AnyModule> ? ModulesObjectConfigType<TModules> : never;
export declare type ModulesInstanceType<TModules extends Array<AnyModule> | Record<string, AnyModule>> = TModules extends Array<AnyModule> ? ModulesObjectInstanceType<ModulesType<TModules>> : TModules extends Record<string, AnyModule> ? ModulesObjectInstanceType<TModules> : never;
export type ModulesConfigType<TModules extends Array<AnyModule> | Record<string, AnyModule>> = TModules extends Array<AnyModule> ? ModulesObjectConfigType<ModulesType<TModules>> : TModules extends Record<string, AnyModule> ? ModulesObjectConfigType<TModules> : never;
export type ModulesInstanceType<TModules extends Array<AnyModule> | Record<string, AnyModule>> = TModules extends Array<AnyModule> ? ModulesObjectInstanceType<ModulesType<TModules>> : TModules extends Record<string, AnyModule> ? ModulesObjectInstanceType<TModules> : never;
export interface IModulesConfig<M extends Array<AnyModule> | Record<string, AnyModule>> {

@@ -47,10 +47,10 @@ onAfterConfiguration: (cb: (config: ModulesConfigType<M>) => void | Promise<void>) => void;

}
export declare type ModulesConfig<M extends Array<AnyModule> | Record<string, AnyModule>> = ModulesConfigType<M> & IModulesConfig<M>;
declare type ModulesObjectInstanceType<TModule extends Record<string, AnyModule>> = {
export type ModulesConfig<M extends Array<AnyModule> | Record<string, AnyModule>> = ModulesConfigType<M> & IModulesConfig<M>;
type ModulesObjectInstanceType<TModule extends Record<string, AnyModule>> = {
[TKey in keyof TModule as Extract<TKey, string>]: ModuleType<TModule[TKey]>;
};
declare type ModulesObjectConfigType<M extends Record<string, AnyModule>> = {
type ModulesObjectConfigType<M extends Record<string, AnyModule>> = {
[K in keyof M as Extract<K, string>]: ModuleConfigType<M[K]>;
};
export declare type ModuleInstance = ModulesInstanceType<Modules>;
export type ModuleInstance = ModulesInstanceType<Modules>;
export interface ILogger {

@@ -57,0 +57,0 @@ debug: (...msg: unknown[]) => void;

{
"name": "@equinor/fusion-framework-module",
"version": "1.2.9",
"version": "1.2.10",
"description": "",

@@ -29,5 +29,5 @@ "main": "dist/esm/index.js",

"devDependencies": {
"typescript": "^4.8.4"
"typescript": "^4.9.3"
},
"gitHead": "676b6bab4e586885185d21b14bd61f392e76f74d"
"gitHead": "9506dd4273dae255a292d734c93e53e7f5c62bbf"
}

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