From 182d6be93e9d34f6f60b21fcbfb91b24093b8255 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 28 Jan 2026 12:54:07 +0000 Subject: [PATCH 1/2] Initial plan From 3c7859fe6496111ad7456a64073eb20b8c05038e Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 28 Jan 2026 13:02:36 +0000 Subject: [PATCH 2/2] Fix TypeScript definition error in utf32.d.ts Co-authored-by: ChALkeR <291301+ChALkeR@users.noreply.github.com> --- utf32.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utf32.d.ts b/utf32.d.ts index 3e04d78..7380d8c 100644 --- a/utf32.d.ts +++ b/utf32.d.ts @@ -58,7 +58,7 @@ export function utf32fromStringLoose(string: string, format?: Utf32Format): Uint * * Throws on invalid UTF-32 byte sequences * - * Throws on non-even byte length. + * Throws on byte length not a multiple of 4. * * @param arr - The bytes to decode * @param format - Input format (default: 'uint32') @@ -77,7 +77,7 @@ export function utf32toString(arr: Uint32Array | Uint8Array, format?: Utf32Forma * _Such replacement is a non-injective function, is irreversible and causes collisions.\ * Prefer using strict throwing methods for cryptography applications._ * - * Throws on non-even byte length. + * Throws on byte length not a multiple of 4. * * @param arr - The bytes to decode * @param format - Input format (default: 'uint32')