@module-federation/sdk 0.0.0-next-20240612203225 → 0.0.0-next-20240613022740
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/index.cjs.js +4 -14
- package/dist/index.esm.js +4 -14
- package/dist/package.json +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -1140,37 +1140,27 @@ function createScriptNode(url, cb, attrs, createScriptHook) {
|
|
|
1140
1140
|
return _ts_generator(this, function(_state) {
|
|
1141
1141
|
switch(_state.label){
|
|
1142
1142
|
case 0:
|
|
1143
|
-
if (!(typeof globalThis['webpackChunkLoad'] !== 'undefined')) return [
|
|
1144
|
-
3,
|
|
1145
|
-
1
|
|
1146
|
-
];
|
|
1147
|
-
//@ts-ignore
|
|
1148
|
-
return [
|
|
1149
|
-
2,
|
|
1150
|
-
globalThis['webpackChunkLoad']
|
|
1151
|
-
];
|
|
1152
|
-
case 1:
|
|
1153
1143
|
if (!(typeof fetch === 'undefined')) return [
|
|
1154
1144
|
3,
|
|
1155
|
-
|
|
1145
|
+
2
|
|
1156
1146
|
];
|
|
1157
1147
|
return [
|
|
1158
1148
|
4,
|
|
1159
1149
|
importNodeModule('node-fetch')
|
|
1160
1150
|
];
|
|
1161
|
-
case
|
|
1151
|
+
case 1:
|
|
1162
1152
|
fetchModule = _state.sent();
|
|
1163
1153
|
//@ts-ignore
|
|
1164
1154
|
return [
|
|
1165
1155
|
2,
|
|
1166
1156
|
(fetchModule === null || fetchModule === void 0 ? void 0 : fetchModule.default) || fetchModule
|
|
1167
1157
|
];
|
|
1168
|
-
case
|
|
1158
|
+
case 2:
|
|
1169
1159
|
return [
|
|
1170
1160
|
2,
|
|
1171
1161
|
fetch
|
|
1172
1162
|
];
|
|
1173
|
-
case
|
|
1163
|
+
case 3:
|
|
1174
1164
|
return [
|
|
1175
1165
|
2
|
|
1176
1166
|
];
|
package/dist/index.esm.js
CHANGED
|
@@ -1136,37 +1136,27 @@ function createScriptNode(url, cb, attrs, createScriptHook) {
|
|
|
1136
1136
|
return _ts_generator(this, function(_state) {
|
|
1137
1137
|
switch(_state.label){
|
|
1138
1138
|
case 0:
|
|
1139
|
-
if (!(typeof globalThis['webpackChunkLoad'] !== 'undefined')) return [
|
|
1140
|
-
3,
|
|
1141
|
-
1
|
|
1142
|
-
];
|
|
1143
|
-
//@ts-ignore
|
|
1144
|
-
return [
|
|
1145
|
-
2,
|
|
1146
|
-
globalThis['webpackChunkLoad']
|
|
1147
|
-
];
|
|
1148
|
-
case 1:
|
|
1149
1139
|
if (!(typeof fetch === 'undefined')) return [
|
|
1150
1140
|
3,
|
|
1151
|
-
|
|
1141
|
+
2
|
|
1152
1142
|
];
|
|
1153
1143
|
return [
|
|
1154
1144
|
4,
|
|
1155
1145
|
importNodeModule('node-fetch')
|
|
1156
1146
|
];
|
|
1157
|
-
case
|
|
1147
|
+
case 1:
|
|
1158
1148
|
fetchModule = _state.sent();
|
|
1159
1149
|
//@ts-ignore
|
|
1160
1150
|
return [
|
|
1161
1151
|
2,
|
|
1162
1152
|
(fetchModule === null || fetchModule === void 0 ? void 0 : fetchModule.default) || fetchModule
|
|
1163
1153
|
];
|
|
1164
|
-
case
|
|
1154
|
+
case 2:
|
|
1165
1155
|
return [
|
|
1166
1156
|
2,
|
|
1167
1157
|
fetch
|
|
1168
1158
|
];
|
|
1169
|
-
case
|
|
1159
|
+
case 3:
|
|
1170
1160
|
return [
|
|
1171
1161
|
2
|
|
1172
1162
|
];
|
package/dist/package.json
CHANGED