Skip to content

chore(deps): update dependency pdf-visual-diff to ^0.15.0#1180

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/pdf-visual-diff-0.x
Open

chore(deps): update dependency pdf-visual-diff to ^0.15.0#1180
renovate[bot] wants to merge 1 commit intomainfrom
renovate/pdf-visual-diff-0.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate bot commented Dec 14, 2025

This PR contains the following updates:

Package Change Age Confidence
pdf-visual-diff ^0.14.0^0.15.0 age confidence

Release Notes

moshensky/pdf-visual-diff (pdf-visual-diff)

v0.15.2

Compare Source

🐛 Bug Fix
  • fix: Windows compatibility for pdfjs-dist URL paths. On Windows, path.join() produces backslash-separated paths which pdfjs-dist rejected with "must include trailing slash" error.
🔧 Internal
  • test: add cross-platform tolerance (0.05) for TAMReview and cmaps tests due to font rendering differences across operating systems
  • test: skip #​89 discrepancy test on non-Linux platforms
  • test: fix CLI utils tests to use OS-appropriate path separators

v0.15.1

Compare Source

  • chore: add exports map limiting deep imports to the public surface (. and ./cli); callers using pdf-visual-diff/lib/... must switch to the top-level entry.
  • chore: raise TypeScript target/lib to ES2022 and enable esModuleInterop (runtime remains CJS).
  • fix: CLI/yargs interop for Node 24+ so CLI commands run without TypeError: yargs is not a function.

v0.15.0

Compare Source

⚠️ Breaking changes
  • PR#101:
    • chore: update pdfjs-dist to v5.4.449 (potential snapshot differences)
    • chore: bump minimum Node.js to v22.21.1 (was v20.18.1) (older runtimes no longer supported)

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • "every weekday after 2:00 am before 6:00 am,every weekend"
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Dec 14, 2025

❌ 11 Tests Failed:

Tests completed Failed Passed Skipped
31 11 20 0
View the top 3 failed test(s) by shortest run time
test/server/index.test.ts > Tax forms > PDF Field Visualization > Show fields for W8_BEN
Stack Traces | 9.21s run time
Error: PDF snapshot tax-form-fields-w8_ben.pdf does not match
 ❯ snapshotPDF test/utils.ts:14:11
 ❯ test/server/index.test.ts:89:9
test/server/receipts.test.ts > Receipts Routes > Transaction Receipts > GET /receipts/transaction/:id/:filename.pdf > should generate a PDF for a valid transaction
Stack Traces | 11.3s run time
Error: PDF snapshot transaction_receipt.pdf does not match
 ❯ snapshotPDF test/utils.ts:14:11
 ❯ test/server/receipts.test.ts:206:9
test/server/gift-cards.test.ts > Gift Cards Routes > POST /:filename.pdf > from a JSON payload > should generate an empty PDF
Stack Traces | 11.8s run time
Error: PDF snapshot gift-cards_empty.pdf does not match
 ❯ snapshotPDF test/utils.ts:14:11
 ❯ test/server/gift-cards.test.ts:34:9
test/server/receipts.test.ts > Receipts Routes > Transaction Receipts > GET /receipts/transaction/:id/:filename.pdf > should generate a PDF for a valid ticket transaction
Stack Traces | 12.5s run time
Error: PDF snapshot transaction_receipt_ticket.pdf does not match
 ❯ snapshotPDF test/utils.ts:14:11
 ❯ test/server/receipts.test.ts:228:9
test/server/expenses.test.ts > Expenses Routes > GET /expenses/:id/:filename.pdf > should generate a PDF for a valid expense
Stack Traces | 12.6s run time
Error: PDF snapshot expense_invoice.pdf does not match
 ❯ snapshotPDF test/utils.ts:14:11
 ❯ test/server/expenses.test.ts:110:7
test/server/gift-cards.test.ts > Gift Cards Routes > GET /:filename.pdf with a query string > should generate a PDF with a query string
Stack Traces | 16.8s run time
Error: Test timed out in 15000ms.
If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout".
 ❯ test/server/gift-cards.test.ts:60:5
test/server/gift-cards.test.ts > Gift Cards Routes > POST /:filename.pdf > from a JSON payload > should generate a multi-page PDF with gift cards
Stack Traces | 22.6s run time
Error: Test timed out in 15000ms.
If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout".
 ❯ test/server/gift-cards.test.ts:37:7
test/server/gift-cards.test.ts > Gift Cards Routes > GET /:filename.pdf with a query string > should generate a PDF with a query string and cards
Stack Traces | 23.1s run time
Error: Test timed out in 15000ms.
If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout".
 ❯ test/server/gift-cards.test.ts:72:5
test/server/receipts.test.ts > Receipts Routes > Period Receipts > GET /receipts/period/:contributorSlug/:hostSlug/:dateFrom/:dateTo/:filename.pdf > should generate a PDF for a valid period
Stack Traces | 26.1s run time
Error: Test timed out in 15000ms.
If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout".
 ❯ test/server/receipts.test.ts:313:7
test/server/index.test.ts > Tax forms > PDF Field Visualization > Show fields for W8_BEN_E
Stack Traces | 71.4s run time
Error: Test timed out in 60000ms.
If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout".
 ❯ test/server/index.test.ts:18:7
test/server/index.test.ts > Tax forms > PDF Field Visualization > Show fields for W9
Stack Traces | 72.9s run time
Error: Test timed out in 60000ms.
If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout".
 ❯ test/server/index.test.ts:18:7

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

@renovate renovate bot force-pushed the renovate/pdf-visual-diff-0.x branch 2 times, most recently from 2920350 to f5d1788 Compare December 18, 2025 12:42
@renovate renovate bot force-pushed the renovate/pdf-visual-diff-0.x branch from f5d1788 to 51eec7a Compare December 31, 2025 16:56
@renovate renovate bot force-pushed the renovate/pdf-visual-diff-0.x branch 2 times, most recently from e136dcb to b79136a Compare January 19, 2026 18:39
@renovate renovate bot force-pushed the renovate/pdf-visual-diff-0.x branch from b79136a to fa4b231 Compare January 23, 2026 19:30
@renovate renovate bot force-pushed the renovate/pdf-visual-diff-0.x branch from fa4b231 to 60bef58 Compare February 2, 2026 18:49
@renovate renovate bot force-pushed the renovate/pdf-visual-diff-0.x branch 2 times, most recently from a19e1df to 9c39b8c Compare February 17, 2026 19:28
@renovate renovate bot force-pushed the renovate/pdf-visual-diff-0.x branch from 9c39b8c to 18dbcd8 Compare February 26, 2026 08:22
@renovate renovate bot force-pushed the renovate/pdf-visual-diff-0.x branch from 18dbcd8 to 62908d3 Compare March 5, 2026 18:41
@renovate renovate bot force-pushed the renovate/pdf-visual-diff-0.x branch from 62908d3 to e188eb4 Compare March 13, 2026 18:12
@renovate renovate bot force-pushed the renovate/pdf-visual-diff-0.x branch from e188eb4 to fa8ebe9 Compare March 23, 2026 16:32
@renovate renovate bot force-pushed the renovate/pdf-visual-diff-0.x branch from fa8ebe9 to ddcb7b0 Compare April 1, 2026 18:32
@renovate renovate bot force-pushed the renovate/pdf-visual-diff-0.x branch from ddcb7b0 to 298d637 Compare April 8, 2026 21:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant