@putout/babel 5.0.0 → 5.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/bundle/index.d.ts +1 -264
- package/bundle/index.js +189 -173
- package/bundle/metafile-cjs.json +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
**CommonJS** pre-builts of Babel 8: if you want to migrate to [v8](https://github.com/babel/babel/releases/tag/v8.0.0-beta.3) but cannot support **ESM** right now.
|
|
7
7
|
|
|
8
8
|
Includes:
|
|
9
|
+
- [`Remove Babel 7 from the codebase`](https://github.com/babel/babel/pull/17618);
|
|
9
10
|
- [`Fix traverse NodePath caching`](https://github.com/babel/babel/pull/17568);
|
|
10
11
|
- [`Improve Unicode handling in code-frame tokenizer`](https://github.com/babel/babel/pull/17589);
|
|
11
12
|
- [`Improve traverse types`](https://github.com/babel/babel/pull/17574);
|
package/bundle/index.d.ts
CHANGED
|
@@ -1,267 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
export * from '@babel/parser';
|
|
2
2
|
import * as types from '@babel/types';
|
|
3
3
|
export { types };
|
|
4
4
|
export { traverse } from '@babel/types';
|
|
5
|
-
|
|
6
|
-
// This file is auto-generated! Do not modify it directly.
|
|
7
|
-
// Run `yarn gulp bundle-dts` to re-generate it.
|
|
8
|
-
/* eslint-disable @typescript-eslint/consistent-type-imports, @typescript-eslint/no-redundant-type-constituents */
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
declare class Position {
|
|
12
|
-
line: number;
|
|
13
|
-
column: number;
|
|
14
|
-
index: number;
|
|
15
|
-
constructor(line: number, col: number, index: number);
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
type SyntaxPlugin = "flow" | "typescript" | "jsx" | "pipelineOperator" | "placeholders";
|
|
19
|
-
type ParseErrorCode = "BABEL_PARSER_SYNTAX_ERROR" | "BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED";
|
|
20
|
-
interface ParseErrorSpecification<ErrorDetails> {
|
|
21
|
-
code: ParseErrorCode;
|
|
22
|
-
reasonCode: string;
|
|
23
|
-
syntaxPlugin?: SyntaxPlugin;
|
|
24
|
-
missingPlugin?: string | string[];
|
|
25
|
-
loc: Position;
|
|
26
|
-
details: ErrorDetails;
|
|
27
|
-
pos: number;
|
|
28
|
-
}
|
|
29
|
-
type ParseError$1<ErrorDetails> = SyntaxError & ParseErrorSpecification<ErrorDetails>;
|
|
30
|
-
|
|
31
|
-
type BABEL_8_BREAKING = true;
|
|
32
|
-
type IF_BABEL_7<V> = false extends BABEL_8_BREAKING ? V : never;
|
|
33
|
-
|
|
34
|
-
type Plugin$1 =
|
|
35
|
-
| "asyncDoExpressions"
|
|
36
|
-
| IF_BABEL_7<"asyncGenerators">
|
|
37
|
-
| IF_BABEL_7<"bigInt">
|
|
38
|
-
| IF_BABEL_7<"classPrivateMethods">
|
|
39
|
-
| IF_BABEL_7<"classPrivateProperties">
|
|
40
|
-
| IF_BABEL_7<"classProperties">
|
|
41
|
-
| IF_BABEL_7<"classStaticBlock">
|
|
42
|
-
| IF_BABEL_7<"decimal">
|
|
43
|
-
| "decorators-legacy"
|
|
44
|
-
| "deferredImportEvaluation"
|
|
45
|
-
| "decoratorAutoAccessors"
|
|
46
|
-
| "destructuringPrivate"
|
|
47
|
-
| IF_BABEL_7<"deprecatedImportAssert">
|
|
48
|
-
| "doExpressions"
|
|
49
|
-
| IF_BABEL_7<"dynamicImport">
|
|
50
|
-
| IF_BABEL_7<"explicitResourceManagement">
|
|
51
|
-
| "exportDefaultFrom"
|
|
52
|
-
| IF_BABEL_7<"exportNamespaceFrom">
|
|
53
|
-
| "flow"
|
|
54
|
-
| "flowComments"
|
|
55
|
-
| "functionBind"
|
|
56
|
-
| "functionSent"
|
|
57
|
-
| "importMeta"
|
|
58
|
-
| "jsx"
|
|
59
|
-
| IF_BABEL_7<"jsonStrings">
|
|
60
|
-
| IF_BABEL_7<"logicalAssignment">
|
|
61
|
-
| IF_BABEL_7<"importAssertions">
|
|
62
|
-
| IF_BABEL_7<"importReflection">
|
|
63
|
-
| "moduleBlocks"
|
|
64
|
-
| IF_BABEL_7<"moduleStringNames">
|
|
65
|
-
| IF_BABEL_7<"nullishCoalescingOperator">
|
|
66
|
-
| IF_BABEL_7<"numericSeparator">
|
|
67
|
-
| IF_BABEL_7<"objectRestSpread">
|
|
68
|
-
| IF_BABEL_7<"optionalCatchBinding">
|
|
69
|
-
| IF_BABEL_7<"optionalChaining">
|
|
70
|
-
| "partialApplication"
|
|
71
|
-
| "placeholders"
|
|
72
|
-
| IF_BABEL_7<"privateIn">
|
|
73
|
-
| IF_BABEL_7<"regexpUnicodeSets">
|
|
74
|
-
| "sourcePhaseImports"
|
|
75
|
-
| "throwExpressions"
|
|
76
|
-
| IF_BABEL_7<"topLevelAwait">
|
|
77
|
-
| "v8intrinsic"
|
|
78
|
-
| ParserPluginWithOptions[0];
|
|
79
|
-
|
|
80
|
-
type ParserPluginWithOptions =
|
|
81
|
-
| ["decorators", DecoratorsPluginOptions]
|
|
82
|
-
| ["discardBinding", { syntaxType: "void" }]
|
|
83
|
-
| ["estree", { classFeatures?: boolean }]
|
|
84
|
-
| IF_BABEL_7<["importAttributes", { deprecatedAssertSyntax: boolean }]>
|
|
85
|
-
| IF_BABEL_7<["moduleAttributes", { version: "may-2020" }]>
|
|
86
|
-
| ["optionalChainingAssign", { version: "2023-07" }]
|
|
87
|
-
| ["pipelineOperator", PipelineOperatorPluginOptions]
|
|
88
|
-
| ["recordAndTuple", RecordAndTuplePluginOptions]
|
|
89
|
-
| ["flow", FlowPluginOptions]
|
|
90
|
-
| ["typescript", TypeScriptPluginOptions];
|
|
91
|
-
|
|
92
|
-
type PluginConfig = Plugin$1 | ParserPluginWithOptions;
|
|
93
|
-
|
|
94
|
-
interface DecoratorsPluginOptions {
|
|
95
|
-
decoratorsBeforeExport?: boolean;
|
|
96
|
-
allowCallParenthesized?: boolean;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
interface PipelineOperatorPluginOptions {
|
|
100
|
-
proposal: BABEL_8_BREAKING extends false
|
|
101
|
-
? "minimal" | "fsharp" | "hack" | "smart"
|
|
102
|
-
: "fsharp" | "hack";
|
|
103
|
-
topicToken?: "%" | "#" | "@@" | "^^" | "^";
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
interface RecordAndTuplePluginOptions {
|
|
107
|
-
syntaxType: "bar" | "hash";
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
type FlowPluginOptions = BABEL_8_BREAKING extends true
|
|
111
|
-
? {
|
|
112
|
-
all?: boolean;
|
|
113
|
-
enums?: boolean;
|
|
114
|
-
}
|
|
115
|
-
: {
|
|
116
|
-
all?: boolean;
|
|
117
|
-
};
|
|
118
|
-
|
|
119
|
-
interface TypeScriptPluginOptions {
|
|
120
|
-
dts?: boolean;
|
|
121
|
-
disallowAmbiguousJSXLike?: boolean;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
type Plugin = PluginConfig;
|
|
125
|
-
|
|
126
|
-
type SourceType = "script" | "commonjs" | "module" | "unambiguous";
|
|
127
|
-
interface Options {
|
|
128
|
-
/**
|
|
129
|
-
* By default, import and export declarations can only appear at a program's top level.
|
|
130
|
-
* Setting this option to true allows them anywhere where a statement is allowed.
|
|
131
|
-
*/
|
|
132
|
-
allowImportExportEverywhere?: boolean;
|
|
133
|
-
/**
|
|
134
|
-
* By default, await use is not allowed outside of an async function.
|
|
135
|
-
* Set this to true to accept such code.
|
|
136
|
-
*/
|
|
137
|
-
allowAwaitOutsideFunction?: boolean;
|
|
138
|
-
/**
|
|
139
|
-
* By default, a return statement at the top level raises an error.
|
|
140
|
-
* Set this to true to accept such code.
|
|
141
|
-
*/
|
|
142
|
-
allowReturnOutsideFunction?: boolean;
|
|
143
|
-
/**
|
|
144
|
-
* By default, new.target use is not allowed outside of a function or class.
|
|
145
|
-
* Set this to true to accept such code.
|
|
146
|
-
*/
|
|
147
|
-
allowNewTargetOutsideFunction?: boolean;
|
|
148
|
-
/**
|
|
149
|
-
* By default, super calls are not allowed outside of a method.
|
|
150
|
-
* Set this to true to accept such code.
|
|
151
|
-
*/
|
|
152
|
-
allowSuperOutsideMethod?: boolean;
|
|
153
|
-
/**
|
|
154
|
-
* By default, exported identifiers must refer to a declared variable.
|
|
155
|
-
* Set this to true to allow export statements to reference undeclared variables.
|
|
156
|
-
*/
|
|
157
|
-
allowUndeclaredExports?: boolean;
|
|
158
|
-
/**
|
|
159
|
-
* By default, yield use is not allowed outside of a generator function.
|
|
160
|
-
* Set this to true to accept such code.
|
|
161
|
-
*/
|
|
162
|
-
allowYieldOutsideFunction?: boolean;
|
|
163
|
-
/**
|
|
164
|
-
* By default, Babel parser JavaScript code according to Annex B syntax.
|
|
165
|
-
* Set this to `false` to disable such behavior.
|
|
166
|
-
*/
|
|
167
|
-
annexB?: boolean;
|
|
168
|
-
/**
|
|
169
|
-
* By default, Babel attaches comments to adjacent AST nodes.
|
|
170
|
-
* When this option is set to false, comments are not attached.
|
|
171
|
-
* It can provide up to 30% performance improvement when the input code has many comments.
|
|
172
|
-
* @babel/eslint-parser will set it for you.
|
|
173
|
-
* It is not recommended to use attachComment: false with Babel transform,
|
|
174
|
-
* as doing so removes all the comments in output code, and renders annotations such as
|
|
175
|
-
* /* istanbul ignore next *\/ nonfunctional.
|
|
176
|
-
*/
|
|
177
|
-
attachComment?: boolean;
|
|
178
|
-
/**
|
|
179
|
-
* By default, Babel always throws an error when it finds some invalid code.
|
|
180
|
-
* When this option is set to true, it will store the parsing error and
|
|
181
|
-
* try to continue parsing the invalid input file.
|
|
182
|
-
*/
|
|
183
|
-
errorRecovery?: boolean;
|
|
184
|
-
/**
|
|
185
|
-
* Indicate the mode the code should be parsed in.
|
|
186
|
-
* Can be one of "script", "commonjs", "module", or "unambiguous". Defaults to "script".
|
|
187
|
-
* "unambiguous" will make @babel/parser attempt to guess, based on the presence
|
|
188
|
-
* of ES6 import or export statements.
|
|
189
|
-
* Files with ES6 imports and exports are considered "module" and are otherwise "script".
|
|
190
|
-
*
|
|
191
|
-
* Use "commonjs" to parse code that is intended to be run in a CommonJS environment such as Node.js.
|
|
192
|
-
*/
|
|
193
|
-
sourceType?: SourceType;
|
|
194
|
-
/**
|
|
195
|
-
* Correlate output AST nodes with their source filename.
|
|
196
|
-
* Useful when generating code and source maps from the ASTs of multiple input files.
|
|
197
|
-
*/
|
|
198
|
-
sourceFilename?: string;
|
|
199
|
-
/**
|
|
200
|
-
* By default, all source indexes start from 0.
|
|
201
|
-
* You can provide a start index to alternatively start with.
|
|
202
|
-
* Useful for integration with other source tools.
|
|
203
|
-
*/
|
|
204
|
-
startIndex?: number;
|
|
205
|
-
/**
|
|
206
|
-
* By default, the first line of code parsed is treated as line 1.
|
|
207
|
-
* You can provide a line number to alternatively start with.
|
|
208
|
-
* Useful for integration with other source tools.
|
|
209
|
-
*/
|
|
210
|
-
startLine?: number;
|
|
211
|
-
/**
|
|
212
|
-
* By default, the parsed code is treated as if it starts from line 1, column 0.
|
|
213
|
-
* You can provide a column number to alternatively start with.
|
|
214
|
-
* Useful for integration with other source tools.
|
|
215
|
-
*/
|
|
216
|
-
startColumn?: number;
|
|
217
|
-
/**
|
|
218
|
-
* Array containing the plugins that you want to enable.
|
|
219
|
-
*/
|
|
220
|
-
plugins?: Plugin[];
|
|
221
|
-
/**
|
|
222
|
-
* Should the parser work in strict mode.
|
|
223
|
-
* Defaults to true if sourceType === 'module'. Otherwise, false.
|
|
224
|
-
*/
|
|
225
|
-
strictMode?: boolean;
|
|
226
|
-
/**
|
|
227
|
-
* Adds a ranges property to each node: [node.start, node.end]
|
|
228
|
-
*/
|
|
229
|
-
ranges?: boolean;
|
|
230
|
-
/**
|
|
231
|
-
* Adds all parsed tokens to a tokens property on the File node.
|
|
232
|
-
*/
|
|
233
|
-
tokens?: boolean;
|
|
234
|
-
/**
|
|
235
|
-
* By default, the parser adds information about parentheses by setting
|
|
236
|
-
* `extra.parenthesized` to `true` as needed.
|
|
237
|
-
* When this option is `true` the parser creates `ParenthesizedExpression`
|
|
238
|
-
* AST nodes instead of using the `extra` property.
|
|
239
|
-
*/
|
|
240
|
-
createParenthesizedExpressions?: boolean;
|
|
241
|
-
/**
|
|
242
|
-
* The default is false in Babel 7 and true in Babel 8
|
|
243
|
-
* Set this to true to parse it as an `ImportExpression` node.
|
|
244
|
-
* Otherwise `import(foo)` is parsed as `CallExpression(Import, [Identifier(foo)])`.
|
|
245
|
-
*/
|
|
246
|
-
createImportExpressions?: boolean;
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
type ParserOptions = Partial<Options>;
|
|
250
|
-
type ParseError = ParseError$1<object>;
|
|
251
|
-
type ParseResult<Result extends File | Expression = File> = Result & {
|
|
252
|
-
comments: File["comments"];
|
|
253
|
-
errors: null | ParseError[];
|
|
254
|
-
tokens?: File["tokens"];
|
|
255
|
-
};
|
|
256
|
-
/**
|
|
257
|
-
* Parse the provided code as an entire ECMAScript program.
|
|
258
|
-
*/
|
|
259
|
-
declare function parse(input: string, options?: ParserOptions): ParseResult<File>;
|
|
260
|
-
declare function parseExpression(input: string, options?: ParserOptions): ParseResult<Expression>;
|
|
261
|
-
|
|
262
|
-
declare const tokTypes: {
|
|
263
|
-
// todo(flow->ts) real token type
|
|
264
|
-
[name: string]: any;
|
|
265
|
-
};
|
|
266
|
-
|
|
267
|
-
export { type DecoratorsPluginOptions, type FlowPluginOptions, type ParseError, type ParseResult, type ParserOptions, type PluginConfig as ParserPlugin, type ParserPluginWithOptions, type PipelineOperatorPluginOptions, type RecordAndTuplePluginOptions, type TypeScriptPluginOptions, parse, parseExpression, tokTypes };
|
package/bundle/index.js
CHANGED
|
@@ -82,11 +82,11 @@ var require_picocolors = __commonJS({
|
|
|
82
82
|
return result + string.substring(cursor);
|
|
83
83
|
};
|
|
84
84
|
|
|
85
|
-
var createColors2 = (
|
|
86
|
-
let f =
|
|
85
|
+
var createColors2 = (enabled2 = isColorSupported2) => {
|
|
86
|
+
let f = enabled2 ? formatter : () => String;
|
|
87
87
|
|
|
88
88
|
return {
|
|
89
|
-
isColorSupported:
|
|
89
|
+
isColorSupported: enabled2,
|
|
90
90
|
reset: f('\x1B[0m', '\x1B[0m'),
|
|
91
91
|
bold: f('\x1B[1m', '\x1B[22m', '\x1B[22m\x1B[1m'),
|
|
92
92
|
dim: f('\x1B[2m', '\x1B[22m', '\x1B[22m\x1B[2m'),
|
|
@@ -136,9 +136,9 @@ var require_picocolors = __commonJS({
|
|
|
136
136
|
},
|
|
137
137
|
});
|
|
138
138
|
|
|
139
|
-
// ../babel-babel/node_modules/js-tokens
|
|
140
|
-
var
|
|
141
|
-
'../babel-babel/node_modules/js-tokens
|
|
139
|
+
// ../babel-babel/node_modules/js-tokens/index.js
|
|
140
|
+
var require_js_tokens = __commonJS({
|
|
141
|
+
'../babel-babel/node_modules/js-tokens/index.js'(exports2, module2) {
|
|
142
142
|
var Identifier3;
|
|
143
143
|
var JSXIdentifier3;
|
|
144
144
|
var JSXPunctuator;
|
|
@@ -160,7 +160,7 @@ var require_js_tokens_BABEL_8_BREAKING_true = __commonJS({
|
|
|
160
160
|
var WhiteSpace;
|
|
161
161
|
var jsTokens2;
|
|
162
162
|
|
|
163
|
-
RegularExpressionLiteral = /\/(?![*\/])(?:\[(?:(?![\]\\]).|\\.)*\]|(?![
|
|
163
|
+
RegularExpressionLiteral = /\/(?![*\/])(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\\]).|\\.)*(\/[$_\u200C\u200D\p{ID_Continue}]*|\\)?/yu;
|
|
164
164
|
Punctuator = /--|\+\+|=>|\.{3}|\??\.(?!\d)|(?:&&|\|\||\?\?|[+\-%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2}|\/(?![\/*]))=?|[?~,:;[\](){}]/y;
|
|
165
165
|
Identifier3 = /(\x23?)(?=[$_\p{ID_Start}\\])(?:[$_\u200C\u200D\p{ID_Continue}]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+/yu;
|
|
166
166
|
StringLiteral4 = /(['"])(?:(?!\1)[^\\\n\r]|\\(?:\r\n|[^]))*(\1)?/y;
|
|
@@ -639,13 +639,6 @@ var require_js_tokens_BABEL_8_BREAKING_true = __commonJS({
|
|
|
639
639
|
},
|
|
640
640
|
});
|
|
641
641
|
|
|
642
|
-
// ../babel-babel/node_modules/js-tokens-BABEL_8_BREAKING-false/index.js
|
|
643
|
-
var require_js_tokens = __commonJS({
|
|
644
|
-
'../babel-babel/node_modules/js-tokens/index.js'(exports2, module2) {
|
|
645
|
-
module2.exports = require_js_tokens_BABEL_8_BREAKING_true();
|
|
646
|
-
},
|
|
647
|
-
});
|
|
648
|
-
|
|
649
642
|
// ../babel-babel/node_modules/jsesc/jsesc.js
|
|
650
643
|
var require_jsesc = __commonJS({
|
|
651
644
|
'../babel-babel/node_modules/jsesc/jsesc.js'(exports2, module2) {
|
|
@@ -995,28 +988,6 @@ var require_jsesc = __commonJS({
|
|
|
995
988
|
},
|
|
996
989
|
});
|
|
997
990
|
|
|
998
|
-
// ../babel-babel/node_modules/ms/index.js
|
|
999
|
-
// ../babel-babel/node_modules/debug/src/common.js
|
|
1000
|
-
var require_browser = () => () => ({
|
|
1001
|
-
enabled: false,
|
|
1002
|
-
});
|
|
1003
|
-
|
|
1004
|
-
// ../babel-babel/node_modules/has-flag/index.js
|
|
1005
|
-
var require_node = () => () => ({
|
|
1006
|
-
enabled: false,
|
|
1007
|
-
});
|
|
1008
|
-
|
|
1009
|
-
// ../babel-babel/node_modules/debug/src/index.js
|
|
1010
|
-
var require_src = __commonJS({
|
|
1011
|
-
'../babel-babel/node_modules/debug/src/index.js'(exports2, module2) {
|
|
1012
|
-
if (typeof process === 'undefined' || process.type === 'renderer' || process.browser === true || process.__nwjs) {
|
|
1013
|
-
module2.exports = require_browser();
|
|
1014
|
-
} else {
|
|
1015
|
-
module2.exports = require_node();
|
|
1016
|
-
}
|
|
1017
|
-
},
|
|
1018
|
-
});
|
|
1019
|
-
|
|
1020
991
|
// lib/index.mjs
|
|
1021
992
|
var index_exports = {};
|
|
1022
993
|
|
|
@@ -8464,7 +8435,7 @@ defineType$4('CallExpression', {
|
|
|
8464
8435
|
],
|
|
8465
8436
|
builder: ['callee', 'arguments'],
|
|
8466
8437
|
aliases: ['Expression'],
|
|
8467
|
-
fields:
|
|
8438
|
+
fields: {
|
|
8468
8439
|
callee: {
|
|
8469
8440
|
validate: assertNodeType('Expression', 'Super', 'V8IntrinsicIdentifier'),
|
|
8470
8441
|
},
|
|
@@ -8473,7 +8444,7 @@ defineType$4('CallExpression', {
|
|
|
8473
8444
|
validate: assertNodeType('TypeParameterInstantiation', 'TSTypeParameterInstantiation'),
|
|
8474
8445
|
optional: true,
|
|
8475
8446
|
},
|
|
8476
|
-
},
|
|
8447
|
+
},
|
|
8477
8448
|
});
|
|
8478
8449
|
defineType$4('CatchClause', {
|
|
8479
8450
|
visitor: ['param', 'body'],
|
|
@@ -8986,7 +8957,7 @@ defineType$4('MemberExpression', {
|
|
|
8986
8957
|
},
|
|
8987
8958
|
}],
|
|
8988
8959
|
},
|
|
8989
|
-
fields:
|
|
8960
|
+
fields: {
|
|
8990
8961
|
object: {
|
|
8991
8962
|
validate: assertNodeType('Expression', 'Super'),
|
|
8992
8963
|
},
|
|
@@ -9010,7 +8981,7 @@ defineType$4('MemberExpression', {
|
|
|
9010
8981
|
computed: {
|
|
9011
8982
|
default: false,
|
|
9012
8983
|
},
|
|
9013
|
-
},
|
|
8984
|
+
},
|
|
9014
8985
|
});
|
|
9015
8986
|
defineType$4('NewExpression', {
|
|
9016
8987
|
inherits: 'CallExpression',
|
|
@@ -9072,9 +9043,9 @@ defineType$4('ObjectMethod', Object.assign({
|
|
|
9072
9043
|
],
|
|
9073
9044
|
}, classMethodOrPropertyUnionShapeCommon(), {
|
|
9074
9045
|
fields: Object.assign({}, functionCommon(), functionTypeAnnotationCommon(), {
|
|
9075
|
-
kind:
|
|
9046
|
+
kind: {
|
|
9076
9047
|
validate: assertOneOf('method', 'get', 'set'),
|
|
9077
|
-
},
|
|
9048
|
+
},
|
|
9078
9049
|
computed: {
|
|
9079
9050
|
default: false,
|
|
9080
9051
|
},
|
|
@@ -10247,7 +10218,7 @@ defineType$4('OptionalCallExpression', {
|
|
|
10247
10218
|
'optional',
|
|
10248
10219
|
],
|
|
10249
10220
|
aliases: ['Expression'],
|
|
10250
|
-
fields:
|
|
10221
|
+
fields: {
|
|
10251
10222
|
callee: {
|
|
10252
10223
|
validate: assertNodeType('Expression'),
|
|
10253
10224
|
},
|
|
@@ -10259,7 +10230,7 @@ defineType$4('OptionalCallExpression', {
|
|
|
10259
10230
|
validate: assertNodeType('TypeParameterInstantiation', 'TSTypeParameterInstantiation'),
|
|
10260
10231
|
optional: true,
|
|
10261
10232
|
},
|
|
10262
|
-
},
|
|
10233
|
+
},
|
|
10263
10234
|
});
|
|
10264
10235
|
defineType$4('ClassProperty', Object.assign({
|
|
10265
10236
|
visitor: [
|
|
@@ -11144,7 +11115,7 @@ defineType$2('JSXElement', {
|
|
|
11144
11115
|
'closingElement',
|
|
11145
11116
|
],
|
|
11146
11117
|
aliases: ['Immutable', 'Expression'],
|
|
11147
|
-
fields:
|
|
11118
|
+
fields: {
|
|
11148
11119
|
openingElement: {
|
|
11149
11120
|
validate: assertNodeType('JSXOpeningElement'),
|
|
11150
11121
|
},
|
|
@@ -11153,7 +11124,7 @@ defineType$2('JSXElement', {
|
|
|
11153
11124
|
validate: assertNodeType('JSXClosingElement'),
|
|
11154
11125
|
},
|
|
11155
11126
|
children: validateArrayOfType('JSXText', 'JSXExpressionContainer', 'JSXSpreadChild', 'JSXElement', 'JSXFragment'),
|
|
11156
|
-
},
|
|
11127
|
+
},
|
|
11157
11128
|
});
|
|
11158
11129
|
defineType$2('JSXEmptyExpression', {});
|
|
11159
11130
|
defineType$2('JSXExpressionContainer', {
|
|
@@ -11216,7 +11187,7 @@ defineType$2('JSXOpeningElement', {
|
|
|
11216
11187
|
'attributes',
|
|
11217
11188
|
],
|
|
11218
11189
|
aliases: ['Immutable'],
|
|
11219
|
-
fields:
|
|
11190
|
+
fields: {
|
|
11220
11191
|
name: {
|
|
11221
11192
|
validate: assertNodeType('JSXIdentifier', 'JSXMemberExpression', 'JSXNamespacedName'),
|
|
11222
11193
|
},
|
|
@@ -11228,7 +11199,7 @@ defineType$2('JSXOpeningElement', {
|
|
|
11228
11199
|
validate: assertNodeType('TypeParameterInstantiation', 'TSTypeParameterInstantiation'),
|
|
11229
11200
|
optional: true,
|
|
11230
11201
|
},
|
|
11231
|
-
},
|
|
11202
|
+
},
|
|
11232
11203
|
});
|
|
11233
11204
|
defineType$2('JSXSpreadAttribute', {
|
|
11234
11205
|
visitor: ['argument'],
|
|
@@ -11754,15 +11725,14 @@ defineType('TSMappedType', {
|
|
|
11754
11725
|
'nameType',
|
|
11755
11726
|
'typeAnnotation',
|
|
11756
11727
|
],
|
|
11757
|
-
fields:
|
|
11728
|
+
fields: {
|
|
11758
11729
|
key: validateType('Identifier'),
|
|
11759
11730
|
constraint: validateType('TSType'),
|
|
11760
|
-
}, {
|
|
11761
11731
|
readonly: validateOptional(assertOneOf(true, false, '+', '-')),
|
|
11762
11732
|
optional: validateOptional(assertOneOf(true, false, '+', '-')),
|
|
11763
11733
|
typeAnnotation: validateOptionalType('TSType'),
|
|
11764
11734
|
nameType: validateOptionalType('TSType'),
|
|
11765
|
-
}
|
|
11735
|
+
},
|
|
11766
11736
|
});
|
|
11767
11737
|
defineType('TSTemplateLiteralType', {
|
|
11768
11738
|
aliases: ['TSType', 'TSBaseType'],
|
|
@@ -11924,15 +11894,14 @@ defineType('TSEnumMember', {
|
|
|
11924
11894
|
defineType('TSModuleDeclaration', {
|
|
11925
11895
|
aliases: ['Statement', 'Declaration'],
|
|
11926
11896
|
visitor: ['id', 'body'],
|
|
11927
|
-
fields:
|
|
11897
|
+
fields: {
|
|
11928
11898
|
kind: {
|
|
11929
11899
|
validate: assertOneOf('global', 'module', 'namespace'),
|
|
11930
11900
|
},
|
|
11931
11901
|
declare: validateOptional(bool),
|
|
11932
|
-
}, false, {
|
|
11933
11902
|
id: validateType('TSEntityName', 'StringLiteral'),
|
|
11934
11903
|
body: validateType('TSModuleBlock'),
|
|
11935
|
-
}
|
|
11904
|
+
},
|
|
11936
11905
|
});
|
|
11937
11906
|
defineType('TSModuleBlock', {
|
|
11938
11907
|
aliases: [
|
|
@@ -11959,30 +11928,27 @@ defineType('TSImportType', {
|
|
|
11959
11928
|
'qualifier',
|
|
11960
11929
|
'typeArguments',
|
|
11961
11930
|
],
|
|
11962
|
-
fields:
|
|
11931
|
+
fields: {
|
|
11963
11932
|
source: validateType('StringLiteral'),
|
|
11964
|
-
}, {
|
|
11965
11933
|
qualifier: validateOptionalType('TSEntityName'),
|
|
11966
|
-
}, {
|
|
11967
11934
|
typeArguments: validateOptionalType('TSTypeParameterInstantiation'),
|
|
11968
|
-
}, {
|
|
11969
11935
|
options: {
|
|
11970
11936
|
validate: assertNodeType('ObjectExpression'),
|
|
11971
11937
|
optional: true,
|
|
11972
11938
|
},
|
|
11973
|
-
}
|
|
11939
|
+
},
|
|
11974
11940
|
});
|
|
11975
11941
|
defineType('TSImportEqualsDeclaration', {
|
|
11976
11942
|
aliases: ['Statement', 'Declaration'],
|
|
11977
11943
|
visitor: ['id', 'moduleReference'],
|
|
11978
|
-
fields:
|
|
11944
|
+
fields: {
|
|
11979
11945
|
id: validateType('Identifier'),
|
|
11980
11946
|
moduleReference: validateType('TSEntityName', 'TSExternalModuleReference'),
|
|
11981
11947
|
importKind: {
|
|
11982
11948
|
validate: assertOneOf('type', 'value'),
|
|
11983
11949
|
optional: true,
|
|
11984
11950
|
},
|
|
11985
|
-
}
|
|
11951
|
+
},
|
|
11986
11952
|
});
|
|
11987
11953
|
defineType('TSExternalModuleReference', {
|
|
11988
11954
|
visitor: ['expression'],
|
|
@@ -18735,7 +18701,7 @@ var UnparenthesizedPipeBodyDescriptions = /* @__PURE__ */new Set([
|
|
|
18735
18701
|
'YieldExpression',
|
|
18736
18702
|
]);
|
|
18737
18703
|
|
|
18738
|
-
var PipelineOperatorErrors =
|
|
18704
|
+
var PipelineOperatorErrors = {
|
|
18739
18705
|
PipeBodyIsTighter: 'Unexpected yield after pipeline body; any yield expression acting as Hack-style pipe body must be parenthesized due to its loose operator precedence.',
|
|
18740
18706
|
PipeTopicRequiresHackPipes: 'Topic references are only supported when using the `"proposal": "hack"` version of the pipeline proposal.',
|
|
18741
18707
|
PipeTopicUnbound: 'Topic reference is unbound; it must be inside a pipe body.',
|
|
@@ -18744,7 +18710,7 @@ var PipelineOperatorErrors = Object.assign({
|
|
|
18744
18710
|
PipeUnparenthesizedBody: ({type}) => `Hack-style pipe body cannot be an unparenthesized ${toNodeDescription({
|
|
18745
18711
|
type,
|
|
18746
18712
|
})}; please wrap it in parentheses.`,
|
|
18747
|
-
}
|
|
18713
|
+
};
|
|
18748
18714
|
|
|
18749
18715
|
var _excluded = ['message'];
|
|
18750
18716
|
|
|
@@ -19385,22 +19351,6 @@ var estree = (superClass) => class ESTreeParserMixin extends superClass {
|
|
|
19385
19351
|
}
|
|
19386
19352
|
};
|
|
19387
19353
|
|
|
19388
|
-
var TokContext = class {
|
|
19389
|
-
constructor(token, preserveSpace) {
|
|
19390
|
-
__publicField(this, 'token');
|
|
19391
|
-
__publicField(this, 'preserveSpace');
|
|
19392
|
-
this.token = token;
|
|
19393
|
-
this.preserveSpace = !!preserveSpace;
|
|
19394
|
-
}
|
|
19395
|
-
};
|
|
19396
|
-
|
|
19397
|
-
var types = {
|
|
19398
|
-
brace: new TokContext('{'),
|
|
19399
|
-
j_oTag: new TokContext('<tag'),
|
|
19400
|
-
j_cTag: new TokContext('</tag'),
|
|
19401
|
-
j_expr: new TokContext('<tag>...</tag>', true),
|
|
19402
|
-
};
|
|
19403
|
-
|
|
19404
19354
|
var beforeExpr = true;
|
|
19405
19355
|
var startsExpr = true;
|
|
19406
19356
|
var isLoop2 = true;
|
|
@@ -19952,6 +19902,22 @@ function getExportedToken(token) {
|
|
|
19952
19902
|
return tokenTypes[token];
|
|
19953
19903
|
}
|
|
19954
19904
|
|
|
19905
|
+
var TokContext = class {
|
|
19906
|
+
constructor(token, preserveSpace) {
|
|
19907
|
+
__publicField(this, 'token');
|
|
19908
|
+
__publicField(this, 'preserveSpace');
|
|
19909
|
+
this.token = token;
|
|
19910
|
+
this.preserveSpace = !!preserveSpace;
|
|
19911
|
+
}
|
|
19912
|
+
};
|
|
19913
|
+
|
|
19914
|
+
var types = {
|
|
19915
|
+
brace: new TokContext('{'),
|
|
19916
|
+
j_oTag: new TokContext('<tag'),
|
|
19917
|
+
j_cTag: new TokContext('</tag'),
|
|
19918
|
+
j_expr: new TokContext('<tag>...</tag>', true),
|
|
19919
|
+
};
|
|
19920
|
+
|
|
19955
19921
|
var nonASCIIidentifierStartChars2 = '\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088F\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5C\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDC-\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7DC\uA7F1-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC';
|
|
19956
19922
|
var nonASCIIidentifierChars2 = '\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0897-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ADD\u1AE0-\u1AEB\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F\uFF65';
|
|
19957
19923
|
var nonASCIIidentifierStart2 = new RegExp('[' + nonASCIIidentifierStartChars2 + ']');
|
|
@@ -27877,7 +27843,7 @@ var typescript = (superClass) => class TypeScriptParserMixin extends superClass
|
|
|
27877
27843
|
nodeImportEquals.importKind = 'value';
|
|
27878
27844
|
}
|
|
27879
27845
|
|
|
27880
|
-
const declaration = this.tsParseImportEqualsDeclaration(nodeImportEquals, maybeDefaultIdentifier
|
|
27846
|
+
const declaration = this.tsParseImportEqualsDeclaration(nodeImportEquals, maybeDefaultIdentifier);
|
|
27881
27847
|
|
|
27882
27848
|
node.attributes = [];
|
|
27883
27849
|
node.declaration = declaration;
|
|
@@ -29885,8 +29851,6 @@ var ExpressionParser = class extends LValParser {
|
|
|
29885
29851
|
if (this.state.inFSharpPipelineDirectBody) {
|
|
29886
29852
|
return left;
|
|
29887
29853
|
}
|
|
29888
|
-
|
|
29889
|
-
this.checkPipelineAtInfixOperator(left, leftStartLoc);
|
|
29890
29854
|
}
|
|
29891
29855
|
|
|
29892
29856
|
const node = this.startNodeAt(leftStartLoc);
|
|
@@ -29917,7 +29881,6 @@ var ExpressionParser = class extends LValParser {
|
|
|
29917
29881
|
}
|
|
29918
29882
|
|
|
29919
29883
|
parseExprOpRightExpr(op, prec) {
|
|
29920
|
-
this.state.startLoc;
|
|
29921
29884
|
switch(op) {
|
|
29922
29885
|
case 39:
|
|
29923
29886
|
switch(this.getPluginOption('pipelineOperator', 'proposal')) {
|
|
@@ -31638,51 +31601,6 @@ var ExpressionParser = class extends LValParser {
|
|
|
31638
31601
|
return this.finishNode(node, 'ImportExpression');
|
|
31639
31602
|
}
|
|
31640
31603
|
|
|
31641
|
-
checkPipelineAtInfixOperator(left, leftStartLoc) {
|
|
31642
|
-
if (this.hasPlugin(['pipelineOperator', {proposal: 'smart'}])) {
|
|
31643
|
-
if (left.type === 'SequenceExpression') {
|
|
31644
|
-
this.raise(Errors.PipelineHeadSequenceExpression, leftStartLoc);
|
|
31645
|
-
}
|
|
31646
|
-
}
|
|
31647
|
-
}
|
|
31648
|
-
|
|
31649
|
-
parseSmartPipelineBodyInStyle(childExpr, startLoc) {
|
|
31650
|
-
if (this.isSimpleReference(childExpr)) {
|
|
31651
|
-
const bodyNode = this.startNodeAt(startLoc);
|
|
31652
|
-
|
|
31653
|
-
bodyNode.callee = childExpr;
|
|
31654
|
-
return this.finishNode(bodyNode, 'PipelineBareFunction');
|
|
31655
|
-
} else {
|
|
31656
|
-
const bodyNode = this.startNodeAt(startLoc);
|
|
31657
|
-
this.checkSmartPipeTopicBodyEarlyErrors(startLoc);
|
|
31658
|
-
bodyNode.expression = childExpr;
|
|
31659
|
-
return this.finishNode(bodyNode, 'PipelineTopicExpression');
|
|
31660
|
-
}
|
|
31661
|
-
}
|
|
31662
|
-
|
|
31663
|
-
isSimpleReference(expression2) {
|
|
31664
|
-
switch(expression2.type) {
|
|
31665
|
-
case 'MemberExpression':
|
|
31666
|
-
return !expression2.computed && this.isSimpleReference(expression2.object);
|
|
31667
|
-
|
|
31668
|
-
case 'Identifier':
|
|
31669
|
-
return true;
|
|
31670
|
-
|
|
31671
|
-
default:
|
|
31672
|
-
return false;
|
|
31673
|
-
}
|
|
31674
|
-
}
|
|
31675
|
-
|
|
31676
|
-
checkSmartPipeTopicBodyEarlyErrors(startLoc) {
|
|
31677
|
-
if (this.match(19)) {
|
|
31678
|
-
throw this.raise(Errors.PipelineBodyNoArrow, this.state.startLoc);
|
|
31679
|
-
}
|
|
31680
|
-
|
|
31681
|
-
if (!this.topicReferenceWasUsedInCurrentContext()) {
|
|
31682
|
-
this.raise(Errors.PipelineTopicUnused, startLoc);
|
|
31683
|
-
}
|
|
31684
|
-
}
|
|
31685
|
-
|
|
31686
31604
|
withTopicBindingContext(callback) {
|
|
31687
31605
|
const outerContextTopicState = this.state.topicContext;
|
|
31688
31606
|
|
|
@@ -31849,7 +31767,7 @@ var StatementParser = class extends ExpressionParser {
|
|
|
31849
31767
|
file2.comments = this.comments;
|
|
31850
31768
|
|
|
31851
31769
|
if (this.optionFlags & 256) {
|
|
31852
|
-
file2.tokens = babel7CompatTokens(this.tokens
|
|
31770
|
+
file2.tokens = babel7CompatTokens(this.tokens);
|
|
31853
31771
|
}
|
|
31854
31772
|
|
|
31855
31773
|
return this.finishNode(file2, 'File');
|
|
@@ -34318,29 +34236,29 @@ function isColorSupported() {
|
|
|
34318
34236
|
|
|
34319
34237
|
var compose = (f, g) => (v) => f(g(v));
|
|
34320
34238
|
|
|
34321
|
-
function buildDefs(
|
|
34239
|
+
function buildDefs(colors2) {
|
|
34322
34240
|
return {
|
|
34323
|
-
keyword:
|
|
34324
|
-
capitalized:
|
|
34325
|
-
jsxIdentifier:
|
|
34326
|
-
punctuator:
|
|
34327
|
-
number:
|
|
34328
|
-
string:
|
|
34329
|
-
regex:
|
|
34330
|
-
comment:
|
|
34331
|
-
invalid: compose(compose(
|
|
34332
|
-
gutter:
|
|
34333
|
-
marker: compose(
|
|
34334
|
-
message: compose(
|
|
34335
|
-
reset:
|
|
34241
|
+
keyword: colors2.cyan,
|
|
34242
|
+
capitalized: colors2.yellow,
|
|
34243
|
+
jsxIdentifier: colors2.yellow,
|
|
34244
|
+
punctuator: colors2.yellow,
|
|
34245
|
+
number: colors2.magenta,
|
|
34246
|
+
string: colors2.green,
|
|
34247
|
+
regex: colors2.magenta,
|
|
34248
|
+
comment: colors2.gray,
|
|
34249
|
+
invalid: compose(compose(colors2.white, colors2.bgRed), colors2.bold),
|
|
34250
|
+
gutter: colors2.gray,
|
|
34251
|
+
marker: compose(colors2.red, colors2.bold),
|
|
34252
|
+
message: compose(colors2.red, colors2.bold),
|
|
34253
|
+
reset: colors2.reset,
|
|
34336
34254
|
};
|
|
34337
34255
|
}
|
|
34338
34256
|
|
|
34339
34257
|
var defsOn = buildDefs((0, import_picocolors.createColors)(true));
|
|
34340
34258
|
var defsOff = buildDefs((0, import_picocolors.createColors)(false));
|
|
34341
34259
|
|
|
34342
|
-
function getDefs(
|
|
34343
|
-
return
|
|
34260
|
+
function getDefs(enabled2) {
|
|
34261
|
+
return enabled2 ? defsOn : defsOff;
|
|
34344
34262
|
}
|
|
34345
34263
|
|
|
34346
34264
|
var sometimesKeywords = /* @__PURE__ */new Set([
|
|
@@ -34353,7 +34271,6 @@ var sometimesKeywords = /* @__PURE__ */new Set([
|
|
|
34353
34271
|
]);
|
|
34354
34272
|
var NEWLINE$1 = /\r\n|[\n\r\u2028\u2029]/;
|
|
34355
34273
|
var BRACKET = /^[()[\]{}]$/;
|
|
34356
|
-
var tokenize;
|
|
34357
34274
|
|
|
34358
34275
|
var getTokenType = function(token) {
|
|
34359
34276
|
if (token.type === 'IdentifierName') {
|
|
@@ -34418,7 +34335,7 @@ var getTokenType = function(token) {
|
|
|
34418
34335
|
}
|
|
34419
34336
|
};
|
|
34420
34337
|
|
|
34421
|
-
|
|
34338
|
+
function* tokenize(text) {
|
|
34422
34339
|
for (const token of (0, import_js_tokens.default)(text, {jsx: true})) {
|
|
34423
34340
|
switch(token.type) {
|
|
34424
34341
|
case 'TemplateHead':
|
|
@@ -34465,7 +34382,8 @@ tokenize = function*(text) {
|
|
|
34465
34382
|
};
|
|
34466
34383
|
}
|
|
34467
34384
|
}
|
|
34468
|
-
}
|
|
34385
|
+
}
|
|
34386
|
+
|
|
34469
34387
|
function highlight(text) {
|
|
34470
34388
|
if (text === '')
|
|
34471
34389
|
return '';
|
|
@@ -35129,13 +35047,13 @@ function stringTemplate(formatter, code2, opts) {
|
|
|
35129
35047
|
}
|
|
35130
35048
|
|
|
35131
35049
|
function literalTemplate(formatter, tpl, opts) {
|
|
35132
|
-
const {metadata, names} = buildLiteralData(formatter, tpl, opts);
|
|
35050
|
+
const {metadata, names: names2} = buildLiteralData(formatter, tpl, opts);
|
|
35133
35051
|
|
|
35134
35052
|
return (arg) => {
|
|
35135
35053
|
const defaultReplacements = {};
|
|
35136
35054
|
|
|
35137
35055
|
arg.forEach((replacement, i) => {
|
|
35138
|
-
defaultReplacements[
|
|
35056
|
+
defaultReplacements[names2[i]] = replacement;
|
|
35139
35057
|
});
|
|
35140
35058
|
return (arg2) => {
|
|
35141
35059
|
const replacements = normalizeReplacements(arg2);
|
|
@@ -35162,11 +35080,11 @@ function buildLiteralData(formatter, tpl, opts) {
|
|
|
35162
35080
|
do {
|
|
35163
35081
|
prefix2 = '$$' + prefix2;
|
|
35164
35082
|
} while (raw.includes(prefix2))
|
|
35165
|
-
const {names, code: code2} = buildTemplateCode(tpl, prefix2);
|
|
35083
|
+
const {names: names2, code: code2} = buildTemplateCode(tpl, prefix2);
|
|
35166
35084
|
|
|
35167
35085
|
const metadata = parseAndBuildMetadata(formatter, formatter.code(code2), {
|
|
35168
35086
|
parser: opts.parser,
|
|
35169
|
-
placeholderWhitelist: new Set(
|
|
35087
|
+
placeholderWhitelist: new Set(names2.concat(opts.placeholderWhitelist ? Array.from(opts.placeholderWhitelist) : [])),
|
|
35170
35088
|
placeholderPattern: opts.placeholderPattern,
|
|
35171
35089
|
preserveComments: opts.preserveComments,
|
|
35172
35090
|
syntacticPlaceholders: opts.syntacticPlaceholders,
|
|
@@ -35174,22 +35092,22 @@ function buildLiteralData(formatter, tpl, opts) {
|
|
|
35174
35092
|
|
|
35175
35093
|
return {
|
|
35176
35094
|
metadata,
|
|
35177
|
-
names,
|
|
35095
|
+
names: names2,
|
|
35178
35096
|
};
|
|
35179
35097
|
}
|
|
35180
35098
|
|
|
35181
35099
|
function buildTemplateCode(tpl, prefix2) {
|
|
35182
|
-
const
|
|
35100
|
+
const names2 = [];
|
|
35183
35101
|
let code2 = tpl[0];
|
|
35184
35102
|
|
|
35185
35103
|
for (let i = 1; i < tpl.length; i++) {
|
|
35186
35104
|
const value = `${prefix2}${i - 1}`;
|
|
35187
|
-
|
|
35105
|
+
names2.push(value);
|
|
35188
35106
|
code2 += value + tpl[i];
|
|
35189
35107
|
}
|
|
35190
35108
|
|
|
35191
35109
|
return {
|
|
35192
|
-
names,
|
|
35110
|
+
names: names2,
|
|
35193
35111
|
code: code2,
|
|
35194
35112
|
};
|
|
35195
35113
|
}
|
|
@@ -35932,7 +35850,7 @@ var TraceMap = class {
|
|
|
35932
35850
|
const {
|
|
35933
35851
|
version,
|
|
35934
35852
|
file: file2,
|
|
35935
|
-
names,
|
|
35853
|
+
names: names2,
|
|
35936
35854
|
sourceRoot,
|
|
35937
35855
|
sources,
|
|
35938
35856
|
sourcesContent,
|
|
@@ -35940,7 +35858,7 @@ var TraceMap = class {
|
|
|
35940
35858
|
|
|
35941
35859
|
this.version = version;
|
|
35942
35860
|
this.file = file2;
|
|
35943
|
-
this.names =
|
|
35861
|
+
this.names = names2 || [];
|
|
35944
35862
|
this.sourceRoot = sourceRoot;
|
|
35945
35863
|
this.sources = sources;
|
|
35946
35864
|
this.sourcesContent = sourcesContent;
|
|
@@ -36009,11 +35927,11 @@ function originalPositionFor(map, needle) {
|
|
|
36009
35927
|
return OMapping(null, null, null, null);
|
|
36010
35928
|
|
|
36011
35929
|
const {
|
|
36012
|
-
names,
|
|
35930
|
+
names: names2,
|
|
36013
35931
|
resolvedSources,
|
|
36014
35932
|
} = map;
|
|
36015
35933
|
|
|
36016
|
-
return OMapping(resolvedSources[segment[SOURCES_INDEX]], segment[SOURCE_LINE] + 1, segment[SOURCE_COLUMN], segment.length === 5 ?
|
|
35934
|
+
return OMapping(resolvedSources[segment[SOURCES_INDEX]], segment[SOURCE_LINE] + 1, segment[SOURCE_COLUMN], segment.length === 5 ? names2[segment[NAMES_INDEX]] : null);
|
|
36017
35935
|
}
|
|
36018
35936
|
|
|
36019
35937
|
function OMapping(source, line, column, name) {
|
|
@@ -36112,7 +36030,7 @@ function toDecodedMap(map) {
|
|
|
36112
36030
|
_mappings: mappings,
|
|
36113
36031
|
_sources: sources,
|
|
36114
36032
|
_sourcesContent: sourcesContent,
|
|
36115
|
-
_names:
|
|
36033
|
+
_names: names2,
|
|
36116
36034
|
_ignoreList: ignoreList,
|
|
36117
36035
|
} = cast22(map);
|
|
36118
36036
|
|
|
@@ -36120,7 +36038,7 @@ function toDecodedMap(map) {
|
|
|
36120
36038
|
return {
|
|
36121
36039
|
version: 3,
|
|
36122
36040
|
file: map.file || void 0,
|
|
36123
|
-
names:
|
|
36041
|
+
names: names2.array,
|
|
36124
36042
|
sourceRoot: map.sourceRoot || void 0,
|
|
36125
36043
|
sources: sources.array,
|
|
36126
36044
|
sourcesContent,
|
|
@@ -36147,7 +36065,7 @@ function allMappings(map) {
|
|
|
36147
36065
|
const {
|
|
36148
36066
|
_mappings: mappings,
|
|
36149
36067
|
_sources: sources,
|
|
36150
|
-
_names:
|
|
36068
|
+
_names: names2,
|
|
36151
36069
|
} = cast22(map);
|
|
36152
36070
|
|
|
36153
36071
|
for (let i = 0; i < mappings.length; i++) {
|
|
@@ -36171,7 +36089,7 @@ function allMappings(map) {
|
|
|
36171
36089
|
};
|
|
36172
36090
|
|
|
36173
36091
|
if (seg.length === 5)
|
|
36174
|
-
name =
|
|
36092
|
+
name = names2.array[seg[NAMES_INDEX2]];
|
|
36175
36093
|
}
|
|
36176
36094
|
|
|
36177
36095
|
out.push({
|
|
@@ -36191,7 +36109,7 @@ function addSegmentInternal(skipable, map, genLine, genColumn, source, sourceLin
|
|
|
36191
36109
|
_mappings: mappings,
|
|
36192
36110
|
_sources: sources,
|
|
36193
36111
|
_sourcesContent: sourcesContent,
|
|
36194
|
-
_names:
|
|
36112
|
+
_names: names2,
|
|
36195
36113
|
} = cast22(map);
|
|
36196
36114
|
|
|
36197
36115
|
const line = getIndex(mappings, genLine);
|
|
@@ -36207,7 +36125,7 @@ function addSegmentInternal(skipable, map, genLine, genColumn, source, sourceLin
|
|
|
36207
36125
|
assert3(sourceLine);
|
|
36208
36126
|
assert3(sourceColumn);
|
|
36209
36127
|
const sourcesIndex = put(sources, source);
|
|
36210
|
-
const namesIndex = name ? put(
|
|
36128
|
+
const namesIndex = name ? put(names2, name) : NO_NAME;
|
|
36211
36129
|
|
|
36212
36130
|
if (sourcesIndex === sourcesContent.length)
|
|
36213
36131
|
sourcesContent[sourcesIndex] = content != null ? content : null;
|
|
@@ -36918,14 +36836,14 @@ var nodes = {
|
|
|
36918
36836
|
VariableDeclaration(node) {
|
|
36919
36837
|
for (let i = 0; i < node.declarations.length; i++) {
|
|
36920
36838
|
const declar = node.declarations[i];
|
|
36921
|
-
let
|
|
36839
|
+
let enabled2 = isHelper(declar.id) && !isType2(declar.init);
|
|
36922
36840
|
|
|
36923
|
-
if (!
|
|
36841
|
+
if (!enabled2 && declar.init) {
|
|
36924
36842
|
const state = crawl(declar.init);
|
|
36925
|
-
|
|
36843
|
+
enabled2 = isHelper(declar.init) && state.hasCall || state.hasFunction;
|
|
36926
36844
|
}
|
|
36927
36845
|
|
|
36928
|
-
if (
|
|
36846
|
+
if (enabled2) {
|
|
36929
36847
|
return 1 | 2;
|
|
36930
36848
|
}
|
|
36931
36849
|
}
|
|
@@ -42445,10 +42363,108 @@ function generate(ast, opts = {}, code2) {
|
|
|
42445
42363
|
return printer.generate(ast);
|
|
42446
42364
|
}
|
|
42447
42365
|
|
|
42448
|
-
// ../babel-babel/
|
|
42449
|
-
|
|
42366
|
+
// ../babel-babel/node_modules/obug/dist/core.js
|
|
42367
|
+
function selectColor(colors2, namespace) {
|
|
42368
|
+
let hash = 0;
|
|
42369
|
+
|
|
42370
|
+
for (let i = 0; i < namespace.length; i++) {
|
|
42371
|
+
hash = (hash << 5) - hash + namespace.charCodeAt(i);
|
|
42372
|
+
hash |= 0;
|
|
42373
|
+
}
|
|
42374
|
+
|
|
42375
|
+
return colors2[Math.abs(hash) % colors2.length];
|
|
42376
|
+
}
|
|
42377
|
+
|
|
42378
|
+
function humanize(value) {
|
|
42379
|
+
if (value >= 1e3)
|
|
42380
|
+
return `${(value / 1e3).toFixed(1)}s`;
|
|
42381
|
+
|
|
42382
|
+
return `${value}ms`;
|
|
42383
|
+
}
|
|
42384
|
+
|
|
42385
|
+
var globalNamespaces = '';
|
|
42386
|
+
|
|
42387
|
+
function createDebug() {}
|
|
42388
|
+
|
|
42389
|
+
var names = [];
|
|
42390
|
+
var skips = [];
|
|
42391
|
+
|
|
42392
|
+
function enable(namespaces$1) {
|
|
42393
|
+
globalNamespaces = namespaces$1;
|
|
42394
|
+
names = [];
|
|
42395
|
+
skips = [];
|
|
42396
|
+
const split = globalNamespaces
|
|
42397
|
+
.trim()
|
|
42398
|
+
.replace(/\s+/g, ',')
|
|
42399
|
+
.split(',')
|
|
42400
|
+
.filter(Boolean);
|
|
42401
|
+
|
|
42402
|
+
for (const ns of split)
|
|
42403
|
+
if (ns[0] === '-')
|
|
42404
|
+
skips.push(ns.slice(1));
|
|
42405
|
+
else
|
|
42406
|
+
names.push(ns);
|
|
42407
|
+
}
|
|
42408
|
+
|
|
42409
|
+
// ../babel-babel/node_modules/obug/dist/node.js
|
|
42410
|
+
var import_node_tty = {
|
|
42411
|
+
isatty: () => false,
|
|
42412
|
+
};
|
|
42413
|
+
var import_node_util = {
|
|
42414
|
+
formatWithOptions: () => false,
|
|
42415
|
+
inspect: () => false,
|
|
42416
|
+
};
|
|
42417
|
+
|
|
42418
|
+
var colors = [];
|
|
42450
42419
|
|
|
42420
|
+
var inspectOpts = {};
|
|
42421
|
+
|
|
42422
|
+
function useColors() {
|
|
42423
|
+
return 'colors' in inspectOpts ? Boolean(inspectOpts.colors) : (0, import_node_tty.isatty)(process.stderr.fd);
|
|
42424
|
+
}
|
|
42425
|
+
|
|
42426
|
+
function formatArgs() {}
|
|
42427
|
+
|
|
42428
|
+
function log(...args) {
|
|
42429
|
+
process.stderr.write(`${(0, import_node_util.formatWithOptions)(this.inspectOpts, ...args)}
|
|
42430
|
+
`);
|
|
42431
|
+
}
|
|
42432
|
+
|
|
42433
|
+
var defaultOptions = {
|
|
42434
|
+
useColors: useColors(),
|
|
42435
|
+
formatArgs,
|
|
42436
|
+
formatters: {
|
|
42437
|
+
o(v) {
|
|
42438
|
+
this.inspectOpts.colors = this.useColors;
|
|
42439
|
+
return (0, import_node_util.inspect)(v, this
|
|
42440
|
+
.inspectOpts)
|
|
42441
|
+
.split('\n')
|
|
42442
|
+
.map((str) => str.trim())
|
|
42443
|
+
.join(' ');
|
|
42444
|
+
},
|
|
42445
|
+
O(v) {
|
|
42446
|
+
this.inspectOpts.colors = this.useColors;
|
|
42447
|
+
return (0, import_node_util.inspect)(v, this.inspectOpts);
|
|
42448
|
+
},
|
|
42449
|
+
},
|
|
42450
|
+
inspectOpts,
|
|
42451
|
+
log,
|
|
42452
|
+
humanize,
|
|
42453
|
+
};
|
|
42454
|
+
|
|
42455
|
+
function createDebug2(namespace, options) {
|
|
42456
|
+
var _ref;
|
|
42457
|
+
const color = (_ref = options && options.color) !== null && _ref !== void 0 ? _ref : selectColor(colors, namespace);
|
|
42458
|
+
|
|
42459
|
+
return createDebug(namespace, Object.assign(
|
|
42460
|
+
defaultOptions,{color},
|
|
42461
|
+
options,
|
|
42462
|
+
));
|
|
42463
|
+
}
|
|
42464
|
+
|
|
42465
|
+
enable(process.env.DEBUG || '');
|
|
42451
42466
|
// ../babel-babel/packages/babel-helper-globals/data/builtin-lower.json
|
|
42467
|
+
|
|
42452
42468
|
var builtin_lower_default = [
|
|
42453
42469
|
'decodeURI',
|
|
42454
42470
|
'decodeURIComponent',
|
|
@@ -48241,7 +48257,7 @@ function addComments2(type, comments) {
|
|
|
48241
48257
|
|
|
48242
48258
|
var {validate: validate3} = lib_exports;
|
|
48243
48259
|
|
|
48244
|
-
var debug = (
|
|
48260
|
+
var debug = createDebug2('babel');
|
|
48245
48261
|
var REMOVED = 1 << 0;
|
|
48246
48262
|
var SHOULD_STOP = 1 << 1;
|
|
48247
48263
|
var SHOULD_SKIP = 1 << 2;
|
package/bundle/metafile-cjs.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"inputs":{"../babel-babel/packages/babel-helper-validator-identifier/lib/index.js":{"bytes":13698,"imports":[],"format":"esm"},"../babel-babel/packages/babel-helper-string-parser/lib/index.js":{"bytes":7680,"imports":[],"format":"esm"},"../babel-babel/packages/babel-types/lib/index.js":{"bytes":354155,"imports":[{"path":"../babel-babel/packages/babel-helper-validator-identifier/lib/index.js","kind":"import-statement","original":"@babel/helper-validator-identifier"},{"path":"../babel-babel/packages/babel-helper-string-parser/lib/index.js","kind":"import-statement","original":"@babel/helper-string-parser"}],"format":"esm"},"../babel-babel/packages/babel-parser/lib/index.js":{"bytes":492765,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../babel-babel/node_modules/picocolors/picocolors.js":{"bytes":2663,"imports":[],"format":"cjs"},"../babel-babel/node_modules/js-tokens-BABEL_8_BREAKING-true/index.js":{"bytes":12375,"imports":[],"format":"cjs"},"../babel-babel/node_modules/js-tokens-BABEL_8_BREAKING-false/index.js":{"bytes":1448,"imports":[],"format":"cjs"},"../babel-babel/node_modules/js-tokens/index.js":{"bytes":349,"imports":[{"path":"../babel-babel/node_modules/js-tokens-BABEL_8_BREAKING-true/index.js","kind":"require-call","original":"js-tokens-BABEL_8_BREAKING-true"},{"path":"../babel-babel/node_modules/js-tokens-BABEL_8_BREAKING-false/index.js","kind":"require-call","original":"js-tokens-BABEL_8_BREAKING-false"}],"format":"cjs"},"../babel-babel/packages/babel-code-frame/lib/index.js":{"bytes":8087,"imports":[{"path":"../babel-babel/node_modules/picocolors/picocolors.js","kind":"import-statement","original":"picocolors"},{"path":"../babel-babel/node_modules/js-tokens/index.js","kind":"import-statement","original":"js-tokens"},{"path":"../babel-babel/packages/babel-helper-validator-identifier/lib/index.js","kind":"import-statement","original":"@babel/helper-validator-identifier"}],"format":"esm"},"../babel-babel/packages/babel-template/lib/index.js":{"bytes":17089,"imports":[{"path":"../babel-babel/packages/babel-types/lib/index.js","kind":"import-statement","original":"@babel/types"},{"path":"../babel-babel/packages/babel-parser/lib/index.js","kind":"import-statement","original":"@babel/parser"},{"path":"../babel-babel/packages/babel-code-frame/lib/index.js","kind":"import-statement","original":"@babel/code-frame"}],"format":"esm"},"../babel-babel/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs":{"bytes":12869,"imports":[],"format":"esm"},"../babel-babel/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.mjs":{"bytes":8609,"imports":[],"format":"esm"},"../babel-babel/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.mjs":{"bytes":15571,"imports":[{"path":"../babel-babel/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs","kind":"import-statement","original":"@jridgewell/sourcemap-codec"},{"path":"../babel-babel/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.mjs","kind":"import-statement","original":"@jridgewell/resolve-uri"}],"format":"esm"},"../babel-babel/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.mjs":{"bytes":7969,"imports":[{"path":"../babel-babel/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs","kind":"import-statement","original":"@jridgewell/sourcemap-codec"},{"path":"../babel-babel/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.mjs","kind":"import-statement","original":"@jridgewell/trace-mapping"}],"format":"esm"},"../babel-babel/node_modules/jsesc/jsesc.js":{"bytes":8104,"imports":[],"format":"cjs"},"../babel-babel/packages/babel-generator/lib/index.js":{"bytes":138785,"imports":[{"path":"../babel-babel/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.mjs","kind":"import-statement","original":"@jridgewell/gen-mapping"},{"path":"../babel-babel/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.mjs","kind":"import-statement","original":"@jridgewell/trace-mapping"},{"path":"../babel-babel/packages/babel-types/lib/index.js","kind":"import-statement","original":"@babel/types"},{"path":"../babel-babel/node_modules/jsesc/jsesc.js","kind":"import-statement","original":"jsesc"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../babel-babel/node_modules/ms/index.js":{"bytes":3024,"imports":[],"format":"cjs"},"../babel-babel/node_modules/debug/src/common.js":{"bytes":6915,"imports":[{"path":"../babel-babel/node_modules/ms/index.js","kind":"require-call","original":"ms"}],"format":"cjs"},"../babel-babel/node_modules/debug/src/browser.js":{"bytes":6103,"imports":[{"path":"../babel-babel/node_modules/debug/src/common.js","kind":"require-call","original":"./common"}],"format":"cjs"},"../babel-babel/node_modules/has-flag/index.js":{"bytes":330,"imports":[],"format":"cjs"},"../babel-babel/node_modules/supports-color/index.js":{"bytes":3065,"imports":[{"path":"os","kind":"require-call","external":true},{"path":"tty","kind":"require-call","external":true},{"path":"../babel-babel/node_modules/has-flag/index.js","kind":"require-call","original":"has-flag"}],"format":"cjs"},"../babel-babel/node_modules/debug/src/node.js":{"bytes":4728,"imports":[{"path":"tty","kind":"require-call","external":true},{"path":"util","kind":"require-call","external":true},{"path":"../babel-babel/node_modules/supports-color/index.js","kind":"require-call","original":"supports-color"},{"path":"../babel-babel/node_modules/debug/src/common.js","kind":"require-call","original":"./common"}],"format":"cjs"},"../babel-babel/node_modules/debug/src/index.js":{"bytes":314,"imports":[{"path":"../babel-babel/node_modules/debug/src/browser.js","kind":"require-call","original":"./browser.js"},{"path":"../babel-babel/node_modules/debug/src/node.js","kind":"require-call","original":"./node.js"}],"format":"cjs"},"../babel-babel/packages/babel-helper-globals/data/builtin-lower.json":{"bytes":203,"imports":[],"format":"esm","with":{"type":"json"}},"../babel-babel/packages/babel-helper-globals/data/builtin-upper.json":{"bytes":718,"imports":[],"format":"esm","with":{"type":"json"}},"../babel-babel/packages/babel-traverse/lib/index.js":{"bytes":156199,"imports":[{"path":"../babel-babel/node_modules/debug/src/index.js","kind":"import-statement","original":"debug"},{"path":"../babel-babel/packages/babel-code-frame/lib/index.js","kind":"import-statement","original":"@babel/code-frame"},{"path":"../babel-babel/packages/babel-types/lib/index.js","kind":"import-statement","original":"@babel/types"},{"path":"../babel-babel/packages/babel-parser/lib/index.js","kind":"import-statement","original":"@babel/parser"},{"path":"../babel-babel/packages/babel-helper-globals/data/builtin-lower.json","kind":"import-statement","original":"@babel/helper-globals/data/builtin-lower.json","with":{"type":"json"}},{"path":"../babel-babel/packages/babel-helper-globals/data/builtin-upper.json","kind":"import-statement","original":"@babel/helper-globals/data/builtin-upper.json","with":{"type":"json"}},{"path":"../babel-babel/packages/babel-generator/lib/index.js","kind":"import-statement","original":"@babel/generator"},{"path":"../babel-babel/packages/babel-template/lib/index.js","kind":"import-statement","original":"@babel/template"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"lib/index.mjs":{"bytes":310,"imports":[{"path":"../babel-babel/packages/babel-template/lib/index.js","kind":"import-statement","original":"@babel/template"},{"path":"../babel-babel/packages/babel-generator/lib/index.js","kind":"import-statement","original":"@babel/generator"},{"path":"../babel-babel/packages/babel-types/lib/index.js","kind":"import-statement","original":"@babel/types"},{"path":"../babel-babel/packages/babel-traverse/lib/index.js","kind":"import-statement","original":"@babel/traverse"},{"path":"../babel-babel/packages/babel-parser/lib/index.js","kind":"import-statement","original":"@babel/parser"},{"path":"../babel-babel/packages/babel-code-frame/lib/index.js","kind":"import-statement","original":"@babel/code-frame"}],"format":"esm"}},"outputs":{"bundle/index.js":{"imports":[{"path":"os","kind":"require-call","external":true},{"path":"tty","kind":"require-call","external":true},{"path":"tty","kind":"require-call","external":true},{"path":"util","kind":"require-call","external":true}],"exports":[],"entryPoint":"lib/index.mjs","inputs":{"../babel-babel/node_modules/picocolors/picocolors.js":{"bytesInOutput":3175},"../babel-babel/node_modules/js-tokens-BABEL_8_BREAKING-true/index.js":{"bytesInOutput":16217},"../babel-babel/node_modules/js-tokens-BABEL_8_BREAKING-false/index.js":{"bytesInOutput":1473},"../babel-babel/node_modules/js-tokens/index.js":{"bytesInOutput":399},"../babel-babel/node_modules/jsesc/jsesc.js":{"bytesInOutput":8979},"../babel-babel/node_modules/ms/index.js":{"bytesInOutput":2912},"../babel-babel/node_modules/debug/src/common.js":{"bytesInOutput":5961},"../babel-babel/node_modules/debug/src/browser.js":{"bytesInOutput":4743},"../babel-babel/node_modules/has-flag/index.js":{"bytesInOutput":477},"../babel-babel/node_modules/supports-color/index.js":{"bytesInOutput":3536},"../babel-babel/node_modules/debug/src/node.js":{"bytesInOutput":4363},"../babel-babel/node_modules/debug/src/index.js":{"bytesInOutput":332},"lib/index.mjs":{"bytesInOutput":345},"../babel-babel/packages/babel-types/lib/index.js":{"bytesInOutput":385173},"../babel-babel/packages/babel-helper-validator-identifier/lib/index.js":{"bytesInOutput":13255},"../babel-babel/packages/babel-helper-string-parser/lib/index.js":{"bytesInOutput":7652},"../babel-babel/packages/babel-parser/lib/index.js":{"bytesInOutput":495975},"../babel-babel/packages/babel-code-frame/lib/index.js":{"bytesInOutput":7281},"../babel-babel/packages/babel-template/lib/index.js":{"bytesInOutput":17390},"../babel-babel/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs":{"bytesInOutput":4609},"../babel-babel/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.mjs":{"bytesInOutput":4373},"../babel-babel/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.mjs":{"bytesInOutput":5787},"../babel-babel/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.mjs":{"bytesInOutput":5761},"../babel-babel/packages/babel-generator/lib/index.js":{"bytesInOutput":140890},"../babel-babel/packages/babel-traverse/lib/index.js":{"bytesInOutput":158917},"../babel-babel/packages/babel-helper-globals/data/builtin-lower.json":{"bytesInOutput":232},"../babel-babel/packages/babel-helper-globals/data/builtin-upper.json":{"bytesInOutput":747}},"bytes":1304690}}}
|
|
1
|
+
{"inputs":{"../babel-babel/packages/babel-helper-validator-identifier/lib/index.js":{"bytes":13698,"imports":[],"format":"esm"},"../babel-babel/packages/babel-helper-string-parser/lib/index.js":{"bytes":7680,"imports":[],"format":"esm"},"../babel-babel/packages/babel-types/lib/index.js":{"bytes":353928,"imports":[{"path":"../babel-babel/packages/babel-helper-validator-identifier/lib/index.js","kind":"import-statement","original":"@babel/helper-validator-identifier"},{"path":"../babel-babel/packages/babel-helper-string-parser/lib/index.js","kind":"import-statement","original":"@babel/helper-string-parser"}],"format":"esm"},"../babel-babel/packages/babel-parser/lib/index.js":{"bytes":491249,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../babel-babel/node_modules/picocolors/picocolors.js":{"bytes":2663,"imports":[],"format":"cjs"},"../babel-babel/node_modules/js-tokens/index.js":{"bytes":12391,"imports":[],"format":"cjs"},"../babel-babel/packages/babel-code-frame/lib/index.js":{"bytes":8069,"imports":[{"path":"../babel-babel/node_modules/picocolors/picocolors.js","kind":"import-statement","original":"picocolors"},{"path":"../babel-babel/node_modules/js-tokens/index.js","kind":"import-statement","original":"js-tokens"},{"path":"../babel-babel/packages/babel-helper-validator-identifier/lib/index.js","kind":"import-statement","original":"@babel/helper-validator-identifier"}],"format":"esm"},"../babel-babel/packages/babel-template/lib/index.js":{"bytes":17089,"imports":[{"path":"../babel-babel/packages/babel-types/lib/index.js","kind":"import-statement","original":"@babel/types"},{"path":"../babel-babel/packages/babel-parser/lib/index.js","kind":"import-statement","original":"@babel/parser"},{"path":"../babel-babel/packages/babel-code-frame/lib/index.js","kind":"import-statement","original":"@babel/code-frame"}],"format":"esm"},"../babel-babel/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs":{"bytes":12869,"imports":[],"format":"esm"},"../babel-babel/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.mjs":{"bytes":8609,"imports":[],"format":"esm"},"../babel-babel/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.mjs":{"bytes":15571,"imports":[{"path":"../babel-babel/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs","kind":"import-statement","original":"@jridgewell/sourcemap-codec"},{"path":"../babel-babel/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.mjs","kind":"import-statement","original":"@jridgewell/resolve-uri"}],"format":"esm"},"../babel-babel/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.mjs":{"bytes":7969,"imports":[{"path":"../babel-babel/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs","kind":"import-statement","original":"@jridgewell/sourcemap-codec"},{"path":"../babel-babel/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.mjs","kind":"import-statement","original":"@jridgewell/trace-mapping"}],"format":"esm"},"../babel-babel/node_modules/jsesc/jsesc.js":{"bytes":8104,"imports":[],"format":"cjs"},"../babel-babel/packages/babel-generator/lib/index.js":{"bytes":138777,"imports":[{"path":"../babel-babel/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.mjs","kind":"import-statement","original":"@jridgewell/gen-mapping"},{"path":"../babel-babel/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.mjs","kind":"import-statement","original":"@jridgewell/trace-mapping"},{"path":"../babel-babel/packages/babel-types/lib/index.js","kind":"import-statement","original":"@babel/types"},{"path":"../babel-babel/node_modules/jsesc/jsesc.js","kind":"import-statement","original":"jsesc"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../babel-babel/node_modules/obug/dist/core.js":{"bytes":3557,"imports":[],"format":"esm"},"../babel-babel/node_modules/obug/dist/node.js":{"bytes":3091,"imports":[{"path":"../babel-babel/node_modules/obug/dist/core.js","kind":"import-statement","original":"./core.js"},{"path":"tty","kind":"import-statement","external":true},{"path":"util","kind":"import-statement","external":true}],"format":"esm"},"../babel-babel/packages/babel-helper-globals/data/builtin-lower.json":{"bytes":203,"imports":[],"format":"esm","with":{"type":"json"}},"../babel-babel/packages/babel-helper-globals/data/builtin-upper.json":{"bytes":718,"imports":[],"format":"esm","with":{"type":"json"}},"../babel-babel/packages/babel-traverse/lib/index.js":{"bytes":156063,"imports":[{"path":"../babel-babel/node_modules/obug/dist/node.js","kind":"import-statement","original":"obug"},{"path":"../babel-babel/packages/babel-code-frame/lib/index.js","kind":"import-statement","original":"@babel/code-frame"},{"path":"../babel-babel/packages/babel-types/lib/index.js","kind":"import-statement","original":"@babel/types"},{"path":"../babel-babel/packages/babel-parser/lib/index.js","kind":"import-statement","original":"@babel/parser"},{"path":"../babel-babel/packages/babel-helper-globals/data/builtin-lower.json","kind":"import-statement","original":"@babel/helper-globals/data/builtin-lower.json","with":{"type":"json"}},{"path":"../babel-babel/packages/babel-helper-globals/data/builtin-upper.json","kind":"import-statement","original":"@babel/helper-globals/data/builtin-upper.json","with":{"type":"json"}},{"path":"../babel-babel/packages/babel-generator/lib/index.js","kind":"import-statement","original":"@babel/generator"},{"path":"../babel-babel/packages/babel-template/lib/index.js","kind":"import-statement","original":"@babel/template"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"lib/index.mjs":{"bytes":310,"imports":[{"path":"../babel-babel/packages/babel-template/lib/index.js","kind":"import-statement","original":"@babel/template"},{"path":"../babel-babel/packages/babel-generator/lib/index.js","kind":"import-statement","original":"@babel/generator"},{"path":"../babel-babel/packages/babel-types/lib/index.js","kind":"import-statement","original":"@babel/types"},{"path":"../babel-babel/packages/babel-traverse/lib/index.js","kind":"import-statement","original":"@babel/traverse"},{"path":"../babel-babel/packages/babel-parser/lib/index.js","kind":"import-statement","original":"@babel/parser"},{"path":"../babel-babel/packages/babel-code-frame/lib/index.js","kind":"import-statement","original":"@babel/code-frame"}],"format":"esm"}},"outputs":{"bundle/index.js":{"imports":[{"path":"tty","kind":"require-call","external":true},{"path":"util","kind":"require-call","external":true}],"exports":[],"entryPoint":"lib/index.mjs","inputs":{"../babel-babel/node_modules/picocolors/picocolors.js":{"bytesInOutput":3178},"../babel-babel/node_modules/js-tokens/index.js":{"bytesInOutput":16171},"../babel-babel/node_modules/jsesc/jsesc.js":{"bytesInOutput":8979},"lib/index.mjs":{"bytesInOutput":345},"../babel-babel/packages/babel-types/lib/index.js":{"bytesInOutput":384946},"../babel-babel/packages/babel-helper-validator-identifier/lib/index.js":{"bytesInOutput":13255},"../babel-babel/packages/babel-helper-string-parser/lib/index.js":{"bytesInOutput":7652},"../babel-babel/packages/babel-parser/lib/index.js":{"bytesInOutput":494455},"../babel-babel/packages/babel-code-frame/lib/index.js":{"bytesInOutput":7283},"../babel-babel/packages/babel-template/lib/index.js":{"bytesInOutput":17426},"../babel-babel/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs":{"bytesInOutput":4609},"../babel-babel/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.mjs":{"bytesInOutput":4373},"../babel-babel/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.mjs":{"bytesInOutput":5805},"../babel-babel/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.mjs":{"bytesInOutput":5767},"../babel-babel/packages/babel-generator/lib/index.js":{"bytesInOutput":140886},"../babel-babel/node_modules/obug/dist/core.js":{"bytesInOutput":3434},"../babel-babel/node_modules/obug/dist/node.js":{"bytesInOutput":2889},"../babel-babel/packages/babel-helper-globals/data/builtin-lower.json":{"bytesInOutput":232},"../babel-babel/packages/babel-helper-globals/data/builtin-upper.json":{"bytesInOutput":747},"../babel-babel/packages/babel-traverse/lib/index.js":{"bytesInOutput":158717}},"bytes":1284426}}}
|