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