@rsbuild/core 1.6.6 → 1.6.7-canary-57e2a56d-20251120152633

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.
@@ -217,7 +217,7 @@
217
217
  };
218
218
  exports.toMatcher = toMatcher;
219
219
  },
220
- 619: (__unused_webpack_module, exports) => {
220
+ 926: (__unused_webpack_module, exports) => {
221
221
  "use strict";
222
222
  Object.defineProperty(exports, "__esModule", { value: true });
223
223
  exports.constants = exports.SEP = void 0;
@@ -272,11 +272,11 @@
272
272
  COPYFILE_FICLONE_FORCE: 4,
273
273
  };
274
274
  },
275
- 832: (__unused_webpack_module, exports, __nccwpck_require__) => {
275
+ 265: (__unused_webpack_module, exports, __nccwpck_require__) => {
276
276
  "use strict";
277
277
  Object.defineProperty(exports, "__esModule", { value: true });
278
278
  exports.File = void 0;
279
- const constants_1 = __nccwpck_require__(619);
279
+ const constants_1 = __nccwpck_require__(926);
280
280
  const { O_APPEND } = constants_1.constants;
281
281
  class File {
282
282
  constructor(link, node, flags, fd) {
@@ -329,11 +329,11 @@
329
329
  }
330
330
  exports.File = File;
331
331
  },
332
- 90: (__unused_webpack_module, exports, __nccwpck_require__) => {
332
+ 780: (__unused_webpack_module, exports, __nccwpck_require__) => {
333
333
  "use strict";
334
334
  Object.defineProperty(exports, "__esModule", { value: true });
335
335
  exports.Link = void 0;
336
- const constants_1 = __nccwpck_require__(619);
336
+ const constants_1 = __nccwpck_require__(926);
337
337
  const fanout_1 = __nccwpck_require__(697);
338
338
  const { S_IFREG } = constants_1.constants;
339
339
  class Link {
@@ -429,14 +429,14 @@
429
429
  }
430
430
  exports.Link = Link;
431
431
  },
432
- 446: (__unused_webpack_module, exports, __nccwpck_require__) => {
432
+ 995: (__unused_webpack_module, exports, __nccwpck_require__) => {
433
433
  "use strict";
434
434
  Object.defineProperty(exports, "__esModule", { value: true });
435
435
  exports.Node = void 0;
436
436
  const fanout_1 = __nccwpck_require__(697);
437
- const process_1 = __nccwpck_require__(519);
438
- const buffer_1 = __nccwpck_require__(790);
439
- const constants_1 = __nccwpck_require__(619);
437
+ const process_1 = __nccwpck_require__(838);
438
+ const buffer_1 = __nccwpck_require__(319);
439
+ const constants_1 = __nccwpck_require__(926);
440
440
  const { S_IFMT, S_IFDIR, S_IFREG, S_IFLNK, S_IFCHR } =
441
441
  constants_1.constants;
442
442
  const getuid = () => process_1.default.getuid?.() ?? 0;
@@ -692,21 +692,21 @@
692
692
  }
693
693
  exports.Node = Node;
694
694
  },
695
- 358: (__unused_webpack_module, exports, __nccwpck_require__) => {
695
+ 739: (__unused_webpack_module, exports, __nccwpck_require__) => {
696
696
  "use strict";
697
697
  Object.defineProperty(exports, "__esModule", { value: true });
698
698
  exports.Superblock = void 0;
699
- const path_1 = __nccwpck_require__(627);
700
- const Node_1 = __nccwpck_require__(446);
701
- const Link_1 = __nccwpck_require__(90);
702
- const File_1 = __nccwpck_require__(832);
703
- const buffer_1 = __nccwpck_require__(790);
704
- const process_1 = __nccwpck_require__(519);
705
- const constants_1 = __nccwpck_require__(619);
706
- const constants_2 = __nccwpck_require__(498);
707
- const util_1 = __nccwpck_require__(71);
708
- const util_2 = __nccwpck_require__(18);
709
- const json_1 = __nccwpck_require__(72);
699
+ const path_1 = __nccwpck_require__(64);
700
+ const Node_1 = __nccwpck_require__(995);
701
+ const Link_1 = __nccwpck_require__(780);
702
+ const File_1 = __nccwpck_require__(265);
703
+ const buffer_1 = __nccwpck_require__(319);
704
+ const process_1 = __nccwpck_require__(838);
705
+ const constants_1 = __nccwpck_require__(926);
706
+ const constants_2 = __nccwpck_require__(9);
707
+ const util_1 = __nccwpck_require__(494);
708
+ const util_2 = __nccwpck_require__(531);
709
+ const json_1 = __nccwpck_require__(437);
710
710
  const pathSep = path_1.posix ? path_1.posix.sep : path_1.sep;
711
711
  const pathRelative = path_1.posix
712
712
  ? path_1.posix.relative
@@ -1368,35 +1368,35 @@
1368
1368
  exports.Superblock = Superblock;
1369
1369
  Superblock.fd = 2147483647;
1370
1370
  },
1371
- 400: (__unused_webpack_module, exports, __nccwpck_require__) => {
1371
+ 11: (__unused_webpack_module, exports, __nccwpck_require__) => {
1372
1372
  "use strict";
1373
1373
  Object.defineProperty(exports, "__esModule", { value: true });
1374
1374
  exports.Superblock = exports.File = exports.Link = exports.Node = void 0;
1375
1375
  const tslib_1 = __nccwpck_require__(824);
1376
- tslib_1.__exportStar(__nccwpck_require__(133), exports);
1377
- tslib_1.__exportStar(__nccwpck_require__(72), exports);
1378
- var Node_1 = __nccwpck_require__(446);
1376
+ tslib_1.__exportStar(__nccwpck_require__(890), exports);
1377
+ tslib_1.__exportStar(__nccwpck_require__(437), exports);
1378
+ var Node_1 = __nccwpck_require__(995);
1379
1379
  Object.defineProperty(exports, "Node", {
1380
1380
  enumerable: true,
1381
1381
  get: function () {
1382
1382
  return Node_1.Node;
1383
1383
  },
1384
1384
  });
1385
- var Link_1 = __nccwpck_require__(90);
1385
+ var Link_1 = __nccwpck_require__(780);
1386
1386
  Object.defineProperty(exports, "Link", {
1387
1387
  enumerable: true,
1388
1388
  get: function () {
1389
1389
  return Link_1.Link;
1390
1390
  },
1391
1391
  });
1392
- var File_1 = __nccwpck_require__(832);
1392
+ var File_1 = __nccwpck_require__(265);
1393
1393
  Object.defineProperty(exports, "File", {
1394
1394
  enumerable: true,
1395
1395
  get: function () {
1396
1396
  return File_1.File;
1397
1397
  },
1398
1398
  });
1399
- var Superblock_1 = __nccwpck_require__(358);
1399
+ var Superblock_1 = __nccwpck_require__(739);
1400
1400
  Object.defineProperty(exports, "Superblock", {
1401
1401
  enumerable: true,
1402
1402
  get: function () {
@@ -1404,12 +1404,12 @@
1404
1404
  },
1405
1405
  });
1406
1406
  },
1407
- 72: (__unused_webpack_module, exports, __nccwpck_require__) => {
1407
+ 437: (__unused_webpack_module, exports, __nccwpck_require__) => {
1408
1408
  "use strict";
1409
1409
  Object.defineProperty(exports, "__esModule", { value: true });
1410
1410
  exports.flattenJSON = void 0;
1411
- const buffer_1 = __nccwpck_require__(790);
1412
- const path_1 = __nccwpck_require__(627);
1411
+ const buffer_1 = __nccwpck_require__(319);
1412
+ const path_1 = __nccwpck_require__(64);
1413
1413
  const pathJoin = path_1.posix ? path_1.posix.join : path_1.join;
1414
1414
  const flattenJSON = (nestedJSON) => {
1415
1415
  const flatJSON = {};
@@ -1439,11 +1439,11 @@
1439
1439
  };
1440
1440
  exports.flattenJSON = flattenJSON;
1441
1441
  },
1442
- 133: (__unused_webpack_module, exports) => {
1442
+ 890: (__unused_webpack_module, exports) => {
1443
1443
  "use strict";
1444
1444
  Object.defineProperty(exports, "__esModule", { value: true });
1445
1445
  },
1446
- 18: (__unused_webpack_module, exports, __nccwpck_require__) => {
1446
+ 531: (__unused_webpack_module, exports, __nccwpck_require__) => {
1447
1447
  "use strict";
1448
1448
  Object.defineProperty(exports, "__esModule", { value: true });
1449
1449
  exports.filenameToSteps =
@@ -1454,11 +1454,11 @@
1454
1454
  exports.isFd = isFd;
1455
1455
  exports.validateFd = validateFd;
1456
1456
  exports.dataToBuffer = dataToBuffer;
1457
- const path_1 = __nccwpck_require__(627);
1458
- const buffer_1 = __nccwpck_require__(790);
1459
- const process_1 = __nccwpck_require__(519);
1460
- const encoding_1 = __nccwpck_require__(949);
1461
- const constants_1 = __nccwpck_require__(498);
1457
+ const path_1 = __nccwpck_require__(64);
1458
+ const buffer_1 = __nccwpck_require__(319);
1459
+ const process_1 = __nccwpck_require__(838);
1460
+ const encoding_1 = __nccwpck_require__(662);
1461
+ const constants_1 = __nccwpck_require__(9);
1462
1462
  exports.isWin = process_1.default.platform === "win32";
1463
1463
  const resolveCrossPlatform = path_1.resolve;
1464
1464
  const pathSep = path_1.posix ? path_1.posix.sep : path_1.sep;
@@ -1516,14 +1516,14 @@
1516
1516
  else return (0, buffer_1.bufferFrom)(String(data), encoding);
1517
1517
  }
1518
1518
  },
1519
- 949: (__unused_webpack_module, exports, __nccwpck_require__) => {
1519
+ 662: (__unused_webpack_module, exports, __nccwpck_require__) => {
1520
1520
  "use strict";
1521
1521
  Object.defineProperty(exports, "__esModule", { value: true });
1522
1522
  exports.ENCODING_UTF8 = void 0;
1523
1523
  exports.assertEncoding = assertEncoding;
1524
1524
  exports.strToEncoding = strToEncoding;
1525
- const buffer_1 = __nccwpck_require__(790);
1526
- const errors = __nccwpck_require__(691);
1525
+ const buffer_1 = __nccwpck_require__(319);
1526
+ const errors = __nccwpck_require__(674);
1527
1527
  exports.ENCODING_UTF8 = "utf8";
1528
1528
  function assertEncoding(encoding) {
1529
1529
  if (encoding && !buffer_1.Buffer.isEncoding(encoding))
@@ -1538,23 +1538,23 @@
1538
1538
  return new buffer_1.Buffer(str).toString(encoding);
1539
1539
  }
1540
1540
  },
1541
- 154: (module, exports, __nccwpck_require__) => {
1541
+ 435: (module, exports, __nccwpck_require__) => {
1542
1542
  "use strict";
1543
1543
  Object.defineProperty(exports, "__esModule", { value: true });
1544
1544
  exports.memfs = exports.fs = exports.vol = exports.Volume = void 0;
1545
1545
  exports.createFsFromVolume = createFsFromVolume;
1546
- const Stats_1 = __nccwpck_require__(540);
1547
- const Dirent_1 = __nccwpck_require__(791);
1548
- const volume_1 = __nccwpck_require__(769);
1546
+ const Stats_1 = __nccwpck_require__(399);
1547
+ const Dirent_1 = __nccwpck_require__(30);
1548
+ const volume_1 = __nccwpck_require__(448);
1549
1549
  Object.defineProperty(exports, "Volume", {
1550
1550
  enumerable: true,
1551
1551
  get: function () {
1552
1552
  return volume_1.Volume;
1553
1553
  },
1554
1554
  });
1555
- const constants_1 = __nccwpck_require__(619);
1556
- const fsSynchronousApiList_1 = __nccwpck_require__(237);
1557
- const fsCallbackApiList_1 = __nccwpck_require__(701);
1555
+ const constants_1 = __nccwpck_require__(926);
1556
+ const fsSynchronousApiList_1 = __nccwpck_require__(684);
1557
+ const fsCallbackApiList_1 = __nccwpck_require__(822);
1558
1558
  const { F_OK, R_OK, W_OK, X_OK } = constants_1.constants;
1559
1559
  exports.vol = new volume_1.Volume();
1560
1560
  function createFsFromVolume(vol) {
@@ -1604,7 +1604,7 @@
1604
1604
  module.exports = { ...module.exports, ...exports.fs };
1605
1605
  module.exports.semantic = true;
1606
1606
  },
1607
- 466: (__unused_webpack_module, exports) => {
1607
+ 985: (__unused_webpack_module, exports) => {
1608
1608
  "use strict";
1609
1609
  Object.defineProperty(exports, "__esModule", { value: true });
1610
1610
  exports.newNotAllowedError =
@@ -1661,13 +1661,13 @@
1661
1661
  new DOMException("Permission not granted.", "NotAllowedError");
1662
1662
  exports.newNotAllowedError = newNotAllowedError;
1663
1663
  },
1664
- 40: (__unused_webpack_module, exports, __nccwpck_require__) => {
1664
+ 87: (__unused_webpack_module, exports, __nccwpck_require__) => {
1665
1665
  "use strict";
1666
1666
  Object.defineProperty(exports, "__esModule", { value: true });
1667
1667
  exports.Dir = void 0;
1668
- const util_1 = __nccwpck_require__(71);
1669
- const Dirent_1 = __nccwpck_require__(791);
1670
- const errors = __nccwpck_require__(691);
1668
+ const util_1 = __nccwpck_require__(494);
1669
+ const Dirent_1 = __nccwpck_require__(30);
1670
+ const errors = __nccwpck_require__(674);
1671
1671
  class Dir {
1672
1672
  constructor(link, options) {
1673
1673
  this.link = link;
@@ -1819,12 +1819,12 @@
1819
1819
  }
1820
1820
  exports.Dir = Dir;
1821
1821
  },
1822
- 791: (__unused_webpack_module, exports, __nccwpck_require__) => {
1822
+ 30: (__unused_webpack_module, exports, __nccwpck_require__) => {
1823
1823
  "use strict";
1824
1824
  Object.defineProperty(exports, "__esModule", { value: true });
1825
1825
  exports.Dirent = void 0;
1826
- const constants_1 = __nccwpck_require__(619);
1827
- const encoding_1 = __nccwpck_require__(949);
1826
+ const constants_1 = __nccwpck_require__(926);
1827
+ const encoding_1 = __nccwpck_require__(662);
1828
1828
  const {
1829
1829
  S_IFMT,
1830
1830
  S_IFDIR,
@@ -1879,12 +1879,12 @@
1879
1879
  exports.Dirent = Dirent;
1880
1880
  exports["default"] = Dirent;
1881
1881
  },
1882
- 539: (__unused_webpack_module, exports, __nccwpck_require__) => {
1882
+ 482: (__unused_webpack_module, exports, __nccwpck_require__) => {
1883
1883
  "use strict";
1884
1884
  Object.defineProperty(exports, "__esModule", { value: true });
1885
1885
  exports.FileHandle = void 0;
1886
- const util_1 = __nccwpck_require__(71);
1887
- const events_1 = __nccwpck_require__(753);
1886
+ const util_1 = __nccwpck_require__(494);
1887
+ const events_1 = __nccwpck_require__(726);
1888
1888
  class FileHandle extends events_1.EventEmitter {
1889
1889
  constructor(fs, fd) {
1890
1890
  super();
@@ -2106,12 +2106,12 @@
2106
2106
  }
2107
2107
  exports.FileHandle = FileHandle;
2108
2108
  },
2109
- 614: (__unused_webpack_module, exports, __nccwpck_require__) => {
2109
+ 215: (__unused_webpack_module, exports, __nccwpck_require__) => {
2110
2110
  "use strict";
2111
2111
  Object.defineProperty(exports, "__esModule", { value: true });
2112
2112
  exports.FsPromises = void 0;
2113
- const util_1 = __nccwpck_require__(71);
2114
- const constants_1 = __nccwpck_require__(619);
2113
+ const util_1 = __nccwpck_require__(494);
2114
+ const constants_1 = __nccwpck_require__(926);
2115
2115
  class FSWatchAsyncIterator {
2116
2116
  constructor(fs, path, options = {}) {
2117
2117
  this.fs = fs;
@@ -2281,7 +2281,7 @@
2281
2281
  }
2282
2282
  exports.FsPromises = FsPromises;
2283
2283
  },
2284
- 338: (__unused_webpack_module, exports) => {
2284
+ 171: (__unused_webpack_module, exports) => {
2285
2285
  "use strict";
2286
2286
  Object.defineProperty(exports, "__esModule", { value: true });
2287
2287
  exports.StatFs = void 0;
@@ -2309,11 +2309,11 @@
2309
2309
  exports.StatFs = StatFs;
2310
2310
  exports["default"] = StatFs;
2311
2311
  },
2312
- 540: (__unused_webpack_module, exports, __nccwpck_require__) => {
2312
+ 399: (__unused_webpack_module, exports, __nccwpck_require__) => {
2313
2313
  "use strict";
2314
2314
  Object.defineProperty(exports, "__esModule", { value: true });
2315
2315
  exports.Stats = void 0;
2316
- const constants_1 = __nccwpck_require__(619);
2316
+ const constants_1 = __nccwpck_require__(926);
2317
2317
  const {
2318
2318
  S_IFMT,
2319
2319
  S_IFDIR,
@@ -2387,11 +2387,11 @@
2387
2387
  exports.Stats = Stats;
2388
2388
  exports["default"] = Stats;
2389
2389
  },
2390
- 498: (__unused_webpack_module, exports, __nccwpck_require__) => {
2390
+ 9: (__unused_webpack_module, exports, __nccwpck_require__) => {
2391
2391
  "use strict";
2392
2392
  Object.defineProperty(exports, "__esModule", { value: true });
2393
2393
  exports.FLAGS = exports.ERRSTR = void 0;
2394
- const constants_1 = __nccwpck_require__(619);
2394
+ const constants_1 = __nccwpck_require__(926);
2395
2395
  exports.ERRSTR = {
2396
2396
  PATH_STR: "path must be a string, Buffer, or Uint8Array",
2397
2397
  FD: "fd must be a file descriptor",
@@ -2440,13 +2440,13 @@
2440
2440
  FLAGS[(FLAGS["xa+"] = FLAGS["ax+"])] = "xa+";
2441
2441
  })(FLAGS || (exports.FLAGS = FLAGS = {}));
2442
2442
  },
2443
- 329: (__unused_webpack_module, exports, __nccwpck_require__) => {
2443
+ 428: (__unused_webpack_module, exports, __nccwpck_require__) => {
2444
2444
  "use strict";
2445
2445
  Object.defineProperty(exports, "__esModule", { value: true });
2446
2446
  exports.globSync = globSync;
2447
- const path_1 = __nccwpck_require__(627);
2447
+ const path_1 = __nccwpck_require__(64);
2448
2448
  const glob_to_regex_js_1 = __nccwpck_require__(8);
2449
- const util_1 = __nccwpck_require__(71);
2449
+ const util_1 = __nccwpck_require__(494);
2450
2450
  const pathJoin = path_1.posix.join;
2451
2451
  const pathRelative = path_1.posix.relative;
2452
2452
  const pathResolve = path_1.posix.resolve;
@@ -2532,7 +2532,7 @@
2532
2532
  return results;
2533
2533
  }
2534
2534
  },
2535
- 701: (__unused_webpack_module, exports) => {
2535
+ 822: (__unused_webpack_module, exports) => {
2536
2536
  "use strict";
2537
2537
  Object.defineProperty(exports, "__esModule", { value: true });
2538
2538
  exports.fsCallbackApiList = void 0;
@@ -2587,7 +2587,7 @@
2587
2587
  "writeFile",
2588
2588
  ];
2589
2589
  },
2590
- 237: (__unused_webpack_module, exports) => {
2590
+ 684: (__unused_webpack_module, exports) => {
2591
2591
  "use strict";
2592
2592
  Object.defineProperty(exports, "__esModule", { value: true });
2593
2593
  exports.fsSynchronousApiList = void 0;
@@ -2634,7 +2634,7 @@
2634
2634
  "writevSync",
2635
2635
  ];
2636
2636
  },
2637
- 509: (__unused_webpack_module, exports, __nccwpck_require__) => {
2637
+ 810: (__unused_webpack_module, exports, __nccwpck_require__) => {
2638
2638
  "use strict";
2639
2639
  Object.defineProperty(exports, "__esModule", { value: true });
2640
2640
  exports.getWriteFileOptions =
@@ -2662,9 +2662,9 @@
2662
2662
  exports.getOptions = getOptions;
2663
2663
  exports.optsGenerator = optsGenerator;
2664
2664
  exports.optsAndCbGenerator = optsAndCbGenerator;
2665
- const constants_1 = __nccwpck_require__(498);
2666
- const encoding_1 = __nccwpck_require__(949);
2667
- const util_1 = __nccwpck_require__(71);
2665
+ const constants_1 = __nccwpck_require__(9);
2666
+ const encoding_1 = __nccwpck_require__(662);
2667
+ const util_1 = __nccwpck_require__(494);
2668
2668
  const mkdirDefaults = { mode: 511, recursive: false };
2669
2669
  const getMkdirOptions = (options) => {
2670
2670
  if (typeof options === "number")
@@ -2777,7 +2777,7 @@
2777
2777
  };
2778
2778
  exports.getWriteFileOptions = optsGenerator(exports.writeFileDefaults);
2779
2779
  },
2780
- 71: (__unused_webpack_module, exports, __nccwpck_require__) => {
2780
+ 494: (__unused_webpack_module, exports, __nccwpck_require__) => {
2781
2781
  "use strict";
2782
2782
  Object.defineProperty(exports, "__esModule", { value: true });
2783
2783
  exports.getWriteSyncArgs =
@@ -2795,11 +2795,11 @@
2795
2795
  exports.streamToBuffer = streamToBuffer;
2796
2796
  exports.bufferToEncoding = bufferToEncoding;
2797
2797
  exports.isReadableStream = isReadableStream;
2798
- const constants_1 = __nccwpck_require__(498);
2799
- const errors = __nccwpck_require__(691);
2800
- const buffer_1 = __nccwpck_require__(790);
2801
- const queueMicrotask_1 = __nccwpck_require__(960);
2802
- const util_1 = __nccwpck_require__(18);
2798
+ const constants_1 = __nccwpck_require__(9);
2799
+ const errors = __nccwpck_require__(674);
2800
+ const buffer_1 = __nccwpck_require__(319);
2801
+ const queueMicrotask_1 = __nccwpck_require__(379);
2802
+ const util_1 = __nccwpck_require__(531);
2803
2803
  function promisify(fs, fn, getResult = (input) => input) {
2804
2804
  return (...args) =>
2805
2805
  new Promise((resolve, reject) => {
@@ -3056,35 +3056,35 @@
3056
3056
  );
3057
3057
  }
3058
3058
  },
3059
- 769: (__unused_webpack_module, exports, __nccwpck_require__) => {
3059
+ 448: (__unused_webpack_module, exports, __nccwpck_require__) => {
3060
3060
  "use strict";
3061
3061
  Object.defineProperty(exports, "__esModule", { value: true });
3062
3062
  exports.FSWatcher = exports.StatWatcher = exports.Volume = void 0;
3063
3063
  exports.pathToSteps = pathToSteps;
3064
3064
  exports.dataToStr = dataToStr;
3065
3065
  exports.toUnixTimestamp = toUnixTimestamp;
3066
- const path_1 = __nccwpck_require__(627);
3067
- const core_1 = __nccwpck_require__(400);
3068
- const Stats_1 = __nccwpck_require__(540);
3069
- const Dirent_1 = __nccwpck_require__(791);
3070
- const StatFs_1 = __nccwpck_require__(338);
3071
- const buffer_1 = __nccwpck_require__(790);
3072
- const queueMicrotask_1 = __nccwpck_require__(960);
3073
- const setTimeoutUnref_1 = __nccwpck_require__(759);
3074
- const stream_1 = __nccwpck_require__(635);
3075
- const constants_1 = __nccwpck_require__(619);
3076
- const events_1 = __nccwpck_require__(753);
3077
- const encoding_1 = __nccwpck_require__(949);
3078
- const FileHandle_1 = __nccwpck_require__(539);
3079
- const util_1 = __nccwpck_require__(308);
3080
- const FsPromises_1 = __nccwpck_require__(614);
3081
- const print_1 = __nccwpck_require__(6);
3082
- const constants_2 = __nccwpck_require__(498);
3083
- const errors = __nccwpck_require__(691);
3084
- const options_1 = __nccwpck_require__(509);
3085
- const util_2 = __nccwpck_require__(71);
3086
- const Dir_1 = __nccwpck_require__(40);
3087
- const util_3 = __nccwpck_require__(18);
3066
+ const path_1 = __nccwpck_require__(64);
3067
+ const core_1 = __nccwpck_require__(11);
3068
+ const Stats_1 = __nccwpck_require__(399);
3069
+ const Dirent_1 = __nccwpck_require__(30);
3070
+ const StatFs_1 = __nccwpck_require__(171);
3071
+ const buffer_1 = __nccwpck_require__(319);
3072
+ const queueMicrotask_1 = __nccwpck_require__(379);
3073
+ const setTimeoutUnref_1 = __nccwpck_require__(418);
3074
+ const stream_1 = __nccwpck_require__(787);
3075
+ const constants_1 = __nccwpck_require__(926);
3076
+ const events_1 = __nccwpck_require__(726);
3077
+ const encoding_1 = __nccwpck_require__(662);
3078
+ const FileHandle_1 = __nccwpck_require__(482);
3079
+ const util_1 = __nccwpck_require__(671);
3080
+ const FsPromises_1 = __nccwpck_require__(215);
3081
+ const print_1 = __nccwpck_require__(723);
3082
+ const constants_2 = __nccwpck_require__(9);
3083
+ const errors = __nccwpck_require__(674);
3084
+ const options_1 = __nccwpck_require__(810);
3085
+ const util_2 = __nccwpck_require__(494);
3086
+ const Dir_1 = __nccwpck_require__(87);
3087
+ const util_3 = __nccwpck_require__(531);
3088
3088
  const resolveCrossPlatform = path_1.resolve;
3089
3089
  const {
3090
3090
  O_SYMLINK,
@@ -3966,7 +3966,7 @@
3966
3966
  this.globSync = (pattern, options = {}) =>
3967
3967
  this._globSync(pattern, options);
3968
3968
  this._globSync = (pattern, options = {}) => {
3969
- const { globSync } = __nccwpck_require__(329);
3969
+ const { globSync } = __nccwpck_require__(428);
3970
3970
  return globSync(this, pattern, options);
3971
3971
  };
3972
3972
  this._opendir = (filename, options) => {
@@ -4775,21 +4775,35 @@
4775
4775
  }
4776
4776
  exports.FSWatcher = FSWatcher;
4777
4777
  },
4778
- 6: (__unused_webpack_module, exports, __nccwpck_require__) => {
4778
+ 723: (__unused_webpack_module, exports, __nccwpck_require__) => {
4779
4779
  "use strict";
4780
4780
  Object.defineProperty(exports, "__esModule", { value: true });
4781
4781
  exports.toTreeSync = void 0;
4782
4782
  const tree_dump_1 = __nccwpck_require__(587);
4783
- const util_1 = __nccwpck_require__(466);
4783
+ const util_1 = __nccwpck_require__(985);
4784
4784
  const toTreeSync = (fs, opts = {}) => {
4785
4785
  const separator = opts.separator || "/";
4786
4786
  let dir = opts.dir || separator;
4787
4787
  if (dir[dir.length - 1] !== separator) dir += separator;
4788
4788
  const tab = opts.tab || "";
4789
4789
  const depth = opts.depth ?? 10;
4790
+ const sort = opts.sort ?? true;
4790
4791
  let subtree = " (...)";
4791
4792
  if (depth > 0) {
4792
4793
  const list = fs.readdirSync(dir, { withFileTypes: true });
4794
+ if (sort) {
4795
+ list.sort((a, b) => {
4796
+ if (a.isDirectory() && b.isDirectory()) {
4797
+ return a.name.toString().localeCompare(b.name.toString());
4798
+ } else if (a.isDirectory()) {
4799
+ return -1;
4800
+ } else if (b.isDirectory()) {
4801
+ return 1;
4802
+ } else {
4803
+ return a.name.toString().localeCompare(b.name.toString());
4804
+ }
4805
+ });
4806
+ }
4793
4807
  subtree = (0, tree_dump_1.printTree)(
4794
4808
  tab,
4795
4809
  list.map((entry) => (tab) => {
@@ -4814,7 +4828,7 @@
4814
4828
  };
4815
4829
  exports.toTreeSync = toTreeSync;
4816
4830
  },
4817
- 519: (__unused_webpack_module, exports, __nccwpck_require__) => {
4831
+ 838: (__unused_webpack_module, exports, __nccwpck_require__) => {
4818
4832
  "use strict";
4819
4833
  Object.defineProperty(exports, "__esModule", { value: true });
4820
4834
  exports.createProcess = createProcess;
@@ -4840,7 +4854,7 @@
4840
4854
  }
4841
4855
  exports["default"] = createProcess();
4842
4856
  },
4843
- 960: (__unused_webpack_module, exports) => {
4857
+ 379: (__unused_webpack_module, exports) => {
4844
4858
  "use strict";
4845
4859
  Object.defineProperty(exports, "__esModule", { value: true });
4846
4860
  exports["default"] =
@@ -4851,7 +4865,7 @@
4851
4865
  .then(() => cb())
4852
4866
  .catch(() => {});
4853
4867
  },
4854
- 759: (__unused_webpack_module, exports) => {
4868
+ 418: (__unused_webpack_module, exports) => {
4855
4869
  "use strict";
4856
4870
  Object.defineProperty(exports, "__esModule", { value: true });
4857
4871
  function setTimeoutUnref(callback, time, args) {
@@ -4865,7 +4879,7 @@
4865
4879
  }
4866
4880
  exports["default"] = setTimeoutUnref;
4867
4881
  },
4868
- 770: (__unused_webpack_module, exports, __nccwpck_require__) => {
4882
+ 657: (__unused_webpack_module, exports, __nccwpck_require__) => {
4869
4883
  "use strict";
4870
4884
  Object.defineProperty(exports, "__esModule", { value: true });
4871
4885
  exports.Buffer = void 0;
@@ -4877,7 +4891,7 @@
4877
4891
  },
4878
4892
  });
4879
4893
  },
4880
- 753: (__unused_webpack_module, exports, __nccwpck_require__) => {
4894
+ 726: (__unused_webpack_module, exports, __nccwpck_require__) => {
4881
4895
  "use strict";
4882
4896
  Object.defineProperty(exports, "__esModule", { value: true });
4883
4897
  exports.EventEmitter = void 0;
@@ -4889,11 +4903,11 @@
4889
4903
  },
4890
4904
  });
4891
4905
  },
4892
- 790: (__unused_webpack_module, exports, __nccwpck_require__) => {
4906
+ 319: (__unused_webpack_module, exports, __nccwpck_require__) => {
4893
4907
  "use strict";
4894
4908
  Object.defineProperty(exports, "__esModule", { value: true });
4895
4909
  exports.bufferFrom = exports.bufferAllocUnsafe = exports.Buffer = void 0;
4896
- const buffer_1 = __nccwpck_require__(770);
4910
+ const buffer_1 = __nccwpck_require__(657);
4897
4911
  Object.defineProperty(exports, "Buffer", {
4898
4912
  enumerable: true,
4899
4913
  get: function () {
@@ -4909,7 +4923,7 @@
4909
4923
  const bufferFrom = buffer_1.Buffer.from || bufferV0P12Ponyfill;
4910
4924
  exports.bufferFrom = bufferFrom;
4911
4925
  },
4912
- 691: (__unused_webpack_module, exports, __nccwpck_require__) => {
4926
+ 674: (__unused_webpack_module, exports, __nccwpck_require__) => {
4913
4927
  "use strict";
4914
4928
  Object.defineProperty(exports, "__esModule", { value: true });
4915
4929
  exports.AssertionError =
@@ -4919,7 +4933,7 @@
4919
4933
  void 0;
4920
4934
  exports.message = message;
4921
4935
  exports.E = E;
4922
- const util_1 = __nccwpck_require__(308);
4936
+ const util_1 = __nccwpck_require__(671);
4923
4937
  const kCode = typeof Symbol === "undefined" ? "_kCode" : Symbol("code");
4924
4938
  const messages = {};
4925
4939
  function makeNodeError(Base) {
@@ -5006,7 +5020,7 @@
5006
5020
  );
5007
5021
  E("ERR_INVALID_ARG_VALUE", "Unable to open file as blob");
5008
5022
  },
5009
- 627: (__unused_webpack_module, exports, __nccwpck_require__) => {
5023
+ 64: (__unused_webpack_module, exports, __nccwpck_require__) => {
5010
5024
  "use strict";
5011
5025
  Object.defineProperty(exports, "__esModule", { value: true });
5012
5026
  exports.basename =
@@ -5075,7 +5089,7 @@
5075
5089
  },
5076
5090
  });
5077
5091
  },
5078
- 635: (__unused_webpack_module, exports, __nccwpck_require__) => {
5092
+ 787: (__unused_webpack_module, exports, __nccwpck_require__) => {
5079
5093
  "use strict";
5080
5094
  Object.defineProperty(exports, "__esModule", { value: true });
5081
5095
  exports.Writable = exports.Readable = void 0;
@@ -5093,7 +5107,7 @@
5093
5107
  },
5094
5108
  });
5095
5109
  },
5096
- 308: (__unused_webpack_module, exports) => {
5110
+ 671: (__unused_webpack_module, exports) => {
5097
5111
  "use strict";
5098
5112
  Object.defineProperty(exports, "__esModule", { value: true });
5099
5113
  exports.inherits = inherits;
@@ -6124,6 +6138,6 @@
6124
6138
  }
6125
6139
  if (typeof __nccwpck_require__ !== "undefined")
6126
6140
  __nccwpck_require__.ab = __dirname + "/";
6127
- var __webpack_exports__ = __nccwpck_require__(154);
6141
+ var __webpack_exports__ = __nccwpck_require__(435);
6128
6142
  module.exports = __webpack_exports__;
6129
6143
  })();
@@ -1 +1 @@
1
- {"name":"memfs","author":{"name":"streamich","url":"https://github.com/streamich"},"version":"4.50.0","funding":{"type":"github","url":"https://github.com/sponsors/streamich"},"license":"Apache-2.0","types":"index.d.ts","type":"commonjs"}
1
+ {"name":"memfs","author":{"name":"streamich","url":"https://github.com/streamich"},"version":"4.51.0","funding":{"type":"github","url":"https://github.com/sponsors/streamich"},"license":"Apache-2.0","types":"index.d.ts","type":"commonjs"}
@@ -1,15 +1,15 @@
1
1
  (() => {
2
2
  "use strict";
3
3
  var __webpack_modules__ = {
4
- 43: (module, __unused_webpack_exports, __nccwpck_require__) => {
5
- module.exports = __nccwpck_require__(133)["default"];
4
+ 357: (module, __unused_webpack_exports, __nccwpck_require__) => {
5
+ module.exports = __nccwpck_require__(231)["default"];
6
6
  },
7
- 133: (__unused_webpack_module, exports, __nccwpck_require__) => {
7
+ 231: (__unused_webpack_module, exports, __nccwpck_require__) => {
8
8
  var __webpack_unused_export__;
9
9
  __webpack_unused_export__ = { value: true };
10
10
  exports["default"] = loader;
11
11
  var _nodePath = _interopRequireDefault(__nccwpck_require__(760));
12
- var _utils = __nccwpck_require__(712);
12
+ var _utils = __nccwpck_require__(906);
13
13
  function _interopRequireDefault(e) {
14
14
  return e && e.__esModule ? e : { default: e };
15
15
  }
@@ -179,7 +179,7 @@
179
179
  callback(null, result.css, map, { ast });
180
180
  }
181
181
  },
182
- 712: (module, exports, __nccwpck_require__) => {
182
+ 906: (module, exports, __nccwpck_require__) => {
183
183
  module = __nccwpck_require__.nmd(module);
184
184
  Object.defineProperty(exports, "__esModule", { value: true });
185
185
  exports.exec = exec;
@@ -715,6 +715,6 @@
715
715
  })();
716
716
  if (typeof __nccwpck_require__ !== "undefined")
717
717
  __nccwpck_require__.ab = __dirname + "/";
718
- var __webpack_exports__ = __nccwpck_require__(43);
718
+ var __webpack_exports__ = __nccwpck_require__(357);
719
719
  module.exports = __webpack_exports__;
720
720
  })();