Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: bump react-pdf and @types/react-pdf #25

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Dec 29, 2022

Bumps react-pdf and @types/react-pdf. These dependencies needed to be updated together.
Updates react-pdf from 5.7.2 to 6.2.1

Release notes

Sourced from react-pdf's releases.

v6.2.1

What's changed?

  • Brought back pageIndex and pageIndex in customTextRenderer args that, despite undocumented, may have been used by some (#1190).
  • Replace typeof window checks with typeof document checks to avoid Deno environment being falsely recognized as browser environment.

Bug fixes

  • Fixed onItemClick callback working only once per item (#997, #1192).
  • Fixed first annotation item not clickable (#1231).
  • Fixed typos in documentation (#1227). Thanks, @​flaxflour!

v6.2.0

What's new?

  • Added support for devicePixelRatio prop in Page component.

Bug fixes

  • Pass the actual itemIndex to the customTextRenderer (#1183). Thanks, @​paescuj!

v6.1.1

Bug fixes

  • Fixed text items misaligned when using customTextRenderer and if textContent items have both text and line break (#1173).

v6.1.0

What's new?

  • Improved text selection behavior (#1034).

v6.0.3

Bug fixes

  • Fixed customTextRenderer called too often and potentially with undefined str (#1151).
  • Fixed text layer rendering twice when using React 18 w. StrictMode on.

v6.0.2

Bug fixes

  • Fixed Vite specific entry causing fake worker to be initialized (#1148).

v6.0.1

Bug fixes

  • Fixed Vite specific entry causing build to fail (#1148).

v6.0.0

See Upgrade guide from version 5.x to 6.x.

Note: React <16.8 is not supported. If you're still using React older than 16.8, please use react-pdf@^5.0.0 instead.

❗️ = breaking change

What's new?

  • ❗️ Vastly improved performance and bundle size thanks to the modern version of PDF.js that is now used. This drops support for legacy browsers. See README for details.
  • Added official support for Vite.

... (truncated)

Commits
  • 2297b2d v6.2.1
  • 1ee0376 Fix first annotation not clickable
  • 39cf51e Fix typos (#1227)
  • 97d8b87 Replace typeof window checks with typeof document checks
  • 300712e Fix onItemClick callback working only once per item
  • a34a52e Update documentation on compatibility
  • 425834e Add GitHub Actions Reporter to Jest configuration
  • 34fbf09 Add pageIndex, pageNumber to customTextRenderer args
  • 0401e2a Use Node 18 for CI
  • 373335c Improve customTextRenderer example
  • Additional commits viewable in compare view

Updates @types/react-pdf from 5.7.3 to 6.2.0

Commits

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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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 [react-pdf](https://github.com/wojtekmaj/react-pdf) and [@types/react-pdf](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-pdf). These dependencies needed to be updated together.

Updates `react-pdf` from 5.7.2 to 6.2.1
- [Release notes](https://github.com/wojtekmaj/react-pdf/releases)
- [Commits](wojtekmaj/react-pdf@v5.7.2...v6.2.1)

Updates `@types/react-pdf` from 5.7.3 to 6.2.0
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-pdf)

---
updated-dependencies:
- dependency-name: react-pdf
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: "@types/react-pdf"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Dec 29, 2022
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants