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

Update npm package pdf2json to v3.1.5 #6056

Merged
merged 1 commit into from
Jan 4, 2025
Merged

Conversation

hash-worker[bot]
Copy link
Contributor

@hash-worker hash-worker bot commented Jan 4, 2025

This PR contains the following updates:

Package Type Update Change
pdf2json dependencies patch 3.1.4 -> 3.1.5

Release Notes

modesty/pdf2json (pdf2json)

v3.1.5: Stable build v3.1.5

Compare Source

feature added:

  1. add commonjs type definition file generation, thanks @​grainrigi
  2. add 'types' to package.json 'exports' root, thanks @​jeremybanka

Issues addressed:

  1. fix #​165: check and make buffer before parse
  2. fix #​373: handle bad encoding expcetion by start page rendering after page operator list is resolved
  3. fix #​306: infinite loop of invalid stram
  4. fix #​369: handle object value for field's rectangle coordinates
  5. other maintenance, eslint, tsconfig, dependency version bumps, etc.

Configuration

📅 Schedule: Branch creation - "before 4am every weekday,every weekend" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

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 has been generated by Renovate Bot.

@hash-worker hash-worker bot enabled auto-merge January 4, 2025 18:10
Copy link
Contributor

github-actions bot commented Jan 4, 2025

Benchmark results

@rust/hash-graph-benches – Integrations

representative_read_entity

Function Value Mean Flame graphs
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/person/v/1 $$16.3 \mathrm{ms} \pm 174 \mathrm{μs}\left({\color{lightgreen}-27.898 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/book/v/1 $$16.1 \mathrm{ms} \pm 208 \mathrm{μs}\left({\color{gray}4.96 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/uk-address/v/1 $$16.7 \mathrm{ms} \pm 192 \mathrm{μs}\left({\color{red}5.03 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/page/v/2 $$16.7 \mathrm{ms} \pm 173 \mathrm{μs}\left({\color{gray}-3.386 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/song/v/1 $$16.6 \mathrm{ms} \pm 211 \mathrm{μs}\left({\color{gray}2.58 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/building/v/1 $$17.1 \mathrm{ms} \pm 164 \mathrm{μs}\left({\color{gray}4.42 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/organization/v/1 $$16.6 \mathrm{ms} \pm 203 \mathrm{μs}\left({\color{gray}1.35 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/playlist/v/1 $$15.7 \mathrm{ms} \pm 154 \mathrm{μs}\left({\color{lightgreen}-30.890 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/block/v/1 $$16.0 \mathrm{ms} \pm 158 \mathrm{μs}\left({\color{lightgreen}-11.060 \mathrm{\%}}\right) $$ Flame Graph

representative_read_multiple_entities

Function Value Mean Flame graphs
entity_by_property depths: DT=255, PT=255, ET=255, E=255 $$67.6 \mathrm{ms} \pm 256 \mathrm{μs}\left({\color{gray}-2.722 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=0, PT=0, ET=0, E=0 $$39.8 \mathrm{ms} \pm 190 \mathrm{μs}\left({\color{gray}-1.481 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=2, PT=2, ET=2, E=2 $$58.0 \mathrm{ms} \pm 220 \mathrm{μs}\left({\color{gray}-0.711 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=0, PT=0, ET=0, E=2 $$44.5 \mathrm{ms} \pm 247 \mathrm{μs}\left({\color{gray}-0.136 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=0, PT=0, ET=2, E=2 $$50.1 \mathrm{ms} \pm 308 \mathrm{μs}\left({\color{gray}-1.396 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=0, PT=2, ET=2, E=2 $$54.3 \mathrm{ms} \pm 235 \mathrm{μs}\left({\color{gray}-1.855 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=255, PT=255, ET=255, E=255 $$103 \mathrm{ms} \pm 318 \mathrm{μs}\left({\color{gray}-2.074 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=0, PT=0, ET=0, E=0 $$40.1 \mathrm{ms} \pm 352 \mathrm{μs}\left({\color{gray}-4.152 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=2, PT=2, ET=2, E=2 $$94.6 \mathrm{ms} \pm 332 \mathrm{μs}\left({\color{gray}-0.684 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=0, PT=0, ET=0, E=2 $$78.3 \mathrm{ms} \pm 449 \mathrm{μs}\left({\color{gray}-1.293 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=0, PT=0, ET=2, E=2 $$86.2 \mathrm{ms} \pm 407 \mathrm{μs}\left({\color{gray}-2.051 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=0, PT=2, ET=2, E=2 $$90.9 \mathrm{ms} \pm 293 \mathrm{μs}\left({\color{gray}-1.530 \mathrm{\%}}\right) $$ Flame Graph

representative_read_entity_type

Function Value Mean Flame graphs
get_entity_type_by_id Account ID: d4e16033-c281-4cde-aa35-9085bf2e7579 $$2.12 \mathrm{ms} \pm 7.41 \mathrm{μs}\left({\color{gray}-0.646 \mathrm{\%}}\right) $$ Flame Graph

scaling_read_entity_complete_one_depth

Function Value Mean Flame graphs
entity_by_id 50 entities $$269 \mathrm{ms} \pm 1.96 \mathrm{ms}\left({\color{gray}-3.886 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 5 entities $$27.1 \mathrm{ms} \pm 313 \mathrm{μs}\left({\color{gray}1.25 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 1 entities $$20.6 \mathrm{ms} \pm 104 \mathrm{μs}\left({\color{gray}-0.612 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 10 entities $$48.8 \mathrm{ms} \pm 3.69 \mathrm{ms}\left({\color{lightgreen}-9.047 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 25 entities $$180 \mathrm{ms} \pm 822 \mathrm{μs}\left({\color{gray}1.44 \mathrm{\%}}\right) $$ Flame Graph

scaling_read_entity_linkless

Function Value Mean Flame graphs
entity_by_id 1 entities $$1.92 \mathrm{ms} \pm 4.10 \mathrm{μs}\left({\color{gray}-0.955 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 100 entities $$2.14 \mathrm{ms} \pm 7.73 \mathrm{μs}\left({\color{gray}0.013 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 10 entities $$1.94 \mathrm{ms} \pm 5.87 \mathrm{μs}\left({\color{gray}-0.213 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 1000 entities $$2.87 \mathrm{ms} \pm 12.0 \mathrm{μs}\left({\color{gray}0.009 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 10000 entities $$9.41 \mathrm{ms} \pm 134 \mathrm{μs}\left({\color{gray}0.958 \mathrm{\%}}\right) $$ Flame Graph

scaling_read_entity_complete_zero_depth

Function Value Mean Flame graphs
entity_by_id 50 entities $$3.99 \mathrm{ms} \pm 18.9 \mathrm{μs}\left({\color{gray}-1.704 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 5 entities $$1.94 \mathrm{ms} \pm 8.20 \mathrm{μs}\left({\color{gray}-0.693 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 1 entities $$1.93 \mathrm{ms} \pm 9.48 \mathrm{μs}\left({\color{gray}-0.582 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 10 entities $$2.12 \mathrm{ms} \pm 7.64 \mathrm{μs}\left({\color{gray}2.95 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 25 entities $$3.28 \mathrm{ms} \pm 12.5 \mathrm{μs}\left({\color{gray}-0.052 \mathrm{\%}}\right) $$ Flame Graph

Merged via the queue into main with commit 53f3237 Jan 4, 2025
166 of 167 checks passed
@hash-worker hash-worker bot deleted the deps/js/pdf2json-3.x branch January 4, 2025 18:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/apps > hash* Affects HASH (a `hash-*` app) area/apps area/deps Relates to third-party dependencies (area)
Development

Successfully merging this pull request may close these issues.

1 participant