@punks/backend-entity-manager 0.0.373 → 0.0.374

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/esm/index.js CHANGED
@@ -40649,7 +40649,7 @@ const registerHandlebarsHelpers = () => {
40649
40649
  return;
40650
40650
  }
40651
40651
  lib.registerHelper("truncate", function (text, maxChars) {
40652
- if (text.length > maxChars) {
40652
+ if (text?.length > maxChars) {
40653
40653
  return text.substring(0, maxChars) + "...";
40654
40654
  }
40655
40655
  else {