@pipelab/plugin-steam 1.0.0-beta.19 → 1.0.0-beta.20
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/dist/index.cjs +338 -335
- package/dist/index.mjs +11 -8
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -4
package/dist/index.cjs
CHANGED
|
@@ -2114,8 +2114,7 @@ const defaultAppSettings = settingsMigratorInternal.createDefault({
|
|
|
2114
2114
|
completed: false
|
|
2115
2115
|
}
|
|
2116
2116
|
},
|
|
2117
|
-
plugins: DEFAULT_PLUGINS
|
|
2118
|
-
isInternalMigrationBannerClosed: false
|
|
2117
|
+
plugins: DEFAULT_PLUGINS
|
|
2119
2118
|
});
|
|
2120
2119
|
settingsMigratorInternal.createMigrations({
|
|
2121
2120
|
defaultValue: defaultAppSettings,
|
|
@@ -2166,12 +2165,12 @@ settingsMigratorInternal.createMigrations({
|
|
|
2166
2165
|
createMigration({
|
|
2167
2166
|
version: "6.0.0",
|
|
2168
2167
|
up: (state) => {
|
|
2169
|
-
const { cacheFolder
|
|
2168
|
+
const { cacheFolder, clearTemporaryFoldersOnPipelineEnd: __, ...rest } = state;
|
|
2170
2169
|
return {
|
|
2171
2170
|
...rest,
|
|
2171
|
+
cacheFolder,
|
|
2172
2172
|
agents: [],
|
|
2173
|
-
plugins: DEFAULT_PLUGINS
|
|
2174
|
-
isInternalMigrationBannerClosed: false
|
|
2173
|
+
plugins: DEFAULT_PLUGINS
|
|
2175
2174
|
};
|
|
2176
2175
|
}
|
|
2177
2176
|
}),
|
|
@@ -2524,7 +2523,8 @@ object({
|
|
|
2524
2523
|
enabled: boolean(),
|
|
2525
2524
|
description: string()
|
|
2526
2525
|
})),
|
|
2527
|
-
|
|
2526
|
+
cacheFolder: optional(string()),
|
|
2527
|
+
tempFolder: optional(string())
|
|
2528
2528
|
});
|
|
2529
2529
|
const ConnectionValidator = looseObject({
|
|
2530
2530
|
id: string(),
|
|
@@ -49921,7 +49921,7 @@ const handleCommand$1 = (filePath, rawArguments, rawOptions) => {
|
|
|
49921
49921
|
var require_windows = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
|
|
49922
49922
|
module.exports = isexe;
|
|
49923
49923
|
isexe.sync = sync;
|
|
49924
|
-
var fs$
|
|
49924
|
+
var fs$38 = require("fs");
|
|
49925
49925
|
function checkPathExt(path, options) {
|
|
49926
49926
|
var pathext = options.pathExt !== void 0 ? options.pathExt : process.env.PATHEXT;
|
|
49927
49927
|
if (!pathext) return true;
|
|
@@ -49938,12 +49938,12 @@ var require_windows = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mod
|
|
|
49938
49938
|
return checkPathExt(path, options);
|
|
49939
49939
|
}
|
|
49940
49940
|
function isexe(path, options, cb) {
|
|
49941
|
-
fs$
|
|
49941
|
+
fs$38.stat(path, function(er, stat) {
|
|
49942
49942
|
cb(er, er ? false : checkStat(stat, path, options));
|
|
49943
49943
|
});
|
|
49944
49944
|
}
|
|
49945
49945
|
function sync(path, options) {
|
|
49946
|
-
return checkStat(fs$
|
|
49946
|
+
return checkStat(fs$38.statSync(path), path, options);
|
|
49947
49947
|
}
|
|
49948
49948
|
}));
|
|
49949
49949
|
//#endregion
|
|
@@ -49951,14 +49951,14 @@ var require_windows = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mod
|
|
|
49951
49951
|
var require_mode = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
|
|
49952
49952
|
module.exports = isexe;
|
|
49953
49953
|
isexe.sync = sync;
|
|
49954
|
-
var fs$
|
|
49954
|
+
var fs$37 = require("fs");
|
|
49955
49955
|
function isexe(path, options, cb) {
|
|
49956
|
-
fs$
|
|
49956
|
+
fs$37.stat(path, function(er, stat) {
|
|
49957
49957
|
cb(er, er ? false : checkStat(stat, options));
|
|
49958
49958
|
});
|
|
49959
49959
|
}
|
|
49960
49960
|
function sync(path, options) {
|
|
49961
|
-
return checkStat(fs$
|
|
49961
|
+
return checkStat(fs$37.statSync(path), options);
|
|
49962
49962
|
}
|
|
49963
49963
|
function checkStat(stat, options) {
|
|
49964
49964
|
return stat.isFile() && checkMode(stat, options);
|
|
@@ -50173,16 +50173,16 @@ var require_shebang_command = /* @__PURE__ */ require_chunk.__commonJSMin(((expo
|
|
|
50173
50173
|
//#endregion
|
|
50174
50174
|
//#region ../../node_modules/cross-spawn/lib/util/readShebang.js
|
|
50175
50175
|
var require_readShebang = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
|
|
50176
|
-
const fs$
|
|
50176
|
+
const fs$36 = require("fs");
|
|
50177
50177
|
const shebangCommand = require_shebang_command();
|
|
50178
50178
|
function readShebang(command) {
|
|
50179
50179
|
const size = 150;
|
|
50180
50180
|
const buffer = Buffer.alloc(size);
|
|
50181
50181
|
let fd;
|
|
50182
50182
|
try {
|
|
50183
|
-
fd = fs$
|
|
50184
|
-
fs$
|
|
50185
|
-
fs$
|
|
50183
|
+
fd = fs$36.openSync(command, "r");
|
|
50184
|
+
fs$36.readSync(fd, buffer, 0, size, 0);
|
|
50185
|
+
fs$36.closeSync(fd);
|
|
50186
50186
|
} catch (e) {}
|
|
50187
50187
|
return shebangCommand(buffer.toString());
|
|
50188
50188
|
}
|
|
@@ -57139,7 +57139,7 @@ var require_write_entry = /* @__PURE__ */ require_chunk.__commonJSMin(((exports,
|
|
|
57139
57139
|
const { Minipass } = require_minipass$4();
|
|
57140
57140
|
const Pax = require_pax();
|
|
57141
57141
|
const Header = require_header();
|
|
57142
|
-
const fs$
|
|
57142
|
+
const fs$35 = require("fs");
|
|
57143
57143
|
const path$36 = require("path");
|
|
57144
57144
|
const normPath = require_normalize_windows_path();
|
|
57145
57145
|
const stripSlash = require_strip_trailing_slashes();
|
|
@@ -57227,7 +57227,7 @@ var require_write_entry = /* @__PURE__ */ require_chunk.__commonJSMin(((exports,
|
|
|
57227
57227
|
return super.emit(ev, ...data);
|
|
57228
57228
|
}
|
|
57229
57229
|
[LSTAT]() {
|
|
57230
|
-
fs$
|
|
57230
|
+
fs$35.lstat(this.absolute, (er, stat) => {
|
|
57231
57231
|
if (er) return this.emit("error", er);
|
|
57232
57232
|
this[ONLSTAT](stat);
|
|
57233
57233
|
});
|
|
@@ -57292,7 +57292,7 @@ var require_write_entry = /* @__PURE__ */ require_chunk.__commonJSMin(((exports,
|
|
|
57292
57292
|
this.end();
|
|
57293
57293
|
}
|
|
57294
57294
|
[SYMLINK]() {
|
|
57295
|
-
fs$
|
|
57295
|
+
fs$35.readlink(this.absolute, (er, linkpath) => {
|
|
57296
57296
|
if (er) return this.emit("error", er);
|
|
57297
57297
|
this[ONREADLINK](linkpath);
|
|
57298
57298
|
});
|
|
@@ -57323,7 +57323,7 @@ var require_write_entry = /* @__PURE__ */ require_chunk.__commonJSMin(((exports,
|
|
|
57323
57323
|
this[OPENFILE]();
|
|
57324
57324
|
}
|
|
57325
57325
|
[OPENFILE]() {
|
|
57326
|
-
fs$
|
|
57326
|
+
fs$35.open(this.absolute, "r", (er, fd) => {
|
|
57327
57327
|
if (er) return this.emit("error", er);
|
|
57328
57328
|
this[ONOPENFILE](fd);
|
|
57329
57329
|
});
|
|
@@ -57343,13 +57343,13 @@ var require_write_entry = /* @__PURE__ */ require_chunk.__commonJSMin(((exports,
|
|
|
57343
57343
|
}
|
|
57344
57344
|
[READ]() {
|
|
57345
57345
|
const { fd, buf, offset, length, pos } = this;
|
|
57346
|
-
fs$
|
|
57346
|
+
fs$35.read(fd, buf, offset, length, pos, (er, bytesRead) => {
|
|
57347
57347
|
if (er) return this[CLOSE](() => this.emit("error", er));
|
|
57348
57348
|
this[ONREAD](bytesRead);
|
|
57349
57349
|
});
|
|
57350
57350
|
}
|
|
57351
57351
|
[CLOSE](cb) {
|
|
57352
|
-
fs$
|
|
57352
|
+
fs$35.close(this.fd, cb);
|
|
57353
57353
|
}
|
|
57354
57354
|
[ONREAD](bytesRead) {
|
|
57355
57355
|
if (bytesRead <= 0 && this.remain > 0) {
|
|
@@ -57405,19 +57405,19 @@ var require_write_entry = /* @__PURE__ */ require_chunk.__commonJSMin(((exports,
|
|
|
57405
57405
|
});
|
|
57406
57406
|
var WriteEntrySync = class extends WriteEntry {
|
|
57407
57407
|
[LSTAT]() {
|
|
57408
|
-
this[ONLSTAT](fs$
|
|
57408
|
+
this[ONLSTAT](fs$35.lstatSync(this.absolute));
|
|
57409
57409
|
}
|
|
57410
57410
|
[SYMLINK]() {
|
|
57411
|
-
this[ONREADLINK](fs$
|
|
57411
|
+
this[ONREADLINK](fs$35.readlinkSync(this.absolute));
|
|
57412
57412
|
}
|
|
57413
57413
|
[OPENFILE]() {
|
|
57414
|
-
this[ONOPENFILE](fs$
|
|
57414
|
+
this[ONOPENFILE](fs$35.openSync(this.absolute, "r"));
|
|
57415
57415
|
}
|
|
57416
57416
|
[READ]() {
|
|
57417
57417
|
let threw = true;
|
|
57418
57418
|
try {
|
|
57419
57419
|
const { fd, buf, offset, length, pos } = this;
|
|
57420
|
-
const bytesRead = fs$
|
|
57420
|
+
const bytesRead = fs$35.readSync(fd, buf, offset, length, pos);
|
|
57421
57421
|
this[ONREAD](bytesRead);
|
|
57422
57422
|
threw = false;
|
|
57423
57423
|
} finally {
|
|
@@ -57430,7 +57430,7 @@ var require_write_entry = /* @__PURE__ */ require_chunk.__commonJSMin(((exports,
|
|
|
57430
57430
|
cb();
|
|
57431
57431
|
}
|
|
57432
57432
|
[CLOSE](cb) {
|
|
57433
|
-
fs$
|
|
57433
|
+
fs$35.closeSync(this.fd);
|
|
57434
57434
|
cb();
|
|
57435
57435
|
}
|
|
57436
57436
|
};
|
|
@@ -57827,7 +57827,7 @@ var require_pack$1 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
|
|
|
57827
57827
|
const WRITEENTRYCLASS = Symbol("writeEntryClass");
|
|
57828
57828
|
const WRITE = Symbol("write");
|
|
57829
57829
|
const ONDRAIN = Symbol("ondrain");
|
|
57830
|
-
const fs$
|
|
57830
|
+
const fs$34 = require("fs");
|
|
57831
57831
|
const path$35 = require("path");
|
|
57832
57832
|
const warner = require_warn_mixin();
|
|
57833
57833
|
const normPath = require_normalize_windows_path();
|
|
@@ -57916,7 +57916,7 @@ var require_pack$1 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
|
|
|
57916
57916
|
[STAT](job) {
|
|
57917
57917
|
job.pending = true;
|
|
57918
57918
|
this[JOBS] += 1;
|
|
57919
|
-
fs$
|
|
57919
|
+
fs$34[this.follow ? "stat" : "lstat"](job.absolute, (er, stat) => {
|
|
57920
57920
|
job.pending = false;
|
|
57921
57921
|
this[JOBS] -= 1;
|
|
57922
57922
|
if (er) this.emit("error", er);
|
|
@@ -57932,7 +57932,7 @@ var require_pack$1 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
|
|
|
57932
57932
|
[READDIR](job) {
|
|
57933
57933
|
job.pending = true;
|
|
57934
57934
|
this[JOBS] += 1;
|
|
57935
|
-
fs$
|
|
57935
|
+
fs$34.readdir(job.absolute, (er, entries) => {
|
|
57936
57936
|
job.pending = false;
|
|
57937
57937
|
this[JOBS] -= 1;
|
|
57938
57938
|
if (er) return this.emit("error", er);
|
|
@@ -58050,10 +58050,10 @@ var require_pack$1 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
|
|
|
58050
58050
|
resume() {}
|
|
58051
58051
|
[STAT](job) {
|
|
58052
58052
|
const stat = this.follow ? "statSync" : "lstatSync";
|
|
58053
|
-
this[ONSTAT](job, fs$
|
|
58053
|
+
this[ONSTAT](job, fs$34[stat](job.absolute));
|
|
58054
58054
|
}
|
|
58055
58055
|
[READDIR](job, stat) {
|
|
58056
|
-
this[ONREADDIR](job, fs$
|
|
58056
|
+
this[ONREADDIR](job, fs$34.readdirSync(job.absolute));
|
|
58057
58057
|
}
|
|
58058
58058
|
[PIPE](job) {
|
|
58059
58059
|
const source = job.entry;
|
|
@@ -58509,8 +58509,8 @@ while (this[FLUSHCHUNK](this[BUFFERSHIFT]()));
|
|
|
58509
58509
|
var require_fs_minipass = /* @__PURE__ */ require_chunk.__commonJSMin(((exports) => {
|
|
58510
58510
|
const MiniPass = require_minipass$2();
|
|
58511
58511
|
const EE$11 = require("events").EventEmitter;
|
|
58512
|
-
const fs$
|
|
58513
|
-
let writev = fs$
|
|
58512
|
+
const fs$33 = require("fs");
|
|
58513
|
+
let writev = fs$33.writev;
|
|
58514
58514
|
/* istanbul ignore next */
|
|
58515
58515
|
if (!writev) {
|
|
58516
58516
|
const binding = process.binding("fs");
|
|
@@ -58581,7 +58581,7 @@ var require_fs_minipass = /* @__PURE__ */ require_chunk.__commonJSMin(((exports)
|
|
|
58581
58581
|
throw new TypeError("this is a readable stream");
|
|
58582
58582
|
}
|
|
58583
58583
|
[_open]() {
|
|
58584
|
-
fs$
|
|
58584
|
+
fs$33.open(this[_path], "r", (er, fd) => this[_onopen](er, fd));
|
|
58585
58585
|
}
|
|
58586
58586
|
[_onopen](er, fd) {
|
|
58587
58587
|
if (er) this[_onerror](er);
|
|
@@ -58600,7 +58600,7 @@ var require_fs_minipass = /* @__PURE__ */ require_chunk.__commonJSMin(((exports)
|
|
|
58600
58600
|
const buf = this[_makeBuf]();
|
|
58601
58601
|
/* istanbul ignore if */
|
|
58602
58602
|
if (buf.length === 0) return process.nextTick(() => this[_onread](null, 0, buf));
|
|
58603
|
-
fs$
|
|
58603
|
+
fs$33.read(this[_fd], buf, 0, buf.length, null, (er, br, buf) => this[_onread](er, br, buf));
|
|
58604
58604
|
}
|
|
58605
58605
|
}
|
|
58606
58606
|
[_onread](er, br, buf) {
|
|
@@ -58612,7 +58612,7 @@ var require_fs_minipass = /* @__PURE__ */ require_chunk.__commonJSMin(((exports)
|
|
|
58612
58612
|
if (this[_autoClose] && typeof this[_fd] === "number") {
|
|
58613
58613
|
const fd = this[_fd];
|
|
58614
58614
|
this[_fd] = null;
|
|
58615
|
-
fs$
|
|
58615
|
+
fs$33.close(fd, (er) => er ? this.emit("error", er) : this.emit("close"));
|
|
58616
58616
|
}
|
|
58617
58617
|
}
|
|
58618
58618
|
[_onerror](er) {
|
|
@@ -58650,7 +58650,7 @@ var require_fs_minipass = /* @__PURE__ */ require_chunk.__commonJSMin(((exports)
|
|
|
58650
58650
|
[_open]() {
|
|
58651
58651
|
let threw = true;
|
|
58652
58652
|
try {
|
|
58653
|
-
this[_onopen](null, fs$
|
|
58653
|
+
this[_onopen](null, fs$33.openSync(this[_path], "r"));
|
|
58654
58654
|
threw = false;
|
|
58655
58655
|
} finally {
|
|
58656
58656
|
if (threw) this[_close]();
|
|
@@ -58664,7 +58664,7 @@ var require_fs_minipass = /* @__PURE__ */ require_chunk.__commonJSMin(((exports)
|
|
|
58664
58664
|
do {
|
|
58665
58665
|
const buf = this[_makeBuf]();
|
|
58666
58666
|
/* istanbul ignore next */
|
|
58667
|
-
const br = buf.length === 0 ? 0 : fs$
|
|
58667
|
+
const br = buf.length === 0 ? 0 : fs$33.readSync(this[_fd], buf, 0, buf.length, null);
|
|
58668
58668
|
if (!this[_handleChunk](br, buf)) break;
|
|
58669
58669
|
} while (true);
|
|
58670
58670
|
this[_reading] = false;
|
|
@@ -58678,7 +58678,7 @@ var require_fs_minipass = /* @__PURE__ */ require_chunk.__commonJSMin(((exports)
|
|
|
58678
58678
|
if (this[_autoClose] && typeof this[_fd] === "number") {
|
|
58679
58679
|
const fd = this[_fd];
|
|
58680
58680
|
this[_fd] = null;
|
|
58681
|
-
fs$
|
|
58681
|
+
fs$33.closeSync(fd);
|
|
58682
58682
|
this.emit("close");
|
|
58683
58683
|
}
|
|
58684
58684
|
}
|
|
@@ -58723,7 +58723,7 @@ var require_fs_minipass = /* @__PURE__ */ require_chunk.__commonJSMin(((exports)
|
|
|
58723
58723
|
this.emit("error", er);
|
|
58724
58724
|
}
|
|
58725
58725
|
[_open]() {
|
|
58726
|
-
fs$
|
|
58726
|
+
fs$33.open(this[_path], this[_flags], this[_mode], (er, fd) => this[_onopen](er, fd));
|
|
58727
58727
|
}
|
|
58728
58728
|
[_onopen](er, fd) {
|
|
58729
58729
|
if (this[_defaultFlag] && this[_flags] === "r+" && er && er.code === "ENOENT") {
|
|
@@ -58758,7 +58758,7 @@ var require_fs_minipass = /* @__PURE__ */ require_chunk.__commonJSMin(((exports)
|
|
|
58758
58758
|
return true;
|
|
58759
58759
|
}
|
|
58760
58760
|
[_write](buf) {
|
|
58761
|
-
fs$
|
|
58761
|
+
fs$33.write(this[_fd], buf, 0, buf.length, this[_pos], (er, bw) => this[_onwrite](er, bw));
|
|
58762
58762
|
}
|
|
58763
58763
|
[_onwrite](er, bw) {
|
|
58764
58764
|
if (er) this[_onerror](er);
|
|
@@ -58792,7 +58792,7 @@ var require_fs_minipass = /* @__PURE__ */ require_chunk.__commonJSMin(((exports)
|
|
|
58792
58792
|
if (this[_autoClose] && typeof this[_fd] === "number") {
|
|
58793
58793
|
const fd = this[_fd];
|
|
58794
58794
|
this[_fd] = null;
|
|
58795
|
-
fs$
|
|
58795
|
+
fs$33.close(fd, (er) => er ? this.emit("error", er) : this.emit("close"));
|
|
58796
58796
|
}
|
|
58797
58797
|
}
|
|
58798
58798
|
};
|
|
@@ -58800,28 +58800,28 @@ var require_fs_minipass = /* @__PURE__ */ require_chunk.__commonJSMin(((exports)
|
|
|
58800
58800
|
[_open]() {
|
|
58801
58801
|
let fd;
|
|
58802
58802
|
if (this[_defaultFlag] && this[_flags] === "r+") try {
|
|
58803
|
-
fd = fs$
|
|
58803
|
+
fd = fs$33.openSync(this[_path], this[_flags], this[_mode]);
|
|
58804
58804
|
} catch (er) {
|
|
58805
58805
|
if (er.code === "ENOENT") {
|
|
58806
58806
|
this[_flags] = "w";
|
|
58807
58807
|
return this[_open]();
|
|
58808
58808
|
} else throw er;
|
|
58809
58809
|
}
|
|
58810
|
-
else fd = fs$
|
|
58810
|
+
else fd = fs$33.openSync(this[_path], this[_flags], this[_mode]);
|
|
58811
58811
|
this[_onopen](null, fd);
|
|
58812
58812
|
}
|
|
58813
58813
|
[_close]() {
|
|
58814
58814
|
if (this[_autoClose] && typeof this[_fd] === "number") {
|
|
58815
58815
|
const fd = this[_fd];
|
|
58816
58816
|
this[_fd] = null;
|
|
58817
|
-
fs$
|
|
58817
|
+
fs$33.closeSync(fd);
|
|
58818
58818
|
this.emit("close");
|
|
58819
58819
|
}
|
|
58820
58820
|
}
|
|
58821
58821
|
[_write](buf) {
|
|
58822
58822
|
let threw = true;
|
|
58823
58823
|
try {
|
|
58824
|
-
this[_onwrite](null, fs$
|
|
58824
|
+
this[_onwrite](null, fs$33.writeSync(this[_fd], buf, 0, buf.length, this[_pos]));
|
|
58825
58825
|
threw = false;
|
|
58826
58826
|
} finally {
|
|
58827
58827
|
if (threw) try {
|
|
@@ -59186,7 +59186,7 @@ while (this[PROCESSENTRY](this[QUEUE].shift()));
|
|
|
59186
59186
|
var require_list = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
|
|
59187
59187
|
const hlo = require_high_level_opt();
|
|
59188
59188
|
const Parser = require_parse$4();
|
|
59189
|
-
const fs$
|
|
59189
|
+
const fs$32 = require("fs");
|
|
59190
59190
|
const fsm = require_fs_minipass();
|
|
59191
59191
|
const path$34 = require("path");
|
|
59192
59192
|
const stripSlash = require_strip_trailing_slashes();
|
|
@@ -59227,15 +59227,15 @@ var require_list = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module
|
|
|
59227
59227
|
let threw = true;
|
|
59228
59228
|
let fd;
|
|
59229
59229
|
try {
|
|
59230
|
-
const stat = fs$
|
|
59230
|
+
const stat = fs$32.statSync(file);
|
|
59231
59231
|
const readSize = opt.maxReadSize || 16 * 1024 * 1024;
|
|
59232
|
-
if (stat.size < readSize) p.end(fs$
|
|
59232
|
+
if (stat.size < readSize) p.end(fs$32.readFileSync(file));
|
|
59233
59233
|
else {
|
|
59234
59234
|
let pos = 0;
|
|
59235
59235
|
const buf = Buffer.allocUnsafe(readSize);
|
|
59236
|
-
fd = fs$
|
|
59236
|
+
fd = fs$32.openSync(file, "r");
|
|
59237
59237
|
while (pos < stat.size) {
|
|
59238
|
-
const bytesRead = fs$
|
|
59238
|
+
const bytesRead = fs$32.readSync(fd, buf, 0, readSize, pos);
|
|
59239
59239
|
pos += bytesRead;
|
|
59240
59240
|
p.write(buf.slice(0, bytesRead));
|
|
59241
59241
|
}
|
|
@@ -59244,7 +59244,7 @@ var require_list = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module
|
|
|
59244
59244
|
threw = false;
|
|
59245
59245
|
} finally {
|
|
59246
59246
|
if (threw && fd) try {
|
|
59247
|
-
fs$
|
|
59247
|
+
fs$32.closeSync(fd);
|
|
59248
59248
|
} catch (er) {}
|
|
59249
59249
|
}
|
|
59250
59250
|
};
|
|
@@ -59255,7 +59255,7 @@ var require_list = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module
|
|
|
59255
59255
|
const p = new Promise((resolve, reject) => {
|
|
59256
59256
|
parse.on("error", reject);
|
|
59257
59257
|
parse.on("end", resolve);
|
|
59258
|
-
fs$
|
|
59258
|
+
fs$32.stat(file, (er, stat) => {
|
|
59259
59259
|
if (er) reject(er);
|
|
59260
59260
|
else {
|
|
59261
59261
|
const stream = new fsm.ReadStream(file, {
|
|
@@ -59347,7 +59347,7 @@ var require_create = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
|
|
|
59347
59347
|
var require_replace = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
|
|
59348
59348
|
const hlo = require_high_level_opt();
|
|
59349
59349
|
const Pack = require_pack$1();
|
|
59350
|
-
const fs$
|
|
59350
|
+
const fs$31 = require("fs");
|
|
59351
59351
|
const fsm = require_fs_minipass();
|
|
59352
59352
|
const t = require_list();
|
|
59353
59353
|
const path$32 = require("path");
|
|
@@ -59367,16 +59367,16 @@ var require_replace = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mod
|
|
|
59367
59367
|
let position;
|
|
59368
59368
|
try {
|
|
59369
59369
|
try {
|
|
59370
|
-
fd = fs$
|
|
59370
|
+
fd = fs$31.openSync(opt.file, "r+");
|
|
59371
59371
|
} catch (er) {
|
|
59372
|
-
if (er.code === "ENOENT") fd = fs$
|
|
59372
|
+
if (er.code === "ENOENT") fd = fs$31.openSync(opt.file, "w+");
|
|
59373
59373
|
else throw er;
|
|
59374
59374
|
}
|
|
59375
|
-
const st = fs$
|
|
59375
|
+
const st = fs$31.fstatSync(fd);
|
|
59376
59376
|
const headBuf = Buffer.alloc(512);
|
|
59377
59377
|
POSITION: for (position = 0; position < st.size; position += 512) {
|
|
59378
59378
|
for (let bufPos = 0, bytes = 0; bufPos < 512; bufPos += bytes) {
|
|
59379
|
-
bytes = fs$
|
|
59379
|
+
bytes = fs$31.readSync(fd, headBuf, bufPos, headBuf.length - bufPos, position + bufPos);
|
|
59380
59380
|
if (position === 0 && headBuf[0] === 31 && headBuf[1] === 139) throw new Error("cannot append to compressed archives");
|
|
59381
59381
|
if (!bytes) break POSITION;
|
|
59382
59382
|
}
|
|
@@ -59391,7 +59391,7 @@ var require_replace = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mod
|
|
|
59391
59391
|
streamSync(opt, p, position, fd, files);
|
|
59392
59392
|
} finally {
|
|
59393
59393
|
if (threw) try {
|
|
59394
|
-
fs$
|
|
59394
|
+
fs$31.closeSync(fd);
|
|
59395
59395
|
} catch (er) {}
|
|
59396
59396
|
}
|
|
59397
59397
|
};
|
|
@@ -59408,7 +59408,7 @@ var require_replace = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mod
|
|
|
59408
59408
|
const p = new Pack(opt);
|
|
59409
59409
|
const getPos = (fd, size, cb_) => {
|
|
59410
59410
|
const cb = (er, pos) => {
|
|
59411
|
-
if (er) fs$
|
|
59411
|
+
if (er) fs$31.close(fd, (_) => cb_(er));
|
|
59412
59412
|
else cb_(null, pos);
|
|
59413
59413
|
};
|
|
59414
59414
|
let position = 0;
|
|
@@ -59418,7 +59418,7 @@ var require_replace = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mod
|
|
|
59418
59418
|
const onread = (er, bytes) => {
|
|
59419
59419
|
if (er) return cb(er);
|
|
59420
59420
|
bufPos += bytes;
|
|
59421
|
-
if (bufPos < 512 && bytes) return fs$
|
|
59421
|
+
if (bufPos < 512 && bytes) return fs$31.read(fd, headBuf, bufPos, headBuf.length - bufPos, position + bufPos, onread);
|
|
59422
59422
|
if (position === 0 && headBuf[0] === 31 && headBuf[1] === 139) return cb(/* @__PURE__ */ new Error("cannot append to compressed archives"));
|
|
59423
59423
|
if (bufPos < 512) return cb(null, position);
|
|
59424
59424
|
const h = new Header(headBuf);
|
|
@@ -59429,9 +59429,9 @@ var require_replace = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mod
|
|
|
59429
59429
|
if (position >= size) return cb(null, position);
|
|
59430
59430
|
if (opt.mtimeCache) opt.mtimeCache.set(h.path, h.mtime);
|
|
59431
59431
|
bufPos = 0;
|
|
59432
|
-
fs$
|
|
59432
|
+
fs$31.read(fd, headBuf, 0, 512, position, onread);
|
|
59433
59433
|
};
|
|
59434
|
-
fs$
|
|
59434
|
+
fs$31.read(fd, headBuf, 0, 512, position, onread);
|
|
59435
59435
|
};
|
|
59436
59436
|
const promise = new Promise((resolve, reject) => {
|
|
59437
59437
|
p.on("error", reject);
|
|
@@ -59439,11 +59439,11 @@ var require_replace = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mod
|
|
|
59439
59439
|
const onopen = (er, fd) => {
|
|
59440
59440
|
if (er && er.code === "ENOENT" && flag === "r+") {
|
|
59441
59441
|
flag = "w+";
|
|
59442
|
-
return fs$
|
|
59442
|
+
return fs$31.open(opt.file, flag, onopen);
|
|
59443
59443
|
}
|
|
59444
59444
|
if (er) return reject(er);
|
|
59445
|
-
fs$
|
|
59446
|
-
if (er) return fs$
|
|
59445
|
+
fs$31.fstat(fd, (er, st) => {
|
|
59446
|
+
if (er) return fs$31.close(fd, () => reject(er));
|
|
59447
59447
|
getPos(fd, st.size, (er, position) => {
|
|
59448
59448
|
if (er) return reject(er);
|
|
59449
59449
|
const stream = new fsm.WriteStream(opt.file, {
|
|
@@ -59457,7 +59457,7 @@ var require_replace = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mod
|
|
|
59457
59457
|
});
|
|
59458
59458
|
});
|
|
59459
59459
|
};
|
|
59460
|
-
fs$
|
|
59460
|
+
fs$31.open(opt.file, flag, onopen);
|
|
59461
59461
|
});
|
|
59462
59462
|
return cb ? promise.then(cb, cb) : promise;
|
|
59463
59463
|
};
|
|
@@ -59510,32 +59510,32 @@ var require_update = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
|
|
|
59510
59510
|
//#region ../../node_modules/mkdirp/lib/opts-arg.js
|
|
59511
59511
|
var require_opts_arg = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
|
|
59512
59512
|
const { promisify: promisify$2 } = require("util");
|
|
59513
|
-
const fs$
|
|
59513
|
+
const fs$30 = require("fs");
|
|
59514
59514
|
const optsArg = (opts) => {
|
|
59515
59515
|
if (!opts) opts = {
|
|
59516
59516
|
mode: 511,
|
|
59517
|
-
fs: fs$
|
|
59517
|
+
fs: fs$30
|
|
59518
59518
|
};
|
|
59519
59519
|
else if (typeof opts === "object") opts = {
|
|
59520
59520
|
mode: 511,
|
|
59521
|
-
fs: fs$
|
|
59521
|
+
fs: fs$30,
|
|
59522
59522
|
...opts
|
|
59523
59523
|
};
|
|
59524
59524
|
else if (typeof opts === "number") opts = {
|
|
59525
59525
|
mode: opts,
|
|
59526
|
-
fs: fs$
|
|
59526
|
+
fs: fs$30
|
|
59527
59527
|
};
|
|
59528
59528
|
else if (typeof opts === "string") opts = {
|
|
59529
59529
|
mode: parseInt(opts, 8),
|
|
59530
|
-
fs: fs$
|
|
59530
|
+
fs: fs$30
|
|
59531
59531
|
};
|
|
59532
59532
|
else throw new TypeError("invalid options argument");
|
|
59533
|
-
opts.mkdir = opts.mkdir || opts.fs.mkdir || fs$
|
|
59533
|
+
opts.mkdir = opts.mkdir || opts.fs.mkdir || fs$30.mkdir;
|
|
59534
59534
|
opts.mkdirAsync = promisify$2(opts.mkdir);
|
|
59535
|
-
opts.stat = opts.stat || opts.fs.stat || fs$
|
|
59535
|
+
opts.stat = opts.stat || opts.fs.stat || fs$30.stat;
|
|
59536
59536
|
opts.statAsync = promisify$2(opts.stat);
|
|
59537
|
-
opts.statSync = opts.statSync || opts.fs.statSync || fs$
|
|
59538
|
-
opts.mkdirSync = opts.mkdirSync || opts.fs.mkdirSync || fs$
|
|
59537
|
+
opts.statSync = opts.statSync || opts.fs.statSync || fs$30.statSync;
|
|
59538
|
+
opts.mkdirSync = opts.mkdirSync || opts.fs.mkdirSync || fs$30.mkdirSync;
|
|
59539
59539
|
return opts;
|
|
59540
59540
|
};
|
|
59541
59541
|
module.exports = optsArg;
|
|
@@ -59566,17 +59566,17 @@ var require_path_arg = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mo
|
|
|
59566
59566
|
//#endregion
|
|
59567
59567
|
//#region ../../node_modules/mkdirp/lib/find-made.js
|
|
59568
59568
|
var require_find_made = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
|
|
59569
|
-
const { dirname: dirname$
|
|
59569
|
+
const { dirname: dirname$15 } = require("path");
|
|
59570
59570
|
const findMade = (opts, parent, path$85 = void 0) => {
|
|
59571
59571
|
if (path$85 === parent) return Promise.resolve();
|
|
59572
|
-
return opts.statAsync(parent).then((st) => st.isDirectory() ? path$85 : void 0, (er) => er.code === "ENOENT" ? findMade(opts, dirname$
|
|
59572
|
+
return opts.statAsync(parent).then((st) => st.isDirectory() ? path$85 : void 0, (er) => er.code === "ENOENT" ? findMade(opts, dirname$15(parent), parent) : void 0);
|
|
59573
59573
|
};
|
|
59574
59574
|
const findMadeSync = (opts, parent, path$86 = void 0) => {
|
|
59575
59575
|
if (path$86 === parent) return void 0;
|
|
59576
59576
|
try {
|
|
59577
59577
|
return opts.statSync(parent).isDirectory() ? path$86 : void 0;
|
|
59578
59578
|
} catch (er) {
|
|
59579
|
-
return er.code === "ENOENT" ? findMadeSync(opts, dirname$
|
|
59579
|
+
return er.code === "ENOENT" ? findMadeSync(opts, dirname$15(parent), parent) : void 0;
|
|
59580
59580
|
}
|
|
59581
59581
|
};
|
|
59582
59582
|
module.exports = {
|
|
@@ -59587,10 +59587,10 @@ var require_find_made = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, m
|
|
|
59587
59587
|
//#endregion
|
|
59588
59588
|
//#region ../../node_modules/mkdirp/lib/mkdirp-manual.js
|
|
59589
59589
|
var require_mkdirp_manual = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
|
|
59590
|
-
const { dirname: dirname$
|
|
59590
|
+
const { dirname: dirname$14 } = require("path");
|
|
59591
59591
|
const mkdirpManual = (path$83, opts, made) => {
|
|
59592
59592
|
opts.recursive = false;
|
|
59593
|
-
const parent = dirname$
|
|
59593
|
+
const parent = dirname$14(path$83);
|
|
59594
59594
|
if (parent === path$83) return opts.mkdirAsync(path$83, opts).catch((er) => {
|
|
59595
59595
|
if (er.code !== "EISDIR") throw er;
|
|
59596
59596
|
});
|
|
@@ -59606,7 +59606,7 @@ var require_mkdirp_manual = /* @__PURE__ */ require_chunk.__commonJSMin(((export
|
|
|
59606
59606
|
});
|
|
59607
59607
|
};
|
|
59608
59608
|
const mkdirpManualSync = (path$84, opts, made) => {
|
|
59609
|
-
const parent = dirname$
|
|
59609
|
+
const parent = dirname$14(path$84);
|
|
59610
59610
|
opts.recursive = false;
|
|
59611
59611
|
if (parent === path$84) try {
|
|
59612
59612
|
return opts.mkdirSync(path$84, opts);
|
|
@@ -59635,12 +59635,12 @@ var require_mkdirp_manual = /* @__PURE__ */ require_chunk.__commonJSMin(((export
|
|
|
59635
59635
|
//#endregion
|
|
59636
59636
|
//#region ../../node_modules/mkdirp/lib/mkdirp-native.js
|
|
59637
59637
|
var require_mkdirp_native = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
|
|
59638
|
-
const { dirname: dirname$
|
|
59638
|
+
const { dirname: dirname$13 } = require("path");
|
|
59639
59639
|
const { findMade, findMadeSync } = require_find_made();
|
|
59640
59640
|
const { mkdirpManual, mkdirpManualSync } = require_mkdirp_manual();
|
|
59641
59641
|
const mkdirpNative = (path$81, opts) => {
|
|
59642
59642
|
opts.recursive = true;
|
|
59643
|
-
if (dirname$
|
|
59643
|
+
if (dirname$13(path$81) === path$81) return opts.mkdirAsync(path$81, opts);
|
|
59644
59644
|
return findMade(opts, path$81).then((made) => opts.mkdirAsync(path$81, opts).then(() => made).catch((er) => {
|
|
59645
59645
|
if (er.code === "ENOENT") return mkdirpManual(path$81, opts);
|
|
59646
59646
|
else throw er;
|
|
@@ -59648,7 +59648,7 @@ var require_mkdirp_native = /* @__PURE__ */ require_chunk.__commonJSMin(((export
|
|
|
59648
59648
|
};
|
|
59649
59649
|
const mkdirpNativeSync = (path$82, opts) => {
|
|
59650
59650
|
opts.recursive = true;
|
|
59651
|
-
if (dirname$
|
|
59651
|
+
if (dirname$13(path$82) === path$82) return opts.mkdirSync(path$82, opts);
|
|
59652
59652
|
const made = findMadeSync(opts, path$82);
|
|
59653
59653
|
try {
|
|
59654
59654
|
opts.mkdirSync(path$82, opts);
|
|
@@ -59666,12 +59666,12 @@ var require_mkdirp_native = /* @__PURE__ */ require_chunk.__commonJSMin(((export
|
|
|
59666
59666
|
//#endregion
|
|
59667
59667
|
//#region ../../node_modules/mkdirp/lib/use-native.js
|
|
59668
59668
|
var require_use_native = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
|
|
59669
|
-
const fs$
|
|
59669
|
+
const fs$29 = require("fs");
|
|
59670
59670
|
const versArr = (process.env.__TESTING_MKDIRP_NODE_VERSION__ || process.version).replace(/^v/, "").split(".");
|
|
59671
59671
|
const hasNative = +versArr[0] > 10 || +versArr[0] === 10 && +versArr[1] >= 12;
|
|
59672
59672
|
module.exports = {
|
|
59673
|
-
useNative: !hasNative ? () => false : (opts) => opts.mkdir === fs$
|
|
59674
|
-
useNativeSync: !hasNative ? () => false : (opts) => opts.mkdirSync === fs$
|
|
59673
|
+
useNative: !hasNative ? () => false : (opts) => opts.mkdir === fs$29.mkdir,
|
|
59674
|
+
useNativeSync: !hasNative ? () => false : (opts) => opts.mkdirSync === fs$29.mkdirSync
|
|
59675
59675
|
};
|
|
59676
59676
|
}));
|
|
59677
59677
|
//#endregion
|
|
@@ -59702,17 +59702,17 @@ var require_mkdirp = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
|
|
|
59702
59702
|
//#endregion
|
|
59703
59703
|
//#region ../../node_modules/chownr/chownr.js
|
|
59704
59704
|
var require_chownr = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
|
|
59705
|
-
const fs$
|
|
59705
|
+
const fs$28 = require("fs");
|
|
59706
59706
|
const path$31 = require("path");
|
|
59707
59707
|
/* istanbul ignore next */
|
|
59708
|
-
const LCHOWN = fs$
|
|
59708
|
+
const LCHOWN = fs$28.lchown ? "lchown" : "chown";
|
|
59709
59709
|
/* istanbul ignore next */
|
|
59710
|
-
const LCHOWNSYNC = fs$
|
|
59710
|
+
const LCHOWNSYNC = fs$28.lchownSync ? "lchownSync" : "chownSync";
|
|
59711
59711
|
/* istanbul ignore next */
|
|
59712
|
-
const needEISDIRHandled = fs$
|
|
59712
|
+
const needEISDIRHandled = fs$28.lchown && !process.version.match(/v1[1-9]+\./) && !process.version.match(/v10\.[6-9]/);
|
|
59713
59713
|
const lchownSync = (path$73, uid, gid) => {
|
|
59714
59714
|
try {
|
|
59715
|
-
return fs$
|
|
59715
|
+
return fs$28[LCHOWNSYNC](path$73, uid, gid);
|
|
59716
59716
|
} catch (er) {
|
|
59717
59717
|
if (er.code !== "ENOENT") throw er;
|
|
59718
59718
|
}
|
|
@@ -59720,7 +59720,7 @@ var require_chownr = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
|
|
|
59720
59720
|
/* istanbul ignore next */
|
|
59721
59721
|
const chownSync = (path$74, uid, gid) => {
|
|
59722
59722
|
try {
|
|
59723
|
-
return fs$
|
|
59723
|
+
return fs$28.chownSync(path$74, uid, gid);
|
|
59724
59724
|
} catch (er) {
|
|
59725
59725
|
if (er.code !== "ENOENT") throw er;
|
|
59726
59726
|
}
|
|
@@ -59728,7 +59728,7 @@ var require_chownr = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
|
|
|
59728
59728
|
/* istanbul ignore next */
|
|
59729
59729
|
const handleEISDIR = needEISDIRHandled ? (path$75, uid, gid, cb) => (er) => {
|
|
59730
59730
|
if (!er || er.code !== "EISDIR") cb(er);
|
|
59731
|
-
else fs$
|
|
59731
|
+
else fs$28.chown(path$75, uid, gid, cb);
|
|
59732
59732
|
} : (_, __, ___, cb) => cb;
|
|
59733
59733
|
/* istanbul ignore next */
|
|
59734
59734
|
const handleEISDirSync = needEISDIRHandled ? (path$76, uid, gid) => {
|
|
@@ -59740,17 +59740,17 @@ var require_chownr = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
|
|
|
59740
59740
|
}
|
|
59741
59741
|
} : (path$77, uid, gid) => lchownSync(path$77, uid, gid);
|
|
59742
59742
|
const nodeVersion = process.version;
|
|
59743
|
-
let readdir = (path$78, options, cb) => fs$
|
|
59744
|
-
let readdirSync = (path$79, options) => fs$
|
|
59743
|
+
let readdir = (path$78, options, cb) => fs$28.readdir(path$78, options, cb);
|
|
59744
|
+
let readdirSync = (path$79, options) => fs$28.readdirSync(path$79, options);
|
|
59745
59745
|
/* istanbul ignore next */
|
|
59746
|
-
if (/^v4\./.test(nodeVersion)) readdir = (path$80, options, cb) => fs$
|
|
59746
|
+
if (/^v4\./.test(nodeVersion)) readdir = (path$80, options, cb) => fs$28.readdir(path$80, cb);
|
|
59747
59747
|
const chown = (cpath, uid, gid, cb) => {
|
|
59748
|
-
fs$
|
|
59748
|
+
fs$28[LCHOWN](cpath, uid, gid, handleEISDIR(cpath, uid, gid, (er) => {
|
|
59749
59749
|
cb(er && er.code !== "ENOENT" ? er : null);
|
|
59750
59750
|
}));
|
|
59751
59751
|
};
|
|
59752
59752
|
const chownrKid = (p, child, uid, gid, cb) => {
|
|
59753
|
-
if (typeof child === "string") return fs$
|
|
59753
|
+
if (typeof child === "string") return fs$28.lstat(path$31.resolve(p, child), (er, stats) => {
|
|
59754
59754
|
if (er) return cb(er.code !== "ENOENT" ? er : null);
|
|
59755
59755
|
stats.name = child;
|
|
59756
59756
|
chownrKid(p, stats, uid, gid, cb);
|
|
@@ -59780,7 +59780,7 @@ var require_chownr = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
|
|
|
59780
59780
|
};
|
|
59781
59781
|
const chownrKidSync = (p, child, uid, gid) => {
|
|
59782
59782
|
if (typeof child === "string") try {
|
|
59783
|
-
const stats = fs$
|
|
59783
|
+
const stats = fs$28.lstatSync(path$31.resolve(p, child));
|
|
59784
59784
|
stats.name = child;
|
|
59785
59785
|
child = stats;
|
|
59786
59786
|
} catch (er) {
|
|
@@ -59809,7 +59809,7 @@ var require_chownr = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
|
|
|
59809
59809
|
//#region ../../node_modules/tar/lib/mkdir.js
|
|
59810
59810
|
var require_mkdir = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
|
|
59811
59811
|
const mkdirp = require_mkdirp();
|
|
59812
|
-
const fs$
|
|
59812
|
+
const fs$27 = require("fs");
|
|
59813
59813
|
const path$30 = require("path");
|
|
59814
59814
|
const chownr = require_chownr();
|
|
59815
59815
|
const normPath = require_normalize_windows_path();
|
|
@@ -59836,7 +59836,7 @@ var require_mkdir = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modul
|
|
|
59836
59836
|
const cGet = (cache, key) => cache.get(normPath(key));
|
|
59837
59837
|
const cSet = (cache, key, val) => cache.set(normPath(key), val);
|
|
59838
59838
|
const checkCwd = (dir, cb) => {
|
|
59839
|
-
fs$
|
|
59839
|
+
fs$27.stat(dir, (er, st) => {
|
|
59840
59840
|
if (er || !st.isDirectory()) er = new CwdError(dir, er && er.code || "ENOTDIR");
|
|
59841
59841
|
cb(er);
|
|
59842
59842
|
});
|
|
@@ -59858,7 +59858,7 @@ var require_mkdir = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modul
|
|
|
59858
59858
|
else {
|
|
59859
59859
|
cSet(cache, dir, true);
|
|
59860
59860
|
if (created && doChown) chownr(created, uid, gid, (er) => done(er));
|
|
59861
|
-
else if (needChmod) fs$
|
|
59861
|
+
else if (needChmod) fs$27.chmod(dir, mode, cb);
|
|
59862
59862
|
else cb();
|
|
59863
59863
|
}
|
|
59864
59864
|
};
|
|
@@ -59872,17 +59872,17 @@ var require_mkdir = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modul
|
|
|
59872
59872
|
const p = parts.shift();
|
|
59873
59873
|
const part = normPath(path$30.resolve(base + "/" + p));
|
|
59874
59874
|
if (cGet(cache, part)) return mkdir_(part, parts, mode, cache, unlink, cwd, created, cb);
|
|
59875
|
-
fs$
|
|
59875
|
+
fs$27.mkdir(part, mode, onmkdir(part, parts, mode, cache, unlink, cwd, created, cb));
|
|
59876
59876
|
};
|
|
59877
59877
|
const onmkdir = (part, parts, mode, cache, unlink, cwd, created, cb) => (er) => {
|
|
59878
|
-
if (er) fs$
|
|
59878
|
+
if (er) fs$27.lstat(part, (statEr, st) => {
|
|
59879
59879
|
if (statEr) {
|
|
59880
59880
|
statEr.path = statEr.path && normPath(statEr.path);
|
|
59881
59881
|
cb(statEr);
|
|
59882
59882
|
} else if (st.isDirectory()) mkdir_(part, parts, mode, cache, unlink, cwd, created, cb);
|
|
59883
|
-
else if (unlink) fs$
|
|
59883
|
+
else if (unlink) fs$27.unlink(part, (er) => {
|
|
59884
59884
|
if (er) return cb(er);
|
|
59885
|
-
fs$
|
|
59885
|
+
fs$27.mkdir(part, mode, onmkdir(part, parts, mode, cache, unlink, cwd, created, cb));
|
|
59886
59886
|
});
|
|
59887
59887
|
else if (st.isSymbolicLink()) return cb(new SymlinkError(part, part + "/" + parts.join("/")));
|
|
59888
59888
|
else cb(er);
|
|
@@ -59896,7 +59896,7 @@ var require_mkdir = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modul
|
|
|
59896
59896
|
let ok = false;
|
|
59897
59897
|
let code = "ENOTDIR";
|
|
59898
59898
|
try {
|
|
59899
|
-
ok = fs$
|
|
59899
|
+
ok = fs$27.statSync(dir).isDirectory();
|
|
59900
59900
|
} catch (er) {
|
|
59901
59901
|
code = er.code;
|
|
59902
59902
|
} finally {
|
|
@@ -59918,7 +59918,7 @@ var require_mkdir = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modul
|
|
|
59918
59918
|
const done = (created) => {
|
|
59919
59919
|
cSet(cache, dir, true);
|
|
59920
59920
|
if (created && doChown) chownr.sync(created, uid, gid);
|
|
59921
|
-
if (needChmod) fs$
|
|
59921
|
+
if (needChmod) fs$27.chmodSync(dir, mode);
|
|
59922
59922
|
};
|
|
59923
59923
|
if (cache && cGet(cache, dir) === true) return done();
|
|
59924
59924
|
if (dir === cwd) {
|
|
@@ -59932,17 +59932,17 @@ var require_mkdir = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modul
|
|
|
59932
59932
|
part = normPath(path$30.resolve(part));
|
|
59933
59933
|
if (cGet(cache, part)) continue;
|
|
59934
59934
|
try {
|
|
59935
|
-
fs$
|
|
59935
|
+
fs$27.mkdirSync(part, mode);
|
|
59936
59936
|
created = created || part;
|
|
59937
59937
|
cSet(cache, part, true);
|
|
59938
59938
|
} catch (er) {
|
|
59939
|
-
const st = fs$
|
|
59939
|
+
const st = fs$27.lstatSync(part);
|
|
59940
59940
|
if (st.isDirectory()) {
|
|
59941
59941
|
cSet(cache, part, true);
|
|
59942
59942
|
continue;
|
|
59943
59943
|
} else if (unlink) {
|
|
59944
|
-
fs$
|
|
59945
|
-
fs$
|
|
59944
|
+
fs$27.unlinkSync(part);
|
|
59945
|
+
fs$27.mkdirSync(part, mode);
|
|
59946
59946
|
created = created || part;
|
|
59947
59947
|
cSet(cache, part, true);
|
|
59948
59948
|
continue;
|
|
@@ -59968,14 +59968,14 @@ var require_path_reservations = /* @__PURE__ */ require_chunk.__commonJSMin(((ex
|
|
|
59968
59968
|
const assert$1 = require("assert");
|
|
59969
59969
|
const normalize = require_normalize_unicode();
|
|
59970
59970
|
const stripSlashes = require_strip_trailing_slashes();
|
|
59971
|
-
const { join: join$
|
|
59971
|
+
const { join: join$17 } = require("path");
|
|
59972
59972
|
const isWindows = (process.env.TESTING_TAR_FAKE_PLATFORM || process.platform) === "win32";
|
|
59973
59973
|
module.exports = () => {
|
|
59974
59974
|
const queues = /* @__PURE__ */ new Map();
|
|
59975
59975
|
const reservations = /* @__PURE__ */ new Map();
|
|
59976
59976
|
const getDirs = (path$64) => {
|
|
59977
59977
|
return path$64.split("/").slice(0, -1).reduce((set, path$65) => {
|
|
59978
|
-
if (set.length) path$65 = join$
|
|
59978
|
+
if (set.length) path$65 = join$17(set[set.length - 1], path$65);
|
|
59979
59979
|
set.push(path$65 || "/");
|
|
59980
59980
|
return set;
|
|
59981
59981
|
}, []);
|
|
@@ -60029,7 +60029,7 @@ var require_path_reservations = /* @__PURE__ */ require_chunk.__commonJSMin(((ex
|
|
|
60029
60029
|
};
|
|
60030
60030
|
const reserve = (paths, fn) => {
|
|
60031
60031
|
paths = isWindows ? ["win32 parallelization disabled"] : paths.map((p) => {
|
|
60032
|
-
return stripSlashes(join$
|
|
60032
|
+
return stripSlashes(join$17(normalize(p))).toLowerCase();
|
|
60033
60033
|
});
|
|
60034
60034
|
const dirs = new Set(paths.map((path$69) => getDirs(path$69)).reduce((a, b) => a.concat(b)));
|
|
60035
60035
|
reservations.set(fn, {
|
|
@@ -60071,7 +60071,7 @@ var require_get_write_flag = /* @__PURE__ */ require_chunk.__commonJSMin(((expor
|
|
|
60071
60071
|
var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
|
|
60072
60072
|
const assert = require("assert");
|
|
60073
60073
|
const Parser = require_parse$4();
|
|
60074
|
-
const fs$
|
|
60074
|
+
const fs$26 = require("fs");
|
|
60075
60075
|
const fsm = require_fs_minipass();
|
|
60076
60076
|
const path$29 = require("path");
|
|
60077
60077
|
const mkdir = require_mkdir();
|
|
@@ -60112,19 +60112,19 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
|
|
|
60112
60112
|
const DEFAULT_MAX_DEPTH = 1024;
|
|
60113
60113
|
/* istanbul ignore next */
|
|
60114
60114
|
const unlinkFile = (path$60, cb) => {
|
|
60115
|
-
if (!isWindows) return fs$
|
|
60115
|
+
if (!isWindows) return fs$26.unlink(path$60, cb);
|
|
60116
60116
|
const name = path$60 + ".DELETE." + crypto$4.randomBytes(16).toString("hex");
|
|
60117
|
-
fs$
|
|
60117
|
+
fs$26.rename(path$60, name, (er) => {
|
|
60118
60118
|
if (er) return cb(er);
|
|
60119
|
-
fs$
|
|
60119
|
+
fs$26.unlink(name, cb);
|
|
60120
60120
|
});
|
|
60121
60121
|
};
|
|
60122
60122
|
/* istanbul ignore next */
|
|
60123
60123
|
const unlinkFileSync = (path$61) => {
|
|
60124
|
-
if (!isWindows) return fs$
|
|
60124
|
+
if (!isWindows) return fs$26.unlinkSync(path$61);
|
|
60125
60125
|
const name = path$61 + ".DELETE." + crypto$4.randomBytes(16).toString("hex");
|
|
60126
|
-
fs$
|
|
60127
|
-
fs$
|
|
60126
|
+
fs$26.renameSync(path$61, name);
|
|
60127
|
+
fs$26.unlinkSync(name);
|
|
60128
60128
|
};
|
|
60129
60129
|
const uint32 = (a, b, c) => a === a >>> 0 ? a : b === b >>> 0 ? b : c;
|
|
60130
60130
|
const cacheKeyNormalize = (path$62) => stripSlash(normPath(normalize(path$62))).toLowerCase();
|
|
@@ -60310,7 +60310,7 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
|
|
|
60310
60310
|
autoClose: false
|
|
60311
60311
|
});
|
|
60312
60312
|
stream.on("error", (er) => {
|
|
60313
|
-
if (stream.fd) fs$
|
|
60313
|
+
if (stream.fd) fs$26.close(stream.fd, () => {});
|
|
60314
60314
|
stream.write = () => true;
|
|
60315
60315
|
this[ONERROR](er, entry);
|
|
60316
60316
|
fullyDone();
|
|
@@ -60319,12 +60319,12 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
|
|
|
60319
60319
|
const done = (er) => {
|
|
60320
60320
|
if (er) {
|
|
60321
60321
|
/* istanbul ignore else - we should always have a fd by now */
|
|
60322
|
-
if (stream.fd) fs$
|
|
60322
|
+
if (stream.fd) fs$26.close(stream.fd, () => {});
|
|
60323
60323
|
this[ONERROR](er, entry);
|
|
60324
60324
|
fullyDone();
|
|
60325
60325
|
return;
|
|
60326
60326
|
}
|
|
60327
|
-
if (--actions === 0) fs$
|
|
60327
|
+
if (--actions === 0) fs$26.close(stream.fd, (er) => {
|
|
60328
60328
|
if (er) this[ONERROR](er, entry);
|
|
60329
60329
|
else this[UNPEND]();
|
|
60330
60330
|
fullyDone();
|
|
@@ -60337,13 +60337,13 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
|
|
|
60337
60337
|
actions++;
|
|
60338
60338
|
const atime = entry.atime || /* @__PURE__ */ new Date();
|
|
60339
60339
|
const mtime = entry.mtime;
|
|
60340
|
-
fs$
|
|
60340
|
+
fs$26.futimes(fd, atime, mtime, (er) => er ? fs$26.utimes(abs, atime, mtime, (er2) => done(er2 && er)) : done());
|
|
60341
60341
|
}
|
|
60342
60342
|
if (this[DOCHOWN](entry)) {
|
|
60343
60343
|
actions++;
|
|
60344
60344
|
const uid = this[UID](entry);
|
|
60345
60345
|
const gid = this[GID](entry);
|
|
60346
|
-
fs$
|
|
60346
|
+
fs$26.fchown(fd, uid, gid, (er) => er ? fs$26.chown(abs, uid, gid, (er2) => done(er2 && er)) : done());
|
|
60347
60347
|
}
|
|
60348
60348
|
done();
|
|
60349
60349
|
});
|
|
@@ -60375,11 +60375,11 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
|
|
|
60375
60375
|
};
|
|
60376
60376
|
if (entry.mtime && !this.noMtime) {
|
|
60377
60377
|
actions++;
|
|
60378
|
-
fs$
|
|
60378
|
+
fs$26.utimes(entry.absolute, entry.atime || /* @__PURE__ */ new Date(), entry.mtime, done);
|
|
60379
60379
|
}
|
|
60380
60380
|
if (this[DOCHOWN](entry)) {
|
|
60381
60381
|
actions++;
|
|
60382
|
-
fs$
|
|
60382
|
+
fs$26.chown(entry.absolute, this[UID](entry), this[GID](entry), done);
|
|
60383
60383
|
}
|
|
60384
60384
|
done();
|
|
60385
60385
|
});
|
|
@@ -60452,7 +60452,7 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
|
|
|
60452
60452
|
afterMakeParent();
|
|
60453
60453
|
};
|
|
60454
60454
|
const afterMakeParent = () => {
|
|
60455
|
-
fs$
|
|
60455
|
+
fs$26.lstat(entry.absolute, (lstatEr, st) => {
|
|
60456
60456
|
if (st && (this.keep || this.newer && st.mtime > entry.mtime)) {
|
|
60457
60457
|
this[SKIP](entry);
|
|
60458
60458
|
done();
|
|
@@ -60464,9 +60464,9 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
|
|
|
60464
60464
|
const needChmod = !this.noChmod && entry.mode && (st.mode & 4095) !== entry.mode;
|
|
60465
60465
|
const afterChmod = (er) => this[MAKEFS](er, entry, done);
|
|
60466
60466
|
if (!needChmod) return afterChmod();
|
|
60467
|
-
return fs$
|
|
60467
|
+
return fs$26.chmod(entry.absolute, entry.mode, afterChmod);
|
|
60468
60468
|
}
|
|
60469
|
-
if (entry.absolute !== this.cwd) return fs$
|
|
60469
|
+
if (entry.absolute !== this.cwd) return fs$26.rmdir(entry.absolute, (er) => this[MAKEFS](er, entry, done));
|
|
60470
60470
|
}
|
|
60471
60471
|
if (entry.absolute === this.cwd) return this[MAKEFS](null, entry, done);
|
|
60472
60472
|
unlinkFile(entry.absolute, (er) => this[MAKEFS](er, entry, done));
|
|
@@ -60492,7 +60492,7 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
|
|
|
60492
60492
|
}
|
|
60493
60493
|
}
|
|
60494
60494
|
[LINK](entry, linkpath, link, done) {
|
|
60495
|
-
fs$
|
|
60495
|
+
fs$26[link](linkpath, entry.absolute, (er) => {
|
|
60496
60496
|
if (er) this[ONERROR](er, entry);
|
|
60497
60497
|
else {
|
|
60498
60498
|
this[UNPEND]();
|
|
@@ -60527,17 +60527,17 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
|
|
|
60527
60527
|
if (mkParent) return this[ONERROR](mkParent, entry);
|
|
60528
60528
|
}
|
|
60529
60529
|
}
|
|
60530
|
-
const [lstatEr, st] = callSync(() => fs$
|
|
60530
|
+
const [lstatEr, st] = callSync(() => fs$26.lstatSync(entry.absolute));
|
|
60531
60531
|
if (st && (this.keep || this.newer && st.mtime > entry.mtime)) return this[SKIP](entry);
|
|
60532
60532
|
if (lstatEr || this[ISREUSABLE](entry, st)) return this[MAKEFS](null, entry);
|
|
60533
60533
|
if (st.isDirectory()) {
|
|
60534
60534
|
if (entry.type === "Directory") {
|
|
60535
60535
|
const [er] = !this.noChmod && entry.mode && (st.mode & 4095) !== entry.mode ? callSync(() => {
|
|
60536
|
-
fs$
|
|
60536
|
+
fs$26.chmodSync(entry.absolute, entry.mode);
|
|
60537
60537
|
}) : [];
|
|
60538
60538
|
return this[MAKEFS](er, entry);
|
|
60539
60539
|
}
|
|
60540
|
-
const [er] = callSync(() => fs$
|
|
60540
|
+
const [er] = callSync(() => fs$26.rmdirSync(entry.absolute));
|
|
60541
60541
|
this[MAKEFS](er, entry);
|
|
60542
60542
|
}
|
|
60543
60543
|
const [er] = entry.absolute === this.cwd ? [] : callSync(() => unlinkFileSync(entry.absolute));
|
|
@@ -60548,7 +60548,7 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
|
|
|
60548
60548
|
const oner = (er) => {
|
|
60549
60549
|
let closeError;
|
|
60550
60550
|
try {
|
|
60551
|
-
fs$
|
|
60551
|
+
fs$26.closeSync(fd);
|
|
60552
60552
|
} catch (e) {
|
|
60553
60553
|
closeError = e;
|
|
60554
60554
|
}
|
|
@@ -60557,7 +60557,7 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
|
|
|
60557
60557
|
};
|
|
60558
60558
|
let fd;
|
|
60559
60559
|
try {
|
|
60560
|
-
fd = fs$
|
|
60560
|
+
fd = fs$26.openSync(entry.absolute, getFlag(entry.size), mode);
|
|
60561
60561
|
} catch (er) {
|
|
60562
60562
|
return oner(er);
|
|
60563
60563
|
}
|
|
@@ -60568,7 +60568,7 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
|
|
|
60568
60568
|
}
|
|
60569
60569
|
tx.on("data", (chunk) => {
|
|
60570
60570
|
try {
|
|
60571
|
-
fs$
|
|
60571
|
+
fs$26.writeSync(fd, chunk, 0, chunk.length);
|
|
60572
60572
|
} catch (er) {
|
|
60573
60573
|
oner(er);
|
|
60574
60574
|
}
|
|
@@ -60579,10 +60579,10 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
|
|
|
60579
60579
|
const atime = entry.atime || /* @__PURE__ */ new Date();
|
|
60580
60580
|
const mtime = entry.mtime;
|
|
60581
60581
|
try {
|
|
60582
|
-
fs$
|
|
60582
|
+
fs$26.futimesSync(fd, atime, mtime);
|
|
60583
60583
|
} catch (futimeser) {
|
|
60584
60584
|
try {
|
|
60585
|
-
fs$
|
|
60585
|
+
fs$26.utimesSync(entry.absolute, atime, mtime);
|
|
60586
60586
|
} catch (utimeser) {
|
|
60587
60587
|
er = futimeser;
|
|
60588
60588
|
}
|
|
@@ -60592,10 +60592,10 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
|
|
|
60592
60592
|
const uid = this[UID](entry);
|
|
60593
60593
|
const gid = this[GID](entry);
|
|
60594
60594
|
try {
|
|
60595
|
-
fs$
|
|
60595
|
+
fs$26.fchownSync(fd, uid, gid);
|
|
60596
60596
|
} catch (fchowner) {
|
|
60597
60597
|
try {
|
|
60598
|
-
fs$
|
|
60598
|
+
fs$26.chownSync(entry.absolute, uid, gid);
|
|
60599
60599
|
} catch (chowner) {
|
|
60600
60600
|
er = er || fchowner;
|
|
60601
60601
|
}
|
|
@@ -60613,10 +60613,10 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
|
|
|
60613
60613
|
return;
|
|
60614
60614
|
}
|
|
60615
60615
|
if (entry.mtime && !this.noMtime) try {
|
|
60616
|
-
fs$
|
|
60616
|
+
fs$26.utimesSync(entry.absolute, entry.atime || /* @__PURE__ */ new Date(), entry.mtime);
|
|
60617
60617
|
} catch (er) {}
|
|
60618
60618
|
if (this[DOCHOWN](entry)) try {
|
|
60619
|
-
fs$
|
|
60619
|
+
fs$26.chownSync(entry.absolute, this[UID](entry), this[GID](entry));
|
|
60620
60620
|
} catch (er) {}
|
|
60621
60621
|
done();
|
|
60622
60622
|
entry.resume();
|
|
@@ -60641,7 +60641,7 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
|
|
|
60641
60641
|
}
|
|
60642
60642
|
[LINK](entry, linkpath, link, done) {
|
|
60643
60643
|
try {
|
|
60644
|
-
fs$
|
|
60644
|
+
fs$26[link + "Sync"](linkpath, entry.absolute);
|
|
60645
60645
|
done();
|
|
60646
60646
|
entry.resume();
|
|
60647
60647
|
} catch (er) {
|
|
@@ -60657,7 +60657,7 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
|
|
|
60657
60657
|
var require_extract$1 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
|
|
60658
60658
|
const hlo = require_high_level_opt();
|
|
60659
60659
|
const Unpack = require_unpack();
|
|
60660
|
-
const fs$
|
|
60660
|
+
const fs$25 = require("fs");
|
|
60661
60661
|
const fsm = require_fs_minipass();
|
|
60662
60662
|
const path$28 = require("path");
|
|
60663
60663
|
const stripSlash = require_strip_trailing_slashes();
|
|
@@ -60687,7 +60687,7 @@ var require_extract$1 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, m
|
|
|
60687
60687
|
const extractFileSync = (opt) => {
|
|
60688
60688
|
const u = new Unpack.Sync(opt);
|
|
60689
60689
|
const file = opt.file;
|
|
60690
|
-
const stat = fs$
|
|
60690
|
+
const stat = fs$25.statSync(file);
|
|
60691
60691
|
const readSize = opt.maxReadSize || 16 * 1024 * 1024;
|
|
60692
60692
|
new fsm.ReadStreamSync(file, {
|
|
60693
60693
|
readSize,
|
|
@@ -60701,7 +60701,7 @@ var require_extract$1 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, m
|
|
|
60701
60701
|
const p = new Promise((resolve, reject) => {
|
|
60702
60702
|
u.on("error", reject);
|
|
60703
60703
|
u.on("close", resolve);
|
|
60704
|
-
fs$
|
|
60704
|
+
fs$25.stat(file, (er, stat) => {
|
|
60705
60705
|
if (er) reject(er);
|
|
60706
60706
|
else {
|
|
60707
60707
|
const stream = new fsm.ReadStream(file, {
|
|
@@ -60784,7 +60784,7 @@ var require_pend = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module
|
|
|
60784
60784
|
//#endregion
|
|
60785
60785
|
//#region ../../node_modules/fd-slicer/index.js
|
|
60786
60786
|
var require_fd_slicer = /* @__PURE__ */ require_chunk.__commonJSMin(((exports) => {
|
|
60787
|
-
var fs$
|
|
60787
|
+
var fs$24 = require("fs");
|
|
60788
60788
|
var util$9 = require("util");
|
|
60789
60789
|
var stream$1 = require("stream");
|
|
60790
60790
|
var Readable = stream$1.Readable;
|
|
@@ -60809,7 +60809,7 @@ var require_fd_slicer = /* @__PURE__ */ require_chunk.__commonJSMin(((exports) =
|
|
|
60809
60809
|
FdSlicer.prototype.read = function(buffer, offset, length, position, callback) {
|
|
60810
60810
|
var self = this;
|
|
60811
60811
|
self.pend.go(function(cb) {
|
|
60812
|
-
fs$
|
|
60812
|
+
fs$24.read(self.fd, buffer, offset, length, position, function(err, bytesRead, buffer) {
|
|
60813
60813
|
cb();
|
|
60814
60814
|
callback(err, bytesRead, buffer);
|
|
60815
60815
|
});
|
|
@@ -60818,7 +60818,7 @@ var require_fd_slicer = /* @__PURE__ */ require_chunk.__commonJSMin(((exports) =
|
|
|
60818
60818
|
FdSlicer.prototype.write = function(buffer, offset, length, position, callback) {
|
|
60819
60819
|
var self = this;
|
|
60820
60820
|
self.pend.go(function(cb) {
|
|
60821
|
-
fs$
|
|
60821
|
+
fs$24.write(self.fd, buffer, offset, length, position, function(err, written, buffer) {
|
|
60822
60822
|
cb();
|
|
60823
60823
|
callback(err, written, buffer);
|
|
60824
60824
|
});
|
|
@@ -60838,7 +60838,7 @@ var require_fd_slicer = /* @__PURE__ */ require_chunk.__commonJSMin(((exports) =
|
|
|
60838
60838
|
self.refCount -= 1;
|
|
60839
60839
|
if (self.refCount > 0) return;
|
|
60840
60840
|
if (self.refCount < 0) throw new Error("invalid unref");
|
|
60841
|
-
if (self.autoClose) fs$
|
|
60841
|
+
if (self.autoClose) fs$24.close(self.fd, onCloseDone);
|
|
60842
60842
|
function onCloseDone(err) {
|
|
60843
60843
|
if (err) self.emit("error", err);
|
|
60844
60844
|
else self.emit("close");
|
|
@@ -60869,7 +60869,7 @@ var require_fd_slicer = /* @__PURE__ */ require_chunk.__commonJSMin(((exports) =
|
|
|
60869
60869
|
self.context.pend.go(function(cb) {
|
|
60870
60870
|
if (self.destroyed) return cb();
|
|
60871
60871
|
var buffer = new Buffer(toRead);
|
|
60872
|
-
fs$
|
|
60872
|
+
fs$24.read(self.context.fd, buffer, 0, toRead, self.pos, function(err, bytesRead) {
|
|
60873
60873
|
if (err) self.destroy(err);
|
|
60874
60874
|
else if (bytesRead === 0) {
|
|
60875
60875
|
self.destroyed = true;
|
|
@@ -60915,7 +60915,7 @@ var require_fd_slicer = /* @__PURE__ */ require_chunk.__commonJSMin(((exports) =
|
|
|
60915
60915
|
}
|
|
60916
60916
|
self.context.pend.go(function(cb) {
|
|
60917
60917
|
if (self.destroyed) return cb();
|
|
60918
|
-
fs$
|
|
60918
|
+
fs$24.write(self.context.fd, buffer, 0, buffer.length, self.pos, function(err, bytes) {
|
|
60919
60919
|
if (err) {
|
|
60920
60920
|
self.destroy();
|
|
60921
60921
|
cb();
|
|
@@ -62497,13 +62497,13 @@ var require_minimatch$1 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports,
|
|
|
62497
62497
|
//#region ../../node_modules/readdir-glob/index.js
|
|
62498
62498
|
var require_readdir_glob = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
|
|
62499
62499
|
module.exports = readdirGlob;
|
|
62500
|
-
const fs$
|
|
62500
|
+
const fs$22 = require("fs");
|
|
62501
62501
|
const { EventEmitter: EventEmitter$1 } = require("events");
|
|
62502
62502
|
const { Minimatch } = require_minimatch$1();
|
|
62503
62503
|
const { resolve: resolve$12 } = require("path");
|
|
62504
62504
|
function readdir(dir, strict) {
|
|
62505
62505
|
return new Promise((resolve, reject) => {
|
|
62506
|
-
fs$
|
|
62506
|
+
fs$22.readdir(dir, { withFileTypes: true }, (err, files) => {
|
|
62507
62507
|
if (err) switch (err.code) {
|
|
62508
62508
|
case "ENOTDIR":
|
|
62509
62509
|
if (strict) reject(err);
|
|
@@ -62525,7 +62525,7 @@ var require_readdir_glob = /* @__PURE__ */ require_chunk.__commonJSMin(((exports
|
|
|
62525
62525
|
}
|
|
62526
62526
|
function stat(file, followSymlinks) {
|
|
62527
62527
|
return new Promise((resolve, reject) => {
|
|
62528
|
-
(followSymlinks ? fs$
|
|
62528
|
+
(followSymlinks ? fs$22.stat : fs$22.lstat)(file, (err, stats) => {
|
|
62529
62529
|
if (err) switch (err.code) {
|
|
62530
62530
|
case "ENOENT":
|
|
62531
62531
|
if (followSymlinks) resolve(stat(file, false));
|
|
@@ -68564,7 +68564,7 @@ var require_clone$1 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mod
|
|
|
68564
68564
|
//#endregion
|
|
68565
68565
|
//#region ../../node_modules/graceful-fs/graceful-fs.js
|
|
68566
68566
|
var require_graceful_fs = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
|
|
68567
|
-
var fs$
|
|
68567
|
+
var fs$21 = require("fs");
|
|
68568
68568
|
var polyfills = require_polyfills();
|
|
68569
68569
|
var legacy = require_legacy_streams();
|
|
68570
68570
|
var clone = require_clone$1();
|
|
@@ -68593,36 +68593,36 @@ var require_graceful_fs = /* @__PURE__ */ require_chunk.__commonJSMin(((exports,
|
|
|
68593
68593
|
m = "GFS4: " + m.split(/\n/).join("\nGFS4: ");
|
|
68594
68594
|
console.error(m);
|
|
68595
68595
|
};
|
|
68596
|
-
if (!fs$
|
|
68597
|
-
publishQueue(fs$
|
|
68598
|
-
fs$
|
|
68596
|
+
if (!fs$21[gracefulQueue]) {
|
|
68597
|
+
publishQueue(fs$21, global[gracefulQueue] || []);
|
|
68598
|
+
fs$21.close = (function(fs$close) {
|
|
68599
68599
|
function close(fd, cb) {
|
|
68600
|
-
return fs$close.call(fs$
|
|
68600
|
+
return fs$close.call(fs$21, fd, function(err) {
|
|
68601
68601
|
if (!err) resetQueue();
|
|
68602
68602
|
if (typeof cb === "function") cb.apply(this, arguments);
|
|
68603
68603
|
});
|
|
68604
68604
|
}
|
|
68605
68605
|
Object.defineProperty(close, previousSymbol, { value: fs$close });
|
|
68606
68606
|
return close;
|
|
68607
|
-
})(fs$
|
|
68608
|
-
fs$
|
|
68607
|
+
})(fs$21.close);
|
|
68608
|
+
fs$21.closeSync = (function(fs$closeSync) {
|
|
68609
68609
|
function closeSync(fd) {
|
|
68610
|
-
fs$closeSync.apply(fs$
|
|
68610
|
+
fs$closeSync.apply(fs$21, arguments);
|
|
68611
68611
|
resetQueue();
|
|
68612
68612
|
}
|
|
68613
68613
|
Object.defineProperty(closeSync, previousSymbol, { value: fs$closeSync });
|
|
68614
68614
|
return closeSync;
|
|
68615
|
-
})(fs$
|
|
68615
|
+
})(fs$21.closeSync);
|
|
68616
68616
|
if (/\bgfs4\b/i.test(process.env.NODE_DEBUG || "")) process.on("exit", function() {
|
|
68617
|
-
debug(fs$
|
|
68618
|
-
require("assert").equal(fs$
|
|
68617
|
+
debug(fs$21[gracefulQueue]);
|
|
68618
|
+
require("assert").equal(fs$21[gracefulQueue].length, 0);
|
|
68619
68619
|
});
|
|
68620
68620
|
}
|
|
68621
|
-
if (!global[gracefulQueue]) publishQueue(global, fs$
|
|
68622
|
-
module.exports = patch(clone(fs$
|
|
68623
|
-
if (process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH && !fs$
|
|
68624
|
-
module.exports = patch(fs$
|
|
68625
|
-
fs$
|
|
68621
|
+
if (!global[gracefulQueue]) publishQueue(global, fs$21[gracefulQueue]);
|
|
68622
|
+
module.exports = patch(clone(fs$21));
|
|
68623
|
+
if (process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH && !fs$21.__patched) {
|
|
68624
|
+
module.exports = patch(fs$21);
|
|
68625
|
+
fs$21.__patched = true;
|
|
68626
68626
|
}
|
|
68627
68627
|
function patch(fs) {
|
|
68628
68628
|
polyfills(fs);
|
|
@@ -68877,23 +68877,23 @@ var require_graceful_fs = /* @__PURE__ */ require_chunk.__commonJSMin(((exports,
|
|
|
68877
68877
|
}
|
|
68878
68878
|
function enqueue(elem) {
|
|
68879
68879
|
debug("ENQUEUE", elem[0].name, elem[1]);
|
|
68880
|
-
fs$
|
|
68880
|
+
fs$21[gracefulQueue].push(elem);
|
|
68881
68881
|
retry();
|
|
68882
68882
|
}
|
|
68883
68883
|
var retryTimer;
|
|
68884
68884
|
function resetQueue() {
|
|
68885
68885
|
var now = Date.now();
|
|
68886
|
-
for (var i = 0; i < fs$
|
|
68887
|
-
fs$
|
|
68888
|
-
fs$
|
|
68886
|
+
for (var i = 0; i < fs$21[gracefulQueue].length; ++i) if (fs$21[gracefulQueue][i].length > 2) {
|
|
68887
|
+
fs$21[gracefulQueue][i][3] = now;
|
|
68888
|
+
fs$21[gracefulQueue][i][4] = now;
|
|
68889
68889
|
}
|
|
68890
68890
|
retry();
|
|
68891
68891
|
}
|
|
68892
68892
|
function retry() {
|
|
68893
68893
|
clearTimeout(retryTimer);
|
|
68894
68894
|
retryTimer = void 0;
|
|
68895
|
-
if (fs$
|
|
68896
|
-
var elem = fs$
|
|
68895
|
+
if (fs$21[gracefulQueue].length === 0) return;
|
|
68896
|
+
var elem = fs$21[gracefulQueue].shift();
|
|
68897
68897
|
var fn = elem[0];
|
|
68898
68898
|
var args = elem[1];
|
|
68899
68899
|
var err = elem[2];
|
|
@@ -68912,7 +68912,7 @@ var require_graceful_fs = /* @__PURE__ */ require_chunk.__commonJSMin(((exports,
|
|
|
68912
68912
|
if (sinceAttempt >= Math.min(sinceStart * 1.2, 100)) {
|
|
68913
68913
|
debug("RETRY", fn.name, args);
|
|
68914
68914
|
fn.apply(null, args.concat([startTime]));
|
|
68915
|
-
} else fs$
|
|
68915
|
+
} else fs$21[gracefulQueue].push(elem);
|
|
68916
68916
|
}
|
|
68917
68917
|
if (retryTimer === void 0) retryTimer = setTimeout(retry, 0);
|
|
68918
68918
|
}
|
|
@@ -84309,7 +84309,7 @@ var require_core = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module
|
|
|
84309
84309
|
* @license [MIT]{@link https://github.com/archiverjs/node-archiver/blob/master/LICENSE}
|
|
84310
84310
|
* @copyright (c) 2012-2014 Chris Talkington, contributors.
|
|
84311
84311
|
*/
|
|
84312
|
-
var fs$
|
|
84312
|
+
var fs$20 = require("fs");
|
|
84313
84313
|
var glob = require_readdir_glob();
|
|
84314
84314
|
var async = require_async();
|
|
84315
84315
|
var path$25 = require("path");
|
|
@@ -84386,7 +84386,7 @@ var require_core = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module
|
|
|
84386
84386
|
data.sourcePath = filepath;
|
|
84387
84387
|
task.data = data;
|
|
84388
84388
|
this._entriesCount++;
|
|
84389
|
-
if (data.stats && data.stats instanceof fs$
|
|
84389
|
+
if (data.stats && data.stats instanceof fs$20.Stats) {
|
|
84390
84390
|
task = this._updateQueueTaskWithStats(task, data.stats);
|
|
84391
84391
|
if (task) {
|
|
84392
84392
|
if (data.stats.size) this._fsEntriesTotalBytes += data.stats.size;
|
|
@@ -84616,7 +84616,7 @@ var require_core = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module
|
|
|
84616
84616
|
callback();
|
|
84617
84617
|
return;
|
|
84618
84618
|
}
|
|
84619
|
-
fs$
|
|
84619
|
+
fs$20.lstat(task.filepath, function(err, stats) {
|
|
84620
84620
|
if (this._state.aborted) {
|
|
84621
84621
|
setImmediate(callback);
|
|
84622
84622
|
return;
|
|
@@ -84682,7 +84682,7 @@ var require_core = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module
|
|
|
84682
84682
|
task.data.sourceType = "buffer";
|
|
84683
84683
|
task.source = Buffer.concat([]);
|
|
84684
84684
|
} else if (stats.isSymbolicLink() && this._moduleSupports("symlink")) {
|
|
84685
|
-
var linkPath = fs$
|
|
84685
|
+
var linkPath = fs$20.readlinkSync(task.filepath);
|
|
84686
84686
|
var dirName = path$25.dirname(task.filepath);
|
|
84687
84687
|
task.data.type = "symlink";
|
|
84688
84688
|
task.data.linkname = path$25.relative(dirName, path$25.resolve(dirName, linkPath));
|
|
@@ -95710,7 +95710,7 @@ var require_index_min$3 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports)
|
|
|
95710
95710
|
//#region ../../node_modules/@npmcli/promise-spawn/node_modules/which/lib/index.js
|
|
95711
95711
|
var require_lib$27 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
|
|
95712
95712
|
const { isexe, sync: isexeSync } = require_index_min$3();
|
|
95713
|
-
const { join: join$
|
|
95713
|
+
const { join: join$14, delimiter: delimiter$3, sep: sep$4, posix: posix$1 } = require("path");
|
|
95714
95714
|
const isWindows = process.platform === "win32";
|
|
95715
95715
|
/* istanbul ignore next */
|
|
95716
95716
|
const rSlash = new RegExp(`[${posix$1.sep}${sep$4 === posix$1.sep ? "" : sep$4}]`.replace(/(\\)/g, "\\$1"));
|
|
@@ -95740,7 +95740,7 @@ var require_lib$27 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
|
|
|
95740
95740
|
};
|
|
95741
95741
|
const getPathPart = (raw, cmd) => {
|
|
95742
95742
|
const pathPart = /^".*"$/.test(raw) ? raw.slice(1, -1) : raw;
|
|
95743
|
-
return (!pathPart && rRel.test(cmd) ? cmd.slice(0, 2) : "") + join$
|
|
95743
|
+
return (!pathPart && rRel.test(cmd) ? cmd.slice(0, 2) : "") + join$14(pathPart, cmd);
|
|
95744
95744
|
};
|
|
95745
95745
|
const which = async (cmd, opt = {}) => {
|
|
95746
95746
|
const { pathEnv, pathExt, pathExtExe } = getPathInfo(cmd, opt);
|
|
@@ -96319,7 +96319,7 @@ var require_ini = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module)
|
|
|
96319
96319
|
//#endregion
|
|
96320
96320
|
//#region ../../node_modules/@npmcli/git/lib/opts.js
|
|
96321
96321
|
var require_opts = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
|
|
96322
|
-
const fs$
|
|
96322
|
+
const fs$18 = require("node:fs");
|
|
96323
96323
|
const os$2 = require("node:os");
|
|
96324
96324
|
const path$23 = require("node:path");
|
|
96325
96325
|
const ini = require_ini();
|
|
@@ -96328,8 +96328,8 @@ var require_opts = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module
|
|
|
96328
96328
|
const loadGitConfig = () => {
|
|
96329
96329
|
if (cachedConfig === null) try {
|
|
96330
96330
|
cachedConfig = {};
|
|
96331
|
-
if (fs$
|
|
96332
|
-
const configContent = fs$
|
|
96331
|
+
if (fs$18.existsSync(gitConfigPath)) {
|
|
96332
|
+
const configContent = fs$18.readFileSync(gitConfigPath, "utf-8");
|
|
96333
96333
|
cachedConfig = ini.parse(configContent);
|
|
96334
96334
|
}
|
|
96335
96335
|
} catch (error) {
|
|
@@ -96489,7 +96489,7 @@ var require_index_min$2 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports)
|
|
|
96489
96489
|
//#region ../../node_modules/@npmcli/git/node_modules/which/lib/index.js
|
|
96490
96490
|
var require_lib$24 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
|
|
96491
96491
|
const { isexe, sync: isexeSync } = require_index_min$2();
|
|
96492
|
-
const { join: join$
|
|
96492
|
+
const { join: join$13, delimiter: delimiter$2, sep: sep$3, posix } = require("path");
|
|
96493
96493
|
const isWindows = process.platform === "win32";
|
|
96494
96494
|
/* istanbul ignore next */
|
|
96495
96495
|
const rSlash = new RegExp(`[${posix.sep}${sep$3 === posix.sep ? "" : sep$3}]`.replace(/(\\)/g, "\\$1"));
|
|
@@ -96519,7 +96519,7 @@ var require_lib$24 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
|
|
|
96519
96519
|
};
|
|
96520
96520
|
const getPathPart = (raw, cmd) => {
|
|
96521
96521
|
const pathPart = /^".*"$/.test(raw) ? raw.slice(1, -1) : raw;
|
|
96522
|
-
return (!pathPart && rRel.test(cmd) ? cmd.slice(0, 2) : "") + join$
|
|
96522
|
+
return (!pathPart && rRel.test(cmd) ? cmd.slice(0, 2) : "") + join$13(pathPart, cmd);
|
|
96523
96523
|
};
|
|
96524
96524
|
const which = async (cmd, opt = {}) => {
|
|
96525
96525
|
const { pathEnv, pathExt, pathExtExe } = getPathInfo(cmd, opt);
|
|
@@ -98198,7 +98198,7 @@ var require_npa = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module)
|
|
|
98198
98198
|
var require_current_env = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
|
|
98199
98199
|
const process$6 = require("node:process");
|
|
98200
98200
|
const nodeOs = require("node:os");
|
|
98201
|
-
const fs$
|
|
98201
|
+
const fs$17 = require("node:fs");
|
|
98202
98202
|
function isMusl(file) {
|
|
98203
98203
|
return file.includes("libc.musl-") || file.includes("ld-musl-");
|
|
98204
98204
|
}
|
|
@@ -98211,7 +98211,7 @@ var require_current_env = /* @__PURE__ */ require_chunk.__commonJSMin(((exports,
|
|
|
98211
98211
|
const LDD_PATH = "/usr/bin/ldd";
|
|
98212
98212
|
function getFamilyFromFilesystem() {
|
|
98213
98213
|
try {
|
|
98214
|
-
const content = fs$
|
|
98214
|
+
const content = fs$17.readFileSync(LDD_PATH, "utf-8");
|
|
98215
98215
|
if (content.includes("musl")) return "musl";
|
|
98216
98216
|
if (content.includes("GNU C Library")) return "glibc";
|
|
98217
98217
|
return null;
|
|
@@ -98417,7 +98417,7 @@ var require_lib$22 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
|
|
|
98417
98417
|
//#endregion
|
|
98418
98418
|
//#region ../../node_modules/npm-normalize-package-bin/lib/index.js
|
|
98419
98419
|
var require_lib$21 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
|
|
98420
|
-
const { join: join$
|
|
98420
|
+
const { join: join$12, basename: basename$4 } = require("path");
|
|
98421
98421
|
const normalize = (pkg) => !pkg.bin ? removeBin(pkg) : typeof pkg.bin === "string" ? normalizeString(pkg) : Array.isArray(pkg.bin) ? normalizeArray(pkg) : typeof pkg.bin === "object" ? normalizeObject(pkg) : removeBin(pkg);
|
|
98422
98422
|
const normalizeString = (pkg) => {
|
|
98423
98423
|
if (!pkg.name) return removeBin(pkg);
|
|
@@ -98440,9 +98440,9 @@ var require_lib$21 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
|
|
|
98440
98440
|
const clean = {};
|
|
98441
98441
|
let hasBins = false;
|
|
98442
98442
|
Object.keys(orig).forEach((binKey) => {
|
|
98443
|
-
const base = join$
|
|
98443
|
+
const base = join$12("/", basename$4(binKey.replace(/\\|:/g, "/"))).slice(1);
|
|
98444
98444
|
if (typeof orig[binKey] !== "string" || !base) return;
|
|
98445
|
-
const binTarget = join$
|
|
98445
|
+
const binTarget = join$12("/", orig[binKey].replace(/\\/g, "/")).replace(/\\/g, "/").slice(1);
|
|
98446
98446
|
if (!binTarget) return;
|
|
98447
98447
|
clean[base] = binTarget;
|
|
98448
98448
|
hasBins = true;
|
|
@@ -98600,7 +98600,7 @@ var require_clone = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modul
|
|
|
98600
98600
|
const spawn = require_spawn();
|
|
98601
98601
|
const { isWindows } = require_utils$3();
|
|
98602
98602
|
const pickManifest = require_lib$20();
|
|
98603
|
-
const fs$
|
|
98603
|
+
const fs$16 = require("fs/promises");
|
|
98604
98604
|
module.exports = (repo, ref = "HEAD", target = null, opts = {}) => getRevs(repo, opts).then((revs) => clone(repo, revs, ref, resolveRef(revs, ref, opts), target || defaultTarget(repo, opts.cwd), opts));
|
|
98605
98605
|
const maybeShallow = (repo, opts) => {
|
|
98606
98606
|
if (opts.gitShallow === false || opts.gitShallow) return opts.gitShallow;
|
|
@@ -98635,7 +98635,7 @@ var require_clone = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modul
|
|
|
98635
98635
|
...opts,
|
|
98636
98636
|
cwd: target
|
|
98637
98637
|
});
|
|
98638
|
-
return fs$
|
|
98638
|
+
return fs$16.mkdir(target, { recursive: true }).then(() => git(["init"])).then(() => isWindows(opts) ? git([
|
|
98639
98639
|
"config",
|
|
98640
98640
|
"--local",
|
|
98641
98641
|
"--add",
|
|
@@ -98673,7 +98673,7 @@ var require_clone = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modul
|
|
|
98673
98673
|
return spawn(args, opts).then(() => revDoc.sha);
|
|
98674
98674
|
};
|
|
98675
98675
|
const updateSubmodules = async (target, opts) => {
|
|
98676
|
-
if (!await fs$
|
|
98676
|
+
if (!await fs$16.stat(`${target}/.gitmodules`).then(() => true).catch(() => false)) return null;
|
|
98677
98677
|
return spawn([
|
|
98678
98678
|
"submodule",
|
|
98679
98679
|
"update",
|
|
@@ -98698,7 +98698,7 @@ var require_clone = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modul
|
|
|
98698
98698
|
...opts,
|
|
98699
98699
|
cwd: target
|
|
98700
98700
|
});
|
|
98701
|
-
return fs$
|
|
98701
|
+
return fs$16.mkdir(target, { recursive: true }).then(() => git(cloneArgs.concat(lp))).then(() => git(["init"])).then(() => git(["checkout", ref])).then(() => updateSubmodules(target, opts)).then(() => git([
|
|
98702
98702
|
"rev-parse",
|
|
98703
98703
|
"--revs-only",
|
|
98704
98704
|
"HEAD"
|
|
@@ -98715,11 +98715,11 @@ var require_is = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module)
|
|
|
98715
98715
|
//#region ../../node_modules/@npmcli/git/lib/find.js
|
|
98716
98716
|
var require_find = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
|
|
98717
98717
|
const is = require_is();
|
|
98718
|
-
const { dirname: dirname$
|
|
98718
|
+
const { dirname: dirname$11 } = require("path");
|
|
98719
98719
|
module.exports = async ({ cwd = process.cwd(), root } = {}) => {
|
|
98720
98720
|
while (true) {
|
|
98721
98721
|
if (await is({ cwd })) return cwd;
|
|
98722
|
-
const next = dirname$
|
|
98722
|
+
const next = dirname$11(cwd);
|
|
98723
98723
|
if (cwd === root || cwd === next) return null;
|
|
98724
98724
|
cwd = next;
|
|
98725
98725
|
}
|
|
@@ -98753,7 +98753,7 @@ var require_lib$19 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
|
|
|
98753
98753
|
var require_normalize = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
|
|
98754
98754
|
const valid = require_valid$3();
|
|
98755
98755
|
const clean = require_clean$1();
|
|
98756
|
-
const fs$
|
|
98756
|
+
const fs$15 = require("node:fs/promises");
|
|
98757
98757
|
const path$20 = require("node:path");
|
|
98758
98758
|
const { log } = require_lib$29();
|
|
98759
98759
|
const moduleBuiltin = require("node:module");
|
|
@@ -99037,13 +99037,13 @@ var require_normalize = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, m
|
|
|
99037
99037
|
}
|
|
99038
99038
|
}
|
|
99039
99039
|
if (steps.includes("serverjs") && !scripts.start) try {
|
|
99040
|
-
await fs$
|
|
99040
|
+
await fs$15.access(path$20.join(pkg.path, "server.js"));
|
|
99041
99041
|
scripts.start = "node server.js";
|
|
99042
99042
|
data.scripts = scripts;
|
|
99043
99043
|
changes?.push("\"scripts.start\" was set to \"node server.js\"");
|
|
99044
99044
|
} catch {}
|
|
99045
99045
|
if (steps.includes("authors") && !data.contributors) try {
|
|
99046
|
-
data.contributors = (await fs$
|
|
99046
|
+
data.contributors = (await fs$15.readFile(path$20.join(pkg.path, "AUTHORS"), "utf8")).split(/\r?\n/g).map((line) => line.replace(/^\s*#.*$/, "").trim()).filter((line) => line);
|
|
99047
99047
|
changes?.push("\"contributors\" was auto-populated with the contents of the \"AUTHORS\" file");
|
|
99048
99048
|
} catch {}
|
|
99049
99049
|
if (steps.includes("readme") && !data.readme) {
|
|
@@ -99062,7 +99062,7 @@ var require_normalize = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, m
|
|
|
99062
99062
|
if (file.endsWith("README")) readmeFile = file;
|
|
99063
99063
|
}
|
|
99064
99064
|
if (readmeFile) {
|
|
99065
|
-
data.readme = await fs$
|
|
99065
|
+
data.readme = await fs$15.readFile(path$20.join(pkg.path, readmeFile), "utf8");
|
|
99066
99066
|
data.readmeFilename = readmeFile;
|
|
99067
99067
|
changes?.push(`"readme" was set to the contents of ${readmeFile}`);
|
|
99068
99068
|
changes?.push(`"readmeFilename" was set to ${readmeFile}`);
|
|
@@ -99094,20 +99094,20 @@ var require_normalize = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, m
|
|
|
99094
99094
|
});
|
|
99095
99095
|
let head;
|
|
99096
99096
|
if (gitRoot) try {
|
|
99097
|
-
head = await fs$
|
|
99097
|
+
head = await fs$15.readFile(path$20.resolve(gitRoot, ".git/HEAD"), "utf8");
|
|
99098
99098
|
} catch (err) {}
|
|
99099
99099
|
let headData;
|
|
99100
99100
|
if (head) if (head.startsWith("ref: ")) {
|
|
99101
99101
|
const headRef = head.replace(/^ref: /, "").trim();
|
|
99102
99102
|
const headFile = path$20.resolve(gitRoot, ".git", headRef);
|
|
99103
99103
|
try {
|
|
99104
|
-
headData = await fs$
|
|
99104
|
+
headData = await fs$15.readFile(headFile, "utf8");
|
|
99105
99105
|
headData = headData.replace(/^ref: /, "").trim();
|
|
99106
99106
|
} catch (err) {}
|
|
99107
99107
|
if (!headData) {
|
|
99108
99108
|
const packFile = path$20.resolve(gitRoot, ".git/packed-refs");
|
|
99109
99109
|
try {
|
|
99110
|
-
let refs = await fs$
|
|
99110
|
+
let refs = await fs$15.readFile(packFile, "utf8");
|
|
99111
99111
|
if (refs) {
|
|
99112
99112
|
refs = refs.split("\n");
|
|
99113
99113
|
for (let i = 0; i < refs.length; i++) {
|
|
@@ -99128,12 +99128,12 @@ var require_normalize = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, m
|
|
|
99128
99128
|
if (typeof index !== "string") throw new TypeError("The \"main\" attribute must be of type string.");
|
|
99129
99129
|
const dts = `./${path$20.join(path$20.dirname(index), path$20.basename(index, path$20.extname(index)))}.d.ts`;
|
|
99130
99130
|
if (!("types" in data || "typings" in data)) try {
|
|
99131
|
-
await fs$
|
|
99131
|
+
await fs$15.access(path$20.join(pkg.path, dts));
|
|
99132
99132
|
data.types = dts.split(path$20.sep).join("/");
|
|
99133
99133
|
} catch {}
|
|
99134
99134
|
}
|
|
99135
99135
|
if (steps.includes("binRefs") && data.bin instanceof Object) for (const key in data.bin) try {
|
|
99136
|
-
await fs$
|
|
99136
|
+
await fs$15.access(path$20.resolve(pkg.path, data.bin[key]));
|
|
99137
99137
|
} catch {
|
|
99138
99138
|
log.warn("package-json", pkgId, `No bin file found at ${data.bin[key]}`);
|
|
99139
99139
|
}
|
|
@@ -100515,7 +100515,7 @@ var require_polyfill = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mo
|
|
|
100515
100515
|
const { ERR_FS_CP_DIR_TO_NON_DIR, ERR_FS_CP_EEXIST, ERR_FS_CP_EINVAL, ERR_FS_CP_FIFO_PIPE, ERR_FS_CP_NON_DIR_TO_DIR, ERR_FS_CP_SOCKET, ERR_FS_CP_SYMLINK_TO_SUBDIRECTORY, ERR_FS_CP_UNKNOWN, ERR_FS_EISDIR, ERR_INVALID_ARG_TYPE } = require_errors$3();
|
|
100516
100516
|
const { constants: { errno: { EEXIST, EISDIR, EINVAL, ENOTDIR } } } = require("os");
|
|
100517
100517
|
const { chmod: chmod$3, copyFile, lstat: lstat$2, mkdir: mkdir$8, readdir: readdir$6, readlink, stat: stat$5, symlink, unlink, utimes } = require("fs/promises");
|
|
100518
|
-
const { dirname: dirname$
|
|
100518
|
+
const { dirname: dirname$10, isAbsolute: isAbsolute$2, join: join$11, parse, resolve: resolve$10, sep: sep$2, toNamespacedPath } = require("path");
|
|
100519
100519
|
const { fileURLToPath: fileURLToPath$1 } = require("url");
|
|
100520
100520
|
const defaultOptions = {
|
|
100521
100521
|
dereference: false,
|
|
@@ -100589,7 +100589,7 @@ var require_polyfill = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mo
|
|
|
100589
100589
|
})]);
|
|
100590
100590
|
}
|
|
100591
100591
|
async function checkParentDir(destStat, src, dest, opts) {
|
|
100592
|
-
const destParent = dirname$
|
|
100592
|
+
const destParent = dirname$10(dest);
|
|
100593
100593
|
if (await pathExists(destParent)) return getStatsForCopy(destStat, src, dest, opts);
|
|
100594
100594
|
await mkdir$8(destParent, { recursive: true });
|
|
100595
100595
|
return getStatsForCopy(destStat, src, dest, opts);
|
|
@@ -100602,8 +100602,8 @@ var require_polyfill = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mo
|
|
|
100602
100602
|
);
|
|
100603
100603
|
}
|
|
100604
100604
|
async function checkParentPaths(src, srcStat, dest) {
|
|
100605
|
-
const srcParent = resolve$10(dirname$
|
|
100606
|
-
const destParent = resolve$10(dirname$
|
|
100605
|
+
const srcParent = resolve$10(dirname$10(src));
|
|
100606
|
+
const destParent = resolve$10(dirname$10(dest));
|
|
100607
100607
|
if (destParent === srcParent || destParent === parse(destParent).root) return;
|
|
100608
100608
|
let destStat;
|
|
100609
100609
|
try {
|
|
@@ -100724,15 +100724,15 @@ var require_polyfill = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mo
|
|
|
100724
100724
|
const dir = await readdir$6(src);
|
|
100725
100725
|
for (let i = 0; i < dir.length; i++) {
|
|
100726
100726
|
const item = dir[i];
|
|
100727
|
-
const srcItem = join$
|
|
100728
|
-
const destItem = join$
|
|
100727
|
+
const srcItem = join$11(src, item);
|
|
100728
|
+
const destItem = join$11(dest, item);
|
|
100729
100729
|
const { destStat } = await checkPaths(srcItem, destItem, opts);
|
|
100730
100730
|
await startCopy(destStat, srcItem, destItem, opts);
|
|
100731
100731
|
}
|
|
100732
100732
|
}
|
|
100733
100733
|
async function onLink(destStat, src, dest) {
|
|
100734
100734
|
let resolvedSrc = await readlink(src);
|
|
100735
|
-
if (!isAbsolute$2(resolvedSrc)) resolvedSrc = resolve$10(dirname$
|
|
100735
|
+
if (!isAbsolute$2(resolvedSrc)) resolvedSrc = resolve$10(dirname$10(src), resolvedSrc);
|
|
100736
100736
|
if (!destStat) return symlink(resolvedSrc, dest);
|
|
100737
100737
|
let resolvedDest;
|
|
100738
100738
|
try {
|
|
@@ -100743,7 +100743,7 @@ var require_polyfill = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mo
|
|
|
100743
100743
|
// istanbul ignore next: should not be possible
|
|
100744
100744
|
throw err;
|
|
100745
100745
|
}
|
|
100746
|
-
if (!isAbsolute$2(resolvedDest)) resolvedDest = resolve$10(dirname$
|
|
100746
|
+
if (!isAbsolute$2(resolvedDest)) resolvedDest = resolve$10(dirname$10(dest), resolvedDest);
|
|
100747
100747
|
if (isSrcSubdir(resolvedSrc, resolvedDest)) throw new ERR_FS_CP_EINVAL({
|
|
100748
100748
|
message: `cannot copy ${resolvedSrc} to a subdirectory of self ${resolvedDest}`,
|
|
100749
100749
|
path: dest,
|
|
@@ -100767,7 +100767,7 @@ var require_polyfill = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mo
|
|
|
100767
100767
|
//#endregion
|
|
100768
100768
|
//#region ../../node_modules/cacache/node_modules/@npmcli/fs/lib/cp/index.js
|
|
100769
100769
|
var require_cp = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
|
|
100770
|
-
const fs$
|
|
100770
|
+
const fs$14 = require("fs/promises");
|
|
100771
100771
|
const getOptions = require_get_options();
|
|
100772
100772
|
const node = require_node$1();
|
|
100773
100773
|
const polyfill = require_polyfill();
|
|
@@ -100782,20 +100782,20 @@ var require_cp = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module)
|
|
|
100782
100782
|
"recursive"
|
|
100783
100783
|
] });
|
|
100784
100784
|
// istanbul ignore next
|
|
100785
|
-
return useNative ? fs$
|
|
100785
|
+
return useNative ? fs$14.cp(src, dest, options) : polyfill(src, dest, options);
|
|
100786
100786
|
};
|
|
100787
100787
|
module.exports = cp;
|
|
100788
100788
|
}));
|
|
100789
100789
|
//#endregion
|
|
100790
100790
|
//#region ../../node_modules/cacache/node_modules/@npmcli/fs/lib/with-temp-dir.js
|
|
100791
100791
|
var require_with_temp_dir = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
|
|
100792
|
-
const { join: join$
|
|
100792
|
+
const { join: join$10, sep: sep$1 } = require("path");
|
|
100793
100793
|
const getOptions = require_get_options();
|
|
100794
100794
|
const { mkdir: mkdir$7, mkdtemp, rm: rm$8 } = require("fs/promises");
|
|
100795
100795
|
const withTempDir = async (root, fn, opts) => {
|
|
100796
100796
|
const options = getOptions(opts, { copy: ["tmpPrefix"] });
|
|
100797
100797
|
await mkdir$7(root, { recursive: true });
|
|
100798
|
-
const target = await mkdtemp(join$
|
|
100798
|
+
const target = await mkdtemp(join$10(`${root}${sep$1}`, options.tmpPrefix || ""));
|
|
100799
100799
|
let err;
|
|
100800
100800
|
let result;
|
|
100801
100801
|
try {
|
|
@@ -100818,10 +100818,10 @@ var require_with_temp_dir = /* @__PURE__ */ require_chunk.__commonJSMin(((export
|
|
|
100818
100818
|
//#region ../../node_modules/cacache/node_modules/@npmcli/fs/lib/readdir-scoped.js
|
|
100819
100819
|
var require_readdir_scoped = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
|
|
100820
100820
|
const { readdir: readdir$5 } = require("fs/promises");
|
|
100821
|
-
const { join: join$
|
|
100821
|
+
const { join: join$9 } = require("path");
|
|
100822
100822
|
const readdirScoped = async (dir) => {
|
|
100823
100823
|
const results = [];
|
|
100824
|
-
for (const item of await readdir$5(dir)) if (item.startsWith("@")) for (const scopedItem of await readdir$5(join$
|
|
100824
|
+
for (const item of await readdir$5(dir)) if (item.startsWith("@")) for (const scopedItem of await readdir$5(join$9(dir, item))) results.push(join$9(item, scopedItem));
|
|
100825
100825
|
else results.push(item);
|
|
100826
100826
|
return results;
|
|
100827
100827
|
};
|
|
@@ -100830,11 +100830,11 @@ var require_readdir_scoped = /* @__PURE__ */ require_chunk.__commonJSMin(((expor
|
|
|
100830
100830
|
//#endregion
|
|
100831
100831
|
//#region ../../node_modules/cacache/node_modules/@npmcli/fs/lib/move-file.js
|
|
100832
100832
|
var require_move_file = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
|
|
100833
|
-
const { dirname: dirname$
|
|
100834
|
-
const fs$
|
|
100833
|
+
const { dirname: dirname$9, join: join$8, resolve: resolve$9, relative: relative$1, isAbsolute: isAbsolute$1 } = require("path");
|
|
100834
|
+
const fs$13 = require("fs/promises");
|
|
100835
100835
|
const pathExists = async (path$56) => {
|
|
100836
100836
|
try {
|
|
100837
|
-
await fs$
|
|
100837
|
+
await fs$13.access(path$56);
|
|
100838
100838
|
return true;
|
|
100839
100839
|
} catch (er) {
|
|
100840
100840
|
return er.code !== "ENOENT";
|
|
@@ -100847,34 +100847,34 @@ var require_move_file = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, m
|
|
|
100847
100847
|
...options
|
|
100848
100848
|
};
|
|
100849
100849
|
if (!options.overwrite && await pathExists(destination)) throw new Error(`The destination file exists: ${destination}`);
|
|
100850
|
-
await fs$
|
|
100850
|
+
await fs$13.mkdir(dirname$9(destination), { recursive: true });
|
|
100851
100851
|
try {
|
|
100852
|
-
await fs$
|
|
100852
|
+
await fs$13.rename(source, destination);
|
|
100853
100853
|
} catch (error) {
|
|
100854
100854
|
if (error.code === "EXDEV" || error.code === "EPERM") {
|
|
100855
|
-
const sourceStat = await fs$
|
|
100855
|
+
const sourceStat = await fs$13.lstat(source);
|
|
100856
100856
|
if (sourceStat.isDirectory()) {
|
|
100857
|
-
const files = await fs$
|
|
100858
|
-
await Promise.all(files.map((file) => moveFile(join$
|
|
100857
|
+
const files = await fs$13.readdir(source);
|
|
100858
|
+
await Promise.all(files.map((file) => moveFile(join$8(source, file), join$8(destination, file), options, false, symlinks)));
|
|
100859
100859
|
} else if (sourceStat.isSymbolicLink()) symlinks.push({
|
|
100860
100860
|
source,
|
|
100861
100861
|
destination
|
|
100862
100862
|
});
|
|
100863
|
-
else await fs$
|
|
100863
|
+
else await fs$13.copyFile(source, destination);
|
|
100864
100864
|
} else throw error;
|
|
100865
100865
|
}
|
|
100866
100866
|
if (root) {
|
|
100867
100867
|
await Promise.all(symlinks.map(async ({ source: symSource, destination: symDestination }) => {
|
|
100868
|
-
let target = await fs$
|
|
100868
|
+
let target = await fs$13.readlink(symSource);
|
|
100869
100869
|
if (isAbsolute$1(target)) target = resolve$9(symDestination, relative$1(symSource, target));
|
|
100870
100870
|
let targetStat = "file";
|
|
100871
100871
|
try {
|
|
100872
|
-
targetStat = await fs$
|
|
100872
|
+
targetStat = await fs$13.stat(resolve$9(dirname$9(symSource), target));
|
|
100873
100873
|
if (targetStat.isDirectory()) targetStat = "junction";
|
|
100874
100874
|
} catch {}
|
|
100875
|
-
await fs$
|
|
100875
|
+
await fs$13.symlink(target, symDestination, targetStat);
|
|
100876
100876
|
}));
|
|
100877
|
-
await fs$
|
|
100877
|
+
await fs$13.rm(source, {
|
|
100878
100878
|
recursive: true,
|
|
100879
100879
|
force: true
|
|
100880
100880
|
});
|
|
@@ -100897,7 +100897,7 @@ var require_lib$16 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
|
|
|
100897
100897
|
var require_tmp = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
|
|
100898
100898
|
const crypto$2 = require("crypto");
|
|
100899
100899
|
const { withTempDir } = require_lib$16();
|
|
100900
|
-
const fs$
|
|
100900
|
+
const fs$12 = require("fs/promises");
|
|
100901
100901
|
const path$19 = require("path");
|
|
100902
100902
|
module.exports.mkdir = mktmpdir;
|
|
100903
100903
|
module.exports.tmpName = function tmpName(cache, tmpPrefix) {
|
|
@@ -100907,12 +100907,12 @@ var require_tmp = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module)
|
|
|
100907
100907
|
async function mktmpdir(cache, opts = {}) {
|
|
100908
100908
|
const { tmpPrefix } = opts;
|
|
100909
100909
|
const tmpDir = path$19.join(cache, "tmp");
|
|
100910
|
-
await fs$
|
|
100910
|
+
await fs$12.mkdir(tmpDir, {
|
|
100911
100911
|
recursive: true,
|
|
100912
100912
|
owner: "inherit"
|
|
100913
100913
|
});
|
|
100914
100914
|
const target = `${tmpDir}${path$19.sep}${tmpPrefix || ""}`;
|
|
100915
|
-
return fs$
|
|
100915
|
+
return fs$12.mkdtemp(target, { owner: "inherit" });
|
|
100916
100916
|
}
|
|
100917
100917
|
module.exports.withTmp = withTmp;
|
|
100918
100918
|
function withTmp(cache, opts, cb) {
|
|
@@ -101292,8 +101292,8 @@ var require_memoization = /* @__PURE__ */ require_chunk.__commonJSMin(((exports,
|
|
|
101292
101292
|
var require_lib$15 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports) => {
|
|
101293
101293
|
const { Minipass } = require_commonjs$10();
|
|
101294
101294
|
const EE$4 = require("events").EventEmitter;
|
|
101295
|
-
const fs$
|
|
101296
|
-
const writev = fs$
|
|
101295
|
+
const fs$11 = require("fs");
|
|
101296
|
+
const writev = fs$11.writev;
|
|
101297
101297
|
const _autoClose = Symbol("_autoClose");
|
|
101298
101298
|
const _close = Symbol("_close");
|
|
101299
101299
|
const _ended = Symbol("_ended");
|
|
@@ -101353,7 +101353,7 @@ var require_lib$15 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports) => {
|
|
|
101353
101353
|
throw new TypeError("this is a readable stream");
|
|
101354
101354
|
}
|
|
101355
101355
|
[_open]() {
|
|
101356
|
-
fs$
|
|
101356
|
+
fs$11.open(this[_path], "r", (er, fd) => this[_onopen](er, fd));
|
|
101357
101357
|
}
|
|
101358
101358
|
[_onopen](er, fd) {
|
|
101359
101359
|
if (er) this[_onerror](er);
|
|
@@ -101372,7 +101372,7 @@ var require_lib$15 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports) => {
|
|
|
101372
101372
|
const buf = this[_makeBuf]();
|
|
101373
101373
|
/* istanbul ignore if */
|
|
101374
101374
|
if (buf.length === 0) return process.nextTick(() => this[_onread](null, 0, buf));
|
|
101375
|
-
fs$
|
|
101375
|
+
fs$11.read(this[_fd], buf, 0, buf.length, null, (er, br, b) => this[_onread](er, br, b));
|
|
101376
101376
|
}
|
|
101377
101377
|
}
|
|
101378
101378
|
[_onread](er, br, buf) {
|
|
@@ -101384,7 +101384,7 @@ var require_lib$15 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports) => {
|
|
|
101384
101384
|
if (this[_autoClose] && typeof this[_fd] === "number") {
|
|
101385
101385
|
const fd = this[_fd];
|
|
101386
101386
|
this[_fd] = null;
|
|
101387
|
-
fs$
|
|
101387
|
+
fs$11.close(fd, (er) => er ? this.emit("error", er) : this.emit("close"));
|
|
101388
101388
|
}
|
|
101389
101389
|
}
|
|
101390
101390
|
[_onerror](er) {
|
|
@@ -101422,7 +101422,7 @@ var require_lib$15 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports) => {
|
|
|
101422
101422
|
[_open]() {
|
|
101423
101423
|
let threw = true;
|
|
101424
101424
|
try {
|
|
101425
|
-
this[_onopen](null, fs$
|
|
101425
|
+
this[_onopen](null, fs$11.openSync(this[_path], "r"));
|
|
101426
101426
|
threw = false;
|
|
101427
101427
|
} finally {
|
|
101428
101428
|
if (threw) this[_close]();
|
|
@@ -101436,7 +101436,7 @@ var require_lib$15 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports) => {
|
|
|
101436
101436
|
do {
|
|
101437
101437
|
const buf = this[_makeBuf]();
|
|
101438
101438
|
/* istanbul ignore next */
|
|
101439
|
-
const br = buf.length === 0 ? 0 : fs$
|
|
101439
|
+
const br = buf.length === 0 ? 0 : fs$11.readSync(this[_fd], buf, 0, buf.length, null);
|
|
101440
101440
|
if (!this[_handleChunk](br, buf)) break;
|
|
101441
101441
|
} while (true);
|
|
101442
101442
|
this[_reading] = false;
|
|
@@ -101450,7 +101450,7 @@ var require_lib$15 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports) => {
|
|
|
101450
101450
|
if (this[_autoClose] && typeof this[_fd] === "number") {
|
|
101451
101451
|
const fd = this[_fd];
|
|
101452
101452
|
this[_fd] = null;
|
|
101453
|
-
fs$
|
|
101453
|
+
fs$11.closeSync(fd);
|
|
101454
101454
|
this.emit("close");
|
|
101455
101455
|
}
|
|
101456
101456
|
}
|
|
@@ -101495,7 +101495,7 @@ var require_lib$15 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports) => {
|
|
|
101495
101495
|
this.emit("error", er);
|
|
101496
101496
|
}
|
|
101497
101497
|
[_open]() {
|
|
101498
|
-
fs$
|
|
101498
|
+
fs$11.open(this[_path], this[_flags], this[_mode], (er, fd) => this[_onopen](er, fd));
|
|
101499
101499
|
}
|
|
101500
101500
|
[_onopen](er, fd) {
|
|
101501
101501
|
if (this[_defaultFlag] && this[_flags] === "r+" && er && er.code === "ENOENT") {
|
|
@@ -101530,7 +101530,7 @@ var require_lib$15 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports) => {
|
|
|
101530
101530
|
return true;
|
|
101531
101531
|
}
|
|
101532
101532
|
[_write](buf) {
|
|
101533
|
-
fs$
|
|
101533
|
+
fs$11.write(this[_fd], buf, 0, buf.length, this[_pos], (er, bw) => this[_onwrite](er, bw));
|
|
101534
101534
|
}
|
|
101535
101535
|
[_onwrite](er, bw) {
|
|
101536
101536
|
if (er) this[_onerror](er);
|
|
@@ -101564,7 +101564,7 @@ var require_lib$15 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports) => {
|
|
|
101564
101564
|
if (this[_autoClose] && typeof this[_fd] === "number") {
|
|
101565
101565
|
const fd = this[_fd];
|
|
101566
101566
|
this[_fd] = null;
|
|
101567
|
-
fs$
|
|
101567
|
+
fs$11.close(fd, (er) => er ? this.emit("error", er) : this.emit("close"));
|
|
101568
101568
|
}
|
|
101569
101569
|
}
|
|
101570
101570
|
};
|
|
@@ -101572,28 +101572,28 @@ var require_lib$15 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports) => {
|
|
|
101572
101572
|
[_open]() {
|
|
101573
101573
|
let fd;
|
|
101574
101574
|
if (this[_defaultFlag] && this[_flags] === "r+") try {
|
|
101575
|
-
fd = fs$
|
|
101575
|
+
fd = fs$11.openSync(this[_path], this[_flags], this[_mode]);
|
|
101576
101576
|
} catch (er) {
|
|
101577
101577
|
if (er.code === "ENOENT") {
|
|
101578
101578
|
this[_flags] = "w";
|
|
101579
101579
|
return this[_open]();
|
|
101580
101580
|
} else throw er;
|
|
101581
101581
|
}
|
|
101582
|
-
else fd = fs$
|
|
101582
|
+
else fd = fs$11.openSync(this[_path], this[_flags], this[_mode]);
|
|
101583
101583
|
this[_onopen](null, fd);
|
|
101584
101584
|
}
|
|
101585
101585
|
[_close]() {
|
|
101586
101586
|
if (this[_autoClose] && typeof this[_fd] === "number") {
|
|
101587
101587
|
const fd = this[_fd];
|
|
101588
101588
|
this[_fd] = null;
|
|
101589
|
-
fs$
|
|
101589
|
+
fs$11.closeSync(fd);
|
|
101590
101590
|
this.emit("close");
|
|
101591
101591
|
}
|
|
101592
101592
|
}
|
|
101593
101593
|
[_write](buf) {
|
|
101594
101594
|
let threw = true;
|
|
101595
101595
|
try {
|
|
101596
|
-
this[_onwrite](null, fs$
|
|
101596
|
+
this[_onwrite](null, fs$11.writeSync(this[_fd], buf, 0, buf.length, this[_pos]));
|
|
101597
101597
|
threw = false;
|
|
101598
101598
|
} finally {
|
|
101599
101599
|
if (threw) try {
|
|
@@ -101610,7 +101610,7 @@ var require_lib$15 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports) => {
|
|
|
101610
101610
|
//#endregion
|
|
101611
101611
|
//#region ../../node_modules/cacache/lib/content/read.js
|
|
101612
101612
|
var require_read = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
|
|
101613
|
-
const fs$
|
|
101613
|
+
const fs$10 = require("fs/promises");
|
|
101614
101614
|
const fsm = require_lib$15();
|
|
101615
101615
|
const ssri = require_lib$17();
|
|
101616
101616
|
const contentPath = require_path();
|
|
@@ -101621,13 +101621,13 @@ var require_read = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module
|
|
|
101621
101621
|
const { size } = opts;
|
|
101622
101622
|
const { stat, cpath, sri } = await withContentSri(cache, integrity, async (cpath, sri) => {
|
|
101623
101623
|
return {
|
|
101624
|
-
stat: size ? { size } : await fs$
|
|
101624
|
+
stat: size ? { size } : await fs$10.stat(cpath),
|
|
101625
101625
|
cpath,
|
|
101626
101626
|
sri
|
|
101627
101627
|
};
|
|
101628
101628
|
});
|
|
101629
101629
|
if (stat.size > MAX_SINGLE_READ_SIZE) return readPipeline(cpath, stat.size, sri, new Pipeline()).concat();
|
|
101630
|
-
const data = await fs$
|
|
101630
|
+
const data = await fs$10.readFile(cpath, { encoding: null });
|
|
101631
101631
|
if (stat.size !== data.length) throw sizeError(stat.size, data.length);
|
|
101632
101632
|
if (!ssri.checkData(data, sri)) throw integrityError(sri, cpath);
|
|
101633
101633
|
return data;
|
|
@@ -101650,7 +101650,7 @@ var require_read = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module
|
|
|
101650
101650
|
Promise.resolve().then(async () => {
|
|
101651
101651
|
const { stat, cpath, sri } = await withContentSri(cache, integrity, async (cpath, sri) => {
|
|
101652
101652
|
return {
|
|
101653
|
-
stat: size ? { size } : await fs$
|
|
101653
|
+
stat: size ? { size } : await fs$10.stat(cpath),
|
|
101654
101654
|
cpath,
|
|
101655
101655
|
sri
|
|
101656
101656
|
};
|
|
@@ -101662,7 +101662,7 @@ var require_read = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module
|
|
|
101662
101662
|
module.exports.copy = copy;
|
|
101663
101663
|
function copy(cache, integrity, dest) {
|
|
101664
101664
|
return withContentSri(cache, integrity, (cpath) => {
|
|
101665
|
-
return fs$
|
|
101665
|
+
return fs$10.copyFile(cpath, dest);
|
|
101666
101666
|
});
|
|
101667
101667
|
}
|
|
101668
101668
|
module.exports.hasContent = hasContent;
|
|
@@ -101670,7 +101670,7 @@ var require_read = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module
|
|
|
101670
101670
|
if (!integrity) return false;
|
|
101671
101671
|
try {
|
|
101672
101672
|
return await withContentSri(cache, integrity, async (cpath, sri) => {
|
|
101673
|
-
const stat = await fs$
|
|
101673
|
+
const stat = await fs$10.stat(cpath);
|
|
101674
101674
|
return {
|
|
101675
101675
|
size: stat.size,
|
|
101676
101676
|
sri,
|
|
@@ -102310,7 +102310,7 @@ var require_minipass_flush = /* @__PURE__ */ require_chunk.__commonJSMin(((expor
|
|
|
102310
102310
|
var require_write = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
|
|
102311
102311
|
const events = require("events");
|
|
102312
102312
|
const contentPath = require_path();
|
|
102313
|
-
const fs$
|
|
102313
|
+
const fs$9 = require("fs/promises");
|
|
102314
102314
|
const { moveFile } = require_lib$16();
|
|
102315
102315
|
const { Minipass } = require_commonjs$10();
|
|
102316
102316
|
const Pipeline = require_minipass_pipeline();
|
|
@@ -102330,10 +102330,10 @@ var require_write = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modul
|
|
|
102330
102330
|
const tmp = await makeTmp(cache, opts);
|
|
102331
102331
|
const hash = sri[algo].toString();
|
|
102332
102332
|
try {
|
|
102333
|
-
await fs$
|
|
102333
|
+
await fs$9.writeFile(tmp.target, data, { flag: "wx" });
|
|
102334
102334
|
await moveToDestination(tmp, cache, hash, opts);
|
|
102335
102335
|
} finally {
|
|
102336
|
-
if (!tmp.moved) await fs$
|
|
102336
|
+
if (!tmp.moved) await fs$9.rm(tmp.target, {
|
|
102337
102337
|
recursive: true,
|
|
102338
102338
|
force: true
|
|
102339
102339
|
});
|
|
@@ -102387,7 +102387,7 @@ var require_write = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modul
|
|
|
102387
102387
|
await moveToDestination(tmp, cache, res.integrity, opts);
|
|
102388
102388
|
return res;
|
|
102389
102389
|
} finally {
|
|
102390
|
-
if (!tmp.moved) await fs$
|
|
102390
|
+
if (!tmp.moved) await fs$9.rm(tmp.target, {
|
|
102391
102391
|
recursive: true,
|
|
102392
102392
|
force: true
|
|
102393
102393
|
});
|
|
@@ -102427,7 +102427,7 @@ var require_write = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modul
|
|
|
102427
102427
|
}
|
|
102428
102428
|
async function makeTmp(cache, opts) {
|
|
102429
102429
|
const tmpTarget = tmpName(cache, opts.tmpPrefix);
|
|
102430
|
-
await fs$
|
|
102430
|
+
await fs$9.mkdir(path$16.dirname(tmpTarget), { recursive: true });
|
|
102431
102431
|
return {
|
|
102432
102432
|
target: tmpTarget,
|
|
102433
102433
|
moved: false
|
|
@@ -102437,7 +102437,7 @@ var require_write = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modul
|
|
|
102437
102437
|
const destination = contentPath(cache, sri);
|
|
102438
102438
|
const destDir = path$16.dirname(destination);
|
|
102439
102439
|
if (moveOperations.has(destination)) return moveOperations.get(destination);
|
|
102440
|
-
moveOperations.set(destination, fs$
|
|
102440
|
+
moveOperations.set(destination, fs$9.mkdir(destDir, { recursive: true }).then(async () => {
|
|
102441
102441
|
await moveFile(tmp.target, destination, { overwrite: false });
|
|
102442
102442
|
tmp.moved = true;
|
|
102443
102443
|
return tmp.moved;
|
|
@@ -105895,14 +105895,14 @@ var require_glob = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module
|
|
|
105895
105895
|
//#endregion
|
|
105896
105896
|
//#region ../../node_modules/cacache/lib/content/rm.js
|
|
105897
105897
|
var require_rm$1 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
|
|
105898
|
-
const fs$
|
|
105898
|
+
const fs$8 = require("fs/promises");
|
|
105899
105899
|
const contentPath = require_path();
|
|
105900
105900
|
const { hasContent } = require_read();
|
|
105901
105901
|
module.exports = rm;
|
|
105902
105902
|
async function rm(cache, integrity) {
|
|
105903
105903
|
const content = await hasContent(cache, integrity);
|
|
105904
105904
|
if (content && content.sri) {
|
|
105905
|
-
await fs$
|
|
105905
|
+
await fs$8.rm(contentPath(cache, content.sri), {
|
|
105906
105906
|
recursive: true,
|
|
105907
105907
|
force: true
|
|
105908
105908
|
});
|
|
@@ -106184,8 +106184,8 @@ var require_lib$14 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
|
|
|
106184
106184
|
var require_lib$13 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports) => {
|
|
106185
106185
|
const { Minipass } = require_commonjs$10();
|
|
106186
106186
|
const EE$2 = require("events").EventEmitter;
|
|
106187
|
-
const fs$
|
|
106188
|
-
const writev = fs$
|
|
106187
|
+
const fs$7 = require("fs");
|
|
106188
|
+
const writev = fs$7.writev;
|
|
106189
106189
|
const _autoClose = Symbol("_autoClose");
|
|
106190
106190
|
const _close = Symbol("_close");
|
|
106191
106191
|
const _ended = Symbol("_ended");
|
|
@@ -106245,7 +106245,7 @@ var require_lib$13 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports) => {
|
|
|
106245
106245
|
throw new TypeError("this is a readable stream");
|
|
106246
106246
|
}
|
|
106247
106247
|
[_open]() {
|
|
106248
|
-
fs$
|
|
106248
|
+
fs$7.open(this[_path], "r", (er, fd) => this[_onopen](er, fd));
|
|
106249
106249
|
}
|
|
106250
106250
|
[_onopen](er, fd) {
|
|
106251
106251
|
if (er) this[_onerror](er);
|
|
@@ -106264,7 +106264,7 @@ var require_lib$13 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports) => {
|
|
|
106264
106264
|
const buf = this[_makeBuf]();
|
|
106265
106265
|
/* istanbul ignore if */
|
|
106266
106266
|
if (buf.length === 0) return process.nextTick(() => this[_onread](null, 0, buf));
|
|
106267
|
-
fs$
|
|
106267
|
+
fs$7.read(this[_fd], buf, 0, buf.length, null, (er, br, b) => this[_onread](er, br, b));
|
|
106268
106268
|
}
|
|
106269
106269
|
}
|
|
106270
106270
|
[_onread](er, br, buf) {
|
|
@@ -106276,7 +106276,7 @@ var require_lib$13 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports) => {
|
|
|
106276
106276
|
if (this[_autoClose] && typeof this[_fd] === "number") {
|
|
106277
106277
|
const fd = this[_fd];
|
|
106278
106278
|
this[_fd] = null;
|
|
106279
|
-
fs$
|
|
106279
|
+
fs$7.close(fd, (er) => er ? this.emit("error", er) : this.emit("close"));
|
|
106280
106280
|
}
|
|
106281
106281
|
}
|
|
106282
106282
|
[_onerror](er) {
|
|
@@ -106314,7 +106314,7 @@ var require_lib$13 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports) => {
|
|
|
106314
106314
|
[_open]() {
|
|
106315
106315
|
let threw = true;
|
|
106316
106316
|
try {
|
|
106317
|
-
this[_onopen](null, fs$
|
|
106317
|
+
this[_onopen](null, fs$7.openSync(this[_path], "r"));
|
|
106318
106318
|
threw = false;
|
|
106319
106319
|
} finally {
|
|
106320
106320
|
if (threw) this[_close]();
|
|
@@ -106328,7 +106328,7 @@ var require_lib$13 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports) => {
|
|
|
106328
106328
|
do {
|
|
106329
106329
|
const buf = this[_makeBuf]();
|
|
106330
106330
|
/* istanbul ignore next */
|
|
106331
|
-
const br = buf.length === 0 ? 0 : fs$
|
|
106331
|
+
const br = buf.length === 0 ? 0 : fs$7.readSync(this[_fd], buf, 0, buf.length, null);
|
|
106332
106332
|
if (!this[_handleChunk](br, buf)) break;
|
|
106333
106333
|
} while (true);
|
|
106334
106334
|
this[_reading] = false;
|
|
@@ -106342,7 +106342,7 @@ var require_lib$13 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports) => {
|
|
|
106342
106342
|
if (this[_autoClose] && typeof this[_fd] === "number") {
|
|
106343
106343
|
const fd = this[_fd];
|
|
106344
106344
|
this[_fd] = null;
|
|
106345
|
-
fs$
|
|
106345
|
+
fs$7.closeSync(fd);
|
|
106346
106346
|
this.emit("close");
|
|
106347
106347
|
}
|
|
106348
106348
|
}
|
|
@@ -106387,7 +106387,7 @@ var require_lib$13 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports) => {
|
|
|
106387
106387
|
this.emit("error", er);
|
|
106388
106388
|
}
|
|
106389
106389
|
[_open]() {
|
|
106390
|
-
fs$
|
|
106390
|
+
fs$7.open(this[_path], this[_flags], this[_mode], (er, fd) => this[_onopen](er, fd));
|
|
106391
106391
|
}
|
|
106392
106392
|
[_onopen](er, fd) {
|
|
106393
106393
|
if (this[_defaultFlag] && this[_flags] === "r+" && er && er.code === "ENOENT") {
|
|
@@ -106422,7 +106422,7 @@ var require_lib$13 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports) => {
|
|
|
106422
106422
|
return true;
|
|
106423
106423
|
}
|
|
106424
106424
|
[_write](buf) {
|
|
106425
|
-
fs$
|
|
106425
|
+
fs$7.write(this[_fd], buf, 0, buf.length, this[_pos], (er, bw) => this[_onwrite](er, bw));
|
|
106426
106426
|
}
|
|
106427
106427
|
[_onwrite](er, bw) {
|
|
106428
106428
|
if (er) this[_onerror](er);
|
|
@@ -106456,7 +106456,7 @@ var require_lib$13 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports) => {
|
|
|
106456
106456
|
if (this[_autoClose] && typeof this[_fd] === "number") {
|
|
106457
106457
|
const fd = this[_fd];
|
|
106458
106458
|
this[_fd] = null;
|
|
106459
|
-
fs$
|
|
106459
|
+
fs$7.close(fd, (er) => er ? this.emit("error", er) : this.emit("close"));
|
|
106460
106460
|
}
|
|
106461
106461
|
}
|
|
106462
106462
|
};
|
|
@@ -106464,28 +106464,28 @@ var require_lib$13 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports) => {
|
|
|
106464
106464
|
[_open]() {
|
|
106465
106465
|
let fd;
|
|
106466
106466
|
if (this[_defaultFlag] && this[_flags] === "r+") try {
|
|
106467
|
-
fd = fs$
|
|
106467
|
+
fd = fs$7.openSync(this[_path], this[_flags], this[_mode]);
|
|
106468
106468
|
} catch (er) {
|
|
106469
106469
|
if (er.code === "ENOENT") {
|
|
106470
106470
|
this[_flags] = "w";
|
|
106471
106471
|
return this[_open]();
|
|
106472
106472
|
} else throw er;
|
|
106473
106473
|
}
|
|
106474
|
-
else fd = fs$
|
|
106474
|
+
else fd = fs$7.openSync(this[_path], this[_flags], this[_mode]);
|
|
106475
106475
|
this[_onopen](null, fd);
|
|
106476
106476
|
}
|
|
106477
106477
|
[_close]() {
|
|
106478
106478
|
if (this[_autoClose] && typeof this[_fd] === "number") {
|
|
106479
106479
|
const fd = this[_fd];
|
|
106480
106480
|
this[_fd] = null;
|
|
106481
|
-
fs$
|
|
106481
|
+
fs$7.closeSync(fd);
|
|
106482
106482
|
this.emit("close");
|
|
106483
106483
|
}
|
|
106484
106484
|
}
|
|
106485
106485
|
[_write](buf) {
|
|
106486
106486
|
let threw = true;
|
|
106487
106487
|
try {
|
|
106488
|
-
this[_onwrite](null, fs$
|
|
106488
|
+
this[_onwrite](null, fs$7.writeSync(this[_fd], buf, 0, buf.length, this[_pos]));
|
|
106489
106489
|
threw = false;
|
|
106490
106490
|
} finally {
|
|
106491
106491
|
if (threw) try {
|
|
@@ -106502,7 +106502,7 @@ var require_lib$13 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports) => {
|
|
|
106502
106502
|
//#endregion
|
|
106503
106503
|
//#region ../../node_modules/npm-bundled/lib/index.js
|
|
106504
106504
|
var require_lib$12 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
|
|
106505
|
-
const fs$
|
|
106505
|
+
const fs$6 = require("fs");
|
|
106506
106506
|
const path$12 = require("path");
|
|
106507
106507
|
const EE$1 = require("events").EventEmitter;
|
|
106508
106508
|
const normalizePackageBin = require_lib$21();
|
|
@@ -106558,7 +106558,7 @@ var require_lib$12 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
|
|
|
106558
106558
|
return this;
|
|
106559
106559
|
}
|
|
106560
106560
|
readPackageJson(pj) {
|
|
106561
|
-
fs$
|
|
106561
|
+
fs$6.readFile(pj, (er, data) => er ? this.done() : this.onPackageJson(pj, data));
|
|
106562
106562
|
}
|
|
106563
106563
|
onPackageJson(pj, data) {
|
|
106564
106564
|
try {
|
|
@@ -106616,7 +106616,7 @@ var require_lib$12 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
|
|
|
106616
106616
|
}
|
|
106617
106617
|
readPackageJson(pj) {
|
|
106618
106618
|
try {
|
|
106619
|
-
this.onPackageJson(pj, fs$
|
|
106619
|
+
this.onPackageJson(pj, fs$6.readFileSync(pj));
|
|
106620
106620
|
} catch {}
|
|
106621
106621
|
return this;
|
|
106622
106622
|
}
|
|
@@ -106635,7 +106635,7 @@ var require_lib$12 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
|
|
|
106635
106635
|
}
|
|
106636
106636
|
};
|
|
106637
106637
|
const readdirNodeModules = (nm, cb) => {
|
|
106638
|
-
fs$
|
|
106638
|
+
fs$6.readdir(nm, (er, set) => {
|
|
106639
106639
|
if (er) cb(er);
|
|
106640
106640
|
else {
|
|
106641
106641
|
const scopes = set.filter((f) => /^@/.test(f));
|
|
@@ -106644,7 +106644,7 @@ var require_lib$12 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
|
|
|
106644
106644
|
const unscoped = set.filter((f) => !/^@/.test(f));
|
|
106645
106645
|
let count = scopes.length;
|
|
106646
106646
|
scopes.forEach((scope) => {
|
|
106647
|
-
fs$
|
|
106647
|
+
fs$6.readdir(nm + "/" + scope, (readdirEr, pkgs) => {
|
|
106648
106648
|
if (readdirEr || !pkgs.length) unscoped.push(scope);
|
|
106649
106649
|
else unscoped.push.apply(unscoped, pkgs.map((p) => scope + "/" + p));
|
|
106650
106650
|
if (--count === 0) cb(null, unscoped);
|
|
@@ -106655,11 +106655,11 @@ var require_lib$12 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
|
|
|
106655
106655
|
});
|
|
106656
106656
|
};
|
|
106657
106657
|
const readdirNodeModulesSync = (nm) => {
|
|
106658
|
-
const set = fs$
|
|
106658
|
+
const set = fs$6.readdirSync(nm);
|
|
106659
106659
|
const unscoped = set.filter((f) => !/^@/.test(f));
|
|
106660
106660
|
const scopes = set.filter((f) => /^@/.test(f)).map((scope) => {
|
|
106661
106661
|
try {
|
|
106662
|
-
const pkgs = fs$
|
|
106662
|
+
const pkgs = fs$6.readdirSync(nm + "/" + scope);
|
|
106663
106663
|
return pkgs.length ? pkgs.map((p) => scope + "/" + p) : [scope];
|
|
106664
106664
|
} catch (er) {
|
|
106665
106665
|
return [scope];
|
|
@@ -106686,7 +106686,7 @@ var require_lib$12 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
|
|
|
106686
106686
|
var require_lib$11 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
|
|
106687
106687
|
const bundled = require_lib$12();
|
|
106688
106688
|
const { readFile: readFile$5, readdir: readdir$3, stat: stat$3 } = require("fs/promises");
|
|
106689
|
-
const { resolve: resolve$8, basename: basename$3, dirname: dirname$
|
|
106689
|
+
const { resolve: resolve$8, basename: basename$3, dirname: dirname$8 } = require("path");
|
|
106690
106690
|
const normalizePackageBin = require_lib$21();
|
|
106691
106691
|
const readPackage = ({ path: path$51, packageJsonCache }) => packageJsonCache.has(path$51) ? Promise.resolve(packageJsonCache.get(path$51)) : readFile$5(path$51).then((json) => {
|
|
106692
106692
|
const pkg = normalizePackageBin(JSON.parse(json));
|
|
@@ -106725,9 +106725,9 @@ var require_lib$11 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
|
|
|
106725
106725
|
}));
|
|
106726
106726
|
if (pkg) {
|
|
106727
106727
|
if (pkg.bin) {
|
|
106728
|
-
const dir = dirname$
|
|
106728
|
+
const dir = dirname$8(path$53);
|
|
106729
106729
|
const scope = basename$3(dir);
|
|
106730
|
-
const nm = /^@.+/.test(scope) ? dirname$
|
|
106730
|
+
const nm = /^@.+/.test(scope) ? dirname$8(dir) : dir;
|
|
106731
106731
|
const binFiles = [];
|
|
106732
106732
|
Object.keys(pkg.bin).forEach((b) => {
|
|
106733
106733
|
const base = resolve$8(nm, ".bin", b);
|
|
@@ -111999,7 +111999,7 @@ var require_commonjs$5 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports)
|
|
|
111999
111999
|
//#endregion
|
|
112000
112000
|
//#region ../../node_modules/ignore-walk/lib/index.js
|
|
112001
112001
|
var require_lib$10 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
|
|
112002
|
-
const fs$
|
|
112002
|
+
const fs$5 = require("fs");
|
|
112003
112003
|
const path$11 = require("path");
|
|
112004
112004
|
const EE = require("events").EventEmitter;
|
|
112005
112005
|
const Minimatch = require_commonjs$5().Minimatch;
|
|
@@ -112038,7 +112038,7 @@ var require_lib$10 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
|
|
|
112038
112038
|
return ret;
|
|
112039
112039
|
}
|
|
112040
112040
|
start() {
|
|
112041
|
-
fs$
|
|
112041
|
+
fs$5.readdir(this.path, (er, entries) => er ? this.emit("error", er) : this.onReaddir(entries));
|
|
112042
112042
|
return this;
|
|
112043
112043
|
}
|
|
112044
112044
|
isIgnoreFile(e) {
|
|
@@ -112062,7 +112062,7 @@ var require_lib$10 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
|
|
|
112062
112062
|
}
|
|
112063
112063
|
addIgnoreFile(file, then) {
|
|
112064
112064
|
const ig = path$11.resolve(this.path, file);
|
|
112065
|
-
fs$
|
|
112065
|
+
fs$5.readFile(ig, "utf8", (er, data) => er ? this.emit("error", er) : this.onReadIgnoreFile(file, data, then));
|
|
112066
112066
|
}
|
|
112067
112067
|
onReadIgnoreFile(file, data, then) {
|
|
112068
112068
|
const mmopt = {
|
|
@@ -112118,11 +112118,11 @@ var require_lib$10 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
|
|
|
112118
112118
|
}
|
|
112119
112119
|
stat({ entry, file, dir }, then) {
|
|
112120
112120
|
const abs = this.path + "/" + entry;
|
|
112121
|
-
fs$
|
|
112121
|
+
fs$5.lstat(abs, (lstatErr, lstatResult) => {
|
|
112122
112122
|
if (lstatErr) this.emit("error", lstatErr);
|
|
112123
112123
|
else {
|
|
112124
112124
|
const isSymbolicLink = lstatResult.isSymbolicLink();
|
|
112125
|
-
if (this.follow && isSymbolicLink) fs$
|
|
112125
|
+
if (this.follow && isSymbolicLink) fs$5.stat(abs, (statErr, statResult) => {
|
|
112126
112126
|
if (statErr) this.emit("error", statErr);
|
|
112127
112127
|
else this.onstat({
|
|
112128
112128
|
st: statResult,
|
|
@@ -112176,18 +112176,18 @@ var require_lib$10 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
|
|
|
112176
112176
|
};
|
|
112177
112177
|
var WalkerSync = class WalkerSync extends Walker {
|
|
112178
112178
|
start() {
|
|
112179
|
-
this.onReaddir(fs$
|
|
112179
|
+
this.onReaddir(fs$5.readdirSync(this.path));
|
|
112180
112180
|
return this;
|
|
112181
112181
|
}
|
|
112182
112182
|
addIgnoreFile(file, then) {
|
|
112183
112183
|
const ig = path$11.resolve(this.path, file);
|
|
112184
|
-
this.onReadIgnoreFile(file, fs$
|
|
112184
|
+
this.onReadIgnoreFile(file, fs$5.readFileSync(ig, "utf8"), then);
|
|
112185
112185
|
}
|
|
112186
112186
|
stat({ entry, file, dir }, then) {
|
|
112187
112187
|
const abs = this.path + "/" + entry;
|
|
112188
|
-
let st = fs$
|
|
112188
|
+
let st = fs$5.lstatSync(abs);
|
|
112189
112189
|
const isSymbolicLink = st.isSymbolicLink();
|
|
112190
|
-
if (this.follow && isSymbolicLink) st = fs$
|
|
112190
|
+
if (this.follow && isSymbolicLink) st = fs$5.statSync(abs);
|
|
112191
112191
|
this.onstat({
|
|
112192
112192
|
st,
|
|
112193
112193
|
entry,
|
|
@@ -112218,7 +112218,7 @@ var require_lib$10 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
|
|
|
112218
112218
|
var require_lib$9 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
|
|
112219
112219
|
const { Walker: IgnoreWalker } = require_lib$10();
|
|
112220
112220
|
const { lstatSync: lstat$1, readFileSync: readFile$4 } = require("fs");
|
|
112221
|
-
const { basename: basename$2, dirname: dirname$
|
|
112221
|
+
const { basename: basename$2, dirname: dirname$7, extname: extname$1, join: join$7, relative, resolve: resolve$6, sep } = require("path");
|
|
112222
112222
|
const { log } = require_lib$29();
|
|
112223
112223
|
const defaultRules = Symbol("npm-packlist.rules.default");
|
|
112224
112224
|
const strictRules = Symbol("npm-packlist.rules.strict");
|
|
@@ -112251,7 +112251,7 @@ var require_lib$9 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modul
|
|
|
112251
112251
|
const normalizePath = (path$48) => path$48.split("\\").join("/");
|
|
112252
112252
|
const readOutOfTreeIgnoreFiles = (root, rel, result = []) => {
|
|
112253
112253
|
for (const file of [".npmignore", ".gitignore"]) try {
|
|
112254
|
-
const ignoreContent = readFile$4(join$
|
|
112254
|
+
const ignoreContent = readFile$4(join$7(root, file), { encoding: "utf8" });
|
|
112255
112255
|
result.push(ignoreContent);
|
|
112256
112256
|
break;
|
|
112257
112257
|
} catch (err) {
|
|
@@ -112260,8 +112260,8 @@ var require_lib$9 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modul
|
|
|
112260
112260
|
}
|
|
112261
112261
|
if (!rel) return result;
|
|
112262
112262
|
const firstRel = rel.split(sep, 1)[0];
|
|
112263
|
-
const newRoot = join$
|
|
112264
|
-
return readOutOfTreeIgnoreFiles(newRoot, relative(newRoot, join$
|
|
112263
|
+
const newRoot = join$7(root, firstRel);
|
|
112264
|
+
return readOutOfTreeIgnoreFiles(newRoot, relative(newRoot, join$7(root, rel)), result);
|
|
112265
112265
|
};
|
|
112266
112266
|
var PackWalker = class PackWalker extends IgnoreWalker {
|
|
112267
112267
|
constructor(tree, opts) {
|
|
@@ -112290,7 +112290,7 @@ var require_lib$9 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modul
|
|
|
112290
112290
|
const workspaces = options.workspaces.map((ws) => normalizePath(ws));
|
|
112291
112291
|
// istanbul ignore else - this does nothing unless we need it to
|
|
112292
112292
|
if (path$49 !== prefix && workspaces.includes(path$49)) {
|
|
112293
|
-
const relpath = relative(options.prefix, dirname$
|
|
112293
|
+
const relpath = relative(options.prefix, dirname$7(options.path));
|
|
112294
112294
|
additionalDefaults.push(...readOutOfTreeIgnoreFiles(options.prefix, relpath));
|
|
112295
112295
|
} else if (path$49 === prefix) additionalDefaults.push(...workspaces.map((w) => normalizePath(relative(options.path, w))));
|
|
112296
112296
|
}
|
|
@@ -112328,7 +112328,7 @@ var require_lib$9 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modul
|
|
|
112328
112328
|
let ignoreFiles = null;
|
|
112329
112329
|
if (this.tree.workspaces) {
|
|
112330
112330
|
const workspaceDirs = [...this.tree.workspaces.values()].map((dir) => dir.replace(/\\/g, "/"));
|
|
112331
|
-
const entryPath = join$
|
|
112331
|
+
const entryPath = join$7(this.path, entry).replace(/\\/g, "/");
|
|
112332
112332
|
if (workspaceDirs.includes(entryPath)) ignoreFiles = [
|
|
112333
112333
|
defaultRules,
|
|
112334
112334
|
"package.json",
|
|
@@ -112388,7 +112388,7 @@ var require_lib$9 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modul
|
|
|
112388
112388
|
if (file.endsWith("/*")) file += "*";
|
|
112389
112389
|
const inverse = `!${file}`;
|
|
112390
112390
|
try {
|
|
112391
|
-
const stat = lstat$1(join$
|
|
112391
|
+
const stat = lstat$1(join$7(this.path, file.replace(/^!+/, "")).replace(/\\/g, "/"));
|
|
112392
112392
|
if (stat.isFile()) {
|
|
112393
112393
|
strict.unshift(inverse);
|
|
112394
112394
|
this.requiredFiles.push(file.startsWith("/") ? file.slice(1) : file);
|
|
@@ -112445,7 +112445,7 @@ var require_lib$9 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modul
|
|
|
112445
112445
|
walker.start();
|
|
112446
112446
|
});
|
|
112447
112447
|
const relativeFrom = relative(this.root, walker.path);
|
|
112448
|
-
for (const file of bundled) this.result.add(join$
|
|
112448
|
+
for (const file of bundled) this.result.add(join$7(relativeFrom, file).replace(/\\/g, "/"));
|
|
112449
112449
|
}
|
|
112450
112450
|
}
|
|
112451
112451
|
};
|
|
@@ -112469,7 +112469,7 @@ var require_lib$9 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modul
|
|
|
112469
112469
|
//#region ../../node_modules/@npmcli/run-script/lib/set-path.js
|
|
112470
112470
|
var require_set_path = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
|
|
112471
112471
|
const { log } = require_lib$29();
|
|
112472
|
-
const { resolve: resolve$5, dirname: dirname$
|
|
112472
|
+
const { resolve: resolve$5, dirname: dirname$6, delimiter: delimiter$1 } = require("path");
|
|
112473
112473
|
const nodeGypPath = resolve$5(__dirname, "../lib/node-gyp-bin");
|
|
112474
112474
|
const setPATH = (projectPath, binPaths, env) => {
|
|
112475
112475
|
const PATH = Object.keys(env).filter((p) => /^path$/i.test(p) && env[p]).map((p) => env[p].split(delimiter$1)).reduce((set, p) => set.concat(p.filter((concatted) => !set.includes(concatted))), []).join(delimiter$1);
|
|
@@ -112487,7 +112487,7 @@ var require_set_path = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mo
|
|
|
112487
112487
|
do {
|
|
112488
112488
|
pathArr.push(resolve$5(p, "node_modules", ".bin"));
|
|
112489
112489
|
pp = p;
|
|
112490
|
-
p = dirname$
|
|
112490
|
+
p = dirname$6(p);
|
|
112491
112491
|
} while (p !== pp);
|
|
112492
112492
|
pathArr.push(nodeGypPath, PATH);
|
|
112493
112493
|
const pathVal = pathArr.join(delimiter$1);
|
|
@@ -112555,8 +112555,8 @@ var require_package_envs = /* @__PURE__ */ require_chunk.__commonJSMin(((exports
|
|
|
112555
112555
|
//#region ../../node_modules/@npmcli/node-gyp/lib/index.js
|
|
112556
112556
|
var require_lib$8 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
|
|
112557
112557
|
const util$2 = require("util");
|
|
112558
|
-
const fs$
|
|
112559
|
-
const { stat } = fs$
|
|
112558
|
+
const fs$4 = require("fs");
|
|
112559
|
+
const { stat } = fs$4.promises || { stat: util$2.promisify(fs$4.stat) };
|
|
112560
112560
|
async function isNodeGypPackage(path) {
|
|
112561
112561
|
return await stat(`${path}/binding.gyp`).then((st) => st.isFile()).catch(() => false);
|
|
112562
112562
|
}
|
|
@@ -123528,7 +123528,7 @@ More info here: ${moreInfoUrl}`);
|
|
|
123528
123528
|
//#endregion
|
|
123529
123529
|
//#region ../../node_modules/npm-registry-fetch/lib/auth.js
|
|
123530
123530
|
var require_auth = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
|
|
123531
|
-
const fs$
|
|
123531
|
+
const fs$3 = require("fs");
|
|
123532
123532
|
const npa = require_npa();
|
|
123533
123533
|
const { URL: URL$2 } = require("url");
|
|
123534
123534
|
const regFromURI = (uri, opts) => {
|
|
@@ -123568,7 +123568,7 @@ var require_auth = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module
|
|
|
123568
123568
|
};
|
|
123569
123569
|
const maybeReadFile = (file) => {
|
|
123570
123570
|
try {
|
|
123571
|
-
return fs$
|
|
123571
|
+
return fs$3.readFileSync(file, "utf8");
|
|
123572
123572
|
} catch (er) {
|
|
123573
123573
|
if (er.code !== "ENOENT") throw er;
|
|
123574
123574
|
return null;
|
|
@@ -139813,7 +139813,7 @@ var require_updater = /* @__PURE__ */ require_chunk.__commonJSMin(((exports) =>
|
|
|
139813
139813
|
exports.Updater = void 0;
|
|
139814
139814
|
const models_1 = require_dist$4();
|
|
139815
139815
|
const debug_1 = __importDefault(require_src$1());
|
|
139816
|
-
const fs$
|
|
139816
|
+
const fs$2 = __importStar(require("fs"));
|
|
139817
139817
|
const path$10 = __importStar(require("path"));
|
|
139818
139818
|
const package_json_1 = require_package$1();
|
|
139819
139819
|
const config_1 = require_config$1();
|
|
@@ -139884,17 +139884,17 @@ var require_updater = /* @__PURE__ */ require_chunk.__commonJSMin(((exports) =>
|
|
|
139884
139884
|
}
|
|
139885
139885
|
const targetUrl = url.join(targetBaseUrl, targetFilePath);
|
|
139886
139886
|
await this.fetcher.downloadFile(targetUrl, targetInfo.length, async (fileName) => {
|
|
139887
|
-
await targetInfo.verify(fs$
|
|
139887
|
+
await targetInfo.verify(fs$2.createReadStream(fileName));
|
|
139888
139888
|
log("WRITE %s", targetPath);
|
|
139889
|
-
fs$
|
|
139889
|
+
fs$2.copyFileSync(fileName, targetPath);
|
|
139890
139890
|
});
|
|
139891
139891
|
return targetPath;
|
|
139892
139892
|
}
|
|
139893
139893
|
async findCachedTarget(targetInfo, filePath) {
|
|
139894
139894
|
if (!filePath) filePath = this.generateTargetPath(targetInfo);
|
|
139895
139895
|
try {
|
|
139896
|
-
if (fs$
|
|
139897
|
-
await targetInfo.verify(fs$
|
|
139896
|
+
if (fs$2.existsSync(filePath)) {
|
|
139897
|
+
await targetInfo.verify(fs$2.createReadStream(filePath));
|
|
139898
139898
|
return filePath;
|
|
139899
139899
|
}
|
|
139900
139900
|
} catch (error) {
|
|
@@ -139904,7 +139904,7 @@ var require_updater = /* @__PURE__ */ require_chunk.__commonJSMin(((exports) =>
|
|
|
139904
139904
|
loadLocalMetadata(fileName) {
|
|
139905
139905
|
const filePath = path$10.join(this.dir, `${fileName}.json`);
|
|
139906
139906
|
log("READ %s", filePath);
|
|
139907
|
-
return fs$
|
|
139907
|
+
return fs$2.readFileSync(filePath);
|
|
139908
139908
|
}
|
|
139909
139909
|
async loadRoot() {
|
|
139910
139910
|
const lowerBound = this.trustedSet.root.signed.version + 1;
|
|
@@ -140022,7 +140022,7 @@ var require_updater = /* @__PURE__ */ require_chunk.__commonJSMin(((exports) =>
|
|
|
140022
140022
|
try {
|
|
140023
140023
|
const filePath = path$10.join(this.dir, `${encodedName}.json`);
|
|
140024
140024
|
log("WRITE %s", filePath);
|
|
140025
|
-
fs$
|
|
140025
|
+
fs$2.writeFileSync(filePath, bytesData.toString("utf8"));
|
|
140026
140026
|
} catch (error) {
|
|
140027
140027
|
throw new error_1.PersistError(`Failed to persist metadata ${encodedName} error: ${error}`);
|
|
140028
140028
|
}
|
|
@@ -141838,7 +141838,7 @@ var require_registry = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mo
|
|
|
141838
141838
|
//#endregion
|
|
141839
141839
|
//#region ../../node_modules/pacote/lib/fetcher.js
|
|
141840
141840
|
var require_fetcher = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
|
|
141841
|
-
const { basename: basename$1, dirname: dirname$
|
|
141841
|
+
const { basename: basename$1, dirname: dirname$5 } = require("node:path");
|
|
141842
141842
|
const { rm: rm$4, mkdir: mkdir$4 } = require("node:fs/promises");
|
|
141843
141843
|
const PackageJson = require_lib$18();
|
|
141844
141844
|
const cacache = require_lib$14();
|
|
@@ -141887,7 +141887,7 @@ var require_fetcher = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mod
|
|
|
141887
141887
|
this.npmBin = opts.npmBin || "npm";
|
|
141888
141888
|
this.npmInstallCmd = opts.npmInstallCmd || ["install", "--force"];
|
|
141889
141889
|
this.npmCliConfig = opts.npmCliConfig || [
|
|
141890
|
-
`--cache=${dirname$
|
|
141890
|
+
`--cache=${dirname$5(this.cache)}`,
|
|
141891
141891
|
`--prefer-offline=${!!this.preferOffline}`,
|
|
141892
141892
|
`--prefer-online=${!!this.preferOnline}`,
|
|
141893
141893
|
`--offline=${!!this.offline}`,
|
|
@@ -142043,7 +142043,7 @@ var require_fetcher = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mod
|
|
|
142043
142043
|
}));
|
|
142044
142044
|
}
|
|
142045
142045
|
async tarballFile(dest) {
|
|
142046
|
-
await mkdir$4(dirname$
|
|
142046
|
+
await mkdir$4(dirname$5(dest), { recursive: true });
|
|
142047
142047
|
return this.#toFile(dest);
|
|
142048
142048
|
}
|
|
142049
142049
|
#extract(dest, tarball) {
|
|
@@ -150464,7 +150464,9 @@ var require_error = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modul
|
|
|
150464
150464
|
}
|
|
150465
150465
|
})();
|
|
150466
150466
|
}));
|
|
150467
|
-
|
|
150467
|
+
//#endregion
|
|
150468
|
+
//#region ../../node_modules/serve-handler/src/index.js
|
|
150469
|
+
var require_src = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
|
|
150468
150470
|
const { promisify: promisify$1 } = require("util");
|
|
150469
150471
|
const path$6 = require("path");
|
|
150470
150472
|
const { createHash } = require("crypto");
|
|
@@ -150916,12 +150918,13 @@ var require_error = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modul
|
|
|
150916
150918
|
response.writeHead(response.statusCode || 200, headers);
|
|
150917
150919
|
stream.pipe(response);
|
|
150918
150920
|
};
|
|
150919
|
-
}))
|
|
150921
|
+
}));
|
|
150920
150922
|
require_semver();
|
|
150921
150923
|
require_lib();
|
|
150924
|
+
require_src();
|
|
150922
150925
|
//#endregion
|
|
150923
150926
|
//#region ../../packages/core-node/src/handler-func.ts
|
|
150924
|
-
const { join: join$
|
|
150927
|
+
const { join: join$5 } = node_path.default;
|
|
150925
150928
|
//#endregion
|
|
150926
150929
|
//#region ../../packages/core-node/src/handlers/plugins.ts
|
|
150927
150930
|
const localPluginsMap = /* @__PURE__ */ new Map();
|