storybook 10.2.0-alpha.1 → 10.2.0-alpha.3
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/dist/_browser-chunks/Color-E5XDEOX4.js +484 -0
- package/dist/_browser-chunks/{WithTooltip-IO6J4KBT.js → WithTooltip-65CFNBJE.js} +70 -70
- package/dist/_browser-chunks/{chunk-45UGUKRX.js → chunk-242VQQM5.js} +1 -1
- package/dist/_browser-chunks/chunk-2NDLAB5X.js +363 -0
- package/dist/_browser-chunks/{chunk-JP7NCOJX.js → chunk-3LY4VQVK.js} +1 -1
- package/dist/_browser-chunks/{chunk-XJNX76GA.js → chunk-54PNNATT.js} +3 -20
- package/dist/_browser-chunks/{chunk-VYJQ7RU5.js → chunk-6QKNWBQB.js} +17 -17
- package/dist/_browser-chunks/chunk-CLSHX4VX.js +4140 -0
- package/dist/_browser-chunks/{chunk-2XZMBGTA.js → chunk-DOSERVNW.js} +1 -1
- package/dist/_browser-chunks/chunk-HPYUT3WS.js +199 -0
- package/dist/_browser-chunks/{chunk-BRX2HXH7.js → chunk-IH6QJILI.js} +1 -1
- package/dist/_browser-chunks/{chunk-AS2HQEYC.js → chunk-IWQGIXJS.js} +1 -1
- package/dist/_browser-chunks/{chunk-UD6FQLAF.js → chunk-JK6U3MQW.js} +3 -3
- package/dist/_browser-chunks/{chunk-CHUV5WSW.js → chunk-LE2LTDW3.js} +1 -1
- package/dist/_browser-chunks/chunk-NZMVUW5T.js +7 -0
- package/dist/_browser-chunks/{chunk-RP5RXKFU.js → chunk-Q5RYDXT3.js} +38 -30
- package/dist/_browser-chunks/{chunk-AXG2BOBL.js → chunk-S6TK43XQ.js} +10 -10
- package/dist/_browser-chunks/{chunk-H6XK3RSC.js → chunk-UAYGIC3L.js} +6 -6
- package/dist/_browser-chunks/{chunk-YKE5S47A.js → chunk-V2VKKSMQ.js} +18 -18
- package/dist/_browser-chunks/chunk-VIJ7SQRO.js +568 -0
- package/dist/_browser-chunks/chunk-XCZK5QUJ.js +0 -0
- package/dist/_browser-chunks/{chunk-3OXGAGBE.js → chunk-XLJZ7AOP.js} +14 -14
- package/dist/_browser-chunks/{chunk-SS2NHR7W.js → chunk-Y6HZAT53.js} +10 -12
- package/dist/_browser-chunks/{chunk-P4F4UVXX.js → chunk-YKABRMAI.js} +15 -15
- package/dist/_browser-chunks/{chunk-WJYERY3R.js → chunk-ZCFV7BZB.js} +2 -2
- package/dist/_browser-chunks/{formatter-QJ4M4OGQ.js → formatter-EIJCOSYU.js} +2 -2
- package/dist/_browser-chunks/{syntaxhighlighter-IQDEPFLK.js → syntaxhighlighter-ED5Y7EFY.js} +119 -119
- package/dist/_node-chunks/{builder-manager-LXL5N6M5.js → builder-manager-U6SN6ZED.js} +22 -22
- package/dist/_node-chunks/{camelcase-64II7H4U.js → camelcase-GLXVGCEV.js} +8 -8
- package/dist/_node-chunks/{chunk-KMTK5W6O.js → chunk-2IFACTU4.js} +19 -19
- package/dist/_node-chunks/{chunk-5NWCBUGD.js → chunk-4VZME5CV.js} +6 -6
- package/dist/_node-chunks/{chunk-PGFQADZC.js → chunk-5SCVRD6U.js} +7 -7
- package/dist/_node-chunks/{chunk-VFTNRF5X.js → chunk-5ZGZ22PV.js} +17 -17
- package/dist/_node-chunks/{chunk-LEDV47V2.js → chunk-6RXAFKLM.js} +15 -15
- package/dist/_node-chunks/chunk-6WHPDWFA.js +61 -0
- package/dist/_node-chunks/chunk-B6AJKALV.js +20 -0
- package/dist/_node-chunks/{chunk-5GNBLJKS.js → chunk-C2G5ML5F.js} +8 -8
- package/dist/_node-chunks/chunk-CFCZ5PKC.js +18 -0
- package/dist/_node-chunks/{chunk-ET4VMMZG.js → chunk-DO56XDMZ.js} +10 -10
- package/dist/_node-chunks/{chunk-SR5ZYD7K.js → chunk-E6CKDKNL.js} +8 -8
- package/dist/_node-chunks/{chunk-77APSTTM.js → chunk-H4BZRGVO.js} +8 -8
- package/dist/_node-chunks/{chunk-TX77W2KY.js → chunk-HGYHQF7Z.js} +597 -593
- package/dist/_node-chunks/{chunk-4EZYJUAC.js → chunk-HKTRFCJD.js} +10 -10
- package/dist/_node-chunks/{chunk-KXDU466E.js → chunk-HYH2IT7K.js} +31 -31
- package/dist/_node-chunks/{chunk-R3WYNAT5.js → chunk-IKSK6CEY.js} +6 -6
- package/dist/_node-chunks/{chunk-VR5LMO3F.js → chunk-KP6H4S3L.js} +9 -9
- package/dist/_node-chunks/{chunk-JYMZJCZ7.js → chunk-LHBDNMEP.js} +66 -72
- package/dist/_node-chunks/{chunk-ZI2RAI3I.js → chunk-MUWHX7GN.js} +6 -6
- package/dist/_node-chunks/{chunk-AJUO2ZU3.js → chunk-N3O3HJMU.js} +9 -9
- package/dist/_node-chunks/{chunk-FTR6MHOX.js → chunk-NKUDIVPF.js} +619 -148
- package/dist/_node-chunks/chunk-O5OIO47U.js +23 -0
- package/dist/_node-chunks/{chunk-GYZQMMTN.js → chunk-Q27GKV7Y.js} +9 -9
- package/dist/_node-chunks/{chunk-4BQMSZKI.js → chunk-Q47IIVLL.js} +165 -191
- package/dist/_node-chunks/{chunk-F7377GT2.js → chunk-SM7QXYN4.js} +48 -32
- package/dist/_node-chunks/{chunk-CLNMK7MP.js → chunk-VKFEIIOF.js} +249 -240
- package/dist/_node-chunks/{chunk-TP6ICLTL.js → chunk-XYVZIRZC.js} +6 -6
- package/dist/_node-chunks/{chunk-GOOBGRAV.js → chunk-YPCGEC3N.js} +165 -21
- package/dist/_node-chunks/{dist-HGQ5R6JU.js → dist-GGDI7EVD.js} +10 -10
- package/dist/_node-chunks/{globby-5XJTXKUJ.js → globby-DY2UCDKN.js} +154 -154
- package/dist/_node-chunks/{lib-XNLTS2RI.js → lib-PFKECSVA.js} +16 -16
- package/dist/_node-chunks/{mdx-N42X6CFJ-7WF3QWVO.js → mdx-N42X6CFJ-OPAAI5WZ.js} +11 -11
- package/dist/_node-chunks/{p-limit-RBKYTJKF.js → p-limit-PMYE6ZFC.js} +8 -8
- package/dist/babel/index.js +10 -10
- package/dist/bin/core.js +40 -34
- package/dist/bin/dispatcher.js +11 -11
- package/dist/bin/loader.js +14 -11
- package/dist/channels/index.js +3 -3
- package/dist/cli/index.d.ts +2 -1
- package/dist/cli/index.js +18 -18
- package/dist/common/index.d.ts +25 -18
- package/dist/common/index.js +19 -19
- package/dist/components/index.d.ts +9 -2
- package/dist/components/index.js +327 -311
- package/dist/core-server/index.js +127 -127
- package/dist/core-server/presets/common-manager.css +2 -2
- package/dist/core-server/presets/common-manager.js +43 -38
- package/dist/core-server/presets/common-override-preset.js +9 -9
- package/dist/core-server/presets/common-preset.js +4390 -173
- package/dist/csf/index.js +39 -35
- package/dist/csf-tools/index.js +9 -9
- package/dist/docs-tools/index.js +6 -5
- package/dist/instrumenter/index.js +1 -1
- package/dist/manager/globals-runtime.js +21087 -14648
- package/dist/manager/runtime.js +148 -132
- package/dist/manager-api/index.js +31 -22
- package/dist/mocking-utils/index.js +14 -14
- package/dist/node-logger/index.d.ts +3 -3
- package/dist/node-logger/index.js +9 -9
- package/dist/preview/runtime.js +22291 -15810
- package/dist/preview-api/index.js +12 -11
- package/dist/preview-errors.js +2 -2
- package/dist/router/index.js +12 -13
- package/dist/server-errors.js +11 -11
- package/dist/telemetry/index.d.ts +1 -1
- package/dist/telemetry/index.js +23 -23
- package/dist/test/index.js +3237 -1653
- package/dist/theming/create.js +3 -3
- package/dist/theming/index.js +38 -38
- package/dist/types/index.d.ts +3 -1
- package/package.json +2 -8
- package/dist/_browser-chunks/Color-TNPFN3FC.js +0 -1097
- package/dist/_browser-chunks/chunk-3IAH5M2U.js +0 -171
- package/dist/_browser-chunks/chunk-AIOS4NGK.js +0 -252
- package/dist/_browser-chunks/chunk-EZSQOHRI.js +0 -18
- package/dist/_browser-chunks/chunk-GFLS4VP3.js +0 -64
- package/dist/_browser-chunks/chunk-QKODTO7K.js +0 -7
- package/dist/_node-chunks/chunk-COQ27OZ3.js +0 -61
- package/dist/_node-chunks/chunk-MC2R4DSD.js +0 -20
- package/dist/_node-chunks/chunk-NEENMS4J.js +0 -18
- package/dist/_node-chunks/chunk-XEPVDCRL.js +0 -23
|
@@ -1,54 +1,54 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_2512dr0mzhu from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_2512dr0mzhu from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_2512dr0mzhu from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_2512dr0mzhu.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_2512dr0mzhu.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_2512dr0mzhu.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
12
|
import {
|
|
13
13
|
versions_default
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-6WHPDWFA.js";
|
|
15
15
|
import {
|
|
16
16
|
require_picomatch
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-2IFACTU4.js";
|
|
18
18
|
import {
|
|
19
19
|
logger
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-Q47IIVLL.js";
|
|
21
21
|
import {
|
|
22
22
|
any,
|
|
23
23
|
from,
|
|
24
24
|
invariant,
|
|
25
25
|
up,
|
|
26
26
|
up2
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-HKTRFCJD.js";
|
|
28
28
|
import {
|
|
29
29
|
importModule,
|
|
30
30
|
resolveModulePath,
|
|
31
31
|
resolvePackageDir,
|
|
32
32
|
safeResolveModule
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-E6CKDKNL.js";
|
|
34
34
|
import {
|
|
35
35
|
join,
|
|
36
36
|
parse,
|
|
37
37
|
resolve
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-5SCVRD6U.js";
|
|
39
39
|
import {
|
|
40
40
|
glob,
|
|
41
41
|
globSync
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-NKUDIVPF.js";
|
|
43
43
|
import {
|
|
44
44
|
slash
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-B6AJKALV.js";
|
|
46
46
|
import {
|
|
47
47
|
require_dist
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-N3O3HJMU.js";
|
|
49
49
|
import {
|
|
50
50
|
require_picocolors
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-Q27GKV7Y.js";
|
|
52
52
|
import {
|
|
53
53
|
__commonJS,
|
|
54
54
|
__esm,
|
|
@@ -56,11 +56,11 @@ import {
|
|
|
56
56
|
__require,
|
|
57
57
|
__toCommonJS,
|
|
58
58
|
__toESM
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-4VZME5CV.js";
|
|
60
60
|
|
|
61
|
-
//
|
|
61
|
+
// ../../node_modules/resolve/lib/homedir.js
|
|
62
62
|
var require_homedir = __commonJS({
|
|
63
|
-
"
|
|
63
|
+
"../../node_modules/resolve/lib/homedir.js"(exports, module) {
|
|
64
64
|
"use strict";
|
|
65
65
|
var os3 = __require("os");
|
|
66
66
|
module.exports = os3.homedir || function() {
|
|
@@ -70,9 +70,9 @@ var require_homedir = __commonJS({
|
|
|
70
70
|
}
|
|
71
71
|
});
|
|
72
72
|
|
|
73
|
-
//
|
|
73
|
+
// ../../node_modules/resolve/lib/caller.js
|
|
74
74
|
var require_caller = __commonJS({
|
|
75
|
-
"
|
|
75
|
+
"../../node_modules/resolve/lib/caller.js"(exports, module) {
|
|
76
76
|
module.exports = function() {
|
|
77
77
|
var origPrepareStackTrace = Error.prepareStackTrace;
|
|
78
78
|
Error.prepareStackTrace = function(_, stack2) {
|
|
@@ -84,9 +84,9 @@ var require_caller = __commonJS({
|
|
|
84
84
|
}
|
|
85
85
|
});
|
|
86
86
|
|
|
87
|
-
//
|
|
87
|
+
// ../../node_modules/path-parse/index.js
|
|
88
88
|
var require_path_parse = __commonJS({
|
|
89
|
-
"
|
|
89
|
+
"../../node_modules/path-parse/index.js"(exports, module) {
|
|
90
90
|
"use strict";
|
|
91
91
|
var isWindows = process.platform === "win32", splitWindowsRe = /^(((?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?[\\\/]?)(?:[^\\\/]*[\\\/])*)((\.{1,2}|[^\\\/]+?|)(\.[^.\/\\]*|))[\\\/]*$/, win32 = {};
|
|
92
92
|
function win32SplitPath(filename) {
|
|
@@ -134,9 +134,9 @@ var require_path_parse = __commonJS({
|
|
|
134
134
|
}
|
|
135
135
|
});
|
|
136
136
|
|
|
137
|
-
//
|
|
137
|
+
// ../../node_modules/resolve/lib/node-modules-paths.js
|
|
138
138
|
var require_node_modules_paths = __commonJS({
|
|
139
|
-
"
|
|
139
|
+
"../../node_modules/resolve/lib/node-modules-paths.js"(exports, module) {
|
|
140
140
|
var path4 = __require("path"), parse4 = path4.parse || require_path_parse(), driveLetterRegex = /^([A-Za-z]:)/, uncPathRegex = /^\\\\/, getNodeModulesDirs = function(absoluteStart, modules) {
|
|
141
141
|
var prefix = "/";
|
|
142
142
|
driveLetterRegex.test(absoluteStart) ? prefix = "" : uncPathRegex.test(absoluteStart) && (prefix = "\\\\");
|
|
@@ -165,9 +165,9 @@ var require_node_modules_paths = __commonJS({
|
|
|
165
165
|
}
|
|
166
166
|
});
|
|
167
167
|
|
|
168
|
-
//
|
|
168
|
+
// ../../node_modules/resolve/lib/normalize-options.js
|
|
169
169
|
var require_normalize_options = __commonJS({
|
|
170
|
-
"
|
|
170
|
+
"../../node_modules/resolve/lib/normalize-options.js"(exports, module) {
|
|
171
171
|
var path4 = __require("path");
|
|
172
172
|
module.exports = function(_, opts) {
|
|
173
173
|
if (opts = opts || {}, opts.forceNodeResolution || !process.versions.pnp)
|
|
@@ -221,9 +221,9 @@ var require_normalize_options = __commonJS({
|
|
|
221
221
|
}
|
|
222
222
|
});
|
|
223
223
|
|
|
224
|
-
//
|
|
224
|
+
// ../../node_modules/function-bind/implementation.js
|
|
225
225
|
var require_implementation = __commonJS({
|
|
226
|
-
"
|
|
226
|
+
"../../node_modules/function-bind/implementation.js"(exports, module) {
|
|
227
227
|
"use strict";
|
|
228
228
|
var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ", toStr = Object.prototype.toString, max = Math.max, funcType = "[object Function]", concatty = function(a, b) {
|
|
229
229
|
for (var arr = [], i = 0; i < a.length; i += 1)
|
|
@@ -268,27 +268,27 @@ var require_implementation = __commonJS({
|
|
|
268
268
|
}
|
|
269
269
|
});
|
|
270
270
|
|
|
271
|
-
//
|
|
271
|
+
// ../../node_modules/function-bind/index.js
|
|
272
272
|
var require_function_bind = __commonJS({
|
|
273
|
-
"
|
|
273
|
+
"../../node_modules/function-bind/index.js"(exports, module) {
|
|
274
274
|
"use strict";
|
|
275
275
|
var implementation = require_implementation();
|
|
276
276
|
module.exports = Function.prototype.bind || implementation;
|
|
277
277
|
}
|
|
278
278
|
});
|
|
279
279
|
|
|
280
|
-
//
|
|
280
|
+
// ../../node_modules/hasown/index.js
|
|
281
281
|
var require_hasown = __commonJS({
|
|
282
|
-
"
|
|
282
|
+
"../../node_modules/hasown/index.js"(exports, module) {
|
|
283
283
|
"use strict";
|
|
284
284
|
var call = Function.prototype.call, $hasOwn = Object.prototype.hasOwnProperty, bind = require_function_bind();
|
|
285
285
|
module.exports = bind.call(call, $hasOwn);
|
|
286
286
|
}
|
|
287
287
|
});
|
|
288
288
|
|
|
289
|
-
//
|
|
289
|
+
// ../../node_modules/is-core-module/core.json
|
|
290
290
|
var require_core = __commonJS({
|
|
291
|
-
"
|
|
291
|
+
"../../node_modules/is-core-module/core.json"(exports, module) {
|
|
292
292
|
module.exports = {
|
|
293
293
|
assert: !0,
|
|
294
294
|
"node:assert": [">= 14.18 && < 15", ">= 16"],
|
|
@@ -454,9 +454,9 @@ var require_core = __commonJS({
|
|
|
454
454
|
}
|
|
455
455
|
});
|
|
456
456
|
|
|
457
|
-
//
|
|
457
|
+
// ../../node_modules/is-core-module/index.js
|
|
458
458
|
var require_is_core_module = __commonJS({
|
|
459
|
-
"
|
|
459
|
+
"../../node_modules/is-core-module/index.js"(exports, module) {
|
|
460
460
|
"use strict";
|
|
461
461
|
var hasOwn = require_hasown();
|
|
462
462
|
function specifierIncluded(current, specifier) {
|
|
@@ -497,9 +497,9 @@ var require_is_core_module = __commonJS({
|
|
|
497
497
|
}
|
|
498
498
|
});
|
|
499
499
|
|
|
500
|
-
//
|
|
500
|
+
// ../../node_modules/resolve/lib/async.js
|
|
501
501
|
var require_async = __commonJS({
|
|
502
|
-
"
|
|
502
|
+
"../../node_modules/resolve/lib/async.js"(exports, module) {
|
|
503
503
|
var fs = __require("fs"), getHomedir = require_homedir(), path4 = __require("path"), caller = require_caller(), nodeModulesPaths = require_node_modules_paths(), normalizeOptions = require_normalize_options(), isCore = require_is_core_module(), realpathFS = process.platform !== "win32" && fs.realpath && typeof fs.realpath.native == "function" ? fs.realpath.native : fs.realpath, relativePathRegex = /^(?:\.\.?(?:\/|$)|\/|([A-Za-z]:)?[/\\])/, windowsDriveRegex = /^\w:[/\\]*$/, nodeModulesRegex = /[/\\]node_modules[/\\]*$/, homedir = getHomedir(), defaultPaths = function() {
|
|
504
504
|
return [
|
|
505
505
|
path4.join(homedir, ".node_modules"),
|
|
@@ -705,9 +705,9 @@ var require_async = __commonJS({
|
|
|
705
705
|
}
|
|
706
706
|
});
|
|
707
707
|
|
|
708
|
-
//
|
|
708
|
+
// ../../node_modules/resolve/lib/core.json
|
|
709
709
|
var require_core2 = __commonJS({
|
|
710
|
-
"
|
|
710
|
+
"../../node_modules/resolve/lib/core.json"(exports, module) {
|
|
711
711
|
module.exports = {
|
|
712
712
|
assert: !0,
|
|
713
713
|
"node:assert": [">= 14.18 && < 15", ">= 16"],
|
|
@@ -873,9 +873,9 @@ var require_core2 = __commonJS({
|
|
|
873
873
|
}
|
|
874
874
|
});
|
|
875
875
|
|
|
876
|
-
//
|
|
876
|
+
// ../../node_modules/resolve/lib/core.js
|
|
877
877
|
var require_core3 = __commonJS({
|
|
878
|
-
"
|
|
878
|
+
"../../node_modules/resolve/lib/core.js"(exports, module) {
|
|
879
879
|
"use strict";
|
|
880
880
|
var isCoreModule = require_is_core_module(), data = require_core2(), core = {};
|
|
881
881
|
for (mod in data)
|
|
@@ -885,9 +885,9 @@ var require_core3 = __commonJS({
|
|
|
885
885
|
}
|
|
886
886
|
});
|
|
887
887
|
|
|
888
|
-
//
|
|
888
|
+
// ../../node_modules/resolve/lib/is-core.js
|
|
889
889
|
var require_is_core = __commonJS({
|
|
890
|
-
"
|
|
890
|
+
"../../node_modules/resolve/lib/is-core.js"(exports, module) {
|
|
891
891
|
var isCoreModule = require_is_core_module();
|
|
892
892
|
module.exports = function(x) {
|
|
893
893
|
return isCoreModule(x);
|
|
@@ -895,9 +895,9 @@ var require_is_core = __commonJS({
|
|
|
895
895
|
}
|
|
896
896
|
});
|
|
897
897
|
|
|
898
|
-
//
|
|
898
|
+
// ../../node_modules/resolve/lib/sync.js
|
|
899
899
|
var require_sync = __commonJS({
|
|
900
|
-
"
|
|
900
|
+
"../../node_modules/resolve/lib/sync.js"(exports, module) {
|
|
901
901
|
var isCore = require_is_core_module(), fs = __require("fs"), path4 = __require("path"), getHomedir = require_homedir(), caller = require_caller(), nodeModulesPaths = require_node_modules_paths(), normalizeOptions = require_normalize_options(), realpathFS = process.platform !== "win32" && fs.realpathSync && typeof fs.realpathSync.native == "function" ? fs.realpathSync.native : fs.realpathSync, relativePathRegex = /^(?:\.\.?(?:\/|$)|\/|([A-Za-z]:)?[/\\])/, windowsDriveRegex = /^\w:[/\\]*$/, nodeModulesRegex = /[/\\]node_modules[/\\]*$/, homedir = getHomedir(), defaultPaths = function() {
|
|
902
902
|
return [
|
|
903
903
|
path4.join(homedir, ".node_modules"),
|
|
@@ -1035,9 +1035,9 @@ var require_sync = __commonJS({
|
|
|
1035
1035
|
}
|
|
1036
1036
|
});
|
|
1037
1037
|
|
|
1038
|
-
//
|
|
1038
|
+
// ../../node_modules/resolve/index.js
|
|
1039
1039
|
var require_resolve = __commonJS({
|
|
1040
|
-
"
|
|
1040
|
+
"../../node_modules/resolve/index.js"(exports, module) {
|
|
1041
1041
|
var async = require_async();
|
|
1042
1042
|
async.core = require_core3();
|
|
1043
1043
|
async.isCore = require_is_core();
|
|
@@ -1046,9 +1046,9 @@ var require_resolve = __commonJS({
|
|
|
1046
1046
|
}
|
|
1047
1047
|
});
|
|
1048
1048
|
|
|
1049
|
-
//
|
|
1049
|
+
// ../../node_modules/tinyglobby/node_modules/picomatch/lib/constants.js
|
|
1050
1050
|
var require_constants = __commonJS({
|
|
1051
|
-
"
|
|
1051
|
+
"../../node_modules/tinyglobby/node_modules/picomatch/lib/constants.js"(exports, module) {
|
|
1052
1052
|
"use strict";
|
|
1053
1053
|
var WIN_NO_SLASH = "[^\\\\/]", ONE_CHAR = "(?=.)", QMARK = "[^/]", END_ANCHOR = "(?:\\/|$)", START_ANCHOR = "(?:^|\\/)", DOTS_SLASH = `\\.{1,2}${END_ANCHOR}`, NO_DOT = "(?!\\.)", NO_DOTS = `(?!${START_ANCHOR}${DOTS_SLASH})`, NO_DOT_SLASH = `(?!\\.{0,1}${END_ANCHOR})`, NO_DOTS_SLASH = `(?!${DOTS_SLASH})`, QMARK_NO_DOT = "[^.\\/]", STAR = `${QMARK}*?`, SEP = "/", POSIX_CHARS = {
|
|
1054
1054
|
DOT_LITERAL: "\\.",
|
|
@@ -1225,9 +1225,9 @@ var require_constants = __commonJS({
|
|
|
1225
1225
|
}
|
|
1226
1226
|
});
|
|
1227
1227
|
|
|
1228
|
-
//
|
|
1228
|
+
// ../../node_modules/tinyglobby/node_modules/picomatch/lib/utils.js
|
|
1229
1229
|
var require_utils = __commonJS({
|
|
1230
|
-
"
|
|
1230
|
+
"../../node_modules/tinyglobby/node_modules/picomatch/lib/utils.js"(exports) {
|
|
1231
1231
|
"use strict";
|
|
1232
1232
|
var {
|
|
1233
1233
|
REGEX_BACKSLASH,
|
|
@@ -1267,9 +1267,9 @@ var require_utils = __commonJS({
|
|
|
1267
1267
|
}
|
|
1268
1268
|
});
|
|
1269
1269
|
|
|
1270
|
-
//
|
|
1270
|
+
// ../../node_modules/tinyglobby/node_modules/picomatch/lib/scan.js
|
|
1271
1271
|
var require_scan = __commonJS({
|
|
1272
|
-
"
|
|
1272
|
+
"../../node_modules/tinyglobby/node_modules/picomatch/lib/scan.js"(exports, module) {
|
|
1273
1273
|
"use strict";
|
|
1274
1274
|
var utils = require_utils(), {
|
|
1275
1275
|
CHAR_ASTERISK,
|
|
@@ -1453,9 +1453,9 @@ var require_scan = __commonJS({
|
|
|
1453
1453
|
}
|
|
1454
1454
|
});
|
|
1455
1455
|
|
|
1456
|
-
//
|
|
1456
|
+
// ../../node_modules/tinyglobby/node_modules/picomatch/lib/parse.js
|
|
1457
1457
|
var require_parse = __commonJS({
|
|
1458
|
-
"
|
|
1458
|
+
"../../node_modules/tinyglobby/node_modules/picomatch/lib/parse.js"(exports, module) {
|
|
1459
1459
|
"use strict";
|
|
1460
1460
|
var constants4 = require_constants(), utils = require_utils(), {
|
|
1461
1461
|
MAX_LENGTH,
|
|
@@ -1896,9 +1896,9 @@ var require_parse = __commonJS({
|
|
|
1896
1896
|
}
|
|
1897
1897
|
});
|
|
1898
1898
|
|
|
1899
|
-
//
|
|
1899
|
+
// ../../node_modules/tinyglobby/node_modules/picomatch/lib/picomatch.js
|
|
1900
1900
|
var require_picomatch2 = __commonJS({
|
|
1901
|
-
"
|
|
1901
|
+
"../../node_modules/tinyglobby/node_modules/picomatch/lib/picomatch.js"(exports, module) {
|
|
1902
1902
|
"use strict";
|
|
1903
1903
|
var scan2 = require_scan(), parse4 = require_parse(), utils = require_utils(), constants4 = require_constants(), isObject2 = (val) => val && typeof val == "object" && !Array.isArray(val), picomatch2 = (glob2, options, returnState = !1) => {
|
|
1904
1904
|
if (Array.isArray(glob2)) {
|
|
@@ -1967,9 +1967,9 @@ var require_picomatch2 = __commonJS({
|
|
|
1967
1967
|
}
|
|
1968
1968
|
});
|
|
1969
1969
|
|
|
1970
|
-
//
|
|
1970
|
+
// ../../node_modules/tinyglobby/node_modules/picomatch/index.js
|
|
1971
1971
|
var require_picomatch3 = __commonJS({
|
|
1972
|
-
"
|
|
1972
|
+
"../../node_modules/tinyglobby/node_modules/picomatch/index.js"(exports, module) {
|
|
1973
1973
|
"use strict";
|
|
1974
1974
|
var pico3 = require_picomatch2(), utils = require_utils();
|
|
1975
1975
|
function picomatch2(glob2, options, returnState = !1) {
|
|
@@ -1980,9 +1980,9 @@ var require_picomatch3 = __commonJS({
|
|
|
1980
1980
|
}
|
|
1981
1981
|
});
|
|
1982
1982
|
|
|
1983
|
-
//
|
|
1983
|
+
// ../../node_modules/isexe/windows.js
|
|
1984
1984
|
var require_windows = __commonJS({
|
|
1985
|
-
"
|
|
1985
|
+
"../../node_modules/isexe/windows.js"(exports, module) {
|
|
1986
1986
|
module.exports = isexe;
|
|
1987
1987
|
isexe.sync = sync2;
|
|
1988
1988
|
var fs = __require("fs");
|
|
@@ -2011,9 +2011,9 @@ var require_windows = __commonJS({
|
|
|
2011
2011
|
}
|
|
2012
2012
|
});
|
|
2013
2013
|
|
|
2014
|
-
//
|
|
2014
|
+
// ../../node_modules/isexe/mode.js
|
|
2015
2015
|
var require_mode = __commonJS({
|
|
2016
|
-
"
|
|
2016
|
+
"../../node_modules/isexe/mode.js"(exports, module) {
|
|
2017
2017
|
module.exports = isexe;
|
|
2018
2018
|
isexe.sync = sync2;
|
|
2019
2019
|
var fs = __require("fs");
|
|
@@ -2035,9 +2035,9 @@ var require_mode = __commonJS({
|
|
|
2035
2035
|
}
|
|
2036
2036
|
});
|
|
2037
2037
|
|
|
2038
|
-
//
|
|
2038
|
+
// ../../node_modules/isexe/index.js
|
|
2039
2039
|
var require_isexe = __commonJS({
|
|
2040
|
-
"
|
|
2040
|
+
"../../node_modules/isexe/index.js"(exports, module) {
|
|
2041
2041
|
var fs = __require("fs"), core;
|
|
2042
2042
|
process.platform === "win32" || global.TESTING_WINDOWS ? core = require_windows() : core = require_mode();
|
|
2043
2043
|
module.exports = isexe;
|
|
@@ -2068,9 +2068,9 @@ var require_isexe = __commonJS({
|
|
|
2068
2068
|
}
|
|
2069
2069
|
});
|
|
2070
2070
|
|
|
2071
|
-
//
|
|
2071
|
+
// ../../node_modules/which/which.js
|
|
2072
2072
|
var require_which = __commonJS({
|
|
2073
|
-
"
|
|
2073
|
+
"../../node_modules/which/which.js"(exports, module) {
|
|
2074
2074
|
var isWindows = process.platform === "win32" || process.env.OSTYPE === "cygwin" || process.env.OSTYPE === "msys", path4 = __require("path"), COLON = isWindows ? ";" : ":", isexe = require_isexe(), getNotFoundError = (cmd) => Object.assign(new Error(`not found: ${cmd}`), { code: "ENOENT" }), getPathInfo = (cmd, opt) => {
|
|
2075
2075
|
let colon = opt.colon || COLON, pathEnv = cmd.match(/\//) || isWindows && cmd.match(/\\/) ? [""] : [
|
|
2076
2076
|
// windows always checks the cwd first
|
|
@@ -2132,9 +2132,9 @@ var require_which = __commonJS({
|
|
|
2132
2132
|
}
|
|
2133
2133
|
});
|
|
2134
2134
|
|
|
2135
|
-
//
|
|
2135
|
+
// ../../node_modules/path-key/index.js
|
|
2136
2136
|
var require_path_key = __commonJS({
|
|
2137
|
-
"
|
|
2137
|
+
"../../node_modules/path-key/index.js"(exports, module) {
|
|
2138
2138
|
"use strict";
|
|
2139
2139
|
var pathKey2 = (options = {}) => {
|
|
2140
2140
|
let environment = options.env || process.env;
|
|
@@ -2145,9 +2145,9 @@ var require_path_key = __commonJS({
|
|
|
2145
2145
|
}
|
|
2146
2146
|
});
|
|
2147
2147
|
|
|
2148
|
-
//
|
|
2148
|
+
// ../../node_modules/cross-spawn/lib/util/resolveCommand.js
|
|
2149
2149
|
var require_resolveCommand = __commonJS({
|
|
2150
|
-
"
|
|
2150
|
+
"../../node_modules/cross-spawn/lib/util/resolveCommand.js"(exports, module) {
|
|
2151
2151
|
"use strict";
|
|
2152
2152
|
var path4 = __require("path"), which = require_which(), getPathKey = require_path_key();
|
|
2153
2153
|
function resolveCommandAttempt(parsed, withoutPathExt) {
|
|
@@ -2176,9 +2176,9 @@ var require_resolveCommand = __commonJS({
|
|
|
2176
2176
|
}
|
|
2177
2177
|
});
|
|
2178
2178
|
|
|
2179
|
-
//
|
|
2179
|
+
// ../../node_modules/cross-spawn/lib/util/escape.js
|
|
2180
2180
|
var require_escape = __commonJS({
|
|
2181
|
-
"
|
|
2181
|
+
"../../node_modules/cross-spawn/lib/util/escape.js"(exports, module) {
|
|
2182
2182
|
"use strict";
|
|
2183
2183
|
var metaCharsRegExp = /([()\][%!^"`<>&|;, *?])/g;
|
|
2184
2184
|
function escapeCommand(arg) {
|
|
@@ -2192,17 +2192,17 @@ var require_escape = __commonJS({
|
|
|
2192
2192
|
}
|
|
2193
2193
|
});
|
|
2194
2194
|
|
|
2195
|
-
//
|
|
2195
|
+
// ../../node_modules/shebang-regex/index.js
|
|
2196
2196
|
var require_shebang_regex = __commonJS({
|
|
2197
|
-
"
|
|
2197
|
+
"../../node_modules/shebang-regex/index.js"(exports, module) {
|
|
2198
2198
|
"use strict";
|
|
2199
2199
|
module.exports = /^#!(.*)/;
|
|
2200
2200
|
}
|
|
2201
2201
|
});
|
|
2202
2202
|
|
|
2203
|
-
//
|
|
2203
|
+
// ../../node_modules/shebang-command/index.js
|
|
2204
2204
|
var require_shebang_command = __commonJS({
|
|
2205
|
-
"
|
|
2205
|
+
"../../node_modules/shebang-command/index.js"(exports, module) {
|
|
2206
2206
|
"use strict";
|
|
2207
2207
|
var shebangRegex = require_shebang_regex();
|
|
2208
2208
|
module.exports = (string = "") => {
|
|
@@ -2215,9 +2215,9 @@ var require_shebang_command = __commonJS({
|
|
|
2215
2215
|
}
|
|
2216
2216
|
});
|
|
2217
2217
|
|
|
2218
|
-
//
|
|
2218
|
+
// ../../node_modules/cross-spawn/lib/util/readShebang.js
|
|
2219
2219
|
var require_readShebang = __commonJS({
|
|
2220
|
-
"
|
|
2220
|
+
"../../node_modules/cross-spawn/lib/util/readShebang.js"(exports, module) {
|
|
2221
2221
|
"use strict";
|
|
2222
2222
|
var fs = __require("fs"), shebangCommand = require_shebang_command();
|
|
2223
2223
|
function readShebang(command) {
|
|
@@ -2232,9 +2232,9 @@ var require_readShebang = __commonJS({
|
|
|
2232
2232
|
}
|
|
2233
2233
|
});
|
|
2234
2234
|
|
|
2235
|
-
//
|
|
2235
|
+
// ../../node_modules/cross-spawn/lib/parse.js
|
|
2236
2236
|
var require_parse2 = __commonJS({
|
|
2237
|
-
"
|
|
2237
|
+
"../../node_modules/cross-spawn/lib/parse.js"(exports, module) {
|
|
2238
2238
|
"use strict";
|
|
2239
2239
|
var path4 = __require("path"), resolveCommand2 = require_resolveCommand(), escape = require_escape(), readShebang = require_readShebang(), isWin2 = process.platform === "win32", isExecutableRegExp = /\.(?:com|exe)$/i, isCmdShimRegExp = /node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;
|
|
2240
2240
|
function detectShebang(parsed) {
|
|
@@ -2272,9 +2272,9 @@ var require_parse2 = __commonJS({
|
|
|
2272
2272
|
}
|
|
2273
2273
|
});
|
|
2274
2274
|
|
|
2275
|
-
//
|
|
2275
|
+
// ../../node_modules/cross-spawn/lib/enoent.js
|
|
2276
2276
|
var require_enoent = __commonJS({
|
|
2277
|
-
"
|
|
2277
|
+
"../../node_modules/cross-spawn/lib/enoent.js"(exports, module) {
|
|
2278
2278
|
"use strict";
|
|
2279
2279
|
var isWin2 = process.platform === "win32";
|
|
2280
2280
|
function notFoundError(original, syscall) {
|
|
@@ -2314,9 +2314,9 @@ var require_enoent = __commonJS({
|
|
|
2314
2314
|
}
|
|
2315
2315
|
});
|
|
2316
2316
|
|
|
2317
|
-
//
|
|
2317
|
+
// ../../node_modules/cross-spawn/index.js
|
|
2318
2318
|
var require_cross_spawn = __commonJS({
|
|
2319
|
-
"
|
|
2319
|
+
"../../node_modules/cross-spawn/index.js"(exports, module) {
|
|
2320
2320
|
"use strict";
|
|
2321
2321
|
var cp = __require("child_process"), parse4 = require_parse2(), enoent = require_enoent();
|
|
2322
2322
|
function spawn(command, args, options) {
|
|
@@ -2335,9 +2335,9 @@ var require_cross_spawn = __commonJS({
|
|
|
2335
2335
|
}
|
|
2336
2336
|
});
|
|
2337
2337
|
|
|
2338
|
-
//
|
|
2338
|
+
// ../../node_modules/merge-stream/index.js
|
|
2339
2339
|
var require_merge_stream = __commonJS({
|
|
2340
|
-
"
|
|
2340
|
+
"../../node_modules/merge-stream/index.js"(exports, module) {
|
|
2341
2341
|
"use strict";
|
|
2342
2342
|
var { PassThrough } = __require("stream");
|
|
2343
2343
|
module.exports = function() {
|
|
@@ -2358,7 +2358,7 @@ var require_merge_stream = __commonJS({
|
|
|
2358
2358
|
}
|
|
2359
2359
|
});
|
|
2360
2360
|
|
|
2361
|
-
//
|
|
2361
|
+
// ../../node_modules/@yarnpkg/fslib/node_modules/tslib/tslib.es6.js
|
|
2362
2362
|
var tslib_es6_exports = {};
|
|
2363
2363
|
__export(tslib_es6_exports, {
|
|
2364
2364
|
__assign: () => __assign,
|
|
@@ -2637,7 +2637,7 @@ function __classPrivateFieldSet(receiver, privateMap, value) {
|
|
|
2637
2637
|
return privateMap.set(receiver, value), value;
|
|
2638
2638
|
}
|
|
2639
2639
|
var extendStatics, __assign, init_tslib_es6 = __esm({
|
|
2640
|
-
"
|
|
2640
|
+
"../../node_modules/@yarnpkg/fslib/node_modules/tslib/tslib.es6.js"() {
|
|
2641
2641
|
extendStatics = function(d, b) {
|
|
2642
2642
|
return extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
|
|
2643
2643
|
d2.__proto__ = b2;
|
|
@@ -2657,9 +2657,9 @@ var extendStatics, __assign, init_tslib_es6 = __esm({
|
|
|
2657
2657
|
}
|
|
2658
2658
|
});
|
|
2659
2659
|
|
|
2660
|
-
//
|
|
2660
|
+
// ../../node_modules/@yarnpkg/fslib/lib/constants.js
|
|
2661
2661
|
var require_constants2 = __commonJS({
|
|
2662
|
-
"
|
|
2662
|
+
"../../node_modules/@yarnpkg/fslib/lib/constants.js"(exports) {
|
|
2663
2663
|
"use strict";
|
|
2664
2664
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
2665
2665
|
exports.SAFE_TIME = exports.S_IFLNK = exports.S_IFREG = exports.S_IFDIR = exports.S_IFMT = void 0;
|
|
@@ -2671,9 +2671,9 @@ var require_constants2 = __commonJS({
|
|
|
2671
2671
|
}
|
|
2672
2672
|
});
|
|
2673
2673
|
|
|
2674
|
-
//
|
|
2674
|
+
// ../../node_modules/@yarnpkg/fslib/lib/statUtils.js
|
|
2675
2675
|
var require_statUtils = __commonJS({
|
|
2676
|
-
"
|
|
2676
|
+
"../../node_modules/@yarnpkg/fslib/lib/statUtils.js"(exports) {
|
|
2677
2677
|
"use strict";
|
|
2678
2678
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
2679
2679
|
exports.areStatsEqual = exports.convertToBigIntStats = exports.clearStats = exports.makeEmptyStats = exports.makeDefaultStats = exports.BigIntStatsEntry = exports.StatEntry = exports.DirEntry = exports.DEFAULT_MODE = void 0;
|
|
@@ -2797,9 +2797,9 @@ var require_statUtils = __commonJS({
|
|
|
2797
2797
|
}
|
|
2798
2798
|
});
|
|
2799
2799
|
|
|
2800
|
-
//
|
|
2800
|
+
// ../../node_modules/@yarnpkg/fslib/lib/path.js
|
|
2801
2801
|
var require_path = __commonJS({
|
|
2802
|
-
"
|
|
2802
|
+
"../../node_modules/@yarnpkg/fslib/lib/path.js"(exports) {
|
|
2803
2803
|
"use strict";
|
|
2804
2804
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
2805
2805
|
exports.toFilename = exports.convertPath = exports.ppath = exports.npath = exports.Filename = exports.PortablePath = void 0;
|
|
@@ -2869,9 +2869,9 @@ var require_path = __commonJS({
|
|
|
2869
2869
|
}
|
|
2870
2870
|
});
|
|
2871
2871
|
|
|
2872
|
-
//
|
|
2872
|
+
// ../../node_modules/@yarnpkg/fslib/lib/algorithms/copyPromise.js
|
|
2873
2873
|
var require_copyPromise = __commonJS({
|
|
2874
|
-
"
|
|
2874
|
+
"../../node_modules/@yarnpkg/fslib/lib/algorithms/copyPromise.js"(exports) {
|
|
2875
2875
|
"use strict";
|
|
2876
2876
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
2877
2877
|
exports.copyPromise = exports.LinkStrategy = void 0;
|
|
@@ -2981,9 +2981,9 @@ var require_copyPromise = __commonJS({
|
|
|
2981
2981
|
}
|
|
2982
2982
|
});
|
|
2983
2983
|
|
|
2984
|
-
//
|
|
2984
|
+
// ../../node_modules/@yarnpkg/fslib/lib/errors.js
|
|
2985
2985
|
var require_errors = __commonJS({
|
|
2986
|
-
"
|
|
2986
|
+
"../../node_modules/@yarnpkg/fslib/lib/errors.js"(exports) {
|
|
2987
2987
|
"use strict";
|
|
2988
2988
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
2989
2989
|
exports.LibzipError = exports.ERR_DIR_CLOSED = exports.EOPNOTSUPP = exports.ENOTEMPTY = exports.EROFS = exports.EEXIST = exports.EISDIR = exports.ENOTDIR = exports.ENOENT = exports.EBADF = exports.EINVAL = exports.ENOSYS = exports.EBUSY = void 0;
|
|
@@ -3047,9 +3047,9 @@ var require_errors = __commonJS({
|
|
|
3047
3047
|
}
|
|
3048
3048
|
});
|
|
3049
3049
|
|
|
3050
|
-
//
|
|
3050
|
+
// ../../node_modules/@yarnpkg/fslib/lib/algorithms/opendir.js
|
|
3051
3051
|
var require_opendir = __commonJS({
|
|
3052
|
-
"
|
|
3052
|
+
"../../node_modules/@yarnpkg/fslib/lib/algorithms/opendir.js"(exports) {
|
|
3053
3053
|
"use strict";
|
|
3054
3054
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
3055
3055
|
exports.opendir = exports.CustomDir = void 0;
|
|
@@ -3099,9 +3099,9 @@ var require_opendir = __commonJS({
|
|
|
3099
3099
|
}
|
|
3100
3100
|
});
|
|
3101
3101
|
|
|
3102
|
-
//
|
|
3102
|
+
// ../../node_modules/@yarnpkg/fslib/lib/FakeFS.js
|
|
3103
3103
|
var require_FakeFS = __commonJS({
|
|
3104
|
-
"
|
|
3104
|
+
"../../node_modules/@yarnpkg/fslib/lib/FakeFS.js"(exports) {
|
|
3105
3105
|
"use strict";
|
|
3106
3106
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
3107
3107
|
exports.normalizeLineEndings = exports.BasePortableFakeFS = exports.FakeFS = void 0;
|
|
@@ -3401,9 +3401,9 @@ var require_FakeFS = __commonJS({
|
|
|
3401
3401
|
}
|
|
3402
3402
|
});
|
|
3403
3403
|
|
|
3404
|
-
//
|
|
3404
|
+
// ../../node_modules/@yarnpkg/fslib/lib/NodeFS.js
|
|
3405
3405
|
var require_NodeFS = __commonJS({
|
|
3406
|
-
"
|
|
3406
|
+
"../../node_modules/@yarnpkg/fslib/lib/NodeFS.js"(exports) {
|
|
3407
3407
|
"use strict";
|
|
3408
3408
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
3409
3409
|
exports.NodeFS = void 0;
|
|
@@ -3718,9 +3718,9 @@ var require_NodeFS = __commonJS({
|
|
|
3718
3718
|
}
|
|
3719
3719
|
});
|
|
3720
3720
|
|
|
3721
|
-
//
|
|
3721
|
+
// ../../node_modules/@yarnpkg/fslib/lib/algorithms/watchFile/CustomStatWatcher.js
|
|
3722
3722
|
var require_CustomStatWatcher = __commonJS({
|
|
3723
|
-
"
|
|
3723
|
+
"../../node_modules/@yarnpkg/fslib/lib/algorithms/watchFile/CustomStatWatcher.js"(exports) {
|
|
3724
3724
|
"use strict";
|
|
3725
3725
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
3726
3726
|
exports.CustomStatWatcher = exports.assertStatus = exports.Status = exports.Event = void 0;
|
|
@@ -3818,9 +3818,9 @@ var require_CustomStatWatcher = __commonJS({
|
|
|
3818
3818
|
}
|
|
3819
3819
|
});
|
|
3820
3820
|
|
|
3821
|
-
//
|
|
3821
|
+
// ../../node_modules/@yarnpkg/fslib/lib/algorithms/watchFile.js
|
|
3822
3822
|
var require_watchFile = __commonJS({
|
|
3823
|
-
"
|
|
3823
|
+
"../../node_modules/@yarnpkg/fslib/lib/algorithms/watchFile.js"(exports) {
|
|
3824
3824
|
"use strict";
|
|
3825
3825
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
3826
3826
|
exports.unwatchAllFiles = exports.unwatchFile = exports.watchFile = void 0;
|
|
@@ -3863,9 +3863,9 @@ var require_watchFile = __commonJS({
|
|
|
3863
3863
|
}
|
|
3864
3864
|
});
|
|
3865
3865
|
|
|
3866
|
-
//
|
|
3866
|
+
// ../../node_modules/@yarnpkg/fslib/lib/ZipFS.js
|
|
3867
3867
|
var require_ZipFS = __commonJS({
|
|
3868
|
-
"
|
|
3868
|
+
"../../node_modules/@yarnpkg/fslib/lib/ZipFS.js"(exports) {
|
|
3869
3869
|
"use strict";
|
|
3870
3870
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
3871
3871
|
exports.ZipFS = exports.makeEmptyArchive = exports.DEFAULT_COMPRESSION_LEVEL = void 0;
|
|
@@ -4732,9 +4732,9 @@ var require_ZipFS = __commonJS({
|
|
|
4732
4732
|
}
|
|
4733
4733
|
});
|
|
4734
4734
|
|
|
4735
|
-
//
|
|
4735
|
+
// ../../node_modules/@yarnpkg/fslib/lib/ProxiedFS.js
|
|
4736
4736
|
var require_ProxiedFS = __commonJS({
|
|
4737
|
-
"
|
|
4737
|
+
"../../node_modules/@yarnpkg/fslib/lib/ProxiedFS.js"(exports) {
|
|
4738
4738
|
"use strict";
|
|
4739
4739
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
4740
4740
|
exports.ProxiedFS = void 0;
|
|
@@ -4969,9 +4969,9 @@ var require_ProxiedFS = __commonJS({
|
|
|
4969
4969
|
}
|
|
4970
4970
|
});
|
|
4971
4971
|
|
|
4972
|
-
//
|
|
4972
|
+
// ../../node_modules/@yarnpkg/fslib/lib/AliasFS.js
|
|
4973
4973
|
var require_AliasFS = __commonJS({
|
|
4974
|
-
"
|
|
4974
|
+
"../../node_modules/@yarnpkg/fslib/lib/AliasFS.js"(exports) {
|
|
4975
4975
|
"use strict";
|
|
4976
4976
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
4977
4977
|
exports.AliasFS = void 0;
|
|
@@ -4996,9 +4996,9 @@ var require_AliasFS = __commonJS({
|
|
|
4996
4996
|
}
|
|
4997
4997
|
});
|
|
4998
4998
|
|
|
4999
|
-
//
|
|
4999
|
+
// ../../node_modules/@yarnpkg/fslib/lib/CwdFS.js
|
|
5000
5000
|
var require_CwdFS = __commonJS({
|
|
5001
|
-
"
|
|
5001
|
+
"../../node_modules/@yarnpkg/fslib/lib/CwdFS.js"(exports) {
|
|
5002
5002
|
"use strict";
|
|
5003
5003
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
5004
5004
|
exports.CwdFS = void 0;
|
|
@@ -5023,9 +5023,9 @@ var require_CwdFS = __commonJS({
|
|
|
5023
5023
|
}
|
|
5024
5024
|
});
|
|
5025
5025
|
|
|
5026
|
-
//
|
|
5026
|
+
// ../../node_modules/@yarnpkg/fslib/lib/JailFS.js
|
|
5027
5027
|
var require_JailFS = __commonJS({
|
|
5028
|
-
"
|
|
5028
|
+
"../../node_modules/@yarnpkg/fslib/lib/JailFS.js"(exports) {
|
|
5029
5029
|
"use strict";
|
|
5030
5030
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
5031
5031
|
exports.JailFS = void 0;
|
|
@@ -5058,9 +5058,9 @@ var require_JailFS = __commonJS({
|
|
|
5058
5058
|
}
|
|
5059
5059
|
});
|
|
5060
5060
|
|
|
5061
|
-
//
|
|
5061
|
+
// ../../node_modules/@yarnpkg/fslib/lib/LazyFS.js
|
|
5062
5062
|
var require_LazyFS = __commonJS({
|
|
5063
|
-
"
|
|
5063
|
+
"../../node_modules/@yarnpkg/fslib/lib/LazyFS.js"(exports) {
|
|
5064
5064
|
"use strict";
|
|
5065
5065
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
5066
5066
|
exports.LazyFS = void 0;
|
|
@@ -5085,9 +5085,9 @@ var require_LazyFS = __commonJS({
|
|
|
5085
5085
|
}
|
|
5086
5086
|
});
|
|
5087
5087
|
|
|
5088
|
-
//
|
|
5088
|
+
// ../../node_modules/@yarnpkg/fslib/lib/NoFS.js
|
|
5089
5089
|
var require_NoFS = __commonJS({
|
|
5090
|
-
"
|
|
5090
|
+
"../../node_modules/@yarnpkg/fslib/lib/NoFS.js"(exports) {
|
|
5091
5091
|
"use strict";
|
|
5092
5092
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
5093
5093
|
exports.NoFS = void 0;
|
|
@@ -5305,9 +5305,9 @@ var require_NoFS = __commonJS({
|
|
|
5305
5305
|
}
|
|
5306
5306
|
});
|
|
5307
5307
|
|
|
5308
|
-
//
|
|
5308
|
+
// ../../node_modules/@yarnpkg/fslib/lib/PosixFS.js
|
|
5309
5309
|
var require_PosixFS = __commonJS({
|
|
5310
|
-
"
|
|
5310
|
+
"../../node_modules/@yarnpkg/fslib/lib/PosixFS.js"(exports) {
|
|
5311
5311
|
"use strict";
|
|
5312
5312
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
5313
5313
|
exports.PosixFS = void 0;
|
|
@@ -5326,9 +5326,9 @@ var require_PosixFS = __commonJS({
|
|
|
5326
5326
|
}
|
|
5327
5327
|
});
|
|
5328
5328
|
|
|
5329
|
-
//
|
|
5329
|
+
// ../../node_modules/@yarnpkg/fslib/lib/VirtualFS.js
|
|
5330
5330
|
var require_VirtualFS = __commonJS({
|
|
5331
|
-
"
|
|
5331
|
+
"../../node_modules/@yarnpkg/fslib/lib/VirtualFS.js"(exports) {
|
|
5332
5332
|
"use strict";
|
|
5333
5333
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
5334
5334
|
exports.VirtualFS = void 0;
|
|
@@ -5399,9 +5399,9 @@ var require_VirtualFS = __commonJS({
|
|
|
5399
5399
|
}
|
|
5400
5400
|
});
|
|
5401
5401
|
|
|
5402
|
-
//
|
|
5402
|
+
// ../../node_modules/@yarnpkg/fslib/lib/ZipOpenFS.js
|
|
5403
5403
|
var require_ZipOpenFS = __commonJS({
|
|
5404
|
-
"
|
|
5404
|
+
"../../node_modules/@yarnpkg/fslib/lib/ZipOpenFS.js"(exports) {
|
|
5405
5405
|
"use strict";
|
|
5406
5406
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
5407
5407
|
exports.ZipOpenFS = exports.getArchivePart = void 0;
|
|
@@ -5949,9 +5949,9 @@ var require_ZipOpenFS = __commonJS({
|
|
|
5949
5949
|
}
|
|
5950
5950
|
});
|
|
5951
5951
|
|
|
5952
|
-
//
|
|
5952
|
+
// ../../node_modules/@yarnpkg/fslib/lib/NodePathFS.js
|
|
5953
5953
|
var require_NodePathFS = __commonJS({
|
|
5954
|
-
"
|
|
5954
|
+
"../../node_modules/@yarnpkg/fslib/lib/NodePathFS.js"(exports) {
|
|
5955
5955
|
"use strict";
|
|
5956
5956
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
5957
5957
|
exports.NodePathFS = void 0;
|
|
@@ -5980,9 +5980,9 @@ var require_NodePathFS = __commonJS({
|
|
|
5980
5980
|
}
|
|
5981
5981
|
});
|
|
5982
5982
|
|
|
5983
|
-
//
|
|
5983
|
+
// ../../node_modules/@yarnpkg/fslib/lib/patchFs/FileHandle.js
|
|
5984
5984
|
var require_FileHandle = __commonJS({
|
|
5985
|
-
"
|
|
5985
|
+
"../../node_modules/@yarnpkg/fslib/lib/patchFs/FileHandle.js"(exports) {
|
|
5986
5986
|
"use strict";
|
|
5987
5987
|
var _a, _b, _c, _d;
|
|
5988
5988
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -6168,9 +6168,9 @@ var require_FileHandle = __commonJS({
|
|
|
6168
6168
|
}
|
|
6169
6169
|
});
|
|
6170
6170
|
|
|
6171
|
-
//
|
|
6171
|
+
// ../../node_modules/@yarnpkg/fslib/lib/patchFs/patchFs.js
|
|
6172
6172
|
var require_patchFs = __commonJS({
|
|
6173
|
-
"
|
|
6173
|
+
"../../node_modules/@yarnpkg/fslib/lib/patchFs/patchFs.js"(exports) {
|
|
6174
6174
|
"use strict";
|
|
6175
6175
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
6176
6176
|
exports.extendFs = exports.patchFs = void 0;
|
|
@@ -6360,9 +6360,9 @@ var require_patchFs = __commonJS({
|
|
|
6360
6360
|
}
|
|
6361
6361
|
});
|
|
6362
6362
|
|
|
6363
|
-
//
|
|
6363
|
+
// ../../node_modules/@yarnpkg/fslib/lib/xfs.js
|
|
6364
6364
|
var require_xfs = __commonJS({
|
|
6365
|
-
"
|
|
6365
|
+
"../../node_modules/@yarnpkg/fslib/lib/xfs.js"(exports) {
|
|
6366
6366
|
"use strict";
|
|
6367
6367
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
6368
6368
|
exports.xfs = void 0;
|
|
@@ -6460,9 +6460,9 @@ var require_xfs = __commonJS({
|
|
|
6460
6460
|
}
|
|
6461
6461
|
});
|
|
6462
6462
|
|
|
6463
|
-
//
|
|
6463
|
+
// ../../node_modules/@yarnpkg/fslib/lib/index.js
|
|
6464
6464
|
var require_lib = __commonJS({
|
|
6465
|
-
"
|
|
6465
|
+
"../../node_modules/@yarnpkg/fslib/lib/index.js"(exports) {
|
|
6466
6466
|
"use strict";
|
|
6467
6467
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
6468
6468
|
exports.xfs = exports.extendFs = exports.patchFs = exports.ZipOpenFS = exports.ZipFS = exports.VirtualFS = exports.ProxiedFS = exports.PosixFS = exports.NodeFS = exports.NoFS = exports.LazyFS = exports.JailFS = exports.CwdFS = exports.FakeFS = exports.AliasFS = exports.toFilename = exports.ppath = exports.npath = exports.Filename = exports.PortablePath = exports.DEFAULT_COMPRESSION_LEVEL = exports.normalizeLineEndings = exports.statUtils = exports.CustomDir = exports.opendir = exports.LinkStrategy = exports.constants = void 0;
|
|
@@ -6568,7 +6568,7 @@ var require_lib = __commonJS({
|
|
|
6568
6568
|
}
|
|
6569
6569
|
});
|
|
6570
6570
|
|
|
6571
|
-
//
|
|
6571
|
+
// ../../node_modules/@yarnpkg/libzip/node_modules/tslib/tslib.es6.js
|
|
6572
6572
|
var tslib_es6_exports2 = {};
|
|
6573
6573
|
__export(tslib_es6_exports2, {
|
|
6574
6574
|
__assign: () => __assign2,
|
|
@@ -6847,7 +6847,7 @@ function __classPrivateFieldSet2(receiver, privateMap, value) {
|
|
|
6847
6847
|
return privateMap.set(receiver, value), value;
|
|
6848
6848
|
}
|
|
6849
6849
|
var extendStatics2, __assign2, init_tslib_es62 = __esm({
|
|
6850
|
-
"
|
|
6850
|
+
"../../node_modules/@yarnpkg/libzip/node_modules/tslib/tslib.es6.js"() {
|
|
6851
6851
|
extendStatics2 = function(d, b) {
|
|
6852
6852
|
return extendStatics2 = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
|
|
6853
6853
|
d2.__proto__ = b2;
|
|
@@ -6867,9 +6867,9 @@ var extendStatics2, __assign2, init_tslib_es62 = __esm({
|
|
|
6867
6867
|
}
|
|
6868
6868
|
});
|
|
6869
6869
|
|
|
6870
|
-
//
|
|
6870
|
+
// ../../node_modules/@yarnpkg/libzip/lib/libzipSync.js
|
|
6871
6871
|
var require_libzipSync = __commonJS({
|
|
6872
|
-
"
|
|
6872
|
+
"../../node_modules/@yarnpkg/libzip/lib/libzipSync.js"(exports, module) {
|
|
6873
6873
|
var frozenFs = Object.assign({}, __require("fs")), createModule = (function() {
|
|
6874
6874
|
var _scriptDir = typeof document < "u" && document.currentScript ? document.currentScript.src : void 0;
|
|
6875
6875
|
return typeof __filename < "u" && (_scriptDir = _scriptDir || __filename), function(createModule2) {
|
|
@@ -9080,7 +9080,7 @@ var require_libzipSync = __commonJS({
|
|
|
9080
9080
|
else
|
|
9081
9081
|
throw new Error("Cannot load without read() or XMLHttpRequest.");
|
|
9082
9082
|
},
|
|
9083
|
-
createLazyFile: function(parent, name,
|
|
9083
|
+
createLazyFile: function(parent, name, url2, canRead, canWrite) {
|
|
9084
9084
|
function LazyUint8Array() {
|
|
9085
9085
|
this.lengthKnown = !1, this.chunks = [];
|
|
9086
9086
|
}
|
|
@@ -9093,8 +9093,8 @@ var require_libzipSync = __commonJS({
|
|
|
9093
9093
|
this.getter = getter;
|
|
9094
9094
|
}, LazyUint8Array.prototype.cacheLength = function() {
|
|
9095
9095
|
var xhr = new XMLHttpRequest();
|
|
9096
|
-
if (xhr.open("HEAD",
|
|
9097
|
-
throw new Error("Couldn't load " +
|
|
9096
|
+
if (xhr.open("HEAD", url2, !1), xhr.send(null), !(xhr.status >= 200 && xhr.status < 300 || xhr.status === 304))
|
|
9097
|
+
throw new Error("Couldn't load " + url2 + ". Status: " + xhr.status);
|
|
9098
9098
|
var datalength = Number(xhr.getResponseHeader("Content-length")), header, hasByteServing = (header = xhr.getResponseHeader("Accept-Ranges")) && header === "bytes", usesGzip = (header = xhr.getResponseHeader("Content-Encoding")) && header === "gzip", chunkSize = 1024 * 1024;
|
|
9099
9099
|
hasByteServing || (chunkSize = datalength);
|
|
9100
9100
|
var doXHR = function(from2, to) {
|
|
@@ -9107,9 +9107,9 @@ var require_libzipSync = __commonJS({
|
|
|
9107
9107
|
"only " + datalength + " bytes available! programmer error!"
|
|
9108
9108
|
);
|
|
9109
9109
|
var xhr2 = new XMLHttpRequest();
|
|
9110
|
-
if (xhr2.open("GET",
|
|
9110
|
+
if (xhr2.open("GET", url2, !1), datalength !== chunkSize && xhr2.setRequestHeader("Range", "bytes=" + from2 + "-" + to), typeof Uint8Array < "u" && (xhr2.responseType = "arraybuffer"), xhr2.overrideMimeType && xhr2.overrideMimeType("text/plain; charset=x-user-defined"), xhr2.send(null), !(xhr2.status >= 200 && xhr2.status < 300 || xhr2.status === 304))
|
|
9111
9111
|
throw new Error(
|
|
9112
|
-
"Couldn't load " +
|
|
9112
|
+
"Couldn't load " + url2 + ". Status: " + xhr2.status
|
|
9113
9113
|
);
|
|
9114
9114
|
return xhr2.response !== void 0 ? new Uint8Array(xhr2.response || []) : intArrayFromString(xhr2.responseText || "", !0);
|
|
9115
9115
|
}, lazyArray2 = this;
|
|
@@ -9139,7 +9139,7 @@ var require_libzipSync = __commonJS({
|
|
|
9139
9139
|
});
|
|
9140
9140
|
var properties = { isDevice: !1, contents: lazyArray };
|
|
9141
9141
|
} else
|
|
9142
|
-
var properties = { isDevice: !1, url };
|
|
9142
|
+
var properties = { isDevice: !1, url: url2 };
|
|
9143
9143
|
var node = FS.createFile(parent, name, properties, canRead, canWrite);
|
|
9144
9144
|
properties.contents ? node.contents = properties.contents : properties.url && (node.contents = null, node.url = properties.url), Object.defineProperties(node, {
|
|
9145
9145
|
usedBytes: {
|
|
@@ -9168,7 +9168,7 @@ var require_libzipSync = __commonJS({
|
|
|
9168
9168
|
return size;
|
|
9169
9169
|
}, node.stream_ops = stream_ops, node;
|
|
9170
9170
|
},
|
|
9171
|
-
createPreloadedFile: function(parent, name,
|
|
9171
|
+
createPreloadedFile: function(parent, name, url2, canRead, canWrite, onload, onerror, dontCreateFile, canOwn, preFinish) {
|
|
9172
9172
|
Browser.init();
|
|
9173
9173
|
var fullname = name ? PATH_FS.resolve(PATH.join2(parent, name)) : parent, dep = "cp " + fullname;
|
|
9174
9174
|
function processData(byteArray) {
|
|
@@ -9189,13 +9189,13 @@ var require_libzipSync = __commonJS({
|
|
|
9189
9189
|
}), handled = !0);
|
|
9190
9190
|
}), handled || finish(byteArray);
|
|
9191
9191
|
}
|
|
9192
|
-
addRunDependency(dep), typeof
|
|
9193
|
-
|
|
9192
|
+
addRunDependency(dep), typeof url2 == "string" ? Browser.asyncLoad(
|
|
9193
|
+
url2,
|
|
9194
9194
|
function(byteArray) {
|
|
9195
9195
|
processData(byteArray);
|
|
9196
9196
|
},
|
|
9197
9197
|
onerror
|
|
9198
|
-
) : processData(
|
|
9198
|
+
) : processData(url2);
|
|
9199
9199
|
},
|
|
9200
9200
|
indexedDB: function() {
|
|
9201
9201
|
return window.indexedDB || window.mozIndexedDB || window.webkitIndexedDB || window.msIndexedDB;
|
|
@@ -9775,9 +9775,9 @@ var require_libzipSync = __commonJS({
|
|
|
9775
9775
|
}
|
|
9776
9776
|
});
|
|
9777
9777
|
|
|
9778
|
-
//
|
|
9778
|
+
// ../../node_modules/@yarnpkg/libzip/lib/makeInterface.js
|
|
9779
9779
|
var require_makeInterface = __commonJS({
|
|
9780
|
-
"
|
|
9780
|
+
"../../node_modules/@yarnpkg/libzip/lib/makeInterface.js"(exports) {
|
|
9781
9781
|
"use strict";
|
|
9782
9782
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
9783
9783
|
exports.makeInterface = exports.Errors = void 0;
|
|
@@ -9905,9 +9905,9 @@ var require_makeInterface = __commonJS({
|
|
|
9905
9905
|
}
|
|
9906
9906
|
});
|
|
9907
9907
|
|
|
9908
|
-
//
|
|
9908
|
+
// ../../node_modules/@yarnpkg/libzip/lib/sync.js
|
|
9909
9909
|
var require_sync2 = __commonJS({
|
|
9910
|
-
"
|
|
9910
|
+
"../../node_modules/@yarnpkg/libzip/lib/sync.js"(exports) {
|
|
9911
9911
|
"use strict";
|
|
9912
9912
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
9913
9913
|
exports.getLibzipPromise = exports.getLibzipSync = void 0;
|
|
@@ -10248,12 +10248,12 @@ function createFileSystemCache(options) {
|
|
|
10248
10248
|
// src/common/utils/resolve-path-in-sb-cache.ts
|
|
10249
10249
|
import { join as join4 } from "node:path";
|
|
10250
10250
|
|
|
10251
|
-
//
|
|
10251
|
+
// ../../node_modules/empathic/package.mjs
|
|
10252
10252
|
import { env } from "node:process";
|
|
10253
10253
|
import { dirname, join as join3 } from "node:path";
|
|
10254
10254
|
import { existsSync as existsSync2, mkdirSync as mkdirSync2 } from "node:fs";
|
|
10255
10255
|
|
|
10256
|
-
//
|
|
10256
|
+
// ../../node_modules/empathic/access.mjs
|
|
10257
10257
|
import { accessSync, constants } from "node:fs";
|
|
10258
10258
|
function ok(path4, mode) {
|
|
10259
10259
|
try {
|
|
@@ -10266,7 +10266,7 @@ function writable(path4) {
|
|
|
10266
10266
|
return ok(path4, constants.W_OK);
|
|
10267
10267
|
}
|
|
10268
10268
|
|
|
10269
|
-
//
|
|
10269
|
+
// ../../node_modules/empathic/package.mjs
|
|
10270
10270
|
function up3(options) {
|
|
10271
10271
|
return up2("package.json", options);
|
|
10272
10272
|
}
|
|
@@ -10304,7 +10304,7 @@ import { copyFile, readFile as readFile2, realpath, rm as rm2, writeFile as writ
|
|
|
10304
10304
|
import os from "node:os";
|
|
10305
10305
|
import { join as join5 } from "node:path";
|
|
10306
10306
|
|
|
10307
|
-
//
|
|
10307
|
+
// ../../node_modules/crypto-random-string/index.js
|
|
10308
10308
|
import { promisify } from "util";
|
|
10309
10309
|
import crypto2 from "crypto";
|
|
10310
10310
|
var randomBytesAsync = promisify(crypto2.randomBytes), urlSafeCharacters = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-._~".split(""), numericCharacters = "0123456789".split(""), distinguishableCharacters = "CDEHKMPRTUWXY012458".split(""), asciiPrintableCharacters = "!\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~".split(""), alphanumericCharacters = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""), generateForCustomCharacters = (length, characters) => {
|
|
@@ -10368,7 +10368,7 @@ var randomBytesAsync = promisify(crypto2.randomBytes), urlSafeCharacters = "abcd
|
|
|
10368
10368
|
cryptoRandomString.async = createGenerator(generateForCustomCharactersAsync, generateRandomBytesAsync);
|
|
10369
10369
|
var crypto_random_string_default = cryptoRandomString;
|
|
10370
10370
|
|
|
10371
|
-
//
|
|
10371
|
+
// ../../node_modules/unique-string/index.js
|
|
10372
10372
|
function uniqueString() {
|
|
10373
10373
|
return crypto_random_string_default({ length: 32 });
|
|
10374
10374
|
}
|
|
@@ -10453,12 +10453,12 @@ var predicateFor = (addon) => (entry) => {
|
|
|
10453
10453
|
// src/common/utils/paths.ts
|
|
10454
10454
|
import { join as join6, relative as relative2, resolve as resolve5, sep as sep3 } from "node:path";
|
|
10455
10455
|
|
|
10456
|
-
//
|
|
10456
|
+
// ../../node_modules/tinyglobby/dist/index.mjs
|
|
10457
10457
|
import nativeFs2 from "fs";
|
|
10458
10458
|
import path, { posix as posix2 } from "path";
|
|
10459
10459
|
import { fileURLToPath } from "url";
|
|
10460
10460
|
|
|
10461
|
-
//
|
|
10461
|
+
// ../../node_modules/tinyglobby/node_modules/fdir/dist/index.mjs
|
|
10462
10462
|
import { createRequire } from "module";
|
|
10463
10463
|
import { basename, dirname as dirname2, normalize, relative, resolve as resolve4, sep as sep2 } from "path";
|
|
10464
10464
|
import * as nativeFs from "fs";
|
|
@@ -10838,7 +10838,7 @@ var Builder = class {
|
|
|
10838
10838
|
}
|
|
10839
10839
|
};
|
|
10840
10840
|
|
|
10841
|
-
//
|
|
10841
|
+
// ../../node_modules/tinyglobby/dist/index.mjs
|
|
10842
10842
|
var import_picomatch = __toESM(require_picomatch3(), 1), isReadonlyArray = Array.isArray, isWin = process.platform === "win32", ONLY_PARENT_DIRECTORIES = /^(\/?\.\.)+$/;
|
|
10843
10843
|
function getPartialMatcher(patterns, options = {}) {
|
|
10844
10844
|
let patternsCount = patterns.length, patternsParts = Array(patternsCount), matchers = Array(patternsCount), globstarEnabled = !options.noglobstar;
|
|
@@ -11086,7 +11086,7 @@ function normalizeStoryPath(filename) {
|
|
|
11086
11086
|
|
|
11087
11087
|
// src/common/utils/envs.ts
|
|
11088
11088
|
async function loadEnvs(options = {}) {
|
|
11089
|
-
let { getEnvironment } = await import("./lib-
|
|
11089
|
+
let { getEnvironment } = await import("./lib-PFKECSVA.js"), defaultNodeEnv = options.production ? "production" : "development", env2 = {
|
|
11090
11090
|
// eslint-disable-next-line @typescript-eslint/dot-notation
|
|
11091
11091
|
NODE_ENV: process.env.NODE_ENV || defaultNodeEnv,
|
|
11092
11092
|
NODE_PATH: process.env.NODE_PATH || "",
|
|
@@ -11874,12 +11874,12 @@ var getAutoRefs = async (options) => {
|
|
|
11874
11874
|
}),
|
|
11875
11875
|
{}
|
|
11876
11876
|
);
|
|
11877
|
-
}, checkRef = (
|
|
11877
|
+
}, checkRef = (url2) => fetch(`${url2}/iframe.html`).then(
|
|
11878
11878
|
async ({ ok: ok2, status }) => {
|
|
11879
11879
|
if (ok2) {
|
|
11880
11880
|
if (status !== 200)
|
|
11881
11881
|
return !1;
|
|
11882
|
-
let data = await fetch(`${
|
|
11882
|
+
let data = await fetch(`${url2}/iframe.html`, {
|
|
11883
11883
|
headers: { Accept: "application/json" }
|
|
11884
11884
|
});
|
|
11885
11885
|
if (data.ok && (await data.json().catch(() => ({}))).loginUrl)
|
|
@@ -11888,7 +11888,7 @@ var getAutoRefs = async (options) => {
|
|
|
11888
11888
|
return ok2;
|
|
11889
11889
|
},
|
|
11890
11890
|
() => !1
|
|
11891
|
-
), stripTrailingSlash = (
|
|
11891
|
+
), stripTrailingSlash = (url2) => url2.replace(/\/$/, ""), toTitle = (input) => {
|
|
11892
11892
|
let result = input.replace(/[A-Z]/g, (f) => ` ${f}`).replace(/[-_][A-Z]/gi, (f) => ` ${f.toUpperCase()}`).replace(/-/g, " ").replace(/_/g, " ");
|
|
11893
11893
|
return `${result.substring(0, 1).toUpperCase()}${result.substring(1)}`.trim();
|
|
11894
11894
|
};
|
|
@@ -12134,10 +12134,25 @@ function satisfies2() {
|
|
|
12134
12134
|
|
|
12135
12135
|
// src/common/utils/formatter.ts
|
|
12136
12136
|
async function getPrettier() {
|
|
12137
|
-
|
|
12138
|
-
|
|
12139
|
-
|
|
12140
|
-
|
|
12137
|
+
try {
|
|
12138
|
+
return await import("prettier");
|
|
12139
|
+
} catch {
|
|
12140
|
+
return {
|
|
12141
|
+
AstPath: class {
|
|
12142
|
+
},
|
|
12143
|
+
doc: {},
|
|
12144
|
+
util: {},
|
|
12145
|
+
version: "0.0.0-fallback",
|
|
12146
|
+
resolveConfig: async () => null,
|
|
12147
|
+
format: (content) => Promise.resolve(content),
|
|
12148
|
+
check: () => Promise.resolve(!1),
|
|
12149
|
+
clearConfigCache: () => Promise.resolve(void 0),
|
|
12150
|
+
formatWithCursor: () => Promise.resolve({ formatted: "", cursorOffset: 0 }),
|
|
12151
|
+
getFileInfo: async () => ({ ignored: !1, inferredParser: null }),
|
|
12152
|
+
getSupportInfo: () => Promise.resolve({ languages: [], options: [] }),
|
|
12153
|
+
resolveConfigFile: async () => null
|
|
12154
|
+
};
|
|
12155
|
+
}
|
|
12141
12156
|
}
|
|
12142
12157
|
async function formatFileContent(filePath, content) {
|
|
12143
12158
|
try {
|
|
@@ -12429,26 +12444,26 @@ import { basename as basename3, parse as parse3, relative as relative6 } from "n
|
|
|
12429
12444
|
// src/common/utils/command.ts
|
|
12430
12445
|
import { logger as logger10, prompt as prompt2 } from "storybook/internal/node-logger";
|
|
12431
12446
|
|
|
12432
|
-
// node_modules/execa/index.js
|
|
12447
|
+
// ../../node_modules/execa/index.js
|
|
12433
12448
|
var import_cross_spawn = __toESM(require_cross_spawn(), 1);
|
|
12434
12449
|
import { Buffer as Buffer3 } from "node:buffer";
|
|
12435
12450
|
import path3 from "node:path";
|
|
12436
12451
|
import childProcess from "node:child_process";
|
|
12437
12452
|
import process6 from "node:process";
|
|
12438
12453
|
|
|
12439
|
-
//
|
|
12454
|
+
// ../../node_modules/strip-final-newline/index.js
|
|
12440
12455
|
function stripFinalNewline(input) {
|
|
12441
12456
|
let LF = typeof input == "string" ? `
|
|
12442
12457
|
` : 10, CR = typeof input == "string" ? "\r" : 13;
|
|
12443
12458
|
return input[input.length - 1] === LF && (input = input.slice(0, -1)), input[input.length - 1] === CR && (input = input.slice(0, -1)), input;
|
|
12444
12459
|
}
|
|
12445
12460
|
|
|
12446
|
-
// node_modules/npm-run-path/index.js
|
|
12461
|
+
// ../../node_modules/npm-run-path/index.js
|
|
12447
12462
|
import process2 from "node:process";
|
|
12448
12463
|
import path2 from "node:path";
|
|
12449
|
-
import
|
|
12464
|
+
import url from "node:url";
|
|
12450
12465
|
|
|
12451
|
-
// node_modules/path-key/index.js
|
|
12466
|
+
// ../../node_modules/npm-run-path/node_modules/path-key/index.js
|
|
12452
12467
|
function pathKey(options = {}) {
|
|
12453
12468
|
let {
|
|
12454
12469
|
env: env2 = process.env,
|
|
@@ -12457,30 +12472,24 @@ function pathKey(options = {}) {
|
|
|
12457
12472
|
return platform2 !== "win32" ? "PATH" : Object.keys(env2).reverse().find((key) => key.toUpperCase() === "PATH") || "Path";
|
|
12458
12473
|
}
|
|
12459
12474
|
|
|
12460
|
-
// node_modules/npm-run-path/index.js
|
|
12461
|
-
|
|
12462
|
-
|
|
12463
|
-
|
|
12464
|
-
|
|
12465
|
-
|
|
12466
|
-
|
|
12467
|
-
} = {}) => {
|
|
12468
|
-
let cwdString = cwd instanceof URL ? fileURLToPath2(cwd) : cwd, cwdPath = path2.resolve(cwdString), result = [];
|
|
12469
|
-
return preferLocal && applyPreferLocal(result, cwdPath), addExecPath && applyExecPath(result, execPath, cwdPath), [...result, pathOption].join(path2.delimiter);
|
|
12470
|
-
}, applyPreferLocal = (result, cwdPath) => {
|
|
12471
|
-
let previous;
|
|
12475
|
+
// ../../node_modules/npm-run-path/index.js
|
|
12476
|
+
function npmRunPath(options = {}) {
|
|
12477
|
+
let {
|
|
12478
|
+
cwd = process2.cwd(),
|
|
12479
|
+
path: path_ = process2.env[pathKey()],
|
|
12480
|
+
execPath = process2.execPath
|
|
12481
|
+
} = options, previous, cwdString = cwd instanceof URL ? url.fileURLToPath(cwd) : cwd, cwdPath = path2.resolve(cwdString), result = [];
|
|
12472
12482
|
for (; previous !== cwdPath; )
|
|
12473
12483
|
result.push(path2.join(cwdPath, "node_modules/.bin")), previous = cwdPath, cwdPath = path2.resolve(cwdPath, "..");
|
|
12474
|
-
|
|
12475
|
-
|
|
12476
|
-
|
|
12477
|
-
}, npmRunPathEnv = ({ env: env2 = process2.env, ...options } = {}) => {
|
|
12484
|
+
return result.push(path2.resolve(cwdString, execPath, "..")), [...result, path_].join(path2.delimiter);
|
|
12485
|
+
}
|
|
12486
|
+
function npmRunPathEnv({ env: env2 = process2.env, ...options } = {}) {
|
|
12478
12487
|
env2 = { ...env2 };
|
|
12479
|
-
let
|
|
12480
|
-
return options.path = env2[
|
|
12481
|
-
}
|
|
12488
|
+
let path4 = pathKey({ env: env2 });
|
|
12489
|
+
return options.path = env2[path4], env2[path4] = npmRunPath(options), env2;
|
|
12490
|
+
}
|
|
12482
12491
|
|
|
12483
|
-
// node_modules/mimic-fn/index.js
|
|
12492
|
+
// ../../node_modules/execa/node_modules/mimic-fn/index.js
|
|
12484
12493
|
var copyProperty = (to, from2, property, ignoreNonConfigurable) => {
|
|
12485
12494
|
if (property === "length" || property === "prototype" || property === "arguments" || property === "caller")
|
|
12486
12495
|
return;
|
|
@@ -12503,7 +12512,7 @@ function mimicFunction(to, from2, { ignoreNonConfigurable = !1 } = {}) {
|
|
|
12503
12512
|
return changePrototype(to, from2), changeToString(to, from2, name), to;
|
|
12504
12513
|
}
|
|
12505
12514
|
|
|
12506
|
-
// node_modules/onetime/index.js
|
|
12515
|
+
// ../../node_modules/execa/node_modules/onetime/index.js
|
|
12507
12516
|
var calledFunctions = /* @__PURE__ */ new WeakMap(), onetime = (function_, options = {}) => {
|
|
12508
12517
|
if (typeof function_ != "function")
|
|
12509
12518
|
throw new TypeError("Expected a function");
|
|
@@ -12523,13 +12532,13 @@ onetime.callCount = (function_) => {
|
|
|
12523
12532
|
};
|
|
12524
12533
|
var onetime_default = onetime;
|
|
12525
12534
|
|
|
12526
|
-
// node_modules/execa/lib/error.js
|
|
12535
|
+
// ../../node_modules/execa/lib/error.js
|
|
12527
12536
|
import process3 from "node:process";
|
|
12528
12537
|
|
|
12529
|
-
// node_modules/human-signals/build/src/main.js
|
|
12538
|
+
// ../../node_modules/execa/node_modules/human-signals/build/src/main.js
|
|
12530
12539
|
import { constants as constants3 } from "node:os";
|
|
12531
12540
|
|
|
12532
|
-
// node_modules/human-signals/build/src/realtime.js
|
|
12541
|
+
// ../../node_modules/execa/node_modules/human-signals/build/src/realtime.js
|
|
12533
12542
|
var getRealtimeSignals = () => {
|
|
12534
12543
|
let length = SIGRTMAX - SIGRTMIN + 1;
|
|
12535
12544
|
return Array.from({ length }, getRealtimeSignal);
|
|
@@ -12541,10 +12550,10 @@ var getRealtimeSignals = () => {
|
|
|
12541
12550
|
standard: "posix"
|
|
12542
12551
|
}), SIGRTMIN = 34, SIGRTMAX = 64;
|
|
12543
12552
|
|
|
12544
|
-
// node_modules/human-signals/build/src/signals.js
|
|
12553
|
+
// ../../node_modules/execa/node_modules/human-signals/build/src/signals.js
|
|
12545
12554
|
import { constants as constants2 } from "node:os";
|
|
12546
12555
|
|
|
12547
|
-
// node_modules/human-signals/build/src/core.js
|
|
12556
|
+
// ../../node_modules/execa/node_modules/human-signals/build/src/core.js
|
|
12548
12557
|
var SIGNALS = [
|
|
12549
12558
|
{
|
|
12550
12559
|
name: "SIGHUP",
|
|
@@ -12817,7 +12826,7 @@ var SIGNALS = [
|
|
|
12817
12826
|
}
|
|
12818
12827
|
];
|
|
12819
12828
|
|
|
12820
|
-
// node_modules/human-signals/build/src/signals.js
|
|
12829
|
+
// ../../node_modules/execa/node_modules/human-signals/build/src/signals.js
|
|
12821
12830
|
var getSignals = () => {
|
|
12822
12831
|
let realtimeSignals = getRealtimeSignals();
|
|
12823
12832
|
return [...SIGNALS, ...realtimeSignals].map(normalizeSignal);
|
|
@@ -12835,7 +12844,7 @@ var getSignals = () => {
|
|
|
12835
12844
|
return { name, number: supported ? constantSignal : defaultNumber, description, supported, action, forced, standard };
|
|
12836
12845
|
};
|
|
12837
12846
|
|
|
12838
|
-
// node_modules/human-signals/build/src/main.js
|
|
12847
|
+
// ../../node_modules/execa/node_modules/human-signals/build/src/main.js
|
|
12839
12848
|
var getSignalsByName = () => {
|
|
12840
12849
|
let signals2 = getSignals();
|
|
12841
12850
|
return Object.fromEntries(signals2.map(getSignalByName));
|
|
@@ -12874,7 +12883,7 @@ var getSignalsByName = () => {
|
|
|
12874
12883
|
return signal !== void 0 ? signal : signals2.find((signalA) => signalA.number === number);
|
|
12875
12884
|
}, signalsByNumber = getSignalsByNumber();
|
|
12876
12885
|
|
|
12877
|
-
// node_modules/execa/lib/error.js
|
|
12886
|
+
// ../../node_modules/execa/lib/error.js
|
|
12878
12887
|
var getErrorPrefix = ({ timedOut, timeout, errorCode, signal, signalDescription, exitCode, isCanceled }) => timedOut ? `timed out after ${timeout} milliseconds` : isCanceled ? "was canceled" : errorCode !== void 0 ? `failed with ${errorCode}` : signal !== void 0 ? `was killed with ${signal} (${signalDescription})` : exitCode !== void 0 ? `failed with exit code ${exitCode}` : "failed", makeError = ({
|
|
12879
12888
|
stdout,
|
|
12880
12889
|
stderr,
|
|
@@ -12896,7 +12905,7 @@ ${error.message}` : execaMessage, message = [shortMessage, stderr, stdout].filte
|
|
|
12896
12905
|
return isError ? (error.originalMessage = error.message, error.message = message) : error = new Error(message), error.shortMessage = shortMessage, error.command = command, error.escapedCommand = escapedCommand, error.exitCode = exitCode, error.signal = signal, error.signalDescription = signalDescription, error.stdout = stdout, error.stderr = stderr, error.cwd = cwd, all !== void 0 && (error.all = all), "bufferedData" in error && delete error.bufferedData, error.failed = !0, error.timedOut = !!timedOut, error.isCanceled = isCanceled, error.killed = killed && !timedOut, error;
|
|
12897
12906
|
};
|
|
12898
12907
|
|
|
12899
|
-
// node_modules/execa/lib/stdio.js
|
|
12908
|
+
// ../../node_modules/execa/lib/stdio.js
|
|
12900
12909
|
var aliases = ["stdin", "stdout", "stderr"], hasAlias = (options) => aliases.some((alias) => options[alias] !== void 0), normalizeStdio = (options) => {
|
|
12901
12910
|
if (!options)
|
|
12902
12911
|
return;
|
|
@@ -12916,10 +12925,10 @@ var aliases = ["stdin", "stdout", "stderr"], hasAlias = (options) => aliases.som
|
|
|
12916
12925
|
return stdio === "ipc" ? "ipc" : stdio === void 0 || typeof stdio == "string" ? [stdio, stdio, stdio, "ipc"] : stdio.includes("ipc") ? stdio : [...stdio, "ipc"];
|
|
12917
12926
|
};
|
|
12918
12927
|
|
|
12919
|
-
// node_modules/execa/lib/kill.js
|
|
12928
|
+
// ../../node_modules/execa/lib/kill.js
|
|
12920
12929
|
import os2 from "node:os";
|
|
12921
12930
|
|
|
12922
|
-
// node_modules/signal-exit/dist/mjs/signals.js
|
|
12931
|
+
// ../../node_modules/execa/node_modules/signal-exit/dist/mjs/signals.js
|
|
12923
12932
|
var signals = [];
|
|
12924
12933
|
signals.push("SIGHUP", "SIGINT", "SIGTERM");
|
|
12925
12934
|
process.platform !== "win32" && signals.push(
|
|
@@ -12939,7 +12948,7 @@ process.platform !== "win32" && signals.push(
|
|
|
12939
12948
|
);
|
|
12940
12949
|
process.platform === "linux" && signals.push("SIGIO", "SIGPOLL", "SIGPWR", "SIGSTKFLT");
|
|
12941
12950
|
|
|
12942
|
-
// node_modules/signal-exit/dist/mjs/index.js
|
|
12951
|
+
// ../../node_modules/execa/node_modules/signal-exit/dist/mjs/index.js
|
|
12943
12952
|
var processOk = (process8) => !!process8 && typeof process8 == "object" && typeof process8.removeListener == "function" && typeof process8.emit == "function" && typeof process8.reallyExit == "function" && typeof process8.listeners == "function" && typeof process8.kill == "function" && typeof process8.pid == "number" && typeof process8.on == "function", kExitEmitter = Symbol.for("signal-exit emitter"), global2 = globalThis, ObjectDefineProperty = Object.defineProperty.bind(Object), Emitter = class {
|
|
12944
12953
|
emitted = {
|
|
12945
12954
|
afterExit: !1,
|
|
@@ -13096,7 +13105,7 @@ var processOk = (process8) => !!process8 && typeof process8 == "object" && typeo
|
|
|
13096
13105
|
unload
|
|
13097
13106
|
} = signalExitWrap(processOk(process4) ? new SignalExit(process4) : new SignalExitFallback());
|
|
13098
13107
|
|
|
13099
|
-
// node_modules/execa/lib/kill.js
|
|
13108
|
+
// ../../node_modules/execa/lib/kill.js
|
|
13100
13109
|
var DEFAULT_FORCE_KILL_TIMEOUT = 1e3 * 5, spawnedKill = (kill, signal = "SIGTERM", options = {}) => {
|
|
13101
13110
|
let killResult = kill(signal);
|
|
13102
13111
|
return setKillTimeout(kill, signal, options, killResult), killResult;
|
|
@@ -13142,11 +13151,11 @@ var DEFAULT_FORCE_KILL_TIMEOUT = 1e3 * 5, spawnedKill = (kill, signal = "SIGTERM
|
|
|
13142
13151
|
});
|
|
13143
13152
|
};
|
|
13144
13153
|
|
|
13145
|
-
// node_modules/execa/lib/pipe.js
|
|
13154
|
+
// ../../node_modules/execa/lib/pipe.js
|
|
13146
13155
|
import { createWriteStream as createWriteStream2 } from "node:fs";
|
|
13147
13156
|
import { ChildProcess } from "node:child_process";
|
|
13148
13157
|
|
|
13149
|
-
//
|
|
13158
|
+
// ../../node_modules/execa/node_modules/is-stream/index.js
|
|
13150
13159
|
function isStream(stream) {
|
|
13151
13160
|
return stream !== null && typeof stream == "object" && typeof stream.pipe == "function";
|
|
13152
13161
|
}
|
|
@@ -13154,7 +13163,7 @@ function isWritableStream(stream) {
|
|
|
13154
13163
|
return isStream(stream) && stream.writable !== !1 && typeof stream._write == "function" && typeof stream._writableState == "object";
|
|
13155
13164
|
}
|
|
13156
13165
|
|
|
13157
|
-
// node_modules/execa/lib/pipe.js
|
|
13166
|
+
// ../../node_modules/execa/lib/pipe.js
|
|
13158
13167
|
var isExecaChildProcess = (target) => target instanceof ChildProcess && typeof target.then == "function", pipeToTarget = (spawned, streamName, target) => {
|
|
13159
13168
|
if (typeof target == "string")
|
|
13160
13169
|
return spawned[streamName].pipe(createWriteStream2(target)), spawned;
|
|
@@ -13169,11 +13178,11 @@ var isExecaChildProcess = (target) => target instanceof ChildProcess && typeof t
|
|
|
13169
13178
|
spawned.stdout !== null && (spawned.pipeStdout = pipeToTarget.bind(void 0, spawned, "stdout")), spawned.stderr !== null && (spawned.pipeStderr = pipeToTarget.bind(void 0, spawned, "stderr")), spawned.all !== void 0 && (spawned.pipeAll = pipeToTarget.bind(void 0, spawned, "all"));
|
|
13170
13179
|
};
|
|
13171
13180
|
|
|
13172
|
-
// node_modules/execa/lib/stream.js
|
|
13181
|
+
// ../../node_modules/execa/lib/stream.js
|
|
13173
13182
|
import { createReadStream, readFileSync as readFileSync5 } from "node:fs";
|
|
13174
13183
|
import { setTimeout as setTimeout2 } from "node:timers/promises";
|
|
13175
13184
|
|
|
13176
|
-
// node_modules/get-stream/source/contents.js
|
|
13185
|
+
// ../../node_modules/execa/node_modules/get-stream/source/contents.js
|
|
13177
13186
|
var getStreamContents = async (stream, { init, convertChunk, getSize, truncateChunk, addChunk, getFinalChunk, finalize }, { maxBuffer = Number.POSITIVE_INFINITY } = {}) => {
|
|
13178
13187
|
if (!isAsyncIterable(stream))
|
|
13179
13188
|
throw new Error("The first argument must be a Readable, a ReadableStream, or an async iterable.");
|
|
@@ -13218,13 +13227,13 @@ var getStreamContents = async (stream, { init, convertChunk, getSize, truncateCh
|
|
|
13218
13227
|
}
|
|
13219
13228
|
};
|
|
13220
13229
|
|
|
13221
|
-
// node_modules/get-stream/source/utils.js
|
|
13230
|
+
// ../../node_modules/execa/node_modules/get-stream/source/utils.js
|
|
13222
13231
|
var identity = (value) => value, noop = () => {
|
|
13223
13232
|
}, getContentsProp = ({ contents }) => contents, throwObjectStream = (chunk) => {
|
|
13224
13233
|
throw new Error(`Streams in object mode are not supported: ${String(chunk)}`);
|
|
13225
13234
|
}, getLengthProp = (convertedChunk) => convertedChunk.length;
|
|
13226
13235
|
|
|
13227
|
-
// node_modules/get-stream/source/array-buffer.js
|
|
13236
|
+
// ../../node_modules/execa/node_modules/get-stream/source/array-buffer.js
|
|
13228
13237
|
async function getStreamAsArrayBuffer(stream, options) {
|
|
13229
13238
|
return getStreamContents(stream, arrayBufferMethods, options);
|
|
13230
13239
|
}
|
|
@@ -13258,7 +13267,7 @@ var initArrayBuffer = () => ({ contents: new ArrayBuffer(0) }), useTextEncoder =
|
|
|
13258
13267
|
finalize: finalizeArrayBuffer
|
|
13259
13268
|
};
|
|
13260
13269
|
|
|
13261
|
-
// node_modules/get-stream/source/buffer.js
|
|
13270
|
+
// ../../node_modules/execa/node_modules/get-stream/source/buffer.js
|
|
13262
13271
|
async function getStreamAsBuffer(stream, options) {
|
|
13263
13272
|
if (!("Buffer" in globalThis))
|
|
13264
13273
|
throw new Error("getStreamAsBuffer() is only supported in Node.js");
|
|
@@ -13270,7 +13279,7 @@ async function getStreamAsBuffer(stream, options) {
|
|
|
13270
13279
|
}
|
|
13271
13280
|
var arrayBufferToNodeBuffer = (arrayBuffer) => globalThis.Buffer.from(arrayBuffer);
|
|
13272
13281
|
|
|
13273
|
-
// node_modules/get-stream/source/string.js
|
|
13282
|
+
// ../../node_modules/execa/node_modules/get-stream/source/string.js
|
|
13274
13283
|
async function getStreamAsString(stream, options) {
|
|
13275
13284
|
return getStreamContents(stream, stringMethods, options);
|
|
13276
13285
|
}
|
|
@@ -13294,7 +13303,7 @@ var initString = () => ({ contents: "", textDecoder: new TextDecoder() }), useTe
|
|
|
13294
13303
|
finalize: getContentsProp
|
|
13295
13304
|
};
|
|
13296
13305
|
|
|
13297
|
-
// node_modules/execa/lib/stream.js
|
|
13306
|
+
// ../../node_modules/execa/lib/stream.js
|
|
13298
13307
|
var import_merge_stream = __toESM(require_merge_stream(), 1), validateInputOptions = (input) => {
|
|
13299
13308
|
if (input !== void 0)
|
|
13300
13309
|
throw new TypeError("The `input` and `inputFile` options cannot be both set.");
|
|
@@ -13337,7 +13346,7 @@ var import_merge_stream = __toESM(require_merge_stream(), 1), validateInputOptio
|
|
|
13337
13346
|
}
|
|
13338
13347
|
};
|
|
13339
13348
|
|
|
13340
|
-
// node_modules/execa/lib/promise.js
|
|
13349
|
+
// ../../node_modules/execa/lib/promise.js
|
|
13341
13350
|
var nativePromisePrototype = (async () => {
|
|
13342
13351
|
})().constructor.prototype, descriptors = ["then", "catch", "finally"].map((property) => [
|
|
13343
13352
|
property,
|
|
@@ -13357,7 +13366,7 @@ var nativePromisePrototype = (async () => {
|
|
|
13357
13366
|
});
|
|
13358
13367
|
});
|
|
13359
13368
|
|
|
13360
|
-
// node_modules/execa/lib/command.js
|
|
13369
|
+
// ../../node_modules/execa/lib/command.js
|
|
13361
13370
|
import { Buffer as Buffer2 } from "node:buffer";
|
|
13362
13371
|
import { ChildProcess as ChildProcess2 } from "node:child_process";
|
|
13363
13372
|
var normalizeArgs = (file, args = []) => Array.isArray(args) ? [file, ...args] : [file], NO_ESCAPE_REGEXP = /^[\w.-]+$/, escapeArg = (arg) => typeof arg != "string" || NO_ESCAPE_REGEXP.test(arg) ? arg : `"${arg.replaceAll('"', '\\"')}"`, joinCommand = (file, args) => normalizeArgs(file, args).join(" "), getEscapedCommand = (file, args) => normalizeArgs(file, args).map((arg) => escapeArg(arg)).join(" "), SPACES_REGEXP = / +/g, parseCommand = (command) => {
|
|
@@ -13407,7 +13416,7 @@ var normalizeArgs = (file, args = []) => Array.isArray(args) ? [file, ...args] :
|
|
|
13407
13416
|
return tokens;
|
|
13408
13417
|
};
|
|
13409
13418
|
|
|
13410
|
-
// node_modules/execa/lib/verbose.js
|
|
13419
|
+
// ../../node_modules/execa/lib/verbose.js
|
|
13411
13420
|
import { debuglog } from "node:util";
|
|
13412
13421
|
import process5 from "node:process";
|
|
13413
13422
|
var verboseDefault = debuglog("execa").enabled, padField = (field, padding) => String(field).padStart(padding, "0"), getTimestamp = () => {
|
|
@@ -13418,7 +13427,7 @@ var verboseDefault = debuglog("execa").enabled, padField = (field, padding) => S
|
|
|
13418
13427
|
`);
|
|
13419
13428
|
};
|
|
13420
13429
|
|
|
13421
|
-
// node_modules/execa/index.js
|
|
13430
|
+
// ../../node_modules/execa/index.js
|
|
13422
13431
|
var DEFAULT_MAX_BUFFER = 1e3 * 1e3 * 100, getEnv = ({ env: envOption, extendEnv, preferLocal, localDir, execPath }) => {
|
|
13423
13432
|
let env2 = extendEnv ? { ...process6.env, ...envOption } : envOption;
|
|
13424
13433
|
return preferLocal ? npmRunPathEnv({ env: env2, cwd: localDir, execPath }) : env2;
|
|
@@ -13788,14 +13797,14 @@ var NPM_ERROR_REGEX = /npm ERR! code (\w+)/, NPM_ERROR_CODES = {
|
|
|
13788
13797
|
});
|
|
13789
13798
|
}
|
|
13790
13799
|
async getRegistryURL() {
|
|
13791
|
-
let
|
|
13800
|
+
let url2 = ((await executeCommand({
|
|
13792
13801
|
command: "npm",
|
|
13793
13802
|
cwd: this.cwd,
|
|
13794
13803
|
// "npm config" commands are not allowed in workspaces per default
|
|
13795
13804
|
// https://github.com/npm/cli/issues/6099#issuecomment-1847584792
|
|
13796
13805
|
args: ["config", "get", "registry", "-ws=false", "-iwr"]
|
|
13797
13806
|
})).stdout ?? "").trim();
|
|
13798
|
-
return
|
|
13807
|
+
return url2 === "undefined" ? void 0 : url2;
|
|
13799
13808
|
}
|
|
13800
13809
|
runAddDeps(dependencies, installAsDevDependencies) {
|
|
13801
13810
|
let args = [...dependencies];
|
|
@@ -13976,13 +13985,13 @@ var NPM_ERROR_REGEX2 = /npm (ERR!|error) (code|errno) (\w+)/i, NPM_ERROR_CODES2
|
|
|
13976
13985
|
});
|
|
13977
13986
|
}
|
|
13978
13987
|
async getRegistryURL() {
|
|
13979
|
-
let
|
|
13988
|
+
let url2 = ((await executeCommand({
|
|
13980
13989
|
command: "npm",
|
|
13981
13990
|
// "npm config" commands are not allowed in workspaces per default
|
|
13982
13991
|
// https://github.com/npm/cli/issues/6099#issuecomment-1847584792
|
|
13983
13992
|
args: ["config", "get", "registry", "-ws=false", "-iwr"]
|
|
13984
13993
|
})).stdout ?? "").trim();
|
|
13985
|
-
return
|
|
13994
|
+
return url2 === "undefined" ? void 0 : url2;
|
|
13986
13995
|
}
|
|
13987
13996
|
runAddDeps(dependencies, installAsDevDependencies) {
|
|
13988
13997
|
let args = [...dependencies];
|
|
@@ -14094,11 +14103,11 @@ var PNPM_ERROR_REGEX = /(ELIFECYCLE|ERR_PNPM_[A-Z_]+)\s+(.*)/i, PNPMProxy = clas
|
|
|
14094
14103
|
});
|
|
14095
14104
|
}
|
|
14096
14105
|
async getRegistryURL() {
|
|
14097
|
-
let
|
|
14106
|
+
let url2 = ((await executeCommand({
|
|
14098
14107
|
command: "pnpm",
|
|
14099
14108
|
args: ["config", "get", "registry"]
|
|
14100
14109
|
})).stdout ?? "").trim();
|
|
14101
|
-
return
|
|
14110
|
+
return url2 === "undefined" ? void 0 : url2;
|
|
14102
14111
|
}
|
|
14103
14112
|
async findInstallations(pattern, { depth = 99 } = {}) {
|
|
14104
14113
|
try {
|
|
@@ -14269,11 +14278,11 @@ var YARN1_ERROR_REGEX = /^error\s(.*)$/gm, Yarn1Proxy = class extends JsPackageM
|
|
|
14269
14278
|
return packageJsonPath ? JSON.parse(readFileSync9(packageJsonPath, "utf-8")) : null;
|
|
14270
14279
|
}
|
|
14271
14280
|
async getRegistryURL() {
|
|
14272
|
-
let
|
|
14281
|
+
let url2 = ((await executeCommand({
|
|
14273
14282
|
command: "yarn",
|
|
14274
14283
|
args: ["config", "get", "registry"]
|
|
14275
14284
|
})).stdout ?? "").trim();
|
|
14276
|
-
return
|
|
14285
|
+
return url2 === "undefined" ? void 0 : url2;
|
|
14277
14286
|
}
|
|
14278
14287
|
async findInstallations(pattern, { depth = 99 } = {}) {
|
|
14279
14288
|
let yarnArgs = ["list", "--pattern", pattern.map((p) => `"${p}"`).join(" "), "--json"];
|
|
@@ -14523,11 +14532,11 @@ var CRITICAL_YARN2_ERROR_CODES = {
|
|
|
14523
14532
|
});
|
|
14524
14533
|
}
|
|
14525
14534
|
async getRegistryURL() {
|
|
14526
|
-
let
|
|
14535
|
+
let url2 = ((await executeCommand({
|
|
14527
14536
|
command: "yarn",
|
|
14528
14537
|
args: ["config", "get", "npmRegistryServer"]
|
|
14529
14538
|
})).stdout ?? "").trim();
|
|
14530
|
-
return
|
|
14539
|
+
return url2 === "undefined" ? void 0 : url2;
|
|
14531
14540
|
}
|
|
14532
14541
|
async runGetVersions(packageName, fetchAllVersions) {
|
|
14533
14542
|
let field = fetchAllVersions ? "versions" : "version", args = ["--fields", field, "--json"];
|
|
@@ -14743,7 +14752,7 @@ async function scanAndTransformFiles({
|
|
|
14743
14752
|
initialValue: defaultGlob
|
|
14744
14753
|
});
|
|
14745
14754
|
logger13.log("Scanning for affected files...");
|
|
14746
|
-
let globby = (await import("./globby-
|
|
14755
|
+
let globby = (await import("./globby-DY2UCDKN.js")).globby, sourceFiles = await globby([glob2], {
|
|
14747
14756
|
...commonGlobOptions(""),
|
|
14748
14757
|
ignore: ["**/node_modules/**"],
|
|
14749
14758
|
dot: !0,
|
|
@@ -14764,7 +14773,7 @@ function transformImports(source, renamedImports) {
|
|
|
14764
14773
|
return hasChanges ? transformed : null;
|
|
14765
14774
|
}
|
|
14766
14775
|
var transformImportFiles = async (files, renamedImports, dryRun) => {
|
|
14767
|
-
let errors = [], { default: pLimit } = await import("./p-limit-
|
|
14776
|
+
let errors = [], { default: pLimit } = await import("./p-limit-PMYE6ZFC.js"), limit = pLimit(10);
|
|
14768
14777
|
return await Promise.all(
|
|
14769
14778
|
files.map(
|
|
14770
14779
|
(file) => limit(async () => {
|