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

Bump eslint-utils from 1.4.3 to 3.0.0 #38

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

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 20, 2024

Bumps eslint-utils from 1.4.3 to 3.0.0.

Release notes

Sourced from eslint-utils's releases.

v3.0.0

💥 Breaking Changes

  • 9a5c4fb0784029e0f270f2a92b684d0804ab9e30, 5361c335cec928fa49a89e0aa68252560c1b297f dropped old Node.js support. The new range is ^10.0.0 || ^12.0.0 || >= 14.0.0.
  • 5361c335cec928fa49a89e0aa68252560c1b297f added the exports field to package.json. Now direct accesses to internal files are disallowed.
  • c5574cee3fab847e158755829a9d20d874bc3a2d, 46771e110b39cfa52dbf70ba5a24a1d7bbaf032a changed the result of getFunctionNameWithKind(node) function in some cases.
    • Functions at method places prefer the method name than function's id. E.g., { foo: function bar() {} } is method 'foo'.
    • Arrow functions at method places are now methods. E.g., { foo: () => {} } is method 'foo'.
    • Function expressions at variable initializers or the RHS of assignments are named. E.g. foo = function() {} is function 'foo'.

✨ Enhancements

  • 05b8390bd30b064fdaf5af6b397413934c99ffa5 supports the new class features of ES2022: public class fields, private class members, and static of them.
  • 46771e110b39cfa52dbf70ba5a24a1d7bbaf032a added the optional second parameter to getFunctionNameWithKind(node). If you give context.getSourceCode() to that, the getFunctionNameWithKind(node, sourceCode) function handles the name of computed properties. E.g., { [foo]() {} } is method [foo].

🐛 Bug fixes

  • 994ee18e252ddccbb0c341f9c6c53cc8b30a766c fixed misleading result from getStaticValue() on expressions that re-use Symbol()s (#12)
  • b8820bc40243adf2ab016628a393f1aab1b47c40 fixed isParenthesized() on CatchClause.param should be false (#15)

v2.1.0

✨ Enhancements

  • f811251d809ac3f9af2ab429e551aa116b9d8847 improved the getFunctionNameWithKind() function to get better names of arrow functions.
  • 9b2885a04975d88c7e5f33f09a49f38fc340ee7b added Optional chaining & Nullish coalescing support to some functions.

v2.0.0

💥 Breaking Changes

  • d2c2c18b6502099b489a12660c497200097f18e0 updated ReferenceTracker#iterateGlobalReferences() method to recognize the member of globalThis by default.
Commits

Dependabot compatibility score

You can trigger a rebase of this PR 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 <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [eslint-utils](https://github.com/mysticatea/eslint-utils) from 1.4.3 to 3.0.0.
- [Release notes](https://github.com/mysticatea/eslint-utils/releases)
- [Commits](mysticatea/eslint-utils@v1.4.3...v3.0.0)

---
updated-dependencies:
- dependency-name: eslint-utils
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Oct 20, 2024
@dependabot dependabot bot requested a review from a team as a code owner October 20, 2024 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants