@modern-js/repo-generator 0.0.0-nightly-20231024172117 → 0.0.0-nightly-20231025081734

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +76 -110
  2. package/package.json +11 -11
package/dist/index.js CHANGED
@@ -10758,9 +10758,9 @@ var require_axios2 = __commonJS({
10758
10758
  }
10759
10759
  });
10760
10760
 
10761
- // ../../../../node_modules/.pnpm/tar@6.2.0/node_modules/tar/lib/high-level-opt.js
10761
+ // ../../../../node_modules/.pnpm/tar@6.1.13/node_modules/tar/lib/high-level-opt.js
10762
10762
  var require_high_level_opt = __commonJS({
10763
- "../../../../node_modules/.pnpm/tar@6.2.0/node_modules/tar/lib/high-level-opt.js"(exports, module2) {
10763
+ "../../../../node_modules/.pnpm/tar@6.1.13/node_modules/tar/lib/high-level-opt.js"(exports, module2) {
10764
10764
  "use strict";
10765
10765
  var argmap = /* @__PURE__ */ new Map([
10766
10766
  ["C", "cwd"],
@@ -10790,9 +10790,9 @@ var require_high_level_opt = __commonJS({
10790
10790
  }
10791
10791
  });
10792
10792
 
10793
- // ../../../../node_modules/.pnpm/minipass@5.0.0/node_modules/minipass/index.js
10793
+ // ../../../../node_modules/.pnpm/minipass@4.2.5/node_modules/minipass/index.js
10794
10794
  var require_minipass = __commonJS({
10795
- "../../../../node_modules/.pnpm/minipass@5.0.0/node_modules/minipass/index.js"(exports) {
10795
+ "../../../../node_modules/.pnpm/minipass@4.2.5/node_modules/minipass/index.js"(exports, module2) {
10796
10796
  "use strict";
10797
10797
  var proc = typeof process === "object" && process ? process : {
10798
10798
  stdout: null,
@@ -11393,7 +11393,7 @@ var require_minipass = __commonJS({
11393
11393
  typeof s.write === "function" && typeof s.end === "function"));
11394
11394
  }
11395
11395
  };
11396
- exports.Minipass = Minipass;
11396
+ module2.exports = Minipass;
11397
11397
  }
11398
11398
  });
11399
11399
 
@@ -12302,23 +12302,23 @@ var require_minizlib = __commonJS({
12302
12302
  }
12303
12303
  });
12304
12304
 
12305
- // ../../../../node_modules/.pnpm/tar@6.2.0/node_modules/tar/lib/normalize-windows-path.js
12305
+ // ../../../../node_modules/.pnpm/tar@6.1.13/node_modules/tar/lib/normalize-windows-path.js
12306
12306
  var require_normalize_windows_path = __commonJS({
12307
- "../../../../node_modules/.pnpm/tar@6.2.0/node_modules/tar/lib/normalize-windows-path.js"(exports, module2) {
12307
+ "../../../../node_modules/.pnpm/tar@6.1.13/node_modules/tar/lib/normalize-windows-path.js"(exports, module2) {
12308
12308
  "use strict";
12309
12309
  var platform = process.env.TESTING_TAR_FAKE_PLATFORM || process.platform;
12310
12310
  module2.exports = platform !== "win32" ? (p) => p : (p) => p && p.replace(/\\/g, "/");
12311
12311
  }
12312
12312
  });
12313
12313
 
12314
- // ../../../../node_modules/.pnpm/tar@6.2.0/node_modules/tar/lib/read-entry.js
12314
+ // ../../../../node_modules/.pnpm/tar@6.1.13/node_modules/tar/lib/read-entry.js
12315
12315
  var require_read_entry = __commonJS({
12316
- "../../../../node_modules/.pnpm/tar@6.2.0/node_modules/tar/lib/read-entry.js"(exports, module2) {
12316
+ "../../../../node_modules/.pnpm/tar@6.1.13/node_modules/tar/lib/read-entry.js"(exports, module2) {
12317
12317
  "use strict";
12318
- var { Minipass } = require_minipass();
12318
+ var MiniPass = require_minipass();
12319
12319
  var normPath = require_normalize_windows_path();
12320
12320
  var SLURP = Symbol("slurp");
12321
- module2.exports = class ReadEntry extends Minipass {
12321
+ module2.exports = class ReadEntry extends MiniPass {
12322
12322
  constructor(header, ex, gex) {
12323
12323
  super();
12324
12324
  this.pause();
@@ -12405,9 +12405,9 @@ var require_read_entry = __commonJS({
12405
12405
  }
12406
12406
  });
12407
12407
 
12408
- // ../../../../node_modules/.pnpm/tar@6.2.0/node_modules/tar/lib/types.js
12408
+ // ../../../../node_modules/.pnpm/tar@6.1.13/node_modules/tar/lib/types.js
12409
12409
  var require_types = __commonJS({
12410
- "../../../../node_modules/.pnpm/tar@6.2.0/node_modules/tar/lib/types.js"(exports) {
12410
+ "../../../../node_modules/.pnpm/tar@6.1.13/node_modules/tar/lib/types.js"(exports) {
12411
12411
  "use strict";
12412
12412
  exports.name = /* @__PURE__ */ new Map([
12413
12413
  ["0", "File"],
@@ -12452,9 +12452,9 @@ var require_types = __commonJS({
12452
12452
  }
12453
12453
  });
12454
12454
 
12455
- // ../../../../node_modules/.pnpm/tar@6.2.0/node_modules/tar/lib/large-numbers.js
12455
+ // ../../../../node_modules/.pnpm/tar@6.1.13/node_modules/tar/lib/large-numbers.js
12456
12456
  var require_large_numbers = __commonJS({
12457
- "../../../../node_modules/.pnpm/tar@6.2.0/node_modules/tar/lib/large-numbers.js"(exports, module2) {
12457
+ "../../../../node_modules/.pnpm/tar@6.1.13/node_modules/tar/lib/large-numbers.js"(exports, module2) {
12458
12458
  "use strict";
12459
12459
  var encode = (num, buf) => {
12460
12460
  if (!Number.isSafeInteger(num)) {
@@ -12542,9 +12542,9 @@ var require_large_numbers = __commonJS({
12542
12542
  }
12543
12543
  });
12544
12544
 
12545
- // ../../../../node_modules/.pnpm/tar@6.2.0/node_modules/tar/lib/header.js
12545
+ // ../../../../node_modules/.pnpm/tar@6.1.13/node_modules/tar/lib/header.js
12546
12546
  var require_header = __commonJS({
12547
- "../../../../node_modules/.pnpm/tar@6.2.0/node_modules/tar/lib/header.js"(exports, module2) {
12547
+ "../../../../node_modules/.pnpm/tar@6.1.13/node_modules/tar/lib/header.js"(exports, module2) {
12548
12548
  "use strict";
12549
12549
  var types = require_types();
12550
12550
  var pathModule = require("path").posix;
@@ -12762,9 +12762,9 @@ var require_header = __commonJS({
12762
12762
  }
12763
12763
  });
12764
12764
 
12765
- // ../../../../node_modules/.pnpm/tar@6.2.0/node_modules/tar/lib/pax.js
12765
+ // ../../../../node_modules/.pnpm/tar@6.1.13/node_modules/tar/lib/pax.js
12766
12766
  var require_pax = __commonJS({
12767
- "../../../../node_modules/.pnpm/tar@6.2.0/node_modules/tar/lib/pax.js"(exports, module2) {
12767
+ "../../../../node_modules/.pnpm/tar@6.1.13/node_modules/tar/lib/pax.js"(exports, module2) {
12768
12768
  "use strict";
12769
12769
  var Header = require_header();
12770
12770
  var path18 = require("path");
@@ -12863,9 +12863,9 @@ var require_pax = __commonJS({
12863
12863
  }
12864
12864
  });
12865
12865
 
12866
- // ../../../../node_modules/.pnpm/tar@6.2.0/node_modules/tar/lib/strip-trailing-slashes.js
12866
+ // ../../../../node_modules/.pnpm/tar@6.1.13/node_modules/tar/lib/strip-trailing-slashes.js
12867
12867
  var require_strip_trailing_slashes = __commonJS({
12868
- "../../../../node_modules/.pnpm/tar@6.2.0/node_modules/tar/lib/strip-trailing-slashes.js"(exports, module2) {
12868
+ "../../../../node_modules/.pnpm/tar@6.1.13/node_modules/tar/lib/strip-trailing-slashes.js"(exports, module2) {
12869
12869
  "use strict";
12870
12870
  module2.exports = (str) => {
12871
12871
  let i = str.length - 1;
@@ -12879,9 +12879,9 @@ var require_strip_trailing_slashes = __commonJS({
12879
12879
  }
12880
12880
  });
12881
12881
 
12882
- // ../../../../node_modules/.pnpm/tar@6.2.0/node_modules/tar/lib/warn-mixin.js
12882
+ // ../../../../node_modules/.pnpm/tar@6.1.13/node_modules/tar/lib/warn-mixin.js
12883
12883
  var require_warn_mixin = __commonJS({
12884
- "../../../../node_modules/.pnpm/tar@6.2.0/node_modules/tar/lib/warn-mixin.js"(exports, module2) {
12884
+ "../../../../node_modules/.pnpm/tar@6.1.13/node_modules/tar/lib/warn-mixin.js"(exports, module2) {
12885
12885
  "use strict";
12886
12886
  module2.exports = (Base) => class extends Base {
12887
12887
  warn(code, message, data = {}) {
@@ -12909,9 +12909,9 @@ var require_warn_mixin = __commonJS({
12909
12909
  }
12910
12910
  });
12911
12911
 
12912
- // ../../../../node_modules/.pnpm/tar@6.2.0/node_modules/tar/lib/winchars.js
12912
+ // ../../../../node_modules/.pnpm/tar@6.1.13/node_modules/tar/lib/winchars.js
12913
12913
  var require_winchars = __commonJS({
12914
- "../../../../node_modules/.pnpm/tar@6.2.0/node_modules/tar/lib/winchars.js"(exports, module2) {
12914
+ "../../../../node_modules/.pnpm/tar@6.1.13/node_modules/tar/lib/winchars.js"(exports, module2) {
12915
12915
  "use strict";
12916
12916
  var raw2 = [
12917
12917
  "|",
@@ -12930,9 +12930,9 @@ var require_winchars = __commonJS({
12930
12930
  }
12931
12931
  });
12932
12932
 
12933
- // ../../../../node_modules/.pnpm/tar@6.2.0/node_modules/tar/lib/strip-absolute-path.js
12933
+ // ../../../../node_modules/.pnpm/tar@6.1.13/node_modules/tar/lib/strip-absolute-path.js
12934
12934
  var require_strip_absolute_path = __commonJS({
12935
- "../../../../node_modules/.pnpm/tar@6.2.0/node_modules/tar/lib/strip-absolute-path.js"(exports, module2) {
12935
+ "../../../../node_modules/.pnpm/tar@6.1.13/node_modules/tar/lib/strip-absolute-path.js"(exports, module2) {
12936
12936
  "use strict";
12937
12937
  var { isAbsolute, parse: parse3 } = require("path").win32;
12938
12938
  module2.exports = (path18) => {
@@ -12949,9 +12949,9 @@ var require_strip_absolute_path = __commonJS({
12949
12949
  }
12950
12950
  });
12951
12951
 
12952
- // ../../../../node_modules/.pnpm/tar@6.2.0/node_modules/tar/lib/mode-fix.js
12952
+ // ../../../../node_modules/.pnpm/tar@6.1.13/node_modules/tar/lib/mode-fix.js
12953
12953
  var require_mode_fix = __commonJS({
12954
- "../../../../node_modules/.pnpm/tar@6.2.0/node_modules/tar/lib/mode-fix.js"(exports, module2) {
12954
+ "../../../../node_modules/.pnpm/tar@6.1.13/node_modules/tar/lib/mode-fix.js"(exports, module2) {
12955
12955
  "use strict";
12956
12956
  module2.exports = (mode, isDir, portable) => {
12957
12957
  mode &= 4095;
@@ -12974,11 +12974,11 @@ var require_mode_fix = __commonJS({
12974
12974
  }
12975
12975
  });
12976
12976
 
12977
- // ../../../../node_modules/.pnpm/tar@6.2.0/node_modules/tar/lib/write-entry.js
12977
+ // ../../../../node_modules/.pnpm/tar@6.1.13/node_modules/tar/lib/write-entry.js
12978
12978
  var require_write_entry = __commonJS({
12979
- "../../../../node_modules/.pnpm/tar@6.2.0/node_modules/tar/lib/write-entry.js"(exports, module2) {
12979
+ "../../../../node_modules/.pnpm/tar@6.1.13/node_modules/tar/lib/write-entry.js"(exports, module2) {
12980
12980
  "use strict";
12981
- var { Minipass } = require_minipass();
12981
+ var MiniPass = require_minipass();
12982
12982
  var Pax = require_pax();
12983
12983
  var Header = require_header();
12984
12984
  var fs11 = require("fs");
@@ -13016,7 +13016,7 @@ var require_write_entry = __commonJS({
13016
13016
  var winchars = require_winchars();
13017
13017
  var stripAbsolutePath = require_strip_absolute_path();
13018
13018
  var modeFix = require_mode_fix();
13019
- var WriteEntry = warner(class WriteEntry extends Minipass {
13019
+ var WriteEntry = warner(class WriteEntry extends MiniPass {
13020
13020
  constructor(p, opt) {
13021
13021
  opt = opt || {};
13022
13022
  super(opt);
@@ -13332,7 +13332,7 @@ var require_write_entry = __commonJS({
13332
13332
  cb();
13333
13333
  }
13334
13334
  };
13335
- var WriteEntryTar = warner(class WriteEntryTar extends Minipass {
13335
+ var WriteEntryTar = warner(class WriteEntryTar extends MiniPass {
13336
13336
  constructor(readEntry, opt) {
13337
13337
  opt = opt || {};
13338
13338
  super(opt);
@@ -13822,9 +13822,9 @@ var require_yallist = __commonJS({
13822
13822
  }
13823
13823
  });
13824
13824
 
13825
- // ../../../../node_modules/.pnpm/tar@6.2.0/node_modules/tar/lib/pack.js
13825
+ // ../../../../node_modules/.pnpm/tar@6.1.13/node_modules/tar/lib/pack.js
13826
13826
  var require_pack = __commonJS({
13827
- "../../../../node_modules/.pnpm/tar@6.2.0/node_modules/tar/lib/pack.js"(exports, module2) {
13827
+ "../../../../node_modules/.pnpm/tar@6.1.13/node_modules/tar/lib/pack.js"(exports, module2) {
13828
13828
  "use strict";
13829
13829
  var PackJob = class {
13830
13830
  constructor(path19, absolute) {
@@ -13838,7 +13838,7 @@ var require_pack = __commonJS({
13838
13838
  this.piped = false;
13839
13839
  }
13840
13840
  };
13841
- var { Minipass } = require_minipass();
13841
+ var MiniPass = require_minipass();
13842
13842
  var zlib = require_minizlib();
13843
13843
  var ReadEntry = require_read_entry();
13844
13844
  var WriteEntry = require_write_entry();
@@ -13870,7 +13870,7 @@ var require_pack = __commonJS({
13870
13870
  var path18 = require("path");
13871
13871
  var warner = require_warn_mixin();
13872
13872
  var normPath = require_normalize_windows_path();
13873
- var Pack = warner(class Pack extends Minipass {
13873
+ var Pack = warner(class Pack extends MiniPass {
13874
13874
  constructor(opt) {
13875
13875
  super(opt);
13876
13876
  opt = opt || /* @__PURE__ */ Object.create(null);
@@ -13891,25 +13891,14 @@ var require_pack = __commonJS({
13891
13891
  }
13892
13892
  this.portable = !!opt.portable;
13893
13893
  this.zip = null;
13894
- if (opt.gzip || opt.brotli) {
13895
- if (opt.gzip && opt.brotli) {
13896
- throw new TypeError("gzip and brotli are mutually exclusive");
13894
+ if (opt.gzip) {
13895
+ if (typeof opt.gzip !== "object") {
13896
+ opt.gzip = {};
13897
13897
  }
13898
- if (opt.gzip) {
13899
- if (typeof opt.gzip !== "object") {
13900
- opt.gzip = {};
13901
- }
13902
- if (this.portable) {
13903
- opt.gzip.portable = true;
13904
- }
13905
- this.zip = new zlib.Gzip(opt.gzip);
13906
- }
13907
- if (opt.brotli) {
13908
- if (typeof opt.brotli !== "object") {
13909
- opt.brotli = {};
13910
- }
13911
- this.zip = new zlib.BrotliCompress(opt.brotli);
13898
+ if (this.portable) {
13899
+ opt.gzip.portable = true;
13912
13900
  }
13901
+ this.zip = new zlib.Gzip(opt.gzip);
13913
13902
  this.zip.on("data", (chunk) => super.write(chunk));
13914
13903
  this.zip.on("end", (_) => super.end());
13915
13904
  this.zip.on("drain", (_) => this[ONDRAIN]());
@@ -14566,9 +14555,9 @@ var require_fs_minipass = __commonJS({
14566
14555
  }
14567
14556
  });
14568
14557
 
14569
- // ../../../../node_modules/.pnpm/tar@6.2.0/node_modules/tar/lib/parse.js
14558
+ // ../../../../node_modules/.pnpm/tar@6.1.13/node_modules/tar/lib/parse.js
14570
14559
  var require_parse2 = __commonJS({
14571
- "../../../../node_modules/.pnpm/tar@6.2.0/node_modules/tar/lib/parse.js"(exports, module2) {
14560
+ "../../../../node_modules/.pnpm/tar@6.1.13/node_modules/tar/lib/parse.js"(exports, module2) {
14572
14561
  "use strict";
14573
14562
  var warner = require_warn_mixin();
14574
14563
  var Header = require_header();
@@ -14634,8 +14623,6 @@ var require_parse2 = __commonJS({
14634
14623
  this.strict = !!opt.strict;
14635
14624
  this.maxMetaEntrySize = opt.maxMetaEntrySize || maxMetaEntrySize;
14636
14625
  this.filter = typeof opt.filter === "function" ? opt.filter : noop;
14637
- const isTBR = opt.file && (opt.file.endsWith(".tar.br") || opt.file.endsWith(".tbr"));
14638
- this.brotli = !opt.gzip && opt.brotli !== void 0 ? opt.brotli : isTBR ? void 0 : false;
14639
14626
  this.writable = true;
14640
14627
  this.readable = false;
14641
14628
  this[QUEUE] = new Yallist();
@@ -14837,8 +14824,7 @@ var require_parse2 = __commonJS({
14837
14824
  if (this[ABORTED]) {
14838
14825
  return;
14839
14826
  }
14840
- const needSniff = this[UNZIP] === null || this.brotli === void 0 && this[UNZIP] === false;
14841
- if (needSniff && chunk) {
14827
+ if (this[UNZIP] === null && chunk) {
14842
14828
  if (this[BUFFER]) {
14843
14829
  chunk = Buffer.concat([this[BUFFER], chunk]);
14844
14830
  this[BUFFER] = null;
@@ -14852,28 +14838,10 @@ var require_parse2 = __commonJS({
14852
14838
  this[UNZIP] = false;
14853
14839
  }
14854
14840
  }
14855
- const maybeBrotli = this.brotli === void 0;
14856
- if (this[UNZIP] === false && maybeBrotli) {
14857
- if (chunk.length < 512) {
14858
- if (this[ENDED]) {
14859
- this.brotli = true;
14860
- } else {
14861
- this[BUFFER] = chunk;
14862
- return true;
14863
- }
14864
- } else {
14865
- try {
14866
- new Header(chunk.slice(0, 512));
14867
- this.brotli = false;
14868
- } catch (_) {
14869
- this.brotli = true;
14870
- }
14871
- }
14872
- }
14873
- if (this[UNZIP] === null || this[UNZIP] === false && this.brotli) {
14841
+ if (this[UNZIP] === null) {
14874
14842
  const ended = this[ENDED];
14875
14843
  this[ENDED] = false;
14876
- this[UNZIP] = this[UNZIP] === null ? new zlib.Unzip() : new zlib.BrotliDecompress();
14844
+ this[UNZIP] = new zlib.Unzip();
14877
14845
  this[UNZIP].on("data", (chunk2) => this[CONSUMECHUNK](chunk2));
14878
14846
  this[UNZIP].on("error", (er) => this.abort(er));
14879
14847
  this[UNZIP].on("end", (_) => {
@@ -14980,8 +14948,6 @@ var require_parse2 = __commonJS({
14980
14948
  this[UNZIP].end(chunk);
14981
14949
  } else {
14982
14950
  this[ENDED] = true;
14983
- if (this.brotli === void 0)
14984
- chunk = chunk || Buffer.alloc(0);
14985
14951
  this.write(chunk);
14986
14952
  }
14987
14953
  }
@@ -14990,9 +14956,9 @@ var require_parse2 = __commonJS({
14990
14956
  }
14991
14957
  });
14992
14958
 
14993
- // ../../../../node_modules/.pnpm/tar@6.2.0/node_modules/tar/lib/list.js
14959
+ // ../../../../node_modules/.pnpm/tar@6.1.13/node_modules/tar/lib/list.js
14994
14960
  var require_list = __commonJS({
14995
- "../../../../node_modules/.pnpm/tar@6.2.0/node_modules/tar/lib/list.js"(exports, module2) {
14961
+ "../../../../node_modules/.pnpm/tar@6.1.13/node_modules/tar/lib/list.js"(exports, module2) {
14996
14962
  "use strict";
14997
14963
  var hlo = require_high_level_opt();
14998
14964
  var Parser2 = require_parse2();
@@ -15104,9 +15070,9 @@ var require_list = __commonJS({
15104
15070
  }
15105
15071
  });
15106
15072
 
15107
- // ../../../../node_modules/.pnpm/tar@6.2.0/node_modules/tar/lib/create.js
15073
+ // ../../../../node_modules/.pnpm/tar@6.1.13/node_modules/tar/lib/create.js
15108
15074
  var require_create = __commonJS({
15109
- "../../../../node_modules/.pnpm/tar@6.2.0/node_modules/tar/lib/create.js"(exports, module2) {
15075
+ "../../../../node_modules/.pnpm/tar@6.1.13/node_modules/tar/lib/create.js"(exports, module2) {
15110
15076
  "use strict";
15111
15077
  var hlo = require_high_level_opt();
15112
15078
  var Pack = require_pack();
@@ -15198,9 +15164,9 @@ var require_create = __commonJS({
15198
15164
  }
15199
15165
  });
15200
15166
 
15201
- // ../../../../node_modules/.pnpm/tar@6.2.0/node_modules/tar/lib/replace.js
15167
+ // ../../../../node_modules/.pnpm/tar@6.1.13/node_modules/tar/lib/replace.js
15202
15168
  var require_replace = __commonJS({
15203
- "../../../../node_modules/.pnpm/tar@6.2.0/node_modules/tar/lib/replace.js"(exports, module2) {
15169
+ "../../../../node_modules/.pnpm/tar@6.1.13/node_modules/tar/lib/replace.js"(exports, module2) {
15204
15170
  "use strict";
15205
15171
  var hlo = require_high_level_opt();
15206
15172
  var Pack = require_pack();
@@ -15214,7 +15180,7 @@ var require_replace = __commonJS({
15214
15180
  if (!opt.file) {
15215
15181
  throw new TypeError("file is required");
15216
15182
  }
15217
- if (opt.gzip || opt.brotli || opt.file.endsWith(".br") || opt.file.endsWith(".tbr")) {
15183
+ if (opt.gzip) {
15218
15184
  throw new TypeError("cannot append to compressed archives");
15219
15185
  }
15220
15186
  if (!files || !Array.isArray(files) || !files.length) {
@@ -15414,9 +15380,9 @@ var require_replace = __commonJS({
15414
15380
  }
15415
15381
  });
15416
15382
 
15417
- // ../../../../node_modules/.pnpm/tar@6.2.0/node_modules/tar/lib/update.js
15383
+ // ../../../../node_modules/.pnpm/tar@6.1.13/node_modules/tar/lib/update.js
15418
15384
  var require_update = __commonJS({
15419
- "../../../../node_modules/.pnpm/tar@6.2.0/node_modules/tar/lib/update.js"(exports, module2) {
15385
+ "../../../../node_modules/.pnpm/tar@6.1.13/node_modules/tar/lib/update.js"(exports, module2) {
15420
15386
  "use strict";
15421
15387
  var hlo = require_high_level_opt();
15422
15388
  var r = require_replace();
@@ -15425,7 +15391,7 @@ var require_update = __commonJS({
15425
15391
  if (!opt.file) {
15426
15392
  throw new TypeError("file is required");
15427
15393
  }
15428
- if (opt.gzip || opt.brotli || opt.file.endsWith(".br") || opt.file.endsWith(".tbr")) {
15394
+ if (opt.gzip) {
15429
15395
  throw new TypeError("cannot append to compressed archives");
15430
15396
  }
15431
15397
  if (!files || !Array.isArray(files) || !files.length) {
@@ -15808,9 +15774,9 @@ var require_chownr = __commonJS({
15808
15774
  }
15809
15775
  });
15810
15776
 
15811
- // ../../../../node_modules/.pnpm/tar@6.2.0/node_modules/tar/lib/mkdir.js
15777
+ // ../../../../node_modules/.pnpm/tar@6.1.13/node_modules/tar/lib/mkdir.js
15812
15778
  var require_mkdir = __commonJS({
15813
- "../../../../node_modules/.pnpm/tar@6.2.0/node_modules/tar/lib/mkdir.js"(exports, module2) {
15779
+ "../../../../node_modules/.pnpm/tar@6.1.13/node_modules/tar/lib/mkdir.js"(exports, module2) {
15814
15780
  "use strict";
15815
15781
  var mkdirp = require_mkdirp();
15816
15782
  var fs11 = require("fs");
@@ -16000,24 +15966,24 @@ var require_mkdir = __commonJS({
16000
15966
  }
16001
15967
  });
16002
15968
 
16003
- // ../../../../node_modules/.pnpm/tar@6.2.0/node_modules/tar/lib/normalize-unicode.js
15969
+ // ../../../../node_modules/.pnpm/tar@6.1.13/node_modules/tar/lib/normalize-unicode.js
16004
15970
  var require_normalize_unicode = __commonJS({
16005
- "../../../../node_modules/.pnpm/tar@6.2.0/node_modules/tar/lib/normalize-unicode.js"(exports, module2) {
15971
+ "../../../../node_modules/.pnpm/tar@6.1.13/node_modules/tar/lib/normalize-unicode.js"(exports, module2) {
16006
15972
  "use strict";
16007
15973
  var normalizeCache = /* @__PURE__ */ Object.create(null);
16008
15974
  var { hasOwnProperty: hasOwnProperty6 } = Object.prototype;
16009
15975
  module2.exports = (s) => {
16010
15976
  if (!hasOwnProperty6.call(normalizeCache, s)) {
16011
- normalizeCache[s] = s.normalize("NFD");
15977
+ normalizeCache[s] = s.normalize("NFKD");
16012
15978
  }
16013
15979
  return normalizeCache[s];
16014
15980
  };
16015
15981
  }
16016
15982
  });
16017
15983
 
16018
- // ../../../../node_modules/.pnpm/tar@6.2.0/node_modules/tar/lib/path-reservations.js
15984
+ // ../../../../node_modules/.pnpm/tar@6.1.13/node_modules/tar/lib/path-reservations.js
16019
15985
  var require_path_reservations = __commonJS({
16020
- "../../../../node_modules/.pnpm/tar@6.2.0/node_modules/tar/lib/path-reservations.js"(exports, module2) {
15986
+ "../../../../node_modules/.pnpm/tar@6.1.13/node_modules/tar/lib/path-reservations.js"(exports, module2) {
16021
15987
  "use strict";
16022
15988
  var assert = require("assert");
16023
15989
  var normalize = require_normalize_unicode();
@@ -16099,7 +16065,7 @@ var require_path_reservations = __commonJS({
16099
16065
  };
16100
16066
  const reserve = (paths, fn) => {
16101
16067
  paths = isWindows ? ["win32 parallelization disabled"] : paths.map((p) => {
16102
- return stripSlashes(join(normalize(p))).toLowerCase();
16068
+ return normalize(stripSlashes(join(p))).toLowerCase();
16103
16069
  });
16104
16070
  const dirs = new Set(
16105
16071
  paths.map((path18) => getDirs(path18)).reduce((a, b) => a.concat(b))
@@ -16130,9 +16096,9 @@ var require_path_reservations = __commonJS({
16130
16096
  }
16131
16097
  });
16132
16098
 
16133
- // ../../../../node_modules/.pnpm/tar@6.2.0/node_modules/tar/lib/get-write-flag.js
16099
+ // ../../../../node_modules/.pnpm/tar@6.1.13/node_modules/tar/lib/get-write-flag.js
16134
16100
  var require_get_write_flag = __commonJS({
16135
- "../../../../node_modules/.pnpm/tar@6.2.0/node_modules/tar/lib/get-write-flag.js"(exports, module2) {
16101
+ "../../../../node_modules/.pnpm/tar@6.1.13/node_modules/tar/lib/get-write-flag.js"(exports, module2) {
16136
16102
  "use strict";
16137
16103
  var platform = process.env.__FAKE_PLATFORM__ || process.platform;
16138
16104
  var isWindows = platform === "win32";
@@ -16145,9 +16111,9 @@ var require_get_write_flag = __commonJS({
16145
16111
  }
16146
16112
  });
16147
16113
 
16148
- // ../../../../node_modules/.pnpm/tar@6.2.0/node_modules/tar/lib/unpack.js
16114
+ // ../../../../node_modules/.pnpm/tar@6.1.13/node_modules/tar/lib/unpack.js
16149
16115
  var require_unpack = __commonJS({
16150
- "../../../../node_modules/.pnpm/tar@6.2.0/node_modules/tar/lib/unpack.js"(exports, module2) {
16116
+ "../../../../node_modules/.pnpm/tar@6.1.13/node_modules/tar/lib/unpack.js"(exports, module2) {
16151
16117
  "use strict";
16152
16118
  var assert = require("assert");
16153
16119
  var Parser2 = require_parse2();
@@ -16211,7 +16177,7 @@ var require_unpack = __commonJS({
16211
16177
  fs11.unlinkSync(name);
16212
16178
  };
16213
16179
  var uint32 = (a, b, c) => a === a >>> 0 ? a : b === b >>> 0 ? b : c;
16214
- var cacheKeyNormalize = (path19) => stripSlash(normPath(normalize(path19))).toLowerCase();
16180
+ var cacheKeyNormalize = (path19) => normalize(stripSlash(normPath(path19))).toLowerCase();
16215
16181
  var pruneCache = (cache, abs) => {
16216
16182
  abs = cacheKeyNormalize(abs);
16217
16183
  for (const path19 of cache.keys()) {
@@ -16827,9 +16793,9 @@ var require_unpack = __commonJS({
16827
16793
  }
16828
16794
  });
16829
16795
 
16830
- // ../../../../node_modules/.pnpm/tar@6.2.0/node_modules/tar/lib/extract.js
16796
+ // ../../../../node_modules/.pnpm/tar@6.1.13/node_modules/tar/lib/extract.js
16831
16797
  var require_extract = __commonJS({
16832
- "../../../../node_modules/.pnpm/tar@6.2.0/node_modules/tar/lib/extract.js"(exports, module2) {
16798
+ "../../../../node_modules/.pnpm/tar@6.1.13/node_modules/tar/lib/extract.js"(exports, module2) {
16833
16799
  "use strict";
16834
16800
  var hlo = require_high_level_opt();
16835
16801
  var Unpack = require_unpack();
@@ -16912,9 +16878,9 @@ var require_extract = __commonJS({
16912
16878
  }
16913
16879
  });
16914
16880
 
16915
- // ../../../../node_modules/.pnpm/tar@6.2.0/node_modules/tar/index.js
16881
+ // ../../../../node_modules/.pnpm/tar@6.1.13/node_modules/tar/index.js
16916
16882
  var require_tar = __commonJS({
16917
- "../../../../node_modules/.pnpm/tar@6.2.0/node_modules/tar/index.js"(exports) {
16883
+ "../../../../node_modules/.pnpm/tar@6.1.13/node_modules/tar/index.js"(exports) {
16918
16884
  "use strict";
16919
16885
  exports.c = exports.create = require_create();
16920
16886
  exports.r = exports.replace = require_replace();
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "0.0.0-nightly-20231024172117",
18
+ "version": "0.0.0-nightly-20231025081734",
19
19
  "jsnext:source": "./src/index.ts",
20
20
  "main": "./dist/index.js",
21
21
  "files": [
@@ -23,7 +23,7 @@
23
23
  "/dist/index.js"
24
24
  ],
25
25
  "dependencies": {
26
- "@modern-js/utils": "0.0.0-nightly-20231024172117"
26
+ "@modern-js/utils": "0.0.0-nightly-20231025081734"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@modern-js/codesmith": "2.3.0",
@@ -32,15 +32,15 @@
32
32
  "@types/node": "^14",
33
33
  "jest": "^29",
34
34
  "typescript": "^5",
35
- "@modern-js/generator-utils": "0.0.0-nightly-20231024172117",
36
- "@modern-js/generator-plugin": "0.0.0-nightly-20231024172117",
37
- "@modern-js/module-generator": "0.0.0-nightly-20231024172117",
38
- "@modern-js/monorepo-generator": "0.0.0-nightly-20231024172117",
39
- "@modern-js/mwa-generator": "0.0.0-nightly-20231024172117",
40
- "@modern-js/generator-common": "0.0.0-nightly-20231024172117",
41
- "@modern-js/base-generator": "0.0.0-nightly-20231024172117",
42
- "@scripts/build": "0.0.0-nightly-20231024172117",
43
- "@scripts/jest-config": "0.0.0-nightly-20231024172117"
35
+ "@modern-js/module-generator": "0.0.0-nightly-20231025081734",
36
+ "@modern-js/generator-plugin": "0.0.0-nightly-20231025081734",
37
+ "@modern-js/generator-utils": "0.0.0-nightly-20231025081734",
38
+ "@modern-js/monorepo-generator": "0.0.0-nightly-20231025081734",
39
+ "@modern-js/mwa-generator": "0.0.0-nightly-20231025081734",
40
+ "@modern-js/base-generator": "0.0.0-nightly-20231025081734",
41
+ "@modern-js/generator-common": "0.0.0-nightly-20231025081734",
42
+ "@scripts/jest-config": "0.0.0-nightly-20231025081734",
43
+ "@scripts/build": "0.0.0-nightly-20231025081734"
44
44
  },
45
45
  "sideEffects": false,
46
46
  "publishConfig": {