webcrypto-core
Advanced tools
Comparing version 0.1.11 to 0.1.12
@@ -1037,4 +1037,4 @@ import { __extends } from 'tslib'; | ||
} | ||
if (alg.saltLength % 8) { | ||
throw new RsaPSSParamsError("Parameter 'saltLength' should be a multiple of 8"); | ||
if (alg.saltLength < 0) { | ||
throw new RsaPSSParamsError("Parameter 'saltLength' is outside of numeric range"); | ||
} | ||
@@ -1041,0 +1041,0 @@ }; |
@@ -1040,4 +1040,4 @@ 'use strict'; | ||
} | ||
if (alg.saltLength % 8) { | ||
throw new RsaPSSParamsError("Parameter 'saltLength' should be a multiple of 8"); | ||
if (alg.saltLength < 0) { | ||
throw new RsaPSSParamsError("Parameter 'saltLength' is outside of numeric range"); | ||
} | ||
@@ -1044,0 +1044,0 @@ }; |
{ | ||
"name": "webcrypto-core", | ||
"version": "0.1.11", | ||
"version": "0.1.12", | ||
"description": "Common layer to be used by crypto libraries based on WebCrypto API for input validation.", | ||
@@ -5,0 +5,0 @@ "main": "dist/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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
219721
0