Merge branch 'main' into data-driven

This commit is contained in:
tresabhi committed 2026-11-14 01:20:29 -06:00
commit dcf509f82c
5 files changed
+226 -256

No files matched your search

+1 -2
View File
@@ -1,4 +1,3 @@
import { crc32 } from "crc";
import { decompressBlock } from "lz4js";
/**
@@ -26,7 +25,7 @@ export function readDVPL(buffer: Buffer) {
if (targetBlock.length !== footerData.cSize) {
throw new RangeError("DVPL size mismatch");
}
if (crc32(targetBlock) !== footerData.crc32) {
if (Bun.hash.crc32(targetBlock) !== footerData.crc32) {
throw new TypeError("DVPL CRC32 mismatch");
}