@coana-tech/cli 14.6.14 → 14.6.16

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/cli.mjs +111 -103
  2. package/package.json +1 -1
package/cli.mjs CHANGED
@@ -23550,7 +23550,7 @@ var require_file = __commonJS({
23550
23550
  stat(callback) {
23551
23551
  const target = this._getFile();
23552
23552
  const fullpath = path2.join(this.dirname, target);
23553
- fs.stat(fullpath, (err, stat3) => {
23553
+ fs.stat(fullpath, (err, stat4) => {
23554
23554
  if (err && err.code === "ENOENT") {
23555
23555
  debug("ENOENT\xA0ok", fullpath);
23556
23556
  this.filename = target;
@@ -23560,11 +23560,11 @@ var require_file = __commonJS({
23560
23560
  debug(`err ${err.code} ${fullpath}`);
23561
23561
  return callback(err);
23562
23562
  }
23563
- if (!stat3 || this._needsNewFile(stat3.size)) {
23563
+ if (!stat4 || this._needsNewFile(stat4.size)) {
23564
23564
  return this._incFile(() => this.stat(callback));
23565
23565
  }
23566
23566
  this.filename = target;
23567
- callback(null, stat3.size);
23567
+ callback(null, stat4.size);
23568
23568
  });
23569
23569
  }
23570
23570
  /**
@@ -37284,13 +37284,13 @@ var require_form_data = __commonJS({
37284
37284
  if (value.end != void 0 && value.end != Infinity && value.start != void 0) {
37285
37285
  callback(null, value.end + 1 - (value.start ? value.start : 0));
37286
37286
  } else {
37287
- fs.stat(value.path, function(err, stat3) {
37287
+ fs.stat(value.path, function(err, stat4) {
37288
37288
  var fileSize;
37289
37289
  if (err) {
37290
37290
  callback(err);
37291
37291
  return;
37292
37292
  }
37293
- fileSize = stat3.size - (value.start ? value.start : 0);
37293
+ fileSize = stat4.size - (value.start ? value.start : 0);
37294
37294
  callback(null, fileSize);
37295
37295
  });
37296
37296
  }
@@ -52442,15 +52442,15 @@ var require_windows = __commonJS({
52442
52442
  }
52443
52443
  return false;
52444
52444
  }
52445
- function checkStat(stat3, path2, options) {
52446
- if (!stat3.isSymbolicLink() && !stat3.isFile()) {
52445
+ function checkStat(stat4, path2, options) {
52446
+ if (!stat4.isSymbolicLink() && !stat4.isFile()) {
52447
52447
  return false;
52448
52448
  }
52449
52449
  return checkPathExt(path2, options);
52450
52450
  }
52451
52451
  function isexe(path2, options, cb) {
52452
- fs.stat(path2, function(er, stat3) {
52453
- cb(er, er ? false : checkStat(stat3, path2, options));
52452
+ fs.stat(path2, function(er, stat4) {
52453
+ cb(er, er ? false : checkStat(stat4, path2, options));
52454
52454
  });
52455
52455
  }
52456
52456
  function sync2(path2, options) {
@@ -52466,20 +52466,20 @@ var require_mode = __commonJS({
52466
52466
  isexe.sync = sync2;
52467
52467
  var fs = __require("fs");
52468
52468
  function isexe(path2, options, cb) {
52469
- fs.stat(path2, function(er, stat3) {
52470
- cb(er, er ? false : checkStat(stat3, options));
52469
+ fs.stat(path2, function(er, stat4) {
52470
+ cb(er, er ? false : checkStat(stat4, options));
52471
52471
  });
52472
52472
  }
52473
52473
  function sync2(path2, options) {
52474
52474
  return checkStat(fs.statSync(path2), options);
52475
52475
  }
52476
- function checkStat(stat3, options) {
52477
- return stat3.isFile() && checkMode(stat3, options);
52476
+ function checkStat(stat4, options) {
52477
+ return stat4.isFile() && checkMode(stat4, options);
52478
52478
  }
52479
- function checkMode(stat3, options) {
52480
- var mod = stat3.mode;
52481
- var uid = stat3.uid;
52482
- var gid = stat3.gid;
52479
+ function checkMode(stat4, options) {
52480
+ var mod = stat4.mode;
52481
+ var uid = stat4.uid;
52482
+ var gid = stat4.gid;
52483
52483
  var myUid = options.uid !== void 0 ? options.uid : process.getuid && process.getuid();
52484
52484
  var myGid = options.gid !== void 0 ? options.gid : process.getgid && process.getgid();
52485
52485
  var u6 = parseInt("100", 8);
@@ -75417,14 +75417,14 @@ var require_lockfile = __commonJS({
75417
75417
  const name = _ref28;
75418
75418
  const relative9 = relativeDir ? (_path || _load_path()).default.join(relativeDir, name) : name;
75419
75419
  const loc = (_path || _load_path()).default.join(dir, name);
75420
- const stat4 = yield lstat2(loc);
75420
+ const stat5 = yield lstat2(loc);
75421
75421
  files.push({
75422
75422
  relative: relative9,
75423
75423
  basename: name,
75424
75424
  absolute: loc,
75425
- mtime: +stat4.mtime
75425
+ mtime: +stat5.mtime
75426
75426
  });
75427
- if (stat4.isDirectory()) {
75427
+ if (stat5.isDirectory()) {
75428
75428
  files = files.concat(yield walk(loc, relative9, ignoreBasenames));
75429
75429
  }
75430
75430
  }
@@ -75436,8 +75436,8 @@ var require_lockfile = __commonJS({
75436
75436
  })();
75437
75437
  let getFileSizeOnDisk = exports3.getFileSizeOnDisk = (() => {
75438
75438
  var _ref29 = (0, (_asyncToGenerator2 || _load_asyncToGenerator()).default)(function* (loc) {
75439
- const stat4 = yield lstat2(loc);
75440
- const size = stat4.size, blockSize = stat4.blksize;
75439
+ const stat5 = yield lstat2(loc);
75440
+ const size = stat5.size, blockSize = stat5.blksize;
75441
75441
  return Math.ceil(size / blockSize) * blockSize;
75442
75442
  });
75443
75443
  return function getFileSizeOnDisk2(_x28) {
@@ -75638,7 +75638,7 @@ var require_lockfile = __commonJS({
75638
75638
  const readdir7 = exports3.readdir = (0, (_promise2 || _load_promise2()).promisify)((_fs || _load_fs()).default.readdir);
75639
75639
  const rename = exports3.rename = (0, (_promise2 || _load_promise2()).promisify)((_fs || _load_fs()).default.rename);
75640
75640
  const access4 = exports3.access = (0, (_promise2 || _load_promise2()).promisify)((_fs || _load_fs()).default.access);
75641
- const stat3 = exports3.stat = (0, (_promise2 || _load_promise2()).promisify)((_fs || _load_fs()).default.stat);
75641
+ const stat4 = exports3.stat = (0, (_promise2 || _load_promise2()).promisify)((_fs || _load_fs()).default.stat);
75642
75642
  const mkdirp = exports3.mkdirp = (0, (_promise2 || _load_promise2()).promisify)(__webpack_require__(116));
75643
75643
  const exists2 = exports3.exists = (0, (_promise2 || _load_promise2()).promisify)((_fs || _load_fs()).default.exists, true);
75644
75644
  const lstat2 = exports3.lstat = (0, (_promise2 || _load_promise2()).promisify)((_fs || _load_fs()).default.lstat);
@@ -77584,8 +77584,8 @@ var require_lockfile = __commonJS({
77584
77584
  var def = __webpack_require__(50).f;
77585
77585
  var has2 = __webpack_require__(49);
77586
77586
  var TAG = __webpack_require__(13)("toStringTag");
77587
- module3.exports = function(it, tag, stat3) {
77588
- if (it && !has2(it = stat3 ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag });
77587
+ module3.exports = function(it, tag, stat4) {
77588
+ if (it && !has2(it = stat4 ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag });
77589
77589
  };
77590
77590
  },
77591
77591
  /* 72 */
@@ -78123,16 +78123,16 @@ var require_lockfile = __commonJS({
78123
78123
  return cb();
78124
78124
  }
78125
78125
  var exists2;
78126
- var stat3 = this.statCache[abs];
78127
- if (stat3 !== void 0) {
78128
- if (stat3 === false)
78129
- return cb(null, stat3);
78126
+ var stat4 = this.statCache[abs];
78127
+ if (stat4 !== void 0) {
78128
+ if (stat4 === false)
78129
+ return cb(null, stat4);
78130
78130
  else {
78131
- var type = stat3.isDirectory() ? "DIR" : "FILE";
78131
+ var type = stat4.isDirectory() ? "DIR" : "FILE";
78132
78132
  if (needDir && type === "FILE")
78133
78133
  return cb();
78134
78134
  else
78135
- return cb(null, type, stat3);
78135
+ return cb(null, type, stat4);
78136
78136
  }
78137
78137
  }
78138
78138
  var self2 = this;
@@ -78141,33 +78141,33 @@ var require_lockfile = __commonJS({
78141
78141
  fs.lstat(abs, statcb);
78142
78142
  function lstatcb_(er, lstat2) {
78143
78143
  if (lstat2 && lstat2.isSymbolicLink()) {
78144
- return fs.stat(abs, function(er2, stat4) {
78144
+ return fs.stat(abs, function(er2, stat5) {
78145
78145
  if (er2)
78146
78146
  self2._stat2(f7, abs, null, lstat2, cb);
78147
78147
  else
78148
- self2._stat2(f7, abs, er2, stat4, cb);
78148
+ self2._stat2(f7, abs, er2, stat5, cb);
78149
78149
  });
78150
78150
  } else {
78151
78151
  self2._stat2(f7, abs, er, lstat2, cb);
78152
78152
  }
78153
78153
  }
78154
78154
  };
78155
- Glob2.prototype._stat2 = function(f7, abs, er, stat3, cb) {
78155
+ Glob2.prototype._stat2 = function(f7, abs, er, stat4, cb) {
78156
78156
  if (er && (er.code === "ENOENT" || er.code === "ENOTDIR")) {
78157
78157
  this.statCache[abs] = false;
78158
78158
  return cb();
78159
78159
  }
78160
78160
  var needDir = f7.slice(-1) === "/";
78161
- this.statCache[abs] = stat3;
78162
- if (abs.slice(-1) === "/" && stat3 && !stat3.isDirectory())
78163
- return cb(null, false, stat3);
78161
+ this.statCache[abs] = stat4;
78162
+ if (abs.slice(-1) === "/" && stat4 && !stat4.isDirectory())
78163
+ return cb(null, false, stat4);
78164
78164
  var c2 = true;
78165
- if (stat3)
78166
- c2 = stat3.isDirectory() ? "DIR" : "FILE";
78165
+ if (stat4)
78166
+ c2 = stat4.isDirectory() ? "DIR" : "FILE";
78167
78167
  this.cache[abs] = this.cache[abs] || c2;
78168
78168
  if (needDir && c2 === "FILE")
78169
78169
  return cb();
78170
- return cb(null, c2, stat3);
78170
+ return cb(null, c2, stat4);
78171
78171
  };
78172
78172
  },
78173
78173
  /* 76 */
@@ -79375,8 +79375,8 @@ var require_lockfile = __commonJS({
79375
79375
  // there already. If so, then hooray! If not, then something
79376
79376
  // is borked.
79377
79377
  default:
79378
- xfs.stat(p3, function(er2, stat3) {
79379
- if (er2 || !stat3.isDirectory()) cb(er, made);
79378
+ xfs.stat(p3, function(er2, stat4) {
79379
+ if (er2 || !stat4.isDirectory()) cb(er, made);
79380
79380
  else cb(null, made);
79381
79381
  });
79382
79382
  break;
@@ -79407,13 +79407,13 @@ var require_lockfile = __commonJS({
79407
79407
  // there already. If so, then hooray! If not, then something
79408
79408
  // is borked.
79409
79409
  default:
79410
- var stat3;
79410
+ var stat4;
79411
79411
  try {
79412
- stat3 = xfs.statSync(p3);
79412
+ stat4 = xfs.statSync(p3);
79413
79413
  } catch (err1) {
79414
79414
  throw err0;
79415
79415
  }
79416
- if (!stat3.isDirectory()) throw err0;
79416
+ if (!stat4.isDirectory()) throw err0;
79417
79417
  break;
79418
79418
  }
79419
79419
  }
@@ -81347,15 +81347,15 @@ ${indent}`);
81347
81347
  if (cache2 && Object.prototype.hasOwnProperty.call(cache2, base)) {
81348
81348
  resolvedLink = cache2[base];
81349
81349
  } else {
81350
- var stat3 = fs.lstatSync(base);
81351
- if (!stat3.isSymbolicLink()) {
81350
+ var stat4 = fs.lstatSync(base);
81351
+ if (!stat4.isSymbolicLink()) {
81352
81352
  knownHard[base] = true;
81353
81353
  if (cache2) cache2[base] = base;
81354
81354
  continue;
81355
81355
  }
81356
81356
  var linkTarget = null;
81357
81357
  if (!isWindows) {
81358
- var id = stat3.dev.toString(32) + ":" + stat3.ino.toString(32);
81358
+ var id = stat4.dev.toString(32) + ":" + stat4.ino.toString(32);
81359
81359
  if (seenLinks.hasOwnProperty(id)) {
81360
81360
  linkTarget = seenLinks[id];
81361
81361
  }
@@ -81424,15 +81424,15 @@ ${indent}`);
81424
81424
  }
81425
81425
  return fs.lstat(base, gotStat);
81426
81426
  }
81427
- function gotStat(err, stat3) {
81427
+ function gotStat(err, stat4) {
81428
81428
  if (err) return cb(err);
81429
- if (!stat3.isSymbolicLink()) {
81429
+ if (!stat4.isSymbolicLink()) {
81430
81430
  knownHard[base] = true;
81431
81431
  if (cache2) cache2[base] = base;
81432
81432
  return process.nextTick(LOOP);
81433
81433
  }
81434
81434
  if (!isWindows) {
81435
- var id = stat3.dev.toString(32) + ":" + stat3.ino.toString(32);
81435
+ var id = stat4.dev.toString(32) + ":" + stat4.ino.toString(32);
81436
81436
  if (seenLinks.hasOwnProperty(id)) {
81437
81437
  return gotTarget(null, seenLinks[id], base);
81438
81438
  }
@@ -81639,7 +81639,7 @@ ${indent}`);
81639
81639
  return this._readdir(abs, false);
81640
81640
  var entries;
81641
81641
  var lstat2;
81642
- var stat3;
81642
+ var stat4;
81643
81643
  try {
81644
81644
  lstat2 = fs.lstatSync(abs);
81645
81645
  } catch (er) {
@@ -81774,8 +81774,8 @@ ${indent}`);
81774
81774
  return false;
81775
81775
  }
81776
81776
  var exists2;
81777
- var stat3 = this.statCache[abs];
81778
- if (!stat3) {
81777
+ var stat4 = this.statCache[abs];
81778
+ if (!stat4) {
81779
81779
  var lstat2;
81780
81780
  try {
81781
81781
  lstat2 = fs.lstatSync(abs);
@@ -81787,18 +81787,18 @@ ${indent}`);
81787
81787
  }
81788
81788
  if (lstat2 && lstat2.isSymbolicLink()) {
81789
81789
  try {
81790
- stat3 = fs.statSync(abs);
81790
+ stat4 = fs.statSync(abs);
81791
81791
  } catch (er) {
81792
- stat3 = lstat2;
81792
+ stat4 = lstat2;
81793
81793
  }
81794
81794
  } else {
81795
- stat3 = lstat2;
81795
+ stat4 = lstat2;
81796
81796
  }
81797
81797
  }
81798
- this.statCache[abs] = stat3;
81798
+ this.statCache[abs] = stat4;
81799
81799
  var c2 = true;
81800
- if (stat3)
81801
- c2 = stat3.isDirectory() ? "DIR" : "FILE";
81800
+ if (stat4)
81801
+ c2 = stat4.isDirectory() ? "DIR" : "FILE";
81802
81802
  this.cache[abs] = this.cache[abs] || c2;
81803
81803
  if (needDir && c2 === "FILE")
81804
81804
  return false;
@@ -82061,7 +82061,7 @@ ${indent}`);
82061
82061
  var n2 = 0;
82062
82062
  if (options.disableGlob || !glob2.hasMagic(p3))
82063
82063
  return afterGlob(null, [p3]);
82064
- options.lstat(p3, function(er, stat3) {
82064
+ options.lstat(p3, function(er, stat4) {
82065
82065
  if (!er)
82066
82066
  return afterGlob(null, [p3]);
82067
82067
  glob2(p3, options.glob, afterGlob);
@@ -85168,6 +85168,7 @@ var require_file_utils = __commonJS({
85168
85168
  exports2.copyFiles = copyFiles;
85169
85169
  exports2.findParent = findParent2;
85170
85170
  exports2.getAllFilesRec = getAllFilesRec;
85171
+ exports2.isDirectory = isDirectory;
85171
85172
  exports2.exists = exists2;
85172
85173
  var promises_1 = __require("fs/promises");
85173
85174
  var lodash_1 = require_lodash();
@@ -85214,6 +85215,13 @@ var require_file_utils = __commonJS({
85214
85215
  }
85215
85216
  return (0, lodash_1.uniq)(await helper(dir, []));
85216
85217
  }
85218
+ async function isDirectory(filePath) {
85219
+ try {
85220
+ return (await (0, promises_1.stat)(filePath)).isDirectory();
85221
+ } catch {
85222
+ return false;
85223
+ }
85224
+ }
85217
85225
  async function exists2(path2, mode) {
85218
85226
  try {
85219
85227
  await (0, promises_1.access)(path2, mode);
@@ -110360,15 +110368,15 @@ var require_old = __commonJS({
110360
110368
  if (cache2 && Object.prototype.hasOwnProperty.call(cache2, base)) {
110361
110369
  resolvedLink = cache2[base];
110362
110370
  } else {
110363
- var stat3 = fs.lstatSync(base);
110364
- if (!stat3.isSymbolicLink()) {
110371
+ var stat4 = fs.lstatSync(base);
110372
+ if (!stat4.isSymbolicLink()) {
110365
110373
  knownHard[base] = true;
110366
110374
  if (cache2) cache2[base] = base;
110367
110375
  continue;
110368
110376
  }
110369
110377
  var linkTarget = null;
110370
110378
  if (!isWindows) {
110371
- var id = stat3.dev.toString(32) + ":" + stat3.ino.toString(32);
110379
+ var id = stat4.dev.toString(32) + ":" + stat4.ino.toString(32);
110372
110380
  if (seenLinks.hasOwnProperty(id)) {
110373
110381
  linkTarget = seenLinks[id];
110374
110382
  }
@@ -110437,15 +110445,15 @@ var require_old = __commonJS({
110437
110445
  }
110438
110446
  return fs.lstat(base, gotStat);
110439
110447
  }
110440
- function gotStat(err, stat3) {
110448
+ function gotStat(err, stat4) {
110441
110449
  if (err) return cb(err);
110442
- if (!stat3.isSymbolicLink()) {
110450
+ if (!stat4.isSymbolicLink()) {
110443
110451
  knownHard[base] = true;
110444
110452
  if (cache2) cache2[base] = base;
110445
110453
  return process.nextTick(LOOP);
110446
110454
  }
110447
110455
  if (!isWindows) {
110448
- var id = stat3.dev.toString(32) + ":" + stat3.ino.toString(32);
110456
+ var id = stat4.dev.toString(32) + ":" + stat4.ino.toString(32);
110449
110457
  if (seenLinks.hasOwnProperty(id)) {
110450
110458
  return gotTarget(null, seenLinks[id], base);
110451
110459
  }
@@ -111661,7 +111669,7 @@ var require_sync = __commonJS({
111661
111669
  return this._readdir(abs, false);
111662
111670
  var entries;
111663
111671
  var lstat2;
111664
- var stat3;
111672
+ var stat4;
111665
111673
  try {
111666
111674
  lstat2 = this.fs.lstatSync(abs);
111667
111675
  } catch (er) {
@@ -111796,8 +111804,8 @@ var require_sync = __commonJS({
111796
111804
  return false;
111797
111805
  }
111798
111806
  var exists2;
111799
- var stat3 = this.statCache[abs];
111800
- if (!stat3) {
111807
+ var stat4 = this.statCache[abs];
111808
+ if (!stat4) {
111801
111809
  var lstat2;
111802
111810
  try {
111803
111811
  lstat2 = this.fs.lstatSync(abs);
@@ -111809,18 +111817,18 @@ var require_sync = __commonJS({
111809
111817
  }
111810
111818
  if (lstat2 && lstat2.isSymbolicLink()) {
111811
111819
  try {
111812
- stat3 = this.fs.statSync(abs);
111820
+ stat4 = this.fs.statSync(abs);
111813
111821
  } catch (er) {
111814
- stat3 = lstat2;
111822
+ stat4 = lstat2;
111815
111823
  }
111816
111824
  } else {
111817
- stat3 = lstat2;
111825
+ stat4 = lstat2;
111818
111826
  }
111819
111827
  }
111820
- this.statCache[abs] = stat3;
111828
+ this.statCache[abs] = stat4;
111821
111829
  var c2 = true;
111822
- if (stat3)
111823
- c2 = stat3.isDirectory() ? "DIR" : "FILE";
111830
+ if (stat4)
111831
+ c2 = stat4.isDirectory() ? "DIR" : "FILE";
111824
111832
  this.cache[abs] = this.cache[abs] || c2;
111825
111833
  if (needDir && c2 === "FILE")
111826
111834
  return false;
@@ -112462,16 +112470,16 @@ var require_glob = __commonJS({
112462
112470
  return cb();
112463
112471
  }
112464
112472
  var exists2;
112465
- var stat3 = this.statCache[abs];
112466
- if (stat3 !== void 0) {
112467
- if (stat3 === false)
112468
- return cb(null, stat3);
112473
+ var stat4 = this.statCache[abs];
112474
+ if (stat4 !== void 0) {
112475
+ if (stat4 === false)
112476
+ return cb(null, stat4);
112469
112477
  else {
112470
- var type = stat3.isDirectory() ? "DIR" : "FILE";
112478
+ var type = stat4.isDirectory() ? "DIR" : "FILE";
112471
112479
  if (needDir && type === "FILE")
112472
112480
  return cb();
112473
112481
  else
112474
- return cb(null, type, stat3);
112482
+ return cb(null, type, stat4);
112475
112483
  }
112476
112484
  }
112477
112485
  var self2 = this;
@@ -112480,33 +112488,33 @@ var require_glob = __commonJS({
112480
112488
  self2.fs.lstat(abs, statcb);
112481
112489
  function lstatcb_(er, lstat2) {
112482
112490
  if (lstat2 && lstat2.isSymbolicLink()) {
112483
- return self2.fs.stat(abs, function(er2, stat4) {
112491
+ return self2.fs.stat(abs, function(er2, stat5) {
112484
112492
  if (er2)
112485
112493
  self2._stat2(f7, abs, null, lstat2, cb);
112486
112494
  else
112487
- self2._stat2(f7, abs, er2, stat4, cb);
112495
+ self2._stat2(f7, abs, er2, stat5, cb);
112488
112496
  });
112489
112497
  } else {
112490
112498
  self2._stat2(f7, abs, er, lstat2, cb);
112491
112499
  }
112492
112500
  }
112493
112501
  };
112494
- Glob2.prototype._stat2 = function(f7, abs, er, stat3, cb) {
112502
+ Glob2.prototype._stat2 = function(f7, abs, er, stat4, cb) {
112495
112503
  if (er && (er.code === "ENOENT" || er.code === "ENOTDIR")) {
112496
112504
  this.statCache[abs] = false;
112497
112505
  return cb();
112498
112506
  }
112499
112507
  var needDir = f7.slice(-1) === "/";
112500
- this.statCache[abs] = stat3;
112501
- if (abs.slice(-1) === "/" && stat3 && !stat3.isDirectory())
112502
- return cb(null, false, stat3);
112508
+ this.statCache[abs] = stat4;
112509
+ if (abs.slice(-1) === "/" && stat4 && !stat4.isDirectory())
112510
+ return cb(null, false, stat4);
112503
112511
  var c2 = true;
112504
- if (stat3)
112505
- c2 = stat3.isDirectory() ? "DIR" : "FILE";
112512
+ if (stat4)
112513
+ c2 = stat4.isDirectory() ? "DIR" : "FILE";
112506
112514
  this.cache[abs] = this.cache[abs] || c2;
112507
112515
  if (needDir && c2 === "FILE")
112508
112516
  return cb();
112509
- return cb(null, c2, stat3);
112517
+ return cb(null, c2, stat4);
112510
112518
  };
112511
112519
  }
112512
112520
  });
@@ -112598,7 +112606,7 @@ var require_rimraf2 = __commonJS({
112598
112606
  };
112599
112607
  if (options.disableGlob || !glob2.hasMagic(p3))
112600
112608
  return afterGlob(null, [p3]);
112601
- options.lstat(p3, (er, stat3) => {
112609
+ options.lstat(p3, (er, stat4) => {
112602
112610
  if (!er)
112603
112611
  return afterGlob(null, [p3]);
112604
112612
  glob2(p3, options.glob, afterGlob);
@@ -113945,7 +113953,7 @@ var require_upload_gzip = __commonJS({
113945
113953
  var fs = __importStar2(__require("fs"));
113946
113954
  var zlib2 = __importStar2(__require("zlib"));
113947
113955
  var util_1 = __require("util");
113948
- var stat3 = (0, util_1.promisify)(fs.stat);
113956
+ var stat4 = (0, util_1.promisify)(fs.stat);
113949
113957
  var gzipExemptFileExtensions = [
113950
113958
  ".gz",
113951
113959
  ".gzip",
@@ -113983,7 +113991,7 @@ var require_upload_gzip = __commonJS({
113983
113991
  const outputStream = fs.createWriteStream(tempFilePath);
113984
113992
  inputStream.pipe(gzip).pipe(outputStream);
113985
113993
  outputStream.on("finish", () => __awaiter2(this, void 0, void 0, function* () {
113986
- const size = (yield stat3(tempFilePath)).size;
113994
+ const size = (yield stat4(tempFilePath)).size;
113987
113995
  resolve25(size);
113988
113996
  }));
113989
113997
  outputStream.on("error", (error) => {
@@ -114221,7 +114229,7 @@ var require_upload_http_client = __commonJS({
114221
114229
  var http_manager_1 = require_http_manager();
114222
114230
  var upload_gzip_1 = require_upload_gzip();
114223
114231
  var requestUtils_1 = require_requestUtils();
114224
- var stat3 = (0, util_1.promisify)(fs.stat);
114232
+ var stat4 = (0, util_1.promisify)(fs.stat);
114225
114233
  var UploadHttpClient = class {
114226
114234
  constructor() {
114227
114235
  this.uploadHttpManager = new http_manager_1.HttpManager((0, config_variables_1.getUploadFileConcurrency)(), "@actions/artifact-upload");
@@ -114344,7 +114352,7 @@ var require_upload_http_client = __commonJS({
114344
114352
  */
114345
114353
  uploadFileAsync(httpClientIndex, parameters) {
114346
114354
  return __awaiter2(this, void 0, void 0, function* () {
114347
- const fileStat = yield stat3(parameters.file);
114355
+ const fileStat = yield stat4(parameters.file);
114348
114356
  const totalFileSize = fileStat.size;
114349
114357
  const isFIFO = fileStat.isFIFO();
114350
114358
  let offset = 0;
@@ -168921,13 +168929,13 @@ var require_form_data2 = __commonJS({
168921
168929
  if (value.end != void 0 && value.end != Infinity && value.start != void 0) {
168922
168930
  callback(null, value.end + 1 - (value.start ? value.start : 0));
168923
168931
  } else {
168924
- fs.stat(value.path, function(err, stat3) {
168932
+ fs.stat(value.path, function(err, stat4) {
168925
168933
  var fileSize;
168926
168934
  if (err) {
168927
168935
  callback(err);
168928
168936
  return;
168929
168937
  }
168930
- fileSize = stat3.size - (value.start ? value.start : 0);
168938
+ fileSize = stat4.size - (value.start ? value.start : 0);
168931
168939
  callback(null, fileSize);
168932
168940
  });
168933
168941
  }
@@ -184856,10 +184864,10 @@ function findScalaFiles(dir, fileList = []) {
184856
184864
  const files = readdirSync3(dir);
184857
184865
  files.forEach((file) => {
184858
184866
  const filePath = join7(dir, file);
184859
- const stat3 = statSync2(filePath);
184860
- if (stat3.isDirectory()) {
184867
+ const stat4 = statSync2(filePath);
184868
+ if (stat4.isDirectory()) {
184861
184869
  findScalaFiles(filePath, fileList);
184862
- } else if (stat3.isFile() && filePath.endsWith(".scala")) {
184870
+ } else if (stat4.isFile() && filePath.endsWith(".scala")) {
184863
184871
  fileList.push(filePath);
184864
184872
  }
184865
184873
  });
@@ -184973,7 +184981,7 @@ import { join as join10, posix as posix2, relative as relative5, sep as sep3 } f
184973
184981
  var import_lodash4 = __toESM(require_lodash());
184974
184982
  var import_micromatch = __toESM(require_micromatch());
184975
184983
  init_async();
184976
- import { access as access2, cp, readdir as readdir4 } from "fs/promises";
184984
+ import { access as access2, cp, readdir as readdir4, stat as stat3 } from "fs/promises";
184977
184985
  import { basename as basename3, join as join8, relative as relative4, resolve as resolve14 } from "path";
184978
184986
  function findParent(dir, predicate, wholePath) {
184979
184987
  let curr = dir;
@@ -202370,7 +202378,7 @@ async function onlineScan(dependencyTree, apiKey, timeout) {
202370
202378
  }
202371
202379
 
202372
202380
  // dist/version.js
202373
- var version2 = "14.6.14";
202381
+ var version2 = "14.6.16";
202374
202382
 
202375
202383
  // dist/cli-core.js
202376
202384
  var { omit, partition, pick } = import_lodash12.default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coana-tech/cli",
3
- "version": "14.6.14",
3
+ "version": "14.6.16",
4
4
  "description": "Coana CLI",
5
5
  "type": "module",
6
6
  "bin": {