@mll-lab/js-utils 2.7.0 → 2.8.0

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.
@@ -15201,6 +15201,9 @@ function includesIgnoreCase(needle, haystack) {
15201
15201
  function firstLine(multilineText) {
15202
15202
  return multilineText.split('\n', 1)[0];
15203
15203
  }
15204
+ function joinNonEmpty(maybeStrings, separator) {
15205
+ return maybeStrings.filter(Boolean).join(separator);
15206
+ }
15204
15207
 
15205
15208
  exports.DOTLESS_DATE_FORMAT = DOTLESS_DATE_FORMAT;
15206
15209
  exports.EMAIL_REGEX = EMAIL_REGEX;
@@ -15237,6 +15240,7 @@ exports.isString = isString;
15237
15240
  exports.isToday = isToday;
15238
15241
  exports.isURL = isURL;
15239
15242
  exports.isWord = isWord;
15243
+ exports.joinNonEmpty = joinNonEmpty;
15240
15244
  exports.last = last;
15241
15245
  exports.parseDate = parseDate;
15242
15246
  exports.parseDotlessDate = parseDotlessDate;