Socket
Socket
Sign inDemoInstall

@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.10 to 1.0.11

2

dist/cjs/index.js

@@ -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

4

package.json
{
"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

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