@module-federation/nextjs-mf 8.8.33 → 8.8.35

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@module-federation/nextjs-mf",
3
- "version": "8.8.33",
3
+ "version": "8.8.35",
4
4
  "license": "MIT",
5
5
  "main": "dist/src/index.js",
6
6
  "types": "dist/src/index.d.ts",
@@ -49,7 +49,9 @@
49
49
  "@module-federation/webpack-bundler-runtime": "workspace:*"
50
50
  },
51
51
  "devDependencies": {
52
- "@types/btoa": "^1.2.5"
52
+ "@types/btoa": "^1.2.5",
53
+ "@types/react": "^18.3.1",
54
+ "@types/react-dom": "^18.3.1"
53
55
  },
54
56
  "peerDependencies": {
55
57
  "webpack": "^5.40.0",
@@ -59,6 +61,9 @@
59
61
  "styled-jsx": "*"
60
62
  },
61
63
  "peerDependenciesMeta": {
64
+ "webpack": {
65
+ "optional": true
66
+ },
62
67
  "styled-jsx": {
63
68
  "optional": true
64
69
  }
@@ -10,7 +10,7 @@ class InvertedContainerPlugin {
10
10
  compiler.hooks.thisCompilation.tap('EmbeddedContainerPlugin', (compilation) => {
11
11
  const hooks = enhanced_1.FederationModulesPlugin.getCompilationHooks(compilation);
12
12
  const containers = new Set();
13
- hooks.addContainerEntryModule.tap('EmbeddedContainerPlugin', (dependency) => {
13
+ hooks.addContainerEntryDependency.tap('EmbeddedContainerPlugin', (dependency) => {
14
14
  if (dependency instanceof enhanced_1.dependencies.ContainerEntryDependency) {
15
15
  containers.add(dependency);
16
16
  }
@@ -1 +1 @@
1
- {"version":3,"file":"InvertedContainerPlugin.js","sourceRoot":"","sources":["../../../../src/plugins/container/InvertedContainerPlugin.ts"],"names":[],"mappings":";;;;;AACA,sGAA8E;AAC9E,0DAGqC;AAErC,MAAM,uBAAuB;IACpB,KAAK,CAAC,QAAkB;QAC7B,QAAQ,CAAC,KAAK,CAAC,eAAe,CAAC,GAAG,CAChC,yBAAyB,EACzB,CAAC,WAAwB,EAAE,EAAE;YAC3B,MAAM,KAAK,GAAG,kCAAuB,CAAC,mBAAmB,CAAC,WAAW,CAAC,CAAC;YACvE,MAAM,UAAU,GAAG,IAAI,GAAG,EAAE,CAAC;YAC7B,KAAK,CAAC,uBAAuB,CAAC,GAAG,CAC/B,yBAAyB,EACzB,CAAC,UAAU,EAAE,EAAE;gBACb,IAAI,UAAU,YAAY,uBAAY,CAAC,wBAAwB,EAAE,CAAC;oBAChE,UAAU,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC;gBAC7B,CAAC;YACH,CAAC,CACF,CAAC;YACF,4BAA4B;YAC5B,WAAW,CAAC,KAAK,CAAC,iCAAiC,CAAC,GAAG,CACrD,yBAAyB,EACzB,CAAC,KAAK,EAAE,GAAG,EAAE,EAAE;gBACb,WAAW,CAAC,gBAAgB,CAC1B,KAAK,EACL,IAAI,wCAA8B,CAAC;oBACjC,UAAU;iBACX,CAAC,CACH,CAAC;YACJ,CAAC,CACF,CAAC;QACJ,CAAC,CACF,CAAC;IACJ,CAAC;CACF;AAED,kBAAe,uBAAuB,CAAC"}
1
+ {"version":3,"file":"InvertedContainerPlugin.js","sourceRoot":"","sources":["../../../../src/plugins/container/InvertedContainerPlugin.ts"],"names":[],"mappings":";;;;;AACA,sGAA8E;AAC9E,0DAGqC;AAErC,MAAM,uBAAuB;IACpB,KAAK,CAAC,QAAkB;QAC7B,QAAQ,CAAC,KAAK,CAAC,eAAe,CAAC,GAAG,CAChC,yBAAyB,EACzB,CAAC,WAAwB,EAAE,EAAE;YAC3B,MAAM,KAAK,GAAG,kCAAuB,CAAC,mBAAmB,CAAC,WAAW,CAAC,CAAC;YACvE,MAAM,UAAU,GAAG,IAAI,GAAG,EAAE,CAAC;YAC7B,KAAK,CAAC,2BAA2B,CAAC,GAAG,CACnC,yBAAyB,EACzB,CAAC,UAAU,EAAE,EAAE;gBACb,IAAI,UAAU,YAAY,uBAAY,CAAC,wBAAwB,EAAE,CAAC;oBAChE,UAAU,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC;gBAC7B,CAAC;YACH,CAAC,CACF,CAAC;YACF,4BAA4B;YAC5B,WAAW,CAAC,KAAK,CAAC,iCAAiC,CAAC,GAAG,CACrD,yBAAyB,EACzB,CAAC,KAAK,EAAE,GAAG,EAAE,EAAE;gBACb,WAAW,CAAC,gBAAgB,CAC1B,KAAK,EACL,IAAI,wCAA8B,CAAC;oBACjC,UAAU;iBACX,CAAC,CACH,CAAC;YACJ,CAAC,CACF,CAAC;QACJ,CAAC,CACF,CAAC;IACJ,CAAC;CACF;AAED,kBAAe,uBAAuB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@module-federation/nextjs-mf",
3
- "version": "8.8.33",
3
+ "version": "8.8.35",
4
4
  "license": "MIT",
5
5
  "main": "dist/src/index.js",
6
6
  "types": "dist/src/index.d.ts",
@@ -39,14 +39,16 @@
39
39
  },
40
40
  "dependencies": {
41
41
  "fast-glob": "^3.2.11",
42
- "@module-federation/runtime": "0.17.0",
43
- "@module-federation/sdk": "0.17.0",
44
- "@module-federation/enhanced": "0.17.0",
45
- "@module-federation/node": "2.7.9",
46
- "@module-federation/webpack-bundler-runtime": "0.17.0"
42
+ "@module-federation/runtime": "0.18.0",
43
+ "@module-federation/sdk": "0.18.0",
44
+ "@module-federation/enhanced": "0.18.0",
45
+ "@module-federation/node": "2.7.11",
46
+ "@module-federation/webpack-bundler-runtime": "0.18.0"
47
47
  },
48
48
  "devDependencies": {
49
- "@types/btoa": "^1.2.5"
49
+ "@types/btoa": "^1.2.5",
50
+ "@types/react": "^18.3.1",
51
+ "@types/react-dom": "^18.3.1"
50
52
  },
51
53
  "peerDependencies": {
52
54
  "webpack": "^5.40.0",
@@ -56,6 +58,9 @@
56
58
  "styled-jsx": "*"
57
59
  },
58
60
  "peerDependenciesMeta": {
61
+ "webpack": {
62
+ "optional": true
63
+ },
59
64
  "styled-jsx": {
60
65
  "optional": true
61
66
  }