@module-federation/modern-js 0.0.0-next-20250523083033 → 0.0.0-next-20250523083317

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.
@@ -106,7 +106,9 @@ const injectDataFetchFunctionPlugin = () => ({
106
106
  globalThis[import_constant.DOWNGRADE_KEY] = true;
107
107
  return (0, import_downgrade.callAllDowngrade)();
108
108
  }
109
- mfDowngrade.push(id);
109
+ if (!mfDowngrade.includes(id)) {
110
+ mfDowngrade.push(id);
111
+ }
110
112
  return (0, import_downgrade.callDowngrade)(id);
111
113
  }
112
114
  };
@@ -107,7 +107,9 @@ var injectDataFetchFunctionPlugin = function() {
107
107
  callAllDowngrade()
108
108
  ];
109
109
  }
110
- mfDowngrade1.push(id);
110
+ if (!mfDowngrade1.includes(id)) {
111
+ mfDowngrade1.push(id);
112
+ }
111
113
  return [
112
114
  2,
113
115
  callDowngrade(id)
@@ -73,7 +73,9 @@ const injectDataFetchFunctionPlugin = () => ({
73
73
  globalThis[DOWNGRADE_KEY] = true;
74
74
  return callAllDowngrade();
75
75
  }
76
- mfDowngrade.push(id);
76
+ if (!mfDowngrade.includes(id)) {
77
+ mfDowngrade.push(id);
78
+ }
77
79
  return callDowngrade(id);
78
80
  }
79
81
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@module-federation/modern-js",
3
- "version": "0.0.0-next-20250523083033",
3
+ "version": "0.0.0-next-20250523083317",
4
4
  "files": [
5
5
  "dist/",
6
6
  "types.d.ts",
@@ -111,12 +111,12 @@
111
111
  "@swc/helpers": "0.5.13",
112
112
  "node-fetch": "~3.3.0",
113
113
  "react-error-boundary": "4.1.2",
114
- "@module-federation/rsbuild-plugin": "0.0.0-next-20250523083033",
115
- "@module-federation/enhanced": "0.0.0-next-20250523083033",
116
- "@module-federation/runtime": "0.0.0-next-20250523083033",
117
- "@module-federation/node": "0.0.0-next-20250523083033",
118
- "@module-federation/sdk": "0.0.0-next-20250523083033",
119
- "@module-federation/cli": "0.0.0-next-20250523083033"
114
+ "@module-federation/rsbuild-plugin": "0.0.0-next-20250523083317",
115
+ "@module-federation/enhanced": "0.0.0-next-20250523083317",
116
+ "@module-federation/runtime": "0.0.0-next-20250523083317",
117
+ "@module-federation/node": "0.0.0-next-20250523083317",
118
+ "@module-federation/sdk": "0.0.0-next-20250523083317",
119
+ "@module-federation/cli": "0.0.0-next-20250523083317"
120
120
  },
121
121
  "devDependencies": {
122
122
  "@rsbuild/core": "1.2.8",
@@ -126,7 +126,7 @@
126
126
  "@modern-js/runtime": "2.67.5",
127
127
  "@modern-js/tsconfig": "2.67.5",
128
128
  "@modern-js/server-runtime": "2.67.5",
129
- "@module-federation/manifest": "0.0.0-next-20250523083033"
129
+ "@module-federation/manifest": "0.0.0-next-20250523083317"
130
130
  },
131
131
  "peerDependencies": {
132
132
  "react": ">=17",