Commit Graph

8 Commits

Author SHA1 Message Date
David Silverlind 62672059e5 fix(index): skip undefined options (#763) 2026-04-30 09:47:53 +01:00
Frazer Smith 710f1a9790 chore: use correct terminology; use complete sentences (#757) 2026-03-09 16:24:35 +00:00
Frazer Smith 83d792baf1 chore: use ts-expect-error over ts-ignore (#756) 2026-03-05 10:17:41 +00:00
Frazer Smith f0e42f34ad fix(index): skip version checks for false boolean options (#751)
* fix(index): skip version checks for `false` boolean options

* test(index): version skip check
2026-02-24 18:36:04 +00:00
Copilot 58853a0bd3 feat: add AbortSignal support to all pdf* functions (#742)
* Initial plan

* feat: add AbortSignal support to all pdf* functions

Co-authored-by: Fdawgs <43814140+Fdawgs@users.noreply.github.com>

* test: add AbortSignal tests for pdfInfo and pdfAttach

Co-authored-by: Fdawgs <43814140+Fdawgs@users.noreply.github.com>

* style: apply prettier formatting

Co-authored-by: Fdawgs <43814140+Fdawgs@users.noreply.github.com>

* fix: address code review feedback - fix spelling and pdfDetach consistency

Co-authored-by: Fdawgs <43814140+Fdawgs@users.noreply.github.com>

* fix: improve pdfInfo abort test reliability by aborting synchronously

Co-authored-by: Fdawgs <43814140+Fdawgs@users.noreply.github.com>

* fix: use setImmediate for pdfInfo abort during test to improve Windows reliability

Co-authored-by: Fdawgs <43814140+Fdawgs@users.noreply.github.com>

* test: use setimmediate everywhere

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Fdawgs <43814140+Fdawgs@users.noreply.github.com>
Co-authored-by: Frazer Smith <frazer.dev@icloud.com>
2026-01-08 16:28:13 +00:00
Frazer Smith 4194504e57 test(index): cover spawn errors (#732)
* chore: remove instanbul ignore comments

* chore: correct ignore type

* test(index): cover spawn errors in `execBinary`

* test(index): cover spawn errors in `pdfInfo`

* chore: up test threshold

* test(index): remove duplicate arrays
2025-11-27 19:04:42 +00:00
Frazer Smith 4abae6a199 refactor(index): use execBinary for attach, separate, unite, and html (#733)
* refactor(index): rename `execBinary` to `execBin`

* refactor(index): use `execBinary` for attach, separate, and unite

* refactor(index): use `execBinary` for pdftohtml

* fix: remove undefined
2025-11-27 16:11:06 +00:00
Frazer Smith 6669df4248 chore: move tests from src to test dir (#724)
* chore: move tests from src to test dir

* test: ignore fixtures with linting
2025-11-19 13:49:33 +00:00