webcrypto-core
Advanced tools
Comparing version 1.1.8 to 1.1.9
@@ -507,4 +507,4 @@ /** | ||
} | ||
if (algorithm.saltLength < 1) { | ||
throw new RangeError("saltLength: Must be more than 0"); | ||
if (algorithm.saltLength < 0) { | ||
throw new RangeError("saltLength: Must be positive number"); | ||
} | ||
@@ -511,0 +511,0 @@ } |
@@ -510,4 +510,4 @@ /** | ||
} | ||
if (algorithm.saltLength < 1) { | ||
throw new RangeError("saltLength: Must be more than 0"); | ||
if (algorithm.saltLength < 0) { | ||
throw new RangeError("saltLength: Must be positive number"); | ||
} | ||
@@ -514,0 +514,0 @@ } |
{ | ||
"name": "webcrypto-core", | ||
"version": "1.1.8", | ||
"version": "1.1.9", | ||
"description": "Common layer to be used by crypto libraries based on WebCrypto API for input validation.", | ||
@@ -5,0 +5,0 @@ "main": "build/webcrypto-core.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
131298