From 1d2443c186f6600283add8f8cc7f0f169274182d Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Mon, 26 Oct 2026 13:47:55 +0100 Subject: [PATCH] Fix typos Signed-off-by: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> --- bench/wasm.ts | 4 ++-- bin/build_wasm.ts | 2 +- examples/wasm.ts | 2 +- test/response/transfer-encoding.md | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/bench/wasm.ts b/bench/wasm.ts index 820b6779..a1654667 100644 --- a/bench/wasm.ts +++ b/bench/wasm.ts @@ -111,11 +111,11 @@ async function main () { const samples = formatNumber(iterations, 0).padStart(12); const size = formatNumber(total / (1024 * 1024), 2).padStart(8); const speed = formatNumber(bw / (1024 * 1024), 2).padStart(10); - const throughtput = formatNumber(iterations / time, 2).padStart(10); + const throughput = formatNumber(iterations / time, 2).padStart(10); const duration = formatNumber(time, 2).padStart(6); console.log( - `${label} | ${samples} samples | ${size} MB | ${speed} MB/s | ${throughtput} ops/sec | ${duration} s` + `${label} | ${samples} samples | ${size} MB | ${speed} MB/s | ${throughput} ops/sec | ${duration} s` ); } } diff --git a/bin/build_wasm.ts b/bin/build_wasm.ts index d8dc1ab5..639623c4 100644 --- a/bin/build_wasm.ts +++ b/bin/build_wasm.ts @@ -35,7 +35,7 @@ if (process.argv[2] === '--docker') { let cmd = `docker run --rm --platform=${platform.toString().trim()}`; // Try to avoid root permission problems on compiled assets // when running on linux. - // It will work flawessly if uid === gid === 1000 + // It will work flawlessly if uid === gid === 1000 // there will be some warnings otherwise. if (process.platform === 'linux') { cmd += ` --user ${process.getuid!()}:${process.getegid!()}`; diff --git a/examples/wasm.ts b/examples/wasm.ts index 89f9cb2a..b1680d3a 100644 --- a/examples/wasm.ts +++ b/examples/wasm.ts @@ -1,5 +1,5 @@ /** - * A minimal Parser that mimicks a small fraction of the Node.js parser + * A minimal Parser that mimics a small fraction of the Node.js parser * API. * To run: * - `npm run build-wasm` diff --git a/test/response/transfer-encoding.md b/test/response/transfer-encoding.md index 55a2543d..f8fc47ac 100644 --- a/test/response/transfer-encoding.md +++ b/test/response/transfer-encoding.md @@ -166,7 +166,7 @@ off=89 headers complete status=200 v=1/1 flags=200 content_length=0 off=89 len=5 span[body]="World" ``` -## `chunkedchunked` transfer-encoding does not enable chunked enconding +## `chunkedchunked` transfer-encoding does not enable chunked encoding This check that the word `chunked` repeat more than once (with or without spaces) does not mistakenly enables chunked encoding.