drizzle-kit 0.30.1-2329e17 → 0.30.1-2c70592
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 +2834 -1813
- package/api.mjs +2834 -1813
- package/bin.cjs +352 -349
- 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 p2 = typeof params === "function" ? params(data) : typeof params === "string" ? { message: params } : params;
|
1632
|
+
const _fatal = (_b = (_a = p2.fatal) !== null && _a !== void 0 ? _a : fatal) !== null && _b !== void 0 ? _b : true;
|
1633
|
+
const p22 = typeof p2 === "string" ? { message: p2 } : p2;
|
1634
|
+
ctx.addIssue({ code: "custom", ...p22, 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 p2 = pathext[i2].toLowerCase();
|
7833
|
+
if (p2 && path5.substr(-p2.length).toLowerCase() === p2) {
|
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 p2 = getPathPart(envPart, cmd);
|
7988
7988
|
for (const ext2 of pathExt) {
|
7989
|
-
const withExt =
|
7989
|
+
const withExt = p2 + 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 p2 = getPathPart(pathEnvPart, cmd);
|
8012
8012
|
for (const ext2 of pathExt) {
|
8013
|
-
const withExt =
|
8013
|
+
const withExt = p2 + 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 p2 = parent;
|
9819
9819
|
let q = parent.queue;
|
9820
|
-
while (
|
9821
|
-
|
9822
|
-
q =
|
9820
|
+
while (p2.type !== "brace" && p2.type !== "root" && p2.parent) {
|
9821
|
+
p2 = p2.parent;
|
9822
|
+
q = p2.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((p2) => picomatch.parse(p2, 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((p2) => p2.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((p2) => micromatch.contains(str, p2, 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((p2) => picomatch(p2, 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 p2 = 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
|
+
p2.catch(noop3);
|
13055
|
+
return p2;
|
13056
13056
|
}
|
13057
13057
|
function unshift(value) {
|
13058
|
-
var
|
13058
|
+
var p2 = 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
|
+
p2.catch(noop3);
|
13068
|
+
return p2;
|
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 p2 = new Promise(function(resolve2) {
|
13078
13078
|
queue.drain = function() {
|
13079
13079
|
previousDrain();
|
13080
13080
|
resolve2();
|
13081
13081
|
};
|
13082
13082
|
});
|
13083
|
-
return
|
13083
|
+
return p2;
|
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 = (p2) => p2;
|
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 = [], p2 = `--${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(p2 + e(n) + `"\r
|
19106
19106
|
\r
|
19107
19107
|
${v.replace(/\r(?!\n)|(?<!\r)\n/g, "\r\n")}\r
|
19108
|
-
`) : c.push(
|
19108
|
+
`) : c.push(p2 + 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, p2) => res2 * num(60) + num(p2), 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(p2, cache) {
|
26442
|
+
p2 = pathModule.resolve(p2);
|
26443
|
+
if (cache && Object.prototype.hasOwnProperty.call(cache, p2)) {
|
26444
|
+
return cache[p2];
|
26445
26445
|
}
|
26446
|
-
var original =
|
26446
|
+
var original = p2, 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(p2);
|
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 < p2.length) {
|
26464
26464
|
nextPartRe.lastIndex = pos;
|
26465
|
-
var result = nextPartRe.exec(
|
26465
|
+
var result = nextPartRe.exec(p2);
|
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
|
+
p2 = pathModule.resolve(resolvedLink, p2.slice(pos));
|
26502
26502
|
start();
|
26503
26503
|
}
|
26504
26504
|
if (cache)
|
26505
|
-
cache[original] =
|
26506
|
-
return
|
26505
|
+
cache[original] = p2;
|
26506
|
+
return p2;
|
26507
26507
|
};
|
26508
|
-
exports2.realpath = function realpath(
|
26508
|
+
exports2.realpath = function realpath(p2, 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
|
+
p2 = pathModule.resolve(p2);
|
26514
|
+
if (cache && Object.prototype.hasOwnProperty.call(cache, p2)) {
|
26515
|
+
return process.nextTick(cb.bind(null, null, cache[p2]));
|
26516
26516
|
}
|
26517
|
-
var original =
|
26517
|
+
var original = p2, 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(p2);
|
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 >= p2.length) {
|
26542
26542
|
if (cache)
|
26543
|
-
cache[original] =
|
26544
|
-
return cb(null,
|
26543
|
+
cache[original] = p2;
|
26544
|
+
return cb(null, p2);
|
26545
26545
|
}
|
26546
26546
|
nextPartRe.lastIndex = pos;
|
26547
|
-
var result = nextPartRe.exec(
|
26547
|
+
var result = nextPartRe.exec(p2);
|
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
|
+
p2 = pathModule.resolve(resolvedLink, p2.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(p2, cache, cb) {
|
26620
26620
|
if (ok) {
|
26621
|
-
return origRealpath(
|
26621
|
+
return origRealpath(p2, cache, cb);
|
26622
26622
|
}
|
26623
26623
|
if (typeof cache === "function") {
|
26624
26624
|
cb = cache;
|
26625
26625
|
cache = null;
|
26626
26626
|
}
|
26627
|
-
origRealpath(
|
26627
|
+
origRealpath(p2, cache, function(er, result) {
|
26628
26628
|
if (newError(er)) {
|
26629
|
-
old.realpath(
|
26629
|
+
old.realpath(p2, cache, cb);
|
26630
26630
|
} else {
|
26631
26631
|
cb(er, result);
|
26632
26632
|
}
|
26633
26633
|
});
|
26634
26634
|
}
|
26635
|
-
function realpathSync(
|
26635
|
+
function realpathSync(p2, cache) {
|
26636
26636
|
if (ok) {
|
26637
|
-
return origRealpathSync(
|
26637
|
+
return origRealpathSync(p2, cache);
|
26638
26638
|
}
|
26639
26639
|
try {
|
26640
|
-
return origRealpathSync(
|
26640
|
+
return origRealpathSync(p2, cache);
|
26641
26641
|
} catch (er) {
|
26642
26642
|
if (newError(er)) {
|
26643
|
-
return old.realpathSync(
|
26643
|
+
return old.realpathSync(p2, 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 p2 = pre.split(",");
|
26758
|
+
p2[p2.length - 1] += "{" + body + "}";
|
26759
26759
|
var postParts = parseCommaParts(post);
|
26760
26760
|
if (post.length) {
|
26761
|
-
|
26762
|
-
|
26761
|
+
p2[p2.length - 1] += postParts.shift();
|
26762
|
+
p2.push.apply(p2, postParts);
|
26763
26763
|
}
|
26764
|
-
parts.push.apply(parts,
|
26764
|
+
parts.push.apply(parts, p2);
|
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(p2) {
|
26820
|
+
return m2.pre + n[0] + p2;
|
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 = (p2, 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(p2);
|
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 = {}) => (p2, i2, list) => minimatch2(p2, 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 = (p2, pattern, options) => orig(p2, 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 p2 = pattern[pi];
|
27044
27044
|
var f3 = file[fi];
|
27045
|
-
this.debug(pattern,
|
27046
|
-
if (
|
27045
|
+
this.debug(pattern, p2, f3);
|
27046
|
+
if (p2 === false)
|
27047
27047
|
return false;
|
27048
|
-
if (
|
27049
|
-
this.debug("GLOBSTAR", [pattern,
|
27048
|
+
if (p2 === GLOBSTAR2) {
|
27049
|
+
this.debug("GLOBSTAR", [pattern, p2, 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 p2 === "string") {
|
27084
|
+
hit = f3 === p2;
|
27085
|
+
this.debug("string match", p2, f3, hit);
|
27086
27086
|
} else {
|
27087
|
-
hit = f3.match(
|
27088
|
-
this.debug("pattern match",
|
27087
|
+
hit = f3.match(p2);
|
27088
|
+
this.debug("pattern match", p2, 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 = (p2) => p2.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
|
+
(p2) => typeof p2 === "string" ? regExpEscape2(p2) : p2 === GLOBSTAR2 ? GLOBSTAR2 : p2._src
|
27368
|
+
).reduce((set2, p2) => {
|
27369
|
+
if (!(set2[set2.length - 1] === GLOBSTAR2 && p2 === GLOBSTAR2)) {
|
27370
|
+
set2.push(p2);
|
27371
27371
|
}
|
27372
27372
|
return set2;
|
27373
27373
|
}, []);
|
27374
|
-
pattern.forEach((
|
27375
|
-
if (
|
27374
|
+
pattern.forEach((p2, i2) => {
|
27375
|
+
if (p2 !== 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((p2) => p2 !== 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, p2) {
|
27645
|
+
var abs = makeAbs(self2, p2);
|
27646
27646
|
var c = self2.cache[abs];
|
27647
|
-
var m2 =
|
27647
|
+
var m2 = p2;
|
27648
27648
|
if (c) {
|
27649
27649
|
var isDir = c === "DIR" || Array.isArray(c);
|
27650
|
-
var slash2 =
|
27650
|
+
var slash2 = p2.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 !== p2) {
|
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 p2 in matchset) {
|
27742
27742
|
try {
|
27743
|
-
|
27744
|
-
var real = rp.realpathSync(
|
27743
|
+
p2 = self2._makeAbs(p2);
|
27744
|
+
var real = rp.realpathSync(p2, 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(p2)] = 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(p2) {
|
27780
|
+
return typeof p2 === "string" ? p2 : "[*]";
|
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(p2) {
|
28039
|
+
return common.mark(this, p2);
|
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(p2, i2) {
|
28319
|
+
p2 = self2._makeAbs(p2);
|
28320
|
+
rp.realpath(p2, 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[p2] = 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(p2) {
|
28335
|
+
return common.mark(this, p2);
|
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 p2 = pq[i2];
|
28367
28367
|
this._processing--;
|
28368
|
-
this._process(
|
28368
|
+
this._process(p2[0], p2[1], p2[2], p2[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(p2) {
|
28404
|
+
return typeof p2 === "string" ? p2 : "[*]";
|
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, p2, r2) {
|
30982
|
+
if (p2 < r2) {
|
30983
|
+
var pivotIndex = randomIntInRange(p2, r2);
|
30984
|
+
var i2 = p2 - 1;
|
30985
30985
|
swap(ary, pivotIndex, r2);
|
30986
30986
|
var pivot = ary[r2];
|
30987
|
-
for (var j =
|
30987
|
+
for (var j = p2; 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, p2, 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 p2 = peek();
|
33693
|
+
if (p2 !== 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 p2 in s2)
|
34208
|
+
if (Object.prototype.hasOwnProperty.call(s2, p2))
|
34209
|
+
t2[p2] = s2[p2];
|
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, p2, 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 (p2 = 0, len1 = ref5.length; p2 < len1; p2++) {
|
40512
|
+
line = ref5[p2];
|
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, p2, 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 (p2 = 0, len3 = ref2.length; p2 < len3; p2++) {
|
40659
|
+
line = ref2[p2];
|
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, p2, 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, p3, results;
|
40751
40751
|
results = [];
|
40752
|
-
for (
|
40753
|
-
[tag, _2, _2, _2, _2] = group[
|
40752
|
+
for (p3 = 0, len32 = group.length; p3 < len32; p3++) {
|
40753
|
+
[tag, _2, _2, _2, _2] = group[p3];
|
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 (p2 = 0, len3 = group.length; p2 < len3; p2++) {
|
40759
|
+
[tag, _2, _2, j1, j2] = group[p2];
|
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((p2) => {
|
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(p2) : PgSquasher.unsquashPolicy(p2),
|
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, p2, pr) => {
|
53476
|
+
debug("tilde", comp, _2, M, m2, p2, 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(p2)) {
|
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}.${p2}-${pr} <${M}.${+m2 + 1}.0-0`;
|
53487
53487
|
} else {
|
53488
|
-
ret = `>=${M}.${m2}.${
|
53488
|
+
ret = `>=${M}.${m2}.${p2} <${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, p2, pr) => {
|
53502
|
+
debug("caret", comp, _2, M, m2, p2, 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(p2)) {
|
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}.${p2}-${pr} <${M}.${m2}.${+p2 + 1}-0`;
|
53519
53519
|
} else {
|
53520
|
-
ret = `>=${M}.${m2}.${
|
53520
|
+
ret = `>=${M}.${m2}.${p2}-${pr} <${M}.${+m2 + 1}.0-0`;
|
53521
53521
|
}
|
53522
53522
|
} else {
|
53523
|
-
ret = `>=${M}.${m2}.${
|
53523
|
+
ret = `>=${M}.${m2}.${p2}-${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}.${p2}${z2} <${M}.${m2}.${+p2 + 1}-0`;
|
53530
53530
|
} else {
|
53531
|
-
ret = `>=${M}.${m2}.${
|
53531
|
+
ret = `>=${M}.${m2}.${p2}${z2} <${M}.${+m2 + 1}.0-0`;
|
53532
53532
|
}
|
53533
53533
|
} else {
|
53534
|
-
ret = `>=${M}.${m2}.${
|
53534
|
+
ret = `>=${M}.${m2}.${p2} <${+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, p2, pr) => {
|
53549
|
+
debug("xRange", comp, ret, gtlt, M, m2, p2, pr);
|
53550
53550
|
const xM = isX(M);
|
53551
53551
|
const xm = xM || isX(m2);
|
53552
|
-
const xp = xm || isX(
|
53552
|
+
const xp = xm || isX(p2);
|
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
|
+
p2 = 0;
|
53569
53569
|
if (gtlt === ">") {
|
53570
53570
|
gtlt = ">=";
|
53571
53571
|
if (xm) {
|
53572
53572
|
M = +M + 1;
|
53573
53573
|
m2 = 0;
|
53574
|
-
|
53574
|
+
p2 = 0;
|
53575
53575
|
} else {
|
53576
53576
|
m2 = +m2 + 1;
|
53577
|
-
|
53577
|
+
p2 = 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}.${p2}${pr}`;
|
53591
53591
|
} else if (xm) {
|
53592
53592
|
ret = `>=${M}.0.0${pr} <${+M + 1}.0.0-0`;
|
53593
53593
|
} else if (xp) {
|
@@ -54371,7 +54371,7 @@ var init_utils5 = __esm({
|
|
54371
54371
|
assertOrmCoreVersion = async () => {
|
54372
54372
|
try {
|
54373
54373
|
const { compatibilityVersion } = await import("drizzle-orm/version");
|
54374
|
-
await import("drizzle-orm/
|
54374
|
+
await import("drizzle-orm/_relations");
|
54375
54375
|
if (compatibilityVersion && compatibilityVersion === requiredApiVersion) {
|
54376
54376
|
return;
|
54377
54377
|
}
|
@@ -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, p2, receiver) {
|
55173
|
+
switch (p2) {
|
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[p2].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[p2].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, p2, 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 p2 in s2)
|
67213
|
+
if (Object.prototype.hasOwnProperty.call(s2, p2) && e2.indexOf(p2) < 0)
|
67214
|
+
t2[p2] = s2[p2];
|
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, p2 = Object.getOwnPropertySymbols(s2); i2 < p2.length; i2++) {
|
67217
|
+
if (e2.indexOf(p2[i2]) < 0 && Object.prototype.propertyIsEnumerable.call(s2, p2[i2]))
|
67218
|
+
t2[p2[i2]] = s2[p2[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 p2 in contextIn)
|
67250
|
+
context[p2] = p2 === "access" ? {} : contextIn[p2];
|
67251
|
+
for (var p2 in contextIn.access)
|
67252
|
+
context.access[p2] = contextIn.access[p2];
|
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 p2 in m2)
|
67405
|
+
if (p2 !== "default" && !Object.prototype.hasOwnProperty.call(o, p2))
|
67406
|
+
__createBinding(o, m2, p2);
|
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, p2;
|
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 (p2 = !p2) ? { 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 p2 in b2)
|
67671
|
+
if (Object.prototype.hasOwnProperty.call(b2, p2))
|
67672
|
+
d2[p2] = b2[p2];
|
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 p2 in s2)
|
67681
|
+
if (Object.prototype.hasOwnProperty.call(s2, p2))
|
67682
|
+
t2[p2] = s2[p2];
|
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 p2 in s2)
|
70572
|
+
if (Object.prototype.hasOwnProperty.call(s2, p2) && e2.indexOf(p2) < 0)
|
70573
|
+
t2[p2] = s2[p2];
|
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, p2 = Object.getOwnPropertySymbols(s2); i2 < p2.length; i2++) {
|
70576
|
+
if (e2.indexOf(p2[i2]) < 0 && Object.prototype.propertyIsEnumerable.call(s2, p2[i2]))
|
70577
|
+
t2[p2[i2]] = s2[p2[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 p2 in contextIn)
|
70609
|
+
context[p2] = p2 === "access" ? {} : contextIn[p2];
|
70610
|
+
for (var p2 in contextIn.access)
|
70611
|
+
context.access[p2] = contextIn.access[p2];
|
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 p2 in m2)
|
70764
|
+
if (p2 !== "default" && !Object.prototype.hasOwnProperty.call(o, p2))
|
70765
|
+
__createBinding2(o, m2, p2);
|
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, p2;
|
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 (p2 = !p2) ? { 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 p2 in b2)
|
70997
|
+
if (Object.prototype.hasOwnProperty.call(b2, p2))
|
70998
|
+
d2[p2] = b2[p2];
|
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 p2 in s2)
|
71007
|
+
if (Object.prototype.hasOwnProperty.call(s2, p2))
|
71008
|
+
t2[p2] = s2[p2];
|
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 p2 = { [x2]: g };
|
72230
|
+
var q = { [v]: c, [w]: [true, { [v]: h2, [w]: [p2, "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]: [p2, "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
|
});
|
@@ -73106,9 +73106,9 @@ var require_dist_cjs46 = __commonJS({
|
|
73106
73106
|
}
|
73107
73107
|
});
|
73108
73108
|
|
73109
|
-
// ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/auth/httpAuthSchemeProvider.js
|
73109
|
+
// ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0_@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/auth/httpAuthSchemeProvider.js
|
73110
73110
|
var require_httpAuthSchemeProvider3 = __commonJS({
|
73111
|
-
"../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/auth/httpAuthSchemeProvider.js"(exports2) {
|
73111
|
+
"../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0_@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/auth/httpAuthSchemeProvider.js"(exports2) {
|
73112
73112
|
"use strict";
|
73113
73113
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
73114
73114
|
exports2.resolveHttpAuthSchemeConfig = exports2.defaultSSOOIDCHttpAuthSchemeProvider = exports2.defaultSSOOIDCHttpAuthSchemeParametersProvider = void 0;
|
@@ -73175,9 +73175,9 @@ var require_httpAuthSchemeProvider3 = __commonJS({
|
|
73175
73175
|
}
|
73176
73176
|
});
|
73177
73177
|
|
73178
|
-
// ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/package.json
|
73178
|
+
// ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0_@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sso-oidc/package.json
|
73179
73179
|
var require_package4 = __commonJS({
|
73180
|
-
"../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/package.json"(exports2, module2) {
|
73180
|
+
"../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0_@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sso-oidc/package.json"(exports2, module2) {
|
73181
73181
|
module2.exports = {
|
73182
73182
|
name: "@aws-sdk/client-sso-oidc",
|
73183
73183
|
description: "AWS SDK for JavaScript Sso Oidc Client for Node.js, Browser and React Native",
|
@@ -73281,9 +73281,9 @@ var require_package4 = __commonJS({
|
|
73281
73281
|
}
|
73282
73282
|
});
|
73283
73283
|
|
73284
|
-
// ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/endpoint/ruleset.js
|
73284
|
+
// ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0_@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/endpoint/ruleset.js
|
73285
73285
|
var require_ruleset2 = __commonJS({
|
73286
|
-
"../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/endpoint/ruleset.js"(exports2) {
|
73286
|
+
"../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0_@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/endpoint/ruleset.js"(exports2) {
|
73287
73287
|
"use strict";
|
73288
73288
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
73289
73289
|
exports2.ruleSet = void 0;
|
@@ -73306,19 +73306,19 @@ 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 p2 = { [x2]: g };
|
73310
|
+
var q = { [v]: c, [w]: [true, { [v]: h2, [w]: [p2, "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]: [p2, "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
|
});
|
73318
73318
|
|
73319
|
-
// ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/endpoint/endpointResolver.js
|
73319
|
+
// ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0_@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/endpoint/endpointResolver.js
|
73320
73320
|
var require_endpointResolver2 = __commonJS({
|
73321
|
-
"../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/endpoint/endpointResolver.js"(exports2) {
|
73321
|
+
"../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0_@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/endpoint/endpointResolver.js"(exports2) {
|
73322
73322
|
"use strict";
|
73323
73323
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
73324
73324
|
exports2.defaultEndpointResolver = void 0;
|
@@ -73336,9 +73336,9 @@ var require_endpointResolver2 = __commonJS({
|
|
73336
73336
|
}
|
73337
73337
|
});
|
73338
73338
|
|
73339
|
-
// ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.shared.js
|
73339
|
+
// ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0_@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.shared.js
|
73340
73340
|
var require_runtimeConfig_shared2 = __commonJS({
|
73341
|
-
"../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.shared.js"(exports2) {
|
73341
|
+
"../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0_@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.shared.js"(exports2) {
|
73342
73342
|
"use strict";
|
73343
73343
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
73344
73344
|
exports2.getRuntimeConfig = void 0;
|
@@ -73382,9 +73382,9 @@ var require_runtimeConfig_shared2 = __commonJS({
|
|
73382
73382
|
}
|
73383
73383
|
});
|
73384
73384
|
|
73385
|
-
// ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.js
|
73385
|
+
// ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0_@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.js
|
73386
73386
|
var require_runtimeConfig2 = __commonJS({
|
73387
|
-
"../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.js"(exports2) {
|
73387
|
+
"../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0_@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.js"(exports2) {
|
73388
73388
|
"use strict";
|
73389
73389
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
73390
73390
|
exports2.getRuntimeConfig = void 0;
|
@@ -73435,9 +73435,9 @@ var require_runtimeConfig2 = __commonJS({
|
|
73435
73435
|
}
|
73436
73436
|
});
|
73437
73437
|
|
73438
|
-
// ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/index.js
|
73438
|
+
// ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0_@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/index.js
|
73439
73439
|
var require_dist_cjs47 = __commonJS({
|
73440
|
-
"../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/index.js"(exports2, module2) {
|
73440
|
+
"../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0_@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/index.js"(exports2, module2) {
|
73441
73441
|
"use strict";
|
73442
73442
|
var __defProp3 = Object.defineProperty;
|
73443
73443
|
var __getOwnPropDesc3 = Object.getOwnPropertyDescriptor;
|
@@ -74783,9 +74783,9 @@ Reference: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-sso.ht
|
|
74783
74783
|
}
|
74784
74784
|
});
|
74785
74785
|
|
74786
|
-
// ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.
|
74786
|
+
// ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-cjs/auth/httpAuthSchemeProvider.js
|
74787
74787
|
var require_httpAuthSchemeProvider4 = __commonJS({
|
74788
|
-
"../node_modules/.pnpm/@aws-sdk+client-sts@3.583.
|
74788
|
+
"../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-cjs/auth/httpAuthSchemeProvider.js"(exports2) {
|
74789
74789
|
"use strict";
|
74790
74790
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
74791
74791
|
exports2.resolveHttpAuthSchemeConfig = exports2.resolveStsAuthConfig = exports2.defaultSTSHttpAuthSchemeProvider = exports2.defaultSTSHttpAuthSchemeParametersProvider = void 0;
|
@@ -74855,9 +74855,9 @@ var require_httpAuthSchemeProvider4 = __commonJS({
|
|
74855
74855
|
}
|
74856
74856
|
});
|
74857
74857
|
|
74858
|
-
// ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.
|
74858
|
+
// ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/EndpointParameters.js
|
74859
74859
|
var require_EndpointParameters = __commonJS({
|
74860
|
-
"../node_modules/.pnpm/@aws-sdk+client-sts@3.583.
|
74860
|
+
"../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/EndpointParameters.js"(exports2) {
|
74861
74861
|
"use strict";
|
74862
74862
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
74863
74863
|
exports2.commonParams = exports2.resolveClientEndpointParameters = void 0;
|
@@ -74881,9 +74881,9 @@ var require_EndpointParameters = __commonJS({
|
|
74881
74881
|
}
|
74882
74882
|
});
|
74883
74883
|
|
74884
|
-
// ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.
|
74884
|
+
// ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/package.json
|
74885
74885
|
var require_package5 = __commonJS({
|
74886
|
-
"../node_modules/.pnpm/@aws-sdk+client-sts@3.583.
|
74886
|
+
"../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/package.json"(exports2, module2) {
|
74887
74887
|
module2.exports = {
|
74888
74888
|
name: "@aws-sdk/client-sts",
|
74889
74889
|
description: "AWS SDK for JavaScript Sts Client for Node.js, Browser and React Native",
|
@@ -74989,9 +74989,9 @@ var require_package5 = __commonJS({
|
|
74989
74989
|
}
|
74990
74990
|
});
|
74991
74991
|
|
74992
|
-
// ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.
|
74992
|
+
// ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/ruleset.js
|
74993
74993
|
var require_ruleset3 = __commonJS({
|
74994
|
-
"../node_modules/.pnpm/@aws-sdk+client-sts@3.583.
|
74994
|
+
"../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/ruleset.js"(exports2) {
|
74995
74995
|
"use strict";
|
74996
74996
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
74997
74997
|
exports2.ruleSet = void 0;
|
@@ -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 p2 = { [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,14 +75031,14 @@ 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 }, p2, 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: [p2], 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
|
});
|
75038
75038
|
|
75039
|
-
// ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.
|
75039
|
+
// ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/endpointResolver.js
|
75040
75040
|
var require_endpointResolver3 = __commonJS({
|
75041
|
-
"../node_modules/.pnpm/@aws-sdk+client-sts@3.583.
|
75041
|
+
"../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/endpointResolver.js"(exports2) {
|
75042
75042
|
"use strict";
|
75043
75043
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
75044
75044
|
exports2.defaultEndpointResolver = void 0;
|
@@ -75056,9 +75056,9 @@ var require_endpointResolver3 = __commonJS({
|
|
75056
75056
|
}
|
75057
75057
|
});
|
75058
75058
|
|
75059
|
-
// ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.
|
75059
|
+
// ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.shared.js
|
75060
75060
|
var require_runtimeConfig_shared3 = __commonJS({
|
75061
|
-
"../node_modules/.pnpm/@aws-sdk+client-sts@3.583.
|
75061
|
+
"../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.shared.js"(exports2) {
|
75062
75062
|
"use strict";
|
75063
75063
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
75064
75064
|
exports2.getRuntimeConfig = void 0;
|
@@ -75102,9 +75102,9 @@ var require_runtimeConfig_shared3 = __commonJS({
|
|
75102
75102
|
}
|
75103
75103
|
});
|
75104
75104
|
|
75105
|
-
// ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.
|
75105
|
+
// ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.js
|
75106
75106
|
var require_runtimeConfig3 = __commonJS({
|
75107
|
-
"../node_modules/.pnpm/@aws-sdk+client-sts@3.583.
|
75107
|
+
"../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.js"(exports2) {
|
75108
75108
|
"use strict";
|
75109
75109
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
75110
75110
|
exports2.getRuntimeConfig = void 0;
|
@@ -75168,9 +75168,9 @@ var require_runtimeConfig3 = __commonJS({
|
|
75168
75168
|
}
|
75169
75169
|
});
|
75170
75170
|
|
75171
|
-
// ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.
|
75171
|
+
// ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-cjs/auth/httpAuthExtensionConfiguration.js
|
75172
75172
|
var require_httpAuthExtensionConfiguration = __commonJS({
|
75173
|
-
"../node_modules/.pnpm/@aws-sdk+client-sts@3.583.
|
75173
|
+
"../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-cjs/auth/httpAuthExtensionConfiguration.js"(exports2) {
|
75174
75174
|
"use strict";
|
75175
75175
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
75176
75176
|
exports2.resolveHttpAuthRuntimeConfig = exports2.getHttpAuthExtensionConfiguration = void 0;
|
@@ -75216,9 +75216,9 @@ var require_httpAuthExtensionConfiguration = __commonJS({
|
|
75216
75216
|
}
|
75217
75217
|
});
|
75218
75218
|
|
75219
|
-
// ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.
|
75219
|
+
// ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeExtensions.js
|
75220
75220
|
var require_runtimeExtensions = __commonJS({
|
75221
|
-
"../node_modules/.pnpm/@aws-sdk+client-sts@3.583.
|
75221
|
+
"../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeExtensions.js"(exports2) {
|
75222
75222
|
"use strict";
|
75223
75223
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
75224
75224
|
exports2.resolveRuntimeExtensions = void 0;
|
@@ -75247,9 +75247,9 @@ var require_runtimeExtensions = __commonJS({
|
|
75247
75247
|
}
|
75248
75248
|
});
|
75249
75249
|
|
75250
|
-
// ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.
|
75250
|
+
// ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-cjs/STSClient.js
|
75251
75251
|
var require_STSClient = __commonJS({
|
75252
|
-
"../node_modules/.pnpm/@aws-sdk+client-sts@3.583.
|
75252
|
+
"../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-cjs/STSClient.js"(exports2) {
|
75253
75253
|
"use strict";
|
75254
75254
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
75255
75255
|
exports2.STSClient = exports2.__Client = void 0;
|
@@ -75311,9 +75311,9 @@ var require_STSClient = __commonJS({
|
|
75311
75311
|
}
|
75312
75312
|
});
|
75313
75313
|
|
75314
|
-
// ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.
|
75314
|
+
// ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-cjs/index.js
|
75315
75315
|
var require_dist_cjs50 = __commonJS({
|
75316
|
-
"../node_modules/.pnpm/@aws-sdk+client-sts@3.583.
|
75316
|
+
"../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-cjs/index.js"(exports2, module2) {
|
75317
75317
|
"use strict";
|
75318
75318
|
var __defProp3 = Object.defineProperty;
|
75319
75319
|
var __getOwnPropDesc3 = Object.getOwnPropertyDescriptor;
|
@@ -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 p2 = [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: p2, 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: p2, 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
|
});
|
@@ -78653,6 +78653,7 @@ var init_connections = __esm({
|
|
78653
78653
|
rdsClient,
|
78654
78654
|
new PgDialect2(),
|
78655
78655
|
void 0,
|
78656
|
+
void 0,
|
78656
78657
|
config,
|
78657
78658
|
void 0
|
78658
78659
|
);
|
@@ -80407,12 +80408,12 @@ var init_mjs = __esm({
|
|
80407
80408
|
init_unescape();
|
80408
80409
|
init_escape();
|
80409
80410
|
init_unescape();
|
80410
|
-
minimatch = (
|
80411
|
+
minimatch = (p2, pattern, options = {}) => {
|
80411
80412
|
assertValidPattern(pattern);
|
80412
80413
|
if (!options.nocomment && pattern.charAt(0) === "#") {
|
80413
80414
|
return false;
|
80414
80415
|
}
|
80415
|
-
return new Minimatch(pattern, options).match(
|
80416
|
+
return new Minimatch(pattern, options).match(p2);
|
80416
80417
|
};
|
80417
80418
|
starDotExtRE = /^\*+([^+@!?\*\[\(]*)$/;
|
80418
80419
|
starDotExtTest = (ext2) => (f3) => !f3.startsWith(".") && f3.endsWith(ext2);
|
@@ -80490,7 +80491,7 @@ var init_mjs = __esm({
|
|
80490
80491
|
}, {});
|
80491
80492
|
reSpecials = charSet("().*{}+?[]^$\\!");
|
80492
80493
|
addPatternStartSet = charSet("[.(");
|
80493
|
-
filter = (pattern, options = {}) => (
|
80494
|
+
filter = (pattern, options = {}) => (p2) => minimatch(p2, pattern, options);
|
80494
80495
|
minimatch.filter = filter;
|
80495
80496
|
ext = (a, b = {}) => Object.assign({}, a, b);
|
80496
80497
|
defaults2 = (def) => {
|
@@ -80498,7 +80499,7 @@ var init_mjs = __esm({
|
|
80498
80499
|
return minimatch;
|
80499
80500
|
}
|
80500
80501
|
const orig = minimatch;
|
80501
|
-
const m2 = (
|
80502
|
+
const m2 = (p2, pattern, options = {}) => orig(p2, pattern, ext(def, options));
|
80502
80503
|
return Object.assign(m2, {
|
80503
80504
|
Minimatch: class Minimatch extends orig.Minimatch {
|
80504
80505
|
constructor(pattern, options = {}) {
|
@@ -80644,9 +80645,9 @@ var init_mjs = __esm({
|
|
80644
80645
|
this.set = set.filter((s2) => s2.indexOf(false) === -1);
|
80645
80646
|
if (this.isWindows) {
|
80646
80647
|
for (let i2 = 0; i2 < this.set.length; i2++) {
|
80647
|
-
const
|
80648
|
-
if (
|
80649
|
-
|
80648
|
+
const p2 = this.set[i2];
|
80649
|
+
if (p2[0] === "" && p2[1] === "" && this.globParts[i2][2] === "?" && typeof p2[3] === "string" && /^[a-z]:$/i.test(p2[3])) {
|
80650
|
+
p2[2] = "?";
|
80650
80651
|
}
|
80651
80652
|
}
|
80652
80653
|
}
|
@@ -80723,10 +80724,10 @@ var init_mjs = __esm({
|
|
80723
80724
|
didSomething = false;
|
80724
80725
|
if (!this.preserveMultipleSlashes) {
|
80725
80726
|
for (let i2 = 1; i2 < parts.length - 1; i2++) {
|
80726
|
-
const
|
80727
|
-
if (i2 === 1 &&
|
80727
|
+
const p2 = parts[i2];
|
80728
|
+
if (i2 === 1 && p2 === "" && parts[0] === "")
|
80728
80729
|
continue;
|
80729
|
-
if (
|
80730
|
+
if (p2 === "." || p2 === "") {
|
80730
80731
|
didSomething = true;
|
80731
80732
|
parts.splice(i2, 1);
|
80732
80733
|
i2--;
|
@@ -80739,8 +80740,8 @@ var init_mjs = __esm({
|
|
80739
80740
|
}
|
80740
80741
|
let dd = 0;
|
80741
80742
|
while (-1 !== (dd = parts.indexOf("..", dd + 1))) {
|
80742
|
-
const
|
80743
|
-
if (
|
80743
|
+
const p2 = parts[dd - 1];
|
80744
|
+
if (p2 && p2 !== "." && p2 !== ".." && p2 !== "**") {
|
80744
80745
|
didSomething = true;
|
80745
80746
|
parts.splice(dd - 1, 2);
|
80746
80747
|
dd -= 2;
|
@@ -80782,11 +80783,11 @@ var init_mjs = __esm({
|
|
80782
80783
|
parts.splice(gs + 1, gss - gs);
|
80783
80784
|
}
|
80784
80785
|
let next = parts[gs + 1];
|
80785
|
-
const
|
80786
|
-
const
|
80786
|
+
const p2 = parts[gs + 2];
|
80787
|
+
const p22 = parts[gs + 3];
|
80787
80788
|
if (next !== "..")
|
80788
80789
|
continue;
|
80789
|
-
if (!
|
80790
|
+
if (!p2 || p2 === "." || p2 === ".." || !p22 || p22 === "." || p22 === "..") {
|
80790
80791
|
continue;
|
80791
80792
|
}
|
80792
80793
|
didSomething = true;
|
@@ -80798,10 +80799,10 @@ var init_mjs = __esm({
|
|
80798
80799
|
}
|
80799
80800
|
if (!this.preserveMultipleSlashes) {
|
80800
80801
|
for (let i2 = 1; i2 < parts.length - 1; i2++) {
|
80801
|
-
const
|
80802
|
-
if (i2 === 1 &&
|
80802
|
+
const p2 = parts[i2];
|
80803
|
+
if (i2 === 1 && p2 === "" && parts[0] === "")
|
80803
80804
|
continue;
|
80804
|
-
if (
|
80805
|
+
if (p2 === "." || p2 === "") {
|
80805
80806
|
didSomething = true;
|
80806
80807
|
parts.splice(i2, 1);
|
80807
80808
|
i2--;
|
@@ -80814,8 +80815,8 @@ var init_mjs = __esm({
|
|
80814
80815
|
}
|
80815
80816
|
let dd = 0;
|
80816
80817
|
while (-1 !== (dd = parts.indexOf("..", dd + 1))) {
|
80817
|
-
const
|
80818
|
-
if (
|
80818
|
+
const p2 = parts[dd - 1];
|
80819
|
+
if (p2 && p2 !== "." && p2 !== ".." && p2 !== "**") {
|
80819
80820
|
didSomething = true;
|
80820
80821
|
const needDot = dd === 1 && parts[dd + 1] === "**";
|
80821
80822
|
const splin = needDot ? ["."] : [];
|
@@ -80937,14 +80938,14 @@ var init_mjs = __esm({
|
|
80937
80938
|
this.debug("matchOne", file.length, pattern.length);
|
80938
80939
|
for (var fi = 0, pi = 0, fl = file.length, pl = pattern.length; fi < fl && pi < pl; fi++, pi++) {
|
80939
80940
|
this.debug("matchOne loop");
|
80940
|
-
var
|
80941
|
+
var p2 = pattern[pi];
|
80941
80942
|
var f3 = file[fi];
|
80942
|
-
this.debug(pattern,
|
80943
|
-
if (
|
80943
|
+
this.debug(pattern, p2, f3);
|
80944
|
+
if (p2 === false) {
|
80944
80945
|
return false;
|
80945
80946
|
}
|
80946
|
-
if (
|
80947
|
-
this.debug("GLOBSTAR", [pattern,
|
80947
|
+
if (p2 === GLOBSTAR) {
|
80948
|
+
this.debug("GLOBSTAR", [pattern, p2, f3]);
|
80948
80949
|
var fr = fi;
|
80949
80950
|
var pr = pi + 1;
|
80950
80951
|
if (pr === pl) {
|
@@ -80979,12 +80980,12 @@ var init_mjs = __esm({
|
|
80979
80980
|
return false;
|
80980
80981
|
}
|
80981
80982
|
let hit;
|
80982
|
-
if (typeof
|
80983
|
-
hit = f3 ===
|
80984
|
-
this.debug("string match",
|
80983
|
+
if (typeof p2 === "string") {
|
80984
|
+
hit = f3 === p2;
|
80985
|
+
this.debug("string match", p2, f3, hit);
|
80985
80986
|
} else {
|
80986
|
-
hit =
|
80987
|
-
this.debug("pattern match",
|
80987
|
+
hit = p2.test(f3);
|
80988
|
+
this.debug("pattern match", p2, f3, hit);
|
80988
80989
|
}
|
80989
80990
|
if (!hit)
|
80990
80991
|
return false;
|
@@ -81033,7 +81034,7 @@ var init_mjs = __esm({
|
|
81033
81034
|
let dotTravAllowed = pattern.charAt(0) === ".";
|
81034
81035
|
let dotFileAllowed = options.dot || dotTravAllowed;
|
81035
81036
|
const patternStart = () => dotTravAllowed ? "" : dotFileAllowed ? "(?!(?:^|\\/)\\.{1,2}(?:$|\\/))" : "(?!\\.)";
|
81036
|
-
const subPatternStart = (
|
81037
|
+
const subPatternStart = (p2) => p2.charAt(0) === "." ? "" : options.dot ? "(?!(?:^|\\/)\\.{1,2}(?:$|\\/))" : "(?!\\.)";
|
81037
81038
|
const clearStateChar = () => {
|
81038
81039
|
if (stateChar) {
|
81039
81040
|
switch (stateChar) {
|
@@ -81236,11 +81237,11 @@ var init_mjs = __esm({
|
|
81236
81237
|
const twoStar = options.noglobstar ? star : options.dot ? twoStarDot : twoStarNoDot;
|
81237
81238
|
const flags = options.nocase ? "i" : "";
|
81238
81239
|
let re = set.map((pattern) => {
|
81239
|
-
const pp = pattern.map((
|
81240
|
-
pp.forEach((
|
81240
|
+
const pp = pattern.map((p2) => typeof p2 === "string" ? regExpEscape(p2) : p2 === GLOBSTAR ? GLOBSTAR : p2._src);
|
81241
|
+
pp.forEach((p2, i2) => {
|
81241
81242
|
const next = pp[i2 + 1];
|
81242
81243
|
const prev = pp[i2 - 1];
|
81243
|
-
if (
|
81244
|
+
if (p2 !== GLOBSTAR || prev === GLOBSTAR) {
|
81244
81245
|
return;
|
81245
81246
|
}
|
81246
81247
|
if (prev === void 0) {
|
@@ -81256,7 +81257,7 @@ var init_mjs = __esm({
|
|
81256
81257
|
pp[i2 + 1] = GLOBSTAR;
|
81257
81258
|
}
|
81258
81259
|
});
|
81259
|
-
return pp.filter((
|
81260
|
+
return pp.filter((p2) => p2 !== GLOBSTAR).join("/");
|
81260
81261
|
}).join("|");
|
81261
81262
|
re = "^(?:" + re + ")$";
|
81262
81263
|
if (this.negate)
|
@@ -81268,13 +81269,13 @@ var init_mjs = __esm({
|
|
81268
81269
|
}
|
81269
81270
|
return this.regexp;
|
81270
81271
|
}
|
81271
|
-
slashSplit(
|
81272
|
+
slashSplit(p2) {
|
81272
81273
|
if (this.preserveMultipleSlashes) {
|
81273
|
-
return
|
81274
|
-
} else if (this.isWindows && /^\/\/[^\/]+/.test(
|
81275
|
-
return ["", ...
|
81274
|
+
return p2.split("/");
|
81275
|
+
} else if (this.isWindows && /^\/\/[^\/]+/.test(p2)) {
|
81276
|
+
return ["", ...p2.split(/\/+/)];
|
81276
81277
|
} else {
|
81277
|
-
return
|
81278
|
+
return p2.split(/\/+/);
|
81278
81279
|
}
|
81279
81280
|
}
|
81280
81281
|
match(f3, partial = this.partial) {
|
@@ -83469,7 +83470,7 @@ var init_introspect_pg = __esm({
|
|
83469
83470
|
"src/introspect-pg.ts"() {
|
83470
83471
|
"use strict";
|
83471
83472
|
import_drizzle_orm9 = require("drizzle-orm");
|
83472
|
-
import_relations = require("drizzle-orm/
|
83473
|
+
import_relations = require("drizzle-orm/_relations");
|
83473
83474
|
init_utils();
|
83474
83475
|
import_casing4 = require("drizzle-orm/casing");
|
83475
83476
|
init_global();
|
@@ -85313,7 +85314,7 @@ var init_introspect = __esm({
|
|
85313
85314
|
});
|
85314
85315
|
});
|
85315
85316
|
const uniqueImports = [...new Set(imports)];
|
85316
|
-
const importsTs = `import { relations } from "drizzle-orm/
|
85317
|
+
const importsTs = `import { relations } from "drizzle-orm/_relations";
|
85317
85318
|
import { ${uniqueImports.join(
|
85318
85319
|
", "
|
85319
85320
|
)} } from "./schema";
|
@@ -85901,26 +85902,26 @@ var init_url = __esm({
|
|
85901
85902
|
return result.length > 1 && result[result.length - 1] === "/" ? result.slice(0, -1) : result;
|
85902
85903
|
};
|
85903
85904
|
mergePath = (...paths) => {
|
85904
|
-
let
|
85905
|
+
let p2 = "";
|
85905
85906
|
let endsWithSlash = false;
|
85906
85907
|
for (let path5 of paths) {
|
85907
|
-
if (
|
85908
|
-
|
85908
|
+
if (p2[p2.length - 1] === "/") {
|
85909
|
+
p2 = p2.slice(0, -1);
|
85909
85910
|
endsWithSlash = true;
|
85910
85911
|
}
|
85911
85912
|
if (path5[0] !== "/") {
|
85912
85913
|
path5 = `/${path5}`;
|
85913
85914
|
}
|
85914
85915
|
if (path5 === "/" && endsWithSlash) {
|
85915
|
-
|
85916
|
+
p2 = `${p2}/`;
|
85916
85917
|
} else if (path5 !== "/") {
|
85917
|
-
|
85918
|
+
p2 = `${p2}${path5}`;
|
85918
85919
|
}
|
85919
|
-
if (path5 === "/" &&
|
85920
|
-
|
85920
|
+
if (path5 === "/" && p2 === "") {
|
85921
|
+
p2 = "/";
|
85921
85922
|
}
|
85922
85923
|
}
|
85923
|
-
return
|
85924
|
+
return p2;
|
85924
85925
|
};
|
85925
85926
|
checkOptionalParameter = (path5) => {
|
85926
85927
|
if (!path5.match(/\:.+\?$/)) {
|
@@ -86848,8 +86849,8 @@ var init_hono_base = __esm({
|
|
86848
86849
|
};
|
86849
86850
|
});
|
86850
86851
|
this.on = (method, path5, ...handlers) => {
|
86851
|
-
for (const
|
86852
|
-
this.#path =
|
86852
|
+
for (const p2 of [path5].flat()) {
|
86853
|
+
this.#path = p2;
|
86853
86854
|
for (const m2 of [method].flat()) {
|
86854
86855
|
handlers.map((handler) => {
|
86855
86856
|
this.addRoute(m2.toUpperCase(), this.#path, handler);
|
@@ -87314,8 +87315,8 @@ var init_router2 = __esm({
|
|
87314
87315
|
;
|
87315
87316
|
[middleware, routes].forEach((handlerMap) => {
|
87316
87317
|
handlerMap[method] = /* @__PURE__ */ Object.create(null);
|
87317
|
-
Object.keys(handlerMap[METHOD_NAME_ALL]).forEach((
|
87318
|
-
handlerMap[method][
|
87318
|
+
Object.keys(handlerMap[METHOD_NAME_ALL]).forEach((p2) => {
|
87319
|
+
handlerMap[method][p2] = [...handlerMap[METHOD_NAME_ALL][p2]];
|
87319
87320
|
});
|
87320
87321
|
});
|
87321
87322
|
}
|
@@ -87334,15 +87335,15 @@ var init_router2 = __esm({
|
|
87334
87335
|
}
|
87335
87336
|
Object.keys(middleware).forEach((m2) => {
|
87336
87337
|
if (method === METHOD_NAME_ALL || method === m2) {
|
87337
|
-
Object.keys(middleware[m2]).forEach((
|
87338
|
-
re.test(
|
87338
|
+
Object.keys(middleware[m2]).forEach((p2) => {
|
87339
|
+
re.test(p2) && middleware[m2][p2].push([handler, paramCount]);
|
87339
87340
|
});
|
87340
87341
|
}
|
87341
87342
|
});
|
87342
87343
|
Object.keys(routes).forEach((m2) => {
|
87343
87344
|
if (method === METHOD_NAME_ALL || method === m2) {
|
87344
87345
|
Object.keys(routes[m2]).forEach(
|
87345
|
-
(
|
87346
|
+
(p2) => re.test(p2) && routes[m2][p2].push([handler, paramCount])
|
87346
87347
|
);
|
87347
87348
|
}
|
87348
87349
|
});
|
@@ -87516,22 +87517,22 @@ var init_node2 = __esm({
|
|
87516
87517
|
const parts = splitRoutingPath(path5);
|
87517
87518
|
const possibleKeys = [];
|
87518
87519
|
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(
|
87520
|
+
const p2 = parts[i2];
|
87521
|
+
if (Object.keys(curNode.children).includes(p2)) {
|
87522
|
+
curNode = curNode.children[p2];
|
87523
|
+
const pattern2 = getPattern(p2);
|
87523
87524
|
if (pattern2) {
|
87524
87525
|
possibleKeys.push(pattern2[1]);
|
87525
87526
|
}
|
87526
87527
|
continue;
|
87527
87528
|
}
|
87528
|
-
curNode.children[
|
87529
|
-
const pattern = getPattern(
|
87529
|
+
curNode.children[p2] = new Node2();
|
87530
|
+
const pattern = getPattern(p2);
|
87530
87531
|
if (pattern) {
|
87531
87532
|
curNode.patterns.push(pattern);
|
87532
87533
|
possibleKeys.push(pattern[1]);
|
87533
87534
|
}
|
87534
|
-
curNode = curNode.children[
|
87535
|
+
curNode = curNode.children[p2];
|
87535
87536
|
}
|
87536
87537
|
if (!curNode.methods.length) {
|
87537
87538
|
curNode.methods = [];
|
@@ -87655,8 +87656,8 @@ var init_router4 = __esm({
|
|
87655
87656
|
add(method, path5, handler) {
|
87656
87657
|
const results = checkOptionalParameter(path5);
|
87657
87658
|
if (results) {
|
87658
|
-
for (const
|
87659
|
-
this.node.insert(method,
|
87659
|
+
for (const p2 of results) {
|
87660
|
+
this.node.insert(method, p2, handler);
|
87660
87661
|
}
|
87661
87662
|
return;
|
87662
87663
|
}
|
@@ -88679,7 +88680,7 @@ __export(studio_exports, {
|
|
88679
88680
|
prepareServer: () => prepareServer,
|
88680
88681
|
prepareSingleStoreSchema: () => prepareSingleStoreSchema
|
88681
88682
|
});
|
88682
|
-
var import_crypto9, import_drizzle_orm10, import_mysql_core3, import_pg_core3, import_singlestore_core3, import_sqlite_core3, import_fs12, import_node_https2, preparePgSchema, prepareMySqlSchema, prepareSQLiteSchema, prepareSingleStoreSchema, getCustomDefaults, drizzleForPostgres, drizzleForMySQL, drizzleForSQLite, drizzleForLibSQL, drizzleForSingleStore, extractRelations, init, proxySchema, defaultsSchema, schema5, jsonStringify, prepareServer;
|
88683
|
+
var import_crypto9, import_drizzle_orm10, import_relations2, import_mysql_core3, import_pg_core3, import_singlestore_core3, import_sqlite_core3, import_fs12, import_node_https2, preparePgSchema, prepareMySqlSchema, prepareSQLiteSchema, prepareSingleStoreSchema, getCustomDefaults, drizzleForPostgres, drizzleForMySQL, drizzleForSQLite, drizzleForLibSQL, drizzleForSingleStore, extractRelations, init, proxySchema, defaultsSchema, schema5, jsonStringify, prepareServer;
|
88683
88684
|
var init_studio2 = __esm({
|
88684
88685
|
"src/serializer/studio.ts"() {
|
88685
88686
|
"use strict";
|
@@ -88687,6 +88688,7 @@ var init_studio2 = __esm({
|
|
88687
88688
|
init_esm();
|
88688
88689
|
import_crypto9 = require("crypto");
|
88689
88690
|
import_drizzle_orm10 = require("drizzle-orm");
|
88691
|
+
import_relations2 = require("drizzle-orm/_relations");
|
88690
88692
|
import_mysql_core3 = require("drizzle-orm/mysql-core");
|
88691
88693
|
import_pg_core3 = require("drizzle-orm/pg-core");
|
88692
88694
|
import_singlestore_core3 = require("drizzle-orm/singlestore-core");
|
@@ -88721,7 +88723,7 @@ var init_studio2 = __esm({
|
|
88721
88723
|
pgSchema2[schema6] = pgSchema2[schema6] || {};
|
88722
88724
|
pgSchema2[schema6][k] = t2;
|
88723
88725
|
}
|
88724
|
-
if ((0, import_drizzle_orm10.is)(t2,
|
88726
|
+
if ((0, import_drizzle_orm10.is)(t2, import_relations2.Relations)) {
|
88725
88727
|
relations4[k] = t2;
|
88726
88728
|
}
|
88727
88729
|
});
|
@@ -88750,7 +88752,7 @@ var init_studio2 = __esm({
|
|
88750
88752
|
const schema6 = (0, import_mysql_core3.getTableConfig)(t2).schema || "public";
|
88751
88753
|
mysqlSchema3[schema6][k] = t2;
|
88752
88754
|
}
|
88753
|
-
if ((0, import_drizzle_orm10.is)(t2,
|
88755
|
+
if ((0, import_drizzle_orm10.is)(t2, import_relations2.Relations)) {
|
88754
88756
|
relations4[k] = t2;
|
88755
88757
|
}
|
88756
88758
|
});
|
@@ -88779,7 +88781,7 @@ var init_studio2 = __esm({
|
|
88779
88781
|
const schema6 = "public";
|
88780
88782
|
sqliteSchema2[schema6][k] = t2;
|
88781
88783
|
}
|
88782
|
-
if ((0, import_drizzle_orm10.is)(t2,
|
88784
|
+
if ((0, import_drizzle_orm10.is)(t2, import_relations2.Relations)) {
|
88783
88785
|
relations4[k] = t2;
|
88784
88786
|
}
|
88785
88787
|
});
|
@@ -88808,7 +88810,7 @@ var init_studio2 = __esm({
|
|
88808
88810
|
const schema6 = (0, import_singlestore_core3.getTableConfig)(t2).schema || "public";
|
88809
88811
|
singlestoreSchema3[schema6][k] = t2;
|
88810
88812
|
}
|
88811
|
-
if ((0, import_drizzle_orm10.is)(t2,
|
88813
|
+
if ((0, import_drizzle_orm10.is)(t2, import_relations2.Relations)) {
|
88812
88814
|
relations4[k] = t2;
|
88813
88815
|
}
|
88814
88816
|
});
|
@@ -88964,7 +88966,7 @@ var init_studio2 = __esm({
|
|
88964
88966
|
extractRelations = (tablesConfig) => {
|
88965
88967
|
const relations4 = Object.values(tablesConfig.tables).map(
|
88966
88968
|
(it) => Object.entries(it.relations).map(([name, relation]) => {
|
88967
|
-
const normalized = (0,
|
88969
|
+
const normalized = (0, import_relations2.normalizeRelation)(
|
88968
88970
|
tablesConfig.tables,
|
88969
88971
|
tablesConfig.tableNamesMap,
|
88970
88972
|
relation
|
@@ -88987,9 +88989,9 @@ var init_studio2 = __esm({
|
|
88987
88989
|
throw new Error("unsupported dialect");
|
88988
88990
|
}
|
88989
88991
|
let type;
|
88990
|
-
if ((0, import_drizzle_orm10.is)(rel,
|
88992
|
+
if ((0, import_drizzle_orm10.is)(rel, import_relations2.One)) {
|
88991
88993
|
type = "one";
|
88992
|
-
} else if ((0, import_drizzle_orm10.is)(rel,
|
88994
|
+
} else if ((0, import_drizzle_orm10.is)(rel, import_relations2.Many)) {
|
88993
88995
|
type = "many";
|
88994
88996
|
} else {
|
88995
88997
|
throw new Error("unsupported relation type");
|
@@ -89094,9 +89096,9 @@ var init_studio2 = __esm({
|
|
89094
89096
|
),
|
89095
89097
|
...relations4
|
89096
89098
|
};
|
89097
|
-
const relationsConfig = (0,
|
89099
|
+
const relationsConfig = (0, import_relations2.extractTablesRelationalConfig)(
|
89098
89100
|
relationalSchema,
|
89099
|
-
|
89101
|
+
import_relations2.createTableRelationsHelpers
|
89100
89102
|
);
|
89101
89103
|
app.post("/", zValidator("json", schema5), async (c) => {
|
89102
89104
|
const body = c.req.valid("json");
|
@@ -89688,7 +89690,7 @@ ${desc}`);
|
|
89688
89690
|
console.log("\nUsage:");
|
89689
89691
|
if (command3.handler) {
|
89690
89692
|
console.log(
|
89691
|
-
` ${cliName ? cliName + " " : ""}${commandName}${positionals.length ? " " + positionals.map(({ config:
|
89693
|
+
` ${cliName ? cliName + " " : ""}${commandName}${positionals.length ? " " + positionals.map(({ config: p2 }) => getOptionTypeText(p2)).join(" ") : ""} [flags]`
|
89692
89694
|
);
|
89693
89695
|
} else
|
89694
89696
|
console.log(` ${cliName ? cliName + " " : ""}${commandName} [command]`);
|
@@ -89700,7 +89702,7 @@ Aliases:`);
|
|
89700
89702
|
if (subcommands) {
|
89701
89703
|
console.log("\nAvailable Commands:");
|
89702
89704
|
const padding = 3;
|
89703
|
-
const maxLength = subcommands.reduce((
|
89705
|
+
const maxLength = subcommands.reduce((p2, e2) => e2.name.length > p2 ? e2.name.length : p2, 0);
|
89704
89706
|
const paddedLength = maxLength + padding;
|
89705
89707
|
const preDescPad = 2 + paddedLength;
|
89706
89708
|
const data = subcommands.map(
|
@@ -89717,15 +89719,15 @@ Aliases:`);
|
|
89717
89719
|
console.log(data);
|
89718
89720
|
}
|
89719
89721
|
if (options.length) {
|
89720
|
-
const aliasLength = options.reduce((
|
89722
|
+
const aliasLength = options.reduce((p2, e2) => {
|
89721
89723
|
const currentLength = e2.config.aliases.reduce((pa, a) => pa + a.length, 0) + (e2.config.aliases.length - 1) * 2 + 1;
|
89722
|
-
return currentLength >
|
89724
|
+
return currentLength > p2 ? currentLength : p2;
|
89723
89725
|
}, 0);
|
89724
89726
|
const paddedAliasLength = aliasLength > 0 ? aliasLength + 1 : 0;
|
89725
|
-
const nameLength = options.reduce((
|
89727
|
+
const nameLength = options.reduce((p2, e2) => {
|
89726
89728
|
const typeLen = getOptionTypeText(e2.config).length;
|
89727
89729
|
const length = typeLen > 0 ? e2.config.name.length + 1 + typeLen : e2.config.name.length;
|
89728
|
-
return length >
|
89730
|
+
return length > p2 ? length : p2;
|
89729
89731
|
}, 0) + 3;
|
89730
89732
|
const preDescPad = paddedAliasLength + nameLength + 2;
|
89731
89733
|
const data = options.map(
|
@@ -89772,7 +89774,7 @@ Use "${cliName ? cliName + " " : ""}${commandName} [command] --help" for more in
|
|
89772
89774
|
if (commands.length) {
|
89773
89775
|
console.log("\nAvailable Commands:");
|
89774
89776
|
const padding = 3;
|
89775
|
-
const maxLength = commands.reduce((
|
89777
|
+
const maxLength = commands.reduce((p2, e2) => e2.name.length > p2 ? e2.name.length : p2, 0);
|
89776
89778
|
const paddedLength = maxLength + padding;
|
89777
89779
|
const data = commands.map(
|
89778
89780
|
(c) => ` ${c.name.padEnd(paddedLength)}${(() => {
|
@@ -91079,7 +91081,7 @@ function getStore() {
|
|
91079
91081
|
}
|
91080
91082
|
var $ = new Proxy(function(pieces, ...args) {
|
91081
91083
|
const from = new Error().stack.split(/^\s*at\s/m)[2].trim();
|
91082
|
-
if (pieces.some((
|
91084
|
+
if (pieces.some((p2) => p2 == void 0)) {
|
91083
91085
|
throw new Error(`Malformed command at ${from}`);
|
91084
91086
|
}
|
91085
91087
|
let resolve2, reject;
|
@@ -91227,7 +91229,7 @@ var ProcessPromise = class _ProcessPromise extends Promise {
|
|
91227
91229
|
return this.child.stderr;
|
91228
91230
|
}
|
91229
91231
|
get exitCode() {
|
91230
|
-
return this.then((
|
91232
|
+
return this.then((p2) => p2.exitCode, (p2) => p2.exitCode);
|
91231
91233
|
}
|
91232
91234
|
then(onfulfilled, onrejected) {
|
91233
91235
|
if (this.isHalted && !this.child) {
|
@@ -91267,9 +91269,9 @@ var ProcessPromise = class _ProcessPromise extends Promise {
|
|
91267
91269
|
if (!this.child.pid)
|
91268
91270
|
throw new Error("The process pid is undefined.");
|
91269
91271
|
let children = await psTree(this.child.pid);
|
91270
|
-
for (const
|
91272
|
+
for (const p2 of children) {
|
91271
91273
|
try {
|
91272
|
-
process.kill(+
|
91274
|
+
process.kill(+p2.PID, signal);
|
91273
91275
|
} catch (e2) {
|
91274
91276
|
}
|
91275
91277
|
}
|
@@ -91666,17 +91668,17 @@ var globby2 = Object.assign(function globby3(patterns, options) {
|
|
91666
91668
|
}, globby_exports);
|
91667
91669
|
|
91668
91670
|
// src/utils/certs.ts
|
91671
|
+
var p = envPaths("drizzle-studio", {
|
91672
|
+
suffix: ""
|
91673
|
+
});
|
91674
|
+
$.verbose = false;
|
91675
|
+
$.cwd = p.data;
|
91676
|
+
(0, import_fs2.mkdirSync)(p.data, { recursive: true });
|
91669
91677
|
var certs = async () => {
|
91670
91678
|
const res = await $`mkcert --help`.nothrow();
|
91679
|
+
const keyPath = (0, import_path2.join)(p.data, "localhost-key.pem");
|
91680
|
+
const certPath = (0, import_path2.join)(p.data, "localhost.pem");
|
91671
91681
|
if (res.exitCode === 0) {
|
91672
|
-
const p = envPaths("drizzle-studio", {
|
91673
|
-
suffix: ""
|
91674
|
-
});
|
91675
|
-
$.verbose = false;
|
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
91682
|
try {
|
91681
91683
|
await Promise.all([(0, import_promises.access)(keyPath), (0, import_promises.access)(certPath)]);
|
91682
91684
|
} catch (e2) {
|
@@ -91690,6 +91692,7 @@ var certs = async () => {
|
|
91690
91692
|
}
|
91691
91693
|
return null;
|
91692
91694
|
};
|
91695
|
+
certs();
|
91693
91696
|
|
91694
91697
|
// src/cli/commands/check.ts
|
91695
91698
|
init_utils2();
|
@@ -92608,7 +92611,7 @@ init_utils5();
|
|
92608
92611
|
var version2 = async () => {
|
92609
92612
|
const { npmVersion } = await ormCoreVersions();
|
92610
92613
|
const ormVersion = npmVersion ? `drizzle-orm: v${npmVersion}` : "";
|
92611
|
-
const envVersion = "0.30.1-
|
92614
|
+
const envVersion = "0.30.1-2c70592";
|
92612
92615
|
const kitVersion = envVersion ? `v${envVersion}` : "--";
|
92613
92616
|
const versions = `drizzle-kit: ${kitVersion}
|
92614
92617
|
${ormVersion}`;
|