Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(deps): update dependency eslint-utils to v3 (#4362)
[![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 ([#​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` ([#​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