@shopify/create-app 3.84.1 → 3.85.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/{chunk-I5QSPA3G.js → chunk-AEWLNHFZ.js} +5 -5
- package/dist/{chunk-H3GWNOGA.js → chunk-G5HUFNZJ.js} +577 -750
- package/dist/{chunk-F7XIUISB.js → chunk-JZCHSJAA.js} +5290 -1918
- package/dist/{chunk-APC5TGT7.js → chunk-OE3KB4ED.js} +183 -39
- package/dist/{chunk-XCAGLQZT.js → chunk-PGTPDPDU.js} +39 -15
- package/dist/{chunk-BRA57BDM.js → chunk-POCJD2ES.js} +744 -668
- package/dist/{chunk-GYAMBODZ.js → chunk-ZNZH4RBZ.js} +13 -12
- package/dist/{custom-oclif-loader-U7MCMR24.js → custom-oclif-loader-TLRFRMDM.js} +3 -3
- package/dist/{error-handler-M3MNE2JX.js → error-handler-U6DLBQ5N.js} +7 -7
- package/dist/hooks/postrun.js +7 -8
- package/dist/hooks/prerun.js +5 -5
- package/dist/index.js +9425 -9166
- package/dist/index.test.js +7 -7
- package/dist/{lib-CLQ247I5.js → lib-G23FRF64.js} +2 -2
- package/dist/{local-ZJSQNOBS.js → local-FA7O4QS5.js} +3 -3
- package/dist/{node-package-manager-ZPABMQVG.js → node-package-manager-P2QJ377D.js} +4 -4
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{ui-5P6JUXXH.js → ui-ZKSCXGYG.js} +5 -3
- package/oclif.manifest.json +2 -2
- package/package.json +3 -3
- package/dist/chunk-CP3BRHWK.js +0 -33
|
@@ -15,9 +15,9 @@ import {
|
|
|
15
15
|
init_cjs_shims
|
|
16
16
|
} from "./chunk-PKR7KJ6P.js";
|
|
17
17
|
|
|
18
|
-
// ../../node_modules/.pnpm/@oclif+core@4.
|
|
18
|
+
// ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/util/util.js
|
|
19
19
|
var require_util = __commonJS({
|
|
20
|
-
"../../node_modules/.pnpm/@oclif+core@4.
|
|
20
|
+
"../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/util/util.js"(exports) {
|
|
21
21
|
"use strict";
|
|
22
22
|
init_cjs_shims();
|
|
23
23
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -1228,9 +1228,9 @@ var require_semver2 = __commonJS({
|
|
|
1228
1228
|
}
|
|
1229
1229
|
});
|
|
1230
1230
|
|
|
1231
|
-
// ../../node_modules/.pnpm/@oclif+core@4.
|
|
1231
|
+
// ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/util/fs.js
|
|
1232
1232
|
var require_fs = __commonJS({
|
|
1233
|
-
"../../node_modules/.pnpm/@oclif+core@4.
|
|
1233
|
+
"../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/util/fs.js"(exports) {
|
|
1234
1234
|
"use strict";
|
|
1235
1235
|
init_cjs_shims();
|
|
1236
1236
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -1285,9 +1285,9 @@ var require_fs = __commonJS({
|
|
|
1285
1285
|
}
|
|
1286
1286
|
});
|
|
1287
1287
|
|
|
1288
|
-
// ../../node_modules/.pnpm/@oclif+core@4.
|
|
1288
|
+
// ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/args.js
|
|
1289
1289
|
var require_args = __commonJS({
|
|
1290
|
-
"../../node_modules/.pnpm/@oclif+core@4.
|
|
1290
|
+
"../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/args.js"(exports) {
|
|
1291
1291
|
"use strict";
|
|
1292
1292
|
init_cjs_shims();
|
|
1293
1293
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -1342,13 +1342,13 @@ var require_args = __commonJS({
|
|
|
1342
1342
|
}
|
|
1343
1343
|
});
|
|
1344
1344
|
|
|
1345
|
-
// ../../node_modules/.pnpm/@oclif+core@4.
|
|
1345
|
+
// ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/package.json
|
|
1346
1346
|
var require_package = __commonJS({
|
|
1347
|
-
"../../node_modules/.pnpm/@oclif+core@4.
|
|
1347
|
+
"../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/package.json"(exports, module) {
|
|
1348
1348
|
module.exports = {
|
|
1349
1349
|
name: "@oclif/core",
|
|
1350
1350
|
description: "base library for oclif CLIs",
|
|
1351
|
-
version: "4.
|
|
1351
|
+
version: "4.5.3",
|
|
1352
1352
|
author: "Salesforce",
|
|
1353
1353
|
bugs: "https://github.com/oclif/core/issues",
|
|
1354
1354
|
dependencies: {
|
|
@@ -1373,7 +1373,7 @@ var require_package = __commonJS({
|
|
|
1373
1373
|
},
|
|
1374
1374
|
devDependencies: {
|
|
1375
1375
|
"@commitlint/config-conventional": "^19",
|
|
1376
|
-
"@eslint/compat": "^1.3.
|
|
1376
|
+
"@eslint/compat": "^1.3.2",
|
|
1377
1377
|
"@oclif/plugin-help": "^6",
|
|
1378
1378
|
"@oclif/plugin-plugins": "^5",
|
|
1379
1379
|
"@oclif/prettier-config": "^0.2.1",
|
|
@@ -1403,13 +1403,13 @@ var require_package = __commonJS({
|
|
|
1403
1403
|
husky: "^9.1.7",
|
|
1404
1404
|
"lint-staged": "^15",
|
|
1405
1405
|
madge: "^6.1.0",
|
|
1406
|
-
mocha: "^
|
|
1406
|
+
mocha: "^11.7.2",
|
|
1407
1407
|
nyc: "^15.1.0",
|
|
1408
|
-
prettier: "^3.
|
|
1408
|
+
prettier: "^3.6.2",
|
|
1409
1409
|
shx: "^0.4.0",
|
|
1410
1410
|
sinon: "^18",
|
|
1411
1411
|
"ts-node": "^10.9.2",
|
|
1412
|
-
tsd: "^0.
|
|
1412
|
+
tsd: "^0.33.0",
|
|
1413
1413
|
typescript: "^5"
|
|
1414
1414
|
},
|
|
1415
1415
|
engines: {
|
|
@@ -1482,9 +1482,9 @@ var require_package = __commonJS({
|
|
|
1482
1482
|
}
|
|
1483
1483
|
});
|
|
1484
1484
|
|
|
1485
|
-
// ../../node_modules/.pnpm/@oclif+core@4.
|
|
1485
|
+
// ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/cache.js
|
|
1486
1486
|
var require_cache = __commonJS({
|
|
1487
|
-
"../../node_modules/.pnpm/@oclif+core@4.
|
|
1487
|
+
"../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/cache.js"(exports) {
|
|
1488
1488
|
"use strict";
|
|
1489
1489
|
init_cjs_shims();
|
|
1490
1490
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -1988,9 +1988,9 @@ try {
|
|
|
1988
1988
|
}
|
|
1989
1989
|
});
|
|
1990
1990
|
|
|
1991
|
-
// ../../node_modules/.pnpm/@oclif+core@4.
|
|
1991
|
+
// ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/logger.js
|
|
1992
1992
|
var require_logger = __commonJS({
|
|
1993
|
-
"../../node_modules/.pnpm/@oclif+core@4.
|
|
1993
|
+
"../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/logger.js"(exports) {
|
|
1994
1994
|
"use strict";
|
|
1995
1995
|
init_cjs_shims();
|
|
1996
1996
|
var __importDefault = exports && exports.__importDefault || function(mod) {
|
|
@@ -2044,9 +2044,9 @@ var require_logger = __commonJS({
|
|
|
2044
2044
|
}
|
|
2045
2045
|
});
|
|
2046
2046
|
|
|
2047
|
-
// ../../node_modules/.pnpm/@oclif+core@4.
|
|
2047
|
+
// ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/ux/write.js
|
|
2048
2048
|
var require_write = __commonJS({
|
|
2049
|
-
"../../node_modules/.pnpm/@oclif+core@4.
|
|
2049
|
+
"../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/ux/write.js"(exports) {
|
|
2050
2050
|
"use strict";
|
|
2051
2051
|
init_cjs_shims();
|
|
2052
2052
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -2927,9 +2927,9 @@ var require_wrap_ansi = __commonJS({
|
|
|
2927
2927
|
}
|
|
2928
2928
|
});
|
|
2929
2929
|
|
|
2930
|
-
// ../../node_modules/.pnpm/@oclif+core@4.
|
|
2930
|
+
// ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/settings.js
|
|
2931
2931
|
var require_settings = __commonJS({
|
|
2932
|
-
"../../node_modules/.pnpm/@oclif+core@4.
|
|
2932
|
+
"../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/settings.js"(exports) {
|
|
2933
2933
|
"use strict";
|
|
2934
2934
|
init_cjs_shims();
|
|
2935
2935
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -2939,9 +2939,9 @@ var require_settings = __commonJS({
|
|
|
2939
2939
|
}
|
|
2940
2940
|
});
|
|
2941
2941
|
|
|
2942
|
-
// ../../node_modules/.pnpm/@oclif+core@4.
|
|
2942
|
+
// ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/screen.js
|
|
2943
2943
|
var require_screen = __commonJS({
|
|
2944
|
-
"../../node_modules/.pnpm/@oclif+core@4.
|
|
2944
|
+
"../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/screen.js"(exports) {
|
|
2945
2945
|
"use strict";
|
|
2946
2946
|
init_cjs_shims();
|
|
2947
2947
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -3029,9 +3029,9 @@ var require_ansis = __commonJS({
|
|
|
3029
3029
|
}
|
|
3030
3030
|
});
|
|
3031
3031
|
|
|
3032
|
-
// ../../node_modules/.pnpm/@oclif+core@4.
|
|
3032
|
+
// ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/interfaces/theme.js
|
|
3033
3033
|
var require_theme = __commonJS({
|
|
3034
|
-
"../../node_modules/.pnpm/@oclif+core@4.
|
|
3034
|
+
"../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/interfaces/theme.js"(exports) {
|
|
3035
3035
|
"use strict";
|
|
3036
3036
|
init_cjs_shims();
|
|
3037
3037
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -3080,9 +3080,9 @@ var require_theme = __commonJS({
|
|
|
3080
3080
|
}
|
|
3081
3081
|
});
|
|
3082
3082
|
|
|
3083
|
-
// ../../node_modules/.pnpm/@oclif+core@4.
|
|
3083
|
+
// ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/ux/supports-color.js
|
|
3084
3084
|
var require_supports_color2 = __commonJS({
|
|
3085
|
-
"../../node_modules/.pnpm/@oclif+core@4.
|
|
3085
|
+
"../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/ux/supports-color.js"(exports) {
|
|
3086
3086
|
"use strict";
|
|
3087
3087
|
init_cjs_shims();
|
|
3088
3088
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -3094,9 +3094,9 @@ var require_supports_color2 = __commonJS({
|
|
|
3094
3094
|
}
|
|
3095
3095
|
});
|
|
3096
3096
|
|
|
3097
|
-
// ../../node_modules/.pnpm/@oclif+core@4.
|
|
3097
|
+
// ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/ux/theme.js
|
|
3098
3098
|
var require_theme2 = __commonJS({
|
|
3099
|
-
"../../node_modules/.pnpm/@oclif+core@4.
|
|
3099
|
+
"../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/ux/theme.js"(exports) {
|
|
3100
3100
|
"use strict";
|
|
3101
3101
|
init_cjs_shims();
|
|
3102
3102
|
var __importDefault = exports && exports.__importDefault || function(mod) {
|
|
@@ -3131,9 +3131,9 @@ var require_theme2 = __commonJS({
|
|
|
3131
3131
|
}
|
|
3132
3132
|
});
|
|
3133
3133
|
|
|
3134
|
-
// ../../node_modules/.pnpm/@oclif+core@4.
|
|
3134
|
+
// ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/errors/errors/cli.js
|
|
3135
3135
|
var require_cli = __commonJS({
|
|
3136
|
-
"../../node_modules/.pnpm/@oclif+core@4.
|
|
3136
|
+
"../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/errors/errors/cli.js"(exports) {
|
|
3137
3137
|
"use strict";
|
|
3138
3138
|
init_cjs_shims();
|
|
3139
3139
|
var __importDefault = exports && exports.__importDefault || function(mod) {
|
|
@@ -3194,9 +3194,9 @@ var require_cli = __commonJS({
|
|
|
3194
3194
|
}
|
|
3195
3195
|
});
|
|
3196
3196
|
|
|
3197
|
-
// ../../node_modules/.pnpm/@oclif+core@4.
|
|
3197
|
+
// ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/errors/errors/pretty-print.js
|
|
3198
3198
|
var require_pretty_print = __commonJS({
|
|
3199
|
-
"../../node_modules/.pnpm/@oclif+core@4.
|
|
3199
|
+
"../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/errors/errors/pretty-print.js"(exports) {
|
|
3200
3200
|
"use strict";
|
|
3201
3201
|
init_cjs_shims();
|
|
3202
3202
|
var __importDefault = exports && exports.__importDefault || function(mod) {
|
|
@@ -3233,9 +3233,9 @@ ${(0, indent_string_1.default)(multiple, 2)}`;
|
|
|
3233
3233
|
}
|
|
3234
3234
|
});
|
|
3235
3235
|
|
|
3236
|
-
// ../../node_modules/.pnpm/@oclif+core@4.
|
|
3236
|
+
// ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/errors/error.js
|
|
3237
3237
|
var require_error = __commonJS({
|
|
3238
|
-
"../../node_modules/.pnpm/@oclif+core@4.
|
|
3238
|
+
"../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/errors/error.js"(exports) {
|
|
3239
3239
|
"use strict";
|
|
3240
3240
|
init_cjs_shims();
|
|
3241
3241
|
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
@@ -3286,9 +3286,9 @@ var require_error = __commonJS({
|
|
|
3286
3286
|
}
|
|
3287
3287
|
});
|
|
3288
3288
|
|
|
3289
|
-
// ../../node_modules/.pnpm/@oclif+core@4.
|
|
3289
|
+
// ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/errors/errors/exit.js
|
|
3290
3290
|
var require_exit = __commonJS({
|
|
3291
|
-
"../../node_modules/.pnpm/@oclif+core@4.
|
|
3291
|
+
"../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/errors/errors/exit.js"(exports) {
|
|
3292
3292
|
"use strict";
|
|
3293
3293
|
init_cjs_shims();
|
|
3294
3294
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -3306,9 +3306,9 @@ var require_exit = __commonJS({
|
|
|
3306
3306
|
}
|
|
3307
3307
|
});
|
|
3308
3308
|
|
|
3309
|
-
// ../../node_modules/.pnpm/@oclif+core@4.
|
|
3309
|
+
// ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/errors/errors/module-load.js
|
|
3310
3310
|
var require_module_load = __commonJS({
|
|
3311
|
-
"../../node_modules/.pnpm/@oclif+core@4.
|
|
3311
|
+
"../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/errors/errors/module-load.js"(exports) {
|
|
3312
3312
|
"use strict";
|
|
3313
3313
|
init_cjs_shims();
|
|
3314
3314
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -3323,9 +3323,9 @@ var require_module_load = __commonJS({
|
|
|
3323
3323
|
}
|
|
3324
3324
|
});
|
|
3325
3325
|
|
|
3326
|
-
// ../../node_modules/.pnpm/@oclif+core@4.
|
|
3326
|
+
// ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/errors/exit.js
|
|
3327
3327
|
var require_exit2 = __commonJS({
|
|
3328
|
-
"../../node_modules/.pnpm/@oclif+core@4.
|
|
3328
|
+
"../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/errors/exit.js"(exports) {
|
|
3329
3329
|
"use strict";
|
|
3330
3330
|
init_cjs_shims();
|
|
3331
3331
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -3337,9 +3337,9 @@ var require_exit2 = __commonJS({
|
|
|
3337
3337
|
}
|
|
3338
3338
|
});
|
|
3339
3339
|
|
|
3340
|
-
// ../../node_modules/.pnpm/@oclif+core@4.
|
|
3340
|
+
// ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/errors/warn.js
|
|
3341
3341
|
var require_warn = __commonJS({
|
|
3342
|
-
"../../node_modules/.pnpm/@oclif+core@4.
|
|
3342
|
+
"../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/errors/warn.js"(exports) {
|
|
3343
3343
|
"use strict";
|
|
3344
3344
|
init_cjs_shims();
|
|
3345
3345
|
var __importDefault = exports && exports.__importDefault || function(mod) {
|
|
@@ -163200,9 +163200,9 @@ Additional information: BADCLIENT: Bad error code, ${badCode} not found in range
|
|
|
163200
163200
|
}
|
|
163201
163201
|
});
|
|
163202
163202
|
|
|
163203
|
-
// ../../node_modules/.pnpm/@oclif+core@4.
|
|
163203
|
+
// ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/util/read-tsconfig.js
|
|
163204
163204
|
var require_read_tsconfig = __commonJS({
|
|
163205
|
-
"../../node_modules/.pnpm/@oclif+core@4.
|
|
163205
|
+
"../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/util/read-tsconfig.js"(exports) {
|
|
163206
163206
|
"use strict";
|
|
163207
163207
|
init_cjs_shims();
|
|
163208
163208
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -163268,9 +163268,9 @@ var require_read_tsconfig = __commonJS({
|
|
|
163268
163268
|
}
|
|
163269
163269
|
});
|
|
163270
163270
|
|
|
163271
|
-
// ../../node_modules/.pnpm/@oclif+core@4.
|
|
163271
|
+
// ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/config/util.js
|
|
163272
163272
|
var require_util3 = __commonJS({
|
|
163273
|
-
"../../node_modules/.pnpm/@oclif+core@4.
|
|
163273
|
+
"../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/config/util.js"(exports) {
|
|
163274
163274
|
"use strict";
|
|
163275
163275
|
init_cjs_shims();
|
|
163276
163276
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -163305,9 +163305,9 @@ var require_util3 = __commonJS({
|
|
|
163305
163305
|
}
|
|
163306
163306
|
});
|
|
163307
163307
|
|
|
163308
|
-
// ../../node_modules/.pnpm/@oclif+core@4.
|
|
163308
|
+
// ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/config/ts-path.js
|
|
163309
163309
|
var require_ts_path = __commonJS({
|
|
163310
|
-
"../../node_modules/.pnpm/@oclif+core@4.
|
|
163310
|
+
"../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/config/ts-path.js"(exports) {
|
|
163311
163311
|
"use strict";
|
|
163312
163312
|
init_cjs_shims();
|
|
163313
163313
|
var __importDefault = exports && exports.__importDefault || function(mod) {
|
|
@@ -163536,9 +163536,9 @@ var require_get_package_type = __commonJS({
|
|
|
163536
163536
|
}
|
|
163537
163537
|
});
|
|
163538
163538
|
|
|
163539
|
-
// ../../node_modules/.pnpm/@oclif+core@4.
|
|
163539
|
+
// ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/module-loader.js
|
|
163540
163540
|
var require_module_loader = __commonJS({
|
|
163541
|
-
"../../node_modules/.pnpm/@oclif+core@4.
|
|
163541
|
+
"../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/module-loader.js"(exports) {
|
|
163542
163542
|
"use strict";
|
|
163543
163543
|
init_cjs_shims();
|
|
163544
163544
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -163629,9 +163629,9 @@ var require_module_loader = __commonJS({
|
|
|
163629
163629
|
}
|
|
163630
163630
|
});
|
|
163631
163631
|
|
|
163632
|
-
// ../../node_modules/.pnpm/@oclif+core@4.
|
|
163632
|
+
// ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/symbols.js
|
|
163633
163633
|
var require_symbols = __commonJS({
|
|
163634
|
-
"../../node_modules/.pnpm/@oclif+core@4.
|
|
163634
|
+
"../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/symbols.js"(exports) {
|
|
163635
163635
|
"use strict";
|
|
163636
163636
|
init_cjs_shims();
|
|
163637
163637
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -163640,9 +163640,9 @@ var require_symbols = __commonJS({
|
|
|
163640
163640
|
}
|
|
163641
163641
|
});
|
|
163642
163642
|
|
|
163643
|
-
// ../../node_modules/.pnpm/@oclif+core@4.
|
|
163643
|
+
// ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/util/cache-default-value.js
|
|
163644
163644
|
var require_cache_default_value = __commonJS({
|
|
163645
|
-
"../../node_modules/.pnpm/@oclif+core@4.
|
|
163645
|
+
"../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/util/cache-default-value.js"(exports) {
|
|
163646
163646
|
"use strict";
|
|
163647
163647
|
init_cjs_shims();
|
|
163648
163648
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -163668,9 +163668,9 @@ var require_cache_default_value = __commonJS({
|
|
|
163668
163668
|
}
|
|
163669
163669
|
});
|
|
163670
163670
|
|
|
163671
|
-
// ../../node_modules/.pnpm/@oclif+core@4.
|
|
163671
|
+
// ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/util/ids.js
|
|
163672
163672
|
var require_ids = __commonJS({
|
|
163673
|
-
"../../node_modules/.pnpm/@oclif+core@4.
|
|
163673
|
+
"../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/util/ids.js"(exports) {
|
|
163674
163674
|
"use strict";
|
|
163675
163675
|
init_cjs_shims();
|
|
163676
163676
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -163686,9 +163686,9 @@ var require_ids = __commonJS({
|
|
|
163686
163686
|
}
|
|
163687
163687
|
});
|
|
163688
163688
|
|
|
163689
|
-
// ../../node_modules/.pnpm/@oclif+core@4.
|
|
163689
|
+
// ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/ux/action/base.js
|
|
163690
163690
|
var require_base = __commonJS({
|
|
163691
|
-
"../../node_modules/.pnpm/@oclif+core@4.
|
|
163691
|
+
"../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/ux/action/base.js"(exports) {
|
|
163692
163692
|
"use strict";
|
|
163693
163693
|
init_cjs_shims();
|
|
163694
163694
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -163817,9 +163817,9 @@ var require_base = __commonJS({
|
|
|
163817
163817
|
}
|
|
163818
163818
|
});
|
|
163819
163819
|
|
|
163820
|
-
// ../../node_modules/.pnpm/@oclif+core@4.
|
|
163820
|
+
// ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/ux/action/simple.js
|
|
163821
163821
|
var require_simple = __commonJS({
|
|
163822
|
-
"../../node_modules/.pnpm/@oclif+core@4.
|
|
163822
|
+
"../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/ux/action/simple.js"(exports) {
|
|
163823
163823
|
"use strict";
|
|
163824
163824
|
init_cjs_shims();
|
|
163825
163825
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -165579,9 +165579,9 @@ var require_cli_spinners = __commonJS({
|
|
|
165579
165579
|
}
|
|
165580
165580
|
});
|
|
165581
165581
|
|
|
165582
|
-
// ../../node_modules/.pnpm/@oclif+core@4.
|
|
165582
|
+
// ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/ux/action/spinner.js
|
|
165583
165583
|
var require_spinner = __commonJS({
|
|
165584
|
-
"../../node_modules/.pnpm/@oclif+core@4.
|
|
165584
|
+
"../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/ux/action/spinner.js"(exports) {
|
|
165585
165585
|
"use strict";
|
|
165586
165586
|
init_cjs_shims();
|
|
165587
165587
|
var __importDefault = exports && exports.__importDefault || function(mod) {
|
|
@@ -165639,9 +165639,9 @@ var require_spinner = __commonJS({
|
|
|
165639
165639
|
}
|
|
165640
165640
|
});
|
|
165641
165641
|
|
|
165642
|
-
// ../../node_modules/.pnpm/@oclif+core@4.
|
|
165642
|
+
// ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/ux/colorize-json.js
|
|
165643
165643
|
var require_colorize_json = __commonJS({
|
|
165644
|
-
"../../node_modules/.pnpm/@oclif+core@4.
|
|
165644
|
+
"../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/ux/colorize-json.js"(exports) {
|
|
165645
165645
|
"use strict";
|
|
165646
165646
|
init_cjs_shims();
|
|
165647
165647
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -165702,9 +165702,9 @@ var require_colorize_json = __commonJS({
|
|
|
165702
165702
|
}
|
|
165703
165703
|
});
|
|
165704
165704
|
|
|
165705
|
-
// ../../node_modules/.pnpm/@oclif+core@4.
|
|
165705
|
+
// ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/ux/index.js
|
|
165706
165706
|
var require_ux = __commonJS({
|
|
165707
|
-
"../../node_modules/.pnpm/@oclif+core@4.
|
|
165707
|
+
"../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/ux/index.js"(exports) {
|
|
165708
165708
|
"use strict";
|
|
165709
165709
|
init_cjs_shims();
|
|
165710
165710
|
var __importDefault = exports && exports.__importDefault || function(mod) {
|
|
@@ -165800,9 +165800,9 @@ var require_ux = __commonJS({
|
|
|
165800
165800
|
}
|
|
165801
165801
|
});
|
|
165802
165802
|
|
|
165803
|
-
// ../../node_modules/.pnpm/@oclif+core@4.
|
|
165803
|
+
// ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/util/ensure-arg-object.js
|
|
165804
165804
|
var require_ensure_arg_object = __commonJS({
|
|
165805
|
-
"../../node_modules/.pnpm/@oclif+core@4.
|
|
165805
|
+
"../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/util/ensure-arg-object.js"(exports) {
|
|
165806
165806
|
"use strict";
|
|
165807
165807
|
init_cjs_shims();
|
|
165808
165808
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -165813,9 +165813,9 @@ var require_ensure_arg_object = __commonJS({
|
|
|
165813
165813
|
}
|
|
165814
165814
|
});
|
|
165815
165815
|
|
|
165816
|
-
// ../../node_modules/.pnpm/@oclif+core@4.
|
|
165816
|
+
// ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/help/docopts.js
|
|
165817
165817
|
var require_docopts = __commonJS({
|
|
165818
|
-
"../../node_modules/.pnpm/@oclif+core@4.
|
|
165818
|
+
"../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/help/docopts.js"(exports) {
|
|
165819
165819
|
"use strict";
|
|
165820
165820
|
init_cjs_shims();
|
|
165821
165821
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -165839,7 +165839,7 @@ var require_docopts = __commonJS({
|
|
|
165839
165839
|
toString() {
|
|
165840
165840
|
let opts = ["<%= command.id %>"];
|
|
165841
165841
|
if (this.cmd.args) {
|
|
165842
|
-
let suffix = this.cmd.strict === !1 ? "..." : "", a = Object.values((0, ensure_arg_object_1.ensureArgObject)(this.cmd.args)).map((arg) => arg.required ? `${arg.name.toUpperCase()}${suffix}` : `[${arg.name.toUpperCase()}${suffix}]`) || [];
|
|
165842
|
+
let suffix = this.cmd.strict === !1 ? "..." : "", a = Object.values((0, ensure_arg_object_1.ensureArgObject)(this.cmd.args)).filter((arg) => !arg.hidden).map((arg) => arg.required ? `${arg.name.toUpperCase()}${suffix}` : `[${arg.name.toUpperCase()}${suffix}]`) || [];
|
|
165843
165843
|
opts.push(...a);
|
|
165844
165844
|
}
|
|
165845
165845
|
try {
|
|
@@ -165904,9 +165904,9 @@ var require_widest_line = __commonJS({
|
|
|
165904
165904
|
}
|
|
165905
165905
|
});
|
|
165906
165906
|
|
|
165907
|
-
// ../../node_modules/.pnpm/@oclif+core@4.
|
|
165907
|
+
// ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/help/util.js
|
|
165908
165908
|
var require_util4 = __commonJS({
|
|
165909
|
-
"../../node_modules/.pnpm/@oclif+core@4.
|
|
165909
|
+
"../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/help/util.js"(exports) {
|
|
165910
165910
|
"use strict";
|
|
165911
165911
|
init_cjs_shims();
|
|
165912
165912
|
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
@@ -165999,9 +165999,9 @@ var require_util4 = __commonJS({
|
|
|
165999
165999
|
}
|
|
166000
166000
|
});
|
|
166001
166001
|
|
|
166002
|
-
// ../../node_modules/.pnpm/@oclif+core@4.
|
|
166002
|
+
// ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/help/formatter.js
|
|
166003
166003
|
var require_formatter = __commonJS({
|
|
166004
|
-
"../../node_modules/.pnpm/@oclif+core@4.
|
|
166004
|
+
"../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/help/formatter.js"(exports) {
|
|
166005
166005
|
"use strict";
|
|
166006
166006
|
init_cjs_shims();
|
|
166007
166007
|
var __importDefault = exports && exports.__importDefault || function(mod) {
|
|
@@ -166155,9 +166155,9 @@ var require_formatter = __commonJS({
|
|
|
166155
166155
|
}
|
|
166156
166156
|
});
|
|
166157
166157
|
|
|
166158
|
-
// ../../node_modules/.pnpm/@oclif+core@4.
|
|
166158
|
+
// ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/help/command.js
|
|
166159
166159
|
var require_command = __commonJS({
|
|
166160
|
-
"../../node_modules/.pnpm/@oclif+core@4.
|
|
166160
|
+
"../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/help/command.js"(exports) {
|
|
166161
166161
|
"use strict";
|
|
166162
166162
|
init_cjs_shims();
|
|
166163
166163
|
var __importDefault = exports && exports.__importDefault || function(mod) {
|
|
@@ -166369,9 +166369,9 @@ ${this.indent(this.wrap(flag.description || "", this.indentSpacing * 2))}`;
|
|
|
166369
166369
|
}
|
|
166370
166370
|
});
|
|
166371
166371
|
|
|
166372
|
-
// ../../node_modules/.pnpm/@oclif+core@4.
|
|
166372
|
+
// ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/help/root.js
|
|
166373
166373
|
var require_root = __commonJS({
|
|
166374
|
-
"../../node_modules/.pnpm/@oclif+core@4.
|
|
166374
|
+
"../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/help/root.js"(exports) {
|
|
166375
166375
|
"use strict";
|
|
166376
166376
|
init_cjs_shims();
|
|
166377
166377
|
var __importDefault = exports && exports.__importDefault || function(mod) {
|
|
@@ -166416,9 +166416,9 @@ var require_root = __commonJS({
|
|
|
166416
166416
|
}
|
|
166417
166417
|
});
|
|
166418
166418
|
|
|
166419
|
-
// ../../node_modules/.pnpm/@oclif+core@4.
|
|
166419
|
+
// ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/help/index.js
|
|
166420
166420
|
var require_help = __commonJS({
|
|
166421
|
-
"../../node_modules/.pnpm/@oclif+core@4.
|
|
166421
|
+
"../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/help/index.js"(exports) {
|
|
166422
166422
|
"use strict";
|
|
166423
166423
|
init_cjs_shims();
|
|
166424
166424
|
var __importDefault = exports && exports.__importDefault || function(mod) {
|
|
@@ -166652,9 +166652,9 @@ ${error.message}`);
|
|
|
166652
166652
|
}
|
|
166653
166653
|
});
|
|
166654
166654
|
|
|
166655
|
-
// ../../node_modules/.pnpm/@oclif+core@4.
|
|
166655
|
+
// ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/errors/handle.js
|
|
166656
166656
|
var require_handle = __commonJS({
|
|
166657
|
-
"../../node_modules/.pnpm/@oclif+core@4.
|
|
166657
|
+
"../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/errors/handle.js"(exports) {
|
|
166658
166658
|
"use strict";
|
|
166659
166659
|
init_cjs_shims();
|
|
166660
166660
|
var __importDefault = exports && exports.__importDefault || function(mod) {
|
|
@@ -166694,9 +166694,9 @@ var require_handle = __commonJS({
|
|
|
166694
166694
|
}
|
|
166695
166695
|
});
|
|
166696
166696
|
|
|
166697
|
-
// ../../node_modules/.pnpm/@oclif+core@4.
|
|
166697
|
+
// ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/errors/index.js
|
|
166698
166698
|
var require_errors = __commonJS({
|
|
166699
|
-
"../../node_modules/.pnpm/@oclif+core@4.
|
|
166699
|
+
"../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/errors/index.js"(exports) {
|
|
166700
166700
|
"use strict";
|
|
166701
166701
|
init_cjs_shims();
|
|
166702
166702
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -166732,9 +166732,9 @@ var require_errors = __commonJS({
|
|
|
166732
166732
|
}
|
|
166733
166733
|
});
|
|
166734
166734
|
|
|
166735
|
-
// ../../node_modules/.pnpm/@oclif+core@4.
|
|
166735
|
+
// ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/performance.js
|
|
166736
166736
|
var require_performance = __commonJS({
|
|
166737
|
-
"../../node_modules/.pnpm/@oclif+core@4.
|
|
166737
|
+
"../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/performance.js"(exports) {
|
|
166738
166738
|
"use strict";
|
|
166739
166739
|
init_cjs_shims();
|
|
166740
166740
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -166897,9 +166897,9 @@ var require_performance = __commonJS({
|
|
|
166897
166897
|
}
|
|
166898
166898
|
});
|
|
166899
166899
|
|
|
166900
|
-
// ../../node_modules/.pnpm/@oclif+core@4.
|
|
166900
|
+
// ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/util/determine-priority.js
|
|
166901
166901
|
var require_determine_priority = __commonJS({
|
|
166902
|
-
"../../node_modules/.pnpm/@oclif+core@4.
|
|
166902
|
+
"../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/util/determine-priority.js"(exports) {
|
|
166903
166903
|
"use strict";
|
|
166904
166904
|
init_cjs_shims();
|
|
166905
166905
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -166913,9 +166913,9 @@ var require_determine_priority = __commonJS({
|
|
|
166913
166913
|
}
|
|
166914
166914
|
});
|
|
166915
166915
|
|
|
166916
|
-
// ../../node_modules/.pnpm/@oclif+core@4.
|
|
166916
|
+
// ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/util/os.js
|
|
166917
166917
|
var require_os = __commonJS({
|
|
166918
|
-
"../../node_modules/.pnpm/@oclif+core@4.
|
|
166918
|
+
"../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/util/os.js"(exports) {
|
|
166919
166919
|
"use strict";
|
|
166920
166920
|
init_cjs_shims();
|
|
166921
166921
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -167947,491 +167947,9 @@ globstar while`, file, fr, pattern, pr, swallowee), this.matchOne(file.slice(fr)
|
|
|
167947
167947
|
}
|
|
167948
167948
|
});
|
|
167949
167949
|
|
|
167950
|
-
// ../../node_modules/.pnpm/
|
|
167951
|
-
var require_utils2 = __commonJS({
|
|
167952
|
-
"../../node_modules/.pnpm/fdir@6.4.5_picomatch@4.0.2/node_modules/fdir/dist/utils.js"(exports) {
|
|
167953
|
-
"use strict";
|
|
167954
|
-
init_cjs_shims();
|
|
167955
|
-
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
167956
|
-
exports.cleanPath = cleanPath;
|
|
167957
|
-
exports.convertSlashes = convertSlashes;
|
|
167958
|
-
exports.isRootDirectory = isRootDirectory;
|
|
167959
|
-
exports.normalizePath = normalizePath;
|
|
167960
|
-
var path_1 = __require("path");
|
|
167961
|
-
function cleanPath(path) {
|
|
167962
|
-
let normalized = (0, path_1.normalize)(path);
|
|
167963
|
-
return normalized.length > 1 && normalized[normalized.length - 1] === path_1.sep && (normalized = normalized.substring(0, normalized.length - 1)), normalized;
|
|
167964
|
-
}
|
|
167965
|
-
var SLASHES_REGEX = /[\\/]/g;
|
|
167966
|
-
function convertSlashes(path, separator) {
|
|
167967
|
-
return path.replace(SLASHES_REGEX, separator);
|
|
167968
|
-
}
|
|
167969
|
-
var WINDOWS_ROOT_DIR_REGEX = /^[a-z]:[\\/]$/i;
|
|
167970
|
-
function isRootDirectory(path) {
|
|
167971
|
-
return path === "/" || WINDOWS_ROOT_DIR_REGEX.test(path);
|
|
167972
|
-
}
|
|
167973
|
-
function normalizePath(path, options) {
|
|
167974
|
-
let { resolvePaths, normalizePath: normalizePath2, pathSeparator } = options, pathNeedsCleaning = process.platform === "win32" && path.includes("/") || path.startsWith(".");
|
|
167975
|
-
if (resolvePaths && (path = (0, path_1.resolve)(path)), (normalizePath2 || pathNeedsCleaning) && (path = cleanPath(path)), path === ".")
|
|
167976
|
-
return "";
|
|
167977
|
-
let needsSeperator = path[path.length - 1] !== pathSeparator;
|
|
167978
|
-
return convertSlashes(needsSeperator ? path + pathSeparator : path, pathSeparator);
|
|
167979
|
-
}
|
|
167980
|
-
}
|
|
167981
|
-
});
|
|
167982
|
-
|
|
167983
|
-
// ../../node_modules/.pnpm/fdir@6.4.5_picomatch@4.0.2/node_modules/fdir/dist/api/functions/join-path.js
|
|
167984
|
-
var require_join_path = __commonJS({
|
|
167985
|
-
"../../node_modules/.pnpm/fdir@6.4.5_picomatch@4.0.2/node_modules/fdir/dist/api/functions/join-path.js"(exports) {
|
|
167986
|
-
"use strict";
|
|
167987
|
-
init_cjs_shims();
|
|
167988
|
-
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
167989
|
-
exports.joinPathWithBasePath = joinPathWithBasePath;
|
|
167990
|
-
exports.joinDirectoryPath = joinDirectoryPath;
|
|
167991
|
-
exports.build = build;
|
|
167992
|
-
var path_1 = __require("path"), utils_1 = require_utils2();
|
|
167993
|
-
function joinPathWithBasePath(filename, directoryPath) {
|
|
167994
|
-
return directoryPath + filename;
|
|
167995
|
-
}
|
|
167996
|
-
function joinPathWithRelativePath(root, options) {
|
|
167997
|
-
return function(filename, directoryPath) {
|
|
167998
|
-
return directoryPath.startsWith(root) ? directoryPath.replace(root, "") + filename : (0, utils_1.convertSlashes)((0, path_1.relative)(root, directoryPath), options.pathSeparator) + options.pathSeparator + filename;
|
|
167999
|
-
};
|
|
168000
|
-
}
|
|
168001
|
-
function joinPath(filename) {
|
|
168002
|
-
return filename;
|
|
168003
|
-
}
|
|
168004
|
-
function joinDirectoryPath(filename, directoryPath, separator) {
|
|
168005
|
-
return directoryPath + filename + separator;
|
|
168006
|
-
}
|
|
168007
|
-
function build(root, options) {
|
|
168008
|
-
let { relativePaths, includeBasePath } = options;
|
|
168009
|
-
return relativePaths && root ? joinPathWithRelativePath(root, options) : includeBasePath ? joinPathWithBasePath : joinPath;
|
|
168010
|
-
}
|
|
168011
|
-
}
|
|
168012
|
-
});
|
|
168013
|
-
|
|
168014
|
-
// ../../node_modules/.pnpm/fdir@6.4.5_picomatch@4.0.2/node_modules/fdir/dist/api/functions/push-directory.js
|
|
168015
|
-
var require_push_directory = __commonJS({
|
|
168016
|
-
"../../node_modules/.pnpm/fdir@6.4.5_picomatch@4.0.2/node_modules/fdir/dist/api/functions/push-directory.js"(exports) {
|
|
168017
|
-
"use strict";
|
|
168018
|
-
init_cjs_shims();
|
|
168019
|
-
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
168020
|
-
exports.build = build;
|
|
168021
|
-
function pushDirectoryWithRelativePath(root) {
|
|
168022
|
-
return function(directoryPath, paths) {
|
|
168023
|
-
paths.push(directoryPath.substring(root.length) || ".");
|
|
168024
|
-
};
|
|
168025
|
-
}
|
|
168026
|
-
function pushDirectoryFilterWithRelativePath(root) {
|
|
168027
|
-
return function(directoryPath, paths, filters) {
|
|
168028
|
-
let relativePath = directoryPath.substring(root.length) || ".";
|
|
168029
|
-
filters.every((filter) => filter(relativePath, !0)) && paths.push(relativePath);
|
|
168030
|
-
};
|
|
168031
|
-
}
|
|
168032
|
-
var pushDirectory = (directoryPath, paths) => {
|
|
168033
|
-
paths.push(directoryPath || ".");
|
|
168034
|
-
}, pushDirectoryFilter = (directoryPath, paths, filters) => {
|
|
168035
|
-
let path = directoryPath || ".";
|
|
168036
|
-
filters.every((filter) => filter(path, !0)) && paths.push(path);
|
|
168037
|
-
}, empty = () => {
|
|
168038
|
-
};
|
|
168039
|
-
function build(root, options) {
|
|
168040
|
-
let { includeDirs, filters, relativePaths } = options;
|
|
168041
|
-
return includeDirs ? relativePaths ? filters && filters.length ? pushDirectoryFilterWithRelativePath(root) : pushDirectoryWithRelativePath(root) : filters && filters.length ? pushDirectoryFilter : pushDirectory : empty;
|
|
168042
|
-
}
|
|
168043
|
-
}
|
|
168044
|
-
});
|
|
168045
|
-
|
|
168046
|
-
// ../../node_modules/.pnpm/fdir@6.4.5_picomatch@4.0.2/node_modules/fdir/dist/api/functions/push-file.js
|
|
168047
|
-
var require_push_file = __commonJS({
|
|
168048
|
-
"../../node_modules/.pnpm/fdir@6.4.5_picomatch@4.0.2/node_modules/fdir/dist/api/functions/push-file.js"(exports) {
|
|
168049
|
-
"use strict";
|
|
168050
|
-
init_cjs_shims();
|
|
168051
|
-
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
168052
|
-
exports.build = build;
|
|
168053
|
-
var pushFileFilterAndCount = (filename, _paths, counts, filters) => {
|
|
168054
|
-
filters.every((filter) => filter(filename, !1)) && counts.files++;
|
|
168055
|
-
}, pushFileFilter = (filename, paths, _counts, filters) => {
|
|
168056
|
-
filters.every((filter) => filter(filename, !1)) && paths.push(filename);
|
|
168057
|
-
}, pushFileCount = (_filename, _paths, counts, _filters) => {
|
|
168058
|
-
counts.files++;
|
|
168059
|
-
}, pushFile = (filename, paths) => {
|
|
168060
|
-
paths.push(filename);
|
|
168061
|
-
}, empty = () => {
|
|
168062
|
-
};
|
|
168063
|
-
function build(options) {
|
|
168064
|
-
let { excludeFiles, filters, onlyCounts } = options;
|
|
168065
|
-
return excludeFiles ? empty : filters && filters.length ? onlyCounts ? pushFileFilterAndCount : pushFileFilter : onlyCounts ? pushFileCount : pushFile;
|
|
168066
|
-
}
|
|
168067
|
-
}
|
|
168068
|
-
});
|
|
168069
|
-
|
|
168070
|
-
// ../../node_modules/.pnpm/fdir@6.4.5_picomatch@4.0.2/node_modules/fdir/dist/api/functions/get-array.js
|
|
168071
|
-
var require_get_array = __commonJS({
|
|
168072
|
-
"../../node_modules/.pnpm/fdir@6.4.5_picomatch@4.0.2/node_modules/fdir/dist/api/functions/get-array.js"(exports) {
|
|
168073
|
-
"use strict";
|
|
168074
|
-
init_cjs_shims();
|
|
168075
|
-
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
168076
|
-
exports.build = build;
|
|
168077
|
-
var getArray = (paths) => paths, getArrayGroup = () => [""].slice(0, 0);
|
|
168078
|
-
function build(options) {
|
|
168079
|
-
return options.group ? getArrayGroup : getArray;
|
|
168080
|
-
}
|
|
168081
|
-
}
|
|
168082
|
-
});
|
|
168083
|
-
|
|
168084
|
-
// ../../node_modules/.pnpm/fdir@6.4.5_picomatch@4.0.2/node_modules/fdir/dist/api/functions/group-files.js
|
|
168085
|
-
var require_group_files = __commonJS({
|
|
168086
|
-
"../../node_modules/.pnpm/fdir@6.4.5_picomatch@4.0.2/node_modules/fdir/dist/api/functions/group-files.js"(exports) {
|
|
168087
|
-
"use strict";
|
|
168088
|
-
init_cjs_shims();
|
|
168089
|
-
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
168090
|
-
exports.build = build;
|
|
168091
|
-
var groupFiles = (groups, directory, files) => {
|
|
168092
|
-
groups.push({ directory, files, dir: directory });
|
|
168093
|
-
}, empty = () => {
|
|
168094
|
-
};
|
|
168095
|
-
function build(options) {
|
|
168096
|
-
return options.group ? groupFiles : empty;
|
|
168097
|
-
}
|
|
168098
|
-
}
|
|
168099
|
-
});
|
|
168100
|
-
|
|
168101
|
-
// ../../node_modules/.pnpm/fdir@6.4.5_picomatch@4.0.2/node_modules/fdir/dist/api/functions/resolve-symlink.js
|
|
168102
|
-
var require_resolve_symlink = __commonJS({
|
|
168103
|
-
"../../node_modules/.pnpm/fdir@6.4.5_picomatch@4.0.2/node_modules/fdir/dist/api/functions/resolve-symlink.js"(exports) {
|
|
168104
|
-
"use strict";
|
|
168105
|
-
init_cjs_shims();
|
|
168106
|
-
var __importDefault = exports && exports.__importDefault || function(mod) {
|
|
168107
|
-
return mod && mod.__esModule ? mod : { default: mod };
|
|
168108
|
-
};
|
|
168109
|
-
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
168110
|
-
exports.build = build;
|
|
168111
|
-
var fs_1 = __importDefault(__require("fs")), path_1 = __require("path"), resolveSymlinksAsync = function(path, state, callback) {
|
|
168112
|
-
let { queue, options: { suppressErrors } } = state;
|
|
168113
|
-
queue.enqueue(), fs_1.default.realpath(path, (error, resolvedPath) => {
|
|
168114
|
-
if (error)
|
|
168115
|
-
return queue.dequeue(suppressErrors ? null : error, state);
|
|
168116
|
-
fs_1.default.stat(resolvedPath, (error2, stat) => {
|
|
168117
|
-
if (error2)
|
|
168118
|
-
return queue.dequeue(suppressErrors ? null : error2, state);
|
|
168119
|
-
if (stat.isDirectory() && isRecursive(path, resolvedPath, state))
|
|
168120
|
-
return queue.dequeue(null, state);
|
|
168121
|
-
callback(stat, resolvedPath), queue.dequeue(null, state);
|
|
168122
|
-
});
|
|
168123
|
-
});
|
|
168124
|
-
}, resolveSymlinks = function(path, state, callback) {
|
|
168125
|
-
let { queue, options: { suppressErrors } } = state;
|
|
168126
|
-
queue.enqueue();
|
|
168127
|
-
try {
|
|
168128
|
-
let resolvedPath = fs_1.default.realpathSync(path), stat = fs_1.default.statSync(resolvedPath);
|
|
168129
|
-
if (stat.isDirectory() && isRecursive(path, resolvedPath, state))
|
|
168130
|
-
return;
|
|
168131
|
-
callback(stat, resolvedPath);
|
|
168132
|
-
} catch (e) {
|
|
168133
|
-
if (!suppressErrors)
|
|
168134
|
-
throw e;
|
|
168135
|
-
}
|
|
168136
|
-
};
|
|
168137
|
-
function build(options, isSynchronous) {
|
|
168138
|
-
return !options.resolveSymlinks || options.excludeSymlinks ? null : isSynchronous ? resolveSymlinks : resolveSymlinksAsync;
|
|
168139
|
-
}
|
|
168140
|
-
function isRecursive(path, resolved, state) {
|
|
168141
|
-
if (state.options.useRealPaths)
|
|
168142
|
-
return isRecursiveUsingRealPaths(resolved, state);
|
|
168143
|
-
let parent = (0, path_1.dirname)(path), depth = 1;
|
|
168144
|
-
for (; parent !== state.root && depth < 2; ) {
|
|
168145
|
-
let resolvedPath = state.symlinks.get(parent);
|
|
168146
|
-
!!resolvedPath && (resolvedPath === resolved || resolvedPath.startsWith(resolved) || resolved.startsWith(resolvedPath)) ? depth++ : parent = (0, path_1.dirname)(parent);
|
|
168147
|
-
}
|
|
168148
|
-
return state.symlinks.set(path, resolved), depth > 1;
|
|
168149
|
-
}
|
|
168150
|
-
function isRecursiveUsingRealPaths(resolved, state) {
|
|
168151
|
-
return state.visited.includes(resolved + state.options.pathSeparator);
|
|
168152
|
-
}
|
|
168153
|
-
}
|
|
168154
|
-
});
|
|
168155
|
-
|
|
168156
|
-
// ../../node_modules/.pnpm/fdir@6.4.5_picomatch@4.0.2/node_modules/fdir/dist/api/functions/invoke-callback.js
|
|
168157
|
-
var require_invoke_callback = __commonJS({
|
|
168158
|
-
"../../node_modules/.pnpm/fdir@6.4.5_picomatch@4.0.2/node_modules/fdir/dist/api/functions/invoke-callback.js"(exports) {
|
|
168159
|
-
"use strict";
|
|
168160
|
-
init_cjs_shims();
|
|
168161
|
-
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
168162
|
-
exports.build = build;
|
|
168163
|
-
var onlyCountsSync = (state) => state.counts, groupsSync = (state) => state.groups, defaultSync = (state) => state.paths, limitFilesSync = (state) => state.paths.slice(0, state.options.maxFiles), onlyCountsAsync = (state, error, callback) => (report(error, callback, state.counts, state.options.suppressErrors), null), defaultAsync = (state, error, callback) => (report(error, callback, state.paths, state.options.suppressErrors), null), limitFilesAsync = (state, error, callback) => (report(error, callback, state.paths.slice(0, state.options.maxFiles), state.options.suppressErrors), null), groupsAsync = (state, error, callback) => (report(error, callback, state.groups, state.options.suppressErrors), null);
|
|
168164
|
-
function report(error, callback, output, suppressErrors) {
|
|
168165
|
-
callback(error && !suppressErrors ? error : null, output);
|
|
168166
|
-
}
|
|
168167
|
-
function build(options, isSynchronous) {
|
|
168168
|
-
let { onlyCounts, group, maxFiles } = options;
|
|
168169
|
-
return onlyCounts ? isSynchronous ? onlyCountsSync : onlyCountsAsync : group ? isSynchronous ? groupsSync : groupsAsync : maxFiles ? isSynchronous ? limitFilesSync : limitFilesAsync : isSynchronous ? defaultSync : defaultAsync;
|
|
168170
|
-
}
|
|
168171
|
-
}
|
|
168172
|
-
});
|
|
168173
|
-
|
|
168174
|
-
// ../../node_modules/.pnpm/fdir@6.4.5_picomatch@4.0.2/node_modules/fdir/dist/api/functions/walk-directory.js
|
|
168175
|
-
var require_walk_directory = __commonJS({
|
|
168176
|
-
"../../node_modules/.pnpm/fdir@6.4.5_picomatch@4.0.2/node_modules/fdir/dist/api/functions/walk-directory.js"(exports) {
|
|
168177
|
-
"use strict";
|
|
168178
|
-
init_cjs_shims();
|
|
168179
|
-
var __importDefault = exports && exports.__importDefault || function(mod) {
|
|
168180
|
-
return mod && mod.__esModule ? mod : { default: mod };
|
|
168181
|
-
};
|
|
168182
|
-
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
168183
|
-
exports.build = build;
|
|
168184
|
-
var fs_1 = __importDefault(__require("fs")), readdirOpts = { withFileTypes: !0 }, walkAsync = (state, crawlPath, directoryPath, currentDepth, callback) => {
|
|
168185
|
-
if (state.queue.enqueue(), currentDepth <= 0)
|
|
168186
|
-
return state.queue.dequeue(null, state);
|
|
168187
|
-
state.visited.push(crawlPath), state.counts.directories++, fs_1.default.readdir(crawlPath || ".", readdirOpts, (error, entries = []) => {
|
|
168188
|
-
callback(entries, directoryPath, currentDepth), state.queue.dequeue(state.options.suppressErrors ? null : error, state);
|
|
168189
|
-
});
|
|
168190
|
-
}, walkSync = (state, crawlPath, directoryPath, currentDepth, callback) => {
|
|
168191
|
-
if (currentDepth <= 0)
|
|
168192
|
-
return;
|
|
168193
|
-
state.visited.push(crawlPath), state.counts.directories++;
|
|
168194
|
-
let entries = [];
|
|
168195
|
-
try {
|
|
168196
|
-
entries = fs_1.default.readdirSync(crawlPath || ".", readdirOpts);
|
|
168197
|
-
} catch (e) {
|
|
168198
|
-
if (!state.options.suppressErrors)
|
|
168199
|
-
throw e;
|
|
168200
|
-
}
|
|
168201
|
-
callback(entries, directoryPath, currentDepth);
|
|
168202
|
-
};
|
|
168203
|
-
function build(isSynchronous) {
|
|
168204
|
-
return isSynchronous ? walkSync : walkAsync;
|
|
168205
|
-
}
|
|
168206
|
-
}
|
|
168207
|
-
});
|
|
168208
|
-
|
|
168209
|
-
// ../../node_modules/.pnpm/fdir@6.4.5_picomatch@4.0.2/node_modules/fdir/dist/api/queue.js
|
|
168210
|
-
var require_queue = __commonJS({
|
|
168211
|
-
"../../node_modules/.pnpm/fdir@6.4.5_picomatch@4.0.2/node_modules/fdir/dist/api/queue.js"(exports) {
|
|
168212
|
-
"use strict";
|
|
168213
|
-
init_cjs_shims();
|
|
168214
|
-
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
168215
|
-
exports.Queue = void 0;
|
|
168216
|
-
var Queue = class {
|
|
168217
|
-
onQueueEmpty;
|
|
168218
|
-
count = 0;
|
|
168219
|
-
constructor(onQueueEmpty) {
|
|
168220
|
-
this.onQueueEmpty = onQueueEmpty;
|
|
168221
|
-
}
|
|
168222
|
-
enqueue() {
|
|
168223
|
-
return this.count++, this.count;
|
|
168224
|
-
}
|
|
168225
|
-
dequeue(error, output) {
|
|
168226
|
-
this.onQueueEmpty && (--this.count <= 0 || error) && (this.onQueueEmpty(error, output), error && (output.controller.abort(), this.onQueueEmpty = void 0));
|
|
168227
|
-
}
|
|
168228
|
-
};
|
|
168229
|
-
exports.Queue = Queue;
|
|
168230
|
-
}
|
|
168231
|
-
});
|
|
168232
|
-
|
|
168233
|
-
// ../../node_modules/.pnpm/fdir@6.4.5_picomatch@4.0.2/node_modules/fdir/dist/api/counter.js
|
|
168234
|
-
var require_counter = __commonJS({
|
|
168235
|
-
"../../node_modules/.pnpm/fdir@6.4.5_picomatch@4.0.2/node_modules/fdir/dist/api/counter.js"(exports) {
|
|
168236
|
-
"use strict";
|
|
168237
|
-
init_cjs_shims();
|
|
168238
|
-
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
168239
|
-
exports.Counter = void 0;
|
|
168240
|
-
var Counter = class {
|
|
168241
|
-
_files = 0;
|
|
168242
|
-
_directories = 0;
|
|
168243
|
-
set files(num) {
|
|
168244
|
-
this._files = num;
|
|
168245
|
-
}
|
|
168246
|
-
get files() {
|
|
168247
|
-
return this._files;
|
|
168248
|
-
}
|
|
168249
|
-
set directories(num) {
|
|
168250
|
-
this._directories = num;
|
|
168251
|
-
}
|
|
168252
|
-
get directories() {
|
|
168253
|
-
return this._directories;
|
|
168254
|
-
}
|
|
168255
|
-
/**
|
|
168256
|
-
* @deprecated use `directories` instead
|
|
168257
|
-
*/
|
|
168258
|
-
/* c8 ignore next 3 */
|
|
168259
|
-
get dirs() {
|
|
168260
|
-
return this._directories;
|
|
168261
|
-
}
|
|
168262
|
-
};
|
|
168263
|
-
exports.Counter = Counter;
|
|
168264
|
-
}
|
|
168265
|
-
});
|
|
168266
|
-
|
|
168267
|
-
// ../../node_modules/.pnpm/fdir@6.4.5_picomatch@4.0.2/node_modules/fdir/dist/api/walker.js
|
|
168268
|
-
var require_walker = __commonJS({
|
|
168269
|
-
"../../node_modules/.pnpm/fdir@6.4.5_picomatch@4.0.2/node_modules/fdir/dist/api/walker.js"(exports) {
|
|
168270
|
-
"use strict";
|
|
168271
|
-
init_cjs_shims();
|
|
168272
|
-
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
168273
|
-
k2 === void 0 && (k2 = k);
|
|
168274
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
168275
|
-
(!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) && (desc = { enumerable: !0, get: function() {
|
|
168276
|
-
return m[k];
|
|
168277
|
-
} }), Object.defineProperty(o, k2, desc);
|
|
168278
|
-
} : function(o, m, k, k2) {
|
|
168279
|
-
k2 === void 0 && (k2 = k), o[k2] = m[k];
|
|
168280
|
-
}), __setModuleDefault = exports && exports.__setModuleDefault || (Object.create ? function(o, v) {
|
|
168281
|
-
Object.defineProperty(o, "default", { enumerable: !0, value: v });
|
|
168282
|
-
} : function(o, v) {
|
|
168283
|
-
o.default = v;
|
|
168284
|
-
}), __importStar = exports && exports.__importStar || /* @__PURE__ */ function() {
|
|
168285
|
-
var ownKeys = function(o) {
|
|
168286
|
-
return ownKeys = Object.getOwnPropertyNames || function(o2) {
|
|
168287
|
-
var ar = [];
|
|
168288
|
-
for (var k in o2) Object.prototype.hasOwnProperty.call(o2, k) && (ar[ar.length] = k);
|
|
168289
|
-
return ar;
|
|
168290
|
-
}, ownKeys(o);
|
|
168291
|
-
};
|
|
168292
|
-
return function(mod) {
|
|
168293
|
-
if (mod && mod.__esModule) return mod;
|
|
168294
|
-
var result = {};
|
|
168295
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) k[i] !== "default" && __createBinding(result, mod, k[i]);
|
|
168296
|
-
return __setModuleDefault(result, mod), result;
|
|
168297
|
-
};
|
|
168298
|
-
}();
|
|
168299
|
-
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
168300
|
-
exports.Walker = void 0;
|
|
168301
|
-
var path_1 = __require("path"), utils_1 = require_utils2(), joinPath = __importStar(require_join_path()), pushDirectory = __importStar(require_push_directory()), pushFile = __importStar(require_push_file()), getArray = __importStar(require_get_array()), groupFiles = __importStar(require_group_files()), resolveSymlink = __importStar(require_resolve_symlink()), invokeCallback = __importStar(require_invoke_callback()), walkDirectory = __importStar(require_walk_directory()), queue_1 = require_queue(), counter_1 = require_counter(), Walker = class {
|
|
168302
|
-
root;
|
|
168303
|
-
isSynchronous;
|
|
168304
|
-
state;
|
|
168305
|
-
joinPath;
|
|
168306
|
-
pushDirectory;
|
|
168307
|
-
pushFile;
|
|
168308
|
-
getArray;
|
|
168309
|
-
groupFiles;
|
|
168310
|
-
resolveSymlink;
|
|
168311
|
-
walkDirectory;
|
|
168312
|
-
callbackInvoker;
|
|
168313
|
-
constructor(root, options, callback) {
|
|
168314
|
-
this.isSynchronous = !callback, this.callbackInvoker = invokeCallback.build(options, this.isSynchronous), this.root = (0, utils_1.normalizePath)(root, options), this.state = {
|
|
168315
|
-
root: (0, utils_1.isRootDirectory)(this.root) ? this.root : this.root.slice(0, -1),
|
|
168316
|
-
// Perf: we explicitly tell the compiler to optimize for String arrays
|
|
168317
|
-
paths: [""].slice(0, 0),
|
|
168318
|
-
groups: [],
|
|
168319
|
-
counts: new counter_1.Counter(),
|
|
168320
|
-
options,
|
|
168321
|
-
queue: new queue_1.Queue((error, state) => this.callbackInvoker(state, error, callback)),
|
|
168322
|
-
symlinks: /* @__PURE__ */ new Map(),
|
|
168323
|
-
visited: [""].slice(0, 0),
|
|
168324
|
-
controller: new AbortController()
|
|
168325
|
-
}, this.joinPath = joinPath.build(this.root, options), this.pushDirectory = pushDirectory.build(this.root, options), this.pushFile = pushFile.build(options), this.getArray = getArray.build(options), this.groupFiles = groupFiles.build(options), this.resolveSymlink = resolveSymlink.build(options, this.isSynchronous), this.walkDirectory = walkDirectory.build(this.isSynchronous);
|
|
168326
|
-
}
|
|
168327
|
-
start() {
|
|
168328
|
-
return this.pushDirectory(this.root, this.state.paths, this.state.options.filters), this.walkDirectory(this.state, this.root, this.root, this.state.options.maxDepth, this.walk), this.isSynchronous ? this.callbackInvoker(this.state, null) : null;
|
|
168329
|
-
}
|
|
168330
|
-
walk = (entries, directoryPath, depth) => {
|
|
168331
|
-
let { paths, options: { filters, resolveSymlinks, excludeSymlinks, exclude, maxFiles, signal, useRealPaths, pathSeparator }, controller } = this.state;
|
|
168332
|
-
if (controller.signal.aborted || signal && signal.aborted || maxFiles && paths.length > maxFiles)
|
|
168333
|
-
return;
|
|
168334
|
-
let files = this.getArray(this.state.paths);
|
|
168335
|
-
for (let i = 0; i < entries.length; ++i) {
|
|
168336
|
-
let entry = entries[i];
|
|
168337
|
-
if (entry.isFile() || entry.isSymbolicLink() && !resolveSymlinks && !excludeSymlinks) {
|
|
168338
|
-
let filename = this.joinPath(entry.name, directoryPath);
|
|
168339
|
-
this.pushFile(filename, files, this.state.counts, filters);
|
|
168340
|
-
} else if (entry.isDirectory()) {
|
|
168341
|
-
let path = joinPath.joinDirectoryPath(entry.name, directoryPath, this.state.options.pathSeparator);
|
|
168342
|
-
if (exclude && exclude(entry.name, path))
|
|
168343
|
-
continue;
|
|
168344
|
-
this.pushDirectory(path, paths, filters), this.walkDirectory(this.state, path, path, depth - 1, this.walk);
|
|
168345
|
-
} else if (this.resolveSymlink && entry.isSymbolicLink()) {
|
|
168346
|
-
let path = joinPath.joinPathWithBasePath(entry.name, directoryPath);
|
|
168347
|
-
this.resolveSymlink(path, this.state, (stat, resolvedPath) => {
|
|
168348
|
-
if (stat.isDirectory()) {
|
|
168349
|
-
if (resolvedPath = (0, utils_1.normalizePath)(resolvedPath, this.state.options), exclude && exclude(entry.name, useRealPaths ? resolvedPath : path + pathSeparator))
|
|
168350
|
-
return;
|
|
168351
|
-
this.walkDirectory(this.state, resolvedPath, useRealPaths ? resolvedPath : path + pathSeparator, depth - 1, this.walk);
|
|
168352
|
-
} else {
|
|
168353
|
-
resolvedPath = useRealPaths ? resolvedPath : path;
|
|
168354
|
-
let filename = (0, path_1.basename)(resolvedPath), directoryPath2 = (0, utils_1.normalizePath)((0, path_1.dirname)(resolvedPath), this.state.options);
|
|
168355
|
-
resolvedPath = this.joinPath(filename, directoryPath2), this.pushFile(resolvedPath, files, this.state.counts, filters);
|
|
168356
|
-
}
|
|
168357
|
-
});
|
|
168358
|
-
}
|
|
168359
|
-
}
|
|
168360
|
-
this.groupFiles(this.state.groups, directoryPath, files);
|
|
168361
|
-
};
|
|
168362
|
-
};
|
|
168363
|
-
exports.Walker = Walker;
|
|
168364
|
-
}
|
|
168365
|
-
});
|
|
168366
|
-
|
|
168367
|
-
// ../../node_modules/.pnpm/fdir@6.4.5_picomatch@4.0.2/node_modules/fdir/dist/api/async.js
|
|
168368
|
-
var require_async2 = __commonJS({
|
|
168369
|
-
"../../node_modules/.pnpm/fdir@6.4.5_picomatch@4.0.2/node_modules/fdir/dist/api/async.js"(exports) {
|
|
168370
|
-
"use strict";
|
|
168371
|
-
init_cjs_shims();
|
|
168372
|
-
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
168373
|
-
exports.promise = promise;
|
|
168374
|
-
exports.callback = callback;
|
|
168375
|
-
var walker_1 = require_walker();
|
|
168376
|
-
function promise(root, options) {
|
|
168377
|
-
return new Promise((resolve, reject) => {
|
|
168378
|
-
callback(root, options, (err, output) => {
|
|
168379
|
-
if (err)
|
|
168380
|
-
return reject(err);
|
|
168381
|
-
resolve(output);
|
|
168382
|
-
});
|
|
168383
|
-
});
|
|
168384
|
-
}
|
|
168385
|
-
function callback(root, options, callback2) {
|
|
168386
|
-
new walker_1.Walker(root, options, callback2).start();
|
|
168387
|
-
}
|
|
168388
|
-
}
|
|
168389
|
-
});
|
|
168390
|
-
|
|
168391
|
-
// ../../node_modules/.pnpm/fdir@6.4.5_picomatch@4.0.2/node_modules/fdir/dist/api/sync.js
|
|
168392
|
-
var require_sync2 = __commonJS({
|
|
168393
|
-
"../../node_modules/.pnpm/fdir@6.4.5_picomatch@4.0.2/node_modules/fdir/dist/api/sync.js"(exports) {
|
|
168394
|
-
"use strict";
|
|
168395
|
-
init_cjs_shims();
|
|
168396
|
-
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
168397
|
-
exports.sync = sync;
|
|
168398
|
-
var walker_1 = require_walker();
|
|
168399
|
-
function sync(root, options) {
|
|
168400
|
-
return new walker_1.Walker(root, options).start();
|
|
168401
|
-
}
|
|
168402
|
-
}
|
|
168403
|
-
});
|
|
168404
|
-
|
|
168405
|
-
// ../../node_modules/.pnpm/fdir@6.4.5_picomatch@4.0.2/node_modules/fdir/dist/builder/api-builder.js
|
|
168406
|
-
var require_api_builder = __commonJS({
|
|
168407
|
-
"../../node_modules/.pnpm/fdir@6.4.5_picomatch@4.0.2/node_modules/fdir/dist/builder/api-builder.js"(exports) {
|
|
168408
|
-
"use strict";
|
|
168409
|
-
init_cjs_shims();
|
|
168410
|
-
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
168411
|
-
exports.APIBuilder = void 0;
|
|
168412
|
-
var async_1 = require_async2(), sync_1 = require_sync2(), APIBuilder = class {
|
|
168413
|
-
root;
|
|
168414
|
-
options;
|
|
168415
|
-
constructor(root, options) {
|
|
168416
|
-
this.root = root, this.options = options;
|
|
168417
|
-
}
|
|
168418
|
-
withPromise() {
|
|
168419
|
-
return (0, async_1.promise)(this.root, this.options);
|
|
168420
|
-
}
|
|
168421
|
-
withCallback(cb) {
|
|
168422
|
-
(0, async_1.callback)(this.root, this.options, cb);
|
|
168423
|
-
}
|
|
168424
|
-
sync() {
|
|
168425
|
-
return (0, sync_1.sync)(this.root, this.options);
|
|
168426
|
-
}
|
|
168427
|
-
};
|
|
168428
|
-
exports.APIBuilder = APIBuilder;
|
|
168429
|
-
}
|
|
168430
|
-
});
|
|
168431
|
-
|
|
168432
|
-
// ../../node_modules/.pnpm/picomatch@4.0.2/node_modules/picomatch/lib/constants.js
|
|
167950
|
+
// ../../node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/constants.js
|
|
168433
167951
|
var require_constants2 = __commonJS({
|
|
168434
|
-
"../../node_modules/.pnpm/picomatch@4.0.
|
|
167952
|
+
"../../node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/constants.js"(exports, module) {
|
|
168435
167953
|
"use strict";
|
|
168436
167954
|
init_cjs_shims();
|
|
168437
167955
|
var WIN_SLASH = "\\\\/", WIN_NO_SLASH = `[^${WIN_SLASH}]`, DOT_LITERAL = "\\.", PLUS_LITERAL = "\\+", QMARK_LITERAL = "\\?", SLASH_LITERAL = "\\/", ONE_CHAR = "(?=.)", QMARK = "[^/]", END_ANCHOR = `(?:${SLASH_LITERAL}|$)`, START_ANCHOR = `(?:^|${SLASH_LITERAL})`, DOTS_SLASH = `${DOT_LITERAL}{1,2}${END_ANCHOR}`, NO_DOT = `(?!${DOT_LITERAL})`, NO_DOTS = `(?!${START_ANCHOR}${DOTS_SLASH})`, NO_DOT_SLASH = `(?!${DOT_LITERAL}{0,1}${END_ANCHOR})`, NO_DOTS_SLASH = `(?!${DOTS_SLASH})`, QMARK_NO_DOT = `[^.${SLASH_LITERAL}]`, STAR = `${QMARK}*?`, SEP = "/", POSIX_CHARS = {
|
|
@@ -168493,6 +168011,7 @@ var require_constants2 = __commonJS({
|
|
|
168493
168011
|
REGEX_REMOVE_BACKSLASH: /(?:\[.*?[^\\]\]|\\(?=.))/g,
|
|
168494
168012
|
// Replace globs with equivalent patterns to reduce parsing time.
|
|
168495
168013
|
REPLACEMENTS: {
|
|
168014
|
+
__proto__: null,
|
|
168496
168015
|
"***": "*",
|
|
168497
168016
|
"**/**": "**",
|
|
168498
168017
|
"**/**/**": "**"
|
|
@@ -168608,9 +168127,9 @@ var require_constants2 = __commonJS({
|
|
|
168608
168127
|
}
|
|
168609
168128
|
});
|
|
168610
168129
|
|
|
168611
|
-
// ../../node_modules/.pnpm/picomatch@4.0.
|
|
168612
|
-
var
|
|
168613
|
-
"../../node_modules/.pnpm/picomatch@4.0.
|
|
168130
|
+
// ../../node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/utils.js
|
|
168131
|
+
var require_utils2 = __commonJS({
|
|
168132
|
+
"../../node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/utils.js"(exports) {
|
|
168614
168133
|
"use strict";
|
|
168615
168134
|
init_cjs_shims();
|
|
168616
168135
|
var {
|
|
@@ -168651,12 +168170,12 @@ var require_utils3 = __commonJS({
|
|
|
168651
168170
|
}
|
|
168652
168171
|
});
|
|
168653
168172
|
|
|
168654
|
-
// ../../node_modules/.pnpm/picomatch@4.0.
|
|
168173
|
+
// ../../node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/scan.js
|
|
168655
168174
|
var require_scan = __commonJS({
|
|
168656
|
-
"../../node_modules/.pnpm/picomatch@4.0.
|
|
168175
|
+
"../../node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/scan.js"(exports, module) {
|
|
168657
168176
|
"use strict";
|
|
168658
168177
|
init_cjs_shims();
|
|
168659
|
-
var utils =
|
|
168178
|
+
var utils = require_utils2(), {
|
|
168660
168179
|
CHAR_ASTERISK,
|
|
168661
168180
|
/* * */
|
|
168662
168181
|
CHAR_AT,
|
|
@@ -168838,12 +168357,12 @@ var require_scan = __commonJS({
|
|
|
168838
168357
|
}
|
|
168839
168358
|
});
|
|
168840
168359
|
|
|
168841
|
-
// ../../node_modules/.pnpm/picomatch@4.0.
|
|
168360
|
+
// ../../node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/parse.js
|
|
168842
168361
|
var require_parse2 = __commonJS({
|
|
168843
|
-
"../../node_modules/.pnpm/picomatch@4.0.
|
|
168362
|
+
"../../node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/parse.js"(exports, module) {
|
|
168844
168363
|
"use strict";
|
|
168845
168364
|
init_cjs_shims();
|
|
168846
|
-
var constants = require_constants2(), utils =
|
|
168365
|
+
var constants = require_constants2(), utils = require_utils2(), {
|
|
168847
168366
|
MAX_LENGTH,
|
|
168848
168367
|
POSIX_REGEX_SOURCE,
|
|
168849
168368
|
REGEX_NON_SPECIAL_CHARS,
|
|
@@ -169282,12 +168801,12 @@ var require_parse2 = __commonJS({
|
|
|
169282
168801
|
}
|
|
169283
168802
|
});
|
|
169284
168803
|
|
|
169285
|
-
// ../../node_modules/.pnpm/picomatch@4.0.
|
|
168804
|
+
// ../../node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/picomatch.js
|
|
169286
168805
|
var require_picomatch = __commonJS({
|
|
169287
|
-
"../../node_modules/.pnpm/picomatch@4.0.
|
|
168806
|
+
"../../node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/picomatch.js"(exports, module) {
|
|
169288
168807
|
"use strict";
|
|
169289
168808
|
init_cjs_shims();
|
|
169290
|
-
var scan = require_scan(), parse = require_parse2(), utils =
|
|
168809
|
+
var scan = require_scan(), parse = require_parse2(), utils = require_utils2(), constants = require_constants2(), isObject = (val) => val && typeof val == "object" && !Array.isArray(val), picomatch = (glob, options, returnState = !1) => {
|
|
169291
168810
|
if (Array.isArray(glob)) {
|
|
169292
168811
|
let fns = glob.map((input) => picomatch(input, options, returnState));
|
|
169293
168812
|
return (str) => {
|
|
@@ -169354,12 +168873,12 @@ var require_picomatch = __commonJS({
|
|
|
169354
168873
|
}
|
|
169355
168874
|
});
|
|
169356
168875
|
|
|
169357
|
-
// ../../node_modules/.pnpm/picomatch@4.0.
|
|
168876
|
+
// ../../node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/index.js
|
|
169358
168877
|
var require_picomatch2 = __commonJS({
|
|
169359
|
-
"../../node_modules/.pnpm/picomatch@4.0.
|
|
168878
|
+
"../../node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/index.js"(exports, module) {
|
|
169360
168879
|
"use strict";
|
|
169361
168880
|
init_cjs_shims();
|
|
169362
|
-
var pico = require_picomatch(), utils =
|
|
168881
|
+
var pico = require_picomatch(), utils = require_utils2();
|
|
169363
168882
|
function picomatch(glob, options, returnState = !1) {
|
|
169364
168883
|
return options && (options.windows === null || options.windows === void 0) && (options = { ...options, windows: utils.isWindows() }), pico(glob, options, returnState);
|
|
169365
168884
|
}
|
|
@@ -169368,14 +168887,298 @@ var require_picomatch2 = __commonJS({
|
|
|
169368
168887
|
}
|
|
169369
168888
|
});
|
|
169370
168889
|
|
|
169371
|
-
// ../../node_modules/.pnpm/fdir@6.
|
|
169372
|
-
var
|
|
169373
|
-
"../../node_modules/.pnpm/fdir@6.
|
|
169374
|
-
"use strict";
|
|
168890
|
+
// ../../node_modules/.pnpm/fdir@6.5.0_picomatch@4.0.3/node_modules/fdir/dist/index.cjs
|
|
168891
|
+
var require_dist = __commonJS({
|
|
168892
|
+
"../../node_modules/.pnpm/fdir@6.5.0_picomatch@4.0.3/node_modules/fdir/dist/index.cjs"(exports) {
|
|
169375
168893
|
init_cjs_shims();
|
|
169376
|
-
Object.defineProperty(
|
|
169377
|
-
|
|
169378
|
-
|
|
168894
|
+
var __create = Object.create, __defProp = Object.defineProperty, __getOwnPropDesc = Object.getOwnPropertyDescriptor, __getOwnPropNames = Object.getOwnPropertyNames, __getProtoOf = Object.getPrototypeOf, __hasOwnProp = Object.prototype.hasOwnProperty, __copyProps = (to, from, except, desc) => {
|
|
168895
|
+
if (from && typeof from == "object" || typeof from == "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++)
|
|
168896
|
+
key = keys[i], !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
|
|
168897
|
+
get: ((k) => from[k]).bind(null, key),
|
|
168898
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
168899
|
+
});
|
|
168900
|
+
return to;
|
|
168901
|
+
}, __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
168902
|
+
value: mod,
|
|
168903
|
+
enumerable: !0
|
|
168904
|
+
}) : target, mod)), path = __toESM(__require("path")), fs = __toESM(__require("fs"));
|
|
168905
|
+
function cleanPath(path$1) {
|
|
168906
|
+
let normalized = (0, path.normalize)(path$1);
|
|
168907
|
+
return normalized.length > 1 && normalized[normalized.length - 1] === path.sep && (normalized = normalized.substring(0, normalized.length - 1)), normalized;
|
|
168908
|
+
}
|
|
168909
|
+
var SLASHES_REGEX = /[\\/]/g;
|
|
168910
|
+
function convertSlashes(path$1, separator) {
|
|
168911
|
+
return path$1.replace(SLASHES_REGEX, separator);
|
|
168912
|
+
}
|
|
168913
|
+
var WINDOWS_ROOT_DIR_REGEX = /^[a-z]:[\\/]$/i;
|
|
168914
|
+
function isRootDirectory(path$1) {
|
|
168915
|
+
return path$1 === "/" || WINDOWS_ROOT_DIR_REGEX.test(path$1);
|
|
168916
|
+
}
|
|
168917
|
+
function normalizePath(path$1, options) {
|
|
168918
|
+
let { resolvePaths, normalizePath: normalizePath$1, pathSeparator } = options, pathNeedsCleaning = process.platform === "win32" && path$1.includes("/") || path$1.startsWith(".");
|
|
168919
|
+
if (resolvePaths && (path$1 = (0, path.resolve)(path$1)), (normalizePath$1 || pathNeedsCleaning) && (path$1 = cleanPath(path$1)), path$1 === ".") return "";
|
|
168920
|
+
let needsSeperator = path$1[path$1.length - 1] !== pathSeparator;
|
|
168921
|
+
return convertSlashes(needsSeperator ? path$1 + pathSeparator : path$1, pathSeparator);
|
|
168922
|
+
}
|
|
168923
|
+
function joinPathWithBasePath(filename, directoryPath) {
|
|
168924
|
+
return directoryPath + filename;
|
|
168925
|
+
}
|
|
168926
|
+
function joinPathWithRelativePath(root, options) {
|
|
168927
|
+
return function(filename, directoryPath) {
|
|
168928
|
+
return directoryPath.startsWith(root) ? directoryPath.slice(root.length) + filename : convertSlashes((0, path.relative)(root, directoryPath), options.pathSeparator) + options.pathSeparator + filename;
|
|
168929
|
+
};
|
|
168930
|
+
}
|
|
168931
|
+
function joinPath(filename) {
|
|
168932
|
+
return filename;
|
|
168933
|
+
}
|
|
168934
|
+
function joinDirectoryPath(filename, directoryPath, separator) {
|
|
168935
|
+
return directoryPath + filename + separator;
|
|
168936
|
+
}
|
|
168937
|
+
function build$7(root, options) {
|
|
168938
|
+
let { relativePaths, includeBasePath } = options;
|
|
168939
|
+
return relativePaths && root ? joinPathWithRelativePath(root, options) : includeBasePath ? joinPathWithBasePath : joinPath;
|
|
168940
|
+
}
|
|
168941
|
+
function pushDirectoryWithRelativePath(root) {
|
|
168942
|
+
return function(directoryPath, paths) {
|
|
168943
|
+
paths.push(directoryPath.substring(root.length) || ".");
|
|
168944
|
+
};
|
|
168945
|
+
}
|
|
168946
|
+
function pushDirectoryFilterWithRelativePath(root) {
|
|
168947
|
+
return function(directoryPath, paths, filters) {
|
|
168948
|
+
let relativePath = directoryPath.substring(root.length) || ".";
|
|
168949
|
+
filters.every((filter) => filter(relativePath, !0)) && paths.push(relativePath);
|
|
168950
|
+
};
|
|
168951
|
+
}
|
|
168952
|
+
var pushDirectory = (directoryPath, paths) => {
|
|
168953
|
+
paths.push(directoryPath || ".");
|
|
168954
|
+
}, pushDirectoryFilter = (directoryPath, paths, filters) => {
|
|
168955
|
+
let path$1 = directoryPath || ".";
|
|
168956
|
+
filters.every((filter) => filter(path$1, !0)) && paths.push(path$1);
|
|
168957
|
+
}, empty$2 = () => {
|
|
168958
|
+
};
|
|
168959
|
+
function build$6(root, options) {
|
|
168960
|
+
let { includeDirs, filters, relativePaths } = options;
|
|
168961
|
+
return includeDirs ? relativePaths ? filters && filters.length ? pushDirectoryFilterWithRelativePath(root) : pushDirectoryWithRelativePath(root) : filters && filters.length ? pushDirectoryFilter : pushDirectory : empty$2;
|
|
168962
|
+
}
|
|
168963
|
+
var pushFileFilterAndCount = (filename, _paths, counts, filters) => {
|
|
168964
|
+
filters.every((filter) => filter(filename, !1)) && counts.files++;
|
|
168965
|
+
}, pushFileFilter = (filename, paths, _counts, filters) => {
|
|
168966
|
+
filters.every((filter) => filter(filename, !1)) && paths.push(filename);
|
|
168967
|
+
}, pushFileCount = (_filename, _paths, counts, _filters) => {
|
|
168968
|
+
counts.files++;
|
|
168969
|
+
}, pushFile = (filename, paths) => {
|
|
168970
|
+
paths.push(filename);
|
|
168971
|
+
}, empty$1 = () => {
|
|
168972
|
+
};
|
|
168973
|
+
function build$5(options) {
|
|
168974
|
+
let { excludeFiles, filters, onlyCounts } = options;
|
|
168975
|
+
return excludeFiles ? empty$1 : filters && filters.length ? onlyCounts ? pushFileFilterAndCount : pushFileFilter : onlyCounts ? pushFileCount : pushFile;
|
|
168976
|
+
}
|
|
168977
|
+
var getArray = (paths) => paths, getArrayGroup = () => [""].slice(0, 0);
|
|
168978
|
+
function build$4(options) {
|
|
168979
|
+
return options.group ? getArrayGroup : getArray;
|
|
168980
|
+
}
|
|
168981
|
+
var groupFiles = (groups, directory, files) => {
|
|
168982
|
+
groups.push({
|
|
168983
|
+
directory,
|
|
168984
|
+
files,
|
|
168985
|
+
dir: directory
|
|
168986
|
+
});
|
|
168987
|
+
}, empty = () => {
|
|
168988
|
+
};
|
|
168989
|
+
function build$3(options) {
|
|
168990
|
+
return options.group ? groupFiles : empty;
|
|
168991
|
+
}
|
|
168992
|
+
var resolveSymlinksAsync = function(path$1, state, callback$1) {
|
|
168993
|
+
let { queue, fs: fs$1, options: { suppressErrors } } = state;
|
|
168994
|
+
queue.enqueue(), fs$1.realpath(path$1, (error, resolvedPath) => {
|
|
168995
|
+
if (error) return queue.dequeue(suppressErrors ? null : error, state);
|
|
168996
|
+
fs$1.stat(resolvedPath, (error$1, stat) => {
|
|
168997
|
+
if (error$1) return queue.dequeue(suppressErrors ? null : error$1, state);
|
|
168998
|
+
if (stat.isDirectory() && isRecursive(path$1, resolvedPath, state)) return queue.dequeue(null, state);
|
|
168999
|
+
callback$1(stat, resolvedPath), queue.dequeue(null, state);
|
|
169000
|
+
});
|
|
169001
|
+
});
|
|
169002
|
+
}, resolveSymlinks = function(path$1, state, callback$1) {
|
|
169003
|
+
let { queue, fs: fs$1, options: { suppressErrors } } = state;
|
|
169004
|
+
queue.enqueue();
|
|
169005
|
+
try {
|
|
169006
|
+
let resolvedPath = fs$1.realpathSync(path$1), stat = fs$1.statSync(resolvedPath);
|
|
169007
|
+
if (stat.isDirectory() && isRecursive(path$1, resolvedPath, state)) return;
|
|
169008
|
+
callback$1(stat, resolvedPath);
|
|
169009
|
+
} catch (e) {
|
|
169010
|
+
if (!suppressErrors) throw e;
|
|
169011
|
+
}
|
|
169012
|
+
};
|
|
169013
|
+
function build$2(options, isSynchronous) {
|
|
169014
|
+
return !options.resolveSymlinks || options.excludeSymlinks ? null : isSynchronous ? resolveSymlinks : resolveSymlinksAsync;
|
|
169015
|
+
}
|
|
169016
|
+
function isRecursive(path$1, resolved, state) {
|
|
169017
|
+
if (state.options.useRealPaths) return isRecursiveUsingRealPaths(resolved, state);
|
|
169018
|
+
let parent = (0, path.dirname)(path$1), depth = 1;
|
|
169019
|
+
for (; parent !== state.root && depth < 2; ) {
|
|
169020
|
+
let resolvedPath = state.symlinks.get(parent);
|
|
169021
|
+
!!resolvedPath && (resolvedPath === resolved || resolvedPath.startsWith(resolved) || resolved.startsWith(resolvedPath)) ? depth++ : parent = (0, path.dirname)(parent);
|
|
169022
|
+
}
|
|
169023
|
+
return state.symlinks.set(path$1, resolved), depth > 1;
|
|
169024
|
+
}
|
|
169025
|
+
function isRecursiveUsingRealPaths(resolved, state) {
|
|
169026
|
+
return state.visited.includes(resolved + state.options.pathSeparator);
|
|
169027
|
+
}
|
|
169028
|
+
var onlyCountsSync = (state) => state.counts, groupsSync = (state) => state.groups, defaultSync = (state) => state.paths, limitFilesSync = (state) => state.paths.slice(0, state.options.maxFiles), onlyCountsAsync = (state, error, callback$1) => (report(error, callback$1, state.counts, state.options.suppressErrors), null), defaultAsync = (state, error, callback$1) => (report(error, callback$1, state.paths, state.options.suppressErrors), null), limitFilesAsync = (state, error, callback$1) => (report(error, callback$1, state.paths.slice(0, state.options.maxFiles), state.options.suppressErrors), null), groupsAsync = (state, error, callback$1) => (report(error, callback$1, state.groups, state.options.suppressErrors), null);
|
|
169029
|
+
function report(error, callback$1, output, suppressErrors) {
|
|
169030
|
+
callback$1(error && !suppressErrors ? error : null, output);
|
|
169031
|
+
}
|
|
169032
|
+
function build$1(options, isSynchronous) {
|
|
169033
|
+
let { onlyCounts, group, maxFiles } = options;
|
|
169034
|
+
return onlyCounts ? isSynchronous ? onlyCountsSync : onlyCountsAsync : group ? isSynchronous ? groupsSync : groupsAsync : maxFiles ? isSynchronous ? limitFilesSync : limitFilesAsync : isSynchronous ? defaultSync : defaultAsync;
|
|
169035
|
+
}
|
|
169036
|
+
var readdirOpts = { withFileTypes: !0 }, walkAsync = (state, crawlPath, directoryPath, currentDepth, callback$1) => {
|
|
169037
|
+
if (state.queue.enqueue(), currentDepth < 0) return state.queue.dequeue(null, state);
|
|
169038
|
+
let { fs: fs$1 } = state;
|
|
169039
|
+
state.visited.push(crawlPath), state.counts.directories++, fs$1.readdir(crawlPath || ".", readdirOpts, (error, entries = []) => {
|
|
169040
|
+
callback$1(entries, directoryPath, currentDepth), state.queue.dequeue(state.options.suppressErrors ? null : error, state);
|
|
169041
|
+
});
|
|
169042
|
+
}, walkSync = (state, crawlPath, directoryPath, currentDepth, callback$1) => {
|
|
169043
|
+
let { fs: fs$1 } = state;
|
|
169044
|
+
if (currentDepth < 0) return;
|
|
169045
|
+
state.visited.push(crawlPath), state.counts.directories++;
|
|
169046
|
+
let entries = [];
|
|
169047
|
+
try {
|
|
169048
|
+
entries = fs$1.readdirSync(crawlPath || ".", readdirOpts);
|
|
169049
|
+
} catch (e) {
|
|
169050
|
+
if (!state.options.suppressErrors) throw e;
|
|
169051
|
+
}
|
|
169052
|
+
callback$1(entries, directoryPath, currentDepth);
|
|
169053
|
+
};
|
|
169054
|
+
function build(isSynchronous) {
|
|
169055
|
+
return isSynchronous ? walkSync : walkAsync;
|
|
169056
|
+
}
|
|
169057
|
+
var Queue = class {
|
|
169058
|
+
count = 0;
|
|
169059
|
+
constructor(onQueueEmpty) {
|
|
169060
|
+
this.onQueueEmpty = onQueueEmpty;
|
|
169061
|
+
}
|
|
169062
|
+
enqueue() {
|
|
169063
|
+
return this.count++, this.count;
|
|
169064
|
+
}
|
|
169065
|
+
dequeue(error, output) {
|
|
169066
|
+
this.onQueueEmpty && (--this.count <= 0 || error) && (this.onQueueEmpty(error, output), error && (output.controller.abort(), this.onQueueEmpty = void 0));
|
|
169067
|
+
}
|
|
169068
|
+
}, Counter = class {
|
|
169069
|
+
_files = 0;
|
|
169070
|
+
_directories = 0;
|
|
169071
|
+
set files(num) {
|
|
169072
|
+
this._files = num;
|
|
169073
|
+
}
|
|
169074
|
+
get files() {
|
|
169075
|
+
return this._files;
|
|
169076
|
+
}
|
|
169077
|
+
set directories(num) {
|
|
169078
|
+
this._directories = num;
|
|
169079
|
+
}
|
|
169080
|
+
get directories() {
|
|
169081
|
+
return this._directories;
|
|
169082
|
+
}
|
|
169083
|
+
/**
|
|
169084
|
+
* @deprecated use `directories` instead
|
|
169085
|
+
*/
|
|
169086
|
+
/* c8 ignore next 3 */
|
|
169087
|
+
get dirs() {
|
|
169088
|
+
return this._directories;
|
|
169089
|
+
}
|
|
169090
|
+
}, Aborter = class {
|
|
169091
|
+
aborted = !1;
|
|
169092
|
+
abort() {
|
|
169093
|
+
this.aborted = !0;
|
|
169094
|
+
}
|
|
169095
|
+
}, Walker = class {
|
|
169096
|
+
root;
|
|
169097
|
+
isSynchronous;
|
|
169098
|
+
state;
|
|
169099
|
+
joinPath;
|
|
169100
|
+
pushDirectory;
|
|
169101
|
+
pushFile;
|
|
169102
|
+
getArray;
|
|
169103
|
+
groupFiles;
|
|
169104
|
+
resolveSymlink;
|
|
169105
|
+
walkDirectory;
|
|
169106
|
+
callbackInvoker;
|
|
169107
|
+
constructor(root, options, callback$1) {
|
|
169108
|
+
this.isSynchronous = !callback$1, this.callbackInvoker = build$1(options, this.isSynchronous), this.root = normalizePath(root, options), this.state = {
|
|
169109
|
+
root: isRootDirectory(this.root) ? this.root : this.root.slice(0, -1),
|
|
169110
|
+
paths: [""].slice(0, 0),
|
|
169111
|
+
groups: [],
|
|
169112
|
+
counts: new Counter(),
|
|
169113
|
+
options,
|
|
169114
|
+
queue: new Queue((error, state) => this.callbackInvoker(state, error, callback$1)),
|
|
169115
|
+
symlinks: /* @__PURE__ */ new Map(),
|
|
169116
|
+
visited: [""].slice(0, 0),
|
|
169117
|
+
controller: new Aborter(),
|
|
169118
|
+
fs: options.fs || fs
|
|
169119
|
+
}, this.joinPath = build$7(this.root, options), this.pushDirectory = build$6(this.root, options), this.pushFile = build$5(options), this.getArray = build$4(options), this.groupFiles = build$3(options), this.resolveSymlink = build$2(options, this.isSynchronous), this.walkDirectory = build(this.isSynchronous);
|
|
169120
|
+
}
|
|
169121
|
+
start() {
|
|
169122
|
+
return this.pushDirectory(this.root, this.state.paths, this.state.options.filters), this.walkDirectory(this.state, this.root, this.root, this.state.options.maxDepth, this.walk), this.isSynchronous ? this.callbackInvoker(this.state, null) : null;
|
|
169123
|
+
}
|
|
169124
|
+
walk = (entries, directoryPath, depth) => {
|
|
169125
|
+
let { paths, options: { filters, resolveSymlinks: resolveSymlinks$1, excludeSymlinks, exclude, maxFiles, signal, useRealPaths, pathSeparator }, controller } = this.state;
|
|
169126
|
+
if (controller.aborted || signal && signal.aborted || maxFiles && paths.length > maxFiles) return;
|
|
169127
|
+
let files = this.getArray(this.state.paths);
|
|
169128
|
+
for (let i = 0; i < entries.length; ++i) {
|
|
169129
|
+
let entry = entries[i];
|
|
169130
|
+
if (entry.isFile() || entry.isSymbolicLink() && !resolveSymlinks$1 && !excludeSymlinks) {
|
|
169131
|
+
let filename = this.joinPath(entry.name, directoryPath);
|
|
169132
|
+
this.pushFile(filename, files, this.state.counts, filters);
|
|
169133
|
+
} else if (entry.isDirectory()) {
|
|
169134
|
+
let path$1 = joinDirectoryPath(entry.name, directoryPath, this.state.options.pathSeparator);
|
|
169135
|
+
if (exclude && exclude(entry.name, path$1)) continue;
|
|
169136
|
+
this.pushDirectory(path$1, paths, filters), this.walkDirectory(this.state, path$1, path$1, depth - 1, this.walk);
|
|
169137
|
+
} else if (this.resolveSymlink && entry.isSymbolicLink()) {
|
|
169138
|
+
let path$1 = joinPathWithBasePath(entry.name, directoryPath);
|
|
169139
|
+
this.resolveSymlink(path$1, this.state, (stat, resolvedPath) => {
|
|
169140
|
+
if (stat.isDirectory()) {
|
|
169141
|
+
if (resolvedPath = normalizePath(resolvedPath, this.state.options), exclude && exclude(entry.name, useRealPaths ? resolvedPath : path$1 + pathSeparator)) return;
|
|
169142
|
+
this.walkDirectory(this.state, resolvedPath, useRealPaths ? resolvedPath : path$1 + pathSeparator, depth - 1, this.walk);
|
|
169143
|
+
} else {
|
|
169144
|
+
resolvedPath = useRealPaths ? resolvedPath : path$1;
|
|
169145
|
+
let filename = (0, path.basename)(resolvedPath), directoryPath$1 = normalizePath((0, path.dirname)(resolvedPath), this.state.options);
|
|
169146
|
+
resolvedPath = this.joinPath(filename, directoryPath$1), this.pushFile(resolvedPath, files, this.state.counts, filters);
|
|
169147
|
+
}
|
|
169148
|
+
});
|
|
169149
|
+
}
|
|
169150
|
+
}
|
|
169151
|
+
this.groupFiles(this.state.groups, directoryPath, files);
|
|
169152
|
+
};
|
|
169153
|
+
};
|
|
169154
|
+
function promise(root, options) {
|
|
169155
|
+
return new Promise((resolve$1, reject) => {
|
|
169156
|
+
callback(root, options, (err, output) => {
|
|
169157
|
+
if (err) return reject(err);
|
|
169158
|
+
resolve$1(output);
|
|
169159
|
+
});
|
|
169160
|
+
});
|
|
169161
|
+
}
|
|
169162
|
+
function callback(root, options, callback$1) {
|
|
169163
|
+
new Walker(root, options, callback$1).start();
|
|
169164
|
+
}
|
|
169165
|
+
function sync(root, options) {
|
|
169166
|
+
return new Walker(root, options).start();
|
|
169167
|
+
}
|
|
169168
|
+
var APIBuilder = class {
|
|
169169
|
+
constructor(root, options) {
|
|
169170
|
+
this.root = root, this.options = options;
|
|
169171
|
+
}
|
|
169172
|
+
withPromise() {
|
|
169173
|
+
return promise(this.root, this.options);
|
|
169174
|
+
}
|
|
169175
|
+
withCallback(cb) {
|
|
169176
|
+
callback(this.root, this.options, cb);
|
|
169177
|
+
}
|
|
169178
|
+
sync() {
|
|
169179
|
+
return sync(this.root, this.options);
|
|
169180
|
+
}
|
|
169181
|
+
}, pm = null;
|
|
169379
169182
|
try {
|
|
169380
169183
|
__require.resolve("picomatch"), pm = require_picomatch2();
|
|
169381
169184
|
} catch {
|
|
@@ -169385,12 +169188,15 @@ var require_builder = __commonJS({
|
|
|
169385
169188
|
options = {
|
|
169386
169189
|
maxDepth: 1 / 0,
|
|
169387
169190
|
suppressErrors: !0,
|
|
169388
|
-
pathSeparator:
|
|
169191
|
+
pathSeparator: path.sep,
|
|
169389
169192
|
filters: []
|
|
169390
169193
|
};
|
|
169391
169194
|
globFunction;
|
|
169392
169195
|
constructor(options) {
|
|
169393
|
-
this.options = {
|
|
169196
|
+
this.options = {
|
|
169197
|
+
...this.options,
|
|
169198
|
+
...options
|
|
169199
|
+
}, this.globFunction = this.options.globFunction;
|
|
169394
169200
|
}
|
|
169395
169201
|
group() {
|
|
169396
169202
|
return this.options.group = !0, this;
|
|
@@ -169441,75 +169247,42 @@ var require_builder = __commonJS({
|
|
|
169441
169247
|
return this.options.onlyCounts = !0, this;
|
|
169442
169248
|
}
|
|
169443
169249
|
crawl(root) {
|
|
169444
|
-
return new
|
|
169250
|
+
return new APIBuilder(root || ".", this.options);
|
|
169445
169251
|
}
|
|
169446
169252
|
withGlobFunction(fn) {
|
|
169447
169253
|
return this.globFunction = fn, this;
|
|
169448
169254
|
}
|
|
169449
169255
|
/**
|
|
169450
|
-
|
|
169451
|
-
|
|
169452
|
-
|
|
169453
|
-
|
|
169454
|
-
|
|
169455
|
-
|
|
169256
|
+
* @deprecated Pass options using the constructor instead:
|
|
169257
|
+
* ```ts
|
|
169258
|
+
* new fdir(options).crawl("/path/to/root");
|
|
169259
|
+
* ```
|
|
169260
|
+
* This method will be removed in v7.0
|
|
169261
|
+
*/
|
|
169456
169262
|
/* c8 ignore next 4 */
|
|
169457
169263
|
crawlWithOptions(root, options) {
|
|
169458
|
-
return this.options = {
|
|
169264
|
+
return this.options = {
|
|
169265
|
+
...this.options,
|
|
169266
|
+
...options
|
|
169267
|
+
}, new APIBuilder(root || ".", this.options);
|
|
169459
169268
|
}
|
|
169460
169269
|
glob(...patterns) {
|
|
169461
169270
|
return this.globFunction ? this.globWithOptions(patterns) : this.globWithOptions(patterns, { dot: !0 });
|
|
169462
169271
|
}
|
|
169463
169272
|
globWithOptions(patterns, ...options) {
|
|
169464
169273
|
let globFn = this.globFunction || pm;
|
|
169465
|
-
if (!globFn)
|
|
169466
|
-
throw new Error("Please specify a glob function to use glob matching.");
|
|
169274
|
+
if (!globFn) throw new Error("Please specify a glob function to use glob matching.");
|
|
169467
169275
|
var isMatch = this.globCache[patterns.join("\0")];
|
|
169468
|
-
return isMatch || (isMatch = globFn(patterns, ...options), this.globCache[patterns.join("\0")] = isMatch), this.options.filters.push((path) => isMatch(path)), this;
|
|
169276
|
+
return isMatch || (isMatch = globFn(patterns, ...options), this.globCache[patterns.join("\0")] = isMatch), this.options.filters.push((path$1) => isMatch(path$1)), this;
|
|
169469
169277
|
}
|
|
169470
169278
|
};
|
|
169471
|
-
exports.
|
|
169279
|
+
exports.fdir = Builder;
|
|
169472
169280
|
}
|
|
169473
169281
|
});
|
|
169474
169282
|
|
|
169475
|
-
// ../../node_modules/.pnpm/
|
|
169476
|
-
var require_types = __commonJS({
|
|
169477
|
-
"../../node_modules/.pnpm/fdir@6.4.5_picomatch@4.0.2/node_modules/fdir/dist/types.js"(exports) {
|
|
169478
|
-
"use strict";
|
|
169479
|
-
init_cjs_shims();
|
|
169480
|
-
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
169481
|
-
}
|
|
169482
|
-
});
|
|
169483
|
-
|
|
169484
|
-
// ../../node_modules/.pnpm/fdir@6.4.5_picomatch@4.0.2/node_modules/fdir/dist/index.js
|
|
169485
|
-
var require_dist = __commonJS({
|
|
169486
|
-
"../../node_modules/.pnpm/fdir@6.4.5_picomatch@4.0.2/node_modules/fdir/dist/index.js"(exports) {
|
|
169487
|
-
"use strict";
|
|
169488
|
-
init_cjs_shims();
|
|
169489
|
-
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
169490
|
-
k2 === void 0 && (k2 = k);
|
|
169491
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
169492
|
-
(!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) && (desc = { enumerable: !0, get: function() {
|
|
169493
|
-
return m[k];
|
|
169494
|
-
} }), Object.defineProperty(o, k2, desc);
|
|
169495
|
-
} : function(o, m, k, k2) {
|
|
169496
|
-
k2 === void 0 && (k2 = k), o[k2] = m[k];
|
|
169497
|
-
}), __exportStar = exports && exports.__exportStar || function(m, exports2) {
|
|
169498
|
-
for (var p in m) p !== "default" && !Object.prototype.hasOwnProperty.call(exports2, p) && __createBinding(exports2, m, p);
|
|
169499
|
-
};
|
|
169500
|
-
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
169501
|
-
exports.fdir = void 0;
|
|
169502
|
-
var builder_1 = require_builder();
|
|
169503
|
-
Object.defineProperty(exports, "fdir", { enumerable: !0, get: function() {
|
|
169504
|
-
return builder_1.Builder;
|
|
169505
|
-
} });
|
|
169506
|
-
__exportStar(require_types(), exports);
|
|
169507
|
-
}
|
|
169508
|
-
});
|
|
169509
|
-
|
|
169510
|
-
// ../../node_modules/.pnpm/tinyglobby@0.2.14/node_modules/tinyglobby/dist/index.js
|
|
169283
|
+
// ../../node_modules/.pnpm/tinyglobby@0.2.15/node_modules/tinyglobby/dist/index.cjs
|
|
169511
169284
|
var require_dist2 = __commonJS({
|
|
169512
|
-
"../../node_modules/.pnpm/tinyglobby@0.2.
|
|
169285
|
+
"../../node_modules/.pnpm/tinyglobby@0.2.15/node_modules/tinyglobby/dist/index.cjs"(exports) {
|
|
169513
169286
|
init_cjs_shims();
|
|
169514
169287
|
var __create = Object.create, __defProp = Object.defineProperty, __getOwnPropDesc = Object.getOwnPropertyDescriptor, __getOwnPropNames = Object.getOwnPropertyNames, __getProtoOf = Object.getPrototypeOf, __hasOwnProp = Object.prototype.hasOwnProperty, __copyProps = (to, from, except, desc) => {
|
|
169515
169288
|
if (from && typeof from == "object" || typeof from == "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++)
|
|
@@ -169521,26 +169294,36 @@ var require_dist2 = __commonJS({
|
|
|
169521
169294
|
}, __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
169522
169295
|
value: mod,
|
|
169523
169296
|
enumerable: !0
|
|
169524
|
-
}) : target, mod)),
|
|
169525
|
-
|
|
169526
|
-
|
|
169297
|
+
}) : target, mod)), fs = __require("fs");
|
|
169298
|
+
fs = __toESM(fs);
|
|
169299
|
+
var path = __require("path");
|
|
169300
|
+
path = __toESM(path);
|
|
169301
|
+
var url = __require("url");
|
|
169302
|
+
url = __toESM(url);
|
|
169303
|
+
var fdir = require_dist();
|
|
169304
|
+
fdir = __toESM(fdir);
|
|
169305
|
+
var picomatch = require_picomatch2();
|
|
169306
|
+
picomatch = __toESM(picomatch);
|
|
169307
|
+
var isReadonlyArray = Array.isArray, isWin = process.platform === "win32", ONLY_PARENT_DIRECTORIES = /^(\/?\.\.)+$/;
|
|
169308
|
+
function getPartialMatcher(patterns, options = {}) {
|
|
169309
|
+
let patternsCount = patterns.length, patternsParts = Array(patternsCount), matchers = Array(patternsCount), globstarEnabled = !options.noglobstar;
|
|
169527
169310
|
for (let i = 0; i < patternsCount; i++) {
|
|
169528
169311
|
let parts = splitPattern(patterns[i]);
|
|
169529
169312
|
patternsParts[i] = parts;
|
|
169530
|
-
let partsCount = parts.length,
|
|
169531
|
-
for (let j = 0; j < partsCount; j++)
|
|
169532
|
-
|
|
169313
|
+
let partsCount = parts.length, partMatchers = Array(partsCount);
|
|
169314
|
+
for (let j = 0; j < partsCount; j++) partMatchers[j] = (0, picomatch.default)(parts[j], options);
|
|
169315
|
+
matchers[i] = partMatchers;
|
|
169533
169316
|
}
|
|
169534
169317
|
return (input) => {
|
|
169535
169318
|
let inputParts = input.split("/");
|
|
169536
169319
|
if (inputParts[0] === ".." && ONLY_PARENT_DIRECTORIES.test(input)) return !0;
|
|
169537
169320
|
for (let i = 0; i < patterns.length; i++) {
|
|
169538
|
-
let patternParts = patternsParts[i],
|
|
169321
|
+
let patternParts = patternsParts[i], matcher = matchers[i], inputPatternCount = inputParts.length, minParts = Math.min(inputPatternCount, patternParts.length), j = 0;
|
|
169539
169322
|
for (; j < minParts; ) {
|
|
169540
169323
|
let part = patternParts[j];
|
|
169541
169324
|
if (part.includes("/")) return !0;
|
|
169542
|
-
if (!
|
|
169543
|
-
if (part === "**") return !0;
|
|
169325
|
+
if (!matcher[j](inputParts[j])) break;
|
|
169326
|
+
if (globstarEnabled && part === "**") return !0;
|
|
169544
169327
|
j++;
|
|
169545
169328
|
}
|
|
169546
169329
|
if (j === inputPatternCount) return !0;
|
|
@@ -169548,13 +169331,39 @@ var require_dist2 = __commonJS({
|
|
|
169548
169331
|
return !1;
|
|
169549
169332
|
};
|
|
169550
169333
|
}
|
|
169334
|
+
var WIN32_ROOT_DIR = /^[A-Z]:\/$/i, isRoot = isWin ? (p) => WIN32_ROOT_DIR.test(p) : (p) => p === "/";
|
|
169335
|
+
function buildFormat(cwd, root, absolute) {
|
|
169336
|
+
if (cwd === root || root.startsWith(`${cwd}/`)) {
|
|
169337
|
+
if (absolute) {
|
|
169338
|
+
let start = isRoot(cwd) ? cwd.length : cwd.length + 1;
|
|
169339
|
+
return (p, isDir) => p.slice(start, isDir ? -1 : void 0) || ".";
|
|
169340
|
+
}
|
|
169341
|
+
let prefix = root.slice(cwd.length + 1);
|
|
169342
|
+
return prefix ? (p, isDir) => {
|
|
169343
|
+
if (p === ".") return prefix;
|
|
169344
|
+
let result = `${prefix}/${p}`;
|
|
169345
|
+
return isDir ? result.slice(0, -1) : result;
|
|
169346
|
+
} : (p, isDir) => isDir && p !== "." ? p.slice(0, -1) : p;
|
|
169347
|
+
}
|
|
169348
|
+
return absolute ? (p) => path.posix.relative(cwd, p) || "." : (p) => path.posix.relative(cwd, `${root}/${p}`) || ".";
|
|
169349
|
+
}
|
|
169350
|
+
function buildRelative(cwd, root) {
|
|
169351
|
+
if (root.startsWith(`${cwd}/`)) {
|
|
169352
|
+
let prefix = root.slice(cwd.length + 1);
|
|
169353
|
+
return (p) => `${prefix}/${p}`;
|
|
169354
|
+
}
|
|
169355
|
+
return (p) => {
|
|
169356
|
+
let result = path.posix.relative(cwd, `${root}/${p}`);
|
|
169357
|
+
return p.endsWith("/") && result !== "" ? `${result}/` : result || ".";
|
|
169358
|
+
};
|
|
169359
|
+
}
|
|
169551
169360
|
var splitPatternOptions = { parts: !0 };
|
|
169552
169361
|
function splitPattern(path$2) {
|
|
169553
169362
|
var _result$parts;
|
|
169554
169363
|
let result = picomatch.default.scan(path$2, splitPatternOptions);
|
|
169555
169364
|
return !((_result$parts = result.parts) === null || _result$parts === void 0) && _result$parts.length ? result.parts : [path$2];
|
|
169556
169365
|
}
|
|
169557
|
-
var
|
|
169366
|
+
var ESCAPED_WIN32_BACKSLASHES = /\\(?![()[\]{}!+@])/g;
|
|
169558
169367
|
function convertPosixPathToPattern(path$2) {
|
|
169559
169368
|
return escapePosixPath(path$2);
|
|
169560
169369
|
}
|
|
@@ -169597,12 +169406,12 @@ var require_dist2 = __commonJS({
|
|
|
169597
169406
|
if (part !== props.commonPath[i] || isDynamicPattern(part) || i === parts.length - 1) break;
|
|
169598
169407
|
newCommonPath.push(part);
|
|
169599
169408
|
}
|
|
169600
|
-
props.depthOffset = newCommonPath.length, props.commonPath = newCommonPath, props.root = newCommonPath.length > 0 ? path.
|
|
169409
|
+
props.depthOffset = newCommonPath.length, props.commonPath = newCommonPath, props.root = newCommonPath.length > 0 ? path.posix.join(cwd, ...newCommonPath) : cwd;
|
|
169601
169410
|
}
|
|
169602
169411
|
return result;
|
|
169603
169412
|
}
|
|
169604
|
-
function processPatterns({ patterns, ignore = [], expandDirectories = !0 }, cwd, props) {
|
|
169605
|
-
typeof patterns == "string"
|
|
169413
|
+
function processPatterns({ patterns = ["**/*"], ignore = [], expandDirectories = !0 }, cwd, props) {
|
|
169414
|
+
typeof patterns == "string" && (patterns = [patterns]), typeof ignore == "string" && (ignore = [ignore]);
|
|
169606
169415
|
let matchPatterns = [], ignorePatterns = [];
|
|
169607
169416
|
for (let pattern of ignore)
|
|
169608
169417
|
pattern && (pattern[0] !== "!" || pattern[1] === "(") && ignorePatterns.push(normalizePattern(pattern, expandDirectories, cwd, props, !0));
|
|
@@ -169613,75 +169422,88 @@ var require_dist2 = __commonJS({
|
|
|
169613
169422
|
ignore: ignorePatterns
|
|
169614
169423
|
};
|
|
169615
169424
|
}
|
|
169616
|
-
function
|
|
169617
|
-
return path.posix.relative(cwd, `${root}/${path$2}`) || ".";
|
|
169618
|
-
}
|
|
169619
|
-
function processPath(path$2, cwd, root, isDirectory, absolute) {
|
|
169620
|
-
let relativePath = absolute ? path$2.slice(root === "/" ? 1 : root.length + 1) || "." : path$2;
|
|
169621
|
-
return root === cwd ? isDirectory && relativePath !== "." ? relativePath.slice(0, -1) : relativePath : getRelativePath(relativePath, cwd, root);
|
|
169622
|
-
}
|
|
169623
|
-
function formatPaths(paths, cwd, root) {
|
|
169425
|
+
function formatPaths(paths, relative) {
|
|
169624
169426
|
for (let i = paths.length - 1; i >= 0; i--) {
|
|
169625
169427
|
let path$2 = paths[i];
|
|
169626
|
-
paths[i] =
|
|
169428
|
+
paths[i] = relative(path$2);
|
|
169627
169429
|
}
|
|
169628
169430
|
return paths;
|
|
169629
169431
|
}
|
|
169630
|
-
function
|
|
169631
|
-
|
|
169432
|
+
function normalizeCwd(cwd) {
|
|
169433
|
+
return cwd ? cwd instanceof URL ? (0, url.fileURLToPath)(cwd).replace(BACKSLASHES, "/") : path.default.resolve(cwd).replace(BACKSLASHES, "/") : process.cwd().replace(BACKSLASHES, "/");
|
|
169434
|
+
}
|
|
169435
|
+
function getCrawler(patterns, inputOptions = {}) {
|
|
169436
|
+
let options = process.env.TINYGLOBBY_DEBUG ? {
|
|
169437
|
+
...inputOptions,
|
|
169438
|
+
debug: !0
|
|
169439
|
+
} : inputOptions, cwd = normalizeCwd(options.cwd);
|
|
169440
|
+
if (options.debug && log("globbing with:", {
|
|
169441
|
+
patterns,
|
|
169442
|
+
options,
|
|
169443
|
+
cwd
|
|
169444
|
+
}), Array.isArray(patterns) && patterns.length === 0) return [{
|
|
169445
|
+
sync: () => [],
|
|
169446
|
+
withPromise: async () => []
|
|
169447
|
+
}, !1];
|
|
169632
169448
|
let props = {
|
|
169633
169449
|
root: cwd,
|
|
169634
169450
|
commonPath: null,
|
|
169635
169451
|
depthOffset: 0
|
|
169636
|
-
}, processed = processPatterns(
|
|
169452
|
+
}, processed = processPatterns({
|
|
169453
|
+
...options,
|
|
169454
|
+
patterns
|
|
169455
|
+
}, cwd, props);
|
|
169637
169456
|
options.debug && log("internal processing patterns:", processed);
|
|
169638
|
-
let
|
|
169457
|
+
let matchOptions = {
|
|
169639
169458
|
dot: options.dot,
|
|
169640
|
-
|
|
169459
|
+
nobrace: options.braceExpansion === !1,
|
|
169460
|
+
nocase: options.caseSensitiveMatch === !1,
|
|
169461
|
+
noextglob: options.extglob === !1,
|
|
169462
|
+
noglobstar: options.globstar === !1,
|
|
169463
|
+
posix: !0
|
|
169464
|
+
}, matcher = (0, picomatch.default)(processed.match, {
|
|
169465
|
+
...matchOptions,
|
|
169641
169466
|
ignore: processed.ignore
|
|
169642
|
-
}), ignore = (0, picomatch.default)(processed.ignore, {
|
|
169643
|
-
dot: options.dot,
|
|
169644
|
-
nocase
|
|
169645
|
-
}), partialMatcher = getPartialMatcher(processed.match, {
|
|
169646
|
-
dot: options.dot,
|
|
169647
|
-
nocase
|
|
169648
|
-
}), fdirOptions = {
|
|
169467
|
+
}), ignore = (0, picomatch.default)(processed.ignore, matchOptions), partialMatcher = getPartialMatcher(processed.match, matchOptions), format = buildFormat(cwd, props.root, options.absolute), formatExclude = options.absolute ? format : buildFormat(cwd, props.root, !0), fdirOptions = {
|
|
169649
169468
|
filters: [options.debug ? (p, isDirectory) => {
|
|
169650
|
-
let path$2 =
|
|
169469
|
+
let path$2 = format(p, isDirectory), matches = matcher(path$2);
|
|
169651
169470
|
return matches && log(`matched ${path$2}`), matches;
|
|
169652
|
-
} : (p, isDirectory) => matcher(
|
|
169471
|
+
} : (p, isDirectory) => matcher(format(p, isDirectory))],
|
|
169653
169472
|
exclude: options.debug ? (_, p) => {
|
|
169654
|
-
let relativePath =
|
|
169473
|
+
let relativePath = formatExclude(p, !0), skipped = relativePath !== "." && !partialMatcher(relativePath) || ignore(relativePath);
|
|
169655
169474
|
return log(skipped ? `skipped ${p}` : `crawling ${p}`), skipped;
|
|
169656
169475
|
} : (_, p) => {
|
|
169657
|
-
let relativePath =
|
|
169476
|
+
let relativePath = formatExclude(p, !0);
|
|
169658
169477
|
return relativePath !== "." && !partialMatcher(relativePath) || ignore(relativePath);
|
|
169659
169478
|
},
|
|
169479
|
+
fs: options.fs ? {
|
|
169480
|
+
readdir: options.fs.readdir || fs.default.readdir,
|
|
169481
|
+
readdirSync: options.fs.readdirSync || fs.default.readdirSync,
|
|
169482
|
+
realpath: options.fs.realpath || fs.default.realpath,
|
|
169483
|
+
realpathSync: options.fs.realpathSync || fs.default.realpathSync,
|
|
169484
|
+
stat: options.fs.stat || fs.default.stat,
|
|
169485
|
+
statSync: options.fs.statSync || fs.default.statSync
|
|
169486
|
+
} : void 0,
|
|
169660
169487
|
pathSeparator: "/",
|
|
169661
169488
|
relativePaths: !0,
|
|
169662
|
-
resolveSymlinks: !0
|
|
169489
|
+
resolveSymlinks: !0,
|
|
169490
|
+
signal: options.signal
|
|
169663
169491
|
};
|
|
169664
169492
|
options.deep !== void 0 && (fdirOptions.maxDepth = Math.round(options.deep - props.depthOffset)), options.absolute && (fdirOptions.relativePaths = !1, fdirOptions.resolvePaths = !0, fdirOptions.includeBasePath = !0), options.followSymbolicLinks === !1 && (fdirOptions.resolveSymlinks = !1, fdirOptions.excludeSymlinks = !0), options.onlyDirectories ? (fdirOptions.excludeFiles = !0, fdirOptions.includeDirs = !0) : options.onlyFiles === !1 && (fdirOptions.includeDirs = !0), props.root = props.root.replace(BACKSLASHES, "");
|
|
169665
169493
|
let root = props.root;
|
|
169666
169494
|
options.debug && log("internal properties:", props);
|
|
169667
|
-
let
|
|
169668
|
-
return
|
|
169495
|
+
let relative = cwd !== root && !options.absolute && buildRelative(cwd, props.root);
|
|
169496
|
+
return [new fdir.fdir(fdirOptions).crawl(root), relative];
|
|
169669
169497
|
}
|
|
169670
169498
|
async function glob(patternsOrOptions, options) {
|
|
169671
169499
|
if (patternsOrOptions && options?.patterns) throw new Error("Cannot pass patterns as both an argument and an option");
|
|
169672
|
-
let
|
|
169673
|
-
|
|
169674
|
-
patterns: patternsOrOptions
|
|
169675
|
-
} : patternsOrOptions, cwd = opts.cwd ? path.default.resolve(opts.cwd).replace(BACKSLASHES, "/") : process.cwd().replace(BACKSLASHES, "/");
|
|
169676
|
-
return crawl(opts, cwd, !1);
|
|
169500
|
+
let isModern = isReadonlyArray(patternsOrOptions) || typeof patternsOrOptions == "string", opts = isModern ? options : patternsOrOptions, patterns = isModern ? patternsOrOptions : patternsOrOptions.patterns, [crawler, relative] = getCrawler(patterns, opts);
|
|
169501
|
+
return relative ? formatPaths(await crawler.withPromise(), relative) : crawler.withPromise();
|
|
169677
169502
|
}
|
|
169678
169503
|
function globSync(patternsOrOptions, options) {
|
|
169679
169504
|
if (patternsOrOptions && options?.patterns) throw new Error("Cannot pass patterns as both an argument and an option");
|
|
169680
|
-
let
|
|
169681
|
-
|
|
169682
|
-
patterns: patternsOrOptions
|
|
169683
|
-
} : patternsOrOptions, cwd = opts.cwd ? path.default.resolve(opts.cwd).replace(BACKSLASHES, "/") : process.cwd().replace(BACKSLASHES, "/");
|
|
169684
|
-
return crawl(opts, cwd, !0);
|
|
169505
|
+
let isModern = isReadonlyArray(patternsOrOptions) || typeof patternsOrOptions == "string", opts = isModern ? options : patternsOrOptions, patterns = isModern ? patternsOrOptions : patternsOrOptions.patterns, [crawler, relative] = getCrawler(patterns, opts);
|
|
169506
|
+
return relative ? formatPaths(crawler.sync(), relative) : crawler.sync();
|
|
169685
169507
|
}
|
|
169686
169508
|
exports.convertPathToPattern = convertPathToPattern;
|
|
169687
169509
|
exports.escapePath = escapePath;
|
|
@@ -169691,9 +169513,9 @@ var require_dist2 = __commonJS({
|
|
|
169691
169513
|
}
|
|
169692
169514
|
});
|
|
169693
169515
|
|
|
169694
|
-
// ../../node_modules/.pnpm/@oclif+core@4.
|
|
169516
|
+
// ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/flags.js
|
|
169695
169517
|
var require_flags = __commonJS({
|
|
169696
|
-
"../../node_modules/.pnpm/@oclif+core@4.
|
|
169518
|
+
"../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/flags.js"(exports) {
|
|
169697
169519
|
"use strict";
|
|
169698
169520
|
init_cjs_shims();
|
|
169699
169521
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -169782,9 +169604,9 @@ var require_flags = __commonJS({
|
|
|
169782
169604
|
}
|
|
169783
169605
|
});
|
|
169784
169606
|
|
|
169785
|
-
// ../../node_modules/.pnpm/@oclif+core@4.
|
|
169607
|
+
// ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/util/aggregate-flags.js
|
|
169786
169608
|
var require_aggregate_flags = __commonJS({
|
|
169787
|
-
"../../node_modules/.pnpm/@oclif+core@4.
|
|
169609
|
+
"../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/util/aggregate-flags.js"(exports) {
|
|
169788
169610
|
"use strict";
|
|
169789
169611
|
init_cjs_shims();
|
|
169790
169612
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -169800,9 +169622,9 @@ var require_aggregate_flags = __commonJS({
|
|
|
169800
169622
|
}
|
|
169801
169623
|
});
|
|
169802
169624
|
|
|
169803
|
-
// ../../node_modules/.pnpm/@oclif+core@4.
|
|
169625
|
+
// ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/util/cache-command.js
|
|
169804
169626
|
var require_cache_command = __commonJS({
|
|
169805
|
-
"../../node_modules/.pnpm/@oclif+core@4.
|
|
169627
|
+
"../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/util/cache-command.js"(exports) {
|
|
169806
169628
|
"use strict";
|
|
169807
169629
|
init_cjs_shims();
|
|
169808
169630
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -169869,7 +169691,8 @@ var require_cache_command = __commonJS({
|
|
|
169869
169691
|
cacheFlags((0, aggregate_flags_1.aggregateFlags)(uncachedFlags, uncachedBaseFlags, cmd.enableJsonFlag), respectNoCacheDefault),
|
|
169870
169692
|
cacheArgs((0, ensure_arg_object_1.ensureArgObject)(cmd.args), respectNoCacheDefault)
|
|
169871
169693
|
]), stdProperties = {
|
|
169872
|
-
|
|
169694
|
+
// Replace all spaces in aliases with colons to standardize them.
|
|
169695
|
+
aliases: (cmd.aliases ?? []).map((a) => a.replaceAll(" ", ":")),
|
|
169873
169696
|
args,
|
|
169874
169697
|
deprecateAliases: cmd.deprecateAliases,
|
|
169875
169698
|
deprecationOptions: cmd.deprecationOptions,
|
|
@@ -169903,9 +169726,9 @@ var require_cache_command = __commonJS({
|
|
|
169903
169726
|
}
|
|
169904
169727
|
});
|
|
169905
169728
|
|
|
169906
|
-
// ../../node_modules/.pnpm/@oclif+core@4.
|
|
169729
|
+
// ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/util/find-root.js
|
|
169907
169730
|
var require_find_root = __commonJS({
|
|
169908
|
-
"../../node_modules/.pnpm/@oclif+core@4.
|
|
169731
|
+
"../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/util/find-root.js"(exports) {
|
|
169909
169732
|
"use strict";
|
|
169910
169733
|
init_cjs_shims();
|
|
169911
169734
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -170308,9 +170131,9 @@ var require_src2 = __commonJS({
|
|
|
170308
170131
|
}
|
|
170309
170132
|
});
|
|
170310
170133
|
|
|
170311
|
-
// ../../node_modules/.pnpm/@oclif+core@4.
|
|
170134
|
+
// ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/util/read-pjson.js
|
|
170312
170135
|
var require_read_pjson = __commonJS({
|
|
170313
|
-
"../../node_modules/.pnpm/@oclif+core@4.
|
|
170136
|
+
"../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/util/read-pjson.js"(exports) {
|
|
170314
170137
|
"use strict";
|
|
170315
170138
|
init_cjs_shims();
|
|
170316
170139
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -170350,9 +170173,9 @@ var require_read_pjson = __commonJS({
|
|
|
170350
170173
|
}
|
|
170351
170174
|
});
|
|
170352
170175
|
|
|
170353
|
-
// ../../node_modules/.pnpm/@oclif+core@4.
|
|
170176
|
+
// ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/config/plugin.js
|
|
170354
170177
|
var require_plugin = __commonJS({
|
|
170355
|
-
"../../node_modules/.pnpm/@oclif+core@4.
|
|
170178
|
+
"../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/config/plugin.js"(exports) {
|
|
170356
170179
|
"use strict";
|
|
170357
170180
|
init_cjs_shims();
|
|
170358
170181
|
var __importDefault = exports && exports.__importDefault || function(mod) {
|
|
@@ -170583,9 +170406,9 @@ This usually means you have an oclif.manifest.json file that should be deleted i
|
|
|
170583
170406
|
}
|
|
170584
170407
|
});
|
|
170585
170408
|
|
|
170586
|
-
// ../../node_modules/.pnpm/@oclif+core@4.
|
|
170409
|
+
// ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/config/plugin-loader.js
|
|
170587
170410
|
var require_plugin_loader = __commonJS({
|
|
170588
|
-
"../../node_modules/.pnpm/@oclif+core@4.
|
|
170411
|
+
"../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/config/plugin-loader.js"(exports) {
|
|
170589
170412
|
"use strict";
|
|
170590
170413
|
init_cjs_shims();
|
|
170591
170414
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -170708,9 +170531,9 @@ var require_plugin_loader = __commonJS({
|
|
|
170708
170531
|
}
|
|
170709
170532
|
});
|
|
170710
170533
|
|
|
170711
|
-
// ../../node_modules/.pnpm/@oclif+core@4.
|
|
170534
|
+
// ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/config/config.js
|
|
170712
170535
|
var require_config = __commonJS({
|
|
170713
|
-
"../../node_modules/.pnpm/@oclif+core@4.
|
|
170536
|
+
"../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/config/config.js"(exports, module) {
|
|
170714
170537
|
"use strict";
|
|
170715
170538
|
init_cjs_shims();
|
|
170716
170539
|
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
@@ -171250,9 +171073,9 @@ var require_config = __commonJS({
|
|
|
171250
171073
|
}
|
|
171251
171074
|
});
|
|
171252
171075
|
|
|
171253
|
-
// ../../node_modules/.pnpm/@oclif+core@4.
|
|
171076
|
+
// ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/config/index.js
|
|
171254
171077
|
var require_config2 = __commonJS({
|
|
171255
|
-
"../../node_modules/.pnpm/@oclif+core@4.
|
|
171078
|
+
"../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/config/index.js"(exports) {
|
|
171256
171079
|
"use strict";
|
|
171257
171080
|
init_cjs_shims();
|
|
171258
171081
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -171317,9 +171140,9 @@ var require_wordwrap = __commonJS({
|
|
|
171317
171140
|
}
|
|
171318
171141
|
});
|
|
171319
171142
|
|
|
171320
|
-
// ../../node_modules/.pnpm/@oclif+core@4.
|
|
171143
|
+
// ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/ux/list.js
|
|
171321
171144
|
var require_list = __commonJS({
|
|
171322
|
-
"../../node_modules/.pnpm/@oclif+core@4.
|
|
171145
|
+
"../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/ux/list.js"(exports) {
|
|
171323
171146
|
"use strict";
|
|
171324
171147
|
init_cjs_shims();
|
|
171325
171148
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -171343,9 +171166,9 @@ var require_list = __commonJS({
|
|
|
171343
171166
|
}
|
|
171344
171167
|
});
|
|
171345
171168
|
|
|
171346
|
-
// ../../node_modules/.pnpm/@oclif+core@4.
|
|
171169
|
+
// ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/parser/errors.js
|
|
171347
171170
|
var require_errors2 = __commonJS({
|
|
171348
|
-
"../../node_modules/.pnpm/@oclif+core@4.
|
|
171171
|
+
"../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/parser/errors.js"(exports) {
|
|
171349
171172
|
"use strict";
|
|
171350
171173
|
init_cjs_shims();
|
|
171351
171174
|
var __importDefault = exports && exports.__importDefault || function(mod) {
|
|
@@ -171444,9 +171267,9 @@ Alternatively, you can use "--" to signify the end of the flags and the beginnin
|
|
|
171444
171267
|
}
|
|
171445
171268
|
});
|
|
171446
171269
|
|
|
171447
|
-
// ../../node_modules/.pnpm/@oclif+core@4.
|
|
171270
|
+
// ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/parser/parse.js
|
|
171448
171271
|
var require_parse3 = __commonJS({
|
|
171449
|
-
"../../node_modules/.pnpm/@oclif+core@4.
|
|
171272
|
+
"../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/parser/parse.js"(exports) {
|
|
171450
171273
|
"use strict";
|
|
171451
171274
|
init_cjs_shims();
|
|
171452
171275
|
var __importDefault = exports && exports.__importDefault || function(mod) {
|
|
@@ -171454,7 +171277,7 @@ var require_parse3 = __commonJS({
|
|
|
171454
171277
|
};
|
|
171455
171278
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
171456
171279
|
exports.Parser = exports.readStdin = void 0;
|
|
171457
|
-
var node_readline_1 = __require("node:readline"), cache_1 = __importDefault(require_cache()), logger_1 = require_logger(), util_1 = require_util(), errors_1 = require_errors2(), debug;
|
|
171280
|
+
var node_os_1 = __require("node:os"), node_readline_1 = __require("node:readline"), cache_1 = __importDefault(require_cache()), logger_1 = require_logger(), util_1 = require_util(), errors_1 = require_errors2(), debug;
|
|
171458
171281
|
try {
|
|
171459
171282
|
debug = process.env.CLI_FLAGS_DEBUG === "1" ? (0, logger_1.makeDebug)("parser") : () => {
|
|
171460
171283
|
};
|
|
@@ -171465,14 +171288,15 @@ var require_parse3 = __commonJS({
|
|
|
171465
171288
|
var readStdin = async () => {
|
|
171466
171289
|
let { stdin, stdout } = process;
|
|
171467
171290
|
return stdin.isTTY ? null : globalThis.oclif?.stdinCache ? (debug("resolved stdin from global cache", globalThis.oclif.stdinCache), globalThis.oclif.stdinCache) : new Promise((resolve) => {
|
|
171468
|
-
let
|
|
171291
|
+
let lines = [], ac = new AbortController(), { signal } = ac, timeout = setTimeout(() => ac.abort(), 10), rl = (0, node_readline_1.createInterface)({
|
|
171469
171292
|
input: stdin,
|
|
171470
171293
|
output: stdout,
|
|
171471
171294
|
terminal: !1
|
|
171472
171295
|
});
|
|
171473
171296
|
rl.on("line", (line) => {
|
|
171474
|
-
|
|
171297
|
+
lines.push(line);
|
|
171475
171298
|
}), rl.once("close", () => {
|
|
171299
|
+
let result = lines.join(node_os_1.EOL);
|
|
171476
171300
|
clearTimeout(timeout), debug("resolved from stdin", result), globalThis.oclif = { ...globalThis.oclif, stdinCache: result }, resolve(result);
|
|
171477
171301
|
}), signal.addEventListener("abort", () => {
|
|
171478
171302
|
debug("stdin aborted"), clearTimeout(timeout), rl.close(), resolve(null);
|
|
@@ -171748,9 +171572,9 @@ See more help with --help`, cache_1.default.getInstance().get("exitCodes")?.fail
|
|
|
171748
171572
|
}
|
|
171749
171573
|
});
|
|
171750
171574
|
|
|
171751
|
-
// ../../node_modules/.pnpm/@oclif+core@4.
|
|
171575
|
+
// ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/parser/validate.js
|
|
171752
171576
|
var require_validate = __commonJS({
|
|
171753
|
-
"../../node_modules/.pnpm/@oclif+core@4.
|
|
171577
|
+
"../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/parser/validate.js"(exports) {
|
|
171754
171578
|
"use strict";
|
|
171755
171579
|
init_cjs_shims();
|
|
171756
171580
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -171891,9 +171715,9 @@ var require_validate = __commonJS({
|
|
|
171891
171715
|
}
|
|
171892
171716
|
});
|
|
171893
171717
|
|
|
171894
|
-
// ../../node_modules/.pnpm/@oclif+core@4.
|
|
171718
|
+
// ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/parser/help.js
|
|
171895
171719
|
var require_help2 = __commonJS({
|
|
171896
|
-
"../../node_modules/.pnpm/@oclif+core@4.
|
|
171720
|
+
"../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/parser/help.js"(exports) {
|
|
171897
171721
|
"use strict";
|
|
171898
171722
|
init_cjs_shims();
|
|
171899
171723
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -171912,9 +171736,9 @@ var require_help2 = __commonJS({
|
|
|
171912
171736
|
}
|
|
171913
171737
|
});
|
|
171914
171738
|
|
|
171915
|
-
// ../../node_modules/.pnpm/@oclif+core@4.
|
|
171739
|
+
// ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/parser/index.js
|
|
171916
171740
|
var require_parser = __commonJS({
|
|
171917
|
-
"../../node_modules/.pnpm/@oclif+core@4.
|
|
171741
|
+
"../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/parser/index.js"(exports) {
|
|
171918
171742
|
"use strict";
|
|
171919
171743
|
init_cjs_shims();
|
|
171920
171744
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -171942,9 +171766,9 @@ var require_parser = __commonJS({
|
|
|
171942
171766
|
}
|
|
171943
171767
|
});
|
|
171944
171768
|
|
|
171945
|
-
// ../../node_modules/.pnpm/@oclif+core@4.
|
|
171769
|
+
// ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/command.js
|
|
171946
171770
|
var require_command2 = __commonJS({
|
|
171947
|
-
"../../node_modules/.pnpm/@oclif+core@4.
|
|
171771
|
+
"../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/command.js"(exports) {
|
|
171948
171772
|
"use strict";
|
|
171949
171773
|
init_cjs_shims();
|
|
171950
171774
|
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
@@ -172205,9 +172029,9 @@ var require_command2 = __commonJS({
|
|
|
172205
172029
|
}
|
|
172206
172030
|
});
|
|
172207
172031
|
|
|
172208
|
-
// ../../node_modules/.pnpm/@oclif+core@4.
|
|
172032
|
+
// ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/flush.js
|
|
172209
172033
|
var require_flush = __commonJS({
|
|
172210
|
-
"../../node_modules/.pnpm/@oclif+core@4.
|
|
172034
|
+
"../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/flush.js"(exports) {
|
|
172211
172035
|
"use strict";
|
|
172212
172036
|
init_cjs_shims();
|
|
172213
172037
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -172235,9 +172059,9 @@ var require_flush = __commonJS({
|
|
|
172235
172059
|
}
|
|
172236
172060
|
});
|
|
172237
172061
|
|
|
172238
|
-
// ../../node_modules/.pnpm/@oclif+core@4.
|
|
172062
|
+
// ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/main.js
|
|
172239
172063
|
var require_main = __commonJS({
|
|
172240
|
-
"../../node_modules/.pnpm/@oclif+core@4.
|
|
172064
|
+
"../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/main.js"(exports) {
|
|
172241
172065
|
"use strict";
|
|
172242
172066
|
init_cjs_shims();
|
|
172243
172067
|
var __importDefault = exports && exports.__importDefault || function(mod) {
|
|
@@ -172274,8 +172098,8 @@ var require_main = __commonJS({
|
|
|
172274
172098
|
debug(`process.execPath: ${process.execPath}`), debug(`process.execArgv: ${process.execArgv}`), debug("process.argv: %O", process.argv), argv = argv ?? process.argv.slice(2), options && (typeof options == "string" && options.startsWith("file://") || options instanceof node_url_1.URL) && (options = (0, node_url_1.fileURLToPath)(options));
|
|
172275
172099
|
let config = await config_1.Config.load(options ?? __require.main?.filename ?? __dirname);
|
|
172276
172100
|
cache_1.default.getInstance().set("config", config), config.isSingleCommandCLI && (argv = [symbols_1.SINGLE_COMMAND_CLI_SYMBOL, ...argv]);
|
|
172277
|
-
let [id, ...argvSlice] = (0, help_1.normalizeArgv)(config, argv), runFinally = async () => {
|
|
172278
|
-
marker?.stop(), initMarker?.stopped || initMarker?.stop(), await performance_1.Performance.collect(), performance_1.Performance.debug(), await config.runHook("finally", { argv: argvSlice, id });
|
|
172101
|
+
let [id, ...argvSlice] = (0, help_1.normalizeArgv)(config, argv), runFinally = async (cmd2, error) => {
|
|
172102
|
+
marker?.stop(), initMarker?.stopped || initMarker?.stop(), await performance_1.Performance.collect(), performance_1.Performance.debug(), await config.runHook("finally", { argv: argvSlice, Command: cmd2, error, id });
|
|
172279
172103
|
};
|
|
172280
172104
|
if (await config.runHook("init", { argv: argvSlice, id }), (0, exports.versionAddition)(argv, config)) {
|
|
172281
172105
|
ux_1.ux.stdout(config.userAgent), await runFinally();
|
|
@@ -172291,18 +172115,21 @@ var require_main = __commonJS({
|
|
|
172291
172115
|
return;
|
|
172292
172116
|
}
|
|
172293
172117
|
initMarker?.stop();
|
|
172118
|
+
let err;
|
|
172294
172119
|
try {
|
|
172295
172120
|
return await config.runCommand(id, argvSlice, cmd);
|
|
172121
|
+
} catch (error) {
|
|
172122
|
+
throw err = error, error;
|
|
172296
172123
|
} finally {
|
|
172297
|
-
await runFinally();
|
|
172124
|
+
await runFinally(cmd, err);
|
|
172298
172125
|
}
|
|
172299
172126
|
}
|
|
172300
172127
|
}
|
|
172301
172128
|
});
|
|
172302
172129
|
|
|
172303
|
-
// ../../node_modules/.pnpm/@oclif+core@4.
|
|
172130
|
+
// ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/execute.js
|
|
172304
172131
|
var require_execute = __commonJS({
|
|
172305
|
-
"../../node_modules/.pnpm/@oclif+core@4.
|
|
172132
|
+
"../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/execute.js"(exports) {
|
|
172306
172133
|
"use strict";
|
|
172307
172134
|
init_cjs_shims();
|
|
172308
172135
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -172316,18 +172143,18 @@ var require_execute = __commonJS({
|
|
|
172316
172143
|
}
|
|
172317
172144
|
});
|
|
172318
172145
|
|
|
172319
|
-
// ../../node_modules/.pnpm/@oclif+core@4.
|
|
172146
|
+
// ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/interfaces/index.js
|
|
172320
172147
|
var require_interfaces = __commonJS({
|
|
172321
|
-
"../../node_modules/.pnpm/@oclif+core@4.
|
|
172148
|
+
"../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/interfaces/index.js"(exports) {
|
|
172322
172149
|
"use strict";
|
|
172323
172150
|
init_cjs_shims();
|
|
172324
172151
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
172325
172152
|
}
|
|
172326
172153
|
});
|
|
172327
172154
|
|
|
172328
|
-
// ../../node_modules/.pnpm/@oclif+core@4.
|
|
172155
|
+
// ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/index.js
|
|
172329
172156
|
var require_lib = __commonJS({
|
|
172330
|
-
"../../node_modules/.pnpm/@oclif+core@4.
|
|
172157
|
+
"../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/index.js"(exports) {
|
|
172331
172158
|
init_cjs_shims();
|
|
172332
172159
|
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
172333
172160
|
k2 === void 0 && (k2 = k);
|
|
@@ -172484,4 +172311,4 @@ typescript/lib/typescript.js:
|
|
|
172484
172311
|
and limitations under the License.
|
|
172485
172312
|
***************************************************************************** *)
|
|
172486
172313
|
*/
|
|
172487
|
-
//# sourceMappingURL=chunk-
|
|
172314
|
+
//# sourceMappingURL=chunk-G5HUFNZJ.js.map
|