Skip to content

Update eslint npm packages #6493

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

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 Feb 20, 2025

This PR contains the following updates:

Package Type Update Change
eslint (source) devDependencies minor 9.20.1 -> 9.24.0
eslint (source) dependencies minor 9.20.1 -> 9.24.0
eslint-config-prettier dependencies minor 10.0.1 -> 10.1.2
eslint-import-resolver-typescript dependencies minor 3.8.1 -> 3.10.0
eslint-plugin-react-hooks (source) dependencies minor 5.1.0 -> 5.2.0
eslint-plugin-storybook dependencies minor 0.11.3 -> 0.12.0
eslint-plugin-storybook devDependencies minor 0.11.3 -> 0.12.0

Warning

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


Release Notes

eslint/eslint (eslint)

v9.24.0

Compare Source

Features
  • 556c25b feat: support loading TS config files using --experimental-strip-types (#​19401) (Arya Emami)
  • 72650ac feat: support TS syntax in init-declarations (#​19540) (Nitin Kumar)
  • 03fb0bc feat: normalize patterns to handle "./" prefix in files and ignores (#​19568) (Pixel998)
  • 071dcd3 feat: support TS syntax in no-dupe-class-members (#​19558) (Nitin Kumar)
  • cd72bcc feat: Introduce a way to suppress violations (#​19159) (Iacovos Constantinou)
  • 2a81578 feat: support TS syntax in no-loss-of-precision (#​19560) (Nitin Kumar)
  • 30ae4ed feat: add new options to class-methods-use-this (#​19527) (sethamus)
  • b79ade6 feat: support TypeScript syntax in no-array-constructor (#​19493) (Tanuj Kanti)
Bug Fixes
  • b23d1c5 fix: deduplicate variable names in no-loop-func error messages (#​19595) (Nitin Kumar)
  • fb8cdb8 fix: use any[] type for context.options (#​19584) (Francesco Trotta)
Documentation
  • f857820 docs: update documentation for --experimental-strip-types (#​19594) (Nikolas Schröter)
  • 803e4af docs: simplify gitignore path handling in includeIgnoreFile section (#​19596) (Thomas Broyer)
  • 6d979cc docs: Update README (GitHub Actions Bot)
  • 82177e4 docs: Update README (GitHub Actions Bot)
  • e849dc0 docs: replace existing var with const (#​19578) (Sweta Tanwar)
  • 0c65c62 docs: don't pass filename when linting rule examples (#​19571) (Milos Djermanovic)
  • 6be36c9 docs: Update custom-rules.md code example of fixer (#​19555) (Yifan Pan)
Build Related
  • 366e369 build: re-enable Prettier formatting for package.json files (#​19569) (Francesco Trotta)
Chores

v9.23.0

Compare Source

Features
  • 557a0d2 feat: support TypeScript syntax in no-useless-constructor (#​19535) (Josh Goldberg ✨)
  • 8320241 feat: support TypeScript syntax in default-param-last (#​19431) (Josh Goldberg ✨)
  • 833c4a3 feat: defineConfig() supports "flat/" config prefix (#​19533) (Nicholas C. Zakas)
  • 4a0df16 feat: circular autofix/conflicting rules detection (#​19514) (Milos Djermanovic)
  • be56a68 feat: support TypeScript syntax in class-methods-use-this (#​19498) (Josh Goldberg ✨)
Bug Fixes
  • 0e20aa7 fix: move deprecated RuleContext methods to subtype (#​19531) (Francesco Trotta)
  • cc3bd00 fix: reporting variable used in catch block in no-useless-assignment (#​19423) (Tanuj Kanti)
  • d46ff83 fix: no-dupe-keys false positive with proto setter (#​19508) (Milos Djermanovic)
  • e732773 fix: navigation of search results on pressing Enter (#​19502) (Tanuj Kanti)
  • f4e9c5f fix: allow RuleTester to test files inside node_modules/ (#​19499) (fisker Cheung)
Documentation
Build Related
  • 2357edd build: exclude autogenerated files from Prettier formatting (#​19548) (Francesco Trotta)
Chores

v9.22.0

Compare Source

Features
  • 7ddb095 feat: Export defineConfig, globalIgnores (#​19487) (Nicholas C. Zakas)
Bug Fixes
  • 19c0127 fix: improve message for no-console suggestions (#​19483) (Francesco Trotta)
  • 49e624f fix: improve error message for falsy parsed JS AST (#​19458) (Josh Goldberg ✨)
Documentation
  • 86c5f37 docs: Update README (GitHub Actions Bot)
  • fbdeff0 docs: Update README (GitHub Actions Bot)
  • c9e8510 docs: generate deprecation notice in TSDoc comments from rule metadata (#​19461) (Francesco Trotta)
  • 2f386ad docs: replace var with const in rule examples (#​19469) (Tanuj Kanti)
  • 0e688e3 docs: Update README (GitHub Actions Bot)
  • 06b596d docs: Restore the carrot to the position where the search input was lost (#​19459) (Amaresh S M)
Chores

v9.21.0

Compare Source

Features
Bug Fixes
  • db5340d fix: update missing plugin message template (#​19445) (Milos Djermanovic)
  • d8ffdd4 fix: do not exit process on rule crash (#​19436) (Francesco Trotta)
Documentation
  • c5561ea docs: Update README (GitHub Actions Bot)
  • 80b0485 docs: replace var with let and const in rule example (#​19434) (Tanuj Kanti)
  • f67d5e8 docs: Update README (GitHub Actions Bot)
  • 75afc61 docs: Update README (GitHub Actions Bot)
  • 0636cab docs: Update Eleventy from v2 to v3 (#​19415) (Amaresh S M)
  • dd7d930 docs: Update README (GitHub Actions Bot)
Chores
  • a8c9a9f chore: update @eslint/eslintrc and @eslint/js (#​19453) (Francesco Trotta)
  • 265e0cf chore: package.json update for @​eslint/js release (Jenkins)
  • 3401b85 test: add test for Rule.ReportDescriptor type (#​19449) (Francesco Trotta)
  • e497aa7 chore: update rewrite dependencies (#​19448) (Francesco Trotta)
  • dab5478 chore: better error message for missing plugin in config (#​19402) (Tanuj Kanti)
  • ebfe2eb chore: set js language for bug report issue config block (#​19439) (Josh Goldberg ✨)
  • 5fd211d test: processors can return subpaths (#​19425) (Milos Djermanovic)
prettier/eslint-config-prettier (eslint-config-prettier)

v10.1.2

Compare Source

Patch Changes

v10.1.1

Compare Source

Patch Changes
  • #​309 eb56a5e Thanks @​JounQin! - fix: separate the /flat entry for compatibility

    For flat config users, the previous "eslint-config-prettier" entry still works, but "eslint-config-prettier/flat" adds a new name property for config-inspector, we just can't add it for the default entry for compatibility.

    See also #​308

    // before
    import eslintConfigPrettier from "eslint-config-prettier";
    
    // after
    import eslintConfigPrettier from "eslint-config-prettier/flat";

v10.1.0

Compare Source

Minor Changes

v10.0.3

Compare Source

Patch Changes

v10.0.2

Compare Source

Patch Changes
import-js/eslint-import-resolver-typescript (eslint-import-resolver-typescript)

v3.10.0

Compare Source

Minor Changes

Full Changelog: import-js/eslint-import-resolver-typescript@v3.9.1...v3.10.0

v3.9.1

Compare Source

Patch Changes

v3.9.0

Compare Source

Minor Changes

v3.8.7

Compare Source

Patch Changes

v3.8.6

Compare Source

Patch Changes

v3.8.5

Compare Source

Patch Changes

v3.8.4

Compare Source

Patch Changes

v3.8.3

Compare Source

Patch Changes

v3.8.2

Compare Source

Patch Changes
facebook/react (eslint-plugin-react-hooks)

v5.2.0

Compare Source

storybookjs/eslint-plugin-storybook (eslint-plugin-storybook)

v0.12.0

Compare Source

🚀 Enhancement
Authors: 3

v0.11.6

Compare Source

🐛 Bug Fix
Authors: 1

v0.11.5

Compare Source

🐛 Bug Fix
Authors: 1

v0.11.4

Compare Source

🐛 Bug Fix
Authors: 1


Configuration

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

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

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.

@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 Feb 20, 2025
hashdotai
hashdotai previously approved these changes Feb 20, 2025
Copy link

codecov bot commented Feb 20, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 30.72%. Comparing base (dfe9577) to head (cbf8092).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #6493   +/-   ##
=======================================
  Coverage   30.72%   30.72%           
=======================================
  Files         607      607           
  Lines       23290    23290           
  Branches     2968     2968           
=======================================
  Hits         7156     7156           
  Misses      16077    16077           
  Partials       57       57           
Flag Coverage Δ
blockprotocol.type-system 37.22% <ø> (ø)
local.harpc-client 50.93% <ø> (ø)

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.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@hash-worker hash-worker bot force-pushed the deps/js/eslint-npm-packages branch from 1423a6f to 1c3df10 Compare February 20, 2025 11:09
@hash-worker hash-worker bot changed the title Update npm package eslint-import-resolver-typescript to v3.8.2 Update npm package eslint-import-resolver-typescript to v3.8.3 Feb 20, 2025
hashdotai
hashdotai previously approved these changes Feb 20, 2025
@hash-worker hash-worker bot force-pushed the deps/js/eslint-npm-packages branch from 1c3df10 to b0ff98f Compare February 21, 2025 15:09
@hash-worker hash-worker bot changed the title Update npm package eslint-import-resolver-typescript to v3.8.3 Update npm package eslint-import-resolver-typescript to v3.8.2 Feb 21, 2025
hashdotai
hashdotai previously approved these changes Feb 21, 2025
@hash-worker hash-worker bot force-pushed the deps/js/eslint-npm-packages branch from b0ff98f to fa15389 Compare February 23, 2025 11:09
@hash-worker hash-worker bot changed the title Update npm package eslint-import-resolver-typescript to v3.8.2 Update npm package eslint-import-resolver-typescript to v3.8.3 Feb 23, 2025
hashdotai
hashdotai previously approved these changes Feb 23, 2025
hashdotai
hashdotai previously approved these changes Apr 7, 2025
hashdotai
hashdotai previously approved these changes Apr 11, 2025
hashdotai
hashdotai previously approved these changes Apr 12, 2025
hashdotai
hashdotai previously approved these changes Apr 13, 2025
hashdotai
hashdotai previously approved these changes Apr 16, 2025
@hash-worker hash-worker bot force-pushed the deps/js/eslint-npm-packages branch from 4f1b8f7 to cbf8092 Compare April 17, 2025 08:45
@github-actions github-actions bot removed the area/content > hash.dev Affects the `hash.dev` developer site (content) label Apr 17, 2025
Copy link
Contributor

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/page/v/2 $$17.2 \mathrm{ms} \pm 214 \mathrm{μs}\left({\color{lightgreen}-5.435 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/building/v/1 $$16.6 \mathrm{ms} \pm 215 \mathrm{μs}\left({\color{gray}-3.764 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/song/v/1 $$17.4 \mathrm{ms} \pm 189 \mathrm{μs}\left({\color{lightgreen}-27.755 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/playlist/v/1 $$17.1 \mathrm{ms} \pm 204 \mathrm{μs}\left({\color{lightgreen}-9.215 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/block/v/1 $$17.2 \mathrm{ms} \pm 231 \mathrm{μs}\left({\color{lightgreen}-27.918 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/organization/v/1 $$17.4 \mathrm{ms} \pm 203 \mathrm{μs}\left({\color{lightgreen}-27.480 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/book/v/1 $$16.4 \mathrm{ms} \pm 239 \mathrm{μs}\left({\color{lightgreen}-6.831 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/person/v/1 $$17.5 \mathrm{ms} \pm 206 \mathrm{μs}\left({\color{gray}-1.963 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/uk-address/v/1 $$17.0 \mathrm{ms} \pm 218 \mathrm{μs}\left({\color{gray}-2.999 \mathrm{\%}}\right) $$ Flame Graph

scaling_read_entity_complete_zero_depth

Function Value Mean Flame graphs
entity_by_id 10 entities $$2.26 \mathrm{ms} \pm 17.5 \mathrm{μs}\left({\color{gray}0.690 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 5 entities $$2.05 \mathrm{ms} \pm 10.4 \mathrm{μs}\left({\color{gray}0.765 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 50 entities $$5.14 \mathrm{ms} \pm 26.3 \mathrm{μs}\left({\color{gray}-0.026 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 25 entities $$2.80 \mathrm{ms} \pm 11.3 \mathrm{μs}\left({\color{lightgreen}-15.078 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 1 entities $$2.02 \mathrm{ms} \pm 8.01 \mathrm{μs}\left({\color{gray}0.355 \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.16 \mathrm{ms} \pm 10.0 \mathrm{μs}\left({\color{gray}-0.564 \mathrm{\%}}\right) $$ Flame Graph

scaling_read_entity_linkless

Function Value Mean Flame graphs
entity_by_id 10000 entities $$9.53 \mathrm{ms} \pm 83.4 \mathrm{μs}\left({\color{lightgreen}-30.977 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 100 entities $$2.14 \mathrm{ms} \pm 8.26 \mathrm{μs}\left({\color{gray}-4.780 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 10 entities $$2.06 \mathrm{ms} \pm 7.33 \mathrm{μs}\left({\color{gray}1.72 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 1000 entities $$2.96 \mathrm{ms} \pm 11.6 \mathrm{μs}\left({\color{gray}-1.724 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 1 entities $$2.03 \mathrm{ms} \pm 7.69 \mathrm{μs}\left({\color{gray}0.350 \mathrm{\%}}\right) $$ Flame Graph

representative_read_multiple_entities

Function Value Mean Flame graphs
entity_by_property depths: DT=0, PT=2, ET=2, E=2 $$53.4 \mathrm{ms} \pm 283 \mathrm{μs}\left({\color{gray}-2.376 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=0, PT=0, ET=0, E=0 $$38.4 \mathrm{ms} \pm 326 \mathrm{μs}\left({\color{gray}-4.115 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=0, PT=0, ET=0, E=2 $$43.2 \mathrm{ms} \pm 316 \mathrm{μs}\left({\color{gray}-2.520 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=2, PT=2, ET=2, E=2 $$56.7 \mathrm{ms} \pm 308 \mathrm{μs}\left({\color{gray}-2.379 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=255, PT=255, ET=255, E=255 $$67.1 \mathrm{ms} \pm 666 \mathrm{μs}\left({\color{gray}-1.028 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=0, PT=0, ET=2, E=2 $$48.7 \mathrm{ms} \pm 314 \mathrm{μs}\left({\color{gray}-2.807 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=0, PT=2, ET=2, E=2 $$87.4 \mathrm{ms} \pm 655 \mathrm{μs}\left({\color{gray}-4.045 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=0, PT=0, ET=0, E=0 $$39.1 \mathrm{ms} \pm 166 \mathrm{μs}\left({\color{gray}-2.392 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=0, PT=0, ET=0, E=2 $$73.5 \mathrm{ms} \pm 469 \mathrm{μs}\left({\color{gray}-3.296 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=2, PT=2, ET=2, E=2 $$90.5 \mathrm{ms} \pm 427 \mathrm{μs}\left({\color{gray}-2.947 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=255, PT=255, ET=255, E=255 $$99.9 \mathrm{ms} \pm 520 \mathrm{μs}\left({\color{gray}-1.149 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=0, PT=0, ET=2, E=2 $$82.2 \mathrm{ms} \pm 302 \mathrm{μs}\left({\color{gray}-3.341 \mathrm{\%}}\right) $$ Flame Graph

scaling_read_entity_complete_one_depth

Function Value Mean Flame graphs
entity_by_id 10 entities $$58.4 \mathrm{ms} \pm 260 \mathrm{μs}\left({\color{gray}-0.737 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 5 entities $$27.6 \mathrm{ms} \pm 150 \mathrm{μs}\left({\color{gray}1.61 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 50 entities $$5.40 \mathrm{s} \pm 540 \mathrm{ms}\left({\color{gray}-3.717 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 25 entities $$181 \mathrm{ms} \pm 928 \mathrm{μs}\left({\color{gray}-0.165 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 1 entities $$21.2 \mathrm{ms} \pm 66.9 \mathrm{μs}\left({\color{gray}1.21 \mathrm{\%}}\right) $$ Flame Graph

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 > 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.

2 participants