From fc5e7af714a0e7d18a1b20563af1571d584e18fb Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Mon, 11 Nov 2024 22:40:16 +1100
Subject: [PATCH] chore(deps): update typescript-eslint monorepo to v8 (major)
(#2791)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@typescript-eslint/eslint-plugin](https://typescript-eslint.io/packages/eslint-plugin)
([source](https://redirect.github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin))
| [`^7.18.0` ->
`^8.13.0`](https://renovatebot.com/diffs/npm/@typescript-eslint%2feslint-plugin/7.18.0/8.13.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@typescript-eslint%2feslint-plugin/8.13.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@typescript-eslint%2feslint-plugin/8.13.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@typescript-eslint%2feslint-plugin/7.18.0/8.13.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@typescript-eslint%2feslint-plugin/7.18.0/8.13.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[@typescript-eslint/parser](https://typescript-eslint.io/packages/parser)
([source](https://redirect.github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser))
| [`^7.18.0` ->
`^8.13.0`](https://renovatebot.com/diffs/npm/@typescript-eslint%2fparser/7.18.0/8.13.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@typescript-eslint%2fparser/8.13.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@typescript-eslint%2fparser/8.13.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@typescript-eslint%2fparser/7.18.0/8.13.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@typescript-eslint%2fparser/7.18.0/8.13.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
---
### Release Notes
typescript-eslint/typescript-eslint
(@typescript-eslint/eslint-plugin)
###
[`v8.13.0`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#8130-2024-11-04)
[Compare
Source](https://redirect.github.com/typescript-eslint/typescript-eslint/compare/v8.12.2...v8.13.0)
##### 🚀 Features
- **eslint-plugin:** \[only-throw-error] add allow option
([#10221](https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10221))
- **eslint-plugin:** \[prefer-nullish-coalescing] add option
`ignoreBooleanCoercion`
([#9924](https://redirect.github.com/typescript-eslint/typescript-eslint/pull/9924))
- **eslint-plugin:** disable `no-class-assign` rule in
`eslint-recommended` config
([#10250](https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10250))
##### 🩹 Fixes
- **eslint-plugin:** \[switch-exhaustiveness-check] add support for
covering a missing property with `undefined`
([#10232](https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10232))
- **eslint-plugin:** \[consistent-type-definitions] don't leave trailing
parens when fixing type to interface
([#10235](https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10235))
- **eslint-plugin:** \[no-deprecated] report when exported class
implements/extends deprecated entity
([#10259](https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10259))
- **eslint-plugin:** \[no-deprecated] report on deprecated variables
used inside dynamic imports
([#10261](https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10261))
- **eslint-plugin:** \[no-unnecessary-condition] falsey bigint should be
falsey
([#10205](https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10205))
##### ❤️ Thank You
- auvred [@auvred](https://redirect.github.com/auvred)
- Kim Sang Du
[@developer-bandi](https://redirect.github.com/developer-bandi)
- Kirk Waiblinger
[@kirkwaiblinger](https://redirect.github.com/kirkwaiblinger)
- Mark de Dios
[@peanutenthusiast](https://redirect.github.com/peanutenthusiast)
- Ronen Amiel
- YeonJuan [@yeonjuan](https://redirect.github.com/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.12.2`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#8122-2024-10-29)
[Compare
Source](https://redirect.github.com/typescript-eslint/typescript-eslint/compare/v8.12.1...v8.12.2)
##### 🩹 Fixes
- **eslint-plugin:** \[switch-exhaustiveness-check] invert
`considerDefaultExhaustiveForUnions`
([#10223](https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10223))
##### ❤️ Thank You
- Kirk Waiblinger
[@kirkwaiblinger](https://redirect.github.com/kirkwaiblinger)
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.12.1`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#8121-2024-10-28)
[Compare
Source](https://redirect.github.com/typescript-eslint/typescript-eslint/compare/v8.12.0...v8.12.1)
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.12.0`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#8120-2024-10-28)
[Compare
Source](https://redirect.github.com/typescript-eslint/typescript-eslint/compare/v8.11.0...v8.12.0)
##### 🚀 Features
- **eslint-plugin:** \[no-base-to-string] handle String()
([#10005](https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10005))
- **eslint-plugin:** \[switch-exhaustiveness-check] add
allowDefaultCaseMatchUnionMember option
([#9954](https://redirect.github.com/typescript-eslint/typescript-eslint/pull/9954))
- **eslint-plugin:** \[consistent-indexed-object-style] report mapped
types
([#10160](https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10160))
- **eslint-plugin:** \[prefer-nullish-coalescing] add support for
assignment expressions
([#10152](https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10152))
##### ❤️ Thank You
- Abraham Guo
- Kim Sang Du
[@developer-bandi](https://redirect.github.com/developer-bandi)
- Kirk Waiblinger
[@kirkwaiblinger](https://redirect.github.com/kirkwaiblinger)
- YeonJuan [@yeonjuan](https://redirect.github.com/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.11.0`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#8110-2024-10-21)
[Compare
Source](https://redirect.github.com/typescript-eslint/typescript-eslint/compare/v8.10.0...v8.11.0)
##### 🚀 Features
- **eslint-plugin:** \[no-unnecessary-type-parameters] add suggestion
fixer
([#10149](https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10149))
- **eslint-plugin:** \[no-base-to-string] add support for catching
toLocaleString
([#10138](https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10138))
##### 🩹 Fixes
- **eslint-plugin:** \[class-literal-property-style] don't report nodes
with `override` keyword
([#10135](https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10135))
##### ❤️ Thank You
- Kirk Waiblinger
[@kirkwaiblinger](https://redirect.github.com/kirkwaiblinger)
- Yukihiro Hasegawa [@y-hsgw](https://redirect.github.com/y-hsgw)
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.10.0`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#8100-2024-10-17)
[Compare
Source](https://redirect.github.com/typescript-eslint/typescript-eslint/compare/v8.9.0...v8.10.0)
##### 🚀 Features
- support TypeScript 5.6
([#9972](https://redirect.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://redirect.github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#890-2024-10-14)
[Compare
Source](https://redirect.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://redirect.github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#881-2024-10-07)
[Compare
Source](https://redirect.github.com/typescript-eslint/typescript-eslint/compare/v8.8.0...v8.8.1)
##### 🩹 Fixes
- **eslint-plugin:** stop warning on
[@ts-nocheck](https://redirect.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://redirect.github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#880-2024-09-30)
[Compare
Source](https://redirect.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://redirect.github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#870-2024-09-23)
[Compare
Source](https://redirect.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://redirect.github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#860-2024-09-16)
[Compare
Source](https://redirect.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://redirect.github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#850-2024-09-09)
[Compare
Source](https://redirect.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://redirect.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://redirect.github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#840-2024-09-02)
[Compare
Source](https://redirect.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://redirect.github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#830-2024-08-26)
[Compare
Source](https://redirect.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://redirect.github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#820-2024-08-19)
[Compare
Source](https://redirect.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\ 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://redirect.github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#810-2024-08-12)
[Compare
Source](https://redirect.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://redirect.github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#801-2024-08-05)
[Compare
Source](https://redirect.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://redirect.github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#800-2024-07-31)
[Compare
Source](https://redirect.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
[@eslint-community/regexpp](https://redirect.github.com/eslint-community/regexpp)
to v4.11.0
- **eslint-plugin:** \[no-floating-promises] add `suggestions` to tests
from
[#9263](https://redirect.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` 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.
typescript-eslint/typescript-eslint
(@typescript-eslint/parser)
###
[`v8.13.0`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#8130-2024-11-04)
[Compare
Source](https://redirect.github.com/typescript-eslint/typescript-eslint/compare/v8.12.2...v8.13.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.12.2`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#8122-2024-10-29)
[Compare
Source](https://redirect.github.com/typescript-eslint/typescript-eslint/compare/v8.12.1...v8.12.2)
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.12.1`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#8121-2024-10-28)
[Compare
Source](https://redirect.github.com/typescript-eslint/typescript-eslint/compare/v8.12.0...v8.12.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.12.0`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#8120-2024-10-28)
[Compare
Source](https://redirect.github.com/typescript-eslint/typescript-eslint/compare/v8.11.0...v8.12.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.11.0`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#8110-2024-10-21)
[Compare
Source](https://redirect.github.com/typescript-eslint/typescript-eslint/compare/v8.10.0...v8.11.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.10.0`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#8100-2024-10-17)
[Compare
Source](https://redirect.github.com/typescript-eslint/typescript-eslint/compare/v8.9.0...v8.10.0)
##### 🚀 Features
- support TypeScript 5.6
([#9972](https://redirect.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://redirect.github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#890-2024-10-14)
[Compare
Source](https://redirect.github.com/typescript-eslint/typescript-eslint/compare/v8.8.1...v8.9.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.8.1`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#881-2024-10-07)
[Compare
Source](https://redirect.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://redirect.github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#880-2024-09-30)
[Compare
Source](https://redirect.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://redirect.github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#870-2024-09-23)
[Compare
Source](https://redirect.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://redirect.github.com/typescript-eslint/typescript-eslint/compare/v8.5.0...343710e0b68868836ae01c0271472adcea4f1676)
[Compare
Source](https://redirect.github.com/typescript-eslint/typescript-eslint/compare/v8.5.0...v8.6.0)
###
[`v8.5.0`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#850-2024-09-09)
[Compare
Source](https://redirect.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://redirect.github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#840-2024-09-02)
[Compare
Source](https://redirect.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://redirect.github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#830-2024-08-26)
[Compare
Source](https://redirect.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://redirect.github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#820-2024-08-19)
[Compare
Source](https://redirect.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://redirect.github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#810-2024-08-12)
[Compare
Source](https://redirect.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://redirect.github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#801-2024-08-05)
[Compare
Source](https://redirect.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://redirect.github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#800-2024-07-31)
[Compare
Source](https://redirect.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
[@eslint-community/regexpp](https://redirect.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/release
---
### 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**: Never, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about these
updates again.
---
- [ ] If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/fwouts/previewjs).
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: François Wouts
---
chromeless/src/preview.ts | 2 +-
core/src/crawl-files.ts | 2 +-
core/src/vite/vite-manager.ts | 2 +-
daemon/src/client.ts | 2 +-
daemon/src/index.ts | 2 +-
framework-plugins/vue2/src/vue-reader.ts | 2 +-
integrations/vscode/src/index.ts | 2 +-
integrations/vscode/src/start-daemon.ts | 4 +-
loader/src/worker.ts | 2 +-
package.json | 4 +-
pnpm-lock.yaml | 141 ++++++++++-------------
serializable-values/src/parser.spec.ts | 2 +-
serializable-values/src/parser.ts | 1 -
13 files changed, 77 insertions(+), 91 deletions(-)
diff --git a/chromeless/src/preview.ts b/chromeless/src/preview.ts
index 0fae1170757..6b8f82ae335 100644
--- a/chromeless/src/preview.ts
+++ b/chromeless/src/preview.ts
@@ -190,7 +190,7 @@ async function waitUntilNetworkIdle(page: playwright.Page) {
await page.waitForLoadState("networkidle");
try {
await (await getPreviewIframe(page)).waitForLoadState("networkidle");
- } catch (e) {
+ } catch {
// It's OK for the iframe to be replaced by another one, in which case wait again.
await (await getPreviewIframe(page)).waitForLoadState("networkidle");
}
diff --git a/core/src/crawl-files.ts b/core/src/crawl-files.ts
index f5dd98301a5..5157dc5e688 100644
--- a/core/src/crawl-files.ts
+++ b/core/src/crawl-files.ts
@@ -75,7 +75,7 @@ export function crawlFiles(
existingCache = JSON.parse(
fs.readFileSync(cacheFilePath, "utf8")
) as CachedPreviewables;
- } catch (e) {
+ } catch {
logger.warn(`Unable to parse JSON from cache at ${cacheFilePath}`);
}
}
diff --git a/core/src/vite/vite-manager.ts b/core/src/vite/vite-manager.ts
index b3fc2528587..c8286128f02 100644
--- a/core/src/vite/vite-manager.ts
+++ b/core/src/vite/vite-manager.ts
@@ -530,7 +530,7 @@ export class ViteManager {
}
const source = typeof loaded === "object" ? loaded.code : loaded;
await viteServer.pluginContainer.transform(source, module.id);
- } catch (e) {
+ } catch {
// We know it will fail.
return;
}
diff --git a/daemon/src/client.ts b/daemon/src/client.ts
index 39046f7cdc5..aa862c0d5ab 100644
--- a/daemon/src/client.ts
+++ b/daemon/src/client.ts
@@ -46,7 +46,7 @@ export function createClient(baseUrl: string): Client {
try {
const response = JSON.parse(responseData);
resolve(response);
- } catch (e) {
+ } catch {
reject(
new Error(`Request to ${path} failed:\n${responseData}`)
);
diff --git a/daemon/src/index.ts b/daemon/src/index.ts
index 95b0c23d776..d01367d4da3 100644
--- a/daemon/src/index.ts
+++ b/daemon/src/index.ts
@@ -71,7 +71,7 @@ export async function startDaemon({
try {
process.kill(parentProcessId, 0);
// Parent process is still alive, see https://stackoverflow.com/a/21296291.
- } catch (e) {
+ } catch {
process.stdout.write(
`[exit] Parent process with PID ${parentProcessId} exited. Daemon exiting.\n`
);
diff --git a/framework-plugins/vue2/src/vue-reader.ts b/framework-plugins/vue2/src/vue-reader.ts
index 7c0d8666026..9d01afb88a2 100644
--- a/framework-plugins/vue2/src/vue-reader.ts
+++ b/framework-plugins/vue2/src/vue-reader.ts
@@ -273,7 +273,7 @@ type PJS_Slots = ${pjsSlotsType};
const slotNameDoubleQuoted = element.slotName || '"default"';
try {
return [JSON.parse(slotNameDoubleQuoted)];
- } catch (e) {
+ } catch {
this.logger.warn(`Invalid slot name string: ${slotNameDoubleQuoted}`);
return [];
}
diff --git a/integrations/vscode/src/index.ts b/integrations/vscode/src/index.ts
index a817e4719a9..b1fd11df1f8 100644
--- a/integrations/vscode/src/index.ts
+++ b/integrations/vscode/src/index.ts
@@ -81,7 +81,7 @@ export async function activate({ subscriptions }: vscode.ExtensionContext) {
}
// Note: ESlint warning isn't relevant because we're correctly inferring arguments types.
- // eslint-disable-next-line @typescript-eslint/ban-types
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-function-type
function catchErrors(f: F) {
return async (...args: F extends (...args: infer A) => any ? A : never) => {
try {
diff --git a/integrations/vscode/src/start-daemon.ts b/integrations/vscode/src/start-daemon.ts
index 535fdb41527..14eff5ee474 100644
--- a/integrations/vscode/src/start-daemon.ts
+++ b/integrations/vscode/src/start-daemon.ts
@@ -116,7 +116,7 @@ function streamDaemonLogs(
try {
const time = Date.now();
utimesSync(logsPath, time, time);
- } catch (e) {
+ } catch {
let fd = openSync(logsPath, "a");
closeSync(fd);
}
@@ -175,7 +175,7 @@ function streamDaemonLogs(
resolve(watcher);
resolved = true;
}
- } catch (e: any) {
+ } catch {
// Fine, ignore. It just means log streaming is broken.
}
};
diff --git a/loader/src/worker.ts b/loader/src/worker.ts
index 7e1e8eaf3d8..086798b0e7d 100644
--- a/loader/src/worker.ts
+++ b/loader/src/worker.ts
@@ -155,7 +155,7 @@ setInterval(() => {
try {
process.kill(parentProcessId, 0);
// Parent process is still alive, see https://stackoverflow.com/a/21296291.
- } catch (e) {
+ } catch {
process.exit(0);
}
}, 1000);
diff --git a/package.json b/package.json
index d52d8d9d653..6a986663f97 100644
--- a/package.json
+++ b/package.json
@@ -32,8 +32,8 @@
"@types/inquirer": "^9.0.7",
"@types/license-checker": "^25.0.6",
"@types/node": "^20.17.6",
- "@typescript-eslint/eslint-plugin": "^7.18.0",
- "@typescript-eslint/parser": "^7.18.0",
+ "@typescript-eslint/eslint-plugin": "^8.13.0",
+ "@typescript-eslint/parser": "^8.13.0",
"assert-never": "^1.3.0",
"depcheck": "^1.4.7",
"eslint": "^9.14.0",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index f0081b75565..d8464e5ac50 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -26,11 +26,11 @@ importers:
specifier: ^20.17.6
version: 20.17.6
'@typescript-eslint/eslint-plugin':
- specifier: ^7.18.0
- version: 7.18.0(@typescript-eslint/parser@7.18.0(eslint@9.14.0(jiti@2.3.3))(typescript@5.6.3))(eslint@9.14.0(jiti@2.3.3))(typescript@5.6.3)
+ specifier: ^8.13.0
+ version: 8.13.0(@typescript-eslint/parser@8.13.0(eslint@9.14.0(jiti@2.3.3))(typescript@5.6.3))(eslint@9.14.0(jiti@2.3.3))(typescript@5.6.3)
'@typescript-eslint/parser':
- specifier: ^7.18.0
- version: 7.18.0(eslint@9.14.0(jiti@2.3.3))(typescript@5.6.3)
+ specifier: ^8.13.0
+ version: 8.13.0(eslint@9.14.0(jiti@2.3.3))(typescript@5.6.3)
assert-never:
specifier: ^1.3.0
version: 1.3.0
@@ -5907,14 +5907,6 @@ packages:
peerDependencies:
eslint: ^6.0.0 || ^7.0.0 || >=8.0.0
- '@eslint-community/regexpp@4.10.0':
- resolution: {integrity: sha512-Cu96Sd2By9mCNTx2iyKOmq10v22jUVQv0lQnlGNy16oE9589yE+QADPbrMGCkA51cKZSg3Pu/aTJVTGfL/qjUA==}
- engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0}
-
- '@eslint-community/regexpp@4.11.1':
- resolution: {integrity: sha512-m4DVN9ZqskZoLU5GlWZadwDnYo3vAEydiUayB9widCl9ffWx2IvPnp6n3on5rJmziJSw9Bv+Z3ChDVdMwXCY8Q==}
- engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0}
-
'@eslint-community/regexpp@4.12.1':
resolution: {integrity: sha512-CCZCDJuduB9OUkFkY2IgppNZMi2lBQgD2qzwXkEia16cge2pijY/aXi96CJMquDMn3nJdlPV1A5KrJEXwfLNzQ==}
engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0}
@@ -9071,12 +9063,12 @@ packages:
typescript:
optional: true
- '@typescript-eslint/eslint-plugin@7.18.0':
- resolution: {integrity: sha512-94EQTWZ40mzBc42ATNIBimBEDltSJ9RQHCC8vc/PDbxi4k8dVwUAv4o98dk50M1zB+JGFxp43FP7f8+FP8R6Sw==}
- engines: {node: ^18.18.0 || >=20.0.0}
+ '@typescript-eslint/eslint-plugin@8.13.0':
+ resolution: {integrity: sha512-nQtBLiZYMUPkclSeC3id+x4uVd1SGtHuElTxL++SfP47jR0zfkZBJHc+gL4qPsgTuypz0k8Y2GheaDYn6Gy3rg==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
- '@typescript-eslint/parser': ^7.0.0
- eslint: ^8.56.0
+ '@typescript-eslint/parser': ^8.0.0 || ^8.0.0-alpha.0
+ eslint: ^8.57.0 || ^9.0.0
typescript: '*'
peerDependenciesMeta:
typescript:
@@ -9098,11 +9090,11 @@ packages:
typescript:
optional: true
- '@typescript-eslint/parser@7.18.0':
- resolution: {integrity: sha512-4Z+L8I2OqhZV8qA132M4wNL30ypZGYOQVBfMgxDH/K5UX0PNqTu1c6za9ST5r9+tavvHiTWmBnKzpCJ/GlVFtg==}
- engines: {node: ^18.18.0 || >=20.0.0}
+ '@typescript-eslint/parser@8.13.0':
+ resolution: {integrity: sha512-w0xp+xGg8u/nONcGw1UXAr6cjCPU1w0XVyBs6Zqaj5eLmxkKQAByTdV/uGgNN5tVvN/kKpoQlP2cL7R+ajZZIQ==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
- eslint: ^8.56.0
+ eslint: ^8.57.0 || ^9.0.0
typescript: '*'
peerDependenciesMeta:
typescript:
@@ -9116,9 +9108,9 @@ packages:
resolution: {integrity: sha512-W8VoMjoSg7f7nqAROEmTt6LoBpn81AegP7uKhhW5KzYlehs8VV0ZW0fIDVbcZRcaP3aPSW+JZFua+ysQN+m/Nw==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
- '@typescript-eslint/scope-manager@7.18.0':
- resolution: {integrity: sha512-jjhdIE/FPF2B7Z1uzc6i3oWKbGcHb87Qw7AWj6jmEqNOfDFbJWtjt/XfwCpvNkpGWlcJaog5vTR+VV8+w9JflA==}
- engines: {node: ^18.18.0 || >=20.0.0}
+ '@typescript-eslint/scope-manager@8.13.0':
+ resolution: {integrity: sha512-XsGWww0odcUT0gJoBZ1DeulY1+jkaHUciUq4jKNv4cpInbvvrtDoyBH9rE/n2V29wQJPk8iCH1wipra9BhmiMA==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
'@typescript-eslint/type-utils@5.61.0':
resolution: {integrity: sha512-kk8u//r+oVK2Aj3ph/26XdH0pbAkC2RiSjUYhKD+PExemG4XSjpGFeyZ/QM8lBOa7O8aGOU+/yEbMJgQv/DnCg==}
@@ -9130,11 +9122,10 @@ packages:
typescript:
optional: true
- '@typescript-eslint/type-utils@7.18.0':
- resolution: {integrity: sha512-XL0FJXuCLaDuX2sYqZUUSOJ2sG5/i1AAze+axqmLnSkNEVMVYLF+cbwlB2w8D1tinFuSikHmFta+P+HOofrLeA==}
- engines: {node: ^18.18.0 || >=20.0.0}
+ '@typescript-eslint/type-utils@8.13.0':
+ resolution: {integrity: sha512-Rqnn6xXTR316fP4D2pohZenJnp+NwQ1mo7/JM+J1LWZENSLkJI8ID8QNtlvFeb0HnFSK94D6q0cnMX6SbE5/vA==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
- eslint: ^8.56.0
typescript: '*'
peerDependenciesMeta:
typescript:
@@ -9148,9 +9139,9 @@ packages:
resolution: {integrity: sha512-ldyueo58KjngXpzloHUog/h9REmHl59G1b3a5Sng1GfBo14BkS3ZbMEb3693gnP1k//97lh7bKsp6/V/0v1veQ==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
- '@typescript-eslint/types@7.18.0':
- resolution: {integrity: sha512-iZqi+Ds1y4EDYUtlOOC+aUmxnE9xS/yCigkjA7XpTKV6nCBd3Hp/PRGGmdwnfkV2ThMyYldP1wRpm/id99spTQ==}
- engines: {node: ^18.18.0 || >=20.0.0}
+ '@typescript-eslint/types@8.13.0':
+ resolution: {integrity: sha512-4cyFErJetFLckcThRUFdReWJjVsPCqyBlJTi6IDEpc1GWCIIZRFxVppjWLIMcQhNGhdWJJRYFHpHoDWvMlDzng==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
'@typescript-eslint/typescript-estree@5.54.1':
resolution: {integrity: sha512-bjK5t+S6ffHnVwA0qRPTZrxKSaFYocwFIkZx5k7pvWfsB1I57pO/0M0Skatzzw1sCkjJ83AfGTL0oFIFiDX3bg==}
@@ -9170,9 +9161,9 @@ packages:
typescript:
optional: true
- '@typescript-eslint/typescript-estree@7.18.0':
- resolution: {integrity: sha512-aP1v/BSPnnyhMHts8cf1qQ6Q1IFwwRvAQGRvBFkWlo3/lH29OXA3Pts+c10nxRxIBrDnoMqzhgdwVe5f2D6OzA==}
- engines: {node: ^18.18.0 || >=20.0.0}
+ '@typescript-eslint/typescript-estree@8.13.0':
+ resolution: {integrity: sha512-v7SCIGmVsRK2Cy/LTLGN22uea6SaUIlpBcO/gnMGT/7zPtxp90bphcGf4fyrCQl3ZtiBKqVTG32hb668oIYy1g==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
typescript: '*'
peerDependenciesMeta:
@@ -9191,11 +9182,11 @@ packages:
peerDependencies:
eslint: ^6.0.0 || ^7.0.0 || ^8.0.0
- '@typescript-eslint/utils@7.18.0':
- resolution: {integrity: sha512-kK0/rNa2j74XuHVcoCZxdFBMF+aq/vH83CXAOHieC+2Gis4mF8jJXT5eAfyD3K0sAxtPuwxaIOIOvhwzVDt/kw==}
- engines: {node: ^18.18.0 || >=20.0.0}
+ '@typescript-eslint/utils@8.13.0':
+ resolution: {integrity: sha512-A1EeYOND6Uv250nybnLZapeXpYMl8tkzYUxqmoKAWnI4sei3ihf2XdZVd+vVOmHGcp3t+P7yRrNsyyiXTvShFQ==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
- eslint: ^8.56.0
+ eslint: ^8.57.0 || ^9.0.0
'@typescript-eslint/visitor-keys@5.54.1':
resolution: {integrity: sha512-q8iSoHTgwCfgcRJ2l2x+xCbu8nBlRAlsQ33k24Adj8eoVBE0f8dUeI+bAa8F84Mv05UGbAx57g2zrRsYIooqQg==}
@@ -9205,9 +9196,9 @@ packages:
resolution: {integrity: sha512-50XQ5VdbWrX06mQXhy93WywSFZZGsv3EOjq+lqp6WC2t+j3mb6A9xYVdrRxafvK88vg9k9u+CT4l6D8PEatjKg==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
- '@typescript-eslint/visitor-keys@7.18.0':
- resolution: {integrity: sha512-cDF0/Gf81QpY3xYyJKDV14Zwdmid5+uuENhjH2EqFaF0ni+yAyq/LzMaIJdhNJXZI7uLzwIlA+V7oWoyn6Curg==}
- engines: {node: ^18.18.0 || >=20.0.0}
+ '@typescript-eslint/visitor-keys@8.13.0':
+ resolution: {integrity: sha512-7N/+lztJqH4Mrf0lb10R/CbI1EaAMMGyF5y0oJvFoAhafwgiRA7TXyd8TFn8FC8k5y2dTsYogg238qavRGNnlw==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
'@unhead/dom@1.1.25':
resolution: {integrity: sha512-kJ5jhJFNQCyNENSw+mtmzgulA0kqUuXS3SRPl1umpofc8PH8tblSzXwqStxTj9r6E4wxJbEuygT/aHFJVioizw==}
@@ -28438,10 +28429,6 @@ snapshots:
eslint: 9.14.0(jiti@2.3.3)
eslint-visitor-keys: 3.4.3
- '@eslint-community/regexpp@4.10.0': {}
-
- '@eslint-community/regexpp@4.11.1': {}
-
'@eslint-community/regexpp@4.12.1': {}
'@eslint/config-array@0.18.0':
@@ -35671,7 +35658,7 @@ snapshots:
'@typescript-eslint/eslint-plugin@5.61.0(@typescript-eslint/parser@5.61.0(eslint@9.14.0(jiti@2.3.3))(typescript@4.9.5))(eslint@9.14.0(jiti@2.3.3))(typescript@4.9.5)':
dependencies:
- '@eslint-community/regexpp': 4.11.1
+ '@eslint-community/regexpp': 4.12.1
'@typescript-eslint/parser': 5.61.0(eslint@9.14.0(jiti@2.3.3))(typescript@4.9.5)
'@typescript-eslint/scope-manager': 5.61.0
'@typescript-eslint/type-utils': 5.61.0(eslint@9.14.0(jiti@2.3.3))(typescript@4.9.5)
@@ -35690,7 +35677,7 @@ snapshots:
'@typescript-eslint/eslint-plugin@5.61.0(@typescript-eslint/parser@5.61.0(eslint@9.14.0(jiti@2.3.3))(typescript@5.6.3))(eslint@9.14.0(jiti@2.3.3))(typescript@5.6.3)':
dependencies:
- '@eslint-community/regexpp': 4.11.1
+ '@eslint-community/regexpp': 4.12.1
'@typescript-eslint/parser': 5.61.0(eslint@9.14.0(jiti@2.3.3))(typescript@5.6.3)
'@typescript-eslint/scope-manager': 5.61.0
'@typescript-eslint/type-utils': 5.61.0(eslint@9.14.0(jiti@2.3.3))(typescript@5.6.3)
@@ -35707,14 +35694,14 @@ snapshots:
transitivePeerDependencies:
- supports-color
- '@typescript-eslint/eslint-plugin@7.18.0(@typescript-eslint/parser@7.18.0(eslint@9.14.0(jiti@2.3.3))(typescript@5.6.3))(eslint@9.14.0(jiti@2.3.3))(typescript@5.6.3)':
+ '@typescript-eslint/eslint-plugin@8.13.0(@typescript-eslint/parser@8.13.0(eslint@9.14.0(jiti@2.3.3))(typescript@5.6.3))(eslint@9.14.0(jiti@2.3.3))(typescript@5.6.3)':
dependencies:
- '@eslint-community/regexpp': 4.10.0
- '@typescript-eslint/parser': 7.18.0(eslint@9.14.0(jiti@2.3.3))(typescript@5.6.3)
- '@typescript-eslint/scope-manager': 7.18.0
- '@typescript-eslint/type-utils': 7.18.0(eslint@9.14.0(jiti@2.3.3))(typescript@5.6.3)
- '@typescript-eslint/utils': 7.18.0(eslint@9.14.0(jiti@2.3.3))(typescript@5.6.3)
- '@typescript-eslint/visitor-keys': 7.18.0
+ '@eslint-community/regexpp': 4.12.1
+ '@typescript-eslint/parser': 8.13.0(eslint@9.14.0(jiti@2.3.3))(typescript@5.6.3)
+ '@typescript-eslint/scope-manager': 8.13.0
+ '@typescript-eslint/type-utils': 8.13.0(eslint@9.14.0(jiti@2.3.3))(typescript@5.6.3)
+ '@typescript-eslint/utils': 8.13.0(eslint@9.14.0(jiti@2.3.3))(typescript@5.6.3)
+ '@typescript-eslint/visitor-keys': 8.13.0
eslint: 9.14.0(jiti@2.3.3)
graphemer: 1.4.0
ignore: 5.3.2
@@ -35765,12 +35752,12 @@ snapshots:
transitivePeerDependencies:
- supports-color
- '@typescript-eslint/parser@7.18.0(eslint@9.14.0(jiti@2.3.3))(typescript@5.6.3)':
+ '@typescript-eslint/parser@8.13.0(eslint@9.14.0(jiti@2.3.3))(typescript@5.6.3)':
dependencies:
- '@typescript-eslint/scope-manager': 7.18.0
- '@typescript-eslint/types': 7.18.0
- '@typescript-eslint/typescript-estree': 7.18.0(typescript@5.6.3)
- '@typescript-eslint/visitor-keys': 7.18.0
+ '@typescript-eslint/scope-manager': 8.13.0
+ '@typescript-eslint/types': 8.13.0
+ '@typescript-eslint/typescript-estree': 8.13.0(typescript@5.6.3)
+ '@typescript-eslint/visitor-keys': 8.13.0
debug: 4.3.7(supports-color@5.5.0)
eslint: 9.14.0(jiti@2.3.3)
optionalDependencies:
@@ -35788,10 +35775,10 @@ snapshots:
'@typescript-eslint/types': 5.61.0
'@typescript-eslint/visitor-keys': 5.61.0
- '@typescript-eslint/scope-manager@7.18.0':
+ '@typescript-eslint/scope-manager@8.13.0':
dependencies:
- '@typescript-eslint/types': 7.18.0
- '@typescript-eslint/visitor-keys': 7.18.0
+ '@typescript-eslint/types': 8.13.0
+ '@typescript-eslint/visitor-keys': 8.13.0
'@typescript-eslint/type-utils@5.61.0(eslint@9.14.0(jiti@2.3.3))(typescript@4.9.5)':
dependencies:
@@ -35817,23 +35804,23 @@ snapshots:
transitivePeerDependencies:
- supports-color
- '@typescript-eslint/type-utils@7.18.0(eslint@9.14.0(jiti@2.3.3))(typescript@5.6.3)':
+ '@typescript-eslint/type-utils@8.13.0(eslint@9.14.0(jiti@2.3.3))(typescript@5.6.3)':
dependencies:
- '@typescript-eslint/typescript-estree': 7.18.0(typescript@5.6.3)
- '@typescript-eslint/utils': 7.18.0(eslint@9.14.0(jiti@2.3.3))(typescript@5.6.3)
+ '@typescript-eslint/typescript-estree': 8.13.0(typescript@5.6.3)
+ '@typescript-eslint/utils': 8.13.0(eslint@9.14.0(jiti@2.3.3))(typescript@5.6.3)
debug: 4.3.7(supports-color@5.5.0)
- eslint: 9.14.0(jiti@2.3.3)
ts-api-utils: 1.3.0(typescript@5.6.3)
optionalDependencies:
typescript: 5.6.3
transitivePeerDependencies:
+ - eslint
- supports-color
'@typescript-eslint/types@5.54.1': {}
'@typescript-eslint/types@5.61.0': {}
- '@typescript-eslint/types@7.18.0': {}
+ '@typescript-eslint/types@8.13.0': {}
'@typescript-eslint/typescript-estree@5.54.1(typescript@4.9.5)':
dependencies:
@@ -35891,12 +35878,12 @@ snapshots:
transitivePeerDependencies:
- supports-color
- '@typescript-eslint/typescript-estree@7.18.0(typescript@5.6.3)':
+ '@typescript-eslint/typescript-estree@8.13.0(typescript@5.6.3)':
dependencies:
- '@typescript-eslint/types': 7.18.0
- '@typescript-eslint/visitor-keys': 7.18.0
+ '@typescript-eslint/types': 8.13.0
+ '@typescript-eslint/visitor-keys': 8.13.0
debug: 4.3.7(supports-color@5.5.0)
- globby: 11.1.0
+ fast-glob: 3.3.2
is-glob: 4.0.3
minimatch: 9.0.4
semver: 7.6.3
@@ -35966,12 +35953,12 @@ snapshots:
- supports-color
- typescript
- '@typescript-eslint/utils@7.18.0(eslint@9.14.0(jiti@2.3.3))(typescript@5.6.3)':
+ '@typescript-eslint/utils@8.13.0(eslint@9.14.0(jiti@2.3.3))(typescript@5.6.3)':
dependencies:
'@eslint-community/eslint-utils': 4.4.0(eslint@9.14.0(jiti@2.3.3))
- '@typescript-eslint/scope-manager': 7.18.0
- '@typescript-eslint/types': 7.18.0
- '@typescript-eslint/typescript-estree': 7.18.0(typescript@5.6.3)
+ '@typescript-eslint/scope-manager': 8.13.0
+ '@typescript-eslint/types': 8.13.0
+ '@typescript-eslint/typescript-estree': 8.13.0(typescript@5.6.3)
eslint: 9.14.0(jiti@2.3.3)
transitivePeerDependencies:
- supports-color
@@ -35987,9 +35974,9 @@ snapshots:
'@typescript-eslint/types': 5.61.0
eslint-visitor-keys: 3.4.3
- '@typescript-eslint/visitor-keys@7.18.0':
+ '@typescript-eslint/visitor-keys@8.13.0':
dependencies:
- '@typescript-eslint/types': 7.18.0
+ '@typescript-eslint/types': 8.13.0
eslint-visitor-keys: 3.4.3
'@unhead/dom@1.1.25':
diff --git a/serializable-values/src/parser.spec.ts b/serializable-values/src/parser.spec.ts
index 4e9f29279d2..622be5a9f6d 100644
--- a/serializable-values/src/parser.spec.ts
+++ b/serializable-values/src/parser.spec.ts
@@ -395,7 +395,7 @@ function expectParsedExpression(expressionSource: string, reversible = true) {
);
try {
expect(parsedValue).toEqual(reparsedValue);
- } catch (e) {
+ } catch {
throw new AssertionError({
actual: [regeneratedSource, reparsedValue],
expected: [expressionSource, parsedValue],
diff --git a/serializable-values/src/parser.ts b/serializable-values/src/parser.ts
index 152122feae3..8163fceaf6d 100644
--- a/serializable-values/src/parser.ts
+++ b/serializable-values/src/parser.ts
@@ -201,7 +201,6 @@ export function parseSerializableValue(
if (ts.isObjectLiteralExpression(expression)) {
const entries: SerializableObjectValueEntry[] = [];
for (const property of expression.properties) {
- property;
if (ts.isShorthandPropertyAssignment(property)) {
entries.push({
kind: "key",