drizzle-kit 0.30.1 → 0.30.2-de3c537
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/api.js +16 -1
- package/api.mjs +16 -1
- package/bin.cjs +300 -301
- package/package.json +1 -1
package/bin.cjs
CHANGED
@@ -1628,10 +1628,10 @@ function custom(check2, params = {}, fatal) {
|
|
1628
1628
|
return ZodAny.create().superRefine((data, ctx) => {
|
1629
1629
|
var _a, _b;
|
1630
1630
|
if (!check2(data)) {
|
1631
|
-
const
|
1632
|
-
const _fatal = (_b = (_a =
|
1633
|
-
const
|
1634
|
-
ctx.addIssue({ code: "custom", ...
|
1631
|
+
const p = typeof params === "function" ? params(data) : typeof params === "string" ? { message: params } : params;
|
1632
|
+
const _fatal = (_b = (_a = p.fatal) !== null && _a !== void 0 ? _a : fatal) !== null && _b !== void 0 ? _b : true;
|
1633
|
+
const p2 = typeof p === "string" ? { message: p } : p;
|
1634
|
+
ctx.addIssue({ code: "custom", ...p2, fatal: _fatal });
|
1635
1635
|
}
|
1636
1636
|
});
|
1637
1637
|
return ZodAny.create();
|
@@ -7829,8 +7829,8 @@ var require_windows = __commonJS({
|
|
7829
7829
|
return true;
|
7830
7830
|
}
|
7831
7831
|
for (var i2 = 0; i2 < pathext.length; i2++) {
|
7832
|
-
var
|
7833
|
-
if (
|
7832
|
+
var p = pathext[i2].toLowerCase();
|
7833
|
+
if (p && path5.substr(-p.length).toLowerCase() === p) {
|
7834
7834
|
return true;
|
7835
7835
|
}
|
7836
7836
|
}
|
@@ -7984,9 +7984,9 @@ var require_lib = __commonJS({
|
|
7984
7984
|
const { pathEnv, pathExt, pathExtExe } = getPathInfo(cmd, opt);
|
7985
7985
|
const found = [];
|
7986
7986
|
for (const envPart of pathEnv) {
|
7987
|
-
const
|
7987
|
+
const p = getPathPart(envPart, cmd);
|
7988
7988
|
for (const ext2 of pathExt) {
|
7989
|
-
const withExt =
|
7989
|
+
const withExt = p + ext2;
|
7990
7990
|
const is11 = await isexe(withExt, { pathExt: pathExtExe, ignoreErrors: true });
|
7991
7991
|
if (is11) {
|
7992
7992
|
if (!opt.all) {
|
@@ -8008,9 +8008,9 @@ var require_lib = __commonJS({
|
|
8008
8008
|
const { pathEnv, pathExt, pathExtExe } = getPathInfo(cmd, opt);
|
8009
8009
|
const found = [];
|
8010
8010
|
for (const pathEnvPart of pathEnv) {
|
8011
|
-
const
|
8011
|
+
const p = getPathPart(pathEnvPart, cmd);
|
8012
8012
|
for (const ext2 of pathExt) {
|
8013
|
-
const withExt =
|
8013
|
+
const withExt = p + ext2;
|
8014
8014
|
const is11 = isexe.sync(withExt, { pathExt: pathExtExe, ignoreErrors: true });
|
8015
8015
|
if (is11) {
|
8016
8016
|
if (!opt.all) {
|
@@ -9815,11 +9815,11 @@ var require_expand = __commonJS({
|
|
9815
9815
|
const rangeLimit = options.rangeLimit === void 0 ? 1e3 : options.rangeLimit;
|
9816
9816
|
const walk = (node, parent = {}) => {
|
9817
9817
|
node.queue = [];
|
9818
|
-
let
|
9818
|
+
let p = parent;
|
9819
9819
|
let q = parent.queue;
|
9820
|
-
while (
|
9821
|
-
|
9822
|
-
q =
|
9820
|
+
while (p.type !== "brace" && p.type !== "root" && p.parent) {
|
9821
|
+
p = p.parent;
|
9822
|
+
q = p.queue;
|
9823
9823
|
}
|
9824
9824
|
if (node.invalid || node.dollar) {
|
9825
9825
|
q.push(append(q.pop(), stringify3(node, options)));
|
@@ -11752,7 +11752,7 @@ var require_picomatch = __commonJS({
|
|
11752
11752
|
picomatch.isMatch = (str, patterns, options) => picomatch(patterns, options)(str);
|
11753
11753
|
picomatch.parse = (pattern, options) => {
|
11754
11754
|
if (Array.isArray(pattern))
|
11755
|
-
return pattern.map((
|
11755
|
+
return pattern.map((p) => picomatch.parse(p, options));
|
11756
11756
|
return parse5(pattern, { ...options, fastpaths: false });
|
11757
11757
|
};
|
11758
11758
|
picomatch.scan = (input, options) => scan(input, options);
|
@@ -11856,7 +11856,7 @@ var require_micromatch = __commonJS({
|
|
11856
11856
|
throw new Error(`No matches found for "${patterns.join(", ")}"`);
|
11857
11857
|
}
|
11858
11858
|
if (options.nonull === true || options.nullglob === true) {
|
11859
|
-
return options.unescape ? patterns.map((
|
11859
|
+
return options.unescape ? patterns.map((p) => p.replace(/\\/g, "")) : patterns;
|
11860
11860
|
}
|
11861
11861
|
}
|
11862
11862
|
return matches;
|
@@ -11887,7 +11887,7 @@ var require_micromatch = __commonJS({
|
|
11887
11887
|
throw new TypeError(`Expected a string: "${util2.inspect(str)}"`);
|
11888
11888
|
}
|
11889
11889
|
if (Array.isArray(pattern)) {
|
11890
|
-
return pattern.some((
|
11890
|
+
return pattern.some((p) => micromatch.contains(str, p, options));
|
11891
11891
|
}
|
11892
11892
|
if (typeof pattern === "string") {
|
11893
11893
|
if (isEmptyString(str) || isEmptyString(pattern)) {
|
@@ -11933,7 +11933,7 @@ var require_micromatch = __commonJS({
|
|
11933
11933
|
if (typeof str !== "string") {
|
11934
11934
|
throw new TypeError(`Expected a string: "${util2.inspect(str)}"`);
|
11935
11935
|
}
|
11936
|
-
return [].concat(patterns).every((
|
11936
|
+
return [].concat(patterns).every((p) => picomatch(p, options)(str));
|
11937
11937
|
};
|
11938
11938
|
micromatch.capture = (glob2, input, options) => {
|
11939
11939
|
let posix = utils.isWindows(options);
|
@@ -13042,7 +13042,7 @@ var require_queue = __commonJS({
|
|
13042
13042
|
queue.drained = drained;
|
13043
13043
|
return queue;
|
13044
13044
|
function push2(value) {
|
13045
|
-
var
|
13045
|
+
var p = new Promise(function(resolve2, reject) {
|
13046
13046
|
pushCb(value, function(err2, result) {
|
13047
13047
|
if (err2) {
|
13048
13048
|
reject(err2);
|
@@ -13051,11 +13051,11 @@ var require_queue = __commonJS({
|
|
13051
13051
|
resolve2(result);
|
13052
13052
|
});
|
13053
13053
|
});
|
13054
|
-
|
13055
|
-
return
|
13054
|
+
p.catch(noop3);
|
13055
|
+
return p;
|
13056
13056
|
}
|
13057
13057
|
function unshift(value) {
|
13058
|
-
var
|
13058
|
+
var p = new Promise(function(resolve2, reject) {
|
13059
13059
|
unshiftCb(value, function(err2, result) {
|
13060
13060
|
if (err2) {
|
13061
13061
|
reject(err2);
|
@@ -13064,8 +13064,8 @@ var require_queue = __commonJS({
|
|
13064
13064
|
resolve2(result);
|
13065
13065
|
});
|
13066
13066
|
});
|
13067
|
-
|
13068
|
-
return
|
13067
|
+
p.catch(noop3);
|
13068
|
+
return p;
|
13069
13069
|
}
|
13070
13070
|
function drained() {
|
13071
13071
|
if (queue.idle()) {
|
@@ -13074,13 +13074,13 @@ var require_queue = __commonJS({
|
|
13074
13074
|
});
|
13075
13075
|
}
|
13076
13076
|
var previousDrain = queue.drain;
|
13077
|
-
var
|
13077
|
+
var p = new Promise(function(resolve2) {
|
13078
13078
|
queue.drain = function() {
|
13079
13079
|
previousDrain();
|
13080
13080
|
resolve2();
|
13081
13081
|
};
|
13082
13082
|
});
|
13083
|
-
return
|
13083
|
+
return p;
|
13084
13084
|
}
|
13085
13085
|
}
|
13086
13086
|
module2.exports = fastqueue;
|
@@ -14586,7 +14586,7 @@ var require_ignore = __commonJS({
|
|
14586
14586
|
};
|
14587
14587
|
var isNotRelative = (path5) => REGEX_TEST_INVALID_PATH.test(path5);
|
14588
14588
|
checkPath.isNotRelative = isNotRelative;
|
14589
|
-
checkPath.convert = (
|
14589
|
+
checkPath.convert = (p) => p;
|
14590
14590
|
var Ignore = class {
|
14591
14591
|
constructor({
|
14592
14592
|
ignorecase = true,
|
@@ -19100,12 +19100,12 @@ var init_file = __esm({
|
|
19100
19100
|
|
19101
19101
|
// ../node_modules/.pnpm/formdata-polyfill@4.0.10/node_modules/formdata-polyfill/esm.min.js
|
19102
19102
|
function formDataToBlob(F2, B = fetch_blob_default) {
|
19103
|
-
var b = `${r()}${r()}`.replace(/\./g, "").slice(-28).padStart(32, "-"), c = [],
|
19103
|
+
var b = `${r()}${r()}`.replace(/\./g, "").slice(-28).padStart(32, "-"), c = [], p = `--${b}\r
|
19104
19104
|
Content-Disposition: form-data; name="`;
|
19105
|
-
F2.forEach((v, n) => typeof v == "string" ? c.push(
|
19105
|
+
F2.forEach((v, n) => typeof v == "string" ? c.push(p + e(n) + `"\r
|
19106
19106
|
\r
|
19107
19107
|
${v.replace(/\r(?!\n)|(?<!\r)\n/g, "\r\n")}\r
|
19108
|
-
`) : c.push(
|
19108
|
+
`) : c.push(p + e(n) + `"; filename="${e(v.name, 1)}"\r
|
19109
19109
|
Content-Type: ${v.type || "application/octet-stream"}\r
|
19110
19110
|
\r
|
19111
19111
|
`, v, "\r\n"));
|
@@ -22205,7 +22205,7 @@ var require_timestamp = __commonJS({
|
|
22205
22205
|
const sign = str[0];
|
22206
22206
|
const parts = sign === "-" || sign === "+" ? str.substring(1) : str;
|
22207
22207
|
const num = (n) => asBigInt ? BigInt(n) : Number(n);
|
22208
|
-
const res = parts.replace(/_/g, "").split(":").reduce((res2,
|
22208
|
+
const res = parts.replace(/_/g, "").split(":").reduce((res2, p) => res2 * num(60) + num(p), num(0));
|
22209
22209
|
return sign === "-" ? num(-1) * res : res;
|
22210
22210
|
}
|
22211
22211
|
function stringifySexagesimal(node) {
|
@@ -26438,19 +26438,19 @@ var require_old = __commonJS({
|
|
26438
26438
|
splitRootRe = /^[\/]*/;
|
26439
26439
|
}
|
26440
26440
|
var splitRootRe;
|
26441
|
-
exports2.realpathSync = function realpathSync(
|
26442
|
-
|
26443
|
-
if (cache && Object.prototype.hasOwnProperty.call(cache,
|
26444
|
-
return cache[
|
26441
|
+
exports2.realpathSync = function realpathSync(p, cache) {
|
26442
|
+
p = pathModule.resolve(p);
|
26443
|
+
if (cache && Object.prototype.hasOwnProperty.call(cache, p)) {
|
26444
|
+
return cache[p];
|
26445
26445
|
}
|
26446
|
-
var original =
|
26446
|
+
var original = p, seenLinks = {}, knownHard = {};
|
26447
26447
|
var pos;
|
26448
26448
|
var current;
|
26449
26449
|
var base;
|
26450
26450
|
var previous;
|
26451
26451
|
start();
|
26452
26452
|
function start() {
|
26453
|
-
var m2 = splitRootRe.exec(
|
26453
|
+
var m2 = splitRootRe.exec(p);
|
26454
26454
|
pos = m2[0].length;
|
26455
26455
|
current = m2[0];
|
26456
26456
|
base = m2[0];
|
@@ -26460,9 +26460,9 @@ var require_old = __commonJS({
|
|
26460
26460
|
knownHard[base] = true;
|
26461
26461
|
}
|
26462
26462
|
}
|
26463
|
-
while (pos <
|
26463
|
+
while (pos < p.length) {
|
26464
26464
|
nextPartRe.lastIndex = pos;
|
26465
|
-
var result = nextPartRe.exec(
|
26465
|
+
var result = nextPartRe.exec(p);
|
26466
26466
|
previous = current;
|
26467
26467
|
current += result[0];
|
26468
26468
|
base = previous + result[1];
|
@@ -26498,30 +26498,30 @@ var require_old = __commonJS({
|
|
26498
26498
|
if (!isWindows)
|
26499
26499
|
seenLinks[id] = linkTarget;
|
26500
26500
|
}
|
26501
|
-
|
26501
|
+
p = pathModule.resolve(resolvedLink, p.slice(pos));
|
26502
26502
|
start();
|
26503
26503
|
}
|
26504
26504
|
if (cache)
|
26505
|
-
cache[original] =
|
26506
|
-
return
|
26505
|
+
cache[original] = p;
|
26506
|
+
return p;
|
26507
26507
|
};
|
26508
|
-
exports2.realpath = function realpath(
|
26508
|
+
exports2.realpath = function realpath(p, cache, cb) {
|
26509
26509
|
if (typeof cb !== "function") {
|
26510
26510
|
cb = maybeCallback(cache);
|
26511
26511
|
cache = null;
|
26512
26512
|
}
|
26513
|
-
|
26514
|
-
if (cache && Object.prototype.hasOwnProperty.call(cache,
|
26515
|
-
return process.nextTick(cb.bind(null, null, cache[
|
26513
|
+
p = pathModule.resolve(p);
|
26514
|
+
if (cache && Object.prototype.hasOwnProperty.call(cache, p)) {
|
26515
|
+
return process.nextTick(cb.bind(null, null, cache[p]));
|
26516
26516
|
}
|
26517
|
-
var original =
|
26517
|
+
var original = p, seenLinks = {}, knownHard = {};
|
26518
26518
|
var pos;
|
26519
26519
|
var current;
|
26520
26520
|
var base;
|
26521
26521
|
var previous;
|
26522
26522
|
start();
|
26523
26523
|
function start() {
|
26524
|
-
var m2 = splitRootRe.exec(
|
26524
|
+
var m2 = splitRootRe.exec(p);
|
26525
26525
|
pos = m2[0].length;
|
26526
26526
|
current = m2[0];
|
26527
26527
|
base = m2[0];
|
@@ -26538,13 +26538,13 @@ var require_old = __commonJS({
|
|
26538
26538
|
}
|
26539
26539
|
}
|
26540
26540
|
function LOOP() {
|
26541
|
-
if (pos >=
|
26541
|
+
if (pos >= p.length) {
|
26542
26542
|
if (cache)
|
26543
|
-
cache[original] =
|
26544
|
-
return cb(null,
|
26543
|
+
cache[original] = p;
|
26544
|
+
return cb(null, p);
|
26545
26545
|
}
|
26546
26546
|
nextPartRe.lastIndex = pos;
|
26547
|
-
var result = nextPartRe.exec(
|
26547
|
+
var result = nextPartRe.exec(p);
|
26548
26548
|
previous = current;
|
26549
26549
|
current += result[0];
|
26550
26550
|
base = previous + result[1];
|
@@ -26591,7 +26591,7 @@ var require_old = __commonJS({
|
|
26591
26591
|
gotResolvedLink(resolvedLink);
|
26592
26592
|
}
|
26593
26593
|
function gotResolvedLink(resolvedLink) {
|
26594
|
-
|
26594
|
+
p = pathModule.resolve(resolvedLink, p.slice(pos));
|
26595
26595
|
start();
|
26596
26596
|
}
|
26597
26597
|
};
|
@@ -26616,31 +26616,31 @@ var require_fs5 = __commonJS({
|
|
26616
26616
|
function newError(er) {
|
26617
26617
|
return er && er.syscall === "realpath" && (er.code === "ELOOP" || er.code === "ENOMEM" || er.code === "ENAMETOOLONG");
|
26618
26618
|
}
|
26619
|
-
function realpath(
|
26619
|
+
function realpath(p, cache, cb) {
|
26620
26620
|
if (ok) {
|
26621
|
-
return origRealpath(
|
26621
|
+
return origRealpath(p, cache, cb);
|
26622
26622
|
}
|
26623
26623
|
if (typeof cache === "function") {
|
26624
26624
|
cb = cache;
|
26625
26625
|
cache = null;
|
26626
26626
|
}
|
26627
|
-
origRealpath(
|
26627
|
+
origRealpath(p, cache, function(er, result) {
|
26628
26628
|
if (newError(er)) {
|
26629
|
-
old.realpath(
|
26629
|
+
old.realpath(p, cache, cb);
|
26630
26630
|
} else {
|
26631
26631
|
cb(er, result);
|
26632
26632
|
}
|
26633
26633
|
});
|
26634
26634
|
}
|
26635
|
-
function realpathSync(
|
26635
|
+
function realpathSync(p, cache) {
|
26636
26636
|
if (ok) {
|
26637
|
-
return origRealpathSync(
|
26637
|
+
return origRealpathSync(p, cache);
|
26638
26638
|
}
|
26639
26639
|
try {
|
26640
|
-
return origRealpathSync(
|
26640
|
+
return origRealpathSync(p, cache);
|
26641
26641
|
} catch (er) {
|
26642
26642
|
if (newError(er)) {
|
26643
|
-
return old.realpathSync(
|
26643
|
+
return old.realpathSync(p, cache);
|
26644
26644
|
} else {
|
26645
26645
|
throw er;
|
26646
26646
|
}
|
@@ -26754,14 +26754,14 @@ var require_brace_expansion = __commonJS({
|
|
26754
26754
|
var pre = m2.pre;
|
26755
26755
|
var body = m2.body;
|
26756
26756
|
var post = m2.post;
|
26757
|
-
var
|
26758
|
-
|
26757
|
+
var p = pre.split(",");
|
26758
|
+
p[p.length - 1] += "{" + body + "}";
|
26759
26759
|
var postParts = parseCommaParts(post);
|
26760
26760
|
if (post.length) {
|
26761
|
-
|
26762
|
-
|
26761
|
+
p[p.length - 1] += postParts.shift();
|
26762
|
+
p.push.apply(p, postParts);
|
26763
26763
|
}
|
26764
|
-
parts.push.apply(parts,
|
26764
|
+
parts.push.apply(parts, p);
|
26765
26765
|
return parts;
|
26766
26766
|
}
|
26767
26767
|
function expandTop(str) {
|
@@ -26816,8 +26816,8 @@ var require_brace_expansion = __commonJS({
|
|
26816
26816
|
if (n.length === 1) {
|
26817
26817
|
n = expand2(n[0], false).map(embrace);
|
26818
26818
|
if (n.length === 1) {
|
26819
|
-
return post.map(function(
|
26820
|
-
return m2.pre + n[0] +
|
26819
|
+
return post.map(function(p) {
|
26820
|
+
return m2.pre + n[0] + p;
|
26821
26821
|
});
|
26822
26822
|
}
|
26823
26823
|
}
|
@@ -26879,12 +26879,12 @@ var require_brace_expansion = __commonJS({
|
|
26879
26879
|
// ../node_modules/.pnpm/minimatch@5.1.6/node_modules/minimatch/minimatch.js
|
26880
26880
|
var require_minimatch = __commonJS({
|
26881
26881
|
"../node_modules/.pnpm/minimatch@5.1.6/node_modules/minimatch/minimatch.js"(exports2, module2) {
|
26882
|
-
var minimatch2 = module2.exports = (
|
26882
|
+
var minimatch2 = module2.exports = (p, pattern, options = {}) => {
|
26883
26883
|
assertValidPattern2(pattern);
|
26884
26884
|
if (!options.nocomment && pattern.charAt(0) === "#") {
|
26885
26885
|
return false;
|
26886
26886
|
}
|
26887
|
-
return new Minimatch2(pattern, options).match(
|
26887
|
+
return new Minimatch2(pattern, options).match(p);
|
26888
26888
|
};
|
26889
26889
|
module2.exports = minimatch2;
|
26890
26890
|
var path5 = require_path2();
|
@@ -26910,7 +26910,7 @@ var require_minimatch = __commonJS({
|
|
26910
26910
|
var reSpecials2 = charSet2("().*{}+?[]^$\\!");
|
26911
26911
|
var addPatternStartSet2 = charSet2("[.(");
|
26912
26912
|
var slashSplit = /\/+/;
|
26913
|
-
minimatch2.filter = (pattern, options = {}) => (
|
26913
|
+
minimatch2.filter = (pattern, options = {}) => (p, i2, list) => minimatch2(p, pattern, options);
|
26914
26914
|
var ext2 = (a, b = {}) => {
|
26915
26915
|
const t2 = {};
|
26916
26916
|
Object.keys(a).forEach((k) => t2[k] = a[k]);
|
@@ -26922,7 +26922,7 @@ var require_minimatch = __commonJS({
|
|
26922
26922
|
return minimatch2;
|
26923
26923
|
}
|
26924
26924
|
const orig = minimatch2;
|
26925
|
-
const m2 = (
|
26925
|
+
const m2 = (p, pattern, options) => orig(p, pattern, ext2(def, options));
|
26926
26926
|
m2.Minimatch = class Minimatch extends orig.Minimatch {
|
26927
26927
|
constructor(pattern, options) {
|
26928
26928
|
super(pattern, ext2(def, options));
|
@@ -27040,13 +27040,13 @@ var require_minimatch = __commonJS({
|
|
27040
27040
|
this.debug("matchOne", file.length, pattern.length);
|
27041
27041
|
for (var fi = 0, pi = 0, fl = file.length, pl = pattern.length; fi < fl && pi < pl; fi++, pi++) {
|
27042
27042
|
this.debug("matchOne loop");
|
27043
|
-
var
|
27043
|
+
var p = pattern[pi];
|
27044
27044
|
var f3 = file[fi];
|
27045
|
-
this.debug(pattern,
|
27046
|
-
if (
|
27045
|
+
this.debug(pattern, p, f3);
|
27046
|
+
if (p === false)
|
27047
27047
|
return false;
|
27048
|
-
if (
|
27049
|
-
this.debug("GLOBSTAR", [pattern,
|
27048
|
+
if (p === GLOBSTAR2) {
|
27049
|
+
this.debug("GLOBSTAR", [pattern, p, f3]);
|
27050
27050
|
var fr = fi;
|
27051
27051
|
var pr = pi + 1;
|
27052
27052
|
if (pr === pl) {
|
@@ -27080,12 +27080,12 @@ var require_minimatch = __commonJS({
|
|
27080
27080
|
return false;
|
27081
27081
|
}
|
27082
27082
|
var hit;
|
27083
|
-
if (typeof
|
27084
|
-
hit = f3 ===
|
27085
|
-
this.debug("string match",
|
27083
|
+
if (typeof p === "string") {
|
27084
|
+
hit = f3 === p;
|
27085
|
+
this.debug("string match", p, f3, hit);
|
27086
27086
|
} else {
|
27087
|
-
hit = f3.match(
|
27088
|
-
this.debug("pattern match",
|
27087
|
+
hit = f3.match(p);
|
27088
|
+
this.debug("pattern match", p, f3, hit);
|
27089
27089
|
}
|
27090
27090
|
if (!hit)
|
27091
27091
|
return false;
|
@@ -27128,7 +27128,7 @@ var require_minimatch = __commonJS({
|
|
27128
27128
|
let dotTravAllowed = pattern.charAt(0) === ".";
|
27129
27129
|
let dotFileAllowed = options.dot || dotTravAllowed;
|
27130
27130
|
const patternStart = () => dotTravAllowed ? "" : dotFileAllowed ? "(?!(?:^|\\/)\\.{1,2}(?:$|\\/))" : "(?!\\.)";
|
27131
|
-
const subPatternStart = (
|
27131
|
+
const subPatternStart = (p) => p.charAt(0) === "." ? "" : options.dot ? "(?!(?:^|\\/)\\.{1,2}(?:$|\\/))" : "(?!\\.)";
|
27132
27132
|
const clearStateChar = () => {
|
27133
27133
|
if (stateChar) {
|
27134
27134
|
switch (stateChar) {
|
@@ -27364,15 +27364,15 @@ var require_minimatch = __commonJS({
|
|
27364
27364
|
const flags = options.nocase ? "i" : "";
|
27365
27365
|
let re = set.map((pattern) => {
|
27366
27366
|
pattern = pattern.map(
|
27367
|
-
(
|
27368
|
-
).reduce((set2,
|
27369
|
-
if (!(set2[set2.length - 1] === GLOBSTAR2 &&
|
27370
|
-
set2.push(
|
27367
|
+
(p) => typeof p === "string" ? regExpEscape2(p) : p === GLOBSTAR2 ? GLOBSTAR2 : p._src
|
27368
|
+
).reduce((set2, p) => {
|
27369
|
+
if (!(set2[set2.length - 1] === GLOBSTAR2 && p === GLOBSTAR2)) {
|
27370
|
+
set2.push(p);
|
27371
27371
|
}
|
27372
27372
|
return set2;
|
27373
27373
|
}, []);
|
27374
|
-
pattern.forEach((
|
27375
|
-
if (
|
27374
|
+
pattern.forEach((p, i2) => {
|
27375
|
+
if (p !== GLOBSTAR2 || pattern[i2 - 1] === GLOBSTAR2) {
|
27376
27376
|
return;
|
27377
27377
|
}
|
27378
27378
|
if (i2 === 0) {
|
@@ -27388,7 +27388,7 @@ var require_minimatch = __commonJS({
|
|
27388
27388
|
pattern[i2 + 1] = GLOBSTAR2;
|
27389
27389
|
}
|
27390
27390
|
});
|
27391
|
-
return pattern.filter((
|
27391
|
+
return pattern.filter((p) => p !== GLOBSTAR2).join("/");
|
27392
27392
|
}).join("|");
|
27393
27393
|
re = "^(?:" + re + ")$";
|
27394
27394
|
if (this.negate)
|
@@ -27641,18 +27641,18 @@ var require_common3 = __commonJS({
|
|
27641
27641
|
});
|
27642
27642
|
self2.found = all;
|
27643
27643
|
}
|
27644
|
-
function mark(self2,
|
27645
|
-
var abs = makeAbs(self2,
|
27644
|
+
function mark(self2, p) {
|
27645
|
+
var abs = makeAbs(self2, p);
|
27646
27646
|
var c = self2.cache[abs];
|
27647
|
-
var m2 =
|
27647
|
+
var m2 = p;
|
27648
27648
|
if (c) {
|
27649
27649
|
var isDir = c === "DIR" || Array.isArray(c);
|
27650
|
-
var slash2 =
|
27650
|
+
var slash2 = p.slice(-1) === "/";
|
27651
27651
|
if (isDir && !slash2)
|
27652
27652
|
m2 += "/";
|
27653
27653
|
else if (!isDir && slash2)
|
27654
27654
|
m2 = m2.slice(0, -1);
|
27655
|
-
if (m2 !==
|
27655
|
+
if (m2 !== p) {
|
27656
27656
|
var mabs = makeAbs(self2, m2);
|
27657
27657
|
self2.statCache[mabs] = self2.statCache[abs];
|
27658
27658
|
self2.cache[mabs] = self2.cache[abs];
|
@@ -27738,14 +27738,14 @@ var require_sync7 = __commonJS({
|
|
27738
27738
|
var self2 = this;
|
27739
27739
|
this.matches.forEach(function(matchset, index5) {
|
27740
27740
|
var set = self2.matches[index5] = /* @__PURE__ */ Object.create(null);
|
27741
|
-
for (var
|
27741
|
+
for (var p in matchset) {
|
27742
27742
|
try {
|
27743
|
-
|
27744
|
-
var real = rp.realpathSync(
|
27743
|
+
p = self2._makeAbs(p);
|
27744
|
+
var real = rp.realpathSync(p, self2.realpathCache);
|
27745
27745
|
set[real] = true;
|
27746
27746
|
} catch (er) {
|
27747
27747
|
if (er.syscall === "stat")
|
27748
|
-
set[self2._makeAbs(
|
27748
|
+
set[self2._makeAbs(p)] = true;
|
27749
27749
|
else
|
27750
27750
|
throw er;
|
27751
27751
|
}
|
@@ -27776,8 +27776,8 @@ var require_sync7 = __commonJS({
|
|
27776
27776
|
var read;
|
27777
27777
|
if (prefix2 === null)
|
27778
27778
|
read = ".";
|
27779
|
-
else if (isAbsolute(prefix2) || isAbsolute(pattern.map(function(
|
27780
|
-
return typeof
|
27779
|
+
else if (isAbsolute(prefix2) || isAbsolute(pattern.map(function(p) {
|
27780
|
+
return typeof p === "string" ? p : "[*]";
|
27781
27781
|
}).join("/"))) {
|
27782
27782
|
if (!prefix2 || !isAbsolute(prefix2))
|
27783
27783
|
prefix2 = "/" + prefix2;
|
@@ -28035,8 +28035,8 @@ var require_sync7 = __commonJS({
|
|
28035
28035
|
return false;
|
28036
28036
|
return c;
|
28037
28037
|
};
|
28038
|
-
GlobSync.prototype._mark = function(
|
28039
|
-
return common.mark(this,
|
28038
|
+
GlobSync.prototype._mark = function(p) {
|
28039
|
+
return common.mark(this, p);
|
28040
28040
|
};
|
28041
28041
|
GlobSync.prototype._makeAbs = function(f3) {
|
28042
28042
|
return common.makeAbs(this, f3);
|
@@ -28315,13 +28315,13 @@ var require_glob = __commonJS({
|
|
28315
28315
|
if (n === 0)
|
28316
28316
|
return cb();
|
28317
28317
|
var set = this.matches[index5] = /* @__PURE__ */ Object.create(null);
|
28318
|
-
found.forEach(function(
|
28319
|
-
|
28320
|
-
rp.realpath(
|
28318
|
+
found.forEach(function(p, i2) {
|
28319
|
+
p = self2._makeAbs(p);
|
28320
|
+
rp.realpath(p, self2.realpathCache, function(er, real) {
|
28321
28321
|
if (!er)
|
28322
28322
|
set[real] = true;
|
28323
28323
|
else if (er.syscall === "stat")
|
28324
|
-
set[
|
28324
|
+
set[p] = true;
|
28325
28325
|
else
|
28326
28326
|
self2.emit("error", er);
|
28327
28327
|
if (--n === 0) {
|
@@ -28331,8 +28331,8 @@ var require_glob = __commonJS({
|
|
28331
28331
|
});
|
28332
28332
|
});
|
28333
28333
|
};
|
28334
|
-
Glob.prototype._mark = function(
|
28335
|
-
return common.mark(this,
|
28334
|
+
Glob.prototype._mark = function(p) {
|
28335
|
+
return common.mark(this, p);
|
28336
28336
|
};
|
28337
28337
|
Glob.prototype._makeAbs = function(f3) {
|
28338
28338
|
return common.makeAbs(this, f3);
|
@@ -28363,9 +28363,9 @@ var require_glob = __commonJS({
|
|
28363
28363
|
var pq = this._processQueue.slice(0);
|
28364
28364
|
this._processQueue.length = 0;
|
28365
28365
|
for (var i2 = 0; i2 < pq.length; i2++) {
|
28366
|
-
var
|
28366
|
+
var p = pq[i2];
|
28367
28367
|
this._processing--;
|
28368
|
-
this._process(
|
28368
|
+
this._process(p[0], p[1], p[2], p[3]);
|
28369
28369
|
}
|
28370
28370
|
}
|
28371
28371
|
}
|
@@ -28400,8 +28400,8 @@ var require_glob = __commonJS({
|
|
28400
28400
|
var read;
|
28401
28401
|
if (prefix2 === null)
|
28402
28402
|
read = ".";
|
28403
|
-
else if (isAbsolute(prefix2) || isAbsolute(pattern.map(function(
|
28404
|
-
return typeof
|
28403
|
+
else if (isAbsolute(prefix2) || isAbsolute(pattern.map(function(p) {
|
28404
|
+
return typeof p === "string" ? p : "[*]";
|
28405
28405
|
}).join("/"))) {
|
28406
28406
|
if (!prefix2 || !isAbsolute(prefix2))
|
28407
28407
|
prefix2 = "/" + prefix2;
|
@@ -30978,13 +30978,13 @@ var require_node2 = __commonJS({
|
|
30978
30978
|
function randomIntInRange(low, high) {
|
30979
30979
|
return Math.round(low + Math.random() * (high - low));
|
30980
30980
|
}
|
30981
|
-
function doQuickSort(ary, comparator,
|
30982
|
-
if (
|
30983
|
-
var pivotIndex = randomIntInRange(
|
30984
|
-
var i2 =
|
30981
|
+
function doQuickSort(ary, comparator, p, r2) {
|
30982
|
+
if (p < r2) {
|
30983
|
+
var pivotIndex = randomIntInRange(p, r2);
|
30984
|
+
var i2 = p - 1;
|
30985
30985
|
swap(ary, pivotIndex, r2);
|
30986
30986
|
var pivot = ary[r2];
|
30987
|
-
for (var j =
|
30987
|
+
for (var j = p; j < r2; j++) {
|
30988
30988
|
if (comparator(ary[j], pivot) <= 0) {
|
30989
30989
|
i2 += 1;
|
30990
30990
|
swap(ary, i2, j);
|
@@ -30992,7 +30992,7 @@ var require_node2 = __commonJS({
|
|
30992
30992
|
}
|
30993
30993
|
swap(ary, i2 + 1, j);
|
30994
30994
|
var q = i2 + 1;
|
30995
|
-
doQuickSort(ary, comparator,
|
30995
|
+
doQuickSort(ary, comparator, p, q - 1);
|
30996
30996
|
doQuickSort(ary, comparator, q + 1, r2);
|
30997
30997
|
}
|
30998
30998
|
}
|
@@ -33689,8 +33689,8 @@ var require_node2 = __commonJS({
|
|
33689
33689
|
}
|
33690
33690
|
function literal(s2) {
|
33691
33691
|
for (const c2 of s2) {
|
33692
|
-
const
|
33693
|
-
if (
|
33692
|
+
const p = peek();
|
33693
|
+
if (p !== c2) {
|
33694
33694
|
throw invalidChar(read());
|
33695
33695
|
}
|
33696
33696
|
read();
|
@@ -34204,9 +34204,9 @@ var require_node2 = __commonJS({
|
|
34204
34204
|
__assign3 = Object.assign || function(t2) {
|
34205
34205
|
for (var s2, i2 = 1, n = arguments.length; i2 < n; i2++) {
|
34206
34206
|
s2 = arguments[i2];
|
34207
|
-
for (var
|
34208
|
-
if (Object.prototype.hasOwnProperty.call(s2,
|
34209
|
-
t2[
|
34207
|
+
for (var p in s2)
|
34208
|
+
if (Object.prototype.hasOwnProperty.call(s2, p))
|
34209
|
+
t2[p] = s2[p];
|
34210
34210
|
}
|
34211
34211
|
return t2;
|
34212
34212
|
};
|
@@ -40468,7 +40468,7 @@ var require_difflib = __commonJS({
|
|
40468
40468
|
return lines;
|
40469
40469
|
}
|
40470
40470
|
_fancyReplace(a, alo, ahi, b, blo, bhi) {
|
40471
|
-
var aelt, ai, ai1, ai2, atags, belt, bestRatio, besti, bestj, bj, bj1, bj2, btags, cruncher, cutoff, eqi, eqj, i2, j, l, la, lb, len, len1, len2, len3, len4, line, lines, m2, o,
|
40471
|
+
var aelt, ai, ai1, ai2, atags, belt, bestRatio, besti, bestj, bj, bj1, bj2, btags, cruncher, cutoff, eqi, eqj, i2, j, l, la, lb, len, len1, len2, len3, len4, line, lines, m2, o, p, q, r2, ref, ref1, ref2, ref3, ref4, ref5, ref6, ref7, ref8, t2, tag;
|
40472
40472
|
[bestRatio, cutoff] = [0.74, 0.75];
|
40473
40473
|
cruncher = new SequenceMatcher(this.charjunk);
|
40474
40474
|
[eqi, eqj] = [
|
@@ -40508,8 +40508,8 @@ var require_difflib = __commonJS({
|
|
40508
40508
|
eqi = null;
|
40509
40509
|
}
|
40510
40510
|
ref5 = this._fancyHelper(a, alo, besti, b, blo, bestj);
|
40511
|
-
for (
|
40512
|
-
line = ref5[
|
40511
|
+
for (p = 0, len1 = ref5.length; p < len1; p++) {
|
40512
|
+
line = ref5[p];
|
40513
40513
|
lines.push(line);
|
40514
40514
|
}
|
40515
40515
|
[aelt, belt] = [a[besti], b[bestj]];
|
@@ -40608,7 +40608,7 @@ var require_difflib = __commonJS({
|
|
40608
40608
|
return `${beginning},${length}`;
|
40609
40609
|
};
|
40610
40610
|
unifiedDiff = function(a, b, { fromfile, tofile, fromfiledate, tofiledate, n, lineterm } = {}) {
|
40611
|
-
var file1Range, file2Range, first, fromdate, group, i1, i2, j1, j2, l, last, len, len1, len2, len3, len4, line, lines, m2, o,
|
40611
|
+
var file1Range, file2Range, first, fromdate, group, i1, i2, j1, j2, l, last, len, len1, len2, len3, len4, line, lines, m2, o, p, q, ref, ref1, ref2, ref3, started, tag, todate;
|
40612
40612
|
if (fromfile == null) {
|
40613
40613
|
fromfile = "";
|
40614
40614
|
}
|
@@ -40655,8 +40655,8 @@ var require_difflib = __commonJS({
|
|
40655
40655
|
}
|
40656
40656
|
if (tag === "replace" || tag === "delete") {
|
40657
40657
|
ref2 = a.slice(i1, i2);
|
40658
|
-
for (
|
40659
|
-
line = ref2[
|
40658
|
+
for (p = 0, len3 = ref2.length; p < len3; p++) {
|
40659
|
+
line = ref2[p];
|
40660
40660
|
lines.push("-" + line);
|
40661
40661
|
}
|
40662
40662
|
}
|
@@ -40684,7 +40684,7 @@ var require_difflib = __commonJS({
|
|
40684
40684
|
return `${beginning},${beginning + length - 1}`;
|
40685
40685
|
};
|
40686
40686
|
contextDiff = function(a, b, { fromfile, tofile, fromfiledate, tofiledate, n, lineterm } = {}) {
|
40687
|
-
var _2, file1Range, file2Range, first, fromdate, group, i1, i2, j1, j2, l, last, len, len1, len2, len3, len4, line, lines, m2, o,
|
40687
|
+
var _2, file1Range, file2Range, first, fromdate, group, i1, i2, j1, j2, l, last, len, len1, len2, len3, len4, line, lines, m2, o, p, prefix2, q, ref, ref1, ref2, started, tag, todate;
|
40688
40688
|
if (fromfile == null) {
|
40689
40689
|
fromfile = "";
|
40690
40690
|
}
|
@@ -40747,16 +40747,16 @@ var require_difflib = __commonJS({
|
|
40747
40747
|
file2Range = _formatRangeContext(first[3], last[4]);
|
40748
40748
|
lines.push(`--- ${file2Range} ----${lineterm}`);
|
40749
40749
|
if (_any(function() {
|
40750
|
-
var len32,
|
40750
|
+
var len32, p2, results;
|
40751
40751
|
results = [];
|
40752
|
-
for (
|
40753
|
-
[tag, _2, _2, _2, _2] = group[
|
40752
|
+
for (p2 = 0, len32 = group.length; p2 < len32; p2++) {
|
40753
|
+
[tag, _2, _2, _2, _2] = group[p2];
|
40754
40754
|
results.push(tag === "replace" || tag === "insert");
|
40755
40755
|
}
|
40756
40756
|
return results;
|
40757
40757
|
}())) {
|
40758
|
-
for (
|
40759
|
-
[tag, _2, _2, j1, j2] = group[
|
40758
|
+
for (p = 0, len3 = group.length; p < len3; p++) {
|
40759
|
+
[tag, _2, _2, j1, j2] = group[p];
|
40760
40760
|
if (tag !== "delete") {
|
40761
40761
|
ref2 = b.slice(j1, j2);
|
40762
40762
|
for (q = 0, len4 = ref2.length; q < len4; q++) {
|
@@ -43532,11 +43532,11 @@ WITH ${withCheckOption} CHECK OPTION` : "";
|
|
43532
43532
|
const { tableName, schema: schema6, policies } = statement;
|
43533
43533
|
const tableNameWithSchema = schema6 ? `"${schema6}"."${tableName}"` : `"${tableName}"`;
|
43534
43534
|
const dropPolicyConvertor = new PgDropPolicyConvertor();
|
43535
|
-
const droppedPolicies = (policies == null ? void 0 : policies.map((
|
43535
|
+
const droppedPolicies = (policies == null ? void 0 : policies.map((p) => {
|
43536
43536
|
return dropPolicyConvertor.convert({
|
43537
43537
|
type: "drop_policy",
|
43538
43538
|
tableName,
|
43539
|
-
data: action === "push" ? PgSquasher.unsquashPolicyPush(
|
43539
|
+
data: action === "push" ? PgSquasher.unsquashPolicyPush(p) : PgSquasher.unsquashPolicy(p),
|
43540
43540
|
schema: schema6
|
43541
43541
|
});
|
43542
43542
|
})) ?? [];
|
@@ -53472,20 +53472,20 @@ var require_range = __commonJS({
|
|
53472
53472
|
};
|
53473
53473
|
var replaceTilde = (comp, options) => {
|
53474
53474
|
const r2 = options.loose ? re[t2.TILDELOOSE] : re[t2.TILDE];
|
53475
|
-
return comp.replace(r2, (_2, M, m2,
|
53476
|
-
debug("tilde", comp, _2, M, m2,
|
53475
|
+
return comp.replace(r2, (_2, M, m2, p, pr) => {
|
53476
|
+
debug("tilde", comp, _2, M, m2, p, pr);
|
53477
53477
|
let ret;
|
53478
53478
|
if (isX(M)) {
|
53479
53479
|
ret = "";
|
53480
53480
|
} else if (isX(m2)) {
|
53481
53481
|
ret = `>=${M}.0.0 <${+M + 1}.0.0-0`;
|
53482
|
-
} else if (isX(
|
53482
|
+
} else if (isX(p)) {
|
53483
53483
|
ret = `>=${M}.${m2}.0 <${M}.${+m2 + 1}.0-0`;
|
53484
53484
|
} else if (pr) {
|
53485
53485
|
debug("replaceTilde pr", pr);
|
53486
|
-
ret = `>=${M}.${m2}.${
|
53486
|
+
ret = `>=${M}.${m2}.${p}-${pr} <${M}.${+m2 + 1}.0-0`;
|
53487
53487
|
} else {
|
53488
|
-
ret = `>=${M}.${m2}.${
|
53488
|
+
ret = `>=${M}.${m2}.${p} <${M}.${+m2 + 1}.0-0`;
|
53489
53489
|
}
|
53490
53490
|
debug("tilde return", ret);
|
53491
53491
|
return ret;
|
@@ -53498,14 +53498,14 @@ var require_range = __commonJS({
|
|
53498
53498
|
debug("caret", comp, options);
|
53499
53499
|
const r2 = options.loose ? re[t2.CARETLOOSE] : re[t2.CARET];
|
53500
53500
|
const z2 = options.includePrerelease ? "-0" : "";
|
53501
|
-
return comp.replace(r2, (_2, M, m2,
|
53502
|
-
debug("caret", comp, _2, M, m2,
|
53501
|
+
return comp.replace(r2, (_2, M, m2, p, pr) => {
|
53502
|
+
debug("caret", comp, _2, M, m2, p, pr);
|
53503
53503
|
let ret;
|
53504
53504
|
if (isX(M)) {
|
53505
53505
|
ret = "";
|
53506
53506
|
} else if (isX(m2)) {
|
53507
53507
|
ret = `>=${M}.0.0${z2} <${+M + 1}.0.0-0`;
|
53508
|
-
} else if (isX(
|
53508
|
+
} else if (isX(p)) {
|
53509
53509
|
if (M === "0") {
|
53510
53510
|
ret = `>=${M}.${m2}.0${z2} <${M}.${+m2 + 1}.0-0`;
|
53511
53511
|
} else {
|
@@ -53515,23 +53515,23 @@ var require_range = __commonJS({
|
|
53515
53515
|
debug("replaceCaret pr", pr);
|
53516
53516
|
if (M === "0") {
|
53517
53517
|
if (m2 === "0") {
|
53518
|
-
ret = `>=${M}.${m2}.${
|
53518
|
+
ret = `>=${M}.${m2}.${p}-${pr} <${M}.${m2}.${+p + 1}-0`;
|
53519
53519
|
} else {
|
53520
|
-
ret = `>=${M}.${m2}.${
|
53520
|
+
ret = `>=${M}.${m2}.${p}-${pr} <${M}.${+m2 + 1}.0-0`;
|
53521
53521
|
}
|
53522
53522
|
} else {
|
53523
|
-
ret = `>=${M}.${m2}.${
|
53523
|
+
ret = `>=${M}.${m2}.${p}-${pr} <${+M + 1}.0.0-0`;
|
53524
53524
|
}
|
53525
53525
|
} else {
|
53526
53526
|
debug("no pr");
|
53527
53527
|
if (M === "0") {
|
53528
53528
|
if (m2 === "0") {
|
53529
|
-
ret = `>=${M}.${m2}.${
|
53529
|
+
ret = `>=${M}.${m2}.${p}${z2} <${M}.${m2}.${+p + 1}-0`;
|
53530
53530
|
} else {
|
53531
|
-
ret = `>=${M}.${m2}.${
|
53531
|
+
ret = `>=${M}.${m2}.${p}${z2} <${M}.${+m2 + 1}.0-0`;
|
53532
53532
|
}
|
53533
53533
|
} else {
|
53534
|
-
ret = `>=${M}.${m2}.${
|
53534
|
+
ret = `>=${M}.${m2}.${p} <${+M + 1}.0.0-0`;
|
53535
53535
|
}
|
53536
53536
|
}
|
53537
53537
|
debug("caret return", ret);
|
@@ -53545,11 +53545,11 @@ var require_range = __commonJS({
|
|
53545
53545
|
var replaceXRange = (comp, options) => {
|
53546
53546
|
comp = comp.trim();
|
53547
53547
|
const r2 = options.loose ? re[t2.XRANGELOOSE] : re[t2.XRANGE];
|
53548
|
-
return comp.replace(r2, (ret, gtlt, M, m2,
|
53549
|
-
debug("xRange", comp, ret, gtlt, M, m2,
|
53548
|
+
return comp.replace(r2, (ret, gtlt, M, m2, p, pr) => {
|
53549
|
+
debug("xRange", comp, ret, gtlt, M, m2, p, pr);
|
53550
53550
|
const xM = isX(M);
|
53551
53551
|
const xm = xM || isX(m2);
|
53552
|
-
const xp = xm || isX(
|
53552
|
+
const xp = xm || isX(p);
|
53553
53553
|
const anyX = xp;
|
53554
53554
|
if (gtlt === "=" && anyX) {
|
53555
53555
|
gtlt = "";
|
@@ -53565,16 +53565,16 @@ var require_range = __commonJS({
|
|
53565
53565
|
if (xm) {
|
53566
53566
|
m2 = 0;
|
53567
53567
|
}
|
53568
|
-
|
53568
|
+
p = 0;
|
53569
53569
|
if (gtlt === ">") {
|
53570
53570
|
gtlt = ">=";
|
53571
53571
|
if (xm) {
|
53572
53572
|
M = +M + 1;
|
53573
53573
|
m2 = 0;
|
53574
|
-
|
53574
|
+
p = 0;
|
53575
53575
|
} else {
|
53576
53576
|
m2 = +m2 + 1;
|
53577
|
-
|
53577
|
+
p = 0;
|
53578
53578
|
}
|
53579
53579
|
} else if (gtlt === "<=") {
|
53580
53580
|
gtlt = "<";
|
@@ -53587,7 +53587,7 @@ var require_range = __commonJS({
|
|
53587
53587
|
if (gtlt === "<") {
|
53588
53588
|
pr = "-0";
|
53589
53589
|
}
|
53590
|
-
ret = `${gtlt + M}.${m2}.${
|
53590
|
+
ret = `${gtlt + M}.${m2}.${p}${pr}`;
|
53591
53591
|
} else if (xm) {
|
53592
53592
|
ret = `>=${M}.0.0${pr} <${+M + 1}.0.0-0`;
|
53593
53593
|
} else if (xp) {
|
@@ -55169,14 +55169,14 @@ var init_headers = __esm({
|
|
55169
55169
|
}) : void 0;
|
55170
55170
|
super(result);
|
55171
55171
|
return new Proxy(this, {
|
55172
|
-
get(target,
|
55173
|
-
switch (
|
55172
|
+
get(target, p, receiver) {
|
55173
|
+
switch (p) {
|
55174
55174
|
case "append":
|
55175
55175
|
case "set":
|
55176
55176
|
return (name, value) => {
|
55177
55177
|
validateHeaderName(name);
|
55178
55178
|
validateHeaderValue(name, String(value));
|
55179
|
-
return URLSearchParams.prototype[
|
55179
|
+
return URLSearchParams.prototype[p].call(
|
55180
55180
|
target,
|
55181
55181
|
String(name).toLowerCase(),
|
55182
55182
|
String(value)
|
@@ -55187,7 +55187,7 @@ var init_headers = __esm({
|
|
55187
55187
|
case "getAll":
|
55188
55188
|
return (name) => {
|
55189
55189
|
validateHeaderName(name);
|
55190
|
-
return URLSearchParams.prototype[
|
55190
|
+
return URLSearchParams.prototype[p].call(
|
55191
55191
|
target,
|
55192
55192
|
String(name).toLowerCase()
|
55193
55193
|
);
|
@@ -55198,7 +55198,7 @@ var init_headers = __esm({
|
|
55198
55198
|
return new Set(URLSearchParams.prototype.keys.call(target)).keys();
|
55199
55199
|
};
|
55200
55200
|
default:
|
55201
|
-
return Reflect.get(target,
|
55201
|
+
return Reflect.get(target, p, receiver);
|
55202
55202
|
}
|
55203
55203
|
}
|
55204
55204
|
});
|
@@ -67209,13 +67209,13 @@ function __extends(d, b) {
|
|
67209
67209
|
}
|
67210
67210
|
function __rest(s2, e2) {
|
67211
67211
|
var t2 = {};
|
67212
|
-
for (var
|
67213
|
-
if (Object.prototype.hasOwnProperty.call(s2,
|
67214
|
-
t2[
|
67212
|
+
for (var p in s2)
|
67213
|
+
if (Object.prototype.hasOwnProperty.call(s2, p) && e2.indexOf(p) < 0)
|
67214
|
+
t2[p] = s2[p];
|
67215
67215
|
if (s2 != null && typeof Object.getOwnPropertySymbols === "function")
|
67216
|
-
for (var i2 = 0,
|
67217
|
-
if (e2.indexOf(
|
67218
|
-
t2[
|
67216
|
+
for (var i2 = 0, p = Object.getOwnPropertySymbols(s2); i2 < p.length; i2++) {
|
67217
|
+
if (e2.indexOf(p[i2]) < 0 && Object.prototype.propertyIsEnumerable.call(s2, p[i2]))
|
67218
|
+
t2[p[i2]] = s2[p[i2]];
|
67219
67219
|
}
|
67220
67220
|
return t2;
|
67221
67221
|
}
|
@@ -67246,10 +67246,10 @@ function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, e
|
|
67246
67246
|
var _2, done = false;
|
67247
67247
|
for (var i2 = decorators.length - 1; i2 >= 0; i2--) {
|
67248
67248
|
var context = {};
|
67249
|
-
for (var
|
67250
|
-
context[
|
67251
|
-
for (var
|
67252
|
-
context.access[
|
67249
|
+
for (var p in contextIn)
|
67250
|
+
context[p] = p === "access" ? {} : contextIn[p];
|
67251
|
+
for (var p in contextIn.access)
|
67252
|
+
context.access[p] = contextIn.access[p];
|
67253
67253
|
context.addInitializer = function(f3) {
|
67254
67254
|
if (done)
|
67255
67255
|
throw new TypeError("Cannot add initializers after decoration has completed");
|
@@ -67401,9 +67401,9 @@ function __generator(thisArg, body) {
|
|
67401
67401
|
}
|
67402
67402
|
}
|
67403
67403
|
function __exportStar(m2, o) {
|
67404
|
-
for (var
|
67405
|
-
if (
|
67406
|
-
__createBinding(o, m2,
|
67404
|
+
for (var p in m2)
|
67405
|
+
if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
|
67406
|
+
__createBinding(o, m2, p);
|
67407
67407
|
}
|
67408
67408
|
function __values(o) {
|
67409
67409
|
var s2 = typeof Symbol === "function" && Symbol.iterator, m2 = s2 && o[s2], i2 = 0;
|
@@ -67512,7 +67512,7 @@ function __asyncGenerator(thisArg, _arguments, generator) {
|
|
67512
67512
|
}
|
67513
67513
|
}
|
67514
67514
|
function __asyncDelegator(o) {
|
67515
|
-
var i2,
|
67515
|
+
var i2, p;
|
67516
67516
|
return i2 = {}, verb("next"), verb("throw", function(e2) {
|
67517
67517
|
throw e2;
|
67518
67518
|
}), verb("return"), i2[Symbol.iterator] = function() {
|
@@ -67520,7 +67520,7 @@ function __asyncDelegator(o) {
|
|
67520
67520
|
}, i2;
|
67521
67521
|
function verb(n, f3) {
|
67522
67522
|
i2[n] = o[n] ? function(v) {
|
67523
|
-
return (
|
67523
|
+
return (p = !p) ? { value: __await(o[n](v)), done: false } : f3 ? f3(v) : v;
|
67524
67524
|
} : f3;
|
67525
67525
|
}
|
67526
67526
|
}
|
@@ -67667,9 +67667,9 @@ var init_tslib_es6 = __esm({
|
|
67667
67667
|
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
|
67668
67668
|
d2.__proto__ = b2;
|
67669
67669
|
} || function(d2, b2) {
|
67670
|
-
for (var
|
67671
|
-
if (Object.prototype.hasOwnProperty.call(b2,
|
67672
|
-
d2[
|
67670
|
+
for (var p in b2)
|
67671
|
+
if (Object.prototype.hasOwnProperty.call(b2, p))
|
67672
|
+
d2[p] = b2[p];
|
67673
67673
|
};
|
67674
67674
|
return extendStatics(d, b);
|
67675
67675
|
};
|
@@ -67677,9 +67677,9 @@ var init_tslib_es6 = __esm({
|
|
67677
67677
|
__assign = Object.assign || function __assign3(t2) {
|
67678
67678
|
for (var s2, i2 = 1, n = arguments.length; i2 < n; i2++) {
|
67679
67679
|
s2 = arguments[i2];
|
67680
|
-
for (var
|
67681
|
-
if (Object.prototype.hasOwnProperty.call(s2,
|
67682
|
-
t2[
|
67680
|
+
for (var p in s2)
|
67681
|
+
if (Object.prototype.hasOwnProperty.call(s2, p))
|
67682
|
+
t2[p] = s2[p];
|
67683
67683
|
}
|
67684
67684
|
return t2;
|
67685
67685
|
};
|
@@ -70568,13 +70568,13 @@ function __extends2(d, b) {
|
|
70568
70568
|
}
|
70569
70569
|
function __rest2(s2, e2) {
|
70570
70570
|
var t2 = {};
|
70571
|
-
for (var
|
70572
|
-
if (Object.prototype.hasOwnProperty.call(s2,
|
70573
|
-
t2[
|
70571
|
+
for (var p in s2)
|
70572
|
+
if (Object.prototype.hasOwnProperty.call(s2, p) && e2.indexOf(p) < 0)
|
70573
|
+
t2[p] = s2[p];
|
70574
70574
|
if (s2 != null && typeof Object.getOwnPropertySymbols === "function")
|
70575
|
-
for (var i2 = 0,
|
70576
|
-
if (e2.indexOf(
|
70577
|
-
t2[
|
70575
|
+
for (var i2 = 0, p = Object.getOwnPropertySymbols(s2); i2 < p.length; i2++) {
|
70576
|
+
if (e2.indexOf(p[i2]) < 0 && Object.prototype.propertyIsEnumerable.call(s2, p[i2]))
|
70577
|
+
t2[p[i2]] = s2[p[i2]];
|
70578
70578
|
}
|
70579
70579
|
return t2;
|
70580
70580
|
}
|
@@ -70605,10 +70605,10 @@ function __esDecorate2(ctor, descriptorIn, decorators, contextIn, initializers,
|
|
70605
70605
|
var _2, done = false;
|
70606
70606
|
for (var i2 = decorators.length - 1; i2 >= 0; i2--) {
|
70607
70607
|
var context = {};
|
70608
|
-
for (var
|
70609
|
-
context[
|
70610
|
-
for (var
|
70611
|
-
context.access[
|
70608
|
+
for (var p in contextIn)
|
70609
|
+
context[p] = p === "access" ? {} : contextIn[p];
|
70610
|
+
for (var p in contextIn.access)
|
70611
|
+
context.access[p] = contextIn.access[p];
|
70612
70612
|
context.addInitializer = function(f3) {
|
70613
70613
|
if (done)
|
70614
70614
|
throw new TypeError("Cannot add initializers after decoration has completed");
|
@@ -70760,9 +70760,9 @@ function __generator2(thisArg, body) {
|
|
70760
70760
|
}
|
70761
70761
|
}
|
70762
70762
|
function __exportStar2(m2, o) {
|
70763
|
-
for (var
|
70764
|
-
if (
|
70765
|
-
__createBinding2(o, m2,
|
70763
|
+
for (var p in m2)
|
70764
|
+
if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
|
70765
|
+
__createBinding2(o, m2, p);
|
70766
70766
|
}
|
70767
70767
|
function __values2(o) {
|
70768
70768
|
var s2 = typeof Symbol === "function" && Symbol.iterator, m2 = s2 && o[s2], i2 = 0;
|
@@ -70863,7 +70863,7 @@ function __asyncGenerator2(thisArg, _arguments, generator) {
|
|
70863
70863
|
}
|
70864
70864
|
}
|
70865
70865
|
function __asyncDelegator2(o) {
|
70866
|
-
var i2,
|
70866
|
+
var i2, p;
|
70867
70867
|
return i2 = {}, verb("next"), verb("throw", function(e2) {
|
70868
70868
|
throw e2;
|
70869
70869
|
}), verb("return"), i2[Symbol.iterator] = function() {
|
@@ -70871,7 +70871,7 @@ function __asyncDelegator2(o) {
|
|
70871
70871
|
}, i2;
|
70872
70872
|
function verb(n, f3) {
|
70873
70873
|
i2[n] = o[n] ? function(v) {
|
70874
|
-
return (
|
70874
|
+
return (p = !p) ? { value: __await2(o[n](v)), done: false } : f3 ? f3(v) : v;
|
70875
70875
|
} : f3;
|
70876
70876
|
}
|
70877
70877
|
}
|
@@ -70993,9 +70993,9 @@ var init_tslib_es62 = __esm({
|
|
70993
70993
|
extendStatics2 = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
|
70994
70994
|
d2.__proto__ = b2;
|
70995
70995
|
} || function(d2, b2) {
|
70996
|
-
for (var
|
70997
|
-
if (Object.prototype.hasOwnProperty.call(b2,
|
70998
|
-
d2[
|
70996
|
+
for (var p in b2)
|
70997
|
+
if (Object.prototype.hasOwnProperty.call(b2, p))
|
70998
|
+
d2[p] = b2[p];
|
70999
70999
|
};
|
71000
71000
|
return extendStatics2(d, b);
|
71001
71001
|
};
|
@@ -71003,9 +71003,9 @@ var init_tslib_es62 = __esm({
|
|
71003
71003
|
__assign2 = Object.assign || function __assign3(t2) {
|
71004
71004
|
for (var s2, i2 = 1, n = arguments.length; i2 < n; i2++) {
|
71005
71005
|
s2 = arguments[i2];
|
71006
|
-
for (var
|
71007
|
-
if (Object.prototype.hasOwnProperty.call(s2,
|
71008
|
-
t2[
|
71006
|
+
for (var p in s2)
|
71007
|
+
if (Object.prototype.hasOwnProperty.call(s2, p))
|
71008
|
+
t2[p] = s2[p];
|
71009
71009
|
}
|
71010
71010
|
return t2;
|
71011
71011
|
};
|
@@ -72226,12 +72226,12 @@ var require_ruleset = __commonJS({
|
|
72226
72226
|
var m2 = { [v]: c, [w]: [{ [x2]: "UseDualStack" }, true] };
|
72227
72227
|
var n = {};
|
72228
72228
|
var o = { [v]: h2, [w]: [{ [x2]: g }, "supportsFIPS"] };
|
72229
|
-
var
|
72230
|
-
var q = { [v]: c, [w]: [true, { [v]: h2, [w]: [
|
72229
|
+
var p = { [x2]: g };
|
72230
|
+
var q = { [v]: c, [w]: [true, { [v]: h2, [w]: [p, "supportsDualStack"] }] };
|
72231
72231
|
var r2 = [l];
|
72232
72232
|
var s2 = [m2];
|
72233
72233
|
var t2 = [{ [x2]: "Region" }];
|
72234
|
-
var _data = { version: "1.0", parameters: { Region: i2, UseDualStack: j, UseFIPS: j, Endpoint: i2 }, rules: [{ conditions: [{ [v]: b, [w]: [k] }], rules: [{ conditions: r2, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { conditions: s2, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: k, properties: n, headers: n }, type: e2 }], type: f3 }, { conditions: [{ [v]: b, [w]: t2 }], rules: [{ conditions: [{ [v]: "aws.partition", [w]: t2, assign: g }], rules: [{ conditions: [l, m2], rules: [{ conditions: [{ [v]: c, [w]: [a, o] }, q], rules: [{ endpoint: { url: "https://portal.sso-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: e2 }], type: f3 }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f3 }, { conditions: r2, rules: [{ conditions: [{ [v]: c, [w]: [o, a] }], rules: [{ conditions: [{ [v]: "stringEquals", [w]: [{ [v]: h2, [w]: [
|
72234
|
+
var _data = { version: "1.0", parameters: { Region: i2, UseDualStack: j, UseFIPS: j, Endpoint: i2 }, rules: [{ conditions: [{ [v]: b, [w]: [k] }], rules: [{ conditions: r2, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { conditions: s2, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: k, properties: n, headers: n }, type: e2 }], type: f3 }, { conditions: [{ [v]: b, [w]: t2 }], rules: [{ conditions: [{ [v]: "aws.partition", [w]: t2, assign: g }], rules: [{ conditions: [l, m2], rules: [{ conditions: [{ [v]: c, [w]: [a, o] }, q], rules: [{ endpoint: { url: "https://portal.sso-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: e2 }], type: f3 }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f3 }, { conditions: r2, rules: [{ conditions: [{ [v]: c, [w]: [o, a] }], rules: [{ conditions: [{ [v]: "stringEquals", [w]: [{ [v]: h2, [w]: [p, "name"] }, "aws-us-gov"] }], endpoint: { url: "https://portal.sso.{Region}.amazonaws.com", properties: n, headers: n }, type: e2 }, { endpoint: { url: "https://portal.sso-fips.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: e2 }], type: f3 }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f3 }, { conditions: s2, rules: [{ conditions: [q], rules: [{ endpoint: { url: "https://portal.sso.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: e2 }], type: f3 }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f3 }, { endpoint: { url: "https://portal.sso.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: e2 }], type: f3 }], type: f3 }, { error: "Invalid Configuration: Missing Region", type: d }] };
|
72235
72235
|
exports2.ruleSet = _data;
|
72236
72236
|
}
|
72237
72237
|
});
|
@@ -73306,12 +73306,12 @@ var require_ruleset2 = __commonJS({
|
|
73306
73306
|
var m2 = { [v]: c, [w]: [{ [x2]: "UseDualStack" }, true] };
|
73307
73307
|
var n = {};
|
73308
73308
|
var o = { [v]: h2, [w]: [{ [x2]: g }, "supportsFIPS"] };
|
73309
|
-
var
|
73310
|
-
var q = { [v]: c, [w]: [true, { [v]: h2, [w]: [
|
73309
|
+
var p = { [x2]: g };
|
73310
|
+
var q = { [v]: c, [w]: [true, { [v]: h2, [w]: [p, "supportsDualStack"] }] };
|
73311
73311
|
var r2 = [l];
|
73312
73312
|
var s2 = [m2];
|
73313
73313
|
var t2 = [{ [x2]: "Region" }];
|
73314
|
-
var _data = { version: "1.0", parameters: { Region: i2, UseDualStack: j, UseFIPS: j, Endpoint: i2 }, rules: [{ conditions: [{ [v]: b, [w]: [k] }], rules: [{ conditions: r2, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { conditions: s2, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: k, properties: n, headers: n }, type: e2 }], type: f3 }, { conditions: [{ [v]: b, [w]: t2 }], rules: [{ conditions: [{ [v]: "aws.partition", [w]: t2, assign: g }], rules: [{ conditions: [l, m2], rules: [{ conditions: [{ [v]: c, [w]: [a, o] }, q], rules: [{ endpoint: { url: "https://oidc-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: e2 }], type: f3 }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f3 }, { conditions: r2, rules: [{ conditions: [{ [v]: c, [w]: [o, a] }], rules: [{ conditions: [{ [v]: "stringEquals", [w]: [{ [v]: h2, [w]: [
|
73314
|
+
var _data = { version: "1.0", parameters: { Region: i2, UseDualStack: j, UseFIPS: j, Endpoint: i2 }, rules: [{ conditions: [{ [v]: b, [w]: [k] }], rules: [{ conditions: r2, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { conditions: s2, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: k, properties: n, headers: n }, type: e2 }], type: f3 }, { conditions: [{ [v]: b, [w]: t2 }], rules: [{ conditions: [{ [v]: "aws.partition", [w]: t2, assign: g }], rules: [{ conditions: [l, m2], rules: [{ conditions: [{ [v]: c, [w]: [a, o] }, q], rules: [{ endpoint: { url: "https://oidc-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: e2 }], type: f3 }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f3 }, { conditions: r2, rules: [{ conditions: [{ [v]: c, [w]: [o, a] }], rules: [{ conditions: [{ [v]: "stringEquals", [w]: [{ [v]: h2, [w]: [p, "name"] }, "aws-us-gov"] }], endpoint: { url: "https://oidc.{Region}.amazonaws.com", properties: n, headers: n }, type: e2 }, { endpoint: { url: "https://oidc-fips.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: e2 }], type: f3 }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f3 }, { conditions: s2, rules: [{ conditions: [q], rules: [{ endpoint: { url: "https://oidc.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: e2 }], type: f3 }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f3 }, { endpoint: { url: "https://oidc.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: e2 }], type: f3 }], type: f3 }, { error: "Invalid Configuration: Missing Region", type: d }] };
|
73315
73315
|
exports2.ruleSet = _data;
|
73316
73316
|
}
|
73317
73317
|
});
|
@@ -75015,7 +75015,7 @@ var require_ruleset3 = __commonJS({
|
|
75015
75015
|
var m2 = { [F2]: false, [G]: "String" };
|
75016
75016
|
var n = { [F2]: true, "default": false, [G]: "Boolean" };
|
75017
75017
|
var o = { [J]: "Endpoint" };
|
75018
|
-
var
|
75018
|
+
var p = { [H]: "isSet", [I]: [{ [J]: "Region" }] };
|
75019
75019
|
var q = { [J]: "Region" };
|
75020
75020
|
var r2 = { [H]: "aws.partition", [I]: [q], "assign": "PartitionResult" };
|
75021
75021
|
var s2 = { [J]: "UseFIPS" };
|
@@ -75031,7 +75031,7 @@ var require_ruleset3 = __commonJS({
|
|
75031
75031
|
var C = [{ [H]: "isSet", [I]: [o] }];
|
75032
75032
|
var D = [x2];
|
75033
75033
|
var E = [y];
|
75034
|
-
var _data = { version: "1.0", parameters: { Region: m2, UseDualStack: n, UseFIPS: n, Endpoint: m2, UseGlobalEndpoint: n }, rules: [{ conditions: [{ [H]: c, [I]: [{ [J]: "UseGlobalEndpoint" }, b] }, { [H]: "not", [I]: C },
|
75034
|
+
var _data = { version: "1.0", parameters: { Region: m2, UseDualStack: n, UseFIPS: n, Endpoint: m2, UseGlobalEndpoint: n }, rules: [{ conditions: [{ [H]: c, [I]: [{ [J]: "UseGlobalEndpoint" }, b] }, { [H]: "not", [I]: C }, p, r2, { [H]: c, [I]: [s2, a] }, { [H]: c, [I]: [t2, a] }], rules: [{ conditions: [{ [H]: d, [I]: [q, "ap-northeast-1"] }], endpoint: u, [G]: h2 }, { conditions: [{ [H]: d, [I]: [q, "ap-south-1"] }], endpoint: u, [G]: h2 }, { conditions: [{ [H]: d, [I]: [q, "ap-southeast-1"] }], endpoint: u, [G]: h2 }, { conditions: [{ [H]: d, [I]: [q, "ap-southeast-2"] }], endpoint: u, [G]: h2 }, w, { conditions: [{ [H]: d, [I]: [q, "ca-central-1"] }], endpoint: u, [G]: h2 }, { conditions: [{ [H]: d, [I]: [q, "eu-central-1"] }], endpoint: u, [G]: h2 }, { conditions: [{ [H]: d, [I]: [q, "eu-north-1"] }], endpoint: u, [G]: h2 }, { conditions: [{ [H]: d, [I]: [q, "eu-west-1"] }], endpoint: u, [G]: h2 }, { conditions: [{ [H]: d, [I]: [q, "eu-west-2"] }], endpoint: u, [G]: h2 }, { conditions: [{ [H]: d, [I]: [q, "eu-west-3"] }], endpoint: u, [G]: h2 }, { conditions: [{ [H]: d, [I]: [q, "sa-east-1"] }], endpoint: u, [G]: h2 }, { conditions: [{ [H]: d, [I]: [q, g] }], endpoint: u, [G]: h2 }, { conditions: [{ [H]: d, [I]: [q, "us-east-2"] }], endpoint: u, [G]: h2 }, { conditions: [{ [H]: d, [I]: [q, "us-west-1"] }], endpoint: u, [G]: h2 }, { conditions: [{ [H]: d, [I]: [q, "us-west-2"] }], endpoint: u, [G]: h2 }, { endpoint: { url: i2, properties: { authSchemes: [{ name: e2, signingName: f3, signingRegion: "{Region}" }] }, headers: v }, [G]: h2 }], [G]: j }, { conditions: C, rules: [{ conditions: D, error: "Invalid Configuration: FIPS and custom endpoint are not supported", [G]: k }, { conditions: E, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", [G]: k }, { endpoint: { url: o, properties: v, headers: v }, [G]: h2 }], [G]: j }, { conditions: [p], rules: [{ conditions: [r2], rules: [{ conditions: [x2, y], rules: [{ conditions: [{ [H]: c, [I]: [b, z2] }, B], rules: [{ endpoint: { url: "https://sts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: v, headers: v }, [G]: h2 }], [G]: j }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", [G]: k }], [G]: j }, { conditions: D, rules: [{ conditions: [{ [H]: c, [I]: [z2, b] }], rules: [{ conditions: [{ [H]: d, [I]: [{ [H]: l, [I]: [A2, "name"] }, "aws-us-gov"] }], endpoint: { url: "https://sts.{Region}.amazonaws.com", properties: v, headers: v }, [G]: h2 }, { endpoint: { url: "https://sts-fips.{Region}.{PartitionResult#dnsSuffix}", properties: v, headers: v }, [G]: h2 }], [G]: j }, { error: "FIPS is enabled but this partition does not support FIPS", [G]: k }], [G]: j }, { conditions: E, rules: [{ conditions: [B], rules: [{ endpoint: { url: "https://sts.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: v, headers: v }, [G]: h2 }], [G]: j }, { error: "DualStack is enabled but this partition does not support DualStack", [G]: k }], [G]: j }, w, { endpoint: { url: i2, properties: v, headers: v }, [G]: h2 }], [G]: j }], [G]: j }, { error: "Invalid Configuration: Missing Region", [G]: k }] };
|
75035
75035
|
exports2.ruleSet = _data;
|
75036
75036
|
}
|
75037
75037
|
});
|
@@ -77186,10 +77186,10 @@ var require_ruleset4 = __commonJS({
|
|
77186
77186
|
var m2 = {};
|
77187
77187
|
var n = { [t2]: "getAttr", [u]: [{ [v]: g }, "supportsFIPS"] };
|
77188
77188
|
var o = { [t2]: c, [u]: [true, { [t2]: "getAttr", [u]: [{ [v]: g }, "supportsDualStack"] }] };
|
77189
|
-
var
|
77189
|
+
var p = [k];
|
77190
77190
|
var q = [l];
|
77191
77191
|
var r2 = [{ [v]: "Region" }];
|
77192
|
-
var _data = { version: "1.0", parameters: { Region: h2, UseDualStack: i2, UseFIPS: i2, Endpoint: h2 }, rules: [{ conditions: [{ [t2]: b, [u]: [j] }], rules: [{ conditions:
|
77192
|
+
var _data = { version: "1.0", parameters: { Region: h2, UseDualStack: i2, UseFIPS: i2, Endpoint: h2 }, rules: [{ conditions: [{ [t2]: b, [u]: [j] }], rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: j, properties: m2, headers: m2 }, type: e2 }], type: f3 }, { conditions: [{ [t2]: b, [u]: r2 }], rules: [{ conditions: [{ [t2]: "aws.partition", [u]: r2, assign: g }], rules: [{ conditions: [k, l], rules: [{ conditions: [{ [t2]: c, [u]: [a, n] }, o], rules: [{ endpoint: { url: "https://rds-data-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m2, headers: m2 }, type: e2 }], type: f3 }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f3 }, { conditions: p, rules: [{ conditions: [{ [t2]: c, [u]: [n, a] }], rules: [{ endpoint: { url: "https://rds-data-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m2, headers: m2 }, type: e2 }], type: f3 }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f3 }, { conditions: q, rules: [{ conditions: [o], rules: [{ endpoint: { url: "https://rds-data.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m2, headers: m2 }, type: e2 }], type: f3 }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f3 }, { endpoint: { url: "https://rds-data.{Region}.{PartitionResult#dnsSuffix}", properties: m2, headers: m2 }, type: e2 }], type: f3 }], type: f3 }, { error: "Invalid Configuration: Missing Region", type: d }] };
|
77193
77193
|
exports2.ruleSet = _data;
|
77194
77194
|
}
|
77195
77195
|
});
|
@@ -80407,12 +80407,12 @@ var init_mjs = __esm({
|
|
80407
80407
|
init_unescape();
|
80408
80408
|
init_escape();
|
80409
80409
|
init_unescape();
|
80410
|
-
minimatch = (
|
80410
|
+
minimatch = (p, pattern, options = {}) => {
|
80411
80411
|
assertValidPattern(pattern);
|
80412
80412
|
if (!options.nocomment && pattern.charAt(0) === "#") {
|
80413
80413
|
return false;
|
80414
80414
|
}
|
80415
|
-
return new Minimatch(pattern, options).match(
|
80415
|
+
return new Minimatch(pattern, options).match(p);
|
80416
80416
|
};
|
80417
80417
|
starDotExtRE = /^\*+([^+@!?\*\[\(]*)$/;
|
80418
80418
|
starDotExtTest = (ext2) => (f3) => !f3.startsWith(".") && f3.endsWith(ext2);
|
@@ -80490,7 +80490,7 @@ var init_mjs = __esm({
|
|
80490
80490
|
}, {});
|
80491
80491
|
reSpecials = charSet("().*{}+?[]^$\\!");
|
80492
80492
|
addPatternStartSet = charSet("[.(");
|
80493
|
-
filter = (pattern, options = {}) => (
|
80493
|
+
filter = (pattern, options = {}) => (p) => minimatch(p, pattern, options);
|
80494
80494
|
minimatch.filter = filter;
|
80495
80495
|
ext = (a, b = {}) => Object.assign({}, a, b);
|
80496
80496
|
defaults2 = (def) => {
|
@@ -80498,7 +80498,7 @@ var init_mjs = __esm({
|
|
80498
80498
|
return minimatch;
|
80499
80499
|
}
|
80500
80500
|
const orig = minimatch;
|
80501
|
-
const m2 = (
|
80501
|
+
const m2 = (p, pattern, options = {}) => orig(p, pattern, ext(def, options));
|
80502
80502
|
return Object.assign(m2, {
|
80503
80503
|
Minimatch: class Minimatch extends orig.Minimatch {
|
80504
80504
|
constructor(pattern, options = {}) {
|
@@ -80644,9 +80644,9 @@ var init_mjs = __esm({
|
|
80644
80644
|
this.set = set.filter((s2) => s2.indexOf(false) === -1);
|
80645
80645
|
if (this.isWindows) {
|
80646
80646
|
for (let i2 = 0; i2 < this.set.length; i2++) {
|
80647
|
-
const
|
80648
|
-
if (
|
80649
|
-
|
80647
|
+
const p = this.set[i2];
|
80648
|
+
if (p[0] === "" && p[1] === "" && this.globParts[i2][2] === "?" && typeof p[3] === "string" && /^[a-z]:$/i.test(p[3])) {
|
80649
|
+
p[2] = "?";
|
80650
80650
|
}
|
80651
80651
|
}
|
80652
80652
|
}
|
@@ -80723,10 +80723,10 @@ var init_mjs = __esm({
|
|
80723
80723
|
didSomething = false;
|
80724
80724
|
if (!this.preserveMultipleSlashes) {
|
80725
80725
|
for (let i2 = 1; i2 < parts.length - 1; i2++) {
|
80726
|
-
const
|
80727
|
-
if (i2 === 1 &&
|
80726
|
+
const p = parts[i2];
|
80727
|
+
if (i2 === 1 && p === "" && parts[0] === "")
|
80728
80728
|
continue;
|
80729
|
-
if (
|
80729
|
+
if (p === "." || p === "") {
|
80730
80730
|
didSomething = true;
|
80731
80731
|
parts.splice(i2, 1);
|
80732
80732
|
i2--;
|
@@ -80739,8 +80739,8 @@ var init_mjs = __esm({
|
|
80739
80739
|
}
|
80740
80740
|
let dd = 0;
|
80741
80741
|
while (-1 !== (dd = parts.indexOf("..", dd + 1))) {
|
80742
|
-
const
|
80743
|
-
if (
|
80742
|
+
const p = parts[dd - 1];
|
80743
|
+
if (p && p !== "." && p !== ".." && p !== "**") {
|
80744
80744
|
didSomething = true;
|
80745
80745
|
parts.splice(dd - 1, 2);
|
80746
80746
|
dd -= 2;
|
@@ -80782,11 +80782,11 @@ var init_mjs = __esm({
|
|
80782
80782
|
parts.splice(gs + 1, gss - gs);
|
80783
80783
|
}
|
80784
80784
|
let next = parts[gs + 1];
|
80785
|
-
const
|
80786
|
-
const
|
80785
|
+
const p = parts[gs + 2];
|
80786
|
+
const p2 = parts[gs + 3];
|
80787
80787
|
if (next !== "..")
|
80788
80788
|
continue;
|
80789
|
-
if (!
|
80789
|
+
if (!p || p === "." || p === ".." || !p2 || p2 === "." || p2 === "..") {
|
80790
80790
|
continue;
|
80791
80791
|
}
|
80792
80792
|
didSomething = true;
|
@@ -80798,10 +80798,10 @@ var init_mjs = __esm({
|
|
80798
80798
|
}
|
80799
80799
|
if (!this.preserveMultipleSlashes) {
|
80800
80800
|
for (let i2 = 1; i2 < parts.length - 1; i2++) {
|
80801
|
-
const
|
80802
|
-
if (i2 === 1 &&
|
80801
|
+
const p = parts[i2];
|
80802
|
+
if (i2 === 1 && p === "" && parts[0] === "")
|
80803
80803
|
continue;
|
80804
|
-
if (
|
80804
|
+
if (p === "." || p === "") {
|
80805
80805
|
didSomething = true;
|
80806
80806
|
parts.splice(i2, 1);
|
80807
80807
|
i2--;
|
@@ -80814,8 +80814,8 @@ var init_mjs = __esm({
|
|
80814
80814
|
}
|
80815
80815
|
let dd = 0;
|
80816
80816
|
while (-1 !== (dd = parts.indexOf("..", dd + 1))) {
|
80817
|
-
const
|
80818
|
-
if (
|
80817
|
+
const p = parts[dd - 1];
|
80818
|
+
if (p && p !== "." && p !== ".." && p !== "**") {
|
80819
80819
|
didSomething = true;
|
80820
80820
|
const needDot = dd === 1 && parts[dd + 1] === "**";
|
80821
80821
|
const splin = needDot ? ["."] : [];
|
@@ -80937,14 +80937,14 @@ var init_mjs = __esm({
|
|
80937
80937
|
this.debug("matchOne", file.length, pattern.length);
|
80938
80938
|
for (var fi = 0, pi = 0, fl = file.length, pl = pattern.length; fi < fl && pi < pl; fi++, pi++) {
|
80939
80939
|
this.debug("matchOne loop");
|
80940
|
-
var
|
80940
|
+
var p = pattern[pi];
|
80941
80941
|
var f3 = file[fi];
|
80942
|
-
this.debug(pattern,
|
80943
|
-
if (
|
80942
|
+
this.debug(pattern, p, f3);
|
80943
|
+
if (p === false) {
|
80944
80944
|
return false;
|
80945
80945
|
}
|
80946
|
-
if (
|
80947
|
-
this.debug("GLOBSTAR", [pattern,
|
80946
|
+
if (p === GLOBSTAR) {
|
80947
|
+
this.debug("GLOBSTAR", [pattern, p, f3]);
|
80948
80948
|
var fr = fi;
|
80949
80949
|
var pr = pi + 1;
|
80950
80950
|
if (pr === pl) {
|
@@ -80979,12 +80979,12 @@ var init_mjs = __esm({
|
|
80979
80979
|
return false;
|
80980
80980
|
}
|
80981
80981
|
let hit;
|
80982
|
-
if (typeof
|
80983
|
-
hit = f3 ===
|
80984
|
-
this.debug("string match",
|
80982
|
+
if (typeof p === "string") {
|
80983
|
+
hit = f3 === p;
|
80984
|
+
this.debug("string match", p, f3, hit);
|
80985
80985
|
} else {
|
80986
|
-
hit =
|
80987
|
-
this.debug("pattern match",
|
80986
|
+
hit = p.test(f3);
|
80987
|
+
this.debug("pattern match", p, f3, hit);
|
80988
80988
|
}
|
80989
80989
|
if (!hit)
|
80990
80990
|
return false;
|
@@ -81033,7 +81033,7 @@ var init_mjs = __esm({
|
|
81033
81033
|
let dotTravAllowed = pattern.charAt(0) === ".";
|
81034
81034
|
let dotFileAllowed = options.dot || dotTravAllowed;
|
81035
81035
|
const patternStart = () => dotTravAllowed ? "" : dotFileAllowed ? "(?!(?:^|\\/)\\.{1,2}(?:$|\\/))" : "(?!\\.)";
|
81036
|
-
const subPatternStart = (
|
81036
|
+
const subPatternStart = (p) => p.charAt(0) === "." ? "" : options.dot ? "(?!(?:^|\\/)\\.{1,2}(?:$|\\/))" : "(?!\\.)";
|
81037
81037
|
const clearStateChar = () => {
|
81038
81038
|
if (stateChar) {
|
81039
81039
|
switch (stateChar) {
|
@@ -81236,11 +81236,11 @@ var init_mjs = __esm({
|
|
81236
81236
|
const twoStar = options.noglobstar ? star : options.dot ? twoStarDot : twoStarNoDot;
|
81237
81237
|
const flags = options.nocase ? "i" : "";
|
81238
81238
|
let re = set.map((pattern) => {
|
81239
|
-
const pp = pattern.map((
|
81240
|
-
pp.forEach((
|
81239
|
+
const pp = pattern.map((p) => typeof p === "string" ? regExpEscape(p) : p === GLOBSTAR ? GLOBSTAR : p._src);
|
81240
|
+
pp.forEach((p, i2) => {
|
81241
81241
|
const next = pp[i2 + 1];
|
81242
81242
|
const prev = pp[i2 - 1];
|
81243
|
-
if (
|
81243
|
+
if (p !== GLOBSTAR || prev === GLOBSTAR) {
|
81244
81244
|
return;
|
81245
81245
|
}
|
81246
81246
|
if (prev === void 0) {
|
@@ -81256,7 +81256,7 @@ var init_mjs = __esm({
|
|
81256
81256
|
pp[i2 + 1] = GLOBSTAR;
|
81257
81257
|
}
|
81258
81258
|
});
|
81259
|
-
return pp.filter((
|
81259
|
+
return pp.filter((p) => p !== GLOBSTAR).join("/");
|
81260
81260
|
}).join("|");
|
81261
81261
|
re = "^(?:" + re + ")$";
|
81262
81262
|
if (this.negate)
|
@@ -81268,13 +81268,13 @@ var init_mjs = __esm({
|
|
81268
81268
|
}
|
81269
81269
|
return this.regexp;
|
81270
81270
|
}
|
81271
|
-
slashSplit(
|
81271
|
+
slashSplit(p) {
|
81272
81272
|
if (this.preserveMultipleSlashes) {
|
81273
|
-
return
|
81274
|
-
} else if (this.isWindows && /^\/\/[^\/]+/.test(
|
81275
|
-
return ["", ...
|
81273
|
+
return p.split("/");
|
81274
|
+
} else if (this.isWindows && /^\/\/[^\/]+/.test(p)) {
|
81275
|
+
return ["", ...p.split(/\/+/)];
|
81276
81276
|
} else {
|
81277
|
-
return
|
81277
|
+
return p.split(/\/+/);
|
81278
81278
|
}
|
81279
81279
|
}
|
81280
81280
|
match(f3, partial = this.partial) {
|
@@ -85901,26 +85901,26 @@ var init_url = __esm({
|
|
85901
85901
|
return result.length > 1 && result[result.length - 1] === "/" ? result.slice(0, -1) : result;
|
85902
85902
|
};
|
85903
85903
|
mergePath = (...paths) => {
|
85904
|
-
let
|
85904
|
+
let p = "";
|
85905
85905
|
let endsWithSlash = false;
|
85906
85906
|
for (let path5 of paths) {
|
85907
|
-
if (
|
85908
|
-
|
85907
|
+
if (p[p.length - 1] === "/") {
|
85908
|
+
p = p.slice(0, -1);
|
85909
85909
|
endsWithSlash = true;
|
85910
85910
|
}
|
85911
85911
|
if (path5[0] !== "/") {
|
85912
85912
|
path5 = `/${path5}`;
|
85913
85913
|
}
|
85914
85914
|
if (path5 === "/" && endsWithSlash) {
|
85915
|
-
|
85915
|
+
p = `${p}/`;
|
85916
85916
|
} else if (path5 !== "/") {
|
85917
|
-
|
85917
|
+
p = `${p}${path5}`;
|
85918
85918
|
}
|
85919
|
-
if (path5 === "/" &&
|
85920
|
-
|
85919
|
+
if (path5 === "/" && p === "") {
|
85920
|
+
p = "/";
|
85921
85921
|
}
|
85922
85922
|
}
|
85923
|
-
return
|
85923
|
+
return p;
|
85924
85924
|
};
|
85925
85925
|
checkOptionalParameter = (path5) => {
|
85926
85926
|
if (!path5.match(/\:.+\?$/)) {
|
@@ -86848,8 +86848,8 @@ var init_hono_base = __esm({
|
|
86848
86848
|
};
|
86849
86849
|
});
|
86850
86850
|
this.on = (method, path5, ...handlers) => {
|
86851
|
-
for (const
|
86852
|
-
this.#path =
|
86851
|
+
for (const p of [path5].flat()) {
|
86852
|
+
this.#path = p;
|
86853
86853
|
for (const m2 of [method].flat()) {
|
86854
86854
|
handlers.map((handler) => {
|
86855
86855
|
this.addRoute(m2.toUpperCase(), this.#path, handler);
|
@@ -87314,8 +87314,8 @@ var init_router2 = __esm({
|
|
87314
87314
|
;
|
87315
87315
|
[middleware, routes].forEach((handlerMap) => {
|
87316
87316
|
handlerMap[method] = /* @__PURE__ */ Object.create(null);
|
87317
|
-
Object.keys(handlerMap[METHOD_NAME_ALL]).forEach((
|
87318
|
-
handlerMap[method][
|
87317
|
+
Object.keys(handlerMap[METHOD_NAME_ALL]).forEach((p) => {
|
87318
|
+
handlerMap[method][p] = [...handlerMap[METHOD_NAME_ALL][p]];
|
87319
87319
|
});
|
87320
87320
|
});
|
87321
87321
|
}
|
@@ -87334,15 +87334,15 @@ var init_router2 = __esm({
|
|
87334
87334
|
}
|
87335
87335
|
Object.keys(middleware).forEach((m2) => {
|
87336
87336
|
if (method === METHOD_NAME_ALL || method === m2) {
|
87337
|
-
Object.keys(middleware[m2]).forEach((
|
87338
|
-
re.test(
|
87337
|
+
Object.keys(middleware[m2]).forEach((p) => {
|
87338
|
+
re.test(p) && middleware[m2][p].push([handler, paramCount]);
|
87339
87339
|
});
|
87340
87340
|
}
|
87341
87341
|
});
|
87342
87342
|
Object.keys(routes).forEach((m2) => {
|
87343
87343
|
if (method === METHOD_NAME_ALL || method === m2) {
|
87344
87344
|
Object.keys(routes[m2]).forEach(
|
87345
|
-
(
|
87345
|
+
(p) => re.test(p) && routes[m2][p].push([handler, paramCount])
|
87346
87346
|
);
|
87347
87347
|
}
|
87348
87348
|
});
|
@@ -87516,22 +87516,22 @@ var init_node2 = __esm({
|
|
87516
87516
|
const parts = splitRoutingPath(path5);
|
87517
87517
|
const possibleKeys = [];
|
87518
87518
|
for (let i2 = 0, len = parts.length; i2 < len; i2++) {
|
87519
|
-
const
|
87520
|
-
if (Object.keys(curNode.children).includes(
|
87521
|
-
curNode = curNode.children[
|
87522
|
-
const pattern2 = getPattern(
|
87519
|
+
const p = parts[i2];
|
87520
|
+
if (Object.keys(curNode.children).includes(p)) {
|
87521
|
+
curNode = curNode.children[p];
|
87522
|
+
const pattern2 = getPattern(p);
|
87523
87523
|
if (pattern2) {
|
87524
87524
|
possibleKeys.push(pattern2[1]);
|
87525
87525
|
}
|
87526
87526
|
continue;
|
87527
87527
|
}
|
87528
|
-
curNode.children[
|
87529
|
-
const pattern = getPattern(
|
87528
|
+
curNode.children[p] = new Node2();
|
87529
|
+
const pattern = getPattern(p);
|
87530
87530
|
if (pattern) {
|
87531
87531
|
curNode.patterns.push(pattern);
|
87532
87532
|
possibleKeys.push(pattern[1]);
|
87533
87533
|
}
|
87534
|
-
curNode = curNode.children[
|
87534
|
+
curNode = curNode.children[p];
|
87535
87535
|
}
|
87536
87536
|
if (!curNode.methods.length) {
|
87537
87537
|
curNode.methods = [];
|
@@ -87655,8 +87655,8 @@ var init_router4 = __esm({
|
|
87655
87655
|
add(method, path5, handler) {
|
87656
87656
|
const results = checkOptionalParameter(path5);
|
87657
87657
|
if (results) {
|
87658
|
-
for (const
|
87659
|
-
this.node.insert(method,
|
87658
|
+
for (const p of results) {
|
87659
|
+
this.node.insert(method, p, handler);
|
87660
87660
|
}
|
87661
87661
|
return;
|
87662
87662
|
}
|
@@ -89688,7 +89688,7 @@ ${desc}`);
|
|
89688
89688
|
console.log("\nUsage:");
|
89689
89689
|
if (command3.handler) {
|
89690
89690
|
console.log(
|
89691
|
-
` ${cliName ? cliName + " " : ""}${commandName}${positionals.length ? " " + positionals.map(({ config:
|
89691
|
+
` ${cliName ? cliName + " " : ""}${commandName}${positionals.length ? " " + positionals.map(({ config: p }) => getOptionTypeText(p)).join(" ") : ""} [flags]`
|
89692
89692
|
);
|
89693
89693
|
} else
|
89694
89694
|
console.log(` ${cliName ? cliName + " " : ""}${commandName} [command]`);
|
@@ -89700,7 +89700,7 @@ Aliases:`);
|
|
89700
89700
|
if (subcommands) {
|
89701
89701
|
console.log("\nAvailable Commands:");
|
89702
89702
|
const padding = 3;
|
89703
|
-
const maxLength = subcommands.reduce((
|
89703
|
+
const maxLength = subcommands.reduce((p, e2) => e2.name.length > p ? e2.name.length : p, 0);
|
89704
89704
|
const paddedLength = maxLength + padding;
|
89705
89705
|
const preDescPad = 2 + paddedLength;
|
89706
89706
|
const data = subcommands.map(
|
@@ -89717,15 +89717,15 @@ Aliases:`);
|
|
89717
89717
|
console.log(data);
|
89718
89718
|
}
|
89719
89719
|
if (options.length) {
|
89720
|
-
const aliasLength = options.reduce((
|
89720
|
+
const aliasLength = options.reduce((p, e2) => {
|
89721
89721
|
const currentLength = e2.config.aliases.reduce((pa, a) => pa + a.length, 0) + (e2.config.aliases.length - 1) * 2 + 1;
|
89722
|
-
return currentLength >
|
89722
|
+
return currentLength > p ? currentLength : p;
|
89723
89723
|
}, 0);
|
89724
89724
|
const paddedAliasLength = aliasLength > 0 ? aliasLength + 1 : 0;
|
89725
|
-
const nameLength = options.reduce((
|
89725
|
+
const nameLength = options.reduce((p, e2) => {
|
89726
89726
|
const typeLen = getOptionTypeText(e2.config).length;
|
89727
89727
|
const length = typeLen > 0 ? e2.config.name.length + 1 + typeLen : e2.config.name.length;
|
89728
|
-
return length >
|
89728
|
+
return length > p ? length : p;
|
89729
89729
|
}, 0) + 3;
|
89730
89730
|
const preDescPad = paddedAliasLength + nameLength + 2;
|
89731
89731
|
const data = options.map(
|
@@ -89772,7 +89772,7 @@ Use "${cliName ? cliName + " " : ""}${commandName} [command] --help" for more in
|
|
89772
89772
|
if (commands.length) {
|
89773
89773
|
console.log("\nAvailable Commands:");
|
89774
89774
|
const padding = 3;
|
89775
|
-
const maxLength = commands.reduce((
|
89775
|
+
const maxLength = commands.reduce((p, e2) => e2.name.length > p ? e2.name.length : p, 0);
|
89776
89776
|
const paddedLength = maxLength + padding;
|
89777
89777
|
const data = commands.map(
|
89778
89778
|
(c) => ` ${c.name.padEnd(paddedLength)}${(() => {
|
@@ -91079,7 +91079,7 @@ function getStore() {
|
|
91079
91079
|
}
|
91080
91080
|
var $ = new Proxy(function(pieces, ...args) {
|
91081
91081
|
const from = new Error().stack.split(/^\s*at\s/m)[2].trim();
|
91082
|
-
if (pieces.some((
|
91082
|
+
if (pieces.some((p) => p == void 0)) {
|
91083
91083
|
throw new Error(`Malformed command at ${from}`);
|
91084
91084
|
}
|
91085
91085
|
let resolve2, reject;
|
@@ -91227,7 +91227,7 @@ var ProcessPromise = class _ProcessPromise extends Promise {
|
|
91227
91227
|
return this.child.stderr;
|
91228
91228
|
}
|
91229
91229
|
get exitCode() {
|
91230
|
-
return this.then((
|
91230
|
+
return this.then((p) => p.exitCode, (p) => p.exitCode);
|
91231
91231
|
}
|
91232
91232
|
then(onfulfilled, onrejected) {
|
91233
91233
|
if (this.isHalted && !this.child) {
|
@@ -91267,9 +91267,9 @@ var ProcessPromise = class _ProcessPromise extends Promise {
|
|
91267
91267
|
if (!this.child.pid)
|
91268
91268
|
throw new Error("The process pid is undefined.");
|
91269
91269
|
let children = await psTree(this.child.pid);
|
91270
|
-
for (const
|
91270
|
+
for (const p of children) {
|
91271
91271
|
try {
|
91272
|
-
process.kill(+
|
91272
|
+
process.kill(+p.PID, signal);
|
91273
91273
|
} catch (e2) {
|
91274
91274
|
}
|
91275
91275
|
}
|
@@ -91666,17 +91666,17 @@ var globby2 = Object.assign(function globby3(patterns, options) {
|
|
91666
91666
|
}, globby_exports);
|
91667
91667
|
|
91668
91668
|
// src/utils/certs.ts
|
91669
|
-
var p = envPaths("drizzle-studio", {
|
91670
|
-
suffix: ""
|
91671
|
-
});
|
91672
|
-
$.verbose = false;
|
91673
|
-
$.cwd = p.data;
|
91674
|
-
(0, import_fs2.mkdirSync)(p.data, { recursive: true });
|
91675
91669
|
var certs = async () => {
|
91670
|
+
$.verbose = false;
|
91676
91671
|
const res = await $`mkcert --help`.nothrow();
|
91677
|
-
const keyPath = (0, import_path2.join)(p.data, "localhost-key.pem");
|
91678
|
-
const certPath = (0, import_path2.join)(p.data, "localhost.pem");
|
91679
91672
|
if (res.exitCode === 0) {
|
91673
|
+
const p = envPaths("drizzle-studio", {
|
91674
|
+
suffix: ""
|
91675
|
+
});
|
91676
|
+
$.cwd = p.data;
|
91677
|
+
(0, import_fs2.mkdirSync)(p.data, { recursive: true });
|
91678
|
+
const keyPath = (0, import_path2.join)(p.data, "localhost-key.pem");
|
91679
|
+
const certPath = (0, import_path2.join)(p.data, "localhost.pem");
|
91680
91680
|
try {
|
91681
91681
|
await Promise.all([(0, import_promises.access)(keyPath), (0, import_promises.access)(certPath)]);
|
91682
91682
|
} catch (e2) {
|
@@ -91690,7 +91690,6 @@ var certs = async () => {
|
|
91690
91690
|
}
|
91691
91691
|
return null;
|
91692
91692
|
};
|
91693
|
-
certs();
|
91694
91693
|
|
91695
91694
|
// src/cli/commands/check.ts
|
91696
91695
|
init_utils2();
|
@@ -92609,7 +92608,7 @@ init_utils5();
|
|
92609
92608
|
var version2 = async () => {
|
92610
92609
|
const { npmVersion } = await ormCoreVersions();
|
92611
92610
|
const ormVersion = npmVersion ? `drizzle-orm: v${npmVersion}` : "";
|
92612
|
-
const envVersion = "0.30.
|
92611
|
+
const envVersion = "0.30.2-de3c537";
|
92613
92612
|
const kitVersion = envVersion ? `v${envVersion}` : "--";
|
92614
92613
|
const versions = `drizzle-kit: ${kitVersion}
|
92615
92614
|
${ormVersion}`;
|