Commit Graph

1477 Commits

Author SHA1 Message Date
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
Frazer Smith 7a4736b5ab chore(index): export options type definitions (#710)
* chore(index): export pdfunite options type

* chore(index): export pdftotext options type

* chore(index): export pdfattach options type

* chore(index): export pdfdetach options type

* chore(index): restore prefix

* chore(index): export the rest

* chore: fix whitespace
2025-11-10 13:09:38 +00:00
Frazer Smith 8ec701b9ce perf(index): use Object.keys over Object.entries for opt parsing (#709) 2025-11-10 11:56:46 +00:00
dependabot[bot] c67afeb59a ci(deps): bump actions/dependency-review-action from 4.8.0 to 4.8.1 (#703)
Bumps [actions/dependency-review-action](https://github.com/actions/dependency-review-action) from 4.8.0 to 4.8.1.
- [Release notes](https://github.com/actions/dependency-review-action/releases)
- [Commits](https://github.com/actions/dependency-review-action/compare/56339e523c0409420f6c2c9a2f4292bbb3c07dd3...40c09b7dc99638e5ddb0bfd91c1673effc064d8a)

---
updated-dependencies:
- dependency-name: actions/dependency-review-action
  dependency-version: 4.8.1
  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-11-06 12:43:56 +00:00
dependabot[bot] 6ea83bb899 ci(deps): bump actions/setup-node from 5 to 6 (#707)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 5 to 6.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/setup-node
  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-11-06 12:43:45 +00:00
dependabot[bot] 7b97af670f build(deps-dev): bump @fdawgs/eslint-config in the eslint group (#708)
Bumps the eslint group with 1 update: [@fdawgs/eslint-config](https://github.com/Fdawgs/eslint-config).


Updates `@fdawgs/eslint-config` from 1.0.9 to 2.0.0
- [Release notes](https://github.com/Fdawgs/eslint-config/releases)
- [Changelog](https://github.com/Fdawgs/eslint-config/blob/main/CHANGELOG.md)
- [Commits](https://github.com/Fdawgs/eslint-config/compare/v1.0.9...v2.0.0)

---
updated-dependencies:
- dependency-name: "@fdawgs/eslint-config"
  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-11-01 18:11:06 +00:00
dependabot[bot] 87b01c2ce5 ci(deps): bump JustinBeckwith/linkinator-action from 1.11.0 to 2.3 (#704)
Bumps [JustinBeckwith/linkinator-action](https://github.com/justinbeckwith/linkinator-action) from 1.11.0 to 2.3.
- [Release notes](https://github.com/justinbeckwith/linkinator-action/releases)
- [Changelog](https://github.com/JustinBeckwith/linkinator-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/justinbeckwith/linkinator-action/compare/3d5ba091319fa7b0ac14703761eebb7d100e6f6d...af984b9f30f63e796ae2ea5be5e07cb587f1bbd9)

---
updated-dependencies:
- dependency-name: JustinBeckwith/linkinator-action
  dependency-version: '2.3'
  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-11-01 18:10:36 +00:00
dependabot[bot] ef7232fce4 ci(deps): bump github/codeql-action from 3 to 4 (#705)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3 to 4.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: '4'
  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-11-01 18:09:10 +00:00
dependabot[bot] f12be09e71 ci(deps): bump fastify/github-action-merge-dependabot (#706)
Bumps [fastify/github-action-merge-dependabot](https://github.com/fastify/github-action-merge-dependabot) from 3.11.1 to 3.11.2.
- [Release notes](https://github.com/fastify/github-action-merge-dependabot/releases)
- [Commits](https://github.com/fastify/github-action-merge-dependabot/compare/e820d631adb1d8ab16c3b93e5afe713450884a4a...1b2ed42db8f9d81a46bac83adedfc03eb5149dff)

---
updated-dependencies:
- dependency-name: fastify/github-action-merge-dependabot
  dependency-version: 3.11.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-11-01 18:07:33 +00:00
dependabot[bot] 613acd6949 ci(deps): bump googleapis/release-please-action from 4.3.0 to 4.4.0 (#702)
Bumps [googleapis/release-please-action](https://github.com/googleapis/release-please-action) from 4.3.0 to 4.4.0.
- [Release notes](https://github.com/googleapis/release-please-action/releases)
- [Changelog](https://github.com/googleapis/release-please-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/googleapis/release-please-action/compare/c2a5a2bd6a758a0937f1ddb1e8950609867ed15c...16a9c90856f42705d54a6fda1823352bdc62cf38)

---
updated-dependencies:
- dependency-name: googleapis/release-please-action
  dependency-version: 4.4.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>
2025-11-01 18:05:04 +00:00
Frazer Smith e88c93b9f3 chore: rename lint scripts to reflect use (#701) 2025-10-30 11:21:04 +00:00
Frazer Smith 216677fec6 chore(index): hide global from api docs (#700) 2025-10-30 10:00:55 +00:00
Frazer Smith 704b014132 test: up coverage threshold (#699) 2025-10-09 07:41:45 +01:00
Frazer Smith 643f876174 ci(ci): ignore dependabot prs in coverage updates (#698) 2025-10-08 17:44:11 +01:00
Frazer Smith 48ae1171a4 chore(index): add throw jsdoc tags; add type guards to tests (#697) 2025-10-08 15:50:16 +01:00
Frazer Smith 19dbd617ae chore(.devcontainer): add devcontainer (#696) 2025-10-08 15:10:35 +01:00
Frazer Smith f0e906489f ci: use .nvmrc for node-version (#695) 2025-10-08 10:17:52 +01:00
Frazer Smith 039f689e9f fix(index): revert #688 (#694) 2025-10-06 17:23:52 +01:00
Frazer Smith 9b5d06d9ab ci(ci): add typecheck to lint job (#691) 2025-10-05 15:23:30 +01:00
dependabot[bot] 6b8d34cb13 build(deps-dev): bump the commitlint group with 2 updates (#693)
Bumps the commitlint group with 2 updates: [@commitlint/cli](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/cli) and [@commitlint/config-conventional](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/config-conventional).


Updates `@commitlint/cli` from 19.8.1 to 20.1.0
- [Release notes](https://github.com/conventional-changelog/commitlint/releases)
- [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/cli/CHANGELOG.md)
- [Commits](https://github.com/conventional-changelog/commitlint/commits/v20.1.0/@commitlint/cli)

Updates `@commitlint/config-conventional` from 19.8.1 to 20.0.0
- [Release notes](https://github.com/conventional-changelog/commitlint/releases)
- [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/config-conventional/CHANGELOG.md)
- [Commits](https://github.com/conventional-changelog/commitlint/commits/v20.0.0/@commitlint/config-conventional)

---
updated-dependencies:
- dependency-name: "@commitlint/cli"
  dependency-version: 20.1.0
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: commitlint
- dependency-name: "@commitlint/config-conventional"
  dependency-version: 20.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: commitlint
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-01 18:05:16 +00:00
dependabot[bot] 82e281036b ci(deps): bump actions/dependency-review-action from 4.7.3 to 4.8.0 (#692)
Bumps [actions/dependency-review-action](https://github.com/actions/dependency-review-action) from 4.7.3 to 4.8.0.
- [Release notes](https://github.com/actions/dependency-review-action/releases)
- [Commits](https://github.com/actions/dependency-review-action/compare/595b5aeba73380359d98a5e087f648dbb0edce1b...56339e523c0409420f6c2c9a2f4292bbb3c07dd3)

---
updated-dependencies:
- dependency-name: actions/dependency-review-action
  dependency-version: 4.8.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>
2025-10-01 18:04:49 +00:00
Frazer Smith d97bc54513 ci(cd): protect against cache poisoning (#690) 2025-09-23 21:39:00 +01:00
Frazer Smith a08507902f build(tsconfig): add typescript declaration map (#689) 2025-09-23 19:41:46 +01:00
Frazer Smith 1d796d9c18 refactor(index): enable regex charset and unicode with v flag (#688) 2025-09-23 19:21:06 +01:00
Frazer Smith 2b9ad2a3cd ci: tidy conditional checks (#687)
* ci: tidy conditional checks

* style: tidy conditional checks
2025-09-23 18:47:10 +01:00
Frazer Smith 5d2fba968f chore(.npmrc): ignore scripts (#685) 2025-09-23 15:52:19 +01:00
Frazer Smith e164a6d142 ci(ci): check dependabot prs originate from repo (#686) 2025-09-23 13:50:22 +01:00
dependabot[bot] ee547d8122 ci(deps): bump actions/setup-node from 4 to 5 (#684)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 4 to 5.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-version: '5'
  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-09-16 11:20:35 +00:00
Frazer Smith 0e7ab2660b build(dependabot): add cooldowns (#683) 2025-09-16 12:14:14 +01:00
Frazer Smith bb38014d7e chore: add .nvmrc file (#682) 2025-09-12 09:33:23 +01:00
dependabot[bot] 3da146dddb ci(deps): bump googleapis/release-please-action from 4.2.0 to 4.3.0 (#681) 2025-09-03 20:35:31 +01:00
dependabot[bot] ccf8a0641f ci(deps): bump actions/checkout from 4 to 5 (#680) 2025-09-02 14:08:18 +01:00
dependabot[bot] 4c9b43c5dc ci(deps): bump actions/dependency-review-action from 4.7.1 to 4.7.3 (#679)
Bumps [actions/dependency-review-action](https://github.com/actions/dependency-review-action) from 4.7.1 to 4.7.3.
- [Release notes](https://github.com/actions/dependency-review-action/releases)
- [Commits](https://github.com/actions/dependency-review-action/compare/da24556b548a50705dd671f47852072ea4c105d9...595b5aeba73380359d98a5e087f648dbb0edce1b)

---
updated-dependencies:
- dependency-name: actions/dependency-review-action
  dependency-version: 4.7.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>
2025-09-02 12:09:31 +00:00
Frazer Smith bd65bd9698 ci(cd): use oicd for publishing to npm (#677) 2025-08-15 19:42:18 +01:00
Frazer Smith ad93f9d0bf ci(link-check): retry on 429 response (#675) 2025-08-06 07:40:50 +01:00
dependabot[bot] ac8b34602f build(deps-dev): bump typescript from 5.8.3 to 5.9.2 (#674)
Bumps [typescript](https://github.com/microsoft/TypeScript) from 5.8.3 to 5.9.2.
- [Release notes](https://github.com/microsoft/TypeScript/releases)
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release-publish.yml)
- [Commits](https://github.com/microsoft/TypeScript/compare/v5.8.3...v5.9.2)

---
updated-dependencies:
- dependency-name: typescript
  dependency-version: 5.9.2
  dependency-type: direct:development
  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>
2025-08-01 18:28:11 +00:00
github-actions[bot] 500a779c60 chore(main): release 8.0.4 (#664) v8.0.4 2025-07-30 11:07:29 +01:00
Frazer Smith 67b468ebfa perf(index): cache acceptedOptions only on first call, not on init (#671) 2025-07-24 15:04:05 +01:00
Frazer Smith c262083840 refactor(index): stop rethrowing errors in pdfToCairo() (#670) 2025-07-24 14:12:40 +01:00
Frazer Smith b2910af3b5 perf(index): stop acceptedOptions obj creation on every call (#669) 2025-07-24 13:59:49 +01:00
Frazer Smith c83d1f004f test(index): use posix for globbing (#668) 2025-07-24 11:57:02 +01:00
Frazer Smith 19a9f6b51d perf(index): cache version info to stop repeated process spawning (#667) 2025-07-24 11:05:02 +01:00
Frazer Smith 41970e2938 perf(index): resolve bins path once on init, not on every call (#666) 2025-07-24 10:17:07 +01:00
Frazer Smith 72d186137e test(index): build test directory in cleaner fashion (#665) 2025-07-23 15:52:06 +01:00
Frazer Smith f2d68c7872 ci(cd): only scope package if it is not already (#663) 2025-07-22 18:54:48 +01:00
github-actions[bot] 5f7d513307 chore(main): release 8.0.3 (#661) v8.0.3 2025-07-08 19:38:55 +01:00
Frazer Smith ebd0b72d3a refactor(index): import node:process explicitly (#662)
* refactor(index): import `node:process` explicitly

* test(index): cache reused regex

* test(index): remove stray console.log
2025-07-08 14:11:17 +01:00