Socket
Socket
Sign inDemoInstall

useragent

Package Overview
Dependencies
3
Maintainers
2
Versions
39
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.1.12 to 2.1.13

4

index.js

@@ -420,4 +420,4 @@ 'use strict';

code = userAgent.charCodeAt(i);
// numbers between 0 and 9
if (code >= 48 && code <= 57) {
// numbers between 0 and 9, letters between a and z
if ((code >= 48 && code <= 57) || (code >= 97 && code <= 122)) {
consecutive++;

@@ -424,0 +424,0 @@ } else {

{
"name": "useragent",
"version": "2.1.12",
"version": "2.1.13",
"description": "Fastest, most accurate & effecient user agent string parser, uses Browserscope's research for parsing",

@@ -5,0 +5,0 @@ "author": "Arnout Kazemier",

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc