focus-lock
Advanced tools
Comparing version 0.11.0 to 0.11.1
@@ -47,3 +47,3 @@ import { toArray } from './array'; | ||
? contains(scope.shadowRoot, element) | ||
: scope.contains(element)) || Array.from(scope.children).some(function (child) { return contains(child, element); })); | ||
: scope.contains(element)) || toArray(scope.children).some(function (child) { return contains(child, element); })); | ||
}; |
@@ -36,3 +36,3 @@ import { toArray } from './array'; | ||
? contains(scope.shadowRoot, element) | ||
: scope.contains(element)) || Array.from(scope.children).some((child) => contains(child, element))); | ||
: scope.contains(element)) || toArray(scope.children).some((child) => contains(child, element))); | ||
}; |
@@ -55,4 +55,4 @@ "use strict"; | ||
? (0, exports.contains)(scope.shadowRoot, element) | ||
: scope.contains(element)) || Array.from(scope.children).some(function (child) { return (0, exports.contains)(child, element); })); | ||
: scope.contains(element)) || (0, array_1.toArray)(scope.children).some(function (child) { return (0, exports.contains)(child, element); })); | ||
}; | ||
exports.contains = contains; |
{ | ||
"name": "focus-lock", | ||
"version": "0.11.0", | ||
"version": "0.11.1", | ||
"description": "DOM trap for a focus", | ||
@@ -5,0 +5,0 @@ "main": "dist/es5/index.js", |
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
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
126337