@tachybase/module-cloud-component 1.1.22 → 1.1.23

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.
Files changed (77) hide show
  1. package/dist/client/index.js +482 -495
  2. package/dist/externalVersion.js +7 -7
  3. package/dist/node_modules/@babel/core/lib/config/files/configuration.js +5 -2
  4. package/dist/node_modules/@babel/core/lib/config/files/module-types.js +74 -63
  5. package/dist/node_modules/@babel/core/lib/config/files/plugins.js +1 -0
  6. package/dist/node_modules/@babel/core/lib/config/partial.js +1 -1
  7. package/dist/node_modules/@babel/core/lib/index.js +21 -21
  8. package/dist/node_modules/@babel/core/lib/transformation/file/babel-7-helpers.cjs +3 -1
  9. package/dist/node_modules/@babel/core/lib/transformation/file/file.js +10 -5
  10. package/dist/node_modules/@babel/core/lib/transformation/util/clone-deep.js +27 -7
  11. package/dist/node_modules/@babel/core/node_modules/.bin/parser +4 -4
  12. package/dist/node_modules/@babel/core/package.json +1 -1
  13. package/dist/node_modules/@babel/core/src/config/files/index-browser.ts +2 -0
  14. package/dist/node_modules/@babel/core/src/config/resolve-targets-browser.ts +2 -0
  15. package/dist/node_modules/@babel/core/src/config/resolve-targets.ts +1 -1
  16. package/dist/node_modules/@babel/core/src/transform-file-browser.ts +2 -0
  17. package/dist/node_modules/@babel/parser/bin/babel-parser.js +1 -1
  18. package/dist/node_modules/@babel/parser/lib/index.js +1 -1
  19. package/dist/node_modules/@babel/parser/package.json +1 -1
  20. package/dist/node_modules/@babel/parser/typings/babel-parser.d.ts +132 -164
  21. package/dist/node_modules/@babel/preset-env/LICENSE +22 -0
  22. package/dist/node_modules/@babel/preset-env/data/built-in-modules.js +3 -0
  23. package/dist/node_modules/@babel/preset-env/data/built-in-modules.json.js +3 -0
  24. package/dist/node_modules/@babel/preset-env/data/built-ins.js +4 -0
  25. package/dist/node_modules/@babel/preset-env/data/built-ins.json.js +4 -0
  26. package/dist/node_modules/@babel/preset-env/data/core-js-compat.js +3 -0
  27. package/dist/node_modules/@babel/preset-env/data/corejs2-built-ins.js +3 -0
  28. package/dist/node_modules/@babel/preset-env/data/corejs2-built-ins.json.js +3 -0
  29. package/dist/node_modules/@babel/preset-env/data/package.json +1 -0
  30. package/dist/node_modules/@babel/preset-env/data/plugins.js +3 -0
  31. package/dist/node_modules/@babel/preset-env/data/plugins.json.js +3 -0
  32. package/dist/node_modules/@babel/preset-env/data/shipped-proposals.js +4 -0
  33. package/dist/node_modules/@babel/preset-env/data/unreleased-labels.js +3 -0
  34. package/dist/node_modules/@babel/preset-env/lib/available-plugins.js +172 -0
  35. package/dist/node_modules/@babel/preset-env/lib/debug.js +37 -0
  36. package/dist/node_modules/@babel/preset-env/lib/filter-items.js +32 -0
  37. package/dist/node_modules/@babel/preset-env/lib/index.js +352 -0
  38. package/dist/node_modules/@babel/preset-env/lib/module-transformations.js +15 -0
  39. package/dist/node_modules/@babel/preset-env/lib/normalize-options.js +151 -0
  40. package/dist/node_modules/@babel/preset-env/lib/options.js +43 -0
  41. package/dist/node_modules/@babel/preset-env/lib/plugins-compat-data.js +28 -0
  42. package/dist/node_modules/@babel/preset-env/lib/polyfills/babel-7-plugins.cjs +21 -0
  43. package/dist/node_modules/@babel/preset-env/lib/polyfills/babel-polyfill.cjs +69 -0
  44. package/dist/node_modules/@babel/preset-env/lib/polyfills/regenerator.cjs +44 -0
  45. package/dist/node_modules/@babel/preset-env/lib/polyfills/utils.cjs +22 -0
  46. package/dist/node_modules/@babel/preset-env/lib/shipped-proposals.js +29 -0
  47. package/dist/node_modules/@babel/preset-env/lib/targets-parser.js +20 -0
  48. package/dist/node_modules/@babel/preset-env/node_modules/.bin/semver +21 -0
  49. package/dist/node_modules/@babel/preset-env/package.json +1 -0
  50. package/dist/node_modules/@babel/preset-react/LICENSE +22 -0
  51. package/dist/node_modules/@babel/preset-react/lib/index.js +231 -0
  52. package/dist/node_modules/@babel/preset-react/package.json +1 -0
  53. package/dist/node_modules/@babel/preset-typescript/LICENSE +22 -0
  54. package/dist/node_modules/@babel/preset-typescript/lib/index.js +227 -0
  55. package/dist/node_modules/@babel/preset-typescript/package.json +1 -0
  56. package/dist/node_modules/@babel/traverse/lib/cache.js +10 -16
  57. package/dist/node_modules/@babel/traverse/lib/index.js +5 -5
  58. package/dist/node_modules/@babel/traverse/lib/path/ancestry.js +1 -3
  59. package/dist/node_modules/@babel/traverse/lib/path/conversion.js +7 -4
  60. package/dist/node_modules/@babel/traverse/lib/path/evaluation.js +23 -2
  61. package/dist/node_modules/@babel/traverse/lib/path/family.js +13 -7
  62. package/dist/node_modules/@babel/traverse/lib/path/index.js +2 -1
  63. package/dist/node_modules/@babel/traverse/lib/path/modification.js +3 -2
  64. package/dist/node_modules/@babel/traverse/lib/path/removal.js +2 -1
  65. package/dist/node_modules/@babel/traverse/lib/path/replacement.js +2 -2
  66. package/dist/node_modules/@babel/traverse/lib/scope/binding.js +4 -3
  67. package/dist/node_modules/@babel/traverse/lib/scope/index.js +93 -37
  68. package/dist/node_modules/@babel/traverse/lib/traverse-node.js +109 -0
  69. package/dist/node_modules/@babel/traverse/lib/visitors.js +1 -1
  70. package/dist/node_modules/@babel/traverse/node_modules/.bin/parser +4 -4
  71. package/dist/node_modules/@babel/traverse/package.json +1 -1
  72. package/dist/node_modules/@hapi/topo/package.json +1 -1
  73. package/dist/server/services/cloud-compiler.d.ts +2 -2
  74. package/dist/server/services/cloud-compiler.js +6 -6
  75. package/package.json +18 -14
  76. package/dist/node_modules/@babel/core/cjs-proxy.cjs +0 -68
  77. package/dist/node_modules/@babel/parser/index.cjs +0 -5
@@ -1 +1 @@
1
- {"name":"@babel/parser","version":"7.26.3","description":"A JavaScript parser","author":"The Babel Team (https://babel.dev/team)","homepage":"https://babel.dev/docs/en/next/babel-parser","bugs":"https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+label%3A%22pkg%3A+parser+%28babylon%29%22+is%3Aopen","license":"MIT","publishConfig":{"access":"public"},"keywords":["babel","javascript","parser","tc39","ecmascript","@babel/parser"],"repository":{"type":"git","url":"https://github.com/babel/babel.git","directory":"packages/babel-parser"},"main":"./lib/index.js","types":"./typings/babel-parser.d.ts","files":["bin","lib","typings/babel-parser.d.ts","index.cjs"],"engines":{"node":">=6.0.0"},"# dependencies":"This package doesn't actually have runtime dependencies. @babel/types is only needed for type definitions.","dependencies":{"@babel/types":"^7.26.3"},"devDependencies":{"@babel/code-frame":"^7.26.2","@babel/helper-check-duplicate-nodes":"^7.25.9","@babel/helper-fixtures":"^7.26.0","@babel/helper-string-parser":"^7.25.9","@babel/helper-validator-identifier":"^7.25.9","charcodes":"^0.2.0"},"bin":"./bin/babel-parser.js","type":"commonjs","_lastModified":"2025-06-17T07:10:00.251Z"}
1
+ {"name":"@babel/parser","version":"7.27.5","description":"A JavaScript parser","author":"The Babel Team (https://babel.dev/team)","homepage":"https://babel.dev/docs/en/next/babel-parser","bugs":"https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+label%3A%22pkg%3A+parser+%28babylon%29%22+is%3Aopen","license":"MIT","publishConfig":{"access":"public"},"keywords":["babel","javascript","parser","tc39","ecmascript","@babel/parser"],"repository":{"type":"git","url":"https://github.com/babel/babel.git","directory":"packages/babel-parser"},"main":"./lib/index.js","types":"./typings/babel-parser.d.ts","files":["bin","lib","typings/babel-parser.d.ts","index.cjs"],"engines":{"node":">=6.0.0"},"# dependencies":"This package doesn't actually have runtime dependencies. @babel/types is only needed for type definitions.","dependencies":{"@babel/types":"^7.27.3"},"devDependencies":{"@babel/code-frame":"^7.27.1","@babel/helper-check-duplicate-nodes":"^7.27.1","@babel/helper-fixtures":"^7.27.1","@babel/helper-string-parser":"^7.27.1","@babel/helper-validator-identifier":"^7.27.1","charcodes":"^0.2.0"},"bin":"./bin/babel-parser.js","type":"commonjs","_lastModified":"2025-06-17T09:01:21.551Z"}
@@ -1,11 +1,12 @@
1
1
  // This file is auto-generated! Do not modify it directly.
2
+ // Run `yarn gulp bundle-dts` to re-generate it.
2
3
  /* eslint-disable @typescript-eslint/consistent-type-imports, @typescript-eslint/no-redundant-type-constituents */
3
- import * as _babel_types from '@babel/types';
4
+ import { File, Expression } from '@babel/types';
4
5
 
5
6
  type BABEL_8_BREAKING = false;
6
7
  type IF_BABEL_7<V> = false extends BABEL_8_BREAKING ? V : never;
7
8
 
8
- type Plugin =
9
+ type Plugin$1 =
9
10
  | "asyncDoExpressions"
10
11
  | IF_BABEL_7<"asyncGenerators">
11
12
  | IF_BABEL_7<"bigInt">
@@ -62,7 +63,7 @@ type ParserPluginWithOptions =
62
63
  | ["flow", FlowPluginOptions]
63
64
  | ["typescript", TypeScriptPluginOptions];
64
65
 
65
- type PluginConfig = Plugin | ParserPluginWithOptions;
66
+ type PluginConfig = Plugin$1 | ParserPluginWithOptions;
66
67
 
67
68
  interface DecoratorsPluginOptions {
68
69
  decoratorsBeforeExport?: boolean;
@@ -94,174 +95,141 @@ interface TypeScriptPluginOptions {
94
95
  disallowAmbiguousJSXLike?: boolean;
95
96
  }
96
97
 
97
- // Type definitions for @babel/parser
98
- // Project: https://github.com/babel/babel/tree/main/packages/babel-parser
99
- // Definitions by: Troy Gerwien <https://github.com/yortus>
100
- // Marvin Hagemeister <https://github.com/marvinhagemeister>
101
- // Avi Vahl <https://github.com/AviVahl>
102
- // TypeScript Version: 2.9
98
+ type Plugin = PluginConfig;
99
+
100
+ interface Options {
101
+ /**
102
+ * By default, import and export declarations can only appear at a program's top level.
103
+ * Setting this option to true allows them anywhere where a statement is allowed.
104
+ */
105
+ allowImportExportEverywhere?: boolean;
106
+ /**
107
+ * By default, await use is not allowed outside of an async function.
108
+ * Set this to true to accept such code.
109
+ */
110
+ allowAwaitOutsideFunction?: boolean;
111
+ /**
112
+ * By default, a return statement at the top level raises an error.
113
+ * Set this to true to accept such code.
114
+ */
115
+ allowReturnOutsideFunction?: boolean;
116
+ /**
117
+ * By default, new.target use is not allowed outside of a function or class.
118
+ * Set this to true to accept such code.
119
+ */
120
+ allowNewTargetOutsideFunction?: boolean;
121
+ allowSuperOutsideMethod?: boolean;
122
+ /**
123
+ * By default, exported identifiers must refer to a declared variable.
124
+ * Set this to true to allow export statements to reference undeclared variables.
125
+ */
126
+ allowUndeclaredExports?: boolean;
127
+ /**
128
+ * By default, yield use is not allowed outside of a generator function.
129
+ * Set this to true to accept such code.
130
+ */
131
+ allowYieldOutsideFunction?: boolean;
132
+ /**
133
+ * By default, Babel parser JavaScript code according to Annex B syntax.
134
+ * Set this to `false` to disable such behavior.
135
+ */
136
+ annexB?: boolean;
137
+ /**
138
+ * By default, Babel attaches comments to adjacent AST nodes.
139
+ * When this option is set to false, comments are not attached.
140
+ * It can provide up to 30% performance improvement when the input code has many comments.
141
+ * @babel/eslint-parser will set it for you.
142
+ * It is not recommended to use attachComment: false with Babel transform,
143
+ * as doing so removes all the comments in output code, and renders annotations such as
144
+ * /* istanbul ignore next *\/ nonfunctional.
145
+ */
146
+ attachComment?: boolean;
147
+ /**
148
+ * By default, Babel always throws an error when it finds some invalid code.
149
+ * When this option is set to true, it will store the parsing error and
150
+ * try to continue parsing the invalid input file.
151
+ */
152
+ errorRecovery?: boolean;
153
+ /**
154
+ * Indicate the mode the code should be parsed in.
155
+ * Can be one of "script", "module", or "unambiguous". Defaults to "script".
156
+ * "unambiguous" will make @babel/parser attempt to guess, based on the presence
157
+ * of ES6 import or export statements.
158
+ * Files with ES6 imports and exports are considered "module" and are otherwise "script".
159
+ */
160
+ sourceType?: "script" | "module" | "unambiguous";
161
+ /**
162
+ * Correlate output AST nodes with their source filename.
163
+ * Useful when generating code and source maps from the ASTs of multiple input files.
164
+ */
165
+ sourceFilename?: string;
166
+ /**
167
+ * By default, all source indexes start from 0.
168
+ * You can provide a start index to alternatively start with.
169
+ * Useful for integration with other source tools.
170
+ */
171
+ startIndex?: number;
172
+ /**
173
+ * By default, the first line of code parsed is treated as line 1.
174
+ * You can provide a line number to alternatively start with.
175
+ * Useful for integration with other source tools.
176
+ */
177
+ startLine?: number;
178
+ /**
179
+ * By default, the parsed code is treated as if it starts from line 1, column 0.
180
+ * You can provide a column number to alternatively start with.
181
+ * Useful for integration with other source tools.
182
+ */
183
+ startColumn?: number;
184
+ /**
185
+ * Array containing the plugins that you want to enable.
186
+ */
187
+ plugins?: Plugin[];
188
+ /**
189
+ * Should the parser work in strict mode.
190
+ * Defaults to true if sourceType === 'module'. Otherwise, false.
191
+ */
192
+ strictMode?: boolean;
193
+ /**
194
+ * Adds a ranges property to each node: [node.start, node.end]
195
+ */
196
+ ranges?: boolean;
197
+ /**
198
+ * Adds all parsed tokens to a tokens property on the File node.
199
+ */
200
+ tokens?: boolean;
201
+ /**
202
+ * By default, the parser adds information about parentheses by setting
203
+ * `extra.parenthesized` to `true` as needed.
204
+ * When this option is `true` the parser creates `ParenthesizedExpression`
205
+ * AST nodes instead of using the `extra` property.
206
+ */
207
+ createParenthesizedExpressions?: boolean;
208
+ /**
209
+ * The default is false in Babel 7 and true in Babel 8
210
+ * Set this to true to parse it as an `ImportExpression` node.
211
+ * Otherwise `import(foo)` is parsed as `CallExpression(Import, [Identifier(foo)])`.
212
+ */
213
+ createImportExpressions?: boolean;
214
+ }
103
215
 
216
+ type ParserOptions = Partial<Options>;
217
+ interface ParseError {
218
+ code: string;
219
+ reasonCode: string;
220
+ }
221
+ type ParseResult<Result extends File | Expression = File> = Result & {
222
+ errors: null | ParseError[];
223
+ };
104
224
  /**
105
225
  * Parse the provided code as an entire ECMAScript program.
106
226
  */
107
- declare function parse(
108
- input: string,
109
- options?: ParserOptions
110
- ): ParseResult<_babel_types.File>;
111
-
112
- /**
113
- * Parse the provided code as a single expression.
114
- */
115
- declare function parseExpression(
116
- input: string,
117
- options?: ParserOptions
118
- ): ParseResult<_babel_types.Expression>;
119
-
120
- interface ParserOptions {
121
- /**
122
- * By default, import and export declarations can only appear at a program's top level.
123
- * Setting this option to true allows them anywhere where a statement is allowed.
124
- */
125
- allowImportExportEverywhere?: boolean;
126
-
127
- /**
128
- * By default, await use is not allowed outside of an async function.
129
- * Set this to true to accept such code.
130
- */
131
- allowAwaitOutsideFunction?: boolean;
132
-
133
- /**
134
- * By default, a return statement at the top level raises an error.
135
- * Set this to true to accept such code.
136
- */
137
- allowReturnOutsideFunction?: boolean;
138
-
139
- /**
140
- * By default, new.target use is not allowed outside of a function or class.
141
- * Set this to true to accept such code.
142
- */
143
- allowNewTargetOutsideFunction?: boolean;
144
-
145
- allowSuperOutsideMethod?: boolean;
146
-
147
- /**
148
- * By default, exported identifiers must refer to a declared variable.
149
- * Set this to true to allow export statements to reference undeclared variables.
150
- */
151
- allowUndeclaredExports?: boolean;
152
-
153
- /**
154
- * By default, Babel parser JavaScript code according to Annex B syntax.
155
- * Set this to `false` to disable such behavior.
156
- */
157
- annexB?: boolean;
158
-
159
- /**
160
- * By default, Babel attaches comments to adjacent AST nodes.
161
- * When this option is set to false, comments are not attached.
162
- * It can provide up to 30% performance improvement when the input code has many comments.
163
- * @babel/eslint-parser will set it for you.
164
- * It is not recommended to use attachComment: false with Babel transform,
165
- * as doing so removes all the comments in output code, and renders annotations such as
166
- * /* istanbul ignore next *\/ nonfunctional.
167
- */
168
- attachComment?: boolean;
169
-
170
- /**
171
- * By default, Babel always throws an error when it finds some invalid code.
172
- * When this option is set to true, it will store the parsing error and
173
- * try to continue parsing the invalid input file.
174
- */
175
- errorRecovery?: boolean;
176
-
177
- /**
178
- * Indicate the mode the code should be parsed in.
179
- * Can be one of "script", "module", or "unambiguous". Defaults to "script".
180
- * "unambiguous" will make @babel/parser attempt to guess, based on the presence
181
- * of ES6 import or export statements.
182
- * Files with ES6 imports and exports are considered "module" and are otherwise "script".
183
- */
184
- sourceType?: "script" | "module" | "unambiguous";
185
-
186
- /**
187
- * Correlate output AST nodes with their source filename.
188
- * Useful when generating code and source maps from the ASTs of multiple input files.
189
- */
190
- sourceFilename?: string;
191
-
192
- /**
193
- * By default, all source indexes start from 0.
194
- * You can provide a start index to alternatively start with.
195
- * Useful for integration with other source tools.
196
- */
197
- startIndex?: number;
198
-
199
- /**
200
- * By default, the first line of code parsed is treated as line 1.
201
- * You can provide a line number to alternatively start with.
202
- * Useful for integration with other source tools.
203
- */
204
- startLine?: number;
205
-
206
- /**
207
- * By default, the parsed code is treated as if it starts from line 1, column 0.
208
- * You can provide a column number to alternatively start with.
209
- * Useful for integration with other source tools.
210
- */
211
- startColumn?: number;
212
-
213
- /**
214
- * Array containing the plugins that you want to enable.
215
- */
216
- plugins?: ParserPlugin[];
217
-
218
- /**
219
- * Should the parser work in strict mode.
220
- * Defaults to true if sourceType === 'module'. Otherwise, false.
221
- */
222
- strictMode?: boolean;
223
-
224
- /**
225
- * Adds a ranges property to each node: [node.start, node.end]
226
- */
227
- ranges?: boolean;
228
-
229
- /**
230
- * Adds all parsed tokens to a tokens property on the File node.
231
- */
232
- tokens?: boolean;
233
-
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
- /**
243
- * The default is false in Babel 7 and true in Babel 8
244
- * Set this to true to parse it as an `ImportExpression` node.
245
- * Otherwise `import(foo)` is parsed as `CallExpression(Import, [Identifier(foo)])`.
246
- */
247
- createImportExpressions?: boolean;
248
- }
249
-
250
- type ParserPlugin = PluginConfig;
251
-
227
+ declare function parse(input: string, options?: ParserOptions): ParseResult<File>;
228
+ declare function parseExpression(input: string, options?: ParserOptions): ParseResult<Expression>;
252
229
 
253
230
  declare const tokTypes: {
254
231
  // todo(flow->ts) real token type
255
232
  [name: string]: any;
256
233
  };
257
234
 
258
- interface ParseError {
259
- code: string;
260
- reasonCode: string;
261
- }
262
-
263
- type ParseResult<Result> = Result & {
264
- errors: ParseError[];
265
- };
266
-
267
- export { DecoratorsPluginOptions, FlowPluginOptions, ParseError, ParseResult, ParserOptions, ParserPlugin, ParserPluginWithOptions, PipelineOperatorPluginOptions, RecordAndTuplePluginOptions, TypeScriptPluginOptions, parse, parseExpression, tokTypes };
235
+ export { DecoratorsPluginOptions, FlowPluginOptions, ParseError, ParseResult, ParserOptions, PluginConfig as ParserPlugin, ParserPluginWithOptions, PipelineOperatorPluginOptions, RecordAndTuplePluginOptions, TypeScriptPluginOptions, parse, parseExpression, tokTypes };
@@ -0,0 +1,22 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2014-present Sebastian McKenzie and other contributors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,3 @@
1
+ // TODO: Remove in Babel 8
2
+
3
+ module.exports = require("@babel/compat-data/native-modules");
@@ -0,0 +1,3 @@
1
+ // TODO: Remove in Babel 8
2
+
3
+ module.exports = require("@babel/compat-data/native-modules");
@@ -0,0 +1,4 @@
1
+ // TODO: Remove in Babel 8
2
+ // https://github.com/vuejs/vue-cli/issues/3671
3
+
4
+ module.exports = require("./corejs2-built-ins.json");
@@ -0,0 +1,4 @@
1
+ // TODO: Remove in Babel 8
2
+ // https://github.com/vuejs/vue-cli/issues/3671
3
+
4
+ module.exports = require("./corejs2-built-ins.json");
@@ -0,0 +1,3 @@
1
+ // TODO: Remove in Babel 8
2
+
3
+ module.exports = require("core-js-compat/data.json");
@@ -0,0 +1,3 @@
1
+ // TODO: Remove in Babel 8
2
+
3
+ module.exports = require("@babel/compat-data/corejs2-built-ins");
@@ -0,0 +1,3 @@
1
+ // TODO: Remove in Babel 8
2
+
3
+ module.exports = require("@babel/compat-data/corejs2-built-ins");
@@ -0,0 +1 @@
1
+ { "type": "commonjs" }
@@ -0,0 +1,3 @@
1
+ // TODO: Remove in Babel 8
2
+
3
+ module.exports = require("@babel/compat-data/plugins");
@@ -0,0 +1,3 @@
1
+ // TODO: Remove in Babel 8
2
+
3
+ module.exports = require("@babel/compat-data/plugins");
@@ -0,0 +1,4 @@
1
+ // TODO: Remove in Babel 8
2
+
3
+ const { pluginSyntaxMap, proposalPlugins, proposalSyntaxPlugins } = require("../lib/shipped-proposals");
4
+ module.exports = { pluginSyntaxMap, proposalPlugins, proposalSyntaxPlugins };
@@ -0,0 +1,3 @@
1
+ // TODO: Remove in Babel 8
2
+
3
+ module.exports = require("@babel/helper-compilation-targets").unreleasedLabels;
@@ -0,0 +1,172 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.minVersions = exports.legacyBabel7SyntaxPlugins = exports.default = void 0;
7
+ var _pluginSyntaxImportAssertions = require("@babel/plugin-syntax-import-assertions");
8
+ var _pluginSyntaxImportAttributes = require("@babel/plugin-syntax-import-attributes");
9
+ var _pluginTransformAsyncGeneratorFunctions = require("@babel/plugin-transform-async-generator-functions");
10
+ var _pluginTransformAsyncToGenerator = require("@babel/plugin-transform-async-to-generator");
11
+ var _pluginTransformArrowFunctions = require("@babel/plugin-transform-arrow-functions");
12
+ var _pluginTransformBlockScopedFunctions = require("@babel/plugin-transform-block-scoped-functions");
13
+ var _pluginTransformBlockScoping = require("@babel/plugin-transform-block-scoping");
14
+ var _pluginTransformClasses = require("@babel/plugin-transform-classes");
15
+ var _pluginTransformClassProperties = require("@babel/plugin-transform-class-properties");
16
+ var _pluginTransformClassStaticBlock = require("@babel/plugin-transform-class-static-block");
17
+ var _pluginTransformComputedProperties = require("@babel/plugin-transform-computed-properties");
18
+ var _pluginTransformDestructuring = require("@babel/plugin-transform-destructuring");
19
+ var _pluginTransformDotallRegex = require("@babel/plugin-transform-dotall-regex");
20
+ var _pluginTransformDuplicateKeys = require("@babel/plugin-transform-duplicate-keys");
21
+ var _pluginTransformDuplicateNamedCapturingGroupsRegex = require("@babel/plugin-transform-duplicate-named-capturing-groups-regex");
22
+ var _pluginTransformDynamicImport = require("@babel/plugin-transform-dynamic-import");
23
+ var _pluginTransformExponentiationOperator = require("@babel/plugin-transform-exponentiation-operator");
24
+ var _pluginTransformExportNamespaceFrom = require("@babel/plugin-transform-export-namespace-from");
25
+ var _pluginTransformForOf = require("@babel/plugin-transform-for-of");
26
+ var _pluginTransformFunctionName = require("@babel/plugin-transform-function-name");
27
+ var _pluginTransformJsonStrings = require("@babel/plugin-transform-json-strings");
28
+ var _pluginTransformLiterals = require("@babel/plugin-transform-literals");
29
+ var _pluginTransformLogicalAssignmentOperators = require("@babel/plugin-transform-logical-assignment-operators");
30
+ var _pluginTransformMemberExpressionLiterals = require("@babel/plugin-transform-member-expression-literals");
31
+ var _pluginTransformModulesAmd = require("@babel/plugin-transform-modules-amd");
32
+ var _pluginTransformModulesCommonjs = require("@babel/plugin-transform-modules-commonjs");
33
+ var _pluginTransformModulesSystemjs = require("@babel/plugin-transform-modules-systemjs");
34
+ var _pluginTransformModulesUmd = require("@babel/plugin-transform-modules-umd");
35
+ var _pluginTransformNamedCapturingGroupsRegex = require("@babel/plugin-transform-named-capturing-groups-regex");
36
+ var _pluginTransformNewTarget = require("@babel/plugin-transform-new-target");
37
+ var _pluginTransformNullishCoalescingOperator = require("@babel/plugin-transform-nullish-coalescing-operator");
38
+ var _pluginTransformNumericSeparator = require("@babel/plugin-transform-numeric-separator");
39
+ var _pluginTransformObjectRestSpread = require("@babel/plugin-transform-object-rest-spread");
40
+ var _pluginTransformObjectSuper = require("@babel/plugin-transform-object-super");
41
+ var _pluginTransformOptionalCatchBinding = require("@babel/plugin-transform-optional-catch-binding");
42
+ var _pluginTransformOptionalChaining = require("@babel/plugin-transform-optional-chaining");
43
+ var _pluginTransformParameters = require("@babel/plugin-transform-parameters");
44
+ var _pluginTransformPrivateMethods = require("@babel/plugin-transform-private-methods");
45
+ var _pluginTransformPrivatePropertyInObject = require("@babel/plugin-transform-private-property-in-object");
46
+ var _pluginTransformPropertyLiterals = require("@babel/plugin-transform-property-literals");
47
+ var _pluginTransformRegenerator = require("@babel/plugin-transform-regenerator");
48
+ var _pluginTransformRegexpModifiers = require("@babel/plugin-transform-regexp-modifiers");
49
+ var _pluginTransformReservedWords = require("@babel/plugin-transform-reserved-words");
50
+ var _pluginTransformShorthandProperties = require("@babel/plugin-transform-shorthand-properties");
51
+ var _pluginTransformSpread = require("@babel/plugin-transform-spread");
52
+ var _pluginTransformStickyRegex = require("@babel/plugin-transform-sticky-regex");
53
+ var _pluginTransformTemplateLiterals = require("@babel/plugin-transform-template-literals");
54
+ var _pluginTransformTypeofSymbol = require("@babel/plugin-transform-typeof-symbol");
55
+ var _pluginTransformUnicodeEscapes = require("@babel/plugin-transform-unicode-escapes");
56
+ var _pluginTransformUnicodePropertyRegex = require("@babel/plugin-transform-unicode-property-regex");
57
+ var _pluginTransformUnicodeRegex = require("@babel/plugin-transform-unicode-regex");
58
+ var _pluginTransformUnicodeSetsRegex = require("@babel/plugin-transform-unicode-sets-regex");
59
+ var _index = require("@babel/preset-modules/lib/plugins/transform-async-arrows-in-class/index.js");
60
+ var _index2 = require("@babel/preset-modules/lib/plugins/transform-edge-default-parameters/index.js");
61
+ var _index3 = require("@babel/preset-modules/lib/plugins/transform-edge-function-name/index.js");
62
+ var _pluginBugfixFirefoxClassInComputedClassKey = require("@babel/plugin-bugfix-firefox-class-in-computed-class-key");
63
+ var _index4 = require("@babel/preset-modules/lib/plugins/transform-tagged-template-caching/index.js");
64
+ var _index5 = require("@babel/preset-modules/lib/plugins/transform-safari-block-shadowing/index.js");
65
+ var _index6 = require("@babel/preset-modules/lib/plugins/transform-safari-for-shadowing/index.js");
66
+ var _pluginBugfixSafariIdDestructuringCollisionInFunctionExpression = require("@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression");
67
+ var _pluginBugfixSafariClassFieldInitializerScope = require("@babel/plugin-bugfix-safari-class-field-initializer-scope");
68
+ var _pluginBugfixV8SpreadParametersInOptionalChaining = require("@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining");
69
+ var _pluginBugfixV8StaticClassFieldsRedefineReadonly = require("@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly");
70
+ const availablePlugins = exports.default = {
71
+ "bugfix/transform-async-arrows-in-class": () => _index,
72
+ "bugfix/transform-edge-default-parameters": () => _index2,
73
+ "bugfix/transform-edge-function-name": () => _index3,
74
+ "bugfix/transform-firefox-class-in-computed-class-key": () => _pluginBugfixFirefoxClassInComputedClassKey.default,
75
+ "bugfix/transform-safari-block-shadowing": () => _index5,
76
+ "bugfix/transform-safari-class-field-initializer-scope": () => _pluginBugfixSafariClassFieldInitializerScope.default,
77
+ "bugfix/transform-safari-for-shadowing": () => _index6,
78
+ "bugfix/transform-safari-id-destructuring-collision-in-function-expression": () => _pluginBugfixSafariIdDestructuringCollisionInFunctionExpression.default,
79
+ "bugfix/transform-tagged-template-caching": () => _index4,
80
+ "bugfix/transform-v8-spread-parameters-in-optional-chaining": () => _pluginBugfixV8SpreadParametersInOptionalChaining.default,
81
+ "bugfix/transform-v8-static-class-fields-redefine-readonly": () => _pluginBugfixV8StaticClassFieldsRedefineReadonly.default,
82
+ "transform-arrow-functions": () => _pluginTransformArrowFunctions.default,
83
+ "transform-async-generator-functions": () => _pluginTransformAsyncGeneratorFunctions.default,
84
+ "transform-async-to-generator": () => _pluginTransformAsyncToGenerator.default,
85
+ "transform-block-scoped-functions": () => _pluginTransformBlockScopedFunctions.default,
86
+ "transform-block-scoping": () => _pluginTransformBlockScoping.default,
87
+ "transform-class-properties": () => _pluginTransformClassProperties.default,
88
+ "transform-class-static-block": () => _pluginTransformClassStaticBlock.default,
89
+ "transform-classes": () => _pluginTransformClasses.default,
90
+ "transform-computed-properties": () => _pluginTransformComputedProperties.default,
91
+ "transform-destructuring": () => _pluginTransformDestructuring.default,
92
+ "transform-dotall-regex": () => _pluginTransformDotallRegex.default,
93
+ "transform-duplicate-keys": () => _pluginTransformDuplicateKeys.default,
94
+ "transform-duplicate-named-capturing-groups-regex": () => _pluginTransformDuplicateNamedCapturingGroupsRegex.default,
95
+ "transform-dynamic-import": () => _pluginTransformDynamicImport.default,
96
+ "transform-exponentiation-operator": () => _pluginTransformExponentiationOperator.default,
97
+ "transform-export-namespace-from": () => _pluginTransformExportNamespaceFrom.default,
98
+ "transform-for-of": () => _pluginTransformForOf.default,
99
+ "transform-function-name": () => _pluginTransformFunctionName.default,
100
+ "transform-json-strings": () => _pluginTransformJsonStrings.default,
101
+ "transform-literals": () => _pluginTransformLiterals.default,
102
+ "transform-logical-assignment-operators": () => _pluginTransformLogicalAssignmentOperators.default,
103
+ "transform-member-expression-literals": () => _pluginTransformMemberExpressionLiterals.default,
104
+ "transform-modules-amd": () => _pluginTransformModulesAmd.default,
105
+ "transform-modules-commonjs": () => _pluginTransformModulesCommonjs.default,
106
+ "transform-modules-systemjs": () => _pluginTransformModulesSystemjs.default,
107
+ "transform-modules-umd": () => _pluginTransformModulesUmd.default,
108
+ "transform-named-capturing-groups-regex": () => _pluginTransformNamedCapturingGroupsRegex.default,
109
+ "transform-new-target": () => _pluginTransformNewTarget.default,
110
+ "transform-nullish-coalescing-operator": () => _pluginTransformNullishCoalescingOperator.default,
111
+ "transform-numeric-separator": () => _pluginTransformNumericSeparator.default,
112
+ "transform-object-rest-spread": () => _pluginTransformObjectRestSpread.default,
113
+ "transform-object-super": () => _pluginTransformObjectSuper.default,
114
+ "transform-optional-catch-binding": () => _pluginTransformOptionalCatchBinding.default,
115
+ "transform-optional-chaining": () => _pluginTransformOptionalChaining.default,
116
+ "transform-parameters": () => _pluginTransformParameters.default,
117
+ "transform-private-methods": () => _pluginTransformPrivateMethods.default,
118
+ "transform-private-property-in-object": () => _pluginTransformPrivatePropertyInObject.default,
119
+ "transform-property-literals": () => _pluginTransformPropertyLiterals.default,
120
+ "transform-regenerator": () => _pluginTransformRegenerator.default,
121
+ "transform-regexp-modifiers": () => _pluginTransformRegexpModifiers.default,
122
+ "transform-reserved-words": () => _pluginTransformReservedWords.default,
123
+ "transform-shorthand-properties": () => _pluginTransformShorthandProperties.default,
124
+ "transform-spread": () => _pluginTransformSpread.default,
125
+ "transform-sticky-regex": () => _pluginTransformStickyRegex.default,
126
+ "transform-template-literals": () => _pluginTransformTemplateLiterals.default,
127
+ "transform-typeof-symbol": () => _pluginTransformTypeofSymbol.default,
128
+ "transform-unicode-escapes": () => _pluginTransformUnicodeEscapes.default,
129
+ "transform-unicode-property-regex": () => _pluginTransformUnicodePropertyRegex.default,
130
+ "transform-unicode-regex": () => _pluginTransformUnicodeRegex.default,
131
+ "transform-unicode-sets-regex": () => _pluginTransformUnicodeSetsRegex.default
132
+ };
133
+ const minVersions = exports.minVersions = {};
134
+ let legacyBabel7SyntaxPlugins = exports.legacyBabel7SyntaxPlugins = void 0;
135
+ {
136
+ Object.assign(minVersions, {
137
+ "bugfix/transform-safari-id-destructuring-collision-in-function-expression": "7.16.0",
138
+ "bugfix/transform-v8-static-class-fields-redefine-readonly": "7.12.0",
139
+ "syntax-import-attributes": "7.22.0",
140
+ "transform-class-static-block": "7.12.0",
141
+ "transform-duplicate-named-capturing-groups-regex": "7.19.0",
142
+ "transform-private-property-in-object": "7.10.0",
143
+ "transform-regexp-modifiers": "7.19.0"
144
+ });
145
+ const syntax = name => () => () => ({
146
+ manipulateOptions: (_, p) => p.plugins.push(name)
147
+ });
148
+ const legacyBabel7SyntaxPluginsLoaders = {
149
+ "syntax-async-generators": syntax("asyncGenerators"),
150
+ "syntax-class-properties": syntax("classProperties"),
151
+ "syntax-class-static-block": syntax("classStaticBlock"),
152
+ "syntax-dynamic-import": syntax("dynamicImport"),
153
+ "syntax-export-namespace-from": syntax("exportNamespaceFrom"),
154
+ "syntax-import-meta": syntax("importMeta"),
155
+ "syntax-json-strings": syntax("jsonStrings"),
156
+ "syntax-logical-assignment-operators": syntax("logicalAssignment"),
157
+ "syntax-nullish-coalescing-operator": syntax("nullishCoalescingOperator"),
158
+ "syntax-numeric-separator": syntax("numericSeparator"),
159
+ "syntax-object-rest-spread": syntax("objectRestSpread"),
160
+ "syntax-optional-catch-binding": syntax("optionalCatchBinding"),
161
+ "syntax-optional-chaining": syntax("optionalChaining"),
162
+ "syntax-private-property-in-object": syntax("privateIn"),
163
+ "syntax-top-level-await": syntax("topLevelAwait"),
164
+ "syntax-import-assertions": () => _pluginSyntaxImportAssertions.default,
165
+ "syntax-import-attributes": () => _pluginSyntaxImportAttributes.default,
166
+ "syntax-unicode-sets-regex": () => require("@babel/plugin-syntax-unicode-sets-regex")
167
+ };
168
+ Object.assign(availablePlugins, legacyBabel7SyntaxPluginsLoaders);
169
+ exports.legacyBabel7SyntaxPlugins = legacyBabel7SyntaxPlugins = new Set(Object.keys(legacyBabel7SyntaxPluginsLoaders));
170
+ }
171
+
172
+ //# sourceMappingURL=available-plugins.js.map
@@ -0,0 +1,37 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.logPlugin = void 0;
7
+ var _helperCompilationTargets = require("@babel/helper-compilation-targets");
8
+ const compatData = require("@babel/compat-data/plugins");
9
+ const logPlugin = (item, targetVersions, list) => {
10
+ const filteredList = (0, _helperCompilationTargets.getInclusionReasons)(item, targetVersions, list);
11
+ const support = list[item];
12
+ {
13
+ if (item.startsWith("transform-")) {
14
+ const proposalName = `proposal-${item.slice(10)}`;
15
+ if (proposalName === "proposal-dynamic-import" || hasOwnProperty.call(compatData, proposalName)) {
16
+ item = proposalName;
17
+ }
18
+ }
19
+ }
20
+ if (!support) {
21
+ console.log(` ${item}`);
22
+ return;
23
+ }
24
+ let formattedTargets = `{`;
25
+ let first = true;
26
+ for (const target of Object.keys(filteredList)) {
27
+ if (!first) formattedTargets += `,`;
28
+ first = false;
29
+ formattedTargets += ` ${target}`;
30
+ if (support[target]) formattedTargets += ` < ${support[target]}`;
31
+ }
32
+ formattedTargets += ` }`;
33
+ console.log(` ${item} ${formattedTargets}`);
34
+ };
35
+ exports.logPlugin = logPlugin;
36
+
37
+ //# sourceMappingURL=debug.js.map