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

[Snyk] Upgrade tesseract.js from 5.0.4 to 5.1.1 #22

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

Conversation

decause-gov
Copy link
Contributor

snyk-top-banner

Snyk has created this PR to upgrade tesseract.js from 5.0.4 to 5.1.1.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


  • The recommended version is 3 versions ahead of your current version.

  • The recommended version was released on 3 months ago.

Release notes
Package name: tesseract.js
  • 5.1.1 - 2024-08-24

    What's Changed

    • Fixed bug where incorrect language data was loaded when oem is 2 (#938)
    • Fixed bug where boolean values in blocks output format would always be false (#907)

    Full Changelog: v5.1.0...v5.1.1

  • 5.1.0 - 2024-05-07

    What's Changed

    • Added line size metrics to blocks output (#906)
      • line objects now include a property named rowAttributes, which is an object containing ascenders, descenders, and row_height metrics
      • These metrics allow for manual font size calculations that are more accurate than using the font_size property.
    • Updates to documentation, types, and dependencies

    New Contributors

    Full Changelog: v5.0.5...v5.1.0

  • 5.0.5 - 2024-02-26

    What's Changed

    • Fixed bug triggered by running worker.recognize while a previous call to worker.recognize is still running (#875)
      • Sending multiple jobs to the same worker at the same time is still not recommended.
      • Instead, schedulers should be used to coordinate running jobs in parallel (see this example)
    • Fixed bug with rotateAuto option unnecessarily inflating runtime (#892)
    • Minor fixes to documentation and types

    Full Changelog: v5.0.4...v5.0.5

  • 5.0.4 - 2023-12-24

    What's Changed

    • Fixed support for setting "init only" parameters using config option of createWorker (#862)
      • For example, load_number_dawg is an "init only" parameter that cannot be set using either worker.setParameters or the options argument of worker.recognize.
      • However, load_number_dawg can be set by the following createWorker statement.
        • createWorker('eng', "0", {}, {load_number_dawg: "0"});
    • Improvements to documentation

    New Contributors

    Full Changelog: v5.0.3...v5.0.4

from tesseract.js GitHub release notes

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

Snyk has created this PR to upgrade tesseract.js from 5.0.4 to 5.1.1.

See this package in npm:
tesseract.js

See this project in Snyk:
https://app.snyk.io/org/ospo/project/7f77b718-f369-4c50-8f84-c36bad2cbaa1?utm_source=github&utm_medium=referral&page=upgrade-pr
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.

2 participants