@storm-software/git-tools 2.104.4 → 2.104.5
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/README.md +1 -1
- package/bin/{chunk-ENEDM37L.js → chunk-JT7CY52A.js} +18 -2
- package/bin/{chunk-LWOFPYON.cjs → chunk-WZ6ONU2G.cjs} +18 -2
- package/bin/git.cjs +587 -555
- package/bin/git.js +519 -487
- package/bin/post-checkout.cjs +9 -9
- package/bin/post-checkout.js +1 -1
- package/bin/post-commit.cjs +9 -9
- package/bin/post-commit.js +1 -1
- package/bin/post-merge.cjs +9 -9
- package/bin/post-merge.js +1 -1
- package/bin/pre-commit.cjs +9 -9
- package/bin/pre-commit.js +1 -1
- package/bin/pre-install.cjs +9 -9
- package/bin/pre-install.js +1 -1
- package/bin/pre-push.cjs +13 -13
- package/bin/pre-push.js +1 -1
- package/bin/prepare.cjs +7 -7
- package/bin/prepare.js +1 -1
- package/bin/version-warning.cjs +5 -5
- package/bin/version-warning.js +1 -1
- package/package.json +2 -2
package/bin/git.cjs
CHANGED
|
@@ -21,7 +21,7 @@ var _chunkFNIN2HF7cjs = require('./chunk-FNIN2HF7.cjs');
|
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
var
|
|
24
|
+
var _chunkWZ6ONU2Gcjs = require('./chunk-WZ6ONU2G.cjs');
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
var _chunkP2CHIYIKcjs = require('./chunk-P2CHIYIK.cjs');
|
|
@@ -3264,7 +3264,7 @@ var require_wrap_ansi = _chunkKK4YC43Scjs.__commonJS.call(void 0, {
|
|
|
3264
3264
|
_chunkKK4YC43Scjs.init_cjs_shims.call(void 0, );
|
|
3265
3265
|
var stringWidth = require_string_width();
|
|
3266
3266
|
var stripAnsi2 = require_strip_ansi();
|
|
3267
|
-
var ansiStyles2 =
|
|
3267
|
+
var ansiStyles2 = _chunkWZ6ONU2Gcjs.require_ansi_styles.call(void 0, );
|
|
3268
3268
|
var ESCAPES2 = /* @__PURE__ */ new Set([
|
|
3269
3269
|
"\x1B",
|
|
3270
3270
|
"\x9B"
|
|
@@ -3733,7 +3733,7 @@ var require_unicode = _chunkKK4YC43Scjs.__commonJS.call(void 0, {
|
|
|
3733
3733
|
"../../node_modules/.pnpm/chardet@0.7.0/node_modules/chardet/encoding/unicode.js"(exports, module) {
|
|
3734
3734
|
"use strict";
|
|
3735
3735
|
_chunkKK4YC43Scjs.init_cjs_shims.call(void 0, );
|
|
3736
|
-
var
|
|
3736
|
+
var util4 = _chunkKK4YC43Scjs.__require.call(void 0, "util");
|
|
3737
3737
|
var Match = require_match();
|
|
3738
3738
|
module.exports.UTF_16BE = function() {
|
|
3739
3739
|
this.name = function() {
|
|
@@ -3802,7 +3802,7 @@ var require_unicode = _chunkKK4YC43Scjs.__commonJS.call(void 0, {
|
|
|
3802
3802
|
return (input[index + 0] & 255) << 24 | (input[index + 1] & 255) << 16 | (input[index + 2] & 255) << 8 | input[index + 3] & 255;
|
|
3803
3803
|
};
|
|
3804
3804
|
};
|
|
3805
|
-
|
|
3805
|
+
util4.inherits(module.exports.UTF_32BE, UTF_32);
|
|
3806
3806
|
module.exports.UTF_32LE = function() {
|
|
3807
3807
|
this.name = function() {
|
|
3808
3808
|
return "UTF-32LE";
|
|
@@ -3811,7 +3811,7 @@ var require_unicode = _chunkKK4YC43Scjs.__commonJS.call(void 0, {
|
|
|
3811
3811
|
return (input[index + 3] & 255) << 24 | (input[index + 2] & 255) << 16 | (input[index + 1] & 255) << 8 | input[index + 0] & 255;
|
|
3812
3812
|
};
|
|
3813
3813
|
};
|
|
3814
|
-
|
|
3814
|
+
util4.inherits(module.exports.UTF_32LE, UTF_32);
|
|
3815
3815
|
}
|
|
3816
3816
|
});
|
|
3817
3817
|
|
|
@@ -3819,7 +3819,7 @@ var require_unicode = _chunkKK4YC43Scjs.__commonJS.call(void 0, {
|
|
|
3819
3819
|
var require_mbcs = _chunkKK4YC43Scjs.__commonJS.call(void 0, {
|
|
3820
3820
|
"../../node_modules/.pnpm/chardet@0.7.0/node_modules/chardet/encoding/mbcs.js"(exports, module) {
|
|
3821
3821
|
_chunkKK4YC43Scjs.init_cjs_shims.call(void 0, );
|
|
3822
|
-
var
|
|
3822
|
+
var util4 = _chunkKK4YC43Scjs.__require.call(void 0, "util");
|
|
3823
3823
|
var Match = require_match();
|
|
3824
3824
|
function binarySearch(arr, searchValue) {
|
|
3825
3825
|
function find2(arr2, searchValue2, left, right) {
|
|
@@ -3995,7 +3995,7 @@ var require_mbcs = _chunkKK4YC43Scjs.__commonJS.call(void 0, {
|
|
|
3995
3995
|
return true;
|
|
3996
3996
|
};
|
|
3997
3997
|
};
|
|
3998
|
-
|
|
3998
|
+
util4.inherits(module.exports.sjis, mbcs);
|
|
3999
3999
|
module.exports.big5 = function() {
|
|
4000
4000
|
this.name = function() {
|
|
4001
4001
|
return "Big5";
|
|
@@ -4114,7 +4114,7 @@ var require_mbcs = _chunkKK4YC43Scjs.__commonJS.call(void 0, {
|
|
|
4114
4114
|
return true;
|
|
4115
4115
|
};
|
|
4116
4116
|
};
|
|
4117
|
-
|
|
4117
|
+
util4.inherits(module.exports.big5, mbcs);
|
|
4118
4118
|
function eucNextChar(iter, det) {
|
|
4119
4119
|
iter.index = iter.nextIndex;
|
|
4120
4120
|
iter.error = false;
|
|
@@ -4266,7 +4266,7 @@ var require_mbcs = _chunkKK4YC43Scjs.__commonJS.call(void 0, {
|
|
|
4266
4266
|
];
|
|
4267
4267
|
this.nextChar = eucNextChar;
|
|
4268
4268
|
};
|
|
4269
|
-
|
|
4269
|
+
util4.inherits(module.exports.euc_jp, mbcs);
|
|
4270
4270
|
module.exports.euc_kr = function() {
|
|
4271
4271
|
this.name = function() {
|
|
4272
4272
|
return "EUC-KR";
|
|
@@ -4378,7 +4378,7 @@ var require_mbcs = _chunkKK4YC43Scjs.__commonJS.call(void 0, {
|
|
|
4378
4378
|
];
|
|
4379
4379
|
this.nextChar = eucNextChar;
|
|
4380
4380
|
};
|
|
4381
|
-
|
|
4381
|
+
util4.inherits(module.exports.euc_kr, mbcs);
|
|
4382
4382
|
module.exports.gb_18030 = function() {
|
|
4383
4383
|
this.name = function() {
|
|
4384
4384
|
return "GB18030";
|
|
@@ -4527,7 +4527,7 @@ var require_mbcs = _chunkKK4YC43Scjs.__commonJS.call(void 0, {
|
|
|
4527
4527
|
54992
|
|
4528
4528
|
];
|
|
4529
4529
|
};
|
|
4530
|
-
|
|
4530
|
+
util4.inherits(module.exports.gb_18030, mbcs);
|
|
4531
4531
|
}
|
|
4532
4532
|
});
|
|
4533
4533
|
|
|
@@ -4535,7 +4535,7 @@ var require_mbcs = _chunkKK4YC43Scjs.__commonJS.call(void 0, {
|
|
|
4535
4535
|
var require_sbcs = _chunkKK4YC43Scjs.__commonJS.call(void 0, {
|
|
4536
4536
|
"../../node_modules/.pnpm/chardet@0.7.0/node_modules/chardet/encoding/sbcs.js"(exports, module) {
|
|
4537
4537
|
_chunkKK4YC43Scjs.init_cjs_shims.call(void 0, );
|
|
4538
|
-
var
|
|
4538
|
+
var util4 = _chunkKK4YC43Scjs.__require.call(void 0, "util");
|
|
4539
4539
|
var Match = require_match();
|
|
4540
4540
|
function NGramParser(theNgramList, theByteMap) {
|
|
4541
4541
|
var N_GRAM_MASK = 16777215;
|
|
@@ -5555,7 +5555,7 @@ var require_sbcs = _chunkKK4YC43Scjs.__commonJS.call(void 0, {
|
|
|
5555
5555
|
return det && det.fC1Bytes ? "windows-1252" : "ISO-8859-1";
|
|
5556
5556
|
};
|
|
5557
5557
|
};
|
|
5558
|
-
|
|
5558
|
+
util4.inherits(module.exports.ISO_8859_1, sbcs);
|
|
5559
5559
|
module.exports.ISO_8859_2 = function() {
|
|
5560
5560
|
this.byteMap = function() {
|
|
5561
5561
|
return [
|
|
@@ -6089,7 +6089,7 @@ var require_sbcs = _chunkKK4YC43Scjs.__commonJS.call(void 0, {
|
|
|
6089
6089
|
return det && det.fC1Bytes ? "windows-1250" : "ISO-8859-2";
|
|
6090
6090
|
};
|
|
6091
6091
|
};
|
|
6092
|
-
|
|
6092
|
+
util4.inherits(module.exports.ISO_8859_2, sbcs);
|
|
6093
6093
|
module.exports.ISO_8859_5 = function() {
|
|
6094
6094
|
this.byteMap = function() {
|
|
6095
6095
|
return [
|
|
@@ -6426,7 +6426,7 @@ var require_sbcs = _chunkKK4YC43Scjs.__commonJS.call(void 0, {
|
|
|
6426
6426
|
return "ru";
|
|
6427
6427
|
};
|
|
6428
6428
|
};
|
|
6429
|
-
|
|
6429
|
+
util4.inherits(module.exports.ISO_8859_5, sbcs);
|
|
6430
6430
|
module.exports.ISO_8859_6 = function() {
|
|
6431
6431
|
this.byteMap = function() {
|
|
6432
6432
|
return [
|
|
@@ -6763,7 +6763,7 @@ var require_sbcs = _chunkKK4YC43Scjs.__commonJS.call(void 0, {
|
|
|
6763
6763
|
return "ar";
|
|
6764
6764
|
};
|
|
6765
6765
|
};
|
|
6766
|
-
|
|
6766
|
+
util4.inherits(module.exports.ISO_8859_6, sbcs);
|
|
6767
6767
|
module.exports.ISO_8859_7 = function() {
|
|
6768
6768
|
this.byteMap = function() {
|
|
6769
6769
|
return [
|
|
@@ -7100,7 +7100,7 @@ var require_sbcs = _chunkKK4YC43Scjs.__commonJS.call(void 0, {
|
|
|
7100
7100
|
return "el";
|
|
7101
7101
|
};
|
|
7102
7102
|
};
|
|
7103
|
-
|
|
7103
|
+
util4.inherits(module.exports.ISO_8859_7, sbcs);
|
|
7104
7104
|
module.exports.ISO_8859_8 = function() {
|
|
7105
7105
|
this.byteMap = function() {
|
|
7106
7106
|
return [
|
|
@@ -7505,7 +7505,7 @@ var require_sbcs = _chunkKK4YC43Scjs.__commonJS.call(void 0, {
|
|
|
7505
7505
|
return "he";
|
|
7506
7506
|
};
|
|
7507
7507
|
};
|
|
7508
|
-
|
|
7508
|
+
util4.inherits(module.exports.ISO_8859_8, sbcs);
|
|
7509
7509
|
module.exports.ISO_8859_9 = function() {
|
|
7510
7510
|
this.byteMap = function() {
|
|
7511
7511
|
return [
|
|
@@ -7842,7 +7842,7 @@ var require_sbcs = _chunkKK4YC43Scjs.__commonJS.call(void 0, {
|
|
|
7842
7842
|
return "tr";
|
|
7843
7843
|
};
|
|
7844
7844
|
};
|
|
7845
|
-
|
|
7845
|
+
util4.inherits(module.exports.ISO_8859_9, sbcs);
|
|
7846
7846
|
module.exports.windows_1251 = function() {
|
|
7847
7847
|
this.byteMap = function() {
|
|
7848
7848
|
return [
|
|
@@ -8179,7 +8179,7 @@ var require_sbcs = _chunkKK4YC43Scjs.__commonJS.call(void 0, {
|
|
|
8179
8179
|
return "ru";
|
|
8180
8180
|
};
|
|
8181
8181
|
};
|
|
8182
|
-
|
|
8182
|
+
util4.inherits(module.exports.windows_1251, sbcs);
|
|
8183
8183
|
module.exports.windows_1256 = function() {
|
|
8184
8184
|
this.byteMap = function() {
|
|
8185
8185
|
return [
|
|
@@ -8516,7 +8516,7 @@ var require_sbcs = _chunkKK4YC43Scjs.__commonJS.call(void 0, {
|
|
|
8516
8516
|
return "ar";
|
|
8517
8517
|
};
|
|
8518
8518
|
};
|
|
8519
|
-
|
|
8519
|
+
util4.inherits(module.exports.windows_1256, sbcs);
|
|
8520
8520
|
module.exports.KOI8_R = function() {
|
|
8521
8521
|
this.byteMap = function() {
|
|
8522
8522
|
return [
|
|
@@ -8853,7 +8853,7 @@ var require_sbcs = _chunkKK4YC43Scjs.__commonJS.call(void 0, {
|
|
|
8853
8853
|
return "ru";
|
|
8854
8854
|
};
|
|
8855
8855
|
};
|
|
8856
|
-
|
|
8856
|
+
util4.inherits(module.exports.KOI8_R, sbcs);
|
|
8857
8857
|
}
|
|
8858
8858
|
});
|
|
8859
8859
|
|
|
@@ -8861,7 +8861,7 @@ var require_sbcs = _chunkKK4YC43Scjs.__commonJS.call(void 0, {
|
|
|
8861
8861
|
var require_iso2022 = _chunkKK4YC43Scjs.__commonJS.call(void 0, {
|
|
8862
8862
|
"../../node_modules/.pnpm/chardet@0.7.0/node_modules/chardet/encoding/iso2022.js"(exports, module) {
|
|
8863
8863
|
_chunkKK4YC43Scjs.init_cjs_shims.call(void 0, );
|
|
8864
|
-
var
|
|
8864
|
+
var util4 = _chunkKK4YC43Scjs.__require.call(void 0, "util");
|
|
8865
8865
|
var Match = require_match();
|
|
8866
8866
|
function ISO_2022() {
|
|
8867
8867
|
}
|
|
@@ -8964,7 +8964,7 @@ var require_iso2022 = _chunkKK4YC43Scjs.__commonJS.call(void 0, {
|
|
|
8964
8964
|
// ISO 8859-7
|
|
8965
8965
|
];
|
|
8966
8966
|
};
|
|
8967
|
-
|
|
8967
|
+
util4.inherits(module.exports.ISO_2022_JP, ISO_2022);
|
|
8968
8968
|
module.exports.ISO_2022_KR = function() {
|
|
8969
8969
|
this.name = function() {
|
|
8970
8970
|
return "ISO-2022-KR";
|
|
@@ -8978,7 +8978,7 @@ var require_iso2022 = _chunkKK4YC43Scjs.__commonJS.call(void 0, {
|
|
|
8978
8978
|
]
|
|
8979
8979
|
];
|
|
8980
8980
|
};
|
|
8981
|
-
|
|
8981
|
+
util4.inherits(module.exports.ISO_2022_KR, ISO_2022);
|
|
8982
8982
|
module.exports.ISO_2022_CN = function() {
|
|
8983
8983
|
this.name = function() {
|
|
8984
8984
|
return "ISO-2022-CN";
|
|
@@ -9049,7 +9049,7 @@ var require_iso2022 = _chunkKK4YC43Scjs.__commonJS.call(void 0, {
|
|
|
9049
9049
|
// SS3
|
|
9050
9050
|
];
|
|
9051
9051
|
};
|
|
9052
|
-
|
|
9052
|
+
util4.inherits(module.exports.ISO_2022_CN, ISO_2022);
|
|
9053
9053
|
}
|
|
9054
9054
|
});
|
|
9055
9055
|
|
|
@@ -12635,7 +12635,7 @@ var require_tmp = _chunkKK4YC43Scjs.__commonJS.call(void 0, {
|
|
|
12635
12635
|
_chunkKK4YC43Scjs.init_cjs_shims.call(void 0, );
|
|
12636
12636
|
var fs2 = _chunkKK4YC43Scjs.__require.call(void 0, "fs");
|
|
12637
12637
|
var path2 = _chunkKK4YC43Scjs.__require.call(void 0, "path");
|
|
12638
|
-
var
|
|
12638
|
+
var crypto2 = _chunkKK4YC43Scjs.__require.call(void 0, "crypto");
|
|
12639
12639
|
var osTmpDir = require_os_tmpdir();
|
|
12640
12640
|
var _c = process.binding("constants");
|
|
12641
12641
|
var tmpDir = osTmpDir();
|
|
@@ -12653,9 +12653,9 @@ var require_tmp = _chunkKK4YC43Scjs.__commonJS.call(void 0, {
|
|
|
12653
12653
|
function _randomChars(howMany) {
|
|
12654
12654
|
var value = [], rnd = null;
|
|
12655
12655
|
try {
|
|
12656
|
-
rnd =
|
|
12656
|
+
rnd = crypto2.randomBytes(howMany);
|
|
12657
12657
|
} catch (e) {
|
|
12658
|
-
rnd =
|
|
12658
|
+
rnd = crypto2.pseudoRandomBytes(howMany);
|
|
12659
12659
|
}
|
|
12660
12660
|
for (var i = 0; i < howMany; i++) {
|
|
12661
12661
|
value.push(RANDOM_CHARS[rnd[i] % RANDOM_CHARS.length]);
|
|
@@ -13350,7 +13350,7 @@ var require_main = _chunkKK4YC43Scjs.__commonJS.call(void 0, {
|
|
|
13350
13350
|
var require_shell_escape = _chunkKK4YC43Scjs.__commonJS.call(void 0, {
|
|
13351
13351
|
"../../node_modules/.pnpm/any-shell-escape@0.1.1/node_modules/any-shell-escape/shell-escape.js"(exports, module) {
|
|
13352
13352
|
_chunkKK4YC43Scjs.init_cjs_shims.call(void 0, );
|
|
13353
|
-
var
|
|
13353
|
+
var util4 = _chunkKK4YC43Scjs.__require.call(void 0, "util");
|
|
13354
13354
|
var winCmd = /^win/.test(process.platform);
|
|
13355
13355
|
var escapePath;
|
|
13356
13356
|
function escapePathSh(path2) {
|
|
@@ -15588,14 +15588,14 @@ var require_node = _chunkKK4YC43Scjs.__commonJS.call(void 0, {
|
|
|
15588
15588
|
"../../node_modules/.pnpm/debug@4.4.0/node_modules/debug/src/node.js"(exports, module) {
|
|
15589
15589
|
_chunkKK4YC43Scjs.init_cjs_shims.call(void 0, );
|
|
15590
15590
|
var tty2 = _chunkKK4YC43Scjs.__require.call(void 0, "tty");
|
|
15591
|
-
var
|
|
15591
|
+
var util4 = _chunkKK4YC43Scjs.__require.call(void 0, "util");
|
|
15592
15592
|
exports.init = init;
|
|
15593
15593
|
exports.log = log;
|
|
15594
15594
|
exports.formatArgs = formatArgs;
|
|
15595
15595
|
exports.save = save;
|
|
15596
15596
|
exports.load = load2;
|
|
15597
15597
|
exports.useColors = useColors;
|
|
15598
|
-
exports.destroy =
|
|
15598
|
+
exports.destroy = util4.deprecate(() => {
|
|
15599
15599
|
}, "Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");
|
|
15600
15600
|
exports.colors = [
|
|
15601
15601
|
6,
|
|
@@ -15606,7 +15606,7 @@ var require_node = _chunkKK4YC43Scjs.__commonJS.call(void 0, {
|
|
|
15606
15606
|
1
|
|
15607
15607
|
];
|
|
15608
15608
|
try {
|
|
15609
|
-
const supportsColor2 =
|
|
15609
|
+
const supportsColor2 = _chunkWZ6ONU2Gcjs.require_supports_color.call(void 0, );
|
|
15610
15610
|
if (supportsColor2 && (supportsColor2.stderr || supportsColor2).level >= 2) {
|
|
15611
15611
|
exports.colors = [
|
|
15612
15612
|
20,
|
|
@@ -15733,7 +15733,7 @@ var require_node = _chunkKK4YC43Scjs.__commonJS.call(void 0, {
|
|
|
15733
15733
|
}
|
|
15734
15734
|
_chunkKK4YC43Scjs.__name.call(void 0, getDate, "getDate");
|
|
15735
15735
|
function log(...args) {
|
|
15736
|
-
return process.stderr.write(
|
|
15736
|
+
return process.stderr.write(util4.formatWithOptions(exports.inspectOpts, ...args) + "\n");
|
|
15737
15737
|
}
|
|
15738
15738
|
_chunkKK4YC43Scjs.__name.call(void 0, log, "log");
|
|
15739
15739
|
function save(namespaces) {
|
|
@@ -15760,11 +15760,11 @@ var require_node = _chunkKK4YC43Scjs.__commonJS.call(void 0, {
|
|
|
15760
15760
|
var { formatters } = module.exports;
|
|
15761
15761
|
formatters.o = function(v) {
|
|
15762
15762
|
this.inspectOpts.colors = this.useColors;
|
|
15763
|
-
return
|
|
15763
|
+
return util4.inspect(v, this.inspectOpts).split("\n").map((str) => str.trim()).join(" ");
|
|
15764
15764
|
};
|
|
15765
15765
|
formatters.O = function(v) {
|
|
15766
15766
|
this.inspectOpts.colors = this.useColors;
|
|
15767
|
-
return
|
|
15767
|
+
return util4.inspect(v, this.inspectOpts);
|
|
15768
15768
|
};
|
|
15769
15769
|
}
|
|
15770
15770
|
});
|
|
@@ -16766,28 +16766,28 @@ var require_convert = _chunkKK4YC43Scjs.__commonJS.call(void 0, {
|
|
|
16766
16766
|
"use strict";
|
|
16767
16767
|
_chunkKK4YC43Scjs.init_cjs_shims.call(void 0, );
|
|
16768
16768
|
module.exports = convert;
|
|
16769
|
-
function convert(
|
|
16770
|
-
if (
|
|
16769
|
+
function convert(test2) {
|
|
16770
|
+
if (test2 == null) {
|
|
16771
16771
|
return ok;
|
|
16772
16772
|
}
|
|
16773
|
-
if (typeof
|
|
16774
|
-
return typeFactory(
|
|
16773
|
+
if (typeof test2 === "string") {
|
|
16774
|
+
return typeFactory(test2);
|
|
16775
16775
|
}
|
|
16776
|
-
if (typeof
|
|
16777
|
-
return "length" in
|
|
16776
|
+
if (typeof test2 === "object") {
|
|
16777
|
+
return "length" in test2 ? anyFactory(test2) : allFactory(test2);
|
|
16778
16778
|
}
|
|
16779
|
-
if (typeof
|
|
16780
|
-
return
|
|
16779
|
+
if (typeof test2 === "function") {
|
|
16780
|
+
return test2;
|
|
16781
16781
|
}
|
|
16782
16782
|
throw new Error("Expected function, string, or object as test");
|
|
16783
16783
|
}
|
|
16784
16784
|
_chunkKK4YC43Scjs.__name.call(void 0, convert, "convert");
|
|
16785
|
-
function allFactory(
|
|
16785
|
+
function allFactory(test2) {
|
|
16786
16786
|
return all3;
|
|
16787
16787
|
function all3(node) {
|
|
16788
16788
|
var key;
|
|
16789
|
-
for (key in
|
|
16790
|
-
if (node[key] !==
|
|
16789
|
+
for (key in test2) {
|
|
16790
|
+
if (node[key] !== test2[key]) return false;
|
|
16791
16791
|
}
|
|
16792
16792
|
return true;
|
|
16793
16793
|
}
|
|
@@ -16813,10 +16813,10 @@ var require_convert = _chunkKK4YC43Scjs.__commonJS.call(void 0, {
|
|
|
16813
16813
|
_chunkKK4YC43Scjs.__name.call(void 0, any, "any");
|
|
16814
16814
|
}
|
|
16815
16815
|
_chunkKK4YC43Scjs.__name.call(void 0, anyFactory, "anyFactory");
|
|
16816
|
-
function typeFactory(
|
|
16816
|
+
function typeFactory(test2) {
|
|
16817
16817
|
return type;
|
|
16818
16818
|
function type(node) {
|
|
16819
|
-
return Boolean(node && node.type ===
|
|
16819
|
+
return Boolean(node && node.type === test2);
|
|
16820
16820
|
}
|
|
16821
16821
|
_chunkKK4YC43Scjs.__name.call(void 0, type, "type");
|
|
16822
16822
|
}
|
|
@@ -16854,15 +16854,15 @@ var require_unist_util_visit_parents = _chunkKK4YC43Scjs.__commonJS.call(void 0,
|
|
|
16854
16854
|
visitParents.CONTINUE = CONTINUE;
|
|
16855
16855
|
visitParents.SKIP = SKIP;
|
|
16856
16856
|
visitParents.EXIT = EXIT;
|
|
16857
|
-
function visitParents(tree,
|
|
16857
|
+
function visitParents(tree, test2, visitor, reverse) {
|
|
16858
16858
|
var step;
|
|
16859
16859
|
var is;
|
|
16860
|
-
if (typeof
|
|
16860
|
+
if (typeof test2 === "function" && typeof visitor !== "function") {
|
|
16861
16861
|
reverse = visitor;
|
|
16862
|
-
visitor =
|
|
16863
|
-
|
|
16862
|
+
visitor = test2;
|
|
16863
|
+
test2 = null;
|
|
16864
16864
|
}
|
|
16865
|
-
is = convert(
|
|
16865
|
+
is = convert(test2);
|
|
16866
16866
|
step = reverse ? -1 : 1;
|
|
16867
16867
|
factory(tree, null, [])();
|
|
16868
16868
|
function factory(node, index, parents) {
|
|
@@ -16878,7 +16878,7 @@ var require_unist_util_visit_parents = _chunkKK4YC43Scjs.__commonJS.call(void 0,
|
|
|
16878
16878
|
var result2 = [];
|
|
16879
16879
|
var subresult;
|
|
16880
16880
|
var offset;
|
|
16881
|
-
if (!
|
|
16881
|
+
if (!test2 || is(node, index, parents[parents.length - 1] || null)) {
|
|
16882
16882
|
result2 = toResult(visitor(node, parents));
|
|
16883
16883
|
if (result2[0] === EXIT) {
|
|
16884
16884
|
return result2;
|
|
@@ -23724,7 +23724,7 @@ var require_character_reference = _chunkKK4YC43Scjs.__commonJS.call(void 0, {
|
|
|
23724
23724
|
var self2 = this;
|
|
23725
23725
|
var size2 = 0;
|
|
23726
23726
|
var max2;
|
|
23727
|
-
var
|
|
23727
|
+
var test2;
|
|
23728
23728
|
return start2;
|
|
23729
23729
|
function start2(code) {
|
|
23730
23730
|
effects.enter("characterReference");
|
|
@@ -23743,7 +23743,7 @@ var require_character_reference = _chunkKK4YC43Scjs.__commonJS.call(void 0, {
|
|
|
23743
23743
|
}
|
|
23744
23744
|
effects.enter("characterReferenceValue");
|
|
23745
23745
|
max2 = 31;
|
|
23746
|
-
|
|
23746
|
+
test2 = asciiAlphanumeric;
|
|
23747
23747
|
return value(code);
|
|
23748
23748
|
}
|
|
23749
23749
|
_chunkKK4YC43Scjs.__name.call(void 0, open, "open");
|
|
@@ -23754,12 +23754,12 @@ var require_character_reference = _chunkKK4YC43Scjs.__commonJS.call(void 0, {
|
|
|
23754
23754
|
effects.exit("characterReferenceMarkerHexadecimal");
|
|
23755
23755
|
effects.enter("characterReferenceValue");
|
|
23756
23756
|
max2 = 6;
|
|
23757
|
-
|
|
23757
|
+
test2 = asciiHexDigit;
|
|
23758
23758
|
return value;
|
|
23759
23759
|
}
|
|
23760
23760
|
effects.enter("characterReferenceValue");
|
|
23761
23761
|
max2 = 7;
|
|
23762
|
-
|
|
23762
|
+
test2 = asciiDigit;
|
|
23763
23763
|
return value(code);
|
|
23764
23764
|
}
|
|
23765
23765
|
_chunkKK4YC43Scjs.__name.call(void 0, numeric, "numeric");
|
|
@@ -23767,7 +23767,7 @@ var require_character_reference = _chunkKK4YC43Scjs.__commonJS.call(void 0, {
|
|
|
23767
23767
|
var token;
|
|
23768
23768
|
if (code === 59 && size2) {
|
|
23769
23769
|
token = effects.exit("characterReferenceValue");
|
|
23770
|
-
if (
|
|
23770
|
+
if (test2 === asciiAlphanumeric && !decodeEntity__default["default"](self2.sliceSerialize(token))) {
|
|
23771
23771
|
return nok(code);
|
|
23772
23772
|
}
|
|
23773
23773
|
effects.enter("characterReferenceMarker");
|
|
@@ -23776,7 +23776,7 @@ var require_character_reference = _chunkKK4YC43Scjs.__commonJS.call(void 0, {
|
|
|
23776
23776
|
effects.exit("characterReference");
|
|
23777
23777
|
return ok;
|
|
23778
23778
|
}
|
|
23779
|
-
if (
|
|
23779
|
+
if (test2(code) && size2++ < max2) {
|
|
23780
23780
|
effects.consume(code);
|
|
23781
23781
|
return value;
|
|
23782
23782
|
}
|
|
@@ -35838,7 +35838,7 @@ var require_tmp2 = _chunkKK4YC43Scjs.__commonJS.call(void 0, {
|
|
|
35838
35838
|
var fs2 = _chunkKK4YC43Scjs.__require.call(void 0, "fs");
|
|
35839
35839
|
var os2 = _chunkKK4YC43Scjs.__require.call(void 0, "os");
|
|
35840
35840
|
var path2 = _chunkKK4YC43Scjs.__require.call(void 0, "path");
|
|
35841
|
-
var
|
|
35841
|
+
var crypto2 = _chunkKK4YC43Scjs.__require.call(void 0, "crypto");
|
|
35842
35842
|
var _c = {
|
|
35843
35843
|
fs: fs2.constants,
|
|
35844
35844
|
os: os2.constants
|
|
@@ -36046,9 +36046,9 @@ var require_tmp2 = _chunkKK4YC43Scjs.__commonJS.call(void 0, {
|
|
|
36046
36046
|
function _randomChars(howMany) {
|
|
36047
36047
|
let value = [], rnd = null;
|
|
36048
36048
|
try {
|
|
36049
|
-
rnd =
|
|
36049
|
+
rnd = crypto2.randomBytes(howMany);
|
|
36050
36050
|
} catch (e) {
|
|
36051
|
-
rnd =
|
|
36051
|
+
rnd = crypto2.pseudoRandomBytes(howMany);
|
|
36052
36052
|
}
|
|
36053
36053
|
for (var i = 0; i < howMany; i++) {
|
|
36054
36054
|
value.push(RANDOM_CHARS[rnd[i] % RANDOM_CHARS.length]);
|
|
@@ -36190,7 +36190,7 @@ var require_delayed_stream = _chunkKK4YC43Scjs.__commonJS.call(void 0, {
|
|
|
36190
36190
|
"../../node_modules/.pnpm/delayed-stream@1.0.0/node_modules/delayed-stream/lib/delayed_stream.js"(exports, module) {
|
|
36191
36191
|
_chunkKK4YC43Scjs.init_cjs_shims.call(void 0, );
|
|
36192
36192
|
var Stream = _chunkKK4YC43Scjs.__require.call(void 0, "stream").Stream;
|
|
36193
|
-
var
|
|
36193
|
+
var util4 = _chunkKK4YC43Scjs.__require.call(void 0, "util");
|
|
36194
36194
|
module.exports = DelayedStream;
|
|
36195
36195
|
function DelayedStream() {
|
|
36196
36196
|
this.source = null;
|
|
@@ -36202,7 +36202,7 @@ var require_delayed_stream = _chunkKK4YC43Scjs.__commonJS.call(void 0, {
|
|
|
36202
36202
|
this._bufferedEvents = [];
|
|
36203
36203
|
}
|
|
36204
36204
|
_chunkKK4YC43Scjs.__name.call(void 0, DelayedStream, "DelayedStream");
|
|
36205
|
-
|
|
36205
|
+
util4.inherits(DelayedStream, Stream);
|
|
36206
36206
|
DelayedStream.create = function(source, options) {
|
|
36207
36207
|
var delayedStream = new this();
|
|
36208
36208
|
options = options || {};
|
|
@@ -36282,7 +36282,7 @@ var require_delayed_stream = _chunkKK4YC43Scjs.__commonJS.call(void 0, {
|
|
|
36282
36282
|
var require_combined_stream = _chunkKK4YC43Scjs.__commonJS.call(void 0, {
|
|
36283
36283
|
"../../node_modules/.pnpm/combined-stream@1.0.8/node_modules/combined-stream/lib/combined_stream.js"(exports, module) {
|
|
36284
36284
|
_chunkKK4YC43Scjs.init_cjs_shims.call(void 0, );
|
|
36285
|
-
var
|
|
36285
|
+
var util4 = _chunkKK4YC43Scjs.__require.call(void 0, "util");
|
|
36286
36286
|
var Stream = _chunkKK4YC43Scjs.__require.call(void 0, "stream").Stream;
|
|
36287
36287
|
var DelayedStream = require_delayed_stream();
|
|
36288
36288
|
module.exports = CombinedStream;
|
|
@@ -36299,7 +36299,7 @@ var require_combined_stream = _chunkKK4YC43Scjs.__commonJS.call(void 0, {
|
|
|
36299
36299
|
this._pendingNext = false;
|
|
36300
36300
|
}
|
|
36301
36301
|
_chunkKK4YC43Scjs.__name.call(void 0, CombinedStream, "CombinedStream");
|
|
36302
|
-
|
|
36302
|
+
util4.inherits(CombinedStream, Stream);
|
|
36303
36303
|
CombinedStream.create = function(options) {
|
|
36304
36304
|
var combinedStream = new this();
|
|
36305
36305
|
options = options || {};
|
|
@@ -46381,7 +46381,7 @@ var require_form_data = _chunkKK4YC43Scjs.__commonJS.call(void 0, {
|
|
|
46381
46381
|
"../../node_modules/.pnpm/form-data@4.0.2/node_modules/form-data/lib/form_data.js"(exports, module) {
|
|
46382
46382
|
_chunkKK4YC43Scjs.init_cjs_shims.call(void 0, );
|
|
46383
46383
|
var CombinedStream = require_combined_stream();
|
|
46384
|
-
var
|
|
46384
|
+
var util4 = _chunkKK4YC43Scjs.__require.call(void 0, "util");
|
|
46385
46385
|
var path2 = _chunkKK4YC43Scjs.__require.call(void 0, "path");
|
|
46386
46386
|
var http2 = _chunkKK4YC43Scjs.__require.call(void 0, "http");
|
|
46387
46387
|
var https2 = _chunkKK4YC43Scjs.__require.call(void 0, "https");
|
|
@@ -46393,7 +46393,7 @@ var require_form_data = _chunkKK4YC43Scjs.__commonJS.call(void 0, {
|
|
|
46393
46393
|
var setToStringTag = require_es_set_tostringtag();
|
|
46394
46394
|
var populate = require_populate();
|
|
46395
46395
|
module.exports = FormData3;
|
|
46396
|
-
|
|
46396
|
+
util4.inherits(FormData3, CombinedStream);
|
|
46397
46397
|
function FormData3(options) {
|
|
46398
46398
|
if (!(this instanceof FormData3)) {
|
|
46399
46399
|
return new FormData3(options);
|
|
@@ -46733,7 +46733,7 @@ var require_proxy_from_env = _chunkKK4YC43Scjs.__commonJS.call(void 0, {
|
|
|
46733
46733
|
var stringEndsWith = String.prototype.endsWith || function(s) {
|
|
46734
46734
|
return s.length <= this.length && this.indexOf(s, this.length - s.length) !== -1;
|
|
46735
46735
|
};
|
|
46736
|
-
function
|
|
46736
|
+
function getProxyForUrl(url2) {
|
|
46737
46737
|
var parsedUrl = typeof url2 === "string" ? parseUrl(url2) : url2 || {};
|
|
46738
46738
|
var proto2 = parsedUrl.protocol;
|
|
46739
46739
|
var hostname = parsedUrl.host;
|
|
@@ -46753,7 +46753,7 @@ var require_proxy_from_env = _chunkKK4YC43Scjs.__commonJS.call(void 0, {
|
|
|
46753
46753
|
}
|
|
46754
46754
|
return proxy;
|
|
46755
46755
|
}
|
|
46756
|
-
_chunkKK4YC43Scjs.__name.call(void 0,
|
|
46756
|
+
_chunkKK4YC43Scjs.__name.call(void 0, getProxyForUrl, "getProxyForUrl");
|
|
46757
46757
|
function shouldProxy(hostname, port) {
|
|
46758
46758
|
var NO_PROXY = (getEnv("npm_config_no_proxy") || getEnv("no_proxy")).toLowerCase();
|
|
46759
46759
|
if (!NO_PROXY) {
|
|
@@ -46786,7 +46786,7 @@ var require_proxy_from_env = _chunkKK4YC43Scjs.__commonJS.call(void 0, {
|
|
|
46786
46786
|
return process.env[key.toLowerCase()] || process.env[key.toUpperCase()] || "";
|
|
46787
46787
|
}
|
|
46788
46788
|
_chunkKK4YC43Scjs.__name.call(void 0, getEnv, "getEnv");
|
|
46789
|
-
exports.getProxyForUrl =
|
|
46789
|
+
exports.getProxyForUrl = getProxyForUrl;
|
|
46790
46790
|
}
|
|
46791
46791
|
});
|
|
46792
46792
|
|
|
@@ -67097,12 +67097,12 @@ var getRuleFromScopeEnum = /* @__PURE__ */ _chunkKK4YC43Scjs.__name.call(void 0,
|
|
|
67097
67097
|
// src/commitlint/run.ts
|
|
67098
67098
|
var COMMIT_EDITMSG_PATH = ".git/COMMIT_EDITMSG";
|
|
67099
67099
|
var runCommitLint = /* @__PURE__ */ _chunkKK4YC43Scjs.__name.call(void 0, async (config, params) => {
|
|
67100
|
-
|
|
67100
|
+
_chunkWZ6ONU2Gcjs.writeInfo.call(void 0, "\u{1F4DD} Validating git commit message aligns with the Storm Software specification", config);
|
|
67101
67101
|
let commitMessage;
|
|
67102
67102
|
if (params.message && params.message !== COMMIT_EDITMSG_PATH) {
|
|
67103
67103
|
commitMessage = params.message;
|
|
67104
67104
|
} else {
|
|
67105
|
-
const commitFile =
|
|
67105
|
+
const commitFile = _chunkWZ6ONU2Gcjs.joinPaths.call(void 0, config.workspaceRoot, params.file || params.message || COMMIT_EDITMSG_PATH);
|
|
67106
67106
|
if (_fs.existsSync.call(void 0, commitFile)) {
|
|
67107
67107
|
commitMessage = await _asyncOptionalChain([(await _promises.readFile.call(void 0, commitFile, "utf8")), 'optionalAccess', async _81 => _81.trim, 'call', async _82 => _82()]);
|
|
67108
67108
|
}
|
|
@@ -67114,19 +67114,19 @@ var runCommitLint = /* @__PURE__ */ _chunkKK4YC43Scjs.__name.call(void 0, async
|
|
|
67114
67114
|
if (upstreamRemote) {
|
|
67115
67115
|
const upstreamRemoteIdentifier = _optionalChain([upstreamRemote, 'access', _83 => _83.split, 'call', _84 => _84(" "), 'access', _85 => _85[0], 'optionalAccess', _86 => _86.trim, 'call', _87 => _87()]);
|
|
67116
67116
|
if (!upstreamRemoteIdentifier) {
|
|
67117
|
-
|
|
67117
|
+
_chunkWZ6ONU2Gcjs.writeWarning.call(void 0, `No upstream remote found for ${config.name}.git. Skipping comparison.`, config);
|
|
67118
67118
|
return;
|
|
67119
67119
|
}
|
|
67120
|
-
|
|
67120
|
+
_chunkWZ6ONU2Gcjs.writeDebug.call(void 0, `Comparing against remote ${upstreamRemoteIdentifier}`);
|
|
67121
67121
|
const currentBranch = _child_process2.default.execSync("git branch --show-current").toString().trim();
|
|
67122
67122
|
gitLogCmd = gitLogCmd + ` ${currentBranch} ^${upstreamRemoteIdentifier}/main`;
|
|
67123
67123
|
} else {
|
|
67124
|
-
|
|
67124
|
+
_chunkWZ6ONU2Gcjs.writeWarning.call(void 0, `No upstream remote found for ${config.name}.git. Skipping comparison against upstream main.`, config);
|
|
67125
67125
|
return;
|
|
67126
67126
|
}
|
|
67127
67127
|
commitMessage = _child_process2.default.execSync(gitLogCmd).toString().trim();
|
|
67128
67128
|
if (!commitMessage) {
|
|
67129
|
-
|
|
67129
|
+
_chunkWZ6ONU2Gcjs.writeWarning.call(void 0, "No commits found. Skipping commit message validation.", config);
|
|
67130
67130
|
return;
|
|
67131
67131
|
}
|
|
67132
67132
|
}
|
|
@@ -67144,7 +67144,7 @@ var runCommitLint = /* @__PURE__ */ _chunkKK4YC43Scjs.__name.call(void 0, async
|
|
|
67144
67144
|
helpUrl: commitlintConfig.helpUrl
|
|
67145
67145
|
});
|
|
67146
67146
|
if (!matchCommit || report.errors.length || report.warnings.length) {
|
|
67147
|
-
|
|
67147
|
+
_chunkWZ6ONU2Gcjs.writeSuccess.call(void 0, `Commit was processing completed successfully!`, config);
|
|
67148
67148
|
} else {
|
|
67149
67149
|
let errorMessage = " Oh no! Your commit message: \n-------------------------------------------------------------------\n" + commitMessage + "\n-------------------------------------------------------------------\n\n Does not follow the commit message convention specified by Storm Software.";
|
|
67150
67150
|
errorMessage += "\ntype(scope): subject \n BLANK LINE \n body";
|
|
@@ -68338,7 +68338,7 @@ var createState = /* @__PURE__ */ _chunkKK4YC43Scjs.__name.call(void 0, async (c
|
|
|
68338
68338
|
answers: {}
|
|
68339
68339
|
};
|
|
68340
68340
|
} else {
|
|
68341
|
-
|
|
68341
|
+
_chunkWZ6ONU2Gcjs.writeInfo.call(void 0, `Using custom commit config file: ${commitizenFile}`, config);
|
|
68342
68342
|
let commitizenConfig = await Promise.resolve().then(() => _interopRequireWildcard(require(commitizenFile)));
|
|
68343
68343
|
if (_optionalChain([commitizenConfig, 'optionalAccess', _93 => _93.default])) {
|
|
68344
68344
|
commitizenConfig = _optionalChain([commitizenConfig, 'optionalAccess', _94 => _94.default]);
|
|
@@ -68379,7 +68379,7 @@ var createState = /* @__PURE__ */ _chunkKK4YC43Scjs.__name.call(void 0, async (c
|
|
|
68379
68379
|
}
|
|
68380
68380
|
if (project) {
|
|
68381
68381
|
let description = `${project.name} - ${project.root}`;
|
|
68382
|
-
const packageJsonPath =
|
|
68382
|
+
const packageJsonPath = _chunkWZ6ONU2Gcjs.joinPaths.call(void 0, project.root, "package.json");
|
|
68383
68383
|
if (await hfs.isFile(packageJsonPath)) {
|
|
68384
68384
|
const packageJson = await hfs.json(packageJsonPath);
|
|
68385
68385
|
description = packageJson.description || description;
|
|
@@ -68453,10 +68453,10 @@ ${closedIssueEmoji}${config.prompt.settings.closedIssueMessage}${issues}`;
|
|
|
68453
68453
|
|
|
68454
68454
|
// src/commit/run.ts
|
|
68455
68455
|
var runCommit = /* @__PURE__ */ _chunkKK4YC43Scjs.__name.call(void 0, async (commitizenFile = "@storm-software/git-tools/commit/config", dryRun = false) => {
|
|
68456
|
-
const config = await
|
|
68456
|
+
const config = await _chunkWZ6ONU2Gcjs.getConfig.call(void 0, );
|
|
68457
68457
|
const state = await createState(config, commitizenFile);
|
|
68458
68458
|
if (dryRun) {
|
|
68459
|
-
|
|
68459
|
+
_chunkWZ6ONU2Gcjs.writeInfo.call(void 0, "Running in dry mode.", config);
|
|
68460
68460
|
}
|
|
68461
68461
|
console.log(chalk_template_default`
|
|
68462
68462
|
{bold.#999999 ----------------------------------------}
|
|
@@ -68466,7 +68466,7 @@ var runCommit = /* @__PURE__ */ _chunkKK4YC43Scjs.__name.call(void 0, async (com
|
|
|
68466
68466
|
`);
|
|
68467
68467
|
state.answers = await askQuestions(state);
|
|
68468
68468
|
const message2 = formatCommitMessage(state);
|
|
68469
|
-
const commitMsgFile =
|
|
68469
|
+
const commitMsgFile = _chunkWZ6ONU2Gcjs.joinPaths.call(void 0, getGitDir(), "COMMIT_EDITMSG");
|
|
68470
68470
|
console.log(chalk_template_default`
|
|
68471
68471
|
{bold.#999999 ----------------------------------------}
|
|
68472
68472
|
|
|
@@ -68490,8 +68490,8 @@ var runCommit = /* @__PURE__ */ _chunkKK4YC43Scjs.__name.call(void 0, async (com
|
|
|
68490
68490
|
]);
|
|
68491
68491
|
const command = (0, import_any_shell_escape.default)(commandItems);
|
|
68492
68492
|
if (dryRun) {
|
|
68493
|
-
|
|
68494
|
-
|
|
68493
|
+
_chunkWZ6ONU2Gcjs.writeDebug.call(void 0, `Skipping execution [dry-run]: ${command.replace(commitMsgFile, ".git/COMMIT_EDITMSG")}`, config);
|
|
68494
|
+
_chunkWZ6ONU2Gcjs.writeDebug.call(void 0, `Message [dry-run]: ${message2}`, config);
|
|
68495
68495
|
} else {
|
|
68496
68496
|
await _promises2.default.writeFile(commitMsgFile, message2);
|
|
68497
68497
|
_chunkFNIN2HF7cjs.run.call(void 0, config, command);
|
|
@@ -80884,7 +80884,7 @@ var _nxjsonjs = require('nx/src/config/nx-json.js');
|
|
|
80884
80884
|
|
|
80885
80885
|
// src/release/changelog.ts
|
|
80886
80886
|
_chunkKK4YC43Scjs.init_cjs_shims.call(void 0, );
|
|
80887
|
-
var chalk2 = _chunkKK4YC43Scjs.__toESM.call(void 0,
|
|
80887
|
+
var chalk2 = _chunkKK4YC43Scjs.__toESM.call(void 0, _chunkWZ6ONU2Gcjs.require_source.call(void 0, ), 1);
|
|
80888
80888
|
var import_enquirer = _chunkKK4YC43Scjs.__toESM.call(void 0, require_enquirer(), 1);
|
|
80889
80889
|
var import_semver2 = _chunkKK4YC43Scjs.__toESM.call(void 0, require_semver2(), 1);
|
|
80890
80890
|
var import_tmp = _chunkKK4YC43Scjs.__toESM.call(void 0, require_tmp2(), 1);
|
|
@@ -81023,16 +81023,16 @@ _chunkKK4YC43Scjs.__name.call(void 0, gitTag, "gitTag");
|
|
|
81023
81023
|
// src/release/changelog-renderer.ts
|
|
81024
81024
|
_chunkKK4YC43Scjs.init_cjs_shims.call(void 0, );
|
|
81025
81025
|
|
|
81026
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
81026
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/index.js
|
|
81027
81027
|
_chunkKK4YC43Scjs.init_cjs_shims.call(void 0, );
|
|
81028
81028
|
|
|
81029
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
81029
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/axios.js
|
|
81030
81030
|
_chunkKK4YC43Scjs.init_cjs_shims.call(void 0, );
|
|
81031
81031
|
|
|
81032
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
81032
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/utils.js
|
|
81033
81033
|
_chunkKK4YC43Scjs.init_cjs_shims.call(void 0, );
|
|
81034
81034
|
|
|
81035
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
81035
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/helpers/bind.js
|
|
81036
81036
|
_chunkKK4YC43Scjs.init_cjs_shims.call(void 0, );
|
|
81037
81037
|
function bind(fn, thisArg) {
|
|
81038
81038
|
return /* @__PURE__ */ _chunkKK4YC43Scjs.__name.call(void 0, function wrap3() {
|
|
@@ -81041,7 +81041,7 @@ function bind(fn, thisArg) {
|
|
|
81041
81041
|
}
|
|
81042
81042
|
_chunkKK4YC43Scjs.__name.call(void 0, bind, "bind");
|
|
81043
81043
|
|
|
81044
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
81044
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/utils.js
|
|
81045
81045
|
var { toString: toString2 } = Object.prototype;
|
|
81046
81046
|
var { getPrototypeOf } = Object;
|
|
81047
81047
|
var kindOf = /* @__PURE__ */ ((cache) => (thing) => {
|
|
@@ -81312,21 +81312,6 @@ var noop2 = /* @__PURE__ */ _chunkKK4YC43Scjs.__name.call(void 0, () => {
|
|
|
81312
81312
|
var toFiniteNumber = /* @__PURE__ */ _chunkKK4YC43Scjs.__name.call(void 0, (value, defaultValue) => {
|
|
81313
81313
|
return value != null && Number.isFinite(value = +value) ? value : defaultValue;
|
|
81314
81314
|
}, "toFiniteNumber");
|
|
81315
|
-
var ALPHA = "abcdefghijklmnopqrstuvwxyz";
|
|
81316
|
-
var DIGIT = "0123456789";
|
|
81317
|
-
var ALPHABET = {
|
|
81318
|
-
DIGIT,
|
|
81319
|
-
ALPHA,
|
|
81320
|
-
ALPHA_DIGIT: ALPHA + ALPHA.toUpperCase() + DIGIT
|
|
81321
|
-
};
|
|
81322
|
-
var generateString = /* @__PURE__ */ _chunkKK4YC43Scjs.__name.call(void 0, (size2 = 16, alphabet = ALPHABET.ALPHA_DIGIT) => {
|
|
81323
|
-
let str = "";
|
|
81324
|
-
const { length } = alphabet;
|
|
81325
|
-
while (size2--) {
|
|
81326
|
-
str += alphabet[Math.random() * length | 0];
|
|
81327
|
-
}
|
|
81328
|
-
return str;
|
|
81329
|
-
}, "generateString");
|
|
81330
81315
|
function isSpecCompliantForm(thing) {
|
|
81331
81316
|
return !!(thing && isFunction2(thing.append) && thing[Symbol.toStringTag] === "FormData" && thing[Symbol.iterator]);
|
|
81332
81317
|
}
|
|
@@ -81355,6 +81340,23 @@ var toJSONObject = /* @__PURE__ */ _chunkKK4YC43Scjs.__name.call(void 0, (obj) =
|
|
|
81355
81340
|
}, "toJSONObject");
|
|
81356
81341
|
var isAsyncFn = kindOfTest("AsyncFunction");
|
|
81357
81342
|
var isThenable = /* @__PURE__ */ _chunkKK4YC43Scjs.__name.call(void 0, (thing) => thing && (isObject2(thing) || isFunction2(thing)) && isFunction2(thing.then) && isFunction2(thing.catch), "isThenable");
|
|
81343
|
+
var _setImmediate = ((setImmediateSupported, postMessageSupported) => {
|
|
81344
|
+
if (setImmediateSupported) {
|
|
81345
|
+
return setImmediate;
|
|
81346
|
+
}
|
|
81347
|
+
return postMessageSupported ? ((token, callbacks) => {
|
|
81348
|
+
_global.addEventListener("message", ({ source, data }) => {
|
|
81349
|
+
if (source === _global && data === token) {
|
|
81350
|
+
callbacks.length && callbacks.shift()();
|
|
81351
|
+
}
|
|
81352
|
+
}, false);
|
|
81353
|
+
return (cb2) => {
|
|
81354
|
+
callbacks.push(cb2);
|
|
81355
|
+
_global.postMessage(token, "*");
|
|
81356
|
+
};
|
|
81357
|
+
})(`axios@${Math.random()}`, []) : (cb2) => setTimeout(cb2);
|
|
81358
|
+
})(typeof setImmediate === "function", isFunction2(_global.postMessage));
|
|
81359
|
+
var asap = typeof queueMicrotask !== "undefined" ? queueMicrotask.bind(_global) : typeof process !== "undefined" && process.nextTick || _setImmediate;
|
|
81358
81360
|
var utils_default = {
|
|
81359
81361
|
isArray,
|
|
81360
81362
|
isArrayBuffer,
|
|
@@ -81405,27 +81407,27 @@ var utils_default = {
|
|
|
81405
81407
|
findKey: findKey2,
|
|
81406
81408
|
global: _global,
|
|
81407
81409
|
isContextDefined,
|
|
81408
|
-
ALPHABET,
|
|
81409
|
-
generateString,
|
|
81410
81410
|
isSpecCompliantForm,
|
|
81411
81411
|
toJSONObject,
|
|
81412
81412
|
isAsyncFn,
|
|
81413
|
-
isThenable
|
|
81413
|
+
isThenable,
|
|
81414
|
+
setImmediate: _setImmediate,
|
|
81415
|
+
asap
|
|
81414
81416
|
};
|
|
81415
81417
|
|
|
81416
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
81418
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/core/Axios.js
|
|
81417
81419
|
_chunkKK4YC43Scjs.init_cjs_shims.call(void 0, );
|
|
81418
81420
|
|
|
81419
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
81421
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/helpers/buildURL.js
|
|
81420
81422
|
_chunkKK4YC43Scjs.init_cjs_shims.call(void 0, );
|
|
81421
81423
|
|
|
81422
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
81424
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/helpers/AxiosURLSearchParams.js
|
|
81423
81425
|
_chunkKK4YC43Scjs.init_cjs_shims.call(void 0, );
|
|
81424
81426
|
|
|
81425
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
81427
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/helpers/toFormData.js
|
|
81426
81428
|
_chunkKK4YC43Scjs.init_cjs_shims.call(void 0, );
|
|
81427
81429
|
|
|
81428
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
81430
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/core/AxiosError.js
|
|
81429
81431
|
_chunkKK4YC43Scjs.init_cjs_shims.call(void 0, );
|
|
81430
81432
|
function AxiosError(message2, code, config, request, response) {
|
|
81431
81433
|
Error.call(this);
|
|
@@ -81439,7 +81441,10 @@ function AxiosError(message2, code, config, request, response) {
|
|
|
81439
81441
|
code && (this.code = code);
|
|
81440
81442
|
config && (this.config = config);
|
|
81441
81443
|
request && (this.request = request);
|
|
81442
|
-
|
|
81444
|
+
if (response) {
|
|
81445
|
+
this.response = response;
|
|
81446
|
+
this.status = response.status ? response.status : null;
|
|
81447
|
+
}
|
|
81443
81448
|
}
|
|
81444
81449
|
_chunkKK4YC43Scjs.__name.call(void 0, AxiosError, "AxiosError");
|
|
81445
81450
|
utils_default.inherits(AxiosError, Error, {
|
|
@@ -81459,7 +81464,7 @@ utils_default.inherits(AxiosError, Error, {
|
|
|
81459
81464
|
// Axios
|
|
81460
81465
|
config: utils_default.toJSONObject(this.config),
|
|
81461
81466
|
code: this.code,
|
|
81462
|
-
status: this.
|
|
81467
|
+
status: this.status
|
|
81463
81468
|
};
|
|
81464
81469
|
}, "toJSON")
|
|
81465
81470
|
});
|
|
@@ -81502,12 +81507,12 @@ AxiosError.from = (error, code, config, request, response, customProps) => {
|
|
|
81502
81507
|
};
|
|
81503
81508
|
var AxiosError_default = AxiosError;
|
|
81504
81509
|
|
|
81505
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
81510
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/platform/node/classes/FormData.js
|
|
81506
81511
|
_chunkKK4YC43Scjs.init_cjs_shims.call(void 0, );
|
|
81507
81512
|
var import_form_data = _chunkKK4YC43Scjs.__toESM.call(void 0, require_form_data(), 1);
|
|
81508
81513
|
var FormData_default = import_form_data.default;
|
|
81509
81514
|
|
|
81510
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
81515
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/helpers/toFormData.js
|
|
81511
81516
|
function isVisitable(thing) {
|
|
81512
81517
|
return utils_default.isPlainObject(thing) || utils_default.isArray(thing);
|
|
81513
81518
|
}
|
|
@@ -81627,7 +81632,7 @@ function toFormData(obj, formData, options) {
|
|
|
81627
81632
|
_chunkKK4YC43Scjs.__name.call(void 0, toFormData, "toFormData");
|
|
81628
81633
|
var toFormData_default = toFormData;
|
|
81629
81634
|
|
|
81630
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
81635
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/helpers/AxiosURLSearchParams.js
|
|
81631
81636
|
function encode(str) {
|
|
81632
81637
|
const charMap = {
|
|
81633
81638
|
"!": "%21",
|
|
@@ -81665,7 +81670,7 @@ prototype2.toString = /* @__PURE__ */ _chunkKK4YC43Scjs.__name.call(void 0, func
|
|
|
81665
81670
|
}, "toString");
|
|
81666
81671
|
var AxiosURLSearchParams_default = AxiosURLSearchParams;
|
|
81667
81672
|
|
|
81668
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
81673
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/helpers/buildURL.js
|
|
81669
81674
|
function encode2(val) {
|
|
81670
81675
|
return encodeURIComponent(val).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]");
|
|
81671
81676
|
}
|
|
@@ -81675,6 +81680,11 @@ function buildURL(url2, params, options) {
|
|
|
81675
81680
|
return url2;
|
|
81676
81681
|
}
|
|
81677
81682
|
const _encode = options && options.encode || encode2;
|
|
81683
|
+
if (utils_default.isFunction(options)) {
|
|
81684
|
+
options = {
|
|
81685
|
+
serialize: options
|
|
81686
|
+
};
|
|
81687
|
+
}
|
|
81678
81688
|
const serializeFn = options && options.serialize;
|
|
81679
81689
|
let serializedParams;
|
|
81680
81690
|
if (serializeFn) {
|
|
@@ -81693,7 +81703,7 @@ function buildURL(url2, params, options) {
|
|
|
81693
81703
|
}
|
|
81694
81704
|
_chunkKK4YC43Scjs.__name.call(void 0, buildURL, "buildURL");
|
|
81695
81705
|
|
|
81696
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
81706
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/core/InterceptorManager.js
|
|
81697
81707
|
_chunkKK4YC43Scjs.init_cjs_shims.call(void 0, );
|
|
81698
81708
|
var InterceptorManager = class InterceptorManager2 {
|
|
81699
81709
|
static {
|
|
@@ -81761,16 +81771,16 @@ var InterceptorManager = class InterceptorManager2 {
|
|
|
81761
81771
|
};
|
|
81762
81772
|
var InterceptorManager_default = InterceptorManager;
|
|
81763
81773
|
|
|
81764
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
81774
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/core/dispatchRequest.js
|
|
81765
81775
|
_chunkKK4YC43Scjs.init_cjs_shims.call(void 0, );
|
|
81766
81776
|
|
|
81767
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
81777
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/core/transformData.js
|
|
81768
81778
|
_chunkKK4YC43Scjs.init_cjs_shims.call(void 0, );
|
|
81769
81779
|
|
|
81770
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
81780
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/defaults/index.js
|
|
81771
81781
|
_chunkKK4YC43Scjs.init_cjs_shims.call(void 0, );
|
|
81772
81782
|
|
|
81773
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
81783
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/defaults/transitional.js
|
|
81774
81784
|
_chunkKK4YC43Scjs.init_cjs_shims.call(void 0, );
|
|
81775
81785
|
var transitional_default = {
|
|
81776
81786
|
silentJSONParsing: true,
|
|
@@ -81778,21 +81788,39 @@ var transitional_default = {
|
|
|
81778
81788
|
clarifyTimeoutError: false
|
|
81779
81789
|
};
|
|
81780
81790
|
|
|
81781
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
81791
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/helpers/toURLEncodedForm.js
|
|
81782
81792
|
_chunkKK4YC43Scjs.init_cjs_shims.call(void 0, );
|
|
81783
81793
|
|
|
81784
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
81794
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/platform/index.js
|
|
81785
81795
|
_chunkKK4YC43Scjs.init_cjs_shims.call(void 0, );
|
|
81786
81796
|
|
|
81787
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
81797
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/platform/node/index.js
|
|
81788
81798
|
_chunkKK4YC43Scjs.init_cjs_shims.call(void 0, );
|
|
81799
|
+
var _crypto = require('crypto'); var _crypto2 = _interopRequireDefault(_crypto);
|
|
81789
81800
|
|
|
81790
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
81801
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/platform/node/classes/URLSearchParams.js
|
|
81791
81802
|
_chunkKK4YC43Scjs.init_cjs_shims.call(void 0, );
|
|
81792
81803
|
|
|
81793
81804
|
var URLSearchParams_default = _url2.default.URLSearchParams;
|
|
81794
81805
|
|
|
81795
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
81806
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/platform/node/index.js
|
|
81807
|
+
var ALPHA = "abcdefghijklmnopqrstuvwxyz";
|
|
81808
|
+
var DIGIT = "0123456789";
|
|
81809
|
+
var ALPHABET = {
|
|
81810
|
+
DIGIT,
|
|
81811
|
+
ALPHA,
|
|
81812
|
+
ALPHA_DIGIT: ALPHA + ALPHA.toUpperCase() + DIGIT
|
|
81813
|
+
};
|
|
81814
|
+
var generateString = /* @__PURE__ */ _chunkKK4YC43Scjs.__name.call(void 0, (size2 = 16, alphabet = ALPHABET.ALPHA_DIGIT) => {
|
|
81815
|
+
let str = "";
|
|
81816
|
+
const { length } = alphabet;
|
|
81817
|
+
const randomValues = new Uint32Array(size2);
|
|
81818
|
+
_crypto2.default.randomFillSync(randomValues);
|
|
81819
|
+
for (let i = 0; i < size2; i++) {
|
|
81820
|
+
str += alphabet[randomValues[i] % length];
|
|
81821
|
+
}
|
|
81822
|
+
return str;
|
|
81823
|
+
}, "generateString");
|
|
81796
81824
|
var node_default = {
|
|
81797
81825
|
isNode: true,
|
|
81798
81826
|
classes: {
|
|
@@ -81800,6 +81828,8 @@ var node_default = {
|
|
|
81800
81828
|
FormData: FormData_default,
|
|
81801
81829
|
Blob: typeof Blob !== "undefined" && Blob || null
|
|
81802
81830
|
},
|
|
81831
|
+
ALPHABET,
|
|
81832
|
+
generateString,
|
|
81803
81833
|
protocols: [
|
|
81804
81834
|
"http",
|
|
81805
81835
|
"https",
|
|
@@ -81808,36 +81838,36 @@ var node_default = {
|
|
|
81808
81838
|
]
|
|
81809
81839
|
};
|
|
81810
81840
|
|
|
81811
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
81841
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/platform/common/utils.js
|
|
81812
81842
|
var utils_exports = {};
|
|
81813
81843
|
_chunkKK4YC43Scjs.__export.call(void 0, utils_exports, {
|
|
81814
81844
|
hasBrowserEnv: () => hasBrowserEnv,
|
|
81815
81845
|
hasStandardBrowserEnv: () => hasStandardBrowserEnv,
|
|
81816
81846
|
hasStandardBrowserWebWorkerEnv: () => hasStandardBrowserWebWorkerEnv,
|
|
81847
|
+
navigator: () => _navigator,
|
|
81817
81848
|
origin: () => origin
|
|
81818
81849
|
});
|
|
81819
81850
|
_chunkKK4YC43Scjs.init_cjs_shims.call(void 0, );
|
|
81820
81851
|
var hasBrowserEnv = typeof window !== "undefined" && typeof document !== "undefined";
|
|
81821
|
-
var
|
|
81822
|
-
|
|
81823
|
-
|
|
81824
|
-
|
|
81825
|
-
|
|
81826
|
-
|
|
81827
|
-
})(typeof navigator !== "undefined" && navigator.product);
|
|
81852
|
+
var _navigator = typeof navigator === "object" && navigator || void 0;
|
|
81853
|
+
var hasStandardBrowserEnv = hasBrowserEnv && (!_navigator || [
|
|
81854
|
+
"ReactNative",
|
|
81855
|
+
"NativeScript",
|
|
81856
|
+
"NS"
|
|
81857
|
+
].indexOf(_navigator.product) < 0);
|
|
81828
81858
|
var hasStandardBrowserWebWorkerEnv = (() => {
|
|
81829
81859
|
return typeof WorkerGlobalScope !== "undefined" && // eslint-disable-next-line no-undef
|
|
81830
81860
|
self instanceof WorkerGlobalScope && typeof self.importScripts === "function";
|
|
81831
81861
|
})();
|
|
81832
81862
|
var origin = hasBrowserEnv && window.location.href || "http://localhost";
|
|
81833
81863
|
|
|
81834
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
81864
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/platform/index.js
|
|
81835
81865
|
var platform_default = {
|
|
81836
81866
|
...utils_exports,
|
|
81837
81867
|
...node_default
|
|
81838
81868
|
};
|
|
81839
81869
|
|
|
81840
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
81870
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/helpers/toURLEncodedForm.js
|
|
81841
81871
|
function toURLEncodedForm(data, options) {
|
|
81842
81872
|
return toFormData_default(data, new platform_default.classes.URLSearchParams(), Object.assign({
|
|
81843
81873
|
visitor: /* @__PURE__ */ _chunkKK4YC43Scjs.__name.call(void 0, function(value, key, path2, helpers) {
|
|
@@ -81851,7 +81881,7 @@ function toURLEncodedForm(data, options) {
|
|
|
81851
81881
|
}
|
|
81852
81882
|
_chunkKK4YC43Scjs.__name.call(void 0, toURLEncodedForm, "toURLEncodedForm");
|
|
81853
81883
|
|
|
81854
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
81884
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/helpers/formDataToJSON.js
|
|
81855
81885
|
_chunkKK4YC43Scjs.init_cjs_shims.call(void 0, );
|
|
81856
81886
|
function parsePropPath(name) {
|
|
81857
81887
|
return utils_default.matchAll(/\w+|\[(\w*)]/g, name).map((match) => {
|
|
@@ -81912,7 +81942,7 @@ function formDataToJSON(formData) {
|
|
|
81912
81942
|
_chunkKK4YC43Scjs.__name.call(void 0, formDataToJSON, "formDataToJSON");
|
|
81913
81943
|
var formDataToJSON_default = formDataToJSON;
|
|
81914
81944
|
|
|
81915
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
81945
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/defaults/index.js
|
|
81916
81946
|
function stringifySafely(rawValue, parser, encoder2) {
|
|
81917
81947
|
if (utils_default.isString(rawValue)) {
|
|
81918
81948
|
try {
|
|
@@ -82035,10 +82065,10 @@ utils_default.forEach([
|
|
|
82035
82065
|
});
|
|
82036
82066
|
var defaults_default2 = defaults;
|
|
82037
82067
|
|
|
82038
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
82068
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/core/AxiosHeaders.js
|
|
82039
82069
|
_chunkKK4YC43Scjs.init_cjs_shims.call(void 0, );
|
|
82040
82070
|
|
|
82041
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
82071
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/helpers/parseHeaders.js
|
|
82042
82072
|
_chunkKK4YC43Scjs.init_cjs_shims.call(void 0, );
|
|
82043
82073
|
var ignoreDuplicateOf = utils_default.toObjectSet([
|
|
82044
82074
|
"age",
|
|
@@ -82086,7 +82116,7 @@ var parseHeaders_default = /* @__PURE__ */ _chunkKK4YC43Scjs.__name.call(void 0,
|
|
|
82086
82116
|
return parsed;
|
|
82087
82117
|
}, "default");
|
|
82088
82118
|
|
|
82089
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
82119
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/core/AxiosHeaders.js
|
|
82090
82120
|
var $internals = Symbol("internals");
|
|
82091
82121
|
function normalizeHeader(header) {
|
|
82092
82122
|
return header && String(header).trim().toLowerCase();
|
|
@@ -82330,7 +82360,7 @@ utils_default.reduceDescriptors(AxiosHeaders.prototype, ({ value }, key) => {
|
|
|
82330
82360
|
utils_default.freezeMethods(AxiosHeaders);
|
|
82331
82361
|
var AxiosHeaders_default = AxiosHeaders;
|
|
82332
82362
|
|
|
82333
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
82363
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/core/transformData.js
|
|
82334
82364
|
function transformData(fns, response) {
|
|
82335
82365
|
const config = this || defaults_default2;
|
|
82336
82366
|
const context = response || config;
|
|
@@ -82344,14 +82374,14 @@ function transformData(fns, response) {
|
|
|
82344
82374
|
}
|
|
82345
82375
|
_chunkKK4YC43Scjs.__name.call(void 0, transformData, "transformData");
|
|
82346
82376
|
|
|
82347
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
82377
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/cancel/isCancel.js
|
|
82348
82378
|
_chunkKK4YC43Scjs.init_cjs_shims.call(void 0, );
|
|
82349
82379
|
function isCancel(value) {
|
|
82350
82380
|
return !!(value && value.__CANCEL__);
|
|
82351
82381
|
}
|
|
82352
82382
|
_chunkKK4YC43Scjs.__name.call(void 0, isCancel, "isCancel");
|
|
82353
82383
|
|
|
82354
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
82384
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/cancel/CanceledError.js
|
|
82355
82385
|
_chunkKK4YC43Scjs.init_cjs_shims.call(void 0, );
|
|
82356
82386
|
function CanceledError(message2, config, request) {
|
|
82357
82387
|
AxiosError_default.call(this, message2 == null ? "canceled" : message2, AxiosError_default.ERR_CANCELED, config, request);
|
|
@@ -82363,13 +82393,13 @@ utils_default.inherits(CanceledError, AxiosError_default, {
|
|
|
82363
82393
|
});
|
|
82364
82394
|
var CanceledError_default = CanceledError;
|
|
82365
82395
|
|
|
82366
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
82396
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/adapters/adapters.js
|
|
82367
82397
|
_chunkKK4YC43Scjs.init_cjs_shims.call(void 0, );
|
|
82368
82398
|
|
|
82369
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
82399
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/adapters/http.js
|
|
82370
82400
|
_chunkKK4YC43Scjs.init_cjs_shims.call(void 0, );
|
|
82371
82401
|
|
|
82372
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
82402
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/core/settle.js
|
|
82373
82403
|
_chunkKK4YC43Scjs.init_cjs_shims.call(void 0, );
|
|
82374
82404
|
function settle(resolve, reject2, response) {
|
|
82375
82405
|
const validateStatus2 = response.config.validateStatus;
|
|
@@ -82384,33 +82414,34 @@ function settle(resolve, reject2, response) {
|
|
|
82384
82414
|
}
|
|
82385
82415
|
_chunkKK4YC43Scjs.__name.call(void 0, settle, "settle");
|
|
82386
82416
|
|
|
82387
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
82417
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/core/buildFullPath.js
|
|
82388
82418
|
_chunkKK4YC43Scjs.init_cjs_shims.call(void 0, );
|
|
82389
82419
|
|
|
82390
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
82420
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/helpers/isAbsoluteURL.js
|
|
82391
82421
|
_chunkKK4YC43Scjs.init_cjs_shims.call(void 0, );
|
|
82392
82422
|
function isAbsoluteURL(url2) {
|
|
82393
82423
|
return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(url2);
|
|
82394
82424
|
}
|
|
82395
82425
|
_chunkKK4YC43Scjs.__name.call(void 0, isAbsoluteURL, "isAbsoluteURL");
|
|
82396
82426
|
|
|
82397
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
82427
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/helpers/combineURLs.js
|
|
82398
82428
|
_chunkKK4YC43Scjs.init_cjs_shims.call(void 0, );
|
|
82399
82429
|
function combineURLs(baseURL, relativeURL) {
|
|
82400
82430
|
return relativeURL ? baseURL.replace(/\/?\/$/, "") + "/" + relativeURL.replace(/^\/+/, "") : baseURL;
|
|
82401
82431
|
}
|
|
82402
82432
|
_chunkKK4YC43Scjs.__name.call(void 0, combineURLs, "combineURLs");
|
|
82403
82433
|
|
|
82404
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
82405
|
-
function buildFullPath(baseURL, requestedURL) {
|
|
82406
|
-
|
|
82434
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/core/buildFullPath.js
|
|
82435
|
+
function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls) {
|
|
82436
|
+
let isRelativeUrl = !isAbsoluteURL(requestedURL);
|
|
82437
|
+
if (baseURL && isRelativeUrl || allowAbsoluteUrls == false) {
|
|
82407
82438
|
return combineURLs(baseURL, requestedURL);
|
|
82408
82439
|
}
|
|
82409
82440
|
return requestedURL;
|
|
82410
82441
|
}
|
|
82411
82442
|
_chunkKK4YC43Scjs.__name.call(void 0, buildFullPath, "buildFullPath");
|
|
82412
82443
|
|
|
82413
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
82444
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/adapters/http.js
|
|
82414
82445
|
var import_proxy_from_env = _chunkKK4YC43Scjs.__toESM.call(void 0, require_proxy_from_env(), 1);
|
|
82415
82446
|
var import_follow_redirects = _chunkKK4YC43Scjs.__toESM.call(void 0, require_follow_redirects(), 1);
|
|
82416
82447
|
var _http = require('http'); var _http2 = _interopRequireDefault(_http);
|
|
@@ -82418,14 +82449,14 @@ var _https = require('https'); var _https2 = _interopRequireDefault(_https);
|
|
|
82418
82449
|
|
|
82419
82450
|
var _zlib = require('zlib'); var _zlib2 = _interopRequireDefault(_zlib);
|
|
82420
82451
|
|
|
82421
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
82452
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/env/data.js
|
|
82422
82453
|
_chunkKK4YC43Scjs.init_cjs_shims.call(void 0, );
|
|
82423
|
-
var VERSION2 = "1.
|
|
82454
|
+
var VERSION2 = "1.8.2";
|
|
82424
82455
|
|
|
82425
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
82456
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/helpers/fromDataURI.js
|
|
82426
82457
|
_chunkKK4YC43Scjs.init_cjs_shims.call(void 0, );
|
|
82427
82458
|
|
|
82428
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
82459
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/helpers/parseProtocol.js
|
|
82429
82460
|
_chunkKK4YC43Scjs.init_cjs_shims.call(void 0, );
|
|
82430
82461
|
function parseProtocol(url2) {
|
|
82431
82462
|
const match = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url2);
|
|
@@ -82433,7 +82464,7 @@ function parseProtocol(url2) {
|
|
|
82433
82464
|
}
|
|
82434
82465
|
_chunkKK4YC43Scjs.__name.call(void 0, parseProtocol, "parseProtocol");
|
|
82435
82466
|
|
|
82436
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
82467
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/helpers/fromDataURI.js
|
|
82437
82468
|
var DATA_URL_PATTERN = /^(?:([^;]+);)?(?:[^;]+;)?(base64|),([\s\S]*)$/;
|
|
82438
82469
|
function fromDataURI(uri, asBlob, options) {
|
|
82439
82470
|
const _Blob = options && options.Blob || platform_default.classes.Blob;
|
|
@@ -82467,81 +82498,12 @@ function fromDataURI(uri, asBlob, options) {
|
|
|
82467
82498
|
}
|
|
82468
82499
|
_chunkKK4YC43Scjs.__name.call(void 0, fromDataURI, "fromDataURI");
|
|
82469
82500
|
|
|
82470
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
82501
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/adapters/http.js
|
|
82471
82502
|
var _stream = require('stream'); var _stream2 = _interopRequireDefault(_stream);
|
|
82472
82503
|
|
|
82473
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
82504
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/helpers/AxiosTransformStream.js
|
|
82474
82505
|
_chunkKK4YC43Scjs.init_cjs_shims.call(void 0, );
|
|
82475
82506
|
|
|
82476
|
-
|
|
82477
|
-
// ../../node_modules/.pnpm/axios@1.7.2/node_modules/axios/lib/helpers/throttle.js
|
|
82478
|
-
_chunkKK4YC43Scjs.init_cjs_shims.call(void 0, );
|
|
82479
|
-
function throttle2(fn, freq) {
|
|
82480
|
-
let timestamp = 0;
|
|
82481
|
-
const threshold = 1e3 / freq;
|
|
82482
|
-
let timer = null;
|
|
82483
|
-
return /* @__PURE__ */ _chunkKK4YC43Scjs.__name.call(void 0, function throttled() {
|
|
82484
|
-
const force = this === true;
|
|
82485
|
-
const now = Date.now();
|
|
82486
|
-
if (force || now - timestamp > threshold) {
|
|
82487
|
-
if (timer) {
|
|
82488
|
-
clearTimeout(timer);
|
|
82489
|
-
timer = null;
|
|
82490
|
-
}
|
|
82491
|
-
timestamp = now;
|
|
82492
|
-
return fn.apply(null, arguments);
|
|
82493
|
-
}
|
|
82494
|
-
if (!timer) {
|
|
82495
|
-
timer = setTimeout(() => {
|
|
82496
|
-
timer = null;
|
|
82497
|
-
timestamp = Date.now();
|
|
82498
|
-
return fn.apply(null, arguments);
|
|
82499
|
-
}, threshold - (now - timestamp));
|
|
82500
|
-
}
|
|
82501
|
-
}, "throttled");
|
|
82502
|
-
}
|
|
82503
|
-
_chunkKK4YC43Scjs.__name.call(void 0, throttle2, "throttle");
|
|
82504
|
-
var throttle_default = throttle2;
|
|
82505
|
-
|
|
82506
|
-
// ../../node_modules/.pnpm/axios@1.7.2/node_modules/axios/lib/helpers/speedometer.js
|
|
82507
|
-
_chunkKK4YC43Scjs.init_cjs_shims.call(void 0, );
|
|
82508
|
-
function speedometer(samplesCount, min2) {
|
|
82509
|
-
samplesCount = samplesCount || 10;
|
|
82510
|
-
const bytes = new Array(samplesCount);
|
|
82511
|
-
const timestamps = new Array(samplesCount);
|
|
82512
|
-
let head = 0;
|
|
82513
|
-
let tail = 0;
|
|
82514
|
-
let firstSampleTS;
|
|
82515
|
-
min2 = min2 !== void 0 ? min2 : 1e3;
|
|
82516
|
-
return /* @__PURE__ */ _chunkKK4YC43Scjs.__name.call(void 0, function push2(chunkLength) {
|
|
82517
|
-
const now = Date.now();
|
|
82518
|
-
const startedAt = timestamps[tail];
|
|
82519
|
-
if (!firstSampleTS) {
|
|
82520
|
-
firstSampleTS = now;
|
|
82521
|
-
}
|
|
82522
|
-
bytes[head] = chunkLength;
|
|
82523
|
-
timestamps[head] = now;
|
|
82524
|
-
let i = tail;
|
|
82525
|
-
let bytesCount = 0;
|
|
82526
|
-
while (i !== head) {
|
|
82527
|
-
bytesCount += bytes[i++];
|
|
82528
|
-
i = i % samplesCount;
|
|
82529
|
-
}
|
|
82530
|
-
head = (head + 1) % samplesCount;
|
|
82531
|
-
if (head === tail) {
|
|
82532
|
-
tail = (tail + 1) % samplesCount;
|
|
82533
|
-
}
|
|
82534
|
-
if (now - firstSampleTS < min2) {
|
|
82535
|
-
return;
|
|
82536
|
-
}
|
|
82537
|
-
const passed = startedAt && now - startedAt;
|
|
82538
|
-
return passed ? Math.round(bytesCount * 1e3 / passed) : void 0;
|
|
82539
|
-
}, "push");
|
|
82540
|
-
}
|
|
82541
|
-
_chunkKK4YC43Scjs.__name.call(void 0, speedometer, "speedometer");
|
|
82542
|
-
var speedometer_default = speedometer;
|
|
82543
|
-
|
|
82544
|
-
// ../../node_modules/.pnpm/axios@1.7.2/node_modules/axios/lib/helpers/AxiosTransformStream.js
|
|
82545
82507
|
var kInternals = Symbol("internals");
|
|
82546
82508
|
var AxiosTransformStream = class AxiosTransformStream2 extends _stream2.default.Transform {
|
|
82547
82509
|
static {
|
|
@@ -82561,11 +82523,8 @@ var AxiosTransformStream = class AxiosTransformStream2 extends _stream2.default.
|
|
|
82561
82523
|
super({
|
|
82562
82524
|
readableHighWaterMark: options.chunkSize
|
|
82563
82525
|
});
|
|
82564
|
-
const self2 = this;
|
|
82565
82526
|
const internals = this[kInternals] = {
|
|
82566
|
-
length: options.length,
|
|
82567
82527
|
timeWindow: options.timeWindow,
|
|
82568
|
-
ticksRate: options.ticksRate,
|
|
82569
82528
|
chunkSize: options.chunkSize,
|
|
82570
82529
|
maxRate: options.maxRate,
|
|
82571
82530
|
minChunkSize: options.minChunkSize,
|
|
@@ -82576,7 +82535,6 @@ var AxiosTransformStream = class AxiosTransformStream2 extends _stream2.default.
|
|
|
82576
82535
|
bytes: 0,
|
|
82577
82536
|
onReadCallback: null
|
|
82578
82537
|
};
|
|
82579
|
-
const _speedometer = speedometer_default(internals.ticksRate * options.samplesCount, internals.timeWindow);
|
|
82580
82538
|
this.on("newListener", (event) => {
|
|
82581
82539
|
if (event === "progress") {
|
|
82582
82540
|
if (!internals.isCaptured) {
|
|
@@ -82584,31 +82542,6 @@ var AxiosTransformStream = class AxiosTransformStream2 extends _stream2.default.
|
|
|
82584
82542
|
}
|
|
82585
82543
|
}
|
|
82586
82544
|
});
|
|
82587
|
-
let bytesNotified = 0;
|
|
82588
|
-
internals.updateProgress = throttle_default(/* @__PURE__ */ _chunkKK4YC43Scjs.__name.call(void 0, function throttledHandler() {
|
|
82589
|
-
const totalBytes = internals.length;
|
|
82590
|
-
const bytesTransferred = internals.bytesSeen;
|
|
82591
|
-
const progressBytes = bytesTransferred - bytesNotified;
|
|
82592
|
-
if (!progressBytes || self2.destroyed) return;
|
|
82593
|
-
const rate = _speedometer(progressBytes);
|
|
82594
|
-
bytesNotified = bytesTransferred;
|
|
82595
|
-
process.nextTick(() => {
|
|
82596
|
-
self2.emit("progress", {
|
|
82597
|
-
loaded: bytesTransferred,
|
|
82598
|
-
total: totalBytes,
|
|
82599
|
-
progress: totalBytes ? bytesTransferred / totalBytes : void 0,
|
|
82600
|
-
bytes: progressBytes,
|
|
82601
|
-
rate: rate ? rate : void 0,
|
|
82602
|
-
estimated: rate && totalBytes && bytesTransferred <= totalBytes ? (totalBytes - bytesTransferred) / rate : void 0,
|
|
82603
|
-
lengthComputable: totalBytes != null
|
|
82604
|
-
});
|
|
82605
|
-
});
|
|
82606
|
-
}, "throttledHandler"), internals.ticksRate);
|
|
82607
|
-
const onFinish = /* @__PURE__ */ _chunkKK4YC43Scjs.__name.call(void 0, () => {
|
|
82608
|
-
internals.updateProgress.call(true);
|
|
82609
|
-
}, "onFinish");
|
|
82610
|
-
this.once("end", onFinish);
|
|
82611
|
-
this.once("error", onFinish);
|
|
82612
82545
|
}
|
|
82613
82546
|
_read(size2) {
|
|
82614
82547
|
const internals = this[kInternals];
|
|
@@ -82618,7 +82551,6 @@ var AxiosTransformStream = class AxiosTransformStream2 extends _stream2.default.
|
|
|
82618
82551
|
return super._read(size2);
|
|
82619
82552
|
}
|
|
82620
82553
|
_transform(chunk2, encoding, callback) {
|
|
82621
|
-
const self2 = this;
|
|
82622
82554
|
const internals = this[kInternals];
|
|
82623
82555
|
const maxRate = internals.maxRate;
|
|
82624
82556
|
const readableHighWaterMark = this.readableHighWaterMark;
|
|
@@ -82626,14 +82558,12 @@ var AxiosTransformStream = class AxiosTransformStream2 extends _stream2.default.
|
|
|
82626
82558
|
const divider = 1e3 / timeWindow;
|
|
82627
82559
|
const bytesThreshold = maxRate / divider;
|
|
82628
82560
|
const minChunkSize = internals.minChunkSize !== false ? Math.max(internals.minChunkSize, bytesThreshold * 0.01) : 0;
|
|
82629
|
-
|
|
82561
|
+
const pushChunk = /* @__PURE__ */ _chunkKK4YC43Scjs.__name.call(void 0, (_chunk, _callback) => {
|
|
82630
82562
|
const bytes = Buffer.byteLength(_chunk);
|
|
82631
82563
|
internals.bytesSeen += bytes;
|
|
82632
82564
|
internals.bytes += bytes;
|
|
82633
|
-
|
|
82634
|
-
|
|
82635
|
-
}
|
|
82636
|
-
if (self2.push(_chunk)) {
|
|
82565
|
+
internals.isCaptured && this.emit("progress", internals.bytesSeen);
|
|
82566
|
+
if (this.push(_chunk)) {
|
|
82637
82567
|
process.nextTick(_callback);
|
|
82638
82568
|
} else {
|
|
82639
82569
|
internals.onReadCallback = () => {
|
|
@@ -82641,8 +82571,7 @@ var AxiosTransformStream = class AxiosTransformStream2 extends _stream2.default.
|
|
|
82641
82571
|
process.nextTick(_callback);
|
|
82642
82572
|
};
|
|
82643
82573
|
}
|
|
82644
|
-
}
|
|
82645
|
-
_chunkKK4YC43Scjs.__name.call(void 0, pushChunk, "pushChunk");
|
|
82574
|
+
}, "pushChunk");
|
|
82646
82575
|
const transformChunk = /* @__PURE__ */ _chunkKK4YC43Scjs.__name.call(void 0, (_chunk, _callback) => {
|
|
82647
82576
|
const chunkSize = Buffer.byteLength(_chunk);
|
|
82648
82577
|
let chunkRemainder = null;
|
|
@@ -82688,22 +82617,18 @@ var AxiosTransformStream = class AxiosTransformStream2 extends _stream2.default.
|
|
|
82688
82617
|
}
|
|
82689
82618
|
}, "transformNextChunk"));
|
|
82690
82619
|
}
|
|
82691
|
-
setLength(length) {
|
|
82692
|
-
this[kInternals].length = +length;
|
|
82693
|
-
return this;
|
|
82694
|
-
}
|
|
82695
82620
|
};
|
|
82696
82621
|
var AxiosTransformStream_default = AxiosTransformStream;
|
|
82697
82622
|
|
|
82698
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
82623
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/adapters/http.js
|
|
82699
82624
|
var _events = require('events');
|
|
82700
82625
|
|
|
82701
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
82626
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/helpers/formDataToStream.js
|
|
82702
82627
|
_chunkKK4YC43Scjs.init_cjs_shims.call(void 0, );
|
|
82703
82628
|
|
|
82704
82629
|
|
|
82705
82630
|
|
|
82706
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
82631
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/helpers/readBlob.js
|
|
82707
82632
|
_chunkKK4YC43Scjs.init_cjs_shims.call(void 0, );
|
|
82708
82633
|
var { asyncIterator } = Symbol;
|
|
82709
82634
|
var readBlob = /* @__PURE__ */ _chunkKK4YC43Scjs.__name.call(void 0, async function* (blob) {
|
|
@@ -82719,9 +82644,9 @@ var readBlob = /* @__PURE__ */ _chunkKK4YC43Scjs.__name.call(void 0, async funct
|
|
|
82719
82644
|
}, "readBlob");
|
|
82720
82645
|
var readBlob_default = readBlob;
|
|
82721
82646
|
|
|
82722
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
82723
|
-
var BOUNDARY_ALPHABET =
|
|
82724
|
-
var textEncoder = new (
|
|
82647
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/helpers/formDataToStream.js
|
|
82648
|
+
var BOUNDARY_ALPHABET = platform_default.ALPHABET.ALPHA_DIGIT + "-_";
|
|
82649
|
+
var textEncoder = typeof TextEncoder === "function" ? new TextEncoder() : new _util2.default.TextEncoder();
|
|
82725
82650
|
var CRLF = "\r\n";
|
|
82726
82651
|
var CRLF_BYTES = textEncoder.encode(CRLF);
|
|
82727
82652
|
var CRLF_BYTES_COUNT = 2;
|
|
@@ -82763,7 +82688,7 @@ var FormDataPart = class FormDataPart2 {
|
|
|
82763
82688
|
}
|
|
82764
82689
|
};
|
|
82765
82690
|
var formDataToStream = /* @__PURE__ */ _chunkKK4YC43Scjs.__name.call(void 0, (form, headersHandler, options) => {
|
|
82766
|
-
const { tag = "form-data-boundary", size: size2 = 25, boundary = tag + "-" +
|
|
82691
|
+
const { tag = "form-data-boundary", size: size2 = 25, boundary = tag + "-" + platform_default.generateString(size2, BOUNDARY_ALPHABET) } = options || {};
|
|
82767
82692
|
if (!utils_default.isFormData(form)) {
|
|
82768
82693
|
throw TypeError("FormData instance required");
|
|
82769
82694
|
}
|
|
@@ -82797,7 +82722,7 @@ var formDataToStream = /* @__PURE__ */ _chunkKK4YC43Scjs.__name.call(void 0, (fo
|
|
|
82797
82722
|
}, "formDataToStream");
|
|
82798
82723
|
var formDataToStream_default = formDataToStream;
|
|
82799
82724
|
|
|
82800
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
82725
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js
|
|
82801
82726
|
_chunkKK4YC43Scjs.init_cjs_shims.call(void 0, );
|
|
82802
82727
|
|
|
82803
82728
|
var ZlibHeaderTransformStream = class ZlibHeaderTransformStream2 extends _stream2.default.Transform {
|
|
@@ -82823,7 +82748,7 @@ var ZlibHeaderTransformStream = class ZlibHeaderTransformStream2 extends _stream
|
|
|
82823
82748
|
};
|
|
82824
82749
|
var ZlibHeaderTransformStream_default = ZlibHeaderTransformStream;
|
|
82825
82750
|
|
|
82826
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
82751
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/helpers/callbackify.js
|
|
82827
82752
|
_chunkKK4YC43Scjs.init_cjs_shims.call(void 0, );
|
|
82828
82753
|
var callbackify = /* @__PURE__ */ _chunkKK4YC43Scjs.__name.call(void 0, (fn, reducer) => {
|
|
82829
82754
|
return utils_default.isAsyncFn(fn) ? function(...args) {
|
|
@@ -82839,7 +82764,126 @@ var callbackify = /* @__PURE__ */ _chunkKK4YC43Scjs.__name.call(void 0, (fn, red
|
|
|
82839
82764
|
}, "callbackify");
|
|
82840
82765
|
var callbackify_default = callbackify;
|
|
82841
82766
|
|
|
82842
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
82767
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/helpers/progressEventReducer.js
|
|
82768
|
+
_chunkKK4YC43Scjs.init_cjs_shims.call(void 0, );
|
|
82769
|
+
|
|
82770
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/helpers/speedometer.js
|
|
82771
|
+
_chunkKK4YC43Scjs.init_cjs_shims.call(void 0, );
|
|
82772
|
+
function speedometer(samplesCount, min2) {
|
|
82773
|
+
samplesCount = samplesCount || 10;
|
|
82774
|
+
const bytes = new Array(samplesCount);
|
|
82775
|
+
const timestamps = new Array(samplesCount);
|
|
82776
|
+
let head = 0;
|
|
82777
|
+
let tail = 0;
|
|
82778
|
+
let firstSampleTS;
|
|
82779
|
+
min2 = min2 !== void 0 ? min2 : 1e3;
|
|
82780
|
+
return /* @__PURE__ */ _chunkKK4YC43Scjs.__name.call(void 0, function push2(chunkLength) {
|
|
82781
|
+
const now = Date.now();
|
|
82782
|
+
const startedAt = timestamps[tail];
|
|
82783
|
+
if (!firstSampleTS) {
|
|
82784
|
+
firstSampleTS = now;
|
|
82785
|
+
}
|
|
82786
|
+
bytes[head] = chunkLength;
|
|
82787
|
+
timestamps[head] = now;
|
|
82788
|
+
let i = tail;
|
|
82789
|
+
let bytesCount = 0;
|
|
82790
|
+
while (i !== head) {
|
|
82791
|
+
bytesCount += bytes[i++];
|
|
82792
|
+
i = i % samplesCount;
|
|
82793
|
+
}
|
|
82794
|
+
head = (head + 1) % samplesCount;
|
|
82795
|
+
if (head === tail) {
|
|
82796
|
+
tail = (tail + 1) % samplesCount;
|
|
82797
|
+
}
|
|
82798
|
+
if (now - firstSampleTS < min2) {
|
|
82799
|
+
return;
|
|
82800
|
+
}
|
|
82801
|
+
const passed = startedAt && now - startedAt;
|
|
82802
|
+
return passed ? Math.round(bytesCount * 1e3 / passed) : void 0;
|
|
82803
|
+
}, "push");
|
|
82804
|
+
}
|
|
82805
|
+
_chunkKK4YC43Scjs.__name.call(void 0, speedometer, "speedometer");
|
|
82806
|
+
var speedometer_default = speedometer;
|
|
82807
|
+
|
|
82808
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/helpers/throttle.js
|
|
82809
|
+
_chunkKK4YC43Scjs.init_cjs_shims.call(void 0, );
|
|
82810
|
+
function throttle2(fn, freq) {
|
|
82811
|
+
let timestamp = 0;
|
|
82812
|
+
let threshold = 1e3 / freq;
|
|
82813
|
+
let lastArgs;
|
|
82814
|
+
let timer;
|
|
82815
|
+
const invoke = /* @__PURE__ */ _chunkKK4YC43Scjs.__name.call(void 0, (args, now = Date.now()) => {
|
|
82816
|
+
timestamp = now;
|
|
82817
|
+
lastArgs = null;
|
|
82818
|
+
if (timer) {
|
|
82819
|
+
clearTimeout(timer);
|
|
82820
|
+
timer = null;
|
|
82821
|
+
}
|
|
82822
|
+
fn.apply(null, args);
|
|
82823
|
+
}, "invoke");
|
|
82824
|
+
const throttled = /* @__PURE__ */ _chunkKK4YC43Scjs.__name.call(void 0, (...args) => {
|
|
82825
|
+
const now = Date.now();
|
|
82826
|
+
const passed = now - timestamp;
|
|
82827
|
+
if (passed >= threshold) {
|
|
82828
|
+
invoke(args, now);
|
|
82829
|
+
} else {
|
|
82830
|
+
lastArgs = args;
|
|
82831
|
+
if (!timer) {
|
|
82832
|
+
timer = setTimeout(() => {
|
|
82833
|
+
timer = null;
|
|
82834
|
+
invoke(lastArgs);
|
|
82835
|
+
}, threshold - passed);
|
|
82836
|
+
}
|
|
82837
|
+
}
|
|
82838
|
+
}, "throttled");
|
|
82839
|
+
const flush = /* @__PURE__ */ _chunkKK4YC43Scjs.__name.call(void 0, () => lastArgs && invoke(lastArgs), "flush");
|
|
82840
|
+
return [
|
|
82841
|
+
throttled,
|
|
82842
|
+
flush
|
|
82843
|
+
];
|
|
82844
|
+
}
|
|
82845
|
+
_chunkKK4YC43Scjs.__name.call(void 0, throttle2, "throttle");
|
|
82846
|
+
var throttle_default = throttle2;
|
|
82847
|
+
|
|
82848
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/helpers/progressEventReducer.js
|
|
82849
|
+
var progressEventReducer = /* @__PURE__ */ _chunkKK4YC43Scjs.__name.call(void 0, (listener, isDownloadStream, freq = 3) => {
|
|
82850
|
+
let bytesNotified = 0;
|
|
82851
|
+
const _speedometer = speedometer_default(50, 250);
|
|
82852
|
+
return throttle_default((e) => {
|
|
82853
|
+
const loaded = e.loaded;
|
|
82854
|
+
const total = e.lengthComputable ? e.total : void 0;
|
|
82855
|
+
const progressBytes = loaded - bytesNotified;
|
|
82856
|
+
const rate = _speedometer(progressBytes);
|
|
82857
|
+
const inRange = loaded <= total;
|
|
82858
|
+
bytesNotified = loaded;
|
|
82859
|
+
const data = {
|
|
82860
|
+
loaded,
|
|
82861
|
+
total,
|
|
82862
|
+
progress: total ? loaded / total : void 0,
|
|
82863
|
+
bytes: progressBytes,
|
|
82864
|
+
rate: rate ? rate : void 0,
|
|
82865
|
+
estimated: rate && total && inRange ? (total - loaded) / rate : void 0,
|
|
82866
|
+
event: e,
|
|
82867
|
+
lengthComputable: total != null,
|
|
82868
|
+
[isDownloadStream ? "download" : "upload"]: true
|
|
82869
|
+
};
|
|
82870
|
+
listener(data);
|
|
82871
|
+
}, freq);
|
|
82872
|
+
}, "progressEventReducer");
|
|
82873
|
+
var progressEventDecorator = /* @__PURE__ */ _chunkKK4YC43Scjs.__name.call(void 0, (total, throttled) => {
|
|
82874
|
+
const lengthComputable = total != null;
|
|
82875
|
+
return [
|
|
82876
|
+
(loaded) => throttled[0]({
|
|
82877
|
+
lengthComputable,
|
|
82878
|
+
total,
|
|
82879
|
+
loaded
|
|
82880
|
+
}),
|
|
82881
|
+
throttled[1]
|
|
82882
|
+
];
|
|
82883
|
+
}, "progressEventDecorator");
|
|
82884
|
+
var asyncDecorator = /* @__PURE__ */ _chunkKK4YC43Scjs.__name.call(void 0, (fn) => (...args) => utils_default.asap(() => fn(...args)), "asyncDecorator");
|
|
82885
|
+
|
|
82886
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/adapters/http.js
|
|
82843
82887
|
var zlibOptions = {
|
|
82844
82888
|
flush: _zlib2.default.constants.Z_SYNC_FLUSH,
|
|
82845
82889
|
finishFlush: _zlib2.default.constants.Z_SYNC_FLUSH
|
|
@@ -82854,6 +82898,10 @@ var isHttps = /https:?/;
|
|
|
82854
82898
|
var supportedProtocols = platform_default.protocols.map((protocol) => {
|
|
82855
82899
|
return protocol + ":";
|
|
82856
82900
|
});
|
|
82901
|
+
var flushOnFinish = /* @__PURE__ */ _chunkKK4YC43Scjs.__name.call(void 0, (stream4, [throttled, flush]) => {
|
|
82902
|
+
stream4.on("end", flush).on("error", flush);
|
|
82903
|
+
return throttled;
|
|
82904
|
+
}, "flushOnFinish");
|
|
82857
82905
|
function dispatchBeforeRedirect(options, responseDetails) {
|
|
82858
82906
|
if (options.beforeRedirects.proxy) {
|
|
82859
82907
|
options.beforeRedirects.proxy(options);
|
|
@@ -82866,7 +82914,7 @@ _chunkKK4YC43Scjs.__name.call(void 0, dispatchBeforeRedirect, "dispatchBeforeRed
|
|
|
82866
82914
|
function setProxy(options, configProxy, location) {
|
|
82867
82915
|
let proxy = configProxy;
|
|
82868
82916
|
if (!proxy && proxy !== false) {
|
|
82869
|
-
const proxyUrl =
|
|
82917
|
+
const proxyUrl = import_proxy_from_env.default.getProxyForUrl(location);
|
|
82870
82918
|
if (proxyUrl) {
|
|
82871
82919
|
proxy = new URL(proxyUrl);
|
|
82872
82920
|
}
|
|
@@ -82983,8 +83031,8 @@ var http_default = isHttpAdapterSupported && /* @__PURE__ */ _chunkKK4YC43Scjs._
|
|
|
82983
83031
|
config.signal.aborted ? abort() : config.signal.addEventListener("abort", abort);
|
|
82984
83032
|
}
|
|
82985
83033
|
}
|
|
82986
|
-
const fullPath = buildFullPath(config.baseURL, config.url);
|
|
82987
|
-
const parsed = new URL(fullPath,
|
|
83034
|
+
const fullPath = buildFullPath(config.baseURL, config.url, config.allowAbsoluteUrls);
|
|
83035
|
+
const parsed = new URL(fullPath, platform_default.hasBrowserEnv ? platform_default.origin : void 0);
|
|
82988
83036
|
const protocol = parsed.protocol || supportedProtocols[0];
|
|
82989
83037
|
if (protocol === "data:") {
|
|
82990
83038
|
let convertedData;
|
|
@@ -83024,8 +83072,7 @@ var http_default = isHttpAdapterSupported && /* @__PURE__ */ _chunkKK4YC43Scjs._
|
|
|
83024
83072
|
}
|
|
83025
83073
|
const headers = AxiosHeaders_default.from(config.headers).normalize();
|
|
83026
83074
|
headers.set("User-Agent", "axios/" + VERSION2, false);
|
|
83027
|
-
const onDownloadProgress = config
|
|
83028
|
-
const onUploadProgress = config.onUploadProgress;
|
|
83075
|
+
const { onUploadProgress, onDownloadProgress } = config;
|
|
83029
83076
|
const maxRate = config.maxRate;
|
|
83030
83077
|
let maxUploadRate = void 0;
|
|
83031
83078
|
let maxDownloadRate = void 0;
|
|
@@ -83046,7 +83093,7 @@ var http_default = isHttpAdapterSupported && /* @__PURE__ */ _chunkKK4YC43Scjs._
|
|
|
83046
83093
|
} catch (e) {
|
|
83047
83094
|
}
|
|
83048
83095
|
}
|
|
83049
|
-
} else if (utils_default.isBlob(data)) {
|
|
83096
|
+
} else if (utils_default.isBlob(data) || utils_default.isFile(data)) {
|
|
83050
83097
|
data.size && headers.setContentType(data.type || "application/octet-stream");
|
|
83051
83098
|
headers.setContentLength(data.size || 0);
|
|
83052
83099
|
data = _stream2.default.Readable.from(readBlob_default(data));
|
|
@@ -83080,15 +83127,10 @@ var http_default = isHttpAdapterSupported && /* @__PURE__ */ _chunkKK4YC43Scjs._
|
|
|
83080
83127
|
data = _stream2.default.pipeline([
|
|
83081
83128
|
data,
|
|
83082
83129
|
new AxiosTransformStream_default({
|
|
83083
|
-
length: contentLength,
|
|
83084
83130
|
maxRate: utils_default.toFiniteNumber(maxUploadRate)
|
|
83085
83131
|
})
|
|
83086
83132
|
], utils_default.noop);
|
|
83087
|
-
onUploadProgress && data.on("progress", (
|
|
83088
|
-
onUploadProgress(Object.assign(progress, {
|
|
83089
|
-
upload: true
|
|
83090
|
-
}));
|
|
83091
|
-
});
|
|
83133
|
+
onUploadProgress && data.on("progress", flushOnFinish(data, progressEventDecorator(contentLength, progressEventReducer(asyncDecorator(onUploadProgress), false, 3))));
|
|
83092
83134
|
}
|
|
83093
83135
|
let auth = void 0;
|
|
83094
83136
|
if (config.auth) {
|
|
@@ -83131,7 +83173,7 @@ var http_default = isHttpAdapterSupported && /* @__PURE__ */ _chunkKK4YC43Scjs._
|
|
|
83131
83173
|
if (config.socketPath) {
|
|
83132
83174
|
options.socketPath = config.socketPath;
|
|
83133
83175
|
} else {
|
|
83134
|
-
options.hostname = parsed.hostname;
|
|
83176
|
+
options.hostname = parsed.hostname.startsWith("[") ? parsed.hostname.slice(1, -1) : parsed.hostname;
|
|
83135
83177
|
options.port = parsed.port;
|
|
83136
83178
|
setProxy(options, config.proxy, protocol + "//" + parsed.hostname + (parsed.port ? ":" + parsed.port : "") + options.path);
|
|
83137
83179
|
}
|
|
@@ -83165,16 +83207,11 @@ var http_default = isHttpAdapterSupported && /* @__PURE__ */ _chunkKK4YC43Scjs._
|
|
|
83165
83207
|
res
|
|
83166
83208
|
];
|
|
83167
83209
|
const responseLength = +res.headers["content-length"];
|
|
83168
|
-
if (onDownloadProgress) {
|
|
83210
|
+
if (onDownloadProgress || maxDownloadRate) {
|
|
83169
83211
|
const transformStream = new AxiosTransformStream_default({
|
|
83170
|
-
length: utils_default.toFiniteNumber(responseLength),
|
|
83171
83212
|
maxRate: utils_default.toFiniteNumber(maxDownloadRate)
|
|
83172
83213
|
});
|
|
83173
|
-
onDownloadProgress && transformStream.on("progress", (
|
|
83174
|
-
onDownloadProgress(Object.assign(progress, {
|
|
83175
|
-
download: true
|
|
83176
|
-
}));
|
|
83177
|
-
});
|
|
83214
|
+
onDownloadProgress && transformStream.on("progress", flushOnFinish(transformStream, progressEventDecorator(responseLength, progressEventReducer(asyncDecorator(onDownloadProgress), true, 3))));
|
|
83178
83215
|
streams.push(transformStream);
|
|
83179
83216
|
}
|
|
83180
83217
|
let responseStream = res;
|
|
@@ -83235,7 +83272,7 @@ var http_default = isHttpAdapterSupported && /* @__PURE__ */ _chunkKK4YC43Scjs._
|
|
|
83235
83272
|
if (rejected) {
|
|
83236
83273
|
return;
|
|
83237
83274
|
}
|
|
83238
|
-
const err = new AxiosError_default("
|
|
83275
|
+
const err = new AxiosError_default("stream has been aborted", AxiosError_default.ERR_BAD_RESPONSE, config, lastRequest);
|
|
83239
83276
|
responseStream.destroy(err);
|
|
83240
83277
|
reject2(err);
|
|
83241
83278
|
}, "handlerStreamAborted"));
|
|
@@ -83315,83 +83352,20 @@ var http_default = isHttpAdapterSupported && /* @__PURE__ */ _chunkKK4YC43Scjs._
|
|
|
83315
83352
|
}, "dispatchHttpRequest"));
|
|
83316
83353
|
}, "httpAdapter");
|
|
83317
83354
|
|
|
83318
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
83355
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/adapters/xhr.js
|
|
83319
83356
|
_chunkKK4YC43Scjs.init_cjs_shims.call(void 0, );
|
|
83320
83357
|
|
|
83321
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
83358
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/helpers/resolveConfig.js
|
|
83322
83359
|
_chunkKK4YC43Scjs.init_cjs_shims.call(void 0, );
|
|
83323
|
-
var progressEventReducer_default = /* @__PURE__ */ _chunkKK4YC43Scjs.__name.call(void 0, (listener, isDownloadStream, freq = 3) => {
|
|
83324
|
-
let bytesNotified = 0;
|
|
83325
|
-
const _speedometer = speedometer_default(50, 250);
|
|
83326
|
-
return throttle_default((e) => {
|
|
83327
|
-
const loaded = e.loaded;
|
|
83328
|
-
const total = e.lengthComputable ? e.total : void 0;
|
|
83329
|
-
const progressBytes = loaded - bytesNotified;
|
|
83330
|
-
const rate = _speedometer(progressBytes);
|
|
83331
|
-
const inRange = loaded <= total;
|
|
83332
|
-
bytesNotified = loaded;
|
|
83333
|
-
const data = {
|
|
83334
|
-
loaded,
|
|
83335
|
-
total,
|
|
83336
|
-
progress: total ? loaded / total : void 0,
|
|
83337
|
-
bytes: progressBytes,
|
|
83338
|
-
rate: rate ? rate : void 0,
|
|
83339
|
-
estimated: rate && total && inRange ? (total - loaded) / rate : void 0,
|
|
83340
|
-
event: e,
|
|
83341
|
-
lengthComputable: total != null
|
|
83342
|
-
};
|
|
83343
|
-
data[isDownloadStream ? "download" : "upload"] = true;
|
|
83344
|
-
listener(data);
|
|
83345
|
-
}, freq);
|
|
83346
|
-
}, "default");
|
|
83347
83360
|
|
|
83348
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
83361
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/helpers/isURLSameOrigin.js
|
|
83349
83362
|
_chunkKK4YC43Scjs.init_cjs_shims.call(void 0, );
|
|
83363
|
+
var isURLSameOrigin_default = platform_default.hasStandardBrowserEnv ? /* @__PURE__ */ ((origin2, isMSIE) => (url2) => {
|
|
83364
|
+
url2 = new URL(url2, platform_default.origin);
|
|
83365
|
+
return origin2.protocol === url2.protocol && origin2.host === url2.host && (isMSIE || origin2.port === url2.port);
|
|
83366
|
+
})(new URL(platform_default.origin), platform_default.navigator && /(msie|trident)/i.test(platform_default.navigator.userAgent)) : () => true;
|
|
83350
83367
|
|
|
83351
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
83352
|
-
_chunkKK4YC43Scjs.init_cjs_shims.call(void 0, );
|
|
83353
|
-
var isURLSameOrigin_default = platform_default.hasStandardBrowserEnv ? (
|
|
83354
|
-
// Standard browser envs have full support of the APIs needed to test
|
|
83355
|
-
// whether the request URL is of the same origin as current location.
|
|
83356
|
-
(/* @__PURE__ */ _chunkKK4YC43Scjs.__name.call(void 0, function standardBrowserEnv() {
|
|
83357
|
-
const msie = /(msie|trident)/i.test(navigator.userAgent);
|
|
83358
|
-
const urlParsingNode = document.createElement("a");
|
|
83359
|
-
let originURL;
|
|
83360
|
-
function resolveURL(url2) {
|
|
83361
|
-
let href = url2;
|
|
83362
|
-
if (msie) {
|
|
83363
|
-
urlParsingNode.setAttribute("href", href);
|
|
83364
|
-
href = urlParsingNode.href;
|
|
83365
|
-
}
|
|
83366
|
-
urlParsingNode.setAttribute("href", href);
|
|
83367
|
-
return {
|
|
83368
|
-
href: urlParsingNode.href,
|
|
83369
|
-
protocol: urlParsingNode.protocol ? urlParsingNode.protocol.replace(/:$/, "") : "",
|
|
83370
|
-
host: urlParsingNode.host,
|
|
83371
|
-
search: urlParsingNode.search ? urlParsingNode.search.replace(/^\?/, "") : "",
|
|
83372
|
-
hash: urlParsingNode.hash ? urlParsingNode.hash.replace(/^#/, "") : "",
|
|
83373
|
-
hostname: urlParsingNode.hostname,
|
|
83374
|
-
port: urlParsingNode.port,
|
|
83375
|
-
pathname: urlParsingNode.pathname.charAt(0) === "/" ? urlParsingNode.pathname : "/" + urlParsingNode.pathname
|
|
83376
|
-
};
|
|
83377
|
-
}
|
|
83378
|
-
_chunkKK4YC43Scjs.__name.call(void 0, resolveURL, "resolveURL");
|
|
83379
|
-
originURL = resolveURL(window.location.href);
|
|
83380
|
-
return /* @__PURE__ */ _chunkKK4YC43Scjs.__name.call(void 0, function isURLSameOrigin(requestURL) {
|
|
83381
|
-
const parsed = utils_default.isString(requestURL) ? resolveURL(requestURL) : requestURL;
|
|
83382
|
-
return parsed.protocol === originURL.protocol && parsed.host === originURL.host;
|
|
83383
|
-
}, "isURLSameOrigin");
|
|
83384
|
-
}, "standardBrowserEnv"))()
|
|
83385
|
-
) : (
|
|
83386
|
-
// Non standard browser envs (web workers, react-native) lack needed support.
|
|
83387
|
-
(/* @__PURE__ */ _chunkKK4YC43Scjs.__name.call(void 0, function nonStandardBrowserEnv() {
|
|
83388
|
-
return /* @__PURE__ */ _chunkKK4YC43Scjs.__name.call(void 0, function isURLSameOrigin() {
|
|
83389
|
-
return true;
|
|
83390
|
-
}, "isURLSameOrigin");
|
|
83391
|
-
}, "nonStandardBrowserEnv"))()
|
|
83392
|
-
);
|
|
83393
|
-
|
|
83394
|
-
// ../../node_modules/.pnpm/axios@1.7.2/node_modules/axios/lib/helpers/cookies.js
|
|
83368
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/helpers/cookies.js
|
|
83395
83369
|
_chunkKK4YC43Scjs.init_cjs_shims.call(void 0, );
|
|
83396
83370
|
var cookies_default = platform_default.hasStandardBrowserEnv ? (
|
|
83397
83371
|
// Standard browser envs support document.cookie
|
|
@@ -83427,7 +83401,7 @@ var cookies_default = platform_default.hasStandardBrowserEnv ? (
|
|
|
83427
83401
|
}
|
|
83428
83402
|
);
|
|
83429
83403
|
|
|
83430
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
83404
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/core/mergeConfig.js
|
|
83431
83405
|
_chunkKK4YC43Scjs.init_cjs_shims.call(void 0, );
|
|
83432
83406
|
var headersToObject = /* @__PURE__ */ _chunkKK4YC43Scjs.__name.call(void 0, (thing) => thing instanceof AxiosHeaders_default ? {
|
|
83433
83407
|
...thing
|
|
@@ -83435,7 +83409,7 @@ var headersToObject = /* @__PURE__ */ _chunkKK4YC43Scjs.__name.call(void 0, (thi
|
|
|
83435
83409
|
function mergeConfig(config1, config2) {
|
|
83436
83410
|
config2 = config2 || {};
|
|
83437
83411
|
const config = {};
|
|
83438
|
-
function getMergedValue(target, source, caseless) {
|
|
83412
|
+
function getMergedValue(target, source, prop, caseless) {
|
|
83439
83413
|
if (utils_default.isPlainObject(target) && utils_default.isPlainObject(source)) {
|
|
83440
83414
|
return utils_default.merge.call({
|
|
83441
83415
|
caseless
|
|
@@ -83448,11 +83422,11 @@ function mergeConfig(config1, config2) {
|
|
|
83448
83422
|
return source;
|
|
83449
83423
|
}
|
|
83450
83424
|
_chunkKK4YC43Scjs.__name.call(void 0, getMergedValue, "getMergedValue");
|
|
83451
|
-
function mergeDeepProperties(a, b, caseless) {
|
|
83425
|
+
function mergeDeepProperties(a, b, prop, caseless) {
|
|
83452
83426
|
if (!utils_default.isUndefined(b)) {
|
|
83453
|
-
return getMergedValue(a, b, caseless);
|
|
83427
|
+
return getMergedValue(a, b, prop, caseless);
|
|
83454
83428
|
} else if (!utils_default.isUndefined(a)) {
|
|
83455
|
-
return getMergedValue(void 0, a, caseless);
|
|
83429
|
+
return getMergedValue(void 0, a, prop, caseless);
|
|
83456
83430
|
}
|
|
83457
83431
|
}
|
|
83458
83432
|
_chunkKK4YC43Scjs.__name.call(void 0, mergeDeepProperties, "mergeDeepProperties");
|
|
@@ -83507,7 +83481,7 @@ function mergeConfig(config1, config2) {
|
|
|
83507
83481
|
socketPath: defaultToConfig2,
|
|
83508
83482
|
responseEncoding: defaultToConfig2,
|
|
83509
83483
|
validateStatus: mergeDirectKeys,
|
|
83510
|
-
headers: /* @__PURE__ */ _chunkKK4YC43Scjs.__name.call(void 0, (a, b) => mergeDeepProperties(headersToObject(a), headersToObject(b), true), "headers")
|
|
83484
|
+
headers: /* @__PURE__ */ _chunkKK4YC43Scjs.__name.call(void 0, (a, b, prop) => mergeDeepProperties(headersToObject(a), headersToObject(b), prop, true), "headers")
|
|
83511
83485
|
};
|
|
83512
83486
|
utils_default.forEach(Object.keys(Object.assign({}, config1, config2)), /* @__PURE__ */ _chunkKK4YC43Scjs.__name.call(void 0, function computeConfigValue(prop) {
|
|
83513
83487
|
const merge2 = mergeMap[prop] || mergeDeepProperties;
|
|
@@ -83518,7 +83492,7 @@ function mergeConfig(config1, config2) {
|
|
|
83518
83492
|
}
|
|
83519
83493
|
_chunkKK4YC43Scjs.__name.call(void 0, mergeConfig, "mergeConfig");
|
|
83520
83494
|
|
|
83521
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
83495
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/helpers/resolveConfig.js
|
|
83522
83496
|
var resolveConfig_default = /* @__PURE__ */ _chunkKK4YC43Scjs.__name.call(void 0, (config) => {
|
|
83523
83497
|
const newConfig = mergeConfig({}, config);
|
|
83524
83498
|
let { data, withXSRFToken, xsrfHeaderName, xsrfCookieName, headers, auth } = newConfig;
|
|
@@ -83551,22 +83525,22 @@ var resolveConfig_default = /* @__PURE__ */ _chunkKK4YC43Scjs.__name.call(void 0
|
|
|
83551
83525
|
return newConfig;
|
|
83552
83526
|
}, "default");
|
|
83553
83527
|
|
|
83554
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
83528
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/adapters/xhr.js
|
|
83555
83529
|
var isXHRAdapterSupported = typeof XMLHttpRequest !== "undefined";
|
|
83556
83530
|
var xhr_default = isXHRAdapterSupported && function(config) {
|
|
83557
83531
|
return new Promise(/* @__PURE__ */ _chunkKK4YC43Scjs.__name.call(void 0, function dispatchXhrRequest(resolve, reject2) {
|
|
83558
83532
|
const _config2 = resolveConfig_default(config);
|
|
83559
83533
|
let requestData = _config2.data;
|
|
83560
83534
|
const requestHeaders = AxiosHeaders_default.from(_config2.headers).normalize();
|
|
83561
|
-
let { responseType } = _config2;
|
|
83535
|
+
let { responseType, onUploadProgress, onDownloadProgress } = _config2;
|
|
83562
83536
|
let onCanceled;
|
|
83537
|
+
let uploadThrottled, downloadThrottled;
|
|
83538
|
+
let flushUpload, flushDownload;
|
|
83563
83539
|
function done() {
|
|
83564
|
-
|
|
83565
|
-
|
|
83566
|
-
|
|
83567
|
-
|
|
83568
|
-
_config2.signal.removeEventListener("abort", onCanceled);
|
|
83569
|
-
}
|
|
83540
|
+
flushUpload && flushUpload();
|
|
83541
|
+
flushDownload && flushDownload();
|
|
83542
|
+
_config2.cancelToken && _config2.cancelToken.unsubscribe(onCanceled);
|
|
83543
|
+
_config2.signal && _config2.signal.removeEventListener("abort", onCanceled);
|
|
83570
83544
|
}
|
|
83571
83545
|
_chunkKK4YC43Scjs.__name.call(void 0, done, "done");
|
|
83572
83546
|
let request = new XMLHttpRequest();
|
|
@@ -83613,11 +83587,11 @@ var xhr_default = isXHRAdapterSupported && function(config) {
|
|
|
83613
83587
|
if (!request) {
|
|
83614
83588
|
return;
|
|
83615
83589
|
}
|
|
83616
|
-
reject2(new AxiosError_default("Request aborted", AxiosError_default.ECONNABORTED,
|
|
83590
|
+
reject2(new AxiosError_default("Request aborted", AxiosError_default.ECONNABORTED, config, request));
|
|
83617
83591
|
request = null;
|
|
83618
83592
|
}, "handleAbort");
|
|
83619
83593
|
request.onerror = /* @__PURE__ */ _chunkKK4YC43Scjs.__name.call(void 0, function handleError() {
|
|
83620
|
-
reject2(new AxiosError_default("Network Error", AxiosError_default.ERR_NETWORK,
|
|
83594
|
+
reject2(new AxiosError_default("Network Error", AxiosError_default.ERR_NETWORK, config, request));
|
|
83621
83595
|
request = null;
|
|
83622
83596
|
}, "handleError");
|
|
83623
83597
|
request.ontimeout = /* @__PURE__ */ _chunkKK4YC43Scjs.__name.call(void 0, function handleTimeout() {
|
|
@@ -83626,7 +83600,7 @@ var xhr_default = isXHRAdapterSupported && function(config) {
|
|
|
83626
83600
|
if (_config2.timeoutErrorMessage) {
|
|
83627
83601
|
timeoutErrorMessage = _config2.timeoutErrorMessage;
|
|
83628
83602
|
}
|
|
83629
|
-
reject2(new AxiosError_default(timeoutErrorMessage, transitional2.clarifyTimeoutError ? AxiosError_default.ETIMEDOUT : AxiosError_default.ECONNABORTED,
|
|
83603
|
+
reject2(new AxiosError_default(timeoutErrorMessage, transitional2.clarifyTimeoutError ? AxiosError_default.ETIMEDOUT : AxiosError_default.ECONNABORTED, config, request));
|
|
83630
83604
|
request = null;
|
|
83631
83605
|
}, "handleTimeout");
|
|
83632
83606
|
requestData === void 0 && requestHeaders.setContentType(null);
|
|
@@ -83641,11 +83615,14 @@ var xhr_default = isXHRAdapterSupported && function(config) {
|
|
|
83641
83615
|
if (responseType && responseType !== "json") {
|
|
83642
83616
|
request.responseType = _config2.responseType;
|
|
83643
83617
|
}
|
|
83644
|
-
if (
|
|
83645
|
-
|
|
83618
|
+
if (onDownloadProgress) {
|
|
83619
|
+
[downloadThrottled, flushDownload] = progressEventReducer(onDownloadProgress, true);
|
|
83620
|
+
request.addEventListener("progress", downloadThrottled);
|
|
83646
83621
|
}
|
|
83647
|
-
if (
|
|
83648
|
-
|
|
83622
|
+
if (onUploadProgress && request.upload) {
|
|
83623
|
+
[uploadThrottled, flushUpload] = progressEventReducer(onUploadProgress);
|
|
83624
|
+
request.upload.addEventListener("progress", uploadThrottled);
|
|
83625
|
+
request.upload.addEventListener("loadend", flushUpload);
|
|
83649
83626
|
}
|
|
83650
83627
|
if (_config2.cancelToken || _config2.signal) {
|
|
83651
83628
|
onCanceled = /* @__PURE__ */ _chunkKK4YC43Scjs.__name.call(void 0, (cancel) => {
|
|
@@ -83670,49 +83647,47 @@ var xhr_default = isXHRAdapterSupported && function(config) {
|
|
|
83670
83647
|
}, "dispatchXhrRequest"));
|
|
83671
83648
|
};
|
|
83672
83649
|
|
|
83673
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
83650
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/adapters/fetch.js
|
|
83674
83651
|
_chunkKK4YC43Scjs.init_cjs_shims.call(void 0, );
|
|
83675
83652
|
|
|
83676
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
83653
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/helpers/composeSignals.js
|
|
83677
83654
|
_chunkKK4YC43Scjs.init_cjs_shims.call(void 0, );
|
|
83678
83655
|
var composeSignals = /* @__PURE__ */ _chunkKK4YC43Scjs.__name.call(void 0, (signals2, timeout) => {
|
|
83679
|
-
|
|
83680
|
-
|
|
83681
|
-
|
|
83682
|
-
|
|
83683
|
-
|
|
83684
|
-
|
|
83685
|
-
|
|
83686
|
-
|
|
83687
|
-
|
|
83688
|
-
|
|
83689
|
-
|
|
83690
|
-
|
|
83691
|
-
|
|
83692
|
-
const unsubscribe = /* @__PURE__ */ _chunkKK4YC43Scjs.__name.call(void 0, () => {
|
|
83693
|
-
if (signals2) {
|
|
83694
|
-
timer && clearTimeout(timer);
|
|
83656
|
+
const { length } = signals2 = signals2 ? signals2.filter(Boolean) : [];
|
|
83657
|
+
if (timeout || length) {
|
|
83658
|
+
let controller = new AbortController();
|
|
83659
|
+
let aborted;
|
|
83660
|
+
const onabort = /* @__PURE__ */ _chunkKK4YC43Scjs.__name.call(void 0, function(reason) {
|
|
83661
|
+
if (!aborted) {
|
|
83662
|
+
aborted = true;
|
|
83663
|
+
unsubscribe();
|
|
83664
|
+
const err = reason instanceof Error ? reason : this.reason;
|
|
83665
|
+
controller.abort(err instanceof AxiosError_default ? err : new CanceledError_default(err instanceof Error ? err.message : err));
|
|
83666
|
+
}
|
|
83667
|
+
}, "onabort");
|
|
83668
|
+
let timer = timeout && setTimeout(() => {
|
|
83695
83669
|
timer = null;
|
|
83696
|
-
|
|
83697
|
-
|
|
83698
|
-
|
|
83699
|
-
signals2
|
|
83700
|
-
|
|
83701
|
-
|
|
83702
|
-
|
|
83703
|
-
|
|
83704
|
-
|
|
83705
|
-
|
|
83706
|
-
|
|
83707
|
-
|
|
83708
|
-
|
|
83709
|
-
|
|
83710
|
-
|
|
83711
|
-
|
|
83670
|
+
onabort(new AxiosError_default(`timeout ${timeout} of ms exceeded`, AxiosError_default.ETIMEDOUT));
|
|
83671
|
+
}, timeout);
|
|
83672
|
+
const unsubscribe = /* @__PURE__ */ _chunkKK4YC43Scjs.__name.call(void 0, () => {
|
|
83673
|
+
if (signals2) {
|
|
83674
|
+
timer && clearTimeout(timer);
|
|
83675
|
+
timer = null;
|
|
83676
|
+
signals2.forEach((signal2) => {
|
|
83677
|
+
signal2.unsubscribe ? signal2.unsubscribe(onabort) : signal2.removeEventListener("abort", onabort);
|
|
83678
|
+
});
|
|
83679
|
+
signals2 = null;
|
|
83680
|
+
}
|
|
83681
|
+
}, "unsubscribe");
|
|
83682
|
+
signals2.forEach((signal2) => signal2.addEventListener("abort", onabort));
|
|
83683
|
+
const { signal } = controller;
|
|
83684
|
+
signal.unsubscribe = () => utils_default.asap(unsubscribe);
|
|
83685
|
+
return signal;
|
|
83686
|
+
}
|
|
83712
83687
|
}, "composeSignals");
|
|
83713
83688
|
var composeSignals_default = composeSignals;
|
|
83714
83689
|
|
|
83715
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
83690
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/helpers/trackStream.js
|
|
83716
83691
|
_chunkKK4YC43Scjs.init_cjs_shims.call(void 0, );
|
|
83717
83692
|
var streamChunk = /* @__PURE__ */ _chunkKK4YC43Scjs.__name.call(void 0, function* (chunk2, chunkSize) {
|
|
83718
83693
|
let len = chunk2.byteLength;
|
|
@@ -83728,29 +83703,61 @@ var streamChunk = /* @__PURE__ */ _chunkKK4YC43Scjs.__name.call(void 0, function
|
|
|
83728
83703
|
pos = end2;
|
|
83729
83704
|
}
|
|
83730
83705
|
}, "streamChunk");
|
|
83731
|
-
var readBytes = /* @__PURE__ */ _chunkKK4YC43Scjs.__name.call(void 0, async function* (iterable, chunkSize
|
|
83732
|
-
for await (const chunk2 of iterable) {
|
|
83733
|
-
yield* streamChunk(
|
|
83706
|
+
var readBytes = /* @__PURE__ */ _chunkKK4YC43Scjs.__name.call(void 0, async function* (iterable, chunkSize) {
|
|
83707
|
+
for await (const chunk2 of readStream(iterable)) {
|
|
83708
|
+
yield* streamChunk(chunk2, chunkSize);
|
|
83734
83709
|
}
|
|
83735
83710
|
}, "readBytes");
|
|
83736
|
-
var
|
|
83737
|
-
|
|
83711
|
+
var readStream = /* @__PURE__ */ _chunkKK4YC43Scjs.__name.call(void 0, async function* (stream4) {
|
|
83712
|
+
if (stream4[Symbol.asyncIterator]) {
|
|
83713
|
+
yield* stream4;
|
|
83714
|
+
return;
|
|
83715
|
+
}
|
|
83716
|
+
const reader = stream4.getReader();
|
|
83717
|
+
try {
|
|
83718
|
+
for (; ; ) {
|
|
83719
|
+
const { done, value } = await reader.read();
|
|
83720
|
+
if (done) {
|
|
83721
|
+
break;
|
|
83722
|
+
}
|
|
83723
|
+
yield value;
|
|
83724
|
+
}
|
|
83725
|
+
} finally {
|
|
83726
|
+
await reader.cancel();
|
|
83727
|
+
}
|
|
83728
|
+
}, "readStream");
|
|
83729
|
+
var trackStream = /* @__PURE__ */ _chunkKK4YC43Scjs.__name.call(void 0, (stream4, chunkSize, onProgress, onFinish) => {
|
|
83730
|
+
const iterator = readBytes(stream4, chunkSize);
|
|
83738
83731
|
let bytes = 0;
|
|
83732
|
+
let done;
|
|
83733
|
+
let _onFinish = /* @__PURE__ */ _chunkKK4YC43Scjs.__name.call(void 0, (e) => {
|
|
83734
|
+
if (!done) {
|
|
83735
|
+
done = true;
|
|
83736
|
+
onFinish && onFinish(e);
|
|
83737
|
+
}
|
|
83738
|
+
}, "_onFinish");
|
|
83739
83739
|
return new ReadableStream({
|
|
83740
|
-
type: "bytes",
|
|
83741
83740
|
async pull(controller) {
|
|
83742
|
-
|
|
83743
|
-
|
|
83744
|
-
|
|
83745
|
-
|
|
83746
|
-
|
|
83741
|
+
try {
|
|
83742
|
+
const { done: done2, value } = await iterator.next();
|
|
83743
|
+
if (done2) {
|
|
83744
|
+
_onFinish();
|
|
83745
|
+
controller.close();
|
|
83746
|
+
return;
|
|
83747
|
+
}
|
|
83748
|
+
let len = value.byteLength;
|
|
83749
|
+
if (onProgress) {
|
|
83750
|
+
let loadedBytes = bytes += len;
|
|
83751
|
+
onProgress(loadedBytes);
|
|
83752
|
+
}
|
|
83753
|
+
controller.enqueue(new Uint8Array(value));
|
|
83754
|
+
} catch (err) {
|
|
83755
|
+
_onFinish(err);
|
|
83756
|
+
throw err;
|
|
83747
83757
|
}
|
|
83748
|
-
let len = value.byteLength;
|
|
83749
|
-
onProgress && onProgress(bytes += len);
|
|
83750
|
-
controller.enqueue(new Uint8Array(value));
|
|
83751
83758
|
},
|
|
83752
83759
|
cancel(reason) {
|
|
83753
|
-
|
|
83760
|
+
_onFinish(reason);
|
|
83754
83761
|
return iterator.return();
|
|
83755
83762
|
}
|
|
83756
83763
|
}, {
|
|
@@ -83758,19 +83765,18 @@ var trackStream = /* @__PURE__ */ _chunkKK4YC43Scjs.__name.call(void 0, (stream4
|
|
|
83758
83765
|
});
|
|
83759
83766
|
}, "trackStream");
|
|
83760
83767
|
|
|
83761
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
83762
|
-
var fetchProgressDecorator = /* @__PURE__ */ _chunkKK4YC43Scjs.__name.call(void 0, (total, fn) => {
|
|
83763
|
-
const lengthComputable = total != null;
|
|
83764
|
-
return (loaded) => setTimeout(() => fn({
|
|
83765
|
-
lengthComputable,
|
|
83766
|
-
total,
|
|
83767
|
-
loaded
|
|
83768
|
-
}));
|
|
83769
|
-
}, "fetchProgressDecorator");
|
|
83768
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/adapters/fetch.js
|
|
83770
83769
|
var isFetchSupported = typeof fetch === "function" && typeof Request === "function" && typeof Response === "function";
|
|
83771
83770
|
var isReadableStreamSupported = isFetchSupported && typeof ReadableStream === "function";
|
|
83772
83771
|
var encodeText = isFetchSupported && (typeof TextEncoder === "function" ? /* @__PURE__ */ ((encoder2) => (str) => encoder2.encode(str))(new TextEncoder()) : async (str) => new Uint8Array(await new Response(str).arrayBuffer()));
|
|
83773
|
-
var
|
|
83772
|
+
var test = /* @__PURE__ */ _chunkKK4YC43Scjs.__name.call(void 0, (fn, ...args) => {
|
|
83773
|
+
try {
|
|
83774
|
+
return !!fn(...args);
|
|
83775
|
+
} catch (e) {
|
|
83776
|
+
return false;
|
|
83777
|
+
}
|
|
83778
|
+
}, "test");
|
|
83779
|
+
var supportsRequestStream = isReadableStreamSupported && test(() => {
|
|
83774
83780
|
let duplexAccessed = false;
|
|
83775
83781
|
const hasContentType = new Request(platform_default.origin, {
|
|
83776
83782
|
body: new ReadableStream(),
|
|
@@ -83781,14 +83787,9 @@ var supportsRequestStream = isReadableStreamSupported && (() => {
|
|
|
83781
83787
|
}
|
|
83782
83788
|
}).headers.has("Content-Type");
|
|
83783
83789
|
return duplexAccessed && !hasContentType;
|
|
83784
|
-
})
|
|
83790
|
+
});
|
|
83785
83791
|
var DEFAULT_CHUNK_SIZE = 64 * 1024;
|
|
83786
|
-
var supportsResponseStream = isReadableStreamSupported &&
|
|
83787
|
-
try {
|
|
83788
|
-
return utils_default.isReadableStream(new Response("").body);
|
|
83789
|
-
} catch (err) {
|
|
83790
|
-
}
|
|
83791
|
-
})();
|
|
83792
|
+
var supportsResponseStream = isReadableStreamSupported && test(() => utils_default.isReadableStream(new Response("").body));
|
|
83792
83793
|
var resolvers = {
|
|
83793
83794
|
stream: supportsResponseStream && ((res) => res.body)
|
|
83794
83795
|
};
|
|
@@ -83813,9 +83814,13 @@ var getBodyLength = /* @__PURE__ */ _chunkKK4YC43Scjs.__name.call(void 0, async
|
|
|
83813
83814
|
return body.size;
|
|
83814
83815
|
}
|
|
83815
83816
|
if (utils_default.isSpecCompliantForm(body)) {
|
|
83816
|
-
|
|
83817
|
+
const _request = new Request(platform_default.origin, {
|
|
83818
|
+
method: "POST",
|
|
83819
|
+
body
|
|
83820
|
+
});
|
|
83821
|
+
return (await _request.arrayBuffer()).byteLength;
|
|
83817
83822
|
}
|
|
83818
|
-
if (utils_default.isArrayBufferView(body)) {
|
|
83823
|
+
if (utils_default.isArrayBufferView(body) || utils_default.isArrayBuffer(body)) {
|
|
83819
83824
|
return body.byteLength;
|
|
83820
83825
|
}
|
|
83821
83826
|
if (utils_default.isURLSearchParams(body)) {
|
|
@@ -83832,17 +83837,14 @@ var resolveBodyLength = /* @__PURE__ */ _chunkKK4YC43Scjs.__name.call(void 0, as
|
|
|
83832
83837
|
var fetch_default = isFetchSupported && (async (config) => {
|
|
83833
83838
|
let { url: url2, method, data, signal, cancelToken, timeout, onDownloadProgress, onUploadProgress, responseType, headers, withCredentials = "same-origin", fetchOptions } = resolveConfig_default(config);
|
|
83834
83839
|
responseType = responseType ? (responseType + "").toLowerCase() : "text";
|
|
83835
|
-
let
|
|
83840
|
+
let composedSignal = composeSignals_default([
|
|
83836
83841
|
signal,
|
|
83837
|
-
cancelToken
|
|
83838
|
-
], timeout)
|
|
83839
|
-
let
|
|
83840
|
-
const
|
|
83841
|
-
|
|
83842
|
-
|
|
83843
|
-
});
|
|
83844
|
-
finished = true;
|
|
83845
|
-
}, "onFinish");
|
|
83842
|
+
cancelToken && cancelToken.toAbortSignal()
|
|
83843
|
+
], timeout);
|
|
83844
|
+
let request;
|
|
83845
|
+
const unsubscribe = composedSignal && composedSignal.unsubscribe && (() => {
|
|
83846
|
+
composedSignal.unsubscribe();
|
|
83847
|
+
});
|
|
83846
83848
|
let requestContentLength;
|
|
83847
83849
|
try {
|
|
83848
83850
|
if (onUploadProgress && supportsRequestStream && method !== "get" && method !== "head" && (requestContentLength = await resolveBodyLength(headers, data)) !== 0) {
|
|
@@ -83856,12 +83858,14 @@ var fetch_default = isFetchSupported && (async (config) => {
|
|
|
83856
83858
|
headers.setContentType(contentTypeHeader);
|
|
83857
83859
|
}
|
|
83858
83860
|
if (_request.body) {
|
|
83859
|
-
|
|
83861
|
+
const [onProgress, flush] = progressEventDecorator(requestContentLength, progressEventReducer(asyncDecorator(onUploadProgress)));
|
|
83862
|
+
data = trackStream(_request.body, DEFAULT_CHUNK_SIZE, onProgress, flush);
|
|
83860
83863
|
}
|
|
83861
83864
|
}
|
|
83862
83865
|
if (!utils_default.isString(withCredentials)) {
|
|
83863
|
-
withCredentials = withCredentials ? "
|
|
83866
|
+
withCredentials = withCredentials ? "include" : "omit";
|
|
83864
83867
|
}
|
|
83868
|
+
const isCredentialsSupported = "credentials" in Request.prototype;
|
|
83865
83869
|
request = new Request(url2, {
|
|
83866
83870
|
...fetchOptions,
|
|
83867
83871
|
signal: composedSignal,
|
|
@@ -83869,11 +83873,11 @@ var fetch_default = isFetchSupported && (async (config) => {
|
|
|
83869
83873
|
headers: headers.normalize().toJSON(),
|
|
83870
83874
|
body: data,
|
|
83871
83875
|
duplex: "half",
|
|
83872
|
-
withCredentials
|
|
83876
|
+
credentials: isCredentialsSupported ? withCredentials : void 0
|
|
83873
83877
|
});
|
|
83874
83878
|
let response = await fetch(request);
|
|
83875
83879
|
const isStreamResponse = supportsResponseStream && (responseType === "stream" || responseType === "response");
|
|
83876
|
-
if (supportsResponseStream && (onDownloadProgress || isStreamResponse)) {
|
|
83880
|
+
if (supportsResponseStream && (onDownloadProgress || isStreamResponse && unsubscribe)) {
|
|
83877
83881
|
const options = {};
|
|
83878
83882
|
[
|
|
83879
83883
|
"status",
|
|
@@ -83883,12 +83887,15 @@ var fetch_default = isFetchSupported && (async (config) => {
|
|
|
83883
83887
|
options[prop] = response[prop];
|
|
83884
83888
|
});
|
|
83885
83889
|
const responseContentLength = utils_default.toFiniteNumber(response.headers.get("content-length"));
|
|
83886
|
-
|
|
83890
|
+
const [onProgress, flush] = onDownloadProgress && progressEventDecorator(responseContentLength, progressEventReducer(asyncDecorator(onDownloadProgress), true)) || [];
|
|
83891
|
+
response = new Response(trackStream(response.body, DEFAULT_CHUNK_SIZE, onProgress, () => {
|
|
83892
|
+
flush && flush();
|
|
83893
|
+
unsubscribe && unsubscribe();
|
|
83894
|
+
}), options);
|
|
83887
83895
|
}
|
|
83888
83896
|
responseType = responseType || "text";
|
|
83889
83897
|
let responseData = await resolvers[utils_default.findKey(resolvers, responseType) || "text"](response, config);
|
|
83890
|
-
!isStreamResponse &&
|
|
83891
|
-
stopTimeout && stopTimeout();
|
|
83898
|
+
!isStreamResponse && unsubscribe && unsubscribe();
|
|
83892
83899
|
return await new Promise((resolve, reject2) => {
|
|
83893
83900
|
settle(resolve, reject2, {
|
|
83894
83901
|
data: responseData,
|
|
@@ -83900,7 +83907,7 @@ var fetch_default = isFetchSupported && (async (config) => {
|
|
|
83900
83907
|
});
|
|
83901
83908
|
});
|
|
83902
83909
|
} catch (err) {
|
|
83903
|
-
|
|
83910
|
+
unsubscribe && unsubscribe();
|
|
83904
83911
|
if (err && err.name === "TypeError" && /fetch/i.test(err.message)) {
|
|
83905
83912
|
throw Object.assign(new AxiosError_default("Network Error", AxiosError_default.ERR_NETWORK, config, request), {
|
|
83906
83913
|
cause: err.cause || err
|
|
@@ -83910,7 +83917,7 @@ var fetch_default = isFetchSupported && (async (config) => {
|
|
|
83910
83917
|
}
|
|
83911
83918
|
});
|
|
83912
83919
|
|
|
83913
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
83920
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/adapters/adapters.js
|
|
83914
83921
|
var knownAdapters = {
|
|
83915
83922
|
http: http_default,
|
|
83916
83923
|
xhr: xhr_default,
|
|
@@ -83965,7 +83972,7 @@ var adapters_default = {
|
|
|
83965
83972
|
adapters: knownAdapters
|
|
83966
83973
|
};
|
|
83967
83974
|
|
|
83968
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
83975
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/core/dispatchRequest.js
|
|
83969
83976
|
function throwIfCancellationRequested(config) {
|
|
83970
83977
|
if (config.cancelToken) {
|
|
83971
83978
|
config.cancelToken.throwIfRequested();
|
|
@@ -84005,7 +84012,7 @@ function dispatchRequest(config) {
|
|
|
84005
84012
|
}
|
|
84006
84013
|
_chunkKK4YC43Scjs.__name.call(void 0, dispatchRequest, "dispatchRequest");
|
|
84007
84014
|
|
|
84008
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
84015
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/helpers/validator.js
|
|
84009
84016
|
_chunkKK4YC43Scjs.init_cjs_shims.call(void 0, );
|
|
84010
84017
|
var validators = {};
|
|
84011
84018
|
[
|
|
@@ -84037,6 +84044,12 @@ validators.transitional = /* @__PURE__ */ _chunkKK4YC43Scjs.__name.call(void 0,
|
|
|
84037
84044
|
return validator ? validator(value, opt, opts) : true;
|
|
84038
84045
|
};
|
|
84039
84046
|
}, "transitional");
|
|
84047
|
+
validators.spelling = /* @__PURE__ */ _chunkKK4YC43Scjs.__name.call(void 0, function spelling(correctSpelling) {
|
|
84048
|
+
return (value, opt) => {
|
|
84049
|
+
console.warn(`${opt} is likely a misspelling of ${correctSpelling}`);
|
|
84050
|
+
return true;
|
|
84051
|
+
};
|
|
84052
|
+
}, "spelling");
|
|
84040
84053
|
function assertOptions(options, schema, allowUnknown) {
|
|
84041
84054
|
if (typeof options !== "object") {
|
|
84042
84055
|
throw new AxiosError_default("options must be an object", AxiosError_default.ERR_BAD_OPTION_VALUE);
|
|
@@ -84065,7 +84078,7 @@ var validator_default = {
|
|
|
84065
84078
|
validators
|
|
84066
84079
|
};
|
|
84067
84080
|
|
|
84068
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
84081
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/core/Axios.js
|
|
84069
84082
|
var validators2 = validator_default.validators;
|
|
84070
84083
|
var Axios = class Axios2 {
|
|
84071
84084
|
static {
|
|
@@ -84091,8 +84104,8 @@ var Axios = class Axios2 {
|
|
|
84091
84104
|
return await this._request(configOrUrl, config);
|
|
84092
84105
|
} catch (err) {
|
|
84093
84106
|
if (err instanceof Error) {
|
|
84094
|
-
let dummy;
|
|
84095
|
-
Error.captureStackTrace ? Error.captureStackTrace(dummy
|
|
84107
|
+
let dummy = {};
|
|
84108
|
+
Error.captureStackTrace ? Error.captureStackTrace(dummy) : dummy = new Error();
|
|
84096
84109
|
const stack = dummy.stack ? dummy.stack.replace(/^.+\n/, "") : "";
|
|
84097
84110
|
try {
|
|
84098
84111
|
if (!err.stack) {
|
|
@@ -84134,6 +84147,16 @@ var Axios = class Axios2 {
|
|
|
84134
84147
|
}, true);
|
|
84135
84148
|
}
|
|
84136
84149
|
}
|
|
84150
|
+
if (config.allowAbsoluteUrls !== void 0) {
|
|
84151
|
+
} else if (this.defaults.allowAbsoluteUrls !== void 0) {
|
|
84152
|
+
config.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls;
|
|
84153
|
+
} else {
|
|
84154
|
+
config.allowAbsoluteUrls = true;
|
|
84155
|
+
}
|
|
84156
|
+
validator_default.assertOptions(config, {
|
|
84157
|
+
baseUrl: validators2.spelling("baseURL"),
|
|
84158
|
+
withXsrfToken: validators2.spelling("withXSRFToken")
|
|
84159
|
+
}, true);
|
|
84137
84160
|
config.method = (config.method || this.defaults.method || "get").toLowerCase();
|
|
84138
84161
|
let contextHeaders = headers && utils_default.merge(headers.common, headers[config.method]);
|
|
84139
84162
|
headers && utils_default.forEach([
|
|
@@ -84205,7 +84228,7 @@ var Axios = class Axios2 {
|
|
|
84205
84228
|
}
|
|
84206
84229
|
getUri(config) {
|
|
84207
84230
|
config = mergeConfig(this.defaults, config);
|
|
84208
|
-
const fullPath = buildFullPath(config.baseURL, config.url);
|
|
84231
|
+
const fullPath = buildFullPath(config.baseURL, config.url, config.allowAbsoluteUrls);
|
|
84209
84232
|
return buildURL(fullPath, config.params, config.paramsSerializer);
|
|
84210
84233
|
}
|
|
84211
84234
|
};
|
|
@@ -84246,7 +84269,7 @@ utils_default.forEach([
|
|
|
84246
84269
|
}, "forEachMethodWithData"));
|
|
84247
84270
|
var Axios_default = Axios;
|
|
84248
84271
|
|
|
84249
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
84272
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/cancel/CancelToken.js
|
|
84250
84273
|
_chunkKK4YC43Scjs.init_cjs_shims.call(void 0, );
|
|
84251
84274
|
var CancelToken = class CancelToken2 {
|
|
84252
84275
|
static {
|
|
@@ -84324,6 +84347,15 @@ var CancelToken = class CancelToken2 {
|
|
|
84324
84347
|
this._listeners.splice(index, 1);
|
|
84325
84348
|
}
|
|
84326
84349
|
}
|
|
84350
|
+
toAbortSignal() {
|
|
84351
|
+
const controller = new AbortController();
|
|
84352
|
+
const abort = /* @__PURE__ */ _chunkKK4YC43Scjs.__name.call(void 0, (err) => {
|
|
84353
|
+
controller.abort(err);
|
|
84354
|
+
}, "abort");
|
|
84355
|
+
this.subscribe(abort);
|
|
84356
|
+
controller.signal.unsubscribe = () => this.unsubscribe(abort);
|
|
84357
|
+
return controller.signal;
|
|
84358
|
+
}
|
|
84327
84359
|
/**
|
|
84328
84360
|
* Returns an object that contains a new `CancelToken` and a function that, when called,
|
|
84329
84361
|
* cancels the `CancelToken`.
|
|
@@ -84341,7 +84373,7 @@ var CancelToken = class CancelToken2 {
|
|
|
84341
84373
|
};
|
|
84342
84374
|
var CancelToken_default = CancelToken;
|
|
84343
84375
|
|
|
84344
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
84376
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/helpers/spread.js
|
|
84345
84377
|
_chunkKK4YC43Scjs.init_cjs_shims.call(void 0, );
|
|
84346
84378
|
function spread(callback) {
|
|
84347
84379
|
return /* @__PURE__ */ _chunkKK4YC43Scjs.__name.call(void 0, function wrap3(arr) {
|
|
@@ -84350,14 +84382,14 @@ function spread(callback) {
|
|
|
84350
84382
|
}
|
|
84351
84383
|
_chunkKK4YC43Scjs.__name.call(void 0, spread, "spread");
|
|
84352
84384
|
|
|
84353
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
84385
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/helpers/isAxiosError.js
|
|
84354
84386
|
_chunkKK4YC43Scjs.init_cjs_shims.call(void 0, );
|
|
84355
84387
|
function isAxiosError(payload) {
|
|
84356
84388
|
return utils_default.isObject(payload) && payload.isAxiosError === true;
|
|
84357
84389
|
}
|
|
84358
84390
|
_chunkKK4YC43Scjs.__name.call(void 0, isAxiosError, "isAxiosError");
|
|
84359
84391
|
|
|
84360
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
84392
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/helpers/HttpStatusCode.js
|
|
84361
84393
|
_chunkKK4YC43Scjs.init_cjs_shims.call(void 0, );
|
|
84362
84394
|
var HttpStatusCode = {
|
|
84363
84395
|
Continue: 100,
|
|
@@ -84429,7 +84461,7 @@ Object.entries(HttpStatusCode).forEach(([key, value]) => {
|
|
|
84429
84461
|
});
|
|
84430
84462
|
var HttpStatusCode_default = HttpStatusCode;
|
|
84431
84463
|
|
|
84432
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
84464
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/lib/axios.js
|
|
84433
84465
|
function createInstance(defaultConfig) {
|
|
84434
84466
|
const context = new Axios_default(defaultConfig);
|
|
84435
84467
|
const instance = bind(Axios_default.prototype.request, context);
|
|
@@ -84467,7 +84499,7 @@ axios.HttpStatusCode = HttpStatusCode_default;
|
|
|
84467
84499
|
axios.default = axios;
|
|
84468
84500
|
var axios_default = axios;
|
|
84469
84501
|
|
|
84470
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
84502
|
+
// ../../node_modules/.pnpm/axios@1.8.2/node_modules/axios/index.js
|
|
84471
84503
|
var { Axios: Axios3, AxiosError: AxiosError2, CanceledError: CanceledError2, isCancel: isCancel2, CancelToken: CancelToken3, VERSION: VERSION3, all: all2, Cancel, isAxiosError: isAxiosError2, spread: spread2, toFormData: toFormData2, AxiosHeaders: AxiosHeaders3, HttpStatusCode: HttpStatusCode2, formToJSON, getAdapter, mergeConfig: mergeConfig2 } = axios_default;
|
|
84472
84504
|
|
|
84473
84505
|
// src/release/changelog-renderer.ts
|
|
@@ -84492,7 +84524,7 @@ var StormChangelogRenderer = (_class13 = class extends _changelogrenderer2.defau
|
|
|
84492
84524
|
super(config);_class13.prototype.__init27.call(this);;
|
|
84493
84525
|
}
|
|
84494
84526
|
async render() {
|
|
84495
|
-
this.workspaceConfig = await
|
|
84527
|
+
this.workspaceConfig = await _chunkWZ6ONU2Gcjs.getWorkspaceConfig.call(void 0, );
|
|
84496
84528
|
return await super.render();
|
|
84497
84529
|
}
|
|
84498
84530
|
preprocessChanges() {
|
|
@@ -84666,7 +84698,7 @@ var StormChangelogRenderer = (_class13 = class extends _changelogrenderer2.defau
|
|
|
84666
84698
|
// src/release/changelog.ts
|
|
84667
84699
|
function createAPI(overrideReleaseConfig) {
|
|
84668
84700
|
return /* @__PURE__ */ _chunkKK4YC43Scjs.__name.call(void 0, async function releaseChangelog(args) {
|
|
84669
|
-
const workspaceConfig = await
|
|
84701
|
+
const workspaceConfig = await _chunkWZ6ONU2Gcjs.getWorkspaceConfig.call(void 0, );
|
|
84670
84702
|
const projectGraph = await _projectgraph.createProjectGraphAsync.call(void 0, {
|
|
84671
84703
|
exitOnError: true
|
|
84672
84704
|
});
|
|
@@ -85216,7 +85248,7 @@ async function applyChangesAndExit(args, nxReleaseConfig, tree, toSHA, postGitTa
|
|
|
85216
85248
|
}
|
|
85217
85249
|
_chunkKK4YC43Scjs.__name.call(void 0, applyChangesAndExit, "applyChangesAndExit");
|
|
85218
85250
|
async function generateChangelogForWorkspace({ tree, args, projectGraph, nxReleaseConfig, workspaceChangelogVersion, changes, commits }) {
|
|
85219
|
-
const workspaceConfig = await
|
|
85251
|
+
const workspaceConfig = await _chunkWZ6ONU2Gcjs.getWorkspaceConfig.call(void 0, );
|
|
85220
85252
|
if (!workspaceConfig) {
|
|
85221
85253
|
throw new Error(`Unable to determine the Storm workspace config. Please ensure that your storm-workspace.json file is present and valid.`);
|
|
85222
85254
|
}
|
|
@@ -85306,7 +85338,7 @@ async function generateChangelogForWorkspace({ tree, args, projectGraph, nxRelea
|
|
|
85306
85338
|
}
|
|
85307
85339
|
_chunkKK4YC43Scjs.__name.call(void 0, generateChangelogForWorkspace, "generateChangelogForWorkspace");
|
|
85308
85340
|
async function generateChangelogForProjects({ tree, args, changes, projectsVersionData, releaseGroup, projects, nxReleaseConfig, projectToAdditionalDependencyBumps }) {
|
|
85309
|
-
const workspaceConfig = await
|
|
85341
|
+
const workspaceConfig = await _chunkWZ6ONU2Gcjs.getWorkspaceConfig.call(void 0, );
|
|
85310
85342
|
if (!workspaceConfig) {
|
|
85311
85343
|
throw new Error(`Unable to determine the Storm workspace config. Please ensure that your storm-workspace.json file is present and valid.`);
|
|
85312
85344
|
}
|
|
@@ -85612,13 +85644,13 @@ var _filemaputilsjs = require('nx/src/project-graph/file-map-utils.js');
|
|
|
85612
85644
|
var _paramsjs = require('nx/src/utils/params.js');
|
|
85613
85645
|
async function releaseVersion(config, args) {
|
|
85614
85646
|
try {
|
|
85615
|
-
|
|
85647
|
+
_chunkWZ6ONU2Gcjs.writeInfo.call(void 0, "Running release version command", config);
|
|
85616
85648
|
const projectGraph = await _projectgraphjs.createProjectGraphAsync.call(void 0, {
|
|
85617
85649
|
exitOnError: true
|
|
85618
85650
|
});
|
|
85619
85651
|
const { projects } = _projectgraphjs.readProjectsConfigurationFromProjectGraph.call(void 0, projectGraph);
|
|
85620
85652
|
const nxJson = _nxjsonjs.readNxJson.call(void 0, );
|
|
85621
|
-
const workspaceRoot3 = _nullishCoalesce(_optionalChain([config, 'optionalAccess', _242 => _242.workspaceRoot]), () => (
|
|
85653
|
+
const workspaceRoot3 = _nullishCoalesce(_optionalChain([config, 'optionalAccess', _242 => _242.workspaceRoot]), () => ( _chunkWZ6ONU2Gcjs.findWorkspaceRoot.call(void 0, )));
|
|
85622
85654
|
if (args.verbose) {
|
|
85623
85655
|
process.env.NX_VERBOSE_LOGGING = "true";
|
|
85624
85656
|
}
|
|
@@ -85633,10 +85665,10 @@ async function releaseVersion(config, args) {
|
|
|
85633
85665
|
]);
|
|
85634
85666
|
throw new Error(`The "release.git" property in nx.json may not be used with the "nx release version" subcommand or programmatic API. Instead, configure git options for subcommands directly with "release.version.git" and "release.changelog.git".`);
|
|
85635
85667
|
}
|
|
85636
|
-
|
|
85668
|
+
_chunkWZ6ONU2Gcjs.writeInfo.call(void 0, "Filtering projects and release groups", config);
|
|
85637
85669
|
const { error: filterError, releaseGroups, releaseGroupToFilteredProjects } = _filterreleasegroupsjs.filterReleaseGroups.call(void 0, projectGraph, nxReleaseConfig, args.projects, args.groups);
|
|
85638
85670
|
if (filterError) {
|
|
85639
|
-
|
|
85671
|
+
_chunkWZ6ONU2Gcjs.writeError.call(void 0, filterError.title, config);
|
|
85640
85672
|
throw new Error(filterError.title);
|
|
85641
85673
|
}
|
|
85642
85674
|
const tree = new (0, _treejs.FsTree)(workspaceRoot3, true);
|
|
@@ -85645,10 +85677,10 @@ async function releaseVersion(config, args) {
|
|
|
85645
85677
|
const additionalChangedFiles = /* @__PURE__ */ new Set();
|
|
85646
85678
|
const generatorCallbacks = [];
|
|
85647
85679
|
if (_optionalChain([args, 'access', _248 => _248.projects, 'optionalAccess', _249 => _249.length])) {
|
|
85648
|
-
|
|
85680
|
+
_chunkWZ6ONU2Gcjs.writeInfo.call(void 0, "Run versioning for all remaining release groups and filtered projects within them", config);
|
|
85649
85681
|
for (const releaseGroup of releaseGroups) {
|
|
85650
85682
|
const releaseGroupName = releaseGroup.name;
|
|
85651
|
-
|
|
85683
|
+
_chunkWZ6ONU2Gcjs.writeInfo.call(void 0, `Running versioning for release group "${releaseGroupName}" and filtered projects within it`, config);
|
|
85652
85684
|
const releaseGroupProjectNames = Array.from(_nullishCoalesce(releaseGroupToFilteredProjects.get(releaseGroup), () => ( [])));
|
|
85653
85685
|
const projectBatches = _batchprojectsbygeneratorconfigjs.batchProjectsByGeneratorConfig.call(void 0,
|
|
85654
85686
|
projectGraph,
|
|
@@ -85657,7 +85689,7 @@ async function releaseVersion(config, args) {
|
|
|
85657
85689
|
releaseGroupProjectNames
|
|
85658
85690
|
);
|
|
85659
85691
|
for (const [generatorConfigString, projectNames] of projectBatches.entries()) {
|
|
85660
|
-
|
|
85692
|
+
_chunkWZ6ONU2Gcjs.writeInfo.call(void 0, `Running versioning for batch "${JSON.stringify(projectNames)}" for release-group "${releaseGroupName}"`, config);
|
|
85661
85693
|
const [generatorName, generatorOptions] = JSON.parse(generatorConfigString);
|
|
85662
85694
|
const generatorData = resolveGeneratorData({
|
|
85663
85695
|
...extractGeneratorCollectionAndName(`batch "${JSON.stringify(projectNames)}" for release-group "${releaseGroupName}"`, generatorName),
|
|
@@ -85710,7 +85742,7 @@ async function releaseVersion(config, args) {
|
|
|
85710
85742
|
gitCommitArgs: args.gitCommitArgs || _optionalChain([nxReleaseConfig, 'optionalAccess', _256 => _256.version, 'access', _257 => _257.git, 'access', _258 => _258.commitArgs])
|
|
85711
85743
|
});
|
|
85712
85744
|
} else if (_nullishCoalesce(args.stageChanges, () => ( _optionalChain([nxReleaseConfig, 'optionalAccess', _259 => _259.version, 'access', _260 => _260.git, 'access', _261 => _261.stageChanges])))) {
|
|
85713
|
-
|
|
85745
|
+
_chunkWZ6ONU2Gcjs.writeInfo.call(void 0, "Staging changed files with git", config);
|
|
85714
85746
|
await _gitjs.gitAdd.call(void 0, {
|
|
85715
85747
|
changedFiles: changedFiles2,
|
|
85716
85748
|
dryRun: args.dryRun,
|
|
@@ -85718,7 +85750,7 @@ async function releaseVersion(config, args) {
|
|
|
85718
85750
|
});
|
|
85719
85751
|
}
|
|
85720
85752
|
if (_nullishCoalesce(args.gitTag, () => ( _optionalChain([nxReleaseConfig, 'optionalAccess', _262 => _262.version, 'access', _263 => _263.git, 'access', _264 => _264.tag])))) {
|
|
85721
|
-
|
|
85753
|
+
_chunkWZ6ONU2Gcjs.writeInfo.call(void 0, "Tagging commit with git", config);
|
|
85722
85754
|
for (const tag of gitTagValues2) {
|
|
85723
85755
|
await gitTag({
|
|
85724
85756
|
tag,
|
|
@@ -85805,7 +85837,7 @@ async function releaseVersion(config, args) {
|
|
|
85805
85837
|
gitCommitArgs: args.gitCommitArgs || _optionalChain([nxReleaseConfig, 'optionalAccess', _280 => _280.version, 'access', _281 => _281.git, 'access', _282 => _282.commitArgs])
|
|
85806
85838
|
});
|
|
85807
85839
|
} else if (_nullishCoalesce(args.stageChanges, () => ( _optionalChain([nxReleaseConfig, 'optionalAccess', _283 => _283.version, 'access', _284 => _284.git, 'access', _285 => _285.stageChanges])))) {
|
|
85808
|
-
|
|
85840
|
+
_chunkWZ6ONU2Gcjs.writeInfo.call(void 0, "Staging changed files with git", config);
|
|
85809
85841
|
await _gitjs.gitAdd.call(void 0, {
|
|
85810
85842
|
changedFiles,
|
|
85811
85843
|
dryRun: args.dryRun,
|
|
@@ -85813,7 +85845,7 @@ async function releaseVersion(config, args) {
|
|
|
85813
85845
|
});
|
|
85814
85846
|
}
|
|
85815
85847
|
if (_nullishCoalesce(args.gitTag, () => ( _optionalChain([nxReleaseConfig, 'optionalAccess', _286 => _286.version, 'access', _287 => _287.git, 'access', _288 => _288.tag])))) {
|
|
85816
|
-
|
|
85848
|
+
_chunkWZ6ONU2Gcjs.writeInfo.call(void 0, "Tagging commit with git", config);
|
|
85817
85849
|
for (const tag of gitTagValues) {
|
|
85818
85850
|
await gitTag({
|
|
85819
85851
|
tag,
|
|
@@ -85829,8 +85861,8 @@ async function releaseVersion(config, args) {
|
|
|
85829
85861
|
projectsVersionData: versionData
|
|
85830
85862
|
};
|
|
85831
85863
|
} catch (error) {
|
|
85832
|
-
|
|
85833
|
-
|
|
85864
|
+
_chunkWZ6ONU2Gcjs.writeFatal.call(void 0, "A fatal error occurred while determining the Storm Release Version - the process was forced to terminate", config);
|
|
85865
|
+
_chunkWZ6ONU2Gcjs.writeError.call(void 0, `An exception was thrown while determining the Storm Release Version
|
|
85834
85866
|
- Details: ${error.message}
|
|
85835
85867
|
- Stacktrace: ${error.stack}`, config);
|
|
85836
85868
|
throw new Error(`An exception was thrown in the Storm Release Version generator's process
|
|
@@ -85841,7 +85873,7 @@ async function releaseVersion(config, args) {
|
|
|
85841
85873
|
}
|
|
85842
85874
|
_chunkKK4YC43Scjs.__name.call(void 0, releaseVersion, "releaseVersion");
|
|
85843
85875
|
async function runVersionOnProjects(config, projectGraph, nxJson, args, tree, generatorData, projectNames, releaseGroup, versionData) {
|
|
85844
|
-
const workspaceRoot3 = _nullishCoalesce(_optionalChain([config, 'optionalAccess', _295 => _295.workspaceRoot]), () => (
|
|
85876
|
+
const workspaceRoot3 = _nullishCoalesce(_optionalChain([config, 'optionalAccess', _295 => _295.workspaceRoot]), () => ( _chunkWZ6ONU2Gcjs.findWorkspaceRoot.call(void 0, )));
|
|
85845
85877
|
const generatorOptions = {
|
|
85846
85878
|
// Always ensure a string to avoid generator schema validation errors
|
|
85847
85879
|
specifier: _nullishCoalesce(args.specifier, () => ( "")),
|
|
@@ -85860,7 +85892,7 @@ async function runVersionOnProjects(config, projectGraph, nxJson, args, tree, ge
|
|
|
85860
85892
|
throw new Error(`The version generator ${generatorData.collectionName}:${generatorData.normalizedGeneratorName} returned a function instead of an expected ReleaseVersionGeneratorResult`);
|
|
85861
85893
|
}
|
|
85862
85894
|
appendVersionData(versionData, versionResult.data);
|
|
85863
|
-
|
|
85895
|
+
_chunkWZ6ONU2Gcjs.writeDebug.call(void 0, `Updated version data: ${JSON.stringify(versionData, null, 2)}`, config);
|
|
85864
85896
|
return versionResult.callback;
|
|
85865
85897
|
}
|
|
85866
85898
|
_chunkKK4YC43Scjs.__name.call(void 0, runVersionOnProjects, "runVersionOnProjects");
|
|
@@ -85868,10 +85900,10 @@ function printAndFlushChanges2(config, tree, isDryRun) {
|
|
|
85868
85900
|
const changes = tree.listChanges();
|
|
85869
85901
|
for (const f of changes) {
|
|
85870
85902
|
if (f.type === "CREATE") {
|
|
85871
|
-
|
|
85903
|
+
_chunkWZ6ONU2Gcjs.writeInfo.call(void 0, `CREATE ${f.path}${isDryRun ? " [dry-run]" : ""}`, config);
|
|
85872
85904
|
_printchangesjs.printDiff.call(void 0, "", _optionalChain([f, 'access', _296 => _296.content, 'optionalAccess', _297 => _297.toString, 'call', _298 => _298()]) || "");
|
|
85873
85905
|
} else if (f.type === "UPDATE") {
|
|
85874
|
-
|
|
85906
|
+
_chunkWZ6ONU2Gcjs.writeInfo.call(void 0, `UPDATE ${f.path}${isDryRun ? " [dry-run]" : ""}`, config);
|
|
85875
85907
|
const currentContentsOnDisk = _fs.readFileSync.call(void 0, (0, import_devkit.joinPathFragments)(tree.root, f.path)).toString();
|
|
85876
85908
|
_printchangesjs.printDiff.call(void 0, currentContentsOnDisk, _optionalChain([f, 'access', _299 => _299.content, 'optionalAccess', _300 => _300.toString, 'call', _301 => _301()]) || "");
|
|
85877
85909
|
} else if (f.type === "DELETE") {
|
|
@@ -85943,12 +85975,12 @@ var runRelease = /* @__PURE__ */ _chunkKK4YC43Scjs.__name.call(void 0, async (co
|
|
|
85943
85975
|
process.env.NODE_AUTH_TOKEN = process.env.NPM_TOKEN;
|
|
85944
85976
|
process.env.NPM_AUTH_TOKEN = process.env.NPM_TOKEN;
|
|
85945
85977
|
process.env.NPM_CONFIG_PROVENANCE = "true";
|
|
85946
|
-
|
|
85978
|
+
_chunkWZ6ONU2Gcjs.writeDebug.call(void 0, "Creating workspace Project Graph data...", config);
|
|
85947
85979
|
const nxJson = _nxjsonjs.readNxJson.call(void 0, );
|
|
85948
|
-
|
|
85980
|
+
_chunkWZ6ONU2Gcjs.writeDebug.call(void 0, "Reading in the workspaces release configuration", config);
|
|
85949
85981
|
const to = options.head || process.env.NX_HEAD;
|
|
85950
85982
|
const from = options.base || process.env.NX_BASE;
|
|
85951
|
-
|
|
85983
|
+
_chunkWZ6ONU2Gcjs.writeDebug.call(void 0, `Using the following Git SHAs to determine the release content:
|
|
85952
85984
|
- From: ${from}
|
|
85953
85985
|
- To: ${to}
|
|
85954
85986
|
`, config);
|
|
@@ -85960,14 +85992,14 @@ var runRelease = /* @__PURE__ */ _chunkKK4YC43Scjs.__name.call(void 0, async (co
|
|
|
85960
85992
|
}, {});
|
|
85961
85993
|
}
|
|
85962
85994
|
const nxReleaseConfig = _chunkP2CHIYIKcjs.defu.call(void 0, nxJson.release, DEFAULT_RELEASE_CONFIG);
|
|
85963
|
-
|
|
85964
|
-
|
|
85995
|
+
_chunkWZ6ONU2Gcjs.writeInfo.call(void 0, "Using the following `nx.json` release configuration values", config);
|
|
85996
|
+
_chunkWZ6ONU2Gcjs.writeInfo.call(void 0, nxReleaseConfig, config);
|
|
85965
85997
|
const releaseChangelog = createAPI(nxReleaseConfig);
|
|
85966
85998
|
const releasePublish = _publishjs.createAPI.call(void 0, nxReleaseConfig);
|
|
85967
|
-
|
|
85999
|
+
_chunkWZ6ONU2Gcjs.writeDebug.call(void 0, "Determining the current release versions...", config);
|
|
85968
86000
|
const { workspaceVersion, projectsVersionData } = await releaseVersion(config, {
|
|
85969
86001
|
dryRun: false,
|
|
85970
|
-
verbose:
|
|
86002
|
+
verbose: _chunkWZ6ONU2Gcjs.isVerbose.call(void 0, config.logLevel),
|
|
85971
86003
|
preid: config.preid,
|
|
85972
86004
|
deleteVersionPlans: false,
|
|
85973
86005
|
stageChanges: true,
|
|
@@ -85979,25 +86011,25 @@ var runRelease = /* @__PURE__ */ _chunkKK4YC43Scjs.__name.call(void 0, async (co
|
|
|
85979
86011
|
version: _optionalChain([nxReleaseConfig, 'optionalAccess', _307 => _307.projectsRelationship]) !== "fixed" ? void 0 : workspaceVersion,
|
|
85980
86012
|
versionData: projectsVersionData,
|
|
85981
86013
|
dryRun: false,
|
|
85982
|
-
verbose:
|
|
86014
|
+
verbose: _chunkWZ6ONU2Gcjs.isVerbose.call(void 0, config.logLevel),
|
|
85983
86015
|
to,
|
|
85984
86016
|
from,
|
|
85985
86017
|
gitCommit: true,
|
|
85986
86018
|
gitCommitMessage: "release(monorepo): Publish workspace release updates"
|
|
85987
86019
|
});
|
|
85988
|
-
|
|
86020
|
+
_chunkWZ6ONU2Gcjs.writeDebug.call(void 0, "Tagging commit with git", config);
|
|
85989
86021
|
if (options.skipPublish) {
|
|
85990
|
-
|
|
86022
|
+
_chunkWZ6ONU2Gcjs.writeWarning.call(void 0, "Skipping publishing packages since `skipPublish` was provided as `true` in the release options.", config);
|
|
85991
86023
|
} else {
|
|
85992
86024
|
const changedProjects = Object.keys(projectsVersionData).filter((key) => _optionalChain([projectsVersionData, 'access', _308 => _308[key], 'optionalAccess', _309 => _309.newVersion]));
|
|
85993
86025
|
if (changedProjects.length > 0) {
|
|
85994
|
-
|
|
86026
|
+
_chunkWZ6ONU2Gcjs.writeInfo.call(void 0, `Publishing release for ${changedProjects.length} ${changedProjects.length === 1 ? "project" : "projects"}:
|
|
85995
86027
|
${changedProjects.map((changedProject) => ` - ${changedProject}`).join("\n")}
|
|
85996
86028
|
`, config);
|
|
85997
86029
|
const result2 = await releasePublish({
|
|
85998
86030
|
...options,
|
|
85999
86031
|
dryRun: !!options.dryRun,
|
|
86000
|
-
verbose:
|
|
86032
|
+
verbose: _chunkWZ6ONU2Gcjs.isVerbose.call(void 0, config.logLevel)
|
|
86001
86033
|
});
|
|
86002
86034
|
const failedProjects = Object.keys(result2).filter((key) => _optionalChain([result2, 'access', _310 => _310[key], 'optionalAccess', _311 => _311.code]) && _optionalChain([result2, 'access', _312 => _312[key], 'optionalAccess', _313 => _313.code]) > 0);
|
|
86003
86035
|
if (failedProjects.length > 0) {
|
|
@@ -86008,18 +86040,18 @@ ${failedProjects.map((failedProject) => ` - ${failedProject} (Error Code: ${_op
|
|
|
86008
86040
|
`);
|
|
86009
86041
|
}
|
|
86010
86042
|
} else {
|
|
86011
|
-
|
|
86043
|
+
_chunkWZ6ONU2Gcjs.writeWarning.call(void 0, "Skipped publishing packages.", config);
|
|
86012
86044
|
}
|
|
86013
86045
|
}
|
|
86014
|
-
|
|
86046
|
+
_chunkWZ6ONU2Gcjs.writeSuccess.call(void 0, "Completed the Storm workspace release process!", config);
|
|
86015
86047
|
}, "runRelease");
|
|
86016
86048
|
|
|
86017
86049
|
// src/cli/index.ts
|
|
86018
86050
|
var _config = {};
|
|
86019
86051
|
function createProgram(config) {
|
|
86020
86052
|
_config = config;
|
|
86021
|
-
|
|
86022
|
-
const root2 =
|
|
86053
|
+
_chunkWZ6ONU2Gcjs.writeInfo.call(void 0, "\u26A1 Running Storm Git Tools", config);
|
|
86054
|
+
const root2 = _chunkWZ6ONU2Gcjs.findWorkspaceRootSafe.call(void 0, process.cwd());
|
|
86023
86055
|
process.env.STORM_WORKSPACE_ROOT ??= root2;
|
|
86024
86056
|
process.env.NX_WORKSPACE_ROOT_PATH ??= root2;
|
|
86025
86057
|
if (root2) {
|
|
@@ -86049,14 +86081,14 @@ function createProgram(config) {
|
|
|
86049
86081
|
_chunkKK4YC43Scjs.__name.call(void 0, createProgram, "createProgram");
|
|
86050
86082
|
async function commitAction({ config = "@storm-software/git-tools/commit/config.js", dryRun = false }) {
|
|
86051
86083
|
try {
|
|
86052
|
-
|
|
86084
|
+
_chunkWZ6ONU2Gcjs.writeInfo.call(void 0, `\u26A1 Preparing to commit your changes. Please provide the requested details below...`, _config);
|
|
86053
86085
|
await runCommit(config, dryRun);
|
|
86054
|
-
|
|
86086
|
+
_chunkWZ6ONU2Gcjs.writeSuccess.call(void 0, `\u{1F389} Storm Commit processing completed successfully!
|
|
86055
86087
|
|
|
86056
86088
|
Note: Please run "pnpm push" to upload these changes to the remote ${_config.name ? _config.name : _config.namespace ? _config.namespace : _config.organization ? _config.organization : "Storm-Software"} Git repository at ${_config.repository}
|
|
86057
86089
|
`, _config);
|
|
86058
86090
|
} catch (error) {
|
|
86059
|
-
|
|
86091
|
+
_chunkWZ6ONU2Gcjs.writeFatal.call(void 0, `A fatal error occurred while running commit action:
|
|
86060
86092
|
|
|
86061
86093
|
${error.message}`, _config);
|
|
86062
86094
|
throw new Error(error.message, {
|
|
@@ -86067,11 +86099,11 @@ ${error.message}`, _config);
|
|
|
86067
86099
|
_chunkKK4YC43Scjs.__name.call(void 0, commitAction, "commitAction");
|
|
86068
86100
|
async function readmeAction(options) {
|
|
86069
86101
|
try {
|
|
86070
|
-
|
|
86102
|
+
_chunkWZ6ONU2Gcjs.writeInfo.call(void 0, "\u26A1 Formatting the workspace's README.md files", _config);
|
|
86071
86103
|
await runReadme(options);
|
|
86072
|
-
|
|
86104
|
+
_chunkWZ6ONU2Gcjs.writeSuccess.call(void 0, "Formatting of the workspace's README.md files is complete\n", _config);
|
|
86073
86105
|
} catch (error) {
|
|
86074
|
-
|
|
86106
|
+
_chunkWZ6ONU2Gcjs.writeFatal.call(void 0, `A fatal error occurred while running README format action:
|
|
86075
86107
|
|
|
86076
86108
|
${error.message}`);
|
|
86077
86109
|
throw new Error(error.message, {
|
|
@@ -86082,16 +86114,16 @@ ${error.message}`);
|
|
|
86082
86114
|
_chunkKK4YC43Scjs.__name.call(void 0, readmeAction, "readmeAction");
|
|
86083
86115
|
async function releaseAction({ project, base, head, dryRun }) {
|
|
86084
86116
|
try {
|
|
86085
|
-
|
|
86117
|
+
_chunkWZ6ONU2Gcjs.writeInfo.call(void 0, "\u26A1 Running the Storm Release and Publish process on the workspace", _config);
|
|
86086
86118
|
await runRelease(_config, {
|
|
86087
86119
|
dryRun,
|
|
86088
86120
|
project,
|
|
86089
86121
|
base,
|
|
86090
86122
|
head
|
|
86091
86123
|
});
|
|
86092
|
-
|
|
86124
|
+
_chunkWZ6ONU2Gcjs.writeSuccess.call(void 0, "Release completed successfully!\n", _config);
|
|
86093
86125
|
} catch (error) {
|
|
86094
|
-
|
|
86126
|
+
_chunkWZ6ONU2Gcjs.writeFatal.call(void 0, `A fatal error occurred while running release action:
|
|
86095
86127
|
|
|
86096
86128
|
${error.message} ${error.stack ? `
|
|
86097
86129
|
|
|
@@ -86105,15 +86137,15 @@ Stacktrace: ${error.stack}` : ""}`, _config);
|
|
|
86105
86137
|
_chunkKK4YC43Scjs.__name.call(void 0, releaseAction, "releaseAction");
|
|
86106
86138
|
async function commitLintAction({ config, message: message2, file }) {
|
|
86107
86139
|
try {
|
|
86108
|
-
|
|
86140
|
+
_chunkWZ6ONU2Gcjs.writeInfo.call(void 0, `\u26A1 Linting the ${_config.repository ? _config.repository : _config.namespace ? _config.namespace : _config.name ? _config.name : _config.organization ? _config.organization : "Storm-Software"} repository's commit messages.`, _config);
|
|
86109
86141
|
await runCommitLint(_config, {
|
|
86110
86142
|
config,
|
|
86111
86143
|
message: message2,
|
|
86112
86144
|
file
|
|
86113
86145
|
});
|
|
86114
|
-
|
|
86146
|
+
_chunkWZ6ONU2Gcjs.writeSuccess.call(void 0, "Linting the commit messages completed successfully!\n", _config);
|
|
86115
86147
|
} catch (error) {
|
|
86116
|
-
|
|
86148
|
+
_chunkWZ6ONU2Gcjs.writeFatal.call(void 0, `A fatal error occurred while linting the commit messages:
|
|
86117
86149
|
|
|
86118
86150
|
${error.message}`, _config);
|
|
86119
86151
|
throw new Error(error.message, {
|
|
@@ -86125,15 +86157,15 @@ _chunkKK4YC43Scjs.__name.call(void 0, commitLintAction, "commitLintAction");
|
|
|
86125
86157
|
|
|
86126
86158
|
// bin/git.ts
|
|
86127
86159
|
void (async () => {
|
|
86128
|
-
const config = await
|
|
86160
|
+
const config = await _chunkWZ6ONU2Gcjs.getConfig.call(void 0, );
|
|
86129
86161
|
try {
|
|
86130
|
-
|
|
86162
|
+
_chunkWZ6ONU2Gcjs.handleProcess.call(void 0, config);
|
|
86131
86163
|
const program2 = createProgram(config);
|
|
86132
86164
|
await program2.parseAsync(process.argv);
|
|
86133
|
-
|
|
86134
|
-
|
|
86165
|
+
_chunkWZ6ONU2Gcjs.writeSuccess.call(void 0, `\u{1F389} Git ${process.argv && process.argv.length >= 3 && process.argv[2] ? process.argv[2] : "tool"} processing completed successfully!`, config);
|
|
86166
|
+
_chunkWZ6ONU2Gcjs.exitWithSuccess.call(void 0, config);
|
|
86135
86167
|
} catch (error) {
|
|
86136
|
-
|
|
86168
|
+
_chunkWZ6ONU2Gcjs.exitWithError.call(void 0, config);
|
|
86137
86169
|
process.exit(1);
|
|
86138
86170
|
}
|
|
86139
86171
|
})();
|