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.0 to 3.0.0 #3

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

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github May 6, 2023

Bumps eslint-utils from 1.4.0 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.

v1.4.3

πŸ› Bug fixes

  • 8f9e481ecc1204c7a1331b697f97903f90c75154 fixed false positive of ReferenceTracker.

v1.4.2

πŸ› Bug fixes

  • e4cb01498df6096b66edb0c78965ee6f47d3ac77 fixed a regression of the previous release.

v1.4.1

πŸ› Bug fixes

  • c119e832952c8c653bd4f21e39eb9f7ce48e5947 fixed getStaticValue() function to handle null literal correctly even if runtimes don't support BigInt natively.
  • 587cca2f82c245f5fc4a8b9fb2cf6b35c0d02552 fixed getStringIfConstant() function to handle regular expression literals and BigInt literals even if runtimes don't support those.
  • 08158db1c98fd71cf0f32ddefbc147e2620e724c fixed GHSA-3gx7-xhv7-5mx3.
Commits
  • c3b1d38 πŸ”– 3.0.0
  • 99fd4be 🎨 use prettier
  • 5361c33 πŸ’₯ add exports field to package.json
  • fd5354f βœ… fix tests
  • 0b44ce2 βš’ update espree of tests
  • 0792ba6 βœ… add tests for reference tracker
  • d179d86 πŸ› fix for literal property names
  • 8a95743 βš’ remove CLIEngine from tests
  • 46771e1 ✨ improve 'getFunctionNameWithKind'
  • 05b8390 ✨ supports for ES2022 class features (#20)
  • Additional commits viewable in compare view

Dependabot compatibility score

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 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)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

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

---
updated-dependencies:
- dependency-name: eslint-utils
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label May 6, 2023
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants