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

@divvit/user-agent-device-mapper

Package Overview
Dependencies
Maintainers
2
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@divvit/user-agent-device-mapper - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

2

index.js

@@ -128,3 +128,3 @@ var tabletUserAgents = {

// check for tablet first
bTabletFound = false;
var bTabletFound = false;
tabletRegex.forEach(function(pattern) {

@@ -131,0 +131,0 @@ if (!bTabletFound && pattern.test(userAgent))

{
"name": "@divvit/user-agent-device-mapper",
"version": "1.0.0",
"version": "1.0.1",
"description": "Map user agents to desktop, mobile or tablet.",

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

@@ -30,2 +30,2 @@ User Agent Device Mapper

* 1.0.0 Migrated to divvit organization
* 1.0.1 Fixed global variable leak
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