@module-federation/manifest 0.3.2 → 0.3.4

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
@@ -1492,6 +1492,7 @@ var StatsManager = /*#__PURE__*/ function() {
1492
1492
  var files = Array.from(remoteEntryNameChunk.files).filter(function(f) {
1493
1493
  return !f.includes(HOT_UPDATE_SUFFIX) && !f.endsWith('.css');
1494
1494
  });
1495
+ assert(files.length > 0, 'no files found for remoteEntry chunk');
1495
1496
  assert(files.length === 1, "remoteEntry chunk should not have multiple files!, current files: ".concat(files.join(',')));
1496
1497
  var remoteEntryName = files[0];
1497
1498
  return remoteEntryName;
package/dist/index.esm.js CHANGED
@@ -1483,6 +1483,7 @@ var StatsManager = /*#__PURE__*/ function() {
1483
1483
  var files = Array.from(remoteEntryNameChunk.files).filter(function(f) {
1484
1484
  return !f.includes(HOT_UPDATE_SUFFIX) && !f.endsWith('.css');
1485
1485
  });
1486
+ assert(files.length > 0, 'no files found for remoteEntry chunk');
1486
1487
  assert(files.length === 1, "remoteEntry chunk should not have multiple files!, current files: ".concat(files.join(',')));
1487
1488
  var remoteEntryName = files[0];
1488
1489
  return remoteEntryName;
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@module-federation/manifest",
3
- "version": "0.3.2",
3
+ "version": "0.3.4",
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.3.2",
3
+ "version": "0.3.4",
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.3.2",
28
- "@module-federation/dts-plugin": "0.3.2",
29
- "@module-federation/managers": "0.3.2"
27
+ "@module-federation/sdk": "0.3.4",
28
+ "@module-federation/dts-plugin": "0.3.4",
29
+ "@module-federation/managers": "0.3.4"
30
30
  },
31
31
  "exports": {
32
32
  ".": {