drizzle-kit 0.25.0-178591 → 0.25.0-5a1c5d3
Sign up to get free protection for your applications and to get access to all the features.
- package/api.js +434 -337
- package/api.mjs +433 -336
- package/bin.cjs +37 -37
- package/package.json +1 -1
package/api.mjs
CHANGED
@@ -1061,8 +1061,8 @@ var require_minimatch = __commonJS({
|
|
1061
1061
|
return new Minimatch2(pattern, options).match(p7);
|
1062
1062
|
};
|
1063
1063
|
module.exports = minimatch2;
|
1064
|
-
var
|
1065
|
-
minimatch2.sep =
|
1064
|
+
var path2 = require_path();
|
1065
|
+
minimatch2.sep = path2.sep;
|
1066
1066
|
var GLOBSTAR2 = Symbol("globstar **");
|
1067
1067
|
minimatch2.GLOBSTAR = GLOBSTAR2;
|
1068
1068
|
var expand2 = require_brace_expansion();
|
@@ -1567,8 +1567,8 @@ var require_minimatch = __commonJS({
|
|
1567
1567
|
if (this.empty) return f5 === "";
|
1568
1568
|
if (f5 === "/" && partial) return true;
|
1569
1569
|
const options = this.options;
|
1570
|
-
if (
|
1571
|
-
f5 = f5.split(
|
1570
|
+
if (path2.sep !== "/") {
|
1571
|
+
f5 = f5.split(path2.sep).join("/");
|
1572
1572
|
}
|
1573
1573
|
f5 = f5.split(slashSplit);
|
1574
1574
|
this.debug(this.pattern, "split", f5);
|
@@ -1665,7 +1665,7 @@ var require_common = __commonJS({
|
|
1665
1665
|
return Object.prototype.hasOwnProperty.call(obj, field);
|
1666
1666
|
}
|
1667
1667
|
var fs5 = __require("fs");
|
1668
|
-
var
|
1668
|
+
var path2 = __require("path");
|
1669
1669
|
var minimatch2 = require_minimatch();
|
1670
1670
|
var isAbsolute = __require("path").isAbsolute;
|
1671
1671
|
var Minimatch2 = minimatch2.Minimatch;
|
@@ -1732,13 +1732,13 @@ var require_common = __commonJS({
|
|
1732
1732
|
self2.changedCwd = false;
|
1733
1733
|
var cwd = process.cwd();
|
1734
1734
|
if (!ownProp(options, "cwd"))
|
1735
|
-
self2.cwd =
|
1735
|
+
self2.cwd = path2.resolve(cwd);
|
1736
1736
|
else {
|
1737
|
-
self2.cwd =
|
1737
|
+
self2.cwd = path2.resolve(options.cwd);
|
1738
1738
|
self2.changedCwd = self2.cwd !== cwd;
|
1739
1739
|
}
|
1740
|
-
self2.root = options.root ||
|
1741
|
-
self2.root =
|
1740
|
+
self2.root = options.root || path2.resolve(self2.cwd, "/");
|
1741
|
+
self2.root = path2.resolve(self2.root);
|
1742
1742
|
self2.cwdAbs = isAbsolute(self2.cwd) ? self2.cwd : makeAbs(self2, self2.cwd);
|
1743
1743
|
self2.nomount = !!options.nomount;
|
1744
1744
|
if (process.platform === "win32") {
|
@@ -1820,30 +1820,30 @@ var require_common = __commonJS({
|
|
1820
1820
|
function makeAbs(self2, f5) {
|
1821
1821
|
var abs = f5;
|
1822
1822
|
if (f5.charAt(0) === "/") {
|
1823
|
-
abs =
|
1823
|
+
abs = path2.join(self2.root, f5);
|
1824
1824
|
} else if (isAbsolute(f5) || f5 === "") {
|
1825
1825
|
abs = f5;
|
1826
1826
|
} else if (self2.changedCwd) {
|
1827
|
-
abs =
|
1827
|
+
abs = path2.resolve(self2.cwd, f5);
|
1828
1828
|
} else {
|
1829
|
-
abs =
|
1829
|
+
abs = path2.resolve(f5);
|
1830
1830
|
}
|
1831
1831
|
if (process.platform === "win32")
|
1832
1832
|
abs = abs.replace(/\\/g, "/");
|
1833
1833
|
return abs;
|
1834
1834
|
}
|
1835
|
-
function isIgnored(self2,
|
1835
|
+
function isIgnored(self2, path3) {
|
1836
1836
|
if (!self2.ignore.length)
|
1837
1837
|
return false;
|
1838
1838
|
return self2.ignore.some(function(item) {
|
1839
|
-
return item.matcher.match(
|
1839
|
+
return item.matcher.match(path3) || !!(item.gmatcher && item.gmatcher.match(path3));
|
1840
1840
|
});
|
1841
1841
|
}
|
1842
|
-
function childrenIgnored(self2,
|
1842
|
+
function childrenIgnored(self2, path3) {
|
1843
1843
|
if (!self2.ignore.length)
|
1844
1844
|
return false;
|
1845
1845
|
return self2.ignore.some(function(item) {
|
1846
|
-
return !!(item.gmatcher && item.gmatcher.match(
|
1846
|
+
return !!(item.gmatcher && item.gmatcher.match(path3));
|
1847
1847
|
});
|
1848
1848
|
}
|
1849
1849
|
}
|
@@ -1860,7 +1860,7 @@ var require_sync = __commonJS({
|
|
1860
1860
|
var Minimatch2 = minimatch2.Minimatch;
|
1861
1861
|
var Glob = require_glob().Glob;
|
1862
1862
|
var util2 = __require("util");
|
1863
|
-
var
|
1863
|
+
var path2 = __require("path");
|
1864
1864
|
var assert = __require("assert");
|
1865
1865
|
var isAbsolute = __require("path").isAbsolute;
|
1866
1866
|
var common = require_common();
|
@@ -1988,7 +1988,7 @@ var require_sync = __commonJS({
|
|
1988
1988
|
e5 = prefix2 + e5;
|
1989
1989
|
}
|
1990
1990
|
if (e5.charAt(0) === "/" && !this.nomount) {
|
1991
|
-
e5 =
|
1991
|
+
e5 = path2.join(this.root, e5);
|
1992
1992
|
}
|
1993
1993
|
this._emitMatch(index4, e5);
|
1994
1994
|
}
|
@@ -2137,9 +2137,9 @@ var require_sync = __commonJS({
|
|
2137
2137
|
if (prefix2 && isAbsolute(prefix2) && !this.nomount) {
|
2138
2138
|
var trail = /[\/\\]$/.test(prefix2);
|
2139
2139
|
if (prefix2.charAt(0) === "/") {
|
2140
|
-
prefix2 =
|
2140
|
+
prefix2 = path2.join(this.root, prefix2);
|
2141
2141
|
} else {
|
2142
|
-
prefix2 =
|
2142
|
+
prefix2 = path2.resolve(this.root, prefix2);
|
2143
2143
|
if (trail)
|
2144
2144
|
prefix2 += "/";
|
2145
2145
|
}
|
@@ -2335,7 +2335,7 @@ var require_glob = __commonJS({
|
|
2335
2335
|
var Minimatch2 = minimatch2.Minimatch;
|
2336
2336
|
var inherits = require_inherits();
|
2337
2337
|
var EE = __require("events").EventEmitter;
|
2338
|
-
var
|
2338
|
+
var path2 = __require("path");
|
2339
2339
|
var assert = __require("assert");
|
2340
2340
|
var isAbsolute = __require("path").isAbsolute;
|
2341
2341
|
var globSync = require_sync();
|
@@ -2616,7 +2616,7 @@ var require_glob = __commonJS({
|
|
2616
2616
|
e5 = prefix2 + e5;
|
2617
2617
|
}
|
2618
2618
|
if (e5.charAt(0) === "/" && !this.nomount) {
|
2619
|
-
e5 =
|
2619
|
+
e5 = path2.join(this.root, e5);
|
2620
2620
|
}
|
2621
2621
|
this._emitMatch(index4, e5);
|
2622
2622
|
}
|
@@ -2803,9 +2803,9 @@ var require_glob = __commonJS({
|
|
2803
2803
|
if (prefix2 && isAbsolute(prefix2) && !this.nomount) {
|
2804
2804
|
var trail = /[\/\\]$/.test(prefix2);
|
2805
2805
|
if (prefix2.charAt(0) === "/") {
|
2806
|
-
prefix2 =
|
2806
|
+
prefix2 = path2.join(this.root, prefix2);
|
2807
2807
|
} else {
|
2808
|
-
prefix2 =
|
2808
|
+
prefix2 = path2.resolve(this.root, prefix2);
|
2809
2809
|
if (trail)
|
2810
2810
|
prefix2 += "/";
|
2811
2811
|
}
|
@@ -3957,8 +3957,8 @@ var init_lib = __esm({
|
|
3957
3957
|
};
|
3958
3958
|
overrideErrorMap = errorMap;
|
3959
3959
|
makeIssue = (params) => {
|
3960
|
-
const { data, path:
|
3961
|
-
const fullPath = [...
|
3960
|
+
const { data, path: path2, errorMaps, issueData } = params;
|
3961
|
+
const fullPath = [...path2, ...issueData.path || []];
|
3962
3962
|
const fullIssue = {
|
3963
3963
|
...issueData,
|
3964
3964
|
path: fullPath
|
@@ -4049,11 +4049,11 @@ var init_lib = __esm({
|
|
4049
4049
|
errorUtil2.toString = (message) => typeof message === "string" ? message : message === null || message === void 0 ? void 0 : message.message;
|
4050
4050
|
})(errorUtil || (errorUtil = {}));
|
4051
4051
|
ParseInputLazyPath = class {
|
4052
|
-
constructor(parent, value,
|
4052
|
+
constructor(parent, value, path2, key) {
|
4053
4053
|
this._cachedPath = [];
|
4054
4054
|
this.parent = parent;
|
4055
4055
|
this.data = value;
|
4056
|
-
this._path =
|
4056
|
+
this._path = path2;
|
4057
4057
|
this._key = key;
|
4058
4058
|
}
|
4059
4059
|
get path() {
|
@@ -23253,7 +23253,7 @@ var require_split2 = __commonJS({
|
|
23253
23253
|
var require_helper = __commonJS({
|
23254
23254
|
"../node_modules/.pnpm/pgpass@1.0.5/node_modules/pgpass/lib/helper.js"(exports, module) {
|
23255
23255
|
"use strict";
|
23256
|
-
var
|
23256
|
+
var path2 = __require("path");
|
23257
23257
|
var Stream4 = __require("stream").Stream;
|
23258
23258
|
var split = require_split2();
|
23259
23259
|
var util2 = __require("util");
|
@@ -23292,7 +23292,7 @@ var require_helper = __commonJS({
|
|
23292
23292
|
};
|
23293
23293
|
module.exports.getFileName = function(rawEnv) {
|
23294
23294
|
var env3 = rawEnv || process.env;
|
23295
|
-
var file = env3.PGPASSFILE || (isWin ?
|
23295
|
+
var file = env3.PGPASSFILE || (isWin ? path2.join(env3.APPDATA || "./", "postgresql", "pgpass.conf") : path2.join(env3.HOME || "./", ".pgpass"));
|
23296
23296
|
return file;
|
23297
23297
|
};
|
23298
23298
|
module.exports.usePgPass = function(stats, fname) {
|
@@ -23424,7 +23424,7 @@ var require_helper = __commonJS({
|
|
23424
23424
|
var require_lib2 = __commonJS({
|
23425
23425
|
"../node_modules/.pnpm/pgpass@1.0.5/node_modules/pgpass/lib/index.js"(exports, module) {
|
23426
23426
|
"use strict";
|
23427
|
-
var
|
23427
|
+
var path2 = __require("path");
|
23428
23428
|
var fs5 = __require("fs");
|
23429
23429
|
var helper = require_helper();
|
23430
23430
|
module.exports = function(connInfo, cb) {
|
@@ -24813,7 +24813,7 @@ var init_query_promise = __esm({
|
|
24813
24813
|
function mapResultRow(columns, row, joinsNotNullableMap) {
|
24814
24814
|
const nullifyMap = {};
|
24815
24815
|
const result = columns.reduce(
|
24816
|
-
(result2, { path:
|
24816
|
+
(result2, { path: path2, field }, columnIndex) => {
|
24817
24817
|
let decoder2;
|
24818
24818
|
if (is(field, Column2)) {
|
24819
24819
|
decoder2 = field;
|
@@ -24823,8 +24823,8 @@ function mapResultRow(columns, row, joinsNotNullableMap) {
|
|
24823
24823
|
decoder2 = field.sql.decoder;
|
24824
24824
|
}
|
24825
24825
|
let node = result2;
|
24826
|
-
for (const [pathChunkIndex, pathChunk] of
|
24827
|
-
if (pathChunkIndex <
|
24826
|
+
for (const [pathChunkIndex, pathChunk] of path2.entries()) {
|
24827
|
+
if (pathChunkIndex < path2.length - 1) {
|
24828
24828
|
if (!(pathChunk in node)) {
|
24829
24829
|
node[pathChunk] = {};
|
24830
24830
|
}
|
@@ -24832,8 +24832,8 @@ function mapResultRow(columns, row, joinsNotNullableMap) {
|
|
24832
24832
|
} else {
|
24833
24833
|
const rawValue = row[columnIndex];
|
24834
24834
|
const value = node[pathChunk] = rawValue === null ? null : decoder2.mapFromDriverValue(rawValue);
|
24835
|
-
if (joinsNotNullableMap && is(field, Column2) &&
|
24836
|
-
const objectName =
|
24835
|
+
if (joinsNotNullableMap && is(field, Column2) && path2.length === 2) {
|
24836
|
+
const objectName = path2[0];
|
24837
24837
|
if (!(objectName in nullifyMap)) {
|
24838
24838
|
nullifyMap[objectName] = value === null ? getTableName(field.table) : false;
|
24839
24839
|
} else if (typeof nullifyMap[objectName] === "string" && nullifyMap[objectName] !== getTableName(field.table)) {
|
@@ -29449,6 +29449,7 @@ var init_db = __esm({
|
|
29449
29449
|
init_entity();
|
29450
29450
|
init_query_builders();
|
29451
29451
|
init_selection_proxy();
|
29452
|
+
init_sql();
|
29452
29453
|
init_subquery();
|
29453
29454
|
init_count();
|
29454
29455
|
init_query();
|
@@ -29703,8 +29704,8 @@ var init_db = __esm({
|
|
29703
29704
|
return new PgRefreshMaterializedView(view, this.session, this.dialect);
|
29704
29705
|
}
|
29705
29706
|
execute(query) {
|
29706
|
-
const
|
29707
|
-
const builtQuery = this.dialect.sqlToQuery(
|
29707
|
+
const sequel = typeof query === "string" ? sql.raw(query) : query.getSQL();
|
29708
|
+
const builtQuery = this.dialect.sqlToQuery(sequel);
|
29708
29709
|
const prepared = this.session.prepareQuery(
|
29709
29710
|
builtQuery,
|
29710
29711
|
void 0,
|
@@ -29713,7 +29714,7 @@ var init_db = __esm({
|
|
29713
29714
|
);
|
29714
29715
|
return new PgRaw(
|
29715
29716
|
() => prepared.execute(),
|
29716
|
-
|
29717
|
+
sequel,
|
29717
29718
|
builtQuery,
|
29718
29719
|
(result) => prepared.mapResult(result, true)
|
29719
29720
|
);
|
@@ -30562,7 +30563,9 @@ function drizzle(client, config = {}) {
|
|
30562
30563
|
}
|
30563
30564
|
const driver2 = new NodePgDriver(client, dialect7, { logger: logger2 });
|
30564
30565
|
const session = driver2.createSession(schema4);
|
30565
|
-
|
30566
|
+
const db2 = new NodePgDatabase(dialect7, session, schema4);
|
30567
|
+
db2.$client = client;
|
30568
|
+
return db2;
|
30566
30569
|
}
|
30567
30570
|
var import_pg2, types, _a162, NodePgDriver, _a163, _b117, NodePgDatabase;
|
30568
30571
|
var init_driver = __esm({
|
@@ -31652,18 +31655,18 @@ var init_getAttrPathList = __esm({
|
|
31652
31655
|
"../node_modules/.pnpm/@smithy+util-endpoints@2.0.0/node_modules/@smithy/util-endpoints/dist-es/lib/getAttrPathList.js"() {
|
31653
31656
|
"use strict";
|
31654
31657
|
init_types2();
|
31655
|
-
getAttrPathList = (
|
31656
|
-
const parts =
|
31658
|
+
getAttrPathList = (path2) => {
|
31659
|
+
const parts = path2.split(".");
|
31657
31660
|
const pathList = [];
|
31658
31661
|
for (const part of parts) {
|
31659
31662
|
const squareBracketIndex = part.indexOf("[");
|
31660
31663
|
if (squareBracketIndex !== -1) {
|
31661
31664
|
if (part.indexOf("]") !== part.length - 1) {
|
31662
|
-
throw new EndpointError(`Path: '${
|
31665
|
+
throw new EndpointError(`Path: '${path2}' does not end with ']'`);
|
31663
31666
|
}
|
31664
31667
|
const arrayIndex = part.slice(squareBracketIndex + 1, -1);
|
31665
31668
|
if (Number.isNaN(parseInt(arrayIndex))) {
|
31666
|
-
throw new EndpointError(`Invalid array index: '${arrayIndex}' in path: '${
|
31669
|
+
throw new EndpointError(`Invalid array index: '${arrayIndex}' in path: '${path2}'`);
|
31667
31670
|
}
|
31668
31671
|
if (squareBracketIndex !== 0) {
|
31669
31672
|
pathList.push(part.slice(0, squareBracketIndex));
|
@@ -31685,9 +31688,9 @@ var init_getAttr = __esm({
|
|
31685
31688
|
"use strict";
|
31686
31689
|
init_types2();
|
31687
31690
|
init_getAttrPathList();
|
31688
|
-
getAttr = (value,
|
31691
|
+
getAttr = (value, path2) => getAttrPathList(path2).reduce((acc, index4) => {
|
31689
31692
|
if (typeof acc !== "object") {
|
31690
|
-
throw new EndpointError(`Index '${index4}' in '${
|
31693
|
+
throw new EndpointError(`Index '${index4}' in '${path2}' not found in '${JSON.stringify(value)}'`);
|
31691
31694
|
} else if (Array.isArray(acc)) {
|
31692
31695
|
return acc[parseInt(index4)];
|
31693
31696
|
}
|
@@ -31732,8 +31735,8 @@ var init_parseURL = __esm({
|
|
31732
31735
|
return value;
|
31733
31736
|
}
|
31734
31737
|
if (typeof value === "object" && "hostname" in value) {
|
31735
|
-
const { hostname: hostname2, port, protocol: protocol3 = "", path:
|
31736
|
-
const url = new URL(`${protocol3}//${hostname2}${port ? `:${port}` : ""}${
|
31738
|
+
const { hostname: hostname2, port, protocol: protocol3 = "", path: path2 = "", query = {} } = value;
|
31739
|
+
const url = new URL(`${protocol3}//${hostname2}${port ? `:${port}` : ""}${path2}`);
|
31737
31740
|
url.search = Object.entries(query).map(([k6, v8]) => `${k6}=${v8}`).join("&");
|
31738
31741
|
return url;
|
31739
31742
|
}
|
@@ -33189,8 +33192,8 @@ var init_createConfigValueProvider = __esm({
|
|
33189
33192
|
return endpoint.url.href;
|
33190
33193
|
}
|
33191
33194
|
if ("hostname" in endpoint) {
|
33192
|
-
const { protocol: protocol2, hostname, port, path:
|
33193
|
-
return `${protocol2}//${hostname}${port ? ":" + port : ""}${
|
33195
|
+
const { protocol: protocol2, hostname, port, path: path2 } = endpoint;
|
33196
|
+
return `${protocol2}//${hostname}${port ? ":" + port : ""}${path2}`;
|
33194
33197
|
}
|
33195
33198
|
}
|
33196
33199
|
return endpoint;
|
@@ -33562,11 +33565,11 @@ var init_slurpFile = __esm({
|
|
33562
33565
|
"use strict";
|
33563
33566
|
({ readFile: readFile2 } = fsPromises2);
|
33564
33567
|
filePromisesHash = {};
|
33565
|
-
slurpFile = (
|
33566
|
-
if (!filePromisesHash[
|
33567
|
-
filePromisesHash[
|
33568
|
+
slurpFile = (path2, options) => {
|
33569
|
+
if (!filePromisesHash[path2] || options?.ignoreCache) {
|
33570
|
+
filePromisesHash[path2] = readFile2(path2, "utf8");
|
33568
33571
|
}
|
33569
|
-
return filePromisesHash[
|
33572
|
+
return filePromisesHash[path2];
|
33570
33573
|
};
|
33571
33574
|
}
|
33572
33575
|
});
|
@@ -35630,18 +35633,18 @@ var init_node_http_handler = __esm({
|
|
35630
35633
|
const password = request2.password ?? "";
|
35631
35634
|
auth = `${username}:${password}`;
|
35632
35635
|
}
|
35633
|
-
let
|
35636
|
+
let path2 = request2.path;
|
35634
35637
|
if (queryString) {
|
35635
|
-
|
35638
|
+
path2 += `?${queryString}`;
|
35636
35639
|
}
|
35637
35640
|
if (request2.fragment) {
|
35638
|
-
|
35641
|
+
path2 += `#${request2.fragment}`;
|
35639
35642
|
}
|
35640
35643
|
const nodeHttpsOptions = {
|
35641
35644
|
headers: request2.headers,
|
35642
35645
|
host: request2.hostname,
|
35643
35646
|
method: request2.method,
|
35644
|
-
path:
|
35647
|
+
path: path2,
|
35645
35648
|
port: request2.port,
|
35646
35649
|
agent,
|
35647
35650
|
auth
|
@@ -37642,8 +37645,8 @@ var init_requestBuilder = __esm({
|
|
37642
37645
|
return this;
|
37643
37646
|
}
|
37644
37647
|
p(memberName, labelValueProvider, uriLabel, isGreedyLabel) {
|
37645
|
-
this.resolvePathStack.push((
|
37646
|
-
this.path = resolvedPath(
|
37648
|
+
this.resolvePathStack.push((path2) => {
|
37649
|
+
this.path = resolvedPath(path2, this.input, memberName, labelValueProvider, uriLabel, isGreedyLabel);
|
37647
37650
|
});
|
37648
37651
|
return this;
|
37649
37652
|
}
|
@@ -37698,9 +37701,9 @@ var init_createPaginator = __esm({
|
|
37698
37701
|
makePagedClientRequest = async (CommandCtor, client, input, ...args) => {
|
37699
37702
|
return await client.send(new CommandCtor(input), ...args);
|
37700
37703
|
};
|
37701
|
-
get = (fromObject,
|
37704
|
+
get = (fromObject, path2) => {
|
37702
37705
|
let cursor = fromObject;
|
37703
|
-
const pathComponents =
|
37706
|
+
const pathComponents = path2.split(".");
|
37704
37707
|
for (const step of pathComponents) {
|
37705
37708
|
if (!cursor || typeof cursor !== "object") {
|
37706
37709
|
return void 0;
|
@@ -38857,10 +38860,10 @@ ${longDate}
|
|
38857
38860
|
${credentialScope}
|
38858
38861
|
${toHex(hashedRequest)}`;
|
38859
38862
|
}
|
38860
|
-
getCanonicalPath({ path:
|
38863
|
+
getCanonicalPath({ path: path2 }) {
|
38861
38864
|
if (this.uriEscapePath) {
|
38862
38865
|
const normalizedPathSegments = [];
|
38863
|
-
for (const pathSegment of
|
38866
|
+
for (const pathSegment of path2.split("/")) {
|
38864
38867
|
if (pathSegment?.length === 0)
|
38865
38868
|
continue;
|
38866
38869
|
if (pathSegment === ".")
|
@@ -38871,11 +38874,11 @@ ${toHex(hashedRequest)}`;
|
|
38871
38874
|
normalizedPathSegments.push(pathSegment);
|
38872
38875
|
}
|
38873
38876
|
}
|
38874
|
-
const normalizedPath = `${
|
38877
|
+
const normalizedPath = `${path2?.startsWith("/") ? "/" : ""}${normalizedPathSegments.join("/")}${normalizedPathSegments.length > 0 && path2?.endsWith("/") ? "/" : ""}`;
|
38875
38878
|
const doubleEncoded = escapeUri(normalizedPath);
|
38876
38879
|
return doubleEncoded.replace(/%2F/g, "/");
|
38877
38880
|
}
|
38878
|
-
return
|
38881
|
+
return path2;
|
38879
38882
|
}
|
38880
38883
|
async getSignature(longDate, credentialScope, keyPromise, canonicalRequest) {
|
38881
38884
|
const stringToSign = await this.createStringToSign(longDate, credentialScope, canonicalRequest);
|
@@ -41913,7 +41916,7 @@ var init_constants7 = __esm({
|
|
41913
41916
|
}
|
41914
41917
|
});
|
41915
41918
|
|
41916
|
-
// ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.
|
41919
|
+
// ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/auth/httpAuthSchemeProvider.js
|
41917
41920
|
function createAwsAuthSigv4HttpAuthOption2(authParameters) {
|
41918
41921
|
return {
|
41919
41922
|
schemeId: "aws.auth#sigv4",
|
@@ -41936,7 +41939,7 @@ function createSmithyApiNoAuthHttpAuthOption(authParameters) {
|
|
41936
41939
|
}
|
41937
41940
|
var import_core2, defaultSSOOIDCHttpAuthSchemeParametersProvider, defaultSSOOIDCHttpAuthSchemeProvider, resolveHttpAuthSchemeConfig2;
|
41938
41941
|
var init_httpAuthSchemeProvider2 = __esm({
|
41939
|
-
"../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.
|
41942
|
+
"../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/auth/httpAuthSchemeProvider.js"() {
|
41940
41943
|
"use strict";
|
41941
41944
|
import_core2 = __toESM(require_dist_cjs());
|
41942
41945
|
init_dist_es10();
|
@@ -41978,10 +41981,10 @@ var init_httpAuthSchemeProvider2 = __esm({
|
|
41978
41981
|
}
|
41979
41982
|
});
|
41980
41983
|
|
41981
|
-
// ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.
|
41984
|
+
// ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/endpoint/EndpointParameters.js
|
41982
41985
|
var resolveClientEndpointParameters2, commonParams2;
|
41983
41986
|
var init_EndpointParameters2 = __esm({
|
41984
|
-
"../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.
|
41987
|
+
"../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/endpoint/EndpointParameters.js"() {
|
41985
41988
|
"use strict";
|
41986
41989
|
resolveClientEndpointParameters2 = (options) => {
|
41987
41990
|
return {
|
@@ -42000,10 +42003,10 @@ var init_EndpointParameters2 = __esm({
|
|
42000
42003
|
}
|
42001
42004
|
});
|
42002
42005
|
|
42003
|
-
// ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.
|
42006
|
+
// ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/package.json
|
42004
42007
|
var package_default2;
|
42005
42008
|
var init_package2 = __esm({
|
42006
|
-
"../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.
|
42009
|
+
"../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/package.json"() {
|
42007
42010
|
package_default2 = {
|
42008
42011
|
name: "@aws-sdk/client-sso-oidc",
|
42009
42012
|
description: "AWS SDK for JavaScript Sso Oidc Client for Node.js, Browser and React Native",
|
@@ -42256,10 +42259,10 @@ var init_dist_es42 = __esm({
|
|
42256
42259
|
}
|
42257
42260
|
});
|
42258
42261
|
|
42259
|
-
// ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.
|
42262
|
+
// ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/endpoint/ruleset.js
|
42260
42263
|
var u, v, w, x, a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, _data, ruleSet;
|
42261
42264
|
var init_ruleset = __esm({
|
42262
|
-
"../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.
|
42265
|
+
"../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/endpoint/ruleset.js"() {
|
42263
42266
|
"use strict";
|
42264
42267
|
u = "required";
|
42265
42268
|
v = "fn";
|
@@ -42290,10 +42293,10 @@ var init_ruleset = __esm({
|
|
42290
42293
|
}
|
42291
42294
|
});
|
42292
42295
|
|
42293
|
-
// ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.
|
42296
|
+
// ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/endpoint/endpointResolver.js
|
42294
42297
|
var defaultEndpointResolver;
|
42295
42298
|
var init_endpointResolver = __esm({
|
42296
|
-
"../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.
|
42299
|
+
"../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/endpoint/endpointResolver.js"() {
|
42297
42300
|
"use strict";
|
42298
42301
|
init_dist_es7();
|
42299
42302
|
init_dist_es6();
|
@@ -42308,10 +42311,10 @@ var init_endpointResolver = __esm({
|
|
42308
42311
|
}
|
42309
42312
|
});
|
42310
42313
|
|
42311
|
-
// ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.
|
42314
|
+
// ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.shared.js
|
42312
42315
|
var import_core3, getRuntimeConfig;
|
42313
42316
|
var init_runtimeConfig_shared = __esm({
|
42314
|
-
"../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.
|
42317
|
+
"../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.shared.js"() {
|
42315
42318
|
"use strict";
|
42316
42319
|
import_core3 = __toESM(require_dist_cjs());
|
42317
42320
|
init_dist_es34();
|
@@ -42451,10 +42454,10 @@ var init_dist_es43 = __esm({
|
|
42451
42454
|
}
|
42452
42455
|
});
|
42453
42456
|
|
42454
|
-
// ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.
|
42457
|
+
// ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.js
|
42455
42458
|
var import_core5, getRuntimeConfig2;
|
42456
42459
|
var init_runtimeConfig = __esm({
|
42457
|
-
"../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.
|
42460
|
+
"../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.js"() {
|
42458
42461
|
"use strict";
|
42459
42462
|
init_package2();
|
42460
42463
|
import_core5 = __toESM(require_dist_cjs());
|
@@ -42583,10 +42586,10 @@ var init_dist_es44 = __esm({
|
|
42583
42586
|
}
|
42584
42587
|
});
|
42585
42588
|
|
42586
|
-
// ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.
|
42589
|
+
// ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/auth/httpAuthExtensionConfiguration.js
|
42587
42590
|
var getHttpAuthExtensionConfiguration, resolveHttpAuthRuntimeConfig;
|
42588
42591
|
var init_httpAuthExtensionConfiguration = __esm({
|
42589
|
-
"../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.
|
42592
|
+
"../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/auth/httpAuthExtensionConfiguration.js"() {
|
42590
42593
|
"use strict";
|
42591
42594
|
getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
42592
42595
|
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
@@ -42628,10 +42631,10 @@ var init_httpAuthExtensionConfiguration = __esm({
|
|
42628
42631
|
}
|
42629
42632
|
});
|
42630
42633
|
|
42631
|
-
// ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.
|
42634
|
+
// ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeExtensions.js
|
42632
42635
|
var asPartial, resolveRuntimeExtensions;
|
42633
42636
|
var init_runtimeExtensions = __esm({
|
42634
|
-
"../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.
|
42637
|
+
"../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeExtensions.js"() {
|
42635
42638
|
"use strict";
|
42636
42639
|
init_dist_es44();
|
42637
42640
|
init_dist_es2();
|
@@ -42657,10 +42660,10 @@ var init_runtimeExtensions = __esm({
|
|
42657
42660
|
}
|
42658
42661
|
});
|
42659
42662
|
|
42660
|
-
// ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.
|
42663
|
+
// ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/SSOOIDCClient.js
|
42661
42664
|
var SSOOIDCClient;
|
42662
42665
|
var init_SSOOIDCClient = __esm({
|
42663
|
-
"../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.
|
42666
|
+
"../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/SSOOIDCClient.js"() {
|
42664
42667
|
"use strict";
|
42665
42668
|
init_dist_es3();
|
42666
42669
|
init_dist_es4();
|
@@ -42716,10 +42719,10 @@ var init_SSOOIDCClient = __esm({
|
|
42716
42719
|
}
|
42717
42720
|
});
|
42718
42721
|
|
42719
|
-
// ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.
|
42722
|
+
// ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/models/SSOOIDCServiceException.js
|
42720
42723
|
var SSOOIDCServiceException;
|
42721
42724
|
var init_SSOOIDCServiceException = __esm({
|
42722
|
-
"../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.
|
42725
|
+
"../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/models/SSOOIDCServiceException.js"() {
|
42723
42726
|
"use strict";
|
42724
42727
|
init_dist_es32();
|
42725
42728
|
SSOOIDCServiceException = class _SSOOIDCServiceException extends ServiceException {
|
@@ -42731,10 +42734,10 @@ var init_SSOOIDCServiceException = __esm({
|
|
42731
42734
|
}
|
42732
42735
|
});
|
42733
42736
|
|
42734
|
-
// ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.
|
42737
|
+
// ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/models/models_0.js
|
42735
42738
|
var AccessDeniedException, AuthorizationPendingException, ExpiredTokenException, InternalServerException, InvalidClientException, InvalidGrantException, InvalidRequestException, InvalidScopeException, SlowDownException, UnauthorizedClientException, UnsupportedGrantTypeException, InvalidRequestRegionException, InvalidClientMetadataException, InvalidRedirectUriException, CreateTokenRequestFilterSensitiveLog, CreateTokenResponseFilterSensitiveLog, CreateTokenWithIAMRequestFilterSensitiveLog, CreateTokenWithIAMResponseFilterSensitiveLog, RegisterClientResponseFilterSensitiveLog, StartDeviceAuthorizationRequestFilterSensitiveLog;
|
42736
42739
|
var init_models_0 = __esm({
|
42737
|
-
"../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.
|
42740
|
+
"../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/models/models_0.js"() {
|
42738
42741
|
"use strict";
|
42739
42742
|
init_dist_es32();
|
42740
42743
|
init_SSOOIDCServiceException();
|
@@ -42972,10 +42975,10 @@ var init_models_0 = __esm({
|
|
42972
42975
|
}
|
42973
42976
|
});
|
42974
42977
|
|
42975
|
-
// ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.
|
42978
|
+
// ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/protocols/Aws_restJson1.js
|
42976
42979
|
var import_core7, se_CreateTokenCommand, se_CreateTokenWithIAMCommand, se_RegisterClientCommand, se_StartDeviceAuthorizationCommand, de_CreateTokenCommand, de_CreateTokenWithIAMCommand, de_RegisterClientCommand, de_StartDeviceAuthorizationCommand, de_CommandError, throwDefaultError2, de_AccessDeniedExceptionRes, de_AuthorizationPendingExceptionRes, de_ExpiredTokenExceptionRes, de_InternalServerExceptionRes, de_InvalidClientExceptionRes, de_InvalidClientMetadataExceptionRes, de_InvalidGrantExceptionRes, de_InvalidRedirectUriExceptionRes, de_InvalidRequestExceptionRes, de_InvalidRequestRegionExceptionRes, de_InvalidScopeExceptionRes, de_SlowDownExceptionRes, de_UnauthorizedClientExceptionRes, de_UnsupportedGrantTypeExceptionRes, deserializeMetadata2, _ai;
|
42977
42980
|
var init_Aws_restJson1 = __esm({
|
42978
|
-
"../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.
|
42981
|
+
"../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/protocols/Aws_restJson1.js"() {
|
42979
42982
|
"use strict";
|
42980
42983
|
import_core7 = __toESM(require_dist_cjs());
|
42981
42984
|
init_dist_es34();
|
@@ -43406,10 +43409,10 @@ var init_Aws_restJson1 = __esm({
|
|
43406
43409
|
}
|
43407
43410
|
});
|
43408
43411
|
|
43409
|
-
// ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.
|
43412
|
+
// ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/CreateTokenCommand.js
|
43410
43413
|
var CreateTokenCommand;
|
43411
43414
|
var init_CreateTokenCommand = __esm({
|
43412
|
-
"../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.
|
43415
|
+
"../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/CreateTokenCommand.js"() {
|
43413
43416
|
"use strict";
|
43414
43417
|
init_dist_es18();
|
43415
43418
|
init_dist_es17();
|
@@ -43429,10 +43432,10 @@ var init_CreateTokenCommand = __esm({
|
|
43429
43432
|
}
|
43430
43433
|
});
|
43431
43434
|
|
43432
|
-
// ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.
|
43435
|
+
// ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/CreateTokenWithIAMCommand.js
|
43433
43436
|
var CreateTokenWithIAMCommand;
|
43434
43437
|
var init_CreateTokenWithIAMCommand = __esm({
|
43435
|
-
"../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.
|
43438
|
+
"../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/CreateTokenWithIAMCommand.js"() {
|
43436
43439
|
"use strict";
|
43437
43440
|
init_dist_es18();
|
43438
43441
|
init_dist_es17();
|
@@ -43452,10 +43455,10 @@ var init_CreateTokenWithIAMCommand = __esm({
|
|
43452
43455
|
}
|
43453
43456
|
});
|
43454
43457
|
|
43455
|
-
// ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.
|
43458
|
+
// ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/RegisterClientCommand.js
|
43456
43459
|
var RegisterClientCommand;
|
43457
43460
|
var init_RegisterClientCommand = __esm({
|
43458
|
-
"../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.
|
43461
|
+
"../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/RegisterClientCommand.js"() {
|
43459
43462
|
"use strict";
|
43460
43463
|
init_dist_es18();
|
43461
43464
|
init_dist_es17();
|
@@ -43475,10 +43478,10 @@ var init_RegisterClientCommand = __esm({
|
|
43475
43478
|
}
|
43476
43479
|
});
|
43477
43480
|
|
43478
|
-
// ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.
|
43481
|
+
// ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/StartDeviceAuthorizationCommand.js
|
43479
43482
|
var StartDeviceAuthorizationCommand;
|
43480
43483
|
var init_StartDeviceAuthorizationCommand = __esm({
|
43481
|
-
"../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.
|
43484
|
+
"../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/StartDeviceAuthorizationCommand.js"() {
|
43482
43485
|
"use strict";
|
43483
43486
|
init_dist_es18();
|
43484
43487
|
init_dist_es17();
|
@@ -43498,10 +43501,10 @@ var init_StartDeviceAuthorizationCommand = __esm({
|
|
43498
43501
|
}
|
43499
43502
|
});
|
43500
43503
|
|
43501
|
-
// ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.
|
43504
|
+
// ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/SSOOIDC.js
|
43502
43505
|
var commands, SSOOIDC;
|
43503
43506
|
var init_SSOOIDC = __esm({
|
43504
|
-
"../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.
|
43507
|
+
"../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/SSOOIDC.js"() {
|
43505
43508
|
"use strict";
|
43506
43509
|
init_dist_es32();
|
43507
43510
|
init_CreateTokenCommand();
|
@@ -43521,9 +43524,9 @@ var init_SSOOIDC = __esm({
|
|
43521
43524
|
}
|
43522
43525
|
});
|
43523
43526
|
|
43524
|
-
// ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.
|
43527
|
+
// ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/index.js
|
43525
43528
|
var init_commands = __esm({
|
43526
|
-
"../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.
|
43529
|
+
"../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/index.js"() {
|
43527
43530
|
"use strict";
|
43528
43531
|
init_CreateTokenCommand();
|
43529
43532
|
init_CreateTokenWithIAMCommand();
|
@@ -43532,15 +43535,15 @@ var init_commands = __esm({
|
|
43532
43535
|
}
|
43533
43536
|
});
|
43534
43537
|
|
43535
|
-
// ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.
|
43538
|
+
// ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/models/index.js
|
43536
43539
|
var init_models = __esm({
|
43537
|
-
"../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.
|
43540
|
+
"../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/models/index.js"() {
|
43538
43541
|
"use strict";
|
43539
43542
|
init_models_0();
|
43540
43543
|
}
|
43541
43544
|
});
|
43542
43545
|
|
43543
|
-
// ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.
|
43546
|
+
// ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/index.js
|
43544
43547
|
var dist_es_exports8 = {};
|
43545
43548
|
__export(dist_es_exports8, {
|
43546
43549
|
$Command: () => Command,
|
@@ -43574,7 +43577,7 @@ __export(dist_es_exports8, {
|
|
43574
43577
|
__Client: () => Client
|
43575
43578
|
});
|
43576
43579
|
var init_dist_es45 = __esm({
|
43577
|
-
"../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.
|
43580
|
+
"../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/index.js"() {
|
43578
43581
|
"use strict";
|
43579
43582
|
init_SSOOIDCClient();
|
43580
43583
|
init_SSOOIDC();
|
@@ -44949,7 +44952,7 @@ var init_resolveCredentialSource = __esm({
|
|
44949
44952
|
}
|
44950
44953
|
});
|
44951
44954
|
|
44952
|
-
// ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/auth/httpAuthSchemeProvider.js
|
44955
|
+
// ../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-es/auth/httpAuthSchemeProvider.js
|
44953
44956
|
function createAwsAuthSigv4HttpAuthOption4(authParameters) {
|
44954
44957
|
return {
|
44955
44958
|
schemeId: "aws.auth#sigv4",
|
@@ -44972,7 +44975,7 @@ function createSmithyApiNoAuthHttpAuthOption3(authParameters) {
|
|
44972
44975
|
}
|
44973
44976
|
var import_core18, defaultSTSHttpAuthSchemeParametersProvider, defaultSTSHttpAuthSchemeProvider, resolveStsAuthConfig, resolveHttpAuthSchemeConfig4;
|
44974
44977
|
var init_httpAuthSchemeProvider4 = __esm({
|
44975
|
-
"../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/auth/httpAuthSchemeProvider.js"() {
|
44978
|
+
"../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-es/auth/httpAuthSchemeProvider.js"() {
|
44976
44979
|
"use strict";
|
44977
44980
|
import_core18 = __toESM(require_dist_cjs());
|
44978
44981
|
init_dist_es10();
|
@@ -45016,10 +45019,10 @@ var init_httpAuthSchemeProvider4 = __esm({
|
|
45016
45019
|
}
|
45017
45020
|
});
|
45018
45021
|
|
45019
|
-
// ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/endpoint/EndpointParameters.js
|
45022
|
+
// ../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-es/endpoint/EndpointParameters.js
|
45020
45023
|
var resolveClientEndpointParameters4, commonParams4;
|
45021
45024
|
var init_EndpointParameters4 = __esm({
|
45022
|
-
"../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/endpoint/EndpointParameters.js"() {
|
45025
|
+
"../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-es/endpoint/EndpointParameters.js"() {
|
45023
45026
|
"use strict";
|
45024
45027
|
resolveClientEndpointParameters4 = (options) => {
|
45025
45028
|
return {
|
@@ -45040,10 +45043,10 @@ var init_EndpointParameters4 = __esm({
|
|
45040
45043
|
}
|
45041
45044
|
});
|
45042
45045
|
|
45043
|
-
// ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/package.json
|
45046
|
+
// ../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
|
45044
45047
|
var package_default4;
|
45045
45048
|
var init_package4 = __esm({
|
45046
|
-
"../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/package.json"() {
|
45049
|
+
"../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"() {
|
45047
45050
|
package_default4 = {
|
45048
45051
|
name: "@aws-sdk/client-sts",
|
45049
45052
|
description: "AWS SDK for JavaScript Sts Client for Node.js, Browser and React Native",
|
@@ -45149,10 +45152,10 @@ var init_package4 = __esm({
|
|
45149
45152
|
}
|
45150
45153
|
});
|
45151
45154
|
|
45152
|
-
// ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/endpoint/ruleset.js
|
45155
|
+
// ../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-es/endpoint/ruleset.js
|
45153
45156
|
var F, G, H, I, J, a3, b3, c3, d3, e3, f3, g3, h3, i3, j3, k3, l3, m3, n3, o3, p3, q3, r3, s3, t3, u3, v3, w3, x3, y, z, A, B, C, D, E, _data3, ruleSet3;
|
45154
45157
|
var init_ruleset3 = __esm({
|
45155
|
-
"../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/endpoint/ruleset.js"() {
|
45158
|
+
"../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-es/endpoint/ruleset.js"() {
|
45156
45159
|
"use strict";
|
45157
45160
|
F = "required";
|
45158
45161
|
G = "type";
|
@@ -45195,10 +45198,10 @@ var init_ruleset3 = __esm({
|
|
45195
45198
|
}
|
45196
45199
|
});
|
45197
45200
|
|
45198
|
-
// ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/endpoint/endpointResolver.js
|
45201
|
+
// ../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-es/endpoint/endpointResolver.js
|
45199
45202
|
var defaultEndpointResolver3;
|
45200
45203
|
var init_endpointResolver3 = __esm({
|
45201
|
-
"../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/endpoint/endpointResolver.js"() {
|
45204
|
+
"../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-es/endpoint/endpointResolver.js"() {
|
45202
45205
|
"use strict";
|
45203
45206
|
init_dist_es7();
|
45204
45207
|
init_dist_es6();
|
@@ -45213,10 +45216,10 @@ var init_endpointResolver3 = __esm({
|
|
45213
45216
|
}
|
45214
45217
|
});
|
45215
45218
|
|
45216
|
-
// ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.shared.js
|
45219
|
+
// ../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-es/runtimeConfig.shared.js
|
45217
45220
|
var import_core19, getRuntimeConfig5;
|
45218
45221
|
var init_runtimeConfig_shared3 = __esm({
|
45219
|
-
"../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.shared.js"() {
|
45222
|
+
"../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-es/runtimeConfig.shared.js"() {
|
45220
45223
|
"use strict";
|
45221
45224
|
import_core19 = __toESM(require_dist_cjs());
|
45222
45225
|
init_dist_es34();
|
@@ -45257,10 +45260,10 @@ var init_runtimeConfig_shared3 = __esm({
|
|
45257
45260
|
}
|
45258
45261
|
});
|
45259
45262
|
|
45260
|
-
// ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.js
|
45263
|
+
// ../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-es/runtimeConfig.js
|
45261
45264
|
var import_core21, getRuntimeConfig6;
|
45262
45265
|
var init_runtimeConfig3 = __esm({
|
45263
|
-
"../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.js"() {
|
45266
|
+
"../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-es/runtimeConfig.js"() {
|
45264
45267
|
"use strict";
|
45265
45268
|
init_package4();
|
45266
45269
|
import_core21 = __toESM(require_dist_cjs());
|
@@ -45320,10 +45323,10 @@ var init_runtimeConfig3 = __esm({
|
|
45320
45323
|
}
|
45321
45324
|
});
|
45322
45325
|
|
45323
|
-
// ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/auth/httpAuthExtensionConfiguration.js
|
45326
|
+
// ../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-es/auth/httpAuthExtensionConfiguration.js
|
45324
45327
|
var getHttpAuthExtensionConfiguration3, resolveHttpAuthRuntimeConfig3;
|
45325
45328
|
var init_httpAuthExtensionConfiguration3 = __esm({
|
45326
|
-
"../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/auth/httpAuthExtensionConfiguration.js"() {
|
45329
|
+
"../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-es/auth/httpAuthExtensionConfiguration.js"() {
|
45327
45330
|
"use strict";
|
45328
45331
|
getHttpAuthExtensionConfiguration3 = (runtimeConfig) => {
|
45329
45332
|
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
@@ -45365,10 +45368,10 @@ var init_httpAuthExtensionConfiguration3 = __esm({
|
|
45365
45368
|
}
|
45366
45369
|
});
|
45367
45370
|
|
45368
|
-
// ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/runtimeExtensions.js
|
45371
|
+
// ../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-es/runtimeExtensions.js
|
45369
45372
|
var asPartial3, resolveRuntimeExtensions3;
|
45370
45373
|
var init_runtimeExtensions3 = __esm({
|
45371
|
-
"../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/runtimeExtensions.js"() {
|
45374
|
+
"../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-es/runtimeExtensions.js"() {
|
45372
45375
|
"use strict";
|
45373
45376
|
init_dist_es44();
|
45374
45377
|
init_dist_es2();
|
@@ -45394,10 +45397,10 @@ var init_runtimeExtensions3 = __esm({
|
|
45394
45397
|
}
|
45395
45398
|
});
|
45396
45399
|
|
45397
|
-
// ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/STSClient.js
|
45400
|
+
// ../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-es/STSClient.js
|
45398
45401
|
var STSClient;
|
45399
45402
|
var init_STSClient = __esm({
|
45400
|
-
"../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/STSClient.js"() {
|
45403
|
+
"../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-es/STSClient.js"() {
|
45401
45404
|
"use strict";
|
45402
45405
|
init_dist_es3();
|
45403
45406
|
init_dist_es4();
|
@@ -45453,10 +45456,10 @@ var init_STSClient = __esm({
|
|
45453
45456
|
}
|
45454
45457
|
});
|
45455
45458
|
|
45456
|
-
// ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/models/STSServiceException.js
|
45459
|
+
// ../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-es/models/STSServiceException.js
|
45457
45460
|
var STSServiceException;
|
45458
45461
|
var init_STSServiceException = __esm({
|
45459
|
-
"../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/models/STSServiceException.js"() {
|
45462
|
+
"../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-es/models/STSServiceException.js"() {
|
45460
45463
|
"use strict";
|
45461
45464
|
init_dist_es32();
|
45462
45465
|
STSServiceException = class _STSServiceException extends ServiceException {
|
@@ -45468,10 +45471,10 @@ var init_STSServiceException = __esm({
|
|
45468
45471
|
}
|
45469
45472
|
});
|
45470
45473
|
|
45471
|
-
// ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/models/models_0.js
|
45474
|
+
// ../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-es/models/models_0.js
|
45472
45475
|
var ExpiredTokenException2, MalformedPolicyDocumentException, PackedPolicyTooLargeException, RegionDisabledException, IDPRejectedClaimException, InvalidIdentityTokenException, IDPCommunicationErrorException, InvalidAuthorizationMessageException, CredentialsFilterSensitiveLog, AssumeRoleResponseFilterSensitiveLog, AssumeRoleWithSAMLRequestFilterSensitiveLog, AssumeRoleWithSAMLResponseFilterSensitiveLog, AssumeRoleWithWebIdentityRequestFilterSensitiveLog, AssumeRoleWithWebIdentityResponseFilterSensitiveLog, GetFederationTokenResponseFilterSensitiveLog, GetSessionTokenResponseFilterSensitiveLog;
|
45473
45476
|
var init_models_03 = __esm({
|
45474
|
-
"../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/models/models_0.js"() {
|
45477
|
+
"../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-es/models/models_0.js"() {
|
45475
45478
|
"use strict";
|
45476
45479
|
init_dist_es32();
|
45477
45480
|
init_STSServiceException();
|
@@ -45606,10 +45609,10 @@ var init_models_03 = __esm({
|
|
45606
45609
|
}
|
45607
45610
|
});
|
45608
45611
|
|
45609
|
-
// ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/protocols/Aws_query.js
|
45612
|
+
// ../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-es/protocols/Aws_query.js
|
45610
45613
|
var import_core24, se_AssumeRoleCommand, se_AssumeRoleWithSAMLCommand, se_AssumeRoleWithWebIdentityCommand, se_DecodeAuthorizationMessageCommand, se_GetAccessKeyInfoCommand, se_GetCallerIdentityCommand, se_GetFederationTokenCommand, se_GetSessionTokenCommand, de_AssumeRoleCommand, de_AssumeRoleWithSAMLCommand, de_AssumeRoleWithWebIdentityCommand, de_DecodeAuthorizationMessageCommand, de_GetAccessKeyInfoCommand, de_GetCallerIdentityCommand, de_GetFederationTokenCommand, de_GetSessionTokenCommand, de_CommandError3, de_ExpiredTokenExceptionRes2, de_IDPCommunicationErrorExceptionRes, de_IDPRejectedClaimExceptionRes, de_InvalidAuthorizationMessageExceptionRes, de_InvalidIdentityTokenExceptionRes, de_MalformedPolicyDocumentExceptionRes, de_PackedPolicyTooLargeExceptionRes, de_RegionDisabledExceptionRes, se_AssumeRoleRequest, se_AssumeRoleWithSAMLRequest, se_AssumeRoleWithWebIdentityRequest, se_DecodeAuthorizationMessageRequest, se_GetAccessKeyInfoRequest, se_GetCallerIdentityRequest, se_GetFederationTokenRequest, se_GetSessionTokenRequest, se_policyDescriptorListType, se_PolicyDescriptorType, se_ProvidedContext, se_ProvidedContextsListType, se_Tag, se_tagKeyListType, se_tagListType, de_AssumedRoleUser, de_AssumeRoleResponse, de_AssumeRoleWithSAMLResponse, de_AssumeRoleWithWebIdentityResponse, de_Credentials, de_DecodeAuthorizationMessageResponse, de_ExpiredTokenException, de_FederatedUser, de_GetAccessKeyInfoResponse, de_GetCallerIdentityResponse, de_GetFederationTokenResponse, de_GetSessionTokenResponse, de_IDPCommunicationErrorException, de_IDPRejectedClaimException, de_InvalidAuthorizationMessageException, de_InvalidIdentityTokenException, de_MalformedPolicyDocumentException, de_PackedPolicyTooLargeException, de_RegionDisabledException, deserializeMetadata4, throwDefaultError4, buildHttpRpcRequest, SHARED_HEADERS, _, _A, _AKI, _AR, _ARI, _ARU, _ARWSAML, _ARWWI, _Ac, _Ar, _Au, _C, _CA, _DAM, _DM, _DS, _E, _EI, _EM, _FU, _FUI, _GAKI, _GCI, _GFT, _GST, _I, _K, _N, _NQ, _P, _PA, _PAr, _PAro, _PC, _PI, _PPS, _Pr, _RA, _RSN, _S, _SAK, _SAMLA, _SFWIT, _SI, _SN, _ST, _STe, _T, _TC, _TTK, _UI, _V, _Va, _WIT, _a164, _m, buildFormUrlencodedString, loadQueryErrorCode;
|
45611
45614
|
var init_Aws_query = __esm({
|
45612
|
-
"../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/protocols/Aws_query.js"() {
|
45615
|
+
"../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-es/protocols/Aws_query.js"() {
|
45613
45616
|
"use strict";
|
45614
45617
|
import_core24 = __toESM(require_dist_cjs());
|
45615
45618
|
init_dist_es2();
|
@@ -46407,14 +46410,14 @@ var init_Aws_query = __esm({
|
|
46407
46410
|
cfId: output.headers["x-amz-cf-id"]
|
46408
46411
|
});
|
46409
46412
|
throwDefaultError4 = withBaseException(STSServiceException);
|
46410
|
-
buildHttpRpcRequest = async (context, headers,
|
46413
|
+
buildHttpRpcRequest = async (context, headers, path2, resolvedHostname, body) => {
|
46411
46414
|
const { hostname, protocol: protocol2 = "https", port, path: basePath } = await context.endpoint();
|
46412
46415
|
const contents = {
|
46413
46416
|
protocol: protocol2,
|
46414
46417
|
hostname,
|
46415
46418
|
port,
|
46416
46419
|
method: "POST",
|
46417
|
-
path: basePath.endsWith("/") ? basePath.slice(0, -1) +
|
46420
|
+
path: basePath.endsWith("/") ? basePath.slice(0, -1) + path2 : basePath + path2,
|
46418
46421
|
headers
|
46419
46422
|
};
|
46420
46423
|
if (resolvedHostname !== void 0) {
|
@@ -46496,10 +46499,10 @@ var init_Aws_query = __esm({
|
|
46496
46499
|
}
|
46497
46500
|
});
|
46498
46501
|
|
46499
|
-
// ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleCommand.js
|
46502
|
+
// ../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-es/commands/AssumeRoleCommand.js
|
46500
46503
|
var AssumeRoleCommand;
|
46501
46504
|
var init_AssumeRoleCommand = __esm({
|
46502
|
-
"../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleCommand.js"() {
|
46505
|
+
"../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-es/commands/AssumeRoleCommand.js"() {
|
46503
46506
|
"use strict";
|
46504
46507
|
init_dist_es18();
|
46505
46508
|
init_dist_es17();
|
@@ -46519,10 +46522,10 @@ var init_AssumeRoleCommand = __esm({
|
|
46519
46522
|
}
|
46520
46523
|
});
|
46521
46524
|
|
46522
|
-
// ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleWithSAMLCommand.js
|
46525
|
+
// ../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-es/commands/AssumeRoleWithSAMLCommand.js
|
46523
46526
|
var AssumeRoleWithSAMLCommand;
|
46524
46527
|
var init_AssumeRoleWithSAMLCommand = __esm({
|
46525
|
-
"../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleWithSAMLCommand.js"() {
|
46528
|
+
"../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-es/commands/AssumeRoleWithSAMLCommand.js"() {
|
46526
46529
|
"use strict";
|
46527
46530
|
init_dist_es18();
|
46528
46531
|
init_dist_es17();
|
@@ -46542,10 +46545,10 @@ var init_AssumeRoleWithSAMLCommand = __esm({
|
|
46542
46545
|
}
|
46543
46546
|
});
|
46544
46547
|
|
46545
|
-
// ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleWithWebIdentityCommand.js
|
46548
|
+
// ../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-es/commands/AssumeRoleWithWebIdentityCommand.js
|
46546
46549
|
var AssumeRoleWithWebIdentityCommand;
|
46547
46550
|
var init_AssumeRoleWithWebIdentityCommand = __esm({
|
46548
|
-
"../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleWithWebIdentityCommand.js"() {
|
46551
|
+
"../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-es/commands/AssumeRoleWithWebIdentityCommand.js"() {
|
46549
46552
|
"use strict";
|
46550
46553
|
init_dist_es18();
|
46551
46554
|
init_dist_es17();
|
@@ -46565,10 +46568,10 @@ var init_AssumeRoleWithWebIdentityCommand = __esm({
|
|
46565
46568
|
}
|
46566
46569
|
});
|
46567
46570
|
|
46568
|
-
// ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/commands/DecodeAuthorizationMessageCommand.js
|
46571
|
+
// ../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-es/commands/DecodeAuthorizationMessageCommand.js
|
46569
46572
|
var DecodeAuthorizationMessageCommand;
|
46570
46573
|
var init_DecodeAuthorizationMessageCommand = __esm({
|
46571
|
-
"../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/commands/DecodeAuthorizationMessageCommand.js"() {
|
46574
|
+
"../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-es/commands/DecodeAuthorizationMessageCommand.js"() {
|
46572
46575
|
"use strict";
|
46573
46576
|
init_dist_es18();
|
46574
46577
|
init_dist_es17();
|
@@ -46587,10 +46590,10 @@ var init_DecodeAuthorizationMessageCommand = __esm({
|
|
46587
46590
|
}
|
46588
46591
|
});
|
46589
46592
|
|
46590
|
-
// ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/commands/GetAccessKeyInfoCommand.js
|
46593
|
+
// ../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-es/commands/GetAccessKeyInfoCommand.js
|
46591
46594
|
var GetAccessKeyInfoCommand;
|
46592
46595
|
var init_GetAccessKeyInfoCommand = __esm({
|
46593
|
-
"../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/commands/GetAccessKeyInfoCommand.js"() {
|
46596
|
+
"../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-es/commands/GetAccessKeyInfoCommand.js"() {
|
46594
46597
|
"use strict";
|
46595
46598
|
init_dist_es18();
|
46596
46599
|
init_dist_es17();
|
@@ -46609,10 +46612,10 @@ var init_GetAccessKeyInfoCommand = __esm({
|
|
46609
46612
|
}
|
46610
46613
|
});
|
46611
46614
|
|
46612
|
-
// ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/commands/GetCallerIdentityCommand.js
|
46615
|
+
// ../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-es/commands/GetCallerIdentityCommand.js
|
46613
46616
|
var GetCallerIdentityCommand;
|
46614
46617
|
var init_GetCallerIdentityCommand = __esm({
|
46615
|
-
"../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/commands/GetCallerIdentityCommand.js"() {
|
46618
|
+
"../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-es/commands/GetCallerIdentityCommand.js"() {
|
46616
46619
|
"use strict";
|
46617
46620
|
init_dist_es18();
|
46618
46621
|
init_dist_es17();
|
@@ -46631,10 +46634,10 @@ var init_GetCallerIdentityCommand = __esm({
|
|
46631
46634
|
}
|
46632
46635
|
});
|
46633
46636
|
|
46634
|
-
// ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/commands/GetFederationTokenCommand.js
|
46637
|
+
// ../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-es/commands/GetFederationTokenCommand.js
|
46635
46638
|
var GetFederationTokenCommand;
|
46636
46639
|
var init_GetFederationTokenCommand = __esm({
|
46637
|
-
"../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/commands/GetFederationTokenCommand.js"() {
|
46640
|
+
"../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-es/commands/GetFederationTokenCommand.js"() {
|
46638
46641
|
"use strict";
|
46639
46642
|
init_dist_es18();
|
46640
46643
|
init_dist_es17();
|
@@ -46654,10 +46657,10 @@ var init_GetFederationTokenCommand = __esm({
|
|
46654
46657
|
}
|
46655
46658
|
});
|
46656
46659
|
|
46657
|
-
// ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/commands/GetSessionTokenCommand.js
|
46660
|
+
// ../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-es/commands/GetSessionTokenCommand.js
|
46658
46661
|
var GetSessionTokenCommand;
|
46659
46662
|
var init_GetSessionTokenCommand = __esm({
|
46660
|
-
"../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/commands/GetSessionTokenCommand.js"() {
|
46663
|
+
"../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-es/commands/GetSessionTokenCommand.js"() {
|
46661
46664
|
"use strict";
|
46662
46665
|
init_dist_es18();
|
46663
46666
|
init_dist_es17();
|
@@ -46677,10 +46680,10 @@ var init_GetSessionTokenCommand = __esm({
|
|
46677
46680
|
}
|
46678
46681
|
});
|
46679
46682
|
|
46680
|
-
// ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/STS.js
|
46683
|
+
// ../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-es/STS.js
|
46681
46684
|
var commands3, STS;
|
46682
46685
|
var init_STS = __esm({
|
46683
|
-
"../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/STS.js"() {
|
46686
|
+
"../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-es/STS.js"() {
|
46684
46687
|
"use strict";
|
46685
46688
|
init_dist_es32();
|
46686
46689
|
init_AssumeRoleCommand();
|
@@ -46708,9 +46711,9 @@ var init_STS = __esm({
|
|
46708
46711
|
}
|
46709
46712
|
});
|
46710
46713
|
|
46711
|
-
// ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/commands/index.js
|
46714
|
+
// ../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-es/commands/index.js
|
46712
46715
|
var init_commands3 = __esm({
|
46713
|
-
"../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/commands/index.js"() {
|
46716
|
+
"../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-es/commands/index.js"() {
|
46714
46717
|
"use strict";
|
46715
46718
|
init_AssumeRoleCommand();
|
46716
46719
|
init_AssumeRoleWithSAMLCommand();
|
@@ -46723,18 +46726,18 @@ var init_commands3 = __esm({
|
|
46723
46726
|
}
|
46724
46727
|
});
|
46725
46728
|
|
46726
|
-
// ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/models/index.js
|
46729
|
+
// ../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-es/models/index.js
|
46727
46730
|
var init_models3 = __esm({
|
46728
|
-
"../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/models/index.js"() {
|
46731
|
+
"../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-es/models/index.js"() {
|
46729
46732
|
"use strict";
|
46730
46733
|
init_models_03();
|
46731
46734
|
}
|
46732
46735
|
});
|
46733
46736
|
|
46734
|
-
// ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/defaultStsRoleAssumers.js
|
46737
|
+
// ../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-es/defaultStsRoleAssumers.js
|
46735
46738
|
var ASSUME_ROLE_DEFAULT_REGION, resolveRegion, getDefaultRoleAssumer, getDefaultRoleAssumerWithWebIdentity;
|
46736
46739
|
var init_defaultStsRoleAssumers = __esm({
|
46737
|
-
"../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/defaultStsRoleAssumers.js"() {
|
46740
|
+
"../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-es/defaultStsRoleAssumers.js"() {
|
46738
46741
|
"use strict";
|
46739
46742
|
init_AssumeRoleCommand();
|
46740
46743
|
init_AssumeRoleWithWebIdentityCommand();
|
@@ -46801,10 +46804,10 @@ var init_defaultStsRoleAssumers = __esm({
|
|
46801
46804
|
}
|
46802
46805
|
});
|
46803
46806
|
|
46804
|
-
// ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/defaultRoleAssumers.js
|
46807
|
+
// ../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-es/defaultRoleAssumers.js
|
46805
46808
|
var getCustomizableStsClientCtor, getDefaultRoleAssumer2, getDefaultRoleAssumerWithWebIdentity2, decorateDefaultCredentialProvider;
|
46806
46809
|
var init_defaultRoleAssumers = __esm({
|
46807
|
-
"../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/defaultRoleAssumers.js"() {
|
46810
|
+
"../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-es/defaultRoleAssumers.js"() {
|
46808
46811
|
"use strict";
|
46809
46812
|
init_defaultStsRoleAssumers();
|
46810
46813
|
init_STSClient();
|
@@ -46831,7 +46834,7 @@ var init_defaultRoleAssumers = __esm({
|
|
46831
46834
|
}
|
46832
46835
|
});
|
46833
46836
|
|
46834
|
-
// ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/index.js
|
46837
|
+
// ../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-es/index.js
|
46835
46838
|
var dist_es_exports10 = {};
|
46836
46839
|
__export(dist_es_exports10, {
|
46837
46840
|
$Command: () => Command,
|
@@ -46868,7 +46871,7 @@ __export(dist_es_exports10, {
|
|
46868
46871
|
getDefaultRoleAssumerWithWebIdentity: () => getDefaultRoleAssumerWithWebIdentity2
|
46869
46872
|
});
|
46870
46873
|
var init_dist_es49 = __esm({
|
46871
|
-
"../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/index.js"() {
|
46874
|
+
"../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-es/index.js"() {
|
46872
46875
|
"use strict";
|
46873
46876
|
init_STSClient();
|
46874
46877
|
init_STS();
|
@@ -49050,7 +49053,9 @@ function drizzle2(client, config) {
|
|
49050
49053
|
};
|
49051
49054
|
}
|
49052
49055
|
const session = new AwsDataApiSession(client, dialect7, schema4, { ...config, logger: logger2 }, void 0);
|
49053
|
-
|
49056
|
+
const db2 = new AwsDataApiPgDatabase(dialect7, session, schema4);
|
49057
|
+
db2.$client = client;
|
49058
|
+
return db2;
|
49054
49059
|
}
|
49055
49060
|
var _a168, _b121, AwsDataApiPgDatabase, _a169, _b122, AwsPgDialect;
|
49056
49061
|
var init_driver2 = __esm({
|
@@ -49173,20 +49178,20 @@ var require_file_uri_to_path = __commonJS({
|
|
49173
49178
|
var rest = decodeURI(uri.substring(7));
|
49174
49179
|
var firstSlash = rest.indexOf("/");
|
49175
49180
|
var host = rest.substring(0, firstSlash);
|
49176
|
-
var
|
49181
|
+
var path2 = rest.substring(firstSlash + 1);
|
49177
49182
|
if ("localhost" == host) host = "";
|
49178
49183
|
if (host) {
|
49179
49184
|
host = sep3 + sep3 + host;
|
49180
49185
|
}
|
49181
|
-
|
49186
|
+
path2 = path2.replace(/^(.+)\|/, "$1:");
|
49182
49187
|
if (sep3 == "\\") {
|
49183
|
-
|
49188
|
+
path2 = path2.replace(/\//g, "\\");
|
49184
49189
|
}
|
49185
|
-
if (/^.+\:/.test(
|
49190
|
+
if (/^.+\:/.test(path2)) {
|
49186
49191
|
} else {
|
49187
|
-
|
49192
|
+
path2 = sep3 + path2;
|
49188
49193
|
}
|
49189
|
-
return host +
|
49194
|
+
return host + path2;
|
49190
49195
|
}
|
49191
49196
|
}
|
49192
49197
|
});
|
@@ -49196,18 +49201,18 @@ var require_bindings = __commonJS({
|
|
49196
49201
|
"../node_modules/.pnpm/bindings@1.5.0/node_modules/bindings/bindings.js"(exports, module) {
|
49197
49202
|
"use strict";
|
49198
49203
|
var fs5 = __require("fs");
|
49199
|
-
var
|
49204
|
+
var path2 = __require("path");
|
49200
49205
|
var fileURLToPath = require_file_uri_to_path();
|
49201
|
-
var join4 =
|
49202
|
-
var dirname =
|
49203
|
-
var exists2 = fs5.accessSync && function(
|
49206
|
+
var join4 = path2.join;
|
49207
|
+
var dirname = path2.dirname;
|
49208
|
+
var exists2 = fs5.accessSync && function(path3) {
|
49204
49209
|
try {
|
49205
|
-
fs5.accessSync(
|
49210
|
+
fs5.accessSync(path3);
|
49206
49211
|
} catch (e5) {
|
49207
49212
|
return false;
|
49208
49213
|
}
|
49209
49214
|
return true;
|
49210
|
-
} || fs5.existsSync ||
|
49215
|
+
} || fs5.existsSync || path2.existsSync;
|
49211
49216
|
var defaults2 = {
|
49212
49217
|
arrow: process.env.NODE_BINDINGS_ARROW || " \u2192 ",
|
49213
49218
|
compiled: process.env.NODE_BINDINGS_COMPILED_DIR || "compiled",
|
@@ -49252,7 +49257,7 @@ var require_bindings = __commonJS({
|
|
49252
49257
|
if (!opts.module_root) {
|
49253
49258
|
opts.module_root = exports.getRoot(exports.getFileName());
|
49254
49259
|
}
|
49255
|
-
if (
|
49260
|
+
if (path2.extname(opts.bindings) != ".node") {
|
49256
49261
|
opts.bindings += ".node";
|
49257
49262
|
}
|
49258
49263
|
var requireFunc = typeof __webpack_require__ === "function" ? __non_webpack_require__ : __require;
|
@@ -49488,7 +49493,7 @@ var require_backup = __commonJS({
|
|
49488
49493
|
"../node_modules/.pnpm/better-sqlite3@8.7.0/node_modules/better-sqlite3/lib/methods/backup.js"(exports, module) {
|
49489
49494
|
"use strict";
|
49490
49495
|
var fs5 = __require("fs");
|
49491
|
-
var
|
49496
|
+
var path2 = __require("path");
|
49492
49497
|
var { promisify: promisify2 } = __require("util");
|
49493
49498
|
var { cppdb } = require_util3();
|
49494
49499
|
var fsAccess = promisify2(fs5.access);
|
@@ -49504,7 +49509,7 @@ var require_backup = __commonJS({
|
|
49504
49509
|
if (typeof attachedName !== "string") throw new TypeError('Expected the "attached" option to be a string');
|
49505
49510
|
if (!attachedName) throw new TypeError('The "attached" option cannot be an empty string');
|
49506
49511
|
if (handler != null && typeof handler !== "function") throw new TypeError('Expected the "progress" option to be a function');
|
49507
|
-
await fsAccess(
|
49512
|
+
await fsAccess(path2.dirname(filename)).catch(() => {
|
49508
49513
|
throw new TypeError("Cannot save backup because the directory does not exist");
|
49509
49514
|
});
|
49510
49515
|
const isNewFile = await fsAccess(filename).then(() => false, () => true);
|
@@ -49810,7 +49815,7 @@ var require_database = __commonJS({
|
|
49810
49815
|
"../node_modules/.pnpm/better-sqlite3@8.7.0/node_modules/better-sqlite3/lib/database.js"(exports, module) {
|
49811
49816
|
"use strict";
|
49812
49817
|
var fs5 = __require("fs");
|
49813
|
-
var
|
49818
|
+
var path2 = __require("path");
|
49814
49819
|
var util2 = require_util3();
|
49815
49820
|
var SqliteError = require_sqlite_error();
|
49816
49821
|
var DEFAULT_ADDON;
|
@@ -49846,7 +49851,7 @@ var require_database = __commonJS({
|
|
49846
49851
|
addon = DEFAULT_ADDON || (DEFAULT_ADDON = require_bindings()("better_sqlite3.node"));
|
49847
49852
|
} else if (typeof nativeBinding === "string") {
|
49848
49853
|
const requireFunc = typeof __non_webpack_require__ === "function" ? __non_webpack_require__ : __require;
|
49849
|
-
addon = requireFunc(
|
49854
|
+
addon = requireFunc(path2.resolve(nativeBinding).replace(/(\.node)?$/, ".node"));
|
49850
49855
|
} else {
|
49851
49856
|
addon = nativeBinding;
|
49852
49857
|
}
|
@@ -49854,7 +49859,7 @@ var require_database = __commonJS({
|
|
49854
49859
|
addon.setErrorConstructor(SqliteError);
|
49855
49860
|
addon.isInitialized = true;
|
49856
49861
|
}
|
49857
|
-
if (!anonymous && !fs5.existsSync(
|
49862
|
+
if (!anonymous && !fs5.existsSync(path2.dirname(filename))) {
|
49858
49863
|
throw new TypeError("Cannot open database because the directory does not exist");
|
49859
49864
|
}
|
49860
49865
|
Object.defineProperties(this, {
|
@@ -52458,6 +52463,7 @@ var init_db2 = __esm({
|
|
52458
52463
|
"use strict";
|
52459
52464
|
init_entity();
|
52460
52465
|
init_selection_proxy();
|
52466
|
+
init_sql();
|
52461
52467
|
init_query_builders2();
|
52462
52468
|
init_subquery();
|
52463
52469
|
init_count2();
|
@@ -52689,56 +52695,56 @@ var init_db2 = __esm({
|
|
52689
52695
|
return new SQLiteDeleteBase(from, this.session, this.dialect);
|
52690
52696
|
}
|
52691
52697
|
run(query) {
|
52692
|
-
const
|
52698
|
+
const sequel = typeof query === "string" ? sql.raw(query) : query.getSQL();
|
52693
52699
|
if (this.resultKind === "async") {
|
52694
52700
|
return new SQLiteRaw(
|
52695
|
-
async () => this.session.run(
|
52696
|
-
() =>
|
52701
|
+
async () => this.session.run(sequel),
|
52702
|
+
() => sequel,
|
52697
52703
|
"run",
|
52698
52704
|
this.dialect,
|
52699
52705
|
this.session.extractRawRunValueFromBatchResult.bind(this.session)
|
52700
52706
|
);
|
52701
52707
|
}
|
52702
|
-
return this.session.run(
|
52708
|
+
return this.session.run(sequel);
|
52703
52709
|
}
|
52704
52710
|
all(query) {
|
52705
|
-
const
|
52711
|
+
const sequel = typeof query === "string" ? sql.raw(query) : query.getSQL();
|
52706
52712
|
if (this.resultKind === "async") {
|
52707
52713
|
return new SQLiteRaw(
|
52708
|
-
async () => this.session.all(
|
52709
|
-
() =>
|
52714
|
+
async () => this.session.all(sequel),
|
52715
|
+
() => sequel,
|
52710
52716
|
"all",
|
52711
52717
|
this.dialect,
|
52712
52718
|
this.session.extractRawAllValueFromBatchResult.bind(this.session)
|
52713
52719
|
);
|
52714
52720
|
}
|
52715
|
-
return this.session.all(
|
52721
|
+
return this.session.all(sequel);
|
52716
52722
|
}
|
52717
52723
|
get(query) {
|
52718
|
-
const
|
52724
|
+
const sequel = typeof query === "string" ? sql.raw(query) : query.getSQL();
|
52719
52725
|
if (this.resultKind === "async") {
|
52720
52726
|
return new SQLiteRaw(
|
52721
|
-
async () => this.session.get(
|
52722
|
-
() =>
|
52727
|
+
async () => this.session.get(sequel),
|
52728
|
+
() => sequel,
|
52723
52729
|
"get",
|
52724
52730
|
this.dialect,
|
52725
52731
|
this.session.extractRawGetValueFromBatchResult.bind(this.session)
|
52726
52732
|
);
|
52727
52733
|
}
|
52728
|
-
return this.session.get(
|
52734
|
+
return this.session.get(sequel);
|
52729
52735
|
}
|
52730
52736
|
values(query) {
|
52731
|
-
const
|
52737
|
+
const sequel = typeof query === "string" ? sql.raw(query) : query.getSQL();
|
52732
52738
|
if (this.resultKind === "async") {
|
52733
52739
|
return new SQLiteRaw(
|
52734
|
-
async () => this.session.values(
|
52735
|
-
() =>
|
52740
|
+
async () => this.session.values(sequel),
|
52741
|
+
() => sequel,
|
52736
52742
|
"values",
|
52737
52743
|
this.dialect,
|
52738
52744
|
this.session.extractRawValuesValueFromBatchResult.bind(this.session)
|
52739
52745
|
);
|
52740
52746
|
}
|
52741
|
-
return this.session.values(
|
52747
|
+
return this.session.values(sequel);
|
52742
52748
|
}
|
52743
52749
|
transaction(transaction, config) {
|
52744
52750
|
return this.session.transaction(transaction, config);
|
@@ -53332,7 +53338,9 @@ function drizzle3(client, config = {}) {
|
|
53332
53338
|
};
|
53333
53339
|
}
|
53334
53340
|
const session = new BetterSQLiteSession(client, dialect7, schema4, { logger: logger2 });
|
53335
|
-
|
53341
|
+
const db2 = new BetterSQLite3Database("sync", dialect7, session, schema4);
|
53342
|
+
db2.$client = client;
|
53343
|
+
return db2;
|
53336
53344
|
}
|
53337
53345
|
var _a239, _b170, BetterSQLite3Database;
|
53338
53346
|
var init_driver3 = __esm({
|
@@ -53508,7 +53516,9 @@ function drizzle4(client, config = {}) {
|
|
53508
53516
|
};
|
53509
53517
|
}
|
53510
53518
|
const session = new SQLiteBunSession(client, dialect7, schema4, { logger: logger2 });
|
53511
|
-
|
53519
|
+
const db2 = new BunSQLiteDatabase("sync", dialect7, session, schema4);
|
53520
|
+
db2.$client = client;
|
53521
|
+
return db2;
|
53512
53522
|
}
|
53513
53523
|
var _a243, _b174, BunSQLiteDatabase;
|
53514
53524
|
var init_driver4 = __esm({
|
@@ -53748,7 +53758,9 @@ function drizzle5(client, config = {}) {
|
|
53748
53758
|
};
|
53749
53759
|
}
|
53750
53760
|
const session = new SQLiteD1Session(client, dialect7, schema4, { logger: logger2 });
|
53751
|
-
|
53761
|
+
const db2 = new DrizzleD1Database("async", dialect7, session, schema4);
|
53762
|
+
db2.$client = client;
|
53763
|
+
return db2;
|
53752
53764
|
}
|
53753
53765
|
var _a247, _b178, DrizzleD1Database;
|
53754
53766
|
var init_driver5 = __esm({
|
@@ -53818,10 +53830,10 @@ function parseUri(text) {
|
|
53818
53830
|
const groups = match2.groups;
|
53819
53831
|
const scheme = groups["scheme"];
|
53820
53832
|
const authority = groups["authority"] !== void 0 ? parseAuthority(groups["authority"]) : void 0;
|
53821
|
-
const
|
53833
|
+
const path2 = percentDecode(groups["path"]);
|
53822
53834
|
const query = groups["query"] !== void 0 ? parseQuery(groups["query"]) : void 0;
|
53823
53835
|
const fragment2 = groups["fragment"] !== void 0 ? percentDecode(groups["fragment"]) : void 0;
|
53824
|
-
return { scheme, authority, path:
|
53836
|
+
return { scheme, authority, path: path2, query, fragment: fragment2 };
|
53825
53837
|
}
|
53826
53838
|
function parseAuthority(text) {
|
53827
53839
|
const match2 = AUTHORITY_RE.exec(text);
|
@@ -53871,7 +53883,7 @@ function percentDecode(text) {
|
|
53871
53883
|
throw e5;
|
53872
53884
|
}
|
53873
53885
|
}
|
53874
|
-
function encodeBaseUrl(scheme, authority,
|
53886
|
+
function encodeBaseUrl(scheme, authority, path2) {
|
53875
53887
|
if (authority === void 0) {
|
53876
53888
|
throw new LibsqlError(`URL with scheme ${JSON.stringify(scheme + ":")} requires authority (the "//" part)`, "URL_INVALID");
|
53877
53889
|
}
|
@@ -53880,7 +53892,7 @@ function encodeBaseUrl(scheme, authority, path3) {
|
|
53880
53892
|
const portText = encodePort(authority.port);
|
53881
53893
|
const userinfoText = encodeUserinfo(authority.userinfo);
|
53882
53894
|
const authorityText = `//${userinfoText}${hostText}${portText}`;
|
53883
|
-
let pathText =
|
53895
|
+
let pathText = path2.split("/").map(encodeURIComponent).join("/");
|
53884
53896
|
if (pathText !== "" && !pathText.startsWith("/")) {
|
53885
53897
|
pathText = "/" + pathText;
|
53886
53898
|
}
|
@@ -54186,7 +54198,7 @@ function expandConfig(config, preferHttp) {
|
|
54186
54198
|
}
|
54187
54199
|
}
|
54188
54200
|
const connectionQueryParamsString = connectionQueryParams.length === 0 ? "" : `?${connectionQueryParams.join("&")}`;
|
54189
|
-
const
|
54201
|
+
const path2 = uri.path + connectionQueryParamsString;
|
54190
54202
|
let scheme;
|
54191
54203
|
if (originalUriScheme === "libsql") {
|
54192
54204
|
if (tls2 === false) {
|
@@ -54218,7 +54230,7 @@ function expandConfig(config, preferHttp) {
|
|
54218
54230
|
return {
|
54219
54231
|
scheme: "file",
|
54220
54232
|
tls: false,
|
54221
|
-
path:
|
54233
|
+
path: path2,
|
54222
54234
|
intMode,
|
54223
54235
|
concurrency,
|
54224
54236
|
syncUrl: config.syncUrl,
|
@@ -54233,7 +54245,7 @@ function expandConfig(config, preferHttp) {
|
|
54233
54245
|
scheme,
|
54234
54246
|
tls: tls2,
|
54235
54247
|
authority: uri.authority,
|
54236
|
-
path:
|
54248
|
+
path: path2,
|
54237
54249
|
authToken,
|
54238
54250
|
intMode,
|
54239
54251
|
concurrency,
|
@@ -54287,7 +54299,7 @@ var require_dist2 = __commonJS({
|
|
54287
54299
|
};
|
54288
54300
|
Object.defineProperty(exports, "__esModule", { value: true });
|
54289
54301
|
exports.load = exports.currentTarget = void 0;
|
54290
|
-
var
|
54302
|
+
var path2 = __importStar2(__require("path"));
|
54291
54303
|
var fs5 = __importStar2(__require("fs"));
|
54292
54304
|
function currentTarget() {
|
54293
54305
|
let os3 = null;
|
@@ -54353,7 +54365,7 @@ var require_dist2 = __commonJS({
|
|
54353
54365
|
return typeof header === "object" && !!header && "glibcVersionRuntime" in header;
|
54354
54366
|
}
|
54355
54367
|
function load(dirname) {
|
54356
|
-
const m7 =
|
54368
|
+
const m7 = path2.join(dirname, "index.node");
|
54357
54369
|
return fs5.existsSync(m7) ? __require(m7) : null;
|
54358
54370
|
}
|
54359
54371
|
exports.load = load;
|
@@ -54382,9 +54394,9 @@ var require_filesystem = __commonJS({
|
|
54382
54394
|
"use strict";
|
54383
54395
|
var fs5 = __require("fs");
|
54384
54396
|
var LDD_PATH = "/usr/bin/ldd";
|
54385
|
-
var readFileSync2 = (
|
54386
|
-
var readFile3 = (
|
54387
|
-
fs5.readFile(
|
54397
|
+
var readFileSync2 = (path2) => fs5.readFileSync(path2, "utf-8");
|
54398
|
+
var readFile3 = (path2) => new Promise((resolve, reject) => {
|
54399
|
+
fs5.readFile(path2, "utf-8", (err, data) => {
|
54388
54400
|
if (err) {
|
54389
54401
|
reject(err);
|
54390
54402
|
} else {
|
@@ -54694,7 +54706,7 @@ var require_libsql = __commonJS({
|
|
54694
54706
|
* @constructor
|
54695
54707
|
* @param {string} path - Path to the database file.
|
54696
54708
|
*/
|
54697
|
-
constructor(
|
54709
|
+
constructor(path2, opts) {
|
54698
54710
|
const encryptionCipher = opts?.encryptionCipher ?? "aes256cbc";
|
54699
54711
|
if (opts && opts.syncUrl) {
|
54700
54712
|
var authToken = "";
|
@@ -54707,13 +54719,13 @@ var require_libsql = __commonJS({
|
|
54707
54719
|
const encryptionKey = opts?.encryptionKey ?? "";
|
54708
54720
|
const syncPeriod = opts?.syncPeriod ?? 0;
|
54709
54721
|
const readYourWrites = opts?.readYourWrites ?? true;
|
54710
|
-
this.db = databaseOpenWithRpcSync(
|
54722
|
+
this.db = databaseOpenWithRpcSync(path2, opts.syncUrl, authToken, encryptionCipher, encryptionKey, syncPeriod, readYourWrites);
|
54711
54723
|
} else {
|
54712
54724
|
const authToken2 = opts?.authToken ?? "";
|
54713
54725
|
const encryptionKey = opts?.encryptionKey ?? "";
|
54714
|
-
this.db = databaseOpen(
|
54726
|
+
this.db = databaseOpen(path2, authToken2, encryptionCipher, encryptionKey);
|
54715
54727
|
}
|
54716
|
-
this.memory =
|
54728
|
+
this.memory = path2 === ":memory:";
|
54717
54729
|
this.readonly = false;
|
54718
54730
|
this.name = "";
|
54719
54731
|
this.open = true;
|
@@ -54992,9 +55004,9 @@ function _createClient(config) {
|
|
54992
55004
|
if (isInMemory && config.syncUrl) {
|
54993
55005
|
throw new LibsqlError(`Embedded replica must use file for local db but URI with in-memory mode were provided instead: ${config.path}`, "URL_INVALID");
|
54994
55006
|
}
|
54995
|
-
let
|
55007
|
+
let path2 = config.path;
|
54996
55008
|
if (isInMemory) {
|
54997
|
-
|
55009
|
+
path2 = `${config.scheme}:${config.path}`;
|
54998
55010
|
}
|
54999
55011
|
const options = {
|
55000
55012
|
authToken: config.authToken,
|
@@ -55002,9 +55014,9 @@ function _createClient(config) {
|
|
55002
55014
|
syncUrl: config.syncUrl,
|
55003
55015
|
syncPeriod: config.syncInterval
|
55004
55016
|
};
|
55005
|
-
const db2 = new import_libsql.default(
|
55017
|
+
const db2 = new import_libsql.default(path2, options);
|
55006
55018
|
executeStmt(db2, "SELECT 1 AS checkThatTheDatabaseCanBeOpened", config.intMode);
|
55007
|
-
return new Sqlite3Client(
|
55019
|
+
return new Sqlite3Client(path2, options, db2, config.intMode);
|
55008
55020
|
}
|
55009
55021
|
function executeStmt(db2, stmt, intMode) {
|
55010
55022
|
let sql3;
|
@@ -55143,7 +55155,7 @@ var init_sqlite3 = __esm({
|
|
55143
55155
|
init_api();
|
55144
55156
|
Sqlite3Client = class {
|
55145
55157
|
/** @private */
|
55146
|
-
constructor(
|
55158
|
+
constructor(path2, options, db2, intMode) {
|
55147
55159
|
__privateAdd(this, _Sqlite3Client_instances);
|
55148
55160
|
__privateAdd(this, _path);
|
55149
55161
|
__privateAdd(this, _options);
|
@@ -55151,7 +55163,7 @@ var init_sqlite3 = __esm({
|
|
55151
55163
|
__privateAdd(this, _intMode);
|
55152
55164
|
__publicField(this, "closed");
|
55153
55165
|
__publicField(this, "protocol");
|
55154
|
-
__privateSet(this, _path,
|
55166
|
+
__privateSet(this, _path, path2);
|
55155
55167
|
__privateSet(this, _options, options);
|
55156
55168
|
__privateSet(this, _db, db2);
|
55157
55169
|
__privateSet(this, _intMode, intMode);
|
@@ -55451,7 +55463,7 @@ var require_node_gyp_build = __commonJS({
|
|
55451
55463
|
"../node_modules/.pnpm/node-gyp-build@4.8.1/node_modules/node-gyp-build/node-gyp-build.js"(exports, module) {
|
55452
55464
|
"use strict";
|
55453
55465
|
var fs5 = __require("fs");
|
55454
|
-
var
|
55466
|
+
var path2 = __require("path");
|
55455
55467
|
var os3 = __require("os");
|
55456
55468
|
var runtimeRequire = typeof __webpack_require__ === "function" ? __non_webpack_require__ : __require;
|
55457
55469
|
var vars = process.config && process.config.variables || {};
|
@@ -55468,21 +55480,21 @@ var require_node_gyp_build = __commonJS({
|
|
55468
55480
|
return runtimeRequire(load.resolve(dir));
|
55469
55481
|
}
|
55470
55482
|
load.resolve = load.path = function(dir) {
|
55471
|
-
dir =
|
55483
|
+
dir = path2.resolve(dir || ".");
|
55472
55484
|
try {
|
55473
|
-
var name2 = runtimeRequire(
|
55485
|
+
var name2 = runtimeRequire(path2.join(dir, "package.json")).name.toUpperCase().replace(/-/g, "_");
|
55474
55486
|
if (process.env[name2 + "_PREBUILD"]) dir = process.env[name2 + "_PREBUILD"];
|
55475
55487
|
} catch (err) {
|
55476
55488
|
}
|
55477
55489
|
if (!prebuildsOnly) {
|
55478
|
-
var release2 = getFirst(
|
55490
|
+
var release2 = getFirst(path2.join(dir, "build/Release"), matchBuild);
|
55479
55491
|
if (release2) return release2;
|
55480
|
-
var debug = getFirst(
|
55492
|
+
var debug = getFirst(path2.join(dir, "build/Debug"), matchBuild);
|
55481
55493
|
if (debug) return debug;
|
55482
55494
|
}
|
55483
55495
|
var prebuild = resolve(dir);
|
55484
55496
|
if (prebuild) return prebuild;
|
55485
|
-
var nearby = resolve(
|
55497
|
+
var nearby = resolve(path2.dirname(process.execPath));
|
55486
55498
|
if (nearby) return nearby;
|
55487
55499
|
var target = [
|
55488
55500
|
"platform=" + platform2,
|
@@ -55499,14 +55511,14 @@ var require_node_gyp_build = __commonJS({
|
|
55499
55511
|
].filter(Boolean).join(" ");
|
55500
55512
|
throw new Error("No native build was found for " + target + "\n loaded from: " + dir + "\n");
|
55501
55513
|
function resolve(dir2) {
|
55502
|
-
var tuples2 = readdirSync(
|
55514
|
+
var tuples2 = readdirSync(path2.join(dir2, "prebuilds")).map(parseTuple);
|
55503
55515
|
var tuple = tuples2.filter(matchTuple(platform2, arch)).sort(compareTuples)[0];
|
55504
55516
|
if (!tuple) return;
|
55505
|
-
var prebuilds =
|
55517
|
+
var prebuilds = path2.join(dir2, "prebuilds", tuple.name);
|
55506
55518
|
var parsed = readdirSync(prebuilds).map(parseTags);
|
55507
55519
|
var candidates = parsed.filter(matchTags(runtime, abi));
|
55508
55520
|
var winner = candidates.sort(compareTags(runtime))[0];
|
55509
|
-
if (winner) return
|
55521
|
+
if (winner) return path2.join(prebuilds, winner.file);
|
55510
55522
|
}
|
55511
55523
|
};
|
55512
55524
|
function readdirSync(dir) {
|
@@ -55518,7 +55530,7 @@ var require_node_gyp_build = __commonJS({
|
|
55518
55530
|
}
|
55519
55531
|
function getFirst(dir, filter2) {
|
55520
55532
|
var files = readdirSync(dir).filter(filter2);
|
55521
|
-
return files[0] &&
|
55533
|
+
return files[0] && path2.join(dir, files[0]);
|
55522
55534
|
}
|
55523
55535
|
function matchBuild(name2) {
|
55524
55536
|
return /\.node$/.test(name2);
|
@@ -64180,7 +64192,9 @@ function drizzle6(client, config = {}) {
|
|
64180
64192
|
};
|
64181
64193
|
}
|
64182
64194
|
const session = new LibSQLSession(client, dialect7, schema4, { logger: logger2 }, void 0);
|
64183
|
-
|
64195
|
+
const db2 = new LibSQLDatabase("async", dialect7, session, schema4);
|
64196
|
+
db2.$client = client;
|
64197
|
+
return db2;
|
64184
64198
|
}
|
64185
64199
|
var _a251, _b182, LibSQLDatabase;
|
64186
64200
|
var init_driver6 = __esm({
|
@@ -78793,12 +78807,12 @@ var require_query4 = __commonJS({
|
|
78793
78807
|
this._fields.push([]);
|
78794
78808
|
return this.readField;
|
78795
78809
|
}
|
78796
|
-
_streamLocalInfile(connection2,
|
78810
|
+
_streamLocalInfile(connection2, path2) {
|
78797
78811
|
if (this._streamFactory) {
|
78798
|
-
this._localStream = this._streamFactory(
|
78812
|
+
this._localStream = this._streamFactory(path2);
|
78799
78813
|
} else {
|
78800
78814
|
this._localStreamError = new Error(
|
78801
|
-
`As a result of LOCAL INFILE command server wants to read ${
|
78815
|
+
`As a result of LOCAL INFILE command server wants to read ${path2} file, but as of v2.0 you must provide streamFactory option returning ReadStream.`
|
78802
78816
|
);
|
78803
78817
|
connection2.writePacket(EmptyPacket);
|
78804
78818
|
return this.infileOk;
|
@@ -85654,6 +85668,7 @@ var init_db3 = __esm({
|
|
85654
85668
|
"use strict";
|
85655
85669
|
init_entity();
|
85656
85670
|
init_selection_proxy();
|
85671
|
+
init_sql();
|
85657
85672
|
init_subquery();
|
85658
85673
|
init_count3();
|
85659
85674
|
init_query_builders3();
|
@@ -85864,7 +85879,7 @@ var init_db3 = __esm({
|
|
85864
85879
|
return new MySqlDeleteBase(table4, this.session, this.dialect);
|
85865
85880
|
}
|
85866
85881
|
execute(query) {
|
85867
|
-
return this.session.execute(query.getSQL());
|
85882
|
+
return this.session.execute(typeof query === "string" ? sql.raw(query) : query.getSQL());
|
85868
85883
|
}
|
85869
85884
|
transaction(transaction, config) {
|
85870
85885
|
return this.session.transaction(transaction, config);
|
@@ -86190,9 +86205,7 @@ function drizzle7(client, config = {}) {
|
|
86190
86205
|
} else if (config.logger !== false) {
|
86191
86206
|
logger2 = config.logger;
|
86192
86207
|
}
|
86193
|
-
|
86194
|
-
client = client.promise();
|
86195
|
-
}
|
86208
|
+
const clientForInstance = isCallbackClient(client) ? client.promise() : client;
|
86196
86209
|
let schema4;
|
86197
86210
|
if (config.schema) {
|
86198
86211
|
if (config.mode === void 0) {
|
@@ -86211,9 +86224,11 @@ function drizzle7(client, config = {}) {
|
|
86211
86224
|
};
|
86212
86225
|
}
|
86213
86226
|
const mode = config.mode ?? "default";
|
86214
|
-
const driver2 = new MySql2Driver(
|
86227
|
+
const driver2 = new MySql2Driver(clientForInstance, dialect7, { logger: logger2 });
|
86215
86228
|
const session = driver2.createSession(schema4, mode);
|
86216
|
-
|
86229
|
+
const db2 = new MySql2Database(dialect7, session, schema4, mode);
|
86230
|
+
db2.$client = client;
|
86231
|
+
return db2;
|
86217
86232
|
}
|
86218
86233
|
function isCallbackClient(client) {
|
86219
86234
|
return typeof client.promise === "function";
|
@@ -91782,11 +91797,13 @@ function drizzle8(client, config = {}) {
|
|
91782
91797
|
}
|
91783
91798
|
const driver2 = new NeonHttpDriver(client, dialect7, { logger: logger2 });
|
91784
91799
|
const session = driver2.createSession(schema4);
|
91785
|
-
|
91800
|
+
const db2 = new NeonHttpDatabase(
|
91786
91801
|
dialect7,
|
91787
91802
|
session,
|
91788
91803
|
schema4
|
91789
91804
|
);
|
91805
|
+
db2.$client = client;
|
91806
|
+
return db2;
|
91790
91807
|
}
|
91791
91808
|
var _a288, NeonHttpDriver, _a289, _b204, NeonHttpDatabase;
|
91792
91809
|
var init_driver8 = __esm({
|
@@ -92000,7 +92017,9 @@ function drizzle9(client, config = {}) {
|
|
92000
92017
|
}
|
92001
92018
|
const driver2 = new NeonDriver(client, dialect7, { logger: logger2 });
|
92002
92019
|
const session = driver2.createSession(schema4);
|
92003
|
-
|
92020
|
+
const db2 = new NeonDatabase(dialect7, session, schema4);
|
92021
|
+
db2.$client = client;
|
92022
|
+
return db2;
|
92004
92023
|
}
|
92005
92024
|
var _a293, NeonDriver, _a294, _b208, NeonDatabase;
|
92006
92025
|
var init_driver9 = __esm({
|
@@ -92630,7 +92649,9 @@ Please make the necessary changes now to prevent any runtime errors in the futur
|
|
92630
92649
|
};
|
92631
92650
|
}
|
92632
92651
|
const session = new PlanetscaleSession(client, dialect7, void 0, schema4, { logger: logger2 });
|
92633
|
-
|
92652
|
+
const db2 = new PlanetScaleDatabase(dialect7, session, schema4, "planetscale");
|
92653
|
+
db2.$client = client;
|
92654
|
+
return db2;
|
92634
92655
|
}
|
92635
92656
|
var _a298, _b212, PlanetScaleDatabase;
|
92636
92657
|
var init_driver10 = __esm({
|
@@ -94212,13 +94233,13 @@ function Subscribe(postgres2, options) {
|
|
94212
94233
|
}
|
94213
94234
|
}
|
94214
94235
|
function handle(a7, b8) {
|
94215
|
-
const
|
94236
|
+
const path2 = b8.relation.schema + "." + b8.relation.table;
|
94216
94237
|
call("*", a7, b8);
|
94217
|
-
call("*:" +
|
94218
|
-
b8.relation.keys.length && call("*:" +
|
94238
|
+
call("*:" + path2, a7, b8);
|
94239
|
+
b8.relation.keys.length && call("*:" + path2 + "=" + b8.relation.keys.map((x6) => a7[x6.name]), a7, b8);
|
94219
94240
|
call(b8.command, a7, b8);
|
94220
|
-
call(b8.command + ":" +
|
94221
|
-
b8.relation.keys.length && call(b8.command + ":" +
|
94241
|
+
call(b8.command + ":" + path2, a7, b8);
|
94242
|
+
b8.relation.keys.length && call(b8.command + ":" + path2 + "=" + b8.relation.keys.map((x6) => a7[x6.name]), a7, b8);
|
94222
94243
|
}
|
94223
94244
|
function pong() {
|
94224
94245
|
const x6 = Buffer.alloc(34);
|
@@ -94331,8 +94352,8 @@ function parseEvent(x5) {
|
|
94331
94352
|
const xs2 = x5.match(/^(\*|insert|update|delete)?:?([^.]+?\.?[^=]+)?=?(.+)?/i) || [];
|
94332
94353
|
if (!xs2)
|
94333
94354
|
throw new Error("Malformed subscribe pattern: " + x5);
|
94334
|
-
const [, command,
|
94335
|
-
return (command || "*") + (
|
94355
|
+
const [, command, path2, key] = xs2;
|
94356
|
+
return (command || "*") + (path2 ? ":" + (path2.indexOf(".") === -1 ? "public." + path2 : path2) : "") + (key ? "=" + key : "");
|
94336
94357
|
}
|
94337
94358
|
var noop2;
|
94338
94359
|
var init_subscribe = __esm({
|
@@ -94476,10 +94497,10 @@ function Postgres(a7, b8) {
|
|
94476
94497
|
});
|
94477
94498
|
return query;
|
94478
94499
|
}
|
94479
|
-
function file(
|
94500
|
+
function file(path2, args = [], options2 = {}) {
|
94480
94501
|
arguments.length === 2 && !Array.isArray(args) && (options2 = args, args = []);
|
94481
94502
|
const query = new Query([], args, (query2) => {
|
94482
|
-
fs2.readFile(
|
94503
|
+
fs2.readFile(path2, "utf8", (err, string2) => {
|
94483
94504
|
if (err)
|
94484
94505
|
return query2.reject(err);
|
94485
94506
|
query2.strings = [string2];
|
@@ -95003,7 +95024,9 @@ function drizzle11(client, config = {}) {
|
|
95003
95024
|
};
|
95004
95025
|
}
|
95005
95026
|
const session = new PostgresJsSession(client, dialect7, schema4, { logger: logger2 });
|
95006
|
-
|
95027
|
+
const db2 = new PostgresJsDatabase(dialect7, session, schema4);
|
95028
|
+
db2.$client = client;
|
95029
|
+
return db2;
|
95007
95030
|
}
|
95008
95031
|
var _a302, _b216, PostgresJsDatabase;
|
95009
95032
|
var init_driver11 = __esm({
|
@@ -95573,7 +95596,9 @@ function drizzle12(client, config = {}) {
|
|
95573
95596
|
};
|
95574
95597
|
}
|
95575
95598
|
const session = new TiDBServerlessSession(client, dialect7, void 0, schema4, { logger: logger2 });
|
95576
|
-
|
95599
|
+
const db2 = new TiDBServerlessDatabase(dialect7, session, schema4, "default");
|
95600
|
+
db2.$client = client;
|
95601
|
+
return db2;
|
95577
95602
|
}
|
95578
95603
|
var _a306, _b220, TiDBServerlessDatabase;
|
95579
95604
|
var init_driver12 = __esm({
|
@@ -104765,7 +104790,9 @@ function drizzle13(client, config = {}) {
|
|
104765
104790
|
}
|
104766
104791
|
const driver2 = new VercelPgDriver(client, dialect7, { logger: logger2 });
|
104767
104792
|
const session = driver2.createSession(schema4);
|
104768
|
-
|
104793
|
+
const db2 = new VercelPgDatabase(dialect7, session, schema4);
|
104794
|
+
db2.$client = client;
|
104795
|
+
return db2;
|
104769
104796
|
}
|
104770
104797
|
var _a310, VercelPgDriver, _a311, _b224, VercelPgDatabase;
|
104771
104798
|
var init_driver13 = __esm({
|
@@ -104825,132 +104852,219 @@ var init_vercel_postgres = __esm({
|
|
104825
104852
|
function assertUnreachable2(_3) {
|
104826
104853
|
throw new Error("Didn't expect to get here");
|
104827
104854
|
}
|
104828
|
-
async function drizzle14(client, params) {
|
104829
|
-
const { connection: connection2, ws: ws3, ...drizzleConfig } = params;
|
104855
|
+
async function drizzle14(client, ...params) {
|
104830
104856
|
switch (client) {
|
104831
104857
|
case "node-postgres": {
|
104832
|
-
const
|
104858
|
+
const defpg = await Promise.resolve().then(() => __toESM(require_lib3(), 1)).catch(() => importError("pg"));
|
104833
104859
|
const { drizzle: drizzle22 } = await Promise.resolve().then(() => (init_node_postgres(), node_postgres_exports));
|
104834
|
-
|
104835
|
-
|
104836
|
-
|
104860
|
+
if (typeof params[0] === "object") {
|
104861
|
+
const { connection: connection2, ...drizzleConfig } = params[0];
|
104862
|
+
const instance2 = typeof connection2 === "string" ? new defpg.default.Pool({
|
104863
|
+
connectionString: connection2
|
104864
|
+
}) : new defpg.default.Pool(connection2);
|
104865
|
+
const db22 = drizzle22(instance2, drizzleConfig);
|
104866
|
+
return db22;
|
104867
|
+
}
|
104868
|
+
const instance = typeof params[0] === "string" ? new defpg.default.Pool({
|
104869
|
+
connectionString: params[0]
|
104870
|
+
}) : new defpg.default.Pool(params[0]);
|
104871
|
+
const db2 = drizzle22(instance);
|
104837
104872
|
return db2;
|
104838
104873
|
}
|
104839
104874
|
case "aws-data-api-pg": {
|
104875
|
+
const { connection: connection2, ...drizzleConfig } = params[0];
|
104876
|
+
const { resourceArn, database, secretArn, ...rdsConfig } = connection2;
|
104840
104877
|
const { RDSDataClient: RDSDataClient2 } = await Promise.resolve().then(() => (init_dist_es54(), dist_es_exports14)).catch(
|
104841
104878
|
() => importError("@aws-sdk/client-rds-data")
|
104842
104879
|
);
|
104843
104880
|
const { drizzle: drizzle22 } = await Promise.resolve().then(() => (init_pg(), pg_exports));
|
104844
|
-
const instance = new RDSDataClient2(
|
104845
|
-
const db2 = drizzle22(instance, drizzleConfig);
|
104846
|
-
db2.$client = instance;
|
104881
|
+
const instance = new RDSDataClient2(rdsConfig);
|
104882
|
+
const db2 = drizzle22(instance, { resourceArn, database, secretArn, ...drizzleConfig });
|
104847
104883
|
return db2;
|
104848
104884
|
}
|
104849
104885
|
case "better-sqlite3": {
|
104850
104886
|
const { default: Client4 } = await Promise.resolve().then(() => __toESM(require_lib4(), 1)).catch(() => importError("better-sqlite3"));
|
104851
104887
|
const { drizzle: drizzle22 } = await Promise.resolve().then(() => (init_better_sqlite3(), better_sqlite3_exports));
|
104852
|
-
if (typeof
|
104853
|
-
const {
|
104854
|
-
|
104888
|
+
if (typeof params[0] === "object") {
|
104889
|
+
const { connection: connection2, ...drizzleConfig } = params[0];
|
104890
|
+
if (typeof connection2 === "object") {
|
104891
|
+
const { source, ...options } = connection2;
|
104892
|
+
const instance3 = new Client4(source, options);
|
104893
|
+
const db3 = drizzle22(instance3, drizzleConfig);
|
104894
|
+
return db3;
|
104895
|
+
}
|
104896
|
+
const instance2 = new Client4(connection2);
|
104855
104897
|
const db22 = drizzle22(instance2, drizzleConfig);
|
104856
|
-
db22.$client = instance2;
|
104857
104898
|
return db22;
|
104858
104899
|
}
|
104859
|
-
const instance = new Client4(
|
104860
|
-
const db2 = drizzle22(instance
|
104861
|
-
db2.$client = instance;
|
104900
|
+
const instance = new Client4(params[0]);
|
104901
|
+
const db2 = drizzle22(instance);
|
104862
104902
|
return db2;
|
104863
104903
|
}
|
104864
104904
|
case "bun:sqlite": {
|
104865
|
-
const { Database: Client4 } = await import("bun:sqlite").catch(() =>
|
104905
|
+
const { Database: Client4 } = await import("bun:sqlite").catch(() => {
|
104906
|
+
throw new Error(`Please use bun to use 'bun:sqlite' for Drizzle ORM to connect to database`);
|
104907
|
+
});
|
104866
104908
|
const { drizzle: drizzle22 } = await Promise.resolve().then(() => (init_bun_sqlite(), bun_sqlite_exports));
|
104867
|
-
if (typeof
|
104868
|
-
const {
|
104869
|
-
|
104909
|
+
if (typeof params[0] === "object") {
|
104910
|
+
const { connection: connection2, ...drizzleConfig } = params[0];
|
104911
|
+
if (typeof connection2 === "object") {
|
104912
|
+
const { source, ...opts } = connection2;
|
104913
|
+
const options = Object.values(opts).filter((v8) => v8 !== void 0).length ? opts : void 0;
|
104914
|
+
const instance3 = new Client4(source, options);
|
104915
|
+
const db3 = drizzle22(instance3, drizzleConfig);
|
104916
|
+
return db3;
|
104917
|
+
}
|
104918
|
+
const instance2 = new Client4(connection2);
|
104870
104919
|
const db22 = drizzle22(instance2, drizzleConfig);
|
104871
|
-
db22.$client = instance2;
|
104872
104920
|
return db22;
|
104873
104921
|
}
|
104874
|
-
const instance = new Client4(
|
104875
|
-
const db2 = drizzle22(instance
|
104876
|
-
db2.$client = instance;
|
104922
|
+
const instance = new Client4(params[0]);
|
104923
|
+
const db2 = drizzle22(instance);
|
104877
104924
|
return db2;
|
104878
104925
|
}
|
104879
104926
|
case "d1": {
|
104927
|
+
const { connection: connection2, ...drizzleConfig } = params[0];
|
104880
104928
|
const { drizzle: drizzle22 } = await Promise.resolve().then(() => (init_d1(), d1_exports));
|
104881
104929
|
const db2 = drizzle22(connection2, drizzleConfig);
|
104882
|
-
db2.$client = connection2;
|
104883
104930
|
return db2;
|
104884
104931
|
}
|
104885
|
-
case "libsql":
|
104932
|
+
case "libsql":
|
104933
|
+
case "turso": {
|
104886
104934
|
const { createClient: createClient3 } = await Promise.resolve().then(() => (init_node3(), node_exports)).catch(() => importError("@libsql/client"));
|
104887
104935
|
const { drizzle: drizzle22 } = await Promise.resolve().then(() => (init_libsql(), libsql_exports));
|
104888
|
-
|
104936
|
+
if (typeof params[0] === "string") {
|
104937
|
+
const instance2 = createClient3({
|
104938
|
+
url: params[0]
|
104939
|
+
});
|
104940
|
+
const db22 = drizzle22(instance2);
|
104941
|
+
return db22;
|
104942
|
+
}
|
104943
|
+
const { connection: connection2, ...drizzleConfig } = params[0];
|
104944
|
+
const instance = typeof connection2 === "string" ? createClient3({ url: connection2 }) : createClient3(connection2);
|
104889
104945
|
const db2 = drizzle22(instance, drizzleConfig);
|
104890
|
-
db2.$client = instance;
|
104891
104946
|
return db2;
|
104892
104947
|
}
|
104893
104948
|
case "mysql2": {
|
104894
|
-
const { createPool: createPool2 } = await Promise.resolve().then(() => __toESM(require_promise(), 1)).catch(() => importError("mysql2
|
104895
|
-
const instance = createPool2(connection2);
|
104949
|
+
const { createPool: createPool2 } = await Promise.resolve().then(() => __toESM(require_promise(), 1)).catch(() => importError("mysql2"));
|
104896
104950
|
const { drizzle: drizzle22 } = await Promise.resolve().then(() => (init_mysql2(), mysql2_exports));
|
104897
|
-
|
104898
|
-
|
104951
|
+
if (typeof params[0] === "object") {
|
104952
|
+
const { connection: connection2, ...drizzleConfig } = params[0];
|
104953
|
+
const instance2 = createPool2(connection2);
|
104954
|
+
const db22 = drizzle22(instance2, drizzleConfig);
|
104955
|
+
return db22;
|
104956
|
+
}
|
104957
|
+
const connectionString = params[0];
|
104958
|
+
const instance = createPool2(connectionString);
|
104959
|
+
const db2 = drizzle22(instance);
|
104899
104960
|
return db2;
|
104900
104961
|
}
|
104901
104962
|
case "neon-http": {
|
104902
104963
|
const { neon } = await Promise.resolve().then(() => (init_serverless(), serverless_exports)).catch(() => importError("@neondatabase/serverless"));
|
104903
|
-
const { connectionString, options } = connection2;
|
104904
104964
|
const { drizzle: drizzle22 } = await Promise.resolve().then(() => (init_neon_http(), neon_http_exports));
|
104905
|
-
|
104906
|
-
|
104907
|
-
|
104965
|
+
if (typeof params[0] === "object") {
|
104966
|
+
const { connection: connection2, ...drizzleConfig } = params[0];
|
104967
|
+
if (typeof connection2 === "object") {
|
104968
|
+
const { connectionString, ...options } = connection2;
|
104969
|
+
const instance3 = neon(connectionString, options);
|
104970
|
+
const db3 = drizzle22(instance3, drizzleConfig);
|
104971
|
+
return db3;
|
104972
|
+
}
|
104973
|
+
const instance2 = neon(connection2);
|
104974
|
+
const db22 = drizzle22(instance2, drizzleConfig);
|
104975
|
+
return db22;
|
104976
|
+
}
|
104977
|
+
const instance = neon(params[0]);
|
104978
|
+
const db2 = drizzle22(instance);
|
104908
104979
|
return db2;
|
104909
104980
|
}
|
104910
|
-
case "neon-
|
104981
|
+
case "neon-websocket": {
|
104911
104982
|
const { Pool: Pool2, neonConfig } = await Promise.resolve().then(() => (init_serverless(), serverless_exports)).catch(
|
104912
104983
|
() => importError("@neondatabase/serverless")
|
104913
104984
|
);
|
104914
104985
|
const { drizzle: drizzle22 } = await Promise.resolve().then(() => (init_neon_serverless(), neon_serverless_exports));
|
104915
|
-
|
104916
|
-
|
104917
|
-
|
104986
|
+
if (typeof params[0] === "string") {
|
104987
|
+
const instance2 = new Pool2({
|
104988
|
+
connectionString: params[0]
|
104989
|
+
});
|
104990
|
+
const db22 = drizzle22(instance2);
|
104991
|
+
return db22;
|
104918
104992
|
}
|
104919
|
-
|
104920
|
-
|
104993
|
+
if (typeof params[0] === "object") {
|
104994
|
+
const { connection: connection2, ws: ws3, ...drizzleConfig } = params[0];
|
104995
|
+
if (ws3) {
|
104996
|
+
neonConfig.webSocketConstructor = ws3;
|
104997
|
+
}
|
104998
|
+
const instance2 = typeof connection2 === "string" ? new Pool2({
|
104999
|
+
connectionString: connection2
|
105000
|
+
}) : new Pool2(connection2);
|
105001
|
+
const db22 = drizzle22(instance2, drizzleConfig);
|
105002
|
+
return db22;
|
105003
|
+
}
|
105004
|
+
const instance = new Pool2();
|
105005
|
+
const db2 = drizzle22(instance);
|
104921
105006
|
return db2;
|
104922
105007
|
}
|
104923
105008
|
case "planetscale": {
|
104924
105009
|
const { Client: Client4 } = await Promise.resolve().then(() => (init_dist(), dist_exports)).catch(() => importError("@planetscale/database"));
|
104925
105010
|
const { drizzle: drizzle22 } = await Promise.resolve().then(() => (init_planetscale_serverless(), planetscale_serverless_exports));
|
104926
|
-
|
104927
|
-
connection2
|
104928
|
-
|
104929
|
-
|
104930
|
-
|
105011
|
+
if (typeof params[0] === "object") {
|
105012
|
+
const { connection: connection2, ...drizzleConfig } = params[0];
|
105013
|
+
const instance2 = typeof connection2 === "string" ? new Client4({
|
105014
|
+
url: connection2
|
105015
|
+
}) : new Client4(
|
105016
|
+
connection2
|
105017
|
+
);
|
105018
|
+
const db22 = drizzle22(instance2, drizzleConfig);
|
105019
|
+
return db22;
|
105020
|
+
}
|
105021
|
+
const instance = new Client4({
|
105022
|
+
url: params[0]
|
105023
|
+
});
|
105024
|
+
const db2 = drizzle22(instance);
|
104931
105025
|
return db2;
|
104932
105026
|
}
|
104933
105027
|
case "postgres-js": {
|
104934
105028
|
const { default: client2 } = await Promise.resolve().then(() => (init_src(), src_exports)).catch(() => importError("postgres"));
|
104935
105029
|
const { drizzle: drizzle22 } = await Promise.resolve().then(() => (init_postgres_js(), postgres_js_exports));
|
104936
|
-
|
104937
|
-
|
104938
|
-
|
105030
|
+
if (typeof params[0] === "object") {
|
105031
|
+
const { connection: connection2, ...drizzleConfig } = params[0];
|
105032
|
+
if (typeof connection2 === "object" && connection2.url !== void 0) {
|
105033
|
+
const { url, ...config } = connection2;
|
105034
|
+
const instance3 = client2(url, config);
|
105035
|
+
const db3 = drizzle22(instance3, drizzleConfig);
|
105036
|
+
return db3;
|
105037
|
+
}
|
105038
|
+
const instance2 = client2(connection2);
|
105039
|
+
const db22 = drizzle22(instance2, drizzleConfig);
|
105040
|
+
return db22;
|
105041
|
+
}
|
105042
|
+
const instance = client2(params[0]);
|
105043
|
+
const db2 = drizzle22(instance);
|
104939
105044
|
return db2;
|
104940
105045
|
}
|
104941
105046
|
case "tidb-serverless": {
|
104942
105047
|
const { connect: connect3 } = await Promise.resolve().then(() => (init_dist2(), dist_exports2)).catch(() => importError("@tidbcloud/serverless"));
|
104943
105048
|
const { drizzle: drizzle22 } = await Promise.resolve().then(() => (init_tidb_serverless(), tidb_serverless_exports));
|
104944
|
-
|
105049
|
+
if (typeof params[0] === "string") {
|
105050
|
+
const instance2 = connect3({
|
105051
|
+
url: params[0]
|
105052
|
+
});
|
105053
|
+
const db22 = drizzle22(instance2);
|
105054
|
+
return db22;
|
105055
|
+
}
|
105056
|
+
const { connection: connection2, ...drizzleConfig } = params[0];
|
105057
|
+
const instance = typeof connection2 === "string" ? connect3({
|
105058
|
+
url: connection2
|
105059
|
+
}) : connect3(connection2);
|
104945
105060
|
const db2 = drizzle22(instance, drizzleConfig);
|
104946
|
-
db2.$client = instance;
|
104947
105061
|
return db2;
|
104948
105062
|
}
|
104949
105063
|
case "vercel-postgres": {
|
105064
|
+
const drizzleConfig = params[0];
|
104950
105065
|
const { sql: sql3 } = await Promise.resolve().then(() => (init_index_node(), index_node_exports)).catch(() => importError("@vercel/postgres"));
|
104951
105066
|
const { drizzle: drizzle22 } = await Promise.resolve().then(() => (init_vercel_postgres(), vercel_postgres_exports));
|
104952
105067
|
const db2 = drizzle22(sql3, drizzleConfig);
|
104953
|
-
db2.$client = sql3;
|
104954
105068
|
return db2;
|
104955
105069
|
}
|
104956
105070
|
}
|
@@ -104971,19 +105085,8 @@ var init_monodriver = __esm({
|
|
104971
105085
|
// ../drizzle-orm/dist/migrator.js
|
104972
105086
|
import crypto4 from "crypto";
|
104973
105087
|
import fs4 from "fs";
|
104974
|
-
import path2 from "path";
|
104975
105088
|
function readMigrationFiles(config) {
|
104976
|
-
|
104977
|
-
if (typeof config === "string") {
|
104978
|
-
const configAsString = fs4.readFileSync(path2.resolve(".", config), "utf8");
|
104979
|
-
const jsonConfig = JSON.parse(configAsString);
|
104980
|
-
migrationFolderTo = jsonConfig.out;
|
104981
|
-
} else {
|
104982
|
-
migrationFolderTo = config.migrationsFolder;
|
104983
|
-
}
|
104984
|
-
if (!migrationFolderTo) {
|
104985
|
-
throw new Error("no migration folder defined");
|
104986
|
-
}
|
105089
|
+
const migrationFolderTo = config.migrationsFolder;
|
104987
105090
|
const migrationQueries = [];
|
104988
105091
|
const journalPath = `${migrationFolderTo}/meta/_journal.json`;
|
104989
105092
|
if (!fs4.existsSync(journalPath)) {
|
@@ -105071,7 +105174,7 @@ __export(migrator_exports4, {
|
|
105071
105174
|
});
|
105072
105175
|
async function migrate4(db2, config) {
|
105073
105176
|
const migrations = readMigrationFiles(config);
|
105074
|
-
const migrationsTable = config
|
105177
|
+
const migrationsTable = config.migrationsTable ?? "__drizzle_migrations";
|
105075
105178
|
const migrationTableCreate = sql`
|
105076
105179
|
CREATE TABLE IF NOT EXISTS ${sql.identifier(migrationsTable)} (
|
105077
105180
|
id SERIAL PRIMARY KEY,
|
@@ -105116,7 +105219,7 @@ __export(migrator_exports5, {
|
|
105116
105219
|
});
|
105117
105220
|
async function migrate5(db2, config) {
|
105118
105221
|
const migrations = readMigrationFiles(config);
|
105119
|
-
const migrationsTable = config
|
105222
|
+
const migrationsTable = config.migrationsTable ?? "__drizzle_migrations";
|
105120
105223
|
const migrationTableCreate = sql`
|
105121
105224
|
CREATE TABLE IF NOT EXISTS ${sql.identifier(migrationsTable)} (
|
105122
105225
|
id SERIAL PRIMARY KEY,
|
@@ -105159,10 +105262,7 @@ __export(migrator_exports6, {
|
|
105159
105262
|
});
|
105160
105263
|
async function migrate6(db2, config) {
|
105161
105264
|
const migrations = readMigrationFiles(config);
|
105162
|
-
|
105163
|
-
migrationsFolder: config
|
105164
|
-
} : config;
|
105165
|
-
await db2.dialect.migrate(migrations, db2.session, preparedConfig);
|
105265
|
+
await db2.dialect.migrate(migrations, db2.session, config);
|
105166
105266
|
}
|
105167
105267
|
var init_migrator7 = __esm({
|
105168
105268
|
"../drizzle-orm/dist/mysql2/migrator.js"() {
|
@@ -105178,8 +105278,8 @@ __export(migrator_exports7, {
|
|
105178
105278
|
});
|
105179
105279
|
async function migrate7(db2, config) {
|
105180
105280
|
const migrations = readMigrationFiles(config);
|
105181
|
-
const migrationsTable =
|
105182
|
-
const migrationsSchema =
|
105281
|
+
const migrationsTable = config.migrationsTable ?? "__drizzle_migrations";
|
105282
|
+
const migrationsSchema = config.migrationsSchema ?? "drizzle";
|
105183
105283
|
const migrationTableCreate = sql`
|
105184
105284
|
CREATE TABLE IF NOT EXISTS ${sql.identifier(migrationsSchema)}.${sql.identifier(migrationsTable)} (
|
105185
105285
|
id SERIAL PRIMARY KEY,
|
@@ -105255,10 +105355,7 @@ __export(migrator_exports10, {
|
|
105255
105355
|
});
|
105256
105356
|
async function migrate10(db2, config) {
|
105257
105357
|
const migrations = readMigrationFiles(config);
|
105258
|
-
|
105259
|
-
migrationsFolder: config
|
105260
|
-
} : config;
|
105261
|
-
await db2.dialect.migrate(migrations, db2.session, preparedConfig);
|
105358
|
+
await db2.dialect.migrate(migrations, db2.session, config);
|
105262
105359
|
}
|
105263
105360
|
var init_migrator11 = __esm({
|
105264
105361
|
"../drizzle-orm/dist/planetscale-serverless/migrator.js"() {
|