@module-federation/webpack-bundler-runtime 0.0.0-next-20240617070818 → 0.0.0-next-20240617071032
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/container.cjs.js +2 -6
- package/dist/container.esm.js +2 -6
- package/dist/index.cjs.js +1 -3
- package/dist/index.esm.js +1 -3
- package/dist/package.json +1 -1
- package/package.json +4 -4
package/dist/container.cjs.js
CHANGED
|
@@ -36,10 +36,6 @@ function _async_to_generator(fn) {
|
|
|
36
36
|
});
|
|
37
37
|
};
|
|
38
38
|
}
|
|
39
|
-
function _type_of(obj) {
|
|
40
|
-
"@swc/helpers - typeof";
|
|
41
|
-
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
42
|
-
}
|
|
43
39
|
function _ts_generator(thisArg, body) {
|
|
44
40
|
var f, y, t, g, _ = {
|
|
45
41
|
label: 0,
|
|
@@ -301,11 +297,11 @@ var createContainer = function(federationOptions) {
|
|
|
301
297
|
};
|
|
302
298
|
__webpack_require__.f = {};
|
|
303
299
|
__webpack_require__.g = function() {
|
|
304
|
-
if (
|
|
300
|
+
if (typeof globalThis === 'object') return globalThis;
|
|
305
301
|
try {
|
|
306
302
|
return _this || new Function('return this')();
|
|
307
303
|
} catch (e) {
|
|
308
|
-
if (
|
|
304
|
+
if (typeof window === 'object') return window;
|
|
309
305
|
}
|
|
310
306
|
}();
|
|
311
307
|
//@ts-ignore
|
package/dist/container.esm.js
CHANGED
|
@@ -32,10 +32,6 @@ function _async_to_generator(fn) {
|
|
|
32
32
|
});
|
|
33
33
|
};
|
|
34
34
|
}
|
|
35
|
-
function _type_of(obj) {
|
|
36
|
-
"@swc/helpers - typeof";
|
|
37
|
-
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
38
|
-
}
|
|
39
35
|
function _ts_generator(thisArg, body) {
|
|
40
36
|
var f, y, t, g, _ = {
|
|
41
37
|
label: 0,
|
|
@@ -297,11 +293,11 @@ var createContainer = function(federationOptions) {
|
|
|
297
293
|
};
|
|
298
294
|
__webpack_require__.f = {};
|
|
299
295
|
__webpack_require__.g = function() {
|
|
300
|
-
if (
|
|
296
|
+
if (typeof globalThis === 'object') return globalThis;
|
|
301
297
|
try {
|
|
302
298
|
return _this || new Function('return this')();
|
|
303
299
|
} catch (e) {
|
|
304
|
-
if (
|
|
300
|
+
if (typeof window === 'object') return window;
|
|
305
301
|
}
|
|
306
302
|
}();
|
|
307
303
|
//@ts-ignore
|
package/dist/index.cjs.js
CHANGED
|
@@ -303,9 +303,7 @@ function initContainerEntry(options) {
|
|
|
303
303
|
name: webpackRequire.federation.initOptions.name,
|
|
304
304
|
remotes: []
|
|
305
305
|
}, remoteEntryInitOptions));
|
|
306
|
-
federationInstance.initShareScopeMap(name, shareScope
|
|
307
|
-
hostShareScopeMap: (remoteEntryInitOptions === null || remoteEntryInitOptions === void 0 ? void 0 : remoteEntryInitOptions.shareScopeMap) || {}
|
|
308
|
-
});
|
|
306
|
+
federationInstance.initShareScopeMap(name, shareScope);
|
|
309
307
|
if (webpackRequire.federation.attachShareScopeMap) {
|
|
310
308
|
webpackRequire.federation.attachShareScopeMap(webpackRequire);
|
|
311
309
|
}
|
package/dist/index.esm.js
CHANGED
|
@@ -281,9 +281,7 @@ function initContainerEntry(options) {
|
|
|
281
281
|
name: webpackRequire.federation.initOptions.name,
|
|
282
282
|
remotes: []
|
|
283
283
|
}, remoteEntryInitOptions));
|
|
284
|
-
federationInstance.initShareScopeMap(name, shareScope
|
|
285
|
-
hostShareScopeMap: (remoteEntryInitOptions === null || remoteEntryInitOptions === void 0 ? void 0 : remoteEntryInitOptions.shareScopeMap) || {}
|
|
286
|
-
});
|
|
284
|
+
federationInstance.initShareScopeMap(name, shareScope);
|
|
287
285
|
if (webpackRequire.federation.attachShareScopeMap) {
|
|
288
286
|
webpackRequire.federation.attachShareScopeMap(webpackRequire);
|
|
289
287
|
}
|
package/dist/package.json
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"public": true,
|
|
3
3
|
"name": "@module-federation/webpack-bundler-runtime",
|
|
4
|
-
"version": "0.0.0-next-
|
|
4
|
+
"version": "0.0.0-next-20240617071032",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "Module Federation Runtime for webpack",
|
|
7
7
|
"keywords": [
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
"module": "./dist/index.esm.js",
|
|
21
21
|
"types": "./dist/index.cjs.d.ts",
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@module-federation/runtime": "0.0.0-next-
|
|
24
|
-
"@module-federation/sdk": "0.0.0-next-
|
|
23
|
+
"@module-federation/runtime": "0.0.0-next-20240617071032",
|
|
24
|
+
"@module-federation/sdk": "0.0.0-next-20240617071032"
|
|
25
25
|
},
|
|
26
26
|
"exports": {
|
|
27
27
|
".": {
|
|
@@ -49,6 +49,6 @@
|
|
|
49
49
|
}
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
|
-
"@module-federation/runtime": "0.0.0-next-
|
|
52
|
+
"@module-federation/runtime": "0.0.0-next-20240617071032"
|
|
53
53
|
}
|
|
54
54
|
}
|