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.0 to 2.0.1

2

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

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

import bowser from 'bowser';
const detector =
export const detector =
typeof window !== 'undefined'

@@ -207,6 +207,10 @@ ? {

export const os = new OS();
export const browser = new Browser();
export const device = new Device();
class Detect {
os = new OS();
browser = new Browser();
device = new Device();
os = os;
browser = browser;
device = device;
detector = detector;

@@ -213,0 +217,0 @@ }

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