@next-core/brick-utils 2.45.7 → 2.45.9

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.esm.js CHANGED
@@ -768,6 +768,8 @@ function parseLifeCycles(lifeCycle) {
768
768
  case "onMessageClose":
769
769
  case "onBeforePageLoad":
770
770
  case "onBeforePageLeave":
771
+ case "onMount":
772
+ case "onUnmount":
771
773
  case "onMediaChange":
772
774
  return {
773
775
  type: "SimpleLifeCycle",
@@ -21590,7 +21592,7 @@ function getBrickToPackageMap(brickPackages) {
21590
21592
  m.set(namespace, item);
21591
21593
  } else {
21592
21594
  // eslint-disable-next-line no-console
21593
- console.error("the file path of brick is `".concat(item.filePath, "` and it is non-standard package path"));
21595
+ console.error("Unexpected brick package file path: \"".concat(item.filePath, "\""));
21594
21596
  }
21595
21597
 
21596
21598
  return m;
@@ -21620,7 +21622,7 @@ function getDllAndDepsOfBricks(bricks, brickPackages) {
21620
21622
  }
21621
21623
  } else {
21622
21624
  // eslint-disable-next-line no-console
21623
- console.error("the name of brick is `".concat(brick, "` and it don't match any brick package"));
21625
+ console.error("Brick `".concat(brick, "` does not match any brick package"));
21624
21626
  }
21625
21627
  }
21626
21628
  });
@@ -21666,7 +21668,7 @@ function getDllAndDepsByResource(_ref, brickPackages) {
21666
21668
  }
21667
21669
  } else {
21668
21670
  // eslint-disable-next-line no-console
21669
- console.error("the name of ".concat(isProcessor ? "processor" : "brick", " is `").concat(name, "` and it don't match any package"));
21671
+ console.error("".concat(isProcessor ? "Processor" : "Brick", " `").concat(name, "` does not match any brick package"));
21670
21672
  }
21671
21673
  }
21672
21674
  });
@@ -21684,7 +21686,7 @@ function getDllAndDepsByResource(_ref, brickPackages) {
21684
21686
  }
21685
21687
  } else {
21686
21688
  // eslint-disable-next-line no-console
21687
- console.error("the name of editor is `".concat(editor, "` and it don't match any editor package"));
21689
+ console.error("Editor `".concat(editor, "` does not match any brick package"));
21688
21690
  }
21689
21691
  }
21690
21692
  });