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

51degrees

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

51degrees - npm Package Compare versions

Comparing version 1.2.4 to 1.2.5

2

index.js

@@ -148,2 +148,2 @@ /*

'Xhr2'
]
];
{
"name": "51degrees",
"version": "1.2.4",
"version": "1.2.5",
"description": "51degrees c-sdk native bindings for nodejs",

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

@@ -43,2 +43,17 @@ /*

test('pattern overflow', function(t) {
var ua = new Buffer(1000);
for (var i=0; i<1000; i++) {
ua[i] = 50;
}
var parser = new Parser('pattern', {properties: properties});
var throwed = false;
try { parser.parse(ua); }
catch (e) {
throwed = true;
}
t.equal(throwed, true);
t.end();
});
test('trie', function(t) {

@@ -45,0 +60,0 @@ var parser = new Parser('trie', {properties: properties});

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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