@storm-software/workspace-tools 1.21.11 → 1.21.13
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/CHANGELOG.md +14 -0
- package/README.md +1 -1
- package/index.js +1501 -1456
- package/{meta.cjs.json → meta.json} +1 -1
- package/package.json +2 -2
- package/src/base/index.js +196 -183
- package/src/executors/tsup/executor.js +1422 -1411
- package/src/executors/tsup/get-config.js +781 -772
- package/src/executors/tsup-neutral/executor.js +1423 -1411
- package/src/executors/tsup-node/executor.js +1423 -1411
- package/src/generators/config-schema/generator.js +386 -384
- package/src/generators/init/init.js +202 -203
- package/src/generators/node-library/generator.js +677 -675
- package/src/generators/preset/generator.js +375 -373
- package/src/utils/index.js +83 -36
- package/index.cjs +0 -118316
- package/meta.esm.json +0 -1
- package/src/base/index.cjs +0 -12341
- package/src/executors/tsup/executor.cjs +0 -116187
- package/src/executors/tsup/get-config.cjs +0 -71069
- package/src/executors/tsup-neutral/executor.cjs +0 -116261
- package/src/executors/tsup-node/executor.cjs +0 -116257
- package/src/generators/config-schema/generator.cjs +0 -31471
- package/src/generators/init/init.cjs +0 -18290
- package/src/generators/node-library/generator.cjs +0 -48225
- package/src/generators/preset/generator.cjs +0 -30634
- package/src/utils/index.cjs +0 -381
|
@@ -4,16 +4,13 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
|
4
4
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
5
|
var __getProtoOf = Object.getPrototypeOf;
|
|
6
6
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
-
var
|
|
8
|
-
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
|
9
|
-
}) : x)(function(x) {
|
|
10
|
-
if (typeof require !== "undefined")
|
|
11
|
-
return require.apply(this, arguments);
|
|
12
|
-
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
13
|
-
});
|
|
14
|
-
var __commonJS = (cb, mod) => function __require2() {
|
|
7
|
+
var __commonJS = (cb, mod) => function __require() {
|
|
15
8
|
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
16
9
|
};
|
|
10
|
+
var __export = (target, all) => {
|
|
11
|
+
for (var name in all)
|
|
12
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
13
|
+
};
|
|
17
14
|
var __copyProps = (to, from, except, desc) => {
|
|
18
15
|
if (from && typeof from === "object" || typeof from === "function") {
|
|
19
16
|
for (let key of __getOwnPropNames(from))
|
|
@@ -30,12 +27,13 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
30
27
|
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
31
28
|
mod
|
|
32
29
|
));
|
|
30
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
33
31
|
|
|
34
32
|
// node_modules/.pnpm/balanced-match@1.0.2/node_modules/balanced-match/index.js
|
|
35
33
|
var require_balanced_match = __commonJS({
|
|
36
|
-
"node_modules/.pnpm/balanced-match@1.0.2/node_modules/balanced-match/index.js"(exports,
|
|
34
|
+
"node_modules/.pnpm/balanced-match@1.0.2/node_modules/balanced-match/index.js"(exports, module2) {
|
|
37
35
|
"use strict";
|
|
38
|
-
|
|
36
|
+
module2.exports = balanced;
|
|
39
37
|
function balanced(a, b, str) {
|
|
40
38
|
if (a instanceof RegExp)
|
|
41
39
|
a = maybeMatch(a, str);
|
|
@@ -93,9 +91,9 @@ var require_balanced_match = __commonJS({
|
|
|
93
91
|
|
|
94
92
|
// node_modules/.pnpm/brace-expansion@2.0.1/node_modules/brace-expansion/index.js
|
|
95
93
|
var require_brace_expansion = __commonJS({
|
|
96
|
-
"node_modules/.pnpm/brace-expansion@2.0.1/node_modules/brace-expansion/index.js"(exports,
|
|
94
|
+
"node_modules/.pnpm/brace-expansion@2.0.1/node_modules/brace-expansion/index.js"(exports, module2) {
|
|
97
95
|
var balanced = require_balanced_match();
|
|
98
|
-
|
|
96
|
+
module2.exports = expandTop;
|
|
99
97
|
var escSlash = "\0SLASH" + Math.random() + "\0";
|
|
100
98
|
var escOpen = "\0OPEN" + Math.random() + "\0";
|
|
101
99
|
var escClose = "\0CLOSE" + Math.random() + "\0";
|
|
@@ -254,9 +252,9 @@ var require_chunk_EPAEWGCP = __commonJS({
|
|
|
254
252
|
|
|
255
253
|
// node_modules/.pnpm/array-union@2.1.0/node_modules/array-union/index.js
|
|
256
254
|
var require_array_union = __commonJS({
|
|
257
|
-
"node_modules/.pnpm/array-union@2.1.0/node_modules/array-union/index.js"(exports,
|
|
255
|
+
"node_modules/.pnpm/array-union@2.1.0/node_modules/array-union/index.js"(exports, module2) {
|
|
258
256
|
"use strict";
|
|
259
|
-
|
|
257
|
+
module2.exports = (...arguments_) => {
|
|
260
258
|
return [...new Set([].concat(...arguments_))];
|
|
261
259
|
};
|
|
262
260
|
}
|
|
@@ -264,12 +262,12 @@ var require_array_union = __commonJS({
|
|
|
264
262
|
|
|
265
263
|
// node_modules/.pnpm/merge2@1.4.1/node_modules/merge2/index.js
|
|
266
264
|
var require_merge2 = __commonJS({
|
|
267
|
-
"node_modules/.pnpm/merge2@1.4.1/node_modules/merge2/index.js"(exports,
|
|
265
|
+
"node_modules/.pnpm/merge2@1.4.1/node_modules/merge2/index.js"(exports, module2) {
|
|
268
266
|
"use strict";
|
|
269
|
-
var Stream2 =
|
|
267
|
+
var Stream2 = require("stream");
|
|
270
268
|
var PassThrough = Stream2.PassThrough;
|
|
271
269
|
var slice = Array.prototype.slice;
|
|
272
|
-
|
|
270
|
+
module2.exports = merge2;
|
|
273
271
|
function merge2() {
|
|
274
272
|
const streamsQueue = [];
|
|
275
273
|
const args = slice.call(arguments);
|
|
@@ -452,8 +450,8 @@ var require_path = __commonJS({
|
|
|
452
450
|
"use strict";
|
|
453
451
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
454
452
|
exports.convertPosixPathToPattern = exports.convertWindowsPathToPattern = exports.convertPathToPattern = exports.escapePosixPath = exports.escapeWindowsPath = exports.escape = exports.removeLeadingDotSegment = exports.makeAbsolute = exports.unixify = void 0;
|
|
455
|
-
var os =
|
|
456
|
-
var path2 =
|
|
453
|
+
var os = require("os");
|
|
454
|
+
var path2 = require("path");
|
|
457
455
|
var IS_WINDOWS_PLATFORM = os.platform() === "win32";
|
|
458
456
|
var LEADING_DOT_SEGMENT_CHARACTERS_COUNT = 2;
|
|
459
457
|
var POSIX_UNESCAPED_GLOB_SYMBOLS_RE = /(\\?)([()*?[\]{|}]|^!|[!+@](?=\()|\\(?![!()*+?@[\]{|}]))/g;
|
|
@@ -501,8 +499,8 @@ var require_path = __commonJS({
|
|
|
501
499
|
|
|
502
500
|
// node_modules/.pnpm/is-extglob@2.1.1/node_modules/is-extglob/index.js
|
|
503
501
|
var require_is_extglob = __commonJS({
|
|
504
|
-
"node_modules/.pnpm/is-extglob@2.1.1/node_modules/is-extglob/index.js"(exports,
|
|
505
|
-
|
|
502
|
+
"node_modules/.pnpm/is-extglob@2.1.1/node_modules/is-extglob/index.js"(exports, module2) {
|
|
503
|
+
module2.exports = function isExtglob(str) {
|
|
506
504
|
if (typeof str !== "string" || str === "") {
|
|
507
505
|
return false;
|
|
508
506
|
}
|
|
@@ -519,7 +517,7 @@ var require_is_extglob = __commonJS({
|
|
|
519
517
|
|
|
520
518
|
// node_modules/.pnpm/is-glob@4.0.3/node_modules/is-glob/index.js
|
|
521
519
|
var require_is_glob = __commonJS({
|
|
522
|
-
"node_modules/.pnpm/is-glob@4.0.3/node_modules/is-glob/index.js"(exports,
|
|
520
|
+
"node_modules/.pnpm/is-glob@4.0.3/node_modules/is-glob/index.js"(exports, module2) {
|
|
523
521
|
var isExtglob = require_is_extglob();
|
|
524
522
|
var chars = { "{": "}", "(": ")", "[": "]" };
|
|
525
523
|
var strictCheck = function(str) {
|
|
@@ -632,7 +630,7 @@ var require_is_glob = __commonJS({
|
|
|
632
630
|
}
|
|
633
631
|
return false;
|
|
634
632
|
};
|
|
635
|
-
|
|
633
|
+
module2.exports = function isGlob(str, options) {
|
|
636
634
|
if (typeof str !== "string" || str === "") {
|
|
637
635
|
return false;
|
|
638
636
|
}
|
|
@@ -650,17 +648,17 @@ var require_is_glob = __commonJS({
|
|
|
650
648
|
|
|
651
649
|
// node_modules/.pnpm/glob-parent@5.1.2/node_modules/glob-parent/index.js
|
|
652
650
|
var require_glob_parent = __commonJS({
|
|
653
|
-
"node_modules/.pnpm/glob-parent@5.1.2/node_modules/glob-parent/index.js"(exports,
|
|
651
|
+
"node_modules/.pnpm/glob-parent@5.1.2/node_modules/glob-parent/index.js"(exports, module2) {
|
|
654
652
|
"use strict";
|
|
655
653
|
var isGlob = require_is_glob();
|
|
656
|
-
var pathPosixDirname =
|
|
657
|
-
var isWin32 =
|
|
654
|
+
var pathPosixDirname = require("path").posix.dirname;
|
|
655
|
+
var isWin32 = require("os").platform() === "win32";
|
|
658
656
|
var slash = "/";
|
|
659
657
|
var backslash = /\\/g;
|
|
660
658
|
var enclosure = /[\{\[].*[\}\]]$/;
|
|
661
659
|
var globby = /(^|[^\\])([\{\[]|\([^\)]+$)/;
|
|
662
660
|
var escaped = /\\([\!\*\?\|\[\]\(\)\{\}])/g;
|
|
663
|
-
|
|
661
|
+
module2.exports = function globParent(str, opts) {
|
|
664
662
|
var options = Object.assign({ flipBackslashes: true }, opts);
|
|
665
663
|
if (options.flipBackslashes && isWin32 && str.indexOf(slash) < 0) {
|
|
666
664
|
str = str.replace(backslash, slash);
|
|
@@ -763,10 +761,10 @@ var require_utils = __commonJS({
|
|
|
763
761
|
|
|
764
762
|
// node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/stringify.js
|
|
765
763
|
var require_stringify = __commonJS({
|
|
766
|
-
"node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/stringify.js"(exports,
|
|
764
|
+
"node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/stringify.js"(exports, module2) {
|
|
767
765
|
"use strict";
|
|
768
766
|
var utils = require_utils();
|
|
769
|
-
|
|
767
|
+
module2.exports = (ast, options = {}) => {
|
|
770
768
|
let stringify = (node, parent = {}) => {
|
|
771
769
|
let invalidBlock = options.escapeInvalid && utils.isInvalidBrace(parent);
|
|
772
770
|
let invalidNode = node.invalid === true && options.escapeInvalid === true;
|
|
@@ -794,9 +792,9 @@ var require_stringify = __commonJS({
|
|
|
794
792
|
|
|
795
793
|
// node_modules/.pnpm/is-number@7.0.0/node_modules/is-number/index.js
|
|
796
794
|
var require_is_number = __commonJS({
|
|
797
|
-
"node_modules/.pnpm/is-number@7.0.0/node_modules/is-number/index.js"(exports,
|
|
795
|
+
"node_modules/.pnpm/is-number@7.0.0/node_modules/is-number/index.js"(exports, module2) {
|
|
798
796
|
"use strict";
|
|
799
|
-
|
|
797
|
+
module2.exports = function(num) {
|
|
800
798
|
if (typeof num === "number") {
|
|
801
799
|
return num - num === 0;
|
|
802
800
|
}
|
|
@@ -810,7 +808,7 @@ var require_is_number = __commonJS({
|
|
|
810
808
|
|
|
811
809
|
// node_modules/.pnpm/to-regex-range@5.0.1/node_modules/to-regex-range/index.js
|
|
812
810
|
var require_to_regex_range = __commonJS({
|
|
813
|
-
"node_modules/.pnpm/to-regex-range@5.0.1/node_modules/to-regex-range/index.js"(exports,
|
|
811
|
+
"node_modules/.pnpm/to-regex-range@5.0.1/node_modules/to-regex-range/index.js"(exports, module2) {
|
|
814
812
|
"use strict";
|
|
815
813
|
var isNumber = require_is_number();
|
|
816
814
|
var toRegexRange = (min, max, options) => {
|
|
@@ -1016,15 +1014,15 @@ var require_to_regex_range = __commonJS({
|
|
|
1016
1014
|
}
|
|
1017
1015
|
toRegexRange.cache = {};
|
|
1018
1016
|
toRegexRange.clearCache = () => toRegexRange.cache = {};
|
|
1019
|
-
|
|
1017
|
+
module2.exports = toRegexRange;
|
|
1020
1018
|
}
|
|
1021
1019
|
});
|
|
1022
1020
|
|
|
1023
1021
|
// node_modules/.pnpm/fill-range@7.0.1/node_modules/fill-range/index.js
|
|
1024
1022
|
var require_fill_range = __commonJS({
|
|
1025
|
-
"node_modules/.pnpm/fill-range@7.0.1/node_modules/fill-range/index.js"(exports,
|
|
1023
|
+
"node_modules/.pnpm/fill-range@7.0.1/node_modules/fill-range/index.js"(exports, module2) {
|
|
1026
1024
|
"use strict";
|
|
1027
|
-
var util =
|
|
1025
|
+
var util = require("util");
|
|
1028
1026
|
var toRegexRange = require_to_regex_range();
|
|
1029
1027
|
var isObject = (val) => val !== null && typeof val === "object" && !Array.isArray(val);
|
|
1030
1028
|
var transform = (toNumber) => {
|
|
@@ -1222,13 +1220,13 @@ var require_fill_range = __commonJS({
|
|
|
1222
1220
|
}
|
|
1223
1221
|
return fillLetters(start, end, Math.max(Math.abs(step), 1), opts);
|
|
1224
1222
|
};
|
|
1225
|
-
|
|
1223
|
+
module2.exports = fill;
|
|
1226
1224
|
}
|
|
1227
1225
|
});
|
|
1228
1226
|
|
|
1229
1227
|
// node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/compile.js
|
|
1230
1228
|
var require_compile = __commonJS({
|
|
1231
|
-
"node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/compile.js"(exports,
|
|
1229
|
+
"node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/compile.js"(exports, module2) {
|
|
1232
1230
|
"use strict";
|
|
1233
1231
|
var fill = require_fill_range();
|
|
1234
1232
|
var utils = require_utils();
|
|
@@ -1273,13 +1271,13 @@ var require_compile = __commonJS({
|
|
|
1273
1271
|
};
|
|
1274
1272
|
return walk(ast);
|
|
1275
1273
|
};
|
|
1276
|
-
|
|
1274
|
+
module2.exports = compile;
|
|
1277
1275
|
}
|
|
1278
1276
|
});
|
|
1279
1277
|
|
|
1280
1278
|
// node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/expand.js
|
|
1281
1279
|
var require_expand = __commonJS({
|
|
1282
|
-
"node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/expand.js"(exports,
|
|
1280
|
+
"node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/expand.js"(exports, module2) {
|
|
1283
1281
|
"use strict";
|
|
1284
1282
|
var fill = require_fill_range();
|
|
1285
1283
|
var stringify = require_stringify();
|
|
@@ -1370,15 +1368,15 @@ var require_expand = __commonJS({
|
|
|
1370
1368
|
};
|
|
1371
1369
|
return utils.flatten(walk(ast));
|
|
1372
1370
|
};
|
|
1373
|
-
|
|
1371
|
+
module2.exports = expand2;
|
|
1374
1372
|
}
|
|
1375
1373
|
});
|
|
1376
1374
|
|
|
1377
1375
|
// node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/constants.js
|
|
1378
1376
|
var require_constants = __commonJS({
|
|
1379
|
-
"node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/constants.js"(exports,
|
|
1377
|
+
"node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/constants.js"(exports, module2) {
|
|
1380
1378
|
"use strict";
|
|
1381
|
-
|
|
1379
|
+
module2.exports = {
|
|
1382
1380
|
MAX_LENGTH: 1024 * 64,
|
|
1383
1381
|
// Digits
|
|
1384
1382
|
CHAR_0: "0",
|
|
@@ -1477,7 +1475,7 @@ var require_constants = __commonJS({
|
|
|
1477
1475
|
|
|
1478
1476
|
// node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/parse.js
|
|
1479
1477
|
var require_parse = __commonJS({
|
|
1480
|
-
"node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/parse.js"(exports,
|
|
1478
|
+
"node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/parse.js"(exports, module2) {
|
|
1481
1479
|
"use strict";
|
|
1482
1480
|
var stringify = require_stringify();
|
|
1483
1481
|
var {
|
|
@@ -1715,13 +1713,13 @@ var require_parse = __commonJS({
|
|
|
1715
1713
|
push({ type: "eos" });
|
|
1716
1714
|
return ast;
|
|
1717
1715
|
};
|
|
1718
|
-
|
|
1716
|
+
module2.exports = parse;
|
|
1719
1717
|
}
|
|
1720
1718
|
});
|
|
1721
1719
|
|
|
1722
1720
|
// node_modules/.pnpm/braces@3.0.2/node_modules/braces/index.js
|
|
1723
1721
|
var require_braces = __commonJS({
|
|
1724
|
-
"node_modules/.pnpm/braces@3.0.2/node_modules/braces/index.js"(exports,
|
|
1722
|
+
"node_modules/.pnpm/braces@3.0.2/node_modules/braces/index.js"(exports, module2) {
|
|
1725
1723
|
"use strict";
|
|
1726
1724
|
var stringify = require_stringify();
|
|
1727
1725
|
var compile = require_compile();
|
|
@@ -1778,15 +1776,15 @@ var require_braces = __commonJS({
|
|
|
1778
1776
|
}
|
|
1779
1777
|
return options.expand !== true ? braces.compile(input, options) : braces.expand(input, options);
|
|
1780
1778
|
};
|
|
1781
|
-
|
|
1779
|
+
module2.exports = braces;
|
|
1782
1780
|
}
|
|
1783
1781
|
});
|
|
1784
1782
|
|
|
1785
1783
|
// node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/constants.js
|
|
1786
1784
|
var require_constants2 = __commonJS({
|
|
1787
|
-
"node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/constants.js"(exports,
|
|
1785
|
+
"node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/constants.js"(exports, module2) {
|
|
1788
1786
|
"use strict";
|
|
1789
|
-
var path2 =
|
|
1787
|
+
var path2 = require("path");
|
|
1790
1788
|
var WIN_SLASH = "\\\\/";
|
|
1791
1789
|
var WIN_NO_SLASH = `[^${WIN_SLASH}]`;
|
|
1792
1790
|
var DOT_LITERAL = "\\.";
|
|
@@ -1851,7 +1849,7 @@ var require_constants2 = __commonJS({
|
|
|
1851
1849
|
word: "A-Za-z0-9_",
|
|
1852
1850
|
xdigit: "A-Fa-f0-9"
|
|
1853
1851
|
};
|
|
1854
|
-
|
|
1852
|
+
module2.exports = {
|
|
1855
1853
|
MAX_LENGTH: 1024 * 64,
|
|
1856
1854
|
POSIX_REGEX_SOURCE,
|
|
1857
1855
|
// regular expressions
|
|
@@ -1983,7 +1981,7 @@ var require_constants2 = __commonJS({
|
|
|
1983
1981
|
var require_utils2 = __commonJS({
|
|
1984
1982
|
"node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/utils.js"(exports) {
|
|
1985
1983
|
"use strict";
|
|
1986
|
-
var path2 =
|
|
1984
|
+
var path2 = require("path");
|
|
1987
1985
|
var win322 = process.platform === "win32";
|
|
1988
1986
|
var {
|
|
1989
1987
|
REGEX_BACKSLASH,
|
|
@@ -2044,7 +2042,7 @@ var require_utils2 = __commonJS({
|
|
|
2044
2042
|
|
|
2045
2043
|
// node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/scan.js
|
|
2046
2044
|
var require_scan = __commonJS({
|
|
2047
|
-
"node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/scan.js"(exports,
|
|
2045
|
+
"node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/scan.js"(exports, module2) {
|
|
2048
2046
|
"use strict";
|
|
2049
2047
|
var utils = require_utils2();
|
|
2050
2048
|
var {
|
|
@@ -2371,13 +2369,13 @@ var require_scan = __commonJS({
|
|
|
2371
2369
|
}
|
|
2372
2370
|
return state;
|
|
2373
2371
|
};
|
|
2374
|
-
|
|
2372
|
+
module2.exports = scan;
|
|
2375
2373
|
}
|
|
2376
2374
|
});
|
|
2377
2375
|
|
|
2378
2376
|
// node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/parse.js
|
|
2379
2377
|
var require_parse2 = __commonJS({
|
|
2380
|
-
"node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/parse.js"(exports,
|
|
2378
|
+
"node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/parse.js"(exports, module2) {
|
|
2381
2379
|
"use strict";
|
|
2382
2380
|
var constants = require_constants2();
|
|
2383
2381
|
var utils = require_utils2();
|
|
@@ -3152,15 +3150,15 @@ var require_parse2 = __commonJS({
|
|
|
3152
3150
|
}
|
|
3153
3151
|
return source;
|
|
3154
3152
|
};
|
|
3155
|
-
|
|
3153
|
+
module2.exports = parse;
|
|
3156
3154
|
}
|
|
3157
3155
|
});
|
|
3158
3156
|
|
|
3159
3157
|
// node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/picomatch.js
|
|
3160
3158
|
var require_picomatch = __commonJS({
|
|
3161
|
-
"node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/picomatch.js"(exports,
|
|
3159
|
+
"node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/picomatch.js"(exports, module2) {
|
|
3162
3160
|
"use strict";
|
|
3163
|
-
var path2 =
|
|
3161
|
+
var path2 = require("path");
|
|
3164
3162
|
var scan = require_scan();
|
|
3165
3163
|
var parse = require_parse2();
|
|
3166
3164
|
var utils = require_utils2();
|
|
@@ -3296,23 +3294,23 @@ var require_picomatch = __commonJS({
|
|
|
3296
3294
|
}
|
|
3297
3295
|
};
|
|
3298
3296
|
picomatch.constants = constants;
|
|
3299
|
-
|
|
3297
|
+
module2.exports = picomatch;
|
|
3300
3298
|
}
|
|
3301
3299
|
});
|
|
3302
3300
|
|
|
3303
3301
|
// node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/index.js
|
|
3304
3302
|
var require_picomatch2 = __commonJS({
|
|
3305
|
-
"node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/index.js"(exports,
|
|
3303
|
+
"node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/index.js"(exports, module2) {
|
|
3306
3304
|
"use strict";
|
|
3307
|
-
|
|
3305
|
+
module2.exports = require_picomatch();
|
|
3308
3306
|
}
|
|
3309
3307
|
});
|
|
3310
3308
|
|
|
3311
3309
|
// node_modules/.pnpm/micromatch@4.0.5/node_modules/micromatch/index.js
|
|
3312
3310
|
var require_micromatch = __commonJS({
|
|
3313
|
-
"node_modules/.pnpm/micromatch@4.0.5/node_modules/micromatch/index.js"(exports,
|
|
3311
|
+
"node_modules/.pnpm/micromatch@4.0.5/node_modules/micromatch/index.js"(exports, module2) {
|
|
3314
3312
|
"use strict";
|
|
3315
|
-
var util =
|
|
3313
|
+
var util = require("util");
|
|
3316
3314
|
var braces = require_braces();
|
|
3317
3315
|
var picomatch = require_picomatch2();
|
|
3318
3316
|
var utils = require_utils2();
|
|
@@ -3466,7 +3464,7 @@ var require_micromatch = __commonJS({
|
|
|
3466
3464
|
throw new TypeError("Expected a string");
|
|
3467
3465
|
return micromatch.braces(pattern, { ...options, expand: true });
|
|
3468
3466
|
};
|
|
3469
|
-
|
|
3467
|
+
module2.exports = micromatch;
|
|
3470
3468
|
}
|
|
3471
3469
|
});
|
|
3472
3470
|
|
|
@@ -3476,7 +3474,7 @@ var require_pattern = __commonJS({
|
|
|
3476
3474
|
"use strict";
|
|
3477
3475
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3478
3476
|
exports.removeDuplicateSlashes = exports.matchAny = exports.convertPatternsToRe = exports.makeRe = exports.getPatternParts = exports.expandBraceExpansion = exports.expandPatternsWithBraceExpansion = exports.isAffectDepthOfReadingPattern = exports.endsWithSlashGlobStar = exports.hasGlobStar = exports.getBaseDirectory = exports.isPatternRelatedToParentDirectory = exports.getPatternsOutsideCurrentDirectory = exports.getPatternsInsideCurrentDirectory = exports.getPositivePatterns = exports.getNegativePatterns = exports.isPositivePattern = exports.isNegativePattern = exports.convertToNegativePattern = exports.convertToPositivePattern = exports.isDynamicPattern = exports.isStaticPattern = void 0;
|
|
3479
|
-
var path2 =
|
|
3477
|
+
var path2 = require("path");
|
|
3480
3478
|
var globParent = require_glob_parent();
|
|
3481
3479
|
var micromatch = require_micromatch();
|
|
3482
3480
|
var GLOBSTAR2 = "**";
|
|
@@ -3853,7 +3851,7 @@ var require_fs2 = __commonJS({
|
|
|
3853
3851
|
"use strict";
|
|
3854
3852
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3855
3853
|
exports.createFileSystemAdapter = exports.FILE_SYSTEM_ADAPTER = void 0;
|
|
3856
|
-
var fs =
|
|
3854
|
+
var fs = require("fs");
|
|
3857
3855
|
exports.FILE_SYSTEM_ADAPTER = {
|
|
3858
3856
|
lstat: fs.lstat,
|
|
3859
3857
|
stat: fs.stat,
|
|
@@ -3926,9 +3924,9 @@ var require_out = __commonJS({
|
|
|
3926
3924
|
|
|
3927
3925
|
// node_modules/.pnpm/queue-microtask@1.2.3/node_modules/queue-microtask/index.js
|
|
3928
3926
|
var require_queue_microtask = __commonJS({
|
|
3929
|
-
"node_modules/.pnpm/queue-microtask@1.2.3/node_modules/queue-microtask/index.js"(exports,
|
|
3927
|
+
"node_modules/.pnpm/queue-microtask@1.2.3/node_modules/queue-microtask/index.js"(exports, module2) {
|
|
3930
3928
|
var promise;
|
|
3931
|
-
|
|
3929
|
+
module2.exports = typeof queueMicrotask === "function" ? queueMicrotask.bind(typeof window !== "undefined" ? window : global) : (cb) => (promise || (promise = Promise.resolve())).then(cb).catch((err) => setTimeout(() => {
|
|
3932
3930
|
throw err;
|
|
3933
3931
|
}, 0));
|
|
3934
3932
|
}
|
|
@@ -3936,8 +3934,8 @@ var require_queue_microtask = __commonJS({
|
|
|
3936
3934
|
|
|
3937
3935
|
// node_modules/.pnpm/run-parallel@1.2.0/node_modules/run-parallel/index.js
|
|
3938
3936
|
var require_run_parallel = __commonJS({
|
|
3939
|
-
"node_modules/.pnpm/run-parallel@1.2.0/node_modules/run-parallel/index.js"(exports,
|
|
3940
|
-
|
|
3937
|
+
"node_modules/.pnpm/run-parallel@1.2.0/node_modules/run-parallel/index.js"(exports, module2) {
|
|
3938
|
+
module2.exports = runParallel;
|
|
3941
3939
|
var queueMicrotask2 = require_queue_microtask();
|
|
3942
3940
|
function runParallel(tasks, cb) {
|
|
3943
3941
|
let results, pending, keys;
|
|
@@ -4234,7 +4232,7 @@ var require_fs4 = __commonJS({
|
|
|
4234
4232
|
"use strict";
|
|
4235
4233
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4236
4234
|
exports.createFileSystemAdapter = exports.FILE_SYSTEM_ADAPTER = void 0;
|
|
4237
|
-
var fs =
|
|
4235
|
+
var fs = require("fs");
|
|
4238
4236
|
exports.FILE_SYSTEM_ADAPTER = {
|
|
4239
4237
|
lstat: fs.lstat,
|
|
4240
4238
|
stat: fs.stat,
|
|
@@ -4258,7 +4256,7 @@ var require_settings2 = __commonJS({
|
|
|
4258
4256
|
"node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/settings.js"(exports) {
|
|
4259
4257
|
"use strict";
|
|
4260
4258
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4261
|
-
var path2 =
|
|
4259
|
+
var path2 = require("path");
|
|
4262
4260
|
var fsStat = require_out();
|
|
4263
4261
|
var fs = require_fs4();
|
|
4264
4262
|
var Settings = class {
|
|
@@ -4317,7 +4315,7 @@ var require_out2 = __commonJS({
|
|
|
4317
4315
|
|
|
4318
4316
|
// node_modules/.pnpm/reusify@1.0.4/node_modules/reusify/reusify.js
|
|
4319
4317
|
var require_reusify = __commonJS({
|
|
4320
|
-
"node_modules/.pnpm/reusify@1.0.4/node_modules/reusify/reusify.js"(exports,
|
|
4318
|
+
"node_modules/.pnpm/reusify@1.0.4/node_modules/reusify/reusify.js"(exports, module2) {
|
|
4321
4319
|
"use strict";
|
|
4322
4320
|
function reusify(Constructor) {
|
|
4323
4321
|
var head = new Constructor();
|
|
@@ -4342,13 +4340,13 @@ var require_reusify = __commonJS({
|
|
|
4342
4340
|
release
|
|
4343
4341
|
};
|
|
4344
4342
|
}
|
|
4345
|
-
|
|
4343
|
+
module2.exports = reusify;
|
|
4346
4344
|
}
|
|
4347
4345
|
});
|
|
4348
4346
|
|
|
4349
4347
|
// node_modules/.pnpm/fastq@1.15.0/node_modules/fastq/queue.js
|
|
4350
4348
|
var require_queue = __commonJS({
|
|
4351
|
-
"node_modules/.pnpm/fastq@1.15.0/node_modules/fastq/queue.js"(exports,
|
|
4349
|
+
"node_modules/.pnpm/fastq@1.15.0/node_modules/fastq/queue.js"(exports, module2) {
|
|
4352
4350
|
"use strict";
|
|
4353
4351
|
var reusify = require_reusify();
|
|
4354
4352
|
function fastqueue(context, worker, concurrency) {
|
|
@@ -4582,8 +4580,8 @@ var require_queue = __commonJS({
|
|
|
4582
4580
|
return p;
|
|
4583
4581
|
}
|
|
4584
4582
|
}
|
|
4585
|
-
|
|
4586
|
-
|
|
4583
|
+
module2.exports = fastqueue;
|
|
4584
|
+
module2.exports.promise = queueAsPromised;
|
|
4587
4585
|
}
|
|
4588
4586
|
});
|
|
4589
4587
|
|
|
@@ -4643,7 +4641,7 @@ var require_async3 = __commonJS({
|
|
|
4643
4641
|
"node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/async.js"(exports) {
|
|
4644
4642
|
"use strict";
|
|
4645
4643
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4646
|
-
var events_1 =
|
|
4644
|
+
var events_1 = require("events");
|
|
4647
4645
|
var fsScandir = require_out2();
|
|
4648
4646
|
var fastq = require_queue();
|
|
4649
4647
|
var common = require_common2();
|
|
@@ -4782,7 +4780,7 @@ var require_stream2 = __commonJS({
|
|
|
4782
4780
|
"node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/providers/stream.js"(exports) {
|
|
4783
4781
|
"use strict";
|
|
4784
4782
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4785
|
-
var stream_1 =
|
|
4783
|
+
var stream_1 = require("stream");
|
|
4786
4784
|
var async_1 = require_async3();
|
|
4787
4785
|
var StreamProvider = class {
|
|
4788
4786
|
constructor(_root, _settings) {
|
|
@@ -4907,7 +4905,7 @@ var require_settings3 = __commonJS({
|
|
|
4907
4905
|
"node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/settings.js"(exports) {
|
|
4908
4906
|
"use strict";
|
|
4909
4907
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4910
|
-
var path2 =
|
|
4908
|
+
var path2 = require("path");
|
|
4911
4909
|
var fsScandir = require_out2();
|
|
4912
4910
|
var Settings = class {
|
|
4913
4911
|
constructor(_options = {}) {
|
|
@@ -4979,7 +4977,7 @@ var require_reader2 = __commonJS({
|
|
|
4979
4977
|
"node_modules/.pnpm/fast-glob@3.3.2/node_modules/fast-glob/out/readers/reader.js"(exports) {
|
|
4980
4978
|
"use strict";
|
|
4981
4979
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4982
|
-
var path2 =
|
|
4980
|
+
var path2 = require("path");
|
|
4983
4981
|
var fsStat = require_out();
|
|
4984
4982
|
var utils = require_utils3();
|
|
4985
4983
|
var Reader = class {
|
|
@@ -5018,7 +5016,7 @@ var require_stream3 = __commonJS({
|
|
|
5018
5016
|
"node_modules/.pnpm/fast-glob@3.3.2/node_modules/fast-glob/out/readers/stream.js"(exports) {
|
|
5019
5017
|
"use strict";
|
|
5020
5018
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5021
|
-
var stream_1 =
|
|
5019
|
+
var stream_1 = require("stream");
|
|
5022
5020
|
var fsStat = require_out();
|
|
5023
5021
|
var fsWalk = require_out3();
|
|
5024
5022
|
var reader_1 = require_reader2();
|
|
@@ -5386,7 +5384,7 @@ var require_provider = __commonJS({
|
|
|
5386
5384
|
"node_modules/.pnpm/fast-glob@3.3.2/node_modules/fast-glob/out/providers/provider.js"(exports) {
|
|
5387
5385
|
"use strict";
|
|
5388
5386
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5389
|
-
var path2 =
|
|
5387
|
+
var path2 = require("path");
|
|
5390
5388
|
var deep_1 = require_deep();
|
|
5391
5389
|
var entry_1 = require_entry();
|
|
5392
5390
|
var error_1 = require_error();
|
|
@@ -5469,7 +5467,7 @@ var require_stream4 = __commonJS({
|
|
|
5469
5467
|
"node_modules/.pnpm/fast-glob@3.3.2/node_modules/fast-glob/out/providers/stream.js"(exports) {
|
|
5470
5468
|
"use strict";
|
|
5471
5469
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5472
|
-
var stream_1 =
|
|
5470
|
+
var stream_1 = require("stream");
|
|
5473
5471
|
var stream_2 = require_stream3();
|
|
5474
5472
|
var provider_1 = require_provider();
|
|
5475
5473
|
var ProviderStream = class extends provider_1.default {
|
|
@@ -5581,8 +5579,8 @@ var require_settings4 = __commonJS({
|
|
|
5581
5579
|
"use strict";
|
|
5582
5580
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5583
5581
|
exports.DEFAULT_FILE_SYSTEM_ADAPTER = void 0;
|
|
5584
|
-
var fs =
|
|
5585
|
-
var os =
|
|
5582
|
+
var fs = require("fs");
|
|
5583
|
+
var os = require("os");
|
|
5586
5584
|
var CPU_COUNT = Math.max(os.cpus().length, 1);
|
|
5587
5585
|
exports.DEFAULT_FILE_SYSTEM_ADAPTER = {
|
|
5588
5586
|
lstat: fs.lstat,
|
|
@@ -5637,7 +5635,7 @@ var require_settings4 = __commonJS({
|
|
|
5637
5635
|
|
|
5638
5636
|
// node_modules/.pnpm/fast-glob@3.3.2/node_modules/fast-glob/out/index.js
|
|
5639
5637
|
var require_out4 = __commonJS({
|
|
5640
|
-
"node_modules/.pnpm/fast-glob@3.3.2/node_modules/fast-glob/out/index.js"(exports,
|
|
5638
|
+
"node_modules/.pnpm/fast-glob@3.3.2/node_modules/fast-glob/out/index.js"(exports, module2) {
|
|
5641
5639
|
"use strict";
|
|
5642
5640
|
var taskManager = require_tasks();
|
|
5643
5641
|
var async_1 = require_async6();
|
|
@@ -5732,7 +5730,7 @@ var require_out4 = __commonJS({
|
|
|
5732
5730
|
throw new TypeError("Patterns must be a string (non empty) or an array of strings");
|
|
5733
5731
|
}
|
|
5734
5732
|
}
|
|
5735
|
-
|
|
5733
|
+
module2.exports = FastGlob;
|
|
5736
5734
|
}
|
|
5737
5735
|
});
|
|
5738
5736
|
|
|
@@ -5740,8 +5738,8 @@ var require_out4 = __commonJS({
|
|
|
5740
5738
|
var require_path_type = __commonJS({
|
|
5741
5739
|
"node_modules/.pnpm/path-type@4.0.0/node_modules/path-type/index.js"(exports) {
|
|
5742
5740
|
"use strict";
|
|
5743
|
-
var { promisify } =
|
|
5744
|
-
var fs =
|
|
5741
|
+
var { promisify } = require("util");
|
|
5742
|
+
var fs = require("fs");
|
|
5745
5743
|
async function isType(fsStatType, statsMethodName, filePath) {
|
|
5746
5744
|
if (typeof filePath !== "string") {
|
|
5747
5745
|
throw new TypeError(`Expected a string, got ${typeof filePath}`);
|
|
@@ -5780,9 +5778,9 @@ var require_path_type = __commonJS({
|
|
|
5780
5778
|
|
|
5781
5779
|
// node_modules/.pnpm/dir-glob@3.0.1/node_modules/dir-glob/index.js
|
|
5782
5780
|
var require_dir_glob = __commonJS({
|
|
5783
|
-
"node_modules/.pnpm/dir-glob@3.0.1/node_modules/dir-glob/index.js"(exports,
|
|
5781
|
+
"node_modules/.pnpm/dir-glob@3.0.1/node_modules/dir-glob/index.js"(exports, module2) {
|
|
5784
5782
|
"use strict";
|
|
5785
|
-
var path2 =
|
|
5783
|
+
var path2 = require("path");
|
|
5786
5784
|
var pathType = require_path_type();
|
|
5787
5785
|
var getExtensions = (extensions) => extensions.length > 1 ? `{${extensions.join(",")}}` : extensions[0];
|
|
5788
5786
|
var getPath = (filepath, cwd) => {
|
|
@@ -5813,7 +5811,7 @@ var require_dir_glob = __commonJS({
|
|
|
5813
5811
|
}
|
|
5814
5812
|
return [path2.posix.join(directory, "**")];
|
|
5815
5813
|
};
|
|
5816
|
-
|
|
5814
|
+
module2.exports = async (input, options) => {
|
|
5817
5815
|
options = {
|
|
5818
5816
|
cwd: process.cwd(),
|
|
5819
5817
|
...options
|
|
@@ -5827,7 +5825,7 @@ var require_dir_glob = __commonJS({
|
|
|
5827
5825
|
}));
|
|
5828
5826
|
return [].concat.apply([], globs);
|
|
5829
5827
|
};
|
|
5830
|
-
|
|
5828
|
+
module2.exports.sync = (input, options) => {
|
|
5831
5829
|
options = {
|
|
5832
5830
|
cwd: process.cwd(),
|
|
5833
5831
|
...options
|
|
@@ -5843,7 +5841,7 @@ var require_dir_glob = __commonJS({
|
|
|
5843
5841
|
|
|
5844
5842
|
// node_modules/.pnpm/ignore@5.2.4/node_modules/ignore/index.js
|
|
5845
5843
|
var require_ignore = __commonJS({
|
|
5846
|
-
"node_modules/.pnpm/ignore@5.2.4/node_modules/ignore/index.js"(exports,
|
|
5844
|
+
"node_modules/.pnpm/ignore@5.2.4/node_modules/ignore/index.js"(exports, module2) {
|
|
5847
5845
|
function makeArray(subject) {
|
|
5848
5846
|
return Array.isArray(subject) ? subject : [subject];
|
|
5849
5847
|
}
|
|
@@ -6201,7 +6199,7 @@ var require_ignore = __commonJS({
|
|
|
6201
6199
|
var isPathValid = (path2) => checkPath(path2 && checkPath.convert(path2), path2, RETURN_FALSE);
|
|
6202
6200
|
factory.isPathValid = isPathValid;
|
|
6203
6201
|
factory.default = factory;
|
|
6204
|
-
|
|
6202
|
+
module2.exports = factory;
|
|
6205
6203
|
if (
|
|
6206
6204
|
// Detect `process` so that it can run in browsers.
|
|
6207
6205
|
typeof process !== "undefined" && (process.env && process.env.IGNORE_TEST_WIN32 || process.platform === "win32")
|
|
@@ -6216,9 +6214,9 @@ var require_ignore = __commonJS({
|
|
|
6216
6214
|
|
|
6217
6215
|
// node_modules/.pnpm/slash@3.0.0/node_modules/slash/index.js
|
|
6218
6216
|
var require_slash = __commonJS({
|
|
6219
|
-
"node_modules/.pnpm/slash@3.0.0/node_modules/slash/index.js"(exports,
|
|
6217
|
+
"node_modules/.pnpm/slash@3.0.0/node_modules/slash/index.js"(exports, module2) {
|
|
6220
6218
|
"use strict";
|
|
6221
|
-
|
|
6219
|
+
module2.exports = (path2) => {
|
|
6222
6220
|
const isExtendedLengthPath = /^\\\\\?\\/.test(path2);
|
|
6223
6221
|
const hasNonAscii = /[^\u0000-\u0080]+/.test(path2);
|
|
6224
6222
|
if (isExtendedLengthPath || hasNonAscii) {
|
|
@@ -6231,11 +6229,11 @@ var require_slash = __commonJS({
|
|
|
6231
6229
|
|
|
6232
6230
|
// node_modules/.pnpm/globby@11.1.0/node_modules/globby/gitignore.js
|
|
6233
6231
|
var require_gitignore = __commonJS({
|
|
6234
|
-
"node_modules/.pnpm/globby@11.1.0/node_modules/globby/gitignore.js"(exports,
|
|
6232
|
+
"node_modules/.pnpm/globby@11.1.0/node_modules/globby/gitignore.js"(exports, module2) {
|
|
6235
6233
|
"use strict";
|
|
6236
|
-
var { promisify } =
|
|
6237
|
-
var fs =
|
|
6238
|
-
var path2 =
|
|
6234
|
+
var { promisify } = require("util");
|
|
6235
|
+
var fs = require("fs");
|
|
6236
|
+
var path2 = require("path");
|
|
6239
6237
|
var fastGlob = require_out4();
|
|
6240
6238
|
var gitIgnore = require_ignore();
|
|
6241
6239
|
var slash = require_slash();
|
|
@@ -6303,7 +6301,7 @@ var require_gitignore = __commonJS({
|
|
|
6303
6301
|
} = {}) => {
|
|
6304
6302
|
return { ignore, cwd };
|
|
6305
6303
|
};
|
|
6306
|
-
|
|
6304
|
+
module2.exports = async (options) => {
|
|
6307
6305
|
options = normalizeOptions(options);
|
|
6308
6306
|
const paths = await fastGlob("**/.gitignore", {
|
|
6309
6307
|
ignore: DEFAULT_IGNORE.concat(options.ignore),
|
|
@@ -6313,7 +6311,7 @@ var require_gitignore = __commonJS({
|
|
|
6313
6311
|
const ignores = reduceIgnore(files);
|
|
6314
6312
|
return getIsIgnoredPredecate(ignores, options.cwd);
|
|
6315
6313
|
};
|
|
6316
|
-
|
|
6314
|
+
module2.exports.sync = (options) => {
|
|
6317
6315
|
options = normalizeOptions(options);
|
|
6318
6316
|
const paths = fastGlob.sync("**/.gitignore", {
|
|
6319
6317
|
ignore: DEFAULT_IGNORE.concat(options.ignore),
|
|
@@ -6328,9 +6326,9 @@ var require_gitignore = __commonJS({
|
|
|
6328
6326
|
|
|
6329
6327
|
// node_modules/.pnpm/globby@11.1.0/node_modules/globby/stream-utils.js
|
|
6330
6328
|
var require_stream_utils = __commonJS({
|
|
6331
|
-
"node_modules/.pnpm/globby@11.1.0/node_modules/globby/stream-utils.js"(exports,
|
|
6329
|
+
"node_modules/.pnpm/globby@11.1.0/node_modules/globby/stream-utils.js"(exports, module2) {
|
|
6332
6330
|
"use strict";
|
|
6333
|
-
var { Transform } =
|
|
6331
|
+
var { Transform } = require("stream");
|
|
6334
6332
|
var ObjectTransform = class extends Transform {
|
|
6335
6333
|
constructor() {
|
|
6336
6334
|
super({
|
|
@@ -6363,7 +6361,7 @@ var require_stream_utils = __commonJS({
|
|
|
6363
6361
|
callback();
|
|
6364
6362
|
}
|
|
6365
6363
|
};
|
|
6366
|
-
|
|
6364
|
+
module2.exports = {
|
|
6367
6365
|
FilterStream,
|
|
6368
6366
|
UniqueStream
|
|
6369
6367
|
};
|
|
@@ -6372,9 +6370,9 @@ var require_stream_utils = __commonJS({
|
|
|
6372
6370
|
|
|
6373
6371
|
// node_modules/.pnpm/globby@11.1.0/node_modules/globby/index.js
|
|
6374
6372
|
var require_globby = __commonJS({
|
|
6375
|
-
"node_modules/.pnpm/globby@11.1.0/node_modules/globby/index.js"(exports,
|
|
6373
|
+
"node_modules/.pnpm/globby@11.1.0/node_modules/globby/index.js"(exports, module2) {
|
|
6376
6374
|
"use strict";
|
|
6377
|
-
var fs =
|
|
6375
|
+
var fs = require("fs");
|
|
6378
6376
|
var arrayUnion = require_array_union();
|
|
6379
6377
|
var merge2 = require_merge2();
|
|
6380
6378
|
var fastGlob = require_out4();
|
|
@@ -6458,7 +6456,7 @@ var require_globby = __commonJS({
|
|
|
6458
6456
|
options
|
|
6459
6457
|
};
|
|
6460
6458
|
};
|
|
6461
|
-
|
|
6459
|
+
module2.exports = async (patterns, options) => {
|
|
6462
6460
|
const globTasks = generateGlobTasks(patterns, options);
|
|
6463
6461
|
const getFilter = async () => {
|
|
6464
6462
|
return options && options.gitignore ? gitignore({ cwd: options.cwd, ignore: options.ignore }) : DEFAULT_FILTER;
|
|
@@ -6474,7 +6472,7 @@ var require_globby = __commonJS({
|
|
|
6474
6472
|
const paths = await Promise.all(tasks.map((task) => fastGlob(task.pattern, task.options)));
|
|
6475
6473
|
return arrayUnion(...paths).filter((path_) => !filter2(getPathString(path_)));
|
|
6476
6474
|
};
|
|
6477
|
-
|
|
6475
|
+
module2.exports.sync = (patterns, options) => {
|
|
6478
6476
|
const globTasks = generateGlobTasks(patterns, options);
|
|
6479
6477
|
const tasks = [];
|
|
6480
6478
|
for (const task of globTasks) {
|
|
@@ -6488,7 +6486,7 @@ var require_globby = __commonJS({
|
|
|
6488
6486
|
}
|
|
6489
6487
|
return matches.filter((path_) => !filter2(path_));
|
|
6490
6488
|
};
|
|
6491
|
-
|
|
6489
|
+
module2.exports.stream = (patterns, options) => {
|
|
6492
6490
|
const globTasks = generateGlobTasks(patterns, options);
|
|
6493
6491
|
const tasks = [];
|
|
6494
6492
|
for (const task of globTasks) {
|
|
@@ -6500,19 +6498,19 @@ var require_globby = __commonJS({
|
|
|
6500
6498
|
const uniqueStream = new UniqueStream();
|
|
6501
6499
|
return merge2(tasks.map((task) => fastGlob.stream(task.pattern, task.options))).pipe(filterStream).pipe(uniqueStream);
|
|
6502
6500
|
};
|
|
6503
|
-
|
|
6504
|
-
|
|
6505
|
-
|
|
6501
|
+
module2.exports.generateGlobTasks = generateGlobTasks;
|
|
6502
|
+
module2.exports.hasMagic = (patterns, options) => [].concat(patterns).some((pattern) => fastGlob.isDynamicPattern(pattern, options));
|
|
6503
|
+
module2.exports.gitignore = gitignore;
|
|
6506
6504
|
}
|
|
6507
6505
|
});
|
|
6508
6506
|
|
|
6509
6507
|
// node_modules/.pnpm/resolve-from@5.0.0/node_modules/resolve-from/index.js
|
|
6510
6508
|
var require_resolve_from = __commonJS({
|
|
6511
|
-
"node_modules/.pnpm/resolve-from@5.0.0/node_modules/resolve-from/index.js"(exports,
|
|
6509
|
+
"node_modules/.pnpm/resolve-from@5.0.0/node_modules/resolve-from/index.js"(exports, module2) {
|
|
6512
6510
|
"use strict";
|
|
6513
|
-
var path2 =
|
|
6514
|
-
var Module =
|
|
6515
|
-
var fs =
|
|
6511
|
+
var path2 = require("path");
|
|
6512
|
+
var Module = require("module");
|
|
6513
|
+
var fs = require("fs");
|
|
6516
6514
|
var resolveFrom = (fromDirectory, moduleId, silent) => {
|
|
6517
6515
|
if (typeof fromDirectory !== "string") {
|
|
6518
6516
|
throw new TypeError(`Expected \`fromDir\` to be of type \`string\`, got \`${typeof fromDirectory}\``);
|
|
@@ -6546,8 +6544,8 @@ var require_resolve_from = __commonJS({
|
|
|
6546
6544
|
}
|
|
6547
6545
|
return resolveFileName();
|
|
6548
6546
|
};
|
|
6549
|
-
|
|
6550
|
-
|
|
6547
|
+
module2.exports = (fromDirectory, moduleId) => resolveFrom(fromDirectory, moduleId);
|
|
6548
|
+
module2.exports.silent = (fromDirectory, moduleId) => resolveFrom(fromDirectory, moduleId, true);
|
|
6551
6549
|
}
|
|
6552
6550
|
});
|
|
6553
6551
|
|
|
@@ -6565,17 +6563,17 @@ var require_chunk_GQ77QZBO = __commonJS({
|
|
|
6565
6563
|
var __getOwnPropNames2 = Object.getOwnPropertyNames;
|
|
6566
6564
|
var __getProtoOf2 = Object.getPrototypeOf;
|
|
6567
6565
|
var __hasOwnProp2 = Object.prototype.hasOwnProperty;
|
|
6568
|
-
var
|
|
6569
|
-
get: (a, b) => (typeof
|
|
6566
|
+
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
|
|
6567
|
+
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
|
6570
6568
|
}) : x)(function(x) {
|
|
6571
|
-
if (typeof
|
|
6572
|
-
return
|
|
6569
|
+
if (typeof require !== "undefined")
|
|
6570
|
+
return require.apply(this, arguments);
|
|
6573
6571
|
throw new Error('Dynamic require of "' + x + '" is not supported');
|
|
6574
6572
|
});
|
|
6575
|
-
var __commonJS2 = (cb, mod) => function
|
|
6573
|
+
var __commonJS2 = (cb, mod) => function __require2() {
|
|
6576
6574
|
return mod || (0, cb[__getOwnPropNames2(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
6577
6575
|
};
|
|
6578
|
-
var
|
|
6576
|
+
var __export2 = (target, all) => {
|
|
6579
6577
|
for (var name in all)
|
|
6580
6578
|
__defProp2(target, name, { get: all[name], enumerable: true });
|
|
6581
6579
|
};
|
|
@@ -6595,11 +6593,11 @@ var require_chunk_GQ77QZBO = __commonJS({
|
|
|
6595
6593
|
isNodeMode || !mod || !mod.__esModule ? __defProp2(target, "default", { value: mod, enumerable: true }) : target,
|
|
6596
6594
|
mod
|
|
6597
6595
|
));
|
|
6598
|
-
var _fs =
|
|
6596
|
+
var _fs = require("fs");
|
|
6599
6597
|
var _fs2 = _interopRequireDefault(_fs);
|
|
6600
6598
|
var _globby = require_globby();
|
|
6601
6599
|
var _globby2 = _interopRequireDefault(_globby);
|
|
6602
|
-
var _path =
|
|
6600
|
+
var _path = require("path");
|
|
6603
6601
|
var _path2 = _interopRequireDefault(_path);
|
|
6604
6602
|
var _resolvefrom = require_resolve_from();
|
|
6605
6603
|
var _resolvefrom2 = _interopRequireDefault(_resolvefrom);
|
|
@@ -6676,7 +6674,7 @@ var require_chunk_GQ77QZBO = __commonJS({
|
|
|
6676
6674
|
}
|
|
6677
6675
|
function localRequire(moduleName) {
|
|
6678
6676
|
const p = _resolvefrom2.default.silent(process.cwd(), moduleName);
|
|
6679
|
-
return p &&
|
|
6677
|
+
return p && __require(p);
|
|
6680
6678
|
}
|
|
6681
6679
|
async function removeFiles(patterns, dir) {
|
|
6682
6680
|
const files = await _globby2.default.call(void 0, patterns, {
|
|
@@ -6810,9 +6808,9 @@ var require_chunk_GQ77QZBO = __commonJS({
|
|
|
6810
6808
|
_fs2.default.mkdirSync(_path2.default.dirname(filePath), { recursive: true });
|
|
6811
6809
|
_fs2.default.writeFileSync(filePath, content);
|
|
6812
6810
|
}
|
|
6813
|
-
exports.__require =
|
|
6811
|
+
exports.__require = __require;
|
|
6814
6812
|
exports.__commonJS = __commonJS2;
|
|
6815
|
-
exports.__export =
|
|
6813
|
+
exports.__export = __export2;
|
|
6816
6814
|
exports.__toESM = __toESM2;
|
|
6817
6815
|
exports.getPostcss = getPostcss;
|
|
6818
6816
|
exports.getApiExtractor = getApiExtractor;
|
|
@@ -6853,7 +6851,7 @@ var require_chunk_UIX4URMV = __commonJS({
|
|
|
6853
6851
|
}
|
|
6854
6852
|
}
|
|
6855
6853
|
var _chunkGQ77QZBOjs = require_chunk_GQ77QZBO();
|
|
6856
|
-
var _worker_threads =
|
|
6854
|
+
var _worker_threads = require("worker_threads");
|
|
6857
6855
|
var colorette_exports = {};
|
|
6858
6856
|
_chunkGQ77QZBOjs.__export.call(void 0, colorette_exports, {
|
|
6859
6857
|
bgBlack: () => bgBlack,
|
|
@@ -6900,7 +6898,7 @@ var require_chunk_UIX4URMV = __commonJS({
|
|
|
6900
6898
|
yellow: () => yellow,
|
|
6901
6899
|
yellowBright: () => yellowBright
|
|
6902
6900
|
});
|
|
6903
|
-
var _tty =
|
|
6901
|
+
var _tty = require("tty");
|
|
6904
6902
|
var tty = _interopRequireWildcard(_tty);
|
|
6905
6903
|
var env = process.env || {};
|
|
6906
6904
|
var argv = process.argv || [];
|
|
@@ -7058,14 +7056,14 @@ var require_chunk_UIX4URMV = __commonJS({
|
|
|
7058
7056
|
|
|
7059
7057
|
// node_modules/.pnpm/joycon@3.1.1/node_modules/joycon/lib/index.js
|
|
7060
7058
|
var require_lib = __commonJS({
|
|
7061
|
-
"node_modules/.pnpm/joycon@3.1.1/node_modules/joycon/lib/index.js"(exports,
|
|
7059
|
+
"node_modules/.pnpm/joycon@3.1.1/node_modules/joycon/lib/index.js"(exports, module2) {
|
|
7062
7060
|
"use strict";
|
|
7063
7061
|
Object.defineProperty(exports, "__esModule", {
|
|
7064
7062
|
value: true
|
|
7065
7063
|
});
|
|
7066
7064
|
exports.default = void 0;
|
|
7067
|
-
var _fs = _interopRequireDefault(
|
|
7068
|
-
var _path = _interopRequireDefault(
|
|
7065
|
+
var _fs = _interopRequireDefault(require("fs"));
|
|
7066
|
+
var _path = _interopRequireDefault(require("path"));
|
|
7069
7067
|
function _interopRequireDefault(obj) {
|
|
7070
7068
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
7071
7069
|
}
|
|
@@ -7122,8 +7120,8 @@ var require_lib = __commonJS({
|
|
|
7122
7120
|
if (!options.packageKey || _path.default.basename(file) !== "package.json") {
|
|
7123
7121
|
return file;
|
|
7124
7122
|
}
|
|
7125
|
-
const data =
|
|
7126
|
-
delete
|
|
7123
|
+
const data = require(file);
|
|
7124
|
+
delete require.cache[file];
|
|
7127
7125
|
const hasPackageKey = Object.prototype.hasOwnProperty.call(data, options.packageKey);
|
|
7128
7126
|
if (hasPackageKey) {
|
|
7129
7127
|
this.packageJsonCache.set(file, data);
|
|
@@ -7148,8 +7146,8 @@ var require_lib = __commonJS({
|
|
|
7148
7146
|
if (!options.packageKey || _path.default.basename(file) !== "package.json") {
|
|
7149
7147
|
return file;
|
|
7150
7148
|
}
|
|
7151
|
-
const data =
|
|
7152
|
-
delete
|
|
7149
|
+
const data = require(file);
|
|
7150
|
+
delete require.cache[file];
|
|
7153
7151
|
const hasPackageKey = Object.prototype.hasOwnProperty.call(data, options.packageKey);
|
|
7154
7152
|
if (hasPackageKey) {
|
|
7155
7153
|
this.packageJsonCache.set(file, data);
|
|
@@ -7187,8 +7185,8 @@ var require_lib = __commonJS({
|
|
|
7187
7185
|
loadSync: (filepath2) => {
|
|
7188
7186
|
const extname = _path.default.extname(filepath2).slice(1);
|
|
7189
7187
|
if (extname === "js" || extname === "cjs") {
|
|
7190
|
-
delete
|
|
7191
|
-
return
|
|
7188
|
+
delete require.cache[filepath2];
|
|
7189
|
+
return require(filepath2);
|
|
7192
7190
|
}
|
|
7193
7191
|
if (this.packageJsonCache.has(filepath2)) {
|
|
7194
7192
|
return this.packageJsonCache.get(filepath2)[options.packageKey];
|
|
@@ -7221,8 +7219,8 @@ var require_lib = __commonJS({
|
|
|
7221
7219
|
loadSync: (filepath2) => {
|
|
7222
7220
|
const extname = _path.default.extname(filepath2).slice(1);
|
|
7223
7221
|
if (extname === "js" || extname === "cjs") {
|
|
7224
|
-
delete
|
|
7225
|
-
return
|
|
7222
|
+
delete require.cache[filepath2];
|
|
7223
|
+
return require(filepath2);
|
|
7226
7224
|
}
|
|
7227
7225
|
if (this.packageJsonCache.has(filepath2)) {
|
|
7228
7226
|
return this.packageJsonCache.get(filepath2)[options.packageKey];
|
|
@@ -7285,14 +7283,14 @@ var require_lib = __commonJS({
|
|
|
7285
7283
|
}
|
|
7286
7284
|
};
|
|
7287
7285
|
exports.default = JoyCon;
|
|
7288
|
-
|
|
7289
|
-
|
|
7286
|
+
module2.exports = JoyCon;
|
|
7287
|
+
module2.exports.default = JoyCon;
|
|
7290
7288
|
}
|
|
7291
7289
|
});
|
|
7292
7290
|
|
|
7293
7291
|
// node_modules/.pnpm/load-tsconfig@0.2.5/node_modules/load-tsconfig/dist/index.cjs
|
|
7294
7292
|
var require_dist = __commonJS({
|
|
7295
|
-
"node_modules/.pnpm/load-tsconfig@0.2.5/node_modules/load-tsconfig/dist/index.cjs"(exports,
|
|
7293
|
+
"node_modules/.pnpm/load-tsconfig@0.2.5/node_modules/load-tsconfig/dist/index.cjs"(exports, module2) {
|
|
7296
7294
|
"use strict";
|
|
7297
7295
|
var __create2 = Object.create;
|
|
7298
7296
|
var __defProp2 = Object.defineProperty;
|
|
@@ -7300,7 +7298,7 @@ var require_dist = __commonJS({
|
|
|
7300
7298
|
var __getOwnPropNames2 = Object.getOwnPropertyNames;
|
|
7301
7299
|
var __getProtoOf2 = Object.getPrototypeOf;
|
|
7302
7300
|
var __hasOwnProp2 = Object.prototype.hasOwnProperty;
|
|
7303
|
-
var
|
|
7301
|
+
var __export2 = (target, all) => {
|
|
7304
7302
|
for (var name in all)
|
|
7305
7303
|
__defProp2(target, name, { get: all[name], enumerable: true });
|
|
7306
7304
|
};
|
|
@@ -7320,14 +7318,14 @@ var require_dist = __commonJS({
|
|
|
7320
7318
|
isNodeMode || !mod || !mod.__esModule ? __defProp2(target, "default", { value: mod, enumerable: true }) : target,
|
|
7321
7319
|
mod
|
|
7322
7320
|
));
|
|
7323
|
-
var
|
|
7321
|
+
var __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
|
|
7324
7322
|
var src_exports = {};
|
|
7325
|
-
|
|
7323
|
+
__export2(src_exports, {
|
|
7326
7324
|
loadTsConfig: () => loadTsConfig2
|
|
7327
7325
|
});
|
|
7328
|
-
|
|
7329
|
-
var import_path3 = __toESM2(
|
|
7330
|
-
var import_fs2 = __toESM2(
|
|
7326
|
+
module2.exports = __toCommonJS2(src_exports);
|
|
7327
|
+
var import_path3 = __toESM2(require("path"), 1);
|
|
7328
|
+
var import_fs2 = __toESM2(require("fs"), 1);
|
|
7331
7329
|
var singleComment = Symbol("singleComment");
|
|
7332
7330
|
var multiComment = Symbol("multiComment");
|
|
7333
7331
|
var stripWithoutWhitespace = () => "";
|
|
@@ -7421,7 +7419,7 @@ var require_dist = __commonJS({
|
|
|
7421
7419
|
return {};
|
|
7422
7420
|
}
|
|
7423
7421
|
}
|
|
7424
|
-
var req = false ? createRequire(import_meta.url) :
|
|
7422
|
+
var req = false ? createRequire(import_meta.url) : require;
|
|
7425
7423
|
var findUp = (name, startDir, stopDir = import_path3.default.parse(startDir).root) => {
|
|
7426
7424
|
let dir = startDir;
|
|
7427
7425
|
while (dir !== stopDir) {
|
|
@@ -7499,7 +7497,7 @@ var require_dist = __commonJS({
|
|
|
7499
7497
|
|
|
7500
7498
|
// node_modules/.pnpm/bundle-require@4.0.2_esbuild@0.19.5/node_modules/bundle-require/dist/index.cjs
|
|
7501
7499
|
var require_dist2 = __commonJS({
|
|
7502
|
-
"node_modules/.pnpm/bundle-require@4.0.2_esbuild@0.19.5/node_modules/bundle-require/dist/index.cjs"(exports,
|
|
7500
|
+
"node_modules/.pnpm/bundle-require@4.0.2_esbuild@0.19.5/node_modules/bundle-require/dist/index.cjs"(exports, module2) {
|
|
7503
7501
|
"use strict";
|
|
7504
7502
|
var __create2 = Object.create;
|
|
7505
7503
|
var __defProp2 = Object.defineProperty;
|
|
@@ -7507,7 +7505,7 @@ var require_dist2 = __commonJS({
|
|
|
7507
7505
|
var __getOwnPropNames2 = Object.getOwnPropertyNames;
|
|
7508
7506
|
var __getProtoOf2 = Object.getPrototypeOf;
|
|
7509
7507
|
var __hasOwnProp2 = Object.prototype.hasOwnProperty;
|
|
7510
|
-
var
|
|
7508
|
+
var __export2 = (target, all) => {
|
|
7511
7509
|
for (var name in all)
|
|
7512
7510
|
__defProp2(target, name, { get: all[name], enumerable: true });
|
|
7513
7511
|
};
|
|
@@ -7523,9 +7521,9 @@ var require_dist2 = __commonJS({
|
|
|
7523
7521
|
isNodeMode || !mod || !mod.__esModule ? __defProp2(target, "default", { value: mod, enumerable: true }) : target,
|
|
7524
7522
|
mod
|
|
7525
7523
|
));
|
|
7526
|
-
var
|
|
7524
|
+
var __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
|
|
7527
7525
|
var src_exports = {};
|
|
7528
|
-
|
|
7526
|
+
__export2(src_exports, {
|
|
7529
7527
|
JS_EXT_RE: () => JS_EXT_RE,
|
|
7530
7528
|
bundleRequire: () => bundleRequire,
|
|
7531
7529
|
dynamicImport: () => dynamicImport,
|
|
@@ -7535,14 +7533,14 @@ var require_dist2 = __commonJS({
|
|
|
7535
7533
|
match: () => match2,
|
|
7536
7534
|
tsconfigPathsToRegExp: () => tsconfigPathsToRegExp
|
|
7537
7535
|
});
|
|
7538
|
-
|
|
7539
|
-
var import_fs2 = __toESM2(
|
|
7540
|
-
var import_path22 = __toESM2(
|
|
7541
|
-
var import_url3 =
|
|
7542
|
-
var import_esbuild =
|
|
7536
|
+
module2.exports = __toCommonJS2(src_exports);
|
|
7537
|
+
var import_fs2 = __toESM2(require("fs"), 1);
|
|
7538
|
+
var import_path22 = __toESM2(require("path"), 1);
|
|
7539
|
+
var import_url3 = require("url");
|
|
7540
|
+
var import_esbuild = require("esbuild");
|
|
7543
7541
|
var import_load_tsconfig = require_dist();
|
|
7544
|
-
var import_fs3 = __toESM2(
|
|
7545
|
-
var import_path3 = __toESM2(
|
|
7542
|
+
var import_fs3 = __toESM2(require("fs"), 1);
|
|
7543
|
+
var import_path3 = __toESM2(require("path"), 1);
|
|
7546
7544
|
var getPkgType = () => {
|
|
7547
7545
|
try {
|
|
7548
7546
|
const pkg = JSON.parse(
|
|
@@ -7568,7 +7566,7 @@ var require_dist2 = __commonJS({
|
|
|
7568
7566
|
}
|
|
7569
7567
|
var usingDynamicImport = typeof jest === "undefined";
|
|
7570
7568
|
var dynamicImport = async (id, { format }) => {
|
|
7571
|
-
const fn = format === "esm" ? (file) => import(file) : false ? createRequire(import_meta.url) :
|
|
7569
|
+
const fn = format === "esm" ? (file) => import(file) : false ? createRequire(import_meta.url) : require;
|
|
7572
7570
|
return fn(id);
|
|
7573
7571
|
};
|
|
7574
7572
|
var getRandomId = () => {
|
|
@@ -7798,11 +7796,11 @@ var require_chunk_7G76EW2R = __commonJS({
|
|
|
7798
7796
|
}
|
|
7799
7797
|
var _chunkUIX4URMVjs = require_chunk_UIX4URMV();
|
|
7800
7798
|
var _chunkGQ77QZBOjs = require_chunk_GQ77QZBO();
|
|
7801
|
-
var _fs =
|
|
7799
|
+
var _fs = require("fs");
|
|
7802
7800
|
var _fs2 = _interopRequireDefault(_fs);
|
|
7803
7801
|
var _joycon = require_lib();
|
|
7804
7802
|
var _joycon2 = _interopRequireDefault(_joycon);
|
|
7805
|
-
var _path =
|
|
7803
|
+
var _path = require("path");
|
|
7806
7804
|
var _path2 = _interopRequireDefault(_path);
|
|
7807
7805
|
var _bundlerequire = require_dist2();
|
|
7808
7806
|
var joycon = new (0, _joycon2.default)();
|
|
@@ -7887,9 +7885,9 @@ var require_chunk_7G76EW2R = __commonJS({
|
|
|
7887
7885
|
...data.devDependencies
|
|
7888
7886
|
});
|
|
7889
7887
|
}
|
|
7890
|
-
var _util =
|
|
7888
|
+
var _util = require("util");
|
|
7891
7889
|
var _util2 = _interopRequireDefault(_util);
|
|
7892
|
-
var _worker_threads =
|
|
7890
|
+
var _worker_threads = require("worker_threads");
|
|
7893
7891
|
var colorize = (type, data, onlyImportant = false) => {
|
|
7894
7892
|
if (onlyImportant && (type === "info" || type === "success"))
|
|
7895
7893
|
return data;
|
|
@@ -7998,10 +7996,10 @@ var require_chunk_7G76EW2R = __commonJS({
|
|
|
7998
7996
|
|
|
7999
7997
|
// node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/windows.js
|
|
8000
7998
|
var require_windows = __commonJS({
|
|
8001
|
-
"node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/windows.js"(exports,
|
|
8002
|
-
|
|
7999
|
+
"node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/windows.js"(exports, module2) {
|
|
8000
|
+
module2.exports = isexe;
|
|
8003
8001
|
isexe.sync = sync2;
|
|
8004
|
-
var fs =
|
|
8002
|
+
var fs = require("fs");
|
|
8005
8003
|
function checkPathExt(path2, options) {
|
|
8006
8004
|
var pathext = options.pathExt !== void 0 ? options.pathExt : process.env.PATHEXT;
|
|
8007
8005
|
if (!pathext) {
|
|
@@ -8038,10 +8036,10 @@ var require_windows = __commonJS({
|
|
|
8038
8036
|
|
|
8039
8037
|
// node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/mode.js
|
|
8040
8038
|
var require_mode = __commonJS({
|
|
8041
|
-
"node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/mode.js"(exports,
|
|
8042
|
-
|
|
8039
|
+
"node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/mode.js"(exports, module2) {
|
|
8040
|
+
module2.exports = isexe;
|
|
8043
8041
|
isexe.sync = sync2;
|
|
8044
|
-
var fs =
|
|
8042
|
+
var fs = require("fs");
|
|
8045
8043
|
function isexe(path2, options, cb) {
|
|
8046
8044
|
fs.stat(path2, function(er, stat) {
|
|
8047
8045
|
cb(er, er ? false : checkStat(stat, options));
|
|
@@ -8071,15 +8069,15 @@ var require_mode = __commonJS({
|
|
|
8071
8069
|
|
|
8072
8070
|
// node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/index.js
|
|
8073
8071
|
var require_isexe = __commonJS({
|
|
8074
|
-
"node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/index.js"(exports,
|
|
8075
|
-
var fs =
|
|
8072
|
+
"node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/index.js"(exports, module2) {
|
|
8073
|
+
var fs = require("fs");
|
|
8076
8074
|
var core;
|
|
8077
8075
|
if (process.platform === "win32" || global.TESTING_WINDOWS) {
|
|
8078
8076
|
core = require_windows();
|
|
8079
8077
|
} else {
|
|
8080
8078
|
core = require_mode();
|
|
8081
8079
|
}
|
|
8082
|
-
|
|
8080
|
+
module2.exports = isexe;
|
|
8083
8081
|
isexe.sync = sync2;
|
|
8084
8082
|
function isexe(path2, options, cb) {
|
|
8085
8083
|
if (typeof options === "function") {
|
|
@@ -8126,9 +8124,9 @@ var require_isexe = __commonJS({
|
|
|
8126
8124
|
|
|
8127
8125
|
// node_modules/.pnpm/which@2.0.2/node_modules/which/which.js
|
|
8128
8126
|
var require_which = __commonJS({
|
|
8129
|
-
"node_modules/.pnpm/which@2.0.2/node_modules/which/which.js"(exports,
|
|
8127
|
+
"node_modules/.pnpm/which@2.0.2/node_modules/which/which.js"(exports, module2) {
|
|
8130
8128
|
var isWindows = process.platform === "win32" || process.env.OSTYPE === "cygwin" || process.env.OSTYPE === "msys";
|
|
8131
|
-
var path2 =
|
|
8129
|
+
var path2 = require("path");
|
|
8132
8130
|
var COLON = isWindows ? ";" : ":";
|
|
8133
8131
|
var isexe = require_isexe();
|
|
8134
8132
|
var getNotFoundError = (cmd) => Object.assign(new Error(`not found: ${cmd}`), { code: "ENOENT" });
|
|
@@ -8215,14 +8213,14 @@ var require_which = __commonJS({
|
|
|
8215
8213
|
return null;
|
|
8216
8214
|
throw getNotFoundError(cmd);
|
|
8217
8215
|
};
|
|
8218
|
-
|
|
8216
|
+
module2.exports = which;
|
|
8219
8217
|
which.sync = whichSync;
|
|
8220
8218
|
}
|
|
8221
8219
|
});
|
|
8222
8220
|
|
|
8223
8221
|
// node_modules/.pnpm/path-key@3.1.1/node_modules/path-key/index.js
|
|
8224
8222
|
var require_path_key = __commonJS({
|
|
8225
|
-
"node_modules/.pnpm/path-key@3.1.1/node_modules/path-key/index.js"(exports,
|
|
8223
|
+
"node_modules/.pnpm/path-key@3.1.1/node_modules/path-key/index.js"(exports, module2) {
|
|
8226
8224
|
"use strict";
|
|
8227
8225
|
var pathKey = (options = {}) => {
|
|
8228
8226
|
const environment = options.env || process.env;
|
|
@@ -8232,16 +8230,16 @@ var require_path_key = __commonJS({
|
|
|
8232
8230
|
}
|
|
8233
8231
|
return Object.keys(environment).reverse().find((key) => key.toUpperCase() === "PATH") || "Path";
|
|
8234
8232
|
};
|
|
8235
|
-
|
|
8236
|
-
|
|
8233
|
+
module2.exports = pathKey;
|
|
8234
|
+
module2.exports.default = pathKey;
|
|
8237
8235
|
}
|
|
8238
8236
|
});
|
|
8239
8237
|
|
|
8240
8238
|
// node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/util/resolveCommand.js
|
|
8241
8239
|
var require_resolveCommand = __commonJS({
|
|
8242
|
-
"node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/util/resolveCommand.js"(exports,
|
|
8240
|
+
"node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/util/resolveCommand.js"(exports, module2) {
|
|
8243
8241
|
"use strict";
|
|
8244
|
-
var path2 =
|
|
8242
|
+
var path2 = require("path");
|
|
8245
8243
|
var which = require_which();
|
|
8246
8244
|
var getPathKey = require_path_key();
|
|
8247
8245
|
function resolveCommandAttempt(parsed, withoutPathExt) {
|
|
@@ -8275,13 +8273,13 @@ var require_resolveCommand = __commonJS({
|
|
|
8275
8273
|
function resolveCommand(parsed) {
|
|
8276
8274
|
return resolveCommandAttempt(parsed) || resolveCommandAttempt(parsed, true);
|
|
8277
8275
|
}
|
|
8278
|
-
|
|
8276
|
+
module2.exports = resolveCommand;
|
|
8279
8277
|
}
|
|
8280
8278
|
});
|
|
8281
8279
|
|
|
8282
8280
|
// node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/util/escape.js
|
|
8283
8281
|
var require_escape = __commonJS({
|
|
8284
|
-
"node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/util/escape.js"(exports,
|
|
8282
|
+
"node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/util/escape.js"(exports, module2) {
|
|
8285
8283
|
"use strict";
|
|
8286
8284
|
var metaCharsRegExp = /([()\][%!^"`<>&|;, *?])/g;
|
|
8287
8285
|
function escapeCommand(arg) {
|
|
@@ -8299,25 +8297,25 @@ var require_escape = __commonJS({
|
|
|
8299
8297
|
}
|
|
8300
8298
|
return arg;
|
|
8301
8299
|
}
|
|
8302
|
-
|
|
8303
|
-
|
|
8300
|
+
module2.exports.command = escapeCommand;
|
|
8301
|
+
module2.exports.argument = escapeArgument;
|
|
8304
8302
|
}
|
|
8305
8303
|
});
|
|
8306
8304
|
|
|
8307
8305
|
// node_modules/.pnpm/shebang-regex@3.0.0/node_modules/shebang-regex/index.js
|
|
8308
8306
|
var require_shebang_regex = __commonJS({
|
|
8309
|
-
"node_modules/.pnpm/shebang-regex@3.0.0/node_modules/shebang-regex/index.js"(exports,
|
|
8307
|
+
"node_modules/.pnpm/shebang-regex@3.0.0/node_modules/shebang-regex/index.js"(exports, module2) {
|
|
8310
8308
|
"use strict";
|
|
8311
|
-
|
|
8309
|
+
module2.exports = /^#!(.*)/;
|
|
8312
8310
|
}
|
|
8313
8311
|
});
|
|
8314
8312
|
|
|
8315
8313
|
// node_modules/.pnpm/shebang-command@2.0.0/node_modules/shebang-command/index.js
|
|
8316
8314
|
var require_shebang_command = __commonJS({
|
|
8317
|
-
"node_modules/.pnpm/shebang-command@2.0.0/node_modules/shebang-command/index.js"(exports,
|
|
8315
|
+
"node_modules/.pnpm/shebang-command@2.0.0/node_modules/shebang-command/index.js"(exports, module2) {
|
|
8318
8316
|
"use strict";
|
|
8319
8317
|
var shebangRegex = require_shebang_regex();
|
|
8320
|
-
|
|
8318
|
+
module2.exports = (string = "") => {
|
|
8321
8319
|
const match2 = string.match(shebangRegex);
|
|
8322
8320
|
if (!match2) {
|
|
8323
8321
|
return null;
|
|
@@ -8334,9 +8332,9 @@ var require_shebang_command = __commonJS({
|
|
|
8334
8332
|
|
|
8335
8333
|
// node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/util/readShebang.js
|
|
8336
8334
|
var require_readShebang = __commonJS({
|
|
8337
|
-
"node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/util/readShebang.js"(exports,
|
|
8335
|
+
"node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/util/readShebang.js"(exports, module2) {
|
|
8338
8336
|
"use strict";
|
|
8339
|
-
var fs =
|
|
8337
|
+
var fs = require("fs");
|
|
8340
8338
|
var shebangCommand = require_shebang_command();
|
|
8341
8339
|
function readShebang(command) {
|
|
8342
8340
|
const size = 150;
|
|
@@ -8350,15 +8348,15 @@ var require_readShebang = __commonJS({
|
|
|
8350
8348
|
}
|
|
8351
8349
|
return shebangCommand(buffer.toString());
|
|
8352
8350
|
}
|
|
8353
|
-
|
|
8351
|
+
module2.exports = readShebang;
|
|
8354
8352
|
}
|
|
8355
8353
|
});
|
|
8356
8354
|
|
|
8357
8355
|
// node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/parse.js
|
|
8358
8356
|
var require_parse3 = __commonJS({
|
|
8359
|
-
"node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/parse.js"(exports,
|
|
8357
|
+
"node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/parse.js"(exports, module2) {
|
|
8360
8358
|
"use strict";
|
|
8361
|
-
var path2 =
|
|
8359
|
+
var path2 = require("path");
|
|
8362
8360
|
var resolveCommand = require_resolveCommand();
|
|
8363
8361
|
var escape2 = require_escape();
|
|
8364
8362
|
var readShebang = require_readShebang();
|
|
@@ -8412,13 +8410,13 @@ var require_parse3 = __commonJS({
|
|
|
8412
8410
|
};
|
|
8413
8411
|
return options.shell ? parsed : parseNonShell(parsed);
|
|
8414
8412
|
}
|
|
8415
|
-
|
|
8413
|
+
module2.exports = parse;
|
|
8416
8414
|
}
|
|
8417
8415
|
});
|
|
8418
8416
|
|
|
8419
8417
|
// node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/enoent.js
|
|
8420
8418
|
var require_enoent = __commonJS({
|
|
8421
|
-
"node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/enoent.js"(exports,
|
|
8419
|
+
"node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/enoent.js"(exports, module2) {
|
|
8422
8420
|
"use strict";
|
|
8423
8421
|
var isWin = process.platform === "win32";
|
|
8424
8422
|
function notFoundError(original, syscall) {
|
|
@@ -8457,7 +8455,7 @@ var require_enoent = __commonJS({
|
|
|
8457
8455
|
}
|
|
8458
8456
|
return null;
|
|
8459
8457
|
}
|
|
8460
|
-
|
|
8458
|
+
module2.exports = {
|
|
8461
8459
|
hookChildProcess,
|
|
8462
8460
|
verifyENOENT,
|
|
8463
8461
|
verifyENOENTSync,
|
|
@@ -8468,9 +8466,9 @@ var require_enoent = __commonJS({
|
|
|
8468
8466
|
|
|
8469
8467
|
// node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/index.js
|
|
8470
8468
|
var require_cross_spawn = __commonJS({
|
|
8471
|
-
"node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/index.js"(exports,
|
|
8469
|
+
"node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/index.js"(exports, module2) {
|
|
8472
8470
|
"use strict";
|
|
8473
|
-
var cp =
|
|
8471
|
+
var cp = require("child_process");
|
|
8474
8472
|
var parse = require_parse3();
|
|
8475
8473
|
var enoent = require_enoent();
|
|
8476
8474
|
function spawn(command, args, options) {
|
|
@@ -8485,19 +8483,19 @@ var require_cross_spawn = __commonJS({
|
|
|
8485
8483
|
result.error = result.error || enoent.verifyENOENTSync(result.status, parsed);
|
|
8486
8484
|
return result;
|
|
8487
8485
|
}
|
|
8488
|
-
|
|
8489
|
-
|
|
8490
|
-
|
|
8491
|
-
|
|
8492
|
-
|
|
8486
|
+
module2.exports = spawn;
|
|
8487
|
+
module2.exports.spawn = spawn;
|
|
8488
|
+
module2.exports.sync = spawnSync;
|
|
8489
|
+
module2.exports._parse = parse;
|
|
8490
|
+
module2.exports._enoent = enoent;
|
|
8493
8491
|
}
|
|
8494
8492
|
});
|
|
8495
8493
|
|
|
8496
8494
|
// node_modules/.pnpm/strip-final-newline@2.0.0/node_modules/strip-final-newline/index.js
|
|
8497
8495
|
var require_strip_final_newline = __commonJS({
|
|
8498
|
-
"node_modules/.pnpm/strip-final-newline@2.0.0/node_modules/strip-final-newline/index.js"(exports,
|
|
8496
|
+
"node_modules/.pnpm/strip-final-newline@2.0.0/node_modules/strip-final-newline/index.js"(exports, module2) {
|
|
8499
8497
|
"use strict";
|
|
8500
|
-
|
|
8498
|
+
module2.exports = (input) => {
|
|
8501
8499
|
const LF = typeof input === "string" ? "\n" : "\n".charCodeAt();
|
|
8502
8500
|
const CR = typeof input === "string" ? "\r" : "\r".charCodeAt();
|
|
8503
8501
|
if (input[input.length - 1] === LF) {
|
|
@@ -8513,9 +8511,9 @@ var require_strip_final_newline = __commonJS({
|
|
|
8513
8511
|
|
|
8514
8512
|
// node_modules/.pnpm/npm-run-path@4.0.1/node_modules/npm-run-path/index.js
|
|
8515
8513
|
var require_npm_run_path = __commonJS({
|
|
8516
|
-
"node_modules/.pnpm/npm-run-path@4.0.1/node_modules/npm-run-path/index.js"(exports,
|
|
8514
|
+
"node_modules/.pnpm/npm-run-path@4.0.1/node_modules/npm-run-path/index.js"(exports, module2) {
|
|
8517
8515
|
"use strict";
|
|
8518
|
-
var path2 =
|
|
8516
|
+
var path2 = require("path");
|
|
8519
8517
|
var pathKey = require_path_key();
|
|
8520
8518
|
var npmRunPath = (options) => {
|
|
8521
8519
|
options = {
|
|
@@ -8536,9 +8534,9 @@ var require_npm_run_path = __commonJS({
|
|
|
8536
8534
|
result.push(execPathDir);
|
|
8537
8535
|
return result.concat(options.path).join(path2.delimiter);
|
|
8538
8536
|
};
|
|
8539
|
-
|
|
8540
|
-
|
|
8541
|
-
|
|
8537
|
+
module2.exports = npmRunPath;
|
|
8538
|
+
module2.exports.default = npmRunPath;
|
|
8539
|
+
module2.exports.env = (options) => {
|
|
8542
8540
|
options = {
|
|
8543
8541
|
env: process.env,
|
|
8544
8542
|
...options
|
|
@@ -8546,7 +8544,7 @@ var require_npm_run_path = __commonJS({
|
|
|
8546
8544
|
const env = { ...options.env };
|
|
8547
8545
|
const path3 = pathKey({ env });
|
|
8548
8546
|
options.path = env[path3];
|
|
8549
|
-
env[path3] =
|
|
8547
|
+
env[path3] = module2.exports(options);
|
|
8550
8548
|
return env;
|
|
8551
8549
|
};
|
|
8552
8550
|
}
|
|
@@ -8554,7 +8552,7 @@ var require_npm_run_path = __commonJS({
|
|
|
8554
8552
|
|
|
8555
8553
|
// node_modules/.pnpm/mimic-fn@2.1.0/node_modules/mimic-fn/index.js
|
|
8556
8554
|
var require_mimic_fn = __commonJS({
|
|
8557
|
-
"node_modules/.pnpm/mimic-fn@2.1.0/node_modules/mimic-fn/index.js"(exports,
|
|
8555
|
+
"node_modules/.pnpm/mimic-fn@2.1.0/node_modules/mimic-fn/index.js"(exports, module2) {
|
|
8558
8556
|
"use strict";
|
|
8559
8557
|
var mimicFn = (to, from) => {
|
|
8560
8558
|
for (const prop of Reflect.ownKeys(from)) {
|
|
@@ -8562,14 +8560,14 @@ var require_mimic_fn = __commonJS({
|
|
|
8562
8560
|
}
|
|
8563
8561
|
return to;
|
|
8564
8562
|
};
|
|
8565
|
-
|
|
8566
|
-
|
|
8563
|
+
module2.exports = mimicFn;
|
|
8564
|
+
module2.exports.default = mimicFn;
|
|
8567
8565
|
}
|
|
8568
8566
|
});
|
|
8569
8567
|
|
|
8570
8568
|
// node_modules/.pnpm/onetime@5.1.2/node_modules/onetime/index.js
|
|
8571
8569
|
var require_onetime = __commonJS({
|
|
8572
|
-
"node_modules/.pnpm/onetime@5.1.2/node_modules/onetime/index.js"(exports,
|
|
8570
|
+
"node_modules/.pnpm/onetime@5.1.2/node_modules/onetime/index.js"(exports, module2) {
|
|
8573
8571
|
"use strict";
|
|
8574
8572
|
var mimicFn = require_mimic_fn();
|
|
8575
8573
|
var calledFunctions = /* @__PURE__ */ new WeakMap();
|
|
@@ -8594,9 +8592,9 @@ var require_onetime = __commonJS({
|
|
|
8594
8592
|
calledFunctions.set(onetime2, callCount);
|
|
8595
8593
|
return onetime2;
|
|
8596
8594
|
};
|
|
8597
|
-
|
|
8598
|
-
|
|
8599
|
-
|
|
8595
|
+
module2.exports = onetime;
|
|
8596
|
+
module2.exports.default = onetime;
|
|
8597
|
+
module2.exports.callCount = (function_) => {
|
|
8600
8598
|
if (!calledFunctions.has(function_)) {
|
|
8601
8599
|
throw new Error(`The given function \`${function_.name}\` is not wrapped by the \`onetime\` package`);
|
|
8602
8600
|
}
|
|
@@ -8918,7 +8916,7 @@ var require_signals = __commonJS({
|
|
|
8918
8916
|
"use strict";
|
|
8919
8917
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8920
8918
|
exports.getSignals = void 0;
|
|
8921
|
-
var _os =
|
|
8919
|
+
var _os = require("os");
|
|
8922
8920
|
var _core = require_core();
|
|
8923
8921
|
var _realtime = require_realtime();
|
|
8924
8922
|
var getSignals = function() {
|
|
@@ -8951,7 +8949,7 @@ var require_main = __commonJS({
|
|
|
8951
8949
|
"use strict";
|
|
8952
8950
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8953
8951
|
exports.signalsByNumber = exports.signalsByName = void 0;
|
|
8954
|
-
var _os =
|
|
8952
|
+
var _os = require("os");
|
|
8955
8953
|
var _signals = require_signals();
|
|
8956
8954
|
var _realtime = require_realtime();
|
|
8957
8955
|
var getSignalsByName = function() {
|
|
@@ -9004,7 +9002,7 @@ var require_main = __commonJS({
|
|
|
9004
9002
|
|
|
9005
9003
|
// node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/error.js
|
|
9006
9004
|
var require_error2 = __commonJS({
|
|
9007
|
-
"node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/error.js"(exports,
|
|
9005
|
+
"node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/error.js"(exports, module2) {
|
|
9008
9006
|
"use strict";
|
|
9009
9007
|
var { signalsByName } = require_main();
|
|
9010
9008
|
var getErrorPrefix = ({ timedOut, timeout, errorCode, signal, signalDescription, exitCode, isCanceled }) => {
|
|
@@ -9075,13 +9073,13 @@ ${error.message}` : execaMessage;
|
|
|
9075
9073
|
error.killed = killed && !timedOut;
|
|
9076
9074
|
return error;
|
|
9077
9075
|
};
|
|
9078
|
-
|
|
9076
|
+
module2.exports = makeError;
|
|
9079
9077
|
}
|
|
9080
9078
|
});
|
|
9081
9079
|
|
|
9082
9080
|
// node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/stdio.js
|
|
9083
9081
|
var require_stdio = __commonJS({
|
|
9084
|
-
"node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/stdio.js"(exports,
|
|
9082
|
+
"node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/stdio.js"(exports, module2) {
|
|
9085
9083
|
"use strict";
|
|
9086
9084
|
var aliases = ["stdin", "stdout", "stderr"];
|
|
9087
9085
|
var hasAlias = (options) => aliases.some((alias) => options[alias] !== void 0);
|
|
@@ -9105,8 +9103,8 @@ var require_stdio = __commonJS({
|
|
|
9105
9103
|
const length = Math.max(stdio.length, aliases.length);
|
|
9106
9104
|
return Array.from({ length }, (value, index) => stdio[index]);
|
|
9107
9105
|
};
|
|
9108
|
-
|
|
9109
|
-
|
|
9106
|
+
module2.exports = normalizeStdio;
|
|
9107
|
+
module2.exports.node = (options) => {
|
|
9110
9108
|
const stdio = normalizeStdio(options);
|
|
9111
9109
|
if (stdio === "ipc") {
|
|
9112
9110
|
return "ipc";
|
|
@@ -9124,8 +9122,8 @@ var require_stdio = __commonJS({
|
|
|
9124
9122
|
|
|
9125
9123
|
// node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/signals.js
|
|
9126
9124
|
var require_signals2 = __commonJS({
|
|
9127
|
-
"node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/signals.js"(exports,
|
|
9128
|
-
|
|
9125
|
+
"node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/signals.js"(exports, module2) {
|
|
9126
|
+
module2.exports = [
|
|
9129
9127
|
"SIGABRT",
|
|
9130
9128
|
"SIGALRM",
|
|
9131
9129
|
"SIGHUP",
|
|
@@ -9133,7 +9131,7 @@ var require_signals2 = __commonJS({
|
|
|
9133
9131
|
"SIGTERM"
|
|
9134
9132
|
];
|
|
9135
9133
|
if (process.platform !== "win32") {
|
|
9136
|
-
|
|
9134
|
+
module2.exports.push(
|
|
9137
9135
|
"SIGVTALRM",
|
|
9138
9136
|
"SIGXCPU",
|
|
9139
9137
|
"SIGXFSZ",
|
|
@@ -9148,7 +9146,7 @@ var require_signals2 = __commonJS({
|
|
|
9148
9146
|
);
|
|
9149
9147
|
}
|
|
9150
9148
|
if (process.platform === "linux") {
|
|
9151
|
-
|
|
9149
|
+
module2.exports.push(
|
|
9152
9150
|
"SIGIO",
|
|
9153
9151
|
"SIGPOLL",
|
|
9154
9152
|
"SIGPWR",
|
|
@@ -9161,21 +9159,21 @@ var require_signals2 = __commonJS({
|
|
|
9161
9159
|
|
|
9162
9160
|
// node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/index.js
|
|
9163
9161
|
var require_signal_exit = __commonJS({
|
|
9164
|
-
"node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/index.js"(exports,
|
|
9162
|
+
"node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/index.js"(exports, module2) {
|
|
9165
9163
|
var process2 = global.process;
|
|
9166
9164
|
var processOk = function(process3) {
|
|
9167
9165
|
return process3 && typeof process3 === "object" && typeof process3.removeListener === "function" && typeof process3.emit === "function" && typeof process3.reallyExit === "function" && typeof process3.listeners === "function" && typeof process3.kill === "function" && typeof process3.pid === "number" && typeof process3.on === "function";
|
|
9168
9166
|
};
|
|
9169
9167
|
if (!processOk(process2)) {
|
|
9170
|
-
|
|
9168
|
+
module2.exports = function() {
|
|
9171
9169
|
return function() {
|
|
9172
9170
|
};
|
|
9173
9171
|
};
|
|
9174
9172
|
} else {
|
|
9175
|
-
assert =
|
|
9173
|
+
assert = require("assert");
|
|
9176
9174
|
signals = require_signals2();
|
|
9177
9175
|
isWin = /^win/i.test(process2.platform);
|
|
9178
|
-
EE =
|
|
9176
|
+
EE = require("events");
|
|
9179
9177
|
if (typeof EE !== "function") {
|
|
9180
9178
|
EE = EE.EventEmitter;
|
|
9181
9179
|
}
|
|
@@ -9190,7 +9188,7 @@ var require_signal_exit = __commonJS({
|
|
|
9190
9188
|
emitter.setMaxListeners(Infinity);
|
|
9191
9189
|
emitter.infinite = true;
|
|
9192
9190
|
}
|
|
9193
|
-
|
|
9191
|
+
module2.exports = function(cb, opts) {
|
|
9194
9192
|
if (!processOk(global.process)) {
|
|
9195
9193
|
return function() {
|
|
9196
9194
|
};
|
|
@@ -9227,7 +9225,7 @@ var require_signal_exit = __commonJS({
|
|
|
9227
9225
|
process2.reallyExit = originalProcessReallyExit;
|
|
9228
9226
|
emitter.count -= 1;
|
|
9229
9227
|
};
|
|
9230
|
-
|
|
9228
|
+
module2.exports.unload = unload;
|
|
9231
9229
|
emit = function emit2(event, code, signal) {
|
|
9232
9230
|
if (emitter.emitted[event]) {
|
|
9233
9231
|
return;
|
|
@@ -9253,7 +9251,7 @@ var require_signal_exit = __commonJS({
|
|
|
9253
9251
|
}
|
|
9254
9252
|
};
|
|
9255
9253
|
});
|
|
9256
|
-
|
|
9254
|
+
module2.exports.signals = function() {
|
|
9257
9255
|
return signals;
|
|
9258
9256
|
};
|
|
9259
9257
|
loaded = false;
|
|
@@ -9274,7 +9272,7 @@ var require_signal_exit = __commonJS({
|
|
|
9274
9272
|
process2.emit = processEmit;
|
|
9275
9273
|
process2.reallyExit = processReallyExit;
|
|
9276
9274
|
};
|
|
9277
|
-
|
|
9275
|
+
module2.exports.load = load;
|
|
9278
9276
|
originalProcessReallyExit = process2.reallyExit;
|
|
9279
9277
|
processReallyExit = function processReallyExit2(code) {
|
|
9280
9278
|
if (!processOk(global.process)) {
|
|
@@ -9320,9 +9318,9 @@ var require_signal_exit = __commonJS({
|
|
|
9320
9318
|
|
|
9321
9319
|
// node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/kill.js
|
|
9322
9320
|
var require_kill = __commonJS({
|
|
9323
|
-
"node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/kill.js"(exports,
|
|
9321
|
+
"node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/kill.js"(exports, module2) {
|
|
9324
9322
|
"use strict";
|
|
9325
|
-
var os =
|
|
9323
|
+
var os = require("os");
|
|
9326
9324
|
var onExit = require_signal_exit();
|
|
9327
9325
|
var DEFAULT_FORCE_KILL_TIMEOUT = 1e3 * 5;
|
|
9328
9326
|
var spawnedKill = (kill, signal = "SIGTERM", options = {}) => {
|
|
@@ -9398,7 +9396,7 @@ var require_kill = __commonJS({
|
|
|
9398
9396
|
removeExitHandler();
|
|
9399
9397
|
});
|
|
9400
9398
|
};
|
|
9401
|
-
|
|
9399
|
+
module2.exports = {
|
|
9402
9400
|
spawnedKill,
|
|
9403
9401
|
spawnedCancel,
|
|
9404
9402
|
setupTimeout,
|
|
@@ -9410,23 +9408,23 @@ var require_kill = __commonJS({
|
|
|
9410
9408
|
|
|
9411
9409
|
// node_modules/.pnpm/is-stream@2.0.1/node_modules/is-stream/index.js
|
|
9412
9410
|
var require_is_stream = __commonJS({
|
|
9413
|
-
"node_modules/.pnpm/is-stream@2.0.1/node_modules/is-stream/index.js"(exports,
|
|
9411
|
+
"node_modules/.pnpm/is-stream@2.0.1/node_modules/is-stream/index.js"(exports, module2) {
|
|
9414
9412
|
"use strict";
|
|
9415
9413
|
var isStream2 = (stream2) => stream2 !== null && typeof stream2 === "object" && typeof stream2.pipe === "function";
|
|
9416
9414
|
isStream2.writable = (stream2) => isStream2(stream2) && stream2.writable !== false && typeof stream2._write === "function" && typeof stream2._writableState === "object";
|
|
9417
9415
|
isStream2.readable = (stream2) => isStream2(stream2) && stream2.readable !== false && typeof stream2._read === "function" && typeof stream2._readableState === "object";
|
|
9418
9416
|
isStream2.duplex = (stream2) => isStream2.writable(stream2) && isStream2.readable(stream2);
|
|
9419
9417
|
isStream2.transform = (stream2) => isStream2.duplex(stream2) && typeof stream2._transform === "function";
|
|
9420
|
-
|
|
9418
|
+
module2.exports = isStream2;
|
|
9421
9419
|
}
|
|
9422
9420
|
});
|
|
9423
9421
|
|
|
9424
9422
|
// node_modules/.pnpm/get-stream@6.0.1/node_modules/get-stream/buffer-stream.js
|
|
9425
9423
|
var require_buffer_stream = __commonJS({
|
|
9426
|
-
"node_modules/.pnpm/get-stream@6.0.1/node_modules/get-stream/buffer-stream.js"(exports,
|
|
9424
|
+
"node_modules/.pnpm/get-stream@6.0.1/node_modules/get-stream/buffer-stream.js"(exports, module2) {
|
|
9427
9425
|
"use strict";
|
|
9428
|
-
var { PassThrough: PassThroughStream } =
|
|
9429
|
-
|
|
9426
|
+
var { PassThrough: PassThroughStream } = require("stream");
|
|
9427
|
+
module2.exports = (options) => {
|
|
9430
9428
|
options = { ...options };
|
|
9431
9429
|
const { array } = options;
|
|
9432
9430
|
let { encoding } = options;
|
|
@@ -9468,11 +9466,11 @@ var require_buffer_stream = __commonJS({
|
|
|
9468
9466
|
|
|
9469
9467
|
// node_modules/.pnpm/get-stream@6.0.1/node_modules/get-stream/index.js
|
|
9470
9468
|
var require_get_stream = __commonJS({
|
|
9471
|
-
"node_modules/.pnpm/get-stream@6.0.1/node_modules/get-stream/index.js"(exports,
|
|
9469
|
+
"node_modules/.pnpm/get-stream@6.0.1/node_modules/get-stream/index.js"(exports, module2) {
|
|
9472
9470
|
"use strict";
|
|
9473
|
-
var { constants: BufferConstants } =
|
|
9474
|
-
var stream2 =
|
|
9475
|
-
var { promisify } =
|
|
9471
|
+
var { constants: BufferConstants } = require("buffer");
|
|
9472
|
+
var stream2 = require("stream");
|
|
9473
|
+
var { promisify } = require("util");
|
|
9476
9474
|
var bufferStream = require_buffer_stream();
|
|
9477
9475
|
var streamPipelinePromisified = promisify(stream2.pipeline);
|
|
9478
9476
|
var MaxBufferError = class extends Error {
|
|
@@ -9514,19 +9512,19 @@ var require_get_stream = __commonJS({
|
|
|
9514
9512
|
});
|
|
9515
9513
|
return stream3.getBufferedValue();
|
|
9516
9514
|
}
|
|
9517
|
-
|
|
9518
|
-
|
|
9519
|
-
|
|
9520
|
-
|
|
9515
|
+
module2.exports = getStream;
|
|
9516
|
+
module2.exports.buffer = (stream3, options) => getStream(stream3, { ...options, encoding: "buffer" });
|
|
9517
|
+
module2.exports.array = (stream3, options) => getStream(stream3, { ...options, array: true });
|
|
9518
|
+
module2.exports.MaxBufferError = MaxBufferError;
|
|
9521
9519
|
}
|
|
9522
9520
|
});
|
|
9523
9521
|
|
|
9524
9522
|
// node_modules/.pnpm/merge-stream@2.0.0/node_modules/merge-stream/index.js
|
|
9525
9523
|
var require_merge_stream = __commonJS({
|
|
9526
|
-
"node_modules/.pnpm/merge-stream@2.0.0/node_modules/merge-stream/index.js"(exports,
|
|
9524
|
+
"node_modules/.pnpm/merge-stream@2.0.0/node_modules/merge-stream/index.js"(exports, module2) {
|
|
9527
9525
|
"use strict";
|
|
9528
|
-
var { PassThrough } =
|
|
9529
|
-
|
|
9526
|
+
var { PassThrough } = require("stream");
|
|
9527
|
+
module2.exports = function() {
|
|
9530
9528
|
var sources = [];
|
|
9531
9529
|
var output = new PassThrough({ objectMode: true });
|
|
9532
9530
|
output.setMaxListeners(0);
|
|
@@ -9563,7 +9561,7 @@ var require_merge_stream = __commonJS({
|
|
|
9563
9561
|
|
|
9564
9562
|
// node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/stream.js
|
|
9565
9563
|
var require_stream5 = __commonJS({
|
|
9566
|
-
"node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/stream.js"(exports,
|
|
9564
|
+
"node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/stream.js"(exports, module2) {
|
|
9567
9565
|
"use strict";
|
|
9568
9566
|
var isStream2 = require_is_stream();
|
|
9569
9567
|
var getStream = require_get_stream();
|
|
@@ -9631,7 +9629,7 @@ var require_stream5 = __commonJS({
|
|
|
9631
9629
|
throw new TypeError("The `input` option cannot be a stream in sync mode");
|
|
9632
9630
|
}
|
|
9633
9631
|
};
|
|
9634
|
-
|
|
9632
|
+
module2.exports = {
|
|
9635
9633
|
handleInput,
|
|
9636
9634
|
makeAllStream,
|
|
9637
9635
|
getSpawnedResult,
|
|
@@ -9642,7 +9640,7 @@ var require_stream5 = __commonJS({
|
|
|
9642
9640
|
|
|
9643
9641
|
// node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/promise.js
|
|
9644
9642
|
var require_promise = __commonJS({
|
|
9645
|
-
"node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/promise.js"(exports,
|
|
9643
|
+
"node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/promise.js"(exports, module2) {
|
|
9646
9644
|
"use strict";
|
|
9647
9645
|
var nativePromisePrototype = (/* @__PURE__ */ (async () => {
|
|
9648
9646
|
})()).constructor.prototype;
|
|
@@ -9672,7 +9670,7 @@ var require_promise = __commonJS({
|
|
|
9672
9670
|
}
|
|
9673
9671
|
});
|
|
9674
9672
|
};
|
|
9675
|
-
|
|
9673
|
+
module2.exports = {
|
|
9676
9674
|
mergePromise,
|
|
9677
9675
|
getSpawnedPromise
|
|
9678
9676
|
};
|
|
@@ -9681,7 +9679,7 @@ var require_promise = __commonJS({
|
|
|
9681
9679
|
|
|
9682
9680
|
// node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/command.js
|
|
9683
9681
|
var require_command = __commonJS({
|
|
9684
|
-
"node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/command.js"(exports,
|
|
9682
|
+
"node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/command.js"(exports, module2) {
|
|
9685
9683
|
"use strict";
|
|
9686
9684
|
var normalizeArgs = (file, args = []) => {
|
|
9687
9685
|
if (!Array.isArray(args)) {
|
|
@@ -9716,7 +9714,7 @@ var require_command = __commonJS({
|
|
|
9716
9714
|
}
|
|
9717
9715
|
return tokens;
|
|
9718
9716
|
};
|
|
9719
|
-
|
|
9717
|
+
module2.exports = {
|
|
9720
9718
|
joinCommand,
|
|
9721
9719
|
getEscapedCommand,
|
|
9722
9720
|
parseCommand
|
|
@@ -9726,10 +9724,10 @@ var require_command = __commonJS({
|
|
|
9726
9724
|
|
|
9727
9725
|
// node_modules/.pnpm/execa@5.1.1/node_modules/execa/index.js
|
|
9728
9726
|
var require_execa = __commonJS({
|
|
9729
|
-
"node_modules/.pnpm/execa@5.1.1/node_modules/execa/index.js"(exports,
|
|
9727
|
+
"node_modules/.pnpm/execa@5.1.1/node_modules/execa/index.js"(exports, module2) {
|
|
9730
9728
|
"use strict";
|
|
9731
|
-
var path2 =
|
|
9732
|
-
var childProcess =
|
|
9729
|
+
var path2 = require("path");
|
|
9730
|
+
var childProcess = require("child_process");
|
|
9733
9731
|
var crossSpawn = require_cross_spawn();
|
|
9734
9732
|
var stripFinalNewline = require_strip_final_newline();
|
|
9735
9733
|
var npmRunPath = require_npm_run_path();
|
|
@@ -9857,8 +9855,8 @@ var require_execa = __commonJS({
|
|
|
9857
9855
|
spawned.all = makeAllStream(spawned, parsed.options);
|
|
9858
9856
|
return mergePromise(spawned, handlePromiseOnce);
|
|
9859
9857
|
};
|
|
9860
|
-
|
|
9861
|
-
|
|
9858
|
+
module2.exports = execa;
|
|
9859
|
+
module2.exports.sync = (file, args, options) => {
|
|
9862
9860
|
const parsed = handleArguments(file, args, options);
|
|
9863
9861
|
const command = joinCommand(file, args);
|
|
9864
9862
|
const escapedCommand = getEscapedCommand(file, args);
|
|
@@ -9913,15 +9911,15 @@ var require_execa = __commonJS({
|
|
|
9913
9911
|
killed: false
|
|
9914
9912
|
};
|
|
9915
9913
|
};
|
|
9916
|
-
|
|
9914
|
+
module2.exports.command = (command, options) => {
|
|
9917
9915
|
const [file, ...args] = parseCommand(command);
|
|
9918
9916
|
return execa(file, args, options);
|
|
9919
9917
|
};
|
|
9920
|
-
|
|
9918
|
+
module2.exports.commandSync = (command, options) => {
|
|
9921
9919
|
const [file, ...args] = parseCommand(command);
|
|
9922
9920
|
return execa.sync(file, args, options);
|
|
9923
9921
|
};
|
|
9924
|
-
|
|
9922
|
+
module2.exports.node = (scriptPath, args, options = {}) => {
|
|
9925
9923
|
if (args && !Array.isArray(args) && typeof args === "object") {
|
|
9926
9924
|
options = args;
|
|
9927
9925
|
args = [];
|
|
@@ -9954,12 +9952,12 @@ var require_execa = __commonJS({
|
|
|
9954
9952
|
|
|
9955
9953
|
// node_modules/.pnpm/tree-kill@1.2.2/node_modules/tree-kill/index.js
|
|
9956
9954
|
var require_tree_kill = __commonJS({
|
|
9957
|
-
"node_modules/.pnpm/tree-kill@1.2.2/node_modules/tree-kill/index.js"(exports,
|
|
9955
|
+
"node_modules/.pnpm/tree-kill@1.2.2/node_modules/tree-kill/index.js"(exports, module2) {
|
|
9958
9956
|
"use strict";
|
|
9959
|
-
var childProcess =
|
|
9957
|
+
var childProcess = require("child_process");
|
|
9960
9958
|
var spawn = childProcess.spawn;
|
|
9961
9959
|
var exec = childProcess.exec;
|
|
9962
|
-
|
|
9960
|
+
module2.exports = function(pid, signal, callback) {
|
|
9963
9961
|
if (typeof signal === "function" && callback === void 0) {
|
|
9964
9962
|
callback = signal;
|
|
9965
9963
|
signal = void 0;
|
|
@@ -22735,9 +22733,9 @@ var require_CJSImportProcessor = __commonJS({
|
|
|
22735
22733
|
|
|
22736
22734
|
// node_modules/.pnpm/@jridgewell+set-array@1.1.2/node_modules/@jridgewell/set-array/dist/set-array.umd.js
|
|
22737
22735
|
var require_set_array_umd = __commonJS({
|
|
22738
|
-
"node_modules/.pnpm/@jridgewell+set-array@1.1.2/node_modules/@jridgewell/set-array/dist/set-array.umd.js"(exports,
|
|
22736
|
+
"node_modules/.pnpm/@jridgewell+set-array@1.1.2/node_modules/@jridgewell/set-array/dist/set-array.umd.js"(exports, module2) {
|
|
22739
22737
|
(function(global2, factory) {
|
|
22740
|
-
typeof exports === "object" && typeof
|
|
22738
|
+
typeof exports === "object" && typeof module2 !== "undefined" ? factory(exports) : typeof define === "function" && define.amd ? define(["exports"], factory) : (global2 = typeof globalThis !== "undefined" ? globalThis : global2 || self, factory(global2.setArray = {}));
|
|
22741
22739
|
})(exports, function(exports2) {
|
|
22742
22740
|
"use strict";
|
|
22743
22741
|
exports2.get = void 0;
|
|
@@ -22774,9 +22772,9 @@ var require_set_array_umd = __commonJS({
|
|
|
22774
22772
|
|
|
22775
22773
|
// node_modules/.pnpm/@jridgewell+sourcemap-codec@1.4.15/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js
|
|
22776
22774
|
var require_sourcemap_codec_umd = __commonJS({
|
|
22777
|
-
"node_modules/.pnpm/@jridgewell+sourcemap-codec@1.4.15/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js"(exports,
|
|
22775
|
+
"node_modules/.pnpm/@jridgewell+sourcemap-codec@1.4.15/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js"(exports, module2) {
|
|
22778
22776
|
(function(global2, factory) {
|
|
22779
|
-
typeof exports === "object" && typeof
|
|
22777
|
+
typeof exports === "object" && typeof module2 !== "undefined" ? factory(exports) : typeof define === "function" && define.amd ? define(["exports"], factory) : (global2 = typeof globalThis !== "undefined" ? globalThis : global2 || self, factory(global2.sourcemapCodec = {}));
|
|
22780
22778
|
})(exports, function(exports2) {
|
|
22781
22779
|
"use strict";
|
|
22782
22780
|
const comma = ",".charCodeAt(0);
|
|
@@ -22940,9 +22938,9 @@ var require_sourcemap_codec_umd = __commonJS({
|
|
|
22940
22938
|
|
|
22941
22939
|
// node_modules/.pnpm/@jridgewell+resolve-uri@3.1.1/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.umd.js
|
|
22942
22940
|
var require_resolve_uri_umd = __commonJS({
|
|
22943
|
-
"node_modules/.pnpm/@jridgewell+resolve-uri@3.1.1/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.umd.js"(exports,
|
|
22941
|
+
"node_modules/.pnpm/@jridgewell+resolve-uri@3.1.1/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.umd.js"(exports, module2) {
|
|
22944
22942
|
(function(global2, factory) {
|
|
22945
|
-
typeof exports === "object" && typeof
|
|
22943
|
+
typeof exports === "object" && typeof module2 !== "undefined" ? module2.exports = factory() : typeof define === "function" && define.amd ? define(factory) : (global2 = typeof globalThis !== "undefined" ? globalThis : global2 || self, global2.resolveURI = factory());
|
|
22946
22944
|
})(exports, function() {
|
|
22947
22945
|
"use strict";
|
|
22948
22946
|
const schemeRegex = /^[\w+.-]+:\/\//;
|
|
@@ -23123,9 +23121,9 @@ var require_resolve_uri_umd = __commonJS({
|
|
|
23123
23121
|
|
|
23124
23122
|
// node_modules/.pnpm/@jridgewell+trace-mapping@0.3.20/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js
|
|
23125
23123
|
var require_trace_mapping_umd = __commonJS({
|
|
23126
|
-
"node_modules/.pnpm/@jridgewell+trace-mapping@0.3.20/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js"(exports,
|
|
23124
|
+
"node_modules/.pnpm/@jridgewell+trace-mapping@0.3.20/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js"(exports, module2) {
|
|
23127
23125
|
(function(global2, factory) {
|
|
23128
|
-
typeof exports === "object" && typeof
|
|
23126
|
+
typeof exports === "object" && typeof module2 !== "undefined" ? factory(exports, require_sourcemap_codec_umd(), require_resolve_uri_umd()) : typeof define === "function" && define.amd ? define(["exports", "@jridgewell/sourcemap-codec", "@jridgewell/resolve-uri"], factory) : (global2 = typeof globalThis !== "undefined" ? globalThis : global2 || self, factory(global2.traceMapping = {}, global2.sourcemapCodec, global2.resolveURI));
|
|
23129
23127
|
})(exports, function(exports2, sourcemapCodec, resolveUri) {
|
|
23130
23128
|
"use strict";
|
|
23131
23129
|
function _interopDefaultLegacy(e) {
|
|
@@ -23571,9 +23569,9 @@ var require_trace_mapping_umd = __commonJS({
|
|
|
23571
23569
|
|
|
23572
23570
|
// node_modules/.pnpm/@jridgewell+gen-mapping@0.3.3/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.umd.js
|
|
23573
23571
|
var require_gen_mapping_umd = __commonJS({
|
|
23574
|
-
"node_modules/.pnpm/@jridgewell+gen-mapping@0.3.3/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.umd.js"(exports,
|
|
23572
|
+
"node_modules/.pnpm/@jridgewell+gen-mapping@0.3.3/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.umd.js"(exports, module2) {
|
|
23575
23573
|
(function(global2, factory) {
|
|
23576
|
-
typeof exports === "object" && typeof
|
|
23574
|
+
typeof exports === "object" && typeof module2 !== "undefined" ? factory(exports, require_set_array_umd(), require_sourcemap_codec_umd(), require_trace_mapping_umd()) : typeof define === "function" && define.amd ? define(["exports", "@jridgewell/set-array", "@jridgewell/sourcemap-codec", "@jridgewell/trace-mapping"], factory) : (global2 = typeof globalThis !== "undefined" ? globalThis : global2 || self, factory(global2.genMapping = {}, global2.setArray, global2.sourcemapCodec, global2.traceMapping));
|
|
23577
23575
|
})(exports, function(exports2, setArray, sourcemapCodec, traceMapping) {
|
|
23578
23576
|
"use strict";
|
|
23579
23577
|
const COLUMN = 0;
|
|
@@ -33187,9 +33185,9 @@ var require_base64_vlq = __commonJS({
|
|
|
33187
33185
|
|
|
33188
33186
|
// node_modules/.pnpm/source-map@0.8.0-beta.0/node_modules/source-map/lib/url.js
|
|
33189
33187
|
var require_url = __commonJS({
|
|
33190
|
-
"node_modules/.pnpm/source-map@0.8.0-beta.0/node_modules/source-map/lib/url.js"(exports,
|
|
33188
|
+
"node_modules/.pnpm/source-map@0.8.0-beta.0/node_modules/source-map/lib/url.js"(exports, module2) {
|
|
33191
33189
|
"use strict";
|
|
33192
|
-
|
|
33190
|
+
module2.exports = typeof URL === "function" ? URL : require("url").URL;
|
|
33193
33191
|
}
|
|
33194
33192
|
});
|
|
33195
33193
|
|
|
@@ -33958,11 +33956,11 @@ var require_binary_search = __commonJS({
|
|
|
33958
33956
|
|
|
33959
33957
|
// node_modules/.pnpm/source-map@0.8.0-beta.0/node_modules/source-map/lib/read-wasm.js
|
|
33960
33958
|
var require_read_wasm = __commonJS({
|
|
33961
|
-
"node_modules/.pnpm/source-map@0.8.0-beta.0/node_modules/source-map/lib/read-wasm.js"(exports,
|
|
33959
|
+
"node_modules/.pnpm/source-map@0.8.0-beta.0/node_modules/source-map/lib/read-wasm.js"(exports, module2) {
|
|
33962
33960
|
"use strict";
|
|
33963
|
-
var fs =
|
|
33964
|
-
var path2 =
|
|
33965
|
-
|
|
33961
|
+
var fs = require("fs");
|
|
33962
|
+
var path2 = require("path");
|
|
33963
|
+
module2.exports = function readWasm() {
|
|
33966
33964
|
return new Promise((resolve, reject) => {
|
|
33967
33965
|
const wasmPath = path2.join(__dirname, "mappings.wasm");
|
|
33968
33966
|
fs.readFile(wasmPath, null, (error, data) => {
|
|
@@ -33974,7 +33972,7 @@ var require_read_wasm = __commonJS({
|
|
|
33974
33972
|
});
|
|
33975
33973
|
});
|
|
33976
33974
|
};
|
|
33977
|
-
|
|
33975
|
+
module2.exports.initialize = (_) => {
|
|
33978
33976
|
console.debug("SourceMapConsumer.initialize is a no-op when running in node.js");
|
|
33979
33977
|
};
|
|
33980
33978
|
}
|
|
@@ -33982,7 +33980,7 @@ var require_read_wasm = __commonJS({
|
|
|
33982
33980
|
|
|
33983
33981
|
// node_modules/.pnpm/source-map@0.8.0-beta.0/node_modules/source-map/lib/wasm.js
|
|
33984
33982
|
var require_wasm = __commonJS({
|
|
33985
|
-
"node_modules/.pnpm/source-map@0.8.0-beta.0/node_modules/source-map/lib/wasm.js"(exports,
|
|
33983
|
+
"node_modules/.pnpm/source-map@0.8.0-beta.0/node_modules/source-map/lib/wasm.js"(exports, module2) {
|
|
33986
33984
|
var readWasm = require_read_wasm();
|
|
33987
33985
|
function Mapping() {
|
|
33988
33986
|
this.generatedLine = 0;
|
|
@@ -33994,7 +33992,7 @@ var require_wasm = __commonJS({
|
|
|
33994
33992
|
this.name = null;
|
|
33995
33993
|
}
|
|
33996
33994
|
var cachedWasm = null;
|
|
33997
|
-
|
|
33995
|
+
module2.exports = function wasm() {
|
|
33998
33996
|
if (cachedWasm) {
|
|
33999
33997
|
return cachedWasm;
|
|
34000
33998
|
}
|
|
@@ -35184,10 +35182,10 @@ var require_source_map = __commonJS({
|
|
|
35184
35182
|
|
|
35185
35183
|
// node_modules/.pnpm/rollup@4.5.0/node_modules/rollup/dist/native.js
|
|
35186
35184
|
var require_native = __commonJS({
|
|
35187
|
-
"node_modules/.pnpm/rollup@4.5.0/node_modules/rollup/dist/native.js"(exports,
|
|
35188
|
-
var { existsSync } =
|
|
35189
|
-
var { join: join2 } =
|
|
35190
|
-
var { platform, arch, report } =
|
|
35185
|
+
"node_modules/.pnpm/rollup@4.5.0/node_modules/rollup/dist/native.js"(exports, module2) {
|
|
35186
|
+
var { existsSync } = require("node:fs");
|
|
35187
|
+
var { join: join2 } = require("node:path");
|
|
35188
|
+
var { platform, arch, report } = require("node:process");
|
|
35191
35189
|
var isMusl = () => !report.getReport().header.glibcVersionRuntime;
|
|
35192
35190
|
var bindingsByPlatformAndArch = {
|
|
35193
35191
|
android: {
|
|
@@ -35236,10 +35234,10 @@ If this is important to you, please consider supporting Rollup to make a native
|
|
|
35236
35234
|
return imported.base;
|
|
35237
35235
|
}
|
|
35238
35236
|
var localName = `./rollup.${packageBase}.node`;
|
|
35239
|
-
var { parse, parseAsync, xxhashBase64Url } = existsSync(join2(__dirname, localName)) ?
|
|
35240
|
-
|
|
35241
|
-
|
|
35242
|
-
|
|
35237
|
+
var { parse, parseAsync, xxhashBase64Url } = existsSync(join2(__dirname, localName)) ? require(localName) : require(`@rollup/rollup-${packageBase}`);
|
|
35238
|
+
module2.exports.parse = parse;
|
|
35239
|
+
module2.exports.parseAsync = parseAsync;
|
|
35240
|
+
module2.exports.xxhashBase64Url = xxhashBase64Url;
|
|
35243
35241
|
}
|
|
35244
35242
|
});
|
|
35245
35243
|
|
|
@@ -35248,7 +35246,7 @@ var require_parseAst = __commonJS({
|
|
|
35248
35246
|
"node_modules/.pnpm/rollup@4.5.0/node_modules/rollup/dist/shared/parseAst.js"(exports) {
|
|
35249
35247
|
"use strict";
|
|
35250
35248
|
var native_js = require_native();
|
|
35251
|
-
var node_path =
|
|
35249
|
+
var node_path = require("node:path");
|
|
35252
35250
|
function rangeContains(range, index) {
|
|
35253
35251
|
return range.start <= index && index < range.end;
|
|
35254
35252
|
}
|
|
@@ -35575,7 +35573,7 @@ ${indicator}`;
|
|
|
35575
35573
|
binding,
|
|
35576
35574
|
code: AMBIGUOUS_EXTERNAL_NAMESPACES,
|
|
35577
35575
|
ids: sources,
|
|
35578
|
-
message: `Ambiguous external namespace resolution: "${relativeId(reexportingModule)}" re-exports "${binding}" from one of the external modules ${printQuotedStringList(sources.map((
|
|
35576
|
+
message: `Ambiguous external namespace resolution: "${relativeId(reexportingModule)}" re-exports "${binding}" from one of the external modules ${printQuotedStringList(sources.map((module3) => relativeId(module3)))}, guessing "${relativeId(usedModule)}".`,
|
|
35579
35577
|
reexporter: reexportingModule
|
|
35580
35578
|
};
|
|
35581
35579
|
}
|
|
@@ -35960,11 +35958,11 @@ Original error: ${originalError.message}`,
|
|
|
35960
35958
|
message: `Module "${relativeId(unresolvedId)}" that should be implicitly loaded before "${relativeId(implicitlyLoadedBefore)}" could not be resolved.`
|
|
35961
35959
|
};
|
|
35962
35960
|
}
|
|
35963
|
-
function logImplicitDependantIsNotIncluded(
|
|
35964
|
-
const implicitDependencies = [...
|
|
35961
|
+
function logImplicitDependantIsNotIncluded(module3) {
|
|
35962
|
+
const implicitDependencies = [...module3.implicitlyLoadedBefore].map((dependency) => relativeId(dependency.id)).sort();
|
|
35965
35963
|
return {
|
|
35966
35964
|
code: MISSING_IMPLICIT_DEPENDANT,
|
|
35967
|
-
message: `Module "${relativeId(
|
|
35965
|
+
message: `Module "${relativeId(module3.id)}" that should be implicitly loaded before ${printQuotedStringList(implicitDependencies)} is not included in the module graph. Either it was not imported by an included module or only via a tree-shaken dynamic import, or no imported bindings were used and it had otherwise no side-effects.`
|
|
35968
35966
|
};
|
|
35969
35967
|
}
|
|
35970
35968
|
function logMissingNameOptionForIifeExport() {
|
|
@@ -37607,13 +37605,13 @@ var require_rollup = __commonJS({
|
|
|
37607
37605
|
"node_modules/.pnpm/rollup@4.5.0/node_modules/rollup/dist/shared/rollup.js"(exports) {
|
|
37608
37606
|
"use strict";
|
|
37609
37607
|
var parseAst_js = require_parseAst();
|
|
37610
|
-
var process$1 =
|
|
37611
|
-
var tty =
|
|
37612
|
-
var node_path =
|
|
37613
|
-
var require$$0$1 =
|
|
37614
|
-
var node_perf_hooks =
|
|
37608
|
+
var process$1 = require("node:process");
|
|
37609
|
+
var tty = require("tty");
|
|
37610
|
+
var node_path = require("node:path");
|
|
37611
|
+
var require$$0$1 = require("path");
|
|
37612
|
+
var node_perf_hooks = require("node:perf_hooks");
|
|
37615
37613
|
var native_js = require_native();
|
|
37616
|
-
var promises =
|
|
37614
|
+
var promises = require("node:fs/promises");
|
|
37617
37615
|
function _interopNamespaceDefault(e) {
|
|
37618
37616
|
const n2 = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
|
37619
37617
|
if (e) {
|
|
@@ -38003,7 +38001,7 @@ var require_rollup = __commonJS({
|
|
|
38003
38001
|
referenceId: "",
|
|
38004
38002
|
type: "chunk"
|
|
38005
38003
|
};
|
|
38006
|
-
this.graph.moduleLoader.emitChunk(emittedChunk).then((
|
|
38004
|
+
this.graph.moduleLoader.emitChunk(emittedChunk).then((module3) => consumedChunk.module = module3).catch(() => {
|
|
38007
38005
|
});
|
|
38008
38006
|
return this.assignReferenceId(consumedChunk, emittedChunk.id);
|
|
38009
38007
|
}
|
|
@@ -40332,7 +40330,7 @@ var require_rollup = __commonJS({
|
|
|
40332
40330
|
return id.replace(backSlashRegEx, "\\\\").replace(quoteNewlineRegEx, "\\$1");
|
|
40333
40331
|
}
|
|
40334
40332
|
var ExternalChunk = class {
|
|
40335
|
-
constructor(
|
|
40333
|
+
constructor(module3, options, inputBase) {
|
|
40336
40334
|
this.options = options;
|
|
40337
40335
|
this.inputBase = inputBase;
|
|
40338
40336
|
this.defaultVariableName = "";
|
|
@@ -40340,10 +40338,10 @@ var require_rollup = __commonJS({
|
|
|
40340
40338
|
this.variableName = "";
|
|
40341
40339
|
this.fileName = null;
|
|
40342
40340
|
this.importAttributes = null;
|
|
40343
|
-
this.id =
|
|
40344
|
-
this.moduleInfo =
|
|
40345
|
-
this.renormalizeRenderPath =
|
|
40346
|
-
this.suggestedVariableName =
|
|
40341
|
+
this.id = module3.id;
|
|
40342
|
+
this.moduleInfo = module3.info;
|
|
40343
|
+
this.renormalizeRenderPath = module3.renormalizeRenderPath;
|
|
40344
|
+
this.suggestedVariableName = module3.suggestedVariableName;
|
|
40347
40345
|
}
|
|
40348
40346
|
getFileName() {
|
|
40349
40347
|
if (this.fileName) {
|
|
@@ -40574,10 +40572,10 @@ var require_rollup = __commonJS({
|
|
|
40574
40572
|
}
|
|
40575
40573
|
};
|
|
40576
40574
|
var ExternalVariable = class extends Variable {
|
|
40577
|
-
constructor(
|
|
40575
|
+
constructor(module3, name) {
|
|
40578
40576
|
super(name);
|
|
40579
40577
|
this.referenced = false;
|
|
40580
|
-
this.module =
|
|
40578
|
+
this.module = module3;
|
|
40581
40579
|
this.isNamespace = name === "*";
|
|
40582
40580
|
}
|
|
40583
40581
|
addReference(identifier) {
|
|
@@ -48275,8 +48273,8 @@ var require_rollup = __commonJS({
|
|
|
48275
48273
|
}
|
|
48276
48274
|
render(code, renderOptions) {
|
|
48277
48275
|
const { format, pluginDriver, snippets } = renderOptions;
|
|
48278
|
-
const { scope: { context: { module:
|
|
48279
|
-
const { id: moduleId } =
|
|
48276
|
+
const { scope: { context: { module: module3 } }, meta: { name }, metaProperty, parent, preliminaryChunkId, referenceId, start, end } = this;
|
|
48277
|
+
const { id: moduleId } = module3;
|
|
48280
48278
|
if (name !== IMPORT)
|
|
48281
48279
|
return;
|
|
48282
48280
|
const chunkId = preliminaryChunkId;
|
|
@@ -48488,8 +48486,8 @@ var require_rollup = __commonJS({
|
|
|
48488
48486
|
if (node.hasEffects(context)) {
|
|
48489
48487
|
if (this.scope.context.options.experimentalLogSideEffects && !this.hasLoggedEffect) {
|
|
48490
48488
|
this.hasLoggedEffect = true;
|
|
48491
|
-
const { code, log, module:
|
|
48492
|
-
log(parseAst_js.LOGLEVEL_INFO, parseAst_js.logFirstSideEffect(code,
|
|
48489
|
+
const { code, log, module: module3 } = this.scope.context;
|
|
48490
|
+
log(parseAst_js.LOGLEVEL_INFO, parseAst_js.logFirstSideEffect(code, module3.id, parseAst_js.locate(code, node.start, { offsetLine: 1 })), node.start);
|
|
48493
48491
|
}
|
|
48494
48492
|
return this.hasCachedEffect = true;
|
|
48495
48493
|
}
|
|
@@ -49538,9 +49536,9 @@ var require_rollup = __commonJS({
|
|
|
49538
49536
|
};
|
|
49539
49537
|
var MISSING_EXPORT_SHIM_VARIABLE = "_missingExportShim";
|
|
49540
49538
|
var ExportShimVariable = class extends Variable {
|
|
49541
|
-
constructor(
|
|
49539
|
+
constructor(module3) {
|
|
49542
49540
|
super(MISSING_EXPORT_SHIM_VARIABLE);
|
|
49543
|
-
this.module =
|
|
49541
|
+
this.module = module3;
|
|
49544
49542
|
}
|
|
49545
49543
|
include() {
|
|
49546
49544
|
super.include();
|
|
@@ -49957,9 +49955,9 @@ var require_rollup = __commonJS({
|
|
|
49957
49955
|
baseModule.isExecuted = true;
|
|
49958
49956
|
const modules = [baseModule];
|
|
49959
49957
|
const visitedModules = /* @__PURE__ */ new Set();
|
|
49960
|
-
for (const
|
|
49961
|
-
for (const dependency of [...
|
|
49962
|
-
if (!(dependency instanceof ExternalModule) && !dependency.isExecuted && (dependency.info.moduleSideEffects ||
|
|
49958
|
+
for (const module3 of modules) {
|
|
49959
|
+
for (const dependency of [...module3.dependencies, ...module3.implicitlyLoadedBefore]) {
|
|
49960
|
+
if (!(dependency instanceof ExternalModule) && !dependency.isExecuted && (dependency.info.moduleSideEffects || module3.implicitlyLoadedBefore.has(dependency)) && !visitedModules.has(dependency.id)) {
|
|
49963
49961
|
dependency.isExecuted = true;
|
|
49964
49962
|
visitedModules.add(dependency.id);
|
|
49965
49963
|
modules.push(dependency);
|
|
@@ -49987,8 +49985,8 @@ var require_rollup = __commonJS({
|
|
|
49987
49985
|
searchedNamesAndModules
|
|
49988
49986
|
});
|
|
49989
49987
|
}
|
|
49990
|
-
function getAndExtendSideEffectModules(variable,
|
|
49991
|
-
const sideEffectModules = getOrCreate(
|
|
49988
|
+
function getAndExtendSideEffectModules(variable, module3) {
|
|
49989
|
+
const sideEffectModules = getOrCreate(module3.sideEffectDependenciesByVariable, variable, getNewSet);
|
|
49992
49990
|
let currentVariable = variable;
|
|
49993
49991
|
const referencedVariables = /* @__PURE__ */ new Set([currentVariable]);
|
|
49994
49992
|
while (true) {
|
|
@@ -50001,8 +49999,8 @@ var require_rollup = __commonJS({
|
|
|
50001
49999
|
sideEffectModules.add(importingModule);
|
|
50002
50000
|
const originalSideEffects = importingModule.sideEffectDependenciesByVariable.get(currentVariable);
|
|
50003
50001
|
if (originalSideEffects) {
|
|
50004
|
-
for (const
|
|
50005
|
-
sideEffectModules.add(
|
|
50002
|
+
for (const module4 of originalSideEffects) {
|
|
50003
|
+
sideEffectModules.add(module4);
|
|
50006
50004
|
}
|
|
50007
50005
|
}
|
|
50008
50006
|
}
|
|
@@ -50052,14 +50050,14 @@ var require_rollup = __commonJS({
|
|
|
50052
50050
|
this.excludeFromSourcemap = /\0/.test(id);
|
|
50053
50051
|
this.context = options.moduleContext(id);
|
|
50054
50052
|
this.preserveSignature = this.options.preserveEntrySignatures;
|
|
50055
|
-
const
|
|
50053
|
+
const module3 = this;
|
|
50056
50054
|
const { dynamicImports, dynamicImporters, exportAllSources, exports: exports2, implicitlyLoadedAfter, implicitlyLoadedBefore, importers, reexportDescriptions, sourcesWithAttributes } = this;
|
|
50057
50055
|
this.info = {
|
|
50058
50056
|
ast: null,
|
|
50059
50057
|
attributes,
|
|
50060
50058
|
code: null,
|
|
50061
50059
|
get dynamicallyImportedIdResolutions() {
|
|
50062
|
-
return dynamicImports.map(({ argument }) => typeof argument === "string" &&
|
|
50060
|
+
return dynamicImports.map(({ argument }) => typeof argument === "string" && module3.resolvedIds[argument]).filter(Boolean);
|
|
50063
50061
|
},
|
|
50064
50062
|
get dynamicallyImportedIds() {
|
|
50065
50063
|
return dynamicImports.map(({ id: id2 }) => id2).filter((id2) => id2 != null);
|
|
@@ -50085,10 +50083,10 @@ var require_rollup = __commonJS({
|
|
|
50085
50083
|
];
|
|
50086
50084
|
},
|
|
50087
50085
|
get hasDefaultExport() {
|
|
50088
|
-
if (!
|
|
50086
|
+
if (!module3.ast) {
|
|
50089
50087
|
return null;
|
|
50090
50088
|
}
|
|
50091
|
-
return
|
|
50089
|
+
return module3.exports.has("default") || reexportDescriptions.has("default");
|
|
50092
50090
|
},
|
|
50093
50091
|
id,
|
|
50094
50092
|
get implicitlyLoadedAfterOneOf() {
|
|
@@ -50098,10 +50096,10 @@ var require_rollup = __commonJS({
|
|
|
50098
50096
|
return Array.from(implicitlyLoadedBefore, getId).sort();
|
|
50099
50097
|
},
|
|
50100
50098
|
get importedIdResolutions() {
|
|
50101
|
-
return Array.from(sourcesWithAttributes.keys(), (source) =>
|
|
50099
|
+
return Array.from(sourcesWithAttributes.keys(), (source) => module3.resolvedIds[source]).filter(Boolean);
|
|
50102
50100
|
},
|
|
50103
50101
|
get importedIds() {
|
|
50104
|
-
return Array.from(sourcesWithAttributes.keys(), (source) =>
|
|
50102
|
+
return Array.from(sourcesWithAttributes.keys(), (source) => module3.resolvedIds[source]?.id).filter(Boolean);
|
|
50105
50103
|
},
|
|
50106
50104
|
get importers() {
|
|
50107
50105
|
return importers.sort();
|
|
@@ -50112,7 +50110,7 @@ var require_rollup = __commonJS({
|
|
|
50112
50110
|
if (graph.phase !== BuildPhase.GENERATE) {
|
|
50113
50111
|
return null;
|
|
50114
50112
|
}
|
|
50115
|
-
return
|
|
50113
|
+
return module3.isIncluded();
|
|
50116
50114
|
},
|
|
50117
50115
|
meta: { ...meta },
|
|
50118
50116
|
moduleSideEffects,
|
|
@@ -50146,12 +50144,12 @@ var require_rollup = __commonJS({
|
|
|
50146
50144
|
return this.allExportNames;
|
|
50147
50145
|
}
|
|
50148
50146
|
this.allExportNames = /* @__PURE__ */ new Set([...this.exports.keys(), ...this.reexportDescriptions.keys()]);
|
|
50149
|
-
for (const
|
|
50150
|
-
if (
|
|
50151
|
-
this.allExportNames.add(`*${
|
|
50147
|
+
for (const module3 of this.exportAllModules) {
|
|
50148
|
+
if (module3 instanceof ExternalModule) {
|
|
50149
|
+
this.allExportNames.add(`*${module3.id}`);
|
|
50152
50150
|
continue;
|
|
50153
50151
|
}
|
|
50154
|
-
for (const name of
|
|
50152
|
+
for (const name of module3.getAllExportNames()) {
|
|
50155
50153
|
if (name !== "default")
|
|
50156
50154
|
this.allExportNames.add(name);
|
|
50157
50155
|
}
|
|
@@ -50179,8 +50177,8 @@ var require_rollup = __commonJS({
|
|
|
50179
50177
|
for (let variable of dependencyVariables) {
|
|
50180
50178
|
const sideEffectDependencies = this.sideEffectDependenciesByVariable.get(variable);
|
|
50181
50179
|
if (sideEffectDependencies) {
|
|
50182
|
-
for (const
|
|
50183
|
-
alwaysCheckedDependencies.add(
|
|
50180
|
+
for (const module3 of sideEffectDependencies) {
|
|
50181
|
+
alwaysCheckedDependencies.add(module3);
|
|
50184
50182
|
}
|
|
50185
50183
|
}
|
|
50186
50184
|
if (variable instanceof SyntheticNamedExportVariable) {
|
|
@@ -50233,11 +50231,11 @@ var require_rollup = __commonJS({
|
|
|
50233
50231
|
}
|
|
50234
50232
|
this.transitiveReexports = [];
|
|
50235
50233
|
const reexports = new Set(this.reexportDescriptions.keys());
|
|
50236
|
-
for (const
|
|
50237
|
-
if (
|
|
50238
|
-
reexports.add(`*${
|
|
50234
|
+
for (const module3 of this.exportAllModules) {
|
|
50235
|
+
if (module3 instanceof ExternalModule) {
|
|
50236
|
+
reexports.add(`*${module3.id}`);
|
|
50239
50237
|
} else {
|
|
50240
|
-
for (const name of [...
|
|
50238
|
+
for (const name of [...module3.getReexports(), ...module3.getExports()]) {
|
|
50241
50239
|
if (name !== "default")
|
|
50242
50240
|
reexports.add(name);
|
|
50243
50241
|
}
|
|
@@ -50269,8 +50267,8 @@ var require_rollup = __commonJS({
|
|
|
50269
50267
|
if (name.length === 1) {
|
|
50270
50268
|
return [this.namespace];
|
|
50271
50269
|
}
|
|
50272
|
-
const
|
|
50273
|
-
return
|
|
50270
|
+
const module3 = this.graph.modulesById.get(name.slice(1));
|
|
50271
|
+
return module3.getVariableForExportName("*");
|
|
50274
50272
|
}
|
|
50275
50273
|
const reexportDeclaration = this.reexportDescriptions.get(name);
|
|
50276
50274
|
if (reexportDeclaration) {
|
|
@@ -50398,12 +50396,12 @@ var require_rollup = __commonJS({
|
|
|
50398
50396
|
this.addModulesToImportDescriptions(this.reexportDescriptions);
|
|
50399
50397
|
const externalExportAllModules = [];
|
|
50400
50398
|
for (const source of this.exportAllSources) {
|
|
50401
|
-
const
|
|
50402
|
-
if (
|
|
50403
|
-
externalExportAllModules.push(
|
|
50399
|
+
const module3 = this.graph.modulesById.get(this.resolvedIds[source].id);
|
|
50400
|
+
if (module3 instanceof ExternalModule) {
|
|
50401
|
+
externalExportAllModules.push(module3);
|
|
50404
50402
|
continue;
|
|
50405
50403
|
}
|
|
50406
|
-
this.exportAllModules.push(
|
|
50404
|
+
this.exportAllModules.push(module3);
|
|
50407
50405
|
}
|
|
50408
50406
|
this.exportAllModules.push(...externalExportAllModules);
|
|
50409
50407
|
}
|
|
@@ -50705,12 +50703,12 @@ var require_rollup = __commonJS({
|
|
|
50705
50703
|
let foundSyntheticDeclaration = null;
|
|
50706
50704
|
const foundInternalDeclarations = /* @__PURE__ */ new Map();
|
|
50707
50705
|
const foundExternalDeclarations = /* @__PURE__ */ new Set();
|
|
50708
|
-
for (const
|
|
50709
|
-
if (
|
|
50706
|
+
for (const module3 of this.exportAllModules) {
|
|
50707
|
+
if (module3.info.syntheticNamedExports === name) {
|
|
50710
50708
|
continue;
|
|
50711
50709
|
}
|
|
50712
50710
|
const [variable, indirectExternal] = getVariableForExportNameRecursive(
|
|
50713
|
-
|
|
50711
|
+
module3,
|
|
50714
50712
|
name,
|
|
50715
50713
|
importerForSideEffects,
|
|
50716
50714
|
true,
|
|
@@ -50718,14 +50716,14 @@ var require_rollup = __commonJS({
|
|
|
50718
50716
|
// imported through different namespace reexports gracefully
|
|
50719
50717
|
copyNameToModulesMap(searchedNamesAndModules)
|
|
50720
50718
|
);
|
|
50721
|
-
if (
|
|
50719
|
+
if (module3 instanceof ExternalModule || indirectExternal) {
|
|
50722
50720
|
foundExternalDeclarations.add(variable);
|
|
50723
50721
|
} else if (variable instanceof SyntheticNamedExportVariable) {
|
|
50724
50722
|
if (!foundSyntheticDeclaration) {
|
|
50725
50723
|
foundSyntheticDeclaration = variable;
|
|
50726
50724
|
}
|
|
50727
50725
|
} else if (variable) {
|
|
50728
|
-
foundInternalDeclarations.set(variable,
|
|
50726
|
+
foundInternalDeclarations.set(variable, module3);
|
|
50729
50727
|
}
|
|
50730
50728
|
}
|
|
50731
50729
|
if (foundInternalDeclarations.size > 0) {
|
|
@@ -50734,7 +50732,7 @@ var require_rollup = __commonJS({
|
|
|
50734
50732
|
if (foundDeclarationList.length === 1) {
|
|
50735
50733
|
return [usedDeclaration];
|
|
50736
50734
|
}
|
|
50737
|
-
this.options.onLog(parseAst_js.LOGLEVEL_WARN, parseAst_js.logNamespaceConflict(name, this.id, foundDeclarationList.map(([,
|
|
50735
|
+
this.options.onLog(parseAst_js.LOGLEVEL_WARN, parseAst_js.logNamespaceConflict(name, this.id, foundDeclarationList.map(([, module3]) => module3.id)));
|
|
50738
50736
|
return [null];
|
|
50739
50737
|
}
|
|
50740
50738
|
if (foundExternalDeclarations.size > 0) {
|
|
@@ -50753,14 +50751,14 @@ var require_rollup = __commonJS({
|
|
|
50753
50751
|
includeAndGetAdditionalMergedNamespaces() {
|
|
50754
50752
|
const externalNamespaces = /* @__PURE__ */ new Set();
|
|
50755
50753
|
const syntheticNamespaces = /* @__PURE__ */ new Set();
|
|
50756
|
-
for (const
|
|
50757
|
-
if (
|
|
50758
|
-
const [externalVariable] =
|
|
50754
|
+
for (const module3 of [this, ...this.exportAllModules]) {
|
|
50755
|
+
if (module3 instanceof ExternalModule) {
|
|
50756
|
+
const [externalVariable] = module3.getVariableForExportName("*");
|
|
50759
50757
|
externalVariable.include();
|
|
50760
50758
|
this.includedImports.add(externalVariable);
|
|
50761
50759
|
externalNamespaces.add(externalVariable);
|
|
50762
|
-
} else if (
|
|
50763
|
-
const syntheticNamespace =
|
|
50760
|
+
} else if (module3.info.syntheticNamedExports) {
|
|
50761
|
+
const syntheticNamespace = module3.getSyntheticNamespace();
|
|
50764
50762
|
syntheticNamespace.include();
|
|
50765
50763
|
this.includedImports.add(syntheticNamespace);
|
|
50766
50764
|
syntheticNamespaces.add(syntheticNamespace);
|
|
@@ -50795,9 +50793,9 @@ var require_rollup = __commonJS({
|
|
|
50795
50793
|
}
|
|
50796
50794
|
if (variableModule !== this) {
|
|
50797
50795
|
const sideEffectModules = getAndExtendSideEffectModules(variable, this);
|
|
50798
|
-
for (const
|
|
50799
|
-
if (!
|
|
50800
|
-
markModuleAndImpureDependenciesAsExecuted(
|
|
50796
|
+
for (const module3 of sideEffectModules) {
|
|
50797
|
+
if (!module3.isExecuted) {
|
|
50798
|
+
markModuleAndImpureDependenciesAsExecuted(module3);
|
|
50801
50799
|
}
|
|
50802
50800
|
}
|
|
50803
50801
|
}
|
|
@@ -51456,7 +51454,7 @@ var require_rollup = __commonJS({
|
|
|
51456
51454
|
const amdDeps = dependencies.map((m) => `'${updateExtensionForRelativeAmdId(m.importPath, amd2.forceJsExtensionForImports)}'`);
|
|
51457
51455
|
const cjsDeps = dependencies.map((m) => `require('${m.importPath}')`);
|
|
51458
51456
|
const trimmedImports = trimEmptyImports(dependencies);
|
|
51459
|
-
const globalDeps = trimmedImports.map((
|
|
51457
|
+
const globalDeps = trimmedImports.map((module3) => globalProperty(module3.globalName, globalVariable, getPropertyAccess));
|
|
51460
51458
|
const factoryParameters = trimmedImports.map((m) => m.name);
|
|
51461
51459
|
if (namedExportsMode && (hasExports || noConflict)) {
|
|
51462
51460
|
amdDeps.unshift(`'exports'`);
|
|
@@ -51476,8 +51474,8 @@ var require_rollup = __commonJS({
|
|
|
51476
51474
|
if (!namedExportsMode && hasExports) {
|
|
51477
51475
|
factory = `${cnst} ${noConflictExportsVariable}${_}=${_}${assignToDeepVariable(name, globalVariable, globals, `${factoryVariable}(${globalDeps.join(`,${_}`)})`, snippets)};`;
|
|
51478
51476
|
} else {
|
|
51479
|
-
const
|
|
51480
|
-
factory = `${cnst} ${noConflictExportsVariable}${_}=${_}${
|
|
51477
|
+
const module3 = globalDeps.shift();
|
|
51478
|
+
factory = `${cnst} ${noConflictExportsVariable}${_}=${_}${module3};${n2}${t}${t}${factoryVariable}(${[noConflictExportsVariable, ...globalDeps].join(`,${_}`)});`;
|
|
51481
51479
|
}
|
|
51482
51480
|
iifeExport = `(${getFunctionIntro([], { isAsync: false, name: null })}{${n2}${t}${t}${cnst} current${_}=${_}${safeAccess(name, globalVariable, snippets)};${n2}${t}${t}${factory}${n2}${t}${t}${noConflictExportsVariable}.noConflict${_}=${_}${getFunctionIntro([], {
|
|
51483
51481
|
isAsync: false,
|
|
@@ -51550,13 +51548,13 @@ ${outro}`;
|
|
|
51550
51548
|
};
|
|
51551
51549
|
function deconflictChunk(modules, dependenciesToBeDeconflicted, imports, usedNames, format, interop, preserveModules, externalLiveBindings, chunkByModule, externalChunkByModule, syntheticExports, exportNamesByVariable, accessedGlobalsByScope, includedNamespaces) {
|
|
51552
51550
|
const reversedModules = [...modules].reverse();
|
|
51553
|
-
for (const
|
|
51554
|
-
|
|
51551
|
+
for (const module3 of reversedModules) {
|
|
51552
|
+
module3.scope.addUsedOutsideNames(usedNames, format, exportNamesByVariable, accessedGlobalsByScope);
|
|
51555
51553
|
}
|
|
51556
51554
|
deconflictTopLevelVariables(usedNames, reversedModules, includedNamespaces);
|
|
51557
51555
|
DECONFLICT_IMPORTED_VARIABLES_BY_FORMAT[format](usedNames, imports, dependenciesToBeDeconflicted, interop, preserveModules, externalLiveBindings, chunkByModule, externalChunkByModule, syntheticExports);
|
|
51558
|
-
for (const
|
|
51559
|
-
|
|
51556
|
+
for (const module3 of reversedModules) {
|
|
51557
|
+
module3.scope.deconflict(format, exportNamesByVariable, accessedGlobalsByScope);
|
|
51560
51558
|
}
|
|
51561
51559
|
}
|
|
51562
51560
|
function deconflictImportsEsmOrSystem(usedNames, imports, dependenciesToBeDeconflicted, _interop, preserveModules, _externalLiveBindings, chunkByModule, externalChunkByModule, syntheticExports) {
|
|
@@ -51566,12 +51564,12 @@ ${outro}`;
|
|
|
51566
51564
|
}
|
|
51567
51565
|
}
|
|
51568
51566
|
for (const variable of imports) {
|
|
51569
|
-
const
|
|
51567
|
+
const module3 = variable.module;
|
|
51570
51568
|
const name = variable.name;
|
|
51571
|
-
if (variable.isNamespace && (preserveModules ||
|
|
51572
|
-
variable.setRenderNames(null, (
|
|
51573
|
-
} else if (
|
|
51574
|
-
variable.setRenderNames(null, getSafeName([...
|
|
51569
|
+
if (variable.isNamespace && (preserveModules || module3 instanceof ExternalModule)) {
|
|
51570
|
+
variable.setRenderNames(null, (module3 instanceof ExternalModule ? externalChunkByModule.get(module3) : chunkByModule.get(module3)).variableName);
|
|
51571
|
+
} else if (module3 instanceof ExternalModule && name === "default") {
|
|
51572
|
+
variable.setRenderNames(null, getSafeName([...module3.exportedVariables].some(([exportedVariable, exportedName]) => exportedName === "*" && exportedVariable.included) ? module3.suggestedVariableName + "__default" : module3.suggestedVariableName, usedNames, variable.forbiddenNames));
|
|
51575
51573
|
} else {
|
|
51576
51574
|
variable.setRenderNames(null, getSafeName(name, usedNames, variable.forbiddenNames));
|
|
51577
51575
|
}
|
|
@@ -51591,12 +51589,12 @@ ${outro}`;
|
|
|
51591
51589
|
externalModule.defaultVariableName = deconflictedNamespace.has(externalModule) && canDefaultBeTakenFromNamespace(interop(externalModule.id), externalLiveBindings) ? externalModule.namespaceVariableName : getSafeName(`${externalModule.suggestedVariableName}__default`, usedNames, null);
|
|
51592
51590
|
}
|
|
51593
51591
|
for (const variable of imports) {
|
|
51594
|
-
const
|
|
51595
|
-
if (
|
|
51596
|
-
const chunk = externalChunkByModule.get(
|
|
51592
|
+
const module3 = variable.module;
|
|
51593
|
+
if (module3 instanceof ExternalModule) {
|
|
51594
|
+
const chunk = externalChunkByModule.get(module3);
|
|
51597
51595
|
const name = variable.name;
|
|
51598
51596
|
if (name === "default") {
|
|
51599
|
-
const moduleInterop = interop(
|
|
51597
|
+
const moduleInterop = interop(module3.id);
|
|
51600
51598
|
const variableName = defaultInteropHelpersByInteropType[moduleInterop] ? chunk.defaultVariableName : chunk.variableName;
|
|
51601
51599
|
if (isDefaultAProperty(moduleInterop, externalLiveBindings)) {
|
|
51602
51600
|
variable.setRenderNames(variableName, "default");
|
|
@@ -51604,12 +51602,12 @@ ${outro}`;
|
|
|
51604
51602
|
variable.setRenderNames(null, variableName);
|
|
51605
51603
|
}
|
|
51606
51604
|
} else if (name === "*") {
|
|
51607
|
-
variable.setRenderNames(null, namespaceInteropHelpersByInteropType[interop(
|
|
51605
|
+
variable.setRenderNames(null, namespaceInteropHelpersByInteropType[interop(module3.id)] ? chunk.namespaceVariableName : chunk.variableName);
|
|
51608
51606
|
} else {
|
|
51609
51607
|
variable.setRenderNames(chunk.variableName, null);
|
|
51610
51608
|
}
|
|
51611
51609
|
} else {
|
|
51612
|
-
const chunk = chunkByModule.get(
|
|
51610
|
+
const chunk = chunkByModule.get(module3);
|
|
51613
51611
|
if (preserveModules && variable.isNamespace) {
|
|
51614
51612
|
variable.setRenderNames(null, chunk.exportMode === "default" ? chunk.namespaceVariableName : chunk.variableName);
|
|
51615
51613
|
} else if (chunk.exportMode === "default") {
|
|
@@ -51621,15 +51619,15 @@ ${outro}`;
|
|
|
51621
51619
|
}
|
|
51622
51620
|
}
|
|
51623
51621
|
function deconflictTopLevelVariables(usedNames, modules, includedNamespaces) {
|
|
51624
|
-
for (const
|
|
51625
|
-
for (const variable of
|
|
51622
|
+
for (const module3 of modules) {
|
|
51623
|
+
for (const variable of module3.scope.variables.values()) {
|
|
51626
51624
|
if (variable.included && // this will only happen for exports in some formats
|
|
51627
51625
|
!(variable.renderBaseName || variable instanceof ExportDefaultVariable && variable.getOriginalVariable() !== variable)) {
|
|
51628
51626
|
variable.setRenderNames(null, getSafeName(variable.name, usedNames, variable.forbiddenNames));
|
|
51629
51627
|
}
|
|
51630
51628
|
}
|
|
51631
|
-
if (includedNamespaces.has(
|
|
51632
|
-
const namespace =
|
|
51629
|
+
if (includedNamespaces.has(module3)) {
|
|
51630
|
+
const namespace = module3.namespace;
|
|
51633
51631
|
namespace.setRenderNames(null, getSafeName(namespace.name, usedNames, namespace.forbiddenNames));
|
|
51634
51632
|
}
|
|
51635
51633
|
}
|
|
@@ -51704,8 +51702,8 @@ ${outro}`;
|
|
|
51704
51702
|
function getIndentString(modules, options) {
|
|
51705
51703
|
if (options.indent !== true)
|
|
51706
51704
|
return options.indent;
|
|
51707
|
-
for (const
|
|
51708
|
-
const indent = guessIndentString(
|
|
51705
|
+
for (const module3 of modules) {
|
|
51706
|
+
const indent = guessIndentString(module3.originalCode);
|
|
51709
51707
|
if (indent !== null)
|
|
51710
51708
|
return indent;
|
|
51711
51709
|
}
|
|
@@ -51715,10 +51713,10 @@ ${outro}`;
|
|
|
51715
51713
|
const staticDependencyBlocks = [];
|
|
51716
51714
|
const handledDependencies = /* @__PURE__ */ new Set();
|
|
51717
51715
|
for (let modulePos = orderedModules.length - 1; modulePos >= 0; modulePos--) {
|
|
51718
|
-
const
|
|
51719
|
-
if (!handledDependencies.has(
|
|
51716
|
+
const module3 = orderedModules[modulePos];
|
|
51717
|
+
if (!handledDependencies.has(module3)) {
|
|
51720
51718
|
const staticDependencies = [];
|
|
51721
|
-
addStaticDependencies(
|
|
51719
|
+
addStaticDependencies(module3, staticDependencies, handledDependencies, chunk, chunkByModule, externalChunkByModule);
|
|
51722
51720
|
staticDependencyBlocks.unshift(staticDependencies);
|
|
51723
51721
|
}
|
|
51724
51722
|
}
|
|
@@ -51730,8 +51728,8 @@ ${outro}`;
|
|
|
51730
51728
|
}
|
|
51731
51729
|
return dependencies;
|
|
51732
51730
|
}
|
|
51733
|
-
function addStaticDependencies(
|
|
51734
|
-
const dependencies =
|
|
51731
|
+
function addStaticDependencies(module3, staticDependencies, handledModules, chunk, chunkByModule, externalChunkByModule) {
|
|
51732
|
+
const dependencies = module3.getDependenciesToBeIncluded();
|
|
51735
51733
|
for (const dependency of dependencies) {
|
|
51736
51734
|
if (dependency instanceof ExternalModule) {
|
|
51737
51735
|
staticDependencies.push(externalChunkByModule.get(dependency));
|
|
@@ -51816,28 +51814,28 @@ ${outro}`;
|
|
|
51816
51814
|
this.strictFacade = false;
|
|
51817
51815
|
this.execIndex = orderedModules.length > 0 ? orderedModules[0].execIndex : Infinity;
|
|
51818
51816
|
const chunkModules = new Set(orderedModules);
|
|
51819
|
-
for (const
|
|
51820
|
-
chunkByModule.set(
|
|
51821
|
-
if (
|
|
51822
|
-
includedNamespaces.add(
|
|
51817
|
+
for (const module3 of orderedModules) {
|
|
51818
|
+
chunkByModule.set(module3, this);
|
|
51819
|
+
if (module3.namespace.included && !outputOptions.preserveModules) {
|
|
51820
|
+
includedNamespaces.add(module3);
|
|
51823
51821
|
}
|
|
51824
|
-
if (this.isEmpty &&
|
|
51822
|
+
if (this.isEmpty && module3.isIncluded()) {
|
|
51825
51823
|
this.isEmpty = false;
|
|
51826
51824
|
}
|
|
51827
|
-
if (
|
|
51828
|
-
this.entryModules.push(
|
|
51825
|
+
if (module3.info.isEntry || outputOptions.preserveModules) {
|
|
51826
|
+
this.entryModules.push(module3);
|
|
51829
51827
|
}
|
|
51830
|
-
for (const importer of
|
|
51828
|
+
for (const importer of module3.includedDynamicImporters) {
|
|
51831
51829
|
if (!chunkModules.has(importer)) {
|
|
51832
|
-
this.dynamicEntryModules.push(
|
|
51833
|
-
if (
|
|
51834
|
-
includedNamespaces.add(
|
|
51835
|
-
this.exports.add(
|
|
51830
|
+
this.dynamicEntryModules.push(module3);
|
|
51831
|
+
if (module3.info.syntheticNamedExports) {
|
|
51832
|
+
includedNamespaces.add(module3);
|
|
51833
|
+
this.exports.add(module3.namespace);
|
|
51836
51834
|
}
|
|
51837
51835
|
}
|
|
51838
51836
|
}
|
|
51839
|
-
if (
|
|
51840
|
-
this.implicitEntryModules.push(
|
|
51837
|
+
if (module3.implicitlyLoadedAfter.size > 0) {
|
|
51838
|
+
this.implicitEntryModules.push(module3);
|
|
51841
51839
|
}
|
|
51842
51840
|
}
|
|
51843
51841
|
this.suggestedVariableName = makeLegal(this.generateVariableName());
|
|
@@ -51859,15 +51857,15 @@ ${outro}`;
|
|
|
51859
51857
|
chunk.strictFacade = true;
|
|
51860
51858
|
return chunk;
|
|
51861
51859
|
}
|
|
51862
|
-
canModuleBeFacade(
|
|
51863
|
-
const moduleExportNamesByVariable =
|
|
51860
|
+
canModuleBeFacade(module3, exposedVariables) {
|
|
51861
|
+
const moduleExportNamesByVariable = module3.getExportNamesByVariable();
|
|
51864
51862
|
for (const exposedVariable of this.exports) {
|
|
51865
51863
|
if (!moduleExportNamesByVariable.has(exposedVariable)) {
|
|
51866
51864
|
return false;
|
|
51867
51865
|
}
|
|
51868
51866
|
}
|
|
51869
51867
|
for (const exposedVariable of exposedVariables) {
|
|
51870
|
-
if (!(exposedVariable.module ===
|
|
51868
|
+
if (!(exposedVariable.module === module3 || moduleExportNamesByVariable.has(exposedVariable) || exposedVariable instanceof SyntheticNamedExportVariable && moduleExportNamesByVariable.has(exposedVariable.getBaseVariable()))) {
|
|
51871
51869
|
return false;
|
|
51872
51870
|
}
|
|
51873
51871
|
}
|
|
@@ -51920,58 +51918,58 @@ ${outro}`;
|
|
|
51920
51918
|
const facades = [];
|
|
51921
51919
|
const entryModules = /* @__PURE__ */ new Set([...this.entryModules, ...this.implicitEntryModules]);
|
|
51922
51920
|
const exposedVariables = new Set(this.dynamicEntryModules.map(({ namespace }) => namespace));
|
|
51923
|
-
for (const
|
|
51924
|
-
if (
|
|
51925
|
-
for (const exportedVariable of
|
|
51921
|
+
for (const module3 of entryModules) {
|
|
51922
|
+
if (module3.preserveSignature) {
|
|
51923
|
+
for (const exportedVariable of module3.getExportNamesByVariable().keys()) {
|
|
51926
51924
|
if (this.chunkByModule.get(exportedVariable.module) === this) {
|
|
51927
51925
|
exposedVariables.add(exportedVariable);
|
|
51928
51926
|
}
|
|
51929
51927
|
}
|
|
51930
51928
|
}
|
|
51931
51929
|
}
|
|
51932
|
-
for (const
|
|
51930
|
+
for (const module3 of entryModules) {
|
|
51933
51931
|
const requiredFacades = Array.from(
|
|
51934
|
-
new Set(
|
|
51932
|
+
new Set(module3.chunkNames.filter(({ isUserDefined }) => isUserDefined).map(({ name }) => name)),
|
|
51935
51933
|
// mapping must run after Set 'name' dedupe
|
|
51936
51934
|
(name) => ({
|
|
51937
51935
|
name
|
|
51938
51936
|
})
|
|
51939
51937
|
);
|
|
51940
|
-
if (requiredFacades.length === 0 &&
|
|
51938
|
+
if (requiredFacades.length === 0 && module3.isUserDefinedEntryPoint) {
|
|
51941
51939
|
requiredFacades.push({});
|
|
51942
51940
|
}
|
|
51943
|
-
requiredFacades.push(...Array.from(
|
|
51941
|
+
requiredFacades.push(...Array.from(module3.chunkFileNames, (fileName) => ({ fileName })));
|
|
51944
51942
|
if (requiredFacades.length === 0) {
|
|
51945
51943
|
requiredFacades.push({});
|
|
51946
51944
|
}
|
|
51947
51945
|
if (!this.facadeModule) {
|
|
51948
|
-
const needsStrictFacade = !this.outputOptions.preserveModules && (
|
|
51949
|
-
if (!needsStrictFacade || this.canModuleBeFacade(
|
|
51950
|
-
this.facadeModule =
|
|
51951
|
-
this.facadeChunkByModule.set(
|
|
51952
|
-
if (
|
|
51946
|
+
const needsStrictFacade = !this.outputOptions.preserveModules && (module3.preserveSignature === "strict" || module3.preserveSignature === "exports-only" && module3.getExportNamesByVariable().size > 0);
|
|
51947
|
+
if (!needsStrictFacade || this.canModuleBeFacade(module3, exposedVariables)) {
|
|
51948
|
+
this.facadeModule = module3;
|
|
51949
|
+
this.facadeChunkByModule.set(module3, this);
|
|
51950
|
+
if (module3.preserveSignature) {
|
|
51953
51951
|
this.strictFacade = needsStrictFacade;
|
|
51954
51952
|
}
|
|
51955
|
-
this.assignFacadeName(requiredFacades.shift(),
|
|
51953
|
+
this.assignFacadeName(requiredFacades.shift(), module3, this.outputOptions.preserveModules);
|
|
51956
51954
|
}
|
|
51957
51955
|
}
|
|
51958
51956
|
for (const facadeName of requiredFacades) {
|
|
51959
|
-
facades.push(_Chunk.generateFacade(this.inputOptions, this.outputOptions, this.unsetOptions, this.pluginDriver, this.modulesById, this.chunkByModule, this.externalChunkByModule, this.facadeChunkByModule, this.includedNamespaces,
|
|
51957
|
+
facades.push(_Chunk.generateFacade(this.inputOptions, this.outputOptions, this.unsetOptions, this.pluginDriver, this.modulesById, this.chunkByModule, this.externalChunkByModule, this.facadeChunkByModule, this.includedNamespaces, module3, facadeName, this.getPlaceholder, this.bundle, this.inputBase, this.snippets));
|
|
51960
51958
|
}
|
|
51961
51959
|
}
|
|
51962
|
-
for (const
|
|
51963
|
-
if (
|
|
51960
|
+
for (const module3 of this.dynamicEntryModules) {
|
|
51961
|
+
if (module3.info.syntheticNamedExports)
|
|
51964
51962
|
continue;
|
|
51965
|
-
if (!this.facadeModule && this.canModuleBeFacade(
|
|
51966
|
-
this.facadeModule =
|
|
51967
|
-
this.facadeChunkByModule.set(
|
|
51963
|
+
if (!this.facadeModule && this.canModuleBeFacade(module3, exposedVariables)) {
|
|
51964
|
+
this.facadeModule = module3;
|
|
51965
|
+
this.facadeChunkByModule.set(module3, this);
|
|
51968
51966
|
this.strictFacade = true;
|
|
51969
|
-
this.dynamicName = getChunkNameFromModule(
|
|
51970
|
-
} else if (this.facadeModule ===
|
|
51967
|
+
this.dynamicName = getChunkNameFromModule(module3);
|
|
51968
|
+
} else if (this.facadeModule === module3 && !this.strictFacade && this.canModuleBeFacade(module3, exposedVariables)) {
|
|
51971
51969
|
this.strictFacade = true;
|
|
51972
|
-
} else if (!this.facadeChunkByModule.get(
|
|
51973
|
-
this.includedNamespaces.add(
|
|
51974
|
-
this.exports.add(
|
|
51970
|
+
} else if (!this.facadeChunkByModule.get(module3)?.strictFacade) {
|
|
51971
|
+
this.includedNamespaces.add(module3);
|
|
51972
|
+
this.exports.add(module3.namespace);
|
|
51975
51973
|
}
|
|
51976
51974
|
}
|
|
51977
51975
|
if (!this.outputOptions.preserveModules) {
|
|
@@ -52066,9 +52064,9 @@ ${outro}`;
|
|
|
52066
52064
|
}
|
|
52067
52065
|
link() {
|
|
52068
52066
|
this.dependencies = getStaticDependencies(this, this.orderedModules, this.chunkByModule, this.externalChunkByModule);
|
|
52069
|
-
for (const
|
|
52070
|
-
this.addImplicitlyLoadedBeforeFromModule(
|
|
52071
|
-
this.setUpChunkImportsAndExportsForModule(
|
|
52067
|
+
for (const module3 of this.orderedModules) {
|
|
52068
|
+
this.addImplicitlyLoadedBeforeFromModule(module3);
|
|
52069
|
+
this.setUpChunkImportsAndExportsForModule(module3);
|
|
52072
52070
|
}
|
|
52073
52071
|
}
|
|
52074
52072
|
async render() {
|
|
@@ -52147,16 +52145,16 @@ ${outro}`;
|
|
|
52147
52145
|
}
|
|
52148
52146
|
addImplicitlyLoadedBeforeFromModule(baseModule) {
|
|
52149
52147
|
const { chunkByModule, implicitlyLoadedBefore } = this;
|
|
52150
|
-
for (const
|
|
52151
|
-
const chunk = chunkByModule.get(
|
|
52148
|
+
for (const module3 of baseModule.implicitlyLoadedBefore) {
|
|
52149
|
+
const chunk = chunkByModule.get(module3);
|
|
52152
52150
|
if (chunk && chunk !== this) {
|
|
52153
52151
|
implicitlyLoadedBefore.add(chunk);
|
|
52154
52152
|
}
|
|
52155
52153
|
}
|
|
52156
52154
|
}
|
|
52157
52155
|
addNecessaryImportsForFacades() {
|
|
52158
|
-
for (const [
|
|
52159
|
-
if (this.includedNamespaces.has(
|
|
52156
|
+
for (const [module3, variables] of this.includedReexportsByModule) {
|
|
52157
|
+
if (this.includedNamespaces.has(module3)) {
|
|
52160
52158
|
for (const variable of variables) {
|
|
52161
52159
|
this.imports.add(variable);
|
|
52162
52160
|
}
|
|
@@ -52194,13 +52192,13 @@ ${outro}`;
|
|
|
52194
52192
|
} while (alternativeReexportModule);
|
|
52195
52193
|
}
|
|
52196
52194
|
}
|
|
52197
|
-
ensureReexportsAreAvailableForModule(
|
|
52195
|
+
ensureReexportsAreAvailableForModule(module3) {
|
|
52198
52196
|
const includedReexports = [];
|
|
52199
|
-
const map =
|
|
52197
|
+
const map = module3.getExportNamesByVariable();
|
|
52200
52198
|
for (const exportedVariable of map.keys()) {
|
|
52201
52199
|
const isSynthetic = exportedVariable instanceof SyntheticNamedExportVariable;
|
|
52202
52200
|
const importedVariable = isSynthetic ? exportedVariable.getBaseVariable() : exportedVariable;
|
|
52203
|
-
this.checkCircularDependencyImport(importedVariable,
|
|
52201
|
+
this.checkCircularDependencyImport(importedVariable, module3);
|
|
52204
52202
|
if (!(importedVariable instanceof NamespaceVariable && this.outputOptions.preserveModules)) {
|
|
52205
52203
|
const exportingModule = importedVariable.module;
|
|
52206
52204
|
if (exportingModule instanceof Module) {
|
|
@@ -52216,7 +52214,7 @@ ${outro}`;
|
|
|
52216
52214
|
}
|
|
52217
52215
|
}
|
|
52218
52216
|
if (includedReexports.length > 0) {
|
|
52219
|
-
this.includedReexportsByModule.set(
|
|
52217
|
+
this.includedReexportsByModule.set(module3, includedReexports);
|
|
52220
52218
|
}
|
|
52221
52219
|
}
|
|
52222
52220
|
generateVariableName() {
|
|
@@ -52236,9 +52234,9 @@ ${outro}`;
|
|
|
52236
52234
|
continue;
|
|
52237
52235
|
const variable = this.exportsByName.get(exportName);
|
|
52238
52236
|
if (!(variable instanceof SyntheticNamedExportVariable)) {
|
|
52239
|
-
const
|
|
52240
|
-
if (
|
|
52241
|
-
const chunk = this.chunkByModule.get(
|
|
52237
|
+
const module3 = variable.module;
|
|
52238
|
+
if (module3) {
|
|
52239
|
+
const chunk = this.chunkByModule.get(module3);
|
|
52242
52240
|
if (chunk !== this) {
|
|
52243
52241
|
if (!chunk || format !== "es") {
|
|
52244
52242
|
continue;
|
|
@@ -52287,21 +52285,21 @@ ${outro}`;
|
|
|
52287
52285
|
const deconflictedNamespace = /* @__PURE__ */ new Set();
|
|
52288
52286
|
for (const variable of [...this.exportNamesByVariable.keys(), ...this.imports]) {
|
|
52289
52287
|
if (addNonNamespacesAndInteropHelpers || variable.isNamespace) {
|
|
52290
|
-
const
|
|
52291
|
-
if (
|
|
52292
|
-
const chunk = this.externalChunkByModule.get(
|
|
52288
|
+
const module3 = variable.module;
|
|
52289
|
+
if (module3 instanceof ExternalModule) {
|
|
52290
|
+
const chunk = this.externalChunkByModule.get(module3);
|
|
52293
52291
|
dependencies.add(chunk);
|
|
52294
52292
|
if (addNonNamespacesAndInteropHelpers) {
|
|
52295
52293
|
if (variable.name === "default") {
|
|
52296
|
-
if (defaultInteropHelpersByInteropType[interop(
|
|
52294
|
+
if (defaultInteropHelpersByInteropType[interop(module3.id)]) {
|
|
52297
52295
|
deconflictedDefault.add(chunk);
|
|
52298
52296
|
}
|
|
52299
|
-
} else if (variable.name === "*" && namespaceInteropHelpersByInteropType[interop(
|
|
52297
|
+
} else if (variable.name === "*" && namespaceInteropHelpersByInteropType[interop(module3.id)]) {
|
|
52300
52298
|
deconflictedNamespace.add(chunk);
|
|
52301
52299
|
}
|
|
52302
52300
|
}
|
|
52303
52301
|
} else {
|
|
52304
|
-
const chunk = this.chunkByModule.get(
|
|
52302
|
+
const chunk = this.chunkByModule.get(module3);
|
|
52305
52303
|
if (chunk !== this) {
|
|
52306
52304
|
dependencies.add(chunk);
|
|
52307
52305
|
if (addNonNamespacesAndInteropHelpers && chunk.exportMode === "default" && variable.isNamespace) {
|
|
@@ -52347,17 +52345,17 @@ ${outro}`;
|
|
|
52347
52345
|
const { interop } = this.outputOptions;
|
|
52348
52346
|
const importsByDependency = /* @__PURE__ */ new Map();
|
|
52349
52347
|
for (const variable of this.imports) {
|
|
52350
|
-
const
|
|
52348
|
+
const module3 = variable.module;
|
|
52351
52349
|
let dependency;
|
|
52352
52350
|
let imported;
|
|
52353
|
-
if (
|
|
52354
|
-
dependency = this.externalChunkByModule.get(
|
|
52351
|
+
if (module3 instanceof ExternalModule) {
|
|
52352
|
+
dependency = this.externalChunkByModule.get(module3);
|
|
52355
52353
|
imported = variable.name;
|
|
52356
|
-
if (imported !== "default" && imported !== "*" && interop(
|
|
52357
|
-
return parseAst_js.error(parseAst_js.logUnexpectedNamedImport(
|
|
52354
|
+
if (imported !== "default" && imported !== "*" && interop(module3.id) === "defaultOnly") {
|
|
52355
|
+
return parseAst_js.error(parseAst_js.logUnexpectedNamedImport(module3.id, imported, false));
|
|
52358
52356
|
}
|
|
52359
52357
|
} else {
|
|
52360
|
-
dependency = this.chunkByModule.get(
|
|
52358
|
+
dependency = this.chunkByModule.get(module3);
|
|
52361
52359
|
imported = dependency.getVariableExportName(variable);
|
|
52362
52360
|
}
|
|
52363
52361
|
getOrCreate(importsByDependency, dependency, getNewArray).push({
|
|
@@ -52372,8 +52370,8 @@ ${outro}`;
|
|
|
52372
52370
|
return this.includedDynamicImports;
|
|
52373
52371
|
}
|
|
52374
52372
|
const includedDynamicImports = [];
|
|
52375
|
-
for (const
|
|
52376
|
-
for (const { node, resolution } of
|
|
52373
|
+
for (const module3 of this.orderedModules) {
|
|
52374
|
+
for (const { node, resolution } of module3.dynamicImports) {
|
|
52377
52375
|
if (!node.included) {
|
|
52378
52376
|
continue;
|
|
52379
52377
|
}
|
|
@@ -52410,12 +52408,12 @@ ${outro}`;
|
|
|
52410
52408
|
type: "chunk"
|
|
52411
52409
|
};
|
|
52412
52410
|
}
|
|
52413
|
-
getPreserveModulesChunkNameFromModule(
|
|
52414
|
-
const predefinedChunkName = getPredefinedChunkNameFromModule(
|
|
52411
|
+
getPreserveModulesChunkNameFromModule(module3) {
|
|
52412
|
+
const predefinedChunkName = getPredefinedChunkNameFromModule(module3);
|
|
52415
52413
|
if (predefinedChunkName)
|
|
52416
52414
|
return predefinedChunkName;
|
|
52417
52415
|
const { preserveModulesRoot, sanitizeFileName: sanitizeFileName2 } = this.outputOptions;
|
|
52418
|
-
const sanitizedId = sanitizeFileName2(parseAst_js.normalize(
|
|
52416
|
+
const sanitizedId = sanitizeFileName2(parseAst_js.normalize(module3.id.split(QUERY_HASH_REGEX, 1)[0]));
|
|
52419
52417
|
const extensionName = node_path.extname(sanitizedId);
|
|
52420
52418
|
const idWithoutExtension = NON_ASSET_EXTENSIONS.has(extensionName) ? sanitizedId.slice(0, -extensionName.length) : sanitizedId;
|
|
52421
52419
|
if (parseAst_js.isAbsolute(idWithoutExtension)) {
|
|
@@ -52443,20 +52441,20 @@ ${outro}`;
|
|
|
52443
52441
|
const variable = this.exportsByName.get(exportName);
|
|
52444
52442
|
if (variable instanceof SyntheticNamedExportVariable)
|
|
52445
52443
|
continue;
|
|
52446
|
-
const
|
|
52447
|
-
if (
|
|
52448
|
-
dependency = this.chunkByModule.get(
|
|
52444
|
+
const module3 = variable.module;
|
|
52445
|
+
if (module3 instanceof Module) {
|
|
52446
|
+
dependency = this.chunkByModule.get(module3);
|
|
52449
52447
|
if (dependency === this)
|
|
52450
52448
|
continue;
|
|
52451
52449
|
imported = dependency.getVariableExportName(variable);
|
|
52452
52450
|
needsLiveBinding = variable.isReassigned;
|
|
52453
52451
|
} else {
|
|
52454
|
-
dependency = this.externalChunkByModule.get(
|
|
52452
|
+
dependency = this.externalChunkByModule.get(module3);
|
|
52455
52453
|
imported = variable.name;
|
|
52456
|
-
if (imported !== "default" && imported !== "*" && interop(
|
|
52457
|
-
return parseAst_js.error(parseAst_js.logUnexpectedNamedImport(
|
|
52454
|
+
if (imported !== "default" && imported !== "*" && interop(module3.id) === "defaultOnly") {
|
|
52455
|
+
return parseAst_js.error(parseAst_js.logUnexpectedNamedImport(module3.id, imported, true));
|
|
52458
52456
|
}
|
|
52459
|
-
needsLiveBinding = externalLiveBindings && (imported !== "default" || isDefaultAProperty(interop(
|
|
52457
|
+
needsLiveBinding = externalLiveBindings && (imported !== "default" || isDefaultAProperty(interop(module3.id), true));
|
|
52460
52458
|
}
|
|
52461
52459
|
}
|
|
52462
52460
|
getOrCreate(reexportSpecifiers, dependency, getNewArray).push({
|
|
@@ -52469,8 +52467,8 @@ ${outro}`;
|
|
|
52469
52467
|
}
|
|
52470
52468
|
getReferencedFiles() {
|
|
52471
52469
|
const referencedFiles = /* @__PURE__ */ new Set();
|
|
52472
|
-
for (const
|
|
52473
|
-
for (const meta of
|
|
52470
|
+
for (const module3 of this.orderedModules) {
|
|
52471
|
+
for (const meta of module3.importMetas) {
|
|
52474
52472
|
const fileName = meta.getReferencedFileName(this.pluginDriver);
|
|
52475
52473
|
if (fileName) {
|
|
52476
52474
|
referencedFiles.add(fileName);
|
|
@@ -52543,13 +52541,13 @@ ${outro}`;
|
|
|
52543
52541
|
useOriginalName: null
|
|
52544
52542
|
};
|
|
52545
52543
|
let usesTopLevelAwait = false;
|
|
52546
|
-
for (const
|
|
52544
|
+
for (const module3 of orderedModules) {
|
|
52547
52545
|
let renderedLength = 0;
|
|
52548
52546
|
let source;
|
|
52549
|
-
if (
|
|
52550
|
-
const rendered =
|
|
52547
|
+
if (module3.isIncluded() || includedNamespaces.has(module3)) {
|
|
52548
|
+
const rendered = module3.render(renderOptions);
|
|
52551
52549
|
if (!renderOptions.accessedDocumentCurrentScript && formatsMaybeAccessDocumentCurrentScript.includes(format)) {
|
|
52552
|
-
this.accessedGlobalsByScope.get(
|
|
52550
|
+
this.accessedGlobalsByScope.get(module3.scope)?.delete(DOCUMENT_CURRENT_SCRIPT);
|
|
52553
52551
|
}
|
|
52554
52552
|
renderOptions.accessedDocumentCurrentScript = false;
|
|
52555
52553
|
({ source } = rendered);
|
|
@@ -52558,31 +52556,31 @@ ${outro}`;
|
|
|
52558
52556
|
if (renderedLength) {
|
|
52559
52557
|
if (compact && source.lastLine().includes("//"))
|
|
52560
52558
|
source.append("\n");
|
|
52561
|
-
renderedModuleSources.set(
|
|
52559
|
+
renderedModuleSources.set(module3, source);
|
|
52562
52560
|
magicString.addSource(source);
|
|
52563
|
-
usedModules.push(
|
|
52561
|
+
usedModules.push(module3);
|
|
52564
52562
|
}
|
|
52565
|
-
const namespace =
|
|
52566
|
-
if (includedNamespaces.has(
|
|
52563
|
+
const namespace = module3.namespace;
|
|
52564
|
+
if (includedNamespaces.has(module3)) {
|
|
52567
52565
|
const rendered2 = namespace.renderBlock(renderOptions);
|
|
52568
52566
|
if (namespace.renderFirst())
|
|
52569
52567
|
hoistedSource += n2 + rendered2;
|
|
52570
52568
|
else
|
|
52571
52569
|
magicString.addSource(new MagicString(rendered2));
|
|
52572
52570
|
}
|
|
52573
|
-
const accessedGlobalVariables = accessedGlobalsByScope.get(
|
|
52571
|
+
const accessedGlobalVariables = accessedGlobalsByScope.get(module3.scope);
|
|
52574
52572
|
if (accessedGlobalVariables) {
|
|
52575
52573
|
for (const name of accessedGlobalVariables) {
|
|
52576
52574
|
accessedGlobals.add(name);
|
|
52577
52575
|
}
|
|
52578
52576
|
}
|
|
52579
52577
|
}
|
|
52580
|
-
const { renderedExports, removedExports } =
|
|
52581
|
-
renderedModules[
|
|
52578
|
+
const { renderedExports, removedExports } = module3.getRenderedExports();
|
|
52579
|
+
renderedModules[module3.id] = {
|
|
52582
52580
|
get code() {
|
|
52583
52581
|
return source?.toString() ?? null;
|
|
52584
52582
|
},
|
|
52585
|
-
originalLength:
|
|
52583
|
+
originalLength: module3.originalCode.length,
|
|
52586
52584
|
removedExports,
|
|
52587
52585
|
renderedExports,
|
|
52588
52586
|
renderedLength
|
|
@@ -52629,8 +52627,8 @@ ${outro}`;
|
|
|
52629
52627
|
exportVariable.setRenderNames(null, null);
|
|
52630
52628
|
}
|
|
52631
52629
|
}
|
|
52632
|
-
for (const
|
|
52633
|
-
if (
|
|
52630
|
+
for (const module3 of this.orderedModules) {
|
|
52631
|
+
if (module3.needsExportShim) {
|
|
52634
52632
|
this.needsExportsShim = true;
|
|
52635
52633
|
break;
|
|
52636
52634
|
}
|
|
@@ -52664,19 +52662,19 @@ ${outro}`;
|
|
|
52664
52662
|
}
|
|
52665
52663
|
setImportMetaResolutions(fileName) {
|
|
52666
52664
|
const { accessedGlobalsByScope, includedNamespaces, orderedModules, outputOptions: { format } } = this;
|
|
52667
|
-
for (const
|
|
52668
|
-
for (const importMeta of
|
|
52665
|
+
for (const module3 of orderedModules) {
|
|
52666
|
+
for (const importMeta of module3.importMetas) {
|
|
52669
52667
|
importMeta.setResolution(format, accessedGlobalsByScope, fileName);
|
|
52670
52668
|
}
|
|
52671
|
-
if (includedNamespaces.has(
|
|
52672
|
-
|
|
52669
|
+
if (includedNamespaces.has(module3)) {
|
|
52670
|
+
module3.namespace.prepare(accessedGlobalsByScope);
|
|
52673
52671
|
}
|
|
52674
52672
|
}
|
|
52675
52673
|
}
|
|
52676
|
-
setUpChunkImportsAndExportsForModule(
|
|
52677
|
-
const moduleImports = new Set(
|
|
52678
|
-
if (!this.outputOptions.preserveModules && this.includedNamespaces.has(
|
|
52679
|
-
const memberVariables =
|
|
52674
|
+
setUpChunkImportsAndExportsForModule(module3) {
|
|
52675
|
+
const moduleImports = new Set(module3.includedImports);
|
|
52676
|
+
if (!this.outputOptions.preserveModules && this.includedNamespaces.has(module3)) {
|
|
52677
|
+
const memberVariables = module3.namespace.getMemberVariables();
|
|
52680
52678
|
for (const variable of Object.values(memberVariables)) {
|
|
52681
52679
|
if (variable.included) {
|
|
52682
52680
|
moduleImports.add(variable);
|
|
@@ -52694,17 +52692,17 @@ ${outro}`;
|
|
|
52694
52692
|
if (chunk !== this) {
|
|
52695
52693
|
this.imports.add(variable);
|
|
52696
52694
|
if (variable.module instanceof Module) {
|
|
52697
|
-
this.checkCircularDependencyImport(variable,
|
|
52695
|
+
this.checkCircularDependencyImport(variable, module3);
|
|
52698
52696
|
if (!(variable instanceof NamespaceVariable && this.outputOptions.preserveModules)) {
|
|
52699
52697
|
chunk.exports.add(variable);
|
|
52700
52698
|
}
|
|
52701
52699
|
}
|
|
52702
52700
|
}
|
|
52703
52701
|
}
|
|
52704
|
-
if (this.includedNamespaces.has(
|
|
52705
|
-
this.ensureReexportsAreAvailableForModule(
|
|
52702
|
+
if (this.includedNamespaces.has(module3) || module3.info.isEntry && module3.preserveSignature !== false || module3.includedDynamicImporters.some((importer) => this.chunkByModule.get(importer) !== this)) {
|
|
52703
|
+
this.ensureReexportsAreAvailableForModule(module3);
|
|
52706
52704
|
}
|
|
52707
|
-
for (const { node, resolution } of
|
|
52705
|
+
for (const { node, resolution } of module3.dynamicImports) {
|
|
52708
52706
|
if (node.included && resolution instanceof Module && this.chunkByModule.get(resolution) === this && !this.includedNamespaces.has(resolution)) {
|
|
52709
52707
|
this.includedNamespaces.add(resolution);
|
|
52710
52708
|
this.ensureReexportsAreAvailableForModule(resolution);
|
|
@@ -52712,11 +52710,11 @@ ${outro}`;
|
|
|
52712
52710
|
}
|
|
52713
52711
|
}
|
|
52714
52712
|
};
|
|
52715
|
-
function getChunkNameFromModule(
|
|
52716
|
-
return getPredefinedChunkNameFromModule(
|
|
52713
|
+
function getChunkNameFromModule(module3) {
|
|
52714
|
+
return getPredefinedChunkNameFromModule(module3) ?? parseAst_js.getAliasName(module3.id);
|
|
52717
52715
|
}
|
|
52718
|
-
function getPredefinedChunkNameFromModule(
|
|
52719
|
-
return
|
|
52716
|
+
function getPredefinedChunkNameFromModule(module3) {
|
|
52717
|
+
return module3.chunkNames.find(({ isUserDefined }) => isUserDefined)?.name ?? module3.chunkNames[0]?.name;
|
|
52720
52718
|
}
|
|
52721
52719
|
function getImportedBindingsPerDependency(renderedDependencies, resolveFileName2) {
|
|
52722
52720
|
const importedBindingsPerDependency = {};
|
|
@@ -52768,10 +52766,10 @@ ${outro}`;
|
|
|
52768
52766
|
}
|
|
52769
52767
|
function addStaticDependenciesToManualChunk(entry, manualChunkModules, modulesInManualChunks) {
|
|
52770
52768
|
const modulesToHandle = /* @__PURE__ */ new Set([entry]);
|
|
52771
|
-
for (const
|
|
52772
|
-
modulesInManualChunks.add(
|
|
52773
|
-
manualChunkModules.push(
|
|
52774
|
-
for (const dependency of
|
|
52769
|
+
for (const module3 of modulesToHandle) {
|
|
52770
|
+
modulesInManualChunks.add(module3);
|
|
52771
|
+
manualChunkModules.push(module3);
|
|
52772
|
+
for (const dependency of module3.dependencies) {
|
|
52775
52773
|
if (!(dependency instanceof ExternalModule || modulesInManualChunks.has(dependency))) {
|
|
52776
52774
|
modulesToHandle.add(dependency);
|
|
52777
52775
|
}
|
|
@@ -52788,21 +52786,21 @@ ${outro}`;
|
|
|
52788
52786
|
const dynamicImportsForCurrentEntry = /* @__PURE__ */ new Set();
|
|
52789
52787
|
dynamicImportModulesByEntry.push(dynamicImportsForCurrentEntry);
|
|
52790
52788
|
const modulesToHandle = /* @__PURE__ */ new Set([currentEntry]);
|
|
52791
|
-
for (const
|
|
52792
|
-
getOrCreate(dependentEntriesByModule,
|
|
52793
|
-
for (const dependency of
|
|
52789
|
+
for (const module3 of modulesToHandle) {
|
|
52790
|
+
getOrCreate(dependentEntriesByModule, module3, getNewSet).add(entryIndex);
|
|
52791
|
+
for (const dependency of module3.getDependenciesToBeIncluded()) {
|
|
52794
52792
|
if (!(dependency instanceof ExternalModule)) {
|
|
52795
52793
|
modulesToHandle.add(dependency);
|
|
52796
52794
|
}
|
|
52797
52795
|
}
|
|
52798
|
-
for (const { resolution } of
|
|
52796
|
+
for (const { resolution } of module3.dynamicImports) {
|
|
52799
52797
|
if (resolution instanceof Module && resolution.includedDynamicImporters.length > 0 && !allEntriesSet.has(resolution)) {
|
|
52800
52798
|
dynamicEntryModules.add(resolution);
|
|
52801
52799
|
allEntriesSet.add(resolution);
|
|
52802
52800
|
dynamicImportsForCurrentEntry.add(resolution);
|
|
52803
52801
|
}
|
|
52804
52802
|
}
|
|
52805
|
-
for (const dependency of
|
|
52803
|
+
for (const dependency of module3.implicitlyLoadedBefore) {
|
|
52806
52804
|
if (!allEntriesSet.has(dependency)) {
|
|
52807
52805
|
dynamicEntryModules.add(dependency);
|
|
52808
52806
|
allEntriesSet.add(dependency);
|
|
@@ -52870,9 +52868,9 @@ ${outro}`;
|
|
|
52870
52868
|
return Object.values(chunkModules);
|
|
52871
52869
|
}
|
|
52872
52870
|
function* getModulesWithDependentEntries(dependentEntriesByModule, modulesInManualChunks) {
|
|
52873
|
-
for (const [
|
|
52874
|
-
if (!modulesInManualChunks.has(
|
|
52875
|
-
yield { dependentEntries, modules: [
|
|
52871
|
+
for (const [module3, dependentEntries] of dependentEntriesByModule) {
|
|
52872
|
+
if (!modulesInManualChunks.has(module3)) {
|
|
52873
|
+
yield { dependentEntries, modules: [module3] };
|
|
52876
52874
|
}
|
|
52877
52875
|
}
|
|
52878
52876
|
}
|
|
@@ -52944,11 +52942,11 @@ ${outro}`;
|
|
|
52944
52942
|
};
|
|
52945
52943
|
let size = 0;
|
|
52946
52944
|
let pure = true;
|
|
52947
|
-
for (const
|
|
52948
|
-
chunkByModule.set(
|
|
52949
|
-
if (
|
|
52950
|
-
pure &&= !
|
|
52951
|
-
size += minChunkSize > 1 ?
|
|
52945
|
+
for (const module3 of modules) {
|
|
52946
|
+
chunkByModule.set(module3, chunkDescription);
|
|
52947
|
+
if (module3.isIncluded()) {
|
|
52948
|
+
pure &&= !module3.hasEffects();
|
|
52949
|
+
size += minChunkSize > 1 ? module3.estimateSize() : 1;
|
|
52952
52950
|
}
|
|
52953
52951
|
}
|
|
52954
52952
|
chunkDescription.pure = pure;
|
|
@@ -53020,8 +53018,8 @@ ${outro}`;
|
|
|
53020
53018
|
chunks.sort(compareChunkSize);
|
|
53021
53019
|
for (const chunk of chunks) {
|
|
53022
53020
|
const { dependencies, dependentEntries, modules } = chunk;
|
|
53023
|
-
for (const
|
|
53024
|
-
for (const dependency of
|
|
53021
|
+
for (const module3 of modules) {
|
|
53022
|
+
for (const dependency of module3.getDependenciesToBeIncluded()) {
|
|
53025
53023
|
if (dependency instanceof ExternalModule) {
|
|
53026
53024
|
if (dependency.info.moduleSideEffects) {
|
|
53027
53025
|
chunk.containedAtoms |= getOrCreate(signatureByExternalModule, dependency, () => {
|
|
@@ -53146,30 +53144,30 @@ ${outro}`;
|
|
|
53146
53144
|
const dynamicImports = /* @__PURE__ */ new Set();
|
|
53147
53145
|
const parents = /* @__PURE__ */ new Map();
|
|
53148
53146
|
const orderedModules = [];
|
|
53149
|
-
const analyseModule = (
|
|
53150
|
-
if (
|
|
53151
|
-
for (const dependency of
|
|
53147
|
+
const analyseModule = (module3) => {
|
|
53148
|
+
if (module3 instanceof Module) {
|
|
53149
|
+
for (const dependency of module3.dependencies) {
|
|
53152
53150
|
if (parents.has(dependency)) {
|
|
53153
53151
|
if (!analysedModules.has(dependency)) {
|
|
53154
|
-
cyclePaths.push(getCyclePath(dependency,
|
|
53152
|
+
cyclePaths.push(getCyclePath(dependency, module3, parents));
|
|
53155
53153
|
}
|
|
53156
53154
|
continue;
|
|
53157
53155
|
}
|
|
53158
|
-
parents.set(dependency,
|
|
53156
|
+
parents.set(dependency, module3);
|
|
53159
53157
|
analyseModule(dependency);
|
|
53160
53158
|
}
|
|
53161
|
-
for (const dependency of
|
|
53159
|
+
for (const dependency of module3.implicitlyLoadedBefore) {
|
|
53162
53160
|
dynamicImports.add(dependency);
|
|
53163
53161
|
}
|
|
53164
|
-
for (const { resolution } of
|
|
53162
|
+
for (const { resolution } of module3.dynamicImports) {
|
|
53165
53163
|
if (resolution instanceof Module) {
|
|
53166
53164
|
dynamicImports.add(resolution);
|
|
53167
53165
|
}
|
|
53168
53166
|
}
|
|
53169
|
-
orderedModules.push(
|
|
53167
|
+
orderedModules.push(module3);
|
|
53170
53168
|
}
|
|
53171
|
-
|
|
53172
|
-
analysedModules.add(
|
|
53169
|
+
module3.execIndex = nextExecIndex++;
|
|
53170
|
+
analysedModules.add(module3);
|
|
53173
53171
|
};
|
|
53174
53172
|
for (const currentEntry of entryModules) {
|
|
53175
53173
|
if (!parents.has(currentEntry)) {
|
|
@@ -53185,12 +53183,12 @@ ${outro}`;
|
|
|
53185
53183
|
}
|
|
53186
53184
|
return { cyclePaths, orderedModules };
|
|
53187
53185
|
}
|
|
53188
|
-
function getCyclePath(
|
|
53189
|
-
const cycleSymbol = Symbol(
|
|
53190
|
-
const path3 = [
|
|
53186
|
+
function getCyclePath(module3, parent, parents) {
|
|
53187
|
+
const cycleSymbol = Symbol(module3.id);
|
|
53188
|
+
const path3 = [module3.id];
|
|
53191
53189
|
let nextModule = parent;
|
|
53192
|
-
|
|
53193
|
-
while (nextModule !==
|
|
53190
|
+
module3.cycles.add(cycleSymbol);
|
|
53191
|
+
while (nextModule !== module3) {
|
|
53194
53192
|
nextModule.cycles.add(cycleSymbol);
|
|
53195
53193
|
path3.push(nextModule.id);
|
|
53196
53194
|
nextModule = parents.get(nextModule);
|
|
@@ -53362,7 +53360,7 @@ ${outro}`;
|
|
|
53362
53360
|
}
|
|
53363
53361
|
function collapseSourcemaps(file, map, modules, bundleSourcemapChain, excludeContent, log) {
|
|
53364
53362
|
const linkMap = getLinkMap(log);
|
|
53365
|
-
const moduleSources = modules.filter((
|
|
53363
|
+
const moduleSources = modules.filter((module3) => !module3.excludeFromSourcemap).map((module3) => getCollapsedSourcemap(module3.id, module3.originalCode, module3.originalSourcemap, module3.sourcemapChain, linkMap));
|
|
53366
53364
|
const link = new Link(map, moduleSources);
|
|
53367
53365
|
const source = bundleSourcemapChain.reduce(linkMap, link);
|
|
53368
53366
|
let { sources, sourcesContent, names, mappings } = source.traceMappings();
|
|
@@ -53372,8 +53370,8 @@ ${outro}`;
|
|
|
53372
53370
|
file = node_path.basename(file);
|
|
53373
53371
|
}
|
|
53374
53372
|
sourcesContent = excludeContent ? null : sourcesContent;
|
|
53375
|
-
for (const
|
|
53376
|
-
resetSourcemapCache(
|
|
53373
|
+
for (const module3 of modules) {
|
|
53374
|
+
resetSourcemapCache(module3.originalSourcemap, module3.sourcemapChain);
|
|
53377
53375
|
}
|
|
53378
53376
|
return new SourceMap({ file, mappings, names, sources, sourcesContent });
|
|
53379
53377
|
}
|
|
@@ -53649,18 +53647,18 @@ ${outro}`;
|
|
|
53649
53647
|
getModuleIds: () => this.graph.modulesById.keys(),
|
|
53650
53648
|
getModuleInfo: this.graph.getModuleInfo
|
|
53651
53649
|
};
|
|
53652
|
-
for (const
|
|
53653
|
-
if (
|
|
53654
|
-
const manualChunkAlias = getManualChunk(
|
|
53650
|
+
for (const module3 of this.graph.modulesById.values()) {
|
|
53651
|
+
if (module3 instanceof Module) {
|
|
53652
|
+
const manualChunkAlias = getManualChunk(module3.id, manualChunksApi);
|
|
53655
53653
|
if (typeof manualChunkAlias === "string") {
|
|
53656
|
-
manualChunkAliasesWithEntry.push([manualChunkAlias,
|
|
53654
|
+
manualChunkAliasesWithEntry.push([manualChunkAlias, module3]);
|
|
53657
53655
|
}
|
|
53658
53656
|
}
|
|
53659
53657
|
}
|
|
53660
53658
|
manualChunkAliasesWithEntry.sort(([aliasA], [aliasB]) => aliasA > aliasB ? 1 : aliasA < aliasB ? -1 : 0);
|
|
53661
53659
|
const manualChunkAliasByEntry = /* @__PURE__ */ new Map();
|
|
53662
|
-
for (const [alias,
|
|
53663
|
-
addModuleToManualChunk(alias,
|
|
53660
|
+
for (const [alias, module3] of manualChunkAliasesWithEntry) {
|
|
53661
|
+
addModuleToManualChunk(alias, module3, manualChunkAliasByEntry);
|
|
53664
53662
|
}
|
|
53665
53663
|
return manualChunkAliasByEntry;
|
|
53666
53664
|
}
|
|
@@ -53687,7 +53685,7 @@ ${outro}`;
|
|
|
53687
53685
|
const externalChunkByModule = getExternalChunkByModule(this.graph.modulesById, this.outputOptions, inputBase);
|
|
53688
53686
|
const chunks = [];
|
|
53689
53687
|
const chunkByModule = /* @__PURE__ */ new Map();
|
|
53690
|
-
for (const { alias, modules } of inlineDynamicImports ? [{ alias: null, modules: includedModules }] : preserveModules ? includedModules.map((
|
|
53688
|
+
for (const { alias, modules } of inlineDynamicImports ? [{ alias: null, modules: includedModules }] : preserveModules ? includedModules.map((module3) => ({ alias: null, modules: [module3] })) : getChunkAssignments(this.graph.entryModules, manualChunkAliasByEntry, experimentalMinChunkSize, this.inputOptions.onLog)) {
|
|
53691
53689
|
sortByExecutionOrder(modules);
|
|
53692
53690
|
const chunk = new Chunk(modules, this.inputOptions, this.outputOptions, this.unsetOptions, this.pluginDriver, this.graph.modulesById, chunkByModule, externalChunkByModule, this.facadeChunkByModule, this.includedNamespaces, alias, getHashPlaceholder, bundle, inputBase, snippets);
|
|
53693
53691
|
chunks.push(chunk);
|
|
@@ -53714,37 +53712,37 @@ ${outro}`;
|
|
|
53714
53712
|
}
|
|
53715
53713
|
function getIncludedModules(modulesById) {
|
|
53716
53714
|
const includedModules = [];
|
|
53717
|
-
for (const
|
|
53718
|
-
if (
|
|
53719
|
-
includedModules.push(
|
|
53715
|
+
for (const module3 of modulesById.values()) {
|
|
53716
|
+
if (module3 instanceof Module && (module3.isIncluded() || module3.info.isEntry || module3.includedDynamicImporters.length > 0)) {
|
|
53717
|
+
includedModules.push(module3);
|
|
53720
53718
|
}
|
|
53721
53719
|
}
|
|
53722
53720
|
return includedModules;
|
|
53723
53721
|
}
|
|
53724
53722
|
function getAbsoluteEntryModulePaths(includedModules, preserveModules) {
|
|
53725
53723
|
const absoluteEntryModulePaths = [];
|
|
53726
|
-
for (const
|
|
53727
|
-
if ((
|
|
53728
|
-
absoluteEntryModulePaths.push(
|
|
53724
|
+
for (const module3 of includedModules) {
|
|
53725
|
+
if ((module3.info.isEntry || preserveModules) && parseAst_js.isAbsolute(module3.id)) {
|
|
53726
|
+
absoluteEntryModulePaths.push(module3.id);
|
|
53729
53727
|
}
|
|
53730
53728
|
}
|
|
53731
53729
|
return absoluteEntryModulePaths;
|
|
53732
53730
|
}
|
|
53733
53731
|
function getExternalChunkByModule(modulesById, outputOptions, inputBase) {
|
|
53734
53732
|
const externalChunkByModule = /* @__PURE__ */ new Map();
|
|
53735
|
-
for (const
|
|
53736
|
-
if (
|
|
53737
|
-
externalChunkByModule.set(
|
|
53733
|
+
for (const module3 of modulesById.values()) {
|
|
53734
|
+
if (module3 instanceof ExternalModule) {
|
|
53735
|
+
externalChunkByModule.set(module3, new ExternalChunk(module3, outputOptions, inputBase));
|
|
53738
53736
|
}
|
|
53739
53737
|
}
|
|
53740
53738
|
return externalChunkByModule;
|
|
53741
53739
|
}
|
|
53742
|
-
function addModuleToManualChunk(alias,
|
|
53743
|
-
const existingAlias = manualChunkAliasByEntry.get(
|
|
53740
|
+
function addModuleToManualChunk(alias, module3, manualChunkAliasByEntry) {
|
|
53741
|
+
const existingAlias = manualChunkAliasByEntry.get(module3);
|
|
53744
53742
|
if (typeof existingAlias === "string" && existingAlias !== alias) {
|
|
53745
|
-
return parseAst_js.error(parseAst_js.logCannotAssignModuleToChunk(
|
|
53743
|
+
return parseAst_js.error(parseAst_js.logCannotAssignModuleToChunk(module3.id, alias, existingAlias));
|
|
53746
53744
|
}
|
|
53747
|
-
manualChunkAliasByEntry.set(
|
|
53745
|
+
manualChunkAliasByEntry.set(module3, alias);
|
|
53748
53746
|
}
|
|
53749
53747
|
function flru(max) {
|
|
53750
53748
|
var num, curr, prev;
|
|
@@ -53845,8 +53843,8 @@ ${outro}`;
|
|
|
53845
53843
|
} catch {
|
|
53846
53844
|
}
|
|
53847
53845
|
}
|
|
53848
|
-
async function transform(source,
|
|
53849
|
-
const id =
|
|
53846
|
+
async function transform(source, module3, pluginDriver, log) {
|
|
53847
|
+
const id = module3.id;
|
|
53850
53848
|
const sourcemapChain = [];
|
|
53851
53849
|
let originalSourcemap = source.map === null ? null : decodedSourcemap(source.map);
|
|
53852
53850
|
const originalCode = source.code;
|
|
@@ -53863,7 +53861,7 @@ ${outro}`;
|
|
|
53863
53861
|
if (typeof result === "string") {
|
|
53864
53862
|
code2 = result;
|
|
53865
53863
|
} else if (result && typeof result === "object") {
|
|
53866
|
-
|
|
53864
|
+
module3.updateOptions(result);
|
|
53867
53865
|
if (result.code == null) {
|
|
53868
53866
|
if (result.map || result.ast) {
|
|
53869
53867
|
log(parseAst_js.LOGLEVEL_WARN, parseAst_js.logNoTransformMapOrAstWithoutCode(plugin.name));
|
|
@@ -53944,7 +53942,7 @@ ${outro}`;
|
|
|
53944
53942
|
}
|
|
53945
53943
|
if (!customTransformCache && // files emitted by a transform hook need to be emitted again if the hook is skipped
|
|
53946
53944
|
emittedFiles.length > 0)
|
|
53947
|
-
|
|
53945
|
+
module3.transformFiles = emittedFiles;
|
|
53948
53946
|
return {
|
|
53949
53947
|
ast,
|
|
53950
53948
|
code,
|
|
@@ -54001,7 +53999,7 @@ ${outro}`;
|
|
|
54001
53999
|
}));
|
|
54002
54000
|
await this.awaitLoadModulesPromise();
|
|
54003
54001
|
return {
|
|
54004
|
-
entryModules: this.indexedEntryModules.map(({ module:
|
|
54002
|
+
entryModules: this.indexedEntryModules.map(({ module: module3 }) => module3),
|
|
54005
54003
|
implicitEntryModules: [...this.implicitEntryModules],
|
|
54006
54004
|
newEntryModules
|
|
54007
54005
|
};
|
|
@@ -54013,15 +54011,15 @@ ${outro}`;
|
|
|
54013
54011
|
importer,
|
|
54014
54012
|
name: name || null
|
|
54015
54013
|
};
|
|
54016
|
-
const
|
|
54014
|
+
const module3 = implicitlyLoadedAfterOneOf ? await this.addEntryWithImplicitDependants(unresolvedModule, implicitlyLoadedAfterOneOf) : (await this.addEntryModules([unresolvedModule], false)).newEntryModules[0];
|
|
54017
54015
|
if (preserveSignature != null) {
|
|
54018
|
-
|
|
54016
|
+
module3.preserveSignature = preserveSignature;
|
|
54019
54017
|
}
|
|
54020
|
-
return
|
|
54018
|
+
return module3;
|
|
54021
54019
|
}
|
|
54022
54020
|
async preloadModule(resolvedId) {
|
|
54023
|
-
const
|
|
54024
|
-
return
|
|
54021
|
+
const module3 = await this.fetchModule(this.getResolvedIdWithDefaults(resolvedId, EMPTY_OBJECT), void 0, false, resolvedId.resolveDependencies ? RESOLVE_DEPENDENCIES : true);
|
|
54022
|
+
return module3.info;
|
|
54025
54023
|
}
|
|
54026
54024
|
addEntryWithImplicitDependants(unresolvedModule, implicitlyLoadedAfter) {
|
|
54027
54025
|
const chunkNamePriority = this.nextChunkNamePriority++;
|
|
@@ -54031,8 +54029,8 @@ ${outro}`;
|
|
|
54031
54029
|
const implicitlyLoadedAfterModules = await Promise.all(implicitlyLoadedAfter.map((id) => this.loadEntryModule(id, false, unresolvedModule.importer, entryModule.id)));
|
|
54032
54030
|
if (!entryModule.info.isEntry) {
|
|
54033
54031
|
this.implicitEntryModules.add(entryModule);
|
|
54034
|
-
for (const
|
|
54035
|
-
entryModule.implicitlyLoadedAfter.add(
|
|
54032
|
+
for (const module3 of implicitlyLoadedAfterModules) {
|
|
54033
|
+
entryModule.implicitlyLoadedAfter.add(module3);
|
|
54036
54034
|
}
|
|
54037
54035
|
for (const dependant of entryModule.implicitlyLoadedAfter) {
|
|
54038
54036
|
dependant.implicitlyLoadedBefore.add(entryModule);
|
|
@@ -54042,7 +54040,7 @@ ${outro}`;
|
|
|
54042
54040
|
return entryModule;
|
|
54043
54041
|
}));
|
|
54044
54042
|
}
|
|
54045
|
-
async addModuleSource(id, importer,
|
|
54043
|
+
async addModuleSource(id, importer, module3) {
|
|
54046
54044
|
let source;
|
|
54047
54045
|
try {
|
|
54048
54046
|
source = await this.graph.fileOperationQueue.run(async () => {
|
|
@@ -54077,10 +54075,10 @@ ${outro}`;
|
|
|
54077
54075
|
for (const emittedFile of cachedModule.transformFiles)
|
|
54078
54076
|
this.pluginDriver.emitFile(emittedFile);
|
|
54079
54077
|
}
|
|
54080
|
-
await
|
|
54078
|
+
await module3.setSource(cachedModule);
|
|
54081
54079
|
} else {
|
|
54082
|
-
|
|
54083
|
-
await
|
|
54080
|
+
module3.updateOptions(sourceDescription);
|
|
54081
|
+
await module3.setSource(await transform(sourceDescription, module3, this.pluginDriver, this.options.onLog));
|
|
54084
54082
|
}
|
|
54085
54083
|
}
|
|
54086
54084
|
async awaitLoadModulesPromise() {
|
|
@@ -54099,7 +54097,7 @@ ${outro}`;
|
|
|
54099
54097
|
});
|
|
54100
54098
|
return loadNewModulesPromise;
|
|
54101
54099
|
}
|
|
54102
|
-
async fetchDynamicDependencies(
|
|
54100
|
+
async fetchDynamicDependencies(module3, resolveDynamicImportPromises) {
|
|
54103
54101
|
const dependencies = await Promise.all(resolveDynamicImportPromises.map((resolveDynamicImportPromise) => resolveDynamicImportPromise.then(async ([dynamicImport, resolvedId]) => {
|
|
54104
54102
|
if (resolvedId === null)
|
|
54105
54103
|
return null;
|
|
@@ -54107,12 +54105,12 @@ ${outro}`;
|
|
|
54107
54105
|
dynamicImport.resolution = resolvedId;
|
|
54108
54106
|
return null;
|
|
54109
54107
|
}
|
|
54110
|
-
return dynamicImport.resolution = await this.fetchResolvedDependency(parseAst_js.relativeId(resolvedId.id),
|
|
54108
|
+
return dynamicImport.resolution = await this.fetchResolvedDependency(parseAst_js.relativeId(resolvedId.id), module3.id, resolvedId);
|
|
54111
54109
|
})));
|
|
54112
54110
|
for (const dependency of dependencies) {
|
|
54113
54111
|
if (dependency) {
|
|
54114
|
-
|
|
54115
|
-
dependency.dynamicImporters.push(
|
|
54112
|
+
module3.dynamicDependencies.add(dependency);
|
|
54113
|
+
dependency.dynamicImporters.push(module3.id);
|
|
54116
54114
|
}
|
|
54117
54115
|
}
|
|
54118
54116
|
}
|
|
@@ -54133,35 +54131,35 @@ ${outro}`;
|
|
|
54133
54131
|
if (existingModule instanceof ExternalModule) {
|
|
54134
54132
|
return parseAst_js.error(parseAst_js.logExternalModulesCannotBeTransformedToModules(existingModule.id));
|
|
54135
54133
|
}
|
|
54136
|
-
const
|
|
54137
|
-
this.modulesById.set(id,
|
|
54138
|
-
const loadPromise = this.addModuleSource(id, importer,
|
|
54139
|
-
this.getResolveStaticDependencyPromises(
|
|
54140
|
-
this.getResolveDynamicImportPromises(
|
|
54134
|
+
const module3 = new Module(this.graph, id, this.options, isEntry, moduleSideEffects, syntheticNamedExports, meta, attributes);
|
|
54135
|
+
this.modulesById.set(id, module3);
|
|
54136
|
+
const loadPromise = this.addModuleSource(id, importer, module3).then(() => [
|
|
54137
|
+
this.getResolveStaticDependencyPromises(module3),
|
|
54138
|
+
this.getResolveDynamicImportPromises(module3),
|
|
54141
54139
|
loadAndResolveDependenciesPromise
|
|
54142
54140
|
]);
|
|
54143
|
-
const loadAndResolveDependenciesPromise = waitForDependencyResolution(loadPromise).then(() => this.pluginDriver.hookParallel("moduleParsed", [
|
|
54141
|
+
const loadAndResolveDependenciesPromise = waitForDependencyResolution(loadPromise).then(() => this.pluginDriver.hookParallel("moduleParsed", [module3.info]));
|
|
54144
54142
|
loadAndResolveDependenciesPromise.catch(() => {
|
|
54145
54143
|
});
|
|
54146
|
-
this.moduleLoadPromises.set(
|
|
54144
|
+
this.moduleLoadPromises.set(module3, loadPromise);
|
|
54147
54145
|
const resolveDependencyPromises = await loadPromise;
|
|
54148
54146
|
if (!isPreload) {
|
|
54149
|
-
await this.fetchModuleDependencies(
|
|
54147
|
+
await this.fetchModuleDependencies(module3, ...resolveDependencyPromises);
|
|
54150
54148
|
} else if (isPreload === RESOLVE_DEPENDENCIES) {
|
|
54151
54149
|
await loadAndResolveDependenciesPromise;
|
|
54152
54150
|
}
|
|
54153
|
-
return
|
|
54151
|
+
return module3;
|
|
54154
54152
|
}
|
|
54155
|
-
async fetchModuleDependencies(
|
|
54156
|
-
if (this.modulesWithLoadedDependencies.has(
|
|
54153
|
+
async fetchModuleDependencies(module3, resolveStaticDependencyPromises, resolveDynamicDependencyPromises, loadAndResolveDependenciesPromise) {
|
|
54154
|
+
if (this.modulesWithLoadedDependencies.has(module3)) {
|
|
54157
54155
|
return;
|
|
54158
54156
|
}
|
|
54159
|
-
this.modulesWithLoadedDependencies.add(
|
|
54157
|
+
this.modulesWithLoadedDependencies.add(module3);
|
|
54160
54158
|
await Promise.all([
|
|
54161
|
-
this.fetchStaticDependencies(
|
|
54162
|
-
this.fetchDynamicDependencies(
|
|
54159
|
+
this.fetchStaticDependencies(module3, resolveStaticDependencyPromises),
|
|
54160
|
+
this.fetchDynamicDependencies(module3, resolveDynamicDependencyPromises)
|
|
54163
54161
|
]);
|
|
54164
|
-
|
|
54162
|
+
module3.linkImports();
|
|
54165
54163
|
await loadAndResolveDependenciesPromise;
|
|
54166
54164
|
}
|
|
54167
54165
|
fetchResolvedDependency(source, importer, resolvedId) {
|
|
@@ -54180,13 +54178,13 @@ ${outro}`;
|
|
|
54180
54178
|
}
|
|
54181
54179
|
return this.fetchModule(resolvedId, importer, false, false);
|
|
54182
54180
|
}
|
|
54183
|
-
async fetchStaticDependencies(
|
|
54184
|
-
for (const dependency of await Promise.all(resolveStaticDependencyPromises.map((resolveStaticDependencyPromise) => resolveStaticDependencyPromise.then(([source, resolvedId]) => this.fetchResolvedDependency(source,
|
|
54185
|
-
|
|
54186
|
-
dependency.importers.push(
|
|
54181
|
+
async fetchStaticDependencies(module3, resolveStaticDependencyPromises) {
|
|
54182
|
+
for (const dependency of await Promise.all(resolveStaticDependencyPromises.map((resolveStaticDependencyPromise) => resolveStaticDependencyPromise.then(([source, resolvedId]) => this.fetchResolvedDependency(source, module3.id, resolvedId))))) {
|
|
54183
|
+
module3.dependencies.add(dependency);
|
|
54184
|
+
dependency.importers.push(module3.id);
|
|
54187
54185
|
}
|
|
54188
|
-
if (!this.options.treeshake ||
|
|
54189
|
-
for (const dependency of
|
|
54186
|
+
if (!this.options.treeshake || module3.info.moduleSideEffects === "no-treeshake") {
|
|
54187
|
+
for (const dependency of module3.dependencies) {
|
|
54190
54188
|
if (dependency instanceof Module) {
|
|
54191
54189
|
dependency.importedFromNotTreeshaken = true;
|
|
54192
54190
|
}
|
|
@@ -54218,19 +54216,19 @@ ${outro}`;
|
|
|
54218
54216
|
id
|
|
54219
54217
|
};
|
|
54220
54218
|
}
|
|
54221
|
-
getResolveDynamicImportPromises(
|
|
54222
|
-
return
|
|
54223
|
-
const resolvedId = await this.resolveDynamicImport(
|
|
54219
|
+
getResolveDynamicImportPromises(module3) {
|
|
54220
|
+
return module3.dynamicImports.map(async (dynamicImport) => {
|
|
54221
|
+
const resolvedId = await this.resolveDynamicImport(module3, typeof dynamicImport.argument === "string" ? dynamicImport.argument : dynamicImport.argument.esTreeNode, module3.id, getAttributesFromImportExpression(dynamicImport.node));
|
|
54224
54222
|
if (resolvedId && typeof resolvedId === "object") {
|
|
54225
54223
|
dynamicImport.id = resolvedId.id;
|
|
54226
54224
|
}
|
|
54227
54225
|
return [dynamicImport, resolvedId];
|
|
54228
54226
|
});
|
|
54229
54227
|
}
|
|
54230
|
-
getResolveStaticDependencyPromises(
|
|
54231
|
-
return Array.from(
|
|
54228
|
+
getResolveStaticDependencyPromises(module3) {
|
|
54229
|
+
return Array.from(module3.sourcesWithAttributes, async ([source, attributes]) => [
|
|
54232
54230
|
source,
|
|
54233
|
-
|
|
54231
|
+
module3.resolvedIds[source] = module3.resolvedIds[source] || this.handleInvalidResolvedId(await this.resolveId(source, module3.id, EMPTY_OBJECT, false, attributes), source, module3.id, attributes)
|
|
54234
54232
|
]);
|
|
54235
54233
|
}
|
|
54236
54234
|
getResolvedIdWithDefaults(resolvedId, attributes) {
|
|
@@ -54248,20 +54246,20 @@ ${outro}`;
|
|
|
54248
54246
|
syntheticNamedExports: resolvedId.syntheticNamedExports ?? false
|
|
54249
54247
|
};
|
|
54250
54248
|
}
|
|
54251
|
-
async handleExistingModule(
|
|
54252
|
-
const loadPromise = this.moduleLoadPromises.get(
|
|
54249
|
+
async handleExistingModule(module3, isEntry, isPreload) {
|
|
54250
|
+
const loadPromise = this.moduleLoadPromises.get(module3);
|
|
54253
54251
|
if (isPreload) {
|
|
54254
54252
|
return isPreload === RESOLVE_DEPENDENCIES ? waitForDependencyResolution(loadPromise) : loadPromise;
|
|
54255
54253
|
}
|
|
54256
54254
|
if (isEntry) {
|
|
54257
|
-
|
|
54258
|
-
this.implicitEntryModules.delete(
|
|
54259
|
-
for (const dependant of
|
|
54260
|
-
dependant.implicitlyLoadedBefore.delete(
|
|
54255
|
+
module3.info.isEntry = true;
|
|
54256
|
+
this.implicitEntryModules.delete(module3);
|
|
54257
|
+
for (const dependant of module3.implicitlyLoadedAfter) {
|
|
54258
|
+
dependant.implicitlyLoadedBefore.delete(module3);
|
|
54261
54259
|
}
|
|
54262
|
-
|
|
54260
|
+
module3.implicitlyLoadedAfter.clear();
|
|
54263
54261
|
}
|
|
54264
|
-
return this.fetchModuleDependencies(
|
|
54262
|
+
return this.fetchModuleDependencies(module3, ...await loadPromise);
|
|
54265
54263
|
}
|
|
54266
54264
|
handleInvalidResolvedId(resolvedId, source, importer, attributes) {
|
|
54267
54265
|
if (resolvedId === null) {
|
|
@@ -54294,7 +54292,7 @@ ${outro}`;
|
|
|
54294
54292
|
}
|
|
54295
54293
|
return this.fetchModule(this.getResolvedIdWithDefaults(typeof resolveIdResult === "object" ? resolveIdResult : { id: resolveIdResult }, EMPTY_OBJECT), void 0, isEntry, false);
|
|
54296
54294
|
}
|
|
54297
|
-
async resolveDynamicImport(
|
|
54295
|
+
async resolveDynamicImport(module3, specifier, importer, attributes) {
|
|
54298
54296
|
const resolution = await this.pluginDriver.hookFirst("resolveDynamicImport", [
|
|
54299
54297
|
specifier,
|
|
54300
54298
|
importer,
|
|
@@ -54310,14 +54308,14 @@ ${outro}`;
|
|
|
54310
54308
|
return this.getResolvedIdWithDefaults(resolution, attributes);
|
|
54311
54309
|
}
|
|
54312
54310
|
if (resolution == null) {
|
|
54313
|
-
const existingResolution =
|
|
54311
|
+
const existingResolution = module3.resolvedIds[specifier];
|
|
54314
54312
|
if (existingResolution) {
|
|
54315
54313
|
if (doAttributesDiffer(existingResolution.attributes, attributes)) {
|
|
54316
54314
|
this.options.onLog(parseAst_js.LOGLEVEL_WARN, parseAst_js.logInconsistentImportAttributes(existingResolution.attributes, attributes, specifier, importer));
|
|
54317
54315
|
}
|
|
54318
54316
|
return existingResolution;
|
|
54319
54317
|
}
|
|
54320
|
-
return
|
|
54318
|
+
return module3.resolvedIds[specifier] = this.handleInvalidResolvedId(await this.resolveId(specifier, module3.id, EMPTY_OBJECT, false, attributes), specifier, module3.id, attributes);
|
|
54321
54319
|
}
|
|
54322
54320
|
return this.handleInvalidResolvedId(this.getResolvedIdWithDefaults(this.getNormalizedResolvedIdWithoutDefaults(resolution, importer, specifier), attributes), specifier, importer, attributes);
|
|
54323
54321
|
}
|
|
@@ -54325,14 +54323,14 @@ ${outro}`;
|
|
|
54325
54323
|
function normalizeRelativeExternalId(source, importer) {
|
|
54326
54324
|
return parseAst_js.isRelative(source) ? importer ? node_path.resolve(importer, "..", source) : node_path.resolve(source) : source;
|
|
54327
54325
|
}
|
|
54328
|
-
function addChunkNamesToModule(
|
|
54326
|
+
function addChunkNamesToModule(module3, { fileName, name }, isUserDefined, priority) {
|
|
54329
54327
|
if (fileName !== null) {
|
|
54330
|
-
|
|
54328
|
+
module3.chunkFileNames.add(fileName);
|
|
54331
54329
|
} else if (name !== null) {
|
|
54332
54330
|
let namePosition = 0;
|
|
54333
|
-
while (
|
|
54331
|
+
while (module3.chunkNames[namePosition]?.priority < priority)
|
|
54334
54332
|
namePosition++;
|
|
54335
|
-
|
|
54333
|
+
module3.chunkNames.splice(namePosition, 0, { isUserDefined, name, priority });
|
|
54336
54334
|
}
|
|
54337
54335
|
}
|
|
54338
54336
|
function isNotAbsoluteExternal(id, source, makeAbsoluteExternalsRelative) {
|
|
@@ -54428,8 +54426,8 @@ ${outro}`;
|
|
|
54428
54426
|
};
|
|
54429
54427
|
if (options.cache !== false) {
|
|
54430
54428
|
if (options.cache?.modules) {
|
|
54431
|
-
for (const
|
|
54432
|
-
this.cachedModules.set(
|
|
54429
|
+
for (const module3 of options.cache.modules)
|
|
54430
|
+
this.cachedModules.set(module3.id, module3);
|
|
54433
54431
|
}
|
|
54434
54432
|
this.pluginCache = options.cache?.plugins || /* @__PURE__ */ Object.create(null);
|
|
54435
54433
|
for (const name in this.pluginCache) {
|
|
@@ -54477,7 +54475,7 @@ ${outro}`;
|
|
|
54477
54475
|
delete this.pluginCache[name];
|
|
54478
54476
|
}
|
|
54479
54477
|
return {
|
|
54480
|
-
modules: this.modules.map((
|
|
54478
|
+
modules: this.modules.map((module3) => module3.toJSON()),
|
|
54481
54479
|
plugins: this.pluginCache
|
|
54482
54480
|
};
|
|
54483
54481
|
}
|
|
@@ -54486,37 +54484,37 @@ ${outro}`;
|
|
|
54486
54484
|
if (this.entryModules.length === 0) {
|
|
54487
54485
|
throw new Error("You must supply options.input to rollup");
|
|
54488
54486
|
}
|
|
54489
|
-
for (const
|
|
54490
|
-
if (
|
|
54491
|
-
this.modules.push(
|
|
54487
|
+
for (const module3 of this.modulesById.values()) {
|
|
54488
|
+
if (module3 instanceof Module) {
|
|
54489
|
+
this.modules.push(module3);
|
|
54492
54490
|
} else {
|
|
54493
|
-
this.externalModules.push(
|
|
54491
|
+
this.externalModules.push(module3);
|
|
54494
54492
|
}
|
|
54495
54493
|
}
|
|
54496
54494
|
}
|
|
54497
54495
|
includeStatements() {
|
|
54498
54496
|
const entryModules = [...this.entryModules, ...this.implicitEntryModules];
|
|
54499
|
-
for (const
|
|
54500
|
-
markModuleAndImpureDependenciesAsExecuted(
|
|
54497
|
+
for (const module3 of entryModules) {
|
|
54498
|
+
markModuleAndImpureDependenciesAsExecuted(module3);
|
|
54501
54499
|
}
|
|
54502
54500
|
if (this.options.treeshake) {
|
|
54503
54501
|
let treeshakingPass = 1;
|
|
54504
54502
|
do {
|
|
54505
54503
|
timeStart(`treeshaking pass ${treeshakingPass}`, 3);
|
|
54506
54504
|
this.needsTreeshakingPass = false;
|
|
54507
|
-
for (const
|
|
54508
|
-
if (
|
|
54509
|
-
if (
|
|
54510
|
-
|
|
54505
|
+
for (const module3 of this.modules) {
|
|
54506
|
+
if (module3.isExecuted) {
|
|
54507
|
+
if (module3.info.moduleSideEffects === "no-treeshake") {
|
|
54508
|
+
module3.includeAllInBundle();
|
|
54511
54509
|
} else {
|
|
54512
|
-
|
|
54510
|
+
module3.include();
|
|
54513
54511
|
}
|
|
54514
54512
|
}
|
|
54515
54513
|
}
|
|
54516
54514
|
if (treeshakingPass === 1) {
|
|
54517
|
-
for (const
|
|
54518
|
-
if (
|
|
54519
|
-
|
|
54515
|
+
for (const module3 of entryModules) {
|
|
54516
|
+
if (module3.preserveSignature !== false) {
|
|
54517
|
+
module3.includeAllExports(false);
|
|
54520
54518
|
this.needsTreeshakingPass = true;
|
|
54521
54519
|
}
|
|
54522
54520
|
}
|
|
@@ -54524,13 +54522,13 @@ ${outro}`;
|
|
|
54524
54522
|
timeEnd(`treeshaking pass ${treeshakingPass++}`, 3);
|
|
54525
54523
|
} while (this.needsTreeshakingPass);
|
|
54526
54524
|
} else {
|
|
54527
|
-
for (const
|
|
54528
|
-
|
|
54525
|
+
for (const module3 of this.modules)
|
|
54526
|
+
module3.includeAllInBundle();
|
|
54529
54527
|
}
|
|
54530
54528
|
for (const externalModule of this.externalModules)
|
|
54531
54529
|
externalModule.warnUnusedImports();
|
|
54532
|
-
for (const
|
|
54533
|
-
for (const dependant of
|
|
54530
|
+
for (const module3 of this.implicitEntryModules) {
|
|
54531
|
+
for (const dependant of module3.implicitlyLoadedAfter) {
|
|
54534
54532
|
if (!(dependant.info.isEntry || dependant.isIncluded())) {
|
|
54535
54533
|
parseAst_js.error(parseAst_js.logImplicitDependantIsNotIncluded(dependant));
|
|
54536
54534
|
}
|
|
@@ -54543,16 +54541,16 @@ ${outro}`;
|
|
|
54543
54541
|
this.options.onLog(parseAst_js.LOGLEVEL_WARN, parseAst_js.logCircularDependency(cyclePath));
|
|
54544
54542
|
}
|
|
54545
54543
|
this.modules = orderedModules;
|
|
54546
|
-
for (const
|
|
54547
|
-
|
|
54544
|
+
for (const module3 of this.modules) {
|
|
54545
|
+
module3.bindReferences();
|
|
54548
54546
|
}
|
|
54549
54547
|
this.warnForMissingExports();
|
|
54550
54548
|
}
|
|
54551
54549
|
warnForMissingExports() {
|
|
54552
|
-
for (const
|
|
54553
|
-
for (const importDescription of
|
|
54550
|
+
for (const module3 of this.modules) {
|
|
54551
|
+
for (const importDescription of module3.importDescriptions.values()) {
|
|
54554
54552
|
if (importDescription.name !== "*" && !importDescription.module.getVariableForExportName(importDescription.name)[0]) {
|
|
54555
|
-
|
|
54553
|
+
module3.log(parseAst_js.LOGLEVEL_WARN, parseAst_js.logMissingExport(importDescription.name, module3.id, importDescription.module.id), importDescription.start);
|
|
54556
54554
|
}
|
|
54557
54555
|
}
|
|
54558
54556
|
}
|
|
@@ -55211,13 +55209,13 @@ var require_shared = __commonJS({
|
|
|
55211
55209
|
"node_modules/.pnpm/rollup@4.5.0/node_modules/rollup/dist/shared/index.js"(exports) {
|
|
55212
55210
|
"use strict";
|
|
55213
55211
|
var rollup = require_rollup();
|
|
55214
|
-
var require$$0$1 =
|
|
55215
|
-
var require$$2 =
|
|
55216
|
-
var require$$1 =
|
|
55217
|
-
var require$$0$2 =
|
|
55218
|
-
var require$$2$1 =
|
|
55212
|
+
var require$$0$1 = require("fs");
|
|
55213
|
+
var require$$2 = require("util");
|
|
55214
|
+
var require$$1 = require("stream");
|
|
55215
|
+
var require$$0$2 = require("path");
|
|
55216
|
+
var require$$2$1 = require("os");
|
|
55219
55217
|
var fseventsImporter = require_fsevents_importer();
|
|
55220
|
-
var require$$0$3 =
|
|
55218
|
+
var require$$0$3 = require("events");
|
|
55221
55219
|
var chokidar = {};
|
|
55222
55220
|
var fs$3 = require$$0$1;
|
|
55223
55221
|
var { Readable } = require$$1;
|
|
@@ -58774,23 +58772,23 @@ var require_watch = __commonJS({
|
|
|
58774
58772
|
"node_modules/.pnpm/rollup@4.5.0/node_modules/rollup/dist/shared/watch.js"(exports) {
|
|
58775
58773
|
"use strict";
|
|
58776
58774
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
58777
|
-
var node_path =
|
|
58778
|
-
var process2 =
|
|
58775
|
+
var node_path = require("node:path");
|
|
58776
|
+
var process2 = require("node:process");
|
|
58779
58777
|
var rollup = require_rollup();
|
|
58780
|
-
var node_os =
|
|
58778
|
+
var node_os = require("node:os");
|
|
58781
58779
|
var index = require_shared();
|
|
58782
58780
|
require_parseAst();
|
|
58783
58781
|
require_native();
|
|
58784
|
-
|
|
58785
|
-
|
|
58786
|
-
|
|
58787
|
-
|
|
58788
|
-
|
|
58789
|
-
|
|
58790
|
-
|
|
58791
|
-
|
|
58782
|
+
require("tty");
|
|
58783
|
+
require("path");
|
|
58784
|
+
require("node:perf_hooks");
|
|
58785
|
+
require("node:fs/promises");
|
|
58786
|
+
require("fs");
|
|
58787
|
+
require("util");
|
|
58788
|
+
require("stream");
|
|
58789
|
+
require("os");
|
|
58792
58790
|
require_fsevents_importer();
|
|
58793
|
-
|
|
58791
|
+
require("events");
|
|
58794
58792
|
var FileWatcher = class {
|
|
58795
58793
|
constructor(task, chokidarOptions) {
|
|
58796
58794
|
this.transformWatchers = /* @__PURE__ */ new Map();
|
|
@@ -58972,10 +58970,10 @@ var require_watch = __commonJS({
|
|
|
58972
58970
|
invalidate(id, details) {
|
|
58973
58971
|
this.invalidated = true;
|
|
58974
58972
|
if (details.isTransformDependency) {
|
|
58975
|
-
for (const
|
|
58976
|
-
if (!
|
|
58973
|
+
for (const module3 of this.cache.modules) {
|
|
58974
|
+
if (!module3.transformDependencies.includes(id))
|
|
58977
58975
|
continue;
|
|
58978
|
-
|
|
58976
|
+
module3.originalCode = null;
|
|
58979
58977
|
}
|
|
58980
58978
|
}
|
|
58981
58979
|
this.watcher.invalidate({ event: details.event, id });
|
|
@@ -59017,7 +59015,7 @@ var require_watch = __commonJS({
|
|
|
59017
59015
|
}
|
|
59018
59016
|
}
|
|
59019
59017
|
if (error.id) {
|
|
59020
|
-
this.cache.modules = this.cache.modules.filter((
|
|
59018
|
+
this.cache.modules = this.cache.modules.filter((module3) => module3.id !== error.id);
|
|
59021
59019
|
}
|
|
59022
59020
|
}
|
|
59023
59021
|
await this.watcher.emitter.emit("event", {
|
|
@@ -59035,8 +59033,8 @@ var require_watch = __commonJS({
|
|
|
59035
59033
|
for (const id of this.watchFiles) {
|
|
59036
59034
|
this.watchFile(id);
|
|
59037
59035
|
}
|
|
59038
|
-
for (const
|
|
59039
|
-
for (const depId of
|
|
59036
|
+
for (const module3 of this.cache.modules) {
|
|
59037
|
+
for (const depId of module3.transformDependencies) {
|
|
59040
59038
|
this.watchFile(depId, true);
|
|
59041
59039
|
}
|
|
59042
59040
|
}
|
|
@@ -59148,12 +59146,12 @@ var require_rollup2 = __commonJS({
|
|
|
59148
59146
|
var watchProxy = require_watch_proxy();
|
|
59149
59147
|
require_parseAst();
|
|
59150
59148
|
require_native();
|
|
59151
|
-
|
|
59152
|
-
|
|
59153
|
-
|
|
59154
|
-
|
|
59155
|
-
|
|
59156
|
-
|
|
59149
|
+
require("node:path");
|
|
59150
|
+
require("node:process");
|
|
59151
|
+
require("tty");
|
|
59152
|
+
require("path");
|
|
59153
|
+
require("node:perf_hooks");
|
|
59154
|
+
require("node:fs/promises");
|
|
59157
59155
|
require_fsevents_importer();
|
|
59158
59156
|
exports.VERSION = rollup.version;
|
|
59159
59157
|
exports.defineConfig = rollup.defineConfig;
|
|
@@ -59164,12 +59162,12 @@ var require_rollup2 = __commonJS({
|
|
|
59164
59162
|
|
|
59165
59163
|
// node_modules/.pnpm/readdirp@3.6.0/node_modules/readdirp/index.js
|
|
59166
59164
|
var require_readdirp = __commonJS({
|
|
59167
|
-
"node_modules/.pnpm/readdirp@3.6.0/node_modules/readdirp/index.js"(exports,
|
|
59165
|
+
"node_modules/.pnpm/readdirp@3.6.0/node_modules/readdirp/index.js"(exports, module2) {
|
|
59168
59166
|
"use strict";
|
|
59169
|
-
var fs =
|
|
59170
|
-
var { Readable } =
|
|
59171
|
-
var sysPath =
|
|
59172
|
-
var { promisify } =
|
|
59167
|
+
var fs = require("fs");
|
|
59168
|
+
var { Readable } = require("stream");
|
|
59169
|
+
var sysPath = require("path");
|
|
59170
|
+
var { promisify } = require("util");
|
|
59173
59171
|
var picomatch = require_picomatch2();
|
|
59174
59172
|
var readdir2 = promisify(fs.readdir);
|
|
59175
59173
|
var stat = promisify(fs.stat);
|
|
@@ -59395,14 +59393,14 @@ var require_readdirp = __commonJS({
|
|
|
59395
59393
|
readdirp.promise = readdirpPromise;
|
|
59396
59394
|
readdirp.ReaddirpStream = ReaddirpStream;
|
|
59397
59395
|
readdirp.default = readdirp;
|
|
59398
|
-
|
|
59396
|
+
module2.exports = readdirp;
|
|
59399
59397
|
}
|
|
59400
59398
|
});
|
|
59401
59399
|
|
|
59402
59400
|
// node_modules/.pnpm/normalize-path@3.0.0/node_modules/normalize-path/index.js
|
|
59403
59401
|
var require_normalize_path = __commonJS({
|
|
59404
|
-
"node_modules/.pnpm/normalize-path@3.0.0/node_modules/normalize-path/index.js"(exports,
|
|
59405
|
-
|
|
59402
|
+
"node_modules/.pnpm/normalize-path@3.0.0/node_modules/normalize-path/index.js"(exports, module2) {
|
|
59403
|
+
module2.exports = function(path2, stripTrailing) {
|
|
59406
59404
|
if (typeof path2 !== "string") {
|
|
59407
59405
|
throw new TypeError("expected path to be a string");
|
|
59408
59406
|
}
|
|
@@ -59430,7 +59428,7 @@ var require_normalize_path = __commonJS({
|
|
|
59430
59428
|
|
|
59431
59429
|
// node_modules/.pnpm/anymatch@3.1.3/node_modules/anymatch/index.js
|
|
59432
59430
|
var require_anymatch = __commonJS({
|
|
59433
|
-
"node_modules/.pnpm/anymatch@3.1.3/node_modules/anymatch/index.js"(exports,
|
|
59431
|
+
"node_modules/.pnpm/anymatch@3.1.3/node_modules/anymatch/index.js"(exports, module2) {
|
|
59434
59432
|
"use strict";
|
|
59435
59433
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
59436
59434
|
var picomatch = require_picomatch2();
|
|
@@ -59491,14 +59489,14 @@ var require_anymatch = __commonJS({
|
|
|
59491
59489
|
return matchPatterns(patterns, negatedGlobs, testString, returnIndex);
|
|
59492
59490
|
};
|
|
59493
59491
|
anymatch.default = anymatch;
|
|
59494
|
-
|
|
59492
|
+
module2.exports = anymatch;
|
|
59495
59493
|
}
|
|
59496
59494
|
});
|
|
59497
59495
|
|
|
59498
59496
|
// node_modules/.pnpm/binary-extensions@2.2.0/node_modules/binary-extensions/binary-extensions.json
|
|
59499
59497
|
var require_binary_extensions = __commonJS({
|
|
59500
|
-
"node_modules/.pnpm/binary-extensions@2.2.0/node_modules/binary-extensions/binary-extensions.json"(exports,
|
|
59501
|
-
|
|
59498
|
+
"node_modules/.pnpm/binary-extensions@2.2.0/node_modules/binary-extensions/binary-extensions.json"(exports, module2) {
|
|
59499
|
+
module2.exports = [
|
|
59502
59500
|
"3dm",
|
|
59503
59501
|
"3ds",
|
|
59504
59502
|
"3g2",
|
|
@@ -59763,19 +59761,19 @@ var require_binary_extensions = __commonJS({
|
|
|
59763
59761
|
|
|
59764
59762
|
// node_modules/.pnpm/binary-extensions@2.2.0/node_modules/binary-extensions/index.js
|
|
59765
59763
|
var require_binary_extensions2 = __commonJS({
|
|
59766
|
-
"node_modules/.pnpm/binary-extensions@2.2.0/node_modules/binary-extensions/index.js"(exports,
|
|
59767
|
-
|
|
59764
|
+
"node_modules/.pnpm/binary-extensions@2.2.0/node_modules/binary-extensions/index.js"(exports, module2) {
|
|
59765
|
+
module2.exports = require_binary_extensions();
|
|
59768
59766
|
}
|
|
59769
59767
|
});
|
|
59770
59768
|
|
|
59771
59769
|
// node_modules/.pnpm/is-binary-path@2.1.0/node_modules/is-binary-path/index.js
|
|
59772
59770
|
var require_is_binary_path = __commonJS({
|
|
59773
|
-
"node_modules/.pnpm/is-binary-path@2.1.0/node_modules/is-binary-path/index.js"(exports,
|
|
59771
|
+
"node_modules/.pnpm/is-binary-path@2.1.0/node_modules/is-binary-path/index.js"(exports, module2) {
|
|
59774
59772
|
"use strict";
|
|
59775
|
-
var path2 =
|
|
59773
|
+
var path2 = require("path");
|
|
59776
59774
|
var binaryExtensions = require_binary_extensions2();
|
|
59777
59775
|
var extensions = new Set(binaryExtensions);
|
|
59778
|
-
|
|
59776
|
+
module2.exports = (filePath) => extensions.has(path2.extname(filePath).slice(1).toLowerCase());
|
|
59779
59777
|
}
|
|
59780
59778
|
});
|
|
59781
59779
|
|
|
@@ -59783,9 +59781,9 @@ var require_is_binary_path = __commonJS({
|
|
|
59783
59781
|
var require_constants4 = __commonJS({
|
|
59784
59782
|
"node_modules/.pnpm/chokidar@3.5.3/node_modules/chokidar/lib/constants.js"(exports) {
|
|
59785
59783
|
"use strict";
|
|
59786
|
-
var { sep: sep2 } =
|
|
59784
|
+
var { sep: sep2 } = require("path");
|
|
59787
59785
|
var { platform } = process;
|
|
59788
|
-
var os =
|
|
59786
|
+
var os = require("os");
|
|
59789
59787
|
exports.EV_ALL = "all";
|
|
59790
59788
|
exports.EV_READY = "ready";
|
|
59791
59789
|
exports.EV_ADD = "add";
|
|
@@ -59844,11 +59842,11 @@ var require_constants4 = __commonJS({
|
|
|
59844
59842
|
|
|
59845
59843
|
// node_modules/.pnpm/chokidar@3.5.3/node_modules/chokidar/lib/nodefs-handler.js
|
|
59846
59844
|
var require_nodefs_handler = __commonJS({
|
|
59847
|
-
"node_modules/.pnpm/chokidar@3.5.3/node_modules/chokidar/lib/nodefs-handler.js"(exports,
|
|
59845
|
+
"node_modules/.pnpm/chokidar@3.5.3/node_modules/chokidar/lib/nodefs-handler.js"(exports, module2) {
|
|
59848
59846
|
"use strict";
|
|
59849
|
-
var fs =
|
|
59850
|
-
var sysPath =
|
|
59851
|
-
var { promisify } =
|
|
59847
|
+
var fs = require("fs");
|
|
59848
|
+
var sysPath = require("path");
|
|
59849
|
+
var { promisify } = require("util");
|
|
59852
59850
|
var isBinaryPath = require_is_binary_path();
|
|
59853
59851
|
var {
|
|
59854
59852
|
isWindows,
|
|
@@ -60347,20 +60345,20 @@ var require_nodefs_handler = __commonJS({
|
|
|
60347
60345
|
}
|
|
60348
60346
|
}
|
|
60349
60347
|
};
|
|
60350
|
-
|
|
60348
|
+
module2.exports = NodeFsHandler;
|
|
60351
60349
|
}
|
|
60352
60350
|
});
|
|
60353
60351
|
|
|
60354
60352
|
// node_modules/.pnpm/chokidar@3.5.3/node_modules/chokidar/lib/fsevents-handler.js
|
|
60355
60353
|
var require_fsevents_handler = __commonJS({
|
|
60356
|
-
"node_modules/.pnpm/chokidar@3.5.3/node_modules/chokidar/lib/fsevents-handler.js"(exports,
|
|
60354
|
+
"node_modules/.pnpm/chokidar@3.5.3/node_modules/chokidar/lib/fsevents-handler.js"(exports, module2) {
|
|
60357
60355
|
"use strict";
|
|
60358
|
-
var fs =
|
|
60359
|
-
var sysPath =
|
|
60360
|
-
var { promisify } =
|
|
60356
|
+
var fs = require("fs");
|
|
60357
|
+
var sysPath = require("path");
|
|
60358
|
+
var { promisify } = require("util");
|
|
60361
60359
|
var fsevents;
|
|
60362
60360
|
try {
|
|
60363
|
-
fsevents =
|
|
60361
|
+
fsevents = require("fsevents");
|
|
60364
60362
|
} catch (error) {
|
|
60365
60363
|
if (process.env.CHOKIDAR_PRINT_FSEVENTS_REQUIRE_ERROR)
|
|
60366
60364
|
console.error(error);
|
|
@@ -60765,8 +60763,8 @@ var require_fsevents_handler = __commonJS({
|
|
|
60765
60763
|
}
|
|
60766
60764
|
}
|
|
60767
60765
|
};
|
|
60768
|
-
|
|
60769
|
-
|
|
60766
|
+
module2.exports = FsEventsHandler;
|
|
60767
|
+
module2.exports.canUse = canUse;
|
|
60770
60768
|
}
|
|
60771
60769
|
});
|
|
60772
60770
|
|
|
@@ -60774,10 +60772,10 @@ var require_fsevents_handler = __commonJS({
|
|
|
60774
60772
|
var require_chokidar = __commonJS({
|
|
60775
60773
|
"node_modules/.pnpm/chokidar@3.5.3/node_modules/chokidar/index.js"(exports) {
|
|
60776
60774
|
"use strict";
|
|
60777
|
-
var { EventEmitter: EventEmitter2 } =
|
|
60778
|
-
var fs =
|
|
60779
|
-
var sysPath =
|
|
60780
|
-
var { promisify } =
|
|
60775
|
+
var { EventEmitter: EventEmitter2 } = require("events");
|
|
60776
|
+
var fs = require("fs");
|
|
60777
|
+
var sysPath = require("path");
|
|
60778
|
+
var { promisify } = require("util");
|
|
60781
60779
|
var readdirp = require_readdirp();
|
|
60782
60780
|
var anymatch = require_anymatch().default;
|
|
60783
60781
|
var globParent = require_glob_parent();
|
|
@@ -61617,7 +61615,7 @@ var require_dist5 = __commonJS({
|
|
|
61617
61615
|
var _chunkUIX4URMVjs = require_chunk_UIX4URMV();
|
|
61618
61616
|
var _chunkGQ77QZBOjs = require_chunk_GQ77QZBO();
|
|
61619
61617
|
var require_consola = _chunkGQ77QZBOjs.__commonJS.call(void 0, {
|
|
61620
|
-
"node_modules/.pnpm/consola@2.15.3/node_modules/consola/dist/consola.js"(exports2,
|
|
61618
|
+
"node_modules/.pnpm/consola@2.15.3/node_modules/consola/dist/consola.js"(exports2, module3) {
|
|
61621
61619
|
"use strict";
|
|
61622
61620
|
function u(u2) {
|
|
61623
61621
|
return u2 && "object" == typeof u2 && "default" in u2 ? u2.default : u2;
|
|
@@ -62763,14 +62761,14 @@ var require_dist5 = __commonJS({
|
|
|
62763
62761
|
return D2.Consola = _, D2.BasicReporter = S, D2.FancyReporter = Vu, D2.JSONReporter = Wu, D2.WinstonReporter = zu, D2.LogLevel = m, D2;
|
|
62764
62762
|
}());
|
|
62765
62763
|
var Ju = global.consola;
|
|
62766
|
-
|
|
62764
|
+
module3.exports = Ju;
|
|
62767
62765
|
}
|
|
62768
62766
|
});
|
|
62769
|
-
var _path =
|
|
62767
|
+
var _path = require("path");
|
|
62770
62768
|
var _path2 = _interopRequireDefault(_path);
|
|
62771
|
-
var _fs =
|
|
62769
|
+
var _fs = require("fs");
|
|
62772
62770
|
var _fs2 = _interopRequireDefault(_fs);
|
|
62773
|
-
var _worker_threads =
|
|
62771
|
+
var _worker_threads = require("worker_threads");
|
|
62774
62772
|
var _globby = require_globby();
|
|
62775
62773
|
var _globby2 = _interopRequireDefault(_globby);
|
|
62776
62774
|
var _bundlerequire = require_dist2();
|
|
@@ -62778,7 +62776,7 @@ var require_dist5 = __commonJS({
|
|
|
62778
62776
|
var _execa2 = _interopRequireDefault(_execa);
|
|
62779
62777
|
var _treekill = require_tree_kill();
|
|
62780
62778
|
var _treekill2 = _interopRequireDefault(_treekill);
|
|
62781
|
-
var _esbuild =
|
|
62779
|
+
var _esbuild = require("esbuild");
|
|
62782
62780
|
var nodeProtocolPlugin = () => {
|
|
62783
62781
|
const nodeProtocol = "node:";
|
|
62784
62782
|
return {
|
|
@@ -63747,7 +63745,7 @@ var require_dist5 = __commonJS({
|
|
|
63747
63745
|
}
|
|
63748
63746
|
};
|
|
63749
63747
|
};
|
|
63750
|
-
var _typescript =
|
|
63748
|
+
var _typescript = require("typescript");
|
|
63751
63749
|
var _typescript2 = _interopRequireDefault(_typescript);
|
|
63752
63750
|
var logger = _chunk7G76EW2Rjs.createLogger.call(void 0);
|
|
63753
63751
|
var AliasPool = (_class = class {
|
|
@@ -64417,6 +64415,16 @@ var require_dist5 = __commonJS({
|
|
|
64417
64415
|
}
|
|
64418
64416
|
});
|
|
64419
64417
|
|
|
64418
|
+
// packages/workspace-tools/src/executors/tsup/get-config.ts
|
|
64419
|
+
var get_config_exports = {};
|
|
64420
|
+
__export(get_config_exports, {
|
|
64421
|
+
getConfig: () => getConfig,
|
|
64422
|
+
legacyConfig: () => legacyConfig,
|
|
64423
|
+
modernConfig: () => modernConfig,
|
|
64424
|
+
workerConfig: () => workerConfig
|
|
64425
|
+
});
|
|
64426
|
+
module.exports = __toCommonJS(get_config_exports);
|
|
64427
|
+
|
|
64420
64428
|
// node_modules/.pnpm/minimatch@9.0.3/node_modules/minimatch/dist/mjs/index.js
|
|
64421
64429
|
var import_brace_expansion = __toESM(require_brace_expansion(), 1);
|
|
64422
64430
|
|
|
@@ -66977,24 +66985,24 @@ var LRUCache = class _LRUCache {
|
|
|
66977
66985
|
};
|
|
66978
66986
|
|
|
66979
66987
|
// node_modules/.pnpm/path-scurry@1.10.1/node_modules/path-scurry/dist/mjs/index.js
|
|
66980
|
-
|
|
66981
|
-
|
|
66982
|
-
|
|
66983
|
-
|
|
66984
|
-
|
|
66988
|
+
var import_path = require("path");
|
|
66989
|
+
var import_url = require("url");
|
|
66990
|
+
var actualFS = __toESM(require("fs"), 1);
|
|
66991
|
+
var import_fs = require("fs");
|
|
66992
|
+
var import_promises = require("fs/promises");
|
|
66985
66993
|
|
|
66986
66994
|
// node_modules/.pnpm/minipass@7.0.4/node_modules/minipass/dist/esm/index.js
|
|
66987
|
-
|
|
66988
|
-
|
|
66989
|
-
|
|
66995
|
+
var import_events = require("events");
|
|
66996
|
+
var import_stream = __toESM(require("stream"), 1);
|
|
66997
|
+
var import_string_decoder = require("string_decoder");
|
|
66990
66998
|
var proc = typeof process === "object" && process ? process : {
|
|
66991
66999
|
stdout: null,
|
|
66992
67000
|
stderr: null
|
|
66993
67001
|
};
|
|
66994
|
-
var isStream = (s) => !!s && typeof s === "object" && (s instanceof Minipass || s instanceof
|
|
66995
|
-
var isReadable = (s) => !!s && typeof s === "object" && s instanceof EventEmitter && typeof s.pipe === "function" && // node core Writable streams have a pipe() method, but it throws
|
|
66996
|
-
s.pipe !==
|
|
66997
|
-
var isWritable = (s) => !!s && typeof s === "object" && s instanceof EventEmitter && typeof s.write === "function" && typeof s.end === "function";
|
|
67002
|
+
var isStream = (s) => !!s && typeof s === "object" && (s instanceof Minipass || s instanceof import_stream.default || isReadable(s) || isWritable(s));
|
|
67003
|
+
var isReadable = (s) => !!s && typeof s === "object" && s instanceof import_events.EventEmitter && typeof s.pipe === "function" && // node core Writable streams have a pipe() method, but it throws
|
|
67004
|
+
s.pipe !== import_stream.default.Writable.prototype.pipe;
|
|
67005
|
+
var isWritable = (s) => !!s && typeof s === "object" && s instanceof import_events.EventEmitter && typeof s.write === "function" && typeof s.end === "function";
|
|
66998
67006
|
var EOF = Symbol("EOF");
|
|
66999
67007
|
var MAYBE_EMIT_END = Symbol("maybeEmitEnd");
|
|
67000
67008
|
var EMITTED_END = Symbol("emittedEnd");
|
|
@@ -67070,7 +67078,7 @@ var PipeProxyErrors = class extends Pipe {
|
|
|
67070
67078
|
};
|
|
67071
67079
|
var isObjectModeOptions = (o) => !!o.objectMode;
|
|
67072
67080
|
var isEncodingOptions = (o) => !o.objectMode && !!o.encoding && o.encoding !== "buffer";
|
|
67073
|
-
var Minipass = class extends EventEmitter {
|
|
67081
|
+
var Minipass = class extends import_events.EventEmitter {
|
|
67074
67082
|
[FLOWING] = false;
|
|
67075
67083
|
[PAUSED] = false;
|
|
67076
67084
|
[PIPES] = [];
|
|
@@ -67121,7 +67129,7 @@ var Minipass = class extends EventEmitter {
|
|
|
67121
67129
|
this[ENCODING] = null;
|
|
67122
67130
|
}
|
|
67123
67131
|
this[ASYNC] = !!options.async;
|
|
67124
|
-
this[DECODER] = this[ENCODING] ? new StringDecoder(this[ENCODING]) : null;
|
|
67132
|
+
this[DECODER] = this[ENCODING] ? new import_string_decoder.StringDecoder(this[ENCODING]) : null;
|
|
67125
67133
|
if (options && options.debugExposeBuffer === true) {
|
|
67126
67134
|
Object.defineProperty(this, "buffer", { get: () => this[BUFFER] });
|
|
67127
67135
|
}
|
|
@@ -67862,18 +67870,18 @@ var Minipass = class extends EventEmitter {
|
|
|
67862
67870
|
};
|
|
67863
67871
|
|
|
67864
67872
|
// node_modules/.pnpm/path-scurry@1.10.1/node_modules/path-scurry/dist/mjs/index.js
|
|
67865
|
-
var realpathSync =
|
|
67873
|
+
var realpathSync = import_fs.realpathSync.native;
|
|
67866
67874
|
var defaultFS = {
|
|
67867
|
-
lstatSync,
|
|
67868
|
-
readdir:
|
|
67869
|
-
readdirSync,
|
|
67870
|
-
readlinkSync,
|
|
67875
|
+
lstatSync: import_fs.lstatSync,
|
|
67876
|
+
readdir: import_fs.readdir,
|
|
67877
|
+
readdirSync: import_fs.readdirSync,
|
|
67878
|
+
readlinkSync: import_fs.readlinkSync,
|
|
67871
67879
|
realpathSync,
|
|
67872
67880
|
promises: {
|
|
67873
|
-
lstat,
|
|
67874
|
-
readdir,
|
|
67875
|
-
readlink,
|
|
67876
|
-
realpath
|
|
67881
|
+
lstat: import_promises.lstat,
|
|
67882
|
+
readdir: import_promises.readdir,
|
|
67883
|
+
readlink: import_promises.readlink,
|
|
67884
|
+
realpath: import_promises.realpath
|
|
67877
67885
|
}
|
|
67878
67886
|
};
|
|
67879
67887
|
var fsFromOption = (fsOption) => !fsOption || fsOption === defaultFS || fsOption === actualFS ? defaultFS : {
|
|
@@ -68863,7 +68871,7 @@ var PathWin32 = class _PathWin32 extends PathBase {
|
|
|
68863
68871
|
* @internal
|
|
68864
68872
|
*/
|
|
68865
68873
|
getRootString(path2) {
|
|
68866
|
-
return win32.parse(path2).root;
|
|
68874
|
+
return import_path.win32.parse(path2).root;
|
|
68867
68875
|
}
|
|
68868
68876
|
/**
|
|
68869
68877
|
* @internal
|
|
@@ -68962,7 +68970,7 @@ var PathScurryBase = class {
|
|
|
68962
68970
|
constructor(cwd = process.cwd(), pathImpl, sep2, { nocase, childrenCacheSize = 16 * 1024, fs = defaultFS } = {}) {
|
|
68963
68971
|
this.#fs = fsFromOption(fs);
|
|
68964
68972
|
if (cwd instanceof URL || cwd.startsWith("file://")) {
|
|
68965
|
-
cwd = fileURLToPath(cwd);
|
|
68973
|
+
cwd = (0, import_url.fileURLToPath)(cwd);
|
|
68966
68974
|
}
|
|
68967
68975
|
const cwdPath = pathImpl.resolve(cwd);
|
|
68968
68976
|
this.roots = /* @__PURE__ */ Object.create(null);
|
|
@@ -69503,7 +69511,7 @@ var PathScurryWin32 = class extends PathScurryBase {
|
|
|
69503
69511
|
sep = "\\";
|
|
69504
69512
|
constructor(cwd = process.cwd(), opts = {}) {
|
|
69505
69513
|
const { nocase = true } = opts;
|
|
69506
|
-
super(cwd, win32, "\\", { ...opts, nocase });
|
|
69514
|
+
super(cwd, import_path.win32, "\\", { ...opts, nocase });
|
|
69507
69515
|
this.nocase = nocase;
|
|
69508
69516
|
for (let p = this.cwd; p; p = p.parent) {
|
|
69509
69517
|
p.nocase = this.nocase;
|
|
@@ -69513,7 +69521,7 @@ var PathScurryWin32 = class extends PathScurryBase {
|
|
|
69513
69521
|
* @internal
|
|
69514
69522
|
*/
|
|
69515
69523
|
parseRootPath(dir) {
|
|
69516
|
-
return win32.parse(dir).root.toUpperCase();
|
|
69524
|
+
return import_path.win32.parse(dir).root.toUpperCase();
|
|
69517
69525
|
}
|
|
69518
69526
|
/**
|
|
69519
69527
|
* @internal
|
|
@@ -69535,7 +69543,7 @@ var PathScurryPosix = class extends PathScurryBase {
|
|
|
69535
69543
|
sep = "/";
|
|
69536
69544
|
constructor(cwd = process.cwd(), opts = {}) {
|
|
69537
69545
|
const { nocase = false } = opts;
|
|
69538
|
-
super(cwd, posix, "/", { ...opts, nocase });
|
|
69546
|
+
super(cwd, import_path.posix, "/", { ...opts, nocase });
|
|
69539
69547
|
this.nocase = nocase;
|
|
69540
69548
|
}
|
|
69541
69549
|
/**
|
|
@@ -69567,7 +69575,7 @@ var Path = process.platform === "win32" ? PathWin32 : PathPosix;
|
|
|
69567
69575
|
var PathScurry = process.platform === "win32" ? PathScurryWin32 : process.platform === "darwin" ? PathScurryDarwin : PathScurryPosix;
|
|
69568
69576
|
|
|
69569
69577
|
// node_modules/.pnpm/glob@10.3.10/node_modules/glob/dist/esm/glob.js
|
|
69570
|
-
|
|
69578
|
+
var import_url2 = require("url");
|
|
69571
69579
|
|
|
69572
69580
|
// node_modules/.pnpm/glob@10.3.10/node_modules/glob/dist/esm/pattern.js
|
|
69573
69581
|
var isPatternList = (pl) => pl.length >= 1;
|
|
@@ -70397,7 +70405,7 @@ var Glob = class {
|
|
|
70397
70405
|
if (!opts.cwd) {
|
|
70398
70406
|
this.cwd = "";
|
|
70399
70407
|
} else if (opts.cwd instanceof URL || opts.cwd.startsWith("file://")) {
|
|
70400
|
-
opts.cwd =
|
|
70408
|
+
opts.cwd = (0, import_url2.fileURLToPath)(opts.cwd);
|
|
70401
70409
|
}
|
|
70402
70410
|
this.cwd = opts.cwd || "";
|
|
70403
70411
|
this.root = opts.root;
|
|
@@ -70592,8 +70600,8 @@ var glob = Object.assign(glob_, {
|
|
|
70592
70600
|
glob.glob = glob;
|
|
70593
70601
|
|
|
70594
70602
|
// packages/workspace-tools/src/executors/tsup/get-config.ts
|
|
70603
|
+
var import_path2 = require("path");
|
|
70595
70604
|
var import_tsup = __toESM(require_dist5());
|
|
70596
|
-
import { join } from "path";
|
|
70597
70605
|
|
|
70598
70606
|
// packages/workspace-tools/src/utils/file-path-utils.ts
|
|
70599
70607
|
var removeExtension = (filePath) => {
|
|
@@ -70620,7 +70628,7 @@ function modernConfig({
|
|
|
70620
70628
|
plugins,
|
|
70621
70629
|
dtsTsConfig
|
|
70622
70630
|
}) {
|
|
70623
|
-
let outputPath = join(outDir, "dist", "modern");
|
|
70631
|
+
let outputPath = (0, import_path2.join)(outDir, "dist", "modern");
|
|
70624
70632
|
return {
|
|
70625
70633
|
name: "modern",
|
|
70626
70634
|
entry,
|
|
@@ -70690,7 +70698,7 @@ function legacyConfig({
|
|
|
70690
70698
|
plugins,
|
|
70691
70699
|
dtsTsConfig
|
|
70692
70700
|
}) {
|
|
70693
|
-
let outputPath = join(outDir, "dist", "legacy");
|
|
70701
|
+
let outputPath = (0, import_path2.join)(outDir, "dist", "legacy");
|
|
70694
70702
|
return {
|
|
70695
70703
|
name: "legacy",
|
|
70696
70704
|
entry,
|
|
@@ -70763,7 +70771,7 @@ function workerConfig({
|
|
|
70763
70771
|
tsconfig,
|
|
70764
70772
|
projectRoot,
|
|
70765
70773
|
workspaceRoot,
|
|
70766
|
-
outDir: join(outDir, "dist"),
|
|
70774
|
+
outDir: (0, import_path2.join)(outDir, "dist"),
|
|
70767
70775
|
silent: !verbose,
|
|
70768
70776
|
metafile: true,
|
|
70769
70777
|
shims: false,
|
|
@@ -70779,7 +70787,7 @@ function workerConfig({
|
|
|
70779
70787
|
...dtsTsConfig,
|
|
70780
70788
|
options: {
|
|
70781
70789
|
...dtsTsConfig.options,
|
|
70782
|
-
outDir: join(outDir, "dist")
|
|
70790
|
+
outDir: (0, import_path2.join)(outDir, "dist")
|
|
70783
70791
|
}
|
|
70784
70792
|
}
|
|
70785
70793
|
},
|
|
@@ -70821,20 +70829,20 @@ function getConfig(workspaceRoot, projectRoot, sourceRoot, {
|
|
|
70821
70829
|
}) {
|
|
70822
70830
|
const entry = globSync(
|
|
70823
70831
|
[
|
|
70824
|
-
rest.entry ? rest.entry : join(sourceRoot, "index.ts"),
|
|
70832
|
+
rest.entry ? rest.entry : (0, import_path2.join)(sourceRoot, "index.ts"),
|
|
70825
70833
|
...additionalEntryPoints ?? []
|
|
70826
70834
|
],
|
|
70827
70835
|
{
|
|
70828
70836
|
withFileTypes: true
|
|
70829
70837
|
}
|
|
70830
70838
|
).reduce((ret, filePath) => {
|
|
70831
|
-
let propertyKey = join(filePath.path, removeExtension(filePath.name)).replaceAll(workspaceRoot, "").replaceAll("\\", "/").replaceAll(sourceRoot, "").replaceAll(projectRoot, "");
|
|
70839
|
+
let propertyKey = (0, import_path2.join)(filePath.path, removeExtension(filePath.name)).replaceAll(workspaceRoot, "").replaceAll("\\", "/").replaceAll(sourceRoot, "").replaceAll(projectRoot, "");
|
|
70832
70840
|
if (propertyKey) {
|
|
70833
70841
|
while (propertyKey.startsWith("/")) {
|
|
70834
70842
|
propertyKey = propertyKey.substring(1);
|
|
70835
70843
|
}
|
|
70836
70844
|
if (!(propertyKey in ret)) {
|
|
70837
|
-
ret[propertyKey] = join(filePath.path, filePath.name);
|
|
70845
|
+
ret[propertyKey] = (0, import_path2.join)(filePath.path, filePath.name);
|
|
70838
70846
|
}
|
|
70839
70847
|
}
|
|
70840
70848
|
return ret;
|
|
@@ -70883,12 +70891,13 @@ var outExtension = ({ format }) => {
|
|
|
70883
70891
|
dts: dtsExtension
|
|
70884
70892
|
};
|
|
70885
70893
|
};
|
|
70886
|
-
export
|
|
70894
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
70895
|
+
0 && (module.exports = {
|
|
70887
70896
|
getConfig,
|
|
70888
70897
|
legacyConfig,
|
|
70889
70898
|
modernConfig,
|
|
70890
70899
|
workerConfig
|
|
70891
|
-
};
|
|
70900
|
+
});
|
|
70892
70901
|
/*! Bundled license information:
|
|
70893
70902
|
|
|
70894
70903
|
is-extglob/index.js:
|