@wistia/vhs 4.0.0-beta.895030ad.a0c17d8 → 4.0.0-beta.932eabd2.412f086

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.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  /*
3
- * @license @wistia/vhs v4.0.0-beta.895030ad.a0c17d8
3
+ * @license @wistia/vhs v4.0.0-beta.932eabd2.412f086
4
4
  *
5
5
  * Copyright (c) 2021-2025, Wistia, Inc. and its affiliates.
6
6
  *
@@ -12633,7 +12633,7 @@ var setCursorPosition = (ref, start, end) => {
12633
12633
  var getSelectionFromMove = (selection, move, positions) => {
12634
12634
  const currentIndex = positions.findIndex((pos) => pos.start === selection[0]);
12635
12635
  let nextPosition = positions[currentIndex + move];
12636
- if (nextPosition && nextPosition.type === "skip") {
12636
+ if (nextPosition?.type === "skip") {
12637
12637
  nextPosition = positions[currentIndex + move * 2];
12638
12638
  }
12639
12639
  if (nextPosition) {