@parcel/utils 2.0.0-nightly.1105 → 2.0.0-nightly.1110

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/lib/index.js CHANGED
@@ -99,8 +99,7 @@ var $lKEF0 = parcelRequire("lKEF0");
99
99
  var $5MQDC = parcelRequire("5MQDC");
100
100
 
101
101
  var $7XmS6 = parcelRequire("7XmS6");
102
- const $304f14c7e435813f$var$isObject = (val)=>val && typeof val === "object" && !Array.isArray(val)
103
- ;
102
+ const $304f14c7e435813f$var$isObject = (val)=>val && typeof val === "object" && !Array.isArray(val);
104
103
  /**
105
104
  * Creates a matcher function from one or more glob patterns. The
106
105
  * returned function takes a string to match as its first argument,
@@ -123,8 +122,7 @@ const $304f14c7e435813f$var$isObject = (val)=>val && typeof val === "object" &&
123
122
  * @api public
124
123
  */ const $304f14c7e435813f$var$picomatch = (glob, options, returnState = false)=>{
125
124
  if (Array.isArray(glob)) {
126
- const fns = glob.map((input)=>$304f14c7e435813f$var$picomatch(input, options, returnState)
127
- );
125
+ const fns = glob.map((input)=>$304f14c7e435813f$var$picomatch(input, options, returnState));
128
126
  const arrayMatcher = (str)=>{
129
127
  for (const isMatch of fns){
130
128
  const state = isMatch(str);
@@ -141,8 +139,7 @@ const $304f14c7e435813f$var$isObject = (val)=>val && typeof val === "object" &&
141
139
  const regex = isState ? $304f14c7e435813f$var$picomatch.compileRe(glob, options) : $304f14c7e435813f$var$picomatch.makeRe(glob, options, false, true);
142
140
  const state1 = regex.state;
143
141
  delete regex.state;
144
- let isIgnored = ()=>false
145
- ;
142
+ let isIgnored = ()=>false;
146
143
  if (opts.ignore) {
147
144
  const ignoreOpts = {
148
145
  ...options,
@@ -253,8 +250,7 @@ const $304f14c7e435813f$var$isObject = (val)=>val && typeof val === "object" &&
253
250
  * @param {Object} [options] See available [options](#options).
254
251
  * @return {Boolean} Returns true if any patterns match `str`
255
252
  * @api public
256
- */ $304f14c7e435813f$var$picomatch.isMatch = (str, patterns, options)=>$304f14c7e435813f$var$picomatch(patterns, options)(str)
257
- ;
253
+ */ $304f14c7e435813f$var$picomatch.isMatch = (str, patterns, options)=>$304f14c7e435813f$var$picomatch(patterns, options)(str);
258
254
  /**
259
255
  * Parse a glob pattern to create the source string for a regular
260
256
  * expression.
@@ -268,8 +264,7 @@ const $304f14c7e435813f$var$isObject = (val)=>val && typeof val === "object" &&
268
264
  * @return {Object} Returns an object with useful properties and output to be used as a regex source string.
269
265
  * @api public
270
266
  */ $304f14c7e435813f$var$picomatch.parse = (pattern, options)=>{
271
- if (Array.isArray(pattern)) return pattern.map((p)=>$304f14c7e435813f$var$picomatch.parse(p, options)
272
- );
267
+ if (Array.isArray(pattern)) return pattern.map((p)=>$304f14c7e435813f$var$picomatch.parse(p, options));
273
268
  return $lKEF0(pattern, {
274
269
  ...options,
275
270
  fastpaths: false
@@ -300,8 +295,7 @@ const $304f14c7e435813f$var$isObject = (val)=>val && typeof val === "object" &&
300
295
  * @param {Object} `options`
301
296
  * @return {Object} Returns an object with
302
297
  * @api public
303
- */ $304f14c7e435813f$var$picomatch.scan = (input, options)=>$2zM8v(input, options)
304
- ;
298
+ */ $304f14c7e435813f$var$picomatch.scan = (input, options)=>$2zM8v(input, options);
305
299
  /**
306
300
  * Compile a regular expression from the `state` object returned by the
307
301
  * [parse()](#parse) method.
@@ -454,10 +448,8 @@ const $1e0430853cfb927a$var$depth = (token)=>{
454
448
  depth: 0,
455
449
  isGlob: false
456
450
  };
457
- const eos = ()=>index >= length
458
- ;
459
- const peek = ()=>str.charCodeAt(index + 1)
460
- ;
451
+ const eos = ()=>index >= length;
452
+ const peek = ()=>str.charCodeAt(index + 1);
461
453
  const advance = ()=>{
462
454
  prev = code;
463
455
  return str.charCodeAt(++index);
@@ -721,16 +713,11 @@ var $436a44408af843d4$require$REGEX_BACKSLASH = $7XmS6.REGEX_BACKSLASH;
721
713
  var $436a44408af843d4$require$REGEX_REMOVE_BACKSLASH = $7XmS6.REGEX_REMOVE_BACKSLASH;
722
714
  var $436a44408af843d4$require$REGEX_SPECIAL_CHARS = $7XmS6.REGEX_SPECIAL_CHARS;
723
715
  var $436a44408af843d4$require$REGEX_SPECIAL_CHARS_GLOBAL = $7XmS6.REGEX_SPECIAL_CHARS_GLOBAL;
724
- $436a44408af843d4$export$a6cdc56e425d0d0a = (val)=>val !== null && typeof val === "object" && !Array.isArray(val)
725
- ;
726
- $436a44408af843d4$export$6540a013a39bb50d = (str)=>$436a44408af843d4$require$REGEX_SPECIAL_CHARS.test(str)
727
- ;
728
- $436a44408af843d4$export$a92319f7ab133839 = (str)=>str.length === 1 && $436a44408af843d4$export$6540a013a39bb50d(str)
729
- ;
730
- $436a44408af843d4$export$104ed90cc1a13451 = (str)=>str.replace($436a44408af843d4$require$REGEX_SPECIAL_CHARS_GLOBAL, "\\$1")
731
- ;
732
- $436a44408af843d4$export$e610e037975797ee = (str)=>str.replace($436a44408af843d4$require$REGEX_BACKSLASH, "/")
733
- ;
716
+ $436a44408af843d4$export$a6cdc56e425d0d0a = (val)=>val !== null && typeof val === "object" && !Array.isArray(val);
717
+ $436a44408af843d4$export$6540a013a39bb50d = (str)=>$436a44408af843d4$require$REGEX_SPECIAL_CHARS.test(str);
718
+ $436a44408af843d4$export$a92319f7ab133839 = (str)=>str.length === 1 && $436a44408af843d4$export$6540a013a39bb50d(str);
719
+ $436a44408af843d4$export$104ed90cc1a13451 = (str)=>str.replace($436a44408af843d4$require$REGEX_SPECIAL_CHARS_GLOBAL, "\\$1");
720
+ $436a44408af843d4$export$e610e037975797ee = (str)=>str.replace($436a44408af843d4$require$REGEX_BACKSLASH, "/");
734
721
  $436a44408af843d4$export$f403de0a7ba7a743 = (str)=>{
735
722
  return str.replace($436a44408af843d4$require$REGEX_REMOVE_BACKSLASH, (match)=>{
736
723
  return match === "\\" ? "" : match;
@@ -964,8 +951,7 @@ var $5MQDC = parcelRequire("5MQDC");
964
951
  try {
965
952
  /* eslint-disable-next-line no-new */ new RegExp(value);
966
953
  } catch (ex) {
967
- return args.map((v)=>$5MQDC.escapeRegex(v)
968
- ).join("..");
954
+ return args.map((v)=>$5MQDC.escapeRegex(v)).join("..");
969
955
  }
970
956
  return value;
971
957
  };
@@ -1037,14 +1023,10 @@ var $5MQDC = parcelRequire("5MQDC");
1037
1023
  let value1;
1038
1024
  /**
1039
1025
  * Tokenizing helpers
1040
- */ const eos = ()=>state.index === len - 1
1041
- ;
1042
- const peek = state.peek = (n = 1)=>input[state.index + n]
1043
- ;
1044
- const advance = state.advance = ()=>input[++state.index] || ""
1045
- ;
1046
- const remaining = ()=>input.slice(state.index + 1)
1047
- ;
1026
+ */ const eos = ()=>state.index === len - 1;
1027
+ const peek = state.peek = (n = 1)=>input[state.index + n];
1028
+ const advance = state.advance = ()=>input[++state.index] || "";
1029
+ const remaining = ()=>input.slice(state.index + 1);
1048
1030
  const consume = (value = "", num = 0)=>{
1049
1031
  state.consumed += value;
1050
1032
  state.index += num;
@@ -3209,12 +3191,10 @@ function $17af713ce388fcb8$var$arrayOneTypeError() {
3209
3191
  return new Error("Array values can't have mixed types");
3210
3192
  }
3211
3193
  function $17af713ce388fcb8$var$getInlineKeys(obj) {
3212
- return Object.keys(obj).filter((key)=>$17af713ce388fcb8$var$isInline(obj[key])
3213
- );
3194
+ return Object.keys(obj).filter((key)=>$17af713ce388fcb8$var$isInline(obj[key]));
3214
3195
  }
3215
3196
  function $17af713ce388fcb8$var$getComplexKeys(obj) {
3216
- return Object.keys(obj).filter((key)=>!$17af713ce388fcb8$var$isInline(obj[key])
3217
- );
3197
+ return Object.keys(obj).filter((key)=>!$17af713ce388fcb8$var$isInline(obj[key]));
3218
3198
  }
3219
3199
  function $17af713ce388fcb8$var$toJSON(obj) {
3220
3200
  let nobj = Array.isArray(obj) ? [] : Object.prototype.hasOwnProperty.call(obj, "__proto__") ? {
@@ -3289,8 +3269,7 @@ function $17af713ce388fcb8$var$numpad(num, str) {
3289
3269
  return str;
3290
3270
  }
3291
3271
  function $17af713ce388fcb8$var$escapeString(str) {
3292
- return str.replace(/\\/g, "\\\\").replace(/[\b]/g, "\\b").replace(/\t/g, "\\t").replace(/\n/g, "\\n").replace(/\f/g, "\\f").replace(/\r/g, "\\r")/* eslint-disable no-control-regex */ .replace(/([\u0000-\u001f\u007f])/, (c)=>"\\u" + $17af713ce388fcb8$var$numpad(4, c.codePointAt(0).toString(16))
3293
- );
3272
+ return str.replace(/\\/g, "\\\\").replace(/[\b]/g, "\\b").replace(/\t/g, "\\t").replace(/\n/g, "\\n").replace(/\f/g, "\\f").replace(/\r/g, "\\r")/* eslint-disable no-control-regex */ .replace(/([\u0000-\u001f\u007f])/, (c)=>"\\u" + $17af713ce388fcb8$var$numpad(4, c.codePointAt(0).toString(16)));
3294
3273
  /* eslint-enable no-control-regex */ }
3295
3274
  function $17af713ce388fcb8$var$stringifyMultilineString(str1) {
3296
3275
  let escaped = str1.split(/\n/).map((str)=>{
@@ -3325,8 +3304,7 @@ function $17af713ce388fcb8$var$stringifyInline(value, type) {
3325
3304
  case "datetime":
3326
3305
  return $17af713ce388fcb8$var$stringifyDatetime(value);
3327
3306
  case "array":
3328
- return $17af713ce388fcb8$var$stringifyInlineArray(value.filter((_)=>$17af713ce388fcb8$var$tomlType(_) !== "null" && $17af713ce388fcb8$var$tomlType(_) !== "undefined" && $17af713ce388fcb8$var$tomlType(_) !== "nan"
3329
- ));
3307
+ return $17af713ce388fcb8$var$stringifyInlineArray(value.filter((_)=>$17af713ce388fcb8$var$tomlType(_) !== "null" && $17af713ce388fcb8$var$tomlType(_) !== "undefined" && $17af713ce388fcb8$var$tomlType(_) !== "nan"));
3330
3308
  case "table":
3331
3309
  return $17af713ce388fcb8$var$stringifyInlineTable(value);
3332
3310
  /* istanbul ignore next */ default:
@@ -3357,11 +3335,9 @@ function $17af713ce388fcb8$var$isNumber(type) {
3357
3335
  }
3358
3336
  function $17af713ce388fcb8$var$arrayType(values) {
3359
3337
  var contentType = $17af713ce388fcb8$var$tomlType(values[0]);
3360
- if (values.every((_)=>$17af713ce388fcb8$var$tomlType(_) === contentType
3361
- )) return contentType;
3338
+ if (values.every((_)=>$17af713ce388fcb8$var$tomlType(_) === contentType)) return contentType;
3362
3339
  // mixed integer/float, emit as floats
3363
- if (values.every((_)=>$17af713ce388fcb8$var$isNumber($17af713ce388fcb8$var$tomlType(_))
3364
- )) return "float";
3340
+ if (values.every((_)=>$17af713ce388fcb8$var$isNumber($17af713ce388fcb8$var$tomlType(_)))) return "float";
3365
3341
  return "mixed";
3366
3342
  }
3367
3343
  function $17af713ce388fcb8$var$validateArray(values) {
@@ -3373,8 +3349,7 @@ function $17af713ce388fcb8$var$stringifyInlineArray(values) {
3373
3349
  values = $17af713ce388fcb8$var$toJSON(values);
3374
3350
  const type = $17af713ce388fcb8$var$validateArray(values);
3375
3351
  var result = "[";
3376
- var stringified = values.map((_)=>$17af713ce388fcb8$var$stringifyInline(_, type)
3377
- );
3352
+ var stringified = values.map((_)=>$17af713ce388fcb8$var$stringifyInline(_, type));
3378
3353
  if (stringified.join(", ").length > 60 || /\n/.test(stringified)) result += "\n " + stringified.join(",\n ") + "\n";
3379
3354
  else result += " " + stringified.join(", ") + (stringified.length > 0 ? " " : "");
3380
3355
  return result + "]";
@@ -3527,8 +3502,7 @@ async function $15d4bc8b6fca8c7e$var$getSourcemapSizes(filePath, fs, projectRoot
3527
3502
  sourceMap.addVLQMap(rawMap);
3528
3503
  let parsedMapData = sourceMap.getMap();
3529
3504
  if (parsedMapData.mappings.length > 2) {
3530
- let sources = parsedMapData.sources.map((s)=>(0, ($parcel$interopDefault($8C1kk$path))).normalize((0, ($parcel$interopDefault($8C1kk$path))).join(projectRoot, s))
3531
- );
3505
+ let sources = parsedMapData.sources.map((s)=>(0, ($parcel$interopDefault($8C1kk$path))).normalize((0, ($parcel$interopDefault($8C1kk$path))).join(projectRoot, s)));
3532
3506
  let currLine = 1;
3533
3507
  let currColumn = 0;
3534
3508
  let currMappingIndex = 0;
@@ -3590,18 +3564,13 @@ async function $15d4bc8b6fca8c7e$var$createBundleStats(bundle, fs, projectRoot)
3590
3564
  filePath: (0, (/*@__PURE__*/$parcel$interopDefault($812806c6461f2963$exports)))(bundle.filePath),
3591
3565
  size: bundle.stats.size,
3592
3566
  time: bundle.stats.time,
3593
- assets: assetsReport.sort((a, b)=>b.size - a.size
3594
- )
3567
+ assets: assetsReport.sort((a, b)=>b.size - a.size)
3595
3568
  };
3596
3569
  }
3597
3570
  async function $15d4bc8b6fca8c7e$export$2e2bcd8739ae039(bundles, fs, projectRoot) {
3598
- bundles.sort((a, b)=>b.stats.size - a.stats.size
3599
- ).filter((b)=>!!b.filePath
3600
- );
3571
+ bundles.sort((a, b)=>b.stats.size - a.stats.size).filter((b)=>!!b.filePath);
3601
3572
  return {
3602
- bundles: (await Promise.all(bundles.map((b)=>$15d4bc8b6fca8c7e$var$createBundleStats(b, fs, projectRoot)
3603
- ))).filter((e)=>!!e
3604
- )
3573
+ bundles: (await Promise.all(bundles.map((b)=>$15d4bc8b6fca8c7e$var$createBundleStats(b, fs, projectRoot)))).filter((e)=>!!e)
3605
3574
  };
3606
3575
  }
3607
3576
 
@@ -28519,8 +28488,7 @@ Object.defineProperty($23d0e316ca6ff843$exports, "__esModule", {
28519
28488
  value: true
28520
28489
  });
28521
28490
  function $23d0e316ca6ff843$var$flatten(items) {
28522
- return items.reduce((collection, item)=>[].concat(collection, item)
28523
- , []);
28491
+ return items.reduce((collection, item)=>[].concat(collection, item), []);
28524
28492
  }
28525
28493
  $23d0e316ca6ff843$exports.flatten = $23d0e316ca6ff843$var$flatten;
28526
28494
 
@@ -28665,9 +28633,7 @@ $d0a07df29ef1b0fa$export$a287f47fed4544b8 = (num)=>{
28665
28633
  if (typeof num === "string" && num.trim() !== "") return Number.isInteger(Number(num));
28666
28634
  return false;
28667
28635
  };
28668
- $d0a07df29ef1b0fa$export$71aa6c912b956294 = (node1, type)=>node1.nodes.find((node)=>node.type === type
28669
- )
28670
- ;
28636
+ $d0a07df29ef1b0fa$export$71aa6c912b956294 = (node1, type)=>node1.nodes.find((node)=>node.type === type);
28671
28637
  $d0a07df29ef1b0fa$export$fbadac39f36b1e16 = (min, max, step = 1, limit)=>{
28672
28638
  if (limit === false) return false;
28673
28639
  if (!$d0a07df29ef1b0fa$export$a287f47fed4544b8(min) || !$d0a07df29ef1b0fa$export$a287f47fed4544b8(max)) return false;
@@ -28712,8 +28678,7 @@ $d0a07df29ef1b0fa$export$533b26079ad0b4b = (nodes)=>nodes.reduce((acc, node)=>{
28712
28678
  if (node.type === "text") acc.push(node.value);
28713
28679
  if (node.type === "range") node.type = "text";
28714
28680
  return acc;
28715
- }, [])
28716
- ;
28681
+ }, []);
28717
28682
  $d0a07df29ef1b0fa$export$bffa455ba8c619a6 = (...args)=>{
28718
28683
  const result = [];
28719
28684
  const flat = (arr)=>{
@@ -28936,8 +28901,7 @@ function $07628d57aabb0c0b$var$compare(a, b) {
28936
28901
  return a > b ? 1 : b > a ? -1 : 0;
28937
28902
  }
28938
28903
  function $07628d57aabb0c0b$var$contains(arr, key, val) {
28939
- return arr.some((ele)=>ele[key] === val
28940
- );
28904
+ return arr.some((ele)=>ele[key] === val);
28941
28905
  }
28942
28906
  function $07628d57aabb0c0b$var$countNines(min, len) {
28943
28907
  return Number(String(min).slice(0, -len) + "9".repeat(len));
@@ -28974,24 +28938,20 @@ function $07628d57aabb0c0b$var$padZeros(value, tok, options) {
28974
28938
  /**
28975
28939
  * Cache
28976
28940
  */ $07628d57aabb0c0b$var$toRegexRange.cache = {};
28977
- $07628d57aabb0c0b$var$toRegexRange.clearCache = ()=>$07628d57aabb0c0b$var$toRegexRange.cache = {}
28978
- ;
28941
+ $07628d57aabb0c0b$var$toRegexRange.clearCache = ()=>$07628d57aabb0c0b$var$toRegexRange.cache = {};
28979
28942
  /**
28980
28943
  * Expose `toRegexRange`
28981
28944
  */ $07628d57aabb0c0b$exports = $07628d57aabb0c0b$var$toRegexRange;
28982
28945
 
28983
28946
 
28984
- const $834b1889a72cf074$var$isObject = (val)=>val !== null && typeof val === "object" && !Array.isArray(val)
28985
- ;
28947
+ const $834b1889a72cf074$var$isObject = (val)=>val !== null && typeof val === "object" && !Array.isArray(val);
28986
28948
  const $834b1889a72cf074$var$transform = (toNumber)=>{
28987
- return (value)=>toNumber === true ? Number(value) : String(value)
28988
- ;
28949
+ return (value)=>toNumber === true ? Number(value) : String(value);
28989
28950
  };
28990
28951
  const $834b1889a72cf074$var$isValidValue = (value)=>{
28991
28952
  return typeof value === "number" || typeof value === "string" && value !== "";
28992
28953
  };
28993
- const $834b1889a72cf074$var$isNumber = (num)=>Number.isInteger(+num)
28994
- ;
28954
+ const $834b1889a72cf074$var$isNumber = (num)=>Number.isInteger(+num);
28995
28955
  const $834b1889a72cf074$var$zeros = (input)=>{
28996
28956
  let value = `${input}`;
28997
28957
  let index = -1;
@@ -29023,10 +28983,8 @@ const $834b1889a72cf074$var$toMaxLen = (input, maxLength)=>{
29023
28983
  return negative ? "-" + input : input;
29024
28984
  };
29025
28985
  const $834b1889a72cf074$var$toSequence = (parts, options)=>{
29026
- parts.negatives.sort((a, b)=>a < b ? -1 : a > b ? 1 : 0
29027
- );
29028
- parts.positives.sort((a, b)=>a < b ? -1 : a > b ? 1 : 0
29029
- );
28986
+ parts.negatives.sort((a, b)=>a < b ? -1 : a > b ? 1 : 0);
28987
+ parts.positives.sort((a, b)=>a < b ? -1 : a > b ? 1 : 0);
29030
28988
  let prefix = options.capture ? "" : "?:";
29031
28989
  let positives = "";
29032
28990
  let negatives = "";
@@ -29097,8 +29055,7 @@ const $834b1889a72cf074$var$fillNumbers = (start, end, step = 1, options = {})=>
29097
29055
  negatives: [],
29098
29056
  positives: []
29099
29057
  };
29100
- let push = (num)=>parts[num < 0 ? "negatives" : "positives"].push(Math.abs(num))
29101
- ;
29058
+ let push = (num)=>parts[num < 0 ? "negatives" : "positives"].push(Math.abs(num));
29102
29059
  let range = [];
29103
29060
  let index = 0;
29104
29061
  while(descending ? a >= b : a <= b){
@@ -29115,8 +29072,7 @@ const $834b1889a72cf074$var$fillNumbers = (start, end, step = 1, options = {})=>
29115
29072
  };
29116
29073
  const $834b1889a72cf074$var$fillLetters = (start, end, step = 1, options = {})=>{
29117
29074
  if (!$834b1889a72cf074$var$isNumber(start) && start.length > 1 || !$834b1889a72cf074$var$isNumber(end) && end.length > 1) return $834b1889a72cf074$var$invalidRange(start, end, options);
29118
- let format = options.transform || ((val)=>String.fromCharCode(val)
29119
- );
29075
+ let format = options.transform || ((val)=>String.fromCharCode(val));
29120
29076
  let a = `${start}`.charCodeAt(0);
29121
29077
  let b = `${end}`.charCodeAt(0);
29122
29078
  let descending = a > b;
@@ -29201,8 +29157,7 @@ const $9d3fbdd0cb3873b2$var$append = (queue = "", stash = "", enclose = false)=>
29201
29157
  queue = [].concat(queue);
29202
29158
  stash = [].concat(stash);
29203
29159
  if (!stash.length) return queue;
29204
- if (!queue.length) return enclose ? $d0a07df29ef1b0fa$export$bffa455ba8c619a6(stash).map((ele)=>`{${ele}}`
29205
- ) : stash;
29160
+ if (!queue.length) return enclose ? $d0a07df29ef1b0fa$export$bffa455ba8c619a6(stash).map((ele)=>`{${ele}}`) : stash;
29206
29161
  for (let item of queue){
29207
29162
  if (Array.isArray(item)) for (let value of item)result.push($9d3fbdd0cb3873b2$var$append(value, stash, enclose));
29208
29163
  else for (let ele of stash){
@@ -29369,8 +29324,7 @@ var $88c0a7901dd4a8c2$require$CHAR_ZERO_WIDTH_NOBREAK_SPACE = $f1bb1ac16e435177$
29369
29324
  let memo = {};
29370
29325
  /**
29371
29326
  * Helpers
29372
- */ const advance = ()=>input[index++]
29373
- ;
29327
+ */ const advance = ()=>input[index++];
29374
29328
  const push = (node)=>{
29375
29329
  if (node.type === "text" && prev.type === "dot") prev.type = "text";
29376
29330
  if (prev && prev.type === "text" && node.type === "text") {
@@ -29665,8 +29619,7 @@ $88c0a7901dd4a8c2$exports = $88c0a7901dd4a8c2$var$parse;
29665
29619
  * @param {Object} options
29666
29620
  * @return {Object} Returns an AST
29667
29621
  * @api public
29668
- */ $fec07f13db1e462a$var$braces.parse = (input, options = {})=>$88c0a7901dd4a8c2$exports(input, options)
29669
- ;
29622
+ */ $fec07f13db1e462a$var$braces.parse = (input, options = {})=>$88c0a7901dd4a8c2$exports(input, options);
29670
29623
  /**
29671
29624
  * Creates a braces string from an AST, or an AST node.
29672
29625
  *
@@ -29759,8 +29712,7 @@ $2af609aa204f1181$exports = (parcelRequire("4997P"));
29759
29712
 
29760
29713
 
29761
29714
  var $5MQDC = parcelRequire("5MQDC");
29762
- const $fec3b4fc54d3756a$var$isEmptyString = (val)=>val === "" || val === "./"
29763
- ;
29715
+ const $fec3b4fc54d3756a$var$isEmptyString = (val)=>val === "" || val === "./";
29764
29716
  /**
29765
29717
  * Returns an array of strings that match one or more glob patterns.
29766
29718
  *
@@ -29811,12 +29763,10 @@ const $fec3b4fc54d3756a$var$isEmptyString = (val)=>val === "" || val === "./"
29811
29763
  ] : [
29812
29764
  ...keep
29813
29765
  ];
29814
- let matches = result.filter((item)=>!omit.has(item)
29815
- );
29766
+ let matches = result.filter((item)=>!omit.has(item));
29816
29767
  if (options && matches.length === 0) {
29817
29768
  if (options.failglob === true) throw new Error(`No matches found for "${patterns.join(", ")}"`);
29818
- if (options.nonull === true || options.nullglob === true) return options.unescape ? patterns.map((p)=>p.replace(/\\/g, "")
29819
- ) : patterns;
29769
+ if (options.nonull === true || options.nullglob === true) return options.unescape ? patterns.map((p)=>p.replace(/\\/g, "")) : patterns;
29820
29770
  }
29821
29771
  return matches;
29822
29772
  };
@@ -29840,8 +29790,7 @@ const $fec3b4fc54d3756a$var$isEmptyString = (val)=>val === "" || val === "./"
29840
29790
  * @param {Object} `options`
29841
29791
  * @return {Function} Returns a matcher function.
29842
29792
  * @api public
29843
- */ $fec3b4fc54d3756a$var$micromatch.matcher = (pattern, options)=>$2af609aa204f1181$exports(pattern, options)
29844
- ;
29793
+ */ $fec3b4fc54d3756a$var$micromatch.matcher = (pattern, options)=>$2af609aa204f1181$exports(pattern, options);
29845
29794
  /**
29846
29795
  * Returns true if **any** of the given glob `patterns` match the specified `string`.
29847
29796
  *
@@ -29857,8 +29806,7 @@ const $fec3b4fc54d3756a$var$isEmptyString = (val)=>val === "" || val === "./"
29857
29806
  * @param {Object} `[options]` See available [options](#options).
29858
29807
  * @return {Boolean} Returns true if any patterns match `str`
29859
29808
  * @api public
29860
- */ $fec3b4fc54d3756a$var$micromatch.isMatch = (str, patterns, options)=>$2af609aa204f1181$exports(patterns, options)(str)
29861
- ;
29809
+ */ $fec3b4fc54d3756a$var$micromatch.isMatch = (str, patterns, options)=>$2af609aa204f1181$exports(patterns, options)(str);
29862
29810
  /**
29863
29811
  * Backwards compatibility
29864
29812
  */ $fec3b4fc54d3756a$var$micromatch.any = $fec3b4fc54d3756a$var$micromatch.isMatch;
@@ -29914,8 +29862,7 @@ const $fec3b4fc54d3756a$var$isEmptyString = (val)=>val === "" || val === "./"
29914
29862
  * @api public
29915
29863
  */ $fec3b4fc54d3756a$var$micromatch.contains = (str, pattern, options)=>{
29916
29864
  if (typeof str !== "string") throw new TypeError(`Expected a string: "${$8C1kk$util.inspect(str)}"`);
29917
- if (Array.isArray(pattern)) return pattern.some((p)=>$fec3b4fc54d3756a$var$micromatch.contains(str, p, options)
29918
- );
29865
+ if (Array.isArray(pattern)) return pattern.some((p)=>$fec3b4fc54d3756a$var$micromatch.contains(str, p, options));
29919
29866
  if (typeof pattern === "string") {
29920
29867
  if ($fec3b4fc54d3756a$var$isEmptyString(str) || $fec3b4fc54d3756a$var$isEmptyString(pattern)) return false;
29921
29868
  if (str.includes(pattern) || str.startsWith("./") && str.slice(2).includes(pattern)) return true;
@@ -29971,8 +29918,7 @@ const $fec3b4fc54d3756a$var$isEmptyString = (val)=>val === "" || val === "./"
29971
29918
  let items = [].concat(list);
29972
29919
  for (let pattern of [].concat(patterns)){
29973
29920
  let isMatch = $2af609aa204f1181$exports(String(pattern), options);
29974
- if (items.some((item)=>isMatch(item)
29975
- )) return true;
29921
+ if (items.some((item)=>isMatch(item))) return true;
29976
29922
  }
29977
29923
  return false;
29978
29924
  };
@@ -30002,8 +29948,7 @@ const $fec3b4fc54d3756a$var$isEmptyString = (val)=>val === "" || val === "./"
30002
29948
  let items = [].concat(list);
30003
29949
  for (let pattern of [].concat(patterns)){
30004
29950
  let isMatch = $2af609aa204f1181$exports(String(pattern), options);
30005
- if (!items.every((item)=>isMatch(item)
30006
- )) return false;
29951
+ if (!items.every((item)=>isMatch(item))) return false;
30007
29952
  }
30008
29953
  return true;
30009
29954
  };
@@ -30034,8 +29979,7 @@ const $fec3b4fc54d3756a$var$isEmptyString = (val)=>val === "" || val === "./"
30034
29979
  * @api public
30035
29980
  */ $fec3b4fc54d3756a$var$micromatch.all = (str, patterns, options)=>{
30036
29981
  if (typeof str !== "string") throw new TypeError(`Expected a string: "${$8C1kk$util.inspect(str)}"`);
30037
- return [].concat(patterns).every((p)=>$2af609aa204f1181$exports(p, options)(str)
30038
- );
29982
+ return [].concat(patterns).every((p)=>$2af609aa204f1181$exports(p, options)(str));
30039
29983
  };
30040
29984
  /**
30041
29985
  * Returns an array of matches captured by `pattern` in `string, or `null` if the pattern did not match.
@@ -30061,8 +30005,7 @@ const $fec3b4fc54d3756a$var$isEmptyString = (val)=>val === "" || val === "./"
30061
30005
  capture: true
30062
30006
  });
30063
30007
  let match = regex.exec(posix ? $5MQDC.toPosixSlashes(input) : input);
30064
- if (match) return match.slice(1).map((v)=>v === void 0 ? "" : v
30065
- );
30008
+ if (match) return match.slice(1).map((v)=>v === void 0 ? "" : v);
30066
30009
  };
30067
30010
  /**
30068
30011
  * Create a regular expression from the given glob `pattern`.
@@ -30078,8 +30021,7 @@ const $fec3b4fc54d3756a$var$isEmptyString = (val)=>val === "" || val === "./"
30078
30021
  * @param {Object} `options`
30079
30022
  * @return {RegExp} Returns a regex created from the given pattern.
30080
30023
  * @api public
30081
- */ $fec3b4fc54d3756a$var$micromatch.makeRe = (...args)=>$2af609aa204f1181$exports.makeRe(...args)
30082
- ;
30024
+ */ $fec3b4fc54d3756a$var$micromatch.makeRe = (...args)=>$2af609aa204f1181$exports.makeRe(...args);
30083
30025
  /**
30084
30026
  * Scan a glob pattern to separate the pattern into segments. Used
30085
30027
  * by the [split](#split) method.
@@ -30092,8 +30034,7 @@ const $fec3b4fc54d3756a$var$isEmptyString = (val)=>val === "" || val === "./"
30092
30034
  * @param {Object} `options`
30093
30035
  * @return {Object} Returns an object with
30094
30036
  * @api public
30095
- */ $fec3b4fc54d3756a$var$micromatch.scan = (...args)=>$2af609aa204f1181$exports.scan(...args)
30096
- ;
30037
+ */ $fec3b4fc54d3756a$var$micromatch.scan = (...args)=>$2af609aa204f1181$exports.scan(...args);
30097
30038
  /**
30098
30039
  * Parse a glob pattern to create the source string for a regular
30099
30040
  * expression.
@@ -30236,14 +30177,12 @@ function $e1fc146aea519a53$var$makeRe(pattern, options) {
30236
30177
  }
30237
30178
  $e1fc146aea519a53$exports.makeRe = $e1fc146aea519a53$var$makeRe;
30238
30179
  function $e1fc146aea519a53$var$convertPatternsToRe(patterns, options) {
30239
- return patterns.map((pattern)=>$e1fc146aea519a53$var$makeRe(pattern, options)
30240
- );
30180
+ return patterns.map((pattern)=>$e1fc146aea519a53$var$makeRe(pattern, options));
30241
30181
  }
30242
30182
  $e1fc146aea519a53$exports.convertPatternsToRe = $e1fc146aea519a53$var$convertPatternsToRe;
30243
30183
  function $e1fc146aea519a53$var$matchAny(entry, patternsRe) {
30244
30184
  const filepath = entry.replace(/^\.[\\/]/, "");
30245
- return patternsRe.some((patternRe)=>patternRe.test(filepath)
30246
- );
30185
+ return patternsRe.some((patternRe)=>patternRe.test(filepath));
30247
30186
  }
30248
30187
  $e1fc146aea519a53$exports.matchAny = $e1fc146aea519a53$var$matchAny;
30249
30188
 
@@ -30341,19 +30280,15 @@ function $62a8baa648172408$var$pauseStreams(streams, options) {
30341
30280
  function $57725c4b56279319$var$merge(streams) {
30342
30281
  const mergedStream = $62a8baa648172408$exports(streams);
30343
30282
  streams.forEach((stream)=>{
30344
- stream.once("error", (error)=>mergedStream.emit("error", error)
30345
- );
30283
+ stream.once("error", (error)=>mergedStream.emit("error", error));
30346
30284
  });
30347
- mergedStream.once("close", ()=>$57725c4b56279319$var$propagateCloseEventToSources(streams)
30348
- );
30349
- mergedStream.once("end", ()=>$57725c4b56279319$var$propagateCloseEventToSources(streams)
30350
- );
30285
+ mergedStream.once("close", ()=>$57725c4b56279319$var$propagateCloseEventToSources(streams));
30286
+ mergedStream.once("end", ()=>$57725c4b56279319$var$propagateCloseEventToSources(streams));
30351
30287
  return mergedStream;
30352
30288
  }
30353
30289
  $57725c4b56279319$exports.merge = $57725c4b56279319$var$merge;
30354
30290
  function $57725c4b56279319$var$propagateCloseEventToSources(streams) {
30355
- streams.forEach((stream)=>stream.emit("close")
30356
- );
30291
+ streams.forEach((stream)=>stream.emit("close"));
30357
30292
  }
30358
30293
 
30359
30294
 
@@ -30363,10 +30298,8 @@ $1b5b082adfcf5f99$exports.stream = $57725c4b56279319$exports;
30363
30298
  function $d436392a45e5b9b4$var$generate(patterns, settings) {
30364
30299
  const positivePatterns = $d436392a45e5b9b4$var$getPositivePatterns(patterns);
30365
30300
  const negativePatterns = $d436392a45e5b9b4$var$getNegativePatternsAsPositive(patterns, settings.ignore);
30366
- const staticPatterns = positivePatterns.filter((pattern)=>$1b5b082adfcf5f99$exports.pattern.isStaticPattern(pattern, settings)
30367
- );
30368
- const dynamicPatterns = positivePatterns.filter((pattern)=>$1b5b082adfcf5f99$exports.pattern.isDynamicPattern(pattern, settings)
30369
- );
30301
+ const staticPatterns = positivePatterns.filter((pattern)=>$1b5b082adfcf5f99$exports.pattern.isStaticPattern(pattern, settings));
30302
+ const dynamicPatterns = positivePatterns.filter((pattern)=>$1b5b082adfcf5f99$exports.pattern.isDynamicPattern(pattern, settings));
30370
30303
  const staticTasks = $d436392a45e5b9b4$var$convertPatternsToTasks(staticPatterns, negativePatterns, /* dynamic */ false);
30371
30304
  const dynamicTasks = $d436392a45e5b9b4$var$convertPatternsToTasks(dynamicPatterns, negativePatterns, /* dynamic */ true);
30372
30305
  return staticTasks.concat(dynamicTasks);
@@ -30455,8 +30388,7 @@ function $4fbfd3060e7caace$var$read(path, settings, callback) {
30455
30388
  if (settings.throwErrorOnBrokenSymbolicLink) return $4fbfd3060e7caace$var$callFailureCallback(callback, statError);
30456
30389
  return $4fbfd3060e7caace$var$callSuccessCallback(callback, lstat);
30457
30390
  }
30458
- if (settings.markSymbolicLink) stat.isSymbolicLink = ()=>true
30459
- ;
30391
+ if (settings.markSymbolicLink) stat.isSymbolicLink = ()=>true;
30460
30392
  $4fbfd3060e7caace$var$callSuccessCallback(callback, stat);
30461
30393
  });
30462
30394
  });
@@ -30480,8 +30412,7 @@ function $dc5606dc29aa77a7$var$read(path, settings) {
30480
30412
  if (!lstat.isSymbolicLink() || !settings.followSymbolicLink) return lstat;
30481
30413
  try {
30482
30414
  const stat = settings.fs.statSync(path);
30483
- if (settings.markSymbolicLink) stat.isSymbolicLink = ()=>true
30484
- ;
30415
+ if (settings.markSymbolicLink) stat.isSymbolicLink = ()=>true;
30485
30416
  return stat;
30486
30417
  } catch (error) {
30487
30418
  if (!settings.throwErrorOnBrokenSymbolicLink) return lstat;
@@ -30679,11 +30610,9 @@ function $214d283d2b9ddc47$var$readdirWithFileTypes(directory, settings, callbac
30679
30610
  dirent: dirent,
30680
30611
  name: dirent.name,
30681
30612
  path: `${directory}${settings.pathSegmentSeparator}${dirent.name}`
30682
- })
30683
- );
30613
+ }));
30684
30614
  if (!settings.followSymbolicLinks) return $214d283d2b9ddc47$var$callSuccessCallback(callback, entries);
30685
- const tasks = entries.map((entry)=>$214d283d2b9ddc47$var$makeRplTaskEntry(entry, settings)
30686
- );
30615
+ const tasks = entries.map((entry)=>$214d283d2b9ddc47$var$makeRplTaskEntry(entry, settings));
30687
30616
  $464bce01c537cfdb$exports(tasks, (rplError, rplEntries)=>{
30688
30617
  if (rplError !== null) return $214d283d2b9ddc47$var$callFailureCallback(callback, rplError);
30689
30618
  $214d283d2b9ddc47$var$callSuccessCallback(callback, rplEntries);
@@ -30707,11 +30636,9 @@ function $214d283d2b9ddc47$var$makeRplTaskEntry(entry, settings) {
30707
30636
  function $214d283d2b9ddc47$var$readdir(directory, settings, callback) {
30708
30637
  settings.fs.readdir(directory, (readdirError, names)=>{
30709
30638
  if (readdirError !== null) return $214d283d2b9ddc47$var$callFailureCallback(callback, readdirError);
30710
- const filepaths = names.map((name)=>`${directory}${settings.pathSegmentSeparator}${name}`
30711
- );
30639
+ const filepaths = names.map((name)=>`${directory}${settings.pathSegmentSeparator}${name}`);
30712
30640
  const tasks = filepaths.map((filepath)=>{
30713
- return (done)=>$6c0caade5edaab5b$exports.stat(filepath, settings.fsStatSettings, done)
30714
- ;
30641
+ return (done)=>$6c0caade5edaab5b$exports.stat(filepath, settings.fsStatSettings, done);
30715
30642
  });
30716
30643
  $464bce01c537cfdb$exports(tasks, (rplError, results)=>{
30717
30644
  if (rplError !== null) return $214d283d2b9ddc47$var$callFailureCallback(callback, rplError);
@@ -31399,8 +31326,7 @@ class $f93330d45af3b4cf$var$ReaderStream extends $595889d33eb55b58$exports.defau
31399
31326
  return stream;
31400
31327
  }
31401
31328
  _getEntry(filepath, pattern, options) {
31402
- return this._getStat(filepath).then((stats)=>this._makeEntry(stats, pattern)
31403
- ).catch((error)=>{
31329
+ return this._getStat(filepath).then((stats)=>this._makeEntry(stats, pattern)).catch((error)=>{
31404
31330
  if (options.errorFilter(error)) return null;
31405
31331
  throw error;
31406
31332
  });
@@ -31436,8 +31362,7 @@ class $158f1e2e83bb81fa$var$DeepFilter {
31436
31362
  getFilter(basePath, positive, negative) {
31437
31363
  const maxPatternDepth = this._getMaxPatternDepth(positive);
31438
31364
  const negativeRe = this._getNegativePatternsRe(negative);
31439
- return (entry)=>this._filter(basePath, entry, negativeRe, maxPatternDepth)
31440
- ;
31365
+ return (entry)=>this._filter(basePath, entry, negativeRe, maxPatternDepth);
31441
31366
  }
31442
31367
  _getMaxPatternDepth(patterns) {
31443
31368
  const globstar = patterns.some($1b5b082adfcf5f99$exports.pattern.hasGlobStar);
@@ -31490,8 +31415,7 @@ class $f26cad5ed17500b0$var$EntryFilter {
31490
31415
  getFilter(positive, negative) {
31491
31416
  const positiveRe = $1b5b082adfcf5f99$exports.pattern.convertPatternsToRe(positive, this._micromatchOptions);
31492
31417
  const negativeRe = $1b5b082adfcf5f99$exports.pattern.convertPatternsToRe(negative, this._micromatchOptions);
31493
- return (entry)=>this._filter(entry, positiveRe, negativeRe)
31494
- ;
31418
+ return (entry)=>this._filter(entry, positiveRe, negativeRe);
31495
31419
  }
31496
31420
  _filter(entry, positiveRe, negativeRe) {
31497
31421
  if (this._settings.unique) {
@@ -31538,8 +31462,7 @@ class $4f982576078a7524$var$ErrorFilter {
31538
31462
  this._settings = _settings;
31539
31463
  }
31540
31464
  getFilter() {
31541
- return (error)=>this._isNonFatalError(error)
31542
- ;
31465
+ return (error)=>this._isNonFatalError(error);
31543
31466
  }
31544
31467
  _isNonFatalError(error) {
31545
31468
  return $1b5b082adfcf5f99$exports.errno.isEnoentCodeError(error) || this._settings.suppressErrors;
@@ -31559,8 +31482,7 @@ class $4583c239a6a31b31$var$EntryTransformer {
31559
31482
  this._settings = _settings;
31560
31483
  }
31561
31484
  getTransformer() {
31562
- return (entry)=>this._transform(entry)
31563
- ;
31485
+ return (entry)=>this._transform(entry);
31564
31486
  }
31565
31487
  _transform(entry) {
31566
31488
  let filepath = entry.path;
@@ -31633,10 +31555,8 @@ class $5e8aeb81d3971f46$var$ProviderAsync extends $b2104eae05a96326$exports.defa
31633
31555
  return new Promise((resolve, reject)=>{
31634
31556
  const stream = this.api(root, task, options);
31635
31557
  stream.once("error", reject);
31636
- stream.on("data", (entry)=>entries.push(options.transform(entry))
31637
- );
31638
- stream.once("end", ()=>resolve(entries)
31639
- );
31558
+ stream.on("data", (entry)=>entries.push(options.transform(entry)));
31559
+ stream.once("end", ()=>resolve(entries));
31640
31560
  });
31641
31561
  }
31642
31562
  api(root, task, options) {
@@ -31668,12 +31588,8 @@ class $434410c8b70ca432$var$ProviderStream extends $b2104eae05a96326$exports.def
31668
31588
  objectMode: true,
31669
31589
  read: ()=>{}
31670
31590
  });
31671
- source.once("error", (error)=>destination.emit("error", error)
31672
- ).on("data", (entry)=>destination.emit("data", options.transform(entry))
31673
- ).once("end", ()=>destination.emit("end")
31674
- );
31675
- destination.once("close", ()=>source.destroy()
31676
- );
31591
+ source.once("error", (error)=>destination.emit("error", error)).on("data", (entry)=>destination.emit("data", options.transform(entry))).once("end", ()=>destination.emit("end"));
31592
+ destination.once("close", ()=>source.destroy());
31677
31593
  return destination;
31678
31594
  }
31679
31595
  api(root, task, options) {
@@ -32078,14 +31994,10 @@ $3124255f7fbe16f0$var$ansiEscapes.cursorMove = (x, y)=>{
32078
31994
  else if (y > 0) ret += $3124255f7fbe16f0$var$ESC + y + "B";
32079
31995
  return ret;
32080
31996
  };
32081
- $3124255f7fbe16f0$var$ansiEscapes.cursorUp = (count = 1)=>$3124255f7fbe16f0$var$ESC + count + "A"
32082
- ;
32083
- $3124255f7fbe16f0$var$ansiEscapes.cursorDown = (count = 1)=>$3124255f7fbe16f0$var$ESC + count + "B"
32084
- ;
32085
- $3124255f7fbe16f0$var$ansiEscapes.cursorForward = (count = 1)=>$3124255f7fbe16f0$var$ESC + count + "C"
32086
- ;
32087
- $3124255f7fbe16f0$var$ansiEscapes.cursorBackward = (count = 1)=>$3124255f7fbe16f0$var$ESC + count + "D"
32088
- ;
31997
+ $3124255f7fbe16f0$var$ansiEscapes.cursorUp = (count = 1)=>$3124255f7fbe16f0$var$ESC + count + "A";
31998
+ $3124255f7fbe16f0$var$ansiEscapes.cursorDown = (count = 1)=>$3124255f7fbe16f0$var$ESC + count + "B";
31999
+ $3124255f7fbe16f0$var$ansiEscapes.cursorForward = (count = 1)=>$3124255f7fbe16f0$var$ESC + count + "C";
32000
+ $3124255f7fbe16f0$var$ansiEscapes.cursorBackward = (count = 1)=>$3124255f7fbe16f0$var$ESC + count + "D";
32089
32001
  $3124255f7fbe16f0$var$ansiEscapes.cursorLeft = $3124255f7fbe16f0$var$ESC + "G";
32090
32002
  $3124255f7fbe16f0$var$ansiEscapes.cursorSavePosition = $3124255f7fbe16f0$var$isTerminalApp ? "\x1b7" : $3124255f7fbe16f0$var$ESC + "s";
32091
32003
  $3124255f7fbe16f0$var$ansiEscapes.cursorRestorePosition = $3124255f7fbe16f0$var$isTerminalApp ? "\x1b8" : $3124255f7fbe16f0$var$ESC + "u";
@@ -32139,8 +32051,7 @@ $3124255f7fbe16f0$var$ansiEscapes.image = (buffer, options = {})=>{
32139
32051
  return ret + ":" + buffer.toString("base64") + $3124255f7fbe16f0$var$BEL;
32140
32052
  };
32141
32053
  $3124255f7fbe16f0$var$ansiEscapes.iTerm = {
32142
- setCwd: (cwd = process.cwd())=>`${$3124255f7fbe16f0$var$OSC}50;CurrentDir=${cwd}${$3124255f7fbe16f0$var$BEL}`
32143
- ,
32054
+ setCwd: (cwd = process.cwd())=>`${$3124255f7fbe16f0$var$OSC}50;CurrentDir=${cwd}${$3124255f7fbe16f0$var$BEL}`,
32144
32055
  annotation: (message, options = {})=>{
32145
32056
  let ret = `${$3124255f7fbe16f0$var$OSC}1337;`;
32146
32057
  const hasX = typeof options.x !== "undefined";
@@ -32219,8 +32130,7 @@ function $66d9750644ce4a3a$var$supportsColor(haveStream, streamIsTTY) {
32219
32130
  "GITLAB_CI",
32220
32131
  "GITHUB_ACTIONS",
32221
32132
  "BUILDKITE"
32222
- ].some((sign)=>sign in $66d9750644ce4a3a$var$env
32223
- ) || $66d9750644ce4a3a$var$env.CI_NAME === "codeship") return 1;
32133
+ ].some((sign)=>sign in $66d9750644ce4a3a$var$env) || $66d9750644ce4a3a$var$env.CI_NAME === "codeship") return 1;
32224
32134
  return min;
32225
32135
  }
32226
32136
  if ("TEAMCITY_VERSION" in $66d9750644ce4a3a$var$env) return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test($66d9750644ce4a3a$var$env.TEAMCITY_VERSION) ? 1 : 0;
@@ -32261,8 +32171,7 @@ function $007fe08032bb1964$var$parseVersion(versionString) {
32261
32171
  patch: parseInt(m[2], 10)
32262
32172
  };
32263
32173
  }
32264
- const versions = (versionString || "").split(".").map((n)=>parseInt(n, 10)
32265
- );
32174
+ const versions = (versionString || "").split(".").map((n)=>parseInt(n, 10));
32266
32175
  return {
32267
32176
  major: versions[0],
32268
32177
  minor: versions[1],
@@ -32312,13 +32221,11 @@ const $77226306a1863103$var$terminalLink = (text, url, { target: target = "stdou
32312
32221
  }
32313
32222
  return $3124255f7fbe16f0$exports.link(text, url);
32314
32223
  };
32315
- $77226306a1863103$exports = (text, url, options = {})=>$77226306a1863103$var$terminalLink(text, url, options)
32316
- ;
32224
+ $77226306a1863103$exports = (text, url, options = {})=>$77226306a1863103$var$terminalLink(text, url, options);
32317
32225
  $77226306a1863103$exports.stderr = (text, url, options = {})=>$77226306a1863103$var$terminalLink(text, url, {
32318
32226
  target: "stderr",
32319
32227
  ...options
32320
- })
32321
- ;
32228
+ });
32322
32229
  $77226306a1863103$exports.isSupported = $007fe08032bb1964$exports.stdout;
32323
32230
  $77226306a1863103$exports.stderr.isSupported = $007fe08032bb1964$exports.stderr;
32324
32231
 
@@ -32407,8 +32314,7 @@ class $b0fd219fea43bcac$export$2e2bcd8739ae039 {
32407
32314
  }, (err)=>{
32408
32315
  reject(err);
32409
32316
  throw err;
32410
- })
32411
- );
32317
+ }));
32412
32318
  if (this._numRunning > 0 && this._numRunning < this._maxConcurrent) this._next();
32413
32319
  });
32414
32320
  }
@@ -32606,8 +32512,7 @@ function $4ca1027d34905147$var$validateSchema(schema, data) {
32606
32512
  ].concat(schemaAncestors), dataNode[i], dataPath + "/" + i);
32607
32513
  if (result) results.push(result);
32608
32514
  }
32609
- if (results.length) return results.reduce((acc, v)=>acc.concat(v)
32610
- , []);
32515
+ if (results.length) return results.reduce((acc, v)=>acc.concat(v), []);
32611
32516
  }
32612
32517
  break;
32613
32518
  case "string":
@@ -32659,8 +32564,7 @@ function $4ca1027d34905147$var$validateSchema(schema, data) {
32659
32564
  if (schemaNode.__forbiddenProperties) {
32660
32565
  // $FlowFixMe type was already checked
32661
32566
  let keys = Object.keys(dataNode);
32662
- invalidProps = schemaNode.__forbiddenProperties.filter((val)=>keys.includes(val)
32663
- );
32567
+ invalidProps = schemaNode.__forbiddenProperties.filter((val)=>keys.includes(val));
32664
32568
  results.push(...invalidProps.map((k)=>({
32665
32569
  type: "forbidden-prop",
32666
32570
  dataPath: dataPath + "/" + (0, $8C1kk$parceldiagnostic.encodeJSONKeyComponent)(k),
@@ -32669,14 +32573,12 @@ function $4ca1027d34905147$var$validateSchema(schema, data) {
32669
32573
  expectedProps: Object.keys(schemaNode.properties),
32670
32574
  actualProps: keys,
32671
32575
  ancestors: schemaAncestors
32672
- })
32673
- ));
32576
+ })));
32674
32577
  }
32675
32578
  if (schemaNode.required) {
32676
32579
  // $FlowFixMe type was already checked
32677
32580
  let keys = Object.keys(dataNode);
32678
- let missingKeys = schemaNode.required.filter((val)=>!keys.includes(val)
32679
- );
32581
+ let missingKeys = schemaNode.required.filter((val)=>!keys.includes(val));
32680
32582
  results.push(...missingKeys.map((k)=>({
32681
32583
  type: "missing-prop",
32682
32584
  dataPath: dataPath,
@@ -32685,8 +32587,7 @@ function $4ca1027d34905147$var$validateSchema(schema, data) {
32685
32587
  expectedProps: schemaNode.required,
32686
32588
  actualProps: keys,
32687
32589
  ancestors: schemaAncestors
32688
- })
32689
- ));
32590
+ })));
32690
32591
  }
32691
32592
  if (schemaNode.properties) {
32692
32593
  let { additionalProperties: additionalProperties = true } = schemaNode; // $FlowFixMe type was already checked
@@ -32703,8 +32604,7 @@ function $4ca1027d34905147$var$validateSchema(schema, data) {
32703
32604
  type: "enum",
32704
32605
  dataType: "key",
32705
32606
  dataPath: dataPath + "/" + (0, $8C1kk$parceldiagnostic.encodeJSONKeyComponent)(k),
32706
- expectedValues: Object.keys(schemaNode.properties).filter((p)=>!(p in dataNode)
32707
- ),
32607
+ expectedValues: Object.keys(schemaNode.properties).filter((p)=>!(p in dataNode)),
32708
32608
  actualValue: k,
32709
32609
  ancestors: schemaAncestors,
32710
32610
  prettyType: schemaNode.__type
@@ -32718,8 +32618,7 @@ function $4ca1027d34905147$var$validateSchema(schema, data) {
32718
32618
  }
32719
32619
  }
32720
32620
  }
32721
- if (results.length) return results.reduce((acc, v)=>acc.concat(v)
32722
- , []);
32621
+ if (results.length) return results.reduce((acc, v)=>acc.concat(v), []);
32723
32622
  break;
32724
32623
  }
32725
32624
  case "boolean":
@@ -32747,8 +32646,7 @@ function $4ca1027d34905147$var$validateSchema(schema, data) {
32747
32646
  }
32748
32647
  if (schemaNode.oneOf ? results.length == schemaNode.oneOf.length : results.length > 0) {
32749
32648
  // return the result with more values / longer key
32750
- results.sort((a, b)=>Array.isArray(a) || Array.isArray(b) ? Array.isArray(a) && !Array.isArray(b) ? -1 : !Array.isArray(a) && Array.isArray(b) ? 1 : Array.isArray(a) && Array.isArray(b) ? b.length - a.length : 0 : b.dataPath.length - a.dataPath.length
32751
- );
32649
+ results.sort((a, b)=>Array.isArray(a) || Array.isArray(b) ? Array.isArray(a) && !Array.isArray(b) ? -1 : !Array.isArray(a) && Array.isArray(b) ? 1 : Array.isArray(a) && Array.isArray(b) ? b.length - a.length : 0 : b.dataPath.length - a.dataPath.length);
32752
32650
  return results[0];
32753
32651
  }
32754
32652
  } else if (schemaNode.not) {
@@ -32779,13 +32677,9 @@ function $4ca1027d34905147$export$2115c2c0a84eef61(expectedValues, actualValue)
32779
32677
  let result = expectedValues.map((exp)=>[
32780
32678
  exp,
32781
32679
  (0, (/*@__PURE__*/$parcel$interopDefault($f48e6c7a66080865$exports))).distance(exp, actualValue)
32782
- ]
32783
- ).filter(([, d])=>d * 2 < actualValue.length
32784
- );
32785
- result.sort(([, a], [, b])=>a - b
32786
- );
32787
- return result.map(([v])=>v
32788
- );
32680
+ ]).filter(([, d])=>d * 2 < actualValue.length);
32681
+ result.sort(([, a], [, b])=>a - b);
32682
+ return result.map(([v])=>v);
32789
32683
  }
32790
32684
  $4ca1027d34905147$var$validateSchema.diagnostic = function(schema, data, origin, message1) {
32791
32685
  if ("source" in data && "data" in data && typeof data.source !== "string" && !data) throw new Error("At least one of data.source and data.data must be defined!");
@@ -32799,17 +32693,13 @@ $4ca1027d34905147$var$validateSchema.diagnostic = function(schema, data, origin,
32799
32693
  let { actualValue: actualValue } = e;
32800
32694
  let expectedValues = e.expectedValues.map(String);
32801
32695
  let likely = actualValue != null ? $4ca1027d34905147$export$2115c2c0a84eef61(expectedValues, String(actualValue)) : [];
32802
- if (likely.length > 0) message = `Did you mean ${likely.map((v)=>JSON.stringify(v)
32803
- ).join(", ")}?`;
32804
- else if (expectedValues.length > 0) message = `Possible values: ${expectedValues.map((v)=>JSON.stringify(v)
32805
- ).join(", ")}`;
32696
+ if (likely.length > 0) message = `Did you mean ${likely.map((v)=>JSON.stringify(v)).join(", ")}?`;
32697
+ else if (expectedValues.length > 0) message = `Possible values: ${expectedValues.map((v)=>JSON.stringify(v)).join(", ")}`;
32806
32698
  else message = "Unexpected value";
32807
32699
  } else if (e.type === "forbidden-prop") {
32808
32700
  let { prop: prop , expectedProps: expectedProps , actualProps: actualProps } = e;
32809
- let likely = $4ca1027d34905147$export$2115c2c0a84eef61(expectedProps, prop).filter((v)=>!actualProps.includes(v)
32810
- );
32811
- if (likely.length > 0) message = `Did you mean ${likely.map((v)=>JSON.stringify(v)
32812
- ).join(", ")}?`;
32701
+ let likely = $4ca1027d34905147$export$2115c2c0a84eef61(expectedProps, prop).filter((v)=>!actualProps.includes(v));
32702
+ if (likely.length > 0) message = `Did you mean ${likely.map((v)=>JSON.stringify(v)).join(", ")}?`;
32813
32703
  else message = "Unexpected property";
32814
32704
  } else if (e.type === "missing-prop") {
32815
32705
  let { prop: prop , actualProps: actualProps } = e;
@@ -32849,8 +32739,7 @@ $4ca1027d34905147$var$validateSchema.diagnostic = function(schema, data, origin,
32849
32739
  key: ((_prependKey = data.prependKey) !== null && _prependKey !== void 0 ? _prependKey : "") + key,
32850
32740
  type: type,
32851
32741
  message: message != null ? (0, $8C1kk$parceldiagnostic.escapeMarkdown)(message) : message
32852
- })
32853
- ))
32742
+ })))
32854
32743
  }
32855
32744
  ];
32856
32745
  throw new (0, ($parcel$interopDefault($8C1kk$parceldiagnostic)))({
@@ -34291,8 +34180,7 @@ var $5dc3ee1f90b35876$var$stringify = function stringify(value1, replacer, space
34291
34180
  }
34292
34181
  product += c14;
34293
34182
  }
34294
- const quoteChar = quote || Object.keys(quotes).reduce((a, b)=>quotes[a] < quotes[b] ? a : b
34295
- );
34183
+ const quoteChar = quote || Object.keys(quotes).reduce((a, b)=>quotes[a] < quotes[b] ? a : b);
34296
34184
  product = product.replace(new RegExp(quoteChar, "g"), replacements[quoteChar]);
34297
34185
  return quoteChar + product + quoteChar;
34298
34186
  }
@@ -34662,8 +34550,7 @@ const $1c9e97ff3b9eceee$var$NO_DISPOSE_ON_SET = Symbol("noDisposeOnSet");
34662
34550
  const $1c9e97ff3b9eceee$var$LRU_LIST = Symbol("lruList");
34663
34551
  const $1c9e97ff3b9eceee$var$CACHE = Symbol("cache");
34664
34552
  const $1c9e97ff3b9eceee$var$UPDATE_AGE_ON_GET = Symbol("updateAgeOnGet");
34665
- const $1c9e97ff3b9eceee$var$naiveLength = ()=>1
34666
- ;
34553
+ const $1c9e97ff3b9eceee$var$naiveLength = ()=>1;
34667
34554
  // lruList is a yallist where the head is the youngest
34668
34555
  // item, and the tail is the oldest. the list contains the Hit
34669
34556
  // objects as the entries.
@@ -34753,16 +34640,13 @@ class $1c9e97ff3b9eceee$var$LRUCache {
34753
34640
  }
34754
34641
  }
34755
34642
  keys() {
34756
- return this[$1c9e97ff3b9eceee$var$LRU_LIST].toArray().map((k)=>k.key
34757
- );
34643
+ return this[$1c9e97ff3b9eceee$var$LRU_LIST].toArray().map((k)=>k.key);
34758
34644
  }
34759
34645
  values() {
34760
- return this[$1c9e97ff3b9eceee$var$LRU_LIST].toArray().map((k)=>k.value
34761
- );
34646
+ return this[$1c9e97ff3b9eceee$var$LRU_LIST].toArray().map((k)=>k.value);
34762
34647
  }
34763
34648
  reset() {
34764
- if (this[$1c9e97ff3b9eceee$var$DISPOSE] && this[$1c9e97ff3b9eceee$var$LRU_LIST] && this[$1c9e97ff3b9eceee$var$LRU_LIST].length) this[$1c9e97ff3b9eceee$var$LRU_LIST].forEach((hit)=>this[$1c9e97ff3b9eceee$var$DISPOSE](hit.key, hit.value)
34765
- );
34649
+ if (this[$1c9e97ff3b9eceee$var$DISPOSE] && this[$1c9e97ff3b9eceee$var$LRU_LIST] && this[$1c9e97ff3b9eceee$var$LRU_LIST].length) this[$1c9e97ff3b9eceee$var$LRU_LIST].forEach((hit)=>this[$1c9e97ff3b9eceee$var$DISPOSE](hit.key, hit.value));
34766
34650
  this[$1c9e97ff3b9eceee$var$CACHE] = new Map() // hash of items by key
34767
34651
  ;
34768
34652
  this[$1c9e97ff3b9eceee$var$LRU_LIST] = new $3d36175a98d16391$exports() // list of items in order of use recency
@@ -34775,9 +34659,7 @@ class $1c9e97ff3b9eceee$var$LRUCache {
34775
34659
  k: hit.key,
34776
34660
  v: hit.value,
34777
34661
  e: hit.now + (hit.maxAge || 0)
34778
- }
34779
- ).toArray().filter((h)=>h
34780
- );
34662
+ }).toArray().filter((h)=>h);
34781
34663
  }
34782
34664
  dumpLru() {
34783
34665
  return this[$1c9e97ff3b9eceee$var$LRU_LIST];
@@ -34858,8 +34740,7 @@ class $1c9e97ff3b9eceee$var$LRUCache {
34858
34740
  }
34859
34741
  }
34860
34742
  prune() {
34861
- this[$1c9e97ff3b9eceee$var$CACHE].forEach((value, key)=>$1c9e97ff3b9eceee$var$get(this, key, false)
34862
- );
34743
+ this[$1c9e97ff3b9eceee$var$CACHE].forEach((value, key)=>$1c9e97ff3b9eceee$var$get(this, key, false));
34863
34744
  }
34864
34745
  }
34865
34746
  const $1c9e97ff3b9eceee$var$get = (self, key, doUse)=>{
@@ -35039,13 +34920,11 @@ async function $6aebdac47db0459e$export$6643be4f4e63e994(fs, moduleName, dir) {
35039
34920
  let stats = await fs.stat(modulesDir);
35040
34921
  if (stats.isDirectory()) {
35041
34922
  let dirContent = (await fs.readdir(modulesDir)).sort(); // Filter out the modules that interest us
35042
- let modules = dirContent.filter((i)=>isOrganisationModule ? i.startsWith("@") : !i.startsWith("@")
35043
- ); // If it's an organisation module, loop through all the modules of that organisation
34923
+ let modules = dirContent.filter((i)=>isOrganisationModule ? i.startsWith("@") : !i.startsWith("@")); // If it's an organisation module, loop through all the modules of that organisation
35044
34924
  if (isOrganisationModule) await Promise.all(modules.map(async (item)=>{
35045
34925
  let orgDirPath = (0, ($parcel$interopDefault($8C1kk$path))).join(modulesDir, item);
35046
34926
  let orgDirContent = (await fs.readdir(orgDirPath)).sort(); // Add all org packages
35047
- potentialModules.push(...orgDirContent.map((i)=>`${item}/${i}`
35048
- ));
34927
+ potentialModules.push(...orgDirContent.map((i)=>`${item}/${i}`));
35049
34928
  }));
35050
34929
  }
35051
34930
  } catch (err) {} // Move up a directory
@@ -35119,8 +34998,7 @@ function $9631335a11debdd4$export$7a5d5c156e7dc406(array) {
35119
34998
  ];
35120
34999
  }
35121
35000
  function $9631335a11debdd4$export$61559eb31990eff6(obj) {
35122
- return Object.entries(obj).sort(([keyA], [keyB])=>keyA.localeCompare(keyB)
35123
- );
35001
+ return Object.entries(obj).sort(([keyA], [keyB])=>keyA.localeCompare(keyB));
35124
35002
  }
35125
35003
  function $9631335a11debdd4$export$1a9b883158ac407c(object) {
35126
35004
  let sortedEntries = $9631335a11debdd4$export$61559eb31990eff6(object);
@@ -35280,8 +35158,7 @@ async function $0e887a49fdd81cad$export$3b1983e9896f988b(options) {
35280
35158
 
35281
35159
 
35282
35160
 
35283
- function $bc66accb63b05e9a$export$d0d0105f44defc19({ bundle: bundle , bundleGraph: bundleGraph , contents: contents , map: map , getReplacement: getReplacement = (s)=>s
35284
- , relative: relative = true }) {
35161
+ function $bc66accb63b05e9a$export$d0d0105f44defc19({ bundle: bundle , bundleGraph: bundleGraph , contents: contents , map: map , getReplacement: getReplacement = (s)=>s , relative: relative = true }) {
35285
35162
  let replacements = new Map();
35286
35163
  let urlDependencies = [];
35287
35164
  bundle.traverse((node)=>{
@@ -35378,8 +35255,7 @@ function $29bb96d8a6524ff0$export$457f03b1bf37ec1a(stream) {
35378
35255
  stream.on("data", (chunk)=>{
35379
35256
  length += chunk;
35380
35257
  });
35381
- stream.on("end", ()=>resolve(length)
35382
- );
35258
+ stream.on("end", ()=>resolve(length));
35383
35259
  stream.on("error", reject);
35384
35260
  });
35385
35261
  }
@@ -35614,8 +35490,7 @@ const $557d7b477cbdc368$var$htmlEscapes = {
35614
35490
  "'": "&#39;"
35615
35491
  };
35616
35492
  function $557d7b477cbdc368$export$5dd27816c66fb702(s) {
35617
- if ($557d7b477cbdc368$var$reHasUnescapedHtml.test(s)) return s.replace($557d7b477cbdc368$var$reUnescapedHtml, (c)=>$557d7b477cbdc368$var$htmlEscapes[c]
35618
- );
35493
+ if ($557d7b477cbdc368$var$reHasUnescapedHtml.test(s)) return s.replace($557d7b477cbdc368$var$reUnescapedHtml, (c)=>$557d7b477cbdc368$var$htmlEscapes[c]);
35619
35494
  return s;
35620
35495
  }
35621
35496