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:
co-authored by
renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Michael Telatynski
parent
27d97d3661
commit
392fcf5eea
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user