@module-federation/runtime
Advanced tools
Comparing version 0.0.0-next-20241205062623 to 0.0.0-next-20241205085800
@@ -200,3 +200,3 @@ 'use strict'; | ||
CurrentGlobal.__FEDERATION__.__DEBUG_CONSTRUCTOR__ = FederationConstructor; | ||
CurrentGlobal.__FEDERATION__.__DEBUG_CONSTRUCTOR_VERSION__ = "0.8.2"; | ||
CurrentGlobal.__FEDERATION__.__DEBUG_CONSTRUCTOR_VERSION__ = "0.8.1"; | ||
} | ||
@@ -203,0 +203,0 @@ } |
import type { CreateScriptHookReturn, ModuleInfo } from '@module-federation/sdk'; | ||
import { Options, PreloadRemoteArgs, RemoteEntryExports, Remote, Shared, ShareInfos, UserOptions, RemoteInfo, ShareScopeMap, InitScope, RemoteEntryInitOptions, CallFrom } from './type'; | ||
import { getRemoteEntry } from './utils'; | ||
import { Module } from './module'; | ||
@@ -63,2 +64,10 @@ import { AsyncHook, AsyncWaterfallHook, PluginSystem, SyncHook, SyncWaterfallHook } from './utils/hooks'; | ||
fetch: AsyncHook<[string, RequestInit], false | void | Promise<Response>>; | ||
getRemoteEntryExports: AsyncHook<[{ | ||
getRemoteEntry: typeof getRemoteEntry; | ||
origin: FederationHost; | ||
remoteInfo: RemoteInfo; | ||
remoteEntryExports?: RemoteEntryExports | undefined; | ||
globalLoading: Record<string, Promise<void | RemoteEntryExports> | undefined>; | ||
uniqueKey: string; | ||
}], Promise<(() => Promise<RemoteEntryExports | undefined>) | undefined>>; | ||
getModuleFactory: AsyncHook<[{ | ||
@@ -65,0 +74,0 @@ remoteEntryExports: RemoteEntryExports; |
@@ -75,2 +75,10 @@ import type * as IndexModule from './index'; | ||
fetch: import("./utils/hooks").AsyncHook<[string, RequestInit], false | void | Promise<Response>>; | ||
getRemoteEntryExports: import("./utils/hooks").AsyncHook<[{ | ||
getRemoteEntry: typeof IndexModule.getRemoteEntry; | ||
origin: IndexModule.FederationHost; | ||
remoteInfo: import("./type").RemoteInfo; | ||
remoteEntryExports?: import("./type").RemoteEntryExports | undefined; | ||
globalLoading: Record<string, Promise<void | import("./type").RemoteEntryExports> | undefined>; | ||
uniqueKey: string; | ||
}], Promise<(() => Promise<import("./type").RemoteEntryExports | undefined>) | undefined>>; | ||
getModuleFactory: import("./utils/hooks").AsyncHook<[{ | ||
@@ -77,0 +85,0 @@ remoteEntryExports: import("./type").RemoteEntryExports; |
{ | ||
"name": "@module-federation/runtime", | ||
"version": "0.0.0-next-20241205062623", | ||
"version": "0.0.0-next-20241205085800", | ||
"author": "zhouxiao <codingzx@gmail.com>", | ||
@@ -53,5 +53,5 @@ "main": "./dist/index.cjs.js", | ||
"dependencies": { | ||
"@module-federation/sdk": "0.0.0-next-20241205062623", | ||
"@module-federation/error-codes": "0.0.0-next-20241205062623" | ||
"@module-federation/sdk": "0.0.0-next-20241205085800", | ||
"@module-federation/error-codes": "0.0.0-next-20241205085800" | ||
} | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
329278
7705
+ Added@module-federation/error-codes@0.0.0-next-20241205085800(transitive)
+ Added@module-federation/sdk@0.0.0-next-20241205085800(transitive)
- Removed@module-federation/error-codes@0.0.0-next-20241205062623(transitive)
- Removed@module-federation/sdk@0.0.0-next-20241205062623(transitive)
Updated@module-federation/error-codes@0.0.0-next-20241205085800