Skip to content

Commit

Permalink
chore(deps): update dependency eslint-utils to v3 (#4362)
Browse files Browse the repository at this point in the history
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [eslint-utils](https://togithub.com/mysticatea/eslint-utils) |
[`^1.4.3` ->
`^3.0.0`](https://renovatebot.com/diffs/npm/eslint-utils/1.4.3/3.0.0) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/eslint-utils/3.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/eslint-utils/3.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/eslint-utils/1.4.3/3.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/eslint-utils/1.4.3/3.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>mysticatea/eslint-utils (eslint-utils)</summary>

###
[`v3.0.0`](https://togithub.com/mysticatea/eslint-utils/releases/tag/v3.0.0)

[Compare
Source](https://togithub.com/mysticatea/eslint-utils/compare/v2.1.0...v3.0.0)

#### 💥 Breaking Changes

-
[`9a5c4fb`](https://togithub.com/mysticatea/eslint-utils/commit/9a5c4fb0784029e0f270f2a92b684d0804ab9e30),
[`5361c33`](https://togithub.com/mysticatea/eslint-utils/commit/5361c335cec928fa49a89e0aa68252560c1b297f)
dropped old Node.js support. The new range is `^10.0.0 || ^12.0.0 || >=
14.0.0`.
-
[`5361c33`](https://togithub.com/mysticatea/eslint-utils/commit/5361c335cec928fa49a89e0aa68252560c1b297f)
added the `exports` field to `package.json`. Now direct accesses to
internal files are disallowed.
-
[`c5574ce`](https://togithub.com/mysticatea/eslint-utils/commit/c5574cee3fab847e158755829a9d20d874bc3a2d),
[`46771e1`](https://togithub.com/mysticatea/eslint-utils/commit/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

-
[`05b8390`](https://togithub.com/mysticatea/eslint-utils/commit/05b8390bd30b064fdaf5af6b397413934c99ffa5)
supports the new class features of ES2022: public class fields, private
class members, and static of them.
-
[`46771e1`](https://togithub.com/mysticatea/eslint-utils/commit/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

-
[`994ee18`](https://togithub.com/mysticatea/eslint-utils/commit/994ee18e252ddccbb0c341f9c6c53cc8b30a766c)
fixed misleading result from `getStaticValue()` on expressions that
re-use `Symbol()`s
([#&#8203;12](https://togithub.com/mysticatea/eslint-utils/issues/12))
-
[`b8820bc`](https://togithub.com/mysticatea/eslint-utils/commit/b8820bc40243adf2ab016628a393f1aab1b47c40)
fixed `isParenthesized()` on `CatchClause.param` should be `false`
([#&#8203;15](https://togithub.com/mysticatea/eslint-utils/issues/15))

###
[`v2.1.0`](https://togithub.com/mysticatea/eslint-utils/releases/tag/v2.1.0)

[Compare
Source](https://togithub.com/mysticatea/eslint-utils/compare/v2.0.0...v2.1.0)

#### ✨ Enhancements

-
[`f811251`](https://togithub.com/mysticatea/eslint-utils/commit/f811251d809ac3f9af2ab429e551aa116b9d8847)
improved the `getFunctionNameWithKind()` function to get better names of
arrow functions.
-
[`9b2885a`](https://togithub.com/mysticatea/eslint-utils/commit/9b2885a04975d88c7e5f33f09a49f38fc340ee7b)
added Optional chaining & Nullish coalescing support to some functions.

###
[`v2.0.0`](https://togithub.com/mysticatea/eslint-utils/releases/tag/v2.0.0)

[Compare
Source](https://togithub.com/mysticatea/eslint-utils/compare/v1.4.3...v2.0.0)

#### 💥 Breaking Changes

-
[`d2c2c18`](https://togithub.com/mysticatea/eslint-utils/commit/d2c2c18b6502099b489a12660c497200097f18e0)
updated `ReferenceTracker#iterateGlobalReferences()` method to recognize
the member of `globalThis` by default.

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 5pm,every weekend" in timezone
America/Los_Angeles, Automerge - "after 5pm,every weekend" in timezone
America/Los_Angeles.

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/valora-inc/wallet).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xOS4yIiwidXBkYXRlZEluVmVyIjoiMzcuMTkuMiIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored Oct 21, 2023
1 parent c8b76ab commit ac0603f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@
"bignumber.js": "^9.1.2",
"prettier": "2.8.8",
"@types/prettier": "^2.7.3",
"eslint-utils": "^1.4.3",
"eslint-utils": "^3.0.0",
"set-value": "^4.1.0",
"https-proxy-agent": "^5.0.1",
"mixin-deep": "^2.0.1",
Expand Down
18 changes: 9 additions & 9 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8466,17 +8466,17 @@ eslint-scope@^7.2.2:
esrecurse "^4.3.0"
estraverse "^5.2.0"

eslint-utils@^1.4.3:
version "1.4.3"
resolved "https://registry.yarnpkg.com/eslint-utils/-/eslint-utils-1.4.3.tgz#74fec7c54d0776b6f67e0251040b5806564e981f"
integrity sha512-fbBN5W2xdY45KulGXmLHZ3c3FHfVYmKg0IrAKGOkT/464PQsx2UeIzfz1RmEci+KLm1bBaAzZAh8+/E+XAeZ8Q==
eslint-utils@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/eslint-utils/-/eslint-utils-3.0.0.tgz#8aebaface7345bb33559db0a1f13a1d2d48c3672"
integrity sha512-uuQC43IGctw68pJA1RgbQS8/NP7rch6Cwd4j3ZBtgo4/8Flj4eGE7ZYSZRN3iq5pVUv6GPdW5Z1RFleo84uLDA==
dependencies:
eslint-visitor-keys "^1.1.0"
eslint-visitor-keys "^2.0.0"

eslint-visitor-keys@^1.1.0:
version "1.3.0"
resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz#30ebd1ef7c2fdff01c3a4f151044af25fab0523e"
integrity sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ==
eslint-visitor-keys@^2.0.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz#f65328259305927392c938ed44eb0a5c9b2bd303"
integrity sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw==

eslint-visitor-keys@^3.3.0, eslint-visitor-keys@^3.4.1, eslint-visitor-keys@^3.4.3:
version "3.4.3"
Expand Down

0 comments on commit ac0603f

Please sign in to comment.