@os-design/is-touch-device
Advanced tools
Comparing version 1.0.10 to 1.0.11
@@ -7,9 +7,7 @@ "use strict"; | ||
exports["default"] = void 0; | ||
var isTouchDevice = function isTouchDevice() { | ||
return typeof window !== 'undefined' ? 'ontouchstart' in window || navigator.maxTouchPoints > 0 : false; | ||
}; | ||
var _default = isTouchDevice; | ||
exports["default"] = _default; | ||
//# sourceMappingURL=index.js.map |
const isTouchDevice = () => typeof window !== 'undefined' ? 'ontouchstart' in window || navigator.maxTouchPoints > 0 : false; | ||
export default isTouchDevice; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@os-design/is-touch-device", | ||
"version": "1.0.10", | ||
"version": "1.0.11", | ||
"license": "UNLICENSED", | ||
@@ -34,3 +34,3 @@ "repository": "git@gitlab.com:os-team/libs/os-design.git", | ||
}, | ||
"gitHead": "174987fc6c9d55db201be10abde3a4cf5a790573" | ||
"gitHead": "8cb28f6719d699c014fbce91d832a9ff06abe515" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
3506