@wix/cli-app 1.1.73 → 1.1.74

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (62) hide show
  1. package/build/{CreateVersionCommand-FCCW72OR.js → CreateVersionCommand-6PXETRX5.js} +14 -14
  2. package/build/{DevCommand-MEZJSQNF.js → DevCommand-575K76BZ.js} +12 -12
  3. package/build/{GenerateCommand-2LLGGJP3.js → GenerateCommand-NKJI6L6F.js} +7 -7
  4. package/build/{LogsCommand-RX7XJGDW.js → LogsCommand-LDVXIJRM.js} +4 -4
  5. package/build/PreviewCommand-PMZTMXBO.js +23 -0
  6. package/build/{ReleaseCommand-I4QRSGS4.js → ReleaseCommand-3KMQAZC2.js} +15 -15
  7. package/build/{ServeCommand-ELSJTRIC.js → ServeCommand-JVEHGEQJ.js} +13 -13
  8. package/build/{build-DS5D6JSR.js → build-LGA2RNYK.js} +7 -7
  9. package/build/{chunk-4T3TWPYN.js → chunk-2I5H2XRH.js} +2 -2
  10. package/build/{chunk-FOUN6JMR.js → chunk-4AUIUNWR.js} +3 -3
  11. package/build/{chunk-7NMRLTE4.js → chunk-5CXN5MQU.js} +3 -3
  12. package/build/{chunk-QQGP63OH.js → chunk-A2RC7C33.js} +2 -2
  13. package/build/{chunk-PXS7X4U5.js → chunk-C2J6X76S.js} +4 -4
  14. package/build/{chunk-5SSFYBVB.js → chunk-D4K6HLR5.js} +7 -7
  15. package/build/{chunk-RTSR3LLH.js → chunk-ETZUKD7Z.js} +5 -5
  16. package/build/{chunk-2QGU64R5.js → chunk-HBC2QGBW.js} +3 -3
  17. package/build/{chunk-CMCLHAKY.js → chunk-KFXL2D65.js} +527 -64
  18. package/build/{chunk-CMCLHAKY.js.map → chunk-KFXL2D65.js.map} +1 -1
  19. package/build/{chunk-PWHSKMWU.js → chunk-MGWDHTIY.js} +3 -3
  20. package/build/{chunk-LARBBDM6.js → chunk-OBKGCJPS.js} +3 -3
  21. package/build/{chunk-TSO3L2US.js → chunk-UEWHA4N4.js} +42 -26
  22. package/build/chunk-UEWHA4N4.js.map +1 -0
  23. package/build/{chunk-QEW5QI3A.js → chunk-UR2P6KAA.js} +3 -3
  24. package/build/{chunk-YQF5FOXN.js → chunk-XL6K6NL2.js} +3 -3
  25. package/build/{chunk-N6EVOU72.js → chunk-YJ5YN5VN.js} +5 -5
  26. package/build/{chunk-BHATQVOE.js → chunk-YLAUVJYG.js} +4 -4
  27. package/build/{chunk-O333IOVL.js → chunk-YX3VV7BD.js} +14 -9
  28. package/build/chunk-YX3VV7BD.js.map +1 -0
  29. package/build/{devtools-YPSDP32D.js → devtools-JB2HYTEA.js} +101 -100
  30. package/build/devtools-JB2HYTEA.js.map +1 -0
  31. package/build/index.js +19 -19
  32. package/build/{preview-RYKMQKPO.js → preview-S2TF6RDS.js} +12 -12
  33. package/build/{render-command-MZQF2OKS.js → render-command-RYGIULDT.js} +5 -5
  34. package/package.json +4 -4
  35. package/build/PreviewCommand-R4CKNYGV.js +0 -23
  36. package/build/chunk-O333IOVL.js.map +0 -1
  37. package/build/chunk-TSO3L2US.js.map +0 -1
  38. package/build/devtools-YPSDP32D.js.map +0 -1
  39. /package/build/{CreateVersionCommand-FCCW72OR.js.map → CreateVersionCommand-6PXETRX5.js.map} +0 -0
  40. /package/build/{DevCommand-MEZJSQNF.js.map → DevCommand-575K76BZ.js.map} +0 -0
  41. /package/build/{GenerateCommand-2LLGGJP3.js.map → GenerateCommand-NKJI6L6F.js.map} +0 -0
  42. /package/build/{LogsCommand-RX7XJGDW.js.map → LogsCommand-LDVXIJRM.js.map} +0 -0
  43. /package/build/{PreviewCommand-R4CKNYGV.js.map → PreviewCommand-PMZTMXBO.js.map} +0 -0
  44. /package/build/{ReleaseCommand-I4QRSGS4.js.map → ReleaseCommand-3KMQAZC2.js.map} +0 -0
  45. /package/build/{ServeCommand-ELSJTRIC.js.map → ServeCommand-JVEHGEQJ.js.map} +0 -0
  46. /package/build/{build-DS5D6JSR.js.map → build-LGA2RNYK.js.map} +0 -0
  47. /package/build/{chunk-4T3TWPYN.js.map → chunk-2I5H2XRH.js.map} +0 -0
  48. /package/build/{chunk-FOUN6JMR.js.map → chunk-4AUIUNWR.js.map} +0 -0
  49. /package/build/{chunk-7NMRLTE4.js.map → chunk-5CXN5MQU.js.map} +0 -0
  50. /package/build/{chunk-QQGP63OH.js.map → chunk-A2RC7C33.js.map} +0 -0
  51. /package/build/{chunk-PXS7X4U5.js.map → chunk-C2J6X76S.js.map} +0 -0
  52. /package/build/{chunk-5SSFYBVB.js.map → chunk-D4K6HLR5.js.map} +0 -0
  53. /package/build/{chunk-RTSR3LLH.js.map → chunk-ETZUKD7Z.js.map} +0 -0
  54. /package/build/{chunk-2QGU64R5.js.map → chunk-HBC2QGBW.js.map} +0 -0
  55. /package/build/{chunk-PWHSKMWU.js.map → chunk-MGWDHTIY.js.map} +0 -0
  56. /package/build/{chunk-LARBBDM6.js.map → chunk-OBKGCJPS.js.map} +0 -0
  57. /package/build/{chunk-QEW5QI3A.js.map → chunk-UR2P6KAA.js.map} +0 -0
  58. /package/build/{chunk-YQF5FOXN.js.map → chunk-XL6K6NL2.js.map} +0 -0
  59. /package/build/{chunk-N6EVOU72.js.map → chunk-YJ5YN5VN.js.map} +0 -0
  60. /package/build/{chunk-BHATQVOE.js.map → chunk-YLAUVJYG.js.map} +0 -0
  61. /package/build/{preview-RYKMQKPO.js.map → preview-S2TF6RDS.js.map} +0 -0
  62. /package/build/{render-command-MZQF2OKS.js.map → render-command-RYGIULDT.js.map} +0 -0
@@ -39,7 +39,7 @@ import {
39
39
  use_input_default,
40
40
  version,
41
41
  z
42
- } from "./chunk-TSO3L2US.js";
42
+ } from "./chunk-UEWHA4N4.js";
43
43
  import {
44
44
  __commonJS,
45
45
  __dirname,
@@ -3960,6 +3960,7 @@ var require_re = __commonJS({
3960
3960
  var re = exports.re = [];
3961
3961
  var safeRe = exports.safeRe = [];
3962
3962
  var src = exports.src = [];
3963
+ var safeSrc = exports.safeSrc = [];
3963
3964
  var t = exports.t = {};
3964
3965
  var R = 0;
3965
3966
  var LETTERDASHNUMBER = "[a-zA-Z0-9-]";
@@ -3980,6 +3981,7 @@ var require_re = __commonJS({
3980
3981
  debug(name, index, value2);
3981
3982
  t[name] = index;
3982
3983
  src[index] = value2;
3984
+ safeSrc[index] = safe;
3983
3985
  re[index] = new RegExp(value2, isGlobal ? "g" : void 0);
3984
3986
  safeRe[index] = new RegExp(safe, isGlobal ? "g" : void 0);
3985
3987
  };
@@ -4082,7 +4084,7 @@ var require_semver = __commonJS({
4082
4084
  init_esm_shims();
4083
4085
  var debug = require_debug2();
4084
4086
  var { MAX_LENGTH, MAX_SAFE_INTEGER } = require_constants2();
4085
- var { safeRe: re, t } = require_re();
4087
+ var { safeRe: re, safeSrc: src, t } = require_re();
4086
4088
  var parseOptions = require_parse_options();
4087
4089
  var { compareIdentifiers } = require_identifiers();
4088
4090
  var SemVer = class _SemVer {
@@ -4227,7 +4229,8 @@ var require_semver = __commonJS({
4227
4229
  throw new Error("invalid increment argument: identifier is empty");
4228
4230
  }
4229
4231
  if (identifier) {
4230
- const match10 = `-${identifier}`.match(this.options.loose ? re[t.PRERELEASELOOSE] : re[t.PRERELEASE]);
4232
+ const r = new RegExp(`^${this.options.loose ? src[t.PRERELEASELOOSE] : src[t.PRERELEASE]}$`);
4233
+ const match10 = `-${identifier}`.match(r);
4231
4234
  if (!match10 || match10[1] !== identifier) {
4232
4235
  throw new Error(`invalid identifier: ${identifier}`);
4233
4236
  }
@@ -79061,12 +79064,12 @@ to your top-level package.json.
79061
79064
  var fs10 = __require("fs");
79062
79065
  var { Readable } = __require("stream");
79063
79066
  var sysPath = __require("path");
79064
- var { promisify: promisify5 } = __require("util");
79067
+ var { promisify: promisify6 } = __require("util");
79065
79068
  var picomatch = require_picomatch22();
79066
- var readdir = promisify5(fs10.readdir);
79067
- var stat = promisify5(fs10.stat);
79068
- var lstat = promisify5(fs10.lstat);
79069
- var realpath = promisify5(fs10.realpath);
79069
+ var readdir = promisify6(fs10.readdir);
79070
+ var stat = promisify6(fs10.stat);
79071
+ var lstat = promisify6(fs10.lstat);
79072
+ var realpath = promisify6(fs10.realpath);
79070
79073
  var BANG = "!";
79071
79074
  var RECURSIVE_ERROR_CODE = "READDIRP_RECURSIVE_ERROR";
79072
79075
  var NORMAL_FLOW_ERRORS = /* @__PURE__ */ new Set(["ENOENT", "EPERM", "EACCES", "ELOOP", RECURSIVE_ERROR_CODE]);
@@ -82456,7 +82459,7 @@ to your top-level package.json.
82456
82459
  "use strict";
82457
82460
  var fs10 = __require("fs");
82458
82461
  var sysPath = __require("path");
82459
- var { promisify: promisify5 } = __require("util");
82462
+ var { promisify: promisify6 } = __require("util");
82460
82463
  var isBinaryPath = require_is_binary_path2();
82461
82464
  var {
82462
82465
  isWindows,
@@ -82477,11 +82480,11 @@ to your top-level package.json.
82477
82480
  STAR
82478
82481
  } = require_constants52();
82479
82482
  var THROTTLE_MODE_WATCH = "watch";
82480
- var open3 = promisify5(fs10.open);
82481
- var stat = promisify5(fs10.stat);
82482
- var lstat = promisify5(fs10.lstat);
82483
- var close = promisify5(fs10.close);
82484
- var fsrealpath = promisify5(fs10.realpath);
82483
+ var open3 = promisify6(fs10.open);
82484
+ var stat = promisify6(fs10.stat);
82485
+ var lstat = promisify6(fs10.lstat);
82486
+ var close = promisify6(fs10.close);
82487
+ var fsrealpath = promisify6(fs10.realpath);
82485
82488
  var statMethods = { lstat, stat };
82486
82489
  var foreach = (val, fn) => {
82487
82490
  if (val instanceof Set) {
@@ -82945,7 +82948,7 @@ to your top-level package.json.
82945
82948
  "use strict";
82946
82949
  var fs10 = __require("fs");
82947
82950
  var sysPath = __require("path");
82948
- var { promisify: promisify5 } = __require("util");
82951
+ var { promisify: promisify6 } = __require("util");
82949
82952
  var fsevents;
82950
82953
  try {
82951
82954
  fsevents = __require("fsevents");
@@ -82988,9 +82991,9 @@ to your top-level package.json.
82988
82991
  IDENTITY_FN
82989
82992
  } = require_constants52();
82990
82993
  var Depth = (value2) => isNaN(value2) ? {} : { depth: value2 };
82991
- var stat = promisify5(fs10.stat);
82992
- var lstat = promisify5(fs10.lstat);
82993
- var realpath = promisify5(fs10.realpath);
82994
+ var stat = promisify6(fs10.stat);
82995
+ var lstat = promisify6(fs10.lstat);
82996
+ var realpath = promisify6(fs10.realpath);
82994
82997
  var statMethods = { stat, lstat };
82995
82998
  var FSEventsWatchers = /* @__PURE__ */ new Map();
82996
82999
  var consolidateThreshhold = 10;
@@ -83340,7 +83343,7 @@ to your top-level package.json.
83340
83343
  var { EventEmitter: EventEmitter2 } = __require("events");
83341
83344
  var fs10 = __require("fs");
83342
83345
  var sysPath = __require("path");
83343
- var { promisify: promisify5 } = __require("util");
83346
+ var { promisify: promisify6 } = __require("util");
83344
83347
  var readdirp = require_readdirp2();
83345
83348
  var anymatch = require_anymatch2().default;
83346
83349
  var globParent = require_glob_parent2();
@@ -83383,8 +83386,8 @@ to your top-level package.json.
83383
83386
  isMacos,
83384
83387
  isIBMi
83385
83388
  } = require_constants52();
83386
- var stat = promisify5(fs10.stat);
83387
- var readdir = promisify5(fs10.readdir);
83389
+ var stat = promisify6(fs10.stat);
83390
+ var readdir = promisify6(fs10.readdir);
83388
83391
  var arrify = (value2 = []) => Array.isArray(value2) ? value2 : [value2];
83389
83392
  var flatten = (list, result = []) => {
83390
83393
  list.forEach((item) => {
@@ -92571,7 +92574,7 @@ to your top-level package.json.
92571
92574
  createUnplugin: () => createUnplugin
92572
92575
  });
92573
92576
  module22.exports = __toCommonJS22(src_exports);
92574
- var import_fs3 = __toESM22(__require("fs"));
92577
+ var import_fs2 = __toESM22(__require("fs"));
92575
92578
  var import_path32 = __toESM22(__require("path"));
92576
92579
  var import_chokidar2 = __toESM22(require_chokidar2());
92577
92580
  var import_acorn = require_acorn();
@@ -93575,14 +93578,14 @@ Did you specify these with the most recent transformation maps first?`);
93575
93578
  emitFile(emittedFile) {
93576
93579
  const outFileName = emittedFile.fileName || emittedFile.name;
93577
93580
  if (initialOptions.outdir && emittedFile.source && outFileName)
93578
- import_fs3.default.writeFileSync(import_path32.default.resolve(initialOptions.outdir, outFileName), emittedFile.source);
93581
+ import_fs2.default.writeFileSync(import_path32.default.resolve(initialOptions.outdir, outFileName), emittedFile.source);
93579
93582
  },
93580
93583
  getWatchFiles() {
93581
93584
  return Array.from(watchList);
93582
93585
  }
93583
93586
  };
93584
- if (initialOptions.outdir && !import_fs3.default.existsSync(initialOptions.outdir))
93585
- import_fs3.default.mkdirSync(initialOptions.outdir, { recursive: true });
93587
+ if (initialOptions.outdir && !import_fs2.default.existsSync(initialOptions.outdir))
93588
+ import_fs2.default.mkdirSync(initialOptions.outdir, { recursive: true });
93586
93589
  if (plugin.buildStart)
93587
93590
  onStart(() => plugin.buildStart.call(context));
93588
93591
  if (plugin.buildEnd || plugin.writeBundle || initialOptions.watch) {
@@ -93673,7 +93676,7 @@ Did you specify these with the most recent transformation maps first?`);
93673
93676
  }
93674
93677
  if (!plugin.transformInclude || plugin.transformInclude(id)) {
93675
93678
  if (!code) {
93676
- code = await import_fs3.default.promises.readFile(args.path, "utf8");
93679
+ code = await import_fs2.default.promises.readFile(args.path, "utf8");
93677
93680
  }
93678
93681
  const result = await plugin.transform.call(Object.assign(context, pluginContext), code, id);
93679
93682
  if (typeof result === "string") {
@@ -94137,10 +94140,10 @@ Did you specify these with the most recent transformation maps first?`);
94137
94140
  "use strict";
94138
94141
  var path5 = __require("path");
94139
94142
  var fs10 = __require("fs");
94140
- var { promisify: promisify5 } = __require("util");
94143
+ var { promisify: promisify6 } = __require("util");
94141
94144
  var pLocate = require_p_locate();
94142
- var fsStat = promisify5(fs10.stat);
94143
- var fsLStat = promisify5(fs10.lstat);
94145
+ var fsStat = promisify6(fs10.stat);
94146
+ var fsLStat = promisify6(fs10.lstat);
94144
94147
  var typeMappings = {
94145
94148
  directory: "isDirectory",
94146
94149
  file: "isFile"
@@ -94195,8 +94198,8 @@ Did you specify these with the most recent transformation maps first?`);
94195
94198
  "../../node_modules/path-exists/index.js"(exports2, module22) {
94196
94199
  "use strict";
94197
94200
  var fs10 = __require("fs");
94198
- var { promisify: promisify5 } = __require("util");
94199
- var pAccess = promisify5(fs10.access);
94201
+ var { promisify: promisify6 } = __require("util");
94202
+ var pAccess = promisify6(fs10.access);
94200
94203
  module22.exports = async (path5) => {
94201
94204
  try {
94202
94205
  await pAccess(path5);
@@ -100622,7 +100625,7 @@ Did you specify these with the most recent transformation maps first?`);
100622
100625
  module22.exports = Minipass;
100623
100626
  }
100624
100627
  });
100625
- var require_ignore2 = __commonJS2({
100628
+ var require_ignore3 = __commonJS2({
100626
100629
  "../../node_modules/@sentry/bundler-plugin-core/node_modules/glob/dist/cjs/ignore.js"(exports2) {
100627
100630
  "use strict";
100628
100631
  Object.defineProperty(exports2, "__esModule", { value: true });
@@ -100951,7 +100954,7 @@ Did you specify these with the most recent transformation maps first?`);
100951
100954
  Object.defineProperty(exports2, "__esModule", { value: true });
100952
100955
  exports2.GlobStream = exports2.GlobWalker = exports2.GlobUtil = void 0;
100953
100956
  var minipass_1 = __importDefault(require_minipass());
100954
- var ignore_js_1 = require_ignore2();
100957
+ var ignore_js_1 = require_ignore3();
100955
100958
  var processor_js_1 = require_processor();
100956
100959
  var makeIgnore = (ignore, opts) => typeof ignore === "string" ? new ignore_js_1.Ignore([ignore], opts) : Array.isArray(ignore) ? new ignore_js_1.Ignore(ignore, opts) : ignore;
100957
100960
  var GlobUtil = class {
@@ -124250,14 +124253,14 @@ var require_path_type = __commonJS({
124250
124253
  "../../node_modules/path-type/index.js"(exports) {
124251
124254
  "use strict";
124252
124255
  init_esm_shims();
124253
- var { promisify: promisify5 } = __require("util");
124256
+ var { promisify: promisify6 } = __require("util");
124254
124257
  var fs10 = __require("fs");
124255
124258
  async function isType7(fsStatType, statsMethodName, filePath) {
124256
124259
  if (typeof filePath !== "string") {
124257
124260
  throw new TypeError(`Expected a string, got ${typeof filePath}`);
124258
124261
  }
124259
124262
  try {
124260
- const stats = await promisify5(fs10[fsStatType])(filePath);
124263
+ const stats = await promisify6(fs10[fsStatType])(filePath);
124261
124264
  return stats[statsMethodName]();
124262
124265
  } catch (error) {
124263
124266
  if (error.code === "ENOENT") {
@@ -124741,6 +124744,461 @@ var require_ignore = __commonJS({
124741
124744
  }
124742
124745
  });
124743
124746
 
124747
+ // ../../node_modules/globby/node_modules/ignore/index.js
124748
+ var require_ignore2 = __commonJS({
124749
+ "../../node_modules/globby/node_modules/ignore/index.js"(exports, module2) {
124750
+ "use strict";
124751
+ init_esm_shims();
124752
+ function makeArray(subject) {
124753
+ return Array.isArray(subject) ? subject : [subject];
124754
+ }
124755
+ var UNDEFINED = void 0;
124756
+ var EMPTY = "";
124757
+ var SPACE = " ";
124758
+ var ESCAPE = "\\";
124759
+ var REGEX_TEST_BLANK_LINE = /^\s+$/;
124760
+ var REGEX_INVALID_TRAILING_BACKSLASH = /(?:[^\\]|^)\\$/;
124761
+ var REGEX_REPLACE_LEADING_EXCAPED_EXCLAMATION = /^\\!/;
124762
+ var REGEX_REPLACE_LEADING_EXCAPED_HASH = /^\\#/;
124763
+ var REGEX_SPLITALL_CRLF = /\r?\n/g;
124764
+ var REGEX_TEST_INVALID_PATH = /^\.*\/|^\.+$/;
124765
+ var REGEX_TEST_TRAILING_SLASH = /\/$/;
124766
+ var SLASH = "/";
124767
+ var TMP_KEY_IGNORE = "node-ignore";
124768
+ if (typeof Symbol !== "undefined") {
124769
+ TMP_KEY_IGNORE = Symbol.for("node-ignore");
124770
+ }
124771
+ var KEY_IGNORE = TMP_KEY_IGNORE;
124772
+ var define2 = (object, key, value2) => {
124773
+ Object.defineProperty(object, key, { value: value2 });
124774
+ return value2;
124775
+ };
124776
+ var REGEX_REGEXP_RANGE = /([0-z])-([0-z])/g;
124777
+ var RETURN_FALSE = () => false;
124778
+ var sanitizeRange = (range) => range.replace(
124779
+ REGEX_REGEXP_RANGE,
124780
+ (match10, from, to) => from.charCodeAt(0) <= to.charCodeAt(0) ? match10 : EMPTY
124781
+ );
124782
+ var cleanRangeBackSlash = (slashes) => {
124783
+ const { length } = slashes;
124784
+ return slashes.slice(0, length - length % 2);
124785
+ };
124786
+ var REPLACERS = [
124787
+ [
124788
+ // Remove BOM
124789
+ // TODO:
124790
+ // Other similar zero-width characters?
124791
+ /^\uFEFF/,
124792
+ () => EMPTY
124793
+ ],
124794
+ // > Trailing spaces are ignored unless they are quoted with backslash ("\")
124795
+ [
124796
+ // (a\ ) -> (a )
124797
+ // (a ) -> (a)
124798
+ // (a ) -> (a)
124799
+ // (a \ ) -> (a )
124800
+ /((?:\\\\)*?)(\\?\s+)$/,
124801
+ (_, m1, m2) => m1 + (m2.indexOf("\\") === 0 ? SPACE : EMPTY)
124802
+ ],
124803
+ // Replace (\ ) with ' '
124804
+ // (\ ) -> ' '
124805
+ // (\\ ) -> '\\ '
124806
+ // (\\\ ) -> '\\ '
124807
+ [
124808
+ /(\\+?)\s/g,
124809
+ (_, m1) => {
124810
+ const { length } = m1;
124811
+ return m1.slice(0, length - length % 2) + SPACE;
124812
+ }
124813
+ ],
124814
+ // Escape metacharacters
124815
+ // which is written down by users but means special for regular expressions.
124816
+ // > There are 12 characters with special meanings:
124817
+ // > - the backslash \,
124818
+ // > - the caret ^,
124819
+ // > - the dollar sign $,
124820
+ // > - the period or dot .,
124821
+ // > - the vertical bar or pipe symbol |,
124822
+ // > - the question mark ?,
124823
+ // > - the asterisk or star *,
124824
+ // > - the plus sign +,
124825
+ // > - the opening parenthesis (,
124826
+ // > - the closing parenthesis ),
124827
+ // > - and the opening square bracket [,
124828
+ // > - the opening curly brace {,
124829
+ // > These special characters are often called "metacharacters".
124830
+ [
124831
+ /[\\$.|*+(){^]/g,
124832
+ (match10) => `\\${match10}`
124833
+ ],
124834
+ [
124835
+ // > a question mark (?) matches a single character
124836
+ /(?!\\)\?/g,
124837
+ () => "[^/]"
124838
+ ],
124839
+ // leading slash
124840
+ [
124841
+ // > A leading slash matches the beginning of the pathname.
124842
+ // > For example, "/*.c" matches "cat-file.c" but not "mozilla-sha1/sha1.c".
124843
+ // A leading slash matches the beginning of the pathname
124844
+ /^\//,
124845
+ () => "^"
124846
+ ],
124847
+ // replace special metacharacter slash after the leading slash
124848
+ [
124849
+ /\//g,
124850
+ () => "\\/"
124851
+ ],
124852
+ [
124853
+ // > A leading "**" followed by a slash means match in all directories.
124854
+ // > For example, "**/foo" matches file or directory "foo" anywhere,
124855
+ // > the same as pattern "foo".
124856
+ // > "**/foo/bar" matches file or directory "bar" anywhere that is directly
124857
+ // > under directory "foo".
124858
+ // Notice that the '*'s have been replaced as '\\*'
124859
+ /^\^*\\\*\\\*\\\//,
124860
+ // '**/foo' <-> 'foo'
124861
+ () => "^(?:.*\\/)?"
124862
+ ],
124863
+ // starting
124864
+ [
124865
+ // there will be no leading '/'
124866
+ // (which has been replaced by section "leading slash")
124867
+ // If starts with '**', adding a '^' to the regular expression also works
124868
+ /^(?=[^^])/,
124869
+ function startingReplacer() {
124870
+ return !/\/(?!$)/.test(this) ? "(?:^|\\/)" : "^";
124871
+ }
124872
+ ],
124873
+ // two globstars
124874
+ [
124875
+ // Use lookahead assertions so that we could match more than one `'/**'`
124876
+ /\\\/\\\*\\\*(?=\\\/|$)/g,
124877
+ // Zero, one or several directories
124878
+ // should not use '*', or it will be replaced by the next replacer
124879
+ // Check if it is not the last `'/**'`
124880
+ (_, index, str) => index + 6 < str.length ? "(?:\\/[^\\/]+)*" : "\\/.+"
124881
+ ],
124882
+ // normal intermediate wildcards
124883
+ [
124884
+ // Never replace escaped '*'
124885
+ // ignore rule '\*' will match the path '*'
124886
+ // 'abc.*/' -> go
124887
+ // 'abc.*' -> skip this rule,
124888
+ // coz trailing single wildcard will be handed by [trailing wildcard]
124889
+ /(^|[^\\]+)(\\\*)+(?=.+)/g,
124890
+ // '*.js' matches '.js'
124891
+ // '*.js' doesn't match 'abc'
124892
+ (_, p1, p2) => {
124893
+ const unescaped = p2.replace(/\\\*/g, "[^\\/]*");
124894
+ return p1 + unescaped;
124895
+ }
124896
+ ],
124897
+ [
124898
+ // unescape, revert step 3 except for back slash
124899
+ // For example, if a user escape a '\\*',
124900
+ // after step 3, the result will be '\\\\\\*'
124901
+ /\\\\\\(?=[$.|*+(){^])/g,
124902
+ () => ESCAPE
124903
+ ],
124904
+ [
124905
+ // '\\\\' -> '\\'
124906
+ /\\\\/g,
124907
+ () => ESCAPE
124908
+ ],
124909
+ [
124910
+ // > The range notation, e.g. [a-zA-Z],
124911
+ // > can be used to match one of the characters in a range.
124912
+ // `\` is escaped by step 3
124913
+ /(\\)?\[([^\]/]*?)(\\*)($|\])/g,
124914
+ (match10, leadEscape, range, endEscape, close) => leadEscape === ESCAPE ? `\\[${range}${cleanRangeBackSlash(endEscape)}${close}` : close === "]" ? endEscape.length % 2 === 0 ? `[${sanitizeRange(range)}${endEscape}]` : "[]" : "[]"
124915
+ ],
124916
+ // ending
124917
+ [
124918
+ // 'js' will not match 'js.'
124919
+ // 'ab' will not match 'abc'
124920
+ /(?:[^*])$/,
124921
+ // WTF!
124922
+ // https://git-scm.com/docs/gitignore
124923
+ // changes in [2.22.1](https://git-scm.com/docs/gitignore/2.22.1)
124924
+ // which re-fixes #24, #38
124925
+ // > If there is a separator at the end of the pattern then the pattern
124926
+ // > will only match directories, otherwise the pattern can match both
124927
+ // > files and directories.
124928
+ // 'js*' will not match 'a.js'
124929
+ // 'js/' will not match 'a.js'
124930
+ // 'js' will match 'a.js' and 'a.js/'
124931
+ (match10) => /\/$/.test(match10) ? `${match10}$` : `${match10}(?=$|\\/$)`
124932
+ ]
124933
+ ];
124934
+ var REGEX_REPLACE_TRAILING_WILDCARD = /(^|\\\/)?\\\*$/;
124935
+ var MODE_IGNORE = "regex";
124936
+ var MODE_CHECK_IGNORE = "checkRegex";
124937
+ var UNDERSCORE = "_";
124938
+ var TRAILING_WILD_CARD_REPLACERS = {
124939
+ [MODE_IGNORE](_, p1) {
124940
+ const prefix = p1 ? `${p1}[^/]+` : "[^/]*";
124941
+ return `${prefix}(?=$|\\/$)`;
124942
+ },
124943
+ [MODE_CHECK_IGNORE](_, p1) {
124944
+ const prefix = p1 ? `${p1}[^/]*` : "[^/]*";
124945
+ return `${prefix}(?=$|\\/$)`;
124946
+ }
124947
+ };
124948
+ var makeRegexPrefix = (pattern) => REPLACERS.reduce(
124949
+ (prev, [matcher2, replacer]) => prev.replace(matcher2, replacer.bind(pattern)),
124950
+ pattern
124951
+ );
124952
+ var isString = (subject) => typeof subject === "string";
124953
+ var checkPattern = (pattern) => pattern && isString(pattern) && !REGEX_TEST_BLANK_LINE.test(pattern) && !REGEX_INVALID_TRAILING_BACKSLASH.test(pattern) && pattern.indexOf("#") !== 0;
124954
+ var splitPattern = (pattern) => pattern.split(REGEX_SPLITALL_CRLF).filter(Boolean);
124955
+ var IgnoreRule = class {
124956
+ constructor(pattern, mark, body, ignoreCase, negative, prefix) {
124957
+ this.pattern = pattern;
124958
+ this.mark = mark;
124959
+ this.negative = negative;
124960
+ define2(this, "body", body);
124961
+ define2(this, "ignoreCase", ignoreCase);
124962
+ define2(this, "regexPrefix", prefix);
124963
+ }
124964
+ get regex() {
124965
+ const key = UNDERSCORE + MODE_IGNORE;
124966
+ if (this[key]) {
124967
+ return this[key];
124968
+ }
124969
+ return this._make(MODE_IGNORE, key);
124970
+ }
124971
+ get checkRegex() {
124972
+ const key = UNDERSCORE + MODE_CHECK_IGNORE;
124973
+ if (this[key]) {
124974
+ return this[key];
124975
+ }
124976
+ return this._make(MODE_CHECK_IGNORE, key);
124977
+ }
124978
+ _make(mode, key) {
124979
+ const str = this.regexPrefix.replace(
124980
+ REGEX_REPLACE_TRAILING_WILDCARD,
124981
+ // It does not need to bind pattern
124982
+ TRAILING_WILD_CARD_REPLACERS[mode]
124983
+ );
124984
+ const regex = this.ignoreCase ? new RegExp(str, "i") : new RegExp(str);
124985
+ return define2(this, key, regex);
124986
+ }
124987
+ };
124988
+ var createRule = ({
124989
+ pattern,
124990
+ mark
124991
+ }, ignoreCase) => {
124992
+ let negative = false;
124993
+ let body = pattern;
124994
+ if (body.indexOf("!") === 0) {
124995
+ negative = true;
124996
+ body = body.substr(1);
124997
+ }
124998
+ body = body.replace(REGEX_REPLACE_LEADING_EXCAPED_EXCLAMATION, "!").replace(REGEX_REPLACE_LEADING_EXCAPED_HASH, "#");
124999
+ const regexPrefix = makeRegexPrefix(body);
125000
+ return new IgnoreRule(
125001
+ pattern,
125002
+ mark,
125003
+ body,
125004
+ ignoreCase,
125005
+ negative,
125006
+ regexPrefix
125007
+ );
125008
+ };
125009
+ var RuleManager = class {
125010
+ constructor(ignoreCase) {
125011
+ this._ignoreCase = ignoreCase;
125012
+ this._rules = [];
125013
+ }
125014
+ _add(pattern) {
125015
+ if (pattern && pattern[KEY_IGNORE]) {
125016
+ this._rules = this._rules.concat(pattern._rules._rules);
125017
+ this._added = true;
125018
+ return;
125019
+ }
125020
+ if (isString(pattern)) {
125021
+ pattern = {
125022
+ pattern
125023
+ };
125024
+ }
125025
+ if (checkPattern(pattern.pattern)) {
125026
+ const rule = createRule(pattern, this._ignoreCase);
125027
+ this._added = true;
125028
+ this._rules.push(rule);
125029
+ }
125030
+ }
125031
+ // @param {Array<string> | string | Ignore} pattern
125032
+ add(pattern) {
125033
+ this._added = false;
125034
+ makeArray(
125035
+ isString(pattern) ? splitPattern(pattern) : pattern
125036
+ ).forEach(this._add, this);
125037
+ return this._added;
125038
+ }
125039
+ // Test one single path without recursively checking parent directories
125040
+ //
125041
+ // - checkUnignored `boolean` whether should check if the path is unignored,
125042
+ // setting `checkUnignored` to `false` could reduce additional
125043
+ // path matching.
125044
+ // - check `string` either `MODE_IGNORE` or `MODE_CHECK_IGNORE`
125045
+ // @returns {TestResult} true if a file is ignored
125046
+ test(path5, checkUnignored, mode) {
125047
+ let ignored = false;
125048
+ let unignored = false;
125049
+ let matchedRule;
125050
+ this._rules.forEach((rule) => {
125051
+ const { negative } = rule;
125052
+ if (unignored === negative && ignored !== unignored || negative && !ignored && !unignored && !checkUnignored) {
125053
+ return;
125054
+ }
125055
+ const matched = rule[mode].test(path5);
125056
+ if (!matched) {
125057
+ return;
125058
+ }
125059
+ ignored = !negative;
125060
+ unignored = negative;
125061
+ matchedRule = negative ? UNDEFINED : rule;
125062
+ });
125063
+ const ret = {
125064
+ ignored,
125065
+ unignored
125066
+ };
125067
+ if (matchedRule) {
125068
+ ret.rule = matchedRule;
125069
+ }
125070
+ return ret;
125071
+ }
125072
+ };
125073
+ var throwError = (message, Ctor) => {
125074
+ throw new Ctor(message);
125075
+ };
125076
+ var checkPath = (path5, originalPath, doThrow) => {
125077
+ if (!isString(path5)) {
125078
+ return doThrow(
125079
+ `path must be a string, but got \`${originalPath}\``,
125080
+ TypeError
125081
+ );
125082
+ }
125083
+ if (!path5) {
125084
+ return doThrow(`path must not be empty`, TypeError);
125085
+ }
125086
+ if (checkPath.isNotRelative(path5)) {
125087
+ const r = "`path.relative()`d";
125088
+ return doThrow(
125089
+ `path should be a ${r} string, but got "${originalPath}"`,
125090
+ RangeError
125091
+ );
125092
+ }
125093
+ return true;
125094
+ };
125095
+ var isNotRelative = (path5) => REGEX_TEST_INVALID_PATH.test(path5);
125096
+ checkPath.isNotRelative = isNotRelative;
125097
+ checkPath.convert = (p) => p;
125098
+ var Ignore = class {
125099
+ constructor({
125100
+ ignorecase = true,
125101
+ ignoreCase = ignorecase,
125102
+ allowRelativePaths = false
125103
+ } = {}) {
125104
+ define2(this, KEY_IGNORE, true);
125105
+ this._rules = new RuleManager(ignoreCase);
125106
+ this._strictPathCheck = !allowRelativePaths;
125107
+ this._initCache();
125108
+ }
125109
+ _initCache() {
125110
+ this._ignoreCache = /* @__PURE__ */ Object.create(null);
125111
+ this._testCache = /* @__PURE__ */ Object.create(null);
125112
+ }
125113
+ add(pattern) {
125114
+ if (this._rules.add(pattern)) {
125115
+ this._initCache();
125116
+ }
125117
+ return this;
125118
+ }
125119
+ // legacy
125120
+ addPattern(pattern) {
125121
+ return this.add(pattern);
125122
+ }
125123
+ // @returns {TestResult}
125124
+ _test(originalPath, cache, checkUnignored, slices) {
125125
+ const path5 = originalPath && checkPath.convert(originalPath);
125126
+ checkPath(
125127
+ path5,
125128
+ originalPath,
125129
+ this._strictPathCheck ? throwError : RETURN_FALSE
125130
+ );
125131
+ return this._t(path5, cache, checkUnignored, slices);
125132
+ }
125133
+ checkIgnore(path5) {
125134
+ if (!REGEX_TEST_TRAILING_SLASH.test(path5)) {
125135
+ return this.test(path5);
125136
+ }
125137
+ const slices = path5.split(SLASH).filter(Boolean);
125138
+ slices.pop();
125139
+ if (slices.length) {
125140
+ const parent = this._t(
125141
+ slices.join(SLASH) + SLASH,
125142
+ this._testCache,
125143
+ true,
125144
+ slices
125145
+ );
125146
+ if (parent.ignored) {
125147
+ return parent;
125148
+ }
125149
+ }
125150
+ return this._rules.test(path5, false, MODE_CHECK_IGNORE);
125151
+ }
125152
+ _t(path5, cache, checkUnignored, slices) {
125153
+ if (path5 in cache) {
125154
+ return cache[path5];
125155
+ }
125156
+ if (!slices) {
125157
+ slices = path5.split(SLASH).filter(Boolean);
125158
+ }
125159
+ slices.pop();
125160
+ if (!slices.length) {
125161
+ return cache[path5] = this._rules.test(path5, checkUnignored, MODE_IGNORE);
125162
+ }
125163
+ const parent = this._t(
125164
+ slices.join(SLASH) + SLASH,
125165
+ cache,
125166
+ checkUnignored,
125167
+ slices
125168
+ );
125169
+ return cache[path5] = parent.ignored ? parent : this._rules.test(path5, checkUnignored, MODE_IGNORE);
125170
+ }
125171
+ ignores(path5) {
125172
+ return this._test(path5, this._ignoreCache, false).ignored;
125173
+ }
125174
+ createFilter() {
125175
+ return (path5) => !this.ignores(path5);
125176
+ }
125177
+ filter(paths) {
125178
+ return makeArray(paths).filter(this.createFilter());
125179
+ }
125180
+ // @returns {TestResult}
125181
+ test(path5) {
125182
+ return this._test(path5, this._testCache, true);
125183
+ }
125184
+ };
125185
+ var factory = (options) => new Ignore(options);
125186
+ var isPathValid = (path5) => checkPath(path5 && checkPath.convert(path5), path5, RETURN_FALSE);
125187
+ if (
125188
+ // Detect `process` so that it can run in browsers.
125189
+ typeof process !== "undefined" && (process.env && process.env.IGNORE_TEST_WIN32 || process.platform === "win32")
125190
+ ) {
125191
+ const makePosix = (str) => /^\\\\\?\\/.test(str) || /["<>|\u0000-\u001F]+/u.test(str) ? str : str.replace(/\\/g, "/");
125192
+ checkPath.convert = makePosix;
125193
+ const REGEX_TEST_WINDOWS_PATH_ABSOLUTE = /^[a-z]:\//i;
125194
+ checkPath.isNotRelative = (path5) => REGEX_TEST_WINDOWS_PATH_ABSOLUTE.test(path5) || isNotRelative(path5);
125195
+ }
125196
+ module2.exports = factory;
125197
+ factory.default = factory;
125198
+ module2.exports.isPathValid = isPathValid;
125199
+ }
125200
+ });
125201
+
124744
125202
  // ../../node_modules/lodash/isFunction.js
124745
125203
  var require_isFunction = __commonJS({
124746
125204
  "../../node_modules/lodash/isFunction.js"(exports, module2) {
@@ -126997,12 +127455,12 @@ var require_readdirp = __commonJS({
126997
127455
  var fs10 = __require("fs");
126998
127456
  var { Readable } = __require("stream");
126999
127457
  var sysPath = __require("path");
127000
- var { promisify: promisify5 } = __require("util");
127458
+ var { promisify: promisify6 } = __require("util");
127001
127459
  var picomatch = require_picomatch2();
127002
- var readdir = promisify5(fs10.readdir);
127003
- var stat = promisify5(fs10.stat);
127004
- var lstat = promisify5(fs10.lstat);
127005
- var realpath = promisify5(fs10.realpath);
127460
+ var readdir = promisify6(fs10.readdir);
127461
+ var stat = promisify6(fs10.stat);
127462
+ var lstat = promisify6(fs10.lstat);
127463
+ var realpath = promisify6(fs10.realpath);
127006
127464
  var BANG = "!";
127007
127465
  var RECURSIVE_ERROR_CODE = "READDIRP_RECURSIVE_ERROR";
127008
127466
  var NORMAL_FLOW_ERRORS = /* @__PURE__ */ new Set(["ENOENT", "EPERM", "EACCES", "ELOOP", RECURSIVE_ERROR_CODE]);
@@ -127676,7 +128134,7 @@ var require_nodefs_handler = __commonJS({
127676
128134
  init_esm_shims();
127677
128135
  var fs10 = __require("fs");
127678
128136
  var sysPath = __require("path");
127679
- var { promisify: promisify5 } = __require("util");
128137
+ var { promisify: promisify6 } = __require("util");
127680
128138
  var isBinaryPath = require_is_binary_path();
127681
128139
  var {
127682
128140
  isWindows,
@@ -127697,11 +128155,11 @@ var require_nodefs_handler = __commonJS({
127697
128155
  STAR
127698
128156
  } = require_constants6();
127699
128157
  var THROTTLE_MODE_WATCH = "watch";
127700
- var open3 = promisify5(fs10.open);
127701
- var stat = promisify5(fs10.stat);
127702
- var lstat = promisify5(fs10.lstat);
127703
- var close = promisify5(fs10.close);
127704
- var fsrealpath = promisify5(fs10.realpath);
128158
+ var open3 = promisify6(fs10.open);
128159
+ var stat = promisify6(fs10.stat);
128160
+ var lstat = promisify6(fs10.lstat);
128161
+ var close = promisify6(fs10.close);
128162
+ var fsrealpath = promisify6(fs10.realpath);
127705
128163
  var statMethods = { lstat, stat };
127706
128164
  var foreach = (val, fn) => {
127707
128165
  if (val instanceof Set) {
@@ -128168,7 +128626,7 @@ var require_fsevents_handler = __commonJS({
128168
128626
  init_esm_shims();
128169
128627
  var fs10 = __require("fs");
128170
128628
  var sysPath = __require("path");
128171
- var { promisify: promisify5 } = __require("util");
128629
+ var { promisify: promisify6 } = __require("util");
128172
128630
  var fsevents;
128173
128631
  try {
128174
128632
  fsevents = __require("fsevents");
@@ -128211,9 +128669,9 @@ var require_fsevents_handler = __commonJS({
128211
128669
  IDENTITY_FN
128212
128670
  } = require_constants6();
128213
128671
  var Depth = (value2) => isNaN(value2) ? {} : { depth: value2 };
128214
- var stat = promisify5(fs10.stat);
128215
- var lstat = promisify5(fs10.lstat);
128216
- var realpath = promisify5(fs10.realpath);
128672
+ var stat = promisify6(fs10.stat);
128673
+ var lstat = promisify6(fs10.lstat);
128674
+ var realpath = promisify6(fs10.realpath);
128217
128675
  var statMethods = { stat, lstat };
128218
128676
  var FSEventsWatchers = /* @__PURE__ */ new Map();
128219
128677
  var consolidateThreshhold = 10;
@@ -128566,7 +129024,7 @@ var require_chokidar = __commonJS({
128566
129024
  var { EventEmitter: EventEmitter2 } = __require("events");
128567
129025
  var fs10 = __require("fs");
128568
129026
  var sysPath = __require("path");
128569
- var { promisify: promisify5 } = __require("util");
129027
+ var { promisify: promisify6 } = __require("util");
128570
129028
  var readdirp = require_readdirp();
128571
129029
  var anymatch = require_anymatch().default;
128572
129030
  var globParent = require_glob_parent();
@@ -128609,8 +129067,8 @@ var require_chokidar = __commonJS({
128609
129067
  isMacos,
128610
129068
  isIBMi
128611
129069
  } = require_constants6();
128612
- var stat = promisify5(fs10.stat);
128613
- var readdir = promisify5(fs10.readdir);
129070
+ var stat = promisify6(fs10.stat);
129071
+ var readdir = promisify6(fs10.readdir);
128614
129072
  var arrify = (value2 = []) => Array.isArray(value2) ? value2 : [value2];
128615
129073
  var flatten = (list, result = []) => {
128616
129074
  list.forEach((item) => {
@@ -142458,7 +142916,8 @@ var import_fast_glob4 = __toESM(require_out4(), 1);
142458
142916
 
142459
142917
  // ../../node_modules/globby/node_modules/path-type/index.js
142460
142918
  init_esm_shims();
142461
- import fs7, { promises as fsPromises } from "fs";
142919
+ import fs7 from "node:fs";
142920
+ import fsPromises from "node:fs/promises";
142462
142921
  async function isType4(fsStatType, statsMethodName, filePath) {
142463
142922
  if (typeof filePath !== "string") {
142464
142923
  throw new TypeError(`Expected a string, got ${typeof filePath}`);
@@ -142486,24 +142945,28 @@ function isTypeSync(fsStatType, statsMethodName, filePath) {
142486
142945
  throw error;
142487
142946
  }
142488
142947
  }
142489
- var isFile = isType4.bind(null, "stat", "isFile");
142490
- var isDirectory = isType4.bind(null, "stat", "isDirectory");
142491
- var isSymlink = isType4.bind(null, "lstat", "isSymbolicLink");
142492
- var isFileSync = isTypeSync.bind(null, "statSync", "isFile");
142493
- var isDirectorySync = isTypeSync.bind(null, "statSync", "isDirectory");
142494
- var isSymlinkSync = isTypeSync.bind(null, "lstatSync", "isSymbolicLink");
142495
-
142496
- // ../../node_modules/unicorn-magic/node.js
142948
+ var isFile = isType4.bind(void 0, "stat", "isFile");
142949
+ var isDirectory = isType4.bind(void 0, "stat", "isDirectory");
142950
+ var isSymlink = isType4.bind(void 0, "lstat", "isSymbolicLink");
142951
+ var isFileSync = isTypeSync.bind(void 0, "statSync", "isFile");
142952
+ var isDirectorySync = isTypeSync.bind(void 0, "statSync", "isDirectory");
142953
+ var isSymlinkSync = isTypeSync.bind(void 0, "lstatSync", "isSymbolicLink");
142954
+
142955
+ // ../../node_modules/globby/node_modules/unicorn-magic/node.js
142497
142956
  init_esm_shims();
142957
+ import { promisify as promisify5 } from "node:util";
142958
+ import { execFile as execFileCallback, execFileSync as execFileSyncOriginal } from "node:child_process";
142498
142959
  import { fileURLToPath as fileURLToPath3 } from "node:url";
142960
+ var execFileOriginal = promisify5(execFileCallback);
142499
142961
  function toPath2(urlOrPath) {
142500
142962
  return urlOrPath instanceof URL ? fileURLToPath3(urlOrPath) : urlOrPath;
142501
142963
  }
142964
+ var TEN_MEGABYTES_IN_BYTES = 10 * 1024 * 1024;
142502
142965
 
142503
142966
  // ../../node_modules/globby/ignore.js
142504
142967
  init_esm_shims();
142505
142968
  var import_fast_glob3 = __toESM(require_out4(), 1);
142506
- var import_ignore4 = __toESM(require_ignore(), 1);
142969
+ var import_ignore4 = __toESM(require_ignore2(), 1);
142507
142970
  import process8 from "node:process";
142508
142971
  import fs8 from "node:fs";
142509
142972
  import fsPromises2 from "node:fs/promises";
@@ -146501,4 +146964,4 @@ mustache/mustache.mjs:
146501
146964
  * http://github.com/janl/mustache.js
146502
146965
  *)
146503
146966
  */
146504
- //# sourceMappingURL=chunk-CMCLHAKY.js.map
146967
+ //# sourceMappingURL=chunk-KFXL2D65.js.map