Socket
Socket
Sign inDemoInstall

useragent

Package Overview
Dependencies
1
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.9 to 2.0.10

2

package.json
{
"name": "useragent",
"version": "2.0.9",
"version": "2.0.10",
"description": "Fastest, most accurate & effecient user agent string parser, uses Browserscope's research for parsing",

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

@@ -100,2 +100,9 @@ describe('useragent', function () {

});
it('correctly parses iOS8', function () {
var agent = useragent.parse('Mozilla/5.0 (iPhone; CPU iPhone OS 8_0 like Mac OS X) AppleWebKit/600.1.4 (KHTML, like Gecko) Version/8.0 Mobile/12A365 Safari/600.1.4');
agent.os.family.should.equal('iOS');
agent.os.major.should.equal('8');
});
});

@@ -185,3 +192,3 @@

useragent.is(ie).android.should.equal(false);
useragent.is(ie11).chrome.should.equal(false);

@@ -188,0 +195,0 @@ useragent.is(ie11).webkit.should.equal(false);

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