@fern-api/fern-api-dev 3.52.0-33-gce9a88f6335 → 3.52.0-40-g0bd25791343
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/cli.cjs +68 -52
- package/package.json +1 -1
package/cli.cjs
CHANGED
|
@@ -1554104,14 +1554104,14 @@ var WriteStreamSync = class extends WriteStream {
|
|
|
1554104
1554104
|
}
|
|
1554105
1554105
|
};
|
|
1554106
1554106
|
|
|
1554107
|
-
// ../../../node_modules/.pnpm/tar@7.5.
|
|
1554107
|
+
// ../../../node_modules/.pnpm/tar@7.5.7/node_modules/tar/dist/esm/create.js
|
|
1554108
1554108
|
var import_node_path10 = __toESM(require("path"), 1);
|
|
1554109
1554109
|
|
|
1554110
|
-
// ../../../node_modules/.pnpm/tar@7.5.
|
|
1554110
|
+
// ../../../node_modules/.pnpm/tar@7.5.7/node_modules/tar/dist/esm/list.js
|
|
1554111
1554111
|
var import_node_fs3 = __toESM(require("fs"), 1);
|
|
1554112
1554112
|
var import_path34 = require("path");
|
|
1554113
1554113
|
|
|
1554114
|
-
// ../../../node_modules/.pnpm/tar@7.5.
|
|
1554114
|
+
// ../../../node_modules/.pnpm/tar@7.5.7/node_modules/tar/dist/esm/options.js
|
|
1554115
1554115
|
var argmap = /* @__PURE__ */ new Map([
|
|
1554116
1554116
|
["C", "cwd"],
|
|
1554117
1554117
|
["f", "file"],
|
|
@@ -1554160,7 +1554160,7 @@ var dealias = (opt = {}) => {
|
|
|
1554160
1554160
|
return result;
|
|
1554161
1554161
|
};
|
|
1554162
1554162
|
|
|
1554163
|
-
// ../../../node_modules/.pnpm/tar@7.5.
|
|
1554163
|
+
// ../../../node_modules/.pnpm/tar@7.5.7/node_modules/tar/dist/esm/make-command.js
|
|
1554164
1554164
|
var makeCommand = (syncFile, asyncFile, syncNoFile, asyncNoFile, validate2) => {
|
|
1554165
1554165
|
return Object.assign((opt_ = [], entries10, cb2) => {
|
|
1554166
1554166
|
if (Array.isArray(opt_)) {
|
|
@@ -1554209,7 +1554209,7 @@ var makeCommand = (syncFile, asyncFile, syncNoFile, asyncNoFile, validate2) => {
|
|
|
1554209
1554209
|
});
|
|
1554210
1554210
|
};
|
|
1554211
1554211
|
|
|
1554212
|
-
// ../../../node_modules/.pnpm/tar@7.5.
|
|
1554212
|
+
// ../../../node_modules/.pnpm/tar@7.5.7/node_modules/tar/dist/esm/parse.js
|
|
1554213
1554213
|
var import_events3 = require("events");
|
|
1554214
1554214
|
|
|
1554215
1554215
|
// ../../../node_modules/.pnpm/minizlib@3.1.0/node_modules/minizlib/dist/esm/index.js
|
|
@@ -1554600,10 +1554600,10 @@ var ZstdDecompress = class extends Zstd {
|
|
|
1554600
1554600
|
}
|
|
1554601
1554601
|
};
|
|
1554602
1554602
|
|
|
1554603
|
-
// ../../../node_modules/.pnpm/tar@7.5.
|
|
1554603
|
+
// ../../../node_modules/.pnpm/tar@7.5.7/node_modules/tar/dist/esm/header.js
|
|
1554604
1554604
|
var import_node_path7 = require("path");
|
|
1554605
1554605
|
|
|
1554606
|
-
// ../../../node_modules/.pnpm/tar@7.5.
|
|
1554606
|
+
// ../../../node_modules/.pnpm/tar@7.5.7/node_modules/tar/dist/esm/large-numbers.js
|
|
1554607
1554607
|
var encode6 = (num, buf) => {
|
|
1554608
1554608
|
if (!Number.isSafeInteger(num)) {
|
|
1554609
1554609
|
throw Error("cannot encode number outside of javascript safe integer range");
|
|
@@ -1554684,7 +1554684,7 @@ var pos = (buf) => {
|
|
|
1554684
1554684
|
var onesComp = (byte) => (255 ^ byte) & 255;
|
|
1554685
1554685
|
var twosComp = (byte) => (255 ^ byte) + 1 & 255;
|
|
1554686
1554686
|
|
|
1554687
|
-
// ../../../node_modules/.pnpm/tar@7.5.
|
|
1554687
|
+
// ../../../node_modules/.pnpm/tar@7.5.7/node_modules/tar/dist/esm/types.js
|
|
1554688
1554688
|
var isCode = (c16) => name.has(c16);
|
|
1554689
1554689
|
var name = /* @__PURE__ */ new Map([
|
|
1554690
1554690
|
["0", "File"],
|
|
@@ -1554727,7 +1554727,7 @@ var name = /* @__PURE__ */ new Map([
|
|
|
1554727
1554727
|
]);
|
|
1554728
1554728
|
var code = new Map(Array.from(name).map((kv2) => [kv2[1], kv2[0]]));
|
|
1554729
1554729
|
|
|
1554730
|
-
// ../../../node_modules/.pnpm/tar@7.5.
|
|
1554730
|
+
// ../../../node_modules/.pnpm/tar@7.5.7/node_modules/tar/dist/esm/header.js
|
|
1554731
1554731
|
var Header2 = class {
|
|
1554732
1554732
|
cksumValid = false;
|
|
1554733
1554733
|
needPax = false;
|
|
@@ -1554930,7 +1554930,7 @@ var encDate = (buf, off, size2, date12) => date12 === void 0 ? false : encNumber
|
|
|
1554930
1554930
|
var NULLS = new Array(156).join("\0");
|
|
1554931
1554931
|
var encString = (buf, off, size2, str3) => str3 === void 0 ? false : (buf.write(str3 + NULLS, off, size2, "utf8"), str3.length !== Buffer.byteLength(str3) || str3.length > size2);
|
|
1554932
1554932
|
|
|
1554933
|
-
// ../../../node_modules/.pnpm/tar@7.5.
|
|
1554933
|
+
// ../../../node_modules/.pnpm/tar@7.5.7/node_modules/tar/dist/esm/pax.js
|
|
1554934
1554934
|
var import_node_path8 = require("path");
|
|
1554935
1554935
|
var Pax = class _Pax {
|
|
1554936
1554936
|
atime;
|
|
@@ -1555047,11 +1555047,11 @@ var parseKVLine = (set13, line) => {
|
|
|
1555047
1555047
|
return set13;
|
|
1555048
1555048
|
};
|
|
1555049
1555049
|
|
|
1555050
|
-
// ../../../node_modules/.pnpm/tar@7.5.
|
|
1555050
|
+
// ../../../node_modules/.pnpm/tar@7.5.7/node_modules/tar/dist/esm/normalize-windows-path.js
|
|
1555051
1555051
|
var platform = process.env.TESTING_TAR_FAKE_PLATFORM || process.platform;
|
|
1555052
1555052
|
var normalizeWindowsPath = platform !== "win32" ? (p9) => p9 : (p9) => p9 && p9.replace(/\\/g, "/");
|
|
1555053
1555053
|
|
|
1555054
|
-
// ../../../node_modules/.pnpm/tar@7.5.
|
|
1555054
|
+
// ../../../node_modules/.pnpm/tar@7.5.7/node_modules/tar/dist/esm/read-entry.js
|
|
1555055
1555055
|
var ReadEntry = class extends Minipass {
|
|
1555056
1555056
|
extended;
|
|
1555057
1555057
|
globalExtended;
|
|
@@ -1555168,7 +1555168,7 @@ var ReadEntry = class extends Minipass {
|
|
|
1555168
1555168
|
}
|
|
1555169
1555169
|
};
|
|
1555170
1555170
|
|
|
1555171
|
-
// ../../../node_modules/.pnpm/tar@7.5.
|
|
1555171
|
+
// ../../../node_modules/.pnpm/tar@7.5.7/node_modules/tar/dist/esm/warn-method.js
|
|
1555172
1555172
|
var warnMethod = (self2, code6, message, data2 = {}) => {
|
|
1555173
1555173
|
if (self2.file) {
|
|
1555174
1555174
|
data2.file = self2.file;
|
|
@@ -1555191,7 +1555191,7 @@ var warnMethod = (self2, code6, message, data2 = {}) => {
|
|
|
1555191
1555191
|
}
|
|
1555192
1555192
|
};
|
|
1555193
1555193
|
|
|
1555194
|
-
// ../../../node_modules/.pnpm/tar@7.5.
|
|
1555194
|
+
// ../../../node_modules/.pnpm/tar@7.5.7/node_modules/tar/dist/esm/parse.js
|
|
1555195
1555195
|
var maxMetaEntrySize = 1024 * 1024;
|
|
1555196
1555196
|
var gzipHeader = Buffer.from([31, 139]);
|
|
1555197
1555197
|
var zstdHeader = Buffer.from([40, 181, 47, 253]);
|
|
@@ -1555679,7 +1555679,7 @@ var Parser2 = class extends import_events3.EventEmitter {
|
|
|
1555679
1555679
|
}
|
|
1555680
1555680
|
};
|
|
1555681
1555681
|
|
|
1555682
|
-
// ../../../node_modules/.pnpm/tar@7.5.
|
|
1555682
|
+
// ../../../node_modules/.pnpm/tar@7.5.7/node_modules/tar/dist/esm/strip-trailing-slashes.js
|
|
1555683
1555683
|
var stripTrailingSlashes = (str3) => {
|
|
1555684
1555684
|
let i11 = str3.length - 1;
|
|
1555685
1555685
|
let slashesStart = -1;
|
|
@@ -1555690,7 +1555690,7 @@ var stripTrailingSlashes = (str3) => {
|
|
|
1555690
1555690
|
return slashesStart === -1 ? str3 : str3.slice(0, slashesStart);
|
|
1555691
1555691
|
};
|
|
1555692
1555692
|
|
|
1555693
|
-
// ../../../node_modules/.pnpm/tar@7.5.
|
|
1555693
|
+
// ../../../node_modules/.pnpm/tar@7.5.7/node_modules/tar/dist/esm/list.js
|
|
1555694
1555694
|
var onReadEntryFunction = (opt) => {
|
|
1555695
1555695
|
const onReadEntry = opt.onReadEntry;
|
|
1555696
1555696
|
opt.onReadEntry = onReadEntry ? (e6) => {
|
|
@@ -1555781,14 +1555781,14 @@ var list8 = makeCommand(listFileSync, listFile, (opt) => new Parser2(opt), (opt)
|
|
|
1555781
1555781
|
onReadEntryFunction(opt);
|
|
1555782
1555782
|
});
|
|
1555783
1555783
|
|
|
1555784
|
-
// ../../../node_modules/.pnpm/tar@7.5.
|
|
1555784
|
+
// ../../../node_modules/.pnpm/tar@7.5.7/node_modules/tar/dist/esm/pack.js
|
|
1555785
1555785
|
var import_fs13 = __toESM(require("fs"), 1);
|
|
1555786
1555786
|
|
|
1555787
|
-
// ../../../node_modules/.pnpm/tar@7.5.
|
|
1555787
|
+
// ../../../node_modules/.pnpm/tar@7.5.7/node_modules/tar/dist/esm/write-entry.js
|
|
1555788
1555788
|
var import_fs12 = __toESM(require("fs"), 1);
|
|
1555789
1555789
|
var import_path35 = __toESM(require("path"), 1);
|
|
1555790
1555790
|
|
|
1555791
|
-
// ../../../node_modules/.pnpm/tar@7.5.
|
|
1555791
|
+
// ../../../node_modules/.pnpm/tar@7.5.7/node_modules/tar/dist/esm/mode-fix.js
|
|
1555792
1555792
|
var modeFix = (mode, isDir, portable) => {
|
|
1555793
1555793
|
mode &= 4095;
|
|
1555794
1555794
|
if (portable) {
|
|
@@ -1555808,7 +1555808,7 @@ var modeFix = (mode, isDir, portable) => {
|
|
|
1555808
1555808
|
return mode;
|
|
1555809
1555809
|
};
|
|
1555810
1555810
|
|
|
1555811
|
-
// ../../../node_modules/.pnpm/tar@7.5.
|
|
1555811
|
+
// ../../../node_modules/.pnpm/tar@7.5.7/node_modules/tar/dist/esm/strip-absolute-path.js
|
|
1555812
1555812
|
var import_node_path9 = require("path");
|
|
1555813
1555813
|
var { isAbsolute: isAbsolute3, parse: parse9 } = import_node_path9.win32;
|
|
1555814
1555814
|
var stripAbsolutePath = (path86) => {
|
|
@@ -1555823,7 +1555823,7 @@ var stripAbsolutePath = (path86) => {
|
|
|
1555823
1555823
|
return [r23, path86];
|
|
1555824
1555824
|
};
|
|
1555825
1555825
|
|
|
1555826
|
-
// ../../../node_modules/.pnpm/tar@7.5.
|
|
1555826
|
+
// ../../../node_modules/.pnpm/tar@7.5.7/node_modules/tar/dist/esm/winchars.js
|
|
1555827
1555827
|
var raw = ["|", "<", ">", "?", ":"];
|
|
1555828
1555828
|
var win = raw.map((char) => String.fromCharCode(61440 + char.charCodeAt(0)));
|
|
1555829
1555829
|
var toWin = new Map(raw.map((char, i11) => [char, win[i11]]));
|
|
@@ -1555831,7 +1555831,7 @@ var toRaw = new Map(win.map((char, i11) => [char, raw[i11]]));
|
|
|
1555831
1555831
|
var encode7 = (s9) => raw.reduce((s10, c16) => s10.split(c16).join(toWin.get(c16)), s9);
|
|
1555832
1555832
|
var decode5 = (s9) => win.reduce((s10, c16) => s10.split(c16).join(toRaw.get(c16)), s9);
|
|
1555833
1555833
|
|
|
1555834
|
-
// ../../../node_modules/.pnpm/tar@7.5.
|
|
1555834
|
+
// ../../../node_modules/.pnpm/tar@7.5.7/node_modules/tar/dist/esm/write-entry.js
|
|
1555835
1555835
|
var prefixPath = (path86, prefix2) => {
|
|
1555836
1555836
|
if (!prefix2) {
|
|
1555837
1555837
|
return normalizeWindowsPath(path86);
|
|
@@ -1556778,7 +1556778,7 @@ var Node4 = class {
|
|
|
1556778
1556778
|
}
|
|
1556779
1556779
|
};
|
|
1556780
1556780
|
|
|
1556781
|
-
// ../../../node_modules/.pnpm/tar@7.5.
|
|
1556781
|
+
// ../../../node_modules/.pnpm/tar@7.5.7/node_modules/tar/dist/esm/pack.js
|
|
1556782
1556782
|
var import_path36 = __toESM(require("path"), 1);
|
|
1556783
1556783
|
var PackJob = class {
|
|
1556784
1556784
|
path;
|
|
@@ -1556816,6 +1556816,7 @@ var WRITEENTRYCLASS = Symbol("writeEntryClass");
|
|
|
1556816
1556816
|
var WRITE = Symbol("write");
|
|
1556817
1556817
|
var ONDRAIN2 = Symbol("ondrain");
|
|
1556818
1556818
|
var Pack = class extends Minipass {
|
|
1556819
|
+
sync = false;
|
|
1556819
1556820
|
opt;
|
|
1556820
1556821
|
cwd;
|
|
1556821
1556822
|
maxReadSize;
|
|
@@ -1556988,6 +1556989,8 @@ var Pack = class extends Minipass {
|
|
|
1556988
1556989
|
job.stat = stat3;
|
|
1556989
1556990
|
if (!this.filter(job.path, stat3)) {
|
|
1556990
1556991
|
job.ignore = true;
|
|
1556992
|
+
} else if (stat3.isFile() && stat3.nlink > 1 && job === this[CURRENT] && !this.linkCache.get(`${stat3.dev}:${stat3.ino}`) && !this.sync) {
|
|
1556993
|
+
this[PROCESSJOB](job);
|
|
1556991
1556994
|
}
|
|
1556992
1556995
|
this[PROCESS3]();
|
|
1556993
1556996
|
}
|
|
@@ -1557196,7 +1557199,7 @@ var PackSync = class extends Pack {
|
|
|
1557196
1557199
|
}
|
|
1557197
1557200
|
};
|
|
1557198
1557201
|
|
|
1557199
|
-
// ../../../node_modules/.pnpm/tar@7.5.
|
|
1557202
|
+
// ../../../node_modules/.pnpm/tar@7.5.7/node_modules/tar/dist/esm/create.js
|
|
1557200
1557203
|
var createFileSync = (opt, files) => {
|
|
1557201
1557204
|
const p9 = new PackSync(opt);
|
|
1557202
1557205
|
const stream5 = new WriteStreamSync(opt.file, {
|
|
@@ -1557267,16 +1557270,16 @@ var create2 = makeCommand(createFileSync, createFile, createSync, createAsync, (
|
|
|
1557267
1557270
|
}
|
|
1557268
1557271
|
});
|
|
1557269
1557272
|
|
|
1557270
|
-
// ../../../node_modules/.pnpm/tar@7.5.
|
|
1557273
|
+
// ../../../node_modules/.pnpm/tar@7.5.7/node_modules/tar/dist/esm/extract.js
|
|
1557271
1557274
|
var import_node_fs7 = __toESM(require("fs"), 1);
|
|
1557272
1557275
|
|
|
1557273
|
-
// ../../../node_modules/.pnpm/tar@7.5.
|
|
1557276
|
+
// ../../../node_modules/.pnpm/tar@7.5.7/node_modules/tar/dist/esm/unpack.js
|
|
1557274
1557277
|
var import_node_assert7 = __toESM(require("assert"), 1);
|
|
1557275
1557278
|
var import_node_crypto5 = require("crypto");
|
|
1557276
1557279
|
var import_node_fs6 = __toESM(require("fs"), 1);
|
|
1557277
1557280
|
var import_node_path14 = __toESM(require("path"), 1);
|
|
1557278
1557281
|
|
|
1557279
|
-
// ../../../node_modules/.pnpm/tar@7.5.
|
|
1557282
|
+
// ../../../node_modules/.pnpm/tar@7.5.7/node_modules/tar/dist/esm/get-write-flag.js
|
|
1557280
1557283
|
var import_fs14 = __toESM(require("fs"), 1);
|
|
1557281
1557284
|
var platform2 = process.env.__FAKE_PLATFORM__ || process.platform;
|
|
1557282
1557285
|
var isWindows = platform2 === "win32";
|
|
@@ -1557365,12 +1557368,12 @@ var chownrSync = (p9, uid, gid) => {
|
|
|
1557365
1557368
|
return lchownSync(p9, uid, gid);
|
|
1557366
1557369
|
};
|
|
1557367
1557370
|
|
|
1557368
|
-
// ../../../node_modules/.pnpm/tar@7.5.
|
|
1557371
|
+
// ../../../node_modules/.pnpm/tar@7.5.7/node_modules/tar/dist/esm/mkdir.js
|
|
1557369
1557372
|
var import_node_fs5 = __toESM(require("fs"), 1);
|
|
1557370
1557373
|
var import_promises34 = __toESM(require("fs/promises"), 1);
|
|
1557371
1557374
|
var import_node_path12 = __toESM(require("path"), 1);
|
|
1557372
1557375
|
|
|
1557373
|
-
// ../../../node_modules/.pnpm/tar@7.5.
|
|
1557376
|
+
// ../../../node_modules/.pnpm/tar@7.5.7/node_modules/tar/dist/esm/cwd-error.js
|
|
1557374
1557377
|
var CwdError = class extends Error {
|
|
1557375
1557378
|
path;
|
|
1557376
1557379
|
code;
|
|
@@ -1557385,7 +1557388,7 @@ var CwdError = class extends Error {
|
|
|
1557385
1557388
|
}
|
|
1557386
1557389
|
};
|
|
1557387
1557390
|
|
|
1557388
|
-
// ../../../node_modules/.pnpm/tar@7.5.
|
|
1557391
|
+
// ../../../node_modules/.pnpm/tar@7.5.7/node_modules/tar/dist/esm/symlink-error.js
|
|
1557389
1557392
|
var SymlinkError = class extends Error {
|
|
1557390
1557393
|
path;
|
|
1557391
1557394
|
symlink;
|
|
@@ -1557401,7 +1557404,7 @@ var SymlinkError = class extends Error {
|
|
|
1557401
1557404
|
}
|
|
1557402
1557405
|
};
|
|
1557403
1557406
|
|
|
1557404
|
-
// ../../../node_modules/.pnpm/tar@7.5.
|
|
1557407
|
+
// ../../../node_modules/.pnpm/tar@7.5.7/node_modules/tar/dist/esm/mkdir.js
|
|
1557405
1557408
|
var checkCwd = (dir, cb2) => {
|
|
1557406
1557409
|
import_node_fs5.default.stat(dir, (er18, st13) => {
|
|
1557407
1557410
|
if (er18 || !st13.isDirectory()) {
|
|
@@ -1557546,10 +1557549,10 @@ var mkdirSync2 = (dir, opt) => {
|
|
|
1557546
1557549
|
return done(created);
|
|
1557547
1557550
|
};
|
|
1557548
1557551
|
|
|
1557549
|
-
// ../../../node_modules/.pnpm/tar@7.5.
|
|
1557552
|
+
// ../../../node_modules/.pnpm/tar@7.5.7/node_modules/tar/dist/esm/path-reservations.js
|
|
1557550
1557553
|
var import_node_path13 = require("path");
|
|
1557551
1557554
|
|
|
1557552
|
-
// ../../../node_modules/.pnpm/tar@7.5.
|
|
1557555
|
+
// ../../../node_modules/.pnpm/tar@7.5.7/node_modules/tar/dist/esm/normalize-unicode.js
|
|
1557553
1557556
|
var normalizeCache2 = /* @__PURE__ */ Object.create(null);
|
|
1557554
1557557
|
var MAX = 1e4;
|
|
1557555
1557558
|
var cache3 = /* @__PURE__ */ new Set();
|
|
@@ -1557573,7 +1557576,7 @@ var normalizeUnicode = (s9) => {
|
|
|
1557573
1557576
|
return ret;
|
|
1557574
1557577
|
};
|
|
1557575
1557578
|
|
|
1557576
|
-
// ../../../node_modules/.pnpm/tar@7.5.
|
|
1557579
|
+
// ../../../node_modules/.pnpm/tar@7.5.7/node_modules/tar/dist/esm/path-reservations.js
|
|
1557577
1557580
|
var platform3 = process.env.TESTING_TAR_FAKE_PLATFORM || process.platform;
|
|
1557578
1557581
|
var isWindows2 = platform3 === "win32";
|
|
1557579
1557582
|
var getDirs = (path86) => {
|
|
@@ -1557705,7 +1557708,7 @@ var PathReservations = class {
|
|
|
1557705
1557708
|
}
|
|
1557706
1557709
|
};
|
|
1557707
1557710
|
|
|
1557708
|
-
// ../../../node_modules/.pnpm/tar@7.5.
|
|
1557711
|
+
// ../../../node_modules/.pnpm/tar@7.5.7/node_modules/tar/dist/esm/unpack.js
|
|
1557709
1557712
|
var ONENTRY = Symbol("onEntry");
|
|
1557710
1557713
|
var CHECKFS = Symbol("checkFs");
|
|
1557711
1557714
|
var CHECKFS2 = Symbol("checkFs2");
|
|
@@ -1557849,24 +1557852,37 @@ var Unpack = class extends Parser2 {
|
|
|
1557849
1557852
|
// return false if we need to skip this file
|
|
1557850
1557853
|
// return true if the field was successfully sanitized
|
|
1557851
1557854
|
[STRIPABSOLUTEPATH](entry, field5) {
|
|
1557852
|
-
const
|
|
1557853
|
-
|
|
1557855
|
+
const p9 = entry[field5];
|
|
1557856
|
+
const { type: type8 } = entry;
|
|
1557857
|
+
if (!p9 || this.preservePaths)
|
|
1557854
1557858
|
return true;
|
|
1557855
|
-
const parts =
|
|
1557859
|
+
const parts = p9.split("/");
|
|
1557856
1557860
|
if (parts.includes("..") || /* c8 ignore next */
|
|
1557857
1557861
|
isWindows3 && /^[a-z]:\.\.$/i.test(parts[0] ?? "")) {
|
|
1557858
|
-
|
|
1557859
|
-
|
|
1557860
|
-
|
|
1557861
|
-
|
|
1557862
|
-
|
|
1557862
|
+
if (field5 === "path" || type8 === "Link") {
|
|
1557863
|
+
this.warn("TAR_ENTRY_ERROR", `${field5} contains '..'`, {
|
|
1557864
|
+
entry,
|
|
1557865
|
+
[field5]: p9
|
|
1557866
|
+
});
|
|
1557867
|
+
return false;
|
|
1557868
|
+
} else {
|
|
1557869
|
+
const entryDir = import_node_path14.default.posix.dirname(entry.path);
|
|
1557870
|
+
const resolved = import_node_path14.default.posix.normalize(import_node_path14.default.posix.join(entryDir, p9));
|
|
1557871
|
+
if (resolved.startsWith("../") || resolved === "..") {
|
|
1557872
|
+
this.warn("TAR_ENTRY_ERROR", `${field5} escapes extraction directory`, {
|
|
1557873
|
+
entry,
|
|
1557874
|
+
[field5]: p9
|
|
1557875
|
+
});
|
|
1557876
|
+
return false;
|
|
1557877
|
+
}
|
|
1557878
|
+
}
|
|
1557863
1557879
|
}
|
|
1557864
|
-
const [root6, stripped] = stripAbsolutePath(
|
|
1557880
|
+
const [root6, stripped] = stripAbsolutePath(p9);
|
|
1557865
1557881
|
if (root6) {
|
|
1557866
1557882
|
entry[field5] = String(stripped);
|
|
1557867
1557883
|
this.warn("TAR_ENTRY_INFO", `stripping ${root6} from absolute ${field5}`, {
|
|
1557868
1557884
|
entry,
|
|
1557869
|
-
[field5]:
|
|
1557885
|
+
[field5]: p9
|
|
1557870
1557886
|
});
|
|
1557871
1557887
|
}
|
|
1557872
1557888
|
return true;
|
|
@@ -1558383,7 +1558399,7 @@ var UnpackSync = class extends Unpack {
|
|
|
1558383
1558399
|
}
|
|
1558384
1558400
|
};
|
|
1558385
1558401
|
|
|
1558386
|
-
// ../../../node_modules/.pnpm/tar@7.5.
|
|
1558402
|
+
// ../../../node_modules/.pnpm/tar@7.5.7/node_modules/tar/dist/esm/extract.js
|
|
1558387
1558403
|
var extractFileSync = (opt) => {
|
|
1558388
1558404
|
const u7 = new UnpackSync(opt);
|
|
1558389
1558405
|
const file4 = opt.file;
|
|
@@ -1558422,7 +1558438,7 @@ var extract = makeCommand(extractFileSync, extractFile, (opt) => new UnpackSync(
|
|
|
1558422
1558438
|
filesFilter(opt, files);
|
|
1558423
1558439
|
});
|
|
1558424
1558440
|
|
|
1558425
|
-
// ../../../node_modules/.pnpm/tar@7.5.
|
|
1558441
|
+
// ../../../node_modules/.pnpm/tar@7.5.7/node_modules/tar/dist/esm/replace.js
|
|
1558426
1558442
|
var import_node_fs8 = __toESM(require("fs"), 1);
|
|
1558427
1558443
|
var import_node_path15 = __toESM(require("path"), 1);
|
|
1558428
1558444
|
var replaceSync = (opt, files) => {
|
|
@@ -1558623,7 +1558639,7 @@ var replace = makeCommand(
|
|
|
1558623
1558639
|
}
|
|
1558624
1558640
|
);
|
|
1558625
1558641
|
|
|
1558626
|
-
// ../../../node_modules/.pnpm/tar@7.5.
|
|
1558642
|
+
// ../../../node_modules/.pnpm/tar@7.5.7/node_modules/tar/dist/esm/update.js
|
|
1558627
1558643
|
var update = makeCommand(replace.syncFile, replace.asyncFile, replace.syncNoFile, replace.asyncNoFile, (opt, entries10 = []) => {
|
|
1558628
1558644
|
replace.validate?.(opt, entries10);
|
|
1558629
1558645
|
mtimeFilter(opt);
|
|
@@ -1650923,7 +1650939,7 @@ var AccessTokenPosthogManager = class {
|
|
|
1650923
1650939
|
properties: {
|
|
1650924
1650940
|
...event,
|
|
1650925
1650941
|
...event.properties,
|
|
1650926
|
-
version: "3.52.0-
|
|
1650942
|
+
version: "3.52.0-40-g0bd25791343",
|
|
1650927
1650943
|
usingAccessToken: true
|
|
1650928
1650944
|
}
|
|
1650929
1650945
|
});
|
|
@@ -1650973,7 +1650989,7 @@ var UserPosthogManager = class {
|
|
|
1650973
1650989
|
distinctId: this.userId ?? await this.getPersistedDistinctId(),
|
|
1650974
1650990
|
event: "CLI",
|
|
1650975
1650991
|
properties: {
|
|
1650976
|
-
version: "3.52.0-
|
|
1650992
|
+
version: "3.52.0-40-g0bd25791343",
|
|
1650977
1650993
|
...event,
|
|
1650978
1650994
|
...event.properties,
|
|
1650979
1650995
|
usingAccessToken: false,
|
|
@@ -1684115,7 +1684131,7 @@ var CliContext = class {
|
|
|
1684115
1684131
|
if (false) {
|
|
1684116
1684132
|
this.logger.error("CLI_VERSION is not defined");
|
|
1684117
1684133
|
}
|
|
1684118
|
-
return "3.52.0-
|
|
1684134
|
+
return "3.52.0-40-g0bd25791343";
|
|
1684119
1684135
|
}
|
|
1684120
1684136
|
getCliName() {
|
|
1684121
1684137
|
if (false) {
|
|
@@ -1687228,7 +1687244,7 @@ var import_path54 = __toESM(require("path"), 1);
|
|
|
1687228
1687244
|
var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
|
|
1687229
1687245
|
var LOGS_FOLDER_NAME = "logs";
|
|
1687230
1687246
|
function getCliSource() {
|
|
1687231
|
-
const version7 = "3.52.0-
|
|
1687247
|
+
const version7 = "3.52.0-40-g0bd25791343";
|
|
1687232
1687248
|
return `cli@${version7}`;
|
|
1687233
1687249
|
}
|
|
1687234
1687250
|
var DebugLogger = class {
|
package/package.json
CHANGED