1
0
Fork 0
mirror of https://github.com/codedread/bitjs synced 2025-10-03 09:39:16 +02:00
Commit graph

16 commits

Author SHA1 Message Date
Jeff Schiller
b00dc80946 Update some TODOs for a 2.0 release 2024-01-26 09:23:24 -08:00
Jeff Schiller
4ca68bd336 Fix issue #38: Use runtime's native DecompressionStream to inflate zip streams. 2024-01-25 19:58:18 -08:00
Jeff Schiller
cf26e0a2de Add some unit tests for unarchivers. Provide a way to disconnect the impl from the host (for unit tests). 2023-12-16 15:28:37 -08:00
Jeff Schiller
e6d13d9404 Commonize on port-connected behavior for compressors and decompressors (part of the refactor for issue #44) 2023-12-13 14:25:17 -08:00
Jeff Schiller
48766d0136 For issue #44, make the Zipper use MessageChannel and not have a hard dependency on Worker 2023-12-13 12:40:45 -08:00
Jeff Schiller
eeb228a52b Remove decompress-internal.js and pathToBitJS for decompress. 2023-12-12 21:04:41 -08:00
Jeff Schiller
d557383c9d For issue #44, remove the need for a pathToBitJS while unarchiving. 2023-12-12 17:18:42 -08:00
Jeff Schiller
f71c893f63 Fix issue #44, make decompress work in NodeJS (use Worker only where possible). 2023-12-11 22:00:35 -08:00
Jeff Schiller
5ad89892bd Move archive events into its own module. 2023-12-11 08:57:07 -08:00
Jeff Schiller
8e1f8b139a Rename DecompressorOptions to UnarchiverOptions. Add a ThreadingMode enum (only WebWorkers for now). Remove need to keep a handle to the decompressor impl from Unarchiver. 2023-12-11 08:19:53 -08:00
Jeff Schiller
ac6807edec For Issue #44, introduce a @typedef for UnarchiverOptions 2023-12-11 00:29:50 -08:00
Jeff Schiller
df5c5cfa0f Rework decompression implementations to not be Workers, but instead communicate to the host via a MessagePort. This doesn't address issue #44 directly yet (still need a way to swap out port connection with a non-Web Worker). 2023-12-11 00:12:42 -08:00
Jeff Schiller
63e84dadb0 Issue #28: Removed build step for bitjs.io now that all browsers (Firefox 114+) support ES Module Workers. 2023-05-28 10:39:35 -07:00
Jeff Schiller
84514d1617 Update to @returns in all jsdoc 2022-04-27 13:31:18 -07:00
Jeff Schiller
7746b8c03f Tweak the file signature sniffer so byte tree initialization happens lazily. 2022-01-14 12:17:03 -08:00
Jeff Schiller
cc59935e72 Some minor API updates. 2021-12-29 20:01:48 -08:00