Skip to content

build(deps): bump pdf2json from 3.2.2 to 4.0.2#79

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/bun/pdf2json-4.0.2
Open

build(deps): bump pdf2json from 3.2.2 to 4.0.2#79
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/bun/pdf2json-4.0.2

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 13, 2026

Bumps pdf2json from 3.2.2 to 4.0.2.

Release notes

Sourced from pdf2json's releases.

Stable Build v4.0.2

add support for transparent groups, ensure endGroup would merge sub-canvas text/line/etc. back to primary output data. this completes the fix for #418

Stable Build v4.0.1

Bug fixes

  1. fix: correct circular dependency without dup](PR #415)
  2. fix: issue #418

Stable Build v4.0.0 [Breaking Changes]

v4.0.0 Release Notes

includes critical fixes for text encoding, space preservation, and text positioning, along with improved error handling. This release contains breaking changes that require attention when upgrading from v3.x.

🚨 Breaking Changes

Text Encoding Change (Issue #385, PR #410)

What Changed: Text in JSON output is no longer URI-encoded. All text now outputs as UTF-8 directly.

Why: To properly support Chinese, Japanese, Korean, and other multi-byte Unicode characters. The previous URI encoding caused issues with CJK text display and partial character extraction.

Migration Required: If your code expects URI-encoded text, you must update it to handle plain UTF-8 text.

JSON Output Examples

Before v4.0.0 (URI-encoded):

{
  "Pages": [{
    "Texts": [{
      "R": [{
        "T": "Added%20Text%20from%20Acrobat"
      }]
    }]
  }]
}

After v4.0.0 (UTF-8):

{
  "Pages": [{
    "Texts": [{
      "R": [{
        "T": "Added Text from Acrobat"
      }]
    }]
  }]
}

... (truncated)

Commits
  • 48b50bf feat: add support for transparent groups, ensure endGroup would merge sub-can...
  • de176e5 fix: issue #418: resolve obj ref before invoking getAll (#418)
  • 399f9cb fix: correct circular dependency without dup (#415)
  • 96493fc doc: update readme with v4.0.0 breaking changes
  • c8b372b fix: unify error and exception handling for cli start with invalid in… (#414)
  • b9d5cb9 maint: prep major release with version bumps for both self and dev dependenci...
  • b193d9f fix: #355, #361, #319: calculate text block gap and spacewidth from fontMatri...
  • 7b05aa9 fix: #385 [3.3.0 BREAKING CHANGE] removed encodeURIComponent and ensure utf8 ...
  • 5569bf7 fix: #408: fix text block coordinates, add tests (#409)
  • See full diff in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [pdf2json](https://github.com/modesty/pdf2json) from 3.2.2 to 4.0.2.
- [Release notes](https://github.com/modesty/pdf2json/releases)
- [Commits](modesty/pdf2json@v3.2.2...v4.0.2)

---
updated-dependencies:
- dependency-name: pdf2json
  dependency-version: 4.0.2
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Mar 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants