@trust/webcrypto
Advanced tools
Comparing version 0.8.2 to 0.8.3
{ | ||
"name": "@trust/webcrypto", | ||
"version": "0.8.2", | ||
"version": "0.8.3", | ||
"description": "WebCrypto API for Node.js", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -182,2 +182,3 @@ # W3C Web Cryptography API _(@trust/webcrypto)_ | ||
* Abdulrahman Alotaibi [@adminq80](https://github.com/adminq80) | ||
* Linus Unnebäck [@LinusU](https://github.com/LinusU) | ||
@@ -184,0 +185,0 @@ ## MIT License |
@@ -69,3 +69,3 @@ /** | ||
// 1. Ensure correct data length | ||
if (data.length === undefined || data.length > 549755813632) { // 2^39-256 | ||
if (data.byteLength === undefined || data.byteLength > 549755813632) { // 2^39-256 | ||
throw new OperationError('Data must have a length less than 549755813632.') | ||
@@ -72,0 +72,0 @@ } |
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
397451
97
11847
187