Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@os-design/is-touch-device

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@os-design/is-touch-device - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

2

dist/cjs/index.js

@@ -9,3 +9,3 @@ "use strict";

var isTouchDevice = function isTouchDevice() {
return typeof window !== 'undefined' ? 'ontouchstart' in window || navigator.msMaxTouchPoints > 0 : false;
return typeof window !== 'undefined' ? 'ontouchstart' in window || navigator.maxTouchPoints > 0 : false;
};

@@ -12,0 +12,0 @@

@@ -1,4 +0,4 @@

const isTouchDevice = () => typeof window !== 'undefined' ? 'ontouchstart' in window || navigator.msMaxTouchPoints > 0 : false;
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.5",
"version": "1.0.6",
"license": "UNLICENSED",

@@ -33,3 +33,3 @@ "repository": "git@gitlab.com:os-team/libs/os-design.git",

},
"gitHead": "990fa0eb8e38bbb94ebea1ba0c825574ff11fe5e"
"gitHead": "f8ca9a29bb4131d35eff737da2c6b3bcb594c3b3"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc