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

detect-browser

Package Overview
Dependencies
Maintainers
3
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 2.3.0 to 2.4.0

1

index.js

@@ -69,2 +69,3 @@ function detect() {

[ 'kakaotalk', /KAKAOTALK\s([0-9\.]+)/ ],
[ 'samsung', /SamsungBrowser\/([0-9\.]+)/ ],
[ 'chrome', /(?!Chrom.*OPR)Chrom(?:e|ium)\/([0-9\.]+)(:?\s|$)/ ],

@@ -71,0 +72,0 @@ [ 'phantomjs', /PhantomJS\/([0-9\.]+)(:?\s|$)/ ],

2

package.json
{
"name": "detect-browser",
"version": "2.3.0",
"version": "2.4.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