Обновление @typescript-eslint/types с 7.x до 8.x
Сравнение публичного API @typescript-eslint/types 7.18.0 и 8.71.0, вычисленное автоматически по их типам TypeScript. Изменённая сигнатура — возможное несовместимое изменение, а не гарантия.
Сводка
| Удалённые пути импорта | 0 |
|---|---|
| Удалённые экспорты | 0 |
| Изменённые сигнатуры | 3 |
| Удалённые члены классов или интерфейсов | 4 |
| Изменённые члены классов или интерфейсов | 0 |
| Новые устаревания | 1 |
| Изменения требований (engines, peer-зависимости) | 1 |
| Новые экспорты | 3 |
Удалённые экспорты
Не обнаружено.
Изменённые сигнатуры
| export | Было | Стало |
|---|---|---|
@typescript-eslint/types · Lib | "es5" | "es6" | "es2015" | "es7" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "es2021" | "es2022" | "es2023" | "esnext" | "dom" | "dom.iterable" | "dom.asynciterable" | "webworker" | "webworker.importscripts" | "webworker.iterable" | "webworker.asynciterable" | "scripthost" | "es2015.core" | "es2015.collection" | "es2015.generator" | "es2015.iterable" | "es2015.promise" | "es2015.proxy" | "es2015.reflect" | "es2015.symbol" | "es2015.symbol.wellknown" | "es2016.array.include" | "es2016.intl" | "es2017.date" | "es2017.object" | "es2017.sharedmemory" | "es2017.string" | "es2017.intl" … | "decorators" | "decorators.legacy" | "dom" | "dom.asynciterable" | "dom.iterable" | "es5" | "es6" | "es7" | "es2015" | "es2015.collection" | "es2015.core" | "es2015.generator" | "es2015.iterable" | "es2015.promise" | "es2015.proxy" | "es2015.reflect" | "es2015.symbol" | "es2015.symbol.wellknown" | "es2016" | "es2016.array.include" | "es2016.full" | "es2016.intl" | "es2017" | "es2017.arraybuffer" | "es2017.date" | "es2017.full" | "es2017.intl" | "es2017.object" | "es2017.sharedmemory" | "es2017.string" | "es2017.typedarrays" | "es2018" | "es2018.asyncgenerator" | "es2018.asynciterable" | "es201… |
@typescript-eslint/types · DebugLevel | boolean | ("eslint" | "typescript-eslint" | "typescript")[] | boolean | ("eslint" | "typescript" | "typescript-eslint")[] |
@typescript-eslint/types · EcmaVersion | 3 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 2015 | 2016 | 2017 | 2018 | 2019 | 2020 | 2021 | 2022 | 2023 | 2024 | 2025 | "latest" | undefined | 3 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 2015 | 2016 | 2017 | 2018 | 2019 | 2020 | 2021 | 2022 | 2023 | 2024 | 2025 | 2026 | "latest" | undefined |
Удалённые члены классов или интерфейсов
| member | import | Было |
|---|---|---|
ParserOptions.loc | @typescript-eslint/types | boolean | undefined |
ParserOptions.comment | @typescript-eslint/types | boolean | undefined |
ParserOptions.EXPERIMENTAL_useProjectService | @typescript-eslint/types | boolean | undefined |
ParserOptions.EXPERIMENTAL_useSourceOfProjectReferenceRedirect | @typescript-eslint/types | boolean | undefined |
Изменённые члены классов или интерфейсов
Не обнаружено.
Новые устаревания
| export | @deprecated |
|---|---|
@typescript-eslint/types · ParserOptions.warnOnUnsupportedTypeScriptVersion | Use {@link onUnsupportedTypeScriptVersion} instead. `true` is equivalent to `'warn'` and `false` is equivalent to `'ignore'`. |
Изменения требований (engines, peer-зависимости)
| Было | Стало | |
|---|---|---|
engines.node | ^18.18.0 || >=20.0.0 | ^18.18.0 || ^20.9.0 || >=21.1.0 |
Новые экспорты (3)
| import | export | kind |
|---|---|---|
@typescript-eslint/types | NodeWithParent | type |
@typescript-eslint/types | SourceTypeClassic | type |
@typescript-eslint/types | ProjectServiceOptions | interface |
Часто задаваемые вопросы
Какие несовместимые изменения при обновлении @typescript-eslint/types с 7 до 8?
Между @typescript-eslint/types 7.18.0 и 8.71.0 Vigia нашла удалённых экспортов: 0, изменённых сигнатур: 3, удалённых или изменённых членов классов и интерфейсов: 4.
Что устарело в @typescript-eslint/types 8?
В @typescript-eslint/types 8.71.0 новыми устаревшими помечено экспортов или членов: 1.
Для агентов
GET https://vigia.coredls.cloud/v1/packages/npm/@typescript-eslint/types/upgrade?from=7.18.0&to=8.71.0