Socket
Socket
Sign inDemoInstall

detect-browser

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

detect-browser - npm Package Compare versions

Comparing version 1.2.0 to 1.3.0

3

browser.js

@@ -12,3 +12,4 @@ var browsers = [

[ 'ios', /iPhone\;\sCPU\siPhone\sOS\s([0-9\._]+)/ ],
[ 'safari', /Safari\/([0-9\._]+)/ ]
[ 'safari', /Safari\/([0-9\._]+)/ ],
[ 'edge', /Edge\/([0-9\._]+)/ ]
];

@@ -15,0 +16,0 @@

{
"name": "detect-browser",
"version": "1.2.0",
"version": "1.3.0",
"description": "Unpack a browser type and version from the useragent string",

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

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