@fern-api/fern-api-dev 3.32.0-1-g8af573e40f → 3.32.0-2-gb547ceed9c
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 +155 -55
- package/package.json +1 -1
package/cli.cjs
CHANGED
|
@@ -10583,9 +10583,9 @@ var require_side_channel = __commonJS({
|
|
|
10583
10583
|
}
|
|
10584
10584
|
});
|
|
10585
10585
|
|
|
10586
|
-
// ../../../node_modules/.pnpm/qs@6.
|
|
10586
|
+
// ../../../node_modules/.pnpm/qs@6.14.1/node_modules/qs/lib/formats.js
|
|
10587
10587
|
var require_formats = __commonJS({
|
|
10588
|
-
"../../../node_modules/.pnpm/qs@6.
|
|
10588
|
+
"../../../node_modules/.pnpm/qs@6.14.1/node_modules/qs/lib/formats.js"(exports2, module2) {
|
|
10589
10589
|
"use strict";
|
|
10590
10590
|
var replace2 = String.prototype.replace;
|
|
10591
10591
|
var percentTwenties = /%20/g;
|
|
@@ -10609,13 +10609,28 @@ var require_formats = __commonJS({
|
|
|
10609
10609
|
}
|
|
10610
10610
|
});
|
|
10611
10611
|
|
|
10612
|
-
// ../../../node_modules/.pnpm/qs@6.
|
|
10612
|
+
// ../../../node_modules/.pnpm/qs@6.14.1/node_modules/qs/lib/utils.js
|
|
10613
10613
|
var require_utils3 = __commonJS({
|
|
10614
|
-
"../../../node_modules/.pnpm/qs@6.
|
|
10614
|
+
"../../../node_modules/.pnpm/qs@6.14.1/node_modules/qs/lib/utils.js"(exports2, module2) {
|
|
10615
10615
|
"use strict";
|
|
10616
10616
|
var formats = require_formats();
|
|
10617
|
+
var getSideChannel = require_side_channel();
|
|
10617
10618
|
var has3 = Object.prototype.hasOwnProperty;
|
|
10618
10619
|
var isArray6 = Array.isArray;
|
|
10620
|
+
var overflowChannel = getSideChannel();
|
|
10621
|
+
var markOverflow = function markOverflow2(obj, maxIndex) {
|
|
10622
|
+
overflowChannel.set(obj, maxIndex);
|
|
10623
|
+
return obj;
|
|
10624
|
+
};
|
|
10625
|
+
var isOverflow = function isOverflow2(obj) {
|
|
10626
|
+
return overflowChannel.has(obj);
|
|
10627
|
+
};
|
|
10628
|
+
var getMaxIndex = function getMaxIndex2(obj) {
|
|
10629
|
+
return overflowChannel.get(obj);
|
|
10630
|
+
};
|
|
10631
|
+
var setMaxIndex = function setMaxIndex2(obj, maxIndex) {
|
|
10632
|
+
overflowChannel.set(obj, maxIndex);
|
|
10633
|
+
};
|
|
10619
10634
|
var hexTable = (function() {
|
|
10620
10635
|
var array = [];
|
|
10621
10636
|
for (var i11 = 0; i11 < 256; ++i11) {
|
|
@@ -10639,7 +10654,7 @@ var require_utils3 = __commonJS({
|
|
|
10639
10654
|
}
|
|
10640
10655
|
};
|
|
10641
10656
|
var arrayToObject2 = function arrayToObject3(source2, options2) {
|
|
10642
|
-
var obj = options2 && options2.plainObjects ?
|
|
10657
|
+
var obj = options2 && options2.plainObjects ? { __proto__: null } : {};
|
|
10643
10658
|
for (var i11 = 0; i11 < source2.length; ++i11) {
|
|
10644
10659
|
if (typeof source2[i11] !== "undefined") {
|
|
10645
10660
|
obj[i11] = source2[i11];
|
|
@@ -10651,11 +10666,15 @@ var require_utils3 = __commonJS({
|
|
|
10651
10666
|
if (!source2) {
|
|
10652
10667
|
return target;
|
|
10653
10668
|
}
|
|
10654
|
-
if (typeof source2 !== "object") {
|
|
10669
|
+
if (typeof source2 !== "object" && typeof source2 !== "function") {
|
|
10655
10670
|
if (isArray6(target)) {
|
|
10656
10671
|
target.push(source2);
|
|
10657
10672
|
} else if (target && typeof target === "object") {
|
|
10658
|
-
if (
|
|
10673
|
+
if (isOverflow(target)) {
|
|
10674
|
+
var newIndex = getMaxIndex(target) + 1;
|
|
10675
|
+
target[newIndex] = source2;
|
|
10676
|
+
setMaxIndex(target, newIndex);
|
|
10677
|
+
} else if (options2 && (options2.plainObjects || options2.allowPrototypes) || !has3.call(Object.prototype, source2)) {
|
|
10659
10678
|
target[source2] = true;
|
|
10660
10679
|
}
|
|
10661
10680
|
} else {
|
|
@@ -10664,6 +10683,15 @@ var require_utils3 = __commonJS({
|
|
|
10664
10683
|
return target;
|
|
10665
10684
|
}
|
|
10666
10685
|
if (!target || typeof target !== "object") {
|
|
10686
|
+
if (isOverflow(source2)) {
|
|
10687
|
+
var sourceKeys = Object.keys(source2);
|
|
10688
|
+
var result = options2 && options2.plainObjects ? { __proto__: null, 0: target } : { 0: target };
|
|
10689
|
+
for (var m10 = 0; m10 < sourceKeys.length; m10++) {
|
|
10690
|
+
var oldKey = parseInt(sourceKeys[m10], 10);
|
|
10691
|
+
result[oldKey + 1] = source2[sourceKeys[m10]];
|
|
10692
|
+
}
|
|
10693
|
+
return markOverflow(result, getMaxIndex(source2) + 1);
|
|
10694
|
+
}
|
|
10667
10695
|
return [target].concat(source2);
|
|
10668
10696
|
}
|
|
10669
10697
|
var mergeTarget = target;
|
|
@@ -10701,7 +10729,7 @@ var require_utils3 = __commonJS({
|
|
|
10701
10729
|
return acc;
|
|
10702
10730
|
}, target);
|
|
10703
10731
|
};
|
|
10704
|
-
var decode4 = function(str3,
|
|
10732
|
+
var decode4 = function(str3, defaultDecoder, charset) {
|
|
10705
10733
|
var strWithoutPlus = str3.replace(/\+/g, " ");
|
|
10706
10734
|
if (charset === "iso-8859-1") {
|
|
10707
10735
|
return strWithoutPlus.replace(/%[0-9a-f]{2}/gi, unescape);
|
|
@@ -10786,8 +10814,18 @@ var require_utils3 = __commonJS({
|
|
|
10786
10814
|
}
|
|
10787
10815
|
return !!(obj.constructor && obj.constructor.isBuffer && obj.constructor.isBuffer(obj));
|
|
10788
10816
|
};
|
|
10789
|
-
var combine = function combine2(a10, b18) {
|
|
10790
|
-
|
|
10817
|
+
var combine = function combine2(a10, b18, arrayLimit, plainObjects) {
|
|
10818
|
+
if (isOverflow(a10)) {
|
|
10819
|
+
var newIndex = getMaxIndex(a10) + 1;
|
|
10820
|
+
a10[newIndex] = b18;
|
|
10821
|
+
setMaxIndex(a10, newIndex);
|
|
10822
|
+
return a10;
|
|
10823
|
+
}
|
|
10824
|
+
var result = [].concat(a10, b18);
|
|
10825
|
+
if (result.length > arrayLimit) {
|
|
10826
|
+
return markOverflow(arrayToObject2(result, { plainObjects }), result.length - 1);
|
|
10827
|
+
}
|
|
10828
|
+
return result;
|
|
10791
10829
|
};
|
|
10792
10830
|
var maybeMap = function maybeMap2(val, fn4) {
|
|
10793
10831
|
if (isArray6(val)) {
|
|
@@ -10807,6 +10845,7 @@ var require_utils3 = __commonJS({
|
|
|
10807
10845
|
decode: decode4,
|
|
10808
10846
|
encode: encode4,
|
|
10809
10847
|
isBuffer: isBuffer3,
|
|
10848
|
+
isOverflow,
|
|
10810
10849
|
isRegExp: isRegExp3,
|
|
10811
10850
|
maybeMap,
|
|
10812
10851
|
merge: merge9
|
|
@@ -10814,9 +10853,9 @@ var require_utils3 = __commonJS({
|
|
|
10814
10853
|
}
|
|
10815
10854
|
});
|
|
10816
10855
|
|
|
10817
|
-
// ../../../node_modules/.pnpm/qs@6.
|
|
10856
|
+
// ../../../node_modules/.pnpm/qs@6.14.1/node_modules/qs/lib/stringify.js
|
|
10818
10857
|
var require_stringify = __commonJS({
|
|
10819
|
-
"../../../node_modules/.pnpm/qs@6.
|
|
10858
|
+
"../../../node_modules/.pnpm/qs@6.14.1/node_modules/qs/lib/stringify.js"(exports2, module2) {
|
|
10820
10859
|
"use strict";
|
|
10821
10860
|
var getSideChannel = require_side_channel();
|
|
10822
10861
|
var utils2 = require_utils3();
|
|
@@ -10848,11 +10887,13 @@ var require_stringify = __commonJS({
|
|
|
10848
10887
|
arrayFormat: "indices",
|
|
10849
10888
|
charset: "utf-8",
|
|
10850
10889
|
charsetSentinel: false,
|
|
10890
|
+
commaRoundTrip: false,
|
|
10851
10891
|
delimiter: "&",
|
|
10852
10892
|
encode: true,
|
|
10853
10893
|
encodeDotInKeys: false,
|
|
10854
10894
|
encoder: utils2.encode,
|
|
10855
10895
|
encodeValuesOnly: false,
|
|
10896
|
+
filter: void 0,
|
|
10856
10897
|
format: defaultFormat,
|
|
10857
10898
|
formatter: formats.formatters[defaultFormat],
|
|
10858
10899
|
// deprecated
|
|
@@ -10927,18 +10968,18 @@ var require_stringify = __commonJS({
|
|
|
10927
10968
|
var keys11 = Object.keys(obj);
|
|
10928
10969
|
objKeys = sort ? keys11.sort(sort) : keys11;
|
|
10929
10970
|
}
|
|
10930
|
-
var encodedPrefix = encodeDotInKeys ? prefix2.replace(/\./g, "%2E") : prefix2;
|
|
10971
|
+
var encodedPrefix = encodeDotInKeys ? String(prefix2).replace(/\./g, "%2E") : String(prefix2);
|
|
10931
10972
|
var adjustedPrefix = commaRoundTrip && isArray6(obj) && obj.length === 1 ? encodedPrefix + "[]" : encodedPrefix;
|
|
10932
10973
|
if (allowEmptyArrays && isArray6(obj) && obj.length === 0) {
|
|
10933
10974
|
return adjustedPrefix + "[]";
|
|
10934
10975
|
}
|
|
10935
10976
|
for (var j15 = 0; j15 < objKeys.length; ++j15) {
|
|
10936
10977
|
var key = objKeys[j15];
|
|
10937
|
-
var value = typeof key === "object" && typeof key.value !== "undefined" ? key.value : obj[key];
|
|
10978
|
+
var value = typeof key === "object" && key && typeof key.value !== "undefined" ? key.value : obj[key];
|
|
10938
10979
|
if (skipNulls && value === null) {
|
|
10939
10980
|
continue;
|
|
10940
10981
|
}
|
|
10941
|
-
var encodedKey = allowDots && encodeDotInKeys ? key.replace(/\./g, "%2E") : key;
|
|
10982
|
+
var encodedKey = allowDots && encodeDotInKeys ? String(key).replace(/\./g, "%2E") : String(key);
|
|
10942
10983
|
var keyPrefix = isArray6(obj) ? typeof generateArrayPrefix === "function" ? generateArrayPrefix(adjustedPrefix, encodedKey) : adjustedPrefix : adjustedPrefix + (allowDots ? "." + encodedKey : "[" + encodedKey + "]");
|
|
10943
10984
|
sideChannel.set(object8, step);
|
|
10944
10985
|
var valueSideChannel = getSideChannel();
|
|
@@ -11014,7 +11055,7 @@ var require_stringify = __commonJS({
|
|
|
11014
11055
|
arrayFormat,
|
|
11015
11056
|
charset,
|
|
11016
11057
|
charsetSentinel: typeof opts.charsetSentinel === "boolean" ? opts.charsetSentinel : defaults3.charsetSentinel,
|
|
11017
|
-
commaRoundTrip: opts.commaRoundTrip,
|
|
11058
|
+
commaRoundTrip: !!opts.commaRoundTrip,
|
|
11018
11059
|
delimiter: typeof opts.delimiter === "undefined" ? defaults3.delimiter : opts.delimiter,
|
|
11019
11060
|
encode: typeof opts.encode === "boolean" ? opts.encode : defaults3.encode,
|
|
11020
11061
|
encodeDotInKeys: typeof opts.encodeDotInKeys === "boolean" ? opts.encodeDotInKeys : defaults3.encodeDotInKeys,
|
|
@@ -11056,11 +11097,12 @@ var require_stringify = __commonJS({
|
|
|
11056
11097
|
var sideChannel = getSideChannel();
|
|
11057
11098
|
for (var i11 = 0; i11 < objKeys.length; ++i11) {
|
|
11058
11099
|
var key = objKeys[i11];
|
|
11059
|
-
|
|
11100
|
+
var value = obj[key];
|
|
11101
|
+
if (options2.skipNulls && value === null) {
|
|
11060
11102
|
continue;
|
|
11061
11103
|
}
|
|
11062
11104
|
pushToArray(keys11, stringify5(
|
|
11063
|
-
|
|
11105
|
+
value,
|
|
11064
11106
|
key,
|
|
11065
11107
|
generateArrayPrefix,
|
|
11066
11108
|
commaRoundTrip,
|
|
@@ -11094,9 +11136,9 @@ var require_stringify = __commonJS({
|
|
|
11094
11136
|
}
|
|
11095
11137
|
});
|
|
11096
11138
|
|
|
11097
|
-
// ../../../node_modules/.pnpm/qs@6.
|
|
11139
|
+
// ../../../node_modules/.pnpm/qs@6.14.1/node_modules/qs/lib/parse.js
|
|
11098
11140
|
var require_parse2 = __commonJS({
|
|
11099
|
-
"../../../node_modules/.pnpm/qs@6.
|
|
11141
|
+
"../../../node_modules/.pnpm/qs@6.14.1/node_modules/qs/lib/parse.js"(exports2, module2) {
|
|
11100
11142
|
"use strict";
|
|
11101
11143
|
var utils2 = require_utils3();
|
|
11102
11144
|
var has3 = Object.prototype.hasOwnProperty;
|
|
@@ -11121,17 +11163,21 @@ var require_parse2 = __commonJS({
|
|
|
11121
11163
|
parseArrays: true,
|
|
11122
11164
|
plainObjects: false,
|
|
11123
11165
|
strictDepth: false,
|
|
11124
|
-
strictNullHandling: false
|
|
11166
|
+
strictNullHandling: false,
|
|
11167
|
+
throwOnLimitExceeded: false
|
|
11125
11168
|
};
|
|
11126
11169
|
var interpretNumericEntities = function(str3) {
|
|
11127
11170
|
return str3.replace(/&#(\d+);/g, function($0, numberStr) {
|
|
11128
11171
|
return String.fromCharCode(parseInt(numberStr, 10));
|
|
11129
11172
|
});
|
|
11130
11173
|
};
|
|
11131
|
-
var parseArrayValue = function(val, options2) {
|
|
11174
|
+
var parseArrayValue = function(val, options2, currentArrayLength) {
|
|
11132
11175
|
if (val && typeof val === "string" && options2.comma && val.indexOf(",") > -1) {
|
|
11133
11176
|
return val.split(",");
|
|
11134
11177
|
}
|
|
11178
|
+
if (options2.throwOnLimitExceeded && currentArrayLength >= options2.arrayLimit) {
|
|
11179
|
+
throw new RangeError("Array limit exceeded. Only " + options2.arrayLimit + " element" + (options2.arrayLimit === 1 ? "" : "s") + " allowed in an array.");
|
|
11180
|
+
}
|
|
11135
11181
|
return val;
|
|
11136
11182
|
};
|
|
11137
11183
|
var isoSentinel = "utf8=%26%2310003%3B";
|
|
@@ -11141,7 +11187,13 @@ var require_parse2 = __commonJS({
|
|
|
11141
11187
|
var cleanStr = options2.ignoreQueryPrefix ? str3.replace(/^\?/, "") : str3;
|
|
11142
11188
|
cleanStr = cleanStr.replace(/%5B/gi, "[").replace(/%5D/gi, "]");
|
|
11143
11189
|
var limit = options2.parameterLimit === Infinity ? void 0 : options2.parameterLimit;
|
|
11144
|
-
var parts = cleanStr.split(
|
|
11190
|
+
var parts = cleanStr.split(
|
|
11191
|
+
options2.delimiter,
|
|
11192
|
+
options2.throwOnLimitExceeded ? limit + 1 : limit
|
|
11193
|
+
);
|
|
11194
|
+
if (options2.throwOnLimitExceeded && parts.length > limit) {
|
|
11195
|
+
throw new RangeError("Parameter limit exceeded. Only " + limit + " parameter" + (limit === 1 ? "" : "s") + " allowed.");
|
|
11196
|
+
}
|
|
11145
11197
|
var skipIndex = -1;
|
|
11146
11198
|
var i11;
|
|
11147
11199
|
var charset = options2.charset;
|
|
@@ -11165,43 +11217,71 @@ var require_parse2 = __commonJS({
|
|
|
11165
11217
|
var part = parts[i11];
|
|
11166
11218
|
var bracketEqualsPos = part.indexOf("]=");
|
|
11167
11219
|
var pos = bracketEqualsPos === -1 ? part.indexOf("=") : bracketEqualsPos + 1;
|
|
11168
|
-
var key
|
|
11220
|
+
var key;
|
|
11221
|
+
var val;
|
|
11169
11222
|
if (pos === -1) {
|
|
11170
11223
|
key = options2.decoder(part, defaults3.decoder, charset, "key");
|
|
11171
11224
|
val = options2.strictNullHandling ? null : "";
|
|
11172
11225
|
} else {
|
|
11173
11226
|
key = options2.decoder(part.slice(0, pos), defaults3.decoder, charset, "key");
|
|
11174
|
-
|
|
11175
|
-
|
|
11176
|
-
|
|
11177
|
-
|
|
11178
|
-
|
|
11179
|
-
|
|
11227
|
+
if (key !== null) {
|
|
11228
|
+
val = utils2.maybeMap(
|
|
11229
|
+
parseArrayValue(
|
|
11230
|
+
part.slice(pos + 1),
|
|
11231
|
+
options2,
|
|
11232
|
+
isArray6(obj[key]) ? obj[key].length : 0
|
|
11233
|
+
),
|
|
11234
|
+
function(encodedVal) {
|
|
11235
|
+
return options2.decoder(encodedVal, defaults3.decoder, charset, "value");
|
|
11236
|
+
}
|
|
11237
|
+
);
|
|
11238
|
+
}
|
|
11180
11239
|
}
|
|
11181
11240
|
if (val && options2.interpretNumericEntities && charset === "iso-8859-1") {
|
|
11182
|
-
val = interpretNumericEntities(val);
|
|
11241
|
+
val = interpretNumericEntities(String(val));
|
|
11183
11242
|
}
|
|
11184
11243
|
if (part.indexOf("[]=") > -1) {
|
|
11185
11244
|
val = isArray6(val) ? [val] : val;
|
|
11186
11245
|
}
|
|
11187
|
-
|
|
11188
|
-
|
|
11189
|
-
|
|
11190
|
-
|
|
11191
|
-
|
|
11246
|
+
if (key !== null) {
|
|
11247
|
+
var existing = has3.call(obj, key);
|
|
11248
|
+
if (existing && options2.duplicates === "combine") {
|
|
11249
|
+
obj[key] = utils2.combine(
|
|
11250
|
+
obj[key],
|
|
11251
|
+
val,
|
|
11252
|
+
options2.arrayLimit,
|
|
11253
|
+
options2.plainObjects
|
|
11254
|
+
);
|
|
11255
|
+
} else if (!existing || options2.duplicates === "last") {
|
|
11256
|
+
obj[key] = val;
|
|
11257
|
+
}
|
|
11192
11258
|
}
|
|
11193
11259
|
}
|
|
11194
11260
|
return obj;
|
|
11195
11261
|
};
|
|
11196
11262
|
var parseObject = function(chain, val, options2, valuesParsed) {
|
|
11197
|
-
var
|
|
11263
|
+
var currentArrayLength = 0;
|
|
11264
|
+
if (chain.length > 0 && chain[chain.length - 1] === "[]") {
|
|
11265
|
+
var parentKey = chain.slice(0, -1).join("");
|
|
11266
|
+
currentArrayLength = Array.isArray(val) && val[parentKey] ? val[parentKey].length : 0;
|
|
11267
|
+
}
|
|
11268
|
+
var leaf = valuesParsed ? val : parseArrayValue(val, options2, currentArrayLength);
|
|
11198
11269
|
for (var i11 = chain.length - 1; i11 >= 0; --i11) {
|
|
11199
11270
|
var obj;
|
|
11200
11271
|
var root6 = chain[i11];
|
|
11201
11272
|
if (root6 === "[]" && options2.parseArrays) {
|
|
11202
|
-
|
|
11273
|
+
if (utils2.isOverflow(leaf)) {
|
|
11274
|
+
obj = leaf;
|
|
11275
|
+
} else {
|
|
11276
|
+
obj = options2.allowEmptyArrays && (leaf === "" || options2.strictNullHandling && leaf === null) ? [] : utils2.combine(
|
|
11277
|
+
[],
|
|
11278
|
+
leaf,
|
|
11279
|
+
options2.arrayLimit,
|
|
11280
|
+
options2.plainObjects
|
|
11281
|
+
);
|
|
11282
|
+
}
|
|
11203
11283
|
} else {
|
|
11204
|
-
obj = options2.plainObjects ?
|
|
11284
|
+
obj = options2.plainObjects ? { __proto__: null } : {};
|
|
11205
11285
|
var cleanRoot = root6.charAt(0) === "[" && root6.charAt(root6.length - 1) === "]" ? root6.slice(1, -1) : root6;
|
|
11206
11286
|
var decodedRoot = options2.decodeDotInKeys ? cleanRoot.replace(/%2E/g, ".") : cleanRoot;
|
|
11207
11287
|
var index2 = parseInt(decodedRoot, 10);
|
|
@@ -11218,14 +11298,19 @@ var require_parse2 = __commonJS({
|
|
|
11218
11298
|
}
|
|
11219
11299
|
return leaf;
|
|
11220
11300
|
};
|
|
11221
|
-
var
|
|
11222
|
-
if (!givenKey) {
|
|
11223
|
-
return;
|
|
11224
|
-
}
|
|
11301
|
+
var splitKeyIntoSegments = function splitKeyIntoSegments2(givenKey, options2) {
|
|
11225
11302
|
var key = options2.allowDots ? givenKey.replace(/\.([^.[]+)/g, "[$1]") : givenKey;
|
|
11303
|
+
if (options2.depth <= 0) {
|
|
11304
|
+
if (!options2.plainObjects && has3.call(Object.prototype, key)) {
|
|
11305
|
+
if (!options2.allowPrototypes) {
|
|
11306
|
+
return;
|
|
11307
|
+
}
|
|
11308
|
+
}
|
|
11309
|
+
return [key];
|
|
11310
|
+
}
|
|
11226
11311
|
var brackets = /(\[[^[\]]*])/;
|
|
11227
11312
|
var child = /(\[[^[\]]*])/g;
|
|
11228
|
-
var segment =
|
|
11313
|
+
var segment = brackets.exec(key);
|
|
11229
11314
|
var parent = segment ? key.slice(0, segment.index) : key;
|
|
11230
11315
|
var keys11 = [];
|
|
11231
11316
|
if (parent) {
|
|
@@ -11237,9 +11322,10 @@ var require_parse2 = __commonJS({
|
|
|
11237
11322
|
keys11.push(parent);
|
|
11238
11323
|
}
|
|
11239
11324
|
var i11 = 0;
|
|
11240
|
-
while (
|
|
11325
|
+
while ((segment = child.exec(key)) !== null && i11 < options2.depth) {
|
|
11241
11326
|
i11 += 1;
|
|
11242
|
-
|
|
11327
|
+
var segmentContent = segment[1].slice(1, -1);
|
|
11328
|
+
if (!options2.plainObjects && has3.call(Object.prototype, segmentContent)) {
|
|
11243
11329
|
if (!options2.allowPrototypes) {
|
|
11244
11330
|
return;
|
|
11245
11331
|
}
|
|
@@ -11252,6 +11338,16 @@ var require_parse2 = __commonJS({
|
|
|
11252
11338
|
}
|
|
11253
11339
|
keys11.push("[" + key.slice(segment.index) + "]");
|
|
11254
11340
|
}
|
|
11341
|
+
return keys11;
|
|
11342
|
+
};
|
|
11343
|
+
var parseKeys = function parseQueryStringKeys(givenKey, val, options2, valuesParsed) {
|
|
11344
|
+
if (!givenKey) {
|
|
11345
|
+
return;
|
|
11346
|
+
}
|
|
11347
|
+
var keys11 = splitKeyIntoSegments(givenKey, options2);
|
|
11348
|
+
if (!keys11) {
|
|
11349
|
+
return;
|
|
11350
|
+
}
|
|
11255
11351
|
return parseObject(keys11, val, options2, valuesParsed);
|
|
11256
11352
|
};
|
|
11257
11353
|
var normalizeParseOptions = function normalizeParseOptions2(opts) {
|
|
@@ -11270,6 +11366,9 @@ var require_parse2 = __commonJS({
|
|
|
11270
11366
|
if (typeof opts.charset !== "undefined" && opts.charset !== "utf-8" && opts.charset !== "iso-8859-1") {
|
|
11271
11367
|
throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");
|
|
11272
11368
|
}
|
|
11369
|
+
if (typeof opts.throwOnLimitExceeded !== "undefined" && typeof opts.throwOnLimitExceeded !== "boolean") {
|
|
11370
|
+
throw new TypeError("`throwOnLimitExceeded` option must be a boolean");
|
|
11371
|
+
}
|
|
11273
11372
|
var charset = typeof opts.charset === "undefined" ? defaults3.charset : opts.charset;
|
|
11274
11373
|
var duplicates = typeof opts.duplicates === "undefined" ? defaults3.duplicates : opts.duplicates;
|
|
11275
11374
|
if (duplicates !== "combine" && duplicates !== "first" && duplicates !== "last") {
|
|
@@ -11297,16 +11396,17 @@ var require_parse2 = __commonJS({
|
|
|
11297
11396
|
parseArrays: opts.parseArrays !== false,
|
|
11298
11397
|
plainObjects: typeof opts.plainObjects === "boolean" ? opts.plainObjects : defaults3.plainObjects,
|
|
11299
11398
|
strictDepth: typeof opts.strictDepth === "boolean" ? !!opts.strictDepth : defaults3.strictDepth,
|
|
11300
|
-
strictNullHandling: typeof opts.strictNullHandling === "boolean" ? opts.strictNullHandling : defaults3.strictNullHandling
|
|
11399
|
+
strictNullHandling: typeof opts.strictNullHandling === "boolean" ? opts.strictNullHandling : defaults3.strictNullHandling,
|
|
11400
|
+
throwOnLimitExceeded: typeof opts.throwOnLimitExceeded === "boolean" ? opts.throwOnLimitExceeded : false
|
|
11301
11401
|
};
|
|
11302
11402
|
};
|
|
11303
11403
|
module2.exports = function(str3, opts) {
|
|
11304
11404
|
var options2 = normalizeParseOptions(opts);
|
|
11305
11405
|
if (str3 === "" || str3 === null || typeof str3 === "undefined") {
|
|
11306
|
-
return options2.plainObjects ?
|
|
11406
|
+
return options2.plainObjects ? { __proto__: null } : {};
|
|
11307
11407
|
}
|
|
11308
11408
|
var tempObj = typeof str3 === "string" ? parseValues(str3, options2) : str3;
|
|
11309
|
-
var obj = options2.plainObjects ?
|
|
11409
|
+
var obj = options2.plainObjects ? { __proto__: null } : {};
|
|
11310
11410
|
var keys11 = Object.keys(tempObj);
|
|
11311
11411
|
for (var i11 = 0; i11 < keys11.length; ++i11) {
|
|
11312
11412
|
var key = keys11[i11];
|
|
@@ -11321,9 +11421,9 @@ var require_parse2 = __commonJS({
|
|
|
11321
11421
|
}
|
|
11322
11422
|
});
|
|
11323
11423
|
|
|
11324
|
-
// ../../../node_modules/.pnpm/qs@6.
|
|
11424
|
+
// ../../../node_modules/.pnpm/qs@6.14.1/node_modules/qs/lib/index.js
|
|
11325
11425
|
var require_lib2 = __commonJS({
|
|
11326
|
-
"../../../node_modules/.pnpm/qs@6.
|
|
11426
|
+
"../../../node_modules/.pnpm/qs@6.14.1/node_modules/qs/lib/index.js"(exports2, module2) {
|
|
11327
11427
|
"use strict";
|
|
11328
11428
|
var stringify5 = require_stringify();
|
|
11329
11429
|
var parse12 = require_parse2();
|
|
@@ -1413665,7 +1413765,7 @@ var AccessTokenPosthogManager = class {
|
|
|
1413665
1413765
|
properties: {
|
|
1413666
1413766
|
...event,
|
|
1413667
1413767
|
...event.properties,
|
|
1413668
|
-
version: "3.32.0-
|
|
1413768
|
+
version: "3.32.0-2-gb547ceed9c",
|
|
1413669
1413769
|
usingAccessToken: true
|
|
1413670
1413770
|
}
|
|
1413671
1413771
|
});
|
|
@@ -1413764,7 +1413864,7 @@ var UserPosthogManager = class {
|
|
|
1413764
1413864
|
distinctId: this.userId ?? await this.getPersistedDistinctId(),
|
|
1413765
1413865
|
event: "CLI",
|
|
1413766
1413866
|
properties: {
|
|
1413767
|
-
version: "3.32.0-
|
|
1413867
|
+
version: "3.32.0-2-gb547ceed9c",
|
|
1413768
1413868
|
...event,
|
|
1413769
1413869
|
...event.properties,
|
|
1413770
1413870
|
usingAccessToken: false,
|
|
@@ -1493832,7 +1493932,7 @@ var CliContext = class {
|
|
|
1493832
1493932
|
if (false) {
|
|
1493833
1493933
|
this.logger.error("CLI_VERSION is not defined");
|
|
1493834
1493934
|
}
|
|
1493835
|
-
return "3.32.0-
|
|
1493935
|
+
return "3.32.0-2-gb547ceed9c";
|
|
1493836
1493936
|
}
|
|
1493837
1493937
|
getCliName() {
|
|
1493838
1493938
|
if (false) {
|
|
@@ -1588692,7 +1588792,7 @@ var import_path35 = __toESM(require("path"), 1);
|
|
|
1588692
1588792
|
var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
|
|
1588693
1588793
|
var LOGS_FOLDER_NAME = "logs";
|
|
1588694
1588794
|
function getCliSource() {
|
|
1588695
|
-
const version6 = "3.32.0-
|
|
1588795
|
+
const version6 = "3.32.0-2-gb547ceed9c";
|
|
1588696
1588796
|
return `cli@${version6}`;
|
|
1588697
1588797
|
}
|
|
1588698
1588798
|
var DebugLogger = class {
|
package/package.json
CHANGED