go-webauthn-js
Advanced tools
Comparing version 0.0.6 to 0.0.7
@@ -10,2 +10,4 @@ "use strict"; | ||
require(path.resolve(__dirname, './go-webauthn')); | ||
if (!WebAuthnGoJS) | ||
WebAuthnGoJS = global.WebAuthnGoJS; | ||
return WebAuthnGoJS.CreateContext(JSON.stringify(configuration), callback); | ||
@@ -12,0 +14,0 @@ } |
@@ -37,9 +37,17 @@ "use strict"; | ||
} | ||
$global.process.getuid = $global.process.getuid || function () { return -1; }; | ||
$global.process.getgid = $global.process.getgid || function () { return -1; }; | ||
$global.process.geteuid = $global.process.geteuid || function () { return -1; }; | ||
$global.process.getegid = $global.process.getegid || function () { return -1; }; | ||
$global.process.pid = $global.process.pid || -1; | ||
$global.process.ppid = $global.process.ppid || -1; | ||
$global.process.env = $global.process.env || {}; | ||
$global.process.argv = $global.process.argv || ['node']; | ||
if (!$global.process.getuid) | ||
$global.process.getuid = $global.process.getuid || function () { return -1; }; | ||
if (!$global.process.getgid) | ||
$global.process.getgid = $global.process.getgid || function () { return -1; }; | ||
if (!$global.process.geteuid) | ||
$global.process.geteuid = $global.process.geteuid || function () { return -1; }; | ||
if (!$global.process.getegid) | ||
$global.process.getegid = $global.process.getegid || function () { return -1; }; | ||
if (!$global.process.pid) | ||
$global.process.pid = $global.process.pid || -1; | ||
if (!$global.process.ppid) | ||
$global.process.ppid = $global.process.ppid || -1; | ||
if (!$global.process.env) | ||
$global.process.env = $global.process.env || {}; | ||
if (!$global.process.argv) | ||
$global.process.argv = $global.process.argv || ['node']; |
{ | ||
"name": "go-webauthn-js", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"description": "WebAuthn cross compiled from Go to JS", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
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
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
4917442
1161