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

u2f-api

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

u2f-api - npm Package Compare versions

Comparing version 0.0.7 to 0.0.8

12

lib/u2f-api.js

@@ -68,8 +68,10 @@ 'use strict';

if ( navigator.userAgent.match(/Safari\//)
&& !navigator.userAgent.match(/Chrome\//) )
{
return Promise.reject( new Error( "U2F not supported" ) );
}
var isSafari = navigator.userAgent.match( /Safari\// )
&& !navigator.userAgent.match( /Chrome\// );
var isEDGE = navigator.userAgent.match( /Edge\/12/ );
if ( isSafari || isEDGE )
return Promise.resolve( false );
return defer( Promise, coreApi.isSupported ).promise;

@@ -76,0 +78,0 @@ }

@@ -5,3 +5,3 @@ {

"license": "MIT",
"version": "0.0.7",
"version": "0.0.8",
"author": "Gustaf Räntilä <g.rantila@gmail.com>",

@@ -8,0 +8,0 @@ "repository": {

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