mirror of https://github.com/webpack/webpack.git
chore: update @types/estre
This commit is contained in:
parent
11db85e1ff
commit
370b099071
|
@ -6,7 +6,7 @@
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@types/eslint-scope": "^3.7.3",
|
"@types/eslint-scope": "^3.7.3",
|
||||||
"@types/estree": "^0.0.51",
|
"@types/estree": "^1.0.0",
|
||||||
"@webassemblyjs/ast": "1.11.1",
|
"@webassemblyjs/ast": "1.11.1",
|
||||||
"@webassemblyjs/wasm-edit": "1.11.1",
|
"@webassemblyjs/wasm-edit": "1.11.1",
|
||||||
"@webassemblyjs/wasm-parser": "1.11.1",
|
"@webassemblyjs/wasm-parser": "1.11.1",
|
||||||
|
|
|
@ -3829,32 +3829,32 @@ declare interface ExposesObject {
|
||||||
}
|
}
|
||||||
type Expression =
|
type Expression =
|
||||||
| UnaryExpression
|
| UnaryExpression
|
||||||
| ThisExpression
|
|
||||||
| ArrayExpression
|
| ArrayExpression
|
||||||
| ObjectExpression
|
|
||||||
| FunctionExpression
|
|
||||||
| ArrowFunctionExpression
|
| ArrowFunctionExpression
|
||||||
| YieldExpression
|
| AssignmentExpression
|
||||||
|
| AwaitExpression
|
||||||
|
| BinaryExpression
|
||||||
|
| SimpleCallExpression
|
||||||
|
| NewExpression
|
||||||
|
| ChainExpression
|
||||||
|
| ClassExpression
|
||||||
|
| ConditionalExpression
|
||||||
|
| FunctionExpression
|
||||||
|
| Identifier
|
||||||
|
| ImportExpression
|
||||||
| SimpleLiteral
|
| SimpleLiteral
|
||||||
| RegExpLiteral
|
| RegExpLiteral
|
||||||
| BigIntLiteral
|
| BigIntLiteral
|
||||||
| UpdateExpression
|
|
||||||
| BinaryExpression
|
|
||||||
| AssignmentExpression
|
|
||||||
| LogicalExpression
|
| LogicalExpression
|
||||||
| MemberExpression
|
| MemberExpression
|
||||||
| ConditionalExpression
|
|
||||||
| SimpleCallExpression
|
|
||||||
| NewExpression
|
|
||||||
| SequenceExpression
|
|
||||||
| TemplateLiteral
|
|
||||||
| TaggedTemplateExpression
|
|
||||||
| ClassExpression
|
|
||||||
| MetaProperty
|
| MetaProperty
|
||||||
| Identifier
|
| ObjectExpression
|
||||||
| AwaitExpression
|
| SequenceExpression
|
||||||
| ImportExpression
|
| TaggedTemplateExpression
|
||||||
| ChainExpression;
|
| TemplateLiteral
|
||||||
|
| ThisExpression
|
||||||
|
| UpdateExpression
|
||||||
|
| YieldExpression;
|
||||||
declare interface ExpressionExpressionInfo {
|
declare interface ExpressionExpressionInfo {
|
||||||
type: "expression";
|
type: "expression";
|
||||||
rootInfo: string | VariableInfo;
|
rootInfo: string | VariableInfo;
|
||||||
|
@ -4950,13 +4950,13 @@ declare class JavascriptParser extends Parser {
|
||||||
>;
|
>;
|
||||||
evaluateIdentifier: HookMap<
|
evaluateIdentifier: HookMap<
|
||||||
SyncBailHook<
|
SyncBailHook<
|
||||||
[ThisExpression | MemberExpression | MetaProperty | Identifier],
|
[Identifier | MemberExpression | MetaProperty | ThisExpression],
|
||||||
undefined | null | BasicEvaluatedExpression
|
undefined | null | BasicEvaluatedExpression
|
||||||
>
|
>
|
||||||
>;
|
>;
|
||||||
evaluateDefinedIdentifier: HookMap<
|
evaluateDefinedIdentifier: HookMap<
|
||||||
SyncBailHook<
|
SyncBailHook<
|
||||||
[ThisExpression | MemberExpression | Identifier],
|
[Identifier | MemberExpression | ThisExpression],
|
||||||
undefined | null | BasicEvaluatedExpression
|
undefined | null | BasicEvaluatedExpression
|
||||||
>
|
>
|
||||||
>;
|
>;
|
||||||
|
@ -4980,32 +4980,32 @@ declare class JavascriptParser extends Parser {
|
||||||
[
|
[
|
||||||
(
|
(
|
||||||
| UnaryExpression
|
| UnaryExpression
|
||||||
| ThisExpression
|
|
||||||
| ArrayExpression
|
| ArrayExpression
|
||||||
| ObjectExpression
|
|
||||||
| FunctionExpression
|
|
||||||
| ArrowFunctionExpression
|
| ArrowFunctionExpression
|
||||||
| YieldExpression
|
| AssignmentExpression
|
||||||
|
| AwaitExpression
|
||||||
|
| BinaryExpression
|
||||||
|
| SimpleCallExpression
|
||||||
|
| NewExpression
|
||||||
|
| ChainExpression
|
||||||
|
| ClassExpression
|
||||||
|
| ConditionalExpression
|
||||||
|
| FunctionExpression
|
||||||
|
| Identifier
|
||||||
|
| ImportExpression
|
||||||
| SimpleLiteral
|
| SimpleLiteral
|
||||||
| RegExpLiteral
|
| RegExpLiteral
|
||||||
| BigIntLiteral
|
| BigIntLiteral
|
||||||
| UpdateExpression
|
|
||||||
| BinaryExpression
|
|
||||||
| AssignmentExpression
|
|
||||||
| LogicalExpression
|
| LogicalExpression
|
||||||
| MemberExpression
|
| MemberExpression
|
||||||
| ConditionalExpression
|
|
||||||
| SimpleCallExpression
|
|
||||||
| NewExpression
|
|
||||||
| SequenceExpression
|
|
||||||
| TemplateLiteral
|
|
||||||
| TaggedTemplateExpression
|
|
||||||
| ClassExpression
|
|
||||||
| MetaProperty
|
| MetaProperty
|
||||||
| Identifier
|
| ObjectExpression
|
||||||
| AwaitExpression
|
| SequenceExpression
|
||||||
| ImportExpression
|
| TaggedTemplateExpression
|
||||||
| ChainExpression
|
| TemplateLiteral
|
||||||
|
| ThisExpression
|
||||||
|
| UpdateExpression
|
||||||
|
| YieldExpression
|
||||||
| FunctionDeclaration
|
| FunctionDeclaration
|
||||||
| VariableDeclaration
|
| VariableDeclaration
|
||||||
| ClassDeclaration
|
| ClassDeclaration
|
||||||
|
@ -5227,32 +5227,32 @@ declare class JavascriptParser extends Parser {
|
||||||
semicolons: any;
|
semicolons: any;
|
||||||
statementPath: (
|
statementPath: (
|
||||||
| UnaryExpression
|
| UnaryExpression
|
||||||
| ThisExpression
|
|
||||||
| ArrayExpression
|
| ArrayExpression
|
||||||
| ObjectExpression
|
|
||||||
| FunctionExpression
|
|
||||||
| ArrowFunctionExpression
|
| ArrowFunctionExpression
|
||||||
| YieldExpression
|
| AssignmentExpression
|
||||||
|
| AwaitExpression
|
||||||
|
| BinaryExpression
|
||||||
|
| SimpleCallExpression
|
||||||
|
| NewExpression
|
||||||
|
| ChainExpression
|
||||||
|
| ClassExpression
|
||||||
|
| ConditionalExpression
|
||||||
|
| FunctionExpression
|
||||||
|
| Identifier
|
||||||
|
| ImportExpression
|
||||||
| SimpleLiteral
|
| SimpleLiteral
|
||||||
| RegExpLiteral
|
| RegExpLiteral
|
||||||
| BigIntLiteral
|
| BigIntLiteral
|
||||||
| UpdateExpression
|
|
||||||
| BinaryExpression
|
|
||||||
| AssignmentExpression
|
|
||||||
| LogicalExpression
|
| LogicalExpression
|
||||||
| MemberExpression
|
| MemberExpression
|
||||||
| ConditionalExpression
|
|
||||||
| SimpleCallExpression
|
|
||||||
| NewExpression
|
|
||||||
| SequenceExpression
|
|
||||||
| TemplateLiteral
|
|
||||||
| TaggedTemplateExpression
|
|
||||||
| ClassExpression
|
|
||||||
| MetaProperty
|
| MetaProperty
|
||||||
| Identifier
|
| ObjectExpression
|
||||||
| AwaitExpression
|
| SequenceExpression
|
||||||
| ImportExpression
|
| TaggedTemplateExpression
|
||||||
| ChainExpression
|
| TemplateLiteral
|
||||||
|
| ThisExpression
|
||||||
|
| UpdateExpression
|
||||||
|
| YieldExpression
|
||||||
| FunctionDeclaration
|
| FunctionDeclaration
|
||||||
| VariableDeclaration
|
| VariableDeclaration
|
||||||
| ClassDeclaration
|
| ClassDeclaration
|
||||||
|
@ -5434,32 +5434,32 @@ declare class JavascriptParser extends Parser {
|
||||||
| undefined
|
| undefined
|
||||||
| null
|
| null
|
||||||
| UnaryExpression
|
| UnaryExpression
|
||||||
| ThisExpression
|
|
||||||
| ArrayExpression
|
| ArrayExpression
|
||||||
| ObjectExpression
|
|
||||||
| FunctionExpression
|
|
||||||
| ArrowFunctionExpression
|
| ArrowFunctionExpression
|
||||||
| YieldExpression
|
| AssignmentExpression
|
||||||
|
| AwaitExpression
|
||||||
|
| BinaryExpression
|
||||||
|
| SimpleCallExpression
|
||||||
|
| NewExpression
|
||||||
|
| ChainExpression
|
||||||
|
| ClassExpression
|
||||||
|
| ConditionalExpression
|
||||||
|
| FunctionExpression
|
||||||
|
| Identifier
|
||||||
|
| ImportExpression
|
||||||
| SimpleLiteral
|
| SimpleLiteral
|
||||||
| RegExpLiteral
|
| RegExpLiteral
|
||||||
| BigIntLiteral
|
| BigIntLiteral
|
||||||
| UpdateExpression
|
|
||||||
| BinaryExpression
|
|
||||||
| AssignmentExpression
|
|
||||||
| LogicalExpression
|
| LogicalExpression
|
||||||
| MemberExpression
|
| MemberExpression
|
||||||
| ConditionalExpression
|
|
||||||
| SimpleCallExpression
|
|
||||||
| NewExpression
|
|
||||||
| SequenceExpression
|
|
||||||
| TemplateLiteral
|
|
||||||
| TaggedTemplateExpression
|
|
||||||
| ClassExpression
|
|
||||||
| MetaProperty
|
| MetaProperty
|
||||||
| Identifier
|
| ObjectExpression
|
||||||
| AwaitExpression
|
| SequenceExpression
|
||||||
| ImportExpression
|
| TaggedTemplateExpression
|
||||||
| ChainExpression
|
| TemplateLiteral
|
||||||
|
| ThisExpression
|
||||||
|
| UpdateExpression
|
||||||
|
| YieldExpression
|
||||||
| FunctionDeclaration
|
| FunctionDeclaration
|
||||||
| VariableDeclaration
|
| VariableDeclaration
|
||||||
| ClassDeclaration
|
| ClassDeclaration
|
||||||
|
@ -5485,32 +5485,32 @@ declare class JavascriptParser extends Parser {
|
||||||
members: string[];
|
members: string[];
|
||||||
object:
|
object:
|
||||||
| UnaryExpression
|
| UnaryExpression
|
||||||
| ThisExpression
|
|
||||||
| ArrayExpression
|
| ArrayExpression
|
||||||
| ObjectExpression
|
|
||||||
| FunctionExpression
|
|
||||||
| ArrowFunctionExpression
|
| ArrowFunctionExpression
|
||||||
| YieldExpression
|
| AssignmentExpression
|
||||||
|
| AwaitExpression
|
||||||
|
| BinaryExpression
|
||||||
|
| SimpleCallExpression
|
||||||
|
| NewExpression
|
||||||
|
| ChainExpression
|
||||||
|
| ClassExpression
|
||||||
|
| ConditionalExpression
|
||||||
|
| FunctionExpression
|
||||||
|
| Identifier
|
||||||
|
| ImportExpression
|
||||||
| SimpleLiteral
|
| SimpleLiteral
|
||||||
| RegExpLiteral
|
| RegExpLiteral
|
||||||
| BigIntLiteral
|
| BigIntLiteral
|
||||||
| UpdateExpression
|
|
||||||
| BinaryExpression
|
|
||||||
| AssignmentExpression
|
|
||||||
| LogicalExpression
|
| LogicalExpression
|
||||||
| MemberExpression
|
| MemberExpression
|
||||||
| ConditionalExpression
|
|
||||||
| SimpleCallExpression
|
|
||||||
| NewExpression
|
|
||||||
| SequenceExpression
|
|
||||||
| TemplateLiteral
|
|
||||||
| TaggedTemplateExpression
|
|
||||||
| ClassExpression
|
|
||||||
| MetaProperty
|
| MetaProperty
|
||||||
| Identifier
|
| ObjectExpression
|
||||||
| AwaitExpression
|
| SequenceExpression
|
||||||
| ImportExpression
|
| TaggedTemplateExpression
|
||||||
| ChainExpression
|
| TemplateLiteral
|
||||||
|
| ThisExpression
|
||||||
|
| UpdateExpression
|
||||||
|
| YieldExpression
|
||||||
| Super;
|
| Super;
|
||||||
membersOptionals: boolean[];
|
membersOptionals: boolean[];
|
||||||
};
|
};
|
||||||
|
@ -7553,32 +7553,32 @@ declare class NodeEnvironmentPlugin {
|
||||||
}
|
}
|
||||||
type NodeEstreeIndex =
|
type NodeEstreeIndex =
|
||||||
| UnaryExpression
|
| UnaryExpression
|
||||||
| ThisExpression
|
|
||||||
| ArrayExpression
|
| ArrayExpression
|
||||||
| ObjectExpression
|
|
||||||
| FunctionExpression
|
|
||||||
| ArrowFunctionExpression
|
| ArrowFunctionExpression
|
||||||
| YieldExpression
|
| AssignmentExpression
|
||||||
|
| AwaitExpression
|
||||||
|
| BinaryExpression
|
||||||
|
| SimpleCallExpression
|
||||||
|
| NewExpression
|
||||||
|
| ChainExpression
|
||||||
|
| ClassExpression
|
||||||
|
| ConditionalExpression
|
||||||
|
| FunctionExpression
|
||||||
|
| Identifier
|
||||||
|
| ImportExpression
|
||||||
| SimpleLiteral
|
| SimpleLiteral
|
||||||
| RegExpLiteral
|
| RegExpLiteral
|
||||||
| BigIntLiteral
|
| BigIntLiteral
|
||||||
| UpdateExpression
|
|
||||||
| BinaryExpression
|
|
||||||
| AssignmentExpression
|
|
||||||
| LogicalExpression
|
| LogicalExpression
|
||||||
| MemberExpression
|
| MemberExpression
|
||||||
| ConditionalExpression
|
|
||||||
| SimpleCallExpression
|
|
||||||
| NewExpression
|
|
||||||
| SequenceExpression
|
|
||||||
| TemplateLiteral
|
|
||||||
| TaggedTemplateExpression
|
|
||||||
| ClassExpression
|
|
||||||
| MetaProperty
|
| MetaProperty
|
||||||
| Identifier
|
| ObjectExpression
|
||||||
| AwaitExpression
|
| SequenceExpression
|
||||||
| ImportExpression
|
| TaggedTemplateExpression
|
||||||
| ChainExpression
|
| TemplateLiteral
|
||||||
|
| ThisExpression
|
||||||
|
| UpdateExpression
|
||||||
|
| YieldExpression
|
||||||
| FunctionDeclaration
|
| FunctionDeclaration
|
||||||
| VariableDeclaration
|
| VariableDeclaration
|
||||||
| ClassDeclaration
|
| ClassDeclaration
|
||||||
|
@ -7610,22 +7610,22 @@ type NodeEstreeIndex =
|
||||||
| PropertyDefinition
|
| PropertyDefinition
|
||||||
| VariableDeclarator
|
| VariableDeclarator
|
||||||
| Program
|
| Program
|
||||||
| SwitchCase
|
|
||||||
| CatchClause
|
|
||||||
| Property
|
|
||||||
| AssignmentProperty
|
| AssignmentProperty
|
||||||
| Super
|
| Property
|
||||||
| TemplateElement
|
| CatchClause
|
||||||
| SpreadElement
|
|
||||||
| ObjectPattern
|
|
||||||
| ArrayPattern
|
|
||||||
| RestElement
|
|
||||||
| AssignmentPattern
|
|
||||||
| ClassBody
|
| ClassBody
|
||||||
| ImportSpecifier
|
| ImportSpecifier
|
||||||
| ImportDefaultSpecifier
|
| ImportDefaultSpecifier
|
||||||
| ImportNamespaceSpecifier
|
| ImportNamespaceSpecifier
|
||||||
| ExportSpecifier;
|
| ExportSpecifier
|
||||||
|
| ObjectPattern
|
||||||
|
| ArrayPattern
|
||||||
|
| RestElement
|
||||||
|
| AssignmentPattern
|
||||||
|
| SpreadElement
|
||||||
|
| Super
|
||||||
|
| SwitchCase
|
||||||
|
| TemplateElement;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Options object for node compatibility features.
|
* Options object for node compatibility features.
|
||||||
|
|
|
@ -1076,16 +1076,11 @@
|
||||||
"@types/estree" "*"
|
"@types/estree" "*"
|
||||||
"@types/json-schema" "*"
|
"@types/json-schema" "*"
|
||||||
|
|
||||||
"@types/estree@*":
|
"@types/estree@*", "@types/estree@^1.0.0":
|
||||||
version "1.0.0"
|
version "1.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/@types/estree/-/estree-1.0.0.tgz#5fb2e536c1ae9bf35366eed879e827fa59ca41c2"
|
resolved "https://registry.yarnpkg.com/@types/estree/-/estree-1.0.0.tgz#5fb2e536c1ae9bf35366eed879e827fa59ca41c2"
|
||||||
integrity sha512-WulqXMDUTYAXCjZnk6JtIHPigp55cVtDgDrO2gHRwhyJto21+1zbVCtOYB2L1F9w4qCQ0rOGWBnBe0FNTiEJIQ==
|
integrity sha512-WulqXMDUTYAXCjZnk6JtIHPigp55cVtDgDrO2gHRwhyJto21+1zbVCtOYB2L1F9w4qCQ0rOGWBnBe0FNTiEJIQ==
|
||||||
|
|
||||||
"@types/estree@^0.0.51":
|
|
||||||
version "0.0.51"
|
|
||||||
resolved "https://registry.yarnpkg.com/@types/estree/-/estree-0.0.51.tgz#cfd70924a25a3fd32b218e5e420e6897e1ac4f40"
|
|
||||||
integrity sha512-CuPgU6f3eT/XgKKPqKd/gLZV1Xmvf1a2R5POBOGQa6uv82xpls89HU5zKeVoyR8XzHd1RGNOlQlvUe3CFkjWNQ==
|
|
||||||
|
|
||||||
"@types/graceful-fs@^4.1.2":
|
"@types/graceful-fs@^4.1.2":
|
||||||
version "4.1.6"
|
version "4.1.6"
|
||||||
resolved "https://registry.yarnpkg.com/@types/graceful-fs/-/graceful-fs-4.1.6.tgz#e14b2576a1c25026b7f02ede1de3b84c3a1efeae"
|
resolved "https://registry.yarnpkg.com/@types/graceful-fs/-/graceful-fs-4.1.6.tgz#e14b2576a1c25026b7f02ede1de3b84c3a1efeae"
|
||||||
|
|
Loading…
Reference in New Issue