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.4 to 2.0.5

2

dist/index.js

@@ -160,3 +160,3 @@ 'use strict';

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

@@ -163,0 +163,0 @@ Object.defineProperty(Device.prototype, "orientation", {

@@ -152,3 +152,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;
}

@@ -155,0 +155,0 @@ Object.defineProperty(Device.prototype, "orientation", {

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

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

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