Socket
Socket
Sign inDemoInstall

@module-federation/runtime

Package Overview
Dependencies
Maintainers
8
Versions
524
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@module-federation/runtime - npm Package Compare versions

Comparing version 0.0.0-next-20240906012942 to 0.0.0-next-20240909062831

2

dist/package.json
{
"name": "@module-federation/runtime",
"version": "0.6.0",
"version": "0.6.1",
"author": "zhouxiao <codingzx@gmail.com>",

@@ -5,0 +5,0 @@ "main": "./index.cjs.js",

@@ -178,3 +178,3 @@ 'use strict';

globalThis.__FEDERATION__.__DEBUG_CONSTRUCTOR__ = FederationConstructor;
globalThis.__FEDERATION__.__DEBUG_CONSTRUCTOR_VERSION__ = "0.6.0";
globalThis.__FEDERATION__.__DEBUG_CONSTRUCTOR_VERSION__ = "0.6.1";
}

@@ -181,0 +181,0 @@ }

@@ -176,3 +176,3 @@ import { a as _object_without_properties_loose, _ as _extends } from './polyfills.esm.js';

globalThis.__FEDERATION__.__DEBUG_CONSTRUCTOR__ = FederationConstructor;
globalThis.__FEDERATION__.__DEBUG_CONSTRUCTOR_VERSION__ = "0.6.0";
globalThis.__FEDERATION__.__DEBUG_CONSTRUCTOR_VERSION__ = "0.6.1";
}

@@ -179,0 +179,0 @@ }

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

import type { CreateScriptHookReturn } from '@module-federation/sdk';
import type { CreateScriptHookReturn, ModuleInfo } from '@module-federation/sdk';
import { Options, PreloadRemoteArgs, RemoteEntryExports, Remote, Shared, ShareInfos, UserOptions, RemoteInfo, ShareScopeMap, InitScope, RemoteEntryInitOptions, CallFrom } from './type';

@@ -35,2 +35,4 @@ import { Module } from './module';

origin: FederationHost;
id: string;
remoteSnapshot?: ModuleInfo;
}>;

@@ -37,0 +39,0 @@ }>;

@@ -7,2 +7,3 @@ import { FederationHost } from './core';

export { loadScript, loadScriptNode } from '@module-federation/sdk';
export { Module } from './module';
export type { Federation } from './global';

@@ -9,0 +10,0 @@ export type { FederationRuntimePlugin };

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

import { ModuleInfo } from '@module-federation/sdk';
import { FederationHost } from '../core';

@@ -17,5 +18,5 @@ import { RemoteEntryExports, RemoteInfo } from '../type';

loadFactory?: boolean;
}): Promise<any>;
}, remoteSnapshot?: ModuleInfo): Promise<any>;
private wraperFactory;
}
export { Module };

@@ -47,3 +47,3 @@ import { ModuleInfo, GlobalModuleInfo } from '@module-federation/sdk';

}], void>;
handlePreloadModule: SyncHook<{
handlePreloadModule: SyncHook<[{
id: string;

@@ -55,3 +55,3 @@ name: string;

origin: FederationHost;
}, void>;
}], void>;
errorLoadRemote: AsyncHook<[{

@@ -58,0 +58,0 @@ id: string;

{
"name": "@module-federation/runtime",
"version": "0.0.0-next-20240906012942",
"version": "0.0.0-next-20240909062831",
"author": "zhouxiao <codingzx@gmail.com>",

@@ -53,4 +53,4 @@ "main": "./dist/index.cjs.js",

"dependencies": {
"@module-federation/sdk": "0.0.0-next-20240906012942"
"@module-federation/sdk": "0.0.0-next-20240909062831"
}
}

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

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