@module-federation/node 2.7.46 → 2.7.47
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/node_modules/.pnpm/webpack@5.104.1_@swc_core@1.7.26_@swc_helpers@0.5.13__esbuild@0.28.1_webpack-cli@5.1.4/node_modules/webpack/types.d.mts +1 -0
- package/dist/node_modules/.pnpm/webpack@5.104.1_@swc_core@1.7.26_@swc_helpers@0.5.13__esbuild@0.28.1_webpack-cli@5.1.4/node_modules/webpack/types.d.ts +1 -0
- package/dist/src/plugins/DynamicFilesystemChunkLoadingRuntimeModule.d.mts +2 -4
- package/dist/src/plugins/DynamicFilesystemChunkLoadingRuntimeModule.d.ts +2 -4
- package/dist/src/plugins/RemotePublicPathRuntimeModule.d.mts +1 -3
- package/dist/src/plugins/RemotePublicPathRuntimeModule.d.ts +1 -3
- package/dist/src/plugins/webpackChunkUtilities.d.mts +1 -1
- package/dist/src/plugins/webpackChunkUtilities.d.ts +1 -1
- package/package.json +5 -5
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import { SyncWaterfallHook } from "tapable";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import { SyncWaterfallHook } from "tapable";
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import * as tapable from "tapable";
|
|
2
1
|
import { SyncWaterfallHook } from "tapable";
|
|
3
|
-
import * as webpack from "webpack";
|
|
4
2
|
import { Chunk, Compiler } from "webpack";
|
|
5
3
|
|
|
6
4
|
//#region src/plugins/DynamicFilesystemChunkLoadingRuntimeModule.d.ts
|
|
7
|
-
declare const RuntimeModule: typeof
|
|
5
|
+
declare const RuntimeModule: typeof undefined;
|
|
8
6
|
interface DynamicFilesystemChunkLoadingRuntimeModuleOptions {
|
|
9
7
|
baseURI: Compiler['options']['output']['publicPath'];
|
|
10
8
|
promiseBaseURI?: string;
|
|
@@ -20,7 +18,7 @@ declare class DynamicFilesystemChunkLoadingRuntimeModule extends RuntimeModule {
|
|
|
20
18
|
private options;
|
|
21
19
|
private chunkLoadingContext;
|
|
22
20
|
hooks: {
|
|
23
|
-
strategyCase: SyncWaterfallHook<unknown, unknown,
|
|
21
|
+
strategyCase: SyncWaterfallHook<unknown, unknown, undefined>;
|
|
24
22
|
};
|
|
25
23
|
private logger;
|
|
26
24
|
constructor(runtimeRequirements: Set<string>, options: DynamicFilesystemChunkLoadingRuntimeModuleOptions, chunkLoadingContext: ChunkLoadingContext);
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import * as webpack from "webpack";
|
|
2
1
|
import { Chunk, Compiler } from "webpack";
|
|
3
|
-
import * as tapable from "tapable";
|
|
4
2
|
import { SyncWaterfallHook } from "tapable";
|
|
5
3
|
|
|
6
4
|
//#region src/plugins/DynamicFilesystemChunkLoadingRuntimeModule.d.ts
|
|
7
|
-
declare const RuntimeModule: typeof
|
|
5
|
+
declare const RuntimeModule: typeof undefined;
|
|
8
6
|
interface DynamicFilesystemChunkLoadingRuntimeModuleOptions {
|
|
9
7
|
baseURI: Compiler['options']['output']['publicPath'];
|
|
10
8
|
promiseBaseURI?: string;
|
|
@@ -20,7 +18,7 @@ declare class DynamicFilesystemChunkLoadingRuntimeModule extends RuntimeModule {
|
|
|
20
18
|
private options;
|
|
21
19
|
private chunkLoadingContext;
|
|
22
20
|
hooks: {
|
|
23
|
-
strategyCase: SyncWaterfallHook<unknown, unknown,
|
|
21
|
+
strategyCase: SyncWaterfallHook<unknown, unknown, undefined>;
|
|
24
22
|
};
|
|
25
23
|
private logger;
|
|
26
24
|
constructor(runtimeRequirements: Set<string>, options: DynamicFilesystemChunkLoadingRuntimeModuleOptions, chunkLoadingContext: ChunkLoadingContext);
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import * as webpack from "webpack";
|
|
2
|
-
|
|
3
1
|
//#region src/plugins/RemotePublicPathRuntimeModule.d.ts
|
|
4
|
-
declare const RuntimeModule: typeof
|
|
2
|
+
declare const RuntimeModule: typeof undefined;
|
|
5
3
|
declare class AutoPublicPathRuntimeModule extends RuntimeModule {
|
|
6
4
|
private options;
|
|
7
5
|
constructor(options: any);
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import * as webpack from "webpack";
|
|
2
|
-
|
|
3
1
|
//#region src/plugins/RemotePublicPathRuntimeModule.d.ts
|
|
4
|
-
declare const RuntimeModule: typeof
|
|
2
|
+
declare const RuntimeModule: typeof undefined;
|
|
5
3
|
declare class AutoPublicPathRuntimeModule extends RuntimeModule {
|
|
6
4
|
private options;
|
|
7
5
|
constructor(options: any);
|
|
@@ -15,7 +15,7 @@ declare function generateHmrCode(withHmr: boolean, rootOutputDir: string): strin
|
|
|
15
15
|
* @param {any} chunkHasJs - Function to check if a chunk has JavaScript.
|
|
16
16
|
* @returns {Set} - The set of initial chunk IDs.
|
|
17
17
|
*/
|
|
18
|
-
declare function getInitialChunkIds(chunk: Chunk, chunkGraph: ChunkGraph, chunkHasJs: any): Set<
|
|
18
|
+
declare function getInitialChunkIds(chunk: Chunk, chunkGraph: ChunkGraph, chunkHasJs: any): Set<string | number>;
|
|
19
19
|
/**
|
|
20
20
|
* Generates the loading code for chunks.
|
|
21
21
|
* @param {boolean} withLoading - Flag indicating whether chunk loading is enabled.
|
|
@@ -15,7 +15,7 @@ declare function generateHmrCode(withHmr: boolean, rootOutputDir: string): strin
|
|
|
15
15
|
* @param {any} chunkHasJs - Function to check if a chunk has JavaScript.
|
|
16
16
|
* @returns {Set} - The set of initial chunk IDs.
|
|
17
17
|
*/
|
|
18
|
-
declare function getInitialChunkIds(chunk: Chunk, chunkGraph: ChunkGraph, chunkHasJs: any): Set<
|
|
18
|
+
declare function getInitialChunkIds(chunk: Chunk, chunkGraph: ChunkGraph, chunkHasJs: any): Set<string | number>;
|
|
19
19
|
/**
|
|
20
20
|
* Generates the loading code for chunks.
|
|
21
21
|
* @param {boolean} withLoading - Flag indicating whether chunk loading is enabled.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"public": true,
|
|
3
3
|
"name": "@module-federation/node",
|
|
4
|
-
"version": "2.7.
|
|
4
|
+
"version": "2.7.47",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"main": "./dist/src/index.js",
|
|
7
7
|
"module": "./dist/src/index.mjs",
|
|
@@ -111,9 +111,9 @@
|
|
|
111
111
|
"encoding": "0.1.13",
|
|
112
112
|
"node-fetch": "2.7.0",
|
|
113
113
|
"tapable": "2.3.0",
|
|
114
|
-
"@module-federation/enhanced": "2.
|
|
115
|
-
"@module-federation/
|
|
116
|
-
"@module-federation/
|
|
114
|
+
"@module-federation/enhanced": "2.8.0",
|
|
115
|
+
"@module-federation/sdk": "2.8.0",
|
|
116
|
+
"@module-federation/runtime": "2.8.0"
|
|
117
117
|
},
|
|
118
118
|
"peerDependencies": {
|
|
119
119
|
"webpack": "^5.40.0"
|
|
@@ -124,7 +124,7 @@
|
|
|
124
124
|
}
|
|
125
125
|
},
|
|
126
126
|
"devDependencies": {
|
|
127
|
-
"typescript": "
|
|
127
|
+
"typescript": "7.0.2"
|
|
128
128
|
},
|
|
129
129
|
"scripts": {
|
|
130
130
|
"build": "tsdown --config tsdown.config.mts",
|