@wistia/vhs 4.0.1-beta.72e04778.326f408 → 4.0.1-beta.9d6d2dc3.b4a6978

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.72e04778.326f408
3
+ * @license @wistia/vhs v4.0.1-beta.9d6d2dc3.b4a6978
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);
@@ -3649,6 +3651,7 @@ var normalize = import_styled_components7.css`
3649
3651
 
3650
3652
  html {
3651
3653
  line-height: 1.15; /* 1 */
3654
+ /* stylelint-disable-next-line plugin/use-baseline */
3652
3655
  text-size-adjust: 100%; /* 2 */
3653
3656
  }
3654
3657