react-focus-lock
Advanced tools
Comparing version 1.6.4 to 1.6.5
@@ -46,3 +46,3 @@ 'use strict'; | ||
} | ||
lastActiveFocus = document.activeElement; | ||
lastActiveFocus = document && document.activeElement; | ||
} | ||
@@ -49,0 +49,0 @@ } |
{ | ||
"name": "react-focus-lock", | ||
"version": "1.6.4", | ||
"version": "1.6.5", | ||
"description": "It is a trap! (for a focus)", | ||
@@ -16,3 +16,4 @@ "main": "dist/index.js", | ||
"build-storybook": "build-storybook", | ||
"package-self": "package-self" | ||
"package-self": "package-self", | ||
"size": "npm run build && size-limit" | ||
}, | ||
@@ -66,3 +67,4 @@ "repository": { | ||
"react-test-renderer": "^15.6.1", | ||
"sinon": "3.2.1" | ||
"sinon": "3.2.1", | ||
"size-limit": "^0.14.1" | ||
}, | ||
@@ -69,0 +71,0 @@ "homepage": "https://github.com/theKashey/react-focus-lock#readme", |
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
32566
29
17
798