hypothesis / via

Proxies third-party PDF files and HTML pages with the Hypothesis client embedded, so you can annotate them
https://via.hypothes.is/
BSD 2-Clause "Simplified" License
19 stars 7 forks source link

Bump the eslint group across 1 directory with 7 updates #1392

Closed dependabot[bot] closed 1 week ago

dependabot[bot] commented 1 month ago

Bumps the eslint group with 7 updates in the / directory:

Package From To
@typescript-eslint/eslint-plugin 7.4.0 8.0.0
@typescript-eslint/parser 7.4.0 8.0.0
eslint 8.57.0 9.8.0
eslint-plugin-jsx-a11y 6.8.0 6.9.0
eslint-plugin-mocha 10.4.1 10.5.0
eslint-plugin-react 7.34.1 7.35.0
eslint-plugin-react-hooks 4.6.0 4.6.2

Updates @typescript-eslint/eslint-plugin from 7.4.0 to 8.0.0

Release notes

Sourced from @​typescript-eslint/eslint-plugin's releases.

v8.0.0

8.0.0 (2024-07-31)

🚀 Features

  • stricter parent types for the AST (#9560)
  • speed up non-type-aware linting with project service (#8322)
  • v8 integration branch (#9165)
  • ast-spec: remove deprecated type params (#8933)
  • eslint-plugin: remove formatting/layout rules (#8833)
  • eslint-plugin: [prefer-nullish-coalescing] change ignoreConditionalTests default to true (#8872)
  • eslint-plugin: deprecate no-loss-of-precision extension rule (#8832)
  • eslint-plugin: [no-unused-vars] align catch behavior to ESLint 9 (#8971)
  • eslint-plugin: split no-empty-object-type out from ban-types and no-empty-interfaces (#8977)
  • eslint-plugin: remove deprecated no-throw-literal rule (#9092)
  • eslint-plugin: apply initial config changes for v8 (#9079)
  • eslint-plugin: remove no-useless-template-literals (#9207)
  • eslint-plugin: [no-floating-promises] add 'allowForKnownSafeCalls' option (#9234)
  • eslint-plugin: replace ban-types with no-restricted-types, no-unsafe-function-type, no-wrapper-object-types (#9102)
  • eslint-plugin: [no-unused-vars] add reportUnusedIgnorePattern option (#9324)
  • eslint-plugin: [no-unused-vars] support ignoreClassWithStaticInitBlock (#9325)
  • eslint-plugin: [no-unused-vars] handle comma operator for assignments, treat for-of the same as for-in (#9326)
  • eslint-plugin: [no-unused-vars] report if var used only in typeof (#9330)
  • eslint-plugin: [no-floating-promises] disable checkThenables by default for v8 (#9559)
  • eslint-plugin: [return-await] add return-await to strict-type-checked preset (#9604)
  • eslint-plugin: [no-unnecessary-type-parameters] promote to strict (#9662)
  • parser: always enable comment, loc, range, tokens (#8617)
  • rule-tester: support multipass fixes (#8883)
  • rule-tester: switched to flat config (#9603)
  • type-utils: remove getTokenAtPosition (#9444)
  • type-utils: support intersection types in TypeOrValueSpecifier (#9633)
  • typescript-estree: remove slow deprecated and isolated programs (#8834)
  • typescript-estree: split TSMappedType typeParameter into constraint and key (#7065)
  • typescript-estree: rename automaticSingleRunInference to disallowAutomaticSingleRunInference (#8922)
  • typescript-estree: stabilize EXPERIMENTAL_useProjectService as projectService (#9084)
  • typescript-estree: remove EXPERIMENTAL_useSourceOfProjectReferenceRedirect (#9104)
  • typescript-estree: also remove projectService in withoutProjectParserOptions (#9287)
  • typescript-estree: exposes ProjectService logs through the plugin (#9337)
  • utils: add Linter configType constructor option (#8999)
  • utils: swap LegacyESLint out for FlatESLint as ESLint export (#8972)
  • utils: remove deprecated context helpers (#9000)
  • utils: allow specifying additional rule meta.docs in RuleCreator (#9025)

🩹 Fixes

  • correct eslint-plugin's peerDependency on parser@8 (#9089)
  • bring back in allowdefaultprojectforfiles rename (7dfceeeea)
  • disable projectService in disabled-type-checked shared config (#9460)
  • eslint-plugin: include alpha pre-releases in parser peer dependency (#9099)

... (truncated)

Changelog

Sourced from @​typescript-eslint/eslint-plugin's changelog.

8.0.0 (2024-07-31)

🚀 Features

  • stricter parent types for the AST

  • typescript-estree: split TSMappedType typeParameter into constraint and key

  • eslint-plugin: remove formatting/layout rules

  • eslint-plugin: [prefer-nullish-coalescing] change ignoreConditionalTests default to true

  • eslint-plugin: deprecate no-loss-of-precision extension rule

  • eslint-plugin: [no-unused-vars] align catch behavior to ESLint 9

  • typescript-estree: rename automaticSingleRunInference to disallowAutomaticSingleRunInference

  • utils: allow specifying additional rule meta.docs in RuleCreator

  • eslint-plugin: split no-empty-object-type out from ban-types and no-empty-interfaces

  • rule-tester: support multipass fixes

  • typescript-estree: stabilize EXPERIMENTAL_useProjectService as projectService

  • eslint-plugin: remove deprecated no-throw-literal rule

  • eslint-plugin: apply initial config changes for v8

  • eslint-plugin: remove no-useless-template-literals

  • eslint-plugin: [no-floating-promises] add 'allowForKnownSafeCalls' option

  • eslint-plugin: replace ban-types with no-restricted-types, no-unsafe-function-type, no-wrapper-object-types

  • eslint-plugin: [no-unused-vars] add reportUnusedIgnorePattern option

  • eslint-plugin: [no-unused-vars] support ignoreClassWithStaticInitBlock

  • eslint-plugin: [no-unused-vars] handle comma operator for assignments, treat for-of the same as for-in

  • eslint-plugin: [no-unused-vars] report if var used only in typeof

  • eslint-plugin: [no-floating-promises] disable checkThenables by default for v8

  • rule-tester: switched to flat config

  • eslint-plugin: [no-unnecessary-type-parameters] promote to strict

... (truncated)

Commits
  • 1db993a chore(release): publish 8.0.0
  • ce09260 docs(eslint-plugin): [no-unnecessary-type-parameters] add admonition about ru...
  • b8274d3 fix(rule-tester): provide Linter a cwd in its constructor (#9678)
  • 1b0468e Merge branch 'main'
  • 838dd0c chore: use parserOptions.projectService internally (#9659)
  • 35cf3d2 chore(release): publish 7.18.0
  • 46a5709 docs: link no-duplicate-type-constituents and no-redundant-type-constituents ...
  • 9eec790 fix(eslint-plugin): [strict-boolean-expressions] support branded booleans (#9...
  • 9927a29 docs: add ast-spec, type-utils docs with docusaurus-plugin-typedoc (#9293)
  • 6cebdf6 feat(eslint-plugin): [no-unnecessary-type-parameters] promote to strict (#9662)
  • Additional commits viewable in compare view


Updates @typescript-eslint/parser from 7.4.0 to 8.0.0

Release notes

Sourced from @​typescript-eslint/parser's releases.

v8.0.0

8.0.0 (2024-07-31)

🚀 Features

  • stricter parent types for the AST (#9560)
  • speed up non-type-aware linting with project service (#8322)
  • v8 integration branch (#9165)
  • ast-spec: remove deprecated type params (#8933)
  • eslint-plugin: remove formatting/layout rules (#8833)
  • eslint-plugin: [prefer-nullish-coalescing] change ignoreConditionalTests default to true (#8872)
  • eslint-plugin: deprecate no-loss-of-precision extension rule (#8832)
  • eslint-plugin: [no-unused-vars] align catch behavior to ESLint 9 (#8971)
  • eslint-plugin: split no-empty-object-type out from ban-types and no-empty-interfaces (#8977)
  • eslint-plugin: remove deprecated no-throw-literal rule (#9092)
  • eslint-plugin: apply initial config changes for v8 (#9079)
  • eslint-plugin: remove no-useless-template-literals (#9207)
  • eslint-plugin: [no-floating-promises] add 'allowForKnownSafeCalls' option (#9234)
  • eslint-plugin: replace ban-types with no-restricted-types, no-unsafe-function-type, no-wrapper-object-types (#9102)
  • eslint-plugin: [no-unused-vars] add reportUnusedIgnorePattern option (#9324)
  • eslint-plugin: [no-unused-vars] support ignoreClassWithStaticInitBlock (#9325)
  • eslint-plugin: [no-unused-vars] handle comma operator for assignments, treat for-of the same as for-in (#9326)
  • eslint-plugin: [no-unused-vars] report if var used only in typeof (#9330)
  • eslint-plugin: [no-floating-promises] disable checkThenables by default for v8 (#9559)
  • eslint-plugin: [return-await] add return-await to strict-type-checked preset (#9604)
  • eslint-plugin: [no-unnecessary-type-parameters] promote to strict (#9662)
  • parser: always enable comment, loc, range, tokens (#8617)
  • rule-tester: support multipass fixes (#8883)
  • rule-tester: switched to flat config (#9603)
  • type-utils: remove getTokenAtPosition (#9444)
  • type-utils: support intersection types in TypeOrValueSpecifier (#9633)
  • typescript-estree: remove slow deprecated and isolated programs (#8834)
  • typescript-estree: split TSMappedType typeParameter into constraint and key (#7065)
  • typescript-estree: rename automaticSingleRunInference to disallowAutomaticSingleRunInference (#8922)
  • typescript-estree: stabilize EXPERIMENTAL_useProjectService as projectService (#9084)
  • typescript-estree: remove EXPERIMENTAL_useSourceOfProjectReferenceRedirect (#9104)
  • typescript-estree: also remove projectService in withoutProjectParserOptions (#9287)
  • typescript-estree: exposes ProjectService logs through the plugin (#9337)
  • utils: add Linter configType constructor option (#8999)
  • utils: swap LegacyESLint out for FlatESLint as ESLint export (#8972)
  • utils: remove deprecated context helpers (#9000)
  • utils: allow specifying additional rule meta.docs in RuleCreator (#9025)

🩹 Fixes

  • correct eslint-plugin's peerDependency on parser@8 (#9089)
  • bring back in allowdefaultprojectforfiles rename (7dfceeeea)
  • disable projectService in disabled-type-checked shared config (#9460)
  • eslint-plugin: include alpha pre-releases in parser peer dependency (#9099)

... (truncated)

Changelog

Sourced from @​typescript-eslint/parser's changelog.

8.0.0 (2024-07-31)

🚀 Features

  • parser: always enable comment, loc, range, tokens

  • typescript-estree: stabilize EXPERIMENTAL_useProjectService as projectService

❤️ Thank You

  • Abraham Guo
  • Alfred Ringstad
  • auvred
  • Brad Zacher
  • Christopher Aubut
  • Collin Bachman
  • James Henry
  • Josh Goldberg
  • Josh Goldberg ✨
  • Kirk Waiblinger
  • StyleShit
  • Victor Lin
  • Yukihiro Hasegawa

You can read about our versioning strategy and releases on our website.

7.18.0 (2024-07-29)

This was a version bump only for parser to align it with other projects, there were no code changes.

You can read about our versioning strategy and releases on our website.

7.17.0 (2024-07-22)

This was a version bump only for parser to align it with other projects, there were no code changes.

You can read about our versioning strategy and releases on our website.

7.16.1 (2024-07-15)

This was a version bump only for parser to align it with other projects, there were no code changes.

You can read about our versioning strategy and releases on our website.

7.16.0 (2024-07-08)

🩹 Fixes

... (truncated)

Commits


Updates eslint from 8.57.0 to 9.8.0

Release notes

Sourced from eslint's releases.

v9.8.0

Features

  • 13d0bd3 feat: Add and use SourceCode#getLoc/getRange (#18703) (Nicholas C. Zakas)

Bug Fixes

  • ab0ff27 fix: Throw error when invalid flags passed (#18705) (Nicholas C. Zakas)
  • 70dc803 fix: basePath directory can never be ignored (#18711) (Milos Djermanovic)

Documentation

Build Related

  • 4514424 build: Enable JSON linting (#18681) (Nicholas C. Zakas)

Chores

  • deee448 chore: upgrade to @eslint/js@9.8.0 (#18720) (Francesco Trotta)
  • 4aaf2b3 chore: package.json update for @​eslint/js release (Jenkins)
  • 8e1a627 chore: update dependency @​eslint/core to ^0.2.0 (#18700) (renovate[bot])

v9.7.0

Features

  • 7bd9839 feat: add support for es2025 duplicate named capturing groups (#18630) (Yosuke Ota)
  • 1381394 feat: add regex option in no-restricted-imports (#18622) (Nitin Kumar)

Bug Fixes

  • 14e9f81 fix: destructuring in catch clause in no-unused-vars (#18636) (Francesco Trotta)

Documentation

  • 9f416db docs: Add Powered by Algolia label to the search. (#18633) (Amaresh S M)
  • c8d26cb docs: Open JS Foundation -> OpenJS Foundation (#18649) (Milos Djermanovic)
  • 6e79ac7 docs: loadESLint does not support option cwd (#18641) (Francesco Trotta)

Chores

  • 793b718 chore: upgrade @​eslint/js@​9.7.0 (#18680) (Francesco Trotta)
  • 7ed6f9a chore: package.json update for @​eslint/js release (Jenkins)
  • 7bcda76 refactor: Add type references (#18652) (Nicholas C. Zakas)
  • 51bf57c chore: add tech sponsors through actions (#18624) (Strek)
  • 6320732 refactor: don't use parent property in NodeEventGenerator (#18653) (Milos Djermanovic)
  • 9e6d640 refactor: move "Parsing error" prefix adding to Linter (#18650) (Milos Djermanovic)

v9.6.0

Features

  • e2b16e2 feat: Implement feature flags (#18516) (Nicholas C. Zakas)
  • 8824aa1 feat: add ecmaVersion: 2025, parsing duplicate named capturing groups (#18596) (Milos Djermanovic)

Bug Fixes

  • 1613e2e fix: Allow escaping characters in config patterns on Windows (#18628) (Milos Djermanovic)
  • 21d3766 fix: no-unused-vars include caught errors pattern in report message (#18609) (Kirk Waiblinger)

... (truncated)

Changelog

Sourced from eslint's changelog.

v9.8.0 - July 26, 2024

  • deee448 chore: upgrade to @eslint/js@9.8.0 (#18720) (Francesco Trotta)
  • 4aaf2b3 chore: package.json update for @​eslint/js release (Jenkins)
  • 8e1a627 chore: update dependency @​eslint/core to ^0.2.0 (#18700) (renovate[bot])
  • 13d0bd3 feat: Add and use SourceCode#getLoc/getRange (#18703) (Nicholas C. Zakas)
  • 282df1a docs: Add system theme option (#18617) (Amaresh S M)
  • ab0ff27 fix: Throw error when invalid flags passed (#18705) (Nicholas C. Zakas)
  • 70dc803 fix: basePath directory can never be ignored (#18711) (Milos Djermanovic)
  • 53b1ff0 docs: Debug config docs (#18698) (Nicholas C. Zakas)
  • 4514424 build: Enable JSON linting (#18681) (Nicholas C. Zakas)
  • a7016a5 docs: fix search input stylings (#18682) (Amaresh S M)

v9.7.0 - July 12, 2024

  • 793b718 chore: upgrade @​eslint/js@​9.7.0 (#18680) (Francesco Trotta)
  • 7ed6f9a chore: package.json update for @​eslint/js release (Jenkins)
  • 14e9f81 fix: destructuring in catch clause in no-unused-vars (#18636) (Francesco Trotta)
  • 7bcda76 refactor: Add type references (#18652) (Nicholas C. Zakas)
  • 51bf57c chore: add tech sponsors through actions (#18624) (Strek)
  • 9f416db docs: Add Powered by Algolia label to the search. (#18633) (Amaresh S M)
  • 6320732 refactor: don't use parent property in NodeEventGenerator (#18653) (Milos Djermanovic)
  • 7bd9839 feat: add support for es2025 duplicate named capturing groups (#18630) (Yosuke Ota)
  • 1381394 feat: add regex option in no-restricted-imports (#18622) (Nitin Kumar)
  • 9e6d640 refactor: move "Parsing error" prefix adding to Linter (#18650) (Milos Djermanovic)
  • c8d26cb docs: Open JS Foundation -> OpenJS Foundation (#18649) (Milos Djermanovic)
  • 6e79ac7 docs: loadESLint does not support option cwd (#18641) (Francesco Trotta)

v9.6.0 - June 28, 2024

  • b15ee30 chore: upgrade @​eslint/js@​9.6.0 (#18632) (Milos Djermanovic)
  • d655503 chore: package.json update for @​eslint/js release (Jenkins)
  • 1613e2e fix: Allow escaping characters in config patterns on Windows (#18628) (Milos Djermanovic)
  • 13dbecd docs: Limit search to just docs (#18627) (Nicholas C. Zakas)
  • 7c78ad9 refactor: Use language.visitorKeys and check for non-JS SourceCode (#18625) (Nicholas C. Zakas)
  • e2b16e2 feat: Implement feature flags (#18516) (Nicholas C. Zakas)
  • 69ff64e refactor: Return value of applyInlineConfig() (#18623) (Nicholas C. Zakas)
  • 375227f docs: Update getting-started.md - add pnpm to init eslint config (#18599) (Kostiantyn Ochenash)
  • 44915bb docs: Update README (GitHub Actions Bot)
  • d2d06f7 refactor: use / separator when adjusting ignorePatterns on Windows (#18613) (Milos Djermanovic)
  • 21d3766 fix: no-unused-vars include caught errors pattern in report message (#18609) (Kirk Waiblinger)
  • 6421973 refactor: fix disable directives for languages with 0-based lines (#18605) (Milos Djermanovic)
  • d7a7736 fix: improve no-unused-vars message on unused caught errors (#18608) (Kirk Waiblinger)
  • 0a13539 refactor: Allow optional methods for languages (#18604) (Nicholas C. Zakas)
  • f9e95d2 fix: correct locations of invalid /* eslint */ comments (#18593) (Milos Djermanovic)
  • 8824aa1 feat: add ecmaVersion: 2025, parsing duplicate named capturing groups (#18596) (Milos Djermanovic)
  • c7ddee0 chore: make internal-rules not being a package (#18601) (Milos Djermanovic)
  • 3379164 chore: remove .eslintrc.js (#18011) (唯然)
  • d0c3a32 chore: update knip (with webdriver-io plugin) (#18594) (Lars Kappert)
  • d50db7b docs: Update vscode-eslint info (#18595) (Nicholas C. Zakas)

... (truncated)

Commits


Updates eslint-plugin-jsx-a11y from 6.8.0 to 6.9.0

Release notes

Sourced from eslint-plugin-jsx-a11y's releases.

v6.9.0

Added

  • add support for Flat Config 6b5f096
  • no-noninteractive-element-to-interactive-role: allow menuitemradio and menuitemcheckbox on <li> c0733f9

Fixed

Changed

Full Changelog: https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/compare/v6.8.0...v6.9.0

Changelog

Sourced from eslint-plugin-jsx-a11y's changelog.

v6.9.0 - 2024-06-19

Fixed

Commits

  • [New] add support for Flat Config 6b5f096
  • Revert "[Fix] isNonInteractiveElement: Upgrade aria-query to 5.3.0 and axobject-query to 3.2.1" 75d5dd7
  • [Robustness] use safe-regex-test 4c7e781
  • [actions] update actions/checkout 51a1ca7
  • [Dev Deps] update @babel/cli, @babel/core, @babel/eslint-parser, @babel/plugin-transform-flow-strip-types, @babel/register, eslint-doc-generator, object.entries 1271ac1
  • [Dev Deps] update @babel/cli, @babel/core, @babel/register, aud, eslint-plugin-import, npmignore, object.assign 540cb7a
  • [Deps] update @babel/runtime, array-includes, es-iterator-helpers, hasown, object.fromentries, safe-regex-test 5d14408
  • [Deps] pin aria-query and axobject-query, add ls-engines test to CI 32fd82c
  • [Dev Deps] update @babel/core, @babel/eslint-parser, @babel/plugin-transform-flow-strip-types, eslint-doc-generator d1b4114
  • [Fix] ensure summary remains non-interactive 6a048da
  • [Deps] remove @babel/runtime 0a98ad8
  • [New] no-noninteractive-element-to-interactive-role: allow menuitemradio and menuitemcheckbox on <li> c0733f9
  • [Deps] update @babel/runtime, safe-regex-test 0d5321a
  • [actions] pin codecov to v3.1.5 961817f
  • [Deps] unpin axe-core b3559cf
  • [Deps] move object.entries to dev deps 1be7b70
  • [Deps] update @babel/runtime 2a48abb
  • [Deps] update @babel/runtime 1adec35
Commits
  • 882bd4d v6.9.0
  • 961817f [actions] pin codecov to v3.1.5
  • 6a048da [Fix] ensure summary remains non-interactive
  • 75d5dd7 Revert "[Fix] isNonInteractiveElement: Upgrade aria-query to 5.3.0 and axob...
  • 32fd82c [Deps] pin aria-query and axobject-query, add ls-engines test to CI
  • 0a98ad8 [Deps] remove @babel/runtime
  • 6b5f096 [New] add support for Flat Config
  • 51a1ca7 [actions] update actions/checkout
  • 5d14408 [Deps] update @babel/runtime, array-includes, es-iterator-helpers, `has...
  • 1271ac1 [Dev Deps] update @babel/cli, @babel/core, @babel/eslint-parser, `@babe...
  • Additional commits viewable in compare view


Updates eslint-plugin-mocha from 10.4.1 to 10.5.0

Release notes

Sourced from eslint-plugin-mocha's releases.

10.5.0

Enhancements

  • Add name to flat configs (#356)

10.4.3

Bug Fixes

  • Fix support for ESLint versions < 8.40.0

10.4.2

Bug Fixes

  • Stop using deprecated ESLint context methods
Changelog

Sourced from eslint-plugin-mocha's changelog.

10.5.0 (July 29, 2024)

Enhancements

  • Add name to flat configs (#356)

10.4.3 (April 19, 2024)

Bug Fixes

  • Fix support for ESLint versions < 8.40.0

10.4.2 (April 10, 2024)

Bug Fixes

  • Stop using deprecated ESLint context methods
Commits
  • ebe9e8b 10.5.0
  • 6c43a85 Add name to flat configs
  • 883930c 10.4.3
  • 756fa03 Remove node v14 from build matrix
  • ddd614c Run tests against latest ESLint 8.x version
  • e19e93e Fix support for ESLint versions < 8.40.0
  • bdf2006 10.4.2
  • af13b8d Stop using deprecated context.getScope() method
  • 3b60bf6 Stop using deprecated context.getDeclaredVariables() method
  • See full diff in compare view


Updates eslint-plugin-react from 7.34.1 to 7.35.0

Release notes

Sourced from eslint-plugin-react's releases.

v7.35.0

Added

Fixed

  • [no-invalid-html-attribute]: substitute placeholders in suggestion messages (#3759[] @​mdjermanovic)
  • [sort-prop-types]: single line type ending without semicolon (#3784[] @​akulsr0)
  • [require-default-props]: report when required props have default value (#3785[] @​akulsr0)

Changed

dependabot[bot] commented 1 week ago

Superseded by #1411.