@glomex/glomex-dialog
Advanced tools
Comparing version 2.4.1 to 2.4.2
@@ -49,3 +49,8 @@ import { RotataToFullscreen } from './rotate-to-fullscreen.js'; | ||
if (dockTarget) { | ||
dockTargetElements = document.querySelectorAll(dockTarget); | ||
try { | ||
dockTargetElements = document.querySelectorAll(dockTarget); | ||
} catch (e) { | ||
// invalid selector strings should allow falling back to the default handling | ||
return null; | ||
} | ||
if (dockTargetElements.length === 0) return null; | ||
@@ -52,0 +57,0 @@ // pick the innermost node (querySelectorAll sorts by order in DOM) |
{ | ||
"name": "@glomex/glomex-dialog", | ||
"version": "2.4.1", | ||
"version": "2.4.2", | ||
"description": "A dialog web component that allows docking a video player or putting it in a lightbox", | ||
@@ -5,0 +5,0 @@ "type": "module", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
124164
1282
1