@baggie/detection
Advanced tools
Comparing version 1.3.2 to 1.3.3
@@ -9,4 +9,5 @@ "use strict"; | ||
*/ | ||
exports.isJsDom = (typeof window !== "undefined" && window.name === "nodejs") || | ||
window.navigator.userAgent.includes("Node.js") || | ||
window.navigator.userAgent.includes("jsdom"); | ||
exports.isJsDom = typeof window !== "undefined" && | ||
(window.name === "nodejs" || | ||
window.navigator.userAgent.includes("Node.js") || | ||
window.navigator.userAgent.includes("jsdom")); |
{ | ||
"name": "@baggie/detection", | ||
"version": "1.3.2", | ||
"version": "1.3.3", | ||
"description": "A library of detection tools for JavaScript and TypeScript. Detect browser support, media features, environment etc.", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
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
24099
587