Commit Graph

1523 Commits

Author SHA1 Message Date
github-actions[bot] 38744e5413 chore(main): release 9.1.2 (#747)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
v9.1.2
2026-04-30 09:54:51 +01:00
David Silverlind 62672059e5 fix(index): skip undefined options (#763) 2026-04-30 09:47:53 +01:00
dependabot[bot] dbfcab87cf ci(deps): bump actions/dependency-review-action from 4.8.3 to 4.9.0 (#761)
Bumps [actions/dependency-review-action](https://github.com/actions/dependency-review-action) from 4.8.3 to 4.9.0.
- [Release notes](https://github.com/actions/dependency-review-action/releases)
- [Commits](https://github.com/actions/dependency-review-action/compare/05fe4576374b728f0c523d6a13d64c25081e0803...2031cfc080254a8a887f58cffee85186f0e49e48)

---
updated-dependencies:
- dependency-name: actions/dependency-review-action
  dependency-version: 4.9.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-01 22:51:06 +00:00
Frazer Smith 89f7a09cb8 chore(.vscode): update js and telemetry settings (#760) 2026-03-21 12:27:46 +00:00
Frazer Smith 0cc6d106d7 chore(index): add inline comment re windows which (#759) 2026-03-09 18:39:59 +00:00
Frazer Smith c8630fe135 docs(readme): remove stray word (#758) 2026-03-09 18:39:47 +00: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
dependabot[bot] 53a48d013e ci(deps): bump actions/dependency-review-action from 4.8.2 to 4.8.3 (#754)
Bumps [actions/dependency-review-action](https://github.com/actions/dependency-review-action) from 4.8.2 to 4.8.3.
- [Release notes](https://github.com/actions/dependency-review-action/releases)
- [Commits](https://github.com/actions/dependency-review-action/compare/3c4e3dcb1aa7874d2c16be7d79418e9b7efd6261...05fe4576374b728f0c523d6a13d64c25081e0803)

---
updated-dependencies:
- dependency-name: actions/dependency-review-action
  dependency-version: 4.8.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-01 18:03:59 +00:00
Frazer Smith 480676187b chore(package): stop running lint:prettier twice on test call (#752) 2026-02-25 13:30:54 +00:00
Frazer Smith 74696ed3d9 ci(cd): make provenance publishing explicit (#753)
Security tooling can't tell i'm using npm's oidc for provenance, so add this back in.
2026-02-25 13:29:13 +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
Frazer Smith 1378e0dc3e chore(license): add contact email (#749) 2026-02-19 06:46:19 +00:00
Frazer Smith 1bff90d95e chore(index): replace any type with union of poppler func typedefs (#748)
* chore(index): replace `any` type with union of poppler func typedefs

* chore(index): add `PopplerOptions` typedef
2026-02-18 16:42:21 +00:00
Frazer Smith b59f300be5 perf(index): cache typeof result in parseOptions (#746) 2026-02-18 12:59:50 +00:00
dependabot[bot] e9b855e2b3 build(deps-dev): bump licensee from 11.1.1 to 12.0.1 (#745)
Bumps [licensee](https://github.com/jslicense/licensee.js) from 11.1.1 to 12.0.1.
- [Commits](https://github.com/jslicense/licensee.js/compare/v11.1.1...v12.0.1)

---
updated-dependencies:
- dependency-name: licensee
  dependency-version: 12.0.1
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-01 18:05:23 +00:00
github-actions[bot] 16a09eabbd chore(main): release 9.1.1 (#744)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
v9.1.1
2026-01-30 08:35:40 +00:00
Frazer Smith c68275050d chore(index): refine pdfInfo return type (#743)
* chore(index): refine `pdfInfo` return type

* chore(index): remove redundant ts-ignore comment
2026-01-30 08:34:47 +00:00
github-actions[bot] 0c2705278a chore(main): release 9.1.0 (#727) v9.1.0 2026-01-09 08:11:08 +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
dependabot[bot] fb953a1219 build(deps-dev): bump @types/node from 24.10.4 to 25.0.3 (#740)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 24.10.4 to 25.0.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 25.0.3
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-01 18:04:08 +00:00
Frazer Smith ba5f382a21 refactor(index): freeze #acceptedOptions object (#739) 2025-12-02 11:25:17 +00:00
dependabot[bot] 6db161718f ci(deps): bump coverallsapp/github-action from 2.3.6 to 2.3.7 (#737)
Bumps [coverallsapp/github-action](https://github.com/coverallsapp/github-action) from 2.3.6 to 2.3.7.
- [Release notes](https://github.com/coverallsapp/github-action/releases)
- [Commits](https://github.com/coverallsapp/github-action/compare/648a8eb78e6d50909eff900e4ec85cab4524a45b...5cbfd81b66ca5d10c19b062c04de0199c215fb6e)

---
updated-dependencies:
- dependency-name: coverallsapp/github-action
  dependency-version: 2.3.7
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-02 08:30:17 +00:00
dependabot[bot] d6898ab4f5 ci(deps): bump actions/dependency-review-action from 4.8.1 to 4.8.2 (#738)
Bumps [actions/dependency-review-action](https://github.com/actions/dependency-review-action) from 4.8.1 to 4.8.2.
- [Release notes](https://github.com/actions/dependency-review-action/releases)
- [Commits](https://github.com/actions/dependency-review-action/compare/40c09b7dc99638e5ddb0bfd91c1673effc064d8a...3c4e3dcb1aa7874d2c16be7d79418e9b7efd6261)

---
updated-dependencies:
- dependency-name: actions/dependency-review-action
  dependency-version: 4.8.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-02 08:30:09 +00:00
dependabot[bot] e5790ea268 ci(deps): bump actions/checkout from 5 to 6 (#736)
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-01 21:10:21 +00:00
dependabot[bot] a95455f3e9 build(deps-dev): bump glob from 11.1.0 to 13.0.0 (#735)
Bumps [glob](https://github.com/isaacs/node-glob) from 11.1.0 to 13.0.0.
- [Changelog](https://github.com/isaacs/node-glob/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/node-glob/compare/v11.1.0...v13.0.0)

---
updated-dependencies:
- dependency-name: glob
  dependency-version: 13.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-01 19:57:51 +00:00
dependabot[bot] a250df14e9 build(deps-dev): bump @eslint/compat in the eslint group (#734)
Bumps the eslint group with 1 update: [@eslint/compat](https://github.com/eslint/rewrite/tree/HEAD/packages/compat).


Updates `@eslint/compat` from 1.4.1 to 2.0.0
- [Release notes](https://github.com/eslint/rewrite/releases)
- [Changelog](https://github.com/eslint/rewrite/blob/main/packages/compat/CHANGELOG.md)
- [Commits](https://github.com/eslint/rewrite/commits/compat-v2.0.0/packages/compat)

---
updated-dependencies:
- dependency-name: "@eslint/compat"
  dependency-version: 2.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: eslint
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-01 19:57:26 +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 10bba99074 chore(.devcontainer): remove prepare script call (#730) 2025-11-21 16:28:44 +00:00
Frazer Smith bb9be92ed5 refactor(index): freeze ERROR_MSGS object (#729) 2025-11-20 16:06:37 +00:00
Frazer Smith 54f106cb92 ci(codeql): check cjs, mjs, and ts files (#728) 2025-11-20 11:14:38 +00:00
Frazer Smith c2f8f23ff1 chore: tidy dotfiles, remove redundant deps (#726) 2025-11-20 09:22:03 +00:00
github-actions[bot] d6a32cf491 chore(main): release 9.0.1 (#723)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
v9.0.1
2025-11-19 14:41:05 +00:00
Frazer Smith 4c2826c79c build(deps-dev): remove type definition map and API.md (#725) 2025-11-19 14:34:51 +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
Frazer Smith c2aea467c0 build(deps-dev): remove husky (#722) 2025-11-19 08:15:17 +00:00
github-actions[bot] cf81766d22 chore(main): release 9.0.0 (#721)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
v9.0.0
2025-11-18 15:43:40 +00:00
Frazer Smith 1c3adae327 refactor!: move windows binaries to optional dependency (#720)
* refactor!: move windows binaries to optional dependency

BREAKING CHANGE: moved windows binaries to optional dependency

* docs(readme): mention windows binaries are x64
2025-11-18 15:42:41 +00:00
github-actions[bot] 49feba7485 chore(main): release 8.0.6 (#713)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
v8.0.6
2025-11-17 14:33:12 +00:00
Frazer Smith 3f297cff05 fix(lib): update poppler win32 binaries from 24.07.0 to 25.11.0 (#719)
* fix(lib): update poppler win32 binaries from 24.07.0 to 25.11.0

* chore: run petrim to reduce exe and dll sizes
2025-11-17 14:32:13 +00:00
Frazer Smith c8d0e8e30d ci(link-check): use reusable workflow (#718) 2025-11-15 10:25:32 +00:00
Frazer Smith 80584eac17 ci(lock-threads): set cron to every day (#717) 2025-11-14 16:52:46 +00:00
Frazer Smith bb26c2c483 ci: add lock-threads workflow; fix concurrency groups (#716) 2025-11-14 16:09:59 +00:00
Frazer Smith 50e5ca1157 chore(.editorconfig): use spaces for yml file indentation (#715) 2025-11-14 15:12:59 +00:00
Frazer Smith b1b95df46c chore(eslint.config): stop applying to jsx files (#714) 2025-11-14 13:57:37 +00:00
Frazer Smith d1387511d7 chore(.editorconfig): add file to enforce consistent coding styles (#712) 2025-11-13 09:11:27 +00:00
github-actions[bot] 232c86b8e6 chore(main): release 8.0.5 (#676)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
v8.0.5
2025-11-10 16:01:59 +00:00
Frazer Smith f5e22d0bd2 ci(ci): only send coverage to coveralls on main (#711) 2025-11-10 15:59:47 +00:00
Frazer Smith 30c49d6406 refactor(index): consolidate duplicate spawn executions (#672)
* refactor(index): remove duplicate spawn execution code

* refactor(index): use `executeBinary` in `pdfToPs`

* refactor(index): consistent styling

* refactor(index): use `executeBinary` in `pdfToPpm`
2025-11-10 14:38:50 +00:00