@module-federation/manifest 0.1.19 → 0.1.21
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 +11 -3
- package/dist/index.esm.js +11 -3
- package/dist/package.json +1 -1
- package/package.json +4 -4
package/dist/index.cjs.js
CHANGED
|
@@ -1295,6 +1295,10 @@ function _tagged_template_literal(strings, raw) {
|
|
|
1295
1295
|
}
|
|
1296
1296
|
}));
|
|
1297
1297
|
}
|
|
1298
|
+
function _type_of$1(obj) {
|
|
1299
|
+
"@swc/helpers - typeof";
|
|
1300
|
+
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
1301
|
+
}
|
|
1298
1302
|
function _unsupported_iterable_to_array(o, minLen) {
|
|
1299
1303
|
if (!o) return;
|
|
1300
1304
|
if (typeof o === "string") return _array_like_to_array(o, minLen);
|
|
@@ -1618,7 +1622,7 @@ var StatsManager = /*#__PURE__*/ function() {
|
|
|
1618
1622
|
remotes: [],
|
|
1619
1623
|
exposes: []
|
|
1620
1624
|
};
|
|
1621
|
-
if (typeof manifestOptions === 'object' && manifestOptions.disableAssetsAnalyze) {
|
|
1625
|
+
if ((typeof manifestOptions === "undefined" ? "undefined" : _type_of$1(manifestOptions)) === 'object' && manifestOptions.disableAssetsAnalyze) {
|
|
1622
1626
|
remotes = _this._remoteManager.statsRemoteWithEmptyUsedIn;
|
|
1623
1627
|
stats.remotes = remotes;
|
|
1624
1628
|
return [
|
|
@@ -1778,7 +1782,7 @@ var StatsManager = /*#__PURE__*/ function() {
|
|
|
1778
1782
|
];
|
|
1779
1783
|
case 1:
|
|
1780
1784
|
stats = _state.sent();
|
|
1781
|
-
if (!(typeof manifestOptions === 'object' && manifestOptions.additionalData)) return [
|
|
1785
|
+
if (!((typeof manifestOptions === "undefined" ? "undefined" : _type_of$1(manifestOptions)) === 'object' && manifestOptions.additionalData)) return [
|
|
1782
1786
|
3,
|
|
1783
1787
|
3
|
|
1784
1788
|
];
|
|
@@ -1900,6 +1904,10 @@ function _instanceof(left, right) {
|
|
|
1900
1904
|
return left instanceof right;
|
|
1901
1905
|
}
|
|
1902
1906
|
}
|
|
1907
|
+
function _type_of(obj) {
|
|
1908
|
+
"@swc/helpers - typeof";
|
|
1909
|
+
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
1910
|
+
}
|
|
1903
1911
|
function _ts_generator(thisArg, body) {
|
|
1904
1912
|
var f, y, t, g, _ = {
|
|
1905
1913
|
label: 0,
|
|
@@ -2060,7 +2068,7 @@ var StatsPlugin = /*#__PURE__*/ function() {
|
|
|
2060
2068
|
publicPath: _this1._statsManager.getPublicPath(compiler),
|
|
2061
2069
|
compiler: compiler,
|
|
2062
2070
|
bundler: _this1._bundler,
|
|
2063
|
-
additionalData:
|
|
2071
|
+
additionalData: _type_of(_this1._options.manifest) === 'object' ? _this1._options.manifest.additionalData : undefined
|
|
2064
2072
|
});
|
|
2065
2073
|
_state.label = 2;
|
|
2066
2074
|
case 2:
|
package/dist/index.esm.js
CHANGED
|
@@ -1286,6 +1286,10 @@ function _tagged_template_literal(strings, raw) {
|
|
|
1286
1286
|
}
|
|
1287
1287
|
}));
|
|
1288
1288
|
}
|
|
1289
|
+
function _type_of$1(obj) {
|
|
1290
|
+
"@swc/helpers - typeof";
|
|
1291
|
+
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
1292
|
+
}
|
|
1289
1293
|
function _unsupported_iterable_to_array(o, minLen) {
|
|
1290
1294
|
if (!o) return;
|
|
1291
1295
|
if (typeof o === "string") return _array_like_to_array(o, minLen);
|
|
@@ -1609,7 +1613,7 @@ var StatsManager = /*#__PURE__*/ function() {
|
|
|
1609
1613
|
remotes: [],
|
|
1610
1614
|
exposes: []
|
|
1611
1615
|
};
|
|
1612
|
-
if (typeof manifestOptions === 'object' && manifestOptions.disableAssetsAnalyze) {
|
|
1616
|
+
if ((typeof manifestOptions === "undefined" ? "undefined" : _type_of$1(manifestOptions)) === 'object' && manifestOptions.disableAssetsAnalyze) {
|
|
1613
1617
|
remotes = _this._remoteManager.statsRemoteWithEmptyUsedIn;
|
|
1614
1618
|
stats.remotes = remotes;
|
|
1615
1619
|
return [
|
|
@@ -1769,7 +1773,7 @@ var StatsManager = /*#__PURE__*/ function() {
|
|
|
1769
1773
|
];
|
|
1770
1774
|
case 1:
|
|
1771
1775
|
stats = _state.sent();
|
|
1772
|
-
if (!(typeof manifestOptions === 'object' && manifestOptions.additionalData)) return [
|
|
1776
|
+
if (!((typeof manifestOptions === "undefined" ? "undefined" : _type_of$1(manifestOptions)) === 'object' && manifestOptions.additionalData)) return [
|
|
1773
1777
|
3,
|
|
1774
1778
|
3
|
|
1775
1779
|
];
|
|
@@ -1891,6 +1895,10 @@ function _instanceof(left, right) {
|
|
|
1891
1895
|
return left instanceof right;
|
|
1892
1896
|
}
|
|
1893
1897
|
}
|
|
1898
|
+
function _type_of(obj) {
|
|
1899
|
+
"@swc/helpers - typeof";
|
|
1900
|
+
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
1901
|
+
}
|
|
1894
1902
|
function _ts_generator(thisArg, body) {
|
|
1895
1903
|
var f, y, t, g, _ = {
|
|
1896
1904
|
label: 0,
|
|
@@ -2051,7 +2059,7 @@ var StatsPlugin = /*#__PURE__*/ function() {
|
|
|
2051
2059
|
publicPath: _this1._statsManager.getPublicPath(compiler),
|
|
2052
2060
|
compiler: compiler,
|
|
2053
2061
|
bundler: _this1._bundler,
|
|
2054
|
-
additionalData:
|
|
2062
|
+
additionalData: _type_of(_this1._options.manifest) === 'object' ? _this1._options.manifest.additionalData : undefined
|
|
2055
2063
|
});
|
|
2056
2064
|
_state.label = 2;
|
|
2057
2065
|
case 2:
|
package/dist/package.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@module-federation/manifest",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.21",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Provide manifest/stats for webpack/rspack MF project .",
|
|
6
6
|
"keywords": [
|
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"find-pkg": "2.0.0",
|
|
26
26
|
"chalk": "3.0.0",
|
|
27
|
-
"@module-federation/sdk": "0.1.
|
|
28
|
-
"@module-federation/dts-plugin": "0.1.
|
|
29
|
-
"@module-federation/managers": "0.1.
|
|
27
|
+
"@module-federation/sdk": "0.1.21",
|
|
28
|
+
"@module-federation/dts-plugin": "0.1.21",
|
|
29
|
+
"@module-federation/managers": "0.1.21"
|
|
30
30
|
},
|
|
31
31
|
"exports": {
|
|
32
32
|
".": {
|