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 eslint npm packages #6095

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

Conversation

hash-worker[bot]
Copy link
Contributor

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

This PR contains the following updates:

Package Type Update Change Pending
eslint (source) devDependencies minor 9.17.0 -> 9.18.0
eslint (source) dependencies minor 9.17.0 -> 9.18.0
eslint-config-sheriff (source) dependencies minor 25.5.0 -> 25.6.0 25.7.0
eslint-plugin-canonical dependencies patch 5.1.2 -> 5.1.3

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

eslint/eslint (eslint)

v9.18.0

Compare Source

Features
  • e84e6e2 feat: Report allowed methods for no-console rule (#​19306) (Anna Bocharova)
  • 8efc2d0 feat: unflag TypeScript config files (#​19266) (Francesco Trotta)
  • 87a9352 feat: check imports and class names in no-shadow-restricted-names (#​19272) (Milos Djermanovic)
Bug Fixes
Documentation
  • d9c23c5 docs: replace var with const in rule examples (#​19325) (Tanuj Kanti)
  • 8e1a898 docs: add tabs to cli code blocks (#​18784) (Jay)
  • f3aeefb docs: rewrite using let and const in rule examples (#​19320) (PoloSpark)
  • 0b680b3 docs: Update README (GitHub Actions Bot)
  • 98c86a9 docs: Edit this page button link to different branches (#​19228) (Tanuj Kanti)
  • 6947901 docs: remove hardcoded edit link (#​19323) (Milos Djermanovic)
  • 03f2f44 docs: rewrite var with const in rules examples (#​19317) (Thiago)
  • 26c3003 docs: Clarify dangers of eslint:all (#​19318) (Nicholas C. Zakas)
  • c038257 docs: add eqeqeq in related rules to no-eq-null (#​19310) (루밀LuMir)
  • 89c8fc5 docs: rewrite examples with var using let and const (#​19315) (Amaresh S M)
  • db574c4 docs: add missing backticks to no-void (#​19313) (루밀LuMir)
  • 8d943c3 docs: add missing backticks to default-case-last (#​19311) (루밀LuMir)
  • 36ef8bb docs: rewrite examples with var using let and const (#​19298) (Amaresh S M)
  • 1610c9e docs: add missing backticks to no-else-return (#​19309) (루밀LuMir)
  • df409d8 docs: Update README (GitHub Actions Bot)
  • 2e84213 docs: Fix Horizontal Scroll Overflow in Rule Description on Mobile View (#​19304) (Amaresh S M)
  • 6e7361b docs: replace var with let and const in rule example (#​19302) (Tanuj Kanti)
  • 069af5e docs: rewrite var using const in rule examples (#​19303) (Kim GyeonWon)
  • 064e35d docs: remove 'I hope to' comments from scope-manager-interface (#​19300) (Josh Goldberg ✨)
  • 8e00305 docs: replace var with const in rule examples (#​19299) (Tanuj Kanti)
  • a559009 docs: Add warning about extending core rules (#​19295) (Nicholas C. Zakas)
  • 0bfdf6c docs: Update README (GitHub Actions Bot)
  • ce0b9ff docs: add navigation link for code explorer (#​19285) (Tanuj Kanti)
  • e255cc9 docs: add bluesky icon to footer (#​19290) (Tanuj Kanti)
  • 5d64851 docs: remove outdated info about environments (#​19296) (Francesco Trotta)
  • eec01f0 docs: switch rule examples config format to languageOptions (#​19277) (Milos Djermanovic)
  • b36ca0a docs: Fixing Focus Order by Rearranging Element Sequence (#​19241) (Amaresh S M)
  • d122c8a docs: add missing backticks to sort-imports (#​19282) (루밀LuMir)
  • 0367a70 docs: update custom parser docs (#​19288) (Francesco Trotta)
  • 8c07ebb docs: add border-radius to hX:target selector styles (#​19270) (루밀LuMir)
  • eff7c57 docs: add limitation section in no-loop-func (#​19287) (Tanuj Kanti)
  • 5db226f docs: add missing backticks in various parts of the documentation (#​19269) (루밀LuMir)
  • 789edbb docs: Update README (GitHub Actions Bot)
  • 613c06a docs: mark rules that are frozen with ❄️ (#​19231) (Amaresh S M)
  • 43172ec docs: Update README (GitHub Actions Bot)
  • ac8b3c4 docs: fix description of overrideConfigFile option (#​19262) (Milos Djermanovic)
  • bbb9b46 docs: Update README (GitHub Actions Bot)
  • 995b492 docs: fix inconsistent divider in rule categories box (#​19249) (Tanuj Kanti)
  • f76d05d docs: Refactor search result handling with better event listener cleanup (#​19252) (Amaresh S M)
  • c5f3d7d docs: Update README (GitHub Actions Bot)
Chores
AndreaPontrandolfo/sheriff (eslint-config-sheriff)

v25.6.0

Compare Source

Minor Changes
  • 823696e: feat(config): replace eslint-define-config with tseslint.config().
    Fixes #​343
gajus/eslint-plugin-canonical (eslint-plugin-canonical)

v5.1.3

Compare Source


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.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • 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 8, 2025 11:37
hashdotai
hashdotai previously approved these changes Jan 8, 2025
@github-actions github-actions bot added area/deps Relates to third-party dependencies (area) area/libs Relates to first-party libraries/crates/packages (area) type/eng > backend Owned by the @backend team labels Jan 8, 2025
@hash-worker hash-worker bot changed the title Update eslint npm packages Update npm package eslint-plugin-canonical to v5.1.3 Jan 9, 2025
@hash-worker hash-worker bot changed the title Update npm package eslint-plugin-canonical to v5.1.3 Update eslint npm packages Jan 10, 2025
@hash-worker hash-worker bot force-pushed the deps/js/eslint-npm-packages branch from 244213a to 518bcd8 Compare January 13, 2025 22:09
@github-actions github-actions bot added area/apps > hash* Affects HASH (a `hash-*` app) area/apps > hash-api Affects the HASH API (app) area/blocks Relates to first-party blocks (area) area/apps > hash.dev Affects the `hash.dev` developer site (app) type/eng > frontend Owned by the @frontend team area/tests New or updated tests area/tests > integration New or updated integration tests area/tests > playwright New or updated Playwright tests area/apps > hash-realtime area/apps > hash-search-loader labels Jan 13, 2025
hashdotai
hashdotai previously approved these changes Jan 13, 2025
hashdotai
hashdotai previously approved these changes Jan 17, 2025
@vilkinsons
Copy link
Member

@CiaranMn will also take a look at this.

hashdotai
hashdotai previously approved these changes Jan 21, 2025
hashdotai
hashdotai previously approved these changes Jan 21, 2025
Copy link

codecov bot commented Jan 21, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 21.31%. Comparing base (d84b731) to head (600c4ac).
Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #6095   +/-   ##
=======================================
  Coverage   21.31%   21.31%           
=======================================
  Files         570      570           
  Lines       19541    19541           
  Branches     2857     2857           
=======================================
  Hits         4166     4166           
  Misses      15323    15323           
  Partials       52       52           
Flag Coverage Δ
apps.hash-ai-worker-ts 1.39% <ø> (ø)
apps.hash-api 1.15% <ø> (ø)
blockprotocol.type-system 46.42% <ø> (ø)
local.harpc-client 50.17% <ø> (ø)
local.hash-backend-utils 8.81% <ø> (ø)
local.hash-graph-sdk 58.62% <ø> (ø)
local.hash-isomorphic-utils 0.94% <ø> (ø)
local.hash-subgraph 24.54% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

Benchmark results

@rust/hash-graph-benches – Integrations

scaling_read_entity_complete_zero_depth

Function Value Mean Flame graphs
entity_by_id 25 entities $$2.76 \mathrm{ms} \pm 10.7 \mathrm{μs}\left({\color{lightgreen}-18.157 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 1 entities $$1.99 \mathrm{ms} \pm 7.72 \mathrm{μs}\left({\color{gray}-0.438 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 5 entities $$2.00 \mathrm{ms} \pm 10.6 \mathrm{μs}\left({\color{gray}-0.632 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 10 entities $$2.20 \mathrm{ms} \pm 13.4 \mathrm{μs}\left({\color{gray}3.30 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 50 entities $$4.09 \mathrm{ms} \pm 24.0 \mathrm{μs}\left({\color{gray}-0.165 \mathrm{\%}}\right) $$ Flame Graph

representative_read_entity

Function Value Mean Flame graphs
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/page/v/2 $$16.3 \mathrm{ms} \pm 174 \mathrm{μs}\left({\color{lightgreen}-29.181 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/block/v/1 $$16.3 \mathrm{ms} \pm 183 \mathrm{μs}\left({\color{lightgreen}-28.860 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/building/v/1 $$15.7 \mathrm{ms} \pm 160 \mathrm{μs}\left({\color{gray}-2.035 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/playlist/v/1 $$15.9 \mathrm{ms} \pm 138 \mathrm{μs}\left({\color{lightgreen}-8.543 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/song/v/1 $$16.1 \mathrm{ms} \pm 201 \mathrm{μs}\left({\color{gray}-2.902 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/uk-address/v/1 $$15.7 \mathrm{ms} \pm 165 \mathrm{μs}\left({\color{gray}-3.262 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/person/v/1 $$16.7 \mathrm{ms} \pm 167 \mathrm{μs}\left({\color{gray}-2.339 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/book/v/1 $$17.0 \mathrm{ms} \pm 188 \mathrm{μs}\left({\color{gray}-0.364 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/organization/v/1 $$16.0 \mathrm{ms} \pm 159 \mathrm{μs}\left({\color{gray}1.48 \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.13 \mathrm{ms} \pm 5.04 \mathrm{μs}\left({\color{gray}0.172 \mathrm{\%}}\right) $$ Flame Graph

representative_read_multiple_entities

Function Value Mean Flame graphs
link_by_source_by_property depths: DT=0, PT=2, ET=2, E=2 $$87.2 \mathrm{ms} \pm 389 \mathrm{μs}\left({\color{gray}0.607 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=0, PT=0, ET=2, E=2 $$82.4 \mathrm{ms} \pm 323 \mathrm{μs}\left({\color{gray}0.781 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=0, PT=0, ET=0, E=2 $$73.6 \mathrm{ms} \pm 262 \mathrm{μs}\left({\color{gray}0.210 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=2, PT=2, ET=2, E=2 $$90.9 \mathrm{ms} \pm 397 \mathrm{μs}\left({\color{gray}0.496 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=255, PT=255, ET=255, E=255 $$104 \mathrm{ms} \pm 486 \mathrm{μs}\left({\color{gray}4.29 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=0, PT=0, ET=0, E=0 $$38.6 \mathrm{ms} \pm 258 \mathrm{μs}\left({\color{gray}1.03 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=0, PT=2, ET=2, E=2 $$53.7 \mathrm{ms} \pm 206 \mathrm{μs}\left({\color{gray}1.28 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=0, PT=0, ET=2, E=2 $$48.8 \mathrm{ms} \pm 262 \mathrm{μs}\left({\color{gray}0.886 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=0, PT=0, ET=0, E=2 $$42.4 \mathrm{ms} \pm 124 \mathrm{μs}\left({\color{gray}-0.433 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=2, PT=2, ET=2, E=2 $$57.1 \mathrm{ms} \pm 283 \mathrm{μs}\left({\color{gray}1.17 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=255, PT=255, ET=255, E=255 $$66.3 \mathrm{ms} \pm 334 \mathrm{μs}\left({\color{gray}1.29 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=0, PT=0, ET=0, E=0 $$38.2 \mathrm{ms} \pm 184 \mathrm{μs}\left({\color{gray}-0.801 \mathrm{\%}}\right) $$ Flame Graph

scaling_read_entity_complete_one_depth

Function Value Mean Flame graphs
entity_by_id 25 entities $$176 \mathrm{ms} \pm 697 \mathrm{μs}\left({\color{gray}-0.093 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 1 entities $$20.9 \mathrm{ms} \pm 98.0 \mathrm{μs}\left({\color{gray}-0.980 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 5 entities $$27.1 \mathrm{ms} \pm 106 \mathrm{μs}\left({\color{gray}0.352 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 10 entities $$57.3 \mathrm{ms} \pm 200 \mathrm{μs}\left({\color{red}27.3 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 50 entities $$5.59 \mathrm{s} \pm 283 \mathrm{ms}\left({\color{red}2003 \mathrm{\%}}\right) $$ Flame Graph

scaling_read_entity_linkless

Function Value Mean Flame graphs
entity_by_id 100 entities $$2.22 \mathrm{ms} \pm 7.96 \mathrm{μs}\left({\color{red}5.19 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 1000 entities $$2.95 \mathrm{ms} \pm 15.7 \mathrm{μs}\left({\color{gray}-0.648 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 10000 entities $$13.7 \mathrm{ms} \pm 61.9 \mathrm{μs}\left({\color{gray}1.11 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 1 entities $$1.98 \mathrm{ms} \pm 10.9 \mathrm{μs}\left({\color{gray}-0.283 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 10 entities $$2.00 \mathrm{ms} \pm 6.34 \mathrm{μs}\left({\color{gray}-0.583 \mathrm{\%}}\right) $$ Flame Graph

@vilkinsons vilkinsons requested a review from CiaranMn January 22, 2025 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/apps > hash.dev Affects the `hash.dev` developer site (app) area/apps > hash* Affects HASH (a `hash-*` app) area/apps > hash-api Affects the HASH API (app) area/apps > hash-realtime area/apps > hash-search-loader area/apps area/blocks Relates to first-party blocks (area) area/deps Relates to third-party dependencies (area) area/libs Relates to first-party libraries/crates/packages (area) area/tests > integration New or updated integration tests area/tests > playwright New or updated Playwright tests area/tests New or updated tests type/eng > backend Owned by the @backend team type/eng > frontend Owned by the @frontend team
Development

Successfully merging this pull request may close these issues.

3 participants