PhilanthropyDataCommons / service

A project for collecting and serving public information associated with grant applications
GNU Affero General Public License v3.0
8 stars 2 forks source link

Build(deps-dev): bump the eslint group across 1 directory with 3 updates #970

Closed dependabot[bot] closed 6 months ago

dependabot[bot] commented 6 months ago

Bumps the eslint group with 3 updates in the / directory: @typescript-eslint/eslint-plugin, @typescript-eslint/parser and eslint.

Updates @typescript-eslint/eslint-plugin from 7.5.0 to 7.8.0

Release notes

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

v7.8.0

7.8.0 (2024-04-29)

🚀 Features

  • rule-tester: assert suggestion messages are unique (#8995)
  • typescript-estree: add maximumDefaultProjectFileMatchCount and wide allowDefaultProjectForFiles glob restrictions (#8925)

🩹 Fixes

  • eslint-plugin: [no-unsafe-argument] handle tagged templates (#8746)
  • eslint-plugin: [prefer-optional-chain] suggests optional chaining during strict null equality check (#8717)
  • eslint-plugin: [consistent-type-assertions] handle tagged templates (#8993)
  • eslint-plugin: [no-unsafe-return] handle union types (#9001)
  • eslint-plugin: [no-unused-vars] clear error report range (#8640)
  • utils: export ESLint backwards-compat functions (#8976)

❤️ Thank You

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

v7.7.1

7.7.1 (2024-04-22)

🩹 Fixes

  • eslint-plugin: [no-unsafe-assignment] handle shorthand property assignment (#8800)
  • eslint-plugin: [explicit-function-return-type] fix checking wrong ancestor's return type (#8809)
  • eslint-plugin: [prefer-optional-chain] only look at left operand for requireNullish (#8559)
  • eslint-plugin: [no-for-in-array] refine report location (#8874)
  • eslint-plugin: [no-unnecessary-type-assertion] allow non-null assertion for void type (#8912)

❤️ Thank You

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

v7.7.0

7.7.0 (2024-04-15)

... (truncated)

Changelog

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

7.8.0 (2024-04-29)

🩹 Fixes

  • eslint-plugin: [no-unsafe-argument] handle tagged templates

  • eslint-plugin: [prefer-optional-chain] suggests optional chaining during strict null equality check

  • eslint-plugin: [consistent-type-assertions] handle tagged templates

  • eslint-plugin: [no-unsafe-return] handle union types

  • eslint-plugin: [no-unused-vars] clear error report range

❤️ Thank You

  • auvred
  • Josh Goldberg ✨
  • jsfm01
  • Kim Sang Du
  • YeonJuan

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

7.7.1 (2024-04-22)

🩹 Fixes

  • eslint-plugin: [no-unsafe-assignment] handle shorthand property assignment

  • eslint-plugin: [explicit-function-return-type] fix checking wrong ancestor's return type

  • eslint-plugin: [prefer-optional-chain] only look at left operand for requireNullish

  • eslint-plugin: [no-for-in-array] refine report location

  • eslint-plugin: [no-unnecessary-type-assertion] allow non-null assertion for void type

❤️ Thank You

  • Abraham Guo
  • Kirk Waiblinger
  • YeonJuan

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

... (truncated)

Commits
  • ee677f6 chore(release): publish 7.8.0
  • 8127873 fix(eslint-plugin): [no-unused-vars] clear error report range (#8640)
  • 216d1b0 fix(eslint-plugin): [no-unsafe-return] handle union types (#9001)
  • 51d2193 fix(eslint-plugin): [consistent-type-assertions] handle tagged templates (#8993)
  • 4bed24d fix(eslint-plugin): [prefer-optional-chain] suggests optional chaining during...
  • b0f7aa4 fix(eslint-plugin): [no-unsafe-argument] handle tagged templates (#8746)
  • 219b841 chore: resolve lint issues on main branch (#8966)
  • 3e19436 chore(release): publish 7.7.1
  • b2552ca fix(eslint-plugin): [no-unnecessary-type-assertion] allow non-null assertion ...
  • fdeba42 fix(eslint-plugin): [no-for-in-array] refine report location (#8874)
  • Additional commits viewable in compare view


Updates @typescript-eslint/parser from 7.5.0 to 7.8.0

Release notes

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

v7.8.0

7.8.0 (2024-04-29)

🚀 Features

  • rule-tester: assert suggestion messages are unique (#8995)
  • typescript-estree: add maximumDefaultProjectFileMatchCount and wide allowDefaultProjectForFiles glob restrictions (#8925)

🩹 Fixes

  • eslint-plugin: [no-unsafe-argument] handle tagged templates (#8746)
  • eslint-plugin: [prefer-optional-chain] suggests optional chaining during strict null equality check (#8717)
  • eslint-plugin: [consistent-type-assertions] handle tagged templates (#8993)
  • eslint-plugin: [no-unsafe-return] handle union types (#9001)
  • eslint-plugin: [no-unused-vars] clear error report range (#8640)
  • utils: export ESLint backwards-compat functions (#8976)

❤️ Thank You

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

v7.7.1

7.7.1 (2024-04-22)

🩹 Fixes

  • eslint-plugin: [no-unsafe-assignment] handle shorthand property assignment (#8800)
  • eslint-plugin: [explicit-function-return-type] fix checking wrong ancestor's return type (#8809)
  • eslint-plugin: [prefer-optional-chain] only look at left operand for requireNullish (#8559)
  • eslint-plugin: [no-for-in-array] refine report location (#8874)
  • eslint-plugin: [no-unnecessary-type-assertion] allow non-null assertion for void type (#8912)

❤️ Thank You

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

v7.7.0

7.7.0 (2024-04-15)

... (truncated)

Changelog

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

7.8.0 (2024-04-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.7.1 (2024-04-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.7.0 (2024-04-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.6.0 (2024-04-08)

🚀 Features

  • bump npm dependency ranges

❤️ Thank You

  • Abraham Guo
  • auvred
  • Brad Zacher

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

Commits


Updates eslint from 8.57.0 to 9.1.1

Release notes

Sourced from eslint's releases.

v9.1.1

Bug Fixes

  • a26b402 fix: use @​eslint/create-config latest (#18373) (唯然)

v9.1.0

Features

  • 03068f1 feat: Provide helpful error message for nullish configs (#18357) (Nicholas C. Zakas)
  • 751b518 feat: replace dependency graphemer with Intl.Segmenter (#18110) (Francesco Trotta)
  • 4d11e56 feat: add name to eslint configs (#18289) (唯然)
  • 1cbe1f6 feat: allow while(true) in no-constant-condition (#18286) (Tanuj Kanti)
  • 0db676f feat: add Intl in es6 globals (#18318) (唯然)

Bug Fixes

  • 8d18958 fix: Remove name from eslint/js packages (#18368) (Nicholas C. Zakas)
  • 594eb0e fix: do not crash on error in fs.walk filter (#18295) (Francesco Trotta)
  • 0d8cf63 fix: EMFILE errors (#18313) (Nicholas C. Zakas)
  • e1ac0b5 fix: --inspect-config only for flat config and respect -c (#18306) (Nicholas C. Zakas)
  • 09675e1 fix: --no-ignore should not apply to non-global ignores (#18334) (Milos Djermanovic)

Documentation

  • fb50077 docs: include notes about globals in migration-guide (#18356) (Gabriel Rohden)
  • 71c771f docs: Fix missing accessible name for scroll-to-top link (#18329) (Germán Freixinós)
  • 200fd4e docs: indicate eslintrc mode for .eslintignore (#18285) (Francesco Trotta)
  • 16b6a8b docs: Update README (GitHub Actions Bot)
  • df5f8a9 docs: paths and patterns difference in no-restricted-imports (#18273) (Tanuj Kanti)
  • c537d76 docs: update npm init @eslint/config generated file names (#18298) (唯然)
  • e1e305d docs: fix linebreak-style examples (#18262) (Francesco Trotta)
  • 113f51e docs: Mention package.json config support dropped (#18305) (Nicholas C. Zakas)
  • 5c35321 docs: add eslintrc-only note to --rulesdir (#18281) (Adam Lui 刘展鹏)

Build Related

  • 1fa6622 build: do not use --force flag to install dependencies (#18284) (Francesco Trotta)

Chores

  • d9a2983 chore: upgrade @​eslint/js to v9.1.1 (#18367) (Francesco Trotta)
  • 50d406d chore: package.json update for @​eslint/js release (Jenkins)
  • 155c71c chore: package.json update for @​eslint/js release (Jenkins)
  • 0588fc5 refactor: Move directive gathering to SourceCode (#18328) (Nicholas C. Zakas)
  • 9048e21 chore: lint docs/src/_data js files (#18335) (Milos Djermanovic)
  • 4820790 chore: upgrade globals@15.0.0 dev dependency (#18332) (Milos Djermanovic)
  • 698d9ff chore: upgrade jsdoc & unicorn plugins in eslint-config-eslint (#18333) (Milos Djermanovic)
  • 32c08cf chore: drop Node < 18 and use @​eslint/js v9 in eslint-config-eslint (#18323) (Milos Djermanovic)
  • a76fb55 chore: @​eslint-community/eslint-plugin-eslint-comments v4.3.0 (#18319) (Milos Djermanovic)
  • 78e45b1 chore: eslint-plugin-eslint-plugin v6.0.0 (#18316) (唯然)
  • 36103a5 chore: eslint-plugin-n v17.0.0 (#18315) (唯然)

v9.0.0

Breaking Changes

  • b7cf3bd fix!: correct camelcase rule schema for allow option (#18232) (eMerzh)
  • 09bd7fe feat!: move AST traversal into SourceCode (#18167) (Nicholas C. Zakas)

... (truncated)

Changelog

Sourced from eslint's changelog.

v9.1.1 - April 22, 2024

  • a26b402 fix: use @​eslint/create-config latest (#18373) (唯然)

v9.1.0 - April 19, 2024

  • d9a2983 chore: upgrade @​eslint/js to v9.1.1 (#18367) (Francesco Trotta)
  • 03068f1 feat: Provide helpful error message for nullish configs (#18357) (Nicholas C. Zakas)
  • 50d406d chore: package.json update for @​eslint/js release (Jenkins)
  • 8d18958 fix: Remove name from eslint/js packages (#18368) (Nicholas C. Zakas)
  • 155c71c chore: package.json update for @​eslint/js release (Jenkins)
  • 594eb0e fix: do not crash on error in fs.walk filter (#18295) (Francesco Trotta)
  • 751b518 feat: replace dependency graphemer with Intl.Segmenter (#18110) (Francesco Trotta)
  • fb50077 docs: include notes about globals in migration-guide (#18356) (Gabriel Rohden)
  • 4d11e56 feat: add name to eslint configs (#18289) (唯然)
  • 1cbe1f6 feat: allow while(true) in no-constant-condition (#18286) (Tanuj Kanti)
  • 0588fc5 refactor: Move directive gathering to SourceCode (#18328) (Nicholas C. Zakas)
  • 0d8cf63 fix: EMFILE errors (#18313) (Nicholas C. Zakas)
  • e1ac0b5 fix: --inspect-config only for flat config and respect -c (#18306) (Nicholas C. Zakas)
  • 09675e1 fix: --no-ignore should not apply to non-global ignores (#18334) (Milos Djermanovic)
  • 9048e21 chore: lint docs/src/_data js files (#18335) (Milos Djermanovic)
  • 4820790 chore: upgrade globals@15.0.0 dev dependency (#18332) (Milos Djermanovic)
  • 698d9ff chore: upgrade jsdoc & unicorn plugins in eslint-config-eslint (#18333) (Milos Djermanovic)
  • 71c771f docs: Fix missing accessible name for scroll-to-top link (#18329) (Germán Freixinós)
  • 0db676f feat: add Intl in es6 globals (#18318) (唯然)
  • 200fd4e docs: indicate eslintrc mode for .eslintignore (#18285) (Francesco Trotta)
  • 32c08cf chore: drop Node < 18 and use @​eslint/js v9 in eslint-config-eslint (#18323) (Milos Djermanovic)
  • 16b6a8b docs: Update README (GitHub Actions Bot)
  • a76fb55 chore: @​eslint-community/eslint-plugin-eslint-comments v4.3.0 (#18319) (Milos Djermanovic)
  • df5f8a9 docs: paths and patterns difference in no-restricted-imports (#18273) (Tanuj Kanti)
  • c537d76 docs: update npm init @eslint/config generated file names (#18298) (唯然)
  • 78e45b1 chore: eslint-plugin-eslint-plugin v6.0.0 (#18316) (唯然)
  • 36103a5 chore: eslint-plugin-n v17.0.0 (#18315) (唯然)
  • e1e305d docs: fix linebreak-style examples (#18262) (Francesco Trotta)
  • 113f51e docs: Mention package.json config support dropped (#18305) (Nicholas C. Zakas)
  • 1fa6622 build: do not use --force flag to install dependencies (#18284) (Francesco Trotta)
  • 5c35321 docs: add eslintrc-only note to --rulesdir (#18281) (Adam Lui 刘展鹏)

v9.0.0 - April 5, 2024

  • 19f9a89 chore: Update dependencies for v9.0.0 (#18275) (Nicholas C. Zakas)
  • 7c957f2 chore: package.json update for @​eslint/js release (Jenkins)
  • d73a33c chore: ignore /docs/v8.x in link checker (#18274) (Milos Djermanovic)
  • d54a412 feat: Add --inspect-config CLI flag (#18270) (Nicholas C. Zakas)
  • e151050 docs: update get-started to the new @eslint/create-config (#18217) (唯然)
  • 610c148 fix: Support using declarations in no-lone-blocks (#18269) (Kirk Waiblinger)
  • 44a81c6 chore: upgrade knip (#18272) (Lars Kappert)
  • 94178ad docs: mention about name field in flat config (#18252) (Anthony Fu)
  • 1765c24 docs: add Troubleshooting page (#18181) (Josh Goldberg ✨)
  • e80b60c chore: remove code for testing version selectors (#18266) (Milos Djermanovic)

... (truncated)

Commits


Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
bickelj commented 6 months ago

The error(s):

npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR! 
npm ERR! While resolving: @typescript-eslint/eslint-plugin@7.8.0
npm ERR! Found: eslint@9.1.1
npm ERR! node_modules/eslint
npm ERR!   dev eslint@"^9.1.1" from the root project
npm ERR!   peer eslint@"^6.0.0 || ^7.0.0 || >=8.0.0" from @eslint-community/eslint-utils@4.4.0
npm ERR!   node_modules/@eslint-community/eslint-utils
npm ERR!     @eslint-community/eslint-utils@"^4.4.0" from @typescript-eslint/utils@7.8.0
npm ERR!     node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils
npm ERR!       @typescript-eslint/utils@"7.8.0" from @typescript-eslint/eslint-plugin@7.8.0
npm ERR!       node_modules/@typescript-eslint/eslint-plugin
npm ERR!         dev @typescript-eslint/eslint-plugin@"^7.8.0" from the root project
npm ERR!         1 more (eslint-config-airbnb-typescript)
npm ERR!       1 more (@typescript-eslint/type-utils)
npm ERR!     @eslint-community/eslint-utils@"^4.2.0" from eslint@9.1.1
npm ERR!   2 more (eslint-config-prettier, eslint-plugin-sort-exports)
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer eslint@"^8.56.0" from @typescript-eslint/eslint-plugin@7.8.0
npm ERR! node_modules/@typescript-eslint/eslint-plugin
npm ERR!   dev @typescript-eslint/eslint-plugin@"^7.8.0" from the root project
npm ERR!   peer @typescript-eslint/eslint-plugin@"^7.0.0" from eslint-config-airbnb-typescript@18.0.0
npm ERR!   node_modules/eslint-config-airbnb-typescript
npm ERR!     dev eslint-config-airbnb-typescript@"^18.0.0" from the root project
npm ERR! 
npm ERR! Conflicting peer dependency: eslint@8.57.0
npm ERR! node_modules/eslint
npm ERR!   peer eslint@"^8.56.0" from @typescript-eslint/eslint-plugin@7.8.0
npm ERR!   node_modules/@typescript-eslint/eslint-plugin
npm ERR!     dev @typescript-eslint/eslint-plugin@"^7.8.0" from the root project
npm ERR!     peer @typescript-eslint/eslint-plugin@"^7.0.0" from eslint-config-airbnb-typescript@18.0.0
npm ERR!     node_modules/eslint-config-airbnb-typescript
npm ERR!       dev eslint-config-airbnb-typescript@"^18.0.0" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.

Seeing the eslint-config-airbnb-typescript mentioned twice above, I experimented (to narrow down which package is causing issues) by removing it from package.json locally, deleting package-lock.json and running npm i, but still get the first error:

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: @pdc/service@undefined
npm ERR! Found: eslint@9.1.1
npm ERR! node_modules/eslint
npm ERR!   dev eslint@"^9.1.1" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer eslint@"^8.56.0" from @typescript-eslint/parser@7.8.0
npm ERR! node_modules/@typescript-eslint/parser
npm ERR!   dev @typescript-eslint/parser@"^7.8.0" from the root project
npm ERR!   peer @typescript-eslint/parser@"^7.0.0" from @typescript-eslint/eslint-plugin@7.8.0
npm ERR!   node_modules/@typescript-eslint/eslint-plugin
npm ERR!     dev @typescript-eslint/eslint-plugin@"^7.8.0" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.

I guess neither eslint-config-airbnb-typescript nor @typescript-eslint/parser@7.8.0 is ready for eslint 9+.

Looking at recent versions of eslint and their downloads, it appears 8.57.0 is the most popular. I would have quoted from there but for some reason they presented tabular data in div elements making it difficult to copy and paste in a tabular way.

bickelj commented 6 months ago

Let's substitute https://github.com/PhilanthropyDataCommons/service/pull/977 instead of this PR.

dependabot[bot] commented 6 months ago

This pull request was built based on a group rule. Closing it will not ignore any of these versions in future pull requests.

To ignore these dependencies, configure ignore rules in dependabot.yml