@module-federation/runtime
Advanced tools
Comparing version 0.0.0-next-20241106110902 to 0.0.0-next-20241107071851
@@ -70,6 +70,6 @@ import type { CreateScriptHookReturn, ModuleInfo } from '@module-federation/sdk'; | ||
bridgeHook: PluginSystem<{ | ||
beforeBridgeRender: SyncHook<[Record<string, any>], any>; | ||
afterBridgeRender: SyncHook<[Record<string, any>], any>; | ||
beforeBridgeDestroy: SyncHook<[Record<string, any>], any>; | ||
afterBridgeDestroy: SyncHook<[Record<string, any>], any>; | ||
beforeBridgeRender: SyncHook<[Record<string, any>], void | Record<string, any>>; | ||
afterBridgeRender: SyncHook<[Record<string, any>], void | Record<string, any>>; | ||
beforeBridgeDestroy: SyncHook<[Record<string, any>], void | Record<string, any>>; | ||
afterBridgeDestroy: SyncHook<[Record<string, any>], void | Record<string, any>>; | ||
}>; | ||
@@ -76,0 +76,0 @@ constructor(userOptions: UserOptions); |
@@ -82,6 +82,6 @@ import type * as IndexModule from './index'; | ||
get bridgeHook(): import("./utils/hooks").PluginSystem<{ | ||
beforeBridgeRender: import("./utils/hooks").SyncHook<[Record<string, any>], any>; | ||
afterBridgeRender: import("./utils/hooks").SyncHook<[Record<string, any>], any>; | ||
beforeBridgeDestroy: import("./utils/hooks").SyncHook<[Record<string, any>], any>; | ||
afterBridgeDestroy: import("./utils/hooks").SyncHook<[Record<string, any>], any>; | ||
beforeBridgeRender: import("./utils/hooks").SyncHook<[Record<string, any>], void | Record<string, any>>; | ||
afterBridgeRender: import("./utils/hooks").SyncHook<[Record<string, any>], void | Record<string, any>>; | ||
beforeBridgeDestroy: import("./utils/hooks").SyncHook<[Record<string, any>], void | Record<string, any>>; | ||
afterBridgeDestroy: import("./utils/hooks").SyncHook<[Record<string, any>], void | Record<string, any>>; | ||
}>; | ||
@@ -88,0 +88,0 @@ initOptions(...args: Parameters<IndexModule.FederationHost['initOptions']>): import("./type").Options; |
@@ -18,2 +18,6 @@ import { FederationHost } from '../core'; | ||
}>; | ||
type ModuleBridgeLifeCycle = Module['host']['bridgeHook']['lifecycle']; | ||
type ModuleBridgeLifeCycleCyclePartial = Partial<{ | ||
[k in keyof ModuleBridgeLifeCycle]: Parameters<ModuleBridgeLifeCycle[k]['on']>[0]; | ||
}>; | ||
type SharedLifeCycle = SharedHandler['hooks']['lifecycle']; | ||
@@ -27,3 +31,3 @@ type SharedLifeCycleCyclePartial = Partial<{ | ||
}>; | ||
export type FederationRuntimePlugin = CoreLifeCyclePartial & SnapshotLifeCycleCyclePartial & SharedLifeCycleCyclePartial & RemoteLifeCycleCyclePartial & ModuleLifeCycleCyclePartial & { | ||
export type FederationRuntimePlugin = CoreLifeCyclePartial & SnapshotLifeCycleCyclePartial & SharedLifeCycleCyclePartial & RemoteLifeCycleCyclePartial & ModuleLifeCycleCyclePartial & ModuleBridgeLifeCycleCyclePartial & { | ||
name: string; | ||
@@ -30,0 +34,0 @@ version?: string; |
{ | ||
"name": "@module-federation/runtime", | ||
"version": "0.0.0-next-20241106110902", | ||
"version": "0.0.0-next-20241107071851", | ||
"author": "zhouxiao <codingzx@gmail.com>", | ||
@@ -53,5 +53,5 @@ "main": "./dist/index.cjs.js", | ||
"dependencies": { | ||
"@module-federation/sdk": "0.0.0-next-20241106110902", | ||
"@module-federation/error-codes": "0.0.0-next-20241106110902" | ||
"@module-federation/sdk": "0.0.0-next-20241107071851", | ||
"@module-federation/error-codes": "0.0.0-next-20241107071851" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
327701
7644
+ Added@module-federation/error-codes@0.0.0-next-20241107071851(transitive)
+ Added@module-federation/sdk@0.0.0-next-20241107071851(transitive)
- Removed@module-federation/error-codes@0.0.0-next-20241106110902(transitive)
- Removed@module-federation/sdk@0.0.0-next-20241106110902(transitive)
Updated@module-federation/error-codes@0.0.0-next-20241107071851