Comparing version 0.2.3 to 0.2.4
@@ -26,3 +26,3 @@ 'use strict'; | ||
// Safari doesn't support U2F, and the Safari-FIDO-U2F | ||
// extension lacks full support (Multi-factet apps), so we | ||
// extension lacks full support (Multi-facet apps), so we | ||
// block it until proper support. | ||
@@ -47,2 +47,6 @@ return notSupported( ); | ||
if ( typeof MessageChannel === 'undefined' ) | ||
// Unsupported browser, the chrome hack would throw | ||
return notSupported( ); | ||
// Test for google extension support | ||
@@ -49,0 +53,0 @@ chromeApi.isSupported( function( ok ) |
@@ -5,3 +5,3 @@ { | ||
"license": "MIT", | ||
"version": "0.2.3", | ||
"version": "0.2.4", | ||
"author": "Gustaf Räntilä <g.rantila@gmail.com>", | ||
@@ -12,2 +12,8 @@ "repository": { | ||
}, | ||
"scripts": { | ||
"test": "scripts/test.sh" | ||
}, | ||
"pre-commit": [ | ||
"test" | ||
], | ||
"keywords": [ | ||
@@ -23,3 +29,12 @@ "u2f", | ||
], | ||
"types": "./index.d.ts" | ||
"types": "./index.d.ts", | ||
"devDependencies": { | ||
"@types/mocha": "^2.2.43", | ||
"already": "^0.6.0", | ||
"chai": "^4.1.2", | ||
"jsdom": "^11.2.0", | ||
"mocha": "^3.5.3", | ||
"pre-commit": "^1.2.2", | ||
"typescript": "^2.5.3" | ||
} | ||
} |
@@ -0,1 +1,4 @@ | ||
[![npm version][npm-image]][npm-url] | ||
[![build status][travis-image]][travis-url] | ||
# u2f-api | ||
@@ -149,1 +152,6 @@ | ||
For more information, please see https://developers.yubico.com/U2F/Libraries/Client_error_codes.html and https://developers.yubico.com/U2F/App_ID.html | ||
[npm-image]: https://img.shields.io/npm/v/u2f-api.svg | ||
[npm-url]: https://npmjs.org/package/u2f-api | ||
[travis-image]: https://img.shields.io/travis/grantila/u2f-api.svg | ||
[travis-url]: https://travis-ci.org/grantila/u2f-api |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
45255
17
1145
157
7
1