@modern-js/repo-generator 0.0.0-next-20221207154105 → 0.0.0-next-20221207163013

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 (2) hide show
  1. package/dist/index.js +761 -696
  2. package/package.json +11 -11
package/dist/index.js CHANGED
@@ -50,7 +50,7 @@ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require
50
50
  var __esm = (fn, res) => function __init() {
51
51
  return fn && (res = (0, fn[__getOwnPropNames2(fn)[0]])(fn = 0)), res;
52
52
  };
53
- var __commonJS = (cb, mod) => function __require4() {
53
+ var __commonJS = (cb, mod) => function __require2() {
54
54
  return mod || (0, cb[__getOwnPropNames2(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
55
55
  };
56
56
  var __export2 = (target, all) => {
@@ -1357,11 +1357,11 @@ var require_lodash = __commonJS({
1357
1357
  return isFunction4(object[key]);
1358
1358
  });
1359
1359
  }
1360
- function baseGet(object, path8) {
1361
- path8 = castPath(path8, object);
1362
- var index = 0, length = path8.length;
1360
+ function baseGet(object, path9) {
1361
+ path9 = castPath(path9, object);
1362
+ var index = 0, length = path9.length;
1363
1363
  while (object != null && index < length) {
1364
- object = object[toKey(path8[index++])];
1364
+ object = object[toKey(path9[index++])];
1365
1365
  }
1366
1366
  return index && index == length ? object : undefined2;
1367
1367
  }
@@ -1425,10 +1425,10 @@ var require_lodash = __commonJS({
1425
1425
  });
1426
1426
  return accumulator;
1427
1427
  }
1428
- function baseInvoke(object, path8, args) {
1429
- path8 = castPath(path8, object);
1430
- object = parent(object, path8);
1431
- var func = object == null ? object : object[toKey(last(path8))];
1428
+ function baseInvoke(object, path9, args) {
1429
+ path9 = castPath(path9, object);
1430
+ object = parent(object, path9);
1431
+ var func = object == null ? object : object[toKey(last(path9))];
1432
1432
  return func == null ? undefined2 : apply(func, object, args);
1433
1433
  }
1434
1434
  function baseIsArguments(value) {
@@ -1584,13 +1584,13 @@ var require_lodash = __commonJS({
1584
1584
  return object === source || baseIsMatch(object, source, matchData);
1585
1585
  };
1586
1586
  }
1587
- function baseMatchesProperty(path8, srcValue) {
1588
- if (isKey(path8) && isStrictComparable(srcValue)) {
1589
- return matchesStrictComparable(toKey(path8), srcValue);
1587
+ function baseMatchesProperty(path9, srcValue) {
1588
+ if (isKey(path9) && isStrictComparable(srcValue)) {
1589
+ return matchesStrictComparable(toKey(path9), srcValue);
1590
1590
  }
1591
1591
  return function(object) {
1592
- var objValue = get3(object, path8);
1593
- return objValue === undefined2 && objValue === srcValue ? hasIn(object, path8) : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG);
1592
+ var objValue = get3(object, path9);
1593
+ return objValue === undefined2 && objValue === srcValue ? hasIn(object, path9) : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG);
1594
1594
  };
1595
1595
  }
1596
1596
  function baseMerge(object, source, srcIndex, customizer, stack) {
@@ -1687,23 +1687,23 @@ var require_lodash = __commonJS({
1687
1687
  });
1688
1688
  }
1689
1689
  function basePick(object, paths) {
1690
- return basePickBy(object, paths, function(value, path8) {
1691
- return hasIn(object, path8);
1690
+ return basePickBy(object, paths, function(value, path9) {
1691
+ return hasIn(object, path9);
1692
1692
  });
1693
1693
  }
1694
1694
  function basePickBy(object, paths, predicate) {
1695
1695
  var index = -1, length = paths.length, result2 = {};
1696
1696
  while (++index < length) {
1697
- var path8 = paths[index], value = baseGet(object, path8);
1698
- if (predicate(value, path8)) {
1699
- baseSet(result2, castPath(path8, object), value);
1697
+ var path9 = paths[index], value = baseGet(object, path9);
1698
+ if (predicate(value, path9)) {
1699
+ baseSet(result2, castPath(path9, object), value);
1700
1700
  }
1701
1701
  }
1702
1702
  return result2;
1703
1703
  }
1704
- function basePropertyDeep(path8) {
1704
+ function basePropertyDeep(path9) {
1705
1705
  return function(object) {
1706
- return baseGet(object, path8);
1706
+ return baseGet(object, path9);
1707
1707
  };
1708
1708
  }
1709
1709
  function basePullAll(array, values2, iteratee2, comparator) {
@@ -1777,14 +1777,14 @@ var require_lodash = __commonJS({
1777
1777
  var array = values(collection);
1778
1778
  return shuffleSelf(array, baseClamp(n, 0, array.length));
1779
1779
  }
1780
- function baseSet(object, path8, value, customizer) {
1780
+ function baseSet(object, path9, value, customizer) {
1781
1781
  if (!isObject3(object)) {
1782
1782
  return object;
1783
1783
  }
1784
- path8 = castPath(path8, object);
1785
- var index = -1, length = path8.length, lastIndex = length - 1, nested = object;
1784
+ path9 = castPath(path9, object);
1785
+ var index = -1, length = path9.length, lastIndex = length - 1, nested = object;
1786
1786
  while (nested != null && ++index < length) {
1787
- var key = toKey(path8[index]), newValue = value;
1787
+ var key = toKey(path9[index]), newValue = value;
1788
1788
  if (key === "__proto__" || key === "constructor" || key === "prototype") {
1789
1789
  return object;
1790
1790
  }
@@ -1792,7 +1792,7 @@ var require_lodash = __commonJS({
1792
1792
  var objValue = nested[key];
1793
1793
  newValue = customizer ? customizer(objValue, key, nested) : undefined2;
1794
1794
  if (newValue === undefined2) {
1795
- newValue = isObject3(objValue) ? objValue : isIndex(path8[index + 1]) ? [] : {};
1795
+ newValue = isObject3(objValue) ? objValue : isIndex(path9[index + 1]) ? [] : {};
1796
1796
  }
1797
1797
  }
1798
1798
  assignValue(nested, key, newValue);
@@ -1958,13 +1958,13 @@ var require_lodash = __commonJS({
1958
1958
  }
1959
1959
  return result2;
1960
1960
  }
1961
- function baseUnset(object, path8) {
1962
- path8 = castPath(path8, object);
1963
- object = parent(object, path8);
1964
- return object == null || delete object[toKey(last(path8))];
1961
+ function baseUnset(object, path9) {
1962
+ path9 = castPath(path9, object);
1963
+ object = parent(object, path9);
1964
+ return object == null || delete object[toKey(last(path9))];
1965
1965
  }
1966
- function baseUpdate(object, path8, updater, customizer) {
1967
- return baseSet(object, path8, updater(baseGet(object, path8)), customizer);
1966
+ function baseUpdate(object, path9, updater, customizer) {
1967
+ return baseSet(object, path9, updater(baseGet(object, path9)), customizer);
1968
1968
  }
1969
1969
  function baseWhile(array, predicate, isDrop, fromRight) {
1970
1970
  var length = array.length, index = fromRight ? length : -1;
@@ -2847,11 +2847,11 @@ var require_lodash = __commonJS({
2847
2847
  var match = source.match(reWrapDetails);
2848
2848
  return match ? match[1].split(reSplitDetails) : [];
2849
2849
  }
2850
- function hasPath(object, path8, hasFunc) {
2851
- path8 = castPath(path8, object);
2852
- var index = -1, length = path8.length, result2 = false;
2850
+ function hasPath(object, path9, hasFunc) {
2851
+ path9 = castPath(path9, object);
2852
+ var index = -1, length = path9.length, result2 = false;
2853
2853
  while (++index < length) {
2854
- var key = toKey(path8[index]);
2854
+ var key = toKey(path9[index]);
2855
2855
  if (!(result2 = object != null && hasFunc(object, key))) {
2856
2856
  break;
2857
2857
  }
@@ -3053,8 +3053,8 @@ var require_lodash = __commonJS({
3053
3053
  return apply(func, this, otherArgs);
3054
3054
  };
3055
3055
  }
3056
- function parent(object, path8) {
3057
- return path8.length < 2 ? object : baseGet(object, baseSlice(path8, 0, -1));
3056
+ function parent(object, path9) {
3057
+ return path9.length < 2 ? object : baseGet(object, baseSlice(path9, 0, -1));
3058
3058
  }
3059
3059
  function reorder(array, indexes) {
3060
3060
  var arrLength = array.length, length = nativeMin(indexes.length, arrLength), oldArray = copyArray(array);
@@ -3689,10 +3689,10 @@ var require_lodash = __commonJS({
3689
3689
  }
3690
3690
  return isString2(collection) ? fromIndex <= length && collection.indexOf(value, fromIndex) > -1 : !!length && baseIndexOf(collection, value, fromIndex) > -1;
3691
3691
  }
3692
- var invokeMap = baseRest(function(collection, path8, args) {
3693
- var index = -1, isFunc = typeof path8 == "function", result2 = isArrayLike(collection) ? Array2(collection.length) : [];
3692
+ var invokeMap = baseRest(function(collection, path9, args) {
3693
+ var index = -1, isFunc = typeof path9 == "function", result2 = isArrayLike(collection) ? Array2(collection.length) : [];
3694
3694
  baseEach(collection, function(value) {
3695
- result2[++index] = isFunc ? apply(path8, value, args) : baseInvoke(value, path8, args);
3695
+ result2[++index] = isFunc ? apply(path9, value, args) : baseInvoke(value, path9, args);
3696
3696
  });
3697
3697
  return result2;
3698
3698
  });
@@ -4344,15 +4344,15 @@ var require_lodash = __commonJS({
4344
4344
  function functionsIn(object) {
4345
4345
  return object == null ? [] : baseFunctions(object, keysIn(object));
4346
4346
  }
4347
- function get3(object, path8, defaultValue) {
4348
- var result2 = object == null ? undefined2 : baseGet(object, path8);
4347
+ function get3(object, path9, defaultValue) {
4348
+ var result2 = object == null ? undefined2 : baseGet(object, path9);
4349
4349
  return result2 === undefined2 ? defaultValue : result2;
4350
4350
  }
4351
- function has2(object, path8) {
4352
- return object != null && hasPath(object, path8, baseHas);
4351
+ function has2(object, path9) {
4352
+ return object != null && hasPath(object, path9, baseHas);
4353
4353
  }
4354
- function hasIn(object, path8) {
4355
- return object != null && hasPath(object, path8, baseHasIn);
4354
+ function hasIn(object, path9) {
4355
+ return object != null && hasPath(object, path9, baseHasIn);
4356
4356
  }
4357
4357
  var invert = createInverter(function(result2, value, key) {
4358
4358
  if (value != null && typeof value.toString != "function") {
@@ -4393,7 +4393,7 @@ var require_lodash = __commonJS({
4393
4393
  });
4394
4394
  return result2;
4395
4395
  }
4396
- var merge6 = createAssigner(function(object, source, srcIndex) {
4396
+ var merge8 = createAssigner(function(object, source, srcIndex) {
4397
4397
  baseMerge(object, source, srcIndex);
4398
4398
  });
4399
4399
  var mergeWith = createAssigner(function(object, source, srcIndex, customizer) {
@@ -4405,10 +4405,10 @@ var require_lodash = __commonJS({
4405
4405
  return result2;
4406
4406
  }
4407
4407
  var isDeep = false;
4408
- paths = arrayMap(paths, function(path8) {
4409
- path8 = castPath(path8, object);
4410
- isDeep || (isDeep = path8.length > 1);
4411
- return path8;
4408
+ paths = arrayMap(paths, function(path9) {
4409
+ path9 = castPath(path9, object);
4410
+ isDeep || (isDeep = path9.length > 1);
4411
+ return path9;
4412
4412
  });
4413
4413
  copyObject(object, getAllKeysIn(object), result2);
4414
4414
  if (isDeep) {
@@ -4434,19 +4434,19 @@ var require_lodash = __commonJS({
4434
4434
  return [prop];
4435
4435
  });
4436
4436
  predicate = getIteratee(predicate);
4437
- return basePickBy(object, props, function(value, path8) {
4438
- return predicate(value, path8[0]);
4437
+ return basePickBy(object, props, function(value, path9) {
4438
+ return predicate(value, path9[0]);
4439
4439
  });
4440
4440
  }
4441
- function result(object, path8, defaultValue) {
4442
- path8 = castPath(path8, object);
4443
- var index = -1, length = path8.length;
4441
+ function result(object, path9, defaultValue) {
4442
+ path9 = castPath(path9, object);
4443
+ var index = -1, length = path9.length;
4444
4444
  if (!length) {
4445
4445
  length = 1;
4446
4446
  object = undefined2;
4447
4447
  }
4448
4448
  while (++index < length) {
4449
- var value = object == null ? undefined2 : object[toKey(path8[index])];
4449
+ var value = object == null ? undefined2 : object[toKey(path9[index])];
4450
4450
  if (value === undefined2) {
4451
4451
  index = length;
4452
4452
  value = defaultValue;
@@ -4455,12 +4455,12 @@ var require_lodash = __commonJS({
4455
4455
  }
4456
4456
  return object;
4457
4457
  }
4458
- function set(object, path8, value) {
4459
- return object == null ? object : baseSet(object, path8, value);
4458
+ function set(object, path9, value) {
4459
+ return object == null ? object : baseSet(object, path9, value);
4460
4460
  }
4461
- function setWith(object, path8, value, customizer) {
4461
+ function setWith(object, path9, value, customizer) {
4462
4462
  customizer = typeof customizer == "function" ? customizer : undefined2;
4463
- return object == null ? object : baseSet(object, path8, value, customizer);
4463
+ return object == null ? object : baseSet(object, path9, value, customizer);
4464
4464
  }
4465
4465
  var toPairs = createToPairs(keys);
4466
4466
  var toPairsIn = createToPairs(keysIn);
@@ -4482,15 +4482,15 @@ var require_lodash = __commonJS({
4482
4482
  });
4483
4483
  return accumulator;
4484
4484
  }
4485
- function unset(object, path8) {
4486
- return object == null ? true : baseUnset(object, path8);
4485
+ function unset(object, path9) {
4486
+ return object == null ? true : baseUnset(object, path9);
4487
4487
  }
4488
- function update(object, path8, updater) {
4489
- return object == null ? object : baseUpdate(object, path8, castFunction(updater));
4488
+ function update(object, path9, updater) {
4489
+ return object == null ? object : baseUpdate(object, path9, castFunction(updater));
4490
4490
  }
4491
- function updateWith(object, path8, updater, customizer) {
4491
+ function updateWith(object, path9, updater, customizer) {
4492
4492
  customizer = typeof customizer == "function" ? customizer : undefined2;
4493
- return object == null ? object : baseUpdate(object, path8, castFunction(updater), customizer);
4493
+ return object == null ? object : baseUpdate(object, path9, castFunction(updater), customizer);
4494
4494
  }
4495
4495
  function values(object) {
4496
4496
  return object == null ? [] : baseValues(object, keys(object));
@@ -4871,17 +4871,17 @@ var require_lodash = __commonJS({
4871
4871
  function matches(source) {
4872
4872
  return baseMatches(baseClone(source, CLONE_DEEP_FLAG));
4873
4873
  }
4874
- function matchesProperty(path8, srcValue) {
4875
- return baseMatchesProperty(path8, baseClone(srcValue, CLONE_DEEP_FLAG));
4874
+ function matchesProperty(path9, srcValue) {
4875
+ return baseMatchesProperty(path9, baseClone(srcValue, CLONE_DEEP_FLAG));
4876
4876
  }
4877
- var method = baseRest(function(path8, args) {
4877
+ var method = baseRest(function(path9, args) {
4878
4878
  return function(object) {
4879
- return baseInvoke(object, path8, args);
4879
+ return baseInvoke(object, path9, args);
4880
4880
  };
4881
4881
  });
4882
4882
  var methodOf = baseRest(function(object, args) {
4883
- return function(path8) {
4884
- return baseInvoke(object, path8, args);
4883
+ return function(path9) {
4884
+ return baseInvoke(object, path9, args);
4885
4885
  };
4886
4886
  });
4887
4887
  function mixin(object, source, options) {
@@ -4928,12 +4928,12 @@ var require_lodash = __commonJS({
4928
4928
  var over = createOver(arrayMap);
4929
4929
  var overEvery = createOver(arrayEvery);
4930
4930
  var overSome = createOver(arraySome);
4931
- function property(path8) {
4932
- return isKey(path8) ? baseProperty(toKey(path8)) : basePropertyDeep(path8);
4931
+ function property(path9) {
4932
+ return isKey(path9) ? baseProperty(toKey(path9)) : basePropertyDeep(path9);
4933
4933
  }
4934
4934
  function propertyOf(object) {
4935
- return function(path8) {
4936
- return object == null ? undefined2 : baseGet(object, path8);
4935
+ return function(path9) {
4936
+ return object == null ? undefined2 : baseGet(object, path9);
4937
4937
  };
4938
4938
  }
4939
4939
  var range = createRange();
@@ -5083,7 +5083,7 @@ var require_lodash = __commonJS({
5083
5083
  lodash.matches = matches;
5084
5084
  lodash.matchesProperty = matchesProperty;
5085
5085
  lodash.memoize = memoize;
5086
- lodash.merge = merge6;
5086
+ lodash.merge = merge8;
5087
5087
  lodash.mergeWith = mergeWith;
5088
5088
  lodash.method = method;
5089
5089
  lodash.methodOf = methodOf;
@@ -5386,12 +5386,12 @@ var require_lodash = __commonJS({
5386
5386
  LazyWrapper.prototype.findLast = function(predicate) {
5387
5387
  return this.reverse().find(predicate);
5388
5388
  };
5389
- LazyWrapper.prototype.invokeMap = baseRest(function(path8, args) {
5390
- if (typeof path8 == "function") {
5389
+ LazyWrapper.prototype.invokeMap = baseRest(function(path9, args) {
5390
+ if (typeof path9 == "function") {
5391
5391
  return new LazyWrapper(this);
5392
5392
  }
5393
5393
  return this.map(function(value) {
5394
- return baseInvoke(value, path8, args);
5394
+ return baseInvoke(value, path9, args);
5395
5395
  });
5396
5396
  });
5397
5397
  LazyWrapper.prototype.reject = function(predicate) {
@@ -18436,7 +18436,7 @@ var require_execa = __commonJS({
18436
18436
  }
18437
18437
  return t3;
18438
18438
  };
18439
- const execa4 = (e3, t3, n3) => {
18439
+ const execa3 = (e3, t3, n3) => {
18440
18440
  const r2 = handleArguments(e3, t3, n3);
18441
18441
  const s2 = w(e3, t3);
18442
18442
  const i2 = I(e3, t3);
@@ -18474,7 +18474,7 @@ var require_execa = __commonJS({
18474
18474
  a2.all = y(a2, r2.options);
18475
18475
  return S(a2, C);
18476
18476
  };
18477
- e2.exports = execa4;
18477
+ e2.exports = execa3;
18478
18478
  e2.exports.sync = (e3, t3, n3) => {
18479
18479
  const r2 = handleArguments(e3, t3, n3);
18480
18480
  const s2 = w(e3, t3);
@@ -18499,11 +18499,11 @@ var require_execa = __commonJS({
18499
18499
  };
18500
18500
  e2.exports.command = (e3, t3) => {
18501
18501
  const [n3, ...r2] = E(e3);
18502
- return execa4(n3, r2, t3);
18502
+ return execa3(n3, r2, t3);
18503
18503
  };
18504
18504
  e2.exports.commandSync = (e3, t3) => {
18505
18505
  const [n3, ...r2] = E(e3);
18506
- return execa4.sync(n3, r2, t3);
18506
+ return execa3.sync(n3, r2, t3);
18507
18507
  };
18508
18508
  e2.exports.node = (e3, t3, n3 = {}) => {
18509
18509
  if (t3 && !Array.isArray(t3) && typeof t3 === "object") {
@@ -18513,7 +18513,7 @@ var require_execa = __commonJS({
18513
18513
  const r2 = u.node(n3);
18514
18514
  const o2 = process.execArgv.filter((e4) => !e4.startsWith("--inspect"));
18515
18515
  const { nodePath: s2 = process.execPath, nodeOptions: i2 = o2 } = n3;
18516
- return execa4(s2, [...i2, e3, ...Array.isArray(t3) ? t3 : []], { ...n3, stdin: void 0, stdout: void 0, stderr: void 0, stdio: r2, shell: false });
18516
+ return execa3(s2, [...i2, e3, ...Array.isArray(t3) ? t3 : []], { ...n3, stdin: void 0, stdout: void 0, stderr: void 0, stdio: r2, shell: false });
18517
18517
  };
18518
18518
  }, 192: (e2) => {
18519
18519
  "use strict";
@@ -25181,7 +25181,7 @@ var require_fast_glob = __commonJS({
25181
25181
  Object.defineProperty(e2, "__esModule", { value: true });
25182
25182
  e2.merge = void 0;
25183
25183
  const n = r2(1382);
25184
- function merge6(t3) {
25184
+ function merge8(t3) {
25185
25185
  const e3 = n(t3);
25186
25186
  t3.forEach((t4) => {
25187
25187
  t4.once("error", (t5) => e3.emit("error", t5));
@@ -25190,7 +25190,7 @@ var require_fast_glob = __commonJS({
25190
25190
  e3.once("end", () => propagateCloseEventToSources(t3));
25191
25191
  return e3;
25192
25192
  }
25193
- e2.merge = merge6;
25193
+ e2.merge = merge8;
25194
25194
  function propagateCloseEventToSources(t3) {
25195
25195
  t3.forEach((t4) => t4.emit("close"));
25196
25196
  }
@@ -25794,8 +25794,8 @@ var require_fast_glob = __commonJS({
25794
25794
  const n = r2(2781);
25795
25795
  const s = n.PassThrough;
25796
25796
  const i = Array.prototype.slice;
25797
- t2.exports = merge23;
25798
- function merge23() {
25797
+ t2.exports = merge22;
25798
+ function merge22() {
25799
25799
  const t3 = [];
25800
25800
  const e3 = i.call(arguments);
25801
25801
  let r3 = false;
@@ -28049,8 +28049,8 @@ var require_globby = __commonJS({
28049
28049
  const n = r2(781);
28050
28050
  const s = n.PassThrough;
28051
28051
  const o = Array.prototype.slice;
28052
- t2.exports = merge23;
28053
- function merge23() {
28052
+ t2.exports = merge22;
28053
+ function merge22() {
28054
28054
  const t3 = [];
28055
28055
  const e3 = o.call(arguments);
28056
28056
  let r3 = false;
@@ -35605,7 +35605,7 @@ var require_nodeEnv = __commonJS({
35605
35605
  Object.defineProperty(exports, "__esModule", { value: true });
35606
35606
  exports.canUsePnpm = exports.canUseYarn = exports.canUseNpm = void 0;
35607
35607
  var compiled_1 = require_compiled();
35608
- async function canUseNpm4() {
35608
+ async function canUseNpm3() {
35609
35609
  try {
35610
35610
  await (0, compiled_1.execa)("npm", ["--version"], { env: process.env });
35611
35611
  return true;
@@ -35613,7 +35613,7 @@ var require_nodeEnv = __commonJS({
35613
35613
  return false;
35614
35614
  }
35615
35615
  }
35616
- exports.canUseNpm = canUseNpm4;
35616
+ exports.canUseNpm = canUseNpm3;
35617
35617
  async function canUseYarn3() {
35618
35618
  try {
35619
35619
  await (0, compiled_1.execa)("yarn", ["--version"], { env: process.env });
@@ -35984,7 +35984,7 @@ var require_watch = __commonJS({
35984
35984
  };
35985
35985
  Object.defineProperty(exports, "__esModule", { value: true });
35986
35986
  exports.watch = exports.WatchChangeType = void 0;
35987
- var path8 = __importStar(__require("path"));
35987
+ var path9 = __importStar(__require("path"));
35988
35988
  var compiled_1 = require_compiled();
35989
35989
  exports.WatchChangeType = {
35990
35990
  ADD: "add",
@@ -35998,17 +35998,17 @@ var require_watch = __commonJS({
35998
35998
  });
35999
35999
  watcher.on("ready", () => ready = true);
36000
36000
  watcher.on("change", async (filePath) => {
36001
- const changedFilePath = path8.resolve(filePath);
36001
+ const changedFilePath = path9.resolve(filePath);
36002
36002
  await runTask({ changedFilePath, changeType: exports.WatchChangeType.CHANGE });
36003
36003
  });
36004
36004
  watcher.on("add", async (filePath) => {
36005
- const changedFilePath = path8.resolve(filePath);
36005
+ const changedFilePath = path9.resolve(filePath);
36006
36006
  if (ready) {
36007
36007
  await runTask({ changedFilePath, changeType: exports.WatchChangeType.ADD });
36008
36008
  }
36009
36009
  });
36010
36010
  watcher.on("unlink", async (filePath) => {
36011
- const changedFilePath = path8.resolve(filePath);
36011
+ const changedFilePath = path9.resolve(filePath);
36012
36012
  await runTask({ changedFilePath, changeType: exports.WatchChangeType.UNLINK });
36013
36013
  });
36014
36014
  watcher.on("error", (err) => {
@@ -36081,11 +36081,11 @@ var require_getServerConfig = __commonJS({
36081
36081
  };
36082
36082
  Object.defineProperty(exports, "__esModule", { value: true });
36083
36083
  exports.getServerConfig = void 0;
36084
- var path8 = __importStar(__require("path"));
36084
+ var path9 = __importStar(__require("path"));
36085
36085
  var constants_1 = require_constants();
36086
36086
  var findExists_1 = require_findExists();
36087
36087
  var getServerConfig = async (appDirectory, configFile) => {
36088
- const configFilePath = (0, findExists_1.findExists)(constants_1.CONFIG_FILE_EXTENSIONS.map((extension) => path8.resolve(appDirectory, `${configFile}${extension}`)));
36088
+ const configFilePath = (0, findExists_1.findExists)(constants_1.CONFIG_FILE_EXTENSIONS.map((extension) => path9.resolve(appDirectory, `${configFile}${extension}`)));
36089
36089
  return configFilePath;
36090
36090
  };
36091
36091
  exports.getServerConfig = getServerConfig;
@@ -36247,10 +36247,10 @@ var require_analyzeProject = __commonJS({
36247
36247
  };
36248
36248
  Object.defineProperty(exports, "__esModule", { value: true });
36249
36249
  exports.isApiOnly = void 0;
36250
- var path8 = __importStar(__require("path"));
36250
+ var path9 = __importStar(__require("path"));
36251
36251
  var compiled_1 = require_compiled();
36252
36252
  var isApiOnly = async (appDirectory, entryDir) => {
36253
- const srcDir = path8.join(appDirectory, entryDir !== null && entryDir !== void 0 ? entryDir : "src");
36253
+ const srcDir = path9.join(appDirectory, entryDir !== null && entryDir !== void 0 ? entryDir : "src");
36254
36254
  const existSrc = await compiled_1.fs.pathExists(srcDir);
36255
36255
  const options = (0, compiled_1.minimist)(process.argv.slice(2));
36256
36256
  return !existSrc || Boolean(options["api-only"]);
@@ -44200,7 +44200,7 @@ var require_env = __commonJS({
44200
44200
  Object.defineProperty(exports, "__esModule", {
44201
44201
  value: true
44202
44202
  });
44203
- exports.canUseNpm = canUseNpm4;
44203
+ exports.canUseNpm = canUseNpm3;
44204
44204
  exports.canUseNvm = canUseNvm;
44205
44205
  exports.canUsePnpm = canUsePnpm3;
44206
44206
  exports.canUseYarn = canUseYarn3;
@@ -44216,7 +44216,7 @@ var require_env = __commonJS({
44216
44216
  return false;
44217
44217
  }
44218
44218
  }
44219
- async function canUseNpm4() {
44219
+ async function canUseNpm3() {
44220
44220
  try {
44221
44221
  await (0, _utils.execa)("npm", ["--version"], {
44222
44222
  env: process.env
@@ -44833,15 +44833,15 @@ var require_nodeRequire = __commonJS({
44833
44833
  value: true
44834
44834
  });
44835
44835
  exports.nodeRequire = void 0;
44836
- var nodeRequire = (path8) => {
44836
+ var nodeRequire = (path9) => {
44837
44837
  try {
44838
- const module2 = __non_webpack_require__(path8);
44838
+ const module2 = __non_webpack_require__(path9);
44839
44839
  if (module2 !== null && module2 !== void 0 && module2.default) {
44840
44840
  return module2.default;
44841
44841
  }
44842
44842
  return module2;
44843
44843
  } catch (error) {
44844
- const module2 = __require(path8);
44844
+ const module2 = __require(path9);
44845
44845
  if (module2 !== null && module2 !== void 0 && module2.default) {
44846
44846
  return module2.default;
44847
44847
  }
@@ -44859,9 +44859,9 @@ var require_fsExists = __commonJS({
44859
44859
  });
44860
44860
  exports.fsExists = fsExists;
44861
44861
  var _utils = require_dist();
44862
- async function fsExists(path8) {
44862
+ async function fsExists(path9) {
44863
44863
  try {
44864
- await _utils.fs.access(path8);
44864
+ await _utils.fs.access(path9);
44865
44865
  return true;
44866
44866
  } catch (e) {
44867
44867
  return false;
@@ -45340,13 +45340,13 @@ var require_utils3 = __commonJS({
45340
45340
  }
45341
45341
  }
45342
45342
  }
45343
- function merge6() {
45343
+ function merge8() {
45344
45344
  var result = {};
45345
45345
  function assignValue(val, key) {
45346
45346
  if (isPlainObject(result[key]) && isPlainObject(val)) {
45347
- result[key] = merge6(result[key], val);
45347
+ result[key] = merge8(result[key], val);
45348
45348
  } else if (isPlainObject(val)) {
45349
- result[key] = merge6({}, val);
45349
+ result[key] = merge8({}, val);
45350
45350
  } else if (isArray4(val)) {
45351
45351
  result[key] = val.slice();
45352
45352
  } else {
@@ -45393,7 +45393,7 @@ var require_utils3 = __commonJS({
45393
45393
  isURLSearchParams,
45394
45394
  isStandardBrowserEnv,
45395
45395
  forEach,
45396
- merge: merge6,
45396
+ merge: merge8,
45397
45397
  extend,
45398
45398
  trim,
45399
45399
  stripBOM
@@ -45559,14 +45559,14 @@ var require_cookies = __commonJS({
45559
45559
  var utils = require_utils3();
45560
45560
  module2.exports = utils.isStandardBrowserEnv() ? function standardBrowserEnv() {
45561
45561
  return {
45562
- write: function write(name, value, expires, path8, domain, secure) {
45562
+ write: function write(name, value, expires, path9, domain, secure) {
45563
45563
  var cookie = [];
45564
45564
  cookie.push(name + "=" + encodeURIComponent(value));
45565
45565
  if (utils.isNumber(expires)) {
45566
45566
  cookie.push("expires=" + new Date(expires).toGMTString());
45567
45567
  }
45568
- if (utils.isString(path8)) {
45569
- cookie.push("path=" + path8);
45568
+ if (utils.isString(path9)) {
45569
+ cookie.push("path=" + path9);
45570
45570
  }
45571
45571
  if (utils.isString(domain)) {
45572
45572
  cookie.push("domain=" + domain);
@@ -47331,7 +47331,7 @@ var require_mergeConfig = __commonJS({
47331
47331
  config[prop] = getMergedValue(void 0, config1[prop]);
47332
47332
  }
47333
47333
  });
47334
- utils.forEach(directMergeKeys, function merge6(prop) {
47334
+ utils.forEach(directMergeKeys, function merge8(prop) {
47335
47335
  if (prop in config2) {
47336
47336
  config[prop] = getMergedValue(config1[prop], config2[prop]);
47337
47337
  } else if (prop in config1) {
@@ -48882,10 +48882,10 @@ var require_header = __commonJS({
48882
48882
  }
48883
48883
  const prefixSize = this.ctime || this.atime ? 130 : 155;
48884
48884
  const split = splitPrefix(this.path || "", prefixSize);
48885
- const path8 = split[0];
48885
+ const path9 = split[0];
48886
48886
  const prefix = split[1];
48887
48887
  this.needPax = split[2];
48888
- this.needPax = encString(buf, off, 100, path8) || this.needPax;
48888
+ this.needPax = encString(buf, off, 100, path9) || this.needPax;
48889
48889
  this.needPax = encNumber(buf, off + 100, 8, this.mode) || this.needPax;
48890
48890
  this.needPax = encNumber(buf, off + 108, 8, this.uid) || this.needPax;
48891
48891
  this.needPax = encNumber(buf, off + 116, 8, this.gid) || this.needPax;
@@ -48993,7 +48993,7 @@ var require_pax = __commonJS({
48993
48993
  "../../../../node_modules/.pnpm/tar@6.1.12/node_modules/tar/lib/pax.js"(exports, module2) {
48994
48994
  "use strict";
48995
48995
  var Header = require_header();
48996
- var path8 = __require("path");
48996
+ var path9 = __require("path");
48997
48997
  var Pax = class {
48998
48998
  constructor(obj, global2) {
48999
48999
  this.atime = obj.atime || null;
@@ -49025,7 +49025,7 @@ var require_pax = __commonJS({
49025
49025
  buf[i] = 0;
49026
49026
  }
49027
49027
  new Header({
49028
- path: ("PaxHeader/" + path8.basename(this.path)).slice(0, 99),
49028
+ path: ("PaxHeader/" + path9.basename(this.path)).slice(0, 99),
49029
49029
  mode: this.mode || 420,
49030
49030
  uid: this.uid || null,
49031
49031
  gid: this.gid || null,
@@ -49064,8 +49064,8 @@ var require_pax = __commonJS({
49064
49064
  return len + s;
49065
49065
  }
49066
49066
  };
49067
- Pax.parse = (string, ex, g) => new Pax(merge6(parseKV(string), ex), g);
49068
- var merge6 = (a, b) => b ? Object.keys(a).reduce((s, k) => (s[k] = a[k], s), b) : a;
49067
+ Pax.parse = (string, ex, g) => new Pax(merge8(parseKV(string), ex), g);
49068
+ var merge8 = (a, b) => b ? Object.keys(a).reduce((s, k) => (s[k] = a[k], s), b) : a;
49069
49069
  var parseKV = (string) => string.replace(/\n$/, "").split("\n").reduce(parseKVLine, /* @__PURE__ */ Object.create(null));
49070
49070
  var parseKVLine = (set, line) => {
49071
49071
  const n = parseInt(line, 10);
@@ -49148,16 +49148,16 @@ var require_winchars = __commonJS({
49148
49148
  var require_strip_absolute_path = __commonJS({
49149
49149
  "../../../../node_modules/.pnpm/tar@6.1.12/node_modules/tar/lib/strip-absolute-path.js"(exports, module2) {
49150
49150
  var { isAbsolute, parse: parse2 } = __require("path").win32;
49151
- module2.exports = (path8) => {
49151
+ module2.exports = (path9) => {
49152
49152
  let r = "";
49153
- let parsed = parse2(path8);
49154
- while (isAbsolute(path8) || parsed.root) {
49155
- const root = path8.charAt(0) === "/" && path8.slice(0, 4) !== "//?/" ? "/" : parsed.root;
49156
- path8 = path8.slice(root.length);
49153
+ let parsed = parse2(path9);
49154
+ while (isAbsolute(path9) || parsed.root) {
49155
+ const root = path9.charAt(0) === "/" && path9.slice(0, 4) !== "//?/" ? "/" : parsed.root;
49156
+ path9 = path9.slice(root.length);
49157
49157
  r += root;
49158
- parsed = parse2(path8);
49158
+ parsed = parse2(path9);
49159
49159
  }
49160
- return [r, path8];
49160
+ return [r, path9];
49161
49161
  };
49162
49162
  }
49163
49163
  });
@@ -49191,15 +49191,15 @@ var require_write_entry = __commonJS({
49191
49191
  var Pax = require_pax();
49192
49192
  var Header = require_header();
49193
49193
  var fs3 = __require("fs");
49194
- var path8 = __require("path");
49194
+ var path9 = __require("path");
49195
49195
  var normPath = require_normalize_windows_path();
49196
49196
  var stripSlash = require_strip_trailing_slashes();
49197
- var prefixPath = (path9, prefix) => {
49197
+ var prefixPath = (path10, prefix) => {
49198
49198
  if (!prefix) {
49199
- return normPath(path9);
49199
+ return normPath(path10);
49200
49200
  }
49201
- path9 = normPath(path9).replace(/^\.(\/|$)/, "");
49202
- return stripSlash(prefix) + "/" + path9;
49201
+ path10 = normPath(path10).replace(/^\.(\/|$)/, "");
49202
+ return stripSlash(prefix) + "/" + path10;
49203
49203
  };
49204
49204
  var maxReadSize = 16 * 1024 * 1024;
49205
49205
  var PROCESS = Symbol("process");
@@ -49270,7 +49270,7 @@ var require_write_entry = __commonJS({
49270
49270
  this.path = winchars.decode(this.path.replace(/\\/g, "/"));
49271
49271
  p = p.replace(/\\/g, "/");
49272
49272
  }
49273
- this.absolute = normPath(opt.absolute || path8.resolve(this.cwd, p));
49273
+ this.absolute = normPath(opt.absolute || path9.resolve(this.cwd, p));
49274
49274
  if (this.path === "") {
49275
49275
  this.path = "./";
49276
49276
  }
@@ -49325,8 +49325,8 @@ var require_write_entry = __commonJS({
49325
49325
  [MODE](mode) {
49326
49326
  return modeFix(mode, this.type === "Directory", this.portable);
49327
49327
  }
49328
- [PREFIX](path9) {
49329
- return prefixPath(path9, this.prefix);
49328
+ [PREFIX](path10) {
49329
+ return prefixPath(path10, this.prefix);
49330
49330
  }
49331
49331
  [HEADER]() {
49332
49332
  if (this.type === "Directory" && this.portable) {
@@ -49386,7 +49386,7 @@ var require_write_entry = __commonJS({
49386
49386
  }
49387
49387
  [HARDLINK](linkpath) {
49388
49388
  this.type = "Link";
49389
- this.linkpath = normPath(path8.relative(this.cwd, linkpath));
49389
+ this.linkpath = normPath(path9.relative(this.cwd, linkpath));
49390
49390
  this.stat.size = 0;
49391
49391
  this[HEADER]();
49392
49392
  this.end();
@@ -49615,8 +49615,8 @@ var require_write_entry = __commonJS({
49615
49615
  super.write(this.header.block);
49616
49616
  readEntry.pipe(this);
49617
49617
  }
49618
- [PREFIX](path9) {
49619
- return prefixPath(path9, this.prefix);
49618
+ [PREFIX](path10) {
49619
+ return prefixPath(path10, this.prefix);
49620
49620
  }
49621
49621
  [MODE](mode) {
49622
49622
  return modeFix(mode, this.type === "Directory", this.portable);
@@ -50025,8 +50025,8 @@ var require_pack = __commonJS({
50025
50025
  "../../../../node_modules/.pnpm/tar@6.1.12/node_modules/tar/lib/pack.js"(exports, module2) {
50026
50026
  "use strict";
50027
50027
  var PackJob = class {
50028
- constructor(path9, absolute) {
50029
- this.path = path9 || "./";
50028
+ constructor(path10, absolute) {
50029
+ this.path = path10 || "./";
50030
50030
  this.absolute = absolute;
50031
50031
  this.entry = null;
50032
50032
  this.stat = null;
@@ -50065,7 +50065,7 @@ var require_pack = __commonJS({
50065
50065
  var WRITE = Symbol("write");
50066
50066
  var ONDRAIN = Symbol("ondrain");
50067
50067
  var fs3 = __require("fs");
50068
- var path8 = __require("path");
50068
+ var path9 = __require("path");
50069
50069
  var warner = require_warn_mixin();
50070
50070
  var normPath = require_normalize_windows_path();
50071
50071
  var Pack = warner(class Pack extends MiniPass {
@@ -50118,31 +50118,31 @@ var require_pack = __commonJS({
50118
50118
  [WRITE](chunk) {
50119
50119
  return super.write(chunk);
50120
50120
  }
50121
- add(path9) {
50122
- this.write(path9);
50121
+ add(path10) {
50122
+ this.write(path10);
50123
50123
  return this;
50124
50124
  }
50125
- end(path9) {
50126
- if (path9) {
50127
- this.write(path9);
50125
+ end(path10) {
50126
+ if (path10) {
50127
+ this.write(path10);
50128
50128
  }
50129
50129
  this[ENDED] = true;
50130
50130
  this[PROCESS]();
50131
50131
  return this;
50132
50132
  }
50133
- write(path9) {
50133
+ write(path10) {
50134
50134
  if (this[ENDED]) {
50135
50135
  throw new Error("write after end");
50136
50136
  }
50137
- if (path9 instanceof ReadEntry) {
50138
- this[ADDTARENTRY](path9);
50137
+ if (path10 instanceof ReadEntry) {
50138
+ this[ADDTARENTRY](path10);
50139
50139
  } else {
50140
- this[ADDFSENTRY](path9);
50140
+ this[ADDFSENTRY](path10);
50141
50141
  }
50142
50142
  return this.flowing;
50143
50143
  }
50144
50144
  [ADDTARENTRY](p) {
50145
- const absolute = normPath(path8.resolve(this.cwd, p.path));
50145
+ const absolute = normPath(path9.resolve(this.cwd, p.path));
50146
50146
  if (!this.filter(p.path, p)) {
50147
50147
  p.resume();
50148
50148
  } else {
@@ -50155,7 +50155,7 @@ var require_pack = __commonJS({
50155
50155
  this[PROCESS]();
50156
50156
  }
50157
50157
  [ADDFSENTRY](p) {
50158
- const absolute = normPath(path8.resolve(this.cwd, p));
50158
+ const absolute = normPath(path9.resolve(this.cwd, p));
50159
50159
  this[QUEUE].push(new PackJob(p, absolute));
50160
50160
  this[PROCESS]();
50161
50161
  }
@@ -50420,16 +50420,16 @@ var require_fs_minipass = __commonJS({
50420
50420
  var _defaultFlag = Symbol("_defaultFlag");
50421
50421
  var _errored = Symbol("_errored");
50422
50422
  var ReadStream = class extends MiniPass {
50423
- constructor(path8, opt) {
50423
+ constructor(path9, opt) {
50424
50424
  opt = opt || {};
50425
50425
  super(opt);
50426
50426
  this.readable = true;
50427
50427
  this.writable = false;
50428
- if (typeof path8 !== "string")
50428
+ if (typeof path9 !== "string")
50429
50429
  throw new TypeError("path must be a string");
50430
50430
  this[_errored] = false;
50431
50431
  this[_fd] = typeof opt.fd === "number" ? opt.fd : null;
50432
- this[_path] = path8;
50432
+ this[_path] = path9;
50433
50433
  this[_readSize] = opt.readSize || 16 * 1024 * 1024;
50434
50434
  this[_reading] = false;
50435
50435
  this[_size] = typeof opt.size === "number" ? opt.size : Infinity;
@@ -50566,7 +50566,7 @@ var require_fs_minipass = __commonJS({
50566
50566
  }
50567
50567
  };
50568
50568
  var WriteStream = class extends EE {
50569
- constructor(path8, opt) {
50569
+ constructor(path9, opt) {
50570
50570
  opt = opt || {};
50571
50571
  super(opt);
50572
50572
  this.readable = false;
@@ -50576,7 +50576,7 @@ var require_fs_minipass = __commonJS({
50576
50576
  this[_ended] = false;
50577
50577
  this[_needDrain] = false;
50578
50578
  this[_queue] = [];
50579
- this[_path] = path8;
50579
+ this[_path] = path9;
50580
50580
  this[_fd] = typeof opt.fd === "number" ? opt.fd : null;
50581
50581
  this[_mode] = opt.mode === void 0 ? 438 : opt.mode;
50582
50582
  this[_pos] = typeof opt.start === "number" ? opt.start : null;
@@ -51153,7 +51153,7 @@ var require_list = __commonJS({
51153
51153
  var Parser2 = require_parse2();
51154
51154
  var fs3 = __require("fs");
51155
51155
  var fsm = require_fs_minipass();
51156
- var path8 = __require("path");
51156
+ var path9 = __require("path");
51157
51157
  var stripSlash = require_strip_trailing_slashes();
51158
51158
  module2.exports = (opt_, files, cb) => {
51159
51159
  if (typeof opt_ === "function") {
@@ -51195,8 +51195,8 @@ var require_list = __commonJS({
51195
51195
  const map2 = new Map(files.map((f) => [stripSlash(f), true]));
51196
51196
  const filter = opt.filter;
51197
51197
  const mapHas = (file, r) => {
51198
- const root = r || path8.parse(file).root || ".";
51199
- const ret = file === root ? false : map2.has(file) ? map2.get(file) : mapHas(path8.dirname(file), root);
51198
+ const root = r || path9.parse(file).root || ".";
51199
+ const ret = file === root ? false : map2.has(file) ? map2.get(file) : mapHas(path9.dirname(file), root);
51200
51200
  map2.set(file, ret);
51201
51201
  return ret;
51202
51202
  };
@@ -51265,7 +51265,7 @@ var require_create = __commonJS({
51265
51265
  var Pack = require_pack();
51266
51266
  var fsm = require_fs_minipass();
51267
51267
  var t = require_list();
51268
- var path8 = __require("path");
51268
+ var path9 = __require("path");
51269
51269
  module2.exports = (opt_, files, cb) => {
51270
51270
  if (typeof files === "function") {
51271
51271
  cb = files;
@@ -51312,7 +51312,7 @@ var require_create = __commonJS({
51312
51312
  files.forEach((file) => {
51313
51313
  if (file.charAt(0) === "@") {
51314
51314
  t({
51315
- file: path8.resolve(p.cwd, file.slice(1)),
51315
+ file: path9.resolve(p.cwd, file.slice(1)),
51316
51316
  sync: true,
51317
51317
  noResume: true,
51318
51318
  onentry: (entry) => p.add(entry)
@@ -51328,7 +51328,7 @@ var require_create = __commonJS({
51328
51328
  const file = files.shift();
51329
51329
  if (file.charAt(0) === "@") {
51330
51330
  return t({
51331
- file: path8.resolve(p.cwd, file.slice(1)),
51331
+ file: path9.resolve(p.cwd, file.slice(1)),
51332
51332
  noResume: true,
51333
51333
  onentry: (entry) => p.add(entry)
51334
51334
  }).then((_) => addFilesAsync(p, files));
@@ -51358,7 +51358,7 @@ var require_replace = __commonJS({
51358
51358
  var fs3 = __require("fs");
51359
51359
  var fsm = require_fs_minipass();
51360
51360
  var t = require_list();
51361
- var path8 = __require("path");
51361
+ var path9 = __require("path");
51362
51362
  var Header = require_header();
51363
51363
  module2.exports = (opt_, files, cb) => {
51364
51364
  const opt = hlo(opt_);
@@ -51536,7 +51536,7 @@ var require_replace = __commonJS({
51536
51536
  files.forEach((file) => {
51537
51537
  if (file.charAt(0) === "@") {
51538
51538
  t({
51539
- file: path8.resolve(p.cwd, file.slice(1)),
51539
+ file: path9.resolve(p.cwd, file.slice(1)),
51540
51540
  sync: true,
51541
51541
  noResume: true,
51542
51542
  onentry: (entry) => p.add(entry)
@@ -51552,7 +51552,7 @@ var require_replace = __commonJS({
51552
51552
  const file = files.shift();
51553
51553
  if (file.charAt(0) === "@") {
51554
51554
  return t({
51555
- file: path8.resolve(p.cwd, file.slice(1)),
51555
+ file: path9.resolve(p.cwd, file.slice(1)),
51556
51556
  noResume: true,
51557
51557
  onentry: (entry) => p.add(entry)
51558
51558
  }).then((_) => addFilesAsync(p, files));
@@ -51589,7 +51589,7 @@ var require_update = __commonJS({
51589
51589
  if (!opt.mtimeCache) {
51590
51590
  opt.mtimeCache = /* @__PURE__ */ new Map();
51591
51591
  }
51592
- opt.filter = filter ? (path8, stat) => filter(path8, stat) && !(opt.mtimeCache.get(path8) > stat.mtime) : (path8, stat) => !(opt.mtimeCache.get(path8) > stat.mtime);
51592
+ opt.filter = filter ? (path9, stat) => filter(path9, stat) && !(opt.mtimeCache.get(path9) > stat.mtime) : (path9, stat) => !(opt.mtimeCache.get(path9) > stat.mtime);
51593
51593
  };
51594
51594
  }
51595
51595
  });
@@ -51623,28 +51623,28 @@ var require_path_arg = __commonJS({
51623
51623
  "../../../../node_modules/.pnpm/mkdirp@1.0.4/node_modules/mkdirp/lib/path-arg.js"(exports, module2) {
51624
51624
  var platform = process.env.__TESTING_MKDIRP_PLATFORM__ || process.platform;
51625
51625
  var { resolve, parse: parse2 } = __require("path");
51626
- var pathArg = (path8) => {
51627
- if (/\0/.test(path8)) {
51626
+ var pathArg = (path9) => {
51627
+ if (/\0/.test(path9)) {
51628
51628
  throw Object.assign(
51629
51629
  new TypeError("path must be a string without null bytes"),
51630
51630
  {
51631
- path: path8,
51631
+ path: path9,
51632
51632
  code: "ERR_INVALID_ARG_VALUE"
51633
51633
  }
51634
51634
  );
51635
51635
  }
51636
- path8 = resolve(path8);
51636
+ path9 = resolve(path9);
51637
51637
  if (platform === "win32") {
51638
51638
  const badWinChars = /[*|"<>?:]/;
51639
- const { root } = parse2(path8);
51640
- if (badWinChars.test(path8.substr(root.length))) {
51639
+ const { root } = parse2(path9);
51640
+ if (badWinChars.test(path9.substr(root.length))) {
51641
51641
  throw Object.assign(new Error("Illegal characters in path."), {
51642
- path: path8,
51642
+ path: path9,
51643
51643
  code: "EINVAL"
51644
51644
  });
51645
51645
  }
51646
51646
  }
51647
- return path8;
51647
+ return path9;
51648
51648
  };
51649
51649
  module2.exports = pathArg;
51650
51650
  }
@@ -51652,19 +51652,19 @@ var require_path_arg = __commonJS({
51652
51652
  var require_find_made = __commonJS({
51653
51653
  "../../../../node_modules/.pnpm/mkdirp@1.0.4/node_modules/mkdirp/lib/find-made.js"(exports, module2) {
51654
51654
  var { dirname } = __require("path");
51655
- var findMade = (opts, parent, path8 = void 0) => {
51656
- if (path8 === parent)
51655
+ var findMade = (opts, parent, path9 = void 0) => {
51656
+ if (path9 === parent)
51657
51657
  return Promise.resolve();
51658
51658
  return opts.statAsync(parent).then(
51659
- (st) => st.isDirectory() ? path8 : void 0,
51659
+ (st) => st.isDirectory() ? path9 : void 0,
51660
51660
  (er) => er.code === "ENOENT" ? findMade(opts, dirname(parent), parent) : void 0
51661
51661
  );
51662
51662
  };
51663
- var findMadeSync = (opts, parent, path8 = void 0) => {
51664
- if (path8 === parent)
51663
+ var findMadeSync = (opts, parent, path9 = void 0) => {
51664
+ if (path9 === parent)
51665
51665
  return void 0;
51666
51666
  try {
51667
- return opts.statSync(parent).isDirectory() ? path8 : void 0;
51667
+ return opts.statSync(parent).isDirectory() ? path9 : void 0;
51668
51668
  } catch (er) {
51669
51669
  return er.code === "ENOENT" ? findMadeSync(opts, dirname(parent), parent) : void 0;
51670
51670
  }
@@ -51675,21 +51675,21 @@ var require_find_made = __commonJS({
51675
51675
  var require_mkdirp_manual = __commonJS({
51676
51676
  "../../../../node_modules/.pnpm/mkdirp@1.0.4/node_modules/mkdirp/lib/mkdirp-manual.js"(exports, module2) {
51677
51677
  var { dirname } = __require("path");
51678
- var mkdirpManual = (path8, opts, made) => {
51678
+ var mkdirpManual = (path9, opts, made) => {
51679
51679
  opts.recursive = false;
51680
- const parent = dirname(path8);
51681
- if (parent === path8) {
51682
- return opts.mkdirAsync(path8, opts).catch((er) => {
51680
+ const parent = dirname(path9);
51681
+ if (parent === path9) {
51682
+ return opts.mkdirAsync(path9, opts).catch((er) => {
51683
51683
  if (er.code !== "EISDIR")
51684
51684
  throw er;
51685
51685
  });
51686
51686
  }
51687
- return opts.mkdirAsync(path8, opts).then(() => made || path8, (er) => {
51687
+ return opts.mkdirAsync(path9, opts).then(() => made || path9, (er) => {
51688
51688
  if (er.code === "ENOENT")
51689
- return mkdirpManual(parent, opts).then((made2) => mkdirpManual(path8, opts, made2));
51689
+ return mkdirpManual(parent, opts).then((made2) => mkdirpManual(path9, opts, made2));
51690
51690
  if (er.code !== "EEXIST" && er.code !== "EROFS")
51691
51691
  throw er;
51692
- return opts.statAsync(path8).then((st) => {
51692
+ return opts.statAsync(path9).then((st) => {
51693
51693
  if (st.isDirectory())
51694
51694
  return made;
51695
51695
  else
@@ -51699,12 +51699,12 @@ var require_mkdirp_manual = __commonJS({
51699
51699
  });
51700
51700
  });
51701
51701
  };
51702
- var mkdirpManualSync = (path8, opts, made) => {
51703
- const parent = dirname(path8);
51702
+ var mkdirpManualSync = (path9, opts, made) => {
51703
+ const parent = dirname(path9);
51704
51704
  opts.recursive = false;
51705
- if (parent === path8) {
51705
+ if (parent === path9) {
51706
51706
  try {
51707
- return opts.mkdirSync(path8, opts);
51707
+ return opts.mkdirSync(path9, opts);
51708
51708
  } catch (er) {
51709
51709
  if (er.code !== "EISDIR")
51710
51710
  throw er;
@@ -51713,15 +51713,15 @@ var require_mkdirp_manual = __commonJS({
51713
51713
  }
51714
51714
  }
51715
51715
  try {
51716
- opts.mkdirSync(path8, opts);
51717
- return made || path8;
51716
+ opts.mkdirSync(path9, opts);
51717
+ return made || path9;
51718
51718
  } catch (er) {
51719
51719
  if (er.code === "ENOENT")
51720
- return mkdirpManualSync(path8, opts, mkdirpManualSync(parent, opts, made));
51720
+ return mkdirpManualSync(path9, opts, mkdirpManualSync(parent, opts, made));
51721
51721
  if (er.code !== "EEXIST" && er.code !== "EROFS")
51722
51722
  throw er;
51723
51723
  try {
51724
- if (!opts.statSync(path8).isDirectory())
51724
+ if (!opts.statSync(path9).isDirectory())
51725
51725
  throw er;
51726
51726
  } catch (_) {
51727
51727
  throw er;
@@ -51736,30 +51736,30 @@ var require_mkdirp_native = __commonJS({
51736
51736
  var { dirname } = __require("path");
51737
51737
  var { findMade, findMadeSync } = require_find_made();
51738
51738
  var { mkdirpManual, mkdirpManualSync } = require_mkdirp_manual();
51739
- var mkdirpNative = (path8, opts) => {
51739
+ var mkdirpNative = (path9, opts) => {
51740
51740
  opts.recursive = true;
51741
- const parent = dirname(path8);
51742
- if (parent === path8)
51743
- return opts.mkdirAsync(path8, opts);
51744
- return findMade(opts, path8).then((made) => opts.mkdirAsync(path8, opts).then(() => made).catch((er) => {
51741
+ const parent = dirname(path9);
51742
+ if (parent === path9)
51743
+ return opts.mkdirAsync(path9, opts);
51744
+ return findMade(opts, path9).then((made) => opts.mkdirAsync(path9, opts).then(() => made).catch((er) => {
51745
51745
  if (er.code === "ENOENT")
51746
- return mkdirpManual(path8, opts);
51746
+ return mkdirpManual(path9, opts);
51747
51747
  else
51748
51748
  throw er;
51749
51749
  }));
51750
51750
  };
51751
- var mkdirpNativeSync = (path8, opts) => {
51751
+ var mkdirpNativeSync = (path9, opts) => {
51752
51752
  opts.recursive = true;
51753
- const parent = dirname(path8);
51754
- if (parent === path8)
51755
- return opts.mkdirSync(path8, opts);
51756
- const made = findMadeSync(opts, path8);
51753
+ const parent = dirname(path9);
51754
+ if (parent === path9)
51755
+ return opts.mkdirSync(path9, opts);
51756
+ const made = findMadeSync(opts, path9);
51757
51757
  try {
51758
- opts.mkdirSync(path8, opts);
51758
+ opts.mkdirSync(path9, opts);
51759
51759
  return made;
51760
51760
  } catch (er) {
51761
51761
  if (er.code === "ENOENT")
51762
- return mkdirpManualSync(path8, opts);
51762
+ return mkdirpManualSync(path9, opts);
51763
51763
  else
51764
51764
  throw er;
51765
51765
  }
@@ -51785,21 +51785,21 @@ var require_mkdirp = __commonJS({
51785
51785
  var { mkdirpNative, mkdirpNativeSync } = require_mkdirp_native();
51786
51786
  var { mkdirpManual, mkdirpManualSync } = require_mkdirp_manual();
51787
51787
  var { useNative, useNativeSync } = require_use_native();
51788
- var mkdirp = (path8, opts) => {
51789
- path8 = pathArg(path8);
51788
+ var mkdirp = (path9, opts) => {
51789
+ path9 = pathArg(path9);
51790
51790
  opts = optsArg(opts);
51791
- return useNative(opts) ? mkdirpNative(path8, opts) : mkdirpManual(path8, opts);
51791
+ return useNative(opts) ? mkdirpNative(path9, opts) : mkdirpManual(path9, opts);
51792
51792
  };
51793
- var mkdirpSync = (path8, opts) => {
51794
- path8 = pathArg(path8);
51793
+ var mkdirpSync = (path9, opts) => {
51794
+ path9 = pathArg(path9);
51795
51795
  opts = optsArg(opts);
51796
- return useNativeSync(opts) ? mkdirpNativeSync(path8, opts) : mkdirpManualSync(path8, opts);
51796
+ return useNativeSync(opts) ? mkdirpNativeSync(path9, opts) : mkdirpManualSync(path9, opts);
51797
51797
  };
51798
51798
  mkdirp.sync = mkdirpSync;
51799
- mkdirp.native = (path8, opts) => mkdirpNative(pathArg(path8), optsArg(opts));
51800
- mkdirp.manual = (path8, opts) => mkdirpManual(pathArg(path8), optsArg(opts));
51801
- mkdirp.nativeSync = (path8, opts) => mkdirpNativeSync(pathArg(path8), optsArg(opts));
51802
- mkdirp.manualSync = (path8, opts) => mkdirpManualSync(pathArg(path8), optsArg(opts));
51799
+ mkdirp.native = (path9, opts) => mkdirpNative(pathArg(path9), optsArg(opts));
51800
+ mkdirp.manual = (path9, opts) => mkdirpManual(pathArg(path9), optsArg(opts));
51801
+ mkdirp.nativeSync = (path9, opts) => mkdirpNativeSync(pathArg(path9), optsArg(opts));
51802
+ mkdirp.manualSync = (path9, opts) => mkdirpManualSync(pathArg(path9), optsArg(opts));
51803
51803
  module2.exports = mkdirp;
51804
51804
  }
51805
51805
  });
@@ -51807,46 +51807,46 @@ var require_chownr = __commonJS({
51807
51807
  "../../../../node_modules/.pnpm/chownr@2.0.0/node_modules/chownr/chownr.js"(exports, module2) {
51808
51808
  "use strict";
51809
51809
  var fs3 = __require("fs");
51810
- var path8 = __require("path");
51810
+ var path9 = __require("path");
51811
51811
  var LCHOWN = fs3.lchown ? "lchown" : "chown";
51812
51812
  var LCHOWNSYNC = fs3.lchownSync ? "lchownSync" : "chownSync";
51813
51813
  var needEISDIRHandled = fs3.lchown && !process.version.match(/v1[1-9]+\./) && !process.version.match(/v10\.[6-9]/);
51814
- var lchownSync = (path9, uid2, gid) => {
51814
+ var lchownSync = (path10, uid2, gid) => {
51815
51815
  try {
51816
- return fs3[LCHOWNSYNC](path9, uid2, gid);
51816
+ return fs3[LCHOWNSYNC](path10, uid2, gid);
51817
51817
  } catch (er) {
51818
51818
  if (er.code !== "ENOENT")
51819
51819
  throw er;
51820
51820
  }
51821
51821
  };
51822
- var chownSync = (path9, uid2, gid) => {
51822
+ var chownSync = (path10, uid2, gid) => {
51823
51823
  try {
51824
- return fs3.chownSync(path9, uid2, gid);
51824
+ return fs3.chownSync(path10, uid2, gid);
51825
51825
  } catch (er) {
51826
51826
  if (er.code !== "ENOENT")
51827
51827
  throw er;
51828
51828
  }
51829
51829
  };
51830
- var handleEISDIR = needEISDIRHandled ? (path9, uid2, gid, cb) => (er) => {
51830
+ var handleEISDIR = needEISDIRHandled ? (path10, uid2, gid, cb) => (er) => {
51831
51831
  if (!er || er.code !== "EISDIR")
51832
51832
  cb(er);
51833
51833
  else
51834
- fs3.chown(path9, uid2, gid, cb);
51834
+ fs3.chown(path10, uid2, gid, cb);
51835
51835
  } : (_, __, ___, cb) => cb;
51836
- var handleEISDirSync = needEISDIRHandled ? (path9, uid2, gid) => {
51836
+ var handleEISDirSync = needEISDIRHandled ? (path10, uid2, gid) => {
51837
51837
  try {
51838
- return lchownSync(path9, uid2, gid);
51838
+ return lchownSync(path10, uid2, gid);
51839
51839
  } catch (er) {
51840
51840
  if (er.code !== "EISDIR")
51841
51841
  throw er;
51842
- chownSync(path9, uid2, gid);
51842
+ chownSync(path10, uid2, gid);
51843
51843
  }
51844
- } : (path9, uid2, gid) => lchownSync(path9, uid2, gid);
51844
+ } : (path10, uid2, gid) => lchownSync(path10, uid2, gid);
51845
51845
  var nodeVersion = process.version;
51846
- var readdir = (path9, options, cb) => fs3.readdir(path9, options, cb);
51847
- var readdirSync = (path9, options) => fs3.readdirSync(path9, options);
51846
+ var readdir = (path10, options, cb) => fs3.readdir(path10, options, cb);
51847
+ var readdirSync = (path10, options) => fs3.readdirSync(path10, options);
51848
51848
  if (/^v4\./.test(nodeVersion))
51849
- readdir = (path9, options, cb) => fs3.readdir(path9, cb);
51849
+ readdir = (path10, options, cb) => fs3.readdir(path10, cb);
51850
51850
  var chown = (cpath, uid2, gid, cb) => {
51851
51851
  fs3[LCHOWN](cpath, uid2, gid, handleEISDIR(cpath, uid2, gid, (er) => {
51852
51852
  cb(er && er.code !== "ENOENT" ? er : null);
@@ -51854,21 +51854,21 @@ var require_chownr = __commonJS({
51854
51854
  };
51855
51855
  var chownrKid = (p, child, uid2, gid, cb) => {
51856
51856
  if (typeof child === "string")
51857
- return fs3.lstat(path8.resolve(p, child), (er, stats) => {
51857
+ return fs3.lstat(path9.resolve(p, child), (er, stats) => {
51858
51858
  if (er)
51859
51859
  return cb(er.code !== "ENOENT" ? er : null);
51860
51860
  stats.name = child;
51861
51861
  chownrKid(p, stats, uid2, gid, cb);
51862
51862
  });
51863
51863
  if (child.isDirectory()) {
51864
- chownr(path8.resolve(p, child.name), uid2, gid, (er) => {
51864
+ chownr(path9.resolve(p, child.name), uid2, gid, (er) => {
51865
51865
  if (er)
51866
51866
  return cb(er);
51867
- const cpath = path8.resolve(p, child.name);
51867
+ const cpath = path9.resolve(p, child.name);
51868
51868
  chown(cpath, uid2, gid, cb);
51869
51869
  });
51870
51870
  } else {
51871
- const cpath = path8.resolve(p, child.name);
51871
+ const cpath = path9.resolve(p, child.name);
51872
51872
  chown(cpath, uid2, gid, cb);
51873
51873
  }
51874
51874
  };
@@ -51898,7 +51898,7 @@ var require_chownr = __commonJS({
51898
51898
  var chownrKidSync = (p, child, uid2, gid) => {
51899
51899
  if (typeof child === "string") {
51900
51900
  try {
51901
- const stats = fs3.lstatSync(path8.resolve(p, child));
51901
+ const stats = fs3.lstatSync(path9.resolve(p, child));
51902
51902
  stats.name = child;
51903
51903
  child = stats;
51904
51904
  } catch (er) {
@@ -51909,8 +51909,8 @@ var require_chownr = __commonJS({
51909
51909
  }
51910
51910
  }
51911
51911
  if (child.isDirectory())
51912
- chownrSync(path8.resolve(p, child.name), uid2, gid);
51913
- handleEISDirSync(path8.resolve(p, child.name), uid2, gid);
51912
+ chownrSync(path9.resolve(p, child.name), uid2, gid);
51913
+ handleEISDirSync(path9.resolve(p, child.name), uid2, gid);
51914
51914
  };
51915
51915
  var chownrSync = (p, uid2, gid) => {
51916
51916
  let children;
@@ -51937,13 +51937,13 @@ var require_mkdir = __commonJS({
51937
51937
  "use strict";
51938
51938
  var mkdirp = require_mkdirp();
51939
51939
  var fs3 = __require("fs");
51940
- var path8 = __require("path");
51940
+ var path9 = __require("path");
51941
51941
  var chownr = require_chownr();
51942
51942
  var normPath = require_normalize_windows_path();
51943
51943
  var SymlinkError = class extends Error {
51944
- constructor(symlink, path9) {
51944
+ constructor(symlink, path10) {
51945
51945
  super("Cannot extract through symbolic link");
51946
- this.path = path9;
51946
+ this.path = path10;
51947
51947
  this.symlink = symlink;
51948
51948
  }
51949
51949
  get name() {
@@ -51951,9 +51951,9 @@ var require_mkdir = __commonJS({
51951
51951
  }
51952
51952
  };
51953
51953
  var CwdError = class extends Error {
51954
- constructor(path9, code) {
51955
- super(code + ": Cannot cd into '" + path9 + "'");
51956
- this.path = path9;
51954
+ constructor(path10, code) {
51955
+ super(code + ": Cannot cd into '" + path10 + "'");
51956
+ this.path = path10;
51957
51957
  this.code = code;
51958
51958
  }
51959
51959
  get name() {
@@ -52005,7 +52005,7 @@ var require_mkdir = __commonJS({
52005
52005
  if (preserve) {
52006
52006
  return mkdirp(dir, { mode }).then((made) => done(null, made), done);
52007
52007
  }
52008
- const sub = normPath(path8.relative(cwd, dir));
52008
+ const sub = normPath(path9.relative(cwd, dir));
52009
52009
  const parts = sub.split("/");
52010
52010
  mkdir_(cwd, parts, mode, cache, unlink, cwd, null, done);
52011
52011
  };
@@ -52014,7 +52014,7 @@ var require_mkdir = __commonJS({
52014
52014
  return cb(null, created);
52015
52015
  }
52016
52016
  const p = parts.shift();
52017
- const part = normPath(path8.resolve(base + "/" + p));
52017
+ const part = normPath(path9.resolve(base + "/" + p));
52018
52018
  if (cGet(cache, part)) {
52019
52019
  return mkdir_(part, parts, mode, cache, unlink, cwd, created, cb);
52020
52020
  }
@@ -52090,11 +52090,11 @@ var require_mkdir = __commonJS({
52090
52090
  if (preserve) {
52091
52091
  return done(mkdirp.sync(dir, mode));
52092
52092
  }
52093
- const sub = normPath(path8.relative(cwd, dir));
52093
+ const sub = normPath(path9.relative(cwd, dir));
52094
52094
  const parts = sub.split("/");
52095
52095
  let created = null;
52096
52096
  for (let p = parts.shift(), part = cwd; p && (part += "/" + p); p = parts.shift()) {
52097
- part = normPath(path8.resolve(part));
52097
+ part = normPath(path9.resolve(part));
52098
52098
  if (cGet(cache, part)) {
52099
52099
  continue;
52100
52100
  }
@@ -52145,12 +52145,12 @@ var require_path_reservations = __commonJS({
52145
52145
  module2.exports = () => {
52146
52146
  const queues = /* @__PURE__ */ new Map();
52147
52147
  const reservations = /* @__PURE__ */ new Map();
52148
- const getDirs = (path8) => {
52149
- const dirs = path8.split("/").slice(0, -1).reduce((set, path9) => {
52148
+ const getDirs = (path9) => {
52149
+ const dirs = path9.split("/").slice(0, -1).reduce((set, path10) => {
52150
52150
  if (set.length) {
52151
- path9 = join(set[set.length - 1], path9);
52151
+ path10 = join(set[set.length - 1], path10);
52152
52152
  }
52153
- set.push(path9 || "/");
52153
+ set.push(path10 || "/");
52154
52154
  return set;
52155
52155
  }, []);
52156
52156
  return dirs;
@@ -52162,8 +52162,8 @@ var require_path_reservations = __commonJS({
52162
52162
  throw new Error("function does not have any path reservations");
52163
52163
  }
52164
52164
  return {
52165
- paths: res.paths.map((path8) => queues.get(path8)),
52166
- dirs: [...res.dirs].map((path8) => queues.get(path8))
52165
+ paths: res.paths.map((path9) => queues.get(path9)),
52166
+ dirs: [...res.dirs].map((path9) => queues.get(path9))
52167
52167
  };
52168
52168
  };
52169
52169
  const check = (fn) => {
@@ -52184,11 +52184,11 @@ var require_path_reservations = __commonJS({
52184
52184
  }
52185
52185
  const { paths, dirs } = reservations.get(fn);
52186
52186
  const next = /* @__PURE__ */ new Set();
52187
- paths.forEach((path8) => {
52188
- const q = queues.get(path8);
52187
+ paths.forEach((path9) => {
52188
+ const q = queues.get(path9);
52189
52189
  assert.equal(q[0], fn);
52190
52190
  if (q.length === 1) {
52191
- queues.delete(path8);
52191
+ queues.delete(path9);
52192
52192
  } else {
52193
52193
  q.shift();
52194
52194
  if (typeof q[0] === "function") {
@@ -52219,13 +52219,13 @@ var require_path_reservations = __commonJS({
52219
52219
  return normalize(stripSlashes(join(p))).toLowerCase();
52220
52220
  });
52221
52221
  const dirs = new Set(
52222
- paths.map((path8) => getDirs(path8)).reduce((a, b) => a.concat(b))
52222
+ paths.map((path9) => getDirs(path9)).reduce((a, b) => a.concat(b))
52223
52223
  );
52224
52224
  reservations.set(fn, { dirs, paths });
52225
- paths.forEach((path8) => {
52226
- const q = queues.get(path8);
52225
+ paths.forEach((path9) => {
52226
+ const q = queues.get(path9);
52227
52227
  if (!q) {
52228
- queues.set(path8, [fn]);
52228
+ queues.set(path9, [fn]);
52229
52229
  } else {
52230
52230
  q.push(fn);
52231
52231
  }
@@ -52265,7 +52265,7 @@ var require_unpack = __commonJS({
52265
52265
  var Parser2 = require_parse2();
52266
52266
  var fs3 = __require("fs");
52267
52267
  var fsm = require_fs_minipass();
52268
- var path8 = __require("path");
52268
+ var path9 = __require("path");
52269
52269
  var mkdir = require_mkdir();
52270
52270
  var wc = require_winchars();
52271
52271
  var pathReservations = require_path_reservations();
@@ -52302,34 +52302,34 @@ var require_unpack = __commonJS({
52302
52302
  var getFlag = require_get_write_flag();
52303
52303
  var platform = process.env.TESTING_TAR_FAKE_PLATFORM || process.platform;
52304
52304
  var isWindows = platform === "win32";
52305
- var unlinkFile = (path9, cb) => {
52305
+ var unlinkFile = (path10, cb) => {
52306
52306
  if (!isWindows) {
52307
- return fs3.unlink(path9, cb);
52307
+ return fs3.unlink(path10, cb);
52308
52308
  }
52309
- const name = path9 + ".DELETE." + crypto.randomBytes(16).toString("hex");
52310
- fs3.rename(path9, name, (er) => {
52309
+ const name = path10 + ".DELETE." + crypto.randomBytes(16).toString("hex");
52310
+ fs3.rename(path10, name, (er) => {
52311
52311
  if (er) {
52312
52312
  return cb(er);
52313
52313
  }
52314
52314
  fs3.unlink(name, cb);
52315
52315
  });
52316
52316
  };
52317
- var unlinkFileSync = (path9) => {
52317
+ var unlinkFileSync = (path10) => {
52318
52318
  if (!isWindows) {
52319
- return fs3.unlinkSync(path9);
52319
+ return fs3.unlinkSync(path10);
52320
52320
  }
52321
- const name = path9 + ".DELETE." + crypto.randomBytes(16).toString("hex");
52322
- fs3.renameSync(path9, name);
52321
+ const name = path10 + ".DELETE." + crypto.randomBytes(16).toString("hex");
52322
+ fs3.renameSync(path10, name);
52323
52323
  fs3.unlinkSync(name);
52324
52324
  };
52325
52325
  var uint32 = (a, b, c) => a === a >>> 0 ? a : b === b >>> 0 ? b : c;
52326
- var cacheKeyNormalize = (path9) => normalize(stripSlash(normPath(path9))).toLowerCase();
52326
+ var cacheKeyNormalize = (path10) => normalize(stripSlash(normPath(path10))).toLowerCase();
52327
52327
  var pruneCache = (cache, abs) => {
52328
52328
  abs = cacheKeyNormalize(abs);
52329
- for (const path9 of cache.keys()) {
52330
- const pnorm = cacheKeyNormalize(path9);
52329
+ for (const path10 of cache.keys()) {
52330
+ const pnorm = cacheKeyNormalize(path10);
52331
52331
  if (pnorm === abs || pnorm.indexOf(abs + "/") === 0) {
52332
- cache.delete(path9);
52332
+ cache.delete(path10);
52333
52333
  }
52334
52334
  }
52335
52335
  };
@@ -52387,7 +52387,7 @@ var require_unpack = __commonJS({
52387
52387
  this.noMtime = !!opt.noMtime;
52388
52388
  this.preservePaths = !!opt.preservePaths;
52389
52389
  this.unlink = !!opt.unlink;
52390
- this.cwd = normPath(path8.resolve(opt.cwd || process.cwd()));
52390
+ this.cwd = normPath(path9.resolve(opt.cwd || process.cwd()));
52391
52391
  this.strip = +opt.strip || 0;
52392
52392
  this.processUmask = opt.noChmod ? 0 : process.umask();
52393
52393
  this.umask = typeof opt.umask === "number" ? opt.umask : this.processUmask;
@@ -52443,10 +52443,10 @@ var require_unpack = __commonJS({
52443
52443
  });
52444
52444
  }
52445
52445
  }
52446
- if (path8.isAbsolute(entry.path)) {
52447
- entry.absolute = normPath(path8.resolve(entry.path));
52446
+ if (path9.isAbsolute(entry.path)) {
52447
+ entry.absolute = normPath(path9.resolve(entry.path));
52448
52448
  } else {
52449
- entry.absolute = normPath(path8.resolve(this.cwd, entry.path));
52449
+ entry.absolute = normPath(path9.resolve(this.cwd, entry.path));
52450
52450
  }
52451
52451
  if (!this.preservePaths && entry.absolute.indexOf(this.cwd + "/") !== 0 && entry.absolute !== this.cwd) {
52452
52452
  this.warn("TAR_ENTRY_ERROR", "path escaped extraction target", {
@@ -52461,9 +52461,9 @@ var require_unpack = __commonJS({
52461
52461
  return false;
52462
52462
  }
52463
52463
  if (this.win32) {
52464
- const { root: aRoot } = path8.win32.parse(entry.absolute);
52464
+ const { root: aRoot } = path9.win32.parse(entry.absolute);
52465
52465
  entry.absolute = aRoot + wc.encode(entry.absolute.slice(aRoot.length));
52466
- const { root: pRoot } = path8.win32.parse(entry.path);
52466
+ const { root: pRoot } = path9.win32.parse(entry.path);
52467
52467
  entry.path = pRoot + wc.encode(entry.path.slice(pRoot.length));
52468
52468
  }
52469
52469
  return true;
@@ -52630,7 +52630,7 @@ var require_unpack = __commonJS({
52630
52630
  this[LINK](entry, entry.linkpath, "symlink", done);
52631
52631
  }
52632
52632
  [HARDLINK](entry, done) {
52633
- const linkpath = normPath(path8.resolve(this.cwd, entry.linkpath));
52633
+ const linkpath = normPath(path9.resolve(this.cwd, entry.linkpath));
52634
52634
  this[LINK](entry, linkpath, "link", done);
52635
52635
  }
52636
52636
  [PEND]() {
@@ -52681,7 +52681,7 @@ var require_unpack = __commonJS({
52681
52681
  };
52682
52682
  const start = () => {
52683
52683
  if (entry.absolute !== this.cwd) {
52684
- const parent = normPath(path8.dirname(entry.absolute));
52684
+ const parent = normPath(path9.dirname(entry.absolute));
52685
52685
  if (parent !== this.cwd) {
52686
52686
  return this[MKDIR](parent, this.dmode, (er) => {
52687
52687
  if (er) {
@@ -52784,7 +52784,7 @@ var require_unpack = __commonJS({
52784
52784
  this[CHECKED_CWD] = true;
52785
52785
  }
52786
52786
  if (entry.absolute !== this.cwd) {
52787
- const parent = normPath(path8.dirname(entry.absolute));
52787
+ const parent = normPath(path9.dirname(entry.absolute));
52788
52788
  if (parent !== this.cwd) {
52789
52789
  const mkParent = this[MKDIR](parent, this.dmode);
52790
52790
  if (mkParent) {
@@ -52938,7 +52938,7 @@ var require_extract = __commonJS({
52938
52938
  var Unpack = require_unpack();
52939
52939
  var fs3 = __require("fs");
52940
52940
  var fsm = require_fs_minipass();
52941
- var path8 = __require("path");
52941
+ var path9 = __require("path");
52942
52942
  var stripSlash = require_strip_trailing_slashes();
52943
52943
  module2.exports = (opt_, files, cb) => {
52944
52944
  if (typeof opt_ === "function") {
@@ -52970,8 +52970,8 @@ var require_extract = __commonJS({
52970
52970
  const map2 = new Map(files.map((f) => [stripSlash(f), true]));
52971
52971
  const filter = opt.filter;
52972
52972
  const mapHas = (file, r) => {
52973
- const root = r || path8.parse(file).root || ".";
52974
- const ret = file === root ? false : map2.has(file) ? map2.get(file) : mapHas(path8.dirname(file), root);
52973
+ const root = r || path9.parse(file).root || ".";
52974
+ const ret = file === root ? false : map2.has(file) ? map2.get(file) : mapHas(path9.dirname(file), root);
52975
52975
  map2.set(file, ret);
52976
52976
  return ret;
52977
52977
  };
@@ -54656,11 +54656,11 @@ var require_ast = __commonJS({
54656
54656
  helperExpression: function helperExpression(node) {
54657
54657
  return node.type === "SubExpression" || (node.type === "MustacheStatement" || node.type === "BlockStatement") && !!(node.params && node.params.length || node.hash);
54658
54658
  },
54659
- scopedId: function scopedId(path8) {
54660
- return /^\.|this\b/.test(path8.original);
54659
+ scopedId: function scopedId(path9) {
54660
+ return /^\.|this\b/.test(path9.original);
54661
54661
  },
54662
- simpleId: function simpleId(path8) {
54663
- return path8.parts.length === 1 && !AST.helpers.scopedId(path8) && !path8.depth;
54662
+ simpleId: function simpleId(path9) {
54663
+ return path9.parts.length === 1 && !AST.helpers.scopedId(path9) && !path9.depth;
54664
54664
  }
54665
54665
  }
54666
54666
  };
@@ -55729,12 +55729,12 @@ var require_helpers2 = __commonJS({
55729
55729
  loc
55730
55730
  };
55731
55731
  }
55732
- function prepareMustache(path8, params, hash, open, strip, locInfo) {
55732
+ function prepareMustache(path9, params, hash, open, strip, locInfo) {
55733
55733
  var escapeFlag = open.charAt(3) || open.charAt(2), escaped = escapeFlag !== "{" && escapeFlag !== "&";
55734
55734
  var decorator = /\*/.test(open);
55735
55735
  return {
55736
55736
  type: decorator ? "Decorator" : "MustacheStatement",
55737
- path: path8,
55737
+ path: path9,
55738
55738
  params,
55739
55739
  hash,
55740
55740
  escaped,
@@ -56001,9 +56001,9 @@ var require_compiler = __commonJS({
56001
56001
  },
56002
56002
  DecoratorBlock: function DecoratorBlock(decorator) {
56003
56003
  var program = decorator.program && this.compileProgram(decorator.program);
56004
- var params = this.setupFullMustacheParams(decorator, program, void 0), path8 = decorator.path;
56004
+ var params = this.setupFullMustacheParams(decorator, program, void 0), path9 = decorator.path;
56005
56005
  this.useDecorators = true;
56006
- this.opcode("registerDecorator", params.length, path8.original);
56006
+ this.opcode("registerDecorator", params.length, path9.original);
56007
56007
  },
56008
56008
  PartialStatement: function PartialStatement(partial) {
56009
56009
  this.usePartial = true;
@@ -56067,46 +56067,46 @@ var require_compiler = __commonJS({
56067
56067
  }
56068
56068
  },
56069
56069
  ambiguousSexpr: function ambiguousSexpr(sexpr, program, inverse) {
56070
- var path8 = sexpr.path, name = path8.parts[0], isBlock = program != null || inverse != null;
56071
- this.opcode("getContext", path8.depth);
56070
+ var path9 = sexpr.path, name = path9.parts[0], isBlock = program != null || inverse != null;
56071
+ this.opcode("getContext", path9.depth);
56072
56072
  this.opcode("pushProgram", program);
56073
56073
  this.opcode("pushProgram", inverse);
56074
- path8.strict = true;
56075
- this.accept(path8);
56074
+ path9.strict = true;
56075
+ this.accept(path9);
56076
56076
  this.opcode("invokeAmbiguous", name, isBlock);
56077
56077
  },
56078
56078
  simpleSexpr: function simpleSexpr(sexpr) {
56079
- var path8 = sexpr.path;
56080
- path8.strict = true;
56081
- this.accept(path8);
56079
+ var path9 = sexpr.path;
56080
+ path9.strict = true;
56081
+ this.accept(path9);
56082
56082
  this.opcode("resolvePossibleLambda");
56083
56083
  },
56084
56084
  helperSexpr: function helperSexpr(sexpr, program, inverse) {
56085
- var params = this.setupFullMustacheParams(sexpr, program, inverse), path8 = sexpr.path, name = path8.parts[0];
56085
+ var params = this.setupFullMustacheParams(sexpr, program, inverse), path9 = sexpr.path, name = path9.parts[0];
56086
56086
  if (this.options.knownHelpers[name]) {
56087
56087
  this.opcode("invokeKnownHelper", params.length, name);
56088
56088
  } else if (this.options.knownHelpersOnly) {
56089
56089
  throw new _exception2["default"]("You specified knownHelpersOnly, but used the unknown helper " + name, sexpr);
56090
56090
  } else {
56091
- path8.strict = true;
56092
- path8.falsy = true;
56093
- this.accept(path8);
56094
- this.opcode("invokeHelper", params.length, path8.original, _ast2["default"].helpers.simpleId(path8));
56091
+ path9.strict = true;
56092
+ path9.falsy = true;
56093
+ this.accept(path9);
56094
+ this.opcode("invokeHelper", params.length, path9.original, _ast2["default"].helpers.simpleId(path9));
56095
56095
  }
56096
56096
  },
56097
- PathExpression: function PathExpression(path8) {
56098
- this.addDepth(path8.depth);
56099
- this.opcode("getContext", path8.depth);
56100
- var name = path8.parts[0], scoped = _ast2["default"].helpers.scopedId(path8), blockParamId = !path8.depth && !scoped && this.blockParamIndex(name);
56097
+ PathExpression: function PathExpression(path9) {
56098
+ this.addDepth(path9.depth);
56099
+ this.opcode("getContext", path9.depth);
56100
+ var name = path9.parts[0], scoped = _ast2["default"].helpers.scopedId(path9), blockParamId = !path9.depth && !scoped && this.blockParamIndex(name);
56101
56101
  if (blockParamId) {
56102
- this.opcode("lookupBlockParam", blockParamId, path8.parts);
56102
+ this.opcode("lookupBlockParam", blockParamId, path9.parts);
56103
56103
  } else if (!name) {
56104
56104
  this.opcode("pushContext");
56105
- } else if (path8.data) {
56105
+ } else if (path9.data) {
56106
56106
  this.options.data = true;
56107
- this.opcode("lookupData", path8.depth, path8.parts, path8.strict);
56107
+ this.opcode("lookupData", path9.depth, path9.parts, path9.strict);
56108
56108
  } else {
56109
- this.opcode("lookupOnContext", path8.parts, path8.falsy, path8.strict, scoped);
56109
+ this.opcode("lookupOnContext", path9.parts, path9.falsy, path9.strict, scoped);
56110
56110
  }
56111
56111
  },
56112
56112
  StringLiteral: function StringLiteral(string) {
@@ -56450,16 +56450,16 @@ var require_util2 = __commonJS({
56450
56450
  }
56451
56451
  exports.urlGenerate = urlGenerate;
56452
56452
  function normalize(aPath) {
56453
- var path8 = aPath;
56453
+ var path9 = aPath;
56454
56454
  var url = urlParse(aPath);
56455
56455
  if (url) {
56456
56456
  if (!url.path) {
56457
56457
  return aPath;
56458
56458
  }
56459
- path8 = url.path;
56459
+ path9 = url.path;
56460
56460
  }
56461
- var isAbsolute = exports.isAbsolute(path8);
56462
- var parts = path8.split(/\/+/);
56461
+ var isAbsolute = exports.isAbsolute(path9);
56462
+ var parts = path9.split(/\/+/);
56463
56463
  for (var part, up = 0, i = parts.length - 1; i >= 0; i--) {
56464
56464
  part = parts[i];
56465
56465
  if (part === ".") {
@@ -56476,15 +56476,15 @@ var require_util2 = __commonJS({
56476
56476
  }
56477
56477
  }
56478
56478
  }
56479
- path8 = parts.join("/");
56480
- if (path8 === "") {
56481
- path8 = isAbsolute ? "/" : ".";
56479
+ path9 = parts.join("/");
56480
+ if (path9 === "") {
56481
+ path9 = isAbsolute ? "/" : ".";
56482
56482
  }
56483
56483
  if (url) {
56484
- url.path = path8;
56484
+ url.path = path9;
56485
56485
  return urlGenerate(url);
56486
56486
  }
56487
- return path8;
56487
+ return path9;
56488
56488
  }
56489
56489
  exports.normalize = normalize;
56490
56490
  function join(aRoot, aPath) {
@@ -58101,7 +58101,7 @@ var require_code_gen = __commonJS({
58101
58101
  push: function push(source, loc) {
58102
58102
  this.source.push(this.wrap(source, loc));
58103
58103
  },
58104
- merge: function merge6() {
58104
+ merge: function merge8() {
58105
58105
  var source = this.empty();
58106
58106
  this.each(function(line) {
58107
58107
  source.add([" ", line, "\n"]);
@@ -59082,8 +59082,8 @@ var require_printer = __commonJS({
59082
59082
  return this.accept(sexpr.path) + " " + params + hash;
59083
59083
  };
59084
59084
  PrintVisitor.prototype.PathExpression = function(id) {
59085
- var path8 = id.parts.join("/");
59086
- return (id.data ? "@" : "") + "PATH:" + path8;
59085
+ var path9 = id.parts.join("/");
59086
+ return (id.data ? "@" : "") + "PATH:" + path9;
59087
59087
  };
59088
59088
  PrintVisitor.prototype.StringLiteral = function(string) {
59089
59089
  return '"' + string.value + '"';
@@ -59416,7 +59416,7 @@ var require_ejs = __commonJS({
59416
59416
  "../../../../node_modules/.pnpm/ejs@3.1.8/node_modules/ejs/lib/ejs.js"(exports) {
59417
59417
  "use strict";
59418
59418
  var fs3 = __require("fs");
59419
- var path8 = __require("path");
59419
+ var path9 = __require("path");
59420
59420
  var utils = require_utils7();
59421
59421
  var scopeOptionWarned = false;
59422
59422
  var _VERSION_STRING = require_package3().version;
@@ -59447,9 +59447,9 @@ var require_ejs = __commonJS({
59447
59447
  exports.localsName = _DEFAULT_LOCALS_NAME;
59448
59448
  exports.promiseImpl = new Function("return this;")().Promise;
59449
59449
  exports.resolveInclude = function(name, filename, isDir) {
59450
- var dirname = path8.dirname;
59451
- var extname = path8.extname;
59452
- var resolve = path8.resolve;
59450
+ var dirname = path9.dirname;
59451
+ var extname = path9.extname;
59452
+ var resolve = path9.resolve;
59453
59453
  var includePath = resolve(isDir ? filename : dirname(filename), name);
59454
59454
  var ext = extname(name);
59455
59455
  if (!ext) {
@@ -59466,30 +59466,30 @@ var require_ejs = __commonJS({
59466
59466
  return filePath;
59467
59467
  }
59468
59468
  }
59469
- function getIncludePath(path9, options) {
59469
+ function getIncludePath(path10, options) {
59470
59470
  var includePath;
59471
59471
  var filePath;
59472
59472
  var views = options.views;
59473
- var match = /^[A-Za-z]+:\\|^\//.exec(path9);
59473
+ var match = /^[A-Za-z]+:\\|^\//.exec(path10);
59474
59474
  if (match && match.length) {
59475
- path9 = path9.replace(/^\/*/, "");
59475
+ path10 = path10.replace(/^\/*/, "");
59476
59476
  if (Array.isArray(options.root)) {
59477
- includePath = resolvePaths(path9, options.root);
59477
+ includePath = resolvePaths(path10, options.root);
59478
59478
  } else {
59479
- includePath = exports.resolveInclude(path9, options.root || "/", true);
59479
+ includePath = exports.resolveInclude(path10, options.root || "/", true);
59480
59480
  }
59481
59481
  } else {
59482
59482
  if (options.filename) {
59483
- filePath = exports.resolveInclude(path9, options.filename);
59483
+ filePath = exports.resolveInclude(path10, options.filename);
59484
59484
  if (fs3.existsSync(filePath)) {
59485
59485
  includePath = filePath;
59486
59486
  }
59487
59487
  }
59488
59488
  if (!includePath && Array.isArray(views)) {
59489
- includePath = resolvePaths(path9, views);
59489
+ includePath = resolvePaths(path10, views);
59490
59490
  }
59491
59491
  if (!includePath && typeof options.includer !== "function") {
59492
- throw new Error('Could not find the include file "' + options.escapeFunction(path9) + '"');
59492
+ throw new Error('Could not find the include file "' + options.escapeFunction(path10) + '"');
59493
59493
  }
59494
59494
  }
59495
59495
  return includePath;
@@ -59548,11 +59548,11 @@ var require_ejs = __commonJS({
59548
59548
  function fileLoader(filePath) {
59549
59549
  return exports.fileLoader(filePath);
59550
59550
  }
59551
- function includeFile(path9, options) {
59551
+ function includeFile(path10, options) {
59552
59552
  var opts = utils.shallowCopy(utils.createNullProtoObjWherePossible(), options);
59553
- opts.filename = getIncludePath(path9, opts);
59553
+ opts.filename = getIncludePath(path10, opts);
59554
59554
  if (typeof options.includer === "function") {
59555
- var includerResult = options.includer(path9, opts.filename);
59555
+ var includerResult = options.includer(path10, opts.filename);
59556
59556
  if (includerResult) {
59557
59557
  if (includerResult.filename) {
59558
59558
  opts.filename = includerResult.filename;
@@ -59787,12 +59787,12 @@ var require_ejs = __commonJS({
59787
59787
  throw e;
59788
59788
  }
59789
59789
  var returnedFn = opts.client ? fn : function anonymous(data) {
59790
- var include = function(path9, includeData) {
59790
+ var include = function(path10, includeData) {
59791
59791
  var d = utils.shallowCopy(utils.createNullProtoObjWherePossible(), data);
59792
59792
  if (includeData) {
59793
59793
  d = utils.shallowCopy(d, includeData);
59794
59794
  }
59795
- return includeFile(path9, opts)(d);
59795
+ return includeFile(path10, opts)(d);
59796
59796
  };
59797
59797
  return fn.apply(
59798
59798
  opts.context,
@@ -59801,7 +59801,7 @@ var require_ejs = __commonJS({
59801
59801
  };
59802
59802
  if (opts.filename && typeof Object.defineProperty === "function") {
59803
59803
  var filename = opts.filename;
59804
- var basename = path8.basename(filename, path8.extname(filename));
59804
+ var basename = path9.basename(filename, path9.extname(filename));
59805
59805
  try {
59806
59806
  Object.defineProperty(returnedFn, "name", {
59807
59807
  value: basename,
@@ -61134,8 +61134,8 @@ var init_destructor = __esm({
61134
61134
  };
61135
61135
  setInByDestructor = function(source, rules, value, mutators) {
61136
61136
  rules.forEach(function(_a2) {
61137
- var key = _a2.key, path8 = _a2.path;
61138
- mutators.setIn([key], source, mutators.getIn(path8, value));
61137
+ var key = _a2.key, path9 = _a2.path;
61138
+ mutators.setIn([key], source, mutators.getIn(path9, value));
61139
61139
  });
61140
61140
  };
61141
61141
  getInByDestructor = function(source, rules, mutators) {
@@ -61147,8 +61147,8 @@ var init_destructor = __esm({
61147
61147
  }
61148
61148
  source = isValid2(source) ? source : {};
61149
61149
  rules.forEach(function(_a2) {
61150
- var key = _a2.key, path8 = _a2.path;
61151
- mutators.setIn(path8, response, source[key]);
61150
+ var key = _a2.key, path9 = _a2.path;
61151
+ mutators.setIn(path9, response, source[key]);
61152
61152
  });
61153
61153
  return response;
61154
61154
  };
@@ -61723,8 +61723,8 @@ var init_matcher = __esm({
61723
61723
  }
61724
61724
  return false;
61725
61725
  };
61726
- Matcher2.prototype.match = function(path8) {
61727
- this.path = path8;
61726
+ Matcher2.prototype.match = function(path9) {
61727
+ this.path = path9;
61728
61728
  return { matched: this.matchNode(this.tree), record: this.record };
61729
61729
  };
61730
61730
  Matcher2.matchSegments = function(source, target, record) {
@@ -62018,21 +62018,21 @@ var init_esm = __esm({
62018
62018
  if (_this.isMatchPattern || _this.isRegExp) {
62019
62019
  throw new Error("".concat(_this.entire, " cannot be concat"));
62020
62020
  }
62021
- var path8 = new Path2("");
62022
- path8.segments = (_a3 = _this.segments).concat.apply(_a3, __spreadArray([], __read(args.map(function(s) {
62021
+ var path9 = new Path2("");
62022
+ path9.segments = (_a3 = _this.segments).concat.apply(_a3, __spreadArray([], __read(args.map(function(s) {
62023
62023
  return parseString(s);
62024
62024
  })), false));
62025
- path8.entire = path8.segments.join(".");
62026
- return path8;
62025
+ path9.entire = path9.segments.join(".");
62026
+ return path9;
62027
62027
  };
62028
62028
  this.slice = function(start, end) {
62029
62029
  if (_this.isMatchPattern || _this.isRegExp) {
62030
62030
  throw new Error("".concat(_this.entire, " cannot be slice"));
62031
62031
  }
62032
- var path8 = new Path2("");
62033
- path8.segments = _this.segments.slice(start, end);
62034
- path8.entire = path8.segments.join(".");
62035
- return path8;
62032
+ var path9 = new Path2("");
62033
+ path9.segments = _this.segments.slice(start, end);
62034
+ path9.entire = path9.segments.join(".");
62035
+ return path9;
62036
62036
  };
62037
62037
  this.push = function() {
62038
62038
  var items = [];
@@ -62124,8 +62124,8 @@ var init_esm = __esm({
62124
62124
  };
62125
62125
  this.match = function(pattern) {
62126
62126
  var _a3, _b;
62127
- var path8 = Path2.parse(pattern);
62128
- var cache = _this.matchCache.get(path8.entire);
62127
+ var path9 = Path2.parse(pattern);
62128
+ var cache = _this.matchCache.get(path9.entire);
62129
62129
  if (cache !== void 0) {
62130
62130
  if (cache.record && cache.record.score !== void 0) {
62131
62131
  _this.matchScore = cache.record.score;
@@ -62133,21 +62133,21 @@ var init_esm = __esm({
62133
62133
  return cache.matched;
62134
62134
  }
62135
62135
  var cacheWith = function(value) {
62136
- _this.matchCache.set(path8.entire, value);
62136
+ _this.matchCache.set(path9.entire, value);
62137
62137
  return value;
62138
62138
  };
62139
- if (path8.isMatchPattern) {
62139
+ if (path9.isMatchPattern) {
62140
62140
  if (_this.isMatchPattern) {
62141
- throw new Error("".concat(path8.entire, " cannot match ").concat(_this.entire));
62141
+ throw new Error("".concat(path9.entire, " cannot match ").concat(_this.entire));
62142
62142
  } else {
62143
62143
  _this.matchScore = 0;
62144
- return cacheWith(path8.match(_this.segments));
62144
+ return cacheWith(path9.match(_this.segments));
62145
62145
  }
62146
62146
  } else {
62147
62147
  if (_this.isMatchPattern) {
62148
62148
  if (_this.isRegExp) {
62149
62149
  try {
62150
- return (_b = (_a3 = _this["entire"]) === null || _a3 === void 0 ? void 0 : _a3["test"]) === null || _b === void 0 ? void 0 : _b.call(_a3, path8.entire);
62150
+ return (_b = (_a3 = _this["entire"]) === null || _a3 === void 0 ? void 0 : _a3["test"]) === null || _b === void 0 ? void 0 : _b.call(_a3, path9.entire);
62151
62151
  } finally {
62152
62152
  ;
62153
62153
  _this.entire.lastIndex = 0;
@@ -62156,14 +62156,14 @@ var init_esm = __esm({
62156
62156
  var record = {
62157
62157
  score: 0
62158
62158
  };
62159
- var result = cacheWith(new Matcher(_this.tree, record).match(path8.segments));
62159
+ var result = cacheWith(new Matcher(_this.tree, record).match(path9.segments));
62160
62160
  _this.matchScore = record.score;
62161
62161
  return result.matched;
62162
62162
  } else {
62163
62163
  var record = {
62164
62164
  score: 0
62165
62165
  };
62166
- var result = cacheWith(Matcher.matchSegments(_this.segments, path8.segments, record));
62166
+ var result = cacheWith(Matcher.matchSegments(_this.segments, path9.segments, record));
62167
62167
  _this.matchScore = record.score;
62168
62168
  return result.matched;
62169
62169
  }
@@ -62239,12 +62239,12 @@ var init_esm = __esm({
62239
62239
  configurable: true
62240
62240
  });
62241
62241
  Path2.match = function(pattern) {
62242
- var path8 = Path2.parse(pattern);
62242
+ var path9 = Path2.parse(pattern);
62243
62243
  var matcher = function(target) {
62244
- return path8.match(target);
62244
+ return path9.match(target);
62245
62245
  };
62246
62246
  matcher[isMatcher] = true;
62247
- matcher.path = path8;
62247
+ matcher.path = path9;
62248
62248
  return matcher;
62249
62249
  };
62250
62250
  Path2.isPathPattern = function(target) {
@@ -62253,52 +62253,52 @@ var init_esm = __esm({
62253
62253
  Path2.transform = function(pattern, regexp, callback) {
62254
62254
  return Path2.parse(pattern).transform(regexp, callback);
62255
62255
  };
62256
- Path2.parse = function(path8, base) {
62257
- if (path8 === void 0) {
62258
- path8 = "";
62256
+ Path2.parse = function(path9, base) {
62257
+ if (path9 === void 0) {
62258
+ path9 = "";
62259
62259
  }
62260
- if (path8 instanceof Path2) {
62261
- var found = pathCache.get(path8.entire);
62260
+ if (path9 instanceof Path2) {
62261
+ var found = pathCache.get(path9.entire);
62262
62262
  if (found) {
62263
62263
  return found;
62264
62264
  } else {
62265
- pathCache.set(path8.entire, path8);
62266
- return path8;
62265
+ pathCache.set(path9.entire, path9);
62266
+ return path9;
62267
62267
  }
62268
- } else if (path8 && path8[isMatcher]) {
62269
- return Path2.parse(path8["path"]);
62268
+ } else if (path9 && path9[isMatcher]) {
62269
+ return Path2.parse(path9["path"]);
62270
62270
  } else {
62271
62271
  var key_ = base ? Path2.parse(base) : "";
62272
- var key = "".concat(path8, ":").concat(key_);
62272
+ var key = "".concat(path9, ":").concat(key_);
62273
62273
  var found = pathCache.get(key);
62274
62274
  if (found) {
62275
62275
  return found;
62276
62276
  } else {
62277
- path8 = new Path2(path8, base);
62278
- pathCache.set(key, path8);
62279
- return path8;
62277
+ path9 = new Path2(path9, base);
62278
+ pathCache.set(key, path9);
62279
+ return path9;
62280
62280
  }
62281
62281
  }
62282
62282
  };
62283
62283
  Path2.getIn = function(source, pattern) {
62284
- var path8 = Path2.parse(pattern);
62285
- return path8.getIn(source);
62284
+ var path9 = Path2.parse(pattern);
62285
+ return path9.getIn(source);
62286
62286
  };
62287
62287
  Path2.setIn = function(source, pattern, value) {
62288
- var path8 = Path2.parse(pattern);
62289
- return path8.setIn(source, value);
62288
+ var path9 = Path2.parse(pattern);
62289
+ return path9.setIn(source, value);
62290
62290
  };
62291
62291
  Path2.deleteIn = function(source, pattern) {
62292
- var path8 = Path2.parse(pattern);
62293
- return path8.deleteIn(source);
62292
+ var path9 = Path2.parse(pattern);
62293
+ return path9.deleteIn(source);
62294
62294
  };
62295
62295
  Path2.existIn = function(source, pattern, start) {
62296
- var path8 = Path2.parse(pattern);
62297
- return path8.existIn(source, start);
62296
+ var path9 = Path2.parse(pattern);
62297
+ return path9.existIn(source, start);
62298
62298
  };
62299
62299
  Path2.ensureIn = function(source, pattern, defaultValue) {
62300
- var path8 = Path2.parse(pattern);
62301
- return path8.ensureIn(source, defaultValue);
62300
+ var path9 = Path2.parse(pattern);
62301
+ return path9.ensureIn(source, defaultValue);
62302
62302
  };
62303
62303
  return Path2;
62304
62304
  }();
@@ -64262,9 +64262,9 @@ var init_shared2 = __esm({
64262
64262
  traverse = function(target, visitor) {
64263
64263
  var seenObjects = [];
64264
64264
  var root = target;
64265
- var traverse2 = function(target2, path8) {
64266
- if (path8 === void 0) {
64267
- path8 = [];
64265
+ var traverse2 = function(target2, path9) {
64266
+ if (path9 === void 0) {
64267
+ path9 = [];
64268
64268
  }
64269
64269
  if (isPlainObj(target2)) {
64270
64270
  var seenIndex = seenObjects.indexOf(target2);
@@ -64274,15 +64274,15 @@ var init_shared2 = __esm({
64274
64274
  var addIndex = seenObjects.length;
64275
64275
  seenObjects.push(target2);
64276
64276
  if (isNoNeedCompileObject(target2) && root !== target2) {
64277
- visitor(target2, path8);
64277
+ visitor(target2, path9);
64278
64278
  return;
64279
64279
  }
64280
64280
  each(target2, function(value, key) {
64281
- traverse2(value, path8.concat(key));
64281
+ traverse2(value, path9.concat(key));
64282
64282
  });
64283
64283
  seenObjects.splice(addIndex, 1);
64284
64284
  } else {
64285
- visitor(target2, path8);
64285
+ visitor(target2, path9);
64286
64286
  }
64287
64287
  };
64288
64288
  traverse2(target);
@@ -64293,24 +64293,24 @@ var init_shared2 = __esm({
64293
64293
  }
64294
64294
  var seenObjects = [];
64295
64295
  var root = schema;
64296
- var traverse2 = function(target, path8) {
64296
+ var traverse2 = function(target, path9) {
64297
64297
  var _a2;
64298
- if (path8 === void 0) {
64299
- path8 = [];
64298
+ if (path9 === void 0) {
64299
+ path9 = [];
64300
64300
  }
64301
- if (path8[0] === "x-compile-omitted" || path8[0] === "x-validator" || path8[0] === "version" || path8[0] === "_isJSONSchemaObject")
64301
+ if (path9[0] === "x-compile-omitted" || path9[0] === "x-validator" || path9[0] === "version" || path9[0] === "_isJSONSchemaObject")
64302
64302
  return;
64303
- if (String(path8[0]).indexOf("x-") == -1 && isFn(target))
64303
+ if (String(path9[0]).indexOf("x-") == -1 && isFn(target))
64304
64304
  return;
64305
- if (SchemaNestedMap[path8[0]])
64305
+ if (SchemaNestedMap[path9[0]])
64306
64306
  return;
64307
- if (((_a2 = schema["x-compile-omitted"]) === null || _a2 === void 0 ? void 0 : _a2.indexOf(path8[0])) > -1) {
64308
- visitor(target, path8, true);
64307
+ if (((_a2 = schema["x-compile-omitted"]) === null || _a2 === void 0 ? void 0 : _a2.indexOf(path9[0])) > -1) {
64308
+ visitor(target, path9, true);
64309
64309
  return;
64310
64310
  }
64311
64311
  if (isPlainObj(target)) {
64312
- if (path8[0] === "default" || path8[0] === "x-value") {
64313
- visitor(target, path8);
64312
+ if (path9[0] === "default" || path9[0] === "x-value") {
64313
+ visitor(target, path9);
64314
64314
  return;
64315
64315
  }
64316
64316
  var seenIndex = seenObjects.indexOf(target);
@@ -64320,15 +64320,15 @@ var init_shared2 = __esm({
64320
64320
  var addIndex = seenObjects.length;
64321
64321
  seenObjects.push(target);
64322
64322
  if (isNoNeedCompileObject(target) && root !== target) {
64323
- visitor(target, path8);
64323
+ visitor(target, path9);
64324
64324
  return;
64325
64325
  }
64326
64326
  each(target, function(value, key) {
64327
- traverse2(value, path8.concat(key));
64327
+ traverse2(value, path9.concat(key));
64328
64328
  });
64329
64329
  seenObjects.splice(addIndex, 1);
64330
64330
  } else {
64331
- visitor(target, path8);
64331
+ visitor(target, path9);
64332
64332
  }
64333
64333
  };
64334
64334
  traverse2(schema);
@@ -64372,8 +64372,8 @@ var init_shared2 = __esm({
64372
64372
  patchStateFormSchema = function(targetState, pattern, compiled) {
64373
64373
  untracked(function() {
64374
64374
  var _a2;
64375
- var path8 = Path.parse(pattern);
64376
- var segments = path8.segments;
64375
+ var path9 = Path.parse(pattern);
64376
+ var segments = path9.segments;
64377
64377
  var key = segments[0];
64378
64378
  var isEnum = key === "enum" && isArr(compiled);
64379
64379
  var schemaMapKey = SchemaStateMap[key];
@@ -64463,14 +64463,14 @@ var init_compiler = __esm({
64463
64463
  };
64464
64464
  patchCompile = function(targetState, sourceState, scope) {
64465
64465
  traverse(sourceState, function(value, pattern) {
64466
- var path8 = Path.parse(pattern);
64466
+ var path9 = Path.parse(pattern);
64467
64467
  var compiled = compile(value, scope);
64468
- var key = path8.segments[0];
64468
+ var key = path9.segments[0];
64469
64469
  if (compiled === void 0)
64470
64470
  return;
64471
64471
  if (hasOwnProperty4.call(targetState, key)) {
64472
64472
  untracked(function() {
64473
- return Path.setIn(targetState, path8, compiled);
64473
+ return Path.setIn(targetState, path9, compiled);
64474
64474
  });
64475
64475
  }
64476
64476
  });
@@ -64479,7 +64479,7 @@ var init_compiler = __esm({
64479
64479
  if (demand === void 0) {
64480
64480
  demand = false;
64481
64481
  }
64482
- traverseSchema(sourceSchema, function(value, path8, omitCompile) {
64482
+ traverseSchema(sourceSchema, function(value, path9, omitCompile) {
64483
64483
  var compiled = value;
64484
64484
  var collected = hasCollected(function() {
64485
64485
  if (!omitCompile) {
@@ -64490,10 +64490,10 @@ var init_compiler = __esm({
64490
64490
  return;
64491
64491
  if (demand) {
64492
64492
  if (collected || !targetState.initialized) {
64493
- patchStateFormSchema(targetState, path8, compiled);
64493
+ patchStateFormSchema(targetState, path9, compiled);
64494
64494
  }
64495
64495
  } else {
64496
- patchStateFormSchema(targetState, path8, compiled);
64496
+ patchStateFormSchema(targetState, path9, compiled);
64497
64497
  }
64498
64498
  });
64499
64499
  };
@@ -64802,14 +64802,14 @@ var init_registry = __esm({
64802
64802
  getValidateLanguage = function() {
64803
64803
  return registry.locales.language;
64804
64804
  };
64805
- getLocaleByPath = function(path8, lang) {
64805
+ getLocaleByPath = function(path9, lang) {
64806
64806
  if (lang === void 0) {
64807
64807
  lang = registry.locales.language;
64808
64808
  }
64809
- return getIn2(registry.locales.messages, "".concat(getISOCode(lang), ".").concat(path8));
64809
+ return getIn2(registry.locales.messages, "".concat(getISOCode(lang), ".").concat(path9));
64810
64810
  };
64811
- getValidateLocale = function(path8) {
64812
- var message = getLocaleByPath(path8);
64811
+ getValidateLocale = function(path9) {
64812
+ var message = getLocaleByPath(path9);
64813
64813
  return message || getLocaleByPath("pattern") || getLocaleByPath("pattern", defaultLanguage);
64814
64814
  };
64815
64815
  getValidateMessageTemplateEngine = function() {
@@ -66143,15 +66143,15 @@ var init_internals2 = __esm({
66143
66143
  buildDataPath = function(fields, pattern) {
66144
66144
  var prevArray = false;
66145
66145
  var segments = pattern.segments;
66146
- var path8 = segments.reduce(function(path9, key, index) {
66147
- var currentPath = path9.concat(key);
66146
+ var path9 = segments.reduce(function(path10, key, index) {
66147
+ var currentPath = path10.concat(key);
66148
66148
  var currentAddress = segments.slice(0, index + 1);
66149
66149
  var current = fields[currentAddress.join(".")];
66150
66150
  if (prevArray) {
66151
66151
  if (!isVoidField(current)) {
66152
66152
  prevArray = false;
66153
66153
  }
66154
- return path9;
66154
+ return path10;
66155
66155
  }
66156
66156
  if (index >= segments.length - 1) {
66157
66157
  return currentPath;
@@ -66163,13 +66163,13 @@ var init_internals2 = __esm({
66163
66163
  prevArray = true;
66164
66164
  return currentPath;
66165
66165
  }
66166
- return path9;
66166
+ return path10;
66167
66167
  } else {
66168
66168
  prevArray = false;
66169
66169
  }
66170
66170
  return currentPath;
66171
66171
  }, []);
66172
- return new Path(path8);
66172
+ return new Path(path9);
66173
66173
  };
66174
66174
  locateNode = function(field, address) {
66175
66175
  field.address = Path.parse(address);
@@ -66203,33 +66203,33 @@ var init_internals2 = __esm({
66203
66203
  field === null || field === void 0 ? void 0 : field.dispose();
66204
66204
  if (isDataField(field) && forceClear) {
66205
66205
  var form = field.form;
66206
- var path8 = field.path;
66207
- form.deleteValuesIn(path8);
66208
- form.deleteInitialValuesIn(path8);
66206
+ var path9 = field.path;
66207
+ form.deleteValuesIn(path9);
66208
+ form.deleteInitialValuesIn(path9);
66209
66209
  }
66210
66210
  delete target[address];
66211
66211
  };
66212
- patchFormValues = function(form, path8, source) {
66213
- var update = function(path9, source2) {
66214
- if (path9.length) {
66215
- form.setValuesIn(path9, clone(source2));
66212
+ patchFormValues = function(form, path9, source) {
66213
+ var update = function(path10, source2) {
66214
+ if (path10.length) {
66215
+ form.setValuesIn(path10, clone(source2));
66216
66216
  } else {
66217
66217
  Object.assign(form.values, clone(source2));
66218
66218
  }
66219
66219
  };
66220
- var patch = function(source2, path9) {
66221
- if (path9 === void 0) {
66222
- path9 = [];
66220
+ var patch = function(source2, path10) {
66221
+ if (path10 === void 0) {
66222
+ path10 = [];
66223
66223
  }
66224
- var targetValue = form.getValuesIn(path9);
66225
- var targetField = form.query(path9).take();
66224
+ var targetValue = form.getValuesIn(path10);
66225
+ var targetField = form.query(path10).take();
66226
66226
  var isUnVoidField = targetField && !isVoidField(targetField);
66227
66227
  if (isUnVoidField && targetField.display === "none") {
66228
66228
  targetField.caches.value = clone(source2);
66229
66229
  return;
66230
66230
  }
66231
66231
  if (allowAssignDefaultValue(targetValue, source2)) {
66232
- update(path9, source2);
66232
+ update(path10, source2);
66233
66233
  } else {
66234
66234
  if (isEmpty(source2))
66235
66235
  return;
@@ -66237,20 +66237,20 @@ var init_internals2 = __esm({
66237
66237
  return;
66238
66238
  if (isPlainObj(targetValue) && isPlainObj(source2)) {
66239
66239
  each(source2, function(value, key) {
66240
- patch(value, path9.concat(key));
66240
+ patch(value, path10.concat(key));
66241
66241
  });
66242
66242
  } else {
66243
66243
  if (targetField) {
66244
66244
  if (isUnVoidField && !targetField.selfModified) {
66245
- update(path9, source2);
66245
+ update(path10, source2);
66246
66246
  }
66247
66247
  } else if (form.initialized) {
66248
- update(path9, source2);
66248
+ update(path10, source2);
66249
66249
  }
66250
66250
  }
66251
66251
  }
66252
66252
  };
66253
- patch(source, path8);
66253
+ patch(source, path9);
66254
66254
  };
66255
66255
  matchFeedback = function(search, feedback) {
66256
66256
  if (!search || !feedback)
@@ -66673,13 +66673,13 @@ var init_internals2 = __esm({
66673
66673
  } else if (isGeneralField(pattern)) {
66674
66674
  pattern.setState(payload);
66675
66675
  } else {
66676
- var matchCount_1 = 0, path8 = Path.parse(pattern);
66677
- form.query(path8).forEach(function(field) {
66676
+ var matchCount_1 = 0, path9 = Path.parse(pattern);
66677
+ form.query(path9).forEach(function(field) {
66678
66678
  field.setState(payload);
66679
66679
  matchCount_1++;
66680
66680
  });
66681
- if (matchCount_1 === 0 || path8.isWildMatchPattern) {
66682
- subscribeUpdate(form, path8, payload);
66681
+ if (matchCount_1 === 0 || path9.isWildMatchPattern) {
66682
+ subscribeUpdate(form, path9, payload);
66683
66683
  }
66684
66684
  }
66685
66685
  });
@@ -69323,8 +69323,8 @@ var init_transformer = __esm({
69323
69323
  };
69324
69324
  DefaultFieldEffects = ["onFieldInit", "onFieldValueChange"];
69325
69325
  getDependencyValue = function(field, pattern, property) {
69326
- var _a2 = __read7(String(pattern).split(/\s*#\s*/), 2), target = _a2[0], path8 = _a2[1];
69327
- return field.query(target).getIn(path8 || property || "value");
69326
+ var _a2 = __read7(String(pattern).split(/\s*#\s*/), 2), target = _a2[0], path9 = _a2[1];
69327
+ return field.query(target).getIn(path9 || property || "value");
69328
69328
  };
69329
69329
  getDependencies = function(field, dependencies) {
69330
69330
  if (isArr(dependencies)) {
@@ -71327,11 +71327,11 @@ var require_baseGet = __commonJS({
71327
71327
  "../../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseGet.js"(exports, module2) {
71328
71328
  var castPath = require_castPath();
71329
71329
  var toKey = require_toKey();
71330
- function baseGet(object, path8) {
71331
- path8 = castPath(path8, object);
71332
- var index = 0, length = path8.length;
71330
+ function baseGet(object, path9) {
71331
+ path9 = castPath(path9, object);
71332
+ var index = 0, length = path9.length;
71333
71333
  while (object != null && index < length) {
71334
- object = object[toKey(path8[index++])];
71334
+ object = object[toKey(path9[index++])];
71335
71335
  }
71336
71336
  return index && index == length ? object : void 0;
71337
71337
  }
@@ -71341,8 +71341,8 @@ var require_baseGet = __commonJS({
71341
71341
  var require_get = __commonJS({
71342
71342
  "../../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/get.js"(exports, module2) {
71343
71343
  var baseGet = require_baseGet();
71344
- function get3(object, path8, defaultValue) {
71345
- var result = object == null ? void 0 : baseGet(object, path8);
71344
+ function get3(object, path9, defaultValue) {
71345
+ var result = object == null ? void 0 : baseGet(object, path9);
71346
71346
  return result === void 0 ? defaultValue : result;
71347
71347
  }
71348
71348
  module2.exports = get3;
@@ -71414,14 +71414,14 @@ var require_baseSet = __commonJS({
71414
71414
  var isIndex = require_isIndex();
71415
71415
  var isObject3 = require_isObject();
71416
71416
  var toKey = require_toKey();
71417
- function baseSet(object, path8, value, customizer) {
71417
+ function baseSet(object, path9, value, customizer) {
71418
71418
  if (!isObject3(object)) {
71419
71419
  return object;
71420
71420
  }
71421
- path8 = castPath(path8, object);
71422
- var index = -1, length = path8.length, lastIndex = length - 1, nested = object;
71421
+ path9 = castPath(path9, object);
71422
+ var index = -1, length = path9.length, lastIndex = length - 1, nested = object;
71423
71423
  while (nested != null && ++index < length) {
71424
- var key = toKey(path8[index]), newValue = value;
71424
+ var key = toKey(path9[index]), newValue = value;
71425
71425
  if (key === "__proto__" || key === "constructor" || key === "prototype") {
71426
71426
  return object;
71427
71427
  }
@@ -71429,7 +71429,7 @@ var require_baseSet = __commonJS({
71429
71429
  var objValue = nested[key];
71430
71430
  newValue = customizer ? customizer(objValue, key, nested) : void 0;
71431
71431
  if (newValue === void 0) {
71432
- newValue = isObject3(objValue) ? objValue : isIndex(path8[index + 1]) ? [] : {};
71432
+ newValue = isObject3(objValue) ? objValue : isIndex(path9[index + 1]) ? [] : {};
71433
71433
  }
71434
71434
  }
71435
71435
  assignValue(nested, key, newValue);
@@ -71443,8 +71443,8 @@ var require_baseSet = __commonJS({
71443
71443
  var require_set = __commonJS({
71444
71444
  "../../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/set.js"(exports, module2) {
71445
71445
  var baseSet = require_baseSet();
71446
- function set(object, path8, value) {
71447
- return object == null ? object : baseSet(object, path8, value);
71446
+ function set(object, path9, value) {
71447
+ return object == null ? object : baseSet(object, path9, value);
71448
71448
  }
71449
71449
  module2.exports = set;
71450
71450
  }
@@ -76052,7 +76052,7 @@ var require_merge = __commonJS({
76052
76052
  var empty_1 = require_empty();
76053
76053
  var args_1 = require_args();
76054
76054
  var from_1 = require_from();
76055
- function merge6() {
76055
+ function merge8() {
76056
76056
  var args = [];
76057
76057
  for (var _i = 0; _i < arguments.length; _i++) {
76058
76058
  args[_i] = arguments[_i];
@@ -76062,7 +76062,7 @@ var require_merge = __commonJS({
76062
76062
  var sources = args;
76063
76063
  return !sources.length ? empty_1.EMPTY : sources.length === 1 ? innerFrom_1.innerFrom(sources[0]) : mergeAll_1.mergeAll(concurrent)(from_1.from(sources, scheduler));
76064
76064
  }
76065
- exports.merge = merge6;
76065
+ exports.merge = merge8;
76066
76066
  }
76067
76067
  });
76068
76068
  var require_never = __commonJS({
@@ -78092,7 +78092,7 @@ var require_merge2 = __commonJS({
78092
78092
  var mergeAll_1 = require_mergeAll();
78093
78093
  var args_1 = require_args();
78094
78094
  var from_1 = require_from();
78095
- function merge6() {
78095
+ function merge8() {
78096
78096
  var args = [];
78097
78097
  for (var _i = 0; _i < arguments.length; _i++) {
78098
78098
  args[_i] = arguments[_i];
@@ -78104,7 +78104,7 @@ var require_merge2 = __commonJS({
78104
78104
  mergeAll_1.mergeAll(concurrent)(from_1.from(__spreadArray8([source], __read9(args)), scheduler)).subscribe(subscriber);
78105
78105
  });
78106
78106
  }
78107
- exports.merge = merge6;
78107
+ exports.merge = merge8;
78108
78108
  }
78109
78109
  });
78110
78110
  var require_mergeWith = __commonJS({
@@ -83282,11 +83282,11 @@ var require_hasPath = __commonJS({
83282
83282
  var isIndex = require_isIndex();
83283
83283
  var isLength = require_isLength();
83284
83284
  var toKey = require_toKey();
83285
- function hasPath(object, path8, hasFunc) {
83286
- path8 = castPath(path8, object);
83287
- var index = -1, length = path8.length, result = false;
83285
+ function hasPath(object, path9, hasFunc) {
83286
+ path9 = castPath(path9, object);
83287
+ var index = -1, length = path9.length, result = false;
83288
83288
  while (++index < length) {
83289
- var key = toKey(path8[index]);
83289
+ var key = toKey(path9[index]);
83290
83290
  if (!(result = object != null && hasFunc(object, key))) {
83291
83291
  break;
83292
83292
  }
@@ -83305,8 +83305,8 @@ var require_hasIn = __commonJS({
83305
83305
  "../../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/hasIn.js"(exports, module2) {
83306
83306
  var baseHasIn = require_baseHasIn();
83307
83307
  var hasPath = require_hasPath();
83308
- function hasIn(object, path8) {
83309
- return object != null && hasPath(object, path8, baseHasIn);
83308
+ function hasIn(object, path9) {
83309
+ return object != null && hasPath(object, path9, baseHasIn);
83310
83310
  }
83311
83311
  module2.exports = hasIn;
83312
83312
  }
@@ -83322,13 +83322,13 @@ var require_baseMatchesProperty = __commonJS({
83322
83322
  var toKey = require_toKey();
83323
83323
  var COMPARE_PARTIAL_FLAG = 1;
83324
83324
  var COMPARE_UNORDERED_FLAG = 2;
83325
- function baseMatchesProperty(path8, srcValue) {
83326
- if (isKey(path8) && isStrictComparable(srcValue)) {
83327
- return matchesStrictComparable(toKey(path8), srcValue);
83325
+ function baseMatchesProperty(path9, srcValue) {
83326
+ if (isKey(path9) && isStrictComparable(srcValue)) {
83327
+ return matchesStrictComparable(toKey(path9), srcValue);
83328
83328
  }
83329
83329
  return function(object) {
83330
- var objValue = get3(object, path8);
83331
- return objValue === void 0 && objValue === srcValue ? hasIn(object, path8) : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG);
83330
+ var objValue = get3(object, path9);
83331
+ return objValue === void 0 && objValue === srcValue ? hasIn(object, path9) : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG);
83332
83332
  };
83333
83333
  }
83334
83334
  module2.exports = baseMatchesProperty;
@@ -83347,9 +83347,9 @@ var require_baseProperty = __commonJS({
83347
83347
  var require_basePropertyDeep = __commonJS({
83348
83348
  "../../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_basePropertyDeep.js"(exports, module2) {
83349
83349
  var baseGet = require_baseGet();
83350
- function basePropertyDeep(path8) {
83350
+ function basePropertyDeep(path9) {
83351
83351
  return function(object) {
83352
- return baseGet(object, path8);
83352
+ return baseGet(object, path9);
83353
83353
  };
83354
83354
  }
83355
83355
  module2.exports = basePropertyDeep;
@@ -83361,8 +83361,8 @@ var require_property = __commonJS({
83361
83361
  var basePropertyDeep = require_basePropertyDeep();
83362
83362
  var isKey = require_isKey();
83363
83363
  var toKey = require_toKey();
83364
- function property(path8) {
83365
- return isKey(path8) ? baseProperty(toKey(path8)) : basePropertyDeep(path8);
83364
+ function property(path9) {
83365
+ return isKey(path9) ? baseProperty(toKey(path9)) : basePropertyDeep(path9);
83366
83366
  }
83367
83367
  module2.exports = property;
83368
83368
  }
@@ -84516,15 +84516,15 @@ var require_route = __commonJS({
84516
84516
  };
84517
84517
  }
84518
84518
  function wrapConversion(toModel, graph) {
84519
- const path8 = [graph[toModel].parent, toModel];
84519
+ const path9 = [graph[toModel].parent, toModel];
84520
84520
  let fn = conversions[graph[toModel].parent][toModel];
84521
84521
  let cur = graph[toModel].parent;
84522
84522
  while (graph[cur].parent) {
84523
- path8.unshift(graph[cur].parent);
84523
+ path9.unshift(graph[cur].parent);
84524
84524
  fn = link(conversions[graph[cur].parent][cur], fn);
84525
84525
  cur = graph[cur].parent;
84526
84526
  }
84527
- fn.conversion = path8;
84527
+ fn.conversion = path9;
84528
84528
  return fn;
84529
84529
  }
84530
84530
  module2.exports = function(fromModel) {
@@ -100214,23 +100214,23 @@ var require_os_tmpdir = __commonJS({
100214
100214
  var isWindows = process.platform === "win32";
100215
100215
  var trailingSlashRe = isWindows ? /[^:]\\$/ : /.\/$/;
100216
100216
  module2.exports = function() {
100217
- var path8;
100217
+ var path9;
100218
100218
  if (isWindows) {
100219
- path8 = process.env.TEMP || process.env.TMP || (process.env.SystemRoot || process.env.windir) + "\\temp";
100219
+ path9 = process.env.TEMP || process.env.TMP || (process.env.SystemRoot || process.env.windir) + "\\temp";
100220
100220
  } else {
100221
- path8 = process.env.TMPDIR || process.env.TMP || process.env.TEMP || "/tmp";
100221
+ path9 = process.env.TMPDIR || process.env.TMP || process.env.TEMP || "/tmp";
100222
100222
  }
100223
- if (trailingSlashRe.test(path8)) {
100224
- path8 = path8.slice(0, -1);
100223
+ if (trailingSlashRe.test(path9)) {
100224
+ path9 = path9.slice(0, -1);
100225
100225
  }
100226
- return path8;
100226
+ return path9;
100227
100227
  };
100228
100228
  }
100229
100229
  });
100230
100230
  var require_tmp = __commonJS({
100231
100231
  "../../../../node_modules/.pnpm/tmp@0.0.33/node_modules/tmp/lib/tmp.js"(exports, module2) {
100232
100232
  var fs3 = __require("fs");
100233
- var path8 = __require("path");
100233
+ var path9 = __require("path");
100234
100234
  var crypto = __require("crypto");
100235
100235
  var osTmpDir = require_os_tmpdir();
100236
100236
  var _c = process.binding("constants");
@@ -100272,7 +100272,7 @@ var require_tmp = __commonJS({
100272
100272
  }
100273
100273
  function _generateTmpName(opts) {
100274
100274
  if (opts.name) {
100275
- return path8.join(opts.dir || tmpDir, opts.name);
100275
+ return path9.join(opts.dir || tmpDir, opts.name);
100276
100276
  }
100277
100277
  if (opts.template) {
100278
100278
  return opts.template.replace(TEMPLATE_PATTERN, _randomChars(6));
@@ -100283,7 +100283,7 @@ var require_tmp = __commonJS({
100283
100283
  _randomChars(12),
100284
100284
  opts.postfix || ""
100285
100285
  ].join("");
100286
- return path8.join(opts.dir || tmpDir, name);
100286
+ return path9.join(opts.dir || tmpDir, name);
100287
100287
  }
100288
100288
  function tmpName(options, callback) {
100289
100289
  var args = _parseArguments(options, callback), opts = args[0], cb = args[1], tries = opts.name ? 1 : opts.tries || DEFAULT_TRIES;
@@ -100371,7 +100371,7 @@ var require_tmp = __commonJS({
100371
100371
  do {
100372
100372
  var dir2 = dirs.pop(), deferred = false, files = fs3.readdirSync(dir2);
100373
100373
  for (var i = 0, length = files.length; i < length; i++) {
100374
- var file2 = path8.join(dir2, files[i]), stat = fs3.lstatSync(file2);
100374
+ var file2 = path9.join(dir2, files[i]), stat = fs3.lstatSync(file2);
100375
100375
  if (stat.isDirectory()) {
100376
100376
  if (!deferred) {
100377
100377
  deferred = true;
@@ -101505,8 +101505,8 @@ var require_parent = __commonJS({
101505
101505
  "../../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_parent.js"(exports, module2) {
101506
101506
  var baseGet = require_baseGet();
101507
101507
  var baseSlice = require_baseSlice();
101508
- function parent(object, path8) {
101509
- return path8.length < 2 ? object : baseGet(object, baseSlice(path8, 0, -1));
101508
+ function parent(object, path9) {
101509
+ return path9.length < 2 ? object : baseGet(object, baseSlice(path9, 0, -1));
101510
101510
  }
101511
101511
  module2.exports = parent;
101512
101512
  }
@@ -101517,10 +101517,10 @@ var require_baseUnset = __commonJS({
101517
101517
  var last = require_last2();
101518
101518
  var parent = require_parent();
101519
101519
  var toKey = require_toKey();
101520
- function baseUnset(object, path8) {
101521
- path8 = castPath(path8, object);
101522
- object = parent(object, path8);
101523
- return object == null || delete object[toKey(last(path8))];
101520
+ function baseUnset(object, path9) {
101521
+ path9 = castPath(path9, object);
101522
+ object = parent(object, path9);
101523
+ return object == null || delete object[toKey(last(path9))];
101524
101524
  }
101525
101525
  module2.exports = baseUnset;
101526
101526
  }
@@ -101611,10 +101611,10 @@ var require_omit = __commonJS({
101611
101611
  return result;
101612
101612
  }
101613
101613
  var isDeep = false;
101614
- paths = arrayMap(paths, function(path8) {
101615
- path8 = castPath(path8, object);
101616
- isDeep || (isDeep = path8.length > 1);
101617
- return path8;
101614
+ paths = arrayMap(paths, function(path9) {
101615
+ path9 = castPath(path9, object);
101616
+ isDeep || (isDeep = path9.length > 1);
101617
+ return path9;
101618
101618
  });
101619
101619
  copyObject(object, getAllKeysIn(object), result);
101620
101620
  if (isDeep) {
@@ -117082,7 +117082,7 @@ var require_execa2 = __commonJS({
117082
117082
  }
117083
117083
  return t3;
117084
117084
  };
117085
- const execa4 = (e3, t3, n3) => {
117085
+ const execa3 = (e3, t3, n3) => {
117086
117086
  const r2 = handleArguments(e3, t3, n3);
117087
117087
  const s2 = w(e3, t3);
117088
117088
  const i2 = I(e3, t3);
@@ -117120,7 +117120,7 @@ var require_execa2 = __commonJS({
117120
117120
  a2.all = y(a2, r2.options);
117121
117121
  return S(a2, C);
117122
117122
  };
117123
- e2.exports = execa4;
117123
+ e2.exports = execa3;
117124
117124
  e2.exports.sync = (e3, t3, n3) => {
117125
117125
  const r2 = handleArguments(e3, t3, n3);
117126
117126
  const s2 = w(e3, t3);
@@ -117145,11 +117145,11 @@ var require_execa2 = __commonJS({
117145
117145
  };
117146
117146
  e2.exports.command = (e3, t3) => {
117147
117147
  const [n3, ...r2] = E(e3);
117148
- return execa4(n3, r2, t3);
117148
+ return execa3(n3, r2, t3);
117149
117149
  };
117150
117150
  e2.exports.commandSync = (e3, t3) => {
117151
117151
  const [n3, ...r2] = E(e3);
117152
- return execa4.sync(n3, r2, t3);
117152
+ return execa3.sync(n3, r2, t3);
117153
117153
  };
117154
117154
  e2.exports.node = (e3, t3, n3 = {}) => {
117155
117155
  if (t3 && !Array.isArray(t3) && typeof t3 === "object") {
@@ -117159,7 +117159,7 @@ var require_execa2 = __commonJS({
117159
117159
  const r2 = u.node(n3);
117160
117160
  const o2 = process.execArgv.filter((e4) => !e4.startsWith("--inspect"));
117161
117161
  const { nodePath: s2 = process.execPath, nodeOptions: i2 = o2 } = n3;
117162
- return execa4(s2, [...i2, e3, ...Array.isArray(t3) ? t3 : []], { ...n3, stdin: void 0, stdout: void 0, stderr: void 0, stdio: r2, shell: false });
117162
+ return execa3(s2, [...i2, e3, ...Array.isArray(t3) ? t3 : []], { ...n3, stdin: void 0, stdout: void 0, stderr: void 0, stdio: r2, shell: false });
117163
117163
  };
117164
117164
  }, 192: (e2) => {
117165
117165
  "use strict";
@@ -123822,7 +123822,7 @@ var require_fast_glob2 = __commonJS({
123822
123822
  Object.defineProperty(e2, "__esModule", { value: true });
123823
123823
  e2.merge = void 0;
123824
123824
  const n = r2(1382);
123825
- function merge6(t3) {
123825
+ function merge8(t3) {
123826
123826
  const e3 = n(t3);
123827
123827
  t3.forEach((t4) => {
123828
123828
  t4.once("error", (t5) => e3.emit("error", t5));
@@ -123831,7 +123831,7 @@ var require_fast_glob2 = __commonJS({
123831
123831
  e3.once("end", () => propagateCloseEventToSources(t3));
123832
123832
  return e3;
123833
123833
  }
123834
- e2.merge = merge6;
123834
+ e2.merge = merge8;
123835
123835
  function propagateCloseEventToSources(t3) {
123836
123836
  t3.forEach((t4) => t4.emit("close"));
123837
123837
  }
@@ -124435,8 +124435,8 @@ var require_fast_glob2 = __commonJS({
124435
124435
  const n = r2(2781);
124436
124436
  const s = n.PassThrough;
124437
124437
  const i = Array.prototype.slice;
124438
- t2.exports = merge23;
124439
- function merge23() {
124438
+ t2.exports = merge22;
124439
+ function merge22() {
124440
124440
  const t3 = [];
124441
124441
  const e3 = i.call(arguments);
124442
124442
  let r3 = false;
@@ -126690,8 +126690,8 @@ var require_globby2 = __commonJS({
126690
126690
  const n = r2(781);
126691
126691
  const s = n.PassThrough;
126692
126692
  const o = Array.prototype.slice;
126693
- t2.exports = merge23;
126694
- function merge23() {
126693
+ t2.exports = merge22;
126694
+ function merge22() {
126695
126695
  const t3 = [];
126696
126696
  const e3 = o.call(arguments);
126697
126697
  let r3 = false;
@@ -134089,7 +134089,7 @@ var require_nodeEnv2 = __commonJS({
134089
134089
  Object.defineProperty(exports, "__esModule", { value: true });
134090
134090
  exports.canUsePnpm = exports.canUseYarn = exports.canUseNpm = void 0;
134091
134091
  var compiled_1 = require_compiled2();
134092
- async function canUseNpm4() {
134092
+ async function canUseNpm3() {
134093
134093
  try {
134094
134094
  await (0, compiled_1.execa)("npm", ["--version"], { env: process.env });
134095
134095
  return true;
@@ -134097,7 +134097,7 @@ var require_nodeEnv2 = __commonJS({
134097
134097
  return false;
134098
134098
  }
134099
134099
  }
134100
- exports.canUseNpm = canUseNpm4;
134100
+ exports.canUseNpm = canUseNpm3;
134101
134101
  async function canUseYarn3() {
134102
134102
  try {
134103
134103
  await (0, compiled_1.execa)("yarn", ["--version"], { env: process.env });
@@ -134544,7 +134544,7 @@ var require_watch2 = __commonJS({
134544
134544
  };
134545
134545
  Object.defineProperty(exports, "__esModule", { value: true });
134546
134546
  exports.watch = exports.WatchChangeType = void 0;
134547
- var path8 = __importStar(__require("path"));
134547
+ var path9 = __importStar(__require("path"));
134548
134548
  var compiled_1 = require_compiled2();
134549
134549
  exports.WatchChangeType = {
134550
134550
  ADD: "add",
@@ -134558,17 +134558,17 @@ var require_watch2 = __commonJS({
134558
134558
  });
134559
134559
  watcher.on("ready", () => ready = true);
134560
134560
  watcher.on("change", async (filePath) => {
134561
- const changedFilePath = path8.resolve(filePath);
134561
+ const changedFilePath = path9.resolve(filePath);
134562
134562
  await runTask({ changedFilePath, changeType: exports.WatchChangeType.CHANGE });
134563
134563
  });
134564
134564
  watcher.on("add", async (filePath) => {
134565
- const changedFilePath = path8.resolve(filePath);
134565
+ const changedFilePath = path9.resolve(filePath);
134566
134566
  if (ready) {
134567
134567
  await runTask({ changedFilePath, changeType: exports.WatchChangeType.ADD });
134568
134568
  }
134569
134569
  });
134570
134570
  watcher.on("unlink", async (filePath) => {
134571
- const changedFilePath = path8.resolve(filePath);
134571
+ const changedFilePath = path9.resolve(filePath);
134572
134572
  await runTask({ changedFilePath, changeType: exports.WatchChangeType.UNLINK });
134573
134573
  });
134574
134574
  watcher.on("error", (err) => {
@@ -134641,11 +134641,11 @@ var require_getServerConfig2 = __commonJS({
134641
134641
  };
134642
134642
  Object.defineProperty(exports, "__esModule", { value: true });
134643
134643
  exports.getServerConfig = void 0;
134644
- var path8 = __importStar(__require("path"));
134644
+ var path9 = __importStar(__require("path"));
134645
134645
  var constants_1 = require_constants6();
134646
134646
  var findExists_1 = require_findExists2();
134647
134647
  var getServerConfig = async (appDirectory, configFile) => {
134648
- const configFilePath = (0, findExists_1.findExists)(constants_1.CONFIG_FILE_EXTENSIONS.map((extension) => path8.resolve(appDirectory, `${configFile}${extension}`)));
134648
+ const configFilePath = (0, findExists_1.findExists)(constants_1.CONFIG_FILE_EXTENSIONS.map((extension) => path9.resolve(appDirectory, `${configFile}${extension}`)));
134649
134649
  return configFilePath;
134650
134650
  };
134651
134651
  exports.getServerConfig = getServerConfig;
@@ -134807,10 +134807,10 @@ var require_analyzeProject2 = __commonJS({
134807
134807
  };
134808
134808
  Object.defineProperty(exports, "__esModule", { value: true });
134809
134809
  exports.isApiOnly = void 0;
134810
- var path8 = __importStar(__require("path"));
134810
+ var path9 = __importStar(__require("path"));
134811
134811
  var compiled_1 = require_compiled2();
134812
134812
  var isApiOnly = async (appDirectory, entryDir) => {
134813
- const srcDir = path8.join(appDirectory, entryDir !== null && entryDir !== void 0 ? entryDir : "src");
134813
+ const srcDir = path9.join(appDirectory, entryDir !== null && entryDir !== void 0 ? entryDir : "src");
134814
134814
  const existSrc = await compiled_1.fs.pathExists(srcDir);
134815
134815
  const options = (0, compiled_1.minimist)(process.argv.slice(2));
134816
134816
  return !existSrc || Boolean(options["api-only"]);
@@ -135361,26 +135361,26 @@ var require_mongo_dot = __commonJS({
135361
135361
  }
135362
135362
  }
135363
135363
  exports.parent = parent;
135364
- var get3 = function(obj, path8) {
135365
- if (path8.includes(".")) {
135366
- var par = parent(obj, path8);
135367
- var mainKey = path8.split(".").pop();
135364
+ var get3 = function(obj, path9) {
135365
+ if (path9.includes(".")) {
135366
+ var par = parent(obj, path9);
135367
+ var mainKey = path9.split(".").pop();
135368
135368
  var t = get_type_1.default(par);
135369
135369
  if ("object" === t || "array" === t)
135370
135370
  return par[mainKey];
135371
135371
  } else {
135372
- return obj[path8];
135372
+ return obj[path9];
135373
135373
  }
135374
135374
  };
135375
135375
  exports.get = get3;
135376
- var set = function(obj, path8, val) {
135377
- if (path8.includes(".")) {
135378
- var par = parent(obj, path8, true);
135379
- var mainKey = path8.split(".").pop();
135376
+ var set = function(obj, path9, val) {
135377
+ if (path9.includes(".")) {
135378
+ var par = parent(obj, path9, true);
135379
+ var mainKey = path9.split(".").pop();
135380
135380
  if (par && "object" === get_type_1.default(par))
135381
135381
  par[mainKey] = val;
135382
135382
  } else {
135383
- obj[path8] = val;
135383
+ obj[path9] = val;
135384
135384
  }
135385
135385
  };
135386
135386
  exports.set = set;
@@ -135460,9 +135460,9 @@ var require_mods = __commonJS({
135460
135460
  }
135461
135461
  };
135462
135462
  }
135463
- var $set = function $set2(obj, path8, val) {
135464
- var key = path8.split(".").pop();
135465
- obj = mongoDot.parent(obj, path8, true);
135463
+ var $set = function $set2(obj, path9, val) {
135464
+ var key = path9.split(".").pop();
135465
+ obj = mongoDot.parent(obj, path9, true);
135466
135466
  switch (get_type_1.default(obj)) {
135467
135467
  case "object":
135468
135468
  if (!mongo_eql_1.default(obj[key], val)) {
@@ -135489,9 +135489,9 @@ var require_mods = __commonJS({
135489
135489
  }
135490
135490
  };
135491
135491
  exports.$set = $set;
135492
- var $unset = function $unset2(obj, path8) {
135493
- var key = path8.split(".").pop();
135494
- obj = mongoDot.parent(obj, path8);
135492
+ var $unset = function $unset2(obj, path9) {
135493
+ var key = path9.split(".").pop();
135494
+ obj = mongoDot.parent(obj, path9);
135495
135495
  switch (get_type_1.default(obj)) {
135496
135496
  case "array":
135497
135497
  case "object":
@@ -135505,17 +135505,17 @@ var require_mods = __commonJS({
135505
135505
  }
135506
135506
  };
135507
135507
  exports.$unset = $unset;
135508
- var $rename = function $rename2(obj, path8, newKey) {
135509
- if (path8 === newKey) {
135508
+ var $rename = function $rename2(obj, path9, newKey) {
135509
+ if (path9 === newKey) {
135510
135510
  throw new Error("$rename source must differ from target");
135511
135511
  }
135512
- if (0 === path8.indexOf(newKey + ".")) {
135512
+ if (0 === path9.indexOf(newKey + ".")) {
135513
135513
  throw new Error("$rename target may not be a parent of source");
135514
135514
  }
135515
- var p = mongoDot.parent(obj, path8);
135515
+ var p = mongoDot.parent(obj, path9);
135516
135516
  var t = get_type_1.default(p);
135517
135517
  if ("object" === t) {
135518
- var key_1 = path8.split(".").pop();
135518
+ var key_1 = path9.split(".").pop();
135519
135519
  if (p.hasOwnProperty(key_1)) {
135520
135520
  return function() {
135521
135521
  var val = p[key_1];
@@ -135536,12 +135536,12 @@ var require_mods = __commonJS({
135536
135536
  }
135537
135537
  };
135538
135538
  exports.$rename = $rename;
135539
- var $inc = function $inc2(obj, path8, inc) {
135539
+ var $inc = function $inc2(obj, path9, inc) {
135540
135540
  if ("number" !== get_type_1.default(inc)) {
135541
135541
  throw new Error("Modifier $inc allowed for numbers only");
135542
135542
  }
135543
- obj = mongoDot.parent(obj, path8, true);
135544
- var key = path8.split(".").pop();
135543
+ obj = mongoDot.parent(obj, path9, true);
135544
+ var key = path9.split(".").pop();
135545
135545
  switch (get_type_1.default(obj)) {
135546
135546
  case "array":
135547
135547
  case "object":
@@ -135567,9 +135567,9 @@ var require_mods = __commonJS({
135567
135567
  }
135568
135568
  };
135569
135569
  exports.$inc = $inc;
135570
- var $pop = function $pop2(obj, path8, val) {
135571
- obj = mongoDot.parent(obj, path8);
135572
- var key = path8.split(".").pop();
135570
+ var $pop = function $pop2(obj, path9, val) {
135571
+ obj = mongoDot.parent(obj, path9);
135572
+ var key = path9.split(".").pop();
135573
135573
  switch (get_type_1.default(obj)) {
135574
135574
  case "array":
135575
135575
  case "object":
@@ -135602,9 +135602,9 @@ var require_mods = __commonJS({
135602
135602
  }
135603
135603
  };
135604
135604
  exports.$pop = $pop;
135605
- var $push = function $push2(obj, path8, val) {
135606
- obj = mongoDot.parent(obj, path8, true);
135607
- var key = path8.split(".").pop();
135605
+ var $push = function $push2(obj, path9, val) {
135606
+ obj = mongoDot.parent(obj, path9, true);
135607
+ var key = path9.split(".").pop();
135608
135608
  switch (get_type_1.default(obj)) {
135609
135609
  case "object":
135610
135610
  if (obj.hasOwnProperty(key)) {
@@ -135645,12 +135645,12 @@ var require_mods = __commonJS({
135645
135645
  }
135646
135646
  };
135647
135647
  exports.$push = $push;
135648
- var $pushAll = function $pushAll2(obj, path8, val) {
135648
+ var $pushAll = function $pushAll2(obj, path9, val) {
135649
135649
  if ("array" !== get_type_1.default(val)) {
135650
135650
  throw new Error("Modifier $pushAll/pullAll allowed for arrays only");
135651
135651
  }
135652
- obj = mongoDot.parent(obj, path8, true);
135653
- var key = path8.split(".").pop();
135652
+ obj = mongoDot.parent(obj, path9, true);
135653
+ var key = path9.split(".").pop();
135654
135654
  switch (get_type_1.default(obj)) {
135655
135655
  case "object":
135656
135656
  if (obj.hasOwnProperty(key)) {
@@ -135691,9 +135691,9 @@ var require_mods = __commonJS({
135691
135691
  }
135692
135692
  };
135693
135693
  exports.$pushAll = $pushAll;
135694
- var $pull = function $pull2(obj, path8, val) {
135695
- obj = mongoDot.parent(obj, path8, true);
135696
- var key = path8.split(".").pop();
135694
+ var $pull = function $pull2(obj, path9, val) {
135695
+ obj = mongoDot.parent(obj, path9, true);
135696
+ var key = path9.split(".").pop();
135697
135697
  var t = get_type_1.default(obj);
135698
135698
  switch (t) {
135699
135699
  case "object":
@@ -135737,12 +135737,12 @@ var require_mods = __commonJS({
135737
135737
  }
135738
135738
  };
135739
135739
  exports.$pull = $pull;
135740
- var $pullAll = function $pullAll2(obj, path8, val) {
135740
+ var $pullAll = function $pullAll2(obj, path9, val) {
135741
135741
  if ("array" !== get_type_1.default(val)) {
135742
135742
  throw new Error("Modifier $pushAll/pullAll allowed for arrays only");
135743
135743
  }
135744
- obj = mongoDot.parent(obj, path8, true);
135745
- var key = path8.split(".").pop();
135744
+ obj = mongoDot.parent(obj, path9, true);
135745
+ var key = path9.split(".").pop();
135746
135746
  var t = get_type_1.default(obj);
135747
135747
  switch (t) {
135748
135748
  case "object":
@@ -135786,11 +135786,11 @@ var require_mods = __commonJS({
135786
135786
  }
135787
135787
  };
135788
135788
  exports.$pullAll = $pullAll;
135789
- var $addToSet = function $addToSet2(obj, path8, val, recursing) {
135789
+ var $addToSet = function $addToSet2(obj, path9, val, recursing) {
135790
135790
  if (!recursing && "array" === get_type_1.default(val.$each)) {
135791
135791
  var fns_1 = [];
135792
135792
  for (var i = 0, l = val.$each.length; i < l; i++) {
135793
- var fn = $addToSet2(obj, path8, val.$each[i], true);
135793
+ var fn = $addToSet2(obj, path9, val.$each[i], true);
135794
135794
  if (fn)
135795
135795
  fns_1.push(fn);
135796
135796
  }
@@ -135805,8 +135805,8 @@ var require_mods = __commonJS({
135805
135805
  return;
135806
135806
  }
135807
135807
  }
135808
- obj = mongoDot.parent(obj, path8, true);
135809
- var key = path8.split(".").pop();
135808
+ obj = mongoDot.parent(obj, path9, true);
135809
+ var key = path9.split(".").pop();
135810
135810
  switch (get_type_1.default(obj)) {
135811
135811
  case "object":
135812
135812
  if (obj.hasOwnProperty(key)) {
@@ -136873,36 +136873,7 @@ var SolutionSchemas = {
136873
136873
  custom: getBaseSchema
136874
136874
  };
136875
136875
  var import_codesmith7 = __toESM2(require_node3());
136876
- var import_utils2 = __toESM2(require_dist2());
136877
136876
  var import_utils3 = __toESM2(require_dist2());
136878
- var import_utils4 = __toESM2(require_dist2());
136879
- var __require2 = /* @__PURE__ */ ((x) => typeof __require !== "undefined" ? __require : typeof Proxy !== "undefined" ? new Proxy(x, {
136880
- get: (a, b) => (typeof __require !== "undefined" ? __require : a)[b]
136881
- }) : x)(function(x) {
136882
- if (typeof __require !== "undefined")
136883
- return __require.apply(this, arguments);
136884
- throw new Error('Dynamic require of "' + x + '" is not supported');
136885
- });
136886
- var __async = (__this, __arguments, generator) => {
136887
- return new Promise((resolve, reject) => {
136888
- var fulfilled = (value) => {
136889
- try {
136890
- step(generator.next(value));
136891
- } catch (e) {
136892
- reject(e);
136893
- }
136894
- };
136895
- var rejected = (value) => {
136896
- try {
136897
- step(generator.throw(value));
136898
- } catch (e) {
136899
- reject(e);
136900
- }
136901
- };
136902
- var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);
136903
- step((generator = generator.apply(__this, __arguments)).next());
136904
- });
136905
- };
136906
136877
  function ansiRegex2({ onlyFirst = false } = {}) {
136907
136878
  const pattern = [
136908
136879
  "[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:[a-zA-Z\\d]*(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)",
@@ -136910,7 +136881,7 @@ function ansiRegex2({ onlyFirst = false } = {}) {
136910
136881
  ].join("|");
136911
136882
  return new RegExp(pattern, onlyFirst ? void 0 : "g");
136912
136883
  }
136913
- function stripAnsi3(string) {
136884
+ function stripAnsi2(string) {
136914
136885
  if (typeof string !== "string") {
136915
136886
  throw new TypeError(`Expected a \`string\`, got \`${typeof string}\``);
136916
136887
  }
@@ -136926,34 +136897,55 @@ var EN_LOCALE2 = {
136926
136897
  };
136927
136898
  var i18n2 = new I18n();
136928
136899
  var localeKeys2 = i18n2.init("zh", { zh: ZH_LOCALE2, en: EN_LOCALE2 });
136900
+ var import_utils2 = __toESM2(require_dist2());
136901
+ var __async = (__this, __arguments, generator) => {
136902
+ return new Promise((resolve, reject) => {
136903
+ var fulfilled = (value) => {
136904
+ try {
136905
+ step(generator.next(value));
136906
+ } catch (e) {
136907
+ reject(e);
136908
+ }
136909
+ };
136910
+ var rejected = (value) => {
136911
+ try {
136912
+ step(generator.throw(value));
136913
+ } catch (e) {
136914
+ reject(e);
136915
+ }
136916
+ };
136917
+ var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);
136918
+ step((generator = generator.apply(__this, __arguments)).next());
136919
+ });
136920
+ };
136929
136921
  function isPackageExist(packageName, registry2) {
136930
136922
  return __async(this, null, function* () {
136931
- if (yield (0, import_utils3.canUseNpm)()) {
136923
+ if (yield (0, import_utils2.canUseNpm)()) {
136932
136924
  const args = ["view", packageName, "version"];
136933
136925
  if (registry2) {
136934
136926
  args.push(`--registry=${registry2}`);
136935
136927
  }
136936
- const result = yield (0, import_utils3.execa)("npm", args);
136937
- return (0, import_utils3.stripAnsi)(result.stdout);
136928
+ const result = yield (0, import_utils2.execa)("npm", args);
136929
+ return (0, import_utils2.stripAnsi)(result.stdout);
136938
136930
  }
136939
136931
  throw new Error("not found npm, please install npm before");
136940
136932
  });
136941
136933
  }
136942
136934
  function isPackageDeprecated(packageName, registry2) {
136943
136935
  return __async(this, null, function* () {
136944
- if (yield (0, import_utils3.canUseNpm)()) {
136936
+ if (yield (0, import_utils2.canUseNpm)()) {
136945
136937
  const args = ["view", packageName, "deprecated"];
136946
136938
  if (registry2) {
136947
136939
  args.push(`--registry=${registry2}`);
136948
136940
  }
136949
- const result = yield (0, import_utils3.execa)("npm", args);
136950
- return (0, import_utils3.stripAnsi)(result.stdout);
136941
+ const result = yield (0, import_utils2.execa)("npm", args);
136942
+ return (0, import_utils2.stripAnsi)(result.stdout);
136951
136943
  }
136952
136944
  throw new Error("not found npm, please install npm before");
136953
136945
  });
136954
136946
  }
136955
136947
  function semverDecrease(version) {
136956
- const versionObj = import_utils3.semver.parse(version, { loose: true });
136948
+ const versionObj = import_utils2.semver.parse(version, { loose: true });
136957
136949
  if (!versionObj) {
136958
136950
  throw new Error(`Version ${version} is not valid semver`);
136959
136951
  }
@@ -136961,8 +136953,8 @@ function semverDecrease(version) {
136961
136953
  versionObj.prerelease = [];
136962
136954
  versionObj.patch--;
136963
136955
  const result = versionObj.format();
136964
- if (!import_utils3.semver.valid(result)) {
136965
- import_utils3.logger.debug(`Version ${result} is not valid semver`);
136956
+ if (!import_utils2.semver.valid(result)) {
136957
+ import_utils2.logger.debug(`Version ${result} is not valid semver`);
136966
136958
  return version;
136967
136959
  }
136968
136960
  return result;
@@ -136973,7 +136965,7 @@ function getAvailableVersion(packageName, currentVersion, registry2) {
136973
136965
  let version = currentVersion;
136974
136966
  while (times) {
136975
136967
  if (!(yield isPackageExist(`${packageName}@${version}`, registry2)) || (yield isPackageDeprecated(`${packageName}@${version}`, registry2))) {
136976
- version = import_utils3.semver.inc(version, "patch");
136968
+ version = import_utils2.semver.inc(version, "patch");
136977
136969
  times--;
136978
136970
  continue;
136979
136971
  }
@@ -136991,49 +136983,70 @@ function getAvailableVersion(packageName, currentVersion, registry2) {
136991
136983
  return currentVersion;
136992
136984
  });
136993
136985
  }
136986
+ var import_utils4 = __toESM2(require_dist2());
136987
+ var __async2 = (__this, __arguments, generator) => {
136988
+ return new Promise((resolve, reject) => {
136989
+ var fulfilled = (value) => {
136990
+ try {
136991
+ step(generator.next(value));
136992
+ } catch (e) {
136993
+ reject(e);
136994
+ }
136995
+ };
136996
+ var rejected = (value) => {
136997
+ try {
136998
+ step(generator.throw(value));
136999
+ } catch (e) {
137000
+ reject(e);
137001
+ }
137002
+ };
137003
+ var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);
137004
+ step((generator = generator.apply(__this, __arguments)).next());
137005
+ });
137006
+ };
136994
137007
  function getPackageVersion(packageName, registry2) {
136995
- return __async(this, null, function* () {
136996
- const spinner = (0, import_utils2.ora)({
137008
+ return __async2(this, null, function* () {
137009
+ const spinner = (0, import_utils3.ora)({
136997
137010
  text: "Load Generator...",
136998
137011
  spinner: "runner"
136999
137012
  }).start();
137000
- if (yield (0, import_utils2.canUsePnpm)()) {
137013
+ if (yield (0, import_utils3.canUsePnpm)()) {
137001
137014
  const args = ["info", packageName, "version"];
137002
137015
  if (registry2) {
137003
137016
  args.push(`--registry=${registry2}`);
137004
137017
  }
137005
- const result = yield (0, import_utils2.execa)("pnpm", args);
137018
+ const result = yield (0, import_utils3.execa)("pnpm", args);
137006
137019
  spinner.stop();
137007
- return stripAnsi3(result.stdout);
137020
+ return stripAnsi2(result.stdout);
137008
137021
  }
137009
- if (yield (0, import_utils2.canUseYarn)()) {
137022
+ if (yield (0, import_utils3.canUseYarn)()) {
137010
137023
  const args = ["info", packageName, "version", "--silent"];
137011
137024
  if (registry2) {
137012
137025
  args.push(`--registry=${registry2}`);
137013
137026
  }
137014
- const result = yield (0, import_utils2.execa)("yarn", args);
137027
+ const result = yield (0, import_utils3.execa)("yarn", args);
137015
137028
  spinner.stop();
137016
- return stripAnsi3(result.stdout);
137029
+ return stripAnsi2(result.stdout);
137017
137030
  }
137018
- if (yield (0, import_utils2.canUseNpm)()) {
137031
+ if (yield (0, import_utils3.canUseNpm)()) {
137019
137032
  const args = ["view", packageName, "version"];
137020
137033
  if (registry2) {
137021
137034
  args.push(`--registry=${registry2}`);
137022
137035
  }
137023
- const result = yield (0, import_utils2.execa)("npm", args);
137036
+ const result = yield (0, import_utils3.execa)("npm", args);
137024
137037
  spinner.stop();
137025
- return stripAnsi3(result.stdout);
137038
+ return stripAnsi2(result.stdout);
137026
137039
  }
137027
137040
  spinner.stop();
137028
137041
  throw new Error("not found npm, please install npm before");
137029
137042
  });
137030
137043
  }
137031
137044
  function getModernPluginVersion(_0, _1) {
137032
- return __async(this, arguments, function* (solution, packageName, options = {
137045
+ return __async2(this, arguments, function* (solution, packageName, options = {
137033
137046
  distTag: "latest"
137034
137047
  }) {
137035
137048
  const { cwd = process.cwd(), registry: registry2, distTag } = options;
137036
- const getLatetPluginVersion = (tag) => __async(this, null, function* () {
137049
+ const getLatetPluginVersion = (tag) => __async2(this, null, function* () {
137037
137050
  const version = yield getPackageVersion(
137038
137051
  `${packageName}@${tag || distTag || "latest"}`,
137039
137052
  registry2
@@ -137044,12 +137057,12 @@ function getModernPluginVersion(_0, _1) {
137044
137057
  return getLatetPluginVersion("latest");
137045
137058
  }
137046
137059
  const pkgPath = import_path3.default.join(
137047
- __require2.resolve(SolutionToolsMap[solution], { paths: [cwd] }),
137060
+ __require.resolve(SolutionToolsMap[solution], { paths: [cwd] }),
137048
137061
  "../../../../",
137049
137062
  "package.json"
137050
137063
  );
137051
- if (import_utils2.fs.existsSync(pkgPath)) {
137052
- const pkgInfo = import_utils2.fs.readJSONSync(pkgPath);
137064
+ if (import_utils3.fs.existsSync(pkgPath)) {
137065
+ const pkgInfo = import_utils3.fs.readJSONSync(pkgPath);
137053
137066
  const modernVersion = pkgInfo.version;
137054
137067
  if (typeof modernVersion !== "string") {
137055
137068
  return getLatetPluginVersion();
@@ -138828,6 +138841,50 @@ var PluginNpmAPI = /* @__PURE__ */ function() {
138828
138841
  return PluginNpmAPI2;
138829
138842
  }();
138830
138843
  var import_utils6 = __toESM2(require_dist2());
138844
+ function alreadyRepo(cwd = process.cwd()) {
138845
+ try {
138846
+ return import_utils4.fs.existsSync(import_path6.default.resolve(cwd, "package.json"));
138847
+ } catch (e) {
138848
+ return false;
138849
+ }
138850
+ }
138851
+ var readJson = (jsonPath) => {
138852
+ if (!import_utils4.fs.existsSync(jsonPath)) {
138853
+ return {};
138854
+ }
138855
+ const jsonStr = import_utils4.fs.readFileSync(jsonPath, { encoding: "utf8" });
138856
+ try {
138857
+ return import_utils6.json5.parse(jsonStr);
138858
+ } catch (error) {
138859
+ throw Error(`${jsonPath} is not a valid json, please check and try again.`);
138860
+ }
138861
+ };
138862
+ function hasEnabledFunction(action2, dependencies, devDependencies, peerDependencies, cwd) {
138863
+ var _a2, _b, _c;
138864
+ const packageJsonPath = import_path6.default.normalize(`${cwd}/package.json`);
138865
+ const packageJson = readJson(packageJsonPath);
138866
+ if (!dependencies[action2] && !devDependencies[action2]) {
138867
+ return false;
138868
+ }
138869
+ if (dependencies[action2]) {
138870
+ return (_a2 = packageJson.dependencies) == null ? void 0 : _a2[dependencies[action2]];
138871
+ }
138872
+ if (peerDependencies[action2]) {
138873
+ return (_b = packageJson.peerDependencies) == null ? void 0 : _b[peerDependencies[action2]];
138874
+ }
138875
+ if (!peerDependencies[action2] && devDependencies[action2]) {
138876
+ return (_c = packageJson.devDependencies) == null ? void 0 : _c[devDependencies[action2]];
138877
+ }
138878
+ return false;
138879
+ }
138880
+ function getGeneratorPath(generator, distTag) {
138881
+ if (process.env.CODESMITH_ENV === "development") {
138882
+ return import_path6.default.dirname(__require.resolve(generator));
138883
+ } else if (distTag) {
138884
+ return `${generator}@${distTag}`;
138885
+ }
138886
+ return generator;
138887
+ }
138831
138888
  var import_lodash6 = __toESM2(require_lodash2());
138832
138889
  var import_codesmith2 = __toESM2(require_node3());
138833
138890
  var import_lodash5 = __toESM2(require_lodash3());
@@ -139202,10 +139259,6 @@ var FormilyAPI = class {
139202
139259
  return this.mergeAnswers(answers, configValue);
139203
139260
  }
139204
139261
  };
139205
- var import_lodash7 = __toESM2(require_lodash2());
139206
- var import_codesmith3 = __toESM2(require_node3());
139207
- var import_lodash8 = __toESM2(require_lodash2());
139208
- var import_codesmith4 = __toESM2(require_node3());
139209
139262
  var __defProp22 = Object.defineProperty;
139210
139263
  var __defProps = Object.defineProperties;
139211
139264
  var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
@@ -139225,14 +139278,7 @@ var __spreadValues = (a, b) => {
139225
139278
  return a;
139226
139279
  };
139227
139280
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
139228
- var __require3 = /* @__PURE__ */ ((x) => typeof __require !== "undefined" ? __require : typeof Proxy !== "undefined" ? new Proxy(x, {
139229
- get: (a, b) => (typeof __require !== "undefined" ? __require : a)[b]
139230
- }) : x)(function(x) {
139231
- if (typeof __require !== "undefined")
139232
- return __require.apply(this, arguments);
139233
- throw new Error('Dynamic require of "' + x + '" is not supported');
139234
- });
139235
- var __async2 = (__this, __arguments, generator) => {
139281
+ var __async3 = (__this, __arguments, generator) => {
139236
139282
  return new Promise((resolve, reject) => {
139237
139283
  var fulfilled = (value) => {
139238
139284
  try {
@@ -139252,51 +139298,7 @@ var __async2 = (__this, __arguments, generator) => {
139252
139298
  step((generator = generator.apply(__this, __arguments)).next());
139253
139299
  });
139254
139300
  };
139255
- function alreadyRepo(cwd = process.cwd()) {
139256
- try {
139257
- return import_utils4.fs.existsSync(import_path6.default.resolve(cwd, "package.json"));
139258
- } catch (e) {
139259
- return false;
139260
- }
139261
- }
139262
- var readJson = (jsonPath) => {
139263
- if (!import_utils4.fs.existsSync(jsonPath)) {
139264
- return {};
139265
- }
139266
- const jsonStr = import_utils4.fs.readFileSync(jsonPath, { encoding: "utf8" });
139267
- try {
139268
- return import_utils6.json5.parse(jsonStr);
139269
- } catch (error) {
139270
- throw Error(`${jsonPath} is not a valid json, please check and try again.`);
139271
- }
139272
- };
139273
- function hasEnabledFunction(action2, dependencies, devDependencies, peerDependencies, cwd) {
139274
- var _a2, _b, _c;
139275
- const packageJsonPath = import_path6.default.normalize(`${cwd}/package.json`);
139276
- const packageJson = readJson(packageJsonPath);
139277
- if (!dependencies[action2] && !devDependencies[action2]) {
139278
- return false;
139279
- }
139280
- if (dependencies[action2]) {
139281
- return (_a2 = packageJson.dependencies) == null ? void 0 : _a2[dependencies[action2]];
139282
- }
139283
- if (peerDependencies[action2]) {
139284
- return (_b = packageJson.peerDependencies) == null ? void 0 : _b[peerDependencies[action2]];
139285
- }
139286
- if (!peerDependencies[action2] && devDependencies[action2]) {
139287
- return (_c = packageJson.devDependencies) == null ? void 0 : _c[devDependencies[action2]];
139288
- }
139289
- return false;
139290
- }
139291
- function getGeneratorPath(generator, distTag) {
139292
- if (process.env.CODESMITH_ENV === "development") {
139293
- return import_path6.default.dirname(__require3.resolve(generator));
139294
- } else if (distTag) {
139295
- return `${generator}@${distTag}`;
139296
- }
139297
- return generator;
139298
- }
139299
- var MWANewAction = (options) => __async2(void 0, null, function* () {
139301
+ var MWANewAction = (options) => __async3(void 0, null, function* () {
139300
139302
  const {
139301
139303
  locale = "zh",
139302
139304
  distTag = "",
@@ -139399,7 +139401,48 @@ var MWANewAction = (options) => __async2(void 0, null, function* () {
139399
139401
  pwd: cwd
139400
139402
  });
139401
139403
  });
139402
- var ModuleNewAction = (options) => __async2(void 0, null, function* () {
139404
+ var import_lodash7 = __toESM2(require_lodash2());
139405
+ var import_codesmith3 = __toESM2(require_node3());
139406
+ var __defProp3 = Object.defineProperty;
139407
+ var __defProps2 = Object.defineProperties;
139408
+ var __getOwnPropDescs2 = Object.getOwnPropertyDescriptors;
139409
+ var __getOwnPropSymbols2 = Object.getOwnPropertySymbols;
139410
+ var __hasOwnProp3 = Object.prototype.hasOwnProperty;
139411
+ var __propIsEnum2 = Object.prototype.propertyIsEnumerable;
139412
+ var __defNormalProp2 = (obj, key, value) => key in obj ? __defProp3(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
139413
+ var __spreadValues2 = (a, b) => {
139414
+ for (var prop in b || (b = {}))
139415
+ if (__hasOwnProp3.call(b, prop))
139416
+ __defNormalProp2(a, prop, b[prop]);
139417
+ if (__getOwnPropSymbols2)
139418
+ for (var prop of __getOwnPropSymbols2(b)) {
139419
+ if (__propIsEnum2.call(b, prop))
139420
+ __defNormalProp2(a, prop, b[prop]);
139421
+ }
139422
+ return a;
139423
+ };
139424
+ var __spreadProps2 = (a, b) => __defProps2(a, __getOwnPropDescs2(b));
139425
+ var __async4 = (__this, __arguments, generator) => {
139426
+ return new Promise((resolve, reject) => {
139427
+ var fulfilled = (value) => {
139428
+ try {
139429
+ step(generator.next(value));
139430
+ } catch (e) {
139431
+ reject(e);
139432
+ }
139433
+ };
139434
+ var rejected = (value) => {
139435
+ try {
139436
+ step(generator.throw(value));
139437
+ } catch (e) {
139438
+ reject(e);
139439
+ }
139440
+ };
139441
+ var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);
139442
+ step((generator = generator.apply(__this, __arguments)).next());
139443
+ });
139444
+ };
139445
+ var ModuleNewAction = (options) => __async4(void 0, null, function* () {
139403
139446
  const {
139404
139447
  locale = "zh",
139405
139448
  distTag = "",
@@ -139447,7 +139490,7 @@ var ModuleNewAction = (options) => __async2(void 0, null, function* () {
139447
139490
  smith.logger.warn("no option can be enabled");
139448
139491
  process.exit(1);
139449
139492
  }
139450
- const ans = yield formilyAPI.getInputBySchemaFunc(getModuleNewActionSchema, __spreadProps(__spreadValues({}, UserConfig), {
139493
+ const ans = yield formilyAPI.getInputBySchemaFunc(getModuleNewActionSchema, __spreadProps2(__spreadValues2({}, UserConfig), {
139451
139494
  funcMap
139452
139495
  }));
139453
139496
  const actionType = ans.actionType;
@@ -139499,8 +139542,30 @@ var ModuleNewAction = (options) => __async2(void 0, null, function* () {
139499
139542
  pwd: cwd
139500
139543
  });
139501
139544
  });
139545
+ var import_lodash8 = __toESM2(require_lodash2());
139546
+ var import_codesmith4 = __toESM2(require_node3());
139547
+ var __async5 = (__this, __arguments, generator) => {
139548
+ return new Promise((resolve, reject) => {
139549
+ var fulfilled = (value) => {
139550
+ try {
139551
+ step(generator.next(value));
139552
+ } catch (e) {
139553
+ reject(e);
139554
+ }
139555
+ };
139556
+ var rejected = (value) => {
139557
+ try {
139558
+ step(generator.throw(value));
139559
+ } catch (e) {
139560
+ reject(e);
139561
+ }
139562
+ };
139563
+ var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);
139564
+ step((generator = generator.apply(__this, __arguments)).next());
139565
+ });
139566
+ };
139502
139567
  var REPO_GENERATOR = "@modern-js/repo-generator";
139503
- var MonorepoNewAction = (options) => __async2(void 0, null, function* () {
139568
+ var MonorepoNewAction = (options) => __async5(void 0, null, function* () {
139504
139569
  const {
139505
139570
  locale = "zh",
139506
139571
  distTag = "",
@@ -139526,10 +139591,10 @@ var MonorepoNewAction = (options) => __async2(void 0, null, function* () {
139526
139591
  }
139527
139592
  const plugins = plugin.map((plugin2) => {
139528
139593
  try {
139529
- return import_path7.default.join(__require3.resolve(plugin2), "../../");
139594
+ return import_path7.default.join(__require.resolve(plugin2), "../../");
139530
139595
  } catch (e) {
139531
139596
  try {
139532
- return import_path7.default.join(__require3.resolve(plugin2), "../../../../");
139597
+ return import_path7.default.join(__require.resolve(plugin2), "../../../../");
139533
139598
  } catch (e2) {
139534
139599
  return plugin2;
139535
139600
  }
@@ -139544,7 +139609,7 @@ var MonorepoNewAction = (options) => __async2(void 0, null, function* () {
139544
139609
  });
139545
139610
  let generator = REPO_GENERATOR;
139546
139611
  if (process.env.CODESMITH_ENV === "development") {
139547
- generator = __require3.resolve(generator);
139612
+ generator = __require.resolve(generator);
139548
139613
  } else if (distTag) {
139549
139614
  generator = `${generator}@${distTag}`;
139550
139615
  }