Skip to content

Commit 90940ee

Browse files
Merge pull request #1249 from SwiftFiddle/renovate/pako-3.x
Update dependency pako to v3
2 parents 6989bde + f278a63 commit 90940ee

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

Public/js/decoder.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export class Decoder {
44
static decode(string) {
55
const base64 = decodeURIComponent(string);
66
const gziped = Uint8Array.from(atob(base64), (c) => c.charCodeAt(0));
7-
const json = ungzip(gziped, { to: "string" });
7+
const json = ungzip(gziped, { toText: true });
88
return JSON.parse(json);
99
}
1010
}

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"@popperjs/core": "2.11.8",
1414
"bootstrap": "5.3.8",
1515
"monaco-editor": "0.55.1",
16-
"pako": "2.2.0",
16+
"pako": "3.0.0",
1717
"reconnecting-websocket": "4.4.0",
1818
"xterm": "5.3.0",
1919
"xterm-addon-fit": "0.8.0",

0 commit comments

Comments
 (0)