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

99 commits

Author SHA1 Message Date
Jeff Schiller
24312405b5 Improve handling of fLaC 2023-02-05 21:44:00 -08:00
Jeff Schiller
303c635b90 Add support for FLAC in sniffer and codecs package. 2023-02-05 19:39:04 -08:00
Jeff Schiller
44beb992bf v1.08: Add handling of AC-3 audio codec too... 2023-02-01 21:59:26 -08:00
Jeff Schiller
a24524e772 Release v1.07: Add MPEG2 video codec support. 2023-02-01 21:47:01 -08:00
Jeff Schiller
726feee48f 1.0.6: Return 'vp9' for the video codec in getFullMIMEString(). Also move the annoying warning in deprecated archive.js. 2022-11-25 10:58:12 -08:00
Jeff Schiller
d3b8765b42 Add vorbis/opus support in codecs. 2022-11-06 01:39:36 -07:00
Jeff Schiller
2a37f87242 Add handling when codec_name is set but codec_tag_string is not parse-able 2022-11-06 01:09:43 -07:00
Jeff Schiller
744162ec5b Add support for AAC-LC codec 2022-10-30 23:47:38 -07:00
Jeff Schiller
fd2815ce83 A couple typos 2022-10-30 14:26:25 -07:00
Jeff Schiller
623e99cd2b Add a package for detect audio/video codec information from ffprobe JSON output 2022-10-30 14:24:19 -07:00
Jeff Schiller
cc59935e72 Some minor API updates. 2021-12-29 20:01:48 -08:00
Jeff Schiller
24b1603968 Add a BitBuffer to the io package and a few tests 2021-12-20 20:35:59 -08:00
Jeff Schiller
c0afe7637e Start on issue #29: Add a Zipper that can take multiple files and produce a zip file as an array of bytes (storage only, no compression) 2021-12-12 23:39:09 -08:00
Jeff Schiller
7389b71cf9 Delete 2021-12-12 16:57:16 -08:00
Jeff Schiller
a7458aca9d Fix references in rename 2021-12-12 16:55:38 -08:00
Jeff Schiller
adc2f698ae Rename unzipper test harness files. 2021-12-12 15:34:58 -08:00
Jeff Schiller
843caf4e61 Use JS Map instead of JS object for the huffman code tables. Seems to be a pretty good performance improvement on Chrome, Safari, Firefox. 2021-12-12 00:32:28 -08:00
Jeff Schiller
cd847d1b71 Add TAR magic numbers to file sniffer. 2021-06-20 12:59:11 -07:00
Jeff Schiller
f195434de5 For Issue #27, rewrite most tests to use mocha/chai via npm run test 2021-06-02 23:26:58 -07:00
codedread
557a40e810 Add a couple audio file formats to sniffer 2020-07-17 11:01:08 -07:00
codedread
2db5b3b906 Fix issue #19: Support data descriptors in unzip. 2020-04-30 23:54:21 -07:00
codedread
f42dd8158b Update test files to be ES modules for Issue #16 2020-04-02 19:46:14 -07:00
codedread
0312134ae3 Update file sniffer to be an ES module 2020-04-02 19:30:21 -07:00
codedread
2cc77f905b Turn archive.js into an ES module for Issue #16 2020-04-02 17:29:02 -07:00
codedread
ab5f6fc6d2 Make ByteStream and ByteBuffer into modules with Worker veresions via build for Issue #16 2020-04-02 00:07:14 -07:00
codedread
a457564ff0 Start on Issue #16. Make BitStream a module, but provide a Web Worker version of BitStream via a build step 2020-04-01 23:08:09 -07:00
codedread
4ec6a35b35 Add bz2 and pdf to file sniffer. Allow multiple signatures per file type. 2020-03-19 09:22:19 -07:00
codedread
3117a2897f Add several more image and archive formats to the File Sniffer. 2020-03-16 23:36:28 -07:00
codedread
59d677c6bb Add starter file sniffer for detecting file types 2020-03-16 21:17:58 -07:00
codedread
a6f9026ab1 Remove pushing and throwing errors from BitStream and update unit tests. Update unrar to use a ByteStream for the RAR file header (like unzip) 2018-01-30 00:16:38 -08:00
codedread
3c5c9cbd4c Fix tee() methods on streams and add a unit test. Also improve error message logging in the test harness 2018-01-23 23:56:03 -08:00
codedread
5b10c1a986 Make bitstreams pushable 2018-01-21 01:49:17 -08:00
codedread
26d06e8d3b Make ByteStream pushable (allow multiple pages of bytes) 2018-01-20 23:38:52 -08:00
codedread
f9f0bc10de Renamed test file 2018-01-20 11:12:31 -08:00
codedread
2d53b90bda Split out io tests into individual files 2018-01-20 10:37:16 -08:00
codedread
ed15993286 Use modern function property syntax in the test harness 2018-01-20 09:53:20 -08:00
codedread
fcbf024848 alias the assert calls 2018-01-20 09:45:00 -08:00
codedread
73a46c256c Update test harness for assertThrows() 2018-01-20 09:40:21 -08:00
codedread
ec27877ffa Improve parameter validation and test coverage. Also add errorws when trying to seek past the end of the stream 2018-01-19 17:40:43 -08:00
codedread
981ac156ac Add some tests for BitStreams 2018-01-19 08:35:51 -08:00
codedread
e7ef46fb78 Fix whitespace and style 2018-01-19 07:47:49 -08:00
codedread
ea20a6a518 Fix untarring by ensuring it gets a fresh buffer of data and add a test 2017-02-20 23:40:33 -08:00
codedread
9a0b91a535 Ensure all tests run synchronously 2017-02-20 18:49:29 -08:00
codedread
639a23e69b Start the move to es6: Change all vars to lets/consts 2017-02-20 12:47:17 -08:00
codedread
87cdd92981 Name io-test consistently 2017-02-19 12:44:58 -08:00
codedread
2488bb43b5 Add some more unrar tests 2017-02-19 12:39:10 -08:00
codedread
8562d76a92 Add test files for unzip-store and unrar 2017-02-19 11:56:55 -08:00
codedread
66ff50f0bf Move archive test files into a subdir 2017-02-19 10:42:49 -08:00
codedread
fde652676c Add first test for unzip and move io tests into the tests folder 2017-02-19 10:27:45 -08:00