@xylabs/arraybuffer
Advanced tools
Comparing version 3.0.18 to 3.0.19
@@ -40,3 +40,3 @@ // src/equalArrayBuffers.ts | ||
result = new Uint8Array([...new Uint8Array(padLength - result.length), ...result]); | ||
assertEx(result?.length <= padLength, "Resulting length is greater than padLength"); | ||
assertEx(result?.length <= padLength, () => "Resulting length is greater than padLength"); | ||
} | ||
@@ -43,0 +43,0 @@ return result; |
@@ -40,3 +40,3 @@ // src/equalArrayBuffers.ts | ||
result = new Uint8Array([...new Uint8Array(padLength - result.length), ...result]); | ||
assertEx((result == null ? void 0 : result.length) <= padLength, "Resulting length is greater than padLength"); | ||
assertEx((result == null ? void 0 : result.length) <= padLength, () => "Resulting length is greater than padLength"); | ||
} | ||
@@ -43,0 +43,0 @@ return result; |
@@ -44,5 +44,5 @@ { | ||
"@scure/base": "^1.1.6", | ||
"@xylabs/assert": "~3.0.18", | ||
"@xylabs/lodash": "^3.0.18", | ||
"@xylabs/typeof": "~3.0.18" | ||
"@xylabs/assert": "~3.0.19", | ||
"@xylabs/lodash": "^3.0.19", | ||
"@xylabs/typeof": "~3.0.19" | ||
}, | ||
@@ -72,4 +72,4 @@ "devDependencies": { | ||
"sideEffects": false, | ||
"version": "3.0.18", | ||
"version": "3.0.19", | ||
"type": "module" | ||
} |
@@ -34,3 +34,3 @@ import { base16, base58 } from '@scure/base' | ||
result = new Uint8Array([...new Uint8Array(padLength - result.length), ...result]) | ||
assertEx(result?.length <= padLength, 'Resulting length is greater than padLength') | ||
assertEx(result?.length <= padLength, () => 'Resulting length is greater than padLength') | ||
} | ||
@@ -37,0 +37,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
53671
Updated@xylabs/assert@~3.0.19
Updated@xylabs/lodash@^3.0.19
Updated@xylabs/typeof@~3.0.19