@tachybase/module-cloud-component 1.1.21 → 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
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ var _default = exports.default = {
8
+ amd: "transform-modules-amd",
9
+ commonjs: "transform-modules-commonjs",
10
+ cjs: "transform-modules-commonjs",
11
+ systemjs: "transform-modules-systemjs",
12
+ umd: "transform-modules-umd"
13
+ };
14
+
15
+ //# sourceMappingURL=module-transformations.js.map
@@ -0,0 +1,151 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.checkDuplicateIncludeExcludes = void 0;
7
+ exports.default = normalizeOptions;
8
+ exports.normalizeCoreJSOption = normalizeCoreJSOption;
9
+ exports.validateUseBuiltInsOption = exports.validateModulesOption = exports.normalizePluginName = void 0;
10
+ var _semver = require("semver");
11
+ var _pluginsCompatData = require("./plugins-compat-data.js");
12
+ var _moduleTransformations = require("./module-transformations.js");
13
+ var _options = require("./options.js");
14
+ var _helperValidatorOption = require("@babel/helper-validator-option");
15
+ var _babel7Plugins = require("./polyfills/babel-7-plugins.cjs");
16
+ const corejs3Polyfills = require("core-js-compat/data.json");
17
+ const v = new _helperValidatorOption.OptionValidator("@babel/preset-env");
18
+ const allPluginsList = Object.keys(_pluginsCompatData.plugins);
19
+ const modulePlugins = ["transform-dynamic-import", ...Object.keys(_moduleTransformations.default).map(m => _moduleTransformations.default[m])];
20
+ const getValidIncludesAndExcludes = (type, corejs) => {
21
+ const set = new Set(allPluginsList);
22
+ if (type === "exclude") modulePlugins.map(set.add, set);
23
+ if (corejs) {
24
+ if (corejs === 2) {
25
+ Object.keys(_babel7Plugins.corejs2Polyfills).map(set.add, set);
26
+ set.add("web.timers").add("web.immediate").add("web.dom.iterable");
27
+ } else {
28
+ Object.keys(corejs3Polyfills).map(set.add, set);
29
+ }
30
+ }
31
+ return Array.from(set);
32
+ };
33
+ function flatMap(array, fn) {
34
+ return Array.prototype.concat.apply([], array.map(fn));
35
+ }
36
+ const normalizePluginName = plugin => plugin.replace(/^(?:@babel\/|babel-)(?:plugin-)?/, "");
37
+ exports.normalizePluginName = normalizePluginName;
38
+ const expandIncludesAndExcludes = (filterList = [], type, corejs) => {
39
+ if (filterList.length === 0) return [];
40
+ const filterableItems = getValidIncludesAndExcludes(type, corejs);
41
+ const invalidFilters = [];
42
+ const selectedPlugins = flatMap(filterList, filter => {
43
+ let re;
44
+ if (typeof filter === "string") {
45
+ try {
46
+ re = new RegExp(`^${normalizePluginName(filter)}$`);
47
+ } catch (_) {
48
+ invalidFilters.push(filter);
49
+ return [];
50
+ }
51
+ } else {
52
+ re = filter;
53
+ }
54
+ const items = filterableItems.filter(item => {
55
+ return re.test(item) || re.test(item.replace(/^transform-/, "proposal-"));
56
+ });
57
+ if (items.length === 0) invalidFilters.push(filter);
58
+ return items;
59
+ });
60
+ v.invariant(invalidFilters.length === 0, `The plugins/built-ins '${invalidFilters.join(", ")}' passed to the '${type}' option are not
61
+ valid. Please check data/[plugin-features|built-in-features].js in babel-preset-env`);
62
+ return selectedPlugins;
63
+ };
64
+ const checkDuplicateIncludeExcludes = (include = [], exclude = []) => {
65
+ const duplicates = include.filter(opt => exclude.includes(opt));
66
+ v.invariant(duplicates.length === 0, `The plugins/built-ins '${duplicates.join(", ")}' were found in both the "include" and
67
+ "exclude" options.`);
68
+ };
69
+ exports.checkDuplicateIncludeExcludes = checkDuplicateIncludeExcludes;
70
+ const normalizeTargets = targets => {
71
+ if (typeof targets === "string" || Array.isArray(targets)) {
72
+ return {
73
+ browsers: targets
74
+ };
75
+ }
76
+ return Object.assign({}, targets);
77
+ };
78
+ const validateModulesOption = (modulesOpt = _options.ModulesOption.auto) => {
79
+ v.invariant(_options.ModulesOption[modulesOpt.toString()] || modulesOpt === _options.ModulesOption.false, `The 'modules' option must be one of \n` + ` - 'false' to indicate no module processing\n` + ` - a specific module type: 'commonjs', 'amd', 'umd', 'systemjs'` + ` - 'auto' (default) which will automatically select 'false' if the current\n` + ` process is known to support ES module syntax, or "commonjs" otherwise\n`);
80
+ return modulesOpt;
81
+ };
82
+ exports.validateModulesOption = validateModulesOption;
83
+ const validateUseBuiltInsOption = (builtInsOpt = false) => {
84
+ v.invariant(_options.UseBuiltInsOption[builtInsOpt.toString()] || builtInsOpt === _options.UseBuiltInsOption.false, `The 'useBuiltIns' option must be either
85
+ 'false' (default) to indicate no polyfill,
86
+ '"entry"' to indicate replacing the entry polyfill, or
87
+ '"usage"' to import only used polyfills per file`);
88
+ return builtInsOpt;
89
+ };
90
+ exports.validateUseBuiltInsOption = validateUseBuiltInsOption;
91
+ function normalizeCoreJSOption(corejs, useBuiltIns) {
92
+ let proposals = false;
93
+ let rawVersion;
94
+ if (useBuiltIns && corejs === undefined) {
95
+ {
96
+ rawVersion = 2;
97
+ console.warn("\nWARNING (@babel/preset-env): We noticed you're using the `useBuiltIns` option without declaring a " + `core-js version. Currently, we assume version 2.x when no version ` + "is passed. Since this default version will likely change in future " + "versions of Babel, we recommend explicitly setting the core-js version " + "you are using via the `corejs` option.\n" + "\nYou should also be sure that the version you pass to the `corejs` " + "option matches the version specified in your `package.json`'s " + "`dependencies` section. If it doesn't, you need to run one of the " + "following commands:\n\n" + " npm install --save core-js@2 npm install --save core-js@3\n" + " yarn add core-js@2 yarn add core-js@3\n\n" + "More info about useBuiltIns: https://babeljs.io/docs/en/babel-preset-env#usebuiltins\n" + "More info about core-js: https://babeljs.io/docs/en/babel-preset-env#corejs");
98
+ }
99
+ } else if (typeof corejs === "object" && corejs !== null) {
100
+ rawVersion = corejs.version;
101
+ proposals = Boolean(corejs.proposals);
102
+ } else {
103
+ rawVersion = corejs;
104
+ }
105
+ const version = rawVersion ? _semver.coerce(String(rawVersion)) : false;
106
+ if (version) {
107
+ if (useBuiltIns) {
108
+ {
109
+ if (version.major < 2 || version.major > 3) {
110
+ throw new RangeError("Invalid Option: The version passed to `corejs` is invalid. Currently, " + "only core-js@2 and core-js@3 are supported.");
111
+ }
112
+ }
113
+ } else {
114
+ console.warn("\nWARNING (@babel/preset-env): The `corejs` option only has an effect when the `useBuiltIns` option is not `false`\n");
115
+ }
116
+ }
117
+ return {
118
+ version,
119
+ proposals
120
+ };
121
+ }
122
+ function normalizeOptions(opts) {
123
+ ;
124
+ v.validateTopLevelOptions(opts, _options.TopLevelOptions);
125
+ const useBuiltIns = validateUseBuiltInsOption(opts.useBuiltIns);
126
+ const corejs = normalizeCoreJSOption(opts.corejs, useBuiltIns);
127
+ const include = expandIncludesAndExcludes(opts.include, _options.TopLevelOptions.include, !!corejs.version && corejs.version.major);
128
+ const exclude = expandIncludesAndExcludes(opts.exclude, _options.TopLevelOptions.exclude, !!corejs.version && corejs.version.major);
129
+ checkDuplicateIncludeExcludes(include, exclude);
130
+ {
131
+ v.validateBooleanOption("loose", opts.loose);
132
+ v.validateBooleanOption("spec", opts.spec);
133
+ v.validateBooleanOption("bugfixes", opts.bugfixes);
134
+ }
135
+ return {
136
+ configPath: v.validateStringOption(_options.TopLevelOptions.configPath, opts.configPath, process.cwd()),
137
+ corejs,
138
+ debug: v.validateBooleanOption(_options.TopLevelOptions.debug, opts.debug, false),
139
+ include,
140
+ exclude,
141
+ forceAllTransforms: v.validateBooleanOption(_options.TopLevelOptions.forceAllTransforms, opts.forceAllTransforms, false),
142
+ ignoreBrowserslistConfig: v.validateBooleanOption(_options.TopLevelOptions.ignoreBrowserslistConfig, opts.ignoreBrowserslistConfig, false),
143
+ modules: validateModulesOption(opts.modules),
144
+ shippedProposals: v.validateBooleanOption(_options.TopLevelOptions.shippedProposals, opts.shippedProposals, false),
145
+ targets: normalizeTargets(opts.targets),
146
+ useBuiltIns: useBuiltIns,
147
+ browserslistEnv: v.validateStringOption(_options.TopLevelOptions.browserslistEnv, opts.browserslistEnv)
148
+ };
149
+ }
150
+
151
+ //# sourceMappingURL=normalize-options.js.map
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.UseBuiltInsOption = exports.TopLevelOptions = exports.ModulesOption = void 0;
7
+ const TopLevelOptions = exports.TopLevelOptions = {
8
+ configPath: "configPath",
9
+ corejs: "corejs",
10
+ debug: "debug",
11
+ exclude: "exclude",
12
+ forceAllTransforms: "forceAllTransforms",
13
+ ignoreBrowserslistConfig: "ignoreBrowserslistConfig",
14
+ include: "include",
15
+ modules: "modules",
16
+ shippedProposals: "shippedProposals",
17
+ targets: "targets",
18
+ useBuiltIns: "useBuiltIns",
19
+ browserslistEnv: "browserslistEnv"
20
+ };
21
+ {
22
+ Object.assign(TopLevelOptions, {
23
+ bugfixes: "bugfixes",
24
+ loose: "loose",
25
+ spec: "spec"
26
+ });
27
+ }
28
+ const ModulesOption = exports.ModulesOption = {
29
+ false: false,
30
+ auto: "auto",
31
+ amd: "amd",
32
+ commonjs: "commonjs",
33
+ cjs: "cjs",
34
+ systemjs: "systemjs",
35
+ umd: "umd"
36
+ };
37
+ const UseBuiltInsOption = exports.UseBuiltInsOption = {
38
+ false: false,
39
+ entry: "entry",
40
+ usage: "usage"
41
+ };
42
+
43
+ //# sourceMappingURL=options.js.map
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.pluginsBugfixes = exports.plugins = exports.overlappingPlugins = void 0;
7
+ var _availablePlugins = require("./available-plugins.js");
8
+ const originalPlugins = require("@babel/compat-data/plugins"),
9
+ originalPluginsBugfixes = require("@babel/compat-data/plugin-bugfixes"),
10
+ originalOverlappingPlugins = require("@babel/compat-data/overlapping-plugins");
11
+ const keys = Object.keys;
12
+ const plugins = exports.plugins = filterAvailable(originalPlugins);
13
+ const pluginsBugfixes = exports.pluginsBugfixes = filterAvailable(originalPluginsBugfixes);
14
+ const overlappingPlugins = exports.overlappingPlugins = filterAvailable(originalOverlappingPlugins);
15
+ {
16
+ overlappingPlugins["syntax-import-attributes"] = ["syntax-import-assertions"];
17
+ }
18
+ function filterAvailable(data) {
19
+ const result = {};
20
+ for (const plugin of keys(data)) {
21
+ if (hasOwnProperty.call(_availablePlugins.default, plugin)) {
22
+ result[plugin] = data[plugin];
23
+ }
24
+ }
25
+ return result;
26
+ }
27
+
28
+ //# sourceMappingURL=plugins-compat-data.js.map
@@ -0,0 +1,21 @@
1
+ {
2
+ Object.defineProperties(exports, {
3
+ pluginCoreJS2: {
4
+ get: () => require("babel-plugin-polyfill-corejs2").default
5
+ },
6
+ pluginRegenerator: {
7
+ get: () => require("babel-plugin-polyfill-regenerator").default
8
+ },
9
+ legacyBabelPolyfillPlugin: {
10
+ get: () => require("./babel-polyfill.cjs")
11
+ },
12
+ removeRegeneratorEntryPlugin: {
13
+ get: () => require("./regenerator.cjs")
14
+ },
15
+ corejs2Polyfills: {
16
+ get: () => require("@babel/compat-data/corejs2-built-ins")
17
+ }
18
+ });
19
+ }
20
+
21
+ //# sourceMappingURL=babel-7-plugins.cjs.map
@@ -0,0 +1,69 @@
1
+ ;
2
+ const {
3
+ getImportSource,
4
+ getRequireSource,
5
+ isPolyfillSource
6
+ } = require("./utils.cjs");
7
+ const BABEL_POLYFILL_DEPRECATION = `
8
+ \`@babel/polyfill\` is deprecated. Please, use required parts of \`core-js\`
9
+ and \`regenerator-runtime/runtime\` separately`;
10
+ const NO_DIRECT_POLYFILL_IMPORT = `
11
+ When setting \`useBuiltIns: 'usage'\`, polyfills are automatically imported when needed.
12
+ Please remove the direct import of \`SPECIFIER\` or use \`useBuiltIns: 'entry'\` instead.`;
13
+ module.exports = function ({
14
+ template
15
+ }, {
16
+ regenerator,
17
+ deprecated,
18
+ usage
19
+ }) {
20
+ return {
21
+ name: "preset-env/replace-babel-polyfill",
22
+ visitor: {
23
+ ImportDeclaration(path) {
24
+ const src = getImportSource(path);
25
+ if (usage && isPolyfillSource(src)) {
26
+ console.warn(NO_DIRECT_POLYFILL_IMPORT.replace("SPECIFIER", src));
27
+ if (!deprecated) path.remove();
28
+ } else if (src === "@babel/polyfill") {
29
+ if (deprecated) {
30
+ console.warn(BABEL_POLYFILL_DEPRECATION);
31
+ } else if (regenerator) {
32
+ path.replaceWithMultiple(template.ast`
33
+ import "core-js";
34
+ import "regenerator-runtime/runtime.js";
35
+ `);
36
+ } else {
37
+ path.replaceWith(template.ast`
38
+ import "core-js";
39
+ `);
40
+ }
41
+ }
42
+ },
43
+ Program(path) {
44
+ path.get("body").forEach(bodyPath => {
45
+ const src = getRequireSource(bodyPath);
46
+ if (usage && isPolyfillSource(src)) {
47
+ console.warn(NO_DIRECT_POLYFILL_IMPORT.replace("SPECIFIER", src));
48
+ if (!deprecated) bodyPath.remove();
49
+ } else if (src === "@babel/polyfill") {
50
+ if (deprecated) {
51
+ console.warn(BABEL_POLYFILL_DEPRECATION);
52
+ } else if (regenerator) {
53
+ bodyPath.replaceWithMultiple(template.ast`
54
+ require("core-js");
55
+ require("regenerator-runtime/runtime.js");
56
+ `);
57
+ } else {
58
+ bodyPath.replaceWith(template.ast`
59
+ require("core-js");
60
+ `);
61
+ }
62
+ }
63
+ });
64
+ }
65
+ }
66
+ };
67
+ };
68
+
69
+ //# sourceMappingURL=babel-polyfill.cjs.map
@@ -0,0 +1,44 @@
1
+ ;
2
+ const {
3
+ getImportSource,
4
+ getRequireSource
5
+ } = require("./utils.cjs");
6
+ function isRegeneratorSource(source) {
7
+ return source === "regenerator-runtime/runtime" || source === "regenerator-runtime/runtime.js";
8
+ }
9
+ module.exports = function () {
10
+ const visitor = {
11
+ ImportDeclaration(path) {
12
+ if (isRegeneratorSource(getImportSource(path))) {
13
+ this.regeneratorImportExcluded = true;
14
+ path.remove();
15
+ }
16
+ },
17
+ Program(path) {
18
+ path.get("body").forEach(bodyPath => {
19
+ if (isRegeneratorSource(getRequireSource(bodyPath))) {
20
+ this.regeneratorImportExcluded = true;
21
+ bodyPath.remove();
22
+ }
23
+ });
24
+ }
25
+ };
26
+ return {
27
+ name: "preset-env/remove-regenerator",
28
+ visitor,
29
+ pre() {
30
+ this.regeneratorImportExcluded = false;
31
+ },
32
+ post() {
33
+ if (this.opts.debug && this.regeneratorImportExcluded) {
34
+ let filename = this.file.opts.filename;
35
+ if (process.env.BABEL_ENV === "test") {
36
+ filename = filename.replace(/\\/g, "/");
37
+ }
38
+ console.log(`\n[${filename}] Based on your targets, regenerator-runtime import excluded.`);
39
+ }
40
+ }
41
+ };
42
+ };
43
+
44
+ //# sourceMappingURL=regenerator.cjs.map
@@ -0,0 +1,22 @@
1
+ ;
2
+ exports.getImportSource = function ({
3
+ node
4
+ }) {
5
+ if (node.specifiers.length === 0) return node.source.value;
6
+ };
7
+ exports.getRequireSource = function ({
8
+ node
9
+ }) {
10
+ if (node.type !== "ExpressionStatement") return;
11
+ const {
12
+ expression
13
+ } = node;
14
+ if (expression.type === "CallExpression" && expression.callee.type === "Identifier" && expression.callee.name === "require" && expression.arguments.length === 1 && expression.arguments[0].type === "StringLiteral") {
15
+ return expression.arguments[0].value;
16
+ }
17
+ };
18
+ exports.isPolyfillSource = function (source) {
19
+ return source === "@babel/polyfill" || source === "core-js";
20
+ };
21
+
22
+ //# sourceMappingURL=utils.cjs.map
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.proposalSyntaxPlugins = exports.proposalPlugins = exports.pluginSyntaxMap = void 0;
7
+ const proposalPlugins = exports.proposalPlugins = new Set([]);
8
+ const proposalSyntaxPlugins = exports.proposalSyntaxPlugins = ["syntax-import-assertions", "syntax-import-attributes"];
9
+ const pluginSyntaxObject = {
10
+ "transform-async-generator-functions": "syntax-async-generators",
11
+ "transform-class-properties": "syntax-class-properties",
12
+ "transform-class-static-block": "syntax-class-static-block",
13
+ "transform-export-namespace-from": "syntax-export-namespace-from",
14
+ "transform-json-strings": "syntax-json-strings",
15
+ "transform-nullish-coalescing-operator": "syntax-nullish-coalescing-operator",
16
+ "transform-numeric-separator": "syntax-numeric-separator",
17
+ "transform-object-rest-spread": "syntax-object-rest-spread",
18
+ "transform-optional-catch-binding": "syntax-optional-catch-binding",
19
+ "transform-optional-chaining": "syntax-optional-chaining",
20
+ "transform-private-methods": "syntax-class-properties",
21
+ "transform-private-property-in-object": "syntax-private-property-in-object",
22
+ "transform-unicode-property-regex": null
23
+ };
24
+ const pluginSyntaxEntries = Object.keys(pluginSyntaxObject).map(function (key) {
25
+ return [key, pluginSyntaxObject[key]];
26
+ });
27
+ const pluginSyntaxMap = exports.pluginSyntaxMap = new Map(pluginSyntaxEntries);
28
+
29
+ //# sourceMappingURL=shipped-proposals.js.map
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "default", {
7
+ enumerable: true,
8
+ get: function () {
9
+ return _helperCompilationTargets.default;
10
+ }
11
+ });
12
+ Object.defineProperty(exports, "isBrowsersQueryValid", {
13
+ enumerable: true,
14
+ get: function () {
15
+ return _helperCompilationTargets.isBrowsersQueryValid;
16
+ }
17
+ });
18
+ var _helperCompilationTargets = require("@babel/helper-compilation-targets");
19
+
20
+ //# sourceMappingURL=targets-parser.js.map
@@ -0,0 +1,21 @@
1
+ #!/bin/sh
2
+ basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3
+
4
+ case `uname` in
5
+ *CYGWIN*|*MINGW*|*MSYS*)
6
+ if command -v cygpath > /dev/null 2>&1; then
7
+ basedir=`cygpath -w "$basedir"`
8
+ fi
9
+ ;;
10
+ esac
11
+
12
+ if [ -z "$NODE_PATH" ]; then
13
+ export NODE_PATH="/home/runner/work/tachybase/tachybase/node_modules/.pnpm/semver@6.3.1/node_modules/semver/bin/node_modules:/home/runner/work/tachybase/tachybase/node_modules/.pnpm/semver@6.3.1/node_modules/semver/node_modules:/home/runner/work/tachybase/tachybase/node_modules/.pnpm/semver@6.3.1/node_modules:/home/runner/work/tachybase/tachybase/node_modules/.pnpm/node_modules"
14
+ else
15
+ export NODE_PATH="/home/runner/work/tachybase/tachybase/node_modules/.pnpm/semver@6.3.1/node_modules/semver/bin/node_modules:/home/runner/work/tachybase/tachybase/node_modules/.pnpm/semver@6.3.1/node_modules/semver/node_modules:/home/runner/work/tachybase/tachybase/node_modules/.pnpm/semver@6.3.1/node_modules:/home/runner/work/tachybase/tachybase/node_modules/.pnpm/node_modules:$NODE_PATH"
16
+ fi
17
+ if [ -x "$basedir/node" ]; then
18
+ exec "$basedir/node" "$basedir/../../../../../../semver@6.3.1/node_modules/semver/bin/semver.js" "$@"
19
+ else
20
+ exec node "$basedir/../../../../../../semver@6.3.1/node_modules/semver/bin/semver.js" "$@"
21
+ fi
@@ -0,0 +1 @@
1
+ {"name":"@babel/preset-env","version":"7.27.2","description":"A Babel preset for each environment.","author":"The Babel Team (https://babel.dev/team)","homepage":"https://babel.dev/docs/en/next/babel-preset-env","bugs":"https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+label%3A%22pkg%3A%20preset-env%22+is%3Aopen","license":"MIT","publishConfig":{"access":"public"},"repository":{"type":"git","url":"https://github.com/babel/babel.git","directory":"packages/babel-preset-env"},"main":"./lib/index.js","dependencies":{"@babel/compat-data":"^7.27.2","@babel/helper-compilation-targets":"^7.27.2","@babel/helper-plugin-utils":"^7.27.1","@babel/helper-validator-option":"^7.27.1","@babel/plugin-bugfix-firefox-class-in-computed-class-key":"^7.27.1","@babel/plugin-bugfix-safari-class-field-initializer-scope":"^7.27.1","@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression":"^7.27.1","@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining":"^7.27.1","@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly":"^7.27.1","@babel/plugin-proposal-private-property-in-object":"7.21.0-placeholder-for-preset-env.2","@babel/plugin-syntax-import-assertions":"^7.27.1","@babel/plugin-syntax-import-attributes":"^7.27.1","@babel/plugin-syntax-unicode-sets-regex":"^7.18.6","@babel/plugin-transform-arrow-functions":"^7.27.1","@babel/plugin-transform-async-generator-functions":"^7.27.1","@babel/plugin-transform-async-to-generator":"^7.27.1","@babel/plugin-transform-block-scoped-functions":"^7.27.1","@babel/plugin-transform-block-scoping":"^7.27.1","@babel/plugin-transform-class-properties":"^7.27.1","@babel/plugin-transform-class-static-block":"^7.27.1","@babel/plugin-transform-classes":"^7.27.1","@babel/plugin-transform-computed-properties":"^7.27.1","@babel/plugin-transform-destructuring":"^7.27.1","@babel/plugin-transform-dotall-regex":"^7.27.1","@babel/plugin-transform-duplicate-keys":"^7.27.1","@babel/plugin-transform-duplicate-named-capturing-groups-regex":"^7.27.1","@babel/plugin-transform-dynamic-import":"^7.27.1","@babel/plugin-transform-exponentiation-operator":"^7.27.1","@babel/plugin-transform-export-namespace-from":"^7.27.1","@babel/plugin-transform-for-of":"^7.27.1","@babel/plugin-transform-function-name":"^7.27.1","@babel/plugin-transform-json-strings":"^7.27.1","@babel/plugin-transform-literals":"^7.27.1","@babel/plugin-transform-logical-assignment-operators":"^7.27.1","@babel/plugin-transform-member-expression-literals":"^7.27.1","@babel/plugin-transform-modules-amd":"^7.27.1","@babel/plugin-transform-modules-commonjs":"^7.27.1","@babel/plugin-transform-modules-systemjs":"^7.27.1","@babel/plugin-transform-modules-umd":"^7.27.1","@babel/plugin-transform-named-capturing-groups-regex":"^7.27.1","@babel/plugin-transform-new-target":"^7.27.1","@babel/plugin-transform-nullish-coalescing-operator":"^7.27.1","@babel/plugin-transform-numeric-separator":"^7.27.1","@babel/plugin-transform-object-rest-spread":"^7.27.2","@babel/plugin-transform-object-super":"^7.27.1","@babel/plugin-transform-optional-catch-binding":"^7.27.1","@babel/plugin-transform-optional-chaining":"^7.27.1","@babel/plugin-transform-parameters":"^7.27.1","@babel/plugin-transform-private-methods":"^7.27.1","@babel/plugin-transform-private-property-in-object":"^7.27.1","@babel/plugin-transform-property-literals":"^7.27.1","@babel/plugin-transform-regenerator":"^7.27.1","@babel/plugin-transform-regexp-modifiers":"^7.27.1","@babel/plugin-transform-reserved-words":"^7.27.1","@babel/plugin-transform-shorthand-properties":"^7.27.1","@babel/plugin-transform-spread":"^7.27.1","@babel/plugin-transform-sticky-regex":"^7.27.1","@babel/plugin-transform-template-literals":"^7.27.1","@babel/plugin-transform-typeof-symbol":"^7.27.1","@babel/plugin-transform-unicode-escapes":"^7.27.1","@babel/plugin-transform-unicode-property-regex":"^7.27.1","@babel/plugin-transform-unicode-regex":"^7.27.1","@babel/plugin-transform-unicode-sets-regex":"^7.27.1","@babel/preset-modules":"0.1.6-no-external-plugins","babel-plugin-polyfill-corejs2":"^0.4.10","babel-plugin-polyfill-corejs3":"^0.11.0","babel-plugin-polyfill-regenerator":"^0.6.1","core-js-compat":"^3.40.0","semver":"^6.3.1"},"peerDependencies":{"@babel/core":"^7.0.0-0"},"devDependencies":{"@babel/core":"^7.27.1","@babel/core-7.12":"npm:@babel/core@7.12.9","@babel/helper-plugin-test-runner":"^7.27.1","@babel/traverse":"^7.27.1"},"engines":{"node":">=6.9.0"},"type":"commonjs","_lastModified":"2025-06-17T09:01:10.991Z"}
@@ -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.