agentuity-vscode 0.1.29 → 0.1.31
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/extension.js +85 -70
- package/package.json +1 -1
package/dist/extension.js
CHANGED
|
@@ -1301,10 +1301,10 @@ var init_esm2 = __esm({
|
|
|
1301
1301
|
}
|
|
1302
1302
|
});
|
|
1303
1303
|
|
|
1304
|
-
// ../../node_modules/.bun/tar@7.5.
|
|
1304
|
+
// ../../node_modules/.bun/tar@7.5.6/node_modules/tar/dist/esm/options.js
|
|
1305
1305
|
var argmap, isSyncFile, isAsyncFile, isSyncNoFile, isAsyncNoFile, isFile, dealiasKey, dealias;
|
|
1306
1306
|
var init_options = __esm({
|
|
1307
|
-
"../../node_modules/.bun/tar@7.5.
|
|
1307
|
+
"../../node_modules/.bun/tar@7.5.6/node_modules/tar/dist/esm/options.js"() {
|
|
1308
1308
|
argmap = /* @__PURE__ */ new Map([
|
|
1309
1309
|
["C", "cwd"],
|
|
1310
1310
|
["f", "file"],
|
|
@@ -1355,10 +1355,10 @@ var init_options = __esm({
|
|
|
1355
1355
|
}
|
|
1356
1356
|
});
|
|
1357
1357
|
|
|
1358
|
-
// ../../node_modules/.bun/tar@7.5.
|
|
1358
|
+
// ../../node_modules/.bun/tar@7.5.6/node_modules/tar/dist/esm/make-command.js
|
|
1359
1359
|
var makeCommand;
|
|
1360
1360
|
var init_make_command = __esm({
|
|
1361
|
-
"../../node_modules/.bun/tar@7.5.
|
|
1361
|
+
"../../node_modules/.bun/tar@7.5.6/node_modules/tar/dist/esm/make-command.js"() {
|
|
1362
1362
|
init_options();
|
|
1363
1363
|
makeCommand = (syncFile, asyncFile, syncNoFile, asyncNoFile, validate) => {
|
|
1364
1364
|
return Object.assign((opt_ = [], entries, cb) => {
|
|
@@ -1809,10 +1809,10 @@ var init_esm3 = __esm({
|
|
|
1809
1809
|
}
|
|
1810
1810
|
});
|
|
1811
1811
|
|
|
1812
|
-
// ../../node_modules/.bun/tar@7.5.
|
|
1812
|
+
// ../../node_modules/.bun/tar@7.5.6/node_modules/tar/dist/esm/large-numbers.js
|
|
1813
1813
|
var encode, encodePositive, encodeNegative, parse3, twos, pos, onesComp, twosComp;
|
|
1814
1814
|
var init_large_numbers = __esm({
|
|
1815
|
-
"../../node_modules/.bun/tar@7.5.
|
|
1815
|
+
"../../node_modules/.bun/tar@7.5.6/node_modules/tar/dist/esm/large-numbers.js"() {
|
|
1816
1816
|
encode = (num, buf) => {
|
|
1817
1817
|
if (!Number.isSafeInteger(num)) {
|
|
1818
1818
|
throw Error("cannot encode number outside of javascript safe integer range");
|
|
@@ -1895,7 +1895,7 @@ var init_large_numbers = __esm({
|
|
|
1895
1895
|
}
|
|
1896
1896
|
});
|
|
1897
1897
|
|
|
1898
|
-
// ../../node_modules/.bun/tar@7.5.
|
|
1898
|
+
// ../../node_modules/.bun/tar@7.5.6/node_modules/tar/dist/esm/types.js
|
|
1899
1899
|
var types_exports = {};
|
|
1900
1900
|
__export(types_exports, {
|
|
1901
1901
|
code: () => code,
|
|
@@ -1905,7 +1905,7 @@ __export(types_exports, {
|
|
|
1905
1905
|
});
|
|
1906
1906
|
var isCode, isName, name, code;
|
|
1907
1907
|
var init_types = __esm({
|
|
1908
|
-
"../../node_modules/.bun/tar@7.5.
|
|
1908
|
+
"../../node_modules/.bun/tar@7.5.6/node_modules/tar/dist/esm/types.js"() {
|
|
1909
1909
|
isCode = (c) => name.has(c);
|
|
1910
1910
|
isName = (c) => code.has(c);
|
|
1911
1911
|
name = /* @__PURE__ */ new Map([
|
|
@@ -1951,10 +1951,10 @@ var init_types = __esm({
|
|
|
1951
1951
|
}
|
|
1952
1952
|
});
|
|
1953
1953
|
|
|
1954
|
-
// ../../node_modules/.bun/tar@7.5.
|
|
1954
|
+
// ../../node_modules/.bun/tar@7.5.6/node_modules/tar/dist/esm/header.js
|
|
1955
1955
|
var import_node_path, Header, splitPrefix, decString, decDate, numToDate, decNumber, nanUndef, decSmallNumber, MAXNUM, encNumber, encSmallNumber, octalString, padOctal, encDate, NULLS, encString;
|
|
1956
1956
|
var init_header = __esm({
|
|
1957
|
-
"../../node_modules/.bun/tar@7.5.
|
|
1957
|
+
"../../node_modules/.bun/tar@7.5.6/node_modules/tar/dist/esm/header.js"() {
|
|
1958
1958
|
import_node_path = require("node:path");
|
|
1959
1959
|
init_large_numbers();
|
|
1960
1960
|
init_types();
|
|
@@ -2162,10 +2162,10 @@ var init_header = __esm({
|
|
|
2162
2162
|
}
|
|
2163
2163
|
});
|
|
2164
2164
|
|
|
2165
|
-
// ../../node_modules/.bun/tar@7.5.
|
|
2165
|
+
// ../../node_modules/.bun/tar@7.5.6/node_modules/tar/dist/esm/pax.js
|
|
2166
2166
|
var import_node_path2, Pax, merge, parseKV, parseKVLine;
|
|
2167
2167
|
var init_pax = __esm({
|
|
2168
|
-
"../../node_modules/.bun/tar@7.5.
|
|
2168
|
+
"../../node_modules/.bun/tar@7.5.6/node_modules/tar/dist/esm/pax.js"() {
|
|
2169
2169
|
import_node_path2 = require("node:path");
|
|
2170
2170
|
init_header();
|
|
2171
2171
|
Pax = class _Pax {
|
|
@@ -2285,19 +2285,19 @@ var init_pax = __esm({
|
|
|
2285
2285
|
}
|
|
2286
2286
|
});
|
|
2287
2287
|
|
|
2288
|
-
// ../../node_modules/.bun/tar@7.5.
|
|
2288
|
+
// ../../node_modules/.bun/tar@7.5.6/node_modules/tar/dist/esm/normalize-windows-path.js
|
|
2289
2289
|
var platform, normalizeWindowsPath;
|
|
2290
2290
|
var init_normalize_windows_path = __esm({
|
|
2291
|
-
"../../node_modules/.bun/tar@7.5.
|
|
2291
|
+
"../../node_modules/.bun/tar@7.5.6/node_modules/tar/dist/esm/normalize-windows-path.js"() {
|
|
2292
2292
|
platform = process.env.TESTING_TAR_FAKE_PLATFORM || process.platform;
|
|
2293
2293
|
normalizeWindowsPath = platform !== "win32" ? (p) => p : (p) => p && p.replace(/\\/g, "/");
|
|
2294
2294
|
}
|
|
2295
2295
|
});
|
|
2296
2296
|
|
|
2297
|
-
// ../../node_modules/.bun/tar@7.5.
|
|
2297
|
+
// ../../node_modules/.bun/tar@7.5.6/node_modules/tar/dist/esm/read-entry.js
|
|
2298
2298
|
var ReadEntry;
|
|
2299
2299
|
var init_read_entry = __esm({
|
|
2300
|
-
"../../node_modules/.bun/tar@7.5.
|
|
2300
|
+
"../../node_modules/.bun/tar@7.5.6/node_modules/tar/dist/esm/read-entry.js"() {
|
|
2301
2301
|
init_esm();
|
|
2302
2302
|
init_normalize_windows_path();
|
|
2303
2303
|
ReadEntry = class extends Minipass {
|
|
@@ -2418,10 +2418,10 @@ var init_read_entry = __esm({
|
|
|
2418
2418
|
}
|
|
2419
2419
|
});
|
|
2420
2420
|
|
|
2421
|
-
// ../../node_modules/.bun/tar@7.5.
|
|
2421
|
+
// ../../node_modules/.bun/tar@7.5.6/node_modules/tar/dist/esm/warn-method.js
|
|
2422
2422
|
var warnMethod;
|
|
2423
2423
|
var init_warn_method = __esm({
|
|
2424
|
-
"../../node_modules/.bun/tar@7.5.
|
|
2424
|
+
"../../node_modules/.bun/tar@7.5.6/node_modules/tar/dist/esm/warn-method.js"() {
|
|
2425
2425
|
warnMethod = (self, code2, message, data = {}) => {
|
|
2426
2426
|
if (self.file) {
|
|
2427
2427
|
data.file = self.file;
|
|
@@ -2446,10 +2446,10 @@ var init_warn_method = __esm({
|
|
|
2446
2446
|
}
|
|
2447
2447
|
});
|
|
2448
2448
|
|
|
2449
|
-
// ../../node_modules/.bun/tar@7.5.
|
|
2449
|
+
// ../../node_modules/.bun/tar@7.5.6/node_modules/tar/dist/esm/parse.js
|
|
2450
2450
|
var import_events2, maxMetaEntrySize, gzipHeader, zstdHeader, ZIP_HEADER_LEN, STATE, WRITEENTRY, READENTRY, NEXTENTRY, PROCESSENTRY, EX, GEX, META, EMITMETA, BUFFER2, QUEUE, ENDED, EMITTEDEND, EMIT, UNZIP, CONSUMECHUNK, CONSUMECHUNKSUB, CONSUMEBODY, CONSUMEMETA, CONSUMEHEADER, CONSUMING, BUFFERCONCAT, MAYBEEND, WRITING, ABORTED2, DONE, SAW_VALID_ENTRY, SAW_NULL_BLOCK, SAW_EOF, CLOSESTREAM, noop2, Parser;
|
|
2451
2451
|
var init_parse = __esm({
|
|
2452
|
-
"../../node_modules/.bun/tar@7.5.
|
|
2452
|
+
"../../node_modules/.bun/tar@7.5.6/node_modules/tar/dist/esm/parse.js"() {
|
|
2453
2453
|
import_events2 = require("events");
|
|
2454
2454
|
init_esm3();
|
|
2455
2455
|
init_header();
|
|
@@ -2945,10 +2945,10 @@ var init_parse = __esm({
|
|
|
2945
2945
|
}
|
|
2946
2946
|
});
|
|
2947
2947
|
|
|
2948
|
-
// ../../node_modules/.bun/tar@7.5.
|
|
2948
|
+
// ../../node_modules/.bun/tar@7.5.6/node_modules/tar/dist/esm/strip-trailing-slashes.js
|
|
2949
2949
|
var stripTrailingSlashes;
|
|
2950
2950
|
var init_strip_trailing_slashes = __esm({
|
|
2951
|
-
"../../node_modules/.bun/tar@7.5.
|
|
2951
|
+
"../../node_modules/.bun/tar@7.5.6/node_modules/tar/dist/esm/strip-trailing-slashes.js"() {
|
|
2952
2952
|
stripTrailingSlashes = (str) => {
|
|
2953
2953
|
let i = str.length - 1;
|
|
2954
2954
|
let slashesStart = -1;
|
|
@@ -2961,10 +2961,10 @@ var init_strip_trailing_slashes = __esm({
|
|
|
2961
2961
|
}
|
|
2962
2962
|
});
|
|
2963
2963
|
|
|
2964
|
-
// ../../node_modules/.bun/tar@7.5.
|
|
2964
|
+
// ../../node_modules/.bun/tar@7.5.6/node_modules/tar/dist/esm/list.js
|
|
2965
2965
|
var import_node_fs, import_path, onReadEntryFunction, filesFilter, listFileSync, listFile, list;
|
|
2966
2966
|
var init_list = __esm({
|
|
2967
|
-
"../../node_modules/.bun/tar@7.5.
|
|
2967
|
+
"../../node_modules/.bun/tar@7.5.6/node_modules/tar/dist/esm/list.js"() {
|
|
2968
2968
|
init_esm2();
|
|
2969
2969
|
import_node_fs = __toESM(require("node:fs"), 1);
|
|
2970
2970
|
import_path = require("path");
|
|
@@ -3063,10 +3063,10 @@ var init_list = __esm({
|
|
|
3063
3063
|
}
|
|
3064
3064
|
});
|
|
3065
3065
|
|
|
3066
|
-
// ../../node_modules/.bun/tar@7.5.
|
|
3066
|
+
// ../../node_modules/.bun/tar@7.5.6/node_modules/tar/dist/esm/mode-fix.js
|
|
3067
3067
|
var modeFix;
|
|
3068
3068
|
var init_mode_fix = __esm({
|
|
3069
|
-
"../../node_modules/.bun/tar@7.5.
|
|
3069
|
+
"../../node_modules/.bun/tar@7.5.6/node_modules/tar/dist/esm/mode-fix.js"() {
|
|
3070
3070
|
modeFix = (mode, isDir, portable) => {
|
|
3071
3071
|
mode &= 4095;
|
|
3072
3072
|
if (portable) {
|
|
@@ -3088,10 +3088,10 @@ var init_mode_fix = __esm({
|
|
|
3088
3088
|
}
|
|
3089
3089
|
});
|
|
3090
3090
|
|
|
3091
|
-
// ../../node_modules/.bun/tar@7.5.
|
|
3091
|
+
// ../../node_modules/.bun/tar@7.5.6/node_modules/tar/dist/esm/strip-absolute-path.js
|
|
3092
3092
|
var import_node_path3, isAbsolute, parse5, stripAbsolutePath;
|
|
3093
3093
|
var init_strip_absolute_path = __esm({
|
|
3094
|
-
"../../node_modules/.bun/tar@7.5.
|
|
3094
|
+
"../../node_modules/.bun/tar@7.5.6/node_modules/tar/dist/esm/strip-absolute-path.js"() {
|
|
3095
3095
|
import_node_path3 = require("node:path");
|
|
3096
3096
|
({ isAbsolute, parse: parse5 } = import_node_path3.win32);
|
|
3097
3097
|
stripAbsolutePath = (path16) => {
|
|
@@ -3108,10 +3108,10 @@ var init_strip_absolute_path = __esm({
|
|
|
3108
3108
|
}
|
|
3109
3109
|
});
|
|
3110
3110
|
|
|
3111
|
-
// ../../node_modules/.bun/tar@7.5.
|
|
3111
|
+
// ../../node_modules/.bun/tar@7.5.6/node_modules/tar/dist/esm/winchars.js
|
|
3112
3112
|
var raw, win, toWin, toRaw, encode2, decode;
|
|
3113
3113
|
var init_winchars = __esm({
|
|
3114
|
-
"../../node_modules/.bun/tar@7.5.
|
|
3114
|
+
"../../node_modules/.bun/tar@7.5.6/node_modules/tar/dist/esm/winchars.js"() {
|
|
3115
3115
|
raw = ["|", "<", ">", "?", ":"];
|
|
3116
3116
|
win = raw.map((char) => String.fromCharCode(61440 + char.charCodeAt(0)));
|
|
3117
3117
|
toWin = new Map(raw.map((char, i) => [char, win[i]]));
|
|
@@ -3121,10 +3121,10 @@ var init_winchars = __esm({
|
|
|
3121
3121
|
}
|
|
3122
3122
|
});
|
|
3123
3123
|
|
|
3124
|
-
// ../../node_modules/.bun/tar@7.5.
|
|
3124
|
+
// ../../node_modules/.bun/tar@7.5.6/node_modules/tar/dist/esm/write-entry.js
|
|
3125
3125
|
var import_fs2, import_path2, prefixPath, maxReadSize, PROCESS, FILE, DIRECTORY, SYMLINK, HARDLINK, HEADER, READ2, LSTAT, ONLSTAT, ONREAD, ONREADLINK, OPENFILE, ONOPENFILE, CLOSE, MODE, AWAITDRAIN, ONDRAIN, PREFIX, WriteEntry, WriteEntrySync, WriteEntryTar, getType;
|
|
3126
3126
|
var init_write_entry = __esm({
|
|
3127
|
-
"../../node_modules/.bun/tar@7.5.
|
|
3127
|
+
"../../node_modules/.bun/tar@7.5.6/node_modules/tar/dist/esm/write-entry.js"() {
|
|
3128
3128
|
import_fs2 = __toESM(require("fs"), 1);
|
|
3129
3129
|
init_esm();
|
|
3130
3130
|
import_path2 = __toESM(require("path"), 1);
|
|
@@ -4090,10 +4090,10 @@ var init_esm4 = __esm({
|
|
|
4090
4090
|
}
|
|
4091
4091
|
});
|
|
4092
4092
|
|
|
4093
|
-
// ../../node_modules/.bun/tar@7.5.
|
|
4093
|
+
// ../../node_modules/.bun/tar@7.5.6/node_modules/tar/dist/esm/pack.js
|
|
4094
4094
|
var import_fs3, import_path3, PackJob, EOF2, ONSTAT, ENDED2, QUEUE2, CURRENT, PROCESS2, PROCESSING, PROCESSJOB, JOBS, JOBDONE, ADDFSENTRY, ADDTARENTRY, STAT, READDIR, ONREADDIR, PIPE, ENTRY, ENTRYOPT, WRITEENTRYCLASS, WRITE, ONDRAIN2, Pack, PackSync;
|
|
4095
4095
|
var init_pack = __esm({
|
|
4096
|
-
"../../node_modules/.bun/tar@7.5.
|
|
4096
|
+
"../../node_modules/.bun/tar@7.5.6/node_modules/tar/dist/esm/pack.js"() {
|
|
4097
4097
|
import_fs3 = __toESM(require("fs"), 1);
|
|
4098
4098
|
init_write_entry();
|
|
4099
4099
|
init_esm();
|
|
@@ -4139,6 +4139,7 @@ var init_pack = __esm({
|
|
|
4139
4139
|
WRITE = /* @__PURE__ */ Symbol("write");
|
|
4140
4140
|
ONDRAIN2 = /* @__PURE__ */ Symbol("ondrain");
|
|
4141
4141
|
Pack = class extends Minipass {
|
|
4142
|
+
sync = false;
|
|
4142
4143
|
opt;
|
|
4143
4144
|
cwd;
|
|
4144
4145
|
maxReadSize;
|
|
@@ -4311,6 +4312,8 @@ var init_pack = __esm({
|
|
|
4311
4312
|
job.stat = stat;
|
|
4312
4313
|
if (!this.filter(job.path, stat)) {
|
|
4313
4314
|
job.ignore = true;
|
|
4315
|
+
} else if (stat.isFile() && stat.nlink > 1 && job === this[CURRENT] && !this.linkCache.get(`${stat.dev}:${stat.ino}`) && !this.sync) {
|
|
4316
|
+
this[PROCESSJOB](job);
|
|
4314
4317
|
}
|
|
4315
4318
|
this[PROCESS2]();
|
|
4316
4319
|
}
|
|
@@ -4521,10 +4524,10 @@ var init_pack = __esm({
|
|
|
4521
4524
|
}
|
|
4522
4525
|
});
|
|
4523
4526
|
|
|
4524
|
-
// ../../node_modules/.bun/tar@7.5.
|
|
4527
|
+
// ../../node_modules/.bun/tar@7.5.6/node_modules/tar/dist/esm/create.js
|
|
4525
4528
|
var import_node_path4, createFileSync, createFile, addFilesSync, addFilesAsync, createSync, createAsync, create;
|
|
4526
4529
|
var init_create = __esm({
|
|
4527
|
-
"../../node_modules/.bun/tar@7.5.
|
|
4530
|
+
"../../node_modules/.bun/tar@7.5.6/node_modules/tar/dist/esm/create.js"() {
|
|
4528
4531
|
init_esm2();
|
|
4529
4532
|
import_node_path4 = __toESM(require("node:path"), 1);
|
|
4530
4533
|
init_list();
|
|
@@ -4602,10 +4605,10 @@ var init_create = __esm({
|
|
|
4602
4605
|
}
|
|
4603
4606
|
});
|
|
4604
4607
|
|
|
4605
|
-
// ../../node_modules/.bun/tar@7.5.
|
|
4608
|
+
// ../../node_modules/.bun/tar@7.5.6/node_modules/tar/dist/esm/get-write-flag.js
|
|
4606
4609
|
var import_fs4, platform2, isWindows, O_CREAT, O_TRUNC, O_WRONLY, UV_FS_O_FILEMAP, fMapEnabled, fMapLimit, fMapFlag, getWriteFlag;
|
|
4607
4610
|
var init_get_write_flag = __esm({
|
|
4608
|
-
"../../node_modules/.bun/tar@7.5.
|
|
4611
|
+
"../../node_modules/.bun/tar@7.5.6/node_modules/tar/dist/esm/get-write-flag.js"() {
|
|
4609
4612
|
import_fs4 = __toESM(require("fs"), 1);
|
|
4610
4613
|
platform2 = process.env.__FAKE_PLATFORM__ || process.platform;
|
|
4611
4614
|
isWindows = platform2 === "win32";
|
|
@@ -4701,10 +4704,10 @@ var init_esm5 = __esm({
|
|
|
4701
4704
|
}
|
|
4702
4705
|
});
|
|
4703
4706
|
|
|
4704
|
-
// ../../node_modules/.bun/tar@7.5.
|
|
4707
|
+
// ../../node_modules/.bun/tar@7.5.6/node_modules/tar/dist/esm/cwd-error.js
|
|
4705
4708
|
var CwdError;
|
|
4706
4709
|
var init_cwd_error = __esm({
|
|
4707
|
-
"../../node_modules/.bun/tar@7.5.
|
|
4710
|
+
"../../node_modules/.bun/tar@7.5.6/node_modules/tar/dist/esm/cwd-error.js"() {
|
|
4708
4711
|
CwdError = class extends Error {
|
|
4709
4712
|
path;
|
|
4710
4713
|
code;
|
|
@@ -4721,10 +4724,10 @@ var init_cwd_error = __esm({
|
|
|
4721
4724
|
}
|
|
4722
4725
|
});
|
|
4723
4726
|
|
|
4724
|
-
// ../../node_modules/.bun/tar@7.5.
|
|
4727
|
+
// ../../node_modules/.bun/tar@7.5.6/node_modules/tar/dist/esm/symlink-error.js
|
|
4725
4728
|
var SymlinkError;
|
|
4726
4729
|
var init_symlink_error = __esm({
|
|
4727
|
-
"../../node_modules/.bun/tar@7.5.
|
|
4730
|
+
"../../node_modules/.bun/tar@7.5.6/node_modules/tar/dist/esm/symlink-error.js"() {
|
|
4728
4731
|
SymlinkError = class extends Error {
|
|
4729
4732
|
path;
|
|
4730
4733
|
symlink;
|
|
@@ -4742,10 +4745,10 @@ var init_symlink_error = __esm({
|
|
|
4742
4745
|
}
|
|
4743
4746
|
});
|
|
4744
4747
|
|
|
4745
|
-
// ../../node_modules/.bun/tar@7.5.
|
|
4748
|
+
// ../../node_modules/.bun/tar@7.5.6/node_modules/tar/dist/esm/mkdir.js
|
|
4746
4749
|
var import_node_fs3, import_promises, import_node_path6, checkCwd, mkdir, mkdir_, onmkdir, checkCwdSync, mkdirSync;
|
|
4747
4750
|
var init_mkdir = __esm({
|
|
4748
|
-
"../../node_modules/.bun/tar@7.5.
|
|
4751
|
+
"../../node_modules/.bun/tar@7.5.6/node_modules/tar/dist/esm/mkdir.js"() {
|
|
4749
4752
|
init_esm5();
|
|
4750
4753
|
import_node_fs3 = __toESM(require("node:fs"), 1);
|
|
4751
4754
|
import_promises = __toESM(require("node:fs/promises"), 1);
|
|
@@ -4899,16 +4902,16 @@ var init_mkdir = __esm({
|
|
|
4899
4902
|
}
|
|
4900
4903
|
});
|
|
4901
4904
|
|
|
4902
|
-
// ../../node_modules/.bun/tar@7.5.
|
|
4905
|
+
// ../../node_modules/.bun/tar@7.5.6/node_modules/tar/dist/esm/normalize-unicode.js
|
|
4903
4906
|
var normalizeCache, MAX, cache, normalizeUnicode;
|
|
4904
4907
|
var init_normalize_unicode = __esm({
|
|
4905
|
-
"../../node_modules/.bun/tar@7.5.
|
|
4908
|
+
"../../node_modules/.bun/tar@7.5.6/node_modules/tar/dist/esm/normalize-unicode.js"() {
|
|
4906
4909
|
normalizeCache = /* @__PURE__ */ Object.create(null);
|
|
4907
4910
|
MAX = 1e4;
|
|
4908
4911
|
cache = /* @__PURE__ */ new Set();
|
|
4909
4912
|
normalizeUnicode = (s) => {
|
|
4910
4913
|
if (!cache.has(s)) {
|
|
4911
|
-
normalizeCache[s] = s.normalize("NFD");
|
|
4914
|
+
normalizeCache[s] = s.normalize("NFD").toLocaleLowerCase("en").toLocaleUpperCase("en");
|
|
4912
4915
|
} else {
|
|
4913
4916
|
cache.delete(s);
|
|
4914
4917
|
}
|
|
@@ -4928,10 +4931,10 @@ var init_normalize_unicode = __esm({
|
|
|
4928
4931
|
}
|
|
4929
4932
|
});
|
|
4930
4933
|
|
|
4931
|
-
// ../../node_modules/.bun/tar@7.5.
|
|
4934
|
+
// ../../node_modules/.bun/tar@7.5.6/node_modules/tar/dist/esm/path-reservations.js
|
|
4932
4935
|
var import_node_path7, platform3, isWindows2, getDirs, PathReservations;
|
|
4933
4936
|
var init_path_reservations = __esm({
|
|
4934
|
-
"../../node_modules/.bun/tar@7.5.
|
|
4937
|
+
"../../node_modules/.bun/tar@7.5.6/node_modules/tar/dist/esm/path-reservations.js"() {
|
|
4935
4938
|
import_node_path7 = require("node:path");
|
|
4936
4939
|
init_normalize_unicode();
|
|
4937
4940
|
init_strip_trailing_slashes();
|
|
@@ -4959,7 +4962,7 @@ var init_path_reservations = __esm({
|
|
|
4959
4962
|
#running = /* @__PURE__ */ new Set();
|
|
4960
4963
|
reserve(paths, fn) {
|
|
4961
4964
|
paths = isWindows2 ? ["win32 parallelization disabled"] : paths.map((p) => {
|
|
4962
|
-
return stripTrailingSlashes((0, import_node_path7.join)(normalizeUnicode(p)))
|
|
4965
|
+
return stripTrailingSlashes((0, import_node_path7.join)(normalizeUnicode(p)));
|
|
4963
4966
|
});
|
|
4964
4967
|
const dirs = new Set(paths.map((path16) => getDirs(path16)).reduce((a, b) => a.concat(b)));
|
|
4965
4968
|
this.#reservations.set(fn, { dirs, paths });
|
|
@@ -5068,10 +5071,10 @@ var init_path_reservations = __esm({
|
|
|
5068
5071
|
}
|
|
5069
5072
|
});
|
|
5070
5073
|
|
|
5071
|
-
// ../../node_modules/.bun/tar@7.5.
|
|
5074
|
+
// ../../node_modules/.bun/tar@7.5.6/node_modules/tar/dist/esm/unpack.js
|
|
5072
5075
|
var import_node_assert, import_node_crypto, import_node_fs4, import_node_path8, ONENTRY, CHECKFS, CHECKFS2, ISREUSABLE, MAKEFS, FILE2, DIRECTORY2, LINK, SYMLINK2, HARDLINK2, UNSUPPORTED, CHECKPATH, STRIPABSOLUTEPATH, MKDIR, ONERROR, PENDING, PEND, UNPEND, ENDED3, MAYBECLOSE, SKIP, DOCHOWN, UID, GID, CHECKED_CWD, platform4, isWindows3, DEFAULT_MAX_DEPTH, unlinkFile, unlinkFileSync, uint32, Unpack, callSync, UnpackSync;
|
|
5073
5076
|
var init_unpack = __esm({
|
|
5074
|
-
"../../node_modules/.bun/tar@7.5.
|
|
5077
|
+
"../../node_modules/.bun/tar@7.5.6/node_modules/tar/dist/esm/unpack.js"() {
|
|
5075
5078
|
init_esm2();
|
|
5076
5079
|
import_node_assert = __toESM(require("node:assert"), 1);
|
|
5077
5080
|
import_node_crypto = require("node:crypto");
|
|
@@ -5227,24 +5230,36 @@ var init_unpack = __esm({
|
|
|
5227
5230
|
// return false if we need to skip this file
|
|
5228
5231
|
// return true if the field was successfully sanitized
|
|
5229
5232
|
[STRIPABSOLUTEPATH](entry, field) {
|
|
5230
|
-
const
|
|
5231
|
-
if (!
|
|
5233
|
+
const p = entry[field];
|
|
5234
|
+
if (!p || this.preservePaths)
|
|
5232
5235
|
return true;
|
|
5233
|
-
const parts =
|
|
5236
|
+
const parts = p.split("/");
|
|
5234
5237
|
if (parts.includes("..") || /* c8 ignore next */
|
|
5235
5238
|
isWindows3 && /^[a-z]:\.\.$/i.test(parts[0] ?? "")) {
|
|
5236
|
-
|
|
5237
|
-
|
|
5238
|
-
|
|
5239
|
-
|
|
5240
|
-
|
|
5239
|
+
if (field === "path") {
|
|
5240
|
+
this.warn("TAR_ENTRY_ERROR", `${field} contains '..'`, {
|
|
5241
|
+
entry,
|
|
5242
|
+
[field]: p
|
|
5243
|
+
});
|
|
5244
|
+
return false;
|
|
5245
|
+
} else {
|
|
5246
|
+
const entryDir = import_node_path8.default.posix.dirname(entry.path);
|
|
5247
|
+
const resolved = import_node_path8.default.posix.normalize(import_node_path8.default.posix.join(entryDir, p));
|
|
5248
|
+
if (resolved.startsWith("../") || resolved === "..") {
|
|
5249
|
+
this.warn("TAR_ENTRY_ERROR", `${field} escapes extraction directory`, {
|
|
5250
|
+
entry,
|
|
5251
|
+
[field]: p
|
|
5252
|
+
});
|
|
5253
|
+
return false;
|
|
5254
|
+
}
|
|
5255
|
+
}
|
|
5241
5256
|
}
|
|
5242
|
-
const [root, stripped] = stripAbsolutePath(
|
|
5257
|
+
const [root, stripped] = stripAbsolutePath(p);
|
|
5243
5258
|
if (root) {
|
|
5244
5259
|
entry[field] = String(stripped);
|
|
5245
5260
|
this.warn("TAR_ENTRY_INFO", `stripping ${root} from absolute ${field}`, {
|
|
5246
5261
|
entry,
|
|
5247
|
-
[field]:
|
|
5262
|
+
[field]: p
|
|
5248
5263
|
});
|
|
5249
5264
|
}
|
|
5250
5265
|
return true;
|
|
@@ -5763,10 +5778,10 @@ var init_unpack = __esm({
|
|
|
5763
5778
|
}
|
|
5764
5779
|
});
|
|
5765
5780
|
|
|
5766
|
-
// ../../node_modules/.bun/tar@7.5.
|
|
5781
|
+
// ../../node_modules/.bun/tar@7.5.6/node_modules/tar/dist/esm/extract.js
|
|
5767
5782
|
var import_node_fs5, extractFileSync, extractFile, extract;
|
|
5768
5783
|
var init_extract = __esm({
|
|
5769
|
-
"../../node_modules/.bun/tar@7.5.
|
|
5784
|
+
"../../node_modules/.bun/tar@7.5.6/node_modules/tar/dist/esm/extract.js"() {
|
|
5770
5785
|
init_esm2();
|
|
5771
5786
|
import_node_fs5 = __toESM(require("node:fs"), 1);
|
|
5772
5787
|
init_list();
|
|
@@ -5812,10 +5827,10 @@ var init_extract = __esm({
|
|
|
5812
5827
|
}
|
|
5813
5828
|
});
|
|
5814
5829
|
|
|
5815
|
-
// ../../node_modules/.bun/tar@7.5.
|
|
5830
|
+
// ../../node_modules/.bun/tar@7.5.6/node_modules/tar/dist/esm/replace.js
|
|
5816
5831
|
var import_node_fs6, import_node_path9, replaceSync, streamSync, replaceAsync, addFilesSync2, addFilesAsync2, replace;
|
|
5817
5832
|
var init_replace = __esm({
|
|
5818
|
-
"../../node_modules/.bun/tar@7.5.
|
|
5833
|
+
"../../node_modules/.bun/tar@7.5.6/node_modules/tar/dist/esm/replace.js"() {
|
|
5819
5834
|
init_esm2();
|
|
5820
5835
|
import_node_fs6 = __toESM(require("node:fs"), 1);
|
|
5821
5836
|
import_node_path9 = __toESM(require("node:path"), 1);
|
|
@@ -6024,10 +6039,10 @@ var init_replace = __esm({
|
|
|
6024
6039
|
}
|
|
6025
6040
|
});
|
|
6026
6041
|
|
|
6027
|
-
// ../../node_modules/.bun/tar@7.5.
|
|
6042
|
+
// ../../node_modules/.bun/tar@7.5.6/node_modules/tar/dist/esm/update.js
|
|
6028
6043
|
var update, mtimeFilter;
|
|
6029
6044
|
var init_update = __esm({
|
|
6030
|
-
"../../node_modules/.bun/tar@7.5.
|
|
6045
|
+
"../../node_modules/.bun/tar@7.5.6/node_modules/tar/dist/esm/update.js"() {
|
|
6031
6046
|
init_make_command();
|
|
6032
6047
|
init_replace();
|
|
6033
6048
|
update = makeCommand(replace.syncFile, replace.asyncFile, replace.syncNoFile, replace.asyncNoFile, (opt, entries = []) => {
|
|
@@ -6046,7 +6061,7 @@ var init_update = __esm({
|
|
|
6046
6061
|
}
|
|
6047
6062
|
});
|
|
6048
6063
|
|
|
6049
|
-
// ../../node_modules/.bun/tar@7.5.
|
|
6064
|
+
// ../../node_modules/.bun/tar@7.5.6/node_modules/tar/dist/esm/index.js
|
|
6050
6065
|
var esm_exports3 = {};
|
|
6051
6066
|
__export(esm_exports3, {
|
|
6052
6067
|
Header: () => Header,
|
|
@@ -6075,7 +6090,7 @@ __export(esm_exports3, {
|
|
|
6075
6090
|
x: () => extract
|
|
6076
6091
|
});
|
|
6077
6092
|
var init_esm6 = __esm({
|
|
6078
|
-
"../../node_modules/.bun/tar@7.5.
|
|
6093
|
+
"../../node_modules/.bun/tar@7.5.6/node_modules/tar/dist/esm/index.js"() {
|
|
6079
6094
|
init_create();
|
|
6080
6095
|
init_create();
|
|
6081
6096
|
init_extract();
|
package/package.json
CHANGED