@wistia/vhs 4.0.1-beta.a95365a2.adfaa20 → 4.0.1-beta.b9e4e3fa.3ea9116

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 CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  /*
3
- * @license @wistia/vhs v4.0.1-beta.a95365a2.adfaa20
3
+ * @license @wistia/vhs v4.0.1-beta.b9e4e3fa.3ea9116
4
4
  *
5
5
  * Copyright (c) 2021-2025, Wistia, Inc. and its affiliates.
6
6
  *
@@ -352,7 +352,9 @@ var dateOnlyStringForSentence = (date, { timeZone = defaultTimeZone } = {}) => {
352
352
  }
353
353
  };
354
354
  var timeAgoString = (date, { nowAnchor = /* @__PURE__ */ new Date(), includeTime = true } = {}) => {
355
- if (isInvalidDate(date)) return "";
355
+ if (isInvalidDate(date)) {
356
+ return "";
357
+ }
356
358
  const minutesAgo = (nowAnchor.valueOf() - date.valueOf()) / (secondsInMinute * milisecondsInSecond);
357
359
  const minutesAgoRounded = Math.round(minutesAgo);
358
360
  const differenceInDays2 = (0, import_date_fns.differenceInCalendarDays)(nowAnchor, date);