@wistia/vhs 5.0.1-beta.3437f45d.9d3c7ae → 5.0.1-beta.7726f90b.000ecec
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.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
/*
|
|
3
|
-
* @license @wistia/vhs v5.0.1-beta.
|
|
3
|
+
* @license @wistia/vhs v5.0.1-beta.7726f90b.000ecec
|
|
4
4
|
*
|
|
5
5
|
* Copyright (c) 2021-2026, Wistia, Inc. and its affiliates.
|
|
6
6
|
*
|
|
@@ -4310,7 +4310,7 @@ var createKeyPredicate = (keyFilter) => {
|
|
|
4310
4310
|
if (typeof keyFilter === "string") {
|
|
4311
4311
|
return (event) => event.key === keyFilter;
|
|
4312
4312
|
}
|
|
4313
|
-
if (keyFilter !== null && keyFilter !== void 0 &&
|
|
4313
|
+
if (keyFilter !== null && keyFilter !== void 0 && keyFilter) {
|
|
4314
4314
|
return () => true;
|
|
4315
4315
|
}
|
|
4316
4316
|
return () => false;
|
|
@@ -9460,7 +9460,7 @@ import { Transforms as Transforms3, Element as Element5, Node, Editor, Range, Pa
|
|
|
9460
9460
|
import { isNonEmptyString as isNonEmptyString9 } from "@wistia/type-guards";
|
|
9461
9461
|
var isHashUrl = (urlString) => {
|
|
9462
9462
|
const urlPattern = /^#.+$/i;
|
|
9463
|
-
return
|
|
9463
|
+
return urlPattern.test(urlString);
|
|
9464
9464
|
};
|
|
9465
9465
|
var isLinkActive = (editor) => {
|
|
9466
9466
|
const [link] = Editor.nodes(editor, {
|