@module-federation/manifest 0.6.9 → 0.6.10

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 CHANGED
@@ -1300,6 +1300,10 @@ function _tagged_template_literal(strings, raw) {
1300
1300
  function _to_consumable_array(arr) {
1301
1301
  return _array_without_holes(arr) || _iterable_to_array(arr) || _unsupported_iterable_to_array(arr) || _non_iterable_spread();
1302
1302
  }
1303
+ function _type_of$1(obj) {
1304
+ "@swc/helpers - typeof";
1305
+ return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
1306
+ }
1303
1307
  function _unsupported_iterable_to_array(o, minLen) {
1304
1308
  if (!o) return;
1305
1309
  if (typeof o === "string") return _array_like_to_array(o, minLen);
@@ -1637,7 +1641,7 @@ var StatsManager = /*#__PURE__*/ function() {
1637
1641
  remotes: [],
1638
1642
  exposes: []
1639
1643
  };
1640
- if (typeof manifestOptions === 'object' && manifestOptions.disableAssetsAnalyze) {
1644
+ if ((typeof manifestOptions === "undefined" ? "undefined" : _type_of$1(manifestOptions)) === 'object' && manifestOptions.disableAssetsAnalyze) {
1641
1645
  remotes = _this._remoteManager.statsRemoteWithEmptyUsedIn;
1642
1646
  stats.remotes = remotes;
1643
1647
  return [
@@ -1802,7 +1806,7 @@ var StatsManager = /*#__PURE__*/ function() {
1802
1806
  ];
1803
1807
  case 1:
1804
1808
  stats = _state.sent();
1805
- if (!(typeof manifestOptions === 'object' && manifestOptions.additionalData)) return [
1809
+ if (!((typeof manifestOptions === "undefined" ? "undefined" : _type_of$1(manifestOptions)) === 'object' && manifestOptions.additionalData)) return [
1806
1810
  3,
1807
1811
  3
1808
1812
  ];
@@ -1928,6 +1932,10 @@ function _instanceof(left, right) {
1928
1932
  return left instanceof right;
1929
1933
  }
1930
1934
  }
1935
+ function _type_of(obj) {
1936
+ "@swc/helpers - typeof";
1937
+ return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
1938
+ }
1931
1939
  function _ts_generator(thisArg, body) {
1932
1940
  var f, y, t, g, _ = {
1933
1941
  label: 0,
@@ -2095,7 +2103,7 @@ var StatsPlugin = /*#__PURE__*/ function() {
2095
2103
  publicPath: _this1._statsManager.getPublicPath(compiler),
2096
2104
  compiler: compiler,
2097
2105
  bundler: _this1._bundler,
2098
- additionalData: typeof _this1._options.manifest === 'object' ? _this1._options.manifest.additionalData : undefined
2106
+ additionalData: _type_of(_this1._options.manifest) === 'object' ? _this1._options.manifest.additionalData : undefined
2099
2107
  }, {
2100
2108
  disableEmit: _this1.disableEmit
2101
2109
  })
package/dist/index.esm.js CHANGED
@@ -1298,6 +1298,10 @@ function _tagged_template_literal(strings, raw) {
1298
1298
  function _to_consumable_array(arr) {
1299
1299
  return _array_without_holes(arr) || _iterable_to_array(arr) || _unsupported_iterable_to_array(arr) || _non_iterable_spread();
1300
1300
  }
1301
+ function _type_of$1(obj) {
1302
+ "@swc/helpers - typeof";
1303
+ return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
1304
+ }
1301
1305
  function _unsupported_iterable_to_array(o, minLen) {
1302
1306
  if (!o) return;
1303
1307
  if (typeof o === "string") return _array_like_to_array(o, minLen);
@@ -1635,7 +1639,7 @@ var StatsManager = /*#__PURE__*/ function() {
1635
1639
  remotes: [],
1636
1640
  exposes: []
1637
1641
  };
1638
- if (typeof manifestOptions === 'object' && manifestOptions.disableAssetsAnalyze) {
1642
+ if ((typeof manifestOptions === "undefined" ? "undefined" : _type_of$1(manifestOptions)) === 'object' && manifestOptions.disableAssetsAnalyze) {
1639
1643
  remotes = _this._remoteManager.statsRemoteWithEmptyUsedIn;
1640
1644
  stats.remotes = remotes;
1641
1645
  return [
@@ -1800,7 +1804,7 @@ var StatsManager = /*#__PURE__*/ function() {
1800
1804
  ];
1801
1805
  case 1:
1802
1806
  stats = _state.sent();
1803
- if (!(typeof manifestOptions === 'object' && manifestOptions.additionalData)) return [
1807
+ if (!((typeof manifestOptions === "undefined" ? "undefined" : _type_of$1(manifestOptions)) === 'object' && manifestOptions.additionalData)) return [
1804
1808
  3,
1805
1809
  3
1806
1810
  ];
@@ -1926,6 +1930,10 @@ function _instanceof(left, right) {
1926
1930
  return left instanceof right;
1927
1931
  }
1928
1932
  }
1933
+ function _type_of(obj) {
1934
+ "@swc/helpers - typeof";
1935
+ return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
1936
+ }
1929
1937
  function _ts_generator(thisArg, body) {
1930
1938
  var f, y, t, g, _ = {
1931
1939
  label: 0,
@@ -2093,7 +2101,7 @@ var StatsPlugin = /*#__PURE__*/ function() {
2093
2101
  publicPath: _this1._statsManager.getPublicPath(compiler),
2094
2102
  compiler: compiler,
2095
2103
  bundler: _this1._bundler,
2096
- additionalData: typeof _this1._options.manifest === 'object' ? _this1._options.manifest.additionalData : undefined
2104
+ additionalData: _type_of(_this1._options.manifest) === 'object' ? _this1._options.manifest.additionalData : undefined
2097
2105
  }, {
2098
2106
  disableEmit: _this1.disableEmit
2099
2107
  })
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@module-federation/manifest",
3
- "version": "0.6.9",
3
+ "version": "0.6.10",
4
4
  "license": "MIT",
5
5
  "description": "Provide manifest/stats for webpack/rspack MF project .",
6
6
  "keywords": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@module-federation/manifest",
3
- "version": "0.6.9",
3
+ "version": "0.6.10",
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/dts-plugin": "0.6.9",
28
- "@module-federation/sdk": "0.6.9",
29
- "@module-federation/managers": "0.6.9"
27
+ "@module-federation/sdk": "0.6.10",
28
+ "@module-federation/dts-plugin": "0.6.10",
29
+ "@module-federation/managers": "0.6.10"
30
30
  },
31
31
  "exports": {
32
32
  ".": {