@module-federation/node 2.5.8 → 2.5.10

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "public": true,
3
3
  "name": "@module-federation/node",
4
- "version": "2.5.8",
4
+ "version": "2.5.10",
5
5
  "type": "commonjs",
6
6
  "main": "./src/index.js",
7
7
  "exports": {
@@ -100,11 +100,11 @@
100
100
  "vue": "3.4.34",
101
101
  "webpack-sources": "3.2.3",
102
102
  "ws": "8.17.1",
103
- "@module-federation/dts-plugin": "0.5.1",
104
- "@module-federation/managers": "0.5.1",
105
- "@module-federation/manifest": "0.5.1",
106
- "@module-federation/rspack": "0.5.1",
107
- "@module-federation/third-party-dts-extractor": "0.5.1"
103
+ "@module-federation/dts-plugin": "0.6.0",
104
+ "@module-federation/managers": "0.6.0",
105
+ "@module-federation/manifest": "0.6.0",
106
+ "@module-federation/rspack": "0.6.0",
107
+ "@module-federation/third-party-dts-extractor": "0.6.0"
108
108
  },
109
109
  "peerDependencies": {
110
110
  "react": "^16||^17||^18",
@@ -34,6 +34,6 @@ declare class DynamicFilesystemChunkLoadingRuntimeModule extends RuntimeModule {
34
34
  /**
35
35
  * @returns {string} runtime code
36
36
  */
37
- generate(): string;
37
+ generate(): any;
38
38
  }
39
39
  export default DynamicFilesystemChunkLoadingRuntimeModule;
@@ -13,7 +13,7 @@ export declare function generateHmrCode(withHmr: boolean, rootOutputDir: string)
13
13
  * @param {any} chunkHasJs - Function to check if a chunk has JavaScript.
14
14
  * @returns {Set} - The set of initial chunk IDs.
15
15
  */
16
- export declare function getInitialChunkIds(chunk: Chunk, chunkGraph: ChunkGraph, chunkHasJs: any): Set<string | number>;
16
+ export declare function getInitialChunkIds(chunk: Chunk, chunkGraph: ChunkGraph, chunkHasJs: any): Set<Chunk.ChunkId>;
17
17
  /**
18
18
  * Generates the loading code for chunks.
19
19
  * @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.5.8",
4
+ "version": "2.5.10",
5
5
  "type": "commonjs",
6
6
  "main": "./dist/src/index.js",
7
7
  "exports": {
@@ -64,10 +64,10 @@
64
64
  "btoa": "1.2.1",
65
65
  "encoding": "^0.1.13",
66
66
  "node-fetch": "2.7.0",
67
- "@module-federation/enhanced": "0.5.1",
68
- "@module-federation/sdk": "0.5.1",
69
- "@module-federation/utilities": "3.1.4",
70
- "@module-federation/runtime": "0.5.1"
67
+ "@module-federation/enhanced": "0.6.0",
68
+ "@module-federation/sdk": "0.6.0",
69
+ "@module-federation/utilities": "3.1.6",
70
+ "@module-federation/runtime": "0.6.0"
71
71
  },
72
72
  "peerDependencies": {
73
73
  "react": "^16||^17||^18",