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
@@ -89,7 +89,7 @@
|
||||
"mime": "^4.0.4",
|
||||
"oidc-client-ts": "^3.0.1",
|
||||
"opus-recorder": "^8.0.3",
|
||||
"pako": "^2.0.3",
|
||||
"pako": "^3.0.0",
|
||||
"png-chunks-extract": "^1.0.0",
|
||||
"posthog-js": "1.394.0",
|
||||
"qrcode": "1.5.4",
|
||||
@@ -154,7 +154,6 @@
|
||||
"@types/lodash": "^4.14.168",
|
||||
"@types/modernizr": "^3.5.3",
|
||||
"@types/node": "catalog:",
|
||||
"@types/pako": "^2.0.0",
|
||||
"@types/postcss-import": "^14.0.3",
|
||||
"@types/qrcode": "^1.3.5",
|
||||
"@types/react": "catalog:",
|
||||
|
||||
@@ -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);
|
||||
|
||||
Generated
+5
-13
@@ -655,8 +655,8 @@ importers:
|
||||
specifier: ^8.0.3
|
||||
version: 8.0.5
|
||||
pako:
|
||||
specifier: ^2.0.3
|
||||
version: 2.2.0
|
||||
specifier: ^3.0.0
|
||||
version: 3.0.0
|
||||
png-chunks-extract:
|
||||
specifier: ^1.0.0
|
||||
version: 1.0.0
|
||||
@@ -844,9 +844,6 @@ importers:
|
||||
'@types/node':
|
||||
specifier: 25.9.3
|
||||
version: 25.9.3
|
||||
'@types/pako':
|
||||
specifier: ^2.0.0
|
||||
version: 2.0.4
|
||||
'@types/postcss-import':
|
||||
specifier: ^14.0.3
|
||||
version: 14.0.3
|
||||
@@ -6173,9 +6170,6 @@ packages:
|
||||
'@types/pacote@11.1.8':
|
||||
resolution: {integrity: sha512-/XLR0VoTh2JEO0jJg1q/e6Rh9bxjBq9vorJuQmtT7rRrXSiWz7e7NsvXVYJQ0i8JxMlBMPPYDTnrRe7MZRFA8Q==}
|
||||
|
||||
'@types/pako@2.0.4':
|
||||
resolution: {integrity: sha512-VWDCbrLeVXJM9fihYodcLiIv0ku+AlOa/TQ1SvYOaBuyrSKgEcro95LJyIsJ4vSo6BXIxOKxiJAat04CmST9Fw==}
|
||||
|
||||
'@types/parse-json@4.0.2':
|
||||
resolution: {integrity: sha512-dISoDXWWQwUquiKsyZ4Ng+HX2KsPL7LyHKHQwgGFEA3IaKac4Obd+h2a/a6waisAoepJlBcx9paWqjA8/HVjCw==}
|
||||
|
||||
@@ -11280,8 +11274,8 @@ packages:
|
||||
pako@1.0.11:
|
||||
resolution: {integrity: sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw==}
|
||||
|
||||
pako@2.2.0:
|
||||
resolution: {integrity: sha512-zJq6RP/5q+TO2OpFV3FHzlPnFjmkb7Nc99a5SNjJE+uu/PkpChs+NIZSSzbBoD+6kjiISXjfYdwj1ZRQ81dz/w==}
|
||||
pako@3.0.0:
|
||||
resolution: {integrity: sha512-TGPtlCI1pSUSbkOIxOUUHNrBa0muz4mAp32cYUF3RoSa5c73jiQTKOKo22gaa4DxLggQrda/DAdax5QkcHPvYA==}
|
||||
|
||||
param-case@3.0.4:
|
||||
resolution: {integrity: sha512-RXlj7zCYokReqWpOPH9oYivUzLYZ5vAPIfEmCTNViosC78F8F0H9y7T7gG2M39ymgutxF5gcFEsyZQSph9Bp3A==}
|
||||
@@ -19185,8 +19179,6 @@ snapshots:
|
||||
'@types/npmlog': 7.0.0
|
||||
'@types/ssri': 7.1.5
|
||||
|
||||
'@types/pako@2.0.4': {}
|
||||
|
||||
'@types/parse-json@4.0.2': {}
|
||||
|
||||
'@types/pg-pool@2.0.7':
|
||||
@@ -25462,7 +25454,7 @@ snapshots:
|
||||
|
||||
pako@1.0.11: {}
|
||||
|
||||
pako@2.2.0: {}
|
||||
pako@3.0.0: {}
|
||||
|
||||
param-case@3.0.4:
|
||||
dependencies:
|
||||
|
||||
Reference in New Issue
Block a user