style: apply prettier across the tree

One-shot prettier pass so the new format:check gate starts from a clean
baseline. Formatting only — no behaviour change. Generator-owned and
vendored artifacts stay untouched via .prettierignore.
This commit is contained in:
Marc-André Bombeck committed 2026-06-19 22:20:31 +02:00
1 parent b3fea2ef59
commit 1f4ba5939d
1000 files changed
+12130 -8385

No files matched your search

@@ -21,7 +21,7 @@ function buildMinimalZip(filename: string, payload: Buffer): Buffer {
for (let n = 0; n < 256; n++) {
c = n;
for (let k = 0; k < 8; k++) {
c = (c & 1) ? 0xedb88320 ^ (c >>> 1) : c >>> 1;
c = c & 1 ? 0xedb88320 ^ (c >>> 1) : c >>> 1;
}
table[n] = c;
}
@@ -79,14 +79,7 @@ function buildMinimalZip(filename: string, payload: Buffer): Buffer {
eocd.writeUInt32LE(30 + nameBuf.length + compressed.length, 16);
eocd.writeUInt16LE(0, 20); // comment len
return Buffer.concat([
localHeader,
nameBuf,
compressed,
cdh,
nameBuf,
eocd,
]);
return Buffer.concat([localHeader, nameBuf, compressed, cdh, nameBuf, eocd]);
}
describe("readCentralDirectory", () => {