create-nextly-app 0.0.2-alpha.44 → 0.0.2-alpha.45
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/{chunk-OCMWPADZ.mjs → chunk-MP4HG5TY.mjs} +93 -86
- package/dist/chunk-MP4HG5TY.mjs.map +1 -0
- package/dist/cli.cjs +92 -85
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.mjs +2 -2
- package/dist/cli.mjs.map +1 -1
- package/dist/index.cjs +224 -217
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +4 -4
- package/dist/chunk-OCMWPADZ.mjs.map +0 -1
|
@@ -5897,7 +5897,7 @@ var require_data = __commonJS2({
|
|
|
5897
5897
|
}
|
|
5898
5898
|
});
|
|
5899
5899
|
var require_utils = __commonJS2({
|
|
5900
|
-
"../../node_modules/.pnpm/fast-uri@3.1.
|
|
5900
|
+
"../../node_modules/.pnpm/fast-uri@3.1.4/node_modules/fast-uri/lib/utils.js"(exports$1, module) {
|
|
5901
5901
|
var isUUID = RegExp.prototype.test.bind(/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu);
|
|
5902
5902
|
var isIPv4 = RegExp.prototype.test.bind(/^(?:(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)$/u);
|
|
5903
5903
|
var isHexPair = RegExp.prototype.test.bind(/^[\da-f]{2}$/iu);
|
|
@@ -6207,7 +6207,7 @@ var require_utils = __commonJS2({
|
|
|
6207
6207
|
}
|
|
6208
6208
|
});
|
|
6209
6209
|
var require_schemes = __commonJS2({
|
|
6210
|
-
"../../node_modules/.pnpm/fast-uri@3.1.
|
|
6210
|
+
"../../node_modules/.pnpm/fast-uri@3.1.4/node_modules/fast-uri/lib/schemes.js"(exports$1, module) {
|
|
6211
6211
|
var { isUUID } = require_utils();
|
|
6212
6212
|
var URN_REG = /([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu;
|
|
6213
6213
|
var supportedSchemeNames = (
|
|
@@ -6414,7 +6414,7 @@ var require_schemes = __commonJS2({
|
|
|
6414
6414
|
}
|
|
6415
6415
|
});
|
|
6416
6416
|
var require_fast_uri = __commonJS2({
|
|
6417
|
-
"../../node_modules/.pnpm/fast-uri@3.1.
|
|
6417
|
+
"../../node_modules/.pnpm/fast-uri@3.1.4/node_modules/fast-uri/index.js"(exports$1, module) {
|
|
6418
6418
|
var { normalizeIPv6, removeDotSegments, recomposeAuthority, normalizePercentEncoding, normalizePathEncoding, escapePreservingEscapes, reescapeHostDelimiters, isIPv4, nonSimpleDomain } = require_utils();
|
|
6419
6419
|
var { SCHEMES, getSchemeHandler } = require_schemes();
|
|
6420
6420
|
function normalize(uri, options) {
|
|
@@ -6554,6 +6554,7 @@ var require_fast_uri = __commonJS2({
|
|
|
6554
6554
|
return uriTokens.join("");
|
|
6555
6555
|
}
|
|
6556
6556
|
var URI_PARSE = /^(?:([^#/:?]+):)?(?:\/\/((?:([^#/?@]*)@)?(\[[^#/?\]]+\]|[^#/:?]*)(?::(\d*))?))?([^#?]*)(?:\?([^#]*))?(?:#((?:.|[\n\r])*))?/u;
|
|
6557
|
+
var AUTHORITY_PREFIX = /^(?:[^#/:?]+:)?\/\/([^/?#]*)/;
|
|
6557
6558
|
function getParseError(parsed, matches) {
|
|
6558
6559
|
if (matches[2] !== void 0 && parsed.path && parsed.path[0] !== "/") {
|
|
6559
6560
|
return 'URI path must start with "/" when authority is present.';
|
|
@@ -6583,6 +6584,11 @@ var require_fast_uri = __commonJS2({
|
|
|
6583
6584
|
uri = "//" + uri;
|
|
6584
6585
|
}
|
|
6585
6586
|
}
|
|
6587
|
+
const authorityMatch = uri.match(AUTHORITY_PREFIX);
|
|
6588
|
+
if (authorityMatch !== null && authorityMatch[1].indexOf("\\") !== -1) {
|
|
6589
|
+
parsed.error = "URI authority must not contain a literal backslash.";
|
|
6590
|
+
malformedAuthorityOrPort = true;
|
|
6591
|
+
}
|
|
6586
6592
|
const matches = uri.match(URI_PARSE);
|
|
6587
6593
|
if (matches) {
|
|
6588
6594
|
parsed.scheme = matches[1];
|
|
@@ -25968,7 +25974,7 @@ var Jr = fs.writev;
|
|
|
25968
25974
|
var ht3 = Symbol("_autoClose");
|
|
25969
25975
|
var H3 = Symbol("_close");
|
|
25970
25976
|
var te2 = Symbol("_ended");
|
|
25971
|
-
var
|
|
25977
|
+
var m = Symbol("_fd");
|
|
25972
25978
|
var Ni = Symbol("_finished");
|
|
25973
25979
|
var tt2 = Symbol("_flags");
|
|
25974
25980
|
var Ai = Symbol("_flush");
|
|
@@ -25995,7 +26001,7 @@ var Me = Symbol("_defaultFlag");
|
|
|
25995
26001
|
var bt3 = Symbol("_errored");
|
|
25996
26002
|
var _t2 = class extends A {
|
|
25997
26003
|
[bt3] = false;
|
|
25998
|
-
[
|
|
26004
|
+
[m];
|
|
25999
26005
|
[U3];
|
|
26000
26006
|
[Ci];
|
|
26001
26007
|
[j2] = false;
|
|
@@ -26004,10 +26010,10 @@ var _t2 = class extends A {
|
|
|
26004
26010
|
[ht3];
|
|
26005
26011
|
constructor(t2, e) {
|
|
26006
26012
|
if (e = e || {}, super(e), this.readable = true, this.writable = false, typeof t2 != "string") throw new TypeError("path must be a string");
|
|
26007
|
-
this[bt3] = false, this[
|
|
26013
|
+
this[bt3] = false, this[m] = typeof e.fd == "number" ? e.fd : void 0, this[U3] = t2, this[Ci] = e.readSize || 16 * 1024 * 1024, this[j2] = false, this[Fi] = typeof e.size == "number" ? e.size : 1 / 0, this[ee2] = this[Fi], this[ht3] = typeof e.autoClose == "boolean" ? e.autoClose : true, typeof this[m] == "number" ? this[zt]() : this[at2]();
|
|
26008
26014
|
}
|
|
26009
26015
|
get fd() {
|
|
26010
|
-
return this[
|
|
26016
|
+
return this[m];
|
|
26011
26017
|
}
|
|
26012
26018
|
get path() {
|
|
26013
26019
|
return this[U3];
|
|
@@ -26022,7 +26028,7 @@ var _t2 = class extends A {
|
|
|
26022
26028
|
fs.open(this[U3], "r", (t2, e) => this[Ht](t2, e));
|
|
26023
26029
|
}
|
|
26024
26030
|
[Ht](t2, e) {
|
|
26025
|
-
t2 ? this[Ut](t2) : (this[
|
|
26031
|
+
t2 ? this[Ut](t2) : (this[m] = e, this.emit("open", e), this[zt]());
|
|
26026
26032
|
}
|
|
26027
26033
|
[vi]() {
|
|
26028
26034
|
return Buffer.allocUnsafe(Math.min(this[Ci], this[ee2]));
|
|
@@ -26032,16 +26038,16 @@ var _t2 = class extends A {
|
|
|
26032
26038
|
this[j2] = true;
|
|
26033
26039
|
let t2 = this[vi]();
|
|
26034
26040
|
if (t2.length === 0) return process.nextTick(() => this[Ii](null, 0, t2));
|
|
26035
|
-
fs.read(this[
|
|
26041
|
+
fs.read(this[m], t2, 0, t2.length, null, (e, i2, r) => this[Ii](e, i2, r));
|
|
26036
26042
|
}
|
|
26037
26043
|
}
|
|
26038
26044
|
[Ii](t2, e, i2) {
|
|
26039
26045
|
this[j2] = false, t2 ? this[Ut](t2) : this[ki](e, i2) && this[zt]();
|
|
26040
26046
|
}
|
|
26041
26047
|
[H3]() {
|
|
26042
|
-
if (this[ht3] && typeof this[
|
|
26043
|
-
let t2 = this[
|
|
26044
|
-
this[
|
|
26048
|
+
if (this[ht3] && typeof this[m] == "number") {
|
|
26049
|
+
let t2 = this[m];
|
|
26050
|
+
this[m] = void 0, fs.close(t2, (e) => e ? this.emit("error", e) : this.emit("close"));
|
|
26045
26051
|
}
|
|
26046
26052
|
}
|
|
26047
26053
|
[Ut](t2) {
|
|
@@ -26057,7 +26063,7 @@ var _t2 = class extends A {
|
|
|
26057
26063
|
case "finish":
|
|
26058
26064
|
return false;
|
|
26059
26065
|
case "drain":
|
|
26060
|
-
return typeof this[
|
|
26066
|
+
return typeof this[m] == "number" && this[zt](), false;
|
|
26061
26067
|
case "error":
|
|
26062
26068
|
return this[bt3] ? false : (this[bt3] = true, super.emit(t2, ...e));
|
|
26063
26069
|
default:
|
|
@@ -26080,7 +26086,7 @@ var Be = class extends _t2 {
|
|
|
26080
26086
|
if (!this[j2]) {
|
|
26081
26087
|
this[j2] = true;
|
|
26082
26088
|
do {
|
|
26083
|
-
let e = this[vi](), i2 = e.length === 0 ? 0 : fs.readSync(this[
|
|
26089
|
+
let e = this[vi](), i2 = e.length === 0 ? 0 : fs.readSync(this[m], e, 0, e.length, null);
|
|
26084
26090
|
if (!this[ki](i2, e)) break;
|
|
26085
26091
|
} while (true);
|
|
26086
26092
|
this[j2] = false;
|
|
@@ -26091,9 +26097,9 @@ var Be = class extends _t2 {
|
|
|
26091
26097
|
}
|
|
26092
26098
|
}
|
|
26093
26099
|
[H3]() {
|
|
26094
|
-
if (this[ht3] && typeof this[
|
|
26095
|
-
let t2 = this[
|
|
26096
|
-
this[
|
|
26100
|
+
if (this[ht3] && typeof this[m] == "number") {
|
|
26101
|
+
let t2 = this[m];
|
|
26102
|
+
this[m] = void 0, fs.closeSync(t2), this.emit("close");
|
|
26097
26103
|
}
|
|
26098
26104
|
}
|
|
26099
26105
|
};
|
|
@@ -26108,15 +26114,15 @@ var et2 = class extends Qr {
|
|
|
26108
26114
|
[U3];
|
|
26109
26115
|
[ie2];
|
|
26110
26116
|
[ht3];
|
|
26111
|
-
[
|
|
26117
|
+
[m];
|
|
26112
26118
|
[Me];
|
|
26113
26119
|
[tt2];
|
|
26114
26120
|
[Ni] = false;
|
|
26115
26121
|
[ot2];
|
|
26116
26122
|
constructor(t2, e) {
|
|
26117
|
-
e = e || {}, super(e), this[U3] = t2, this[
|
|
26123
|
+
e = e || {}, super(e), this[U3] = t2, this[m] = typeof e.fd == "number" ? e.fd : void 0, this[ie2] = e.mode === void 0 ? 438 : e.mode, this[ot2] = typeof e.start == "number" ? e.start : void 0, this[ht3] = typeof e.autoClose == "boolean" ? e.autoClose : true;
|
|
26118
26124
|
let i2 = this[ot2] !== void 0 ? "r+" : "w";
|
|
26119
|
-
this[Me] = e.flags === void 0, this[tt2] = e.flags === void 0 ? i2 : e.flags, this[
|
|
26125
|
+
this[Me] = e.flags === void 0, this[tt2] = e.flags === void 0 ? i2 : e.flags, this[m] === void 0 && this[at2]();
|
|
26120
26126
|
}
|
|
26121
26127
|
emit(t2, ...e) {
|
|
26122
26128
|
if (t2 === "error") {
|
|
@@ -26126,7 +26132,7 @@ var et2 = class extends Qr {
|
|
|
26126
26132
|
return super.emit(t2, ...e);
|
|
26127
26133
|
}
|
|
26128
26134
|
get fd() {
|
|
26129
|
-
return this[
|
|
26135
|
+
return this[m];
|
|
26130
26136
|
}
|
|
26131
26137
|
get path() {
|
|
26132
26138
|
return this[U3];
|
|
@@ -26138,16 +26144,16 @@ var et2 = class extends Qr {
|
|
|
26138
26144
|
fs.open(this[U3], this[tt2], this[ie2], (t2, e) => this[Ht](t2, e));
|
|
26139
26145
|
}
|
|
26140
26146
|
[Ht](t2, e) {
|
|
26141
|
-
this[Me] && this[tt2] === "r+" && t2 && t2.code === "ENOENT" ? (this[tt2] = "w", this[at2]()) : t2 ? this[Ut](t2) : (this[
|
|
26147
|
+
this[Me] && this[tt2] === "r+" && t2 && t2.code === "ENOENT" ? (this[tt2] = "w", this[at2]()) : t2 ? this[Ut](t2) : (this[m] = e, this.emit("open", e), this[gt3] || this[Ai]());
|
|
26142
26148
|
}
|
|
26143
26149
|
end(t2, e) {
|
|
26144
|
-
return t2 && this.write(t2, e), this[te2] = true, !this[gt3] && !this[Y].length && typeof this[
|
|
26150
|
+
return t2 && this.write(t2, e), this[te2] = true, !this[gt3] && !this[Y].length && typeof this[m] == "number" && this[Pt](null, 0), this;
|
|
26145
26151
|
}
|
|
26146
26152
|
write(t2, e) {
|
|
26147
|
-
return typeof t2 == "string" && (t2 = Buffer.from(t2, e)), this[te2] ? (this.emit("error", new Error("write() after end()")), false) : this[
|
|
26153
|
+
return typeof t2 == "string" && (t2 = Buffer.from(t2, e)), this[te2] ? (this.emit("error", new Error("write() after end()")), false) : this[m] === void 0 || this[gt3] || this[Y].length ? (this[Y].push(t2), this[ke2] = true, false) : (this[gt3] = true, this[ve2](t2), true);
|
|
26148
26154
|
}
|
|
26149
26155
|
[ve2](t2) {
|
|
26150
|
-
fs.write(this[
|
|
26156
|
+
fs.write(this[m], t2, 0, t2.length, this[ot2], (e, i2) => this[Pt](e, i2));
|
|
26151
26157
|
}
|
|
26152
26158
|
[Pt](t2, e) {
|
|
26153
26159
|
t2 ? this[Ut](t2) : (this[ot2] !== void 0 && typeof e == "number" && (this[ot2] += e), this[Y].length ? this[Ai]() : (this[gt3] = false, this[te2] && !this[Ni] ? (this[Ni] = true, this[H3](), this.emit("finish")) : this[ke2] && (this[ke2] = false, this.emit("drain"))));
|
|
@@ -26157,13 +26163,13 @@ var et2 = class extends Qr {
|
|
|
26157
26163
|
else if (this[Y].length === 1) this[ve2](this[Y].pop());
|
|
26158
26164
|
else {
|
|
26159
26165
|
let t2 = this[Y];
|
|
26160
|
-
this[Y] = [], Jr(this[
|
|
26166
|
+
this[Y] = [], Jr(this[m], t2, this[ot2], (e, i2) => this[Pt](e, i2));
|
|
26161
26167
|
}
|
|
26162
26168
|
}
|
|
26163
26169
|
[H3]() {
|
|
26164
|
-
if (this[ht3] && typeof this[
|
|
26165
|
-
let t2 = this[
|
|
26166
|
-
this[
|
|
26170
|
+
if (this[ht3] && typeof this[m] == "number") {
|
|
26171
|
+
let t2 = this[m];
|
|
26172
|
+
this[m] = void 0, fs.close(t2, (e) => e ? this.emit("error", e) : this.emit("close"));
|
|
26167
26173
|
}
|
|
26168
26174
|
}
|
|
26169
26175
|
};
|
|
@@ -26180,15 +26186,15 @@ var Wt3 = class extends et2 {
|
|
|
26180
26186
|
this[Ht](null, t2);
|
|
26181
26187
|
}
|
|
26182
26188
|
[H3]() {
|
|
26183
|
-
if (this[ht3] && typeof this[
|
|
26184
|
-
let t2 = this[
|
|
26185
|
-
this[
|
|
26189
|
+
if (this[ht3] && typeof this[m] == "number") {
|
|
26190
|
+
let t2 = this[m];
|
|
26191
|
+
this[m] = void 0, fs.closeSync(t2), this.emit("close");
|
|
26186
26192
|
}
|
|
26187
26193
|
}
|
|
26188
26194
|
[ve2](t2) {
|
|
26189
26195
|
let e = true;
|
|
26190
26196
|
try {
|
|
26191
|
-
this[Pt](null, fs.writeSync(this[
|
|
26197
|
+
this[Pt](null, fs.writeSync(this[m], t2, 0, t2.length, this[ot2])), e = false;
|
|
26192
26198
|
} finally {
|
|
26193
26199
|
if (e) try {
|
|
26194
26200
|
this[H3]();
|
|
@@ -26447,7 +26453,7 @@ var dn = (s3) => Ve2.has(s3);
|
|
|
26447
26453
|
var Ui = /* @__PURE__ */ new Set(["0", "", "1", "2", "3", "4", "5", "6", "7", "D"]);
|
|
26448
26454
|
var oe2 = /* @__PURE__ */ new Map([["0", "File"], ["", "OldFile"], ["1", "Link"], ["2", "SymbolicLink"], ["3", "CharacterDevice"], ["4", "BlockDevice"], ["5", "Directory"], ["6", "FIFO"], ["7", "ContiguousFile"], ["g", "GlobalExtendedHeader"], ["x", "ExtendedHeader"], ["A", "SolarisACL"], ["D", "GNUDumpDir"], ["I", "Inode"], ["K", "NextFileHasLongLinkpath"], ["L", "NextFileHasLongPath"], ["M", "ContinuationFile"], ["N", "OldGnuLongPath"], ["S", "SparseFile"], ["V", "TapeVolumeHeader"], ["X", "OldExtendedHeader"]]);
|
|
26449
26455
|
var Ve2 = new Map(Array.from(oe2).map((s3) => [s3[1], s3[0]]));
|
|
26450
|
-
var
|
|
26456
|
+
var un = (s3) => s3 === void 0 || s3 < 0 ? void 0 : s3;
|
|
26451
26457
|
var F = class {
|
|
26452
26458
|
cksumValid = false;
|
|
26453
26459
|
needPax = false;
|
|
@@ -26476,7 +26482,7 @@ var F = class {
|
|
|
26476
26482
|
decode(t2, e, i2, r) {
|
|
26477
26483
|
if (e || (e = 0), !t2 || !(t2.length >= e + 512)) throw new Error("need 512 bytes for header");
|
|
26478
26484
|
let n2 = xt2(t2, e + 156, 1), o2 = Ui.has(n2), h3 = o2 ? i2 : void 0, a2 = o2 ? r : void 0;
|
|
26479
|
-
if (this.path = h3?.path ?? xt2(t2, e, 100), this.mode = h3?.mode ?? a2?.mode ?? lt2(t2, e + 100, 8), this.uid = h3?.uid ?? a2?.uid ?? lt2(t2, e + 108, 8), this.gid = h3?.gid ?? a2?.gid ?? lt2(t2, e + 116, 8), this.size =
|
|
26485
|
+
if (this.path = h3?.path ?? xt2(t2, e, 100), this.mode = h3?.mode ?? a2?.mode ?? lt2(t2, e + 100, 8), this.uid = h3?.uid ?? a2?.uid ?? lt2(t2, e + 108, 8), this.gid = h3?.gid ?? a2?.gid ?? lt2(t2, e + 116, 8), this.size = un(h3?.size ?? a2?.size ?? lt2(t2, e + 124, 12)), this.mtime = h3?.mtime ?? a2?.mtime ?? Wi(t2, e + 136, 12), this.cksum = lt2(t2, e + 148, 12), a2 && this.#i(a2, true), h3 && this.#i(h3), ne2(n2) && (this.#t = n2 || "0"), this.#t === "0" && this.path.slice(-1) === "/" && (this.#t = "5"), this.#t === "5" && (this.size = 0), this.linkpath = xt2(t2, e + 157, 100), t2.subarray(e + 257, e + 265).toString() === "ustar\x0000") if (this.uname = h3?.uname ?? a2?.uname ?? xt2(t2, e + 265, 32), this.gname = h3?.gname ?? a2?.gname ?? xt2(t2, e + 297, 32), this.devmaj = h3?.devmaj ?? a2?.devmaj ?? lt2(t2, e + 329, 8) ?? 0, this.devmin = h3?.devmin ?? a2?.devmin ?? lt2(t2, e + 337, 8) ?? 0, t2[e + 475] !== 0) {
|
|
26480
26486
|
let c3 = xt2(t2, e + 345, 155);
|
|
26481
26487
|
this.path = c3 + "/" + this.path;
|
|
26482
26488
|
} else {
|
|
@@ -26493,7 +26499,7 @@ var F = class {
|
|
|
26493
26499
|
}
|
|
26494
26500
|
encode(t2, e = 0) {
|
|
26495
26501
|
if (t2 || (t2 = this.block = Buffer.alloc(512)), this.#t === "Unsupported" && (this.#t = "0"), !(t2.length >= e + 512)) throw new Error("need 512 bytes for header");
|
|
26496
|
-
let i2 = this.ctime || this.atime ? 130 : 155, r =
|
|
26502
|
+
let i2 = this.ctime || this.atime ? 130 : 155, r = mn(this.path || "", i2), n2 = r[0], o2 = r[1];
|
|
26497
26503
|
this.needPax = !!r[2], this.needPax = Lt2(t2, e, 100, n2) || this.needPax, this.needPax = ct2(t2, e + 100, 8, this.mode) || this.needPax, this.needPax = ct2(t2, e + 108, 8, this.uid) || this.needPax, this.needPax = ct2(t2, e + 116, 8, this.gid) || this.needPax, this.needPax = ct2(t2, e + 124, 12, this.size) || this.needPax, this.needPax = Gi(t2, e + 136, 12, this.mtime) || this.needPax, t2[e + 156] = Number(this.#t.codePointAt(0)), this.needPax = Lt2(t2, e + 157, 100, this.linkpath) || this.needPax, t2.write("ustar\x0000", e + 257, 8), this.needPax = Lt2(t2, e + 265, 32, this.uname) || this.needPax, this.needPax = Lt2(t2, e + 297, 32, this.gname) || this.needPax, this.needPax = ct2(t2, e + 329, 8, this.devmaj) || this.needPax, this.needPax = ct2(t2, e + 337, 8, this.devmin) || this.needPax, this.needPax = Lt2(t2, e + 345, i2, o2) || this.needPax, t2[e + 475] !== 0 ? this.needPax = Lt2(t2, e + 345, 155, o2) || this.needPax : (this.needPax = Lt2(t2, e + 345, 130, o2) || this.needPax, this.needPax = Gi(t2, e + 476, 12, this.atime) || this.needPax, this.needPax = Gi(t2, e + 488, 12, this.ctime) || this.needPax);
|
|
26498
26504
|
let h3 = 256;
|
|
26499
26505
|
for (let a2 = e; a2 < e + 148; a2++) h3 += t2[a2];
|
|
@@ -26513,7 +26519,7 @@ var F = class {
|
|
|
26513
26519
|
else throw new TypeError("invalid entry type: " + t2);
|
|
26514
26520
|
}
|
|
26515
26521
|
};
|
|
26516
|
-
var
|
|
26522
|
+
var mn = (s3, t2) => {
|
|
26517
26523
|
let i2 = s3, r = "", n2, o2 = posix.parse(s3).root || ".";
|
|
26518
26524
|
if (Buffer.byteLength(i2) < 100) n2 = [i2, r, false];
|
|
26519
26525
|
else {
|
|
@@ -26706,7 +26712,7 @@ var dt3 = Symbol("meta");
|
|
|
26706
26712
|
var Ys = Symbol("emitMeta");
|
|
26707
26713
|
var p = Symbol("buffer");
|
|
26708
26714
|
var st2 = Symbol("queue");
|
|
26709
|
-
var
|
|
26715
|
+
var ut = Symbol("ended");
|
|
26710
26716
|
var Yi = Symbol("emittedEnd");
|
|
26711
26717
|
var At3 = Symbol("emit");
|
|
26712
26718
|
var w = Symbol("unzip");
|
|
@@ -26748,7 +26754,7 @@ var rt2 = class extends EventEmitter {
|
|
|
26748
26754
|
[dt3] = "";
|
|
26749
26755
|
[V2];
|
|
26750
26756
|
[he2];
|
|
26751
|
-
[
|
|
26757
|
+
[ut] = false;
|
|
26752
26758
|
[w];
|
|
26753
26759
|
[$2] = false;
|
|
26754
26760
|
[It3];
|
|
@@ -26886,7 +26892,7 @@ var rt2 = class extends EventEmitter {
|
|
|
26886
26892
|
}
|
|
26887
26893
|
}
|
|
26888
26894
|
let h3 = this.brotli === void 0 && !o2;
|
|
26889
|
-
if (this[w] === false && h3) if (t2.length < 512) if (this[
|
|
26895
|
+
if (this[w] === false && h3) if (t2.length < 512) if (this[ut]) this.brotli = true;
|
|
26890
26896
|
else return this[p] = t2, i2?.(), true;
|
|
26891
26897
|
else try {
|
|
26892
26898
|
new F(t2.subarray(0, 512)), this.brotli = false;
|
|
@@ -26894,13 +26900,13 @@ var rt2 = class extends EventEmitter {
|
|
|
26894
26900
|
this.brotli = true;
|
|
26895
26901
|
}
|
|
26896
26902
|
if (this[w] === void 0 || this[w] === false && (this.brotli || o2)) {
|
|
26897
|
-
let a2 = this[
|
|
26898
|
-
this[
|
|
26903
|
+
let a2 = this[ut];
|
|
26904
|
+
this[ut] = false, this[w] = this[w] === void 0 ? new Ue2({}) : o2 ? new Ke2({}) : new Ge2({}), this[w].on("data", (c3) => {
|
|
26899
26905
|
this[Xs](c3) && this[Xe](c3);
|
|
26900
26906
|
}), this[w].on("error", (c3) => {
|
|
26901
26907
|
this[$2] || this.abort(c3);
|
|
26902
26908
|
}), this[w].on("end", () => {
|
|
26903
|
-
this[
|
|
26909
|
+
this[ut] = true, this[Xe]();
|
|
26904
26910
|
}), this[Yt] = true, this[le] += t2.length;
|
|
26905
26911
|
let l = !!this[w][a2 ? "end" : "write"](t2);
|
|
26906
26912
|
return this[Yt] = false, i2?.(), l;
|
|
@@ -26914,7 +26920,7 @@ var rt2 = class extends EventEmitter {
|
|
|
26914
26920
|
t2 && !this[$2] && (this[p] = this[p] ? Buffer.concat([this[p], t2]) : t2);
|
|
26915
26921
|
}
|
|
26916
26922
|
[Qe2]() {
|
|
26917
|
-
if (this[
|
|
26923
|
+
if (this[ut] && !this[Yi] && !this[$2] && !this[ae2]) {
|
|
26918
26924
|
this[Yi] = true;
|
|
26919
26925
|
let t2 = this[Nt2];
|
|
26920
26926
|
if (t2?.blockRemain) {
|
|
@@ -26939,7 +26945,7 @@ var rt2 = class extends EventEmitter {
|
|
|
26939
26945
|
}
|
|
26940
26946
|
this[ae2] = false;
|
|
26941
26947
|
}
|
|
26942
|
-
(!this[p] || this[
|
|
26948
|
+
(!this[p] || this[ut]) && this[Qe2]();
|
|
26943
26949
|
}
|
|
26944
26950
|
[qe](t2) {
|
|
26945
26951
|
let e = 0, i2 = t2.length;
|
|
@@ -26961,10 +26967,10 @@ var rt2 = class extends EventEmitter {
|
|
|
26961
26967
|
e < i2 && (this[p] = this[p] ? Buffer.concat([t2.subarray(e), this[p]]) : t2.subarray(e));
|
|
26962
26968
|
}
|
|
26963
26969
|
end(t2, e, i2) {
|
|
26964
|
-
return typeof t2 == "function" && (i2 = t2, e = void 0, t2 = void 0), typeof e == "function" && (i2 = e, e = void 0), typeof t2 == "string" && (t2 = Buffer.from(t2, e)), i2 && this.once("finish", i2), this[$2] || (this[w] ? (t2 && (this[le] += t2.length, this[w].write(t2)), this[w].end()) : (this[
|
|
26970
|
+
return typeof t2 == "function" && (i2 = t2, e = void 0, t2 = void 0), typeof e == "function" && (i2 = e, e = void 0), typeof t2 == "string" && (t2 = Buffer.from(t2, e)), i2 && this.once("finish", i2), this[$2] || (this[w] ? (t2 && (this[le] += t2.length, this[w].write(t2)), this[w].end()) : (this[ut] = true, (this.brotli === void 0 || this.zstd === void 0) && (t2 = t2 || Buffer.alloc(0)), t2 && this.write(t2), this[Qe2]())), this;
|
|
26965
26971
|
}
|
|
26966
26972
|
};
|
|
26967
|
-
var
|
|
26973
|
+
var mt3 = (s3) => {
|
|
26968
26974
|
let t2 = s3.length - 1, e = -1;
|
|
26969
26975
|
for (; t2 > -1 && s3.charAt(t2) === "/"; ) e = t2, t2--;
|
|
26970
26976
|
return e === -1 ? s3 : s3.slice(0, e);
|
|
@@ -26976,16 +26982,17 @@ var vn = (s3) => {
|
|
|
26976
26982
|
} : (e) => e.resume();
|
|
26977
26983
|
};
|
|
26978
26984
|
var Qi = (s3, t2) => {
|
|
26979
|
-
let e = new Map(t2.map((
|
|
26980
|
-
|
|
26981
|
-
|
|
26985
|
+
let e = new Map(t2.map((o2) => [mt3(o2), true])), i2 = s3.filter, r = 100, n2 = (o2, h3 = "", a2 = 0) => {
|
|
26986
|
+
if (a2 >= r) return e.set(o2, false), false;
|
|
26987
|
+
let l = h3 || parse(o2).root || ".", c3;
|
|
26988
|
+
if (o2 === l) c3 = false;
|
|
26982
26989
|
else {
|
|
26983
|
-
let
|
|
26984
|
-
|
|
26990
|
+
let d = e.get(o2);
|
|
26991
|
+
c3 = d !== void 0 ? d : n2(dirname(o2), l, a2 + 1);
|
|
26985
26992
|
}
|
|
26986
|
-
return e.set(
|
|
26993
|
+
return e.set(o2, c3), c3;
|
|
26987
26994
|
};
|
|
26988
|
-
s3.filter = i2 ? (
|
|
26995
|
+
s3.filter = i2 ? (o2, h3) => i2(o2, h3) && n2(mt3(o2)) : (o2) => n2(mt3(o2));
|
|
26989
26996
|
};
|
|
26990
26997
|
var Mn = (s3) => {
|
|
26991
26998
|
let t2 = new rt2(s3), e = s3.file, i2;
|
|
@@ -27042,7 +27049,7 @@ var Un = new Map(ei.map((s3, t2) => [s3, ji[t2]]));
|
|
|
27042
27049
|
var Hn = new Map(ji.map((s3, t2) => [s3, ei[t2]]));
|
|
27043
27050
|
var ts = (s3) => ei.reduce((t2, e) => t2.split(e).join(Un.get(e)), s3);
|
|
27044
27051
|
var Qs = (s3) => ji.reduce((t2, e) => t2.split(e).join(Hn.get(e)), s3);
|
|
27045
|
-
var rr = (s3, t2) => t2 ? (s3 = f(s3).replace(/^\.(\/|$)/, ""),
|
|
27052
|
+
var rr = (s3, t2) => t2 ? (s3 = f(s3).replace(/^\.(\/|$)/, ""), mt3(t2) + "/" + s3) : f(s3);
|
|
27046
27053
|
var Wn = 16 * 1024 * 1024;
|
|
27047
27054
|
var tr = Symbol("process");
|
|
27048
27055
|
var er = Symbol("file");
|
|
@@ -27469,16 +27476,16 @@ var hi = class s2 {
|
|
|
27469
27476
|
}
|
|
27470
27477
|
};
|
|
27471
27478
|
function Zn(s3, t2, e) {
|
|
27472
|
-
let i2 = t2, r = t2 ? t2.next : s3.head, n2 = new
|
|
27479
|
+
let i2 = t2, r = t2 ? t2.next : s3.head, n2 = new ue2(e, i2, r, s3);
|
|
27473
27480
|
return n2.next === void 0 && (s3.tail = n2), n2.prev === void 0 && (s3.head = n2), s3.length++, n2;
|
|
27474
27481
|
}
|
|
27475
27482
|
function Yn(s3, t2) {
|
|
27476
|
-
s3.tail = new
|
|
27483
|
+
s3.tail = new ue2(t2, s3.tail, void 0, s3), s3.head || (s3.head = s3.tail), s3.length++;
|
|
27477
27484
|
}
|
|
27478
27485
|
function Kn(s3, t2) {
|
|
27479
|
-
s3.head = new
|
|
27486
|
+
s3.head = new ue2(t2, void 0, s3.head, s3), s3.tail || (s3.tail = s3.head), s3.length++;
|
|
27480
27487
|
}
|
|
27481
|
-
var
|
|
27488
|
+
var ue2 = class {
|
|
27482
27489
|
list;
|
|
27483
27490
|
next;
|
|
27484
27491
|
prev;
|
|
@@ -27503,7 +27510,7 @@ var pi = class {
|
|
|
27503
27510
|
};
|
|
27504
27511
|
var nr = Buffer.alloc(1024);
|
|
27505
27512
|
var li = Symbol("onStat");
|
|
27506
|
-
var
|
|
27513
|
+
var me2 = Symbol("ended");
|
|
27507
27514
|
var W3 = Symbol("queue");
|
|
27508
27515
|
var pe2 = Symbol("pendingLinks");
|
|
27509
27516
|
var Et3 = Symbol("current");
|
|
@@ -27515,12 +27522,12 @@ var ls = Symbol("jobDone");
|
|
|
27515
27522
|
var ci = Symbol("addFSEntry");
|
|
27516
27523
|
var or = Symbol("addTarEntry");
|
|
27517
27524
|
var ds = Symbol("stat");
|
|
27518
|
-
var
|
|
27525
|
+
var us = Symbol("readdir");
|
|
27519
27526
|
var fi = Symbol("onreaddir");
|
|
27520
27527
|
var di = Symbol("pipe");
|
|
27521
27528
|
var hr = Symbol("entry");
|
|
27522
27529
|
var cs = Symbol("entryOpt");
|
|
27523
|
-
var
|
|
27530
|
+
var ui = Symbol("writeEntryClass");
|
|
27524
27531
|
var lr = Symbol("write");
|
|
27525
27532
|
var fs10 = Symbol("ondrain");
|
|
27526
27533
|
var wt2 = class extends A {
|
|
@@ -27544,21 +27551,21 @@ var wt2 = class extends A {
|
|
|
27544
27551
|
mtime;
|
|
27545
27552
|
filter;
|
|
27546
27553
|
jobs;
|
|
27547
|
-
[
|
|
27554
|
+
[ui];
|
|
27548
27555
|
onWriteEntry;
|
|
27549
27556
|
[W3];
|
|
27550
27557
|
[pe2] = /* @__PURE__ */ new Map();
|
|
27551
27558
|
[G2] = 0;
|
|
27552
27559
|
[Ee2] = false;
|
|
27553
|
-
[
|
|
27560
|
+
[me2] = false;
|
|
27554
27561
|
constructor(t2 = {}) {
|
|
27555
|
-
if (super(), this.opt = t2, this.file = t2.file || "", this.cwd = t2.cwd || process.cwd(), this.maxReadSize = t2.maxReadSize, this.preservePaths = !!t2.preservePaths, this.strict = !!t2.strict, this.noPax = !!t2.noPax, this.prefix = f(t2.prefix || ""), this.linkCache = t2.linkCache || /* @__PURE__ */ new Map(), this.statCache = t2.statCache || /* @__PURE__ */ new Map(), this.readdirCache = t2.readdirCache || /* @__PURE__ */ new Map(), this.onWriteEntry = t2.onWriteEntry, this[
|
|
27562
|
+
if (super(), this.opt = t2, this.file = t2.file || "", this.cwd = t2.cwd || process.cwd(), this.maxReadSize = t2.maxReadSize, this.preservePaths = !!t2.preservePaths, this.strict = !!t2.strict, this.noPax = !!t2.noPax, this.prefix = f(t2.prefix || ""), this.linkCache = t2.linkCache || /* @__PURE__ */ new Map(), this.statCache = t2.statCache || /* @__PURE__ */ new Map(), this.readdirCache = t2.readdirCache || /* @__PURE__ */ new Map(), this.onWriteEntry = t2.onWriteEntry, this[ui] = de2, typeof t2.onwarn == "function" && this.on("warn", t2.onwarn), this.portable = !!t2.portable, t2.gzip || t2.brotli || t2.zstd) {
|
|
27556
27563
|
if ((t2.gzip ? 1 : 0) + (t2.brotli ? 1 : 0) + (t2.zstd ? 1 : 0) > 1) throw new TypeError("gzip, brotli, zstd are mutually exclusive");
|
|
27557
27564
|
if (t2.gzip && (typeof t2.gzip != "object" && (t2.gzip = {}), this.portable && (t2.gzip.portable = true), this.zip = new ze2(t2.gzip)), t2.brotli && (typeof t2.brotli != "object" && (t2.brotli = {}), this.zip = new We2(t2.brotli)), t2.zstd && (typeof t2.zstd != "object" && (t2.zstd = {}), this.zip = new Ye(t2.zstd)), !this.zip) throw new Error("impossible");
|
|
27558
27565
|
let e = this.zip;
|
|
27559
27566
|
e.on("data", (i2) => super.write(i2)), e.on("end", () => super.end()), e.on("drain", () => this[fs10]()), this.on("resume", () => e.resume());
|
|
27560
27567
|
} else this.on("drain", this[fs10]);
|
|
27561
|
-
this.noDirRecurse = !!t2.noDirRecurse, this.follow = !!t2.follow, this.noMtime = !!t2.noMtime, t2.mtime && (this.mtime = t2.mtime), this.filter = typeof t2.filter == "function" ? t2.filter : () => true, this[W3] = new hi(), this[G2] = 0, this.jobs = Number(t2.jobs) || 4, this[Ee2] = false, this[
|
|
27568
|
+
this.noDirRecurse = !!t2.noDirRecurse, this.follow = !!t2.follow, this.noMtime = !!t2.noMtime, t2.mtime && (this.mtime = t2.mtime), this.filter = typeof t2.filter == "function" ? t2.filter : () => true, this[W3] = new hi(), this[G2] = 0, this.jobs = Number(t2.jobs) || 4, this[Ee2] = false, this[me2] = false;
|
|
27562
27569
|
}
|
|
27563
27570
|
[lr](t2) {
|
|
27564
27571
|
return super.write(t2);
|
|
@@ -27567,10 +27574,10 @@ var wt2 = class extends A {
|
|
|
27567
27574
|
return this.write(t2), this;
|
|
27568
27575
|
}
|
|
27569
27576
|
end(t2, e, i2) {
|
|
27570
|
-
return typeof t2 == "function" && (i2 = t2, t2 = void 0), typeof e == "function" && (i2 = e, e = void 0), t2 && this.add(t2), this[
|
|
27577
|
+
return typeof t2 == "function" && (i2 = t2, t2 = void 0), typeof e == "function" && (i2 = e, e = void 0), t2 && this.add(t2), this[me2] = true, this[Ft3](), i2 && i2(), this;
|
|
27571
27578
|
}
|
|
27572
27579
|
write(t2) {
|
|
27573
|
-
if (this[
|
|
27580
|
+
if (this[me2]) throw new Error("write after end");
|
|
27574
27581
|
return typeof t2 == "string" ? this[ci](t2) : this[or](t2), this.flowing;
|
|
27575
27582
|
}
|
|
27576
27583
|
[or](t2) {
|
|
@@ -27602,7 +27609,7 @@ var wt2 = class extends A {
|
|
|
27602
27609
|
}
|
|
27603
27610
|
this[Ft3]();
|
|
27604
27611
|
}
|
|
27605
|
-
[
|
|
27612
|
+
[us](t2) {
|
|
27606
27613
|
t2.pending = true, this[G2] += 1, fs.readdir(t2.absolute, (e, i2) => {
|
|
27607
27614
|
if (t2.pending = false, this[G2] -= 1, e) return this.emit("error", e);
|
|
27608
27615
|
this[fi](t2, i2);
|
|
@@ -27618,7 +27625,7 @@ var wt2 = class extends A {
|
|
|
27618
27625
|
let e = t2.next;
|
|
27619
27626
|
this[W3].removeNode(t2), t2.next = e;
|
|
27620
27627
|
}
|
|
27621
|
-
this[Ee2] = false, this[
|
|
27628
|
+
this[Ee2] = false, this[me2] && this[W3].length === 0 && this[G2] === 0 && (this.zip ? this.zip.end(nr) : (super.write(nr), super.end()));
|
|
27622
27629
|
}
|
|
27623
27630
|
}
|
|
27624
27631
|
get [Et3]() {
|
|
@@ -27649,7 +27656,7 @@ var wt2 = class extends A {
|
|
|
27649
27656
|
if (t2.stat && !t2.ignore) {
|
|
27650
27657
|
if (!this.noDirRecurse && t2.stat.isDirectory() && !t2.readdir) {
|
|
27651
27658
|
let e = this.readdirCache.get(t2.absolute);
|
|
27652
|
-
if (e ? this[fi](t2, e) : this[
|
|
27659
|
+
if (e ? this[fi](t2, e) : this[us](t2), !t2.readdir) return;
|
|
27653
27660
|
}
|
|
27654
27661
|
if (t2.entry = this[hr](t2), !t2.entry) {
|
|
27655
27662
|
t2.ignore = true;
|
|
@@ -27665,7 +27672,7 @@ var wt2 = class extends A {
|
|
|
27665
27672
|
[hr](t2) {
|
|
27666
27673
|
this[G2] += 1;
|
|
27667
27674
|
try {
|
|
27668
|
-
return new this[
|
|
27675
|
+
return new this[ui](t2.path, this[cs](t2)).on("end", () => this[ls](t2)).on("error", (i2) => this.emit("error", i2));
|
|
27669
27676
|
} catch (e) {
|
|
27670
27677
|
this.emit("error", e);
|
|
27671
27678
|
}
|
|
@@ -27696,7 +27703,7 @@ var wt2 = class extends A {
|
|
|
27696
27703
|
var kt3 = class extends wt2 {
|
|
27697
27704
|
sync = true;
|
|
27698
27705
|
constructor(t2) {
|
|
27699
|
-
super(t2), this[
|
|
27706
|
+
super(t2), this[ui] = ni;
|
|
27700
27707
|
}
|
|
27701
27708
|
pause() {
|
|
27702
27709
|
}
|
|
@@ -27706,7 +27713,7 @@ var kt3 = class extends wt2 {
|
|
|
27706
27713
|
let e = this.follow ? "statSync" : "lstatSync";
|
|
27707
27714
|
this[li](t2, fs[e](t2.absolute));
|
|
27708
27715
|
}
|
|
27709
|
-
[
|
|
27716
|
+
[us](t2) {
|
|
27710
27717
|
this[fi](t2, fs.readdirSync(t2.absolute));
|
|
27711
27718
|
}
|
|
27712
27719
|
[di](t2) {
|
|
@@ -27758,13 +27765,13 @@ K2(Vn, $n, Xn, qn, (s3, t2) => {
|
|
|
27758
27765
|
});
|
|
27759
27766
|
var Jn = process.env.__FAKE_PLATFORM__ || process.platform;
|
|
27760
27767
|
var Er = Jn === "win32";
|
|
27761
|
-
var { O_CREAT: wr, O_NOFOLLOW:
|
|
27768
|
+
var { O_CREAT: wr, O_NOFOLLOW: ur, O_TRUNC: Sr, O_WRONLY: yr } = fs.constants;
|
|
27762
27769
|
var Rr = Number(process.env.__FAKE_FS_O_FILENAME__) || fs.constants.UV_FS_O_FILEMAP || 0;
|
|
27763
27770
|
var jn = Er && !!Rr;
|
|
27764
27771
|
var to = 512 * 1024;
|
|
27765
27772
|
var eo = Rr | Sr | wr | yr;
|
|
27766
|
-
var
|
|
27767
|
-
var
|
|
27773
|
+
var mr = !Er && typeof ur == "number" ? ur | Sr | wr | yr : null;
|
|
27774
|
+
var ms = mr !== null ? () => mr : jn ? (s3) => s3 < to ? eo : "w" : () => "w";
|
|
27768
27775
|
var ps = (s3, t2, e) => {
|
|
27769
27776
|
try {
|
|
27770
27777
|
return fs.lchownSync(s3, t2, e);
|
|
@@ -27932,7 +27939,7 @@ var yi = class {
|
|
|
27932
27939
|
#i = /* @__PURE__ */ new Map();
|
|
27933
27940
|
#s = /* @__PURE__ */ new Set();
|
|
27934
27941
|
reserve(t2, e) {
|
|
27935
|
-
t2 = ao ? ["win32 parallelization disabled"] : t2.map((r) =>
|
|
27942
|
+
t2 = ao ? ["win32 parallelization disabled"] : t2.map((r) => mt3(join(Tr(r))));
|
|
27936
27943
|
let i2 = new Set(t2.map((r) => lo(r)).reduce((r, n2) => r.concat(n2)));
|
|
27937
27944
|
this.#i.set(e, { dirs: i2, paths: t2 });
|
|
27938
27945
|
for (let r of t2) {
|
|
@@ -28020,8 +28027,8 @@ var _e2 = Symbol("gid");
|
|
|
28020
28027
|
var Oe2 = Symbol("checkedCwd");
|
|
28021
28028
|
var fo = process.env.TESTING_TAR_FAKE_PLATFORM || process.platform;
|
|
28022
28029
|
var Te2 = fo === "win32";
|
|
28023
|
-
var
|
|
28024
|
-
var
|
|
28030
|
+
var uo = 1024;
|
|
28031
|
+
var mo = (s3, t2) => {
|
|
28025
28032
|
if (!Te2) return fs.unlink(s3, t2);
|
|
28026
28033
|
let e = s3 + ".DELETE." + randomBytes(16).toString("hex");
|
|
28027
28034
|
fs.rename(s3, e, (i2) => {
|
|
@@ -28072,7 +28079,7 @@ var Xt = class extends rt2 {
|
|
|
28072
28079
|
if (t2.preserveOwner) throw new TypeError("cannot preserve owner in archive and also set owner explicitly");
|
|
28073
28080
|
this.uid = t2.uid, this.gid = t2.gid, this.setOwner = true;
|
|
28074
28081
|
} else this.uid = void 0, this.gid = void 0, this.setOwner = false;
|
|
28075
|
-
this.preserveOwner = t2.preserveOwner === void 0 && typeof t2.uid != "number" ? process.getuid?.() === 0 : !!t2.preserveOwner, this.processUid = (this.preserveOwner || this.setOwner) && process.getuid ? process.getuid() : void 0, this.processGid = (this.preserveOwner || this.setOwner) && process.getgid ? process.getgid() : void 0, this.maxDepth = typeof t2.maxDepth == "number" ? t2.maxDepth :
|
|
28082
|
+
this.preserveOwner = t2.preserveOwner === void 0 && typeof t2.uid != "number" ? process.getuid?.() === 0 : !!t2.preserveOwner, this.processUid = (this.preserveOwner || this.setOwner) && process.getuid ? process.getuid() : void 0, this.processGid = (this.preserveOwner || this.setOwner) && process.getgid ? process.getgid() : void 0, this.maxDepth = typeof t2.maxDepth == "number" ? t2.maxDepth : uo, this.forceChown = t2.forceChown === true, this.win32 = !!t2.win32 || Te2, this.newer = !!t2.newer, this.keep = !!t2.keep, this.noMtime = !!t2.noMtime, this.preservePaths = !!t2.preservePaths, this.unlink = !!t2.unlink, this.cwd = f(path15.resolve(t2.cwd || process.cwd())), this.strip = Number(t2.strip) || 0, this.processUmask = this.chmod ? typeof t2.processUmask == "number" ? t2.processUmask : Lr() : 0, this.umask = typeof t2.umask == "number" ? t2.umask : this.processUmask, this.dmode = t2.dmode || 511 & ~this.umask, this.fmode = t2.fmode || 438 & ~this.umask, this.on("entry", (e) => this[Dr](e));
|
|
28076
28083
|
}
|
|
28077
28084
|
warn(t2, e, i2 = {}) {
|
|
28078
28085
|
return (t2 === "TAR_BAD_ARCHIVE" || t2 === "TAR_ABORT") && (i2.recoverable = false), super.warn(t2, e, i2);
|
|
@@ -28146,7 +28153,7 @@ var Xt = class extends rt2 {
|
|
|
28146
28153
|
return vr(this.gid, t2.gid, this.processGid);
|
|
28147
28154
|
}
|
|
28148
28155
|
[Ts](t2, e) {
|
|
28149
|
-
let i2 = typeof t2.mode == "number" ? t2.mode & 4095 : this.fmode, r = new et2(String(t2.absolute), { flags:
|
|
28156
|
+
let i2 = typeof t2.mode == "number" ? t2.mode & 4095 : this.fmode, r = new et2(String(t2.absolute), { flags: ms(t2.size), mode: i2, autoClose: false });
|
|
28150
28157
|
r.on("error", (a2) => {
|
|
28151
28158
|
r.fd && fs.close(r.fd, () => {
|
|
28152
28159
|
}), r.write = () => true, this[O2](a2, t2), e();
|
|
@@ -28273,7 +28280,7 @@ var Xt = class extends rt2 {
|
|
|
28273
28280
|
if (t2.absolute !== this.cwd) return fs.rmdir(String(t2.absolute), (l) => this[P2](l ?? null, t2, i2));
|
|
28274
28281
|
}
|
|
28275
28282
|
if (t2.absolute === this.cwd) return this[P2](null, t2, i2);
|
|
28276
|
-
|
|
28283
|
+
mo(String(t2.absolute), (l) => this[P2](l ?? null, t2, i2));
|
|
28277
28284
|
});
|
|
28278
28285
|
};
|
|
28279
28286
|
this[Oe2] ? n2() : r();
|
|
@@ -28356,7 +28363,7 @@ var xe2 = class extends Xt {
|
|
|
28356
28363
|
(h3 || a2) && this[O2](h3 || a2, t2), e();
|
|
28357
28364
|
}, n2;
|
|
28358
28365
|
try {
|
|
28359
|
-
n2 = fs.openSync(String(t2.absolute),
|
|
28366
|
+
n2 = fs.openSync(String(t2.absolute), ms(t2.size), i2);
|
|
28360
28367
|
} catch (h3) {
|
|
28361
28368
|
return r(h3);
|
|
28362
28369
|
}
|
|
@@ -29305,5 +29312,5 @@ async function createNextly(options = {}) {
|
|
|
29305
29312
|
*/
|
|
29306
29313
|
|
|
29307
29314
|
export { __commonJS, __require, __toESM, capture, createNextly, init, resolveProjectArg, shutdown, validateProjectName };
|
|
29308
|
-
//# sourceMappingURL=chunk-
|
|
29309
|
-
//# sourceMappingURL=chunk-
|
|
29315
|
+
//# sourceMappingURL=chunk-MP4HG5TY.mjs.map
|
|
29316
|
+
//# sourceMappingURL=chunk-MP4HG5TY.mjs.map
|