fern-api 0.19.18 → 0.19.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/bundle.cjs +314 -155
- package/package.json +1 -1
package/bundle.cjs
CHANGED
|
@@ -343448,9 +343448,9 @@ var init_serialization2 = __esm({
|
|
|
343448
343448
|
}
|
|
343449
343449
|
});
|
|
343450
343450
|
|
|
343451
|
-
// pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.
|
|
343451
|
+
// pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.1-237800bb20-f1322768c9.zip/node_modules/tar/lib/high-level-opt.js
|
|
343452
343452
|
var require_high_level_opt = __commonJS({
|
|
343453
|
-
"pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.
|
|
343453
|
+
"pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.1-237800bb20-f1322768c9.zip/node_modules/tar/lib/high-level-opt.js"(exports2, module2) {
|
|
343454
343454
|
"use strict";
|
|
343455
343455
|
var argmap = /* @__PURE__ */ new Map([
|
|
343456
343456
|
["C", "cwd"],
|
|
@@ -344970,17 +344970,17 @@ var require_minizlib = __commonJS({
|
|
|
344970
344970
|
}
|
|
344971
344971
|
});
|
|
344972
344972
|
|
|
344973
|
-
// pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.
|
|
344973
|
+
// pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.1-237800bb20-f1322768c9.zip/node_modules/tar/lib/normalize-windows-path.js
|
|
344974
344974
|
var require_normalize_windows_path = __commonJS({
|
|
344975
|
-
"pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.
|
|
344975
|
+
"pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.1-237800bb20-f1322768c9.zip/node_modules/tar/lib/normalize-windows-path.js"(exports2, module2) {
|
|
344976
344976
|
var platform2 = process.env.TESTING_TAR_FAKE_PLATFORM || process.platform;
|
|
344977
344977
|
module2.exports = platform2 !== "win32" ? (p2) => p2 : (p2) => p2 && p2.replace(/\\/g, "/");
|
|
344978
344978
|
}
|
|
344979
344979
|
});
|
|
344980
344980
|
|
|
344981
|
-
// pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.
|
|
344981
|
+
// pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.1-237800bb20-f1322768c9.zip/node_modules/tar/lib/read-entry.js
|
|
344982
344982
|
var require_read_entry = __commonJS({
|
|
344983
|
-
"pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.
|
|
344983
|
+
"pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.1-237800bb20-f1322768c9.zip/node_modules/tar/lib/read-entry.js"(exports2, module2) {
|
|
344984
344984
|
"use strict";
|
|
344985
344985
|
var { Minipass } = require_minipass();
|
|
344986
344986
|
var normPath = require_normalize_windows_path();
|
|
@@ -345072,9 +345072,9 @@ var require_read_entry = __commonJS({
|
|
|
345072
345072
|
}
|
|
345073
345073
|
});
|
|
345074
345074
|
|
|
345075
|
-
// pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.
|
|
345075
|
+
// pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.1-237800bb20-f1322768c9.zip/node_modules/tar/lib/types.js
|
|
345076
345076
|
var require_types40 = __commonJS({
|
|
345077
|
-
"pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.
|
|
345077
|
+
"pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.1-237800bb20-f1322768c9.zip/node_modules/tar/lib/types.js"(exports2) {
|
|
345078
345078
|
"use strict";
|
|
345079
345079
|
exports2.name = /* @__PURE__ */ new Map([
|
|
345080
345080
|
["0", "File"],
|
|
@@ -345103,9 +345103,9 @@ var require_types40 = __commonJS({
|
|
|
345103
345103
|
}
|
|
345104
345104
|
});
|
|
345105
345105
|
|
|
345106
|
-
// pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.
|
|
345106
|
+
// pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.1-237800bb20-f1322768c9.zip/node_modules/tar/lib/large-numbers.js
|
|
345107
345107
|
var require_large_numbers = __commonJS({
|
|
345108
|
-
"pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.
|
|
345108
|
+
"pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.1-237800bb20-f1322768c9.zip/node_modules/tar/lib/large-numbers.js"(exports2, module2) {
|
|
345109
345109
|
"use strict";
|
|
345110
345110
|
var encode2 = (num, buf) => {
|
|
345111
345111
|
if (!Number.isSafeInteger(num)) {
|
|
@@ -345193,9 +345193,9 @@ var require_large_numbers = __commonJS({
|
|
|
345193
345193
|
}
|
|
345194
345194
|
});
|
|
345195
345195
|
|
|
345196
|
-
// pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.
|
|
345196
|
+
// pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.1-237800bb20-f1322768c9.zip/node_modules/tar/lib/header.js
|
|
345197
345197
|
var require_header = __commonJS({
|
|
345198
|
-
"pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.
|
|
345198
|
+
"pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.1-237800bb20-f1322768c9.zip/node_modules/tar/lib/header.js"(exports2, module2) {
|
|
345199
345199
|
"use strict";
|
|
345200
345200
|
var types3 = require_types40();
|
|
345201
345201
|
var pathModule = require("path").posix;
|
|
@@ -345413,9 +345413,9 @@ var require_header = __commonJS({
|
|
|
345413
345413
|
}
|
|
345414
345414
|
});
|
|
345415
345415
|
|
|
345416
|
-
// pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.
|
|
345416
|
+
// pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.1-237800bb20-f1322768c9.zip/node_modules/tar/lib/pax.js
|
|
345417
345417
|
var require_pax = __commonJS({
|
|
345418
|
-
"pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.
|
|
345418
|
+
"pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.1-237800bb20-f1322768c9.zip/node_modules/tar/lib/pax.js"(exports2, module2) {
|
|
345419
345419
|
"use strict";
|
|
345420
345420
|
var Header2 = require_header();
|
|
345421
345421
|
var path34 = require("path");
|
|
@@ -345511,9 +345511,9 @@ var require_pax = __commonJS({
|
|
|
345511
345511
|
}
|
|
345512
345512
|
});
|
|
345513
345513
|
|
|
345514
|
-
// pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.
|
|
345514
|
+
// pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.1-237800bb20-f1322768c9.zip/node_modules/tar/lib/strip-trailing-slashes.js
|
|
345515
345515
|
var require_strip_trailing_slashes = __commonJS({
|
|
345516
|
-
"pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.
|
|
345516
|
+
"pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.1-237800bb20-f1322768c9.zip/node_modules/tar/lib/strip-trailing-slashes.js"(exports2, module2) {
|
|
345517
345517
|
module2.exports = (str3) => {
|
|
345518
345518
|
let i2 = str3.length - 1;
|
|
345519
345519
|
let slashesStart = -1;
|
|
@@ -345526,9 +345526,9 @@ var require_strip_trailing_slashes = __commonJS({
|
|
|
345526
345526
|
}
|
|
345527
345527
|
});
|
|
345528
345528
|
|
|
345529
|
-
// pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.
|
|
345529
|
+
// pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.1-237800bb20-f1322768c9.zip/node_modules/tar/lib/warn-mixin.js
|
|
345530
345530
|
var require_warn_mixin = __commonJS({
|
|
345531
|
-
"pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.
|
|
345531
|
+
"pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.1-237800bb20-f1322768c9.zip/node_modules/tar/lib/warn-mixin.js"(exports2, module2) {
|
|
345532
345532
|
"use strict";
|
|
345533
345533
|
module2.exports = (Base) => class extends Base {
|
|
345534
345534
|
warn(code3, message, data2 = {}) {
|
|
@@ -345556,9 +345556,9 @@ var require_warn_mixin = __commonJS({
|
|
|
345556
345556
|
}
|
|
345557
345557
|
});
|
|
345558
345558
|
|
|
345559
|
-
// pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.
|
|
345559
|
+
// pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.1-237800bb20-f1322768c9.zip/node_modules/tar/lib/winchars.js
|
|
345560
345560
|
var require_winchars = __commonJS({
|
|
345561
|
-
"pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.
|
|
345561
|
+
"pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.1-237800bb20-f1322768c9.zip/node_modules/tar/lib/winchars.js"(exports2, module2) {
|
|
345562
345562
|
"use strict";
|
|
345563
345563
|
var raw = [
|
|
345564
345564
|
"|",
|
|
@@ -345577,9 +345577,9 @@ var require_winchars = __commonJS({
|
|
|
345577
345577
|
}
|
|
345578
345578
|
});
|
|
345579
345579
|
|
|
345580
|
-
// pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.
|
|
345580
|
+
// pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.1-237800bb20-f1322768c9.zip/node_modules/tar/lib/strip-absolute-path.js
|
|
345581
345581
|
var require_strip_absolute_path = __commonJS({
|
|
345582
|
-
"pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.
|
|
345582
|
+
"pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.1-237800bb20-f1322768c9.zip/node_modules/tar/lib/strip-absolute-path.js"(exports2, module2) {
|
|
345583
345583
|
var { isAbsolute, parse: parse7 } = require("path").win32;
|
|
345584
345584
|
module2.exports = (path34) => {
|
|
345585
345585
|
let r2 = "";
|
|
@@ -345595,9 +345595,9 @@ var require_strip_absolute_path = __commonJS({
|
|
|
345595
345595
|
}
|
|
345596
345596
|
});
|
|
345597
345597
|
|
|
345598
|
-
// pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.
|
|
345598
|
+
// pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.1-237800bb20-f1322768c9.zip/node_modules/tar/lib/mode-fix.js
|
|
345599
345599
|
var require_mode_fix = __commonJS({
|
|
345600
|
-
"pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.
|
|
345600
|
+
"pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.1-237800bb20-f1322768c9.zip/node_modules/tar/lib/mode-fix.js"(exports2, module2) {
|
|
345601
345601
|
"use strict";
|
|
345602
345602
|
module2.exports = (mode, isDir, portable) => {
|
|
345603
345603
|
mode &= 4095;
|
|
@@ -345620,9 +345620,9 @@ var require_mode_fix = __commonJS({
|
|
|
345620
345620
|
}
|
|
345621
345621
|
});
|
|
345622
345622
|
|
|
345623
|
-
// pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.
|
|
345623
|
+
// pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.1-237800bb20-f1322768c9.zip/node_modules/tar/lib/write-entry.js
|
|
345624
345624
|
var require_write_entry = __commonJS({
|
|
345625
|
-
"pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.
|
|
345625
|
+
"pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.1-237800bb20-f1322768c9.zip/node_modules/tar/lib/write-entry.js"(exports2, module2) {
|
|
345626
345626
|
"use strict";
|
|
345627
345627
|
var { Minipass } = require_minipass();
|
|
345628
345628
|
var Pax = require_pax();
|
|
@@ -346080,9 +346080,9 @@ var require_write_entry = __commonJS({
|
|
|
346080
346080
|
}
|
|
346081
346081
|
});
|
|
346082
346082
|
|
|
346083
|
-
// pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.
|
|
346083
|
+
// pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.1-237800bb20-f1322768c9.zip/node_modules/tar/lib/pack.js
|
|
346084
346084
|
var require_pack = __commonJS({
|
|
346085
|
-
"pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.
|
|
346085
|
+
"pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.1-237800bb20-f1322768c9.zip/node_modules/tar/lib/pack.js"(exports2, module2) {
|
|
346086
346086
|
"use strict";
|
|
346087
346087
|
var PackJob = class {
|
|
346088
346088
|
constructor(path35, absolute) {
|
|
@@ -346821,9 +346821,9 @@ var require_fs_minipass = __commonJS({
|
|
|
346821
346821
|
}
|
|
346822
346822
|
});
|
|
346823
346823
|
|
|
346824
|
-
// pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.
|
|
346824
|
+
// pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.1-237800bb20-f1322768c9.zip/node_modules/tar/lib/parse.js
|
|
346825
346825
|
var require_parse5 = __commonJS({
|
|
346826
|
-
"pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.
|
|
346826
|
+
"pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.1-237800bb20-f1322768c9.zip/node_modules/tar/lib/parse.js"(exports2, module2) {
|
|
346827
346827
|
"use strict";
|
|
346828
346828
|
var warner = require_warn_mixin();
|
|
346829
346829
|
var Header2 = require_header();
|
|
@@ -347245,9 +347245,9 @@ var require_parse5 = __commonJS({
|
|
|
347245
347245
|
}
|
|
347246
347246
|
});
|
|
347247
347247
|
|
|
347248
|
-
// pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.
|
|
347248
|
+
// pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.1-237800bb20-f1322768c9.zip/node_modules/tar/lib/list.js
|
|
347249
347249
|
var require_list5 = __commonJS({
|
|
347250
|
-
"pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.
|
|
347250
|
+
"pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.1-237800bb20-f1322768c9.zip/node_modules/tar/lib/list.js"(exports2, module2) {
|
|
347251
347251
|
"use strict";
|
|
347252
347252
|
var hlo = require_high_level_opt();
|
|
347253
347253
|
var Parser5 = require_parse5();
|
|
@@ -347359,9 +347359,9 @@ var require_list5 = __commonJS({
|
|
|
347359
347359
|
}
|
|
347360
347360
|
});
|
|
347361
347361
|
|
|
347362
|
-
// pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.
|
|
347362
|
+
// pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.1-237800bb20-f1322768c9.zip/node_modules/tar/lib/create.js
|
|
347363
347363
|
var require_create3 = __commonJS({
|
|
347364
|
-
"pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.
|
|
347364
|
+
"pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.1-237800bb20-f1322768c9.zip/node_modules/tar/lib/create.js"(exports2, module2) {
|
|
347365
347365
|
"use strict";
|
|
347366
347366
|
var hlo = require_high_level_opt();
|
|
347367
347367
|
var Pack = require_pack();
|
|
@@ -347453,9 +347453,9 @@ var require_create3 = __commonJS({
|
|
|
347453
347453
|
}
|
|
347454
347454
|
});
|
|
347455
347455
|
|
|
347456
|
-
// pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.
|
|
347456
|
+
// pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.1-237800bb20-f1322768c9.zip/node_modules/tar/lib/replace.js
|
|
347457
347457
|
var require_replace = __commonJS({
|
|
347458
|
-
"pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.
|
|
347458
|
+
"pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.1-237800bb20-f1322768c9.zip/node_modules/tar/lib/replace.js"(exports2, module2) {
|
|
347459
347459
|
"use strict";
|
|
347460
347460
|
var hlo = require_high_level_opt();
|
|
347461
347461
|
var Pack = require_pack();
|
|
@@ -347669,9 +347669,9 @@ var require_replace = __commonJS({
|
|
|
347669
347669
|
}
|
|
347670
347670
|
});
|
|
347671
347671
|
|
|
347672
|
-
// pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.
|
|
347672
|
+
// pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.1-237800bb20-f1322768c9.zip/node_modules/tar/lib/update.js
|
|
347673
347673
|
var require_update3 = __commonJS({
|
|
347674
|
-
"pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.
|
|
347674
|
+
"pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.1-237800bb20-f1322768c9.zip/node_modules/tar/lib/update.js"(exports2, module2) {
|
|
347675
347675
|
"use strict";
|
|
347676
347676
|
var hlo = require_high_level_opt();
|
|
347677
347677
|
var r2 = require_replace();
|
|
@@ -348055,9 +348055,9 @@ var require_chownr = __commonJS({
|
|
|
348055
348055
|
}
|
|
348056
348056
|
});
|
|
348057
348057
|
|
|
348058
|
-
// pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.
|
|
348058
|
+
// pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.1-237800bb20-f1322768c9.zip/node_modules/tar/lib/mkdir.js
|
|
348059
348059
|
var require_mkdir = __commonJS({
|
|
348060
|
-
"pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.
|
|
348060
|
+
"pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.1-237800bb20-f1322768c9.zip/node_modules/tar/lib/mkdir.js"(exports2, module2) {
|
|
348061
348061
|
"use strict";
|
|
348062
348062
|
var mkdirp = require_mkdirp();
|
|
348063
348063
|
var fs4 = require("fs");
|
|
@@ -348247,9 +348247,9 @@ var require_mkdir = __commonJS({
|
|
|
348247
348247
|
}
|
|
348248
348248
|
});
|
|
348249
348249
|
|
|
348250
|
-
// pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.
|
|
348250
|
+
// pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.1-237800bb20-f1322768c9.zip/node_modules/tar/lib/normalize-unicode.js
|
|
348251
348251
|
var require_normalize_unicode = __commonJS({
|
|
348252
|
-
"pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.
|
|
348252
|
+
"pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.1-237800bb20-f1322768c9.zip/node_modules/tar/lib/normalize-unicode.js"(exports2, module2) {
|
|
348253
348253
|
var normalizeCache = /* @__PURE__ */ Object.create(null);
|
|
348254
348254
|
var { hasOwnProperty: hasOwnProperty28 } = Object.prototype;
|
|
348255
348255
|
module2.exports = (s2) => {
|
|
@@ -348261,9 +348261,9 @@ var require_normalize_unicode = __commonJS({
|
|
|
348261
348261
|
}
|
|
348262
348262
|
});
|
|
348263
348263
|
|
|
348264
|
-
// pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.
|
|
348264
|
+
// pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.1-237800bb20-f1322768c9.zip/node_modules/tar/lib/path-reservations.js
|
|
348265
348265
|
var require_path_reservations = __commonJS({
|
|
348266
|
-
"pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.
|
|
348266
|
+
"pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.1-237800bb20-f1322768c9.zip/node_modules/tar/lib/path-reservations.js"(exports2, module2) {
|
|
348267
348267
|
var assert2 = require("assert");
|
|
348268
348268
|
var normalize4 = require_normalize_unicode();
|
|
348269
348269
|
var stripSlashes = require_strip_trailing_slashes();
|
|
@@ -348375,9 +348375,9 @@ var require_path_reservations = __commonJS({
|
|
|
348375
348375
|
}
|
|
348376
348376
|
});
|
|
348377
348377
|
|
|
348378
|
-
// pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.
|
|
348378
|
+
// pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.1-237800bb20-f1322768c9.zip/node_modules/tar/lib/get-write-flag.js
|
|
348379
348379
|
var require_get_write_flag = __commonJS({
|
|
348380
|
-
"pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.
|
|
348380
|
+
"pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.1-237800bb20-f1322768c9.zip/node_modules/tar/lib/get-write-flag.js"(exports2, module2) {
|
|
348381
348381
|
var platform2 = process.env.__FAKE_PLATFORM__ || process.platform;
|
|
348382
348382
|
var isWindows = platform2 === "win32";
|
|
348383
348383
|
var fs4 = global.__FAKE_TESTING_FS__ || require("fs");
|
|
@@ -348389,9 +348389,9 @@ var require_get_write_flag = __commonJS({
|
|
|
348389
348389
|
}
|
|
348390
348390
|
});
|
|
348391
348391
|
|
|
348392
|
-
// pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.
|
|
348392
|
+
// pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.1-237800bb20-f1322768c9.zip/node_modules/tar/lib/unpack.js
|
|
348393
348393
|
var require_unpack = __commonJS({
|
|
348394
|
-
"pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.
|
|
348394
|
+
"pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.1-237800bb20-f1322768c9.zip/node_modules/tar/lib/unpack.js"(exports2, module2) {
|
|
348395
348395
|
"use strict";
|
|
348396
348396
|
var assert2 = require("assert");
|
|
348397
348397
|
var Parser5 = require_parse5();
|
|
@@ -348434,6 +348434,7 @@ var require_unpack = __commonJS({
|
|
|
348434
348434
|
var getFlag = require_get_write_flag();
|
|
348435
348435
|
var platform2 = process.env.TESTING_TAR_FAKE_PLATFORM || process.platform;
|
|
348436
348436
|
var isWindows = platform2 === "win32";
|
|
348437
|
+
var DEFAULT_MAX_DEPTH = 1024;
|
|
348437
348438
|
var unlinkFile = (path35, cb) => {
|
|
348438
348439
|
if (!isWindows) {
|
|
348439
348440
|
return fs4.unlink(path35, cb);
|
|
@@ -348512,6 +348513,7 @@ var require_unpack = __commonJS({
|
|
|
348512
348513
|
}
|
|
348513
348514
|
this.processUid = (this.preserveOwner || this.setOwner) && process.getuid ? process.getuid() : null;
|
|
348514
348515
|
this.processGid = (this.preserveOwner || this.setOwner) && process.getgid ? process.getgid() : null;
|
|
348516
|
+
this.maxDepth = typeof opt.maxDepth === "number" ? opt.maxDepth : DEFAULT_MAX_DEPTH;
|
|
348515
348517
|
this.forceChown = opt.forceChown === true;
|
|
348516
348518
|
this.win32 = !!opt.win32 || isWindows;
|
|
348517
348519
|
this.newer = !!opt.newer;
|
|
@@ -348541,12 +348543,12 @@ var require_unpack = __commonJS({
|
|
|
348541
348543
|
}
|
|
348542
348544
|
}
|
|
348543
348545
|
[CHECKPATH](entry) {
|
|
348546
|
+
const p2 = normPath(entry.path);
|
|
348547
|
+
const parts = p2.split("/");
|
|
348544
348548
|
if (this.strip) {
|
|
348545
|
-
const parts = normPath(entry.path).split("/");
|
|
348546
348549
|
if (parts.length < this.strip) {
|
|
348547
348550
|
return false;
|
|
348548
348551
|
}
|
|
348549
|
-
entry.path = parts.slice(this.strip).join("/");
|
|
348550
348552
|
if (entry.type === "Link") {
|
|
348551
348553
|
const linkparts = normPath(entry.linkpath).split("/");
|
|
348552
348554
|
if (linkparts.length >= this.strip) {
|
|
@@ -348555,10 +348557,19 @@ var require_unpack = __commonJS({
|
|
|
348555
348557
|
return false;
|
|
348556
348558
|
}
|
|
348557
348559
|
}
|
|
348560
|
+
parts.splice(0, this.strip);
|
|
348561
|
+
entry.path = parts.join("/");
|
|
348562
|
+
}
|
|
348563
|
+
if (isFinite(this.maxDepth) && parts.length > this.maxDepth) {
|
|
348564
|
+
this.warn("TAR_ENTRY_ERROR", "path excessively deep", {
|
|
348565
|
+
entry,
|
|
348566
|
+
path: p2,
|
|
348567
|
+
depth: parts.length,
|
|
348568
|
+
maxDepth: this.maxDepth
|
|
348569
|
+
});
|
|
348570
|
+
return false;
|
|
348558
348571
|
}
|
|
348559
348572
|
if (!this.preservePaths) {
|
|
348560
|
-
const p2 = normPath(entry.path);
|
|
348561
|
-
const parts = p2.split("/");
|
|
348562
348573
|
if (parts.includes("..") || isWindows && /^[a-z]:\.\.$/i.test(parts[0])) {
|
|
348563
348574
|
this.warn("TAR_ENTRY_ERROR", `path contains '..'`, {
|
|
348564
348575
|
entry,
|
|
@@ -349064,9 +349075,9 @@ var require_unpack = __commonJS({
|
|
|
349064
349075
|
}
|
|
349065
349076
|
});
|
|
349066
349077
|
|
|
349067
|
-
// pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.
|
|
349078
|
+
// pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.1-237800bb20-f1322768c9.zip/node_modules/tar/lib/extract.js
|
|
349068
349079
|
var require_extract = __commonJS({
|
|
349069
|
-
"pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.
|
|
349080
|
+
"pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.1-237800bb20-f1322768c9.zip/node_modules/tar/lib/extract.js"(exports2, module2) {
|
|
349070
349081
|
"use strict";
|
|
349071
349082
|
var hlo = require_high_level_opt();
|
|
349072
349083
|
var Unpack = require_unpack();
|
|
@@ -349149,9 +349160,9 @@ var require_extract = __commonJS({
|
|
|
349149
349160
|
}
|
|
349150
349161
|
});
|
|
349151
349162
|
|
|
349152
|
-
// pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.
|
|
349163
|
+
// pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.1-237800bb20-f1322768c9.zip/node_modules/tar/index.js
|
|
349153
349164
|
var require_tar = __commonJS({
|
|
349154
|
-
"pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.
|
|
349165
|
+
"pnp:/home/circleci/project/.yarn/cache/tar-npm-6.2.1-237800bb20-f1322768c9.zip/node_modules/tar/index.js"(exports2) {
|
|
349155
349166
|
"use strict";
|
|
349156
349167
|
exports2.c = exports2.create = require_create3();
|
|
349157
349168
|
exports2.r = exports2.replace = require_replace();
|
|
@@ -807635,9 +807646,9 @@ var require_ms3 = __commonJS({
|
|
|
807635
807646
|
}
|
|
807636
807647
|
});
|
|
807637
807648
|
|
|
807638
|
-
// pnp:/home/circleci/project/.yarn/__virtual__/debug-virtual-
|
|
807649
|
+
// pnp:/home/circleci/project/.yarn/__virtual__/debug-virtual-fad9a3537e/0/cache/debug-npm-2.6.9-7d4cb597dc-d2f51589ca.zip/node_modules/debug/src/debug.js
|
|
807639
807650
|
var require_debug5 = __commonJS({
|
|
807640
|
-
"pnp:/home/circleci/project/.yarn/__virtual__/debug-virtual-
|
|
807651
|
+
"pnp:/home/circleci/project/.yarn/__virtual__/debug-virtual-fad9a3537e/0/cache/debug-npm-2.6.9-7d4cb597dc-d2f51589ca.zip/node_modules/debug/src/debug.js"(exports2, module2) {
|
|
807641
807652
|
exports2 = module2.exports = createDebug.debug = createDebug["default"] = createDebug;
|
|
807642
807653
|
exports2.coerce = coerce2;
|
|
807643
807654
|
exports2.disable = disable2;
|
|
@@ -807744,9 +807755,9 @@ var require_debug5 = __commonJS({
|
|
|
807744
807755
|
}
|
|
807745
807756
|
});
|
|
807746
807757
|
|
|
807747
|
-
// pnp:/home/circleci/project/.yarn/__virtual__/debug-virtual-
|
|
807758
|
+
// pnp:/home/circleci/project/.yarn/__virtual__/debug-virtual-fad9a3537e/0/cache/debug-npm-2.6.9-7d4cb597dc-d2f51589ca.zip/node_modules/debug/src/browser.js
|
|
807748
807759
|
var require_browser2 = __commonJS({
|
|
807749
|
-
"pnp:/home/circleci/project/.yarn/__virtual__/debug-virtual-
|
|
807760
|
+
"pnp:/home/circleci/project/.yarn/__virtual__/debug-virtual-fad9a3537e/0/cache/debug-npm-2.6.9-7d4cb597dc-d2f51589ca.zip/node_modules/debug/src/browser.js"(exports2, module2) {
|
|
807750
807761
|
exports2 = module2.exports = require_debug5();
|
|
807751
807762
|
exports2.log = log2;
|
|
807752
807763
|
exports2.formatArgs = formatArgs;
|
|
@@ -807828,9 +807839,9 @@ var require_browser2 = __commonJS({
|
|
|
807828
807839
|
}
|
|
807829
807840
|
});
|
|
807830
807841
|
|
|
807831
|
-
// pnp:/home/circleci/project/.yarn/__virtual__/debug-virtual-
|
|
807842
|
+
// pnp:/home/circleci/project/.yarn/__virtual__/debug-virtual-fad9a3537e/0/cache/debug-npm-2.6.9-7d4cb597dc-d2f51589ca.zip/node_modules/debug/src/node.js
|
|
807832
807843
|
var require_node5 = __commonJS({
|
|
807833
|
-
"pnp:/home/circleci/project/.yarn/__virtual__/debug-virtual-
|
|
807844
|
+
"pnp:/home/circleci/project/.yarn/__virtual__/debug-virtual-fad9a3537e/0/cache/debug-npm-2.6.9-7d4cb597dc-d2f51589ca.zip/node_modules/debug/src/node.js"(exports2, module2) {
|
|
807834
807845
|
var tty3 = require("tty");
|
|
807835
807846
|
var util2 = require("util");
|
|
807836
807847
|
exports2 = module2.exports = require_debug5();
|
|
@@ -807952,9 +807963,9 @@ var require_node5 = __commonJS({
|
|
|
807952
807963
|
}
|
|
807953
807964
|
});
|
|
807954
807965
|
|
|
807955
|
-
// pnp:/home/circleci/project/.yarn/__virtual__/debug-virtual-
|
|
807966
|
+
// pnp:/home/circleci/project/.yarn/__virtual__/debug-virtual-fad9a3537e/0/cache/debug-npm-2.6.9-7d4cb597dc-d2f51589ca.zip/node_modules/debug/src/index.js
|
|
807956
807967
|
var require_src5 = __commonJS({
|
|
807957
|
-
"pnp:/home/circleci/project/.yarn/__virtual__/debug-virtual-
|
|
807968
|
+
"pnp:/home/circleci/project/.yarn/__virtual__/debug-virtual-fad9a3537e/0/cache/debug-npm-2.6.9-7d4cb597dc-d2f51589ca.zip/node_modules/debug/src/index.js"(exports2, module2) {
|
|
807958
807969
|
if (typeof process !== "undefined" && process.type === "renderer") {
|
|
807959
807970
|
module2.exports = require_browser2();
|
|
807960
807971
|
} else {
|
|
@@ -808088,9 +808099,9 @@ var require_unpipe = __commonJS({
|
|
|
808088
808099
|
}
|
|
808089
808100
|
});
|
|
808090
808101
|
|
|
808091
|
-
// pnp:/home/circleci/project/.yarn/cache/raw-body-npm-2.5.
|
|
808102
|
+
// pnp:/home/circleci/project/.yarn/cache/raw-body-npm-2.5.2-5cb9dfebc1-ba1583c8d8.zip/node_modules/raw-body/index.js
|
|
808092
808103
|
var require_raw_body = __commonJS({
|
|
808093
|
-
"pnp:/home/circleci/project/.yarn/cache/raw-body-npm-2.5.
|
|
808104
|
+
"pnp:/home/circleci/project/.yarn/cache/raw-body-npm-2.5.2-5cb9dfebc1-ba1583c8d8.zip/node_modules/raw-body/index.js"(exports2, module2) {
|
|
808094
808105
|
"use strict";
|
|
808095
808106
|
var asyncHooks = tryRequireAsyncHooks();
|
|
808096
808107
|
var bytes = require_bytes();
|
|
@@ -808116,6 +808127,11 @@ var require_raw_body = __commonJS({
|
|
|
808116
808127
|
function getRawBody(stream, options2, callback) {
|
|
808117
808128
|
var done = callback;
|
|
808118
808129
|
var opts = options2 || {};
|
|
808130
|
+
if (stream === void 0) {
|
|
808131
|
+
throw new TypeError("argument stream is required");
|
|
808132
|
+
} else if (typeof stream !== "object" || stream === null || typeof stream.on !== "function") {
|
|
808133
|
+
throw new TypeError("argument stream must be a stream");
|
|
808134
|
+
}
|
|
808119
808135
|
if (options2 === true || typeof options2 === "string") {
|
|
808120
808136
|
opts = {
|
|
808121
808137
|
encoding: options2
|
|
@@ -808444,9 +808460,9 @@ var require_on_finished = __commonJS({
|
|
|
808444
808460
|
}
|
|
808445
808461
|
});
|
|
808446
808462
|
|
|
808447
|
-
// pnp:/home/circleci/project/.yarn/cache/body-parser-npm-1.20.
|
|
808463
|
+
// pnp:/home/circleci/project/.yarn/cache/body-parser-npm-1.20.2-44738662cf-14d37ec638.zip/node_modules/body-parser/lib/read.js
|
|
808448
808464
|
var require_read4 = __commonJS({
|
|
808449
|
-
"pnp:/home/circleci/project/.yarn/cache/body-parser-npm-1.20.
|
|
808465
|
+
"pnp:/home/circleci/project/.yarn/cache/body-parser-npm-1.20.2-44738662cf-14d37ec638.zip/node_modules/body-parser/lib/read.js"(exports2, module2) {
|
|
808450
808466
|
"use strict";
|
|
808451
808467
|
var createError = require_http_errors();
|
|
808452
808468
|
var destroy = require_destroy3();
|
|
@@ -808800,9 +808816,9 @@ var require_type_is = __commonJS({
|
|
|
808800
808816
|
}
|
|
808801
808817
|
});
|
|
808802
808818
|
|
|
808803
|
-
// pnp:/home/circleci/project/.yarn/cache/body-parser-npm-1.20.
|
|
808819
|
+
// pnp:/home/circleci/project/.yarn/cache/body-parser-npm-1.20.2-44738662cf-14d37ec638.zip/node_modules/body-parser/lib/types/json.js
|
|
808804
808820
|
var require_json6 = __commonJS({
|
|
808805
|
-
"pnp:/home/circleci/project/.yarn/cache/body-parser-npm-1.20.
|
|
808821
|
+
"pnp:/home/circleci/project/.yarn/cache/body-parser-npm-1.20.2-44738662cf-14d37ec638.zip/node_modules/body-parser/lib/types/json.js"(exports2, module2) {
|
|
808806
808822
|
"use strict";
|
|
808807
808823
|
var bytes = require_bytes();
|
|
808808
808824
|
var contentType = require_content_type();
|
|
@@ -808812,6 +808828,8 @@ var require_json6 = __commonJS({
|
|
|
808812
808828
|
var typeis = require_type_is();
|
|
808813
808829
|
module2.exports = json2;
|
|
808814
808830
|
var FIRST_CHAR_REGEXP = /^[\x20\x09\x0a\x0d]*([^\x20\x09\x0a\x0d])/;
|
|
808831
|
+
var JSON_SYNTAX_CHAR = "#";
|
|
808832
|
+
var JSON_SYNTAX_REGEXP = /#+/g;
|
|
808815
808833
|
function json2(options2) {
|
|
808816
808834
|
var opts = options2 || {};
|
|
808817
808835
|
var limit = typeof opts.limit !== "number" ? bytes.parse(opts.limit || "100kb") : opts.limit;
|
|
@@ -808882,13 +808900,21 @@ var require_json6 = __commonJS({
|
|
|
808882
808900
|
}
|
|
808883
808901
|
function createStrictSyntaxError(str3, char) {
|
|
808884
808902
|
var index2 = str3.indexOf(char);
|
|
808885
|
-
var partial2 =
|
|
808903
|
+
var partial2 = "";
|
|
808904
|
+
if (index2 !== -1) {
|
|
808905
|
+
partial2 = str3.substring(0, index2) + JSON_SYNTAX_CHAR;
|
|
808906
|
+
for (var i2 = index2 + 1; i2 < str3.length; i2++) {
|
|
808907
|
+
partial2 += JSON_SYNTAX_CHAR;
|
|
808908
|
+
}
|
|
808909
|
+
}
|
|
808886
808910
|
try {
|
|
808887
808911
|
JSON.parse(partial2);
|
|
808888
808912
|
throw new SyntaxError("strict violation");
|
|
808889
808913
|
} catch (e) {
|
|
808890
808914
|
return normalizeJsonSyntaxError(e, {
|
|
808891
|
-
message: e.message.replace(
|
|
808915
|
+
message: e.message.replace(JSON_SYNTAX_REGEXP, function(placeholder) {
|
|
808916
|
+
return str3.substring(index2, index2 + placeholder.length);
|
|
808917
|
+
}),
|
|
808892
808918
|
stack: e.stack
|
|
808893
808919
|
});
|
|
808894
808920
|
}
|
|
@@ -808924,9 +808950,9 @@ var require_json6 = __commonJS({
|
|
|
808924
808950
|
}
|
|
808925
808951
|
});
|
|
808926
808952
|
|
|
808927
|
-
// pnp:/home/circleci/project/.yarn/cache/body-parser-npm-1.20.
|
|
808953
|
+
// pnp:/home/circleci/project/.yarn/cache/body-parser-npm-1.20.2-44738662cf-14d37ec638.zip/node_modules/body-parser/lib/types/raw.js
|
|
808928
808954
|
var require_raw = __commonJS({
|
|
808929
|
-
"pnp:/home/circleci/project/.yarn/cache/body-parser-npm-1.20.
|
|
808955
|
+
"pnp:/home/circleci/project/.yarn/cache/body-parser-npm-1.20.2-44738662cf-14d37ec638.zip/node_modules/body-parser/lib/types/raw.js"(exports2, module2) {
|
|
808930
808956
|
"use strict";
|
|
808931
808957
|
var bytes = require_bytes();
|
|
808932
808958
|
var debug = require_src5()("body-parser:raw");
|
|
@@ -808980,9 +809006,9 @@ var require_raw = __commonJS({
|
|
|
808980
809006
|
}
|
|
808981
809007
|
});
|
|
808982
809008
|
|
|
808983
|
-
// pnp:/home/circleci/project/.yarn/cache/body-parser-npm-1.20.
|
|
809009
|
+
// pnp:/home/circleci/project/.yarn/cache/body-parser-npm-1.20.2-44738662cf-14d37ec638.zip/node_modules/body-parser/lib/types/text.js
|
|
808984
809010
|
var require_text2 = __commonJS({
|
|
808985
|
-
"pnp:/home/circleci/project/.yarn/cache/body-parser-npm-1.20.
|
|
809011
|
+
"pnp:/home/circleci/project/.yarn/cache/body-parser-npm-1.20.2-44738662cf-14d37ec638.zip/node_modules/body-parser/lib/types/text.js"(exports2, module2) {
|
|
808986
809012
|
"use strict";
|
|
808987
809013
|
var bytes = require_bytes();
|
|
808988
809014
|
var contentType = require_content_type();
|
|
@@ -809749,9 +809775,9 @@ var require_lib20 = __commonJS({
|
|
|
809749
809775
|
}
|
|
809750
809776
|
});
|
|
809751
809777
|
|
|
809752
|
-
// pnp:/home/circleci/project/.yarn/cache/body-parser-npm-1.20.
|
|
809778
|
+
// pnp:/home/circleci/project/.yarn/cache/body-parser-npm-1.20.2-44738662cf-14d37ec638.zip/node_modules/body-parser/lib/types/urlencoded.js
|
|
809753
809779
|
var require_urlencoded = __commonJS({
|
|
809754
|
-
"pnp:/home/circleci/project/.yarn/cache/body-parser-npm-1.20.
|
|
809780
|
+
"pnp:/home/circleci/project/.yarn/cache/body-parser-npm-1.20.2-44738662cf-14d37ec638.zip/node_modules/body-parser/lib/types/urlencoded.js"(exports2, module2) {
|
|
809755
809781
|
"use strict";
|
|
809756
809782
|
var bytes = require_bytes();
|
|
809757
809783
|
var contentType = require_content_type();
|
|
@@ -809907,9 +809933,9 @@ var require_urlencoded = __commonJS({
|
|
|
809907
809933
|
}
|
|
809908
809934
|
});
|
|
809909
809935
|
|
|
809910
|
-
// pnp:/home/circleci/project/.yarn/cache/body-parser-npm-1.20.
|
|
809936
|
+
// pnp:/home/circleci/project/.yarn/cache/body-parser-npm-1.20.2-44738662cf-14d37ec638.zip/node_modules/body-parser/index.js
|
|
809911
809937
|
var require_body_parser = __commonJS({
|
|
809912
|
-
"pnp:/home/circleci/project/.yarn/cache/body-parser-npm-1.20.
|
|
809938
|
+
"pnp:/home/circleci/project/.yarn/cache/body-parser-npm-1.20.2-44738662cf-14d37ec638.zip/node_modules/body-parser/index.js"(exports2, module2) {
|
|
809913
809939
|
"use strict";
|
|
809914
809940
|
var deprecate = require_depd()("body-parser");
|
|
809915
809941
|
var parsers = /* @__PURE__ */ Object.create(null);
|
|
@@ -810410,9 +810436,9 @@ var require_path_to_regexp = __commonJS({
|
|
|
810410
810436
|
}
|
|
810411
810437
|
});
|
|
810412
810438
|
|
|
810413
|
-
// pnp:/home/circleci/project/.yarn/cache/express-npm-4.
|
|
810439
|
+
// pnp:/home/circleci/project/.yarn/cache/express-npm-4.19.2-f81334a22a-212dbd6c2c.zip/node_modules/express/lib/router/layer.js
|
|
810414
810440
|
var require_layer = __commonJS({
|
|
810415
|
-
"pnp:/home/circleci/project/.yarn/cache/express-npm-4.
|
|
810441
|
+
"pnp:/home/circleci/project/.yarn/cache/express-npm-4.19.2-f81334a22a-212dbd6c2c.zip/node_modules/express/lib/router/layer.js"(exports2, module2) {
|
|
810416
810442
|
"use strict";
|
|
810417
810443
|
var pathRegexp = require_path_to_regexp();
|
|
810418
810444
|
var debug = require_src5()("express:router:layer");
|
|
@@ -810549,9 +810575,9 @@ var require_methods = __commonJS({
|
|
|
810549
810575
|
}
|
|
810550
810576
|
});
|
|
810551
810577
|
|
|
810552
|
-
// pnp:/home/circleci/project/.yarn/cache/express-npm-4.
|
|
810578
|
+
// pnp:/home/circleci/project/.yarn/cache/express-npm-4.19.2-f81334a22a-212dbd6c2c.zip/node_modules/express/lib/router/route.js
|
|
810553
810579
|
var require_route2 = __commonJS({
|
|
810554
|
-
"pnp:/home/circleci/project/.yarn/cache/express-npm-4.
|
|
810580
|
+
"pnp:/home/circleci/project/.yarn/cache/express-npm-4.19.2-f81334a22a-212dbd6c2c.zip/node_modules/express/lib/router/route.js"(exports2, module2) {
|
|
810555
810581
|
"use strict";
|
|
810556
810582
|
var debug = require_src5()("express:router:route");
|
|
810557
810583
|
var flatten2 = require_array_flatten();
|
|
@@ -810570,7 +810596,7 @@ var require_route2 = __commonJS({
|
|
|
810570
810596
|
if (this.methods._all) {
|
|
810571
810597
|
return true;
|
|
810572
810598
|
}
|
|
810573
|
-
var name2 = method2.toLowerCase();
|
|
810599
|
+
var name2 = typeof method2 === "string" ? method2.toLowerCase() : method2;
|
|
810574
810600
|
if (name2 === "head" && !this.methods["head"]) {
|
|
810575
810601
|
name2 = "get";
|
|
810576
810602
|
}
|
|
@@ -810593,7 +810619,7 @@ var require_route2 = __commonJS({
|
|
|
810593
810619
|
if (stack.length === 0) {
|
|
810594
810620
|
return done();
|
|
810595
810621
|
}
|
|
810596
|
-
var method2 = req2.method.toLowerCase();
|
|
810622
|
+
var method2 = typeof req2.method === "string" ? req2.method.toLowerCase() : req2.method;
|
|
810597
810623
|
if (method2 === "head" && !this.methods["head"]) {
|
|
810598
810624
|
method2 = "get";
|
|
810599
810625
|
}
|
|
@@ -810675,9 +810701,9 @@ var require_utils_merge = __commonJS({
|
|
|
810675
810701
|
}
|
|
810676
810702
|
});
|
|
810677
810703
|
|
|
810678
|
-
// pnp:/home/circleci/project/.yarn/cache/express-npm-4.
|
|
810704
|
+
// pnp:/home/circleci/project/.yarn/cache/express-npm-4.19.2-f81334a22a-212dbd6c2c.zip/node_modules/express/lib/router/index.js
|
|
810679
810705
|
var require_router = __commonJS({
|
|
810680
|
-
"pnp:/home/circleci/project/.yarn/cache/express-npm-4.
|
|
810706
|
+
"pnp:/home/circleci/project/.yarn/cache/express-npm-4.19.2-f81334a22a-212dbd6c2c.zip/node_modules/express/lib/router/index.js"(exports2, module2) {
|
|
810681
810707
|
"use strict";
|
|
810682
810708
|
var Route = require_route2();
|
|
810683
810709
|
var Layer = require_layer();
|
|
@@ -811061,9 +811087,9 @@ var require_router = __commonJS({
|
|
|
811061
811087
|
}
|
|
811062
811088
|
});
|
|
811063
811089
|
|
|
811064
|
-
// pnp:/home/circleci/project/.yarn/cache/express-npm-4.
|
|
811090
|
+
// pnp:/home/circleci/project/.yarn/cache/express-npm-4.19.2-f81334a22a-212dbd6c2c.zip/node_modules/express/lib/middleware/init.js
|
|
811065
811091
|
var require_init = __commonJS({
|
|
811066
|
-
"pnp:/home/circleci/project/.yarn/cache/express-npm-4.
|
|
811092
|
+
"pnp:/home/circleci/project/.yarn/cache/express-npm-4.19.2-f81334a22a-212dbd6c2c.zip/node_modules/express/lib/middleware/init.js"(exports2) {
|
|
811067
811093
|
"use strict";
|
|
811068
811094
|
var setPrototypeOf = require_setprototypeof();
|
|
811069
811095
|
exports2.init = function(app) {
|
|
@@ -811082,9 +811108,9 @@ var require_init = __commonJS({
|
|
|
811082
811108
|
}
|
|
811083
811109
|
});
|
|
811084
811110
|
|
|
811085
|
-
// pnp:/home/circleci/project/.yarn/cache/express-npm-4.
|
|
811111
|
+
// pnp:/home/circleci/project/.yarn/cache/express-npm-4.19.2-f81334a22a-212dbd6c2c.zip/node_modules/express/lib/middleware/query.js
|
|
811086
811112
|
var require_query = __commonJS({
|
|
811087
|
-
"pnp:/home/circleci/project/.yarn/cache/express-npm-4.
|
|
811113
|
+
"pnp:/home/circleci/project/.yarn/cache/express-npm-4.19.2-f81334a22a-212dbd6c2c.zip/node_modules/express/lib/middleware/query.js"(exports2, module2) {
|
|
811088
811114
|
"use strict";
|
|
811089
811115
|
var merge5 = require_utils_merge();
|
|
811090
811116
|
var parseUrl = require_parseurl();
|
|
@@ -811110,9 +811136,9 @@ var require_query = __commonJS({
|
|
|
811110
811136
|
}
|
|
811111
811137
|
});
|
|
811112
811138
|
|
|
811113
|
-
// pnp:/home/circleci/project/.yarn/cache/express-npm-4.
|
|
811139
|
+
// pnp:/home/circleci/project/.yarn/cache/express-npm-4.19.2-f81334a22a-212dbd6c2c.zip/node_modules/express/lib/view.js
|
|
811114
811140
|
var require_view = __commonJS({
|
|
811115
|
-
"pnp:/home/circleci/project/.yarn/cache/express-npm-4.
|
|
811141
|
+
"pnp:/home/circleci/project/.yarn/cache/express-npm-4.19.2-f81334a22a-212dbd6c2c.zip/node_modules/express/lib/view.js"(exports2, module2) {
|
|
811116
811142
|
"use strict";
|
|
811117
811143
|
var debug = require_src5()("express:view");
|
|
811118
811144
|
var path34 = require("path");
|
|
@@ -812995,9 +813021,9 @@ var require_proxy_addr = __commonJS({
|
|
|
812995
813021
|
}
|
|
812996
813022
|
});
|
|
812997
813023
|
|
|
812998
|
-
// pnp:/home/circleci/project/.yarn/cache/express-npm-4.
|
|
813024
|
+
// pnp:/home/circleci/project/.yarn/cache/express-npm-4.19.2-f81334a22a-212dbd6c2c.zip/node_modules/express/lib/utils.js
|
|
812999
813025
|
var require_utils20 = __commonJS({
|
|
813000
|
-
"pnp:/home/circleci/project/.yarn/cache/express-npm-4.
|
|
813026
|
+
"pnp:/home/circleci/project/.yarn/cache/express-npm-4.19.2-f81334a22a-212dbd6c2c.zip/node_modules/express/lib/utils.js"(exports2) {
|
|
813001
813027
|
"use strict";
|
|
813002
813028
|
var Buffer4 = require_safe_buffer().Buffer;
|
|
813003
813029
|
var contentDisposition = require_content_disposition();
|
|
@@ -813037,9 +813063,9 @@ var require_utils20 = __commonJS({
|
|
|
813037
813063
|
contentDisposition,
|
|
813038
813064
|
"utils.contentDisposition: use content-disposition npm module instead"
|
|
813039
813065
|
);
|
|
813040
|
-
function acceptParams(str3
|
|
813066
|
+
function acceptParams(str3) {
|
|
813041
813067
|
var parts = str3.split(/ *; */);
|
|
813042
|
-
var ret = { value: parts[0], quality: 1, params: {}
|
|
813068
|
+
var ret = { value: parts[0], quality: 1, params: {} };
|
|
813043
813069
|
for (var i2 = 1; i2 < parts.length; ++i2) {
|
|
813044
813070
|
var pms = parts[i2].split(/ *= */);
|
|
813045
813071
|
if ("q" === pms[0]) {
|
|
@@ -813136,9 +813162,9 @@ var require_utils20 = __commonJS({
|
|
|
813136
813162
|
}
|
|
813137
813163
|
});
|
|
813138
813164
|
|
|
813139
|
-
// pnp:/home/circleci/project/.yarn/cache/express-npm-4.
|
|
813165
|
+
// pnp:/home/circleci/project/.yarn/cache/express-npm-4.19.2-f81334a22a-212dbd6c2c.zip/node_modules/express/lib/application.js
|
|
813140
813166
|
var require_application = __commonJS({
|
|
813141
|
-
"pnp:/home/circleci/project/.yarn/cache/express-npm-4.
|
|
813167
|
+
"pnp:/home/circleci/project/.yarn/cache/express-npm-4.19.2-f81334a22a-212dbd6c2c.zip/node_modules/express/lib/application.js"(exports2, module2) {
|
|
813142
813168
|
"use strict";
|
|
813143
813169
|
var finalhandler = require_finalhandler();
|
|
813144
813170
|
var Router = require_router();
|
|
@@ -813998,9 +814024,9 @@ var require_accepts = __commonJS({
|
|
|
813998
814024
|
}
|
|
813999
814025
|
});
|
|
814000
814026
|
|
|
814001
|
-
// pnp:/home/circleci/project/.yarn/cache/express-npm-4.
|
|
814027
|
+
// pnp:/home/circleci/project/.yarn/cache/express-npm-4.19.2-f81334a22a-212dbd6c2c.zip/node_modules/express/lib/request.js
|
|
814002
814028
|
var require_request3 = __commonJS({
|
|
814003
|
-
"pnp:/home/circleci/project/.yarn/cache/express-npm-4.
|
|
814029
|
+
"pnp:/home/circleci/project/.yarn/cache/express-npm-4.19.2-f81334a22a-212dbd6c2c.zip/node_modules/express/lib/request.js"(exports2, module2) {
|
|
814004
814030
|
"use strict";
|
|
814005
814031
|
var accepts = require_accepts();
|
|
814006
814032
|
var deprecate = require_depd()("express");
|
|
@@ -814194,9 +814220,9 @@ var require_cookie_signature = __commonJS({
|
|
|
814194
814220
|
}
|
|
814195
814221
|
});
|
|
814196
814222
|
|
|
814197
|
-
// pnp:/home/circleci/project/.yarn/cache/cookie-npm-0.
|
|
814223
|
+
// pnp:/home/circleci/project/.yarn/cache/cookie-npm-0.6.0-362d6a2e45-f56a7d32a0.zip/node_modules/cookie/index.js
|
|
814198
814224
|
var require_cookie = __commonJS({
|
|
814199
|
-
"pnp:/home/circleci/project/.yarn/cache/cookie-npm-0.
|
|
814225
|
+
"pnp:/home/circleci/project/.yarn/cache/cookie-npm-0.6.0-362d6a2e45-f56a7d32a0.zip/node_modules/cookie/index.js"(exports2) {
|
|
814200
814226
|
"use strict";
|
|
814201
814227
|
exports2.parse = parse7;
|
|
814202
814228
|
exports2.serialize = serialize3;
|
|
@@ -814280,6 +814306,9 @@ var require_cookie = __commonJS({
|
|
|
814280
814306
|
if (opt.secure) {
|
|
814281
814307
|
str3 += "; Secure";
|
|
814282
814308
|
}
|
|
814309
|
+
if (opt.partitioned) {
|
|
814310
|
+
str3 += "; Partitioned";
|
|
814311
|
+
}
|
|
814283
814312
|
if (opt.priority) {
|
|
814284
814313
|
var priority = typeof opt.priority === "string" ? opt.priority.toLowerCase() : opt.priority;
|
|
814285
814314
|
switch (priority) {
|
|
@@ -814409,9 +814438,9 @@ var require_vary = __commonJS({
|
|
|
814409
814438
|
}
|
|
814410
814439
|
});
|
|
814411
814440
|
|
|
814412
|
-
// pnp:/home/circleci/project/.yarn/cache/express-npm-4.
|
|
814441
|
+
// pnp:/home/circleci/project/.yarn/cache/express-npm-4.19.2-f81334a22a-212dbd6c2c.zip/node_modules/express/lib/response.js
|
|
814413
814442
|
var require_response = __commonJS({
|
|
814414
|
-
"pnp:/home/circleci/project/.yarn/cache/express-npm-4.
|
|
814443
|
+
"pnp:/home/circleci/project/.yarn/cache/express-npm-4.19.2-f81334a22a-212dbd6c2c.zip/node_modules/express/lib/response.js"(exports2, module2) {
|
|
814415
814444
|
"use strict";
|
|
814416
814445
|
var Buffer4 = require_safe_buffer().Buffer;
|
|
814417
814446
|
var contentDisposition = require_content_disposition();
|
|
@@ -814438,6 +814467,7 @@ var require_response = __commonJS({
|
|
|
814438
814467
|
var res = Object.create(http3.ServerResponse.prototype);
|
|
814439
814468
|
module2.exports = res;
|
|
814440
814469
|
var charsetRegExp = /;\s*charset\s*=/;
|
|
814470
|
+
var schemaAndHostRegExp = /^(?:[a-zA-Z][a-zA-Z0-9+.-]*:)?\/\/[^\\\/\?]+/;
|
|
814441
814471
|
res.status = function status(code3) {
|
|
814442
814472
|
if ((typeof code3 === "string" || Math.floor(code3) !== code3) && code3 > 99 && code3 < 1e3) {
|
|
814443
814473
|
deprecate("res.status(" + JSON.stringify(code3) + "): use res.status(" + Math.floor(code3) + ") instead");
|
|
@@ -814794,11 +814824,16 @@ var require_response = __commonJS({
|
|
|
814794
814824
|
return this;
|
|
814795
814825
|
};
|
|
814796
814826
|
res.location = function location2(url) {
|
|
814797
|
-
var loc
|
|
814827
|
+
var loc;
|
|
814798
814828
|
if (url === "back") {
|
|
814799
814829
|
loc = this.req.get("Referrer") || "/";
|
|
814830
|
+
} else {
|
|
814831
|
+
loc = String(url);
|
|
814800
814832
|
}
|
|
814801
|
-
|
|
814833
|
+
var m = schemaAndHostRegExp.exec(loc);
|
|
814834
|
+
var pos = m ? m[0].length + 1 : 0;
|
|
814835
|
+
loc = loc.slice(0, pos) + encodeUrl(loc.slice(pos));
|
|
814836
|
+
return this.set("Location", loc);
|
|
814802
814837
|
};
|
|
814803
814838
|
res.redirect = function redirect(url) {
|
|
814804
814839
|
var address = url;
|
|
@@ -815059,9 +815094,9 @@ var require_serve_static = __commonJS({
|
|
|
815059
815094
|
}
|
|
815060
815095
|
});
|
|
815061
815096
|
|
|
815062
|
-
// pnp:/home/circleci/project/.yarn/cache/express-npm-4.
|
|
815097
|
+
// pnp:/home/circleci/project/.yarn/cache/express-npm-4.19.2-f81334a22a-212dbd6c2c.zip/node_modules/express/lib/express.js
|
|
815063
815098
|
var require_express2 = __commonJS({
|
|
815064
|
-
"pnp:/home/circleci/project/.yarn/cache/express-npm-4.
|
|
815099
|
+
"pnp:/home/circleci/project/.yarn/cache/express-npm-4.19.2-f81334a22a-212dbd6c2c.zip/node_modules/express/lib/express.js"(exports2, module2) {
|
|
815065
815100
|
"use strict";
|
|
815066
815101
|
var bodyParser = require_body_parser();
|
|
815067
815102
|
var EventEmitter = require("events").EventEmitter;
|
|
@@ -815128,9 +815163,9 @@ var require_express2 = __commonJS({
|
|
|
815128
815163
|
}
|
|
815129
815164
|
});
|
|
815130
815165
|
|
|
815131
|
-
// pnp:/home/circleci/project/.yarn/cache/express-npm-4.
|
|
815166
|
+
// pnp:/home/circleci/project/.yarn/cache/express-npm-4.19.2-f81334a22a-212dbd6c2c.zip/node_modules/express/index.js
|
|
815132
815167
|
var require_express3 = __commonJS({
|
|
815133
|
-
"pnp:/home/circleci/project/.yarn/cache/express-npm-4.
|
|
815168
|
+
"pnp:/home/circleci/project/.yarn/cache/express-npm-4.19.2-f81334a22a-212dbd6c2c.zip/node_modules/express/index.js"(exports2, module2) {
|
|
815134
815169
|
"use strict";
|
|
815135
815170
|
module2.exports = require_express2();
|
|
815136
815171
|
}
|
|
@@ -832299,7 +832334,7 @@ var AccessTokenPosthogManager = class {
|
|
|
832299
832334
|
properties: {
|
|
832300
832335
|
...event,
|
|
832301
832336
|
...event.properties,
|
|
832302
|
-
version: "0.19.
|
|
832337
|
+
version: "0.19.20",
|
|
832303
832338
|
usingAccessToken: true
|
|
832304
832339
|
}
|
|
832305
832340
|
});
|
|
@@ -832361,7 +832396,7 @@ var UserPosthogManager = class {
|
|
|
832361
832396
|
distinctId: this.userId ?? await this.getPersistedDistinctId(),
|
|
832362
832397
|
event: "CLI",
|
|
832363
832398
|
properties: {
|
|
832364
|
-
version: "0.19.
|
|
832399
|
+
version: "0.19.20",
|
|
832365
832400
|
...event,
|
|
832366
832401
|
...event.properties
|
|
832367
832402
|
}
|
|
@@ -845538,7 +845573,7 @@ function convertNumberToSnakeCase(number5) {
|
|
|
845538
845573
|
|
|
845539
845574
|
// pnp:/home/circleci/project/packages/cli/openapi-parser/lib/schema/convertEnum.js
|
|
845540
845575
|
var VALID_ENUM_NAME_REGEX = /^[a-zA-Z][a-zA-Z0-9_]*$/;
|
|
845541
|
-
function convertEnum({ nameOverride, generatedName, fernEnum, enumVarNames, enumValues, description, wrapAsNullable, groupName }) {
|
|
845576
|
+
function convertEnum({ nameOverride, generatedName, fernEnum, enumVarNames, enumValues, description, wrapAsNullable, groupName, context }) {
|
|
845542
845577
|
const strippedEnumVarNames = stripCommonPrefix(enumVarNames ?? []);
|
|
845543
845578
|
const uniqueValues = new Set(enumValues);
|
|
845544
845579
|
const values3 = Array.from(uniqueValues).map((value, index2) => {
|
|
@@ -845546,9 +845581,15 @@ function convertEnum({ nameOverride, generatedName, fernEnum, enumVarNames, enum
|
|
|
845546
845581
|
const fernEnumValue = fernEnum == null ? void 0 : fernEnum[value];
|
|
845547
845582
|
const enumVarName = strippedEnumVarNames[index2];
|
|
845548
845583
|
const valueIsValidName = VALID_ENUM_NAME_REGEX.test(value);
|
|
845584
|
+
let nameOverride2 = (fernEnumValue == null ? void 0 : fernEnumValue.name) ?? enumVarName;
|
|
845585
|
+
const generatedName2 = valueIsValidName ? value : generateEnumNameFromValue(value);
|
|
845586
|
+
if (nameOverride2 != null && !VALID_ENUM_NAME_REGEX.test(nameOverride2)) {
|
|
845587
|
+
context == null ? void 0 : context.logger.warn(`Enum name override ${nameOverride2} is not a valid name. Falling back on ${generatedName2}.`);
|
|
845588
|
+
nameOverride2 = void 0;
|
|
845589
|
+
}
|
|
845549
845590
|
return {
|
|
845550
|
-
nameOverride:
|
|
845551
|
-
generatedName:
|
|
845591
|
+
nameOverride: nameOverride2,
|
|
845592
|
+
generatedName: generatedName2,
|
|
845552
845593
|
value,
|
|
845553
845594
|
description: fernEnumValue == null ? void 0 : fernEnumValue.description,
|
|
845554
845595
|
casing: {
|
|
@@ -846024,6 +846065,115 @@ function isObjectEqual(a2, b2) {
|
|
|
846024
846065
|
});
|
|
846025
846066
|
}
|
|
846026
846067
|
|
|
846068
|
+
// pnp:/home/circleci/project/packages/cli/openapi-parser/lib/schema/utils/getBreadcrumbsFromReference.js
|
|
846069
|
+
var STARTS_WITH_COMPONENTS_SCHEMAS = {
|
|
846070
|
+
isApplicable: (refUnderProcessing) => refUnderProcessing[0] === "#" && refUnderProcessing[1] === "components" && refUnderProcessing[2] === "schemas",
|
|
846071
|
+
applyStrategy: (refUnderProcessing) => {
|
|
846072
|
+
const newBreadcrumbs = [refUnderProcessing[3] ?? ""];
|
|
846073
|
+
return {
|
|
846074
|
+
refUnderProcessing: refUnderProcessing.slice(4),
|
|
846075
|
+
newBreadcrumbs
|
|
846076
|
+
};
|
|
846077
|
+
}
|
|
846078
|
+
};
|
|
846079
|
+
var STARTS_WITH_COMPONENTS_RESPONSES = {
|
|
846080
|
+
isApplicable: (breadcrumbs) => breadcrumbs[0] === "#" && breadcrumbs[1] === "components" && breadcrumbs[2] === "responses",
|
|
846081
|
+
applyStrategy: (refUnderProcessing) => {
|
|
846082
|
+
const newBreadcrumbs = [refUnderProcessing[3] ?? ""];
|
|
846083
|
+
refUnderProcessing = refUnderProcessing.slice(4);
|
|
846084
|
+
return {
|
|
846085
|
+
refUnderProcessing: refUnderProcessing.slice(4),
|
|
846086
|
+
newBreadcrumbs
|
|
846087
|
+
};
|
|
846088
|
+
}
|
|
846089
|
+
};
|
|
846090
|
+
var STARTS_WITH_COMPONENTS_PARAMETERS = {
|
|
846091
|
+
isApplicable: (refUnderProcessing) => refUnderProcessing[0] === "#" && refUnderProcessing[1] === "components" && refUnderProcessing[2] === "parameters",
|
|
846092
|
+
applyStrategy: (refUnderProcessing) => {
|
|
846093
|
+
const newBreadcrumbs = [refUnderProcessing[3] ?? ""];
|
|
846094
|
+
refUnderProcessing = refUnderProcessing.slice(4);
|
|
846095
|
+
if (refUnderProcessing[0] === "schema") {
|
|
846096
|
+
refUnderProcessing = refUnderProcessing.slice(1);
|
|
846097
|
+
}
|
|
846098
|
+
return {
|
|
846099
|
+
refUnderProcessing,
|
|
846100
|
+
newBreadcrumbs
|
|
846101
|
+
};
|
|
846102
|
+
}
|
|
846103
|
+
};
|
|
846104
|
+
var EXTRACT_PROPERTY = {
|
|
846105
|
+
isApplicable: (refUnderProcessing) => refUnderProcessing[0] === "properties",
|
|
846106
|
+
applyStrategy: (refUnderProcessing) => {
|
|
846107
|
+
const newBreadcrumbs = [refUnderProcessing[1] ?? ""];
|
|
846108
|
+
return {
|
|
846109
|
+
refUnderProcessing: refUnderProcessing.slice(2),
|
|
846110
|
+
newBreadcrumbs
|
|
846111
|
+
};
|
|
846112
|
+
}
|
|
846113
|
+
};
|
|
846114
|
+
var REMOVE_ITEMS_KEYWORD = {
|
|
846115
|
+
isApplicable: (refUnderProcessing) => refUnderProcessing[0] === "items",
|
|
846116
|
+
applyStrategy: (refUnderProcessing) => {
|
|
846117
|
+
return {
|
|
846118
|
+
refUnderProcessing: refUnderProcessing.slice(1),
|
|
846119
|
+
newBreadcrumbs: []
|
|
846120
|
+
};
|
|
846121
|
+
}
|
|
846122
|
+
};
|
|
846123
|
+
var REMOVE_ALL_OF_KEYWORD = {
|
|
846124
|
+
isApplicable: (refUnderProcessing) => refUnderProcessing[0] === "allOf",
|
|
846125
|
+
applyStrategy: (refUnderProcessing) => {
|
|
846126
|
+
return {
|
|
846127
|
+
refUnderProcessing: refUnderProcessing.slice(1),
|
|
846128
|
+
newBreadcrumbs: []
|
|
846129
|
+
};
|
|
846130
|
+
}
|
|
846131
|
+
};
|
|
846132
|
+
var REMOVE_ANY_OF_KEYWORD = {
|
|
846133
|
+
isApplicable: (refUnderProcessing) => refUnderProcessing[0] === "anyOf",
|
|
846134
|
+
applyStrategy: (refUnderProcessing) => {
|
|
846135
|
+
return {
|
|
846136
|
+
refUnderProcessing: refUnderProcessing.slice(1),
|
|
846137
|
+
newBreadcrumbs: []
|
|
846138
|
+
};
|
|
846139
|
+
}
|
|
846140
|
+
};
|
|
846141
|
+
var REMOVE_ONE_OF_KEYWORD = {
|
|
846142
|
+
isApplicable: (refUnderProcessing) => refUnderProcessing[0] === "oneOf",
|
|
846143
|
+
applyStrategy: (refUnderProcessing) => {
|
|
846144
|
+
return {
|
|
846145
|
+
refUnderProcessing: refUnderProcessing.slice(1),
|
|
846146
|
+
newBreadcrumbs: []
|
|
846147
|
+
};
|
|
846148
|
+
}
|
|
846149
|
+
};
|
|
846150
|
+
function getBreadcrumbsFromReference(reference) {
|
|
846151
|
+
let refUnderProcessing = reference.split("/").map((breadcrumb) => breadcrumb.replace(/~1/g, "/"));
|
|
846152
|
+
let breadcrumbs = [];
|
|
846153
|
+
const strategies = [
|
|
846154
|
+
STARTS_WITH_COMPONENTS_SCHEMAS,
|
|
846155
|
+
STARTS_WITH_COMPONENTS_RESPONSES,
|
|
846156
|
+
STARTS_WITH_COMPONENTS_PARAMETERS,
|
|
846157
|
+
EXTRACT_PROPERTY,
|
|
846158
|
+
REMOVE_ITEMS_KEYWORD,
|
|
846159
|
+
REMOVE_ALL_OF_KEYWORD,
|
|
846160
|
+
REMOVE_ANY_OF_KEYWORD,
|
|
846161
|
+
REMOVE_ONE_OF_KEYWORD
|
|
846162
|
+
];
|
|
846163
|
+
let previousRefUnderProcessing;
|
|
846164
|
+
do {
|
|
846165
|
+
previousRefUnderProcessing = refUnderProcessing;
|
|
846166
|
+
for (const strategy of strategies) {
|
|
846167
|
+
if (strategy.isApplicable(refUnderProcessing)) {
|
|
846168
|
+
const { refUnderProcessing: newRefUnderProcessing, newBreadcrumbs } = strategy.applyStrategy(refUnderProcessing);
|
|
846169
|
+
refUnderProcessing = newRefUnderProcessing;
|
|
846170
|
+
breadcrumbs = [...breadcrumbs, ...newBreadcrumbs];
|
|
846171
|
+
}
|
|
846172
|
+
}
|
|
846173
|
+
} while (refUnderProcessing.join("") !== previousRefUnderProcessing.join(""));
|
|
846174
|
+
return breadcrumbs;
|
|
846175
|
+
}
|
|
846176
|
+
|
|
846027
846177
|
// pnp:/home/circleci/project/packages/cli/openapi-parser/lib/schema/convertObject.js
|
|
846028
846178
|
function convertObject({ nameOverride, generatedName, breadcrumbs, properties, description, required, wrapAsNullable, allOf, context, propertiesToExclude, groupName, fullExamples }) {
|
|
846029
846179
|
const allRequired = [...required ?? []];
|
|
@@ -846061,6 +846211,9 @@ function convertObject({ nameOverride, generatedName, breadcrumbs, properties, d
|
|
|
846061
846211
|
continue;
|
|
846062
846212
|
}
|
|
846063
846213
|
const schemaId = getSchemaIdFromReference(allOfElement);
|
|
846214
|
+
if (schemaId == null) {
|
|
846215
|
+
continue;
|
|
846216
|
+
}
|
|
846064
846217
|
parents.push({
|
|
846065
846218
|
schemaId,
|
|
846066
846219
|
convertedSchema: convertToReferencedSchema(allOfElement, [schemaId]),
|
|
@@ -846191,7 +846344,7 @@ function wrapObject({ nameOverride, generatedName, wrapAsNullable, properties, d
|
|
|
846191
846344
|
}
|
|
846192
846345
|
function getAllProperties({ schema: schema2, context, breadcrumbs }) {
|
|
846193
846346
|
let properties = {};
|
|
846194
|
-
const [resolvedSchema, resolvedBreadCrumbs] = isReferenceObject(schema2) ? [context.resolveSchemaReference(schema2),
|
|
846347
|
+
const [resolvedSchema, resolvedBreadCrumbs] = isReferenceObject(schema2) ? [context.resolveSchemaReference(schema2), getBreadcrumbsFromReference(schema2.$ref)] : [schema2, breadcrumbs];
|
|
846195
846348
|
for (const allOfElement of resolvedSchema.allOf ?? []) {
|
|
846196
846349
|
properties = {
|
|
846197
846350
|
...properties,
|
|
@@ -846264,7 +846417,8 @@ function convertUndiscriminatedOneOf({ nameOverride, generatedName, breadcrumbs,
|
|
|
846264
846417
|
fernEnum: enumDescriptions,
|
|
846265
846418
|
enumVarNames: void 0,
|
|
846266
846419
|
enumValues,
|
|
846267
|
-
groupName
|
|
846420
|
+
groupName,
|
|
846421
|
+
context
|
|
846268
846422
|
});
|
|
846269
846423
|
}
|
|
846270
846424
|
if (uniqueSubtypes.length === 1 && uniqueSubtypes[0] != null) {
|
|
@@ -846370,12 +846524,16 @@ function getExamplesString(schema2) {
|
|
|
846370
846524
|
var SCHEMA_REFERENCE_PREFIX = "#/components/schemas/";
|
|
846371
846525
|
function convertSchema(schema2, wrapAsNullable, context, breadcrumbs, referencedAsRequest = false, propertiesToExclude = /* @__PURE__ */ new Set()) {
|
|
846372
846526
|
if (isReferenceObject(schema2)) {
|
|
846373
|
-
|
|
846374
|
-
|
|
846375
|
-
|
|
846376
|
-
|
|
846527
|
+
const schemaId = getSchemaIdFromReference(schema2);
|
|
846528
|
+
if (schemaId != null) {
|
|
846529
|
+
if (!referencedAsRequest) {
|
|
846530
|
+
context.markSchemaAsReferencedByNonRequest(schemaId);
|
|
846531
|
+
} else {
|
|
846532
|
+
context.markSchemaAsReferencedByRequest(schemaId);
|
|
846533
|
+
}
|
|
846534
|
+
return convertReferenceObject(schema2, wrapAsNullable, context, breadcrumbs);
|
|
846377
846535
|
}
|
|
846378
|
-
return
|
|
846536
|
+
return convertSchemaObject(context.resolveSchemaReference(schema2), wrapAsNullable, context, getBreadcrumbsFromReference(schema2.$ref), propertiesToExclude, referencedAsRequest);
|
|
846379
846537
|
} else {
|
|
846380
846538
|
return convertSchemaObject(schema2, wrapAsNullable, context, breadcrumbs, propertiesToExclude, referencedAsRequest);
|
|
846381
846539
|
}
|
|
@@ -846464,7 +846622,8 @@ function convertSchemaObject(schema2, wrapAsNullable, context, breadcrumbs, prop
|
|
|
846464
846622
|
enumValues: schema2.enum,
|
|
846465
846623
|
description,
|
|
846466
846624
|
wrapAsNullable,
|
|
846467
|
-
groupName
|
|
846625
|
+
groupName,
|
|
846626
|
+
context
|
|
846468
846627
|
});
|
|
846469
846628
|
}
|
|
846470
846629
|
if (isListOfStrings(schema2.type) && schema2.type[1] != null && schema2.type[0] != null) {
|
|
@@ -846690,7 +846849,8 @@ function convertSchemaObject(schema2, wrapAsNullable, context, breadcrumbs, prop
|
|
|
846690
846849
|
enumValues: maybeAllEnumValues,
|
|
846691
846850
|
description,
|
|
846692
846851
|
wrapAsNullable,
|
|
846693
|
-
groupName
|
|
846852
|
+
groupName,
|
|
846853
|
+
context
|
|
846694
846854
|
});
|
|
846695
846855
|
}
|
|
846696
846856
|
const maybeDiscriminant = getDiscriminant({ schemas: schema2.oneOf, context });
|
|
@@ -846837,7 +846997,7 @@ function convertSchemaObject(schema2, wrapAsNullable, context, breadcrumbs, prop
|
|
|
846837
846997
|
}
|
|
846838
846998
|
function getSchemaIdFromReference(ref2) {
|
|
846839
846999
|
if (!ref2.$ref.startsWith(SCHEMA_REFERENCE_PREFIX)) {
|
|
846840
|
-
|
|
847000
|
+
return void 0;
|
|
846841
847001
|
}
|
|
846842
847002
|
return ref2.$ref.replace(SCHEMA_REFERENCE_PREFIX, "");
|
|
846843
847003
|
}
|
|
@@ -846845,10 +847005,14 @@ function convertToReferencedSchema(schema2, breadcrumbs) {
|
|
|
846845
847005
|
const nameOverride = getExtension(schema2, FernOpenAPIExtension.TYPE_NAME);
|
|
846846
847006
|
const generatedName = getGeneratedTypeName(breadcrumbs);
|
|
846847
847007
|
const description = schema2.description;
|
|
847008
|
+
const schemaId = getSchemaIdFromReference(schema2);
|
|
847009
|
+
if (schemaId == null) {
|
|
847010
|
+
throw new Error(`Invalid schema reference ${JSON.stringify(schema2)}`);
|
|
847011
|
+
}
|
|
846848
847012
|
return Schema2.reference({
|
|
846849
847013
|
generatedName,
|
|
846850
847014
|
nameOverride,
|
|
846851
|
-
schema:
|
|
847015
|
+
schema: schemaId,
|
|
846852
847016
|
description: description ?? void 0,
|
|
846853
847017
|
groupName: void 0
|
|
846854
847018
|
});
|
|
@@ -848467,6 +848631,9 @@ function resolveSchema(schema2, document4) {
|
|
|
848467
848631
|
throw new Error(`Failed to resolve schema reference because of unsupported prefix: ${schema2.$ref}`);
|
|
848468
848632
|
}
|
|
848469
848633
|
const schemaId = getSchemaIdFromReference(schema2);
|
|
848634
|
+
if (schemaId == null) {
|
|
848635
|
+
throw new Error(`Failed to resolve schema reference because missing schema id: ${schema2.$ref}`);
|
|
848636
|
+
}
|
|
848470
848637
|
const resolvedSchema = (_b2 = (_a2 = document4.components) == null ? void 0 : _a2.schemas) == null ? void 0 : _b2[schemaId];
|
|
848471
848638
|
if (resolvedSchema == null) {
|
|
848472
848639
|
throw new Error(`Failed to resolve schema reference because missing: ${schema2.$ref}`);
|
|
@@ -848582,32 +848749,20 @@ var AbstractOpenAPIV3ParserContext = class {
|
|
|
848582
848749
|
return this.refOccurrences[schema2.$ref] ?? 0;
|
|
848583
848750
|
}
|
|
848584
848751
|
resolveSchemaReference(schema2) {
|
|
848585
|
-
|
|
848586
|
-
|
|
848587
|
-
|
|
848588
|
-
|
|
848589
|
-
|
|
848590
|
-
|
|
848591
|
-
|
|
848592
|
-
throw new Error(`${schema2.$ref} is undefined`);
|
|
848752
|
+
const keys7 = schema2.$ref.substring(2).split("/").map((key2) => key2.replace(/~1/g, "/"));
|
|
848753
|
+
let resolvedSchema = this.document;
|
|
848754
|
+
for (const key2 of keys7) {
|
|
848755
|
+
if (typeof resolvedSchema !== "object" || resolvedSchema == null) {
|
|
848756
|
+
throw new Error(`Failed to resolve ${schema2.$ref}`);
|
|
848757
|
+
}
|
|
848758
|
+
resolvedSchema = resolvedSchema[key2];
|
|
848593
848759
|
}
|
|
848594
|
-
let resolvedSchema = this.document.components.schemas[splitSchemaKey[0]];
|
|
848595
848760
|
if (resolvedSchema == null) {
|
|
848596
|
-
throw new Error(
|
|
848761
|
+
throw new Error(`Failed to resolve ${schema2.$ref}`);
|
|
848597
848762
|
}
|
|
848598
848763
|
if (isReferenceObject(resolvedSchema)) {
|
|
848599
848764
|
resolvedSchema = this.resolveSchemaReference(resolvedSchema);
|
|
848600
848765
|
}
|
|
848601
|
-
if (splitSchemaKey[1] === "properties" && splitSchemaKey[2] != null) {
|
|
848602
|
-
const resolvedProperty = (_a2 = resolvedSchema.properties) == null ? void 0 : _a2[splitSchemaKey[2]];
|
|
848603
|
-
if (resolvedProperty == null) {
|
|
848604
|
-
throw new Error(`${schema2.$ref} is undefiened. Property does not exist on object.`);
|
|
848605
|
-
} else if (isReferenceObject(resolvedProperty)) {
|
|
848606
|
-
resolvedSchema = this.resolveSchemaReference(resolvedProperty);
|
|
848607
|
-
} else {
|
|
848608
|
-
resolvedSchema = resolvedProperty;
|
|
848609
|
-
}
|
|
848610
|
-
}
|
|
848611
848766
|
return resolvedSchema;
|
|
848612
848767
|
}
|
|
848613
848768
|
resolveParameterReference(parameter) {
|
|
@@ -849197,7 +849352,10 @@ function convertStreamingOperation({ operationContext, context, streamingExtensi
|
|
|
849197
849352
|
isStreaming: true
|
|
849198
849353
|
});
|
|
849199
849354
|
if ((streamingRequestBody == null ? void 0 : streamingRequestBody.schemaReference) != null) {
|
|
849200
|
-
|
|
849355
|
+
const schemaId = getSchemaIdFromReference(streamingRequestBody.schemaReference);
|
|
849356
|
+
if (schemaId != null) {
|
|
849357
|
+
context.excludeSchema(schemaId);
|
|
849358
|
+
}
|
|
849201
849359
|
}
|
|
849202
849360
|
const streamingResponses = getResponses({
|
|
849203
849361
|
operation: operationContext.operation,
|
|
@@ -849583,7 +849741,8 @@ function getScopes(oauthSecurityScheme) {
|
|
|
849583
849741
|
description: void 0,
|
|
849584
849742
|
enumVarNames: void 0,
|
|
849585
849743
|
wrapAsNullable: false,
|
|
849586
|
-
groupName: void 0
|
|
849744
|
+
groupName: void 0,
|
|
849745
|
+
context: void 0
|
|
849587
849746
|
});
|
|
849588
849747
|
const schema2 = convertSchemaWithExampleToSchema(schemaWithExample);
|
|
849589
849748
|
if (schema2.type === "enum") {
|
|
@@ -855966,10 +856125,10 @@ var CliContext = class {
|
|
|
855966
856125
|
return "fern-api";
|
|
855967
856126
|
}
|
|
855968
856127
|
getPackageVersion() {
|
|
855969
|
-
if ("0.19.
|
|
856128
|
+
if ("0.19.20" == null) {
|
|
855970
856129
|
this.logger.error("CLI_VERSION is not defined");
|
|
855971
856130
|
}
|
|
855972
|
-
return "0.19.
|
|
856131
|
+
return "0.19.20";
|
|
855973
856132
|
}
|
|
855974
856133
|
getCliName() {
|
|
855975
856134
|
if ("fern" == null) {
|
|
@@ -863019,7 +863178,7 @@ var ComplexQueryParamTypeDetector = class {
|
|
|
863019
863178
|
case "literal":
|
|
863020
863179
|
return false;
|
|
863021
863180
|
case "map":
|
|
863022
|
-
return this.isResolvedReferenceComplex({
|
|
863181
|
+
return (this.isResolvedReferenceComplex({
|
|
863023
863182
|
type: type2.keyType,
|
|
863024
863183
|
file,
|
|
863025
863184
|
visited
|
|
@@ -863027,7 +863186,7 @@ var ComplexQueryParamTypeDetector = class {
|
|
|
863027
863186
|
type: type2.valueType,
|
|
863028
863187
|
file,
|
|
863029
863188
|
visited
|
|
863030
|
-
});
|
|
863189
|
+
})) && !(type2.keyType._type === "primitive" && type2.keyType.primitive === "STRING" && type2.valueType._type === "unknown");
|
|
863031
863190
|
case "optional":
|
|
863032
863191
|
return this.isResolvedReferenceComplex({
|
|
863033
863192
|
type: type2.itemType,
|
|
@@ -871608,7 +871767,7 @@ var IntermediateRepresentationMigratorImpl = class {
|
|
|
871608
871767
|
shouldRunMigration({ migration: migration17, targetGenerator }) {
|
|
871609
871768
|
const minVersionToExclude = migration17.firstGeneratorVersionToConsumeNewIR[targetGenerator.name];
|
|
871610
871769
|
if (minVersionToExclude == null) {
|
|
871611
|
-
throw new Error(`Cannot migrate intermediate representation. Unrecognized generator: ${targetGenerator.name}.`);
|
|
871770
|
+
throw new Error(`Cannot migrate intermediate representation. Unrecognized generator: ${targetGenerator.name}. If leveraging a custom generator, ensure you are specifying "ir-version" within the generator configuration.`);
|
|
871612
871771
|
}
|
|
871613
871772
|
switch (minVersionToExclude) {
|
|
871614
871773
|
case GeneratorWasNeverUpdatedToConsumeNewIR:
|