File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 2626 "tsc-build" : " tsc --project tsconfig.build.json"
2727 },
2828 "dependencies" : {
29- "iobuffer " : " ^6.0.0 " ,
30- "pako " : " ^2.1 .0"
29+ "fflate " : " ^0.8.2 " ,
30+ "iobuffer " : " ^6.0 .0"
3131 },
3232 "devDependencies" : {
3333 "@types/node" : " ^24.2.1" ,
34- "@types/pako" : " ^2.0.3" ,
3534 "@vitest/coverage-v8" : " ^3.2.4" ,
3635 "@zakodium/tsconfig" : " ^1.0.2" ,
3736 "eslint" : " ^9.33.0" ,
Original file line number Diff line number Diff line change 1- import { inflate } from 'pako ' ;
1+ import { decompressSync } from 'fflate ' ;
22
33export function decompressZlib ( stripData : DataView ) : DataView {
44 const stripUint8 = new Uint8Array (
55 stripData . buffer ,
66 stripData . byteOffset ,
77 stripData . byteLength ,
88 ) ;
9- const inflated = inflate ( stripUint8 ) ;
9+ const inflated = decompressSync ( stripUint8 ) ;
10+
1011 return new DataView (
1112 inflated . buffer ,
1213 inflated . byteOffset ,
You can’t perform that action at this time.
0 commit comments