webcrypto-core
Advanced tools
Comparing version 1.7.8 to 1.7.9
@@ -385,2 +385,3 @@ /*! | ||
checkAlgorithmParams(algorithm) { | ||
var _a; | ||
this.checkRequiredProperty(algorithm, "iv"); | ||
@@ -393,5 +394,3 @@ if (!(algorithm.iv instanceof ArrayBuffer || ArrayBuffer.isView(algorithm.iv))) { | ||
} | ||
if (!("tagLength" in algorithm)) { | ||
algorithm.tagLength = 128; | ||
} | ||
(_a = algorithm.tagLength) !== null && _a !== void 0 ? _a : (algorithm.tagLength = 128); | ||
switch (algorithm.tagLength) { | ||
@@ -398,0 +397,0 @@ case 32: |
@@ -405,2 +405,3 @@ /*! | ||
checkAlgorithmParams(algorithm) { | ||
var _a; | ||
this.checkRequiredProperty(algorithm, "iv"); | ||
@@ -413,5 +414,3 @@ if (!(algorithm.iv instanceof ArrayBuffer || ArrayBuffer.isView(algorithm.iv))) { | ||
} | ||
if (!("tagLength" in algorithm)) { | ||
algorithm.tagLength = 128; | ||
} | ||
(_a = algorithm.tagLength) !== null && _a !== void 0 ? _a : (algorithm.tagLength = 128); | ||
switch (algorithm.tagLength) { | ||
@@ -418,0 +417,0 @@ case 32: |
{ | ||
"name": "webcrypto-core", | ||
"version": "1.7.8", | ||
"version": "1.7.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
161091
3888