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

@jam3/detect

Package Overview
Dependencies
Maintainers
15
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jam3/detect - npm Package Compare versions

Comparing version 2.0.3 to 2.0.4

2

package.json
{
"name": "@jam3/detect",
"version": "2.0.3",
"version": "2.0.4",
"description": "User agent feature detection like Device Orientation, in App Browser Detection, etc",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -182,3 +182,3 @@ import bowser from 'bowser';

this.browser = !this.node;
this.touch = 'ontouchstart' in window || navigator.maxTouchPoints > 0;
this.touch = 'ontouchstart' in detector.window || detector.window.navigator.maxTouchPoints > 0;
}

@@ -185,0 +185,0 @@ get orientation() {

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