argon2-browser
Advanced tools
Comparing version 1.7.0 to 1.7.1
@@ -11,2 +11,5 @@ /** | ||
function loadModule(mem) { | ||
if (loadModule._promise) { | ||
return loadModule._promise; | ||
} | ||
if (loadModule._module) { | ||
@@ -32,4 +35,6 @@ return Promise.resolve(loadModule._module); | ||
} | ||
loadModule._promise = promise; | ||
return promise.then(Module => { | ||
loadModule._module = Module; | ||
delete loadModule._promise; | ||
return Module; | ||
@@ -36,0 +41,0 @@ }); |
{ | ||
"name": "argon2-browser", | ||
"version": "1.7.0", | ||
"version": "1.7.1", | ||
"description": "Argon2 library compiled for browser runtime", | ||
@@ -5,0 +5,0 @@ "main": "lib/argon2.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
77193
308