Vigia

将 @types/estree 从 0.x 升级到 1.x

根据 TypeScript 类型自动比较 @types/estree 0.0.52 与 1.0.9 的公开 API。签名变化表示可能存在不兼容变更,并非确定结论。

概要

已删除的导入路径0
已删除的导出0
已修改的签名1
已删除的类或接口成员0
已修改的类或接口成员11
新增弃用0
要求变化(engines、peer 依赖)0
新增导出3

已删除的导出

未发现。

已修改的签名

export之前之后
@types/estree · AssignmentOperator"=" | "+=" | "-=" | "*=" | "/=" | "%=" | "**=" | "<<=" | ">>=" | ">>>=" | "|=" | "^=" | "&=""=" | "+=" | "-=" | "*=" | "/=" | "%=" | "**=" | "<<=" | ">>=" | ">>>=" | "|=" | "^=" | "&=" | "||=" | "&&=" | "??="

已删除的类或接口成员

未发现。

已修改的类或接口成员

member之前之后
Property.keyExpression | PrivateIdentifierExpression
ExportSpecifier.localIdentifierIdentifier | Literal
ExportSpecifier.exportedIdentifierIdentifier | Literal
ImportSpecifier.importedIdentifierIdentifier | Literal
BinaryExpression.leftExpressionExpression | PrivateIdentifier
ClassDeclaration.idIdentifier | nullIdentifier
AssignmentProperty.keyExpression | PrivateIdentifierExpression
FunctionDeclaration.idIdentifier | nullIdentifier
VariableDeclaration.kind"var" | "let" | "const""var" | "let" | "const" | "using" | "await using"
ExportAllDeclaration.exportedIdentifier | nullIdentifier | Literal | null
ExportDefaultDeclaration.declarationExpression | DeclarationMaybeNamedClassDeclaration | Expression | MaybeNamedFunctionDeclaration

新增弃用

未发现。

要求变化(engines、peer 依赖)

未发现。

新增导出 (3)
importexportkind
@types/estreeImportAttributeinterface
@types/estreeMaybeNamedClassDeclarationinterface
@types/estreeMaybeNamedFunctionDeclarationinterface

常见问题

将 @types/estree 从 0 升级到 1 有哪些不兼容变更?

在 @types/estree 0.0.52 与 1.0.9 之间,Vigia 发现 0 个已删除的导出、1 个已修改的签名,以及 11 个已删除或修改的类或接口成员。

@types/estree 1 中弃用了哪些内容?

@types/estree 1.0.9 中有 0 个导出或成员新被标记为弃用。

供智能体使用

GET https://vigia.coredls.cloud/v1/packages/npm/@types/estree/upgrade?from=0.0.52&to=1.0.9