Compare commits

...

23 commits

Author SHA1 Message Date
2ba327beca Update dependency eslint to v9.15.0
All checks were successful
Test / build (push) Successful in 9s
2024-11-18 00:10:05 +00:00
4b9c8a8ea5 Add "Gallery" field to return multiple images in 1 post (#242)
All checks were successful
Stage / build (push) Successful in 8s
Stage / rsync (push) Successful in 6s
# Description

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

- Added a `Gallery` option to the return parameters, which will be an array of image links for every image of that post
- The JSON will always show it
- The human readable will only show it if there is more than 1 image

#161

## Type of change

Please delete options that are not relevant.

- [x] New feature (non-breaking change which adds functionality)
- [x] This change requires a documentation update

# How Has This Been Tested?

Please describe the tests that you ran to verify the changes. Provide instructions so we can reproduce. Please also list any relevant details to your test configuration.

- Added new unit tests for these changes

# Checklist

- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [x] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [x] I have added tests that provide my fix is effective or that my feature works
- [x] New and existing unit tests pass locally with my changes
- [x] Any dependent changes have been merged and published in downstream modules

Reviewed-on: #242
Reviewed-by: VylpesTester <tester@vylpes.com>
Co-authored-by: Ethan Lane <ethan@vylpes.com>
Co-committed-by: Ethan Lane <ethan@vylpes.com>
2024-10-26 22:00:55 +01:00
db35dee5f9 Revert "Update dependency @yao-pkg/pkg to v5.16.0 (#232)"
All checks were successful
Stage / build (push) Successful in 8s
Stage / rsync (push) Successful in 5s
This reverts commit ec2b5f1fc7.
2024-10-21 17:38:34 +01:00
ef1651f871 Update dependency @types/node to v22.7.7 (#238)
Some checks failed
Stage / build (push) Successful in 8s
Stage / rsync (push) Failing after 5s
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node) ([source](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node)) | devDependencies | minor | [`22.5.5` -> `22.7.7`](https://renovatebot.com/diffs/npm/@types%2fnode/22.5.5/22.7.7) |

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **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 [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC44MC4wIiwidXBkYXRlZEluVmVyIjoiMzguODAuMCIsInRhcmdldEJyYW5jaCI6ImRldmVsb3AiLCJsYWJlbHMiOlsidHlwZS9kZXBlbmRlbmNpZXMiXX0=-->

Reviewed-on: #238
Reviewed-by: Vylpes <ethan@vylpes.com>
Co-authored-by: Renovate Bot <renovate@vylpes.com>
Co-committed-by: Renovate Bot <renovate@vylpes.com>
2024-10-21 17:36:45 +01:00
ec2b5f1fc7 Update dependency @yao-pkg/pkg to v5.16.0 (#232)
Some checks failed
Stage / build (push) Successful in 9s
Stage / rsync (push) Failing after 6s
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [@yao-pkg/pkg](https://github.com/yao-pkg/pkg) | devDependencies | minor | [`5.13.0` -> `5.16.0`](https://renovatebot.com/diffs/npm/@yao-pkg%2fpkg/5.13.0/5.16.0) |

---

### Release Notes

<details>
<summary>yao-pkg/pkg (@&#8203;yao-pkg/pkg)</summary>

### [`v5.16.0`](https://github.com/yao-pkg/pkg/blob/HEAD/CHANGELOG.md#5160-2024-10-20)

[Compare Source](https://github.com/yao-pkg/pkg/compare/v5.15.0...v5.16.0)

##### Features

-   bump fetch with node 22.10.0 and 20.18.0 support ([86d5f57](86d5f5797a))

##### Code refactoring

-   remove `fs-extra` ([#&#8203;102](https://github.com/yao-pkg/pkg/issues/102)) ([c726221](c726221de3))
-   replace `chalk` with `picocolors` ([#&#8203;105](https://github.com/yao-pkg/pkg/issues/105)) ([cba291e](cba291e246))
-   replace `globby` with `tinyglobby` ([#&#8203;103](https://github.com/yao-pkg/pkg/issues/103)) ([99a2632](99a26329cb))
-   replace `minimatch` with `picomatch` ([#&#8203;104](https://github.com/yao-pkg/pkg/issues/104)) ([1838100](183810066d))

##### Chores

-   unpin dependencies ([#&#8203;106](https://github.com/yao-pkg/pkg/issues/106)) ([ea94b03](ea94b03bad))

##### Documentation

-   explain how to execute binary from snapshot ([db7f2c5](db7f2c5ede))
-   explain how to use custom binaries ([18ed3cf](18ed3cfd1e))

### [`v5.15.0`](https://github.com/yao-pkg/pkg/blob/HEAD/CHANGELOG.md#5150-2024-09-20)

[Compare Source](https://github.com/yao-pkg/pkg/compare/v5.14.2...v5.15.0)

##### Features

-   bump [@&#8203;yao-pkg/pkg-fetch](https://github.com/yao-pkg/pkg-fetch)[@&#8203;3](https://github.com/3).5.13 with nodejs 22.9.0 ([#&#8203;91](https://github.com/yao-pkg/pkg/issues/91)) ([6ed5665](6ed566564f))

### [`v5.14.2`](https://github.com/yao-pkg/pkg/blob/HEAD/CHANGELOG.md#5142-2024-09-17)

[Compare Source](https://github.com/yao-pkg/pkg/compare/v5.14.1...v5.14.2)

##### Bug Fixes

-   child_process commands throw when pkg app try to call itself ([#&#8203;90](https://github.com/yao-pkg/pkg/issues/90)) ([e88d159](e88d15919f))

### [`v5.14.1`](https://github.com/yao-pkg/pkg/blob/HEAD/CHANGELOG.md#5141-2024-09-17)

[Compare Source](https://github.com/yao-pkg/pkg/compare/v5.14.0...v5.14.1)

##### Bug Fixes

-   bump pkg-fetch@3.5.12 with missing node22 macOS arm64 support ([4eea80c](4eea80c26d))

### [`v5.14.0`](https://github.com/yao-pkg/pkg/blob/HEAD/CHANGELOG.md#5140-2024-09-10)

[Compare Source](https://github.com/yao-pkg/pkg/compare/v5.13.0...v5.14.0)

##### Features

-   bump pkg-fetch@3.5.11 with nodejs 22 support (by [@&#8203;faulpeltz](https://github.com/faulpeltz)) ([1d8df70](1d8df70e21))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **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 [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC44MC4wIiwidXBkYXRlZEluVmVyIjoiMzguODAuMCIsInRhcmdldEJyYW5jaCI6ImRldmVsb3AiLCJsYWJlbHMiOlsidHlwZS9kZXBlbmRlbmNpZXMiXX0=-->

Reviewed-on: #232
Reviewed-by: Vylpes <ethan@vylpes.com>
Co-authored-by: Renovate Bot <renovate@vylpes.com>
Co-committed-by: Renovate Bot <renovate@vylpes.com>
2024-10-21 17:33:31 +01:00
dc24fe82a8 Update dependency @eslint/js to v9.13.0 (#231)
All checks were successful
Stage / build (push) Successful in 8s
Stage / rsync (push) Successful in 5s
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [@eslint/js](https://eslint.org) ([source](https://github.com/eslint/eslint/tree/HEAD/packages/js)) | devDependencies | minor | [`9.10.0` -> `9.13.0`](https://renovatebot.com/diffs/npm/@eslint%2fjs/9.10.0/9.13.0) |

---

### Release Notes

<details>
<summary>eslint/eslint (@&#8203;eslint/js)</summary>

### [`v9.13.0`](https://github.com/eslint/eslint/releases/tag/v9.13.0)

[Compare Source](https://github.com/eslint/eslint/compare/v9.12.0...v9.13.0)

#### Features

-   [`381c32b`](381c32b697) feat: Allow languages to provide `defaultLanguageOptions` ([#&#8203;19003](https://github.com/eslint/eslint/issues/19003)) (Milos Djermanovic)
-   [`bf723bd`](bf723bd0f9) feat: Improve eslintrc warning message ([#&#8203;19023](https://github.com/eslint/eslint/issues/19023)) (Milos Djermanovic)
-   [`1def4cd`](1def4cdfab) feat: drop support for jiti v1.21 ([#&#8203;18996](https://github.com/eslint/eslint/issues/18996)) (Francesco Trotta)
-   [`f879be2`](f879be240c) feat: export `ESLint.defaultConfig` ([#&#8203;18983](https://github.com/eslint/eslint/issues/18983)) (Nitin Kumar)

#### Bug Fixes

-   [`78836d4`](78836d40eb) fix: update the `complexity` rule type ([#&#8203;19027](https://github.com/eslint/eslint/issues/19027)) (Nitin Kumar)
-   [`064c8b6`](064c8b612e) fix: update rule types ([#&#8203;18925](https://github.com/eslint/eslint/issues/18925)) (Nitin Kumar)

#### Documentation

-   [`abdbfa8`](abdbfa8390) docs: mark `LintMessage#nodeType` as deprecated ([#&#8203;19019](https://github.com/eslint/eslint/issues/19019)) (Nitin Kumar)
-   [`19e68d3`](19e68d3f3a) docs: update deprecated rules type definitions ([#&#8203;19018](https://github.com/eslint/eslint/issues/19018)) (Nitin Kumar)
-   [`7dd402d`](7dd402d332) docs: Update examples of passing multiple values to a CLI option ([#&#8203;19006](https://github.com/eslint/eslint/issues/19006)) (Milos Djermanovic)
-   [`5dcbc51`](5dcbc519b7) docs: Add example with side-effect imports to no-restricted-imports ([#&#8203;18997](https://github.com/eslint/eslint/issues/18997)) (Milos Djermanovic)
-   [`1ee87ca`](1ee87ca1c5) docs: Update README (GitHub Actions Bot)
-   [`2c3dbdc`](2c3dbdc231) docs: Use prerendered sponsors for README ([#&#8203;18988](https://github.com/eslint/eslint/issues/18988)) (Milos Djermanovic)

#### Chores

-   [`68d2d9d`](68d2d9dfd6) chore: upgrade to `@eslint/js@9.13.0` and `@eslint/core@^0.7.0` ([#&#8203;19034](https://github.com/eslint/eslint/issues/19034)) (Francesco Trotta)
-   [`2211f0a`](2211f0aeb3) chore: package.json update for [@&#8203;eslint/js](https://github.com/eslint/js) release (Jenkins)
-   [`c7abaef`](c7abaef533) perf: using Node.js compile cache ([#&#8203;19012](https://github.com/eslint/eslint/issues/19012)) (唯然)
-   [`1d7c077`](1d7c077145) chore: add pkg.type "commonjs" ([#&#8203;19011](https://github.com/eslint/eslint/issues/19011)) (唯然)
-   [`468e3bd`](468e3bdadf) test: fix `ESLint` tests ([#&#8203;19021](https://github.com/eslint/eslint/issues/19021)) (Francesco Trotta)
-   [`ed4635f`](ed4635fa0e) ci: upgrade knip@5.32.0 ([#&#8203;18992](https://github.com/eslint/eslint/issues/18992)) (Milos Djermanovic)
-   [`efad767`](efad767321) chore: remove unused ignore dependency ([#&#8203;18993](https://github.com/eslint/eslint/issues/18993)) (Amaresh  S M)

### [`v9.12.0`](https://github.com/eslint/eslint/releases/tag/v9.12.0)

[Compare Source](https://github.com/eslint/eslint/compare/v9.11.1...v9.12.0)

#### Features

-   [`5a6a053`](5a6a05321c) feat: update to `jiti` v2 ([#&#8203;18954](https://github.com/eslint/eslint/issues/18954)) (Arya Emami)
-   [`17a07fb`](17a07fb548) feat: Hooks for test cases (RuleTester) ([#&#8203;18771](https://github.com/eslint/eslint/issues/18771)) (Anna Bocharova)
-   [`2ff0e51`](2ff0e51ced) feat: Implement alternate config lookup ([#&#8203;18742](https://github.com/eslint/eslint/issues/18742)) (Nicholas C. Zakas)
-   [`2d17453`](2d174532ae) feat: Implement modified cyclomatic complexity ([#&#8203;18896](https://github.com/eslint/eslint/issues/18896)) (Dmitry Pashkevich)

#### Bug Fixes

-   [`ea380ca`](ea380cac6f) fix: Upgrade retry to avoid EMFILE errors ([#&#8203;18986](https://github.com/eslint/eslint/issues/18986)) (Nicholas C. Zakas)
-   [`fdd6319`](fdd631964a) fix: Issues with type definitions ([#&#8203;18940](https://github.com/eslint/eslint/issues/18940)) (Arya Emami)

#### Documentation

-   [`ecbd522`](ecbd52291d) docs: Mention code explorer ([#&#8203;18978](https://github.com/eslint/eslint/issues/18978)) (Nicholas C. Zakas)
-   [`7ea4ecc`](7ea4ecc6e3) docs: Clarifying the Use of Meta Objects ([#&#8203;18697](https://github.com/eslint/eslint/issues/18697)) (Amaresh  S M)
-   [`d3e4b2e`](d3e4b2ea4a) docs: Clarify how to exclude `.js` files ([#&#8203;18976](https://github.com/eslint/eslint/issues/18976)) (Milos Djermanovic)
-   [`57232ff`](57232ff3d5) docs: Mention plugin-kit in language docs ([#&#8203;18973](https://github.com/eslint/eslint/issues/18973)) (Nicholas C. Zakas)
-   [`b80ed00`](b80ed007ce) docs: Update README (GitHub Actions Bot)
-   [`cb69ab3`](cb69ab374c) docs: Update README (GitHub Actions Bot)
-   [`7fb0d95`](7fb0d957c1) docs: Update README (GitHub Actions Bot)
-   [`493348a`](493348a9a5) docs: Update README (GitHub Actions Bot)
-   [`87a582c`](87a582c8b5) docs: fix typo in `id-match` rule ([#&#8203;18944](https://github.com/eslint/eslint/issues/18944)) (Jay)

#### Chores

-   [`555aafd`](555aafd06f) chore: upgrade to `@eslint/js@9.12.0` ([#&#8203;18987](https://github.com/eslint/eslint/issues/18987)) (Francesco Trotta)
-   [`873ae60`](873ae608c1) chore: package.json update for [@&#8203;eslint/js](https://github.com/eslint/js) release (Jenkins)
-   [`d0a5414`](d0a5414c30) refactor: replace strip-ansi with native module ([#&#8203;18982](https://github.com/eslint/eslint/issues/18982)) (Cristopher)
-   [`b827029`](b8270299ab) chore: Enable JSON5 linting ([#&#8203;18979](https://github.com/eslint/eslint/issues/18979)) (Milos Djermanovic)
-   [`8f55ca2`](8f55ca22d9) chore: Upgrade espree, eslint-visitor-keys, eslint-scope ([#&#8203;18962](https://github.com/eslint/eslint/issues/18962)) (Nicholas C. Zakas)
-   [`c1a2725`](c1a2725e9c) chore: update dependency mocha to ^10.7.3 ([#&#8203;18945](https://github.com/eslint/eslint/issues/18945)) (Milos Djermanovic)

### [`v9.11.1`](https://github.com/eslint/eslint/releases/tag/v9.11.1)

[Compare Source](https://github.com/eslint/eslint/compare/v9.11.0...v9.11.1)

#### Bug Fixes

-   [`20fd916`](20fd91689f) fix: add `@eslint/core`, `@types/estree`, & `@types/json-schema` deps ([#&#8203;18938](https://github.com/eslint/eslint/issues/18938)) (Nitin Kumar)
-   [`2738322`](27383226b8) fix: add missing types for `require-atomic-updates` rule ([#&#8203;18937](https://github.com/eslint/eslint/issues/18937)) (Kristóf Poduszló)
-   [`d71ff30`](d71ff3068c) fix: add missing types for `object-shorthand` rule ([#&#8203;18935](https://github.com/eslint/eslint/issues/18935)) (Kristóf Poduszló)
-   [`561cadc`](561cadc543) fix: add missing types for `no-unsafe-negation` rule ([#&#8203;18932](https://github.com/eslint/eslint/issues/18932)) (Kristóf Poduszló)
-   [`8843656`](8843656f9b) fix: add missing types for `no-underscore-dangle` rule ([#&#8203;18931](https://github.com/eslint/eslint/issues/18931)) (Kristóf Poduszló)
-   [`92cde5c`](92cde5c6da) fix: add missing types for `no-shadow` rule ([#&#8203;18930](https://github.com/eslint/eslint/issues/18930)) (Kristóf Poduszló)
-   [`b3cbe11`](b3cbe11a92) fix: add missing types for `no-sequences` rule ([#&#8203;18929](https://github.com/eslint/eslint/issues/18929)) (Kristóf Poduszló)
-   [`976f77f`](976f77f7f6) fix: add missing types for `no-unused-expressions` rule ([#&#8203;18933](https://github.com/eslint/eslint/issues/18933)) (Kristóf Poduszló)

#### Documentation

-   [`3eff709`](3eff709637) docs: replace deprecated `Linter.FlatConfig` type with `Linter.Config` ([#&#8203;18941](https://github.com/eslint/eslint/issues/18941)) (Carlos Meira)

#### Chores

-   [`df4a859`](df4a859b4c) chore: upgrade [@&#8203;eslint/js](https://github.com/eslint/js)[@&#8203;9](https://github.com/9).11.1 ([#&#8203;18943](https://github.com/eslint/eslint/issues/18943)) (Milos Djermanovic)
-   [`36d8095`](36d8095308) chore: package.json update for [@&#8203;eslint/js](https://github.com/eslint/js) release (Jenkins)

### [`v9.11.0`](https://github.com/eslint/eslint/releases/tag/v9.11.0)

[Compare Source](https://github.com/eslint/eslint/compare/v9.10.0...v9.11.0)

#### Features

-   [`ec30c73`](ec30c7349e) feat: add "eslint/universal" to export `Linter` ([#&#8203;18883](https://github.com/eslint/eslint/issues/18883)) (唯然)
-   [`c591da6`](c591da68d4) feat: Add language to types ([#&#8203;18917](https://github.com/eslint/eslint/issues/18917)) (Nicholas C. Zakas)
-   [`492eb8f`](492eb8f34e) feat: limit the name given to `ImportSpecifier` in `id-length` ([#&#8203;18861](https://github.com/eslint/eslint/issues/18861)) (Tanuj Kanti)
-   [`19c6856`](19c685608d) feat: Add `no-useless-constructor` suggestion ([#&#8203;18799](https://github.com/eslint/eslint/issues/18799)) (Jordan Thomson)
-   [`a48f8c2`](a48f8c29b5) feat: add type `FormatterFunction`, update `LoadedFormatter` ([#&#8203;18872](https://github.com/eslint/eslint/issues/18872)) (Francesco Trotta)

#### Bug Fixes

-   [`5e5f39b`](5e5f39b825) fix: add missing types for `no-restricted-exports` rule ([#&#8203;18914](https://github.com/eslint/eslint/issues/18914)) (Kristóf Poduszló)
-   [`8f630eb`](8f630eb579) fix: add missing types for `no-param-reassign` options ([#&#8203;18906](https://github.com/eslint/eslint/issues/18906)) (Kristóf Poduszló)
-   [`d715781`](d71578124f) fix: add missing types for `no-extra-boolean-cast` options ([#&#8203;18902](https://github.com/eslint/eslint/issues/18902)) (Kristóf Poduszló)
-   [`2de5742`](2de5742682) fix: add missing types for `no-misleading-character-class` options ([#&#8203;18905](https://github.com/eslint/eslint/issues/18905)) (Kristóf Poduszló)
-   [`c153084`](c153084250) fix: add missing types for `no-implicit-coercion` options ([#&#8203;18903](https://github.com/eslint/eslint/issues/18903)) (Kristóf Poduszló)
-   [`fa11b2e`](fa11b2ede6) fix: add missing types for `no-empty-function` options ([#&#8203;18901](https://github.com/eslint/eslint/issues/18901)) (Kristóf Poduszló)
-   [`a0deed1`](a0deed122a) fix: add missing types for `camelcase` options ([#&#8203;18897](https://github.com/eslint/eslint/issues/18897)) (Kristóf Poduszló)

#### Documentation

-   [`e4e5709`](e4e5709522) docs: correct `prefer-object-has-own` type definition comment ([#&#8203;18924](https://github.com/eslint/eslint/issues/18924)) (Nitin Kumar)
-   [`91cbd18`](91cbd18c70) docs: add unicode abbreviations in no-irregular-whitespace rule ([#&#8203;18894](https://github.com/eslint/eslint/issues/18894)) (Alix Royere)
-   [`59cfc0f`](59cfc0f1b3) docs: clarify `resultsMeta` in `LoadedFormatter` type ([#&#8203;18881](https://github.com/eslint/eslint/issues/18881)) (Milos Djermanovic)
-   [`adcc50d`](adcc50dbf1) docs: Update README (GitHub Actions Bot)
-   [`4edac1a`](4edac1a325) docs: Update README (GitHub Actions Bot)

#### Build Related

-   [`959d360`](959d360be5) build: Support updates to previous major versions ([#&#8203;18871](https://github.com/eslint/eslint/issues/18871)) (Milos Djermanovic)

#### Chores

-   [`ca21a64`](ca21a64ed0) chore: upgrade [@&#8203;eslint/js](https://github.com/eslint/js)[@&#8203;9](https://github.com/9).11.0 ([#&#8203;18927](https://github.com/eslint/eslint/issues/18927)) (Milos Djermanovic)
-   [`a10f90a`](a10f90af35) chore: package.json update for [@&#8203;eslint/js](https://github.com/eslint/js) release (Jenkins)
-   [`e4e02cc`](e4e02cc693) refactor: Extract processor logic into ProcessorService ([#&#8203;18818](https://github.com/eslint/eslint/issues/18818)) (Nicholas C. Zakas)
-   [`6d4484d`](6d4484d9c1) chore: updates for v8.57.1 release (Jenkins)
-   [`71f37c5`](71f37c5bf0) refactor: use optional chaining when validating config rules ([#&#8203;18893](https://github.com/eslint/eslint/issues/18893)) (lucasrmendonca)
-   [`2c2805f`](2c2805f8ee) chore: Add PR note to all templates ([#&#8203;18892](https://github.com/eslint/eslint/issues/18892)) (Nicholas C. Zakas)
-   [`7b852ce`](7b852ce59e) refactor: use `Directive` class from `@eslint/plugin-kit` ([#&#8203;18884](https://github.com/eslint/eslint/issues/18884)) (Milos Djermanovic)
-   [`d594ddd`](d594ddd2cc) chore: update dependency [@&#8203;eslint/core](https://github.com/eslint/core) to ^0.6.0 ([#&#8203;18863](https://github.com/eslint/eslint/issues/18863)) (renovate\[bot])
-   [`78b2421`](78b2421e28) chore: Update change.yml ([#&#8203;18882](https://github.com/eslint/eslint/issues/18882)) (Nicholas C. Zakas)
-   [`a416f0a`](a416f0a270) chore: enable `$ExpectType` comments in .ts files ([#&#8203;18869](https://github.com/eslint/eslint/issues/18869)) (Francesco Trotta)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **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 [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC44MC4wIiwidXBkYXRlZEluVmVyIjoiMzguODAuMCIsInRhcmdldEJyYW5jaCI6ImRldmVsb3AiLCJsYWJlbHMiOlsidHlwZS9kZXBlbmRlbmNpZXMiXX0=-->

Reviewed-on: #231
Reviewed-by: Vylpes <ethan@vylpes.com>
Co-authored-by: Renovate Bot <renovate@vylpes.com>
Co-committed-by: Renovate Bot <renovate@vylpes.com>
2024-10-21 17:32:41 +01:00
5649bb83d7 Update dependency @typescript-eslint/eslint-plugin to v8.10.0 (#230)
All checks were successful
Stage / build (push) Successful in 9s
Stage / rsync (push) Successful in 6s
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [@typescript-eslint/eslint-plugin](https://typescript-eslint.io/packages/eslint-plugin) ([source](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin)) | devDependencies | minor | [`8.2.0` -> `8.10.0`](https://renovatebot.com/diffs/npm/@typescript-eslint%2feslint-plugin/8.2.0/8.10.0) |

---

### Release Notes

<details>
<summary>typescript-eslint/typescript-eslint (@&#8203;typescript-eslint/eslint-plugin)</summary>

### [`v8.10.0`](https://github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#8100-2024-10-17)

[Compare Source](https://github.com/typescript-eslint/typescript-eslint/compare/v8.9.0...v8.10.0)

##### 🚀 Features

-   support TypeScript 5.6 ([#&#8203;9972](https://github.com/typescript-eslint/typescript-eslint/pull/9972))

##### ❤️  Thank You

-   Josh Goldberg 

You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.

### [`v8.9.0`](https://github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#890-2024-10-14)

[Compare Source](https://github.com/typescript-eslint/typescript-eslint/compare/v8.8.1...v8.9.0)

##### 🩹 Fixes

-   **eslint-plugin:** \[no-unnecessary-type-parameters] cannot assume variables are either type or value

-   **scope-manager:** \[no-use-before-define] do not treat nested namespace aliases as variable references

-   **eslint-plugin:** \[return-await] sync the behavior with await-thenable

-   **eslint-plugin:** \[prefer-literal-enum-member] report a different error message when `allowBitwiseExpressions` is enabled

-   **eslint-plugin:** \[no-loop-func] sync from upstream base rule

-   **eslint-plugin:** \[no-unused-vars] never report the naming of an enum member

-   **eslint-plugin:** correct use-at-your-own-risk type definitions

-   **eslint-plugin:** handle unions in await...for

##### ❤️  Thank You

-   Abraham Guo
-   Anna Bocharova
-   Arya Emami
-   auvred
-   Joshua Chen
-   Kirk Waiblinger
-   Lotfi Meklati
-   mdm317
-   Ronen Amiel
-   Sukka
-   YeonJuan

You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.

### [`v8.8.1`](https://github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#881-2024-10-07)

[Compare Source](https://github.com/typescript-eslint/typescript-eslint/compare/v8.8.0...v8.8.1)

##### 🩹 Fixes

-   **eslint-plugin:** stop warning on [@&#8203;ts-nocheck](https://github.com/ts-nocheck) comments which aren't at the beginning of the file

##### ❤️  Thank You

-   Brad Zacher
-   Ronen Amiel
-   WhitePiano

You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.

### [`v8.8.0`](https://github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#880-2024-09-30)

[Compare Source](https://github.com/typescript-eslint/typescript-eslint/compare/v8.7.0...v8.8.0)

##### 🚀 Features

-   **eslint-plugin:** \[no-unnecessary-condition] add checkTypePredicates

-   **eslint-plugin:** \[return-await] check for-await loop iteree

##### 🩹 Fixes

-   remove `export type *` in d.ts to support TS<5.0

-   **eslint-plugin:** \[no-unnecessary-template-expression] should underline template syntax with squiggly lines

-   **type-utils:** check for type parameters on `isBuiltinSymbolLikeRecurser()`

-   **eslint-plugin:** \[no-deprecated] max callstack exceeded when class implements itself

-   **eslint-plugin:** \[no-misused-promises] check contextual type

-   **eslint-plugin:** \[prefer-literal-enum-member] allow nested bitwise operations

##### ❤️  Thank You

-   auvred
-   Josh Goldberg 
-   Kirk Waiblinger
-   Ronen Amiel
-   Tarun Chauhan
-   YeonJuan

You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.

### [`v8.7.0`](https://github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#870-2024-09-23)

[Compare Source](https://github.com/typescript-eslint/typescript-eslint/compare/v8.6.0...v8.7.0)

##### 🚀 Features

-   **eslint-plugin:** \[no-unsafe-call] check calls of Function

-   **eslint-plugin:** \[consistent-type-exports] check `export *` exports to see if all exported members are types

##### 🩹 Fixes

-   **eslint-plugin:** properly coerce all types to string in `getStaticMemberAccessValue`

-   **eslint-plugin:** \[no-deprecated] report on imported deprecated variables

-   **eslint-plugin:** \[no-confusing-non-null-assertion] check !in and !instanceof

##### ❤️  Thank You

-   Abraham Guo
-   auvred
-   Brian Donovan
-   Kirk Waiblinger

You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.

### [`v8.6.0`](https://github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#860-2024-09-16)

[Compare Source](https://github.com/typescript-eslint/typescript-eslint/compare/v8.5.0...v8.6.0)

##### 🚀 Features

-   add `allow` option for `restrict-template-expressions`

-   **type-utils:** isNullableType add Void logic

-   **eslint-plugin:** \[no-unnecessary-condition] check switch cases

-   **eslint-plugin:** \[no-misused-promises] check array predicate return

##### 🩹 Fixes

-   **eslint-plugin:** \[no-deprecated] don't report recursive types in destructuring assignment twice

-   **eslint-plugin:** \[no-deprecated] report on deprecated variables used in destructuring assignment

-   **eslint-plugin:** \[no-deprecated] report on deprecated properties with function-like types

-   **eslint-plugin:** \[no-unnecessary-condition] properly reflect multiple negations in message

##### ❤️  Thank You

-   Abraham Guo
-   auvred
-   Josh Goldberg 
-   Kim Sang Du
-   YeonJuan

You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.

### [`v8.5.0`](https://github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#850-2024-09-09)

[Compare Source](https://github.com/typescript-eslint/typescript-eslint/compare/v8.4.0...v8.5.0)

##### 🚀 Features

-   **eslint-plugin:** \[no-duplicate-type-constituents] prevent unnecessary \`

-   **eslint-plugin:** \[no-unsafe-argument] differentiate error types

##### 🩹 Fixes

-   **eslint-plugin:** \[no-unnecessary-type-assertion] fix TSNonNullExpression fixer

-   **eslint-plugin:** \[no-misused-promises] handle static method

-   **eslint-plugin:** \[no-unnecessary-type-parameters] fix AST quick path scope analysis

-   **eslint-plugin:** \[consistent-type-assertions] access parser services lazily

##### ❤️  Thank You

-   [`f44da95`](https://github.com/typescript-eslint/typescript-eslint/commit/f44da958e)
-   Josh Goldberg 
-   Kirk Waiblinger
-   YeonJuan

You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.

### [`v8.4.0`](https://github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#840-2024-09-02)

[Compare Source](https://github.com/typescript-eslint/typescript-eslint/compare/v8.3.0...v8.4.0)

This was a version bump only for eslint-plugin to align it with other projects, there were no code changes.

You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.

### [`v8.3.0`](https://github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#830-2024-08-26)

[Compare Source](https://github.com/typescript-eslint/typescript-eslint/compare/v8.2.0...v8.3.0)

##### 🚀 Features

-   **eslint-plugin:** \[no-deprecation] add rule

##### 🩹 Fixes

-   **eslint-plugin:** \[no-unnecessary-template-expression] add missing parentheses in autofix

-   **eslint-plugin:** \[no-unnecessary-type-parameters] check mapped alias type arguments

-   **utils:** add `TSDeclareFunction` to `functionTypeTypes`

-   **ast-spec:** use `Expression` in argument of `ThrowStatement`

##### ❤️  Thank You

-   Abraham Guo
-   Daichi Kamiyama
-   Josh Goldberg 
-   Kim Sang Du
-   Sukka
-   Vida Xie

You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **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 [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC44MC4wIiwidXBkYXRlZEluVmVyIjoiMzguODAuMCIsInRhcmdldEJyYW5jaCI6ImRldmVsb3AiLCJsYWJlbHMiOlsidHlwZS9kZXBlbmRlbmNpZXMiXX0=-->

Reviewed-on: #230
Reviewed-by: Vylpes <ethan@vylpes.com>
Co-authored-by: Renovate Bot <renovate@vylpes.com>
Co-committed-by: Renovate Bot <renovate@vylpes.com>
2024-10-21 17:31:51 +01:00
e18610042e Update jest dependencies to their latest versions (#228)
All checks were successful
Stage / build (push) Successful in 9s
Stage / rsync (push) Successful in 6s
- Update jest dependencies to their latest versions
- Remove the package dependency resolutions which no longer cause vulnerabilities

#199

Reviewed-on: #228
Reviewed-by: VylpesTester <tester@vylpes.com>
Co-authored-by: Ethan Lane <ethan@vylpes.com>
Co-committed-by: Ethan Lane <ethan@vylpes.com>
2024-10-19 20:32:48 +01:00
bc04f9d20d Update dependency typescript to v5.6.3 (#236)
All checks were successful
Stage / build (push) Successful in 9s
Stage / rsync (push) Successful in 5s
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [typescript](https://www.typescriptlang.org/) ([source](https://github.com/microsoft/TypeScript)) | devDependencies | minor | [`5.5.4` -> `5.6.3`](https://renovatebot.com/diffs/npm/typescript/5.5.4/5.6.3) |

---

### Release Notes

<details>
<summary>microsoft/TypeScript (typescript)</summary>

### [`v5.6.3`](https://github.com/microsoft/TypeScript/releases/tag/v5.6.3): TypeScript 5.6.3

[Compare Source](https://github.com/microsoft/TypeScript/compare/v5.6.2...v5.6.3)

For release notes, check out the [release announcement](https://devblogs.microsoft.com/typescript/announcing-typescript-5-6/).

For the complete list of fixed issues, check out the

-   [fixed issues query for Typescript 5.6.0 (Beta)](https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.6.0%22+is%3Aclosed+).
-   [fixed issues query for Typescript 5.6.1 (RC)](https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.6.1%22+is%3Aclosed+).
-   [fixed issues query for Typescript 5.6.2 (Stable)](https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.6.2%22+is%3Aclosed+).
-   [fixed issues query for Typescript 5.6.3 (Stable)](https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.6.3%22+is%3Aclosed+).

Downloads are available on:

-   [npm](https://www.npmjs.com/package/typescript)
-   [NuGet package](https://www.nuget.org/packages/Microsoft.TypeScript.MSBuild)

### [`v5.6.2`](https://github.com/microsoft/TypeScript/releases/tag/v5.6.2): TypeScript 5.6

[Compare Source](https://github.com/microsoft/TypeScript/compare/v5.5.4...v5.6.2)

For release notes, check out the [release announcement](https://devblogs.microsoft.com/typescript/announcing-typescript-5-6/).

For the complete list of fixed issues, check out the

-   [fixed issues query for Typescript 5.6.0 (Beta)](https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.6.0%22+is%3Aclosed+).
-   [fixed issues query for Typescript 5.6.1 (RC)](https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.6.1%22+is%3Aclosed+).
-   [fixed issues query for Typescript 5.6.2 (Stable)](https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.6.2%22+is%3Aclosed+).

Downloads are available on:

-   [npm](https://www.npmjs.com/package/typescript)
-   [NuGet package](https://www.nuget.org/packages/Microsoft.TypeScript.MSBuild)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **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 [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC44MC4wIiwidXBkYXRlZEluVmVyIjoiMzguODAuMCIsInRhcmdldEJyYW5jaCI6ImRldmVsb3AiLCJsYWJlbHMiOlsidHlwZS9kZXBlbmRlbmNpZXMiXX0=-->

Reviewed-on: #236
Reviewed-by: Vylpes <ethan@vylpes.com>
Co-authored-by: Renovate Bot <renovate@vylpes.com>
Co-committed-by: Renovate Bot <renovate@vylpes.com>
2024-10-15 17:51:32 +01:00
0b43588cc3 Update dependency @types/jest to v29.5.13 (#229)
All checks were successful
Stage / build (push) Successful in 8s
Stage / rsync (push) Successful in 5s
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jest) ([source](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest)) | devDependencies | patch | [`29.5.12` -> `29.5.13`](https://renovatebot.com/diffs/npm/@types%2fjest/29.5.12/29.5.13) |

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **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 [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC44MC4wIiwidXBkYXRlZEluVmVyIjoiMzguODAuMCIsInRhcmdldEJyYW5jaCI6ImRldmVsb3AiLCJsYWJlbHMiOlsidHlwZS9kZXBlbmRlbmNpZXMiXX0=-->

Reviewed-on: #229
Reviewed-by: Vylpes <ethan@vylpes.com>
Co-authored-by: Renovate Bot <renovate@vylpes.com>
Co-committed-by: Renovate Bot <renovate@vylpes.com>
2024-10-15 17:49:47 +01:00
c1ddaa72e2 Update dependency @typescript-eslint/parser to v8 (#222)
All checks were successful
Stage / build (push) Successful in 8s
Stage / rsync (push) Successful in 5s
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [@typescript-eslint/parser](https://typescript-eslint.io/packages/parser) ([source](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser)) | devDependencies | major | [`^7.18.0` -> `^8.0.0`](https://renovatebot.com/diffs/npm/@typescript-eslint%2fparser/7.18.0/8.8.1) |

---

### Release Notes

<details>
<summary>typescript-eslint/typescript-eslint (@&#8203;typescript-eslint/parser)</summary>

### [`v8.8.1`](https://github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#881-2024-10-07)

[Compare Source](https://github.com/typescript-eslint/typescript-eslint/compare/v8.8.0...v8.8.1)

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](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.

### [`v8.8.0`](https://github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#880-2024-09-30)

[Compare Source](https://github.com/typescript-eslint/typescript-eslint/compare/v8.7.0...v8.8.0)

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](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.

### [`v8.7.0`](https://github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#870-2024-09-23)

[Compare Source](https://github.com/typescript-eslint/typescript-eslint/compare/v8.6.0...v8.7.0)

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](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.

### [`v8.6.0`](https://github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#860-2024-09-16)

[Compare Source](https://github.com/typescript-eslint/typescript-eslint/compare/v8.5.0...v8.6.0)

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](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.

### [`v8.5.0`](https://github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#850-2024-09-09)

[Compare Source](https://github.com/typescript-eslint/typescript-eslint/compare/v8.4.0...v8.5.0)

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](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.

### [`v8.4.0`](https://github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#840-2024-09-02)

[Compare Source](https://github.com/typescript-eslint/typescript-eslint/compare/v8.3.0...v8.4.0)

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](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.

### [`v8.3.0`](https://github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#830-2024-08-26)

[Compare Source](https://github.com/typescript-eslint/typescript-eslint/compare/v8.2.0...v8.3.0)

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](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.

### [`v8.2.0`](https://github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#820-2024-08-19)

[Compare Source](https://github.com/typescript-eslint/typescript-eslint/compare/v8.1.0...v8.2.0)

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](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.

### [`v8.1.0`](https://github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#810-2024-08-12)

[Compare Source](https://github.com/typescript-eslint/typescript-eslint/compare/v8.0.1...v8.1.0)

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](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.

### [`v8.0.1`](https://github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#801-2024-08-05)

[Compare Source](https://github.com/typescript-eslint/typescript-eslint/compare/v8.0.0...v8.0.1)

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](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.

### [`v8.0.0`](https://github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#800-2024-07-31)

[Compare Source](https://github.com/typescript-eslint/typescript-eslint/compare/v7.18.0...v8.0.0)

##### 🚀 Features

-   **parser:** always enable comment, loc, range, tokens

-   **typescript-estree:** stabilize EXPERIMENTAL_useProjectService as projectService

##### ❤️  Thank You

-   Abraham Guo
-   Alfred Ringstad
-   auvred
-   Brad Zacher
-   Christopher Aubut
-   Collin Bachman
-   James Henry
-   Josh Goldberg
-   Josh Goldberg 
-   Kirk Waiblinger
-   StyleShit
-   Victor Lin
-   Yukihiro Hasegawa

You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.

#### 7.18.0 (2024-07-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](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.

#### 7.17.0 (2024-07-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](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.

#### 7.16.1 (2024-07-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](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.

#### 7.16.0 (2024-07-08)

##### 🩹 Fixes

-   **deps:** update dependency [@&#8203;eslint-community/regexpp](https://github.com/eslint-community/regexpp) to v4.11.0

-   **website:** react key error on internal pages of website

##### ❤️  Thank You

-   Abraham Guo
-   auvred
-   Josh Goldberg 
-   Juan Sanchez
-   Vinccool96
-   YeonJuan
-   Yukihiro Hasegawa

You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.

#### 7.15.0 (2024-07-01)

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](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.

#### 7.14.1 (2024-06-24)

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](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.

#### 7.14.0 (2024-06-24)

##### 🚀 Features

-   support TypeScript 5.5

##### ❤️  Thank You

-   Brad Zacher
-   cm-ayf
-   Jake Bailey
-   James Zhan
-   Joshua Chen
-   yoshi2no

You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.

#### 7.13.1 (2024-06-17)

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](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.

#### 7.13.0 (2024-06-10)

##### 🚀 Features

-   **parser, typescript-estree:** export withoutProjectParserOptions utility

##### ❤️  Thank You

-   Fotis Papadogeorgopoulos
-   Joshua Chen
-   Kirk Waiblinger
-   Tobiloba Adedeji
-   Vinccool96
-   YeonJuan

You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.

#### 7.12.0 (2024-06-03)

##### 🩹 Fixes

-   **types:** correct typing ParserOptions

##### ❤️  Thank You

-   Abraham Guo
-   Han Yeong-woo
-   Joshua Chen
-   Kim Sang Du
-   Kirk Waiblinger
-   YeonJuan

You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.

#### 7.11.0 (2024-05-27)

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](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.

#### 7.10.0 (2024-05-20)

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](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.

#### 7.9.0 (2024-05-13)

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](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.

#### 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](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/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](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/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](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/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](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.

#### 7.5.0 (2024-04-01)

##### 🩹 Fixes

-   **parser:** disallow `errorOnTypeScriptSyntacticAndSemanticIssues`

##### ❤️  Thank You

-   Brad Zacher
-   Kim Sang Du
-   Mark de Dios
-   Naru
-   YeonJuan

You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.

#### 7.4.0 (2024-03-25)

##### 🚀 Features

-   **eslint-plugin:** \[consistent-type-imports] ignore files with decorators, experimentalDecorators, and emitDecoratorMetadata

##### ❤️  Thank You

-   Abraham Guo
-   Brad Zacher
-   Josh Goldberg 
-   Kim Sang Du
-   Kirk Waiblinger
-   Marco Pasqualetti
-   YeonJuan

You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.

#### 7.3.1 (2024-03-18)

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](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.

#### 7.3.0 (2024-03-18)

##### 🩹 Fixes

-   correct `engines.node` constraints in `package.json`

##### ❤️  Thank You

-   Abraham Guo
-   Alexu
-   Arka Pratim Chaudhuri
-   auvred
-   Derrick Isaacson
-   fnx
-   Josh Goldberg 
-   Kirk Waiblinger
-   Marta Cardoso
-   Michaël De Boey
-   Tristan Rasmussen
-   YeonJuan

You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.

#### 7.2.0 (2024-03-11)

##### 🚀 Features

-   support TS 5.4

##### ❤️  Thank You

-   Arka Pratim Chaudhuri
-   auvred
-   Chris Plummer
-   Fotis Papadogeorgopoulos
-   Josh Goldberg 
-   Kirk Waiblinger
-   Wayne Zhang
-   YeonJuan

You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.

#### 7.1.1 (2024-03-04)

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](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.

#### 7.1.0 (2024-02-26)

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](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.

#### 7.0.2 (2024-02-19)

##### 🩹 Fixes

-   fix tsconfig-less check errors, fix `@types/eslint` incompatibilities, add tests

##### ❤️  Thank You

-   Brad Zacher
-   Gareth Jones

You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.

#### 7.0.1 (2024-02-12)

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](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **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 [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MzEuNCIsInVwZGF0ZWRJblZlciI6IjM4LjgwLjAiLCJ0YXJnZXRCcmFuY2giOiJkZXZlbG9wIiwibGFiZWxzIjpbInR5cGUvZGVwZW5kZW5jaWVzIl19-->

Reviewed-on: #222
Reviewed-by: Vylpes <ethan@vylpes.com>
Co-authored-by: Renovate Bot <renovate@vylpes.com>
Co-committed-by: Renovate Bot <renovate@vylpes.com>
2024-10-15 17:47:49 +01:00
884e09a200 Update dependency @types/node to v22 (#220)
All checks were successful
Stage / build (push) Successful in 9s
Stage / rsync (push) Successful in 6s
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node) ([source](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node)) | devDependencies | major | [`^20.0.0` -> `^22.0.0`](https://renovatebot.com/diffs/npm/@types%2fnode/20.16.5/22.7.5) |

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **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 [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MzEuNCIsInVwZGF0ZWRJblZlciI6IjM4LjgwLjAiLCJ0YXJnZXRCcmFuY2giOiJkZXZlbG9wIiwibGFiZWxzIjpbInR5cGUvZGVwZW5kZW5jaWVzIl19-->

Reviewed-on: #220
Reviewed-by: Vylpes <ethan@vylpes.com>
Co-authored-by: Renovate Bot <renovate@vylpes.com>
Co-committed-by: Renovate Bot <renovate@vylpes.com>
2024-10-15 17:43:56 +01:00
e7f693982f Update dependency @eslint/js to v9.10.0 (#226)
All checks were successful
Stage / build (push) Successful in 8s
Stage / rsync (push) Successful in 5s
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [@eslint/js](https://eslint.org) ([source](https://github.com/eslint/eslint/tree/HEAD/packages/js)) | devDependencies | minor | [`9.9.1` -> `9.10.0`](https://renovatebot.com/diffs/npm/@eslint%2fjs/9.9.1/9.10.0) |

---

### Release Notes

<details>
<summary>eslint/eslint (@&#8203;eslint/js)</summary>

### [`v9.10.0`](https://github.com/eslint/eslint/releases/tag/v9.10.0)

[Compare Source](https://github.com/eslint/eslint/compare/v9.9.1...v9.10.0)

#### Features

-   [`301b90d`](301b90df0c) feat: Add types ([#&#8203;18854](https://github.com/eslint/eslint/issues/18854)) (Nicholas C. Zakas)
-   [`bcf0df5`](bcf0df55c2) feat: limit namespace import identifier in id-length rule ([#&#8203;18849](https://github.com/eslint/eslint/issues/18849)) (ChaedongIm)
-   [`45c18e1`](45c18e108e) feat: add `requireFlag` option to `require-unicode-regexp` rule ([#&#8203;18836](https://github.com/eslint/eslint/issues/18836)) (Brett Zamir)
-   [`183b459`](183b459b72) feat: add error message for duplicate flags in `no-invalid-regexp` ([#&#8203;18837](https://github.com/eslint/eslint/issues/18837)) (Tanuj Kanti)
-   [`c69b406`](c69b40667a) feat: report duplicate allowed flags in `no-invalid-regexp` ([#&#8203;18754](https://github.com/eslint/eslint/issues/18754)) (Tanuj Kanti)

#### Documentation

-   [`bee0e7a`](bee0e7a5f5) docs: update README ([#&#8203;18865](https://github.com/eslint/eslint/issues/18865)) (Milos Djermanovic)
-   [`5d80b59`](5d80b59520) docs: specify that `ruleId` can be `null` in custom formatter docs ([#&#8203;18857](https://github.com/eslint/eslint/issues/18857)) (Milos Djermanovic)
-   [`156b1c3`](156b1c3037) docs: Update README (GitHub Actions Bot)
-   [`f6fdef9`](f6fdef9df4) docs: Update README (GitHub Actions Bot)
-   [`a20c870`](a20c870744) docs: Update README (GitHub Actions Bot)
-   [`90e699b`](90e699bd9d) docs: Update README (GitHub Actions Bot)

#### Chores

-   [`24c3ff7`](24c3ff7d0c) chore: upgrade to [@&#8203;eslint/js](https://github.com/eslint/js)[@&#8203;9](https://github.com/9).10.0 ([#&#8203;18866](https://github.com/eslint/eslint/issues/18866)) (Francesco Trotta)
-   [`1ebdde1`](1ebdde1cf2) chore: package.json update for [@&#8203;eslint/js](https://github.com/eslint/js) release (Jenkins)
-   [`e8fc5bd`](e8fc5bd3da) chore: update dependency [@&#8203;eslint/core](https://github.com/eslint/core) to ^0.5.0 ([#&#8203;18848](https://github.com/eslint/eslint/issues/18848)) (renovate\[bot])
-   [`343f992`](343f992160) refactor: don't use `node.value` when removing unused directives ([#&#8203;18835](https://github.com/eslint/eslint/issues/18835)) (Milos Djermanovic)
-   [`3db18b0`](3db18b0b67) refactor: Extract FileContext into class ([#&#8203;18831](https://github.com/eslint/eslint/issues/18831)) (Nicholas C. Zakas)
-   [`931d650`](931d650b37) refactor: Use [@&#8203;eslint/plugin-kit](https://github.com/eslint/plugin-kit) ([#&#8203;18822](https://github.com/eslint/eslint/issues/18822)) (Nicholas C. Zakas)
-   [`ed5cf0c`](ed5cf0c6a9) chore: update dependency [@&#8203;eslint/json](https://github.com/eslint/json) to ^0.4.0 ([#&#8203;18829](https://github.com/eslint/eslint/issues/18829)) (Milos Djermanovic)
-   [`d1f0831`](d1f0831bac) chore: added missing ids ([#&#8203;18817](https://github.com/eslint/eslint/issues/18817)) (Strek)
-   [`ec92813`](ec92813657) refactor: Config class ([#&#8203;18763](https://github.com/eslint/eslint/issues/18763)) (Nicholas C. Zakas)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **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 [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MzEuNCIsInVwZGF0ZWRJblZlciI6IjM3LjQzMS40IiwidGFyZ2V0QnJhbmNoIjoiZGV2ZWxvcCIsImxhYmVscyI6WyJ0eXBlL2RlcGVuZGVuY2llcyJdfQ==-->

Reviewed-on: #226
Reviewed-by: Vylpes <ethan@vylpes.com>
Co-authored-by: Renovate Bot <renovate@vylpes.com>
Co-committed-by: Renovate Bot <renovate@vylpes.com>
2024-09-10 19:58:05 +01:00
2e20a6f3e4 Update dependency @yao-pkg/pkg to v5.13.0 (#216)
All checks were successful
Stage / build (push) Successful in 8s
Stage / rsync (push) Successful in 8s
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [@yao-pkg/pkg](https://github.com/yao-pkg/pkg) | devDependencies | minor | [`5.12.0` -> `5.13.0`](https://renovatebot.com/diffs/npm/@yao-pkg%2fpkg/5.12.0/5.13.0) |

---

### Release Notes

<details>
<summary>yao-pkg/pkg (@&#8203;yao-pkg/pkg)</summary>

### [`v5.13.0`](https://github.com/yao-pkg/pkg/blob/HEAD/CHANGELOG.md#5130-2024-09-06)

[Compare Source](https://github.com/yao-pkg/pkg/compare/v5.12.1...v5.13.0)

##### Features

-   bump pkg-fetch@3.5.10 with node 20.17.0 and 18.20.4 support ([dda9032](dda90320fc))

##### Bug Fixes

-   wrong placeholder replaced in windows binary ([#&#8203;86](https://github.com/yao-pkg/pkg/issues/86)) ([d9b28c3](d9b28c391b))

### [`v5.12.1`](https://github.com/yao-pkg/pkg/blob/HEAD/CHANGELOG.md#5121-2024-08-14)

[Compare Source](https://github.com/yao-pkg/pkg/compare/v5.12.0...v5.12.1)

##### Bug Fixes

-   remove `is-core-module` dependency ([#&#8203;77](https://github.com/yao-pkg/pkg/issues/77)) ([2f27414](2f27414d5d))
-   run prebuild-install only if actually used by the package ([#&#8203;83](https://github.com/yao-pkg/pkg/issues/83)) ([2a046e4](2a046e4be3))

##### Chores

-   drop package-lock file uploaded by error ([ba407ef](ba407efef1))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **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 [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MzEuNCIsInVwZGF0ZWRJblZlciI6IjM3LjQzMS40IiwidGFyZ2V0QnJhbmNoIjoiZGV2ZWxvcCIsImxhYmVscyI6WyJ0eXBlL2RlcGVuZGVuY2llcyJdfQ==-->

Reviewed-on: #216
Reviewed-by: Vylpes <ethan@vylpes.com>
Co-authored-by: Renovate Bot <renovate@vylpes.com>
Co-committed-by: Renovate Bot <renovate@vylpes.com>
2024-09-10 19:56:34 +01:00
1bb917c872 Update dependency eslint to v9.10.0 (#215)
All checks were successful
Stage / build (push) Successful in 7s
Stage / rsync (push) Successful in 5s
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [eslint](https://eslint.org) ([source](https://github.com/eslint/eslint)) | devDependencies | minor | [`9.8.0` -> `9.10.0`](https://renovatebot.com/diffs/npm/eslint/9.8.0/9.10.0) |
| [@types/eslint](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/eslint) ([source](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/eslint)) | devDependencies | patch | [`9.6.0` -> `9.6.1`](https://renovatebot.com/diffs/npm/@types%2feslint/9.6.0/9.6.1) |

---

### Release Notes

<details>
<summary>eslint/eslint (eslint)</summary>

### [`v9.10.0`](https://github.com/eslint/eslint/releases/tag/v9.10.0)

[Compare Source](https://github.com/eslint/eslint/compare/v9.9.1...v9.10.0)

#### Features

-   [`301b90d`](301b90df0c) feat: Add types ([#&#8203;18854](https://github.com/eslint/eslint/issues/18854)) (Nicholas C. Zakas)
-   [`bcf0df5`](bcf0df55c2) feat: limit namespace import identifier in id-length rule ([#&#8203;18849](https://github.com/eslint/eslint/issues/18849)) (ChaedongIm)
-   [`45c18e1`](45c18e108e) feat: add `requireFlag` option to `require-unicode-regexp` rule ([#&#8203;18836](https://github.com/eslint/eslint/issues/18836)) (Brett Zamir)
-   [`183b459`](183b459b72) feat: add error message for duplicate flags in `no-invalid-regexp` ([#&#8203;18837](https://github.com/eslint/eslint/issues/18837)) (Tanuj Kanti)
-   [`c69b406`](c69b40667a) feat: report duplicate allowed flags in `no-invalid-regexp` ([#&#8203;18754](https://github.com/eslint/eslint/issues/18754)) (Tanuj Kanti)

#### Documentation

-   [`bee0e7a`](bee0e7a5f5) docs: update README ([#&#8203;18865](https://github.com/eslint/eslint/issues/18865)) (Milos Djermanovic)
-   [`5d80b59`](5d80b59520) docs: specify that `ruleId` can be `null` in custom formatter docs ([#&#8203;18857](https://github.com/eslint/eslint/issues/18857)) (Milos Djermanovic)
-   [`156b1c3`](156b1c3037) docs: Update README (GitHub Actions Bot)
-   [`f6fdef9`](f6fdef9df4) docs: Update README (GitHub Actions Bot)
-   [`a20c870`](a20c870744) docs: Update README (GitHub Actions Bot)
-   [`90e699b`](90e699bd9d) docs: Update README (GitHub Actions Bot)

#### Chores

-   [`24c3ff7`](24c3ff7d0c) chore: upgrade to [@&#8203;eslint/js](https://github.com/eslint/js)[@&#8203;9](https://github.com/9).10.0 ([#&#8203;18866](https://github.com/eslint/eslint/issues/18866)) (Francesco Trotta)
-   [`1ebdde1`](1ebdde1cf2) chore: package.json update for [@&#8203;eslint/js](https://github.com/eslint/js) release (Jenkins)
-   [`e8fc5bd`](e8fc5bd3da) chore: update dependency [@&#8203;eslint/core](https://github.com/eslint/core) to ^0.5.0 ([#&#8203;18848](https://github.com/eslint/eslint/issues/18848)) (renovate\[bot])
-   [`343f992`](343f992160) refactor: don't use `node.value` when removing unused directives ([#&#8203;18835](https://github.com/eslint/eslint/issues/18835)) (Milos Djermanovic)
-   [`3db18b0`](3db18b0b67) refactor: Extract FileContext into class ([#&#8203;18831](https://github.com/eslint/eslint/issues/18831)) (Nicholas C. Zakas)
-   [`931d650`](931d650b37) refactor: Use [@&#8203;eslint/plugin-kit](https://github.com/eslint/plugin-kit) ([#&#8203;18822](https://github.com/eslint/eslint/issues/18822)) (Nicholas C. Zakas)
-   [`ed5cf0c`](ed5cf0c6a9) chore: update dependency [@&#8203;eslint/json](https://github.com/eslint/json) to ^0.4.0 ([#&#8203;18829](https://github.com/eslint/eslint/issues/18829)) (Milos Djermanovic)
-   [`d1f0831`](d1f0831bac) chore: added missing ids ([#&#8203;18817](https://github.com/eslint/eslint/issues/18817)) (Strek)
-   [`ec92813`](ec92813657) refactor: Config class ([#&#8203;18763](https://github.com/eslint/eslint/issues/18763)) (Nicholas C. Zakas)

### [`v9.9.1`](https://github.com/eslint/eslint/releases/tag/v9.9.1)

[Compare Source](https://github.com/eslint/eslint/compare/v9.9.0...v9.9.1)

#### Bug Fixes

-   [`9bde90c`](9bde90c2ed) fix: add logic to handle `fixTypes` in `lintText()` ([#&#8203;18736](https://github.com/eslint/eslint/issues/18736)) (Amaresh  S M)

#### Documentation

-   [`4840930`](4840930b9d) docs: Update README with version support and clean up content ([#&#8203;18804](https://github.com/eslint/eslint/issues/18804)) (Nicholas C. Zakas)
-   [`f61f40d`](f61f40d8a6) docs: Update globals examples ([#&#8203;18805](https://github.com/eslint/eslint/issues/18805)) (Nicholas C. Zakas)
-   [`241fcea`](241fcea48a) docs: Use and define languages ([#&#8203;18795](https://github.com/eslint/eslint/issues/18795)) (Nicholas C. Zakas)
-   [`5dbdd63`](5dbdd63dc8) docs: eslint-plugin-markdown -> [@&#8203;eslint/markdown](https://github.com/eslint/markdown) ([#&#8203;18797](https://github.com/eslint/eslint/issues/18797)) (Nicholas C. Zakas)
-   [`c6c8ddd`](c6c8ddd313) docs: update links to eslint-visitor-keys repo ([#&#8203;18796](https://github.com/eslint/eslint/issues/18796)) (Francesco Trotta)
-   [`f981d05`](f981d054ed) docs: Update README (GitHub Actions Bot)
-   [`b516974`](b516974713) docs: update links to `eslint/js` repo ([#&#8203;18781](https://github.com/eslint/eslint/issues/18781)) (Francesco Trotta)
-   [`fb7a3f5`](fb7a3f5df5) docs: update note for package managers ([#&#8203;18779](https://github.com/eslint/eslint/issues/18779)) (Jay)

#### Chores

-   [`b0c34d0`](b0c34d04b1) chore: upgrade to [@&#8203;eslint/js](https://github.com/eslint/js)[@&#8203;9](https://github.com/9).9.1 ([#&#8203;18809](https://github.com/eslint/eslint/issues/18809)) (Francesco Trotta)
-   [`cd5a0da`](cd5a0daa24) chore: package.json update for [@&#8203;eslint/js](https://github.com/eslint/js) release (Jenkins)
-   [`e112642`](e1126423db) refactor: Extract parsing logic from Linter ([#&#8203;18790](https://github.com/eslint/eslint/issues/18790)) (Nicholas C. Zakas)
-   [`0f68a85`](0f68a851db) chore: use eslint-plugin-yml on yaml files only ([#&#8203;18801](https://github.com/eslint/eslint/issues/18801)) (Milos Djermanovic)
-   [`f8d1b3c`](f8d1b3c232) chore: update dependencies for browser tests ([#&#8203;18794](https://github.com/eslint/eslint/issues/18794)) (Christian Bromann)
-   [`aed2624`](aed2624079) chore: update dependency [@&#8203;eslint/config-array](https://github.com/eslint/config-array) to ^0.18.0 ([#&#8203;18788](https://github.com/eslint/eslint/issues/18788)) (renovate\[bot])
-   [`5c29128`](5c291283dc) chore: update dependency [@&#8203;eslint/core](https://github.com/eslint/core) to ^0.4.0 ([#&#8203;18789](https://github.com/eslint/eslint/issues/18789)) (renovate\[bot])
-   [`5d66fb2`](5d66fb2b53) chore: migrate linting workflow to use trunk check meta-linter ([#&#8203;18643](https://github.com/eslint/eslint/issues/18643)) (Chris Clearwater)
-   [`bf96855`](bf96855d7c) chore: add ids to github issue templates ([#&#8203;18775](https://github.com/eslint/eslint/issues/18775)) (Strek)

### [`v9.9.0`](https://github.com/eslint/eslint/releases/tag/v9.9.0)

[Compare Source](https://github.com/eslint/eslint/compare/v9.8.0...v9.9.0)

#### Features

-   [`41d0206`](41d0206693) feat: Add support for TS config files ([#&#8203;18134](https://github.com/eslint/eslint/issues/18134)) (Arya Emami)
-   [`3a4eaf9`](3a4eaf9215) feat: add suggestion to `require-await` to remove `async` keyword ([#&#8203;18716](https://github.com/eslint/eslint/issues/18716)) (Dave)

#### Documentation

-   [`9fe068c`](9fe068c60d) docs: how to author plugins with configs that extend other configs ([#&#8203;18753](https://github.com/eslint/eslint/issues/18753)) (Alec Gibson)
-   [`48117b2`](48117b27e9) docs: add version support page in the side navbar ([#&#8203;18738](https://github.com/eslint/eslint/issues/18738)) (Amaresh  S M)
-   [`fec2951`](fec2951d58) docs: add version support page to the dropdown ([#&#8203;18730](https://github.com/eslint/eslint/issues/18730)) (Amaresh  S M)
-   [`38a0661`](38a0661872) docs: Fix typo ([#&#8203;18735](https://github.com/eslint/eslint/issues/18735)) (Zaina Al Habash)
-   [`3c32a9e`](3c32a9e23c) docs: Update yarn command for creating ESLint config ([#&#8203;18739](https://github.com/eslint/eslint/issues/18739)) (Temitope Ogunleye)
-   [`f9ac978`](f9ac978de6) docs: Update README (GitHub Actions Bot)

#### Chores

-   [`461b2c3`](461b2c3578) chore: upgrade to `@eslint/js@9.9.0` ([#&#8203;18765](https://github.com/eslint/eslint/issues/18765)) (Francesco Trotta)
-   [`59dba1b`](59dba1b340) chore: package.json update for [@&#8203;eslint/js](https://github.com/eslint/js) release (Jenkins)
-   [`fea8563`](fea8563d33) chore: update dependency [@&#8203;eslint/core](https://github.com/eslint/core) to ^0.3.0 ([#&#8203;18724](https://github.com/eslint/eslint/issues/18724)) (renovate\[bot])
-   [`aac191e`](aac191e670) chore: update dependency [@&#8203;eslint/json](https://github.com/eslint/json) to ^0.3.0 ([#&#8203;18760](https://github.com/eslint/eslint/issues/18760)) (renovate\[bot])
-   [`b97fa05`](b97fa05137) chore: update wdio dependencies for more stable tests ([#&#8203;18759](https://github.com/eslint/eslint/issues/18759)) (Christian Bromann)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

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

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

---

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

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MzEuNCIsInVwZGF0ZWRJblZlciI6IjM3LjQzMS40IiwidGFyZ2V0QnJhbmNoIjoiZGV2ZWxvcCIsImxhYmVscyI6WyJ0eXBlL2RlcGVuZGVuY2llcyJdfQ==-->

Reviewed-on: #215
Reviewed-by: Vylpes <ethan@vylpes.com>
Co-authored-by: Renovate Bot <renovate@vylpes.com>
Co-committed-by: Renovate Bot <renovate@vylpes.com>
2024-09-10 19:55:23 +01:00
82510e53a0 Update dependency ts-jest to v29.2.5 (#211)
All checks were successful
Stage / build (push) Successful in 8s
Stage / rsync (push) Successful in 6s
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [ts-jest](https://kulshekhar.github.io/ts-jest) ([source](https://github.com/kulshekhar/ts-jest)) | devDependencies | patch | [`29.2.3` -> `29.2.5`](https://renovatebot.com/diffs/npm/ts-jest/29.2.3/29.2.5) |

---

### Release Notes

<details>
<summary>kulshekhar/ts-jest (ts-jest)</summary>

### [`v29.2.5`](https://github.com/kulshekhar/ts-jest/blob/HEAD/CHANGELOG.md#2925-2024-08-23)

[Compare Source](https://github.com/kulshekhar/ts-jest/compare/v29.2.4...v29.2.5)

### [`v29.2.4`](https://github.com/kulshekhar/ts-jest/blob/HEAD/CHANGELOG.md#2924-2024-08-01)

[Compare Source](https://github.com/kulshekhar/ts-jest/compare/v29.2.3...v29.2.4)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **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 [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MzEuNCIsInVwZGF0ZWRJblZlciI6IjM3LjQzMS40IiwidGFyZ2V0QnJhbmNoIjoiZGV2ZWxvcCIsImxhYmVscyI6WyJ0eXBlL2RlcGVuZGVuY2llcyJdfQ==-->

Reviewed-on: #211
Reviewed-by: Vylpes <ethan@vylpes.com>
Co-authored-by: Renovate Bot <renovate@vylpes.com>
Co-committed-by: Renovate Bot <renovate@vylpes.com>
2024-09-10 19:54:19 +01:00
126401e3a1 Update dependency @types/node to v20.16.5 (#225)
All checks were successful
Stage / build (push) Successful in 7s
Stage / rsync (push) Successful in 5s
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node) ([source](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node)) | devDependencies | patch | [`20.16.3` -> `20.16.5`](https://renovatebot.com/diffs/npm/@types%2fnode/20.16.3/20.16.5) |

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **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 [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MzEuNCIsInVwZGF0ZWRJblZlciI6IjM3LjQzMS40IiwidGFyZ2V0QnJhbmNoIjoiZGV2ZWxvcCIsImxhYmVscyI6WyJ0eXBlL2RlcGVuZGVuY2llcyJdfQ==-->

Reviewed-on: #225
Reviewed-by: Vylpes <ethan@vylpes.com>
Co-authored-by: Renovate Bot <renovate@vylpes.com>
Co-committed-by: Renovate Bot <renovate@vylpes.com>
2024-09-10 19:53:23 +01:00
3ab770eb4c Remove macOS build support (#224)
All checks were successful
Stage / build (push) Successful in 8s
Stage / rsync (push) Successful in 5s
- Remove macOS build support
- Update documentation

#219

Reviewed-on: #224
Reviewed-by: VylpesTester <tester@vylpes.com>
Co-authored-by: Ethan Lane <ethan@vylpes.com>
Co-committed-by: Ethan Lane <ethan@vylpes.com>
2024-09-07 16:12:27 +01:00
2b28b4a8cb Update dependency @typescript-eslint/eslint-plugin to v8 (#221)
All checks were successful
Stage / build (push) Successful in 8s
Stage / rsync (push) Successful in 7s
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [@typescript-eslint/eslint-plugin](https://typescript-eslint.io/packages/eslint-plugin) ([source](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin)) | devDependencies | major | [`^7.18.0` -> `^8.0.0`](https://renovatebot.com/diffs/npm/@typescript-eslint%2feslint-plugin/7.18.0/8.3.0) |

---

### Release Notes

<details>
<summary>typescript-eslint/typescript-eslint (@&#8203;typescript-eslint/eslint-plugin)</summary>

### [`v8.3.0`](https://github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#830-2024-08-26)

[Compare Source](https://github.com/typescript-eslint/typescript-eslint/compare/v8.2.0...v8.3.0)

##### 🚀 Features

-   **eslint-plugin:** \[no-deprecation] add rule

##### 🩹 Fixes

-   **eslint-plugin:** \[no-unnecessary-template-expression] add missing parentheses in autofix

-   **eslint-plugin:** \[no-unnecessary-type-parameters] check mapped alias type arguments

-   **utils:** add `TSDeclareFunction` to `functionTypeTypes`

-   **ast-spec:** use `Expression` in argument of `ThrowStatement`

##### ❤️  Thank You

-   Abraham Guo
-   Daichi Kamiyama
-   Josh Goldberg 
-   Kim Sang Du
-   Sukka
-   Vida Xie

You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.

### [`v8.2.0`](https://github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#820-2024-08-19)

[Compare Source](https://github.com/typescript-eslint/typescript-eslint/compare/v8.1.0...v8.2.0)

##### 🚀 Features

-   **eslint-plugin:** add suggestion to `require-await` to remove `async` keyword

##### 🩹 Fixes

-   **eslint-plugin:** \[use-unknown-in-catch-callback-variable] flag second argument of `.then`

-   **eslint-plugin:** \[no-unnecessary-type-assertion] conflict with TS for variables used before assignment

-   **eslint-plugin:** delete \[] in message if ReadOnly\<string\[]> is detected

-   **eslint-plugin:** \[no-redundant-type-constituents] differentiate a types-error any from a true any

-   **eslint-plugin:** \[no-unnecessary-type-parameters] check mapped constraint types if necessary

-   **eslint-plugin:** \[no-unsafe-enum-comparison] add logic to see through intersections

##### ❤️  Thank You

-   Abraham Guo
-   Dave
-   Jake Bailey
-   James
-   Josh Goldberg 
-   liuxingbaoyu
-   Yukihiro Hasegawa
-   Yutong Zhu

You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.

### [`v8.1.0`](https://github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#810-2024-08-12)

[Compare Source](https://github.com/typescript-eslint/typescript-eslint/compare/v8.0.1...v8.1.0)

##### 🚀 Features

-   **eslint-plugin:** \[no-floating-promises] enable "add await" suggestion if ignoreVoid is true

-   **typescript-estree:** restrict variable declarator definite/init combinations

-   **eslint-plugin:** \[no-unsafe-return] check promise any

-   **eslint-plugin:** \[no-misused-promises] check subtype methods against heritage type methods

##### 🩹 Fixes

-   **eslint-plugin:** \[no-unsafe-enum-comparison] typo in test

-   **eslint-plugin:** \[no-unnecessary-type-parameters] skip checking function bodies for AST references

-   **eslint-plugin:** \[member-ordering] get accessor member name & take into account `abstract` and decorator

-   **eslint-plugin:** \[prefer-optional-chain] wrong parenthesis fix output

-   **eslint-plugin:** \[no-unnecessary-type-parameters] clarify message

##### ❤️  Thank You

-   Aly Thobani
-   Brad Zacher
-   James
-   Josh Goldberg 
-   Joshua Chen
-   Olivier Zalmanski
-   YeonJuan
-   Yukihiro Hasegawa

You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.

### [`v8.0.1`](https://github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#801-2024-08-05)

[Compare Source](https://github.com/typescript-eslint/typescript-eslint/compare/v8.0.0...v8.0.1)

##### 🩹 Fixes

-   **eslint-plugin:** \[no-unused-vars] ignore imports used only as types

##### ❤️  Thank You

-   Jake Bailey

You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.

### [`v8.0.0`](https://github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#800-2024-07-31)

[Compare Source](https://github.com/typescript-eslint/typescript-eslint/compare/v7.18.0...v8.0.0)

##### 🚀 Features

-   stricter parent types for the AST

-   **typescript-estree:** split TSMappedType typeParameter into constraint and key

-   **eslint-plugin:** remove formatting/layout rules

-   **eslint-plugin:** \[prefer-nullish-coalescing] change ignoreConditionalTests default to true

-   **eslint-plugin:** deprecate no-loss-of-precision extension rule

-   **eslint-plugin:** \[no-unused-vars] align catch behavior to ESLint 9

-   **typescript-estree:** rename automaticSingleRunInference to disallowAutomaticSingleRunInference

-   **utils:** allow specifying additional rule meta.docs in RuleCreator

-   **eslint-plugin:** split no-empty-object-type out from ban-types and no-empty-interfaces

-   **rule-tester:** support multipass fixes

-   **typescript-estree:** stabilize EXPERIMENTAL_useProjectService as projectService

-   **eslint-plugin:** remove deprecated no-throw-literal rule

-   **eslint-plugin:** apply initial config changes for v8

-   **eslint-plugin:** remove no-useless-template-literals

-   **eslint-plugin:** \[no-floating-promises] add 'allowForKnownSafeCalls' option

-   **eslint-plugin:** replace ban-types with no-restricted-types, no-unsafe-function-type, no-wrapper-object-types

-   **eslint-plugin:** \[no-unused-vars] add `reportUnusedIgnorePattern` option

-   **eslint-plugin:** \[no-unused-vars] support `ignoreClassWithStaticInitBlock`

-   **eslint-plugin:** \[no-unused-vars] handle comma operator for assignments, treat for-of the same as for-in

-   **eslint-plugin:** \[no-unused-vars] report if var used only in typeof

-   **eslint-plugin:** \[no-floating-promises] disable checkThenables by default for v8

-   **rule-tester:** switched to flat config

-   **eslint-plugin:** \[no-unnecessary-type-parameters] promote to strict

##### 🩹 Fixes

-   correct eslint-plugin's peerDependency on parser@8

-   disable `projectService` in `disabled-type-checked` shared config

-   **typescript-estree:** add TSEnumBody node for TSEnumDeclaration body

-   **eslint-plugin:** include alpha pre-releases in parser peer dependency

-   **eslint-plugin:** correct rules.d.ts types to not rely on non-existent imports

-   **eslint-plugin:** remove duplicate import `RuleModuleWithMetaDocs`

-   **type-utils:** also check declared modules for package names in TypeOrValueSpecifier

-   **eslint-plugin:** \[no-unnecessary-template-expression] do not render escaped strings in autofixes

-   **eslint-plugin:** \[no-unused-vars] incorporate upstream changes around caught errors report messages

-   **eslint-plugin:** \[no-misused-promises] perf: avoid getting types of variables/functions if the annotated type is obviously not a function

-   **rule-tester:** provide Linter a cwd in its constructor

##### ❤️  Thank You

-   Abraham Guo
-   Alfred Ringstad
-   auvred
-   Brad Zacher
-   Christopher Aubut
-   Collin Bachman
-   James Henry
-   Josh Goldberg
-   Josh Goldberg 
-   Kirk Waiblinger
-   StyleShit
-   Victor Lin
-   Yukihiro Hasegawa

You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.

#### 7.18.0 (2024-07-29)

##### 🩹 Fixes

-   **eslint-plugin:** \[no-unnecessary-type-assertion] prevent runtime error when asserting a variable declared in default TS lib

-   **eslint-plugin:** \[unbound-method] report on destructuring in function parameters

-   **eslint-plugin:** \[no-duplicate-type-constituents] shouldn't report on error types

-   **eslint-plugin:** \[strict-boolean-expressions] support branded booleans

##### ❤️  Thank You

-   auvred
-   Oliver Salzburg
-   Vinccool96
-   Yukihiro Hasegawa

You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.

#### 7.17.0 (2024-07-22)

##### 🚀 Features

-   **eslint-plugin:** backport no-unsafe-function type, no-wrapper-object-types from v8 to v7

-   **eslint-plugin:** \[return-await] add option to report in error-handling scenarios only, and deprecate "never"

##### 🩹 Fixes

-   **eslint-plugin:** \[no-floating-promises] check top-level type assertions (and more)

-   **eslint-plugin:** \[strict-boolean-expressions] consider assertion function argument a boolean context

-   **eslint-plugin:** \[no-unnecessary-condition] false positive on optional private field

##### ❤️  Thank You

-   Armano
-   Josh Goldberg 
-   Kirk Waiblinger
-   StyleShit

You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.

#### 7.16.1 (2024-07-15)

##### 🩹 Fixes

-   **eslint-plugin:** \[no-unnecessary-type-parameters] descend into all parts of mapped types in no-unnecessary-type-parameters

##### ❤️  Thank You

-   Dan Vanderkam

You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.

#### 7.16.0 (2024-07-08)

##### 🚀 Features

-   **rule-tester:** stricter rule test validations

-   **eslint-plugin:** \[no-unnecessary-parameter-property-assignment] add new rule

-   **eslint-plugin:** add support for nested namespaces to unsafe-member-access

-   **eslint-plugin:** \[no-floating-promises] add checkThenables option

##### 🩹 Fixes

-   **deps:** update dependency [@&#8203;eslint-community/regexpp](https://github.com/eslint-community/regexpp) to v4.11.0

-   **eslint-plugin:** \[no-floating-promises] add `suggestions` to tests from [#&#8203;9263](https://github.com/typescript-eslint/typescript-eslint/issues/9263) `checkThenables`

-   **website:** react key error on internal pages of website

-   **eslint-plugin:** \[restrict-template-expressions] don't report tuples if `allowArray` option is enabled

##### ❤️  Thank You

-   Abraham Guo
-   auvred
-   Josh Goldberg 
-   Juan Sanchez
-   Vinccool96
-   YeonJuan
-   Yukihiro Hasegawa

You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.

#### 7.15.0 (2024-07-01)

##### 🚀 Features

-   **eslint-plugin:** \[array-type] detect `Readonly<string[]>` case

-   **eslint-plugin:** back-port new rules around empty object types from v8

##### 🩹 Fixes

-   disable `EXPERIMENTAL_useProjectService` in `disabled-type-checked` shared config

-   **eslint-plugin:** \[no-unsafe-return] differentiate a types-error any from a true any

-   **eslint-plugin:** \[no-unsafe-call] differentiate a types-error any from a true any

##### ❤️  Thank You

-   auvred
-   Kim Sang Du
-   rgehbt
-   Vinccool96

You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.

#### 7.14.1 (2024-06-24)

##### 🩹 Fixes

-   **eslint-plugin:** \[prefer-nullish-coalescing] treat enums and literals as their underlying primitive types

-   **eslint-plugin:** \[prefer-nullish-coalescing] ensure ternary fix does not remove parens

##### ❤️  Thank You

-   Jake Bailey

You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.

#### 7.14.0 (2024-06-24)

##### 🚀 Features

-   support TypeScript 5.5

##### 🩹 Fixes

-   **eslint-plugin:** \[no-extraneous-class] handle abstract members

-   **eslint-plugin:** \[prefer-nullish-coalescing] handle intersected primitive types

-   **eslint-plugin:** \[no-invalid-this] support AccessorProperty

##### ❤️  Thank You

-   Brad Zacher
-   cm-ayf
-   Jake Bailey
-   James Zhan
-   Joshua Chen
-   yoshi2no

You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.

#### 7.13.1 (2024-06-17)

##### 🩹 Fixes

-   **eslint-plugin:** \[prefer-readonly] refine report locations

-   **eslint-plugin:** \[return-await] support explicit resource management

-   **eslint-plugin:** \[no-unsafe-member-access] differentiate a types-error any from a true any

##### ❤️  Thank You

-   Kirk Waiblinger
-   Yukihiro Hasegawa

You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.

#### 7.13.0 (2024-06-10)

##### 🚀 Features

-   **typescript-estree:** require `import = require()` argument to be a string literal

-   **typescript-estree:** forbid `.body`, `.async`, `.generator` on `declare function`

-   **eslint-plugin:** \[no-dynamic-delete] allow all string literals as index

##### 🩹 Fixes

-   **ast-spec:** function-call-like callee should be Expression not LeftHandSideExpression

-   **scope-manager:** handle index signature in class

-   **eslint-plugin:** \[init-declarations] refine report locations

-   **eslint-plugin:** \[no-base-to-string] make error message more nuanced

-   **eslint-plugin:** \[no-unsafe-assignment] be more specific about error types

-   **eslint-plugin:** \[no-magic-numbers] fix implementation of the `ignore` option

##### ❤️  Thank You

-   Fotis Papadogeorgopoulos
-   Joshua Chen
-   Kirk Waiblinger
-   Tobiloba Adedeji
-   Vinccool96
-   YeonJuan

You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.

#### 7.12.0 (2024-06-03)

##### 🚀 Features

-   **eslint-plugin:** \[no-useless-template-literals] rename to `no-useless-template-expression` (deprecate `no-useless-template-literals`)

-   **rule-tester:** check for parsing errors in suggestion fixes

-   **rule-tester:** port `checkDuplicateTestCases` from ESLint

-   **eslint-plugin:** \[no-floating-promises] add option 'allowForKnownSafePromises'

##### 🩹 Fixes

-   no-useless-template-expression -> no-unnecessary-template-expression

-   **eslint-plugin:** \[no-unnecessary-type-assertion] combine template literal check with `const` variable check

-   **eslint-plugin:** \[dot-notation] fix false positive when accessing private/protected property with optional chaining

-   **eslint-plugin:** \[explicit-member-accessibility] refine report locations

-   **eslint-plugin:** \[no-unnecessary-type-assertion] declares are always defined, so always check `declare`s

-   **eslint-plugin:** \[prefer-literal-enum-member] allow using member it self on allowBitwiseExpressions

-   **eslint-plugin:** \[return-await] clean up in-try-catch detection and make autofixes safe

-   **eslint-plugin:** \[member-ordering] also TSMethodSignature can be get/set

##### ❤️  Thank You

-   Abraham Guo
-   Han Yeong-woo
-   Joshua Chen
-   Kim Sang Du
-   Kirk Waiblinger
-   YeonJuan

You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.

#### 7.11.0 (2024-05-27)

##### 🚀 Features

-   **eslint-plugin:** deprecate prefer-ts-expect-error in favor of ban-ts-comment

##### 🩹 Fixes

-   **eslint-plugin:** \[consistent-type-assertions] prevent syntax errors on arrow functions

##### ❤️  Thank You

-   Abraham Guo
-   auvred
-   Dom Armstrong
-   Kirk Waiblinger

You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.

#### 7.10.0 (2024-05-20)

##### 🚀 Features

-   **eslint-plugin:** \[sort-type-constituents] support case sensitive sorting

##### 🩹 Fixes

-   **eslint-plugin:** \[prefer-regexp-exec] fix heuristic to check whether regex may contain global flag

##### ❤️  Thank You

-   auvred
-   Emanuel Hoogeveen
-   jsfm01
-   Kirk Waiblinger

You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.

#### 7.9.0 (2024-05-13)

##### 🩹 Fixes

-   **eslint-plugin:** \[explicit-function-return-types] fix false positive on default parameters

##### ❤️  Thank You

-   Kirk Waiblinger
-   Sheetal Nandi
-   Vinccool96

You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.

#### 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](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/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](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.

#### 7.7.0 (2024-04-15)

##### 🚀 Features

-   **eslint-plugin:** replace `no-new-symbol` with `no-new-native-nonconstructor`

##### ❤️  Thank You

-   Dave
-   Josh Goldberg 

You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/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](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.

#### 7.5.0 (2024-04-01)

##### 🩹 Fixes

-   **eslint-plugin:** \[no-floating-promises] handle TaggedTemplateExpression

-   **eslint-plugin:** \[no-unnecessary-type-assertion] handle exactOptionalPropertyTypes compiler option

##### ❤️  Thank You

-   Brad Zacher
-   Kim Sang Du
-   Mark de Dios
-   Naru
-   YeonJuan

You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.

#### 7.4.0 (2024-03-25)

##### 🚀 Features

-   **eslint-plugin:** \[consistent-type-imports] ignore files with decorators, experimentalDecorators, and emitDecoratorMetadata

-   **eslint-plugin:** \[no-unnecessary-type-arguments] handle tagged templates

-   **eslint-plugin:** deprecate no-throw-literal and add a renamed only-throw-error

##### 🩹 Fixes

-   **eslint-plugin:** \[prefer-optional-chain] address multipart nullish checks false positive

-   **eslint-plugin:** \[prefer-optional-chain] properly disambiguate between `boolean` and `false`

-   **eslint-plugin:** \[no-unnecessary-type-assertion] avoid remove const casting on template literals with expressions inside

##### ❤️  Thank You

-   Abraham Guo
-   Brad Zacher
-   Josh Goldberg 
-   Kim Sang Du
-   Kirk Waiblinger
-   Marco Pasqualetti
-   YeonJuan

You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.

#### 7.3.1 (2024-03-18)

##### 🩹 Fixes

-   **eslint-plugin:** \[no-floating-promises] revert disable of ignoreVoid in strict config

##### ❤️  Thank You

-   Josh Goldberg 

You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.

#### 7.3.0 (2024-03-18)

##### 🚀 Features

-   **eslint-plugin:** \[restrict-template-expressions] add `allowArray` option

-   **eslint-plugin:** add meta.docs.recommended setting for strict config options

-   **eslint-plugin:** add rule `use-unknown-in-catch-callback-variables`

-   **eslint-plugin:** \[prefer-reduce-type-parameter] supports tuple, union, intersection

##### 🩹 Fixes

-   correct `engines.node` constraints in `package.json`

-   **eslint-plugin:** \[unbound-method] check method definition in object literal using longhand form

-   **eslint-plugin:** \[consistent-type-imports] handle imports without specifiers

-   **eslint-plugin:** \[no-redundant-type-constituents] incorrectly marks & string as redundant

-   **eslint-plugin:** \[no-unnecessary-qualifier] handle merge namespace with enum

-   **eslint-plugin:** \[no-unused-expressions] false negatives when using assertions

-   **eslint-plugin:** \[ban-ts-comment] more accurate handling of multiline comments

-   **eslint-plugin:** \[explicit-function-return-type, explicit-module-boundary-types] improved checking for allowHigherOrderFunctions option

-   **eslint-plugin:** \[class-literal-property-style] ignore property assigned in constructor

-   **eslint-plugin:** \[no-unnecessary-type-assertion] fix false negative for const variable declarations

##### ❤️  Thank You

-   Abraham Guo
-   Alexu
-   Arka Pratim Chaudhuri
-   auvred
-   Derrick Isaacson
-   fnx
-   Josh Goldberg 
-   Kirk Waiblinger
-   Marta Cardoso
-   Michaël De Boey
-   Tristan Rasmussen
-   YeonJuan

You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.

#### 7.2.0 (2024-03-11)

##### 🚀 Features

-   support TS 5.4

-   **eslint-plugin:** \[prefer-string-starts-ends-with] add allowSingleElementEquality option

##### 🩹 Fixes

-   **eslint-plugin:** expose \*-type-checked-only configs for extension

-   **eslint-plugin:** \[member-ordering] report alphabetical sorting for all groups instead of just the first failing group

-   **eslint-plugin:** \[no-var-requires, no-require-imports] support template literal

-   **eslint-plugin:** \[no-useless-template-literals] detect TemplateLiteral

-   **eslint-plugin:** \[no-unnecessary-condition] handle union array and tuple type

-   **eslint-plugin:** \[prefer-find] support ternary branches in prefer-find

##### ❤️  Thank You

-   Arka Pratim Chaudhuri
-   auvred
-   Chris Plummer
-   Fotis Papadogeorgopoulos
-   Josh Goldberg 
-   Kirk Waiblinger
-   Wayne Zhang
-   YeonJuan

You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.

#### 7.1.1 (2024-03-04)

This was a version bump only for eslint-plugin to align it with other projects, there were no code changes.

You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.

#### 7.1.0 (2024-02-26)

##### 🚀 Features

-   **eslint-plugin:** add \*-type-checked-only configs

-   **eslint-plugin:** \[naming-convention] support the auto-accessor syntax

-   **eslint-plugin:** \[consistent-return] add new rule

##### 🩹 Fixes

-   **eslint-plugin:** \[prefer-optional-chan] allow typeof for avoiding reference error

-   **eslint-plugin:** \[no-misused-promises] improve check union types

-   **eslint-plugin:** \[no-use-before-define] fix false positive type reference in as, satisfies

##### ❤️  Thank You

-   Arka Pratim Chaudhuri
-   Josh Goldberg 
-   YeonJuan

You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.

#### 7.0.2 (2024-02-19)

##### 🩹 Fixes

-   fix tsconfig-less check errors, fix `@types/eslint` incompatibilities, add tests

##### ❤️  Thank You

-   Brad Zacher
-   Gareth Jones

You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.

#### 7.0.1 (2024-02-12)

##### 🩹 Fixes

-   **eslint-plugin:** update peer dep for parser

##### ❤️  Thank You

-   Tim Dorr

You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **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 [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MzEuNCIsInVwZGF0ZWRJblZlciI6IjM3LjQzMS40IiwidGFyZ2V0QnJhbmNoIjoiZGV2ZWxvcCIsImxhYmVscyI6WyJ0eXBlL2RlcGVuZGVuY2llcyJdfQ==-->

Reviewed-on: #221
Reviewed-by: Vylpes <ethan@vylpes.com>
Co-authored-by: Renovate Bot <renovate@vylpes.com>
Co-committed-by: Renovate Bot <renovate@vylpes.com>
2024-09-02 18:40:33 +01:00
89479873b8 Update dependency got to v14.4.2 (#217)
All checks were successful
Stage / build (push) Successful in 8s
Stage / rsync (push) Successful in 7s
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [got](https://github.com/sindresorhus/got) | resolutions | minor | [`14.0.0` -> `14.4.2`](https://renovatebot.com/diffs/npm/got/14.0.0/14.4.2) |

---

### Release Notes

<details>
<summary>sindresorhus/got (got)</summary>

### [`v14.4.2`](https://github.com/sindresorhus/got/releases/tag/v14.4.2)

[Compare Source](https://github.com/sindresorhus/got/compare/v14.4.1...v14.4.2)

-   Fix handling of invalid arguments ([#&#8203;2367](https://github.com/sindresorhus/got/issues/2367))  [`f44ef43`](https://github.com/sindresorhus/got/commit/f44ef43)

### [`v14.4.1`](https://github.com/sindresorhus/got/releases/tag/v14.4.1)

[Compare Source](https://github.com/sindresorhus/got/compare/v14.4.0...v14.4.1)

-   Fix missing dependency  [`dfc54d9`](https://github.com/sindresorhus/got/commit/dfc54d9)

### [`v14.4.0`](https://github.com/sindresorhus/got/releases/tag/v14.4.0)

[Compare Source](https://github.com/sindresorhus/got/compare/v14.3.0...v14.4.0)

-   Improve TypeScript types with generic extend ([#&#8203;2353](https://github.com/sindresorhus/got/issues/2353))  [`15ca4a0`](https://github.com/sindresorhus/got/commit/15ca4a0)

### [`v14.3.0`](https://github.com/sindresorhus/got/releases/tag/v14.3.0)

[Compare Source](https://github.com/sindresorhus/got/compare/v14.2.1...v14.3.0)

-   Update dependencies  [`dbab6c3`](https://github.com/sindresorhus/got/commit/dbab6c3)

### [`v14.2.1`](https://github.com/sindresorhus/got/releases/tag/v14.2.1)

[Compare Source](https://github.com/sindresorhus/got/compare/v14.2.0...v14.2.1)

-   Fix error handling when UTF-8 decoding fails ([#&#8203;2336](https://github.com/sindresorhus/got/issues/2336))  [`c81a611`](https://github.com/sindresorhus/got/commit/c81a611)

### [`v14.2.0`](https://github.com/sindresorhus/got/releases/tag/v14.2.0)

[Compare Source](https://github.com/sindresorhus/got/compare/v14.1.0...v14.2.0)

-   Add `cause` property with the original error to `RequestError` ([#&#8203;2327](https://github.com/sindresorhus/got/issues/2327))  [`4cbd01d`](https://github.com/sindresorhus/got/commit/4cbd01d)

### [`v14.1.0`](https://github.com/sindresorhus/got/releases/tag/v14.1.0)

[Compare Source](https://github.com/sindresorhus/got/compare/v14.0.0...v14.1.0)

-   Allow typing the body of a `RequestError` response ([#&#8203;2325](https://github.com/sindresorhus/got/issues/2325))  [`5e4f6ff`](https://github.com/sindresorhus/got/commit/5e4f6ff)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **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 [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MzEuNCIsInVwZGF0ZWRJblZlciI6IjM3LjQzMS40IiwidGFyZ2V0QnJhbmNoIjoiZGV2ZWxvcCIsImxhYmVscyI6WyJ0eXBlL2RlcGVuZGVuY2llcyJdfQ==-->

Reviewed-on: #217
Reviewed-by: Vylpes <ethan@vylpes.com>
Co-authored-by: Renovate Bot <renovate@vylpes.com>
Co-committed-by: Renovate Bot <renovate@vylpes.com>
2024-09-02 18:38:56 +01:00
9f733549f7 Update dependency @eslint/js to v9.9.1 (#214)
All checks were successful
Stage / build (push) Successful in 7s
Stage / rsync (push) Successful in 6s
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [@eslint/js](https://eslint.org) ([source](https://github.com/eslint/eslint/tree/HEAD/packages/js)) | devDependencies | minor | [`9.8.0` -> `9.9.1`](https://renovatebot.com/diffs/npm/@eslint%2fjs/9.8.0/9.9.1) |

---

### Release Notes

<details>
<summary>eslint/eslint (@&#8203;eslint/js)</summary>

### [`v9.9.1`](https://github.com/eslint/eslint/releases/tag/v9.9.1)

[Compare Source](https://github.com/eslint/eslint/compare/v9.9.0...v9.9.1)

#### Bug Fixes

-   [`9bde90c`](9bde90c2ed) fix: add logic to handle `fixTypes` in `lintText()` ([#&#8203;18736](https://github.com/eslint/eslint/issues/18736)) (Amaresh  S M)

#### Documentation

-   [`4840930`](4840930b9d) docs: Update README with version support and clean up content ([#&#8203;18804](https://github.com/eslint/eslint/issues/18804)) (Nicholas C. Zakas)
-   [`f61f40d`](f61f40d8a6) docs: Update globals examples ([#&#8203;18805](https://github.com/eslint/eslint/issues/18805)) (Nicholas C. Zakas)
-   [`241fcea`](241fcea48a) docs: Use and define languages ([#&#8203;18795](https://github.com/eslint/eslint/issues/18795)) (Nicholas C. Zakas)
-   [`5dbdd63`](5dbdd63dc8) docs: eslint-plugin-markdown -> [@&#8203;eslint/markdown](https://github.com/eslint/markdown) ([#&#8203;18797](https://github.com/eslint/eslint/issues/18797)) (Nicholas C. Zakas)
-   [`c6c8ddd`](c6c8ddd313) docs: update links to eslint-visitor-keys repo ([#&#8203;18796](https://github.com/eslint/eslint/issues/18796)) (Francesco Trotta)
-   [`f981d05`](f981d054ed) docs: Update README (GitHub Actions Bot)
-   [`b516974`](b516974713) docs: update links to `eslint/js` repo ([#&#8203;18781](https://github.com/eslint/eslint/issues/18781)) (Francesco Trotta)
-   [`fb7a3f5`](fb7a3f5df5) docs: update note for package managers ([#&#8203;18779](https://github.com/eslint/eslint/issues/18779)) (Jay)

#### Chores

-   [`b0c34d0`](b0c34d04b1) chore: upgrade to [@&#8203;eslint/js](https://github.com/eslint/js)[@&#8203;9](https://github.com/9).9.1 ([#&#8203;18809](https://github.com/eslint/eslint/issues/18809)) (Francesco Trotta)
-   [`cd5a0da`](cd5a0daa24) chore: package.json update for [@&#8203;eslint/js](https://github.com/eslint/js) release (Jenkins)
-   [`e112642`](e1126423db) refactor: Extract parsing logic from Linter ([#&#8203;18790](https://github.com/eslint/eslint/issues/18790)) (Nicholas C. Zakas)
-   [`0f68a85`](0f68a851db) chore: use eslint-plugin-yml on yaml files only ([#&#8203;18801](https://github.com/eslint/eslint/issues/18801)) (Milos Djermanovic)
-   [`f8d1b3c`](f8d1b3c232) chore: update dependencies for browser tests ([#&#8203;18794](https://github.com/eslint/eslint/issues/18794)) (Christian Bromann)
-   [`aed2624`](aed2624079) chore: update dependency [@&#8203;eslint/config-array](https://github.com/eslint/config-array) to ^0.18.0 ([#&#8203;18788](https://github.com/eslint/eslint/issues/18788)) (renovate\[bot])
-   [`5c29128`](5c291283dc) chore: update dependency [@&#8203;eslint/core](https://github.com/eslint/core) to ^0.4.0 ([#&#8203;18789](https://github.com/eslint/eslint/issues/18789)) (renovate\[bot])
-   [`5d66fb2`](5d66fb2b53) chore: migrate linting workflow to use trunk check meta-linter ([#&#8203;18643](https://github.com/eslint/eslint/issues/18643)) (Chris Clearwater)
-   [`bf96855`](bf96855d7c) chore: add ids to github issue templates ([#&#8203;18775](https://github.com/eslint/eslint/issues/18775)) (Strek)

### [`v9.9.0`](https://github.com/eslint/eslint/releases/tag/v9.9.0)

[Compare Source](https://github.com/eslint/eslint/compare/v9.8.0...v9.9.0)

#### Features

-   [`41d0206`](41d0206693) feat: Add support for TS config files ([#&#8203;18134](https://github.com/eslint/eslint/issues/18134)) (Arya Emami)
-   [`3a4eaf9`](3a4eaf9215) feat: add suggestion to `require-await` to remove `async` keyword ([#&#8203;18716](https://github.com/eslint/eslint/issues/18716)) (Dave)

#### Documentation

-   [`9fe068c`](9fe068c60d) docs: how to author plugins with configs that extend other configs ([#&#8203;18753](https://github.com/eslint/eslint/issues/18753)) (Alec Gibson)
-   [`48117b2`](48117b27e9) docs: add version support page in the side navbar ([#&#8203;18738](https://github.com/eslint/eslint/issues/18738)) (Amaresh  S M)
-   [`fec2951`](fec2951d58) docs: add version support page to the dropdown ([#&#8203;18730](https://github.com/eslint/eslint/issues/18730)) (Amaresh  S M)
-   [`38a0661`](38a0661872) docs: Fix typo ([#&#8203;18735](https://github.com/eslint/eslint/issues/18735)) (Zaina Al Habash)
-   [`3c32a9e`](3c32a9e23c) docs: Update yarn command for creating ESLint config ([#&#8203;18739](https://github.com/eslint/eslint/issues/18739)) (Temitope Ogunleye)
-   [`f9ac978`](f9ac978de6) docs: Update README (GitHub Actions Bot)

#### Chores

-   [`461b2c3`](461b2c3578) chore: upgrade to `@eslint/js@9.9.0` ([#&#8203;18765](https://github.com/eslint/eslint/issues/18765)) (Francesco Trotta)
-   [`59dba1b`](59dba1b340) chore: package.json update for [@&#8203;eslint/js](https://github.com/eslint/js) release (Jenkins)
-   [`fea8563`](fea8563d33) chore: update dependency [@&#8203;eslint/core](https://github.com/eslint/core) to ^0.3.0 ([#&#8203;18724](https://github.com/eslint/eslint/issues/18724)) (renovate\[bot])
-   [`aac191e`](aac191e670) chore: update dependency [@&#8203;eslint/json](https://github.com/eslint/json) to ^0.3.0 ([#&#8203;18760](https://github.com/eslint/eslint/issues/18760)) (renovate\[bot])
-   [`b97fa05`](b97fa05137) chore: update wdio dependencies for more stable tests ([#&#8203;18759](https://github.com/eslint/eslint/issues/18759)) (Christian Bromann)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **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 [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MzEuNCIsInVwZGF0ZWRJblZlciI6IjM3LjQzMS40IiwidGFyZ2V0QnJhbmNoIjoiZGV2ZWxvcCIsImxhYmVscyI6WyJ0eXBlL2RlcGVuZGVuY2llcyJdfQ==-->

Reviewed-on: #214
Reviewed-by: Vylpes <ethan@vylpes.com>
Co-authored-by: Renovate Bot <renovate@vylpes.com>
Co-committed-by: Renovate Bot <renovate@vylpes.com>
2024-09-02 18:37:29 +01:00
1a62a5a6e3 Update dependency @babel/traverse to v7.25.6 (#212)
All checks were successful
Stage / build (push) Successful in 8s
Stage / rsync (push) Successful in 5s
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [@babel/traverse](https://babel.dev/docs/en/next/babel-traverse) ([source](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse)) | resolutions | minor | [`7.24.8` -> `7.25.6`](https://renovatebot.com/diffs/npm/@babel%2ftraverse/7.24.8/7.25.6) |

---

### Release Notes

<details>
<summary>babel/babel (@&#8203;babel/traverse)</summary>

### [`v7.25.6`](https://github.com/babel/babel/blob/HEAD/CHANGELOG.md#v7256-2024-08-29)

[Compare Source](https://github.com/babel/babel/compare/v7.25.4...v7.25.6)

##### 🐛 Bug Fix

-   `babel-generator`
    -   [#&#8203;16783](https://github.com/babel/babel/pull/16783) Properly print inner comments in TS array types ([@&#8203;nicolo-ribaudo](https://github.com/nicolo-ribaudo))
    -   [#&#8203;16775](https://github.com/babel/babel/pull/16775) fix: jsx whitespace is not properly preserved when retainLines ([@&#8203;liuxingbaoyu](https://github.com/liuxingbaoyu))
-   `babel-traverse`
    -   [#&#8203;16727](https://github.com/babel/babel/pull/16727) fix: `path.getAssignmentIdentifiers` may be `undefined` ([@&#8203;liuxingbaoyu](https://github.com/liuxingbaoyu))
-   `babel-parser`
    -   [#&#8203;16761](https://github.com/babel/babel/pull/16761) fix: improve static canFollowModifier checks ([@&#8203;JLHwung](https://github.com/JLHwung))
-   `babel-helpers`, `babel-plugin-transform-optional-chaining`, `babel-runtime-corejs3`
    -   [#&#8203;16769](https://github.com/babel/babel/pull/16769) Only wrap functions in `superPropertyGet` helper ([@&#8203;nicolo-ribaudo](https://github.com/nicolo-ribaudo))

##### 💅 Polish

-   `babel-generator`, `babel-plugin-transform-async-to-generator`, `babel-plugin-transform-block-scoping`, `babel-plugin-transform-class-properties`, `babel-plugin-transform-classes`, `babel-plugin-transform-duplicate-named-capturing-groups-regex`, `babel-plugin-transform-named-capturing-groups-regex`, `babel-plugin-transform-react-jsx-development`, `babel-plugin-transform-react-jsx`, `babel-plugin-transform-react-pure-annotations`, `babel-plugin-transform-regenerator`, `babel-plugin-transform-runtime`, `babel-preset-env`
    -   [#&#8203;16780](https://github.com/babel/babel/pull/16780) Do not enforce printing space between `(` and comments ([@&#8203;nicolo-ribaudo](https://github.com/nicolo-ribaudo))
-   `babel-plugin-syntax-import-assertions`, `babel-plugin-syntax-import-attributes`
    -   [#&#8203;16781](https://github.com/babel/babel/pull/16781) Don't throw when enabling both syntax-import-{assertions,attributes} ([@&#8203;nicolo-ribaudo](https://github.com/nicolo-ribaudo))
-   `babel-generator`
    -   [#&#8203;16782](https://github.com/babel/babel/pull/16782) TS union/intersection nested in union does not need parens ([@&#8203;nicolo-ribaudo](https://github.com/nicolo-ribaudo))

##### 🏠 Internal

-   `babel-generator`
    -   [#&#8203;16777](https://github.com/babel/babel/pull/16777) Remove unused `parent` params in the generator ([@&#8203;nicolo-ribaudo](https://github.com/nicolo-ribaudo))

### [`v7.25.4`](https://github.com/babel/babel/blob/HEAD/CHANGELOG.md#v7254-2024-08-22)

[Compare Source](https://github.com/babel/babel/compare/v7.25.3...v7.25.4)

##### 🐛 Bug Fix

-   `babel-traverse`
    -   [#&#8203;16756](https://github.com/babel/babel/pull/16756) fix: Skip computed key when renaming ([@&#8203;liuxingbaoyu](https://github.com/liuxingbaoyu))
-   `babel-helper-create-class-features-plugin`, `babel-plugin-proposal-decorators`
    -   [#&#8203;16755](https://github.com/babel/babel/pull/16755) fix: Decorator 2018-09 may throw an exception ([@&#8203;liuxingbaoyu](https://github.com/liuxingbaoyu))
-   `babel-types`
    -   [#&#8203;16710](https://github.com/babel/babel/pull/16710) Visit AST fields nodes according to their syntactical order ([@&#8203;nicolo-ribaudo](https://github.com/nicolo-ribaudo))
-   `babel-generator`
    -   [#&#8203;16709](https://github.com/babel/babel/pull/16709) Print semicolon after TS `export namespace as A` ([@&#8203;nicolo-ribaudo](https://github.com/nicolo-ribaudo))

##### 💅 Polish

-   `babel-generator`, `babel-plugin-proposal-decorators`, `babel-plugin-proposal-destructuring-private`, `babel-plugin-proposal-pipeline-operator`, `babel-plugin-transform-class-properties`, `babel-plugin-transform-destructuring`, `babel-plugin-transform-optional-chaining`, `babel-plugin-transform-private-methods`, `babel-plugin-transform-private-property-in-object`, `babel-plugin-transform-typescript`, `babel-runtime-corejs2`, `babel-runtime`, `babel-traverse`
    -   [#&#8203;16722](https://github.com/babel/babel/pull/16722) Avoid unnecessary parens around sequence expressions ([@&#8203;nicolo-ribaudo](https://github.com/nicolo-ribaudo))
-   `babel-generator`, `babel-plugin-transform-class-properties`
    -   [#&#8203;16714](https://github.com/babel/babel/pull/16714) Avoid unnecessary parens around exported arrow functions ([@&#8203;nicolo-ribaudo](https://github.com/nicolo-ribaudo))
-   `babel-generator`, `babel-plugin-proposal-decorators`, `babel-plugin-proposal-destructuring-private`, `babel-plugin-transform-object-rest-spread`
    -   [#&#8203;16712](https://github.com/babel/babel/pull/16712) Avoid printing unnecessary parens around object destructuring ([@&#8203;nicolo-ribaudo](https://github.com/nicolo-ribaudo))

##### 🔬 Output optimization

-   `babel-generator`
    -   [#&#8203;16740](https://github.com/babel/babel/pull/16740) Avoid extra spaces between comments/regexps in compact mode ([@&#8203;nicolo-ribaudo](https://github.com/nicolo-ribaudo))

### [`v7.25.3`](https://github.com/babel/babel/blob/HEAD/CHANGELOG.md#v7253-2024-07-31)

[Compare Source](https://github.com/babel/babel/compare/v7.25.2...v7.25.3)

##### 🐛 Bug Fix

-   `babel-plugin-bugfix-firefox-class-in-computed-class-key`, `babel-traverse`
    -   [#&#8203;16699](https://github.com/babel/babel/pull/16699) Avoid validating visitors produced by `traverse.visitors.merge` ([@&#8203;nicolo-ribaudo](https://github.com/nicolo-ribaudo))

##### 🏠 Internal

-   `babel-parser`
    -   [#&#8203;16688](https://github.com/babel/babel/pull/16688) Add `@babel/types` as a dependency of `@babel/parser` ([@&#8203;nicolo-ribaudo](https://github.com/nicolo-ribaudo))

### [`v7.25.2`](https://github.com/babel/babel/blob/HEAD/CHANGELOG.md#v7252-2024-07-30)

[Compare Source](https://github.com/babel/babel/compare/v7.25.1...v7.25.2)

##### 🐛 Bug Fix

-   `babel-core`, `babel-traverse`
    -   [#&#8203;16695](https://github.com/babel/babel/pull/16695) Ensure that `requeueComputedKeyAndDecorators` is available ([@&#8203;nicolo-ribaudo](https://github.com/nicolo-ribaudo))

### [`v7.25.1`](https://github.com/babel/babel/blob/HEAD/CHANGELOG.md#v7251-2024-07-28)

[Compare Source](https://github.com/babel/babel/compare/v7.25.0...v7.25.1)

##### 🐛 Bug Fix

-   `babel-plugin-transform-function-name`
    -   [#&#8203;16683](https://github.com/babel/babel/pull/16683) fix: `ensureFunctionName` may be undefined ([@&#8203;liuxingbaoyu](https://github.com/liuxingbaoyu))
-   `babel-plugin-transform-react-constant-elements`
    -   [#&#8203;16582](https://github.com/babel/babel/pull/16582) fix plugin-transform-react-constant-elements transform JSXFrament but not add JSXExpressionContainer ([@&#8203;keiseiTi](https://github.com/keiseiTi))
-   `babel-traverse`
    -   [#&#8203;16587](https://github.com/babel/babel/pull/16587) fix: fixed issue16583 + test ([@&#8203;nerodesu017](https://github.com/nerodesu017))

##### 🏠 Internal

-   [#&#8203;16663](https://github.com/babel/babel/pull/16663) Test eslint plugin against eslint 9 ([@&#8203;JLHwung](https://github.com/JLHwung))

### [`v7.25.0`](https://github.com/babel/babel/blob/HEAD/CHANGELOG.md#v7250-2024-07-26)

[Compare Source](https://github.com/babel/babel/compare/v7.24.8...v7.25.0)

##### 👓 Spec Compliance

-   `babel-helpers`, `babel-plugin-proposal-explicit-resource-management`, `babel-runtime-corejs3`
    -   [#&#8203;16537](https://github.com/babel/babel/pull/16537) `await using` normative updates ([@&#8203;JLHwung](https://github.com/JLHwung))
-   `babel-plugin-transform-typescript`
    -   [#&#8203;16602](https://github.com/babel/babel/pull/16602) Ensure enum members syntactically determinable to be strings do not get reverse mappings ([@&#8203;liuxingbaoyu](https://github.com/liuxingbaoyu))

##### 🚀 New Feature

-   `babel-helper-create-class-features-plugin`, `babel-helper-function-name`, `babel-helper-plugin-utils`, `babel-helper-wrap-function`, `babel-plugin-bugfix-safari-class-field-initializer-scope`, `babel-plugin-bugfix-safari-id-destructuring-collision-in-function-expression`, `babel-plugin-transform-classes`, `babel-plugin-transform-function-name`, `babel-preset-env`, `babel-traverse`, `babel-types`
    -   [#&#8203;16658](https://github.com/babel/babel/pull/16658) Move `ensureFunctionName` to `NodePath.prototype` ([@&#8203;nicolo-ribaudo](https://github.com/nicolo-ribaudo))
-   `babel-helper-hoist-variables`, `babel-helper-plugin-utils`, `babel-plugin-proposal-async-do-expressions`, `babel-plugin-transform-modules-systemjs`, `babel-traverse`
    -   [#&#8203;16644](https://github.com/babel/babel/pull/16644) Move `hoistVariables` to `Scope.prototype` ([@&#8203;nicolo-ribaudo](https://github.com/nicolo-ribaudo))
-   `babel-helper-create-class-features-plugin`, `babel-helper-module-transforms`, `babel-helper-plugin-utils`, `babel-helper-split-export-declaration`, `babel-plugin-transform-classes`, `babel-traverse`, `babel-types`
    -   [#&#8203;16645](https://github.com/babel/babel/pull/16645) Move `splitExportDeclaration` to `NodePath.prototype` ([@&#8203;nicolo-ribaudo](https://github.com/nicolo-ribaudo))
-   `babel-helper-create-class-features-plugin`, `babel-helper-environment-visitor`, `babel-helper-module-transforms`, `babel-helper-plugin-utils`, `babel-helper-remap-async-to-generator`, `babel-helper-replace-supers`, `babel-plugin-bugfix-firefox-class-in-computed-class-key`, `babel-plugin-bugfix-v8-static-class-fields-redefine-readonly`, `babel-plugin-transform-async-generator-functions`, `babel-plugin-transform-classes`, `babel-traverse`
    -   [#&#8203;16649](https://github.com/babel/babel/pull/16649) Move `environment-visitor` helper into `@babel/traverse` ([@&#8203;nicolo-ribaudo](https://github.com/nicolo-ribaudo))
-   `babel-core`, `babel-parser`
    -   [#&#8203;16480](https://github.com/babel/babel/pull/16480) Expose wether a module has TLA or not as `.extra.async` ([@&#8203;nicolo-ribaudo](https://github.com/nicolo-ribaudo))
-   `babel-compat-data`, `babel-plugin-bugfix-safari-class-field-initializer-scope`, `babel-preset-env`
    -   [#&#8203;16569](https://github.com/babel/babel/pull/16569) Introduce `bugfix-safari-class-field-initializer-scope` ([@&#8203;davidtaylorhq](https://github.com/davidtaylorhq))
-   `babel-plugin-transform-block-scoping`, `babel-traverse`, `babel-types`
    -   [#&#8203;16551](https://github.com/babel/babel/pull/16551) Add `NodePath#getAssignmentIdentifiers` ([@&#8203;JLHwung](https://github.com/JLHwung))
-   `babel-helper-import-to-platform-api`, `babel-plugin-proposal-json-modules`
    -   [#&#8203;16579](https://github.com/babel/babel/pull/16579) Add `uncheckedRequire` option for JSON imports to CJS ([@&#8203;nicolo-ribaudo](https://github.com/nicolo-ribaudo))
-   `babel-helper-transform-fixture-test-runner`, `babel-node`
    -   [#&#8203;16642](https://github.com/babel/babel/pull/16642) Allow using custom config in `babel-node --eval` ([@&#8203;slatereax](https://github.com/slatereax))
-   `babel-compat-data`, `babel-helper-create-regexp-features-plugin`, `babel-plugin-proposal-duplicate-named-capturing-groups-regex`, `babel-plugin-transform-duplicate-named-capturing-groups-regex`, `babel-preset-env`, `babel-standalone`
    -   [#&#8203;16445](https://github.com/babel/babel/pull/16445) Add `duplicate-named-capturing-groups-regex` to `preset-env` ([@&#8203;JLHwung](https://github.com/JLHwung))

##### 🐛 Bug Fix

-   `babel-generator`
    -   [#&#8203;16678](https://github.com/babel/babel/pull/16678) Print parens around as expressions on the LHS ([@&#8203;nicolo-ribaudo](https://github.com/nicolo-ribaudo))
-   `babel-template`, `babel-types`
    -   [#&#8203;15286](https://github.com/babel/babel/pull/15286) fix: Props are lost when the template replaces the node ([@&#8203;liuxingbaoyu](https://github.com/liuxingbaoyu))

##### 🏠 Internal

-   Other
    -   [#&#8203;16674](https://github.com/babel/babel/pull/16674) bump gulp to 5 ([@&#8203;JLHwung](https://github.com/JLHwung))
-   `babel-generator`
    -   [#&#8203;16651](https://github.com/babel/babel/pull/16651) Simplify the printing logic for `(` before ambiguous tokens ([@&#8203;nicolo-ribaudo](https://github.com/nicolo-ribaudo))
-   `babel-helper-function-name`, `babel-plugin-transform-arrow-functions`, `babel-plugin-transform-function-name`, `babel-preset-env`, `babel-traverse`
    -   [#&#8203;16652](https://github.com/babel/babel/pull/16652) Simplify `helper-function-name` logic ([@&#8203;nicolo-ribaudo](https://github.com/nicolo-ribaudo))

##### 🏃‍♀️ Performance

-   `babel-parser`, `babel-plugin-proposal-pipeline-operator`
    -   [#&#8203;16461](https://github.com/babel/babel/pull/16461) Some minor parser performance improvements for ts ([@&#8203;liuxingbaoyu](https://github.com/liuxingbaoyu))

##### 🔬 Output optimization

-   `babel-plugin-transform-classes`
    -   [#&#8203;16670](https://github.com/babel/babel/pull/16670) Reduce redundant `assertThisInitialized` ([@&#8203;liuxingbaoyu](https://github.com/liuxingbaoyu))
-   `babel-helper-create-class-features-plugin`, `babel-helper-replace-supers`, `babel-helpers`, `babel-plugin-proposal-decorators`, `babel-plugin-transform-class-properties`, `babel-plugin-transform-classes`, `babel-plugin-transform-exponentiation-operator`, `babel-plugin-transform-object-super`, `babel-plugin-transform-private-methods`, `babel-runtime-corejs2`, `babel-runtime-corejs3`, `babel-runtime`
    -   [#&#8203;16374](https://github.com/babel/babel/pull/16374) Improve `super.x` output ([@&#8203;liuxingbaoyu](https://github.com/liuxingbaoyu))
-   `babel-plugin-transform-class-properties`, `babel-plugin-transform-classes`
    -   [#&#8203;16656](https://github.com/babel/babel/pull/16656) Simplify output for anonymous classes with no methods ([@&#8203;nicolo-ribaudo](https://github.com/nicolo-ribaudo))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **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 [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MzEuNCIsInVwZGF0ZWRJblZlciI6IjM3LjQzMS40IiwidGFyZ2V0QnJhbmNoIjoiZGV2ZWxvcCIsImxhYmVscyI6WyJ0eXBlL2RlcGVuZGVuY2llcyJdfQ==-->

Reviewed-on: #212
Reviewed-by: Vylpes <ethan@vylpes.com>
Co-authored-by: Renovate Bot <renovate@vylpes.com>
Co-committed-by: Renovate Bot <renovate@vylpes.com>
2024-09-02 18:36:28 +01:00
1b67713eef Update dependency @types/node to v20.16.3 (#205)
All checks were successful
Stage / build (push) Successful in 8s
Stage / rsync (push) Successful in 6s
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node) ([source](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node)) | devDependencies | minor | [`20.14.11` -> `20.16.3`](https://renovatebot.com/diffs/npm/@types%2fnode/20.14.11/20.16.3) |

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **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 [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MzEuNCIsInVwZGF0ZWRJblZlciI6IjM3LjQzMS40IiwidGFyZ2V0QnJhbmNoIjoiZGV2ZWxvcCIsImxhYmVscyI6WyJ0eXBlL2RlcGVuZGVuY2llcyJdfQ==-->

Reviewed-on: #205
Reviewed-by: Vylpes <ethan@vylpes.com>
Co-authored-by: Renovate Bot <renovate@vylpes.com>
Co-committed-by: Renovate Bot <renovate@vylpes.com>
2024-09-02 18:34:47 +01:00
11 changed files with 507 additions and 406 deletions

View file

@ -9,13 +9,12 @@ The project can be downloaded as a binary for your system via the [GitHub Releas
We currently support:
- Linux (x64)
- Windows (x64)
- macOS (x64, Arm64\*)
The git repository can also be cloned and ran via `yarn build` and `yarn start`.
You can produce the binary using the `yarn package` command. This creates the binaries in the `./bin` folder.
> **NOTE:** We are aware of a bug in the macOS Arm64 builds failing to execute. For now you're still able to use the x64 builds under Rosetta fine. This will hopefully be fixed in a future release.
> **NOTE:** As of version 2.4 I will no longer be supporting and building macOS builds as I have no capacity to test and build for it.
## Default Output
@ -27,6 +26,7 @@ $ random-bunny
Archived = false
Author = Rabbit_Owner
Downvotes = 0
Gallery = https://i.redd.it/sfz0srdrimjc1.png, https://i.redd.it/sfz0srdrimjc1.png
Hidden = false
Permalink = /r/Rabbits/comments/1av1rg9/cute_baby_bun/
Subreddit = Rabbits
@ -36,6 +36,8 @@ Upvotes = 211
Url = https://i.redd.it/sfz0srdrimjc1.png
```
- The `Gallery` field is only shown when there is more than 1 image returned, which then the `Url` field is the first image of that list.
## Help
The command also includes a help option in case you are stuck.
@ -73,9 +75,11 @@ $ random-bunny --json
$ randon-bunny -j
{"Archived":false,"Author":"Rabbit_Owner","Downs":0,"Hidden":false,"Permalink":"/r/Rabbits/comments/1av1rg9/cute_baby_bun/","Subreddit":"Rabbits","SubredditSubscribers":486085,"Title":"Cute baby bun","Ups":210,"Url":"https://i.redd.it/sfz0srdrimjc1.png"}
{"Archived":false,"Author":"Rabbit_Owner","Downs":0,"Hidden":false,"Permalink":"/r/Rabbits/comments/1av1rg9/cute_baby_bun/","Subreddit":"Rabbits","SubredditSubscribers":486085,"Title":"Cute baby bun","Ups":210,"Url":"https://i.redd.it/sfz0srdrimjc1.png","Gallery":["https://i.redd.it/sfz0srdrimjc1.png"]}
```
- The `Url` field is the first image of the `Gallery` array
## Sort
You can also choose the sorting option which reddit will use to return the available posts to randomise from.

View file

@ -43,24 +43,20 @@
"@eslint/js": "^9.8.0",
"@types/eslint": "^9.6.0",
"@types/jest": "^29.5.8",
"@types/node": "^20.0.0",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"@types/node": "^22.0.0",
"@typescript-eslint/eslint-plugin": "^8.0.0",
"@typescript-eslint/parser": "^8.0.0",
"@yao-pkg/pkg": "^5.12.0",
"eslint": "^9.8.0",
"jest": "^29.7.0",
"jest-mock-extended": "^3.0.3",
"jest-mock-extended": "^3.0.7",
"np": "^10.0.0",
"ts-jest": "^29.1.1",
"ts-mockito": "^2.6.1",
"typescript": "^5.0.0",
"typescript-eslint": "^7.18.0"
},
"resolutions": {
"np/**/got": "^14.0.0",
"**/semver": "^7.5.2",
"@babel/traverse": "^7.23.2"
},
"resolutions": {},
"files": [
"dist"
],
@ -68,8 +64,6 @@
"scripts": "dist/**/*.js",
"targets": [
"latest-linux-x64",
"latest-macos-x64",
"latest-macos-arm64",
"latest-win-x64"
],
"outputPath": "bin"

View file

@ -39,6 +39,7 @@ The json string which gets returned consists of:
- archived
- author
- downs
- gallery
- hidden
- permalink
- subreddit

View file

@ -2,11 +2,12 @@ export default interface IRedditResult {
Archived: boolean,
Author: string,
Downs: number,
Gallery: string[],
Hidden: boolean,
Permalink: string,
Subreddit: string,
SubredditSubscribers: number,
Title: string,
Ups: number,
Url: string
Url: string,
}

View file

@ -2,17 +2,19 @@ import fetch from "got-cjs";
import * as htmlparser from "htmlparser2";
export default class ImageHelper {
public static async FetchImageFromRedditGallery(url: string): Promise<string | undefined> {
public static async FetchImageFromRedditGallery(url: string): Promise<string[]> {
const fetched = await fetch(url);
if (!fetched || fetched.errored || fetched.statusCode != 200) {
return undefined;
return [];
}
const dom = htmlparser.parseDocument(fetched.body);
const img = htmlparser.DomUtils.findOne((x => x.tagName == "img" && x.attributes.find(y => y.value.includes("https://preview.redd.it")) != null), dom.children, true);
const img = htmlparser.DomUtils.findAll((x => x.tagName == "img" && x.attributes.find(y => y.value.includes("https://preview.redd.it")) != null), dom.children);
const imgSrc = img?.attributes.find(x => x.name == "src")?.value;
const imgSrc = img
.flatMap(x => x.attributes.find(x => x.name == "src")?.value)
.filter(x => x != undefined);
return imgSrc;
}

View file

@ -14,7 +14,13 @@ export default class OutputHelper {
outputLines.push(`Archived = ${result.Archived}`);
outputLines.push(`Author = ${result.Author}`);
outputLines.push(`Downvotes = ${result.Downs}`);
if (result.Gallery.length > 1) {
outputLines.push(`Gallery = ${result.Gallery.join(", ")}`);
}
outputLines.push(`Hidden = ${result.Hidden}`);
outputLines.push(`Permalink = ${result.Permalink}`);
outputLines.push(`Subreddit = ${result.Subreddit}`);
outputLines.push(`Subreddit Subscribers = ${result.SubredditSubscribers}`);
@ -22,6 +28,7 @@ export default class OutputHelper {
outputLines.push(`Upvotes = ${result.Ups}`);
outputLines.push(`Url = ${result.Url}`);
if (options.queryMetadata != null) {
outputLines.push(`Query.Subreddit = ${response.Query.subreddit}`);
outputLines.push(`Query.Sort By = ${response.Query.sortBy}`);

View file

@ -93,6 +93,7 @@ export default async function randomBunny(subreddit: string, sortBy: "new" | "ho
const randomData = randomSelect.data;
let url: string;
let gallery: string[];
if (randomData.url.includes("/gallery")) {
const galleryImage = await ImageHelper.FetchImageFromRedditGallery(randomData.url);
@ -112,9 +113,11 @@ export default async function randomBunny(subreddit: string, sortBy: "new" | "ho
}
}
url = galleryImage;
url = galleryImage[0];
gallery = galleryImage;
} else {
url = randomData.url;
gallery = [randomData.url];
}
const redditResult: IRedditResult = {
@ -128,6 +131,7 @@ export default async function randomBunny(subreddit: string, sortBy: "new" | "ho
Title: randomData['title'],
Ups: randomData['ups'],
Url: url,
Gallery: gallery,
};
return {

View file

@ -13,7 +13,7 @@ Upvotes = 17
Url = https://preview.redd.it/d5yno653zf7d1.jpg?width=640&crop=smart&auto=webp&s=5064d1caec3c12ac2855eb57ff131d0b313d5e9d"
`;
exports[`GenerateOutput GIVEN options.json is true, EXPECT output to be returned as JSON 1`] = `"{"Archived":false,"Author":"author","Downs":0,"Hidden":false,"Permalink":"/r/Rabbits/comments/1dj8pbt/this_is_my_ms_bear/","Subreddit":"Rabbits","SubredditSubscribers":654751,"Title":"This is my Ms Bear!","Ups":17,"Url":"https://preview.redd.it/d5yno653zf7d1.jpg?width=640&crop=smart&auto=webp&s=5064d1caec3c12ac2855eb57ff131d0b313d5e9d"}"`;
exports[`GenerateOutput GIVEN options.json is true, EXPECT output to be returned as JSON 1`] = `"{"Archived":false,"Author":"author","Downs":0,"Hidden":false,"Permalink":"/r/Rabbits/comments/1dj8pbt/this_is_my_ms_bear/","Subreddit":"Rabbits","SubredditSubscribers":654751,"Title":"This is my Ms Bear!","Ups":17,"Url":"https://preview.redd.it/d5yno653zf7d1.jpg?width=640&crop=smart&auto=webp&s=5064d1caec3c12ac2855eb57ff131d0b313d5e9d","Gallery":["https://preview.redd.it/d5yno653zf7d1.jpg?width=640&crop=smart&auto=webp&s=5064d1caec3c12ac2855eb57ff131d0b313d5e9d"]}"`;
exports[`GenerateOutput GIVEN options.queryMetadata is supplied, EXPECT query metadata to be added 1`] = `
"Archived = false
@ -30,3 +30,17 @@ Query.Subreddit = rabbits
Query.Sort By = hot
Query.Limit = 100"
`;
exports[`GenerateOutput GIVEN the Gallery input has more than 1 item, EXPECT Gallery line to be added 1`] = `
"Archived = false
Author = author
Downvotes = 0
Gallery = https://preview.redd.it/d5yno653zf7d1.jpg?width=640&crop=smart&auto=webp&s=5064d1caec3c12ac2855eb57ff131d0b313d5e9d, https://preview.redd.it/d5yno653zf7d1.jpg?width=640&crop=smart&auto=webp&s=5064d1caec3c12ac2855eb57ff131d0b313d5e9d
Hidden = false
Permalink = /r/Rabbits/comments/1dj8pbt/this_is_my_ms_bear/
Subreddit = Rabbits
Subreddit Subscribers = 654751
Title = This is my Ms Bear!
Upvotes = 17
Url = https://preview.redd.it/d5yno653zf7d1.jpg?width=640&crop=smart&auto=webp&s=5064d1caec3c12ac2855eb57ff131d0b313d5e9d"
`;

View file

@ -17,18 +17,19 @@ describe("FetchImageFromRedditGallery", () => {
expect(fetchMock).toHaveBeenCalledTimes(1);
expect(fetchMock).toHaveBeenCalledWith("https://redd.it/gallery/image");
expect(result).toBe("https://preview.redd.it/image.png");
expect(result.length).toBe(1);
expect(result[0]).toBe("https://preview.redd.it/image.png");
});
test("GIVEN fetch is unable to return data, EXPECT undefined returned", async () => {
test("GIVEN fetch is unable to return data, EXPECT empty array returned", async () => {
fetchMock.mockResolvedValue(null);
const result = await ImageHelper.FetchImageFromRedditGallery("https://redd.it/gallery/image");
expect(result).toBeUndefined();
expect(result.length).toBe(0);
});
test("GIVEN fetch is an error, EXPECT undefined returned", async () => {
test("GIVEN fetch is an error, EXPECT empty array returned", async () => {
fetchMock.mockResolvedValue({
body: "<html><body><img src='https://preview.redd.it/image.png' /></body></html>",
errored: "Error",
@ -37,10 +38,10 @@ describe("FetchImageFromRedditGallery", () => {
const result = await ImageHelper.FetchImageFromRedditGallery("https://redd.it/gallery/image");
expect(result).toBeUndefined();
expect(result.length).toBe(0);
});
test("GIVEN fetch is not status code of 200, EXPECT undefined returned", async () => {
test("GIVEN fetch is not status code of 200, EXPECT empty array returned", async () => {
fetchMock.mockResolvedValue({
body: "<html><body><img src='https://preview.redd.it/image.png' /></body></html>",
errored: undefined,
@ -49,10 +50,10 @@ describe("FetchImageFromRedditGallery", () => {
const result = await ImageHelper.FetchImageFromRedditGallery("https://redd.it/gallery/image");
expect(result).toBeUndefined();
expect(result.length).toBe(0);
});
test("GIVEN image tag is not found, EXPECT undefined returned", async () => {
test("GIVEN image tag is not found, EXPECT empty array returned", async () => {
fetchMock.mockResolvedValue({
body: "<html><body></body></html>",
errored: undefined,
@ -61,10 +62,10 @@ describe("FetchImageFromRedditGallery", () => {
const result = await ImageHelper.FetchImageFromRedditGallery("https://redd.it/gallery/image");
expect(result).toBeUndefined();
expect(result.length).toBe(0);
});
test("GIVEN image source attribute is not found, EXPECT undefined returned", async () => {
test("GIVEN image source attribute is not found, EXPECT empty array returned", async () => {
fetchMock.mockResolvedValue({
body: "<html><body><img /></body></html>",
errored: undefined,
@ -73,10 +74,10 @@ describe("FetchImageFromRedditGallery", () => {
const result = await ImageHelper.FetchImageFromRedditGallery("https://redd.it/gallery/image");
expect(result).toBeUndefined();
expect(result.length).toBe(0);
});
test("GIVEN image source attribute is not found that is a preview.redd.it url, EXPECT undefined returned", async () => {
test("GIVEN image source attribute is not found that is a preview.redd.it url, EXPECT empty array returned", async () => {
fetchMock.mockResolvedValue({
body: "<html><body><img src='main.png' /></body></html>",
errored: undefined,
@ -85,6 +86,6 @@ describe("FetchImageFromRedditGallery", () => {
const result = await ImageHelper.FetchImageFromRedditGallery("https://redd.it/gallery/image");
expect(result).toBeUndefined();
expect(result.length).toBe(0);
});
});

View file

@ -23,6 +23,7 @@ describe("GenerateOutput", () => {
Title: "This is my Ms Bear!",
Ups: 17,
Url: "https://preview.redd.it/d5yno653zf7d1.jpg?width=640&crop=smart&auto=webp&s=5064d1caec3c12ac2855eb57ff131d0b313d5e9d",
Gallery: ["https://preview.redd.it/d5yno653zf7d1.jpg?width=640&crop=smart&auto=webp&s=5064d1caec3c12ac2855eb57ff131d0b313d5e9d"],
},
} as IReturnResult;
@ -55,6 +56,7 @@ describe("GenerateOutput", () => {
Title: "This is my Ms Bear!",
Ups: 17,
Url: "https://preview.redd.it/d5yno653zf7d1.jpg?width=640&crop=smart&auto=webp&s=5064d1caec3c12ac2855eb57ff131d0b313d5e9d",
Gallery: ["https://preview.redd.it/d5yno653zf7d1.jpg?width=640&crop=smart&auto=webp&s=5064d1caec3c12ac2855eb57ff131d0b313d5e9d"],
},
} as IReturnResult;
@ -89,6 +91,7 @@ describe("GenerateOutput", () => {
Title: "This is my Ms Bear!",
Ups: 17,
Url: "https://preview.redd.it/d5yno653zf7d1.jpg?width=640&crop=smart&auto=webp&s=5064d1caec3c12ac2855eb57ff131d0b313d5e9d",
Gallery: ["https://preview.redd.it/d5yno653zf7d1.jpg?width=640&crop=smart&auto=webp&s=5064d1caec3c12ac2855eb57ff131d0b313d5e9d"],
},
} as IReturnResult;
@ -102,4 +105,40 @@ describe("GenerateOutput", () => {
// Assert
expect(result).toMatchSnapshot();
});
test("GIVEN the Gallery input has more than 1 item, EXPECT Gallery line to be added", () => {
// Arrange
const response = {
IsSuccess: true,
Query: {
subreddit: "rabbits",
sortBy: "hot",
limit: 100,
},
Result: {
Archived: false,
Author: 'author',
Downs: 0,
Hidden: false,
Permalink: "/r/Rabbits/comments/1dj8pbt/this_is_my_ms_bear/",
Subreddit: "Rabbits",
SubredditSubscribers: 654751,
Title: "This is my Ms Bear!",
Ups: 17,
Url: "https://preview.redd.it/d5yno653zf7d1.jpg?width=640&crop=smart&auto=webp&s=5064d1caec3c12ac2855eb57ff131d0b313d5e9d",
Gallery: [
"https://preview.redd.it/d5yno653zf7d1.jpg?width=640&crop=smart&auto=webp&s=5064d1caec3c12ac2855eb57ff131d0b313d5e9d",
"https://preview.redd.it/d5yno653zf7d1.jpg?width=640&crop=smart&auto=webp&s=5064d1caec3c12ac2855eb57ff131d0b313d5e9d"
],
},
} as IReturnResult;
const options = {} as ICliOptions;
// Act
const result = OutputHelper.GenerateOutput(response, options);
// Assert
expect(result).toMatchSnapshot();
});
});

778
yarn.lock

File diff suppressed because it is too large Load diff