drizzle-kit 0.18.1-4ef40ef → 0.18.1-6db4d04

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/bin.js +290 -287
  2. package/package.json +1 -1
package/bin.js CHANGED
@@ -56,7 +56,7 @@ var require_windows = __commonJS({
56
56
  module2.exports = isexe;
57
57
  isexe.sync = sync;
58
58
  var fs5 = require("fs");
59
- function checkPathExt(path2, options) {
59
+ function checkPathExt(path3, options) {
60
60
  var pathext = options.pathExt !== void 0 ? options.pathExt : process.env.PATHEXT;
61
61
  if (!pathext) {
62
62
  return true;
@@ -67,25 +67,25 @@ var require_windows = __commonJS({
67
67
  }
68
68
  for (var i2 = 0; i2 < pathext.length; i2++) {
69
69
  var p = pathext[i2].toLowerCase();
70
- if (p && path2.substr(-p.length).toLowerCase() === p) {
70
+ if (p && path3.substr(-p.length).toLowerCase() === p) {
71
71
  return true;
72
72
  }
73
73
  }
74
74
  return false;
75
75
  }
76
- function checkStat(stat2, path2, options) {
76
+ function checkStat(stat2, path3, options) {
77
77
  if (!stat2.isSymbolicLink() && !stat2.isFile()) {
78
78
  return false;
79
79
  }
80
- return checkPathExt(path2, options);
80
+ return checkPathExt(path3, options);
81
81
  }
82
- function isexe(path2, options, cb) {
83
- fs5.stat(path2, function(er, stat2) {
84
- cb(er, er ? false : checkStat(stat2, path2, options));
82
+ function isexe(path3, options, cb) {
83
+ fs5.stat(path3, function(er, stat2) {
84
+ cb(er, er ? false : checkStat(stat2, path3, options));
85
85
  });
86
86
  }
87
- function sync(path2, options) {
88
- return checkStat(fs5.statSync(path2), path2, options);
87
+ function sync(path3, options) {
88
+ return checkStat(fs5.statSync(path3), path3, options);
89
89
  }
90
90
  }
91
91
  });
@@ -96,13 +96,13 @@ var require_mode = __commonJS({
96
96
  module2.exports = isexe;
97
97
  isexe.sync = sync;
98
98
  var fs5 = require("fs");
99
- function isexe(path2, options, cb) {
100
- fs5.stat(path2, function(er, stat2) {
99
+ function isexe(path3, options, cb) {
100
+ fs5.stat(path3, function(er, stat2) {
101
101
  cb(er, er ? false : checkStat(stat2, options));
102
102
  });
103
103
  }
104
- function sync(path2, options) {
105
- return checkStat(fs5.statSync(path2), options);
104
+ function sync(path3, options) {
105
+ return checkStat(fs5.statSync(path3), options);
106
106
  }
107
107
  function checkStat(stat2, options) {
108
108
  return stat2.isFile() && checkMode(stat2, options);
@@ -135,7 +135,7 @@ var require_isexe = __commonJS({
135
135
  }
136
136
  module2.exports = isexe;
137
137
  isexe.sync = sync;
138
- function isexe(path2, options, cb) {
138
+ function isexe(path3, options, cb) {
139
139
  if (typeof options === "function") {
140
140
  cb = options;
141
141
  options = {};
@@ -145,7 +145,7 @@ var require_isexe = __commonJS({
145
145
  throw new TypeError("callback not provided");
146
146
  }
147
147
  return new Promise(function(resolve, reject) {
148
- isexe(path2, options || {}, function(er, is) {
148
+ isexe(path3, options || {}, function(er, is) {
149
149
  if (er) {
150
150
  reject(er);
151
151
  } else {
@@ -154,7 +154,7 @@ var require_isexe = __commonJS({
154
154
  });
155
155
  });
156
156
  }
157
- core(path2, options || {}, function(er, is) {
157
+ core(path3, options || {}, function(er, is) {
158
158
  if (er) {
159
159
  if (er.code === "EACCES" || options && options.ignoreErrors) {
160
160
  er = null;
@@ -164,9 +164,9 @@ var require_isexe = __commonJS({
164
164
  cb(er, is);
165
165
  });
166
166
  }
167
- function sync(path2, options) {
167
+ function sync(path3, options) {
168
168
  try {
169
- return core.sync(path2, options || {});
169
+ return core.sync(path3, options || {});
170
170
  } catch (er) {
171
171
  if (options && options.ignoreErrors || er.code === "EACCES") {
172
172
  return false;
@@ -1185,7 +1185,7 @@ var require_path = __commonJS({
1185
1185
  "use strict";
1186
1186
  Object.defineProperty(exports, "__esModule", { value: true });
1187
1187
  exports.removeLeadingDotSegment = exports.escape = exports.makeAbsolute = exports.unixify = void 0;
1188
- var path2 = require("path");
1188
+ var path3 = require("path");
1189
1189
  var LEADING_DOT_SEGMENT_CHARACTERS_COUNT = 2;
1190
1190
  var UNESCAPED_GLOB_SYMBOLS_RE = /(\\?)([()*?[\]{|}]|^!|[!+@](?=\())/g;
1191
1191
  function unixify(filepath) {
@@ -1193,7 +1193,7 @@ var require_path = __commonJS({
1193
1193
  }
1194
1194
  exports.unixify = unixify;
1195
1195
  function makeAbsolute(cwd, filepath) {
1196
- return path2.resolve(cwd, filepath);
1196
+ return path3.resolve(cwd, filepath);
1197
1197
  }
1198
1198
  exports.makeAbsolute = makeAbsolute;
1199
1199
  function escape(pattern) {
@@ -2500,7 +2500,7 @@ var require_braces = __commonJS({
2500
2500
  var require_constants2 = __commonJS({
2501
2501
  "node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/constants.js"(exports, module2) {
2502
2502
  "use strict";
2503
- var path2 = require("path");
2503
+ var path3 = require("path");
2504
2504
  var WIN_SLASH = "\\\\/";
2505
2505
  var WIN_NO_SLASH = `[^${WIN_SLASH}]`;
2506
2506
  var DOT_LITERAL = "\\.";
@@ -2670,7 +2670,7 @@ var require_constants2 = __commonJS({
2670
2670
  /* | */
2671
2671
  CHAR_ZERO_WIDTH_NOBREAK_SPACE: 65279,
2672
2672
  /* \uFEFF */
2673
- SEP: path2.sep,
2673
+ SEP: path3.sep,
2674
2674
  /**
2675
2675
  * Create EXTGLOB_CHARS
2676
2676
  */
@@ -2697,7 +2697,7 @@ var require_constants2 = __commonJS({
2697
2697
  var require_utils2 = __commonJS({
2698
2698
  "node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/utils.js"(exports) {
2699
2699
  "use strict";
2700
- var path2 = require("path");
2700
+ var path3 = require("path");
2701
2701
  var win32 = process.platform === "win32";
2702
2702
  var {
2703
2703
  REGEX_BACKSLASH,
@@ -2726,7 +2726,7 @@ var require_utils2 = __commonJS({
2726
2726
  if (options && typeof options.windows === "boolean") {
2727
2727
  return options.windows;
2728
2728
  }
2729
- return win32 === true || path2.sep === "\\";
2729
+ return win32 === true || path3.sep === "\\";
2730
2730
  };
2731
2731
  exports.escapeLast = (input, char, lastIdx) => {
2732
2732
  const idx = input.lastIndexOf(char, lastIdx);
@@ -3874,7 +3874,7 @@ var require_parse2 = __commonJS({
3874
3874
  var require_picomatch = __commonJS({
3875
3875
  "node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/picomatch.js"(exports, module2) {
3876
3876
  "use strict";
3877
- var path2 = require("path");
3877
+ var path3 = require("path");
3878
3878
  var scan = require_scan();
3879
3879
  var parse = require_parse2();
3880
3880
  var utils = require_utils2();
@@ -3960,7 +3960,7 @@ var require_picomatch = __commonJS({
3960
3960
  };
3961
3961
  picomatch.matchBase = (input, glob2, options, posix = utils.isWindows(options)) => {
3962
3962
  const regex = glob2 instanceof RegExp ? glob2 : picomatch.makeRe(glob2, options);
3963
- return regex.test(path2.basename(input));
3963
+ return regex.test(path3.basename(input));
3964
3964
  };
3965
3965
  picomatch.isMatch = (str, patterns, options) => picomatch(patterns, options)(str);
3966
3966
  picomatch.parse = (pattern, options) => {
@@ -4190,7 +4190,7 @@ var require_pattern = __commonJS({
4190
4190
  "use strict";
4191
4191
  Object.defineProperty(exports, "__esModule", { value: true });
4192
4192
  exports.matchAny = exports.convertPatternsToRe = exports.makeRe = exports.getPatternParts = exports.expandBraceExpansion = exports.expandPatternsWithBraceExpansion = exports.isAffectDepthOfReadingPattern = exports.endsWithSlashGlobStar = exports.hasGlobStar = exports.getBaseDirectory = exports.isPatternRelatedToParentDirectory = exports.getPatternsOutsideCurrentDirectory = exports.getPatternsInsideCurrentDirectory = exports.getPositivePatterns = exports.getNegativePatterns = exports.isPositivePattern = exports.isNegativePattern = exports.convertToNegativePattern = exports.convertToPositivePattern = exports.isDynamicPattern = exports.isStaticPattern = void 0;
4193
- var path2 = require("path");
4193
+ var path3 = require("path");
4194
4194
  var globParent = require_glob_parent();
4195
4195
  var micromatch = require_micromatch();
4196
4196
  var GLOBSTAR = "**";
@@ -4284,7 +4284,7 @@ var require_pattern = __commonJS({
4284
4284
  }
4285
4285
  exports.endsWithSlashGlobStar = endsWithSlashGlobStar;
4286
4286
  function isAffectDepthOfReadingPattern(pattern) {
4287
- const basename = path2.basename(pattern);
4287
+ const basename = path3.basename(pattern);
4288
4288
  return endsWithSlashGlobStar(pattern) || isStaticPattern(basename);
4289
4289
  }
4290
4290
  exports.isAffectDepthOfReadingPattern = isAffectDepthOfReadingPattern;
@@ -4380,8 +4380,8 @@ var require_utils3 = __commonJS({
4380
4380
  exports.errno = errno;
4381
4381
  var fs5 = require_fs();
4382
4382
  exports.fs = fs5;
4383
- var path2 = require_path();
4384
- exports.path = path2;
4383
+ var path3 = require_path();
4384
+ exports.path = path3;
4385
4385
  var pattern = require_pattern();
4386
4386
  exports.pattern = pattern;
4387
4387
  var stream = require_stream();
@@ -4499,8 +4499,8 @@ var require_async = __commonJS({
4499
4499
  "use strict";
4500
4500
  Object.defineProperty(exports, "__esModule", { value: true });
4501
4501
  exports.read = void 0;
4502
- function read(path2, settings, callback) {
4503
- settings.fs.lstat(path2, (lstatError, lstat) => {
4502
+ function read(path3, settings, callback) {
4503
+ settings.fs.lstat(path3, (lstatError, lstat) => {
4504
4504
  if (lstatError !== null) {
4505
4505
  callFailureCallback(callback, lstatError);
4506
4506
  return;
@@ -4509,7 +4509,7 @@ var require_async = __commonJS({
4509
4509
  callSuccessCallback(callback, lstat);
4510
4510
  return;
4511
4511
  }
4512
- settings.fs.stat(path2, (statError, stat2) => {
4512
+ settings.fs.stat(path3, (statError, stat2) => {
4513
4513
  if (statError !== null) {
4514
4514
  if (settings.throwErrorOnBrokenSymbolicLink) {
4515
4515
  callFailureCallback(callback, statError);
@@ -4541,13 +4541,13 @@ var require_sync = __commonJS({
4541
4541
  "use strict";
4542
4542
  Object.defineProperty(exports, "__esModule", { value: true });
4543
4543
  exports.read = void 0;
4544
- function read(path2, settings) {
4545
- const lstat = settings.fs.lstatSync(path2);
4544
+ function read(path3, settings) {
4545
+ const lstat = settings.fs.lstatSync(path3);
4546
4546
  if (!lstat.isSymbolicLink() || !settings.followSymbolicLink) {
4547
4547
  return lstat;
4548
4548
  }
4549
4549
  try {
4550
- const stat2 = settings.fs.statSync(path2);
4550
+ const stat2 = settings.fs.statSync(path3);
4551
4551
  if (settings.markSymbolicLink) {
4552
4552
  stat2.isSymbolicLink = () => true;
4553
4553
  }
@@ -4618,17 +4618,17 @@ var require_out = __commonJS({
4618
4618
  var sync = require_sync();
4619
4619
  var settings_1 = require_settings();
4620
4620
  exports.Settings = settings_1.default;
4621
- function stat2(path2, optionsOrSettingsOrCallback, callback) {
4621
+ function stat2(path3, optionsOrSettingsOrCallback, callback) {
4622
4622
  if (typeof optionsOrSettingsOrCallback === "function") {
4623
- async.read(path2, getSettings(), optionsOrSettingsOrCallback);
4623
+ async.read(path3, getSettings(), optionsOrSettingsOrCallback);
4624
4624
  return;
4625
4625
  }
4626
- async.read(path2, getSettings(optionsOrSettingsOrCallback), callback);
4626
+ async.read(path3, getSettings(optionsOrSettingsOrCallback), callback);
4627
4627
  }
4628
4628
  exports.stat = stat2;
4629
- function statSync2(path2, optionsOrSettings) {
4629
+ function statSync2(path3, optionsOrSettings) {
4630
4630
  const settings = getSettings(optionsOrSettings);
4631
- return sync.read(path2, settings);
4631
+ return sync.read(path3, settings);
4632
4632
  }
4633
4633
  exports.statSync = statSync2;
4634
4634
  function getSettings(settingsOrOptions = {}) {
@@ -4847,16 +4847,16 @@ var require_async2 = __commonJS({
4847
4847
  return;
4848
4848
  }
4849
4849
  const tasks = names.map((name) => {
4850
- const path2 = common.joinPathSegments(directory, name, settings.pathSegmentSeparator);
4850
+ const path3 = common.joinPathSegments(directory, name, settings.pathSegmentSeparator);
4851
4851
  return (done) => {
4852
- fsStat.stat(path2, settings.fsStatSettings, (error, stats) => {
4852
+ fsStat.stat(path3, settings.fsStatSettings, (error, stats) => {
4853
4853
  if (error !== null) {
4854
4854
  done(error);
4855
4855
  return;
4856
4856
  }
4857
4857
  const entry = {
4858
4858
  name,
4859
- path: path2,
4859
+ path: path3,
4860
4860
  dirent: utils.fs.createDirentFromStats(name, stats)
4861
4861
  };
4862
4862
  if (settings.stats) {
@@ -4974,7 +4974,7 @@ var require_settings2 = __commonJS({
4974
4974
  "node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/settings.js"(exports) {
4975
4975
  "use strict";
4976
4976
  Object.defineProperty(exports, "__esModule", { value: true });
4977
- var path2 = require("path");
4977
+ var path3 = require("path");
4978
4978
  var fsStat = require_out();
4979
4979
  var fs5 = require_fs4();
4980
4980
  var Settings = class {
@@ -4982,7 +4982,7 @@ var require_settings2 = __commonJS({
4982
4982
  this._options = _options;
4983
4983
  this.followSymbolicLinks = this._getValue(this._options.followSymbolicLinks, false);
4984
4984
  this.fs = fs5.createFileSystemAdapter(this._options.fs);
4985
- this.pathSegmentSeparator = this._getValue(this._options.pathSegmentSeparator, path2.sep);
4985
+ this.pathSegmentSeparator = this._getValue(this._options.pathSegmentSeparator, path3.sep);
4986
4986
  this.stats = this._getValue(this._options.stats, false);
4987
4987
  this.throwErrorOnBrokenSymbolicLink = this._getValue(this._options.throwErrorOnBrokenSymbolicLink, true);
4988
4988
  this.fsStatSettings = new fsStat.Settings({
@@ -5009,17 +5009,17 @@ var require_out2 = __commonJS({
5009
5009
  var sync = require_sync2();
5010
5010
  var settings_1 = require_settings2();
5011
5011
  exports.Settings = settings_1.default;
5012
- function scandir(path2, optionsOrSettingsOrCallback, callback) {
5012
+ function scandir(path3, optionsOrSettingsOrCallback, callback) {
5013
5013
  if (typeof optionsOrSettingsOrCallback === "function") {
5014
- async.read(path2, getSettings(), optionsOrSettingsOrCallback);
5014
+ async.read(path3, getSettings(), optionsOrSettingsOrCallback);
5015
5015
  return;
5016
5016
  }
5017
- async.read(path2, getSettings(optionsOrSettingsOrCallback), callback);
5017
+ async.read(path3, getSettings(optionsOrSettingsOrCallback), callback);
5018
5018
  }
5019
5019
  exports.scandir = scandir;
5020
- function scandirSync(path2, optionsOrSettings) {
5020
+ function scandirSync(path3, optionsOrSettings) {
5021
5021
  const settings = getSettings(optionsOrSettings);
5022
- return sync.read(path2, settings);
5022
+ return sync.read(path3, settings);
5023
5023
  }
5024
5024
  exports.scandirSync = scandirSync;
5025
5025
  function getSettings(settingsOrOptions = {}) {
@@ -5623,7 +5623,7 @@ var require_settings3 = __commonJS({
5623
5623
  "node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/settings.js"(exports) {
5624
5624
  "use strict";
5625
5625
  Object.defineProperty(exports, "__esModule", { value: true });
5626
- var path2 = require("path");
5626
+ var path3 = require("path");
5627
5627
  var fsScandir = require_out2();
5628
5628
  var Settings = class {
5629
5629
  constructor(_options = {}) {
@@ -5633,7 +5633,7 @@ var require_settings3 = __commonJS({
5633
5633
  this.deepFilter = this._getValue(this._options.deepFilter, null);
5634
5634
  this.entryFilter = this._getValue(this._options.entryFilter, null);
5635
5635
  this.errorFilter = this._getValue(this._options.errorFilter, null);
5636
- this.pathSegmentSeparator = this._getValue(this._options.pathSegmentSeparator, path2.sep);
5636
+ this.pathSegmentSeparator = this._getValue(this._options.pathSegmentSeparator, path3.sep);
5637
5637
  this.fsScandirSettings = new fsScandir.Settings({
5638
5638
  followSymbolicLinks: this._options.followSymbolicLinks,
5639
5639
  fs: this._options.fs,
@@ -5695,7 +5695,7 @@ var require_reader2 = __commonJS({
5695
5695
  "node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/readers/reader.js"(exports) {
5696
5696
  "use strict";
5697
5697
  Object.defineProperty(exports, "__esModule", { value: true });
5698
- var path2 = require("path");
5698
+ var path3 = require("path");
5699
5699
  var fsStat = require_out();
5700
5700
  var utils = require_utils3();
5701
5701
  var Reader = class {
@@ -5708,7 +5708,7 @@ var require_reader2 = __commonJS({
5708
5708
  });
5709
5709
  }
5710
5710
  _getFullEntryPath(filepath) {
5711
- return path2.resolve(this._settings.cwd, filepath);
5711
+ return path3.resolve(this._settings.cwd, filepath);
5712
5712
  }
5713
5713
  _makeEntry(stats, pattern) {
5714
5714
  const entry = {
@@ -6104,7 +6104,7 @@ var require_provider = __commonJS({
6104
6104
  "node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/provider.js"(exports) {
6105
6105
  "use strict";
6106
6106
  Object.defineProperty(exports, "__esModule", { value: true });
6107
- var path2 = require("path");
6107
+ var path3 = require("path");
6108
6108
  var deep_1 = require_deep();
6109
6109
  var entry_1 = require_entry();
6110
6110
  var error_1 = require_error();
@@ -6118,7 +6118,7 @@ var require_provider = __commonJS({
6118
6118
  this.entryTransformer = new entry_2.default(this._settings);
6119
6119
  }
6120
6120
  _getRootDirectory(task) {
6121
- return path2.resolve(this._settings.cwd, task.base);
6121
+ return path3.resolve(this._settings.cwd, task.base);
6122
6122
  }
6123
6123
  _getReaderOptions(task) {
6124
6124
  const basePath = task.base === "." ? "" : task.base;
@@ -6465,15 +6465,15 @@ var require_path_type = __commonJS({
6465
6465
  var require_dir_glob = __commonJS({
6466
6466
  "node_modules/.pnpm/dir-glob@3.0.1/node_modules/dir-glob/index.js"(exports, module2) {
6467
6467
  "use strict";
6468
- var path2 = require("path");
6468
+ var path3 = require("path");
6469
6469
  var pathType = require_path_type();
6470
6470
  var getExtensions = (extensions) => extensions.length > 1 ? `{${extensions.join(",")}}` : extensions[0];
6471
6471
  var getPath = (filepath, cwd) => {
6472
6472
  const pth = filepath[0] === "!" ? filepath.slice(1) : filepath;
6473
- return path2.isAbsolute(pth) ? pth : path2.join(cwd, pth);
6473
+ return path3.isAbsolute(pth) ? pth : path3.join(cwd, pth);
6474
6474
  };
6475
6475
  var addExtensions = (file, extensions) => {
6476
- if (path2.extname(file)) {
6476
+ if (path3.extname(file)) {
6477
6477
  return `**/${file}`;
6478
6478
  }
6479
6479
  return `**/${file}.${getExtensions(extensions)}`;
@@ -6486,15 +6486,15 @@ var require_dir_glob = __commonJS({
6486
6486
  throw new TypeError(`Expected \`extensions\` to be of type \`Array\` but received type \`${typeof options.extensions}\``);
6487
6487
  }
6488
6488
  if (options.files && options.extensions) {
6489
- return options.files.map((x2) => path2.posix.join(directory, addExtensions(x2, options.extensions)));
6489
+ return options.files.map((x2) => path3.posix.join(directory, addExtensions(x2, options.extensions)));
6490
6490
  }
6491
6491
  if (options.files) {
6492
- return options.files.map((x2) => path2.posix.join(directory, `**/${x2}`));
6492
+ return options.files.map((x2) => path3.posix.join(directory, `**/${x2}`));
6493
6493
  }
6494
6494
  if (options.extensions) {
6495
- return [path2.posix.join(directory, `**/*.${getExtensions(options.extensions)}`)];
6495
+ return [path3.posix.join(directory, `**/*.${getExtensions(options.extensions)}`)];
6496
6496
  }
6497
- return [path2.posix.join(directory, "**")];
6497
+ return [path3.posix.join(directory, "**")];
6498
6498
  };
6499
6499
  module2.exports = async (input, options) => {
6500
6500
  options = {
@@ -6740,17 +6740,17 @@ var require_ignore = __commonJS({
6740
6740
  var throwError = (message, Ctor) => {
6741
6741
  throw new Ctor(message);
6742
6742
  };
6743
- var checkPath = (path2, originalPath, doThrow) => {
6744
- if (!isString2(path2)) {
6743
+ var checkPath = (path3, originalPath, doThrow) => {
6744
+ if (!isString2(path3)) {
6745
6745
  return doThrow(
6746
6746
  `path must be a string, but got \`${originalPath}\``,
6747
6747
  TypeError
6748
6748
  );
6749
6749
  }
6750
- if (!path2) {
6750
+ if (!path3) {
6751
6751
  return doThrow(`path must not be empty`, TypeError);
6752
6752
  }
6753
- if (checkPath.isNotRelative(path2)) {
6753
+ if (checkPath.isNotRelative(path3)) {
6754
6754
  const r2 = "`path.relative()`d";
6755
6755
  return doThrow(
6756
6756
  `path should be a ${r2} string, but got "${originalPath}"`,
@@ -6759,7 +6759,7 @@ var require_ignore = __commonJS({
6759
6759
  }
6760
6760
  return true;
6761
6761
  };
6762
- var isNotRelative = (path2) => REGEX_TEST_INVALID_PATH.test(path2);
6762
+ var isNotRelative = (path3) => REGEX_TEST_INVALID_PATH.test(path3);
6763
6763
  checkPath.isNotRelative = isNotRelative;
6764
6764
  checkPath.convert = (p) => p;
6765
6765
  var Ignore = class {
@@ -6818,7 +6818,7 @@ var require_ignore = __commonJS({
6818
6818
  // setting `checkUnignored` to `false` could reduce additional
6819
6819
  // path matching.
6820
6820
  // @returns {TestResult} true if a file is ignored
6821
- _testOne(path2, checkUnignored) {
6821
+ _testOne(path3, checkUnignored) {
6822
6822
  let ignored = false;
6823
6823
  let unignored = false;
6824
6824
  this._rules.forEach((rule) => {
@@ -6826,7 +6826,7 @@ var require_ignore = __commonJS({
6826
6826
  if (unignored === negative && ignored !== unignored || negative && !ignored && !unignored && !checkUnignored) {
6827
6827
  return;
6828
6828
  }
6829
- const matched = rule.regex.test(path2);
6829
+ const matched = rule.regex.test(path3);
6830
6830
  if (matched) {
6831
6831
  ignored = !negative;
6832
6832
  unignored = negative;
@@ -6839,24 +6839,24 @@ var require_ignore = __commonJS({
6839
6839
  }
6840
6840
  // @returns {TestResult}
6841
6841
  _test(originalPath, cache, checkUnignored, slices) {
6842
- const path2 = originalPath && checkPath.convert(originalPath);
6842
+ const path3 = originalPath && checkPath.convert(originalPath);
6843
6843
  checkPath(
6844
- path2,
6844
+ path3,
6845
6845
  originalPath,
6846
6846
  this._allowRelativePaths ? RETURN_FALSE : throwError
6847
6847
  );
6848
- return this._t(path2, cache, checkUnignored, slices);
6848
+ return this._t(path3, cache, checkUnignored, slices);
6849
6849
  }
6850
- _t(path2, cache, checkUnignored, slices) {
6851
- if (path2 in cache) {
6852
- return cache[path2];
6850
+ _t(path3, cache, checkUnignored, slices) {
6851
+ if (path3 in cache) {
6852
+ return cache[path3];
6853
6853
  }
6854
6854
  if (!slices) {
6855
- slices = path2.split(SLASH);
6855
+ slices = path3.split(SLASH);
6856
6856
  }
6857
6857
  slices.pop();
6858
6858
  if (!slices.length) {
6859
- return cache[path2] = this._testOne(path2, checkUnignored);
6859
+ return cache[path3] = this._testOne(path3, checkUnignored);
6860
6860
  }
6861
6861
  const parent = this._t(
6862
6862
  slices.join(SLASH) + SLASH,
@@ -6864,24 +6864,24 @@ var require_ignore = __commonJS({
6864
6864
  checkUnignored,
6865
6865
  slices
6866
6866
  );
6867
- return cache[path2] = parent.ignored ? parent : this._testOne(path2, checkUnignored);
6867
+ return cache[path3] = parent.ignored ? parent : this._testOne(path3, checkUnignored);
6868
6868
  }
6869
- ignores(path2) {
6870
- return this._test(path2, this._ignoreCache, false).ignored;
6869
+ ignores(path3) {
6870
+ return this._test(path3, this._ignoreCache, false).ignored;
6871
6871
  }
6872
6872
  createFilter() {
6873
- return (path2) => !this.ignores(path2);
6873
+ return (path3) => !this.ignores(path3);
6874
6874
  }
6875
6875
  filter(paths) {
6876
6876
  return makeArray(paths).filter(this.createFilter());
6877
6877
  }
6878
6878
  // @returns {TestResult}
6879
- test(path2) {
6880
- return this._test(path2, this._testCache, true);
6879
+ test(path3) {
6880
+ return this._test(path3, this._testCache, true);
6881
6881
  }
6882
6882
  };
6883
6883
  var factory = (options) => new Ignore(options);
6884
- var isPathValid = (path2) => checkPath(path2 && checkPath.convert(path2), path2, RETURN_FALSE);
6884
+ var isPathValid = (path3) => checkPath(path3 && checkPath.convert(path3), path3, RETURN_FALSE);
6885
6885
  factory.isPathValid = isPathValid;
6886
6886
  factory.default = factory;
6887
6887
  module2.exports = factory;
@@ -6892,7 +6892,7 @@ var require_ignore = __commonJS({
6892
6892
  const makePosix = (str) => /^\\\\\?\\/.test(str) || /["<>|\u0000-\u001F]+/u.test(str) ? str : str.replace(/\\/g, "/");
6893
6893
  checkPath.convert = makePosix;
6894
6894
  const REGIX_IS_WINDOWS_PATH_ABSOLUTE = /^[a-z]:\//i;
6895
- checkPath.isNotRelative = (path2) => REGIX_IS_WINDOWS_PATH_ABSOLUTE.test(path2) || isNotRelative(path2);
6895
+ checkPath.isNotRelative = (path3) => REGIX_IS_WINDOWS_PATH_ABSOLUTE.test(path3) || isNotRelative(path3);
6896
6896
  }
6897
6897
  }
6898
6898
  });
@@ -11840,7 +11840,7 @@ var require_polyfills = __commonJS({
11840
11840
  fs5.fstatSync = statFixSync(fs5.fstatSync);
11841
11841
  fs5.lstatSync = statFixSync(fs5.lstatSync);
11842
11842
  if (fs5.chmod && !fs5.lchmod) {
11843
- fs5.lchmod = function(path2, mode, cb) {
11843
+ fs5.lchmod = function(path3, mode, cb) {
11844
11844
  if (cb)
11845
11845
  process.nextTick(cb);
11846
11846
  };
@@ -11848,7 +11848,7 @@ var require_polyfills = __commonJS({
11848
11848
  };
11849
11849
  }
11850
11850
  if (fs5.chown && !fs5.lchown) {
11851
- fs5.lchown = function(path2, uid, gid, cb) {
11851
+ fs5.lchown = function(path3, uid, gid, cb) {
11852
11852
  if (cb)
11853
11853
  process.nextTick(cb);
11854
11854
  };
@@ -11919,9 +11919,9 @@ var require_polyfills = __commonJS({
11919
11919
  };
11920
11920
  }(fs5.readSync);
11921
11921
  function patchLchmod(fs6) {
11922
- fs6.lchmod = function(path2, mode, callback) {
11922
+ fs6.lchmod = function(path3, mode, callback) {
11923
11923
  fs6.open(
11924
- path2,
11924
+ path3,
11925
11925
  constants.O_WRONLY | constants.O_SYMLINK,
11926
11926
  mode,
11927
11927
  function(err, fd) {
@@ -11939,8 +11939,8 @@ var require_polyfills = __commonJS({
11939
11939
  }
11940
11940
  );
11941
11941
  };
11942
- fs6.lchmodSync = function(path2, mode) {
11943
- var fd = fs6.openSync(path2, constants.O_WRONLY | constants.O_SYMLINK, mode);
11942
+ fs6.lchmodSync = function(path3, mode) {
11943
+ var fd = fs6.openSync(path3, constants.O_WRONLY | constants.O_SYMLINK, mode);
11944
11944
  var threw = true;
11945
11945
  var ret;
11946
11946
  try {
@@ -11961,8 +11961,8 @@ var require_polyfills = __commonJS({
11961
11961
  }
11962
11962
  function patchLutimes(fs6) {
11963
11963
  if (constants.hasOwnProperty("O_SYMLINK") && fs6.futimes) {
11964
- fs6.lutimes = function(path2, at, mt, cb) {
11965
- fs6.open(path2, constants.O_SYMLINK, function(er, fd) {
11964
+ fs6.lutimes = function(path3, at, mt, cb) {
11965
+ fs6.open(path3, constants.O_SYMLINK, function(er, fd) {
11966
11966
  if (er) {
11967
11967
  if (cb)
11968
11968
  cb(er);
@@ -11976,8 +11976,8 @@ var require_polyfills = __commonJS({
11976
11976
  });
11977
11977
  });
11978
11978
  };
11979
- fs6.lutimesSync = function(path2, at, mt) {
11980
- var fd = fs6.openSync(path2, constants.O_SYMLINK);
11979
+ fs6.lutimesSync = function(path3, at, mt) {
11980
+ var fd = fs6.openSync(path3, constants.O_SYMLINK);
11981
11981
  var ret;
11982
11982
  var threw = true;
11983
11983
  try {
@@ -12113,12 +12113,12 @@ var require_legacy_streams = __commonJS({
12113
12113
  ReadStream,
12114
12114
  WriteStream
12115
12115
  };
12116
- function ReadStream(path2, options) {
12116
+ function ReadStream(path3, options) {
12117
12117
  if (!(this instanceof ReadStream))
12118
- return new ReadStream(path2, options);
12118
+ return new ReadStream(path3, options);
12119
12119
  Stream3.call(this);
12120
12120
  var self2 = this;
12121
- this.path = path2;
12121
+ this.path = path3;
12122
12122
  this.fd = null;
12123
12123
  this.readable = true;
12124
12124
  this.paused = false;
@@ -12164,11 +12164,11 @@ var require_legacy_streams = __commonJS({
12164
12164
  self2._read();
12165
12165
  });
12166
12166
  }
12167
- function WriteStream(path2, options) {
12167
+ function WriteStream(path3, options) {
12168
12168
  if (!(this instanceof WriteStream))
12169
- return new WriteStream(path2, options);
12169
+ return new WriteStream(path3, options);
12170
12170
  Stream3.call(this);
12171
- this.path = path2;
12171
+ this.path = path3;
12172
12172
  this.fd = null;
12173
12173
  this.writable = true;
12174
12174
  this.flags = "w";
@@ -12311,14 +12311,14 @@ var require_graceful_fs = __commonJS({
12311
12311
  fs6.createWriteStream = createWriteStream;
12312
12312
  var fs$readFile = fs6.readFile;
12313
12313
  fs6.readFile = readFile;
12314
- function readFile(path2, options, cb) {
12314
+ function readFile(path3, options, cb) {
12315
12315
  if (typeof options === "function")
12316
12316
  cb = options, options = null;
12317
- return go$readFile(path2, options, cb);
12318
- function go$readFile(path3, options2, cb2, startTime) {
12319
- return fs$readFile(path3, options2, function(err) {
12317
+ return go$readFile(path3, options, cb);
12318
+ function go$readFile(path4, options2, cb2, startTime) {
12319
+ return fs$readFile(path4, options2, function(err) {
12320
12320
  if (err && (err.code === "EMFILE" || err.code === "ENFILE"))
12321
- enqueue([go$readFile, [path3, options2, cb2], err, startTime || Date.now(), Date.now()]);
12321
+ enqueue([go$readFile, [path4, options2, cb2], err, startTime || Date.now(), Date.now()]);
12322
12322
  else {
12323
12323
  if (typeof cb2 === "function")
12324
12324
  cb2.apply(this, arguments);
@@ -12328,14 +12328,14 @@ var require_graceful_fs = __commonJS({
12328
12328
  }
12329
12329
  var fs$writeFile = fs6.writeFile;
12330
12330
  fs6.writeFile = writeFile;
12331
- function writeFile(path2, data, options, cb) {
12331
+ function writeFile(path3, data, options, cb) {
12332
12332
  if (typeof options === "function")
12333
12333
  cb = options, options = null;
12334
- return go$writeFile(path2, data, options, cb);
12335
- function go$writeFile(path3, data2, options2, cb2, startTime) {
12336
- return fs$writeFile(path3, data2, options2, function(err) {
12334
+ return go$writeFile(path3, data, options, cb);
12335
+ function go$writeFile(path4, data2, options2, cb2, startTime) {
12336
+ return fs$writeFile(path4, data2, options2, function(err) {
12337
12337
  if (err && (err.code === "EMFILE" || err.code === "ENFILE"))
12338
- enqueue([go$writeFile, [path3, data2, options2, cb2], err, startTime || Date.now(), Date.now()]);
12338
+ enqueue([go$writeFile, [path4, data2, options2, cb2], err, startTime || Date.now(), Date.now()]);
12339
12339
  else {
12340
12340
  if (typeof cb2 === "function")
12341
12341
  cb2.apply(this, arguments);
@@ -12346,14 +12346,14 @@ var require_graceful_fs = __commonJS({
12346
12346
  var fs$appendFile = fs6.appendFile;
12347
12347
  if (fs$appendFile)
12348
12348
  fs6.appendFile = appendFile;
12349
- function appendFile(path2, data, options, cb) {
12349
+ function appendFile(path3, data, options, cb) {
12350
12350
  if (typeof options === "function")
12351
12351
  cb = options, options = null;
12352
- return go$appendFile(path2, data, options, cb);
12353
- function go$appendFile(path3, data2, options2, cb2, startTime) {
12354
- return fs$appendFile(path3, data2, options2, function(err) {
12352
+ return go$appendFile(path3, data, options, cb);
12353
+ function go$appendFile(path4, data2, options2, cb2, startTime) {
12354
+ return fs$appendFile(path4, data2, options2, function(err) {
12355
12355
  if (err && (err.code === "EMFILE" || err.code === "ENFILE"))
12356
- enqueue([go$appendFile, [path3, data2, options2, cb2], err, startTime || Date.now(), Date.now()]);
12356
+ enqueue([go$appendFile, [path4, data2, options2, cb2], err, startTime || Date.now(), Date.now()]);
12357
12357
  else {
12358
12358
  if (typeof cb2 === "function")
12359
12359
  cb2.apply(this, arguments);
@@ -12384,31 +12384,31 @@ var require_graceful_fs = __commonJS({
12384
12384
  var fs$readdir = fs6.readdir;
12385
12385
  fs6.readdir = readdir;
12386
12386
  var noReaddirOptionVersions = /^v[0-5]\./;
12387
- function readdir(path2, options, cb) {
12387
+ function readdir(path3, options, cb) {
12388
12388
  if (typeof options === "function")
12389
12389
  cb = options, options = null;
12390
- var go$readdir = noReaddirOptionVersions.test(process.version) ? function go$readdir2(path3, options2, cb2, startTime) {
12391
- return fs$readdir(path3, fs$readdirCallback(
12392
- path3,
12390
+ var go$readdir = noReaddirOptionVersions.test(process.version) ? function go$readdir2(path4, options2, cb2, startTime) {
12391
+ return fs$readdir(path4, fs$readdirCallback(
12392
+ path4,
12393
12393
  options2,
12394
12394
  cb2,
12395
12395
  startTime
12396
12396
  ));
12397
- } : function go$readdir2(path3, options2, cb2, startTime) {
12398
- return fs$readdir(path3, options2, fs$readdirCallback(
12399
- path3,
12397
+ } : function go$readdir2(path4, options2, cb2, startTime) {
12398
+ return fs$readdir(path4, options2, fs$readdirCallback(
12399
+ path4,
12400
12400
  options2,
12401
12401
  cb2,
12402
12402
  startTime
12403
12403
  ));
12404
12404
  };
12405
- return go$readdir(path2, options, cb);
12406
- function fs$readdirCallback(path3, options2, cb2, startTime) {
12405
+ return go$readdir(path3, options, cb);
12406
+ function fs$readdirCallback(path4, options2, cb2, startTime) {
12407
12407
  return function(err, files) {
12408
12408
  if (err && (err.code === "EMFILE" || err.code === "ENFILE"))
12409
12409
  enqueue([
12410
12410
  go$readdir,
12411
- [path3, options2, cb2],
12411
+ [path4, options2, cb2],
12412
12412
  err,
12413
12413
  startTime || Date.now(),
12414
12414
  Date.now()
@@ -12479,7 +12479,7 @@ var require_graceful_fs = __commonJS({
12479
12479
  enumerable: true,
12480
12480
  configurable: true
12481
12481
  });
12482
- function ReadStream(path2, options) {
12482
+ function ReadStream(path3, options) {
12483
12483
  if (this instanceof ReadStream)
12484
12484
  return fs$ReadStream.apply(this, arguments), this;
12485
12485
  else
@@ -12499,7 +12499,7 @@ var require_graceful_fs = __commonJS({
12499
12499
  }
12500
12500
  });
12501
12501
  }
12502
- function WriteStream(path2, options) {
12502
+ function WriteStream(path3, options) {
12503
12503
  if (this instanceof WriteStream)
12504
12504
  return fs$WriteStream.apply(this, arguments), this;
12505
12505
  else
@@ -12517,22 +12517,22 @@ var require_graceful_fs = __commonJS({
12517
12517
  }
12518
12518
  });
12519
12519
  }
12520
- function createReadStream2(path2, options) {
12521
- return new fs6.ReadStream(path2, options);
12520
+ function createReadStream2(path3, options) {
12521
+ return new fs6.ReadStream(path3, options);
12522
12522
  }
12523
- function createWriteStream(path2, options) {
12524
- return new fs6.WriteStream(path2, options);
12523
+ function createWriteStream(path3, options) {
12524
+ return new fs6.WriteStream(path3, options);
12525
12525
  }
12526
12526
  var fs$open = fs6.open;
12527
12527
  fs6.open = open;
12528
- function open(path2, flags, mode, cb) {
12528
+ function open(path3, flags, mode, cb) {
12529
12529
  if (typeof mode === "function")
12530
12530
  cb = mode, mode = null;
12531
- return go$open(path2, flags, mode, cb);
12532
- function go$open(path3, flags2, mode2, cb2, startTime) {
12533
- return fs$open(path3, flags2, mode2, function(err, fd) {
12531
+ return go$open(path3, flags, mode, cb);
12532
+ function go$open(path4, flags2, mode2, cb2, startTime) {
12533
+ return fs$open(path4, flags2, mode2, function(err, fd) {
12534
12534
  if (err && (err.code === "EMFILE" || err.code === "ENFILE"))
12535
- enqueue([go$open, [path3, flags2, mode2, cb2], err, startTime || Date.now(), Date.now()]);
12535
+ enqueue([go$open, [path4, flags2, mode2, cb2], err, startTime || Date.now(), Date.now()]);
12536
12536
  else {
12537
12537
  if (typeof cb2 === "function")
12538
12538
  cb2.apply(this, arguments);
@@ -12715,10 +12715,10 @@ var require_fs5 = __commonJS({
12715
12715
  var require_utils5 = __commonJS({
12716
12716
  "node_modules/.pnpm/fs-extra@11.1.1/node_modules/fs-extra/lib/mkdirs/utils.js"(exports, module2) {
12717
12717
  "use strict";
12718
- var path2 = require("path");
12718
+ var path3 = require("path");
12719
12719
  module2.exports.checkPath = function checkPath(pth) {
12720
12720
  if (process.platform === "win32") {
12721
- const pathHasInvalidWinCharacters = /[<>:"|?*]/.test(pth.replace(path2.parse(pth).root, ""));
12721
+ const pathHasInvalidWinCharacters = /[<>:"|?*]/.test(pth.replace(path3.parse(pth).root, ""));
12722
12722
  if (pathHasInvalidWinCharacters) {
12723
12723
  const error = new Error(`Path contains invalid characters: ${pth}`);
12724
12724
  error.code = "EINVAL";
@@ -12783,8 +12783,8 @@ var require_path_exists = __commonJS({
12783
12783
  "use strict";
12784
12784
  var u = require_universalify().fromPromise;
12785
12785
  var fs5 = require_fs5();
12786
- function pathExists(path2) {
12787
- return fs5.access(path2).then(() => true).catch(() => false);
12786
+ function pathExists(path3) {
12787
+ return fs5.access(path3).then(() => true).catch(() => false);
12788
12788
  }
12789
12789
  module2.exports = {
12790
12790
  pathExists: u(pathExists),
@@ -12798,8 +12798,8 @@ var require_utimes = __commonJS({
12798
12798
  "node_modules/.pnpm/fs-extra@11.1.1/node_modules/fs-extra/lib/util/utimes.js"(exports, module2) {
12799
12799
  "use strict";
12800
12800
  var fs5 = require_graceful_fs();
12801
- function utimesMillis(path2, atime, mtime, callback) {
12802
- fs5.open(path2, "r+", (err, fd) => {
12801
+ function utimesMillis(path3, atime, mtime, callback) {
12802
+ fs5.open(path3, "r+", (err, fd) => {
12803
12803
  if (err)
12804
12804
  return callback(err);
12805
12805
  fs5.futimes(fd, atime, mtime, (futimesErr) => {
@@ -12810,8 +12810,8 @@ var require_utimes = __commonJS({
12810
12810
  });
12811
12811
  });
12812
12812
  }
12813
- function utimesMillisSync(path2, atime, mtime) {
12814
- const fd = fs5.openSync(path2, "r+");
12813
+ function utimesMillisSync(path3, atime, mtime) {
12814
+ const fd = fs5.openSync(path3, "r+");
12815
12815
  fs5.futimesSync(fd, atime, mtime);
12816
12816
  return fs5.closeSync(fd);
12817
12817
  }
@@ -12827,7 +12827,7 @@ var require_stat = __commonJS({
12827
12827
  "node_modules/.pnpm/fs-extra@11.1.1/node_modules/fs-extra/lib/util/stat.js"(exports, module2) {
12828
12828
  "use strict";
12829
12829
  var fs5 = require_fs5();
12830
- var path2 = require("path");
12830
+ var path3 = require("path");
12831
12831
  var util = require("util");
12832
12832
  function getStats(src, dest, opts) {
12833
12833
  const statFunc = opts.dereference ? (file) => fs5.stat(file, { bigint: true }) : (file) => fs5.lstat(file, { bigint: true });
@@ -12860,8 +12860,8 @@ var require_stat = __commonJS({
12860
12860
  const { srcStat, destStat } = stats;
12861
12861
  if (destStat) {
12862
12862
  if (areIdentical(srcStat, destStat)) {
12863
- const srcBaseName = path2.basename(src);
12864
- const destBaseName = path2.basename(dest);
12863
+ const srcBaseName = path3.basename(src);
12864
+ const destBaseName = path3.basename(dest);
12865
12865
  if (funcName === "move" && srcBaseName !== destBaseName && srcBaseName.toLowerCase() === destBaseName.toLowerCase()) {
12866
12866
  return cb(null, { srcStat, destStat, isChangingCase: true });
12867
12867
  }
@@ -12884,8 +12884,8 @@ var require_stat = __commonJS({
12884
12884
  const { srcStat, destStat } = getStatsSync(src, dest, opts);
12885
12885
  if (destStat) {
12886
12886
  if (areIdentical(srcStat, destStat)) {
12887
- const srcBaseName = path2.basename(src);
12888
- const destBaseName = path2.basename(dest);
12887
+ const srcBaseName = path3.basename(src);
12888
+ const destBaseName = path3.basename(dest);
12889
12889
  if (funcName === "move" && srcBaseName !== destBaseName && srcBaseName.toLowerCase() === destBaseName.toLowerCase()) {
12890
12890
  return { srcStat, destStat, isChangingCase: true };
12891
12891
  }
@@ -12904,9 +12904,9 @@ var require_stat = __commonJS({
12904
12904
  return { srcStat, destStat };
12905
12905
  }
12906
12906
  function checkParentPaths(src, srcStat, dest, funcName, cb) {
12907
- const srcParent = path2.resolve(path2.dirname(src));
12908
- const destParent = path2.resolve(path2.dirname(dest));
12909
- if (destParent === srcParent || destParent === path2.parse(destParent).root)
12907
+ const srcParent = path3.resolve(path3.dirname(src));
12908
+ const destParent = path3.resolve(path3.dirname(dest));
12909
+ if (destParent === srcParent || destParent === path3.parse(destParent).root)
12910
12910
  return cb();
12911
12911
  fs5.stat(destParent, { bigint: true }, (err, destStat) => {
12912
12912
  if (err) {
@@ -12921,9 +12921,9 @@ var require_stat = __commonJS({
12921
12921
  });
12922
12922
  }
12923
12923
  function checkParentPathsSync(src, srcStat, dest, funcName) {
12924
- const srcParent = path2.resolve(path2.dirname(src));
12925
- const destParent = path2.resolve(path2.dirname(dest));
12926
- if (destParent === srcParent || destParent === path2.parse(destParent).root)
12924
+ const srcParent = path3.resolve(path3.dirname(src));
12925
+ const destParent = path3.resolve(path3.dirname(dest));
12926
+ if (destParent === srcParent || destParent === path3.parse(destParent).root)
12927
12927
  return;
12928
12928
  let destStat;
12929
12929
  try {
@@ -12942,8 +12942,8 @@ var require_stat = __commonJS({
12942
12942
  return destStat.ino && destStat.dev && destStat.ino === srcStat.ino && destStat.dev === srcStat.dev;
12943
12943
  }
12944
12944
  function isSrcSubdir(src, dest) {
12945
- const srcArr = path2.resolve(src).split(path2.sep).filter((i2) => i2);
12946
- const destArr = path2.resolve(dest).split(path2.sep).filter((i2) => i2);
12945
+ const srcArr = path3.resolve(src).split(path3.sep).filter((i2) => i2);
12946
+ const destArr = path3.resolve(dest).split(path3.sep).filter((i2) => i2);
12947
12947
  return srcArr.reduce((acc, cur, i2) => acc && destArr[i2] === cur, true);
12948
12948
  }
12949
12949
  function errMsg(src, dest, funcName) {
@@ -12965,7 +12965,7 @@ var require_copy = __commonJS({
12965
12965
  "node_modules/.pnpm/fs-extra@11.1.1/node_modules/fs-extra/lib/copy/copy.js"(exports, module2) {
12966
12966
  "use strict";
12967
12967
  var fs5 = require_graceful_fs();
12968
- var path2 = require("path");
12968
+ var path3 = require("path");
12969
12969
  var mkdirs = require_mkdirs().mkdirs;
12970
12970
  var pathExists = require_path_exists().pathExists;
12971
12971
  var utimesMillis = require_utimes().utimesMillis;
@@ -13007,7 +13007,7 @@ var require_copy = __commonJS({
13007
13007
  });
13008
13008
  }
13009
13009
  function checkParentDir(destStat, src, dest, opts, cb) {
13010
- const destParent = path2.dirname(dest);
13010
+ const destParent = path3.dirname(dest);
13011
13011
  pathExists(destParent, (err, dirExists) => {
13012
13012
  if (err)
13013
13013
  return cb(err);
@@ -13132,8 +13132,8 @@ var require_copy = __commonJS({
13132
13132
  return copyDirItem(items, item, src, dest, opts, cb);
13133
13133
  }
13134
13134
  function copyDirItem(items, item, src, dest, opts, cb) {
13135
- const srcItem = path2.join(src, item);
13136
- const destItem = path2.join(dest, item);
13135
+ const srcItem = path3.join(src, item);
13136
+ const destItem = path3.join(dest, item);
13137
13137
  runFilter(srcItem, destItem, opts, (err, include) => {
13138
13138
  if (err)
13139
13139
  return cb(err);
@@ -13156,7 +13156,7 @@ var require_copy = __commonJS({
13156
13156
  if (err)
13157
13157
  return cb(err);
13158
13158
  if (opts.dereference) {
13159
- resolvedSrc = path2.resolve(process.cwd(), resolvedSrc);
13159
+ resolvedSrc = path3.resolve(process.cwd(), resolvedSrc);
13160
13160
  }
13161
13161
  if (!destStat) {
13162
13162
  return fs5.symlink(resolvedSrc, dest, cb);
@@ -13168,7 +13168,7 @@ var require_copy = __commonJS({
13168
13168
  return cb(err2);
13169
13169
  }
13170
13170
  if (opts.dereference) {
13171
- resolvedDest = path2.resolve(process.cwd(), resolvedDest);
13171
+ resolvedDest = path3.resolve(process.cwd(), resolvedDest);
13172
13172
  }
13173
13173
  if (stat2.isSrcSubdir(resolvedSrc, resolvedDest)) {
13174
13174
  return cb(new Error(`Cannot copy '${resolvedSrc}' to a subdirectory of itself, '${resolvedDest}'.`));
@@ -13197,7 +13197,7 @@ var require_copy_sync = __commonJS({
13197
13197
  "node_modules/.pnpm/fs-extra@11.1.1/node_modules/fs-extra/lib/copy/copy-sync.js"(exports, module2) {
13198
13198
  "use strict";
13199
13199
  var fs5 = require_graceful_fs();
13200
- var path2 = require("path");
13200
+ var path3 = require("path");
13201
13201
  var mkdirsSync = require_mkdirs().mkdirsSync;
13202
13202
  var utimesMillisSync = require_utimes().utimesMillisSync;
13203
13203
  var stat2 = require_stat();
@@ -13219,7 +13219,7 @@ var require_copy_sync = __commonJS({
13219
13219
  stat2.checkParentPathsSync(src, srcStat, dest, "copy");
13220
13220
  if (opts.filter && !opts.filter(src, dest))
13221
13221
  return;
13222
- const destParent = path2.dirname(dest);
13222
+ const destParent = path3.dirname(dest);
13223
13223
  if (!fs5.existsSync(destParent))
13224
13224
  mkdirsSync(destParent);
13225
13225
  return getStats(destStat, src, dest, opts);
@@ -13290,8 +13290,8 @@ var require_copy_sync = __commonJS({
13290
13290
  fs5.readdirSync(src).forEach((item) => copyDirItem(item, src, dest, opts));
13291
13291
  }
13292
13292
  function copyDirItem(item, src, dest, opts) {
13293
- const srcItem = path2.join(src, item);
13294
- const destItem = path2.join(dest, item);
13293
+ const srcItem = path3.join(src, item);
13294
+ const destItem = path3.join(dest, item);
13295
13295
  if (opts.filter && !opts.filter(srcItem, destItem))
13296
13296
  return;
13297
13297
  const { destStat } = stat2.checkPathsSync(srcItem, destItem, "copy", opts);
@@ -13300,7 +13300,7 @@ var require_copy_sync = __commonJS({
13300
13300
  function onLink(destStat, src, dest, opts) {
13301
13301
  let resolvedSrc = fs5.readlinkSync(src);
13302
13302
  if (opts.dereference) {
13303
- resolvedSrc = path2.resolve(process.cwd(), resolvedSrc);
13303
+ resolvedSrc = path3.resolve(process.cwd(), resolvedSrc);
13304
13304
  }
13305
13305
  if (!destStat) {
13306
13306
  return fs5.symlinkSync(resolvedSrc, dest);
@@ -13314,7 +13314,7 @@ var require_copy_sync = __commonJS({
13314
13314
  throw err;
13315
13315
  }
13316
13316
  if (opts.dereference) {
13317
- resolvedDest = path2.resolve(process.cwd(), resolvedDest);
13317
+ resolvedDest = path3.resolve(process.cwd(), resolvedDest);
13318
13318
  }
13319
13319
  if (stat2.isSrcSubdir(resolvedSrc, resolvedDest)) {
13320
13320
  throw new Error(`Cannot copy '${resolvedSrc}' to a subdirectory of itself, '${resolvedDest}'.`);
@@ -13351,11 +13351,11 @@ var require_remove = __commonJS({
13351
13351
  "use strict";
13352
13352
  var fs5 = require_graceful_fs();
13353
13353
  var u = require_universalify().fromCallback;
13354
- function remove(path2, callback) {
13355
- fs5.rm(path2, { recursive: true, force: true }, callback);
13354
+ function remove(path3, callback) {
13355
+ fs5.rm(path3, { recursive: true, force: true }, callback);
13356
13356
  }
13357
- function removeSync(path2) {
13358
- fs5.rmSync(path2, { recursive: true, force: true });
13357
+ function removeSync(path3) {
13358
+ fs5.rmSync(path3, { recursive: true, force: true });
13359
13359
  }
13360
13360
  module2.exports = {
13361
13361
  remove: u(remove),
@@ -13370,7 +13370,7 @@ var require_empty = __commonJS({
13370
13370
  "use strict";
13371
13371
  var u = require_universalify().fromPromise;
13372
13372
  var fs5 = require_fs5();
13373
- var path2 = require("path");
13373
+ var path3 = require("path");
13374
13374
  var mkdir = require_mkdirs();
13375
13375
  var remove = require_remove();
13376
13376
  var emptyDir = u(async function emptyDir2(dir) {
@@ -13380,7 +13380,7 @@ var require_empty = __commonJS({
13380
13380
  } catch {
13381
13381
  return mkdir.mkdirs(dir);
13382
13382
  }
13383
- return Promise.all(items.map((item) => remove.remove(path2.join(dir, item))));
13383
+ return Promise.all(items.map((item) => remove.remove(path3.join(dir, item))));
13384
13384
  });
13385
13385
  function emptyDirSync(dir) {
13386
13386
  let items;
@@ -13390,7 +13390,7 @@ var require_empty = __commonJS({
13390
13390
  return mkdir.mkdirsSync(dir);
13391
13391
  }
13392
13392
  items.forEach((item) => {
13393
- item = path2.join(dir, item);
13393
+ item = path3.join(dir, item);
13394
13394
  remove.removeSync(item);
13395
13395
  });
13396
13396
  }
@@ -13408,7 +13408,7 @@ var require_file = __commonJS({
13408
13408
  "node_modules/.pnpm/fs-extra@11.1.1/node_modules/fs-extra/lib/ensure/file.js"(exports, module2) {
13409
13409
  "use strict";
13410
13410
  var u = require_universalify().fromCallback;
13411
- var path2 = require("path");
13411
+ var path3 = require("path");
13412
13412
  var fs5 = require_graceful_fs();
13413
13413
  var mkdir = require_mkdirs();
13414
13414
  function createFile(file, callback) {
@@ -13422,7 +13422,7 @@ var require_file = __commonJS({
13422
13422
  fs5.stat(file, (err, stats) => {
13423
13423
  if (!err && stats.isFile())
13424
13424
  return callback();
13425
- const dir = path2.dirname(file);
13425
+ const dir = path3.dirname(file);
13426
13426
  fs5.stat(dir, (err2, stats2) => {
13427
13427
  if (err2) {
13428
13428
  if (err2.code === "ENOENT") {
@@ -13453,7 +13453,7 @@ var require_file = __commonJS({
13453
13453
  }
13454
13454
  if (stats && stats.isFile())
13455
13455
  return;
13456
- const dir = path2.dirname(file);
13456
+ const dir = path3.dirname(file);
13457
13457
  try {
13458
13458
  if (!fs5.statSync(dir).isDirectory()) {
13459
13459
  fs5.readdirSync(dir);
@@ -13478,7 +13478,7 @@ var require_link = __commonJS({
13478
13478
  "node_modules/.pnpm/fs-extra@11.1.1/node_modules/fs-extra/lib/ensure/link.js"(exports, module2) {
13479
13479
  "use strict";
13480
13480
  var u = require_universalify().fromCallback;
13481
- var path2 = require("path");
13481
+ var path3 = require("path");
13482
13482
  var fs5 = require_graceful_fs();
13483
13483
  var mkdir = require_mkdirs();
13484
13484
  var pathExists = require_path_exists().pathExists;
@@ -13499,7 +13499,7 @@ var require_link = __commonJS({
13499
13499
  }
13500
13500
  if (dstStat && areIdentical(srcStat, dstStat))
13501
13501
  return callback(null);
13502
- const dir = path2.dirname(dstpath);
13502
+ const dir = path3.dirname(dstpath);
13503
13503
  pathExists(dir, (err2, dirExists) => {
13504
13504
  if (err2)
13505
13505
  return callback(err2);
@@ -13528,7 +13528,7 @@ var require_link = __commonJS({
13528
13528
  err.message = err.message.replace("lstat", "ensureLink");
13529
13529
  throw err;
13530
13530
  }
13531
- const dir = path2.dirname(dstpath);
13531
+ const dir = path3.dirname(dstpath);
13532
13532
  const dirExists = fs5.existsSync(dir);
13533
13533
  if (dirExists)
13534
13534
  return fs5.linkSync(srcpath, dstpath);
@@ -13546,11 +13546,11 @@ var require_link = __commonJS({
13546
13546
  var require_symlink_paths = __commonJS({
13547
13547
  "node_modules/.pnpm/fs-extra@11.1.1/node_modules/fs-extra/lib/ensure/symlink-paths.js"(exports, module2) {
13548
13548
  "use strict";
13549
- var path2 = require("path");
13549
+ var path3 = require("path");
13550
13550
  var fs5 = require_graceful_fs();
13551
13551
  var pathExists = require_path_exists().pathExists;
13552
13552
  function symlinkPaths(srcpath, dstpath, callback) {
13553
- if (path2.isAbsolute(srcpath)) {
13553
+ if (path3.isAbsolute(srcpath)) {
13554
13554
  return fs5.lstat(srcpath, (err) => {
13555
13555
  if (err) {
13556
13556
  err.message = err.message.replace("lstat", "ensureSymlink");
@@ -13562,8 +13562,8 @@ var require_symlink_paths = __commonJS({
13562
13562
  });
13563
13563
  });
13564
13564
  } else {
13565
- const dstdir = path2.dirname(dstpath);
13566
- const relativeToDst = path2.join(dstdir, srcpath);
13565
+ const dstdir = path3.dirname(dstpath);
13566
+ const relativeToDst = path3.join(dstdir, srcpath);
13567
13567
  return pathExists(relativeToDst, (err, exists) => {
13568
13568
  if (err)
13569
13569
  return callback(err);
@@ -13580,7 +13580,7 @@ var require_symlink_paths = __commonJS({
13580
13580
  }
13581
13581
  return callback(null, {
13582
13582
  toCwd: srcpath,
13583
- toDst: path2.relative(dstdir, srcpath)
13583
+ toDst: path3.relative(dstdir, srcpath)
13584
13584
  });
13585
13585
  });
13586
13586
  }
@@ -13589,7 +13589,7 @@ var require_symlink_paths = __commonJS({
13589
13589
  }
13590
13590
  function symlinkPathsSync(srcpath, dstpath) {
13591
13591
  let exists;
13592
- if (path2.isAbsolute(srcpath)) {
13592
+ if (path3.isAbsolute(srcpath)) {
13593
13593
  exists = fs5.existsSync(srcpath);
13594
13594
  if (!exists)
13595
13595
  throw new Error("absolute srcpath does not exist");
@@ -13598,8 +13598,8 @@ var require_symlink_paths = __commonJS({
13598
13598
  toDst: srcpath
13599
13599
  };
13600
13600
  } else {
13601
- const dstdir = path2.dirname(dstpath);
13602
- const relativeToDst = path2.join(dstdir, srcpath);
13601
+ const dstdir = path3.dirname(dstpath);
13602
+ const relativeToDst = path3.join(dstdir, srcpath);
13603
13603
  exists = fs5.existsSync(relativeToDst);
13604
13604
  if (exists) {
13605
13605
  return {
@@ -13612,7 +13612,7 @@ var require_symlink_paths = __commonJS({
13612
13612
  throw new Error("relative srcpath does not exist");
13613
13613
  return {
13614
13614
  toCwd: srcpath,
13615
- toDst: path2.relative(dstdir, srcpath)
13615
+ toDst: path3.relative(dstdir, srcpath)
13616
13616
  };
13617
13617
  }
13618
13618
  }
@@ -13664,7 +13664,7 @@ var require_symlink = __commonJS({
13664
13664
  "node_modules/.pnpm/fs-extra@11.1.1/node_modules/fs-extra/lib/ensure/symlink.js"(exports, module2) {
13665
13665
  "use strict";
13666
13666
  var u = require_universalify().fromCallback;
13667
- var path2 = require("path");
13667
+ var path3 = require("path");
13668
13668
  var fs5 = require_fs5();
13669
13669
  var _mkdirs = require_mkdirs();
13670
13670
  var mkdirs = _mkdirs.mkdirs;
@@ -13702,7 +13702,7 @@ var require_symlink = __commonJS({
13702
13702
  symlinkType(relative.toCwd, type, (err2, type2) => {
13703
13703
  if (err2)
13704
13704
  return callback(err2);
13705
- const dir = path2.dirname(dstpath);
13705
+ const dir = path3.dirname(dstpath);
13706
13706
  pathExists(dir, (err3, dirExists) => {
13707
13707
  if (err3)
13708
13708
  return callback(err3);
@@ -13732,7 +13732,7 @@ var require_symlink = __commonJS({
13732
13732
  const relative = symlinkPathsSync(srcpath, dstpath);
13733
13733
  srcpath = relative.toDst;
13734
13734
  type = symlinkTypeSync(relative.toCwd, type);
13735
- const dir = path2.dirname(dstpath);
13735
+ const dir = path3.dirname(dstpath);
13736
13736
  const exists = fs5.existsSync(dir);
13737
13737
  if (exists)
13738
13738
  return fs5.symlinkSync(srcpath, dstpath, type);
@@ -13884,7 +13884,7 @@ var require_output_file = __commonJS({
13884
13884
  "use strict";
13885
13885
  var u = require_universalify().fromCallback;
13886
13886
  var fs5 = require_graceful_fs();
13887
- var path2 = require("path");
13887
+ var path3 = require("path");
13888
13888
  var mkdir = require_mkdirs();
13889
13889
  var pathExists = require_path_exists().pathExists;
13890
13890
  function outputFile(file, data, encoding, callback) {
@@ -13892,7 +13892,7 @@ var require_output_file = __commonJS({
13892
13892
  callback = encoding;
13893
13893
  encoding = "utf8";
13894
13894
  }
13895
- const dir = path2.dirname(file);
13895
+ const dir = path3.dirname(file);
13896
13896
  pathExists(dir, (err, itDoes) => {
13897
13897
  if (err)
13898
13898
  return callback(err);
@@ -13906,7 +13906,7 @@ var require_output_file = __commonJS({
13906
13906
  });
13907
13907
  }
13908
13908
  function outputFileSync(file, ...args) {
13909
- const dir = path2.dirname(file);
13909
+ const dir = path3.dirname(file);
13910
13910
  if (fs5.existsSync(dir)) {
13911
13911
  return fs5.writeFileSync(file, ...args);
13912
13912
  }
@@ -13971,7 +13971,7 @@ var require_move = __commonJS({
13971
13971
  "node_modules/.pnpm/fs-extra@11.1.1/node_modules/fs-extra/lib/move/move.js"(exports, module2) {
13972
13972
  "use strict";
13973
13973
  var fs5 = require_graceful_fs();
13974
- var path2 = require("path");
13974
+ var path3 = require("path");
13975
13975
  var copy = require_copy2().copy;
13976
13976
  var remove = require_remove().remove;
13977
13977
  var mkdirp = require_mkdirs().mkdirp;
@@ -13993,7 +13993,7 @@ var require_move = __commonJS({
13993
13993
  return cb(err2);
13994
13994
  if (isParentRoot(dest))
13995
13995
  return doRename(src, dest, overwrite, isChangingCase, cb);
13996
- mkdirp(path2.dirname(dest), (err3) => {
13996
+ mkdirp(path3.dirname(dest), (err3) => {
13997
13997
  if (err3)
13998
13998
  return cb(err3);
13999
13999
  return doRename(src, dest, overwrite, isChangingCase, cb);
@@ -14002,8 +14002,8 @@ var require_move = __commonJS({
14002
14002
  });
14003
14003
  }
14004
14004
  function isParentRoot(dest) {
14005
- const parent = path2.dirname(dest);
14006
- const parsedPath = path2.parse(parent);
14005
+ const parent = path3.dirname(dest);
14006
+ const parsedPath = path3.parse(parent);
14007
14007
  return parsedPath.root === parent;
14008
14008
  }
14009
14009
  function doRename(src, dest, overwrite, isChangingCase, cb) {
@@ -14054,7 +14054,7 @@ var require_move_sync = __commonJS({
14054
14054
  "node_modules/.pnpm/fs-extra@11.1.1/node_modules/fs-extra/lib/move/move-sync.js"(exports, module2) {
14055
14055
  "use strict";
14056
14056
  var fs5 = require_graceful_fs();
14057
- var path2 = require("path");
14057
+ var path3 = require("path");
14058
14058
  var copySync = require_copy2().copySync;
14059
14059
  var removeSync = require_remove().removeSync;
14060
14060
  var mkdirpSync = require_mkdirs().mkdirpSync;
@@ -14065,12 +14065,12 @@ var require_move_sync = __commonJS({
14065
14065
  const { srcStat, isChangingCase = false } = stat2.checkPathsSync(src, dest, "move", opts);
14066
14066
  stat2.checkParentPathsSync(src, srcStat, dest, "move");
14067
14067
  if (!isParentRoot(dest))
14068
- mkdirpSync(path2.dirname(dest));
14068
+ mkdirpSync(path3.dirname(dest));
14069
14069
  return doRename(src, dest, overwrite, isChangingCase);
14070
14070
  }
14071
14071
  function isParentRoot(dest) {
14072
- const parent = path2.dirname(dest);
14073
- const parsedPath = path2.parse(parent);
14072
+ const parent = path3.dirname(dest);
14073
+ const parsedPath = path3.parse(parent);
14074
14074
  return parsedPath.root === parent;
14075
14075
  }
14076
14076
  function doRename(src, dest, overwrite, isChangingCase) {
@@ -14216,17 +14216,17 @@ var require_visit = __commonJS({
14216
14216
  visit.BREAK = BREAK;
14217
14217
  visit.SKIP = SKIP;
14218
14218
  visit.REMOVE = REMOVE;
14219
- function visit_(key, node, visitor, path2) {
14220
- const ctrl = callVisitor(key, node, visitor, path2);
14219
+ function visit_(key, node, visitor, path3) {
14220
+ const ctrl = callVisitor(key, node, visitor, path3);
14221
14221
  if (identity.isNode(ctrl) || identity.isPair(ctrl)) {
14222
- replaceNode(key, path2, ctrl);
14223
- return visit_(key, ctrl, visitor, path2);
14222
+ replaceNode(key, path3, ctrl);
14223
+ return visit_(key, ctrl, visitor, path3);
14224
14224
  }
14225
14225
  if (typeof ctrl !== "symbol") {
14226
14226
  if (identity.isCollection(node)) {
14227
- path2 = Object.freeze(path2.concat(node));
14227
+ path3 = Object.freeze(path3.concat(node));
14228
14228
  for (let i2 = 0; i2 < node.items.length; ++i2) {
14229
- const ci = visit_(i2, node.items[i2], visitor, path2);
14229
+ const ci = visit_(i2, node.items[i2], visitor, path3);
14230
14230
  if (typeof ci === "number")
14231
14231
  i2 = ci - 1;
14232
14232
  else if (ci === BREAK)
@@ -14237,13 +14237,13 @@ var require_visit = __commonJS({
14237
14237
  }
14238
14238
  }
14239
14239
  } else if (identity.isPair(node)) {
14240
- path2 = Object.freeze(path2.concat(node));
14241
- const ck = visit_("key", node.key, visitor, path2);
14240
+ path3 = Object.freeze(path3.concat(node));
14241
+ const ck = visit_("key", node.key, visitor, path3);
14242
14242
  if (ck === BREAK)
14243
14243
  return BREAK;
14244
14244
  else if (ck === REMOVE)
14245
14245
  node.key = null;
14246
- const cv = visit_("value", node.value, visitor, path2);
14246
+ const cv = visit_("value", node.value, visitor, path3);
14247
14247
  if (cv === BREAK)
14248
14248
  return BREAK;
14249
14249
  else if (cv === REMOVE)
@@ -14264,17 +14264,17 @@ var require_visit = __commonJS({
14264
14264
  visitAsync.BREAK = BREAK;
14265
14265
  visitAsync.SKIP = SKIP;
14266
14266
  visitAsync.REMOVE = REMOVE;
14267
- async function visitAsync_(key, node, visitor, path2) {
14268
- const ctrl = await callVisitor(key, node, visitor, path2);
14267
+ async function visitAsync_(key, node, visitor, path3) {
14268
+ const ctrl = await callVisitor(key, node, visitor, path3);
14269
14269
  if (identity.isNode(ctrl) || identity.isPair(ctrl)) {
14270
- replaceNode(key, path2, ctrl);
14271
- return visitAsync_(key, ctrl, visitor, path2);
14270
+ replaceNode(key, path3, ctrl);
14271
+ return visitAsync_(key, ctrl, visitor, path3);
14272
14272
  }
14273
14273
  if (typeof ctrl !== "symbol") {
14274
14274
  if (identity.isCollection(node)) {
14275
- path2 = Object.freeze(path2.concat(node));
14275
+ path3 = Object.freeze(path3.concat(node));
14276
14276
  for (let i2 = 0; i2 < node.items.length; ++i2) {
14277
- const ci = await visitAsync_(i2, node.items[i2], visitor, path2);
14277
+ const ci = await visitAsync_(i2, node.items[i2], visitor, path3);
14278
14278
  if (typeof ci === "number")
14279
14279
  i2 = ci - 1;
14280
14280
  else if (ci === BREAK)
@@ -14285,13 +14285,13 @@ var require_visit = __commonJS({
14285
14285
  }
14286
14286
  }
14287
14287
  } else if (identity.isPair(node)) {
14288
- path2 = Object.freeze(path2.concat(node));
14289
- const ck = await visitAsync_("key", node.key, visitor, path2);
14288
+ path3 = Object.freeze(path3.concat(node));
14289
+ const ck = await visitAsync_("key", node.key, visitor, path3);
14290
14290
  if (ck === BREAK)
14291
14291
  return BREAK;
14292
14292
  else if (ck === REMOVE)
14293
14293
  node.key = null;
14294
- const cv = await visitAsync_("value", node.value, visitor, path2);
14294
+ const cv = await visitAsync_("value", node.value, visitor, path3);
14295
14295
  if (cv === BREAK)
14296
14296
  return BREAK;
14297
14297
  else if (cv === REMOVE)
@@ -14318,24 +14318,24 @@ var require_visit = __commonJS({
14318
14318
  }
14319
14319
  return visitor;
14320
14320
  }
14321
- function callVisitor(key, node, visitor, path2) {
14321
+ function callVisitor(key, node, visitor, path3) {
14322
14322
  var _a4, _b, _c, _d2, _e;
14323
14323
  if (typeof visitor === "function")
14324
- return visitor(key, node, path2);
14324
+ return visitor(key, node, path3);
14325
14325
  if (identity.isMap(node))
14326
- return (_a4 = visitor.Map) == null ? void 0 : _a4.call(visitor, key, node, path2);
14326
+ return (_a4 = visitor.Map) == null ? void 0 : _a4.call(visitor, key, node, path3);
14327
14327
  if (identity.isSeq(node))
14328
- return (_b = visitor.Seq) == null ? void 0 : _b.call(visitor, key, node, path2);
14328
+ return (_b = visitor.Seq) == null ? void 0 : _b.call(visitor, key, node, path3);
14329
14329
  if (identity.isPair(node))
14330
- return (_c = visitor.Pair) == null ? void 0 : _c.call(visitor, key, node, path2);
14330
+ return (_c = visitor.Pair) == null ? void 0 : _c.call(visitor, key, node, path3);
14331
14331
  if (identity.isScalar(node))
14332
- return (_d2 = visitor.Scalar) == null ? void 0 : _d2.call(visitor, key, node, path2);
14332
+ return (_d2 = visitor.Scalar) == null ? void 0 : _d2.call(visitor, key, node, path3);
14333
14333
  if (identity.isAlias(node))
14334
- return (_e = visitor.Alias) == null ? void 0 : _e.call(visitor, key, node, path2);
14334
+ return (_e = visitor.Alias) == null ? void 0 : _e.call(visitor, key, node, path3);
14335
14335
  return void 0;
14336
14336
  }
14337
- function replaceNode(key, path2, node) {
14338
- const parent = path2[path2.length - 1];
14337
+ function replaceNode(key, path3, node) {
14338
+ const parent = path3[path3.length - 1];
14339
14339
  if (identity.isCollection(parent)) {
14340
14340
  parent.items[key] = node;
14341
14341
  } else if (identity.isPair(parent)) {
@@ -14932,10 +14932,10 @@ var require_Collection = __commonJS({
14932
14932
  var createNode = require_createNode();
14933
14933
  var identity = require_identity();
14934
14934
  var Node = require_Node();
14935
- function collectionFromPath(schema, path2, value) {
14935
+ function collectionFromPath(schema, path3, value) {
14936
14936
  let v = value;
14937
- for (let i2 = path2.length - 1; i2 >= 0; --i2) {
14938
- const k = path2[i2];
14937
+ for (let i2 = path3.length - 1; i2 >= 0; --i2) {
14938
+ const k = path3[i2];
14939
14939
  if (typeof k === "number" && Number.isInteger(k) && k >= 0) {
14940
14940
  const a = [];
14941
14941
  a[k] = v;
@@ -14954,7 +14954,7 @@ var require_Collection = __commonJS({
14954
14954
  sourceObjects: /* @__PURE__ */ new Map()
14955
14955
  });
14956
14956
  }
14957
- var isEmptyPath = (path2) => path2 == null || typeof path2 === "object" && !!path2[Symbol.iterator]().next().done;
14957
+ var isEmptyPath = (path3) => path3 == null || typeof path3 === "object" && !!path3[Symbol.iterator]().next().done;
14958
14958
  var Collection = class extends Node.NodeBase {
14959
14959
  constructor(type, schema) {
14960
14960
  super(type);
@@ -14984,11 +14984,11 @@ var require_Collection = __commonJS({
14984
14984
  * be a Pair instance or a `{ key, value }` object, which may not have a key
14985
14985
  * that already exists in the map.
14986
14986
  */
14987
- addIn(path2, value) {
14988
- if (isEmptyPath(path2))
14987
+ addIn(path3, value) {
14988
+ if (isEmptyPath(path3))
14989
14989
  this.add(value);
14990
14990
  else {
14991
- const [key, ...rest] = path2;
14991
+ const [key, ...rest] = path3;
14992
14992
  const node = this.get(key, true);
14993
14993
  if (identity.isCollection(node))
14994
14994
  node.addIn(rest, value);
@@ -15002,8 +15002,8 @@ var require_Collection = __commonJS({
15002
15002
  * Removes a value from the collection.
15003
15003
  * @returns `true` if the item was found and removed.
15004
15004
  */
15005
- deleteIn(path2) {
15006
- const [key, ...rest] = path2;
15005
+ deleteIn(path3) {
15006
+ const [key, ...rest] = path3;
15007
15007
  if (rest.length === 0)
15008
15008
  return this.delete(key);
15009
15009
  const node = this.get(key, true);
@@ -15017,8 +15017,8 @@ var require_Collection = __commonJS({
15017
15017
  * scalar values from their surrounding node; to disable set `keepScalar` to
15018
15018
  * `true` (collections are always returned intact).
15019
15019
  */
15020
- getIn(path2, keepScalar) {
15021
- const [key, ...rest] = path2;
15020
+ getIn(path3, keepScalar) {
15021
+ const [key, ...rest] = path3;
15022
15022
  const node = this.get(key, true);
15023
15023
  if (rest.length === 0)
15024
15024
  return !keepScalar && identity.isScalar(node) ? node.value : node;
@@ -15036,8 +15036,8 @@ var require_Collection = __commonJS({
15036
15036
  /**
15037
15037
  * Checks if the collection includes a value with the key `key`.
15038
15038
  */
15039
- hasIn(path2) {
15040
- const [key, ...rest] = path2;
15039
+ hasIn(path3) {
15040
+ const [key, ...rest] = path3;
15041
15041
  if (rest.length === 0)
15042
15042
  return this.has(key);
15043
15043
  const node = this.get(key, true);
@@ -15047,8 +15047,8 @@ var require_Collection = __commonJS({
15047
15047
  * Sets a value in this collection. For `!!set`, `value` needs to be a
15048
15048
  * boolean to add/remove the item from the set.
15049
15049
  */
15050
- setIn(path2, value) {
15051
- const [key, ...rest] = path2;
15050
+ setIn(path3, value) {
15051
+ const [key, ...rest] = path3;
15052
15052
  if (rest.length === 0) {
15053
15053
  this.set(key, value);
15054
15054
  } else {
@@ -17508,9 +17508,9 @@ var require_Document = __commonJS({
17508
17508
  this.contents.add(value);
17509
17509
  }
17510
17510
  /** Adds a value to the document. */
17511
- addIn(path2, value) {
17511
+ addIn(path3, value) {
17512
17512
  if (assertCollection(this.contents))
17513
- this.contents.addIn(path2, value);
17513
+ this.contents.addIn(path3, value);
17514
17514
  }
17515
17515
  /**
17516
17516
  * Create a new `Alias` node, ensuring that the target `node` has the required anchor.
@@ -17585,14 +17585,14 @@ var require_Document = __commonJS({
17585
17585
  * Removes a value from the document.
17586
17586
  * @returns `true` if the item was found and removed.
17587
17587
  */
17588
- deleteIn(path2) {
17589
- if (Collection.isEmptyPath(path2)) {
17588
+ deleteIn(path3) {
17589
+ if (Collection.isEmptyPath(path3)) {
17590
17590
  if (this.contents == null)
17591
17591
  return false;
17592
17592
  this.contents = null;
17593
17593
  return true;
17594
17594
  }
17595
- return assertCollection(this.contents) ? this.contents.deleteIn(path2) : false;
17595
+ return assertCollection(this.contents) ? this.contents.deleteIn(path3) : false;
17596
17596
  }
17597
17597
  /**
17598
17598
  * Returns item at `key`, or `undefined` if not found. By default unwraps
@@ -17607,10 +17607,10 @@ var require_Document = __commonJS({
17607
17607
  * scalar values from their surrounding node; to disable set `keepScalar` to
17608
17608
  * `true` (collections are always returned intact).
17609
17609
  */
17610
- getIn(path2, keepScalar) {
17611
- if (Collection.isEmptyPath(path2))
17610
+ getIn(path3, keepScalar) {
17611
+ if (Collection.isEmptyPath(path3))
17612
17612
  return !keepScalar && identity.isScalar(this.contents) ? this.contents.value : this.contents;
17613
- return identity.isCollection(this.contents) ? this.contents.getIn(path2, keepScalar) : void 0;
17613
+ return identity.isCollection(this.contents) ? this.contents.getIn(path3, keepScalar) : void 0;
17614
17614
  }
17615
17615
  /**
17616
17616
  * Checks if the document includes a value with the key `key`.
@@ -17621,10 +17621,10 @@ var require_Document = __commonJS({
17621
17621
  /**
17622
17622
  * Checks if the document includes a value at `path`.
17623
17623
  */
17624
- hasIn(path2) {
17625
- if (Collection.isEmptyPath(path2))
17624
+ hasIn(path3) {
17625
+ if (Collection.isEmptyPath(path3))
17626
17626
  return this.contents !== void 0;
17627
- return identity.isCollection(this.contents) ? this.contents.hasIn(path2) : false;
17627
+ return identity.isCollection(this.contents) ? this.contents.hasIn(path3) : false;
17628
17628
  }
17629
17629
  /**
17630
17630
  * Sets a value in this document. For `!!set`, `value` needs to be a
@@ -17641,13 +17641,13 @@ var require_Document = __commonJS({
17641
17641
  * Sets a value in this document. For `!!set`, `value` needs to be a
17642
17642
  * boolean to add/remove the item from the set.
17643
17643
  */
17644
- setIn(path2, value) {
17645
- if (Collection.isEmptyPath(path2)) {
17644
+ setIn(path3, value) {
17645
+ if (Collection.isEmptyPath(path3)) {
17646
17646
  this.contents = value;
17647
17647
  } else if (this.contents == null) {
17648
- this.contents = Collection.collectionFromPath(this.schema, Array.from(path2), value);
17648
+ this.contents = Collection.collectionFromPath(this.schema, Array.from(path3), value);
17649
17649
  } else if (assertCollection(this.contents)) {
17650
- this.contents.setIn(path2, value);
17650
+ this.contents.setIn(path3, value);
17651
17651
  }
17652
17652
  }
17653
17653
  /**
@@ -19544,9 +19544,9 @@ var require_cst_visit = __commonJS({
19544
19544
  visit.BREAK = BREAK;
19545
19545
  visit.SKIP = SKIP;
19546
19546
  visit.REMOVE = REMOVE;
19547
- visit.itemAtPath = (cst, path2) => {
19547
+ visit.itemAtPath = (cst, path3) => {
19548
19548
  let item = cst;
19549
- for (const [field, index] of path2) {
19549
+ for (const [field, index] of path3) {
19550
19550
  const tok = item == null ? void 0 : item[field];
19551
19551
  if (tok && "items" in tok) {
19552
19552
  item = tok.items[index];
@@ -19555,23 +19555,23 @@ var require_cst_visit = __commonJS({
19555
19555
  }
19556
19556
  return item;
19557
19557
  };
19558
- visit.parentCollection = (cst, path2) => {
19559
- const parent = visit.itemAtPath(cst, path2.slice(0, -1));
19560
- const field = path2[path2.length - 1][0];
19558
+ visit.parentCollection = (cst, path3) => {
19559
+ const parent = visit.itemAtPath(cst, path3.slice(0, -1));
19560
+ const field = path3[path3.length - 1][0];
19561
19561
  const coll = parent == null ? void 0 : parent[field];
19562
19562
  if (coll && "items" in coll)
19563
19563
  return coll;
19564
19564
  throw new Error("Parent collection not found");
19565
19565
  };
19566
- function _visit(path2, item, visitor) {
19567
- let ctrl = visitor(item, path2);
19566
+ function _visit(path3, item, visitor) {
19567
+ let ctrl = visitor(item, path3);
19568
19568
  if (typeof ctrl === "symbol")
19569
19569
  return ctrl;
19570
19570
  for (const field of ["key", "value"]) {
19571
19571
  const token = item[field];
19572
19572
  if (token && "items" in token) {
19573
19573
  for (let i2 = 0; i2 < token.items.length; ++i2) {
19574
- const ci = _visit(Object.freeze(path2.concat([[field, i2]])), token.items[i2], visitor);
19574
+ const ci = _visit(Object.freeze(path3.concat([[field, i2]])), token.items[i2], visitor);
19575
19575
  if (typeof ci === "number")
19576
19576
  i2 = ci - 1;
19577
19577
  else if (ci === BREAK)
@@ -19582,10 +19582,10 @@ var require_cst_visit = __commonJS({
19582
19582
  }
19583
19583
  }
19584
19584
  if (typeof ctrl === "function" && field === "key")
19585
- ctrl = ctrl(item, path2);
19585
+ ctrl = ctrl(item, path3);
19586
19586
  }
19587
19587
  }
19588
- return typeof ctrl === "function" ? ctrl(item, path2) : ctrl;
19588
+ return typeof ctrl === "function" ? ctrl(item, path3) : ctrl;
19589
19589
  }
19590
19590
  exports.visit = visit;
19591
19591
  }
@@ -22515,13 +22515,13 @@ var import_fast_glob = __toESM(require_out4(), 1);
22515
22515
  var import_ignore = __toESM(require_ignore(), 1);
22516
22516
 
22517
22517
  // node_modules/.pnpm/slash@4.0.0/node_modules/slash/index.js
22518
- function slash(path2) {
22519
- const isExtendedLengthPath = /^\\\\\?\\/.test(path2);
22520
- const hasNonAscii = /[^\u0000-\u0080]+/.test(path2);
22518
+ function slash(path3) {
22519
+ const isExtendedLengthPath = /^\\\\\?\\/.test(path3);
22520
+ const hasNonAscii = /[^\u0000-\u0080]+/.test(path3);
22521
22521
  if (isExtendedLengthPath || hasNonAscii) {
22522
- return path2;
22522
+ return path3;
22523
22523
  }
22524
- return path2.replace(/\\/g, "/");
22524
+ return path3.replace(/\\/g, "/");
22525
22525
  }
22526
22526
 
22527
22527
  // node_modules/.pnpm/globby@13.1.4/node_modules/globby/utilities.js
@@ -22663,9 +22663,9 @@ var getFilterSync = (options) => {
22663
22663
  var createFilterFunction = (isIgnored) => {
22664
22664
  const seen = /* @__PURE__ */ new Set();
22665
22665
  return (fastGlobResult) => {
22666
- const path2 = fastGlobResult.path || fastGlobResult;
22667
- const pathKey = import_node_path2.default.normalize(path2);
22668
- const seenOrIgnored = seen.has(pathKey) || isIgnored && isIgnored(path2);
22666
+ const path3 = fastGlobResult.path || fastGlobResult;
22667
+ const pathKey = import_node_path2.default.normalize(path3);
22668
+ const seenOrIgnored = seen.has(pathKey) || isIgnored && isIgnored(path3);
22669
22669
  seen.add(pathKey);
22670
22670
  return !seenOrIgnored;
22671
22671
  };
@@ -24073,9 +24073,9 @@ var import_node_process4 = __toESM(require("process"), 1);
24073
24073
  var import_node_fs4 = __toESM(require("fs"), 1);
24074
24074
  var import_node_os2 = __toESM(require("os"), 1);
24075
24075
  var import_node_process3 = __toESM(require("process"), 1);
24076
- function isWritable(path2) {
24076
+ function isWritable(path3) {
24077
24077
  try {
24078
- import_node_fs4.default.accessSync(path2, import_node_fs4.default.constants.W_OK);
24078
+ import_node_fs4.default.accessSync(path3, import_node_fs4.default.constants.W_OK);
24079
24079
  return true;
24080
24080
  } catch (err) {
24081
24081
  return false;
@@ -24326,6 +24326,7 @@ $.log = (entry) => {
24326
24326
  log(entry);
24327
24327
  };
24328
24328
  void async function() {
24329
+ const args = process.argv.slice(2).filter((it) => it !== "--esm" && it !== "--cjs").join(" ");
24329
24330
  const params = new Set(
24330
24331
  argv._.filter((it) => it === "--esm" || it === "--cjs")
24331
24332
  );
@@ -24338,10 +24339,12 @@ void async function() {
24338
24339
  const packagejson = (0, import_fs.existsSync)("./package.json") ? JSON.parse((0, import_fs.readFileSync)("./package.json", "utf-8")) : {};
24339
24340
  const type = packagejson["type"];
24340
24341
  if (!forseCjs && (forseEsm || type && type === "module")) {
24341
- await $`./index.mjs || true`;
24342
+ const mjsPath = path.resolve(path.join(__dirname, "index.mjs"));
24343
+ await $`node ${mjsPath} -- ${args} || true`;
24342
24344
  return;
24343
24345
  }
24344
- await $`./index.cjs || true`;
24346
+ const cjsPath = path.resolve(path.join(__dirname, "index.cjs"));
24347
+ await $`node ${cjsPath} -- ${args} || true`;
24345
24348
  }();
24346
24349
  /*! Bundled license information:
24347
24350