Update dependency pako to v3 (#34080)

* Update dependency pako to v3

* Handle breaking changes

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
renovate[bot]
2026-07-01 10:38:44 +00:00
committed by GitHub
co-authored by renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Michael Telatynski
parent 27d97d3661
commit 392fcf5eea
3 changed files with 8 additions and 17 deletions
+2 -2
View File
@@ -320,8 +320,8 @@ async function collectLogs(
let buf = new TextEncoder().encode(entry.lines);
// compress
if (gzipLogs) {
buf = pako!.gzip(buf);
if (pako) {
buf = pako.gzip(buf).slice();
}
body.append("compressed-log", new Blob([buf]), entry.id);