prebundle 1.4.2 → 1.5.0
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.
- package/compiled/fast-glob/index.js +190 -190
- package/compiled/fs-extra/index.d.ts +3 -2
- package/compiled/fs-extra/index.js +180 -157
- package/compiled/fs-extra/package.json +1 -1
- package/compiled/rslog/index.d.ts +4 -3
- package/compiled/rslog/index.js +145 -183
- package/compiled/rslog/package.json +1 -1
- package/dist/index.js +14 -3
- package/package.json +11 -11
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
(() => {
|
|
2
2
|
var __webpack_modules__ = {
|
|
3
|
-
|
|
3
|
+
87: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
4
4
|
"use strict";
|
|
5
|
-
const fs = __nccwpck_require__(
|
|
5
|
+
const fs = __nccwpck_require__(768);
|
|
6
6
|
const path = __nccwpck_require__(928);
|
|
7
|
-
const mkdirsSync = __nccwpck_require__(
|
|
8
|
-
const utimesMillisSync = __nccwpck_require__(
|
|
9
|
-
const stat = __nccwpck_require__(
|
|
7
|
+
const mkdirsSync = __nccwpck_require__(185).mkdirsSync;
|
|
8
|
+
const utimesMillisSync = __nccwpck_require__(782).utimesMillisSync;
|
|
9
|
+
const stat = __nccwpck_require__(343);
|
|
10
10
|
function copySync(src, dest, opts) {
|
|
11
11
|
if (typeof opts === "function") {
|
|
12
12
|
opts = { filter: opts };
|
|
@@ -161,14 +161,15 @@
|
|
|
161
161
|
}
|
|
162
162
|
module.exports = copySync;
|
|
163
163
|
},
|
|
164
|
-
|
|
164
|
+
967: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
165
165
|
"use strict";
|
|
166
|
-
const fs = __nccwpck_require__(
|
|
166
|
+
const fs = __nccwpck_require__(938);
|
|
167
167
|
const path = __nccwpck_require__(928);
|
|
168
|
-
const { mkdirs } = __nccwpck_require__(
|
|
169
|
-
const { pathExists } = __nccwpck_require__(
|
|
170
|
-
const { utimesMillis } = __nccwpck_require__(
|
|
171
|
-
const stat = __nccwpck_require__(
|
|
168
|
+
const { mkdirs } = __nccwpck_require__(185);
|
|
169
|
+
const { pathExists } = __nccwpck_require__(409);
|
|
170
|
+
const { utimesMillis } = __nccwpck_require__(782);
|
|
171
|
+
const stat = __nccwpck_require__(343);
|
|
172
|
+
const { asyncIteratorConcurrentProcess } = __nccwpck_require__(33);
|
|
172
173
|
async function copy(src, dest, opts = {}) {
|
|
173
174
|
if (typeof opts === "function") {
|
|
174
175
|
opts = { filter: opts };
|
|
@@ -252,23 +253,23 @@
|
|
|
252
253
|
if (!destStat) {
|
|
253
254
|
await fs.mkdir(dest);
|
|
254
255
|
}
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
runFilter(srcItem, destItem, opts)
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
256
|
+
await asyncIteratorConcurrentProcess(
|
|
257
|
+
await fs.opendir(src),
|
|
258
|
+
async (item) => {
|
|
259
|
+
const srcItem = path.join(src, item.name);
|
|
260
|
+
const destItem = path.join(dest, item.name);
|
|
261
|
+
const include = await runFilter(srcItem, destItem, opts);
|
|
262
|
+
if (include) {
|
|
263
|
+
const { destStat } = await stat.checkPaths(
|
|
264
|
+
srcItem,
|
|
265
|
+
destItem,
|
|
266
|
+
"copy",
|
|
267
|
+
opts,
|
|
268
|
+
);
|
|
269
|
+
await getStatsAndPerformCopy(destStat, srcItem, destItem, opts);
|
|
270
|
+
}
|
|
271
|
+
},
|
|
272
|
+
);
|
|
272
273
|
if (!destStat) {
|
|
273
274
|
await fs.chmod(dest, srcStat.mode);
|
|
274
275
|
}
|
|
@@ -307,21 +308,21 @@
|
|
|
307
308
|
}
|
|
308
309
|
module.exports = copy;
|
|
309
310
|
},
|
|
310
|
-
|
|
311
|
+
716: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
311
312
|
"use strict";
|
|
312
|
-
const u = __nccwpck_require__(
|
|
313
|
+
const u = __nccwpck_require__(118).fromPromise;
|
|
313
314
|
module.exports = {
|
|
314
|
-
copy: u(__nccwpck_require__(
|
|
315
|
-
copySync: __nccwpck_require__(
|
|
315
|
+
copy: u(__nccwpck_require__(967)),
|
|
316
|
+
copySync: __nccwpck_require__(87),
|
|
316
317
|
};
|
|
317
318
|
},
|
|
318
|
-
|
|
319
|
+
690: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
319
320
|
"use strict";
|
|
320
|
-
const u = __nccwpck_require__(
|
|
321
|
-
const fs = __nccwpck_require__(
|
|
321
|
+
const u = __nccwpck_require__(118).fromPromise;
|
|
322
|
+
const fs = __nccwpck_require__(938);
|
|
322
323
|
const path = __nccwpck_require__(928);
|
|
323
|
-
const mkdir = __nccwpck_require__(
|
|
324
|
-
const remove = __nccwpck_require__(
|
|
324
|
+
const mkdir = __nccwpck_require__(185);
|
|
325
|
+
const remove = __nccwpck_require__(325);
|
|
325
326
|
const emptyDir = u(async function emptyDir(dir) {
|
|
326
327
|
let items;
|
|
327
328
|
try {
|
|
@@ -352,12 +353,12 @@
|
|
|
352
353
|
emptydir: emptyDir,
|
|
353
354
|
};
|
|
354
355
|
},
|
|
355
|
-
|
|
356
|
+
673: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
356
357
|
"use strict";
|
|
357
|
-
const u = __nccwpck_require__(
|
|
358
|
+
const u = __nccwpck_require__(118).fromPromise;
|
|
358
359
|
const path = __nccwpck_require__(928);
|
|
359
|
-
const fs = __nccwpck_require__(
|
|
360
|
-
const mkdir = __nccwpck_require__(
|
|
360
|
+
const fs = __nccwpck_require__(938);
|
|
361
|
+
const mkdir = __nccwpck_require__(185);
|
|
361
362
|
async function createFile(file) {
|
|
362
363
|
let stats;
|
|
363
364
|
try {
|
|
@@ -402,11 +403,11 @@
|
|
|
402
403
|
}
|
|
403
404
|
module.exports = { createFile: u(createFile), createFileSync };
|
|
404
405
|
},
|
|
405
|
-
|
|
406
|
+
171: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
406
407
|
"use strict";
|
|
407
|
-
const { createFile, createFileSync } = __nccwpck_require__(
|
|
408
|
-
const { createLink, createLinkSync } = __nccwpck_require__(
|
|
409
|
-
const { createSymlink, createSymlinkSync } = __nccwpck_require__(
|
|
408
|
+
const { createFile, createFileSync } = __nccwpck_require__(673);
|
|
409
|
+
const { createLink, createLinkSync } = __nccwpck_require__(468);
|
|
410
|
+
const { createSymlink, createSymlinkSync } = __nccwpck_require__(920);
|
|
410
411
|
module.exports = {
|
|
411
412
|
createFile,
|
|
412
413
|
createFileSync,
|
|
@@ -422,14 +423,14 @@
|
|
|
422
423
|
ensureSymlinkSync: createSymlinkSync,
|
|
423
424
|
};
|
|
424
425
|
},
|
|
425
|
-
|
|
426
|
+
468: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
426
427
|
"use strict";
|
|
427
|
-
const u = __nccwpck_require__(
|
|
428
|
+
const u = __nccwpck_require__(118).fromPromise;
|
|
428
429
|
const path = __nccwpck_require__(928);
|
|
429
|
-
const fs = __nccwpck_require__(
|
|
430
|
-
const mkdir = __nccwpck_require__(
|
|
431
|
-
const { pathExists } = __nccwpck_require__(
|
|
432
|
-
const { areIdentical } = __nccwpck_require__(
|
|
430
|
+
const fs = __nccwpck_require__(938);
|
|
431
|
+
const mkdir = __nccwpck_require__(185);
|
|
432
|
+
const { pathExists } = __nccwpck_require__(409);
|
|
433
|
+
const { areIdentical } = __nccwpck_require__(343);
|
|
433
434
|
async function createLink(srcpath, dstpath) {
|
|
434
435
|
let dstStat;
|
|
435
436
|
try {
|
|
@@ -470,12 +471,12 @@
|
|
|
470
471
|
}
|
|
471
472
|
module.exports = { createLink: u(createLink), createLinkSync };
|
|
472
473
|
},
|
|
473
|
-
|
|
474
|
+
737: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
474
475
|
"use strict";
|
|
475
476
|
const path = __nccwpck_require__(928);
|
|
476
|
-
const fs = __nccwpck_require__(
|
|
477
|
-
const { pathExists } = __nccwpck_require__(
|
|
478
|
-
const u = __nccwpck_require__(
|
|
477
|
+
const fs = __nccwpck_require__(938);
|
|
478
|
+
const { pathExists } = __nccwpck_require__(409);
|
|
479
|
+
const u = __nccwpck_require__(118).fromPromise;
|
|
479
480
|
async function symlinkPaths(srcpath, dstpath) {
|
|
480
481
|
if (path.isAbsolute(srcpath)) {
|
|
481
482
|
try {
|
|
@@ -518,10 +519,10 @@
|
|
|
518
519
|
}
|
|
519
520
|
module.exports = { symlinkPaths: u(symlinkPaths), symlinkPathsSync };
|
|
520
521
|
},
|
|
521
|
-
|
|
522
|
+
53: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
522
523
|
"use strict";
|
|
523
|
-
const fs = __nccwpck_require__(
|
|
524
|
-
const u = __nccwpck_require__(
|
|
524
|
+
const fs = __nccwpck_require__(938);
|
|
525
|
+
const u = __nccwpck_require__(118).fromPromise;
|
|
525
526
|
async function symlinkType(srcpath, type) {
|
|
526
527
|
if (type) return type;
|
|
527
528
|
let stats;
|
|
@@ -544,16 +545,16 @@
|
|
|
544
545
|
}
|
|
545
546
|
module.exports = { symlinkType: u(symlinkType), symlinkTypeSync };
|
|
546
547
|
},
|
|
547
|
-
|
|
548
|
+
920: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
548
549
|
"use strict";
|
|
549
|
-
const u = __nccwpck_require__(
|
|
550
|
+
const u = __nccwpck_require__(118).fromPromise;
|
|
550
551
|
const path = __nccwpck_require__(928);
|
|
551
|
-
const fs = __nccwpck_require__(
|
|
552
|
-
const { mkdirs, mkdirsSync } = __nccwpck_require__(
|
|
553
|
-
const { symlinkPaths, symlinkPathsSync } = __nccwpck_require__(
|
|
554
|
-
const { symlinkType, symlinkTypeSync } = __nccwpck_require__(
|
|
555
|
-
const { pathExists } = __nccwpck_require__(
|
|
556
|
-
const { areIdentical } = __nccwpck_require__(
|
|
552
|
+
const fs = __nccwpck_require__(938);
|
|
553
|
+
const { mkdirs, mkdirsSync } = __nccwpck_require__(185);
|
|
554
|
+
const { symlinkPaths, symlinkPathsSync } = __nccwpck_require__(737);
|
|
555
|
+
const { symlinkType, symlinkTypeSync } = __nccwpck_require__(53);
|
|
556
|
+
const { pathExists } = __nccwpck_require__(409);
|
|
557
|
+
const { areIdentical } = __nccwpck_require__(343);
|
|
557
558
|
async function createSymlink(srcpath, dstpath, type) {
|
|
558
559
|
let stats;
|
|
559
560
|
try {
|
|
@@ -596,10 +597,10 @@
|
|
|
596
597
|
}
|
|
597
598
|
module.exports = { createSymlink: u(createSymlink), createSymlinkSync };
|
|
598
599
|
},
|
|
599
|
-
|
|
600
|
+
938: (__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
600
601
|
"use strict";
|
|
601
|
-
const u = __nccwpck_require__(
|
|
602
|
-
const fs = __nccwpck_require__(
|
|
602
|
+
const u = __nccwpck_require__(118).fromCallback;
|
|
603
|
+
const fs = __nccwpck_require__(768);
|
|
603
604
|
const api = [
|
|
604
605
|
"access",
|
|
605
606
|
"appendFile",
|
|
@@ -711,27 +712,27 @@
|
|
|
711
712
|
);
|
|
712
713
|
}
|
|
713
714
|
},
|
|
714
|
-
|
|
715
|
+
248: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
715
716
|
"use strict";
|
|
716
717
|
module.exports = {
|
|
717
|
-
...__nccwpck_require__(
|
|
718
|
-
...__nccwpck_require__(
|
|
719
|
-
...__nccwpck_require__(
|
|
720
|
-
...__nccwpck_require__(
|
|
721
|
-
...__nccwpck_require__(
|
|
722
|
-
...__nccwpck_require__(
|
|
723
|
-
...__nccwpck_require__(
|
|
724
|
-
...__nccwpck_require__(
|
|
725
|
-
...__nccwpck_require__(
|
|
726
|
-
...__nccwpck_require__(
|
|
718
|
+
...__nccwpck_require__(938),
|
|
719
|
+
...__nccwpck_require__(716),
|
|
720
|
+
...__nccwpck_require__(690),
|
|
721
|
+
...__nccwpck_require__(171),
|
|
722
|
+
...__nccwpck_require__(55),
|
|
723
|
+
...__nccwpck_require__(185),
|
|
724
|
+
...__nccwpck_require__(132),
|
|
725
|
+
...__nccwpck_require__(901),
|
|
726
|
+
...__nccwpck_require__(409),
|
|
727
|
+
...__nccwpck_require__(325),
|
|
727
728
|
};
|
|
728
729
|
},
|
|
729
|
-
|
|
730
|
+
55: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
730
731
|
"use strict";
|
|
731
|
-
const u = __nccwpck_require__(
|
|
732
|
-
const jsonFile = __nccwpck_require__(
|
|
733
|
-
jsonFile.outputJson = u(__nccwpck_require__(
|
|
734
|
-
jsonFile.outputJsonSync = __nccwpck_require__(
|
|
732
|
+
const u = __nccwpck_require__(118).fromPromise;
|
|
733
|
+
const jsonFile = __nccwpck_require__(399);
|
|
734
|
+
jsonFile.outputJson = u(__nccwpck_require__(585));
|
|
735
|
+
jsonFile.outputJsonSync = __nccwpck_require__(89);
|
|
735
736
|
jsonFile.outputJSON = jsonFile.outputJson;
|
|
736
737
|
jsonFile.outputJSONSync = jsonFile.outputJsonSync;
|
|
737
738
|
jsonFile.writeJSON = jsonFile.writeJson;
|
|
@@ -740,9 +741,9 @@
|
|
|
740
741
|
jsonFile.readJSONSync = jsonFile.readJsonSync;
|
|
741
742
|
module.exports = jsonFile;
|
|
742
743
|
},
|
|
743
|
-
|
|
744
|
+
399: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
744
745
|
"use strict";
|
|
745
|
-
const jsonFile = __nccwpck_require__(
|
|
746
|
+
const jsonFile = __nccwpck_require__(406);
|
|
746
747
|
module.exports = {
|
|
747
748
|
readJson: jsonFile.readFile,
|
|
748
749
|
readJsonSync: jsonFile.readFileSync,
|
|
@@ -750,30 +751,30 @@
|
|
|
750
751
|
writeJsonSync: jsonFile.writeFileSync,
|
|
751
752
|
};
|
|
752
753
|
},
|
|
753
|
-
|
|
754
|
+
89: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
754
755
|
"use strict";
|
|
755
|
-
const { stringify } = __nccwpck_require__(
|
|
756
|
-
const { outputFileSync } = __nccwpck_require__(
|
|
756
|
+
const { stringify } = __nccwpck_require__(975);
|
|
757
|
+
const { outputFileSync } = __nccwpck_require__(901);
|
|
757
758
|
function outputJsonSync(file, data, options) {
|
|
758
759
|
const str = stringify(data, options);
|
|
759
760
|
outputFileSync(file, str, options);
|
|
760
761
|
}
|
|
761
762
|
module.exports = outputJsonSync;
|
|
762
763
|
},
|
|
763
|
-
|
|
764
|
+
585: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
764
765
|
"use strict";
|
|
765
|
-
const { stringify } = __nccwpck_require__(
|
|
766
|
-
const { outputFile } = __nccwpck_require__(
|
|
766
|
+
const { stringify } = __nccwpck_require__(975);
|
|
767
|
+
const { outputFile } = __nccwpck_require__(901);
|
|
767
768
|
async function outputJson(file, data, options = {}) {
|
|
768
769
|
const str = stringify(data, options);
|
|
769
770
|
await outputFile(file, str, options);
|
|
770
771
|
}
|
|
771
772
|
module.exports = outputJson;
|
|
772
773
|
},
|
|
773
|
-
|
|
774
|
+
185: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
774
775
|
"use strict";
|
|
775
|
-
const u = __nccwpck_require__(
|
|
776
|
-
const { makeDir: _makeDir, makeDirSync } = __nccwpck_require__(
|
|
776
|
+
const u = __nccwpck_require__(118).fromPromise;
|
|
777
|
+
const { makeDir: _makeDir, makeDirSync } = __nccwpck_require__(65);
|
|
777
778
|
const makeDir = u(_makeDir);
|
|
778
779
|
module.exports = {
|
|
779
780
|
mkdirs: makeDir,
|
|
@@ -784,10 +785,10 @@
|
|
|
784
785
|
ensureDirSync: makeDirSync,
|
|
785
786
|
};
|
|
786
787
|
},
|
|
787
|
-
|
|
788
|
+
65: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
788
789
|
"use strict";
|
|
789
|
-
const fs = __nccwpck_require__(
|
|
790
|
-
const { checkPath } = __nccwpck_require__(
|
|
790
|
+
const fs = __nccwpck_require__(938);
|
|
791
|
+
const { checkPath } = __nccwpck_require__(452);
|
|
791
792
|
const getMode = (options) => {
|
|
792
793
|
const defaults = { mode: 511 };
|
|
793
794
|
if (typeof options === "number") return options;
|
|
@@ -802,7 +803,7 @@
|
|
|
802
803
|
return fs.mkdirSync(dir, { mode: getMode(options), recursive: true });
|
|
803
804
|
};
|
|
804
805
|
},
|
|
805
|
-
|
|
806
|
+
452: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
806
807
|
"use strict";
|
|
807
808
|
const path = __nccwpck_require__(928);
|
|
808
809
|
module.exports.checkPath = function checkPath(pth) {
|
|
@@ -818,22 +819,22 @@
|
|
|
818
819
|
}
|
|
819
820
|
};
|
|
820
821
|
},
|
|
821
|
-
|
|
822
|
+
132: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
822
823
|
"use strict";
|
|
823
|
-
const u = __nccwpck_require__(
|
|
824
|
+
const u = __nccwpck_require__(118).fromPromise;
|
|
824
825
|
module.exports = {
|
|
825
|
-
move: u(__nccwpck_require__(
|
|
826
|
-
moveSync: __nccwpck_require__(
|
|
826
|
+
move: u(__nccwpck_require__(567)),
|
|
827
|
+
moveSync: __nccwpck_require__(791),
|
|
827
828
|
};
|
|
828
829
|
},
|
|
829
|
-
|
|
830
|
+
791: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
830
831
|
"use strict";
|
|
831
|
-
const fs = __nccwpck_require__(
|
|
832
|
+
const fs = __nccwpck_require__(768);
|
|
832
833
|
const path = __nccwpck_require__(928);
|
|
833
|
-
const copySync = __nccwpck_require__(
|
|
834
|
-
const removeSync = __nccwpck_require__(
|
|
835
|
-
const mkdirpSync = __nccwpck_require__(
|
|
836
|
-
const stat = __nccwpck_require__(
|
|
834
|
+
const copySync = __nccwpck_require__(716).copySync;
|
|
835
|
+
const removeSync = __nccwpck_require__(325).removeSync;
|
|
836
|
+
const mkdirpSync = __nccwpck_require__(185).mkdirpSync;
|
|
837
|
+
const stat = __nccwpck_require__(343);
|
|
837
838
|
function moveSync(src, dest, opts) {
|
|
838
839
|
opts = opts || {};
|
|
839
840
|
const overwrite = opts.overwrite || opts.clobber || false;
|
|
@@ -880,15 +881,15 @@
|
|
|
880
881
|
}
|
|
881
882
|
module.exports = moveSync;
|
|
882
883
|
},
|
|
883
|
-
|
|
884
|
+
567: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
884
885
|
"use strict";
|
|
885
|
-
const fs = __nccwpck_require__(
|
|
886
|
+
const fs = __nccwpck_require__(938);
|
|
886
887
|
const path = __nccwpck_require__(928);
|
|
887
|
-
const { copy } = __nccwpck_require__(
|
|
888
|
-
const { remove } = __nccwpck_require__(
|
|
889
|
-
const { mkdirp } = __nccwpck_require__(
|
|
890
|
-
const { pathExists } = __nccwpck_require__(
|
|
891
|
-
const stat = __nccwpck_require__(
|
|
888
|
+
const { copy } = __nccwpck_require__(716);
|
|
889
|
+
const { remove } = __nccwpck_require__(325);
|
|
890
|
+
const { mkdirp } = __nccwpck_require__(185);
|
|
891
|
+
const { pathExists } = __nccwpck_require__(409);
|
|
892
|
+
const stat = __nccwpck_require__(343);
|
|
892
893
|
async function move(src, dest, opts = {}) {
|
|
893
894
|
const overwrite = opts.overwrite || opts.clobber || false;
|
|
894
895
|
const { srcStat, isChangingCase = false } = await stat.checkPaths(
|
|
@@ -933,13 +934,13 @@
|
|
|
933
934
|
}
|
|
934
935
|
module.exports = move;
|
|
935
936
|
},
|
|
936
|
-
|
|
937
|
+
901: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
937
938
|
"use strict";
|
|
938
|
-
const u = __nccwpck_require__(
|
|
939
|
-
const fs = __nccwpck_require__(
|
|
939
|
+
const u = __nccwpck_require__(118).fromPromise;
|
|
940
|
+
const fs = __nccwpck_require__(938);
|
|
940
941
|
const path = __nccwpck_require__(928);
|
|
941
|
-
const mkdir = __nccwpck_require__(
|
|
942
|
-
const pathExists = __nccwpck_require__(
|
|
942
|
+
const mkdir = __nccwpck_require__(185);
|
|
943
|
+
const pathExists = __nccwpck_require__(409).pathExists;
|
|
943
944
|
async function outputFile(file, data, encoding = "utf-8") {
|
|
944
945
|
const dir = path.dirname(file);
|
|
945
946
|
if (!(await pathExists(dir))) {
|
|
@@ -956,10 +957,10 @@
|
|
|
956
957
|
}
|
|
957
958
|
module.exports = { outputFile: u(outputFile), outputFileSync };
|
|
958
959
|
},
|
|
959
|
-
|
|
960
|
+
409: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
960
961
|
"use strict";
|
|
961
|
-
const u = __nccwpck_require__(
|
|
962
|
-
const fs = __nccwpck_require__(
|
|
962
|
+
const u = __nccwpck_require__(118).fromPromise;
|
|
963
|
+
const fs = __nccwpck_require__(938);
|
|
963
964
|
function pathExists(path) {
|
|
964
965
|
return fs
|
|
965
966
|
.access(path)
|
|
@@ -971,10 +972,10 @@
|
|
|
971
972
|
pathExistsSync: fs.existsSync,
|
|
972
973
|
};
|
|
973
974
|
},
|
|
974
|
-
|
|
975
|
+
325: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
975
976
|
"use strict";
|
|
976
|
-
const fs = __nccwpck_require__(
|
|
977
|
-
const u = __nccwpck_require__(
|
|
977
|
+
const fs = __nccwpck_require__(768);
|
|
978
|
+
const u = __nccwpck_require__(118).fromCallback;
|
|
978
979
|
function remove(path, callback) {
|
|
979
980
|
fs.rm(path, { recursive: true, force: true }, callback);
|
|
980
981
|
}
|
|
@@ -983,11 +984,33 @@
|
|
|
983
984
|
}
|
|
984
985
|
module.exports = { remove: u(remove), removeSync };
|
|
985
986
|
},
|
|
986
|
-
|
|
987
|
+
33: (module) => {
|
|
987
988
|
"use strict";
|
|
988
|
-
|
|
989
|
+
async function asyncIteratorConcurrentProcess(iterator, fn) {
|
|
990
|
+
const promises = [];
|
|
991
|
+
for await (const item of iterator) {
|
|
992
|
+
promises.push(
|
|
993
|
+
fn(item).then(
|
|
994
|
+
() => null,
|
|
995
|
+
(err) => err ?? new Error("unknown error"),
|
|
996
|
+
),
|
|
997
|
+
);
|
|
998
|
+
}
|
|
999
|
+
await Promise.all(
|
|
1000
|
+
promises.map((promise) =>
|
|
1001
|
+
promise.then((possibleErr) => {
|
|
1002
|
+
if (possibleErr !== null) throw possibleErr;
|
|
1003
|
+
}),
|
|
1004
|
+
),
|
|
1005
|
+
);
|
|
1006
|
+
}
|
|
1007
|
+
module.exports = { asyncIteratorConcurrentProcess };
|
|
1008
|
+
},
|
|
1009
|
+
343: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
1010
|
+
"use strict";
|
|
1011
|
+
const fs = __nccwpck_require__(938);
|
|
989
1012
|
const path = __nccwpck_require__(928);
|
|
990
|
-
const u = __nccwpck_require__(
|
|
1013
|
+
const u = __nccwpck_require__(118).fromPromise;
|
|
991
1014
|
function getStats(src, dest, opts) {
|
|
992
1015
|
const statFunc = opts.dereference
|
|
993
1016
|
? (file) => fs.stat(file, { bigint: true })
|
|
@@ -1118,8 +1141,8 @@
|
|
|
1118
1141
|
}
|
|
1119
1142
|
function areIdentical(srcStat, destStat) {
|
|
1120
1143
|
return (
|
|
1121
|
-
destStat.ino &&
|
|
1122
|
-
destStat.dev &&
|
|
1144
|
+
destStat.ino !== undefined &&
|
|
1145
|
+
destStat.dev !== undefined &&
|
|
1123
1146
|
destStat.ino === srcStat.ino &&
|
|
1124
1147
|
destStat.dev === srcStat.dev
|
|
1125
1148
|
);
|
|
@@ -1147,10 +1170,10 @@
|
|
|
1147
1170
|
areIdentical,
|
|
1148
1171
|
};
|
|
1149
1172
|
},
|
|
1150
|
-
|
|
1173
|
+
782: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
1151
1174
|
"use strict";
|
|
1152
|
-
const fs = __nccwpck_require__(
|
|
1153
|
-
const u = __nccwpck_require__(
|
|
1175
|
+
const fs = __nccwpck_require__(938);
|
|
1176
|
+
const u = __nccwpck_require__(118).fromPromise;
|
|
1154
1177
|
async function utimesMillis(path, atime, mtime) {
|
|
1155
1178
|
const fd = await fs.open(path, "r+");
|
|
1156
1179
|
let closeErr = null;
|
|
@@ -1174,7 +1197,7 @@
|
|
|
1174
1197
|
}
|
|
1175
1198
|
module.exports = { utimesMillis: u(utimesMillis), utimesMillisSync };
|
|
1176
1199
|
},
|
|
1177
|
-
|
|
1200
|
+
340: (module) => {
|
|
1178
1201
|
"use strict";
|
|
1179
1202
|
module.exports = clone;
|
|
1180
1203
|
var getPrototypeOf =
|
|
@@ -1197,11 +1220,11 @@
|
|
|
1197
1220
|
return copy;
|
|
1198
1221
|
}
|
|
1199
1222
|
},
|
|
1200
|
-
|
|
1223
|
+
768: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
1201
1224
|
var fs = __nccwpck_require__(896);
|
|
1202
|
-
var polyfills = __nccwpck_require__(
|
|
1203
|
-
var legacy = __nccwpck_require__(
|
|
1204
|
-
var clone = __nccwpck_require__(
|
|
1225
|
+
var polyfills = __nccwpck_require__(805);
|
|
1226
|
+
var legacy = __nccwpck_require__(366);
|
|
1227
|
+
var clone = __nccwpck_require__(340);
|
|
1205
1228
|
var util = __nccwpck_require__(23);
|
|
1206
1229
|
var gracefulQueue;
|
|
1207
1230
|
var previousSymbol;
|
|
@@ -1276,7 +1299,7 @@
|
|
|
1276
1299
|
var fs$readFile = fs.readFile;
|
|
1277
1300
|
fs.readFile = readFile;
|
|
1278
1301
|
function readFile(path, options, cb) {
|
|
1279
|
-
if (typeof options === "function") (cb = options), (options = null);
|
|
1302
|
+
if (typeof options === "function") ((cb = options), (options = null));
|
|
1280
1303
|
return go$readFile(path, options, cb);
|
|
1281
1304
|
function go$readFile(path, options, cb, startTime) {
|
|
1282
1305
|
return fs$readFile(path, options, function (err) {
|
|
@@ -1297,7 +1320,7 @@
|
|
|
1297
1320
|
var fs$writeFile = fs.writeFile;
|
|
1298
1321
|
fs.writeFile = writeFile;
|
|
1299
1322
|
function writeFile(path, data, options, cb) {
|
|
1300
|
-
if (typeof options === "function") (cb = options), (options = null);
|
|
1323
|
+
if (typeof options === "function") ((cb = options), (options = null));
|
|
1301
1324
|
return go$writeFile(path, data, options, cb);
|
|
1302
1325
|
function go$writeFile(path, data, options, cb, startTime) {
|
|
1303
1326
|
return fs$writeFile(path, data, options, function (err) {
|
|
@@ -1318,7 +1341,7 @@
|
|
|
1318
1341
|
var fs$appendFile = fs.appendFile;
|
|
1319
1342
|
if (fs$appendFile) fs.appendFile = appendFile;
|
|
1320
1343
|
function appendFile(path, data, options, cb) {
|
|
1321
|
-
if (typeof options === "function") (cb = options), (options = null);
|
|
1344
|
+
if (typeof options === "function") ((cb = options), (options = null));
|
|
1322
1345
|
return go$appendFile(path, data, options, cb);
|
|
1323
1346
|
function go$appendFile(path, data, options, cb, startTime) {
|
|
1324
1347
|
return fs$appendFile(path, data, options, function (err) {
|
|
@@ -1364,7 +1387,7 @@
|
|
|
1364
1387
|
fs.readdir = readdir;
|
|
1365
1388
|
var noReaddirOptionVersions = /^v[0-5]\./;
|
|
1366
1389
|
function readdir(path, options, cb) {
|
|
1367
|
-
if (typeof options === "function") (cb = options), (options = null);
|
|
1390
|
+
if (typeof options === "function") ((cb = options), (options = null));
|
|
1368
1391
|
var go$readdir = noReaddirOptionVersions.test(process.version)
|
|
1369
1392
|
? function go$readdir(path, options, cb, startTime) {
|
|
1370
1393
|
return fs$readdir(
|
|
@@ -1456,7 +1479,7 @@
|
|
|
1456
1479
|
});
|
|
1457
1480
|
function ReadStream(path, options) {
|
|
1458
1481
|
if (this instanceof ReadStream)
|
|
1459
|
-
return fs$ReadStream.apply(this, arguments), this;
|
|
1482
|
+
return (fs$ReadStream.apply(this, arguments), this);
|
|
1460
1483
|
else
|
|
1461
1484
|
return ReadStream.apply(
|
|
1462
1485
|
Object.create(ReadStream.prototype),
|
|
@@ -1478,7 +1501,7 @@
|
|
|
1478
1501
|
}
|
|
1479
1502
|
function WriteStream(path, options) {
|
|
1480
1503
|
if (this instanceof WriteStream)
|
|
1481
|
-
return fs$WriteStream.apply(this, arguments), this;
|
|
1504
|
+
return (fs$WriteStream.apply(this, arguments), this);
|
|
1482
1505
|
else
|
|
1483
1506
|
return WriteStream.apply(
|
|
1484
1507
|
Object.create(WriteStream.prototype),
|
|
@@ -1506,7 +1529,7 @@
|
|
|
1506
1529
|
var fs$open = fs.open;
|
|
1507
1530
|
fs.open = open;
|
|
1508
1531
|
function open(path, flags, mode, cb) {
|
|
1509
|
-
if (typeof mode === "function") (cb = mode), (mode = null);
|
|
1532
|
+
if (typeof mode === "function") ((cb = mode), (mode = null));
|
|
1510
1533
|
return go$open(path, flags, mode, cb);
|
|
1511
1534
|
function go$open(path, flags, mode, cb, startTime) {
|
|
1512
1535
|
return fs$open(path, flags, mode, function (err, fd) {
|
|
@@ -1575,7 +1598,7 @@
|
|
|
1575
1598
|
}
|
|
1576
1599
|
}
|
|
1577
1600
|
},
|
|
1578
|
-
|
|
1601
|
+
366: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
1579
1602
|
var Stream = __nccwpck_require__(203).Stream;
|
|
1580
1603
|
module.exports = legacy;
|
|
1581
1604
|
function legacy(fs) {
|
|
@@ -1672,7 +1695,7 @@
|
|
|
1672
1695
|
}
|
|
1673
1696
|
}
|
|
1674
1697
|
},
|
|
1675
|
-
|
|
1698
|
+
805: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
1676
1699
|
var constants = __nccwpck_require__(140);
|
|
1677
1700
|
var origCwd = process.cwd;
|
|
1678
1701
|
var cwd = null;
|
|
@@ -1993,15 +2016,15 @@
|
|
|
1993
2016
|
}
|
|
1994
2017
|
}
|
|
1995
2018
|
},
|
|
1996
|
-
|
|
2019
|
+
406: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
1997
2020
|
let _fs;
|
|
1998
2021
|
try {
|
|
1999
|
-
_fs = __nccwpck_require__(
|
|
2022
|
+
_fs = __nccwpck_require__(768);
|
|
2000
2023
|
} catch (_) {
|
|
2001
2024
|
_fs = __nccwpck_require__(896);
|
|
2002
2025
|
}
|
|
2003
|
-
const universalify = __nccwpck_require__(
|
|
2004
|
-
const { stringify, stripBom } = __nccwpck_require__(
|
|
2026
|
+
const universalify = __nccwpck_require__(118);
|
|
2027
|
+
const { stringify, stripBom } = __nccwpck_require__(975);
|
|
2005
2028
|
async function _readFile(file, options = {}) {
|
|
2006
2029
|
if (typeof options === "string") {
|
|
2007
2030
|
options = { encoding: options };
|
|
@@ -2057,7 +2080,7 @@
|
|
|
2057
2080
|
const jsonfile = { readFile, readFileSync, writeFile, writeFileSync };
|
|
2058
2081
|
module.exports = jsonfile;
|
|
2059
2082
|
},
|
|
2060
|
-
|
|
2083
|
+
975: (module) => {
|
|
2061
2084
|
function stringify(
|
|
2062
2085
|
obj,
|
|
2063
2086
|
{ EOL = "\n", finalEOL = true, replacer = null, spaces } = {},
|
|
@@ -2072,7 +2095,7 @@
|
|
|
2072
2095
|
}
|
|
2073
2096
|
module.exports = { stringify, stripBom };
|
|
2074
2097
|
},
|
|
2075
|
-
|
|
2098
|
+
118: (__unused_webpack_module, exports) => {
|
|
2076
2099
|
"use strict";
|
|
2077
2100
|
exports.fromCallback = function (fn) {
|
|
2078
2101
|
return Object.defineProperty(
|
|
@@ -2154,6 +2177,6 @@
|
|
|
2154
2177
|
}
|
|
2155
2178
|
if (typeof __nccwpck_require__ !== "undefined")
|
|
2156
2179
|
__nccwpck_require__.ab = __dirname + "/";
|
|
2157
|
-
var __webpack_exports__ = __nccwpck_require__(
|
|
2180
|
+
var __webpack_exports__ = __nccwpck_require__(248);
|
|
2158
2181
|
module.exports = __webpack_exports__;
|
|
2159
2182
|
})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"fs-extra","author":"JP Richardson <jprichardson@gmail.com>","version":"11.3.
|
|
1
|
+
{"name":"fs-extra","author":"JP Richardson <jprichardson@gmail.com>","version":"11.3.2","license":"MIT","types":"index.d.ts","type":"commonjs"}
|