drizzle-kit 0.20.17-ab24478 → 0.20.17-ae6e691
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin.cjs +370 -447
- package/index.d.mts +0 -2
- package/index.d.ts +0 -2
- package/package.json +1 -1
- package/payload.d.mts +4 -69
- package/payload.d.ts +4 -69
- package/payload.js +419 -442
- package/payload.mjs +484 -500
- package/utils-studio.js +10 -26
- package/utils-studio.mjs +10 -26
- package/utils.js +9 -25
- package/utils.mjs +9 -25
package/bin.cjs
CHANGED
|
@@ -1464,7 +1464,7 @@ var init_global = __esm({
|
|
|
1464
1464
|
}
|
|
1465
1465
|
});
|
|
1466
1466
|
|
|
1467
|
-
// node_modules/.pnpm/zod@3.23.
|
|
1467
|
+
// node_modules/.pnpm/zod@3.23.5/node_modules/zod/lib/index.mjs
|
|
1468
1468
|
function setErrorMap(map) {
|
|
1469
1469
|
overrideErrorMap = map;
|
|
1470
1470
|
}
|
|
@@ -1651,7 +1651,7 @@ function custom(check, params = {}, fatal) {
|
|
|
1651
1651
|
}
|
|
1652
1652
|
var util, objectUtil, ZodParsedType, getParsedType, ZodIssueCode, quotelessJson, ZodError, errorMap, overrideErrorMap, makeIssue, EMPTY_PATH, ParseStatus, INVALID, DIRTY, OK, isAborted, isDirty, isValid, isAsync, errorUtil, _ZodEnum_cache, _ZodNativeEnum_cache, ParseInputLazyPath, handleResult, ZodType, cuidRegex, cuid2Regex, ulidRegex, uuidRegex, nanoidRegex, durationRegex, emailRegex, _emojiRegex, emojiRegex, ipv4Regex, ipv6Regex, base64Regex, dateRegexSource, dateRegex, ZodString, ZodNumber, ZodBigInt, ZodBoolean, ZodDate, ZodSymbol, ZodUndefined, ZodNull, ZodAny, ZodUnknown, ZodNever, ZodVoid, ZodArray, ZodObject, ZodUnion, getDiscriminator, ZodDiscriminatedUnion, ZodIntersection, ZodTuple, ZodRecord, ZodMap, ZodSet, ZodFunction, ZodLazy, ZodLiteral, ZodEnum, ZodNativeEnum, ZodPromise, ZodEffects, ZodOptional, ZodNullable, ZodDefault, ZodCatch, ZodNaN, BRAND, ZodBranded, ZodPipeline, ZodReadonly, late, ZodFirstPartyTypeKind, instanceOfType, stringType, numberType, nanType, bigIntType, booleanType, dateType, symbolType, undefinedType, nullType, anyType, unknownType, neverType, voidType, arrayType, objectType, strictObjectType, unionType, discriminatedUnionType, intersectionType, tupleType, recordType, mapType, setType, functionType, lazyType, literalType, enumType, nativeEnumType, promiseType, effectsType, optionalType, nullableType, preprocessType, pipelineType, ostring, onumber, oboolean, coerce, NEVER, z;
|
|
1653
1653
|
var init_lib = __esm({
|
|
1654
|
-
"node_modules/.pnpm/zod@3.23.
|
|
1654
|
+
"node_modules/.pnpm/zod@3.23.5/node_modules/zod/lib/index.mjs"() {
|
|
1655
1655
|
(function(util2) {
|
|
1656
1656
|
util2.assertEqual = (val2) => val2;
|
|
1657
1657
|
function assertIs(_arg) {
|
|
@@ -5152,13 +5152,10 @@ var init_lib = __esm({
|
|
|
5152
5152
|
ZodReadonly = class extends ZodType {
|
|
5153
5153
|
_parse(input) {
|
|
5154
5154
|
const result = this._def.innerType._parse(input);
|
|
5155
|
-
|
|
5156
|
-
|
|
5157
|
-
|
|
5158
|
-
|
|
5159
|
-
return data;
|
|
5160
|
-
};
|
|
5161
|
-
return isAsync(result) ? result.then((data) => freeze(data)) : freeze(result);
|
|
5155
|
+
if (isValid(result)) {
|
|
5156
|
+
result.value = Object.freeze(result.value);
|
|
5157
|
+
}
|
|
5158
|
+
return result;
|
|
5162
5159
|
}
|
|
5163
5160
|
unwrap() {
|
|
5164
5161
|
return this._def.innerType;
|
|
@@ -5984,7 +5981,7 @@ var init_pgSchema = __esm({
|
|
|
5984
5981
|
});
|
|
5985
5982
|
|
|
5986
5983
|
// src/serializer/sqliteSchema.ts
|
|
5987
|
-
var index3, fk3, compositePK3, column3, tableV33, uniqueConstraint3, table3, dialect2, schemaHash3, schemaInternalV32, schemaInternalV42,
|
|
5984
|
+
var index3, fk3, compositePK3, column3, tableV33, uniqueConstraint3, table3, dialect2, schemaHash3, schemaInternalV32, schemaInternalV42, latestVersion, schemaInternal2, schemaV32, schemaV42, schema3, tableSquashed3, schemaSquashed2, SQLiteSquasher, squashSqliteScheme, drySQLite, sqliteSchema, SQLiteSchemaSquashed, backwardCompatibleSqliteSchema;
|
|
5988
5985
|
var init_sqliteSchema = __esm({
|
|
5989
5986
|
"src/serializer/sqliteSchema.ts"() {
|
|
5990
5987
|
"use strict";
|
|
@@ -6052,17 +6049,7 @@ var init_sqliteSchema = __esm({
|
|
|
6052
6049
|
tables: recordType(stringType(), table3),
|
|
6053
6050
|
enums: objectType({})
|
|
6054
6051
|
}).strict();
|
|
6055
|
-
|
|
6056
|
-
version: literalType("5"),
|
|
6057
|
-
dialect: dialect2,
|
|
6058
|
-
tables: recordType(stringType(), table3),
|
|
6059
|
-
enums: objectType({}),
|
|
6060
|
-
_meta: objectType({
|
|
6061
|
-
tables: recordType(stringType(), stringType()),
|
|
6062
|
-
columns: recordType(stringType(), stringType())
|
|
6063
|
-
})
|
|
6064
|
-
}).strict();
|
|
6065
|
-
latestVersion = literalType("6");
|
|
6052
|
+
latestVersion = literalType("5");
|
|
6066
6053
|
schemaInternal2 = objectType({
|
|
6067
6054
|
version: latestVersion,
|
|
6068
6055
|
dialect: dialect2,
|
|
@@ -6075,7 +6062,6 @@ var init_sqliteSchema = __esm({
|
|
|
6075
6062
|
}).strict();
|
|
6076
6063
|
schemaV32 = schemaInternalV32.merge(schemaHash3).strict();
|
|
6077
6064
|
schemaV42 = schemaInternalV42.merge(schemaHash3).strict();
|
|
6078
|
-
schemaV52 = schemaInternalV52.merge(schemaHash3).strict();
|
|
6079
6065
|
schema3 = schemaInternal2.merge(schemaHash3).strict();
|
|
6080
6066
|
tableSquashed3 = objectType({
|
|
6081
6067
|
name: stringType(),
|
|
@@ -6176,14 +6162,14 @@ var init_sqliteSchema = __esm({
|
|
|
6176
6162
|
})
|
|
6177
6163
|
);
|
|
6178
6164
|
return {
|
|
6179
|
-
version: "
|
|
6165
|
+
version: "5",
|
|
6180
6166
|
dialect: json.dialect,
|
|
6181
6167
|
tables: mappedTables,
|
|
6182
6168
|
enums: json.enums
|
|
6183
6169
|
};
|
|
6184
6170
|
};
|
|
6185
6171
|
drySQLite = schema3.parse({
|
|
6186
|
-
version: "
|
|
6172
|
+
version: "5",
|
|
6187
6173
|
dialect: "sqlite",
|
|
6188
6174
|
id: originUUID,
|
|
6189
6175
|
prevId: "",
|
|
@@ -6194,10 +6180,9 @@ var init_sqliteSchema = __esm({
|
|
|
6194
6180
|
columns: {}
|
|
6195
6181
|
}
|
|
6196
6182
|
});
|
|
6197
|
-
sqliteSchemaV5 = schemaV52;
|
|
6198
6183
|
sqliteSchema = schema3;
|
|
6199
6184
|
SQLiteSchemaSquashed = schemaSquashed2;
|
|
6200
|
-
backwardCompatibleSqliteSchema =
|
|
6185
|
+
backwardCompatibleSqliteSchema = schema3;
|
|
6201
6186
|
}
|
|
6202
6187
|
});
|
|
6203
6188
|
|
|
@@ -6259,7 +6244,7 @@ var init_utils = __esm({
|
|
|
6259
6244
|
case "postgresql":
|
|
6260
6245
|
return { validator: backwardCompatiblePgSchema, version: 6 };
|
|
6261
6246
|
case "sqlite":
|
|
6262
|
-
return { validator: backwardCompatibleSqliteSchema, version:
|
|
6247
|
+
return { validator: backwardCompatibleSqliteSchema, version: 5 };
|
|
6263
6248
|
case "mysql":
|
|
6264
6249
|
return { validator: backwardCompatibleMysqlSchema, version: 5 };
|
|
6265
6250
|
}
|
|
@@ -6280,7 +6265,6 @@ var init_utils = __esm({
|
|
|
6280
6265
|
}
|
|
6281
6266
|
const result2 = validator2.safeParse(raw2);
|
|
6282
6267
|
if (!result2.success) {
|
|
6283
|
-
console.error(result2.error);
|
|
6284
6268
|
accum.malformed.push(it);
|
|
6285
6269
|
return accum;
|
|
6286
6270
|
}
|
|
@@ -7103,7 +7087,7 @@ var require_coerce = __commonJS({
|
|
|
7103
7087
|
var SemVer = require_semver();
|
|
7104
7088
|
var parse6 = require_parse();
|
|
7105
7089
|
var { safeRe: re2, t } = require_re();
|
|
7106
|
-
var
|
|
7090
|
+
var coerce2 = (version2, options) => {
|
|
7107
7091
|
if (version2 instanceof SemVer) {
|
|
7108
7092
|
return version2;
|
|
7109
7093
|
}
|
|
@@ -7138,7 +7122,7 @@ var require_coerce = __commonJS({
|
|
|
7138
7122
|
const build = options.includePrerelease && match2[6] ? `+${match2[6]}` : "";
|
|
7139
7123
|
return parse6(`${major}.${minor}.${patch}${prerelease}${build}`, options);
|
|
7140
7124
|
};
|
|
7141
|
-
module2.exports =
|
|
7125
|
+
module2.exports = coerce2;
|
|
7142
7126
|
}
|
|
7143
7127
|
});
|
|
7144
7128
|
|
|
@@ -8755,7 +8739,7 @@ var require_semver2 = __commonJS({
|
|
|
8755
8739
|
var gte = require_gte();
|
|
8756
8740
|
var lte = require_lte();
|
|
8757
8741
|
var cmp = require_cmp();
|
|
8758
|
-
var
|
|
8742
|
+
var coerce2 = require_coerce();
|
|
8759
8743
|
var Comparator = require_comparator();
|
|
8760
8744
|
var Range = require_range();
|
|
8761
8745
|
var satisfies = require_satisfies();
|
|
@@ -8793,7 +8777,7 @@ var require_semver2 = __commonJS({
|
|
|
8793
8777
|
gte,
|
|
8794
8778
|
lte,
|
|
8795
8779
|
cmp,
|
|
8796
|
-
coerce:
|
|
8780
|
+
coerce: coerce2,
|
|
8797
8781
|
Comparator,
|
|
8798
8782
|
Range,
|
|
8799
8783
|
satisfies,
|
|
@@ -8821,19 +8805,12 @@ var require_semver2 = __commonJS({
|
|
|
8821
8805
|
});
|
|
8822
8806
|
|
|
8823
8807
|
// src/cli/utils.ts
|
|
8824
|
-
var import_semver,
|
|
8808
|
+
var import_semver, assertStudioNodeVersion, checkPackage, assertPackages, requiredApiVersion, assertOrmCoreVersion, ormCoreVersions;
|
|
8825
8809
|
var init_utils2 = __esm({
|
|
8826
8810
|
"src/cli/utils.ts"() {
|
|
8827
8811
|
"use strict";
|
|
8828
8812
|
init_views();
|
|
8829
8813
|
import_semver = __toESM(require_semver2());
|
|
8830
|
-
ormVersionGt = async (version2) => {
|
|
8831
|
-
const { npmVersion } = await import("drizzle-orm/version");
|
|
8832
|
-
if (!import_semver.default.gte(npmVersion, version2)) {
|
|
8833
|
-
return false;
|
|
8834
|
-
}
|
|
8835
|
-
return true;
|
|
8836
|
-
};
|
|
8837
8814
|
assertStudioNodeVersion = () => {
|
|
8838
8815
|
if (import_semver.default.gte(process.version, "18.0.0"))
|
|
8839
8816
|
return;
|
|
@@ -9098,20 +9075,7 @@ var init_mysql = __esm({
|
|
|
9098
9075
|
port: coerce.number().optional(),
|
|
9099
9076
|
user: stringType().default("mysql"),
|
|
9100
9077
|
password: stringType().optional(),
|
|
9101
|
-
database: stringType()
|
|
9102
|
-
ssl: unionType([
|
|
9103
|
-
stringType(),
|
|
9104
|
-
objectType({
|
|
9105
|
-
pfx: stringType().optional(),
|
|
9106
|
-
key: stringType().optional(),
|
|
9107
|
-
passphrase: stringType().optional(),
|
|
9108
|
-
cert: stringType().optional(),
|
|
9109
|
-
ca: unionType([stringType(), stringType().array()]).optional(),
|
|
9110
|
-
crl: unionType([stringType(), stringType().array()]).optional(),
|
|
9111
|
-
ciphers: stringType().optional(),
|
|
9112
|
-
rejectUnauthorized: booleanType().optional()
|
|
9113
|
-
})
|
|
9114
|
-
]).optional()
|
|
9078
|
+
database: stringType()
|
|
9115
9079
|
}),
|
|
9116
9080
|
objectType({
|
|
9117
9081
|
url: stringType()
|
|
@@ -9231,7 +9195,7 @@ var init_schemaValidator = __esm({
|
|
|
9231
9195
|
});
|
|
9232
9196
|
|
|
9233
9197
|
// src/cli/validations/common.ts
|
|
9234
|
-
var assertCollisions, sqliteDriver, postgresDriver, mysqlDriver, driver, configCommonSchema, casing, introspectParams, configIntrospectCliSchema, configGenerateSchema, configPushSchema;
|
|
9198
|
+
var assertCollisions, sqliteDriver, postgresDriver, mysqlDriver, driver, configCommonSchema, casing, introspectParams, configIntrospectCliSchema, configGenerateSchema, configPushSchema, mysqlConnectionSchema, mySqlCliConfigSchema;
|
|
9235
9199
|
var init_common = __esm({
|
|
9236
9200
|
"src/cli/validations/common.ts"() {
|
|
9237
9201
|
"use strict";
|
|
@@ -9270,9 +9234,9 @@ var init_common = __esm({
|
|
|
9270
9234
|
driver = unionType([sqliteDriver, postgresDriver, mysqlDriver]);
|
|
9271
9235
|
configCommonSchema = objectType({
|
|
9272
9236
|
dialect: dialect3,
|
|
9273
|
-
schema: unionType([stringType(), stringType().array()])
|
|
9237
|
+
schema: unionType([stringType(), stringType().array()]),
|
|
9274
9238
|
out: stringType().optional(),
|
|
9275
|
-
breakpoints: booleanType().
|
|
9239
|
+
breakpoints: booleanType().default(true),
|
|
9276
9240
|
driver: driver.optional(),
|
|
9277
9241
|
tablesFilter: unionType([stringType(), stringType().array()]).optional(),
|
|
9278
9242
|
schemaFilter: unionType([stringType(), stringType().array()]).default(["public"])
|
|
@@ -9314,6 +9278,24 @@ var init_common = __esm({
|
|
|
9314
9278
|
strict: booleanType().default(false),
|
|
9315
9279
|
out: stringType().optional()
|
|
9316
9280
|
});
|
|
9281
|
+
mysqlConnectionSchema = unionType([
|
|
9282
|
+
objectType({
|
|
9283
|
+
host: stringType(),
|
|
9284
|
+
port: coerce.number().optional(),
|
|
9285
|
+
user: stringType().default("mysql"),
|
|
9286
|
+
password: stringType().optional(),
|
|
9287
|
+
database: stringType()
|
|
9288
|
+
// ssl: boolean().optional(),
|
|
9289
|
+
}),
|
|
9290
|
+
objectType({
|
|
9291
|
+
connectionString: stringType()
|
|
9292
|
+
}),
|
|
9293
|
+
objectType({})
|
|
9294
|
+
]);
|
|
9295
|
+
mySqlCliConfigSchema = intersectionType(
|
|
9296
|
+
configCommonSchema,
|
|
9297
|
+
mysqlConnectionSchema
|
|
9298
|
+
);
|
|
9317
9299
|
}
|
|
9318
9300
|
});
|
|
9319
9301
|
|
|
@@ -9339,6 +9321,20 @@ var init_cli = __esm({
|
|
|
9339
9321
|
schema: unionType([stringType(), stringType().array()]).optional(),
|
|
9340
9322
|
tablesFilter: unionType([stringType(), stringType().array()]).optional(),
|
|
9341
9323
|
schemaFilter: unionType([stringType(), stringType().array()]).optional().default(["public"]),
|
|
9324
|
+
driver: stringType().optional(),
|
|
9325
|
+
// pg
|
|
9326
|
+
connectionString: stringType().optional(),
|
|
9327
|
+
// mysql
|
|
9328
|
+
uri: stringType().optional(),
|
|
9329
|
+
// turso / libsql / sqlite
|
|
9330
|
+
url: stringType().optional(),
|
|
9331
|
+
host: stringType().optional(),
|
|
9332
|
+
port: stringType().optional(),
|
|
9333
|
+
user: stringType().optional(),
|
|
9334
|
+
password: stringType().optional(),
|
|
9335
|
+
database: stringType().optional(),
|
|
9336
|
+
ssl: stringType().optional(),
|
|
9337
|
+
authToken: stringType().optional(),
|
|
9342
9338
|
verbose: booleanType().optional(),
|
|
9343
9339
|
strict: booleanType().optional()
|
|
9344
9340
|
}).passthrough();
|
|
@@ -9348,6 +9344,19 @@ var init_cli = __esm({
|
|
|
9348
9344
|
out: stringType().optional().default("drizzle"),
|
|
9349
9345
|
tablesFilter: unionType([stringType(), stringType().array()]).optional(),
|
|
9350
9346
|
schemaFilter: unionType([stringType(), stringType().array()]).optional().default(["public"]),
|
|
9347
|
+
driver: stringType().optional(),
|
|
9348
|
+
// mysql / pg
|
|
9349
|
+
connectionString: stringType().optional(),
|
|
9350
|
+
// turso / libsql / sqlite
|
|
9351
|
+
uri: stringType().optional(),
|
|
9352
|
+
host: stringType().optional(),
|
|
9353
|
+
port: stringType().optional(),
|
|
9354
|
+
user: stringType().optional(),
|
|
9355
|
+
password: stringType().optional(),
|
|
9356
|
+
database: stringType().optional(),
|
|
9357
|
+
ssl: stringType().optional(),
|
|
9358
|
+
url: stringType().optional(),
|
|
9359
|
+
authToken: stringType().optional(),
|
|
9351
9360
|
introspectCasing: casing,
|
|
9352
9361
|
breakpoints: booleanType().optional().default(true)
|
|
9353
9362
|
}).passthrough();
|
|
@@ -9386,7 +9395,7 @@ var init_studio = __esm({
|
|
|
9386
9395
|
});
|
|
9387
9396
|
studioConfig = objectType({
|
|
9388
9397
|
dialect: dialect3,
|
|
9389
|
-
schema: unionType([stringType(), stringType().array()])
|
|
9398
|
+
schema: unionType([stringType(), stringType().array()])
|
|
9390
9399
|
});
|
|
9391
9400
|
}
|
|
9392
9401
|
});
|
|
@@ -9527,7 +9536,7 @@ var require_common = __commonJS({
|
|
|
9527
9536
|
function setup(env3) {
|
|
9528
9537
|
createDebug.debug = createDebug;
|
|
9529
9538
|
createDebug.default = createDebug;
|
|
9530
|
-
createDebug.coerce =
|
|
9539
|
+
createDebug.coerce = coerce2;
|
|
9531
9540
|
createDebug.disable = disable;
|
|
9532
9541
|
createDebug.enable = enable;
|
|
9533
9542
|
createDebug.enabled = enabled;
|
|
@@ -9668,7 +9677,7 @@ var require_common = __commonJS({
|
|
|
9668
9677
|
function toNamespace(regexp) {
|
|
9669
9678
|
return regexp.toString().substring(2, regexp.toString().length - 2).replace(/\.\*\?$/, "*");
|
|
9670
9679
|
}
|
|
9671
|
-
function
|
|
9680
|
+
function coerce2(val2) {
|
|
9672
9681
|
if (val2 instanceof Error) {
|
|
9673
9682
|
return val2.stack || val2.message;
|
|
9674
9683
|
}
|
|
@@ -15011,14 +15020,14 @@ var require_node2 = __commonJS({
|
|
|
15011
15020
|
});
|
|
15012
15021
|
|
|
15013
15022
|
// src/cli/commands/utils.ts
|
|
15014
|
-
var import_path2,
|
|
15023
|
+
var import_path2, import_fs3, import_hanji2, assertES5, safeRegister, prepareGenerateConfig, flattenDatabaseCredentials, flattenPull, preparePushConfig, preparePullConfig, prepareStudioConfig, migrateCliParams, migrateConfig, prepareMigrateConfig, assertOutFolder, drizzleConfigFromFile, readDrizzleConfig;
|
|
15015
15024
|
var init_utils4 = __esm({
|
|
15016
15025
|
"src/cli/commands/utils.ts"() {
|
|
15017
15026
|
"use strict";
|
|
15018
15027
|
init_serializer();
|
|
15019
15028
|
import_path2 = require("path");
|
|
15020
15029
|
init_source();
|
|
15021
|
-
|
|
15030
|
+
import_fs3 = require("fs");
|
|
15022
15031
|
init_views();
|
|
15023
15032
|
import_hanji2 = __toESM(require_hanji());
|
|
15024
15033
|
init_global();
|
|
@@ -15076,10 +15085,6 @@ var init_utils4 = __esm({
|
|
|
15076
15085
|
const { schema: schema5, out, config, breakpoints, custom: custom2, name, dialect: dialect7 } = options;
|
|
15077
15086
|
if (!(schema5 && out)) {
|
|
15078
15087
|
const drizzleConfig = await drizzleConfigFromFile(config);
|
|
15079
|
-
if (!drizzleConfig.schema) {
|
|
15080
|
-
console.error(`You have to provide 'schema' param`);
|
|
15081
|
-
process.exit(1);
|
|
15082
|
-
}
|
|
15083
15088
|
return {
|
|
15084
15089
|
dialect: drizzleConfig.dialect,
|
|
15085
15090
|
name,
|
|
@@ -15436,9 +15441,9 @@ var init_utils4 = __esm({
|
|
|
15436
15441
|
return { out: cliConfig.out, dialect: cliConfig.dialect };
|
|
15437
15442
|
};
|
|
15438
15443
|
drizzleConfigFromFile = async (configPath) => {
|
|
15439
|
-
const defaultTsConfigExists = (0,
|
|
15440
|
-
const defaultJsConfigExists = (0,
|
|
15441
|
-
const defaultJsonConfigExists = (0,
|
|
15444
|
+
const defaultTsConfigExists = (0, import_fs3.existsSync)((0, import_path2.join)((0, import_path2.resolve)("drizzle.config.ts")));
|
|
15445
|
+
const defaultJsConfigExists = (0, import_fs3.existsSync)((0, import_path2.join)((0, import_path2.resolve)("drizzle.config.js")));
|
|
15446
|
+
const defaultJsonConfigExists = (0, import_fs3.existsSync)(
|
|
15442
15447
|
(0, import_path2.join)((0, import_path2.resolve)("drizzle.config.json"))
|
|
15443
15448
|
);
|
|
15444
15449
|
const defaultConfigPath = defaultTsConfigExists ? "drizzle.config.ts" : defaultJsConfigExists ? "drizzle.config.js" : "drizzle.config.json";
|
|
@@ -15450,7 +15455,7 @@ var init_utils4 = __esm({
|
|
|
15450
15455
|
);
|
|
15451
15456
|
}
|
|
15452
15457
|
const path5 = (0, import_path2.join)((0, import_path2.resolve)(configPath ?? defaultConfigPath));
|
|
15453
|
-
if (!(0,
|
|
15458
|
+
if (!(0, import_fs3.existsSync)(path5)) {
|
|
15454
15459
|
console.log(`${path5} file does not exist`);
|
|
15455
15460
|
process.exit(1);
|
|
15456
15461
|
}
|
|
@@ -15459,7 +15464,7 @@ var init_utils4 = __esm({
|
|
|
15459
15464
|
const required = require(`${path5}`);
|
|
15460
15465
|
const content = required.default ?? required;
|
|
15461
15466
|
unregister();
|
|
15462
|
-
const res =
|
|
15467
|
+
const res = mySqlCliConfigSchema.safeParse(content);
|
|
15463
15468
|
if (!res.success) {
|
|
15464
15469
|
console.error(res.error);
|
|
15465
15470
|
console.log("Missing required params");
|
|
@@ -15468,8 +15473,8 @@ var init_utils4 = __esm({
|
|
|
15468
15473
|
return res.data;
|
|
15469
15474
|
};
|
|
15470
15475
|
readDrizzleConfig = async (configPath) => {
|
|
15471
|
-
const defaultTsConfigExists = (0,
|
|
15472
|
-
const defaultJsConfigExists = (0,
|
|
15476
|
+
const defaultTsConfigExists = (0, import_fs3.existsSync)((0, import_path2.join)((0, import_path2.resolve)("drizzle.config.ts")));
|
|
15477
|
+
const defaultJsConfigExists = (0, import_fs3.existsSync)((0, import_path2.join)((0, import_path2.resolve)("drizzle.config.js")));
|
|
15473
15478
|
const defaultConfigPath = defaultTsConfigExists ? "drizzle.config.ts" : defaultJsConfigExists ? "drizzle.config.js" : "drizzle.config.json";
|
|
15474
15479
|
if (configPath) {
|
|
15475
15480
|
console.log(
|
|
@@ -15480,7 +15485,7 @@ var init_utils4 = __esm({
|
|
|
15480
15485
|
console.log(source_default.gray(`No config path provided, using default path`));
|
|
15481
15486
|
}
|
|
15482
15487
|
const path5 = (0, import_path2.join)((0, import_path2.resolve)(configPath ?? defaultConfigPath));
|
|
15483
|
-
if (!(0,
|
|
15488
|
+
if (!(0, import_fs3.existsSync)(path5)) {
|
|
15484
15489
|
console.log(source_default.red(`${path5} file does not exist`));
|
|
15485
15490
|
process.exit(1);
|
|
15486
15491
|
}
|
|
@@ -16888,7 +16893,7 @@ var init_sqliteSerializer = __esm({
|
|
|
16888
16893
|
if ((0, import_drizzle_orm7.is)(column7.default, import_drizzle_orm7.SQL)) {
|
|
16889
16894
|
columnToSet.default = sqlToStr(column7.default);
|
|
16890
16895
|
} else {
|
|
16891
|
-
columnToSet.default = typeof column7.default === "string" ? `'${column7.default}'` :
|
|
16896
|
+
columnToSet.default = typeof column7.default === "string" ? `'${column7.default}'` : column7.default;
|
|
16892
16897
|
}
|
|
16893
16898
|
}
|
|
16894
16899
|
columnsObject[column7.name] = columnToSet;
|
|
@@ -17013,7 +17018,7 @@ The unique constraint ${source_default.underline.blue(
|
|
|
17013
17018
|
};
|
|
17014
17019
|
}
|
|
17015
17020
|
return {
|
|
17016
|
-
version: "
|
|
17021
|
+
version: "5",
|
|
17017
17022
|
dialect: "sqlite",
|
|
17018
17023
|
tables: result,
|
|
17019
17024
|
enums: {},
|
|
@@ -17207,7 +17212,7 @@ WHERE
|
|
|
17207
17212
|
progressCallback("enums", 0, "done");
|
|
17208
17213
|
}
|
|
17209
17214
|
return {
|
|
17210
|
-
version: "
|
|
17215
|
+
version: "5",
|
|
17211
17216
|
dialect: "sqlite",
|
|
17212
17217
|
tables: result,
|
|
17213
17218
|
enums: {},
|
|
@@ -17221,11 +17226,11 @@ WHERE
|
|
|
17221
17226
|
});
|
|
17222
17227
|
|
|
17223
17228
|
// src/serializer/index.ts
|
|
17224
|
-
var
|
|
17229
|
+
var import_fs4, import_path3, glob, sqlToStr, serializeMySql, serializePg, serializeSQLite, prepareFilenames;
|
|
17225
17230
|
var init_serializer = __esm({
|
|
17226
17231
|
"src/serializer/index.ts"() {
|
|
17227
17232
|
"use strict";
|
|
17228
|
-
|
|
17233
|
+
import_fs4 = __toESM(require("fs"));
|
|
17229
17234
|
import_path3 = __toESM(require("path"));
|
|
17230
17235
|
glob = __toESM(require("glob"));
|
|
17231
17236
|
init_source();
|
|
@@ -17274,9 +17279,9 @@ ${filenames.join("\n")}
|
|
|
17274
17279
|
const result = path5.reduce((result2, cur) => {
|
|
17275
17280
|
const globbed = glob.sync(cur);
|
|
17276
17281
|
globbed.forEach((it) => {
|
|
17277
|
-
const fileName =
|
|
17278
|
-
const filenames = fileName ? [fileName] :
|
|
17279
|
-
filenames.filter((file) => !
|
|
17282
|
+
const fileName = import_fs4.default.lstatSync(it).isDirectory() ? null : import_path3.default.resolve(it);
|
|
17283
|
+
const filenames = fileName ? [fileName] : import_fs4.default.readdirSync(it).map((file) => import_path3.default.join(import_path3.default.resolve(it), file));
|
|
17284
|
+
filenames.filter((file) => !import_fs4.default.lstatSync(file).isDirectory()).forEach((file) => result2.add(file));
|
|
17280
17285
|
});
|
|
17281
17286
|
return result2;
|
|
17282
17287
|
}, /* @__PURE__ */ new Set());
|
|
@@ -17295,11 +17300,11 @@ ${filenames.join("\n")}
|
|
|
17295
17300
|
});
|
|
17296
17301
|
|
|
17297
17302
|
// src/migrationPreparator.ts
|
|
17298
|
-
var
|
|
17303
|
+
var import_fs5, import_crypto, prepareMySqlDbPushSnapshot, prepareSQLiteDbPushSnapshot, preparePgDbPushSnapshot, prepareMySqlMigrationSnapshot, prepareSqliteMigrationSnapshot, fillPgSnapshot, preparePgMigrationSnapshot, preparePrevSnapshot;
|
|
17299
17304
|
var init_migrationPreparator = __esm({
|
|
17300
17305
|
"src/migrationPreparator.ts"() {
|
|
17301
17306
|
"use strict";
|
|
17302
|
-
|
|
17307
|
+
import_fs5 = __toESM(require("fs"));
|
|
17303
17308
|
import_crypto = require("crypto");
|
|
17304
17309
|
init_serializer();
|
|
17305
17310
|
init_pgSchema();
|
|
@@ -17398,7 +17403,7 @@ var init_migrationPreparator = __esm({
|
|
|
17398
17403
|
prevSnapshot = defaultPrev;
|
|
17399
17404
|
} else {
|
|
17400
17405
|
const lastSnapshot = snapshots[snapshots.length - 1];
|
|
17401
|
-
prevSnapshot = JSON.parse(
|
|
17406
|
+
prevSnapshot = JSON.parse(import_fs5.default.readFileSync(lastSnapshot).toString());
|
|
17402
17407
|
}
|
|
17403
17408
|
return prevSnapshot;
|
|
17404
17409
|
};
|
|
@@ -22547,11 +22552,11 @@ __export(migrate_exports, {
|
|
|
22547
22552
|
tablesResolver: () => tablesResolver,
|
|
22548
22553
|
writeResult: () => writeResult
|
|
22549
22554
|
});
|
|
22550
|
-
var
|
|
22555
|
+
var import_fs6, import_path4, import_hanji3, schemasResolver, tablesResolver, enumsResolver, columnsResolver, prepareAndMigratePg, preparePgPush, prepareMySQLPush, prepareAndMigrateMysql, prepareAndMigrateSqlite, prepareSQLitePush, promptColumnsConflicts, promptNamedWithSchemasConflict, promptSchemasConflict, BREAKPOINT, writeResult, embeddedMigrations, prepareSnapshotFolderName, two;
|
|
22551
22556
|
var init_migrate = __esm({
|
|
22552
22557
|
"src/cli/commands/migrate.ts"() {
|
|
22553
22558
|
"use strict";
|
|
22554
|
-
|
|
22559
|
+
import_fs6 = __toESM(require("fs"));
|
|
22555
22560
|
init_migrationPreparator();
|
|
22556
22561
|
init_snapshotsDiffer();
|
|
22557
22562
|
import_path4 = __toESM(require("path"));
|
|
@@ -23013,7 +23018,7 @@ var init_migrate = __esm({
|
|
|
23013
23018
|
toSave["_meta"] = _meta;
|
|
23014
23019
|
const metaFolderPath = (0, import_path4.join)(outFolder, "meta");
|
|
23015
23020
|
const metaJournal = (0, import_path4.join)(metaFolderPath, "_journal.json");
|
|
23016
|
-
|
|
23021
|
+
import_fs6.default.writeFileSync(
|
|
23017
23022
|
(0, import_path4.join)(metaFolderPath, `${prefix}_snapshot.json`),
|
|
23018
23023
|
JSON.stringify(toSave, null, 2)
|
|
23019
23024
|
);
|
|
@@ -23037,11 +23042,11 @@ ${sql2}
|
|
|
23037
23042
|
tag,
|
|
23038
23043
|
breakpoints
|
|
23039
23044
|
});
|
|
23040
|
-
|
|
23041
|
-
|
|
23045
|
+
import_fs6.default.writeFileSync(metaJournal, JSON.stringify(journal, null, 2));
|
|
23046
|
+
import_fs6.default.writeFileSync(`${outFolder}/${tag}.sql`, sql2);
|
|
23042
23047
|
if (bundle) {
|
|
23043
23048
|
const js = embeddedMigrations(journal);
|
|
23044
|
-
|
|
23049
|
+
import_fs6.default.writeFileSync(`${outFolder}/migrations.js`, js);
|
|
23045
23050
|
}
|
|
23046
23051
|
(0, import_hanji3.render)(
|
|
23047
23052
|
`[${source_default.green(
|
|
@@ -25094,14 +25099,14 @@ var require_to_regex_range = __commonJS({
|
|
|
25094
25099
|
}
|
|
25095
25100
|
return tokens;
|
|
25096
25101
|
}
|
|
25097
|
-
function filterPatterns(arr, comparison, prefix,
|
|
25102
|
+
function filterPatterns(arr, comparison, prefix, intersection, options) {
|
|
25098
25103
|
let result = [];
|
|
25099
25104
|
for (let ele of arr) {
|
|
25100
25105
|
let { string } = ele;
|
|
25101
|
-
if (!
|
|
25106
|
+
if (!intersection && !contains(comparison, "string", string)) {
|
|
25102
25107
|
result.push(prefix + string);
|
|
25103
25108
|
}
|
|
25104
|
-
if (
|
|
25109
|
+
if (intersection && contains(comparison, "string", string)) {
|
|
25105
25110
|
result.push(prefix + string);
|
|
25106
25111
|
}
|
|
25107
25112
|
}
|
|
@@ -38194,10 +38199,10 @@ var init_dist = __esm({
|
|
|
38194
38199
|
}
|
|
38195
38200
|
});
|
|
38196
38201
|
|
|
38197
|
-
// node_modules/.pnpm/hono@4.
|
|
38202
|
+
// node_modules/.pnpm/hono@4.2.9/node_modules/hono/dist/utils/url.js
|
|
38198
38203
|
var splitPath, splitRoutingPath, extractGroupsFromPath, replaceGroupMarks, patternCache, getPattern, getPath, getQueryStrings, getPathNoStrict, mergePath, checkOptionalParameter, _decodeURI, _getQueryParam, getQueryParam, getQueryParams, decodeURIComponent_;
|
|
38199
38204
|
var init_url = __esm({
|
|
38200
|
-
"node_modules/.pnpm/hono@4.
|
|
38205
|
+
"node_modules/.pnpm/hono@4.2.9/node_modules/hono/dist/utils/url.js"() {
|
|
38201
38206
|
splitPath = (path5) => {
|
|
38202
38207
|
const paths = path5.split("/");
|
|
38203
38208
|
if (paths[0] === "") {
|
|
@@ -38392,10 +38397,10 @@ var init_url = __esm({
|
|
|
38392
38397
|
}
|
|
38393
38398
|
});
|
|
38394
38399
|
|
|
38395
|
-
// node_modules/.pnpm/hono@4.
|
|
38400
|
+
// node_modules/.pnpm/hono@4.2.9/node_modules/hono/dist/utils/cookie.js
|
|
38396
38401
|
var validCookieNameRegEx, validCookieValueRegEx, parse;
|
|
38397
38402
|
var init_cookie = __esm({
|
|
38398
|
-
"node_modules/.pnpm/hono@4.
|
|
38403
|
+
"node_modules/.pnpm/hono@4.2.9/node_modules/hono/dist/utils/cookie.js"() {
|
|
38399
38404
|
init_url();
|
|
38400
38405
|
validCookieNameRegEx = /^[\w!#$%&'*.^`|~+-]+$/;
|
|
38401
38406
|
validCookieValueRegEx = /^[ !#-:<-[\]-~]*$/;
|
|
@@ -38424,10 +38429,10 @@ var init_cookie = __esm({
|
|
|
38424
38429
|
}
|
|
38425
38430
|
});
|
|
38426
38431
|
|
|
38427
|
-
// node_modules/.pnpm/hono@4.
|
|
38432
|
+
// node_modules/.pnpm/hono@4.2.9/node_modules/hono/dist/helper/cookie/index.js
|
|
38428
38433
|
var getCookie;
|
|
38429
38434
|
var init_cookie2 = __esm({
|
|
38430
|
-
"node_modules/.pnpm/hono@4.
|
|
38435
|
+
"node_modules/.pnpm/hono@4.2.9/node_modules/hono/dist/helper/cookie/index.js"() {
|
|
38431
38436
|
init_cookie();
|
|
38432
38437
|
getCookie = (c, key, prefix) => {
|
|
38433
38438
|
const cookie = c.req.raw.headers.get("Cookie");
|
|
@@ -38453,10 +38458,10 @@ var init_cookie2 = __esm({
|
|
|
38453
38458
|
}
|
|
38454
38459
|
});
|
|
38455
38460
|
|
|
38456
|
-
// node_modules/.pnpm/hono@4.
|
|
38461
|
+
// node_modules/.pnpm/hono@4.2.9/node_modules/hono/dist/http-exception.js
|
|
38457
38462
|
var HTTPException;
|
|
38458
38463
|
var init_http_exception = __esm({
|
|
38459
|
-
"node_modules/.pnpm/hono@4.
|
|
38464
|
+
"node_modules/.pnpm/hono@4.2.9/node_modules/hono/dist/http-exception.js"() {
|
|
38460
38465
|
HTTPException = class extends Error {
|
|
38461
38466
|
res;
|
|
38462
38467
|
status;
|
|
@@ -38477,16 +38482,16 @@ var init_http_exception = __esm({
|
|
|
38477
38482
|
}
|
|
38478
38483
|
});
|
|
38479
38484
|
|
|
38480
|
-
// node_modules/.pnpm/hono@4.
|
|
38485
|
+
// node_modules/.pnpm/hono@4.2.9/node_modules/hono/dist/utils/crypto.js
|
|
38481
38486
|
var init_crypto = __esm({
|
|
38482
|
-
"node_modules/.pnpm/hono@4.
|
|
38487
|
+
"node_modules/.pnpm/hono@4.2.9/node_modules/hono/dist/utils/crypto.js"() {
|
|
38483
38488
|
}
|
|
38484
38489
|
});
|
|
38485
38490
|
|
|
38486
|
-
// node_modules/.pnpm/hono@4.
|
|
38491
|
+
// node_modules/.pnpm/hono@4.2.9/node_modules/hono/dist/utils/buffer.js
|
|
38487
38492
|
var bufferToFormData;
|
|
38488
38493
|
var init_buffer = __esm({
|
|
38489
|
-
"node_modules/.pnpm/hono@4.
|
|
38494
|
+
"node_modules/.pnpm/hono@4.2.9/node_modules/hono/dist/utils/buffer.js"() {
|
|
38490
38495
|
init_crypto();
|
|
38491
38496
|
bufferToFormData = (arrayBuffer, contentType) => {
|
|
38492
38497
|
const response = new Response(arrayBuffer, {
|
|
@@ -38499,10 +38504,10 @@ var init_buffer = __esm({
|
|
|
38499
38504
|
}
|
|
38500
38505
|
});
|
|
38501
38506
|
|
|
38502
|
-
// node_modules/.pnpm/hono@4.
|
|
38507
|
+
// node_modules/.pnpm/hono@4.2.9/node_modules/hono/dist/validator/validator.js
|
|
38503
38508
|
var validator;
|
|
38504
38509
|
var init_validator = __esm({
|
|
38505
|
-
"node_modules/.pnpm/hono@4.
|
|
38510
|
+
"node_modules/.pnpm/hono@4.2.9/node_modules/hono/dist/validator/validator.js"() {
|
|
38506
38511
|
init_cookie2();
|
|
38507
38512
|
init_http_exception();
|
|
38508
38513
|
init_buffer();
|
|
@@ -38575,17 +38580,17 @@ var init_validator = __esm({
|
|
|
38575
38580
|
}
|
|
38576
38581
|
});
|
|
38577
38582
|
|
|
38578
|
-
// node_modules/.pnpm/hono@4.
|
|
38583
|
+
// node_modules/.pnpm/hono@4.2.9/node_modules/hono/dist/validator/index.js
|
|
38579
38584
|
var init_validator2 = __esm({
|
|
38580
|
-
"node_modules/.pnpm/hono@4.
|
|
38585
|
+
"node_modules/.pnpm/hono@4.2.9/node_modules/hono/dist/validator/index.js"() {
|
|
38581
38586
|
init_validator();
|
|
38582
38587
|
}
|
|
38583
38588
|
});
|
|
38584
38589
|
|
|
38585
|
-
// node_modules/.pnpm/@hono+zod-validator@0.2.1_hono@4.
|
|
38590
|
+
// node_modules/.pnpm/@hono+zod-validator@0.2.1_hono@4.2.9_zod@3.23.5/node_modules/@hono/zod-validator/dist/esm/index.js
|
|
38586
38591
|
var zValidator;
|
|
38587
38592
|
var init_esm = __esm({
|
|
38588
|
-
"node_modules/.pnpm/@hono+zod-validator@0.2.1_hono@4.
|
|
38593
|
+
"node_modules/.pnpm/@hono+zod-validator@0.2.1_hono@4.2.9_zod@3.23.5/node_modules/@hono/zod-validator/dist/esm/index.js"() {
|
|
38589
38594
|
init_validator2();
|
|
38590
38595
|
zValidator = (target, schema5, hook2) => (
|
|
38591
38596
|
// @ts-expect-error not typed well
|
|
@@ -38612,10 +38617,10 @@ var init_esm = __esm({
|
|
|
38612
38617
|
}
|
|
38613
38618
|
});
|
|
38614
38619
|
|
|
38615
|
-
// node_modules/.pnpm/hono@4.
|
|
38620
|
+
// node_modules/.pnpm/hono@4.2.9/node_modules/hono/dist/utils/html.js
|
|
38616
38621
|
var HtmlEscapedCallbackPhase, raw, resolveCallback;
|
|
38617
38622
|
var init_html = __esm({
|
|
38618
|
-
"node_modules/.pnpm/hono@4.
|
|
38623
|
+
"node_modules/.pnpm/hono@4.2.9/node_modules/hono/dist/utils/html.js"() {
|
|
38619
38624
|
HtmlEscapedCallbackPhase = {
|
|
38620
38625
|
Stringify: 1,
|
|
38621
38626
|
BeforeStream: 2,
|
|
@@ -38651,10 +38656,10 @@ var init_html = __esm({
|
|
|
38651
38656
|
}
|
|
38652
38657
|
});
|
|
38653
38658
|
|
|
38654
|
-
// node_modules/.pnpm/hono@4.
|
|
38659
|
+
// node_modules/.pnpm/hono@4.2.9/node_modules/hono/dist/context.js
|
|
38655
38660
|
var TEXT_PLAIN, setHeaders, Context;
|
|
38656
38661
|
var init_context = __esm({
|
|
38657
|
-
"node_modules/.pnpm/hono@4.
|
|
38662
|
+
"node_modules/.pnpm/hono@4.2.9/node_modules/hono/dist/context.js"() {
|
|
38658
38663
|
init_html();
|
|
38659
38664
|
TEXT_PLAIN = "text/plain; charset=UTF-8";
|
|
38660
38665
|
setHeaders = (headers, map = {}) => {
|
|
@@ -38874,10 +38879,10 @@ var init_context = __esm({
|
|
|
38874
38879
|
}
|
|
38875
38880
|
});
|
|
38876
38881
|
|
|
38877
|
-
// node_modules/.pnpm/hono@4.
|
|
38882
|
+
// node_modules/.pnpm/hono@4.2.9/node_modules/hono/dist/compose.js
|
|
38878
38883
|
var compose;
|
|
38879
38884
|
var init_compose = __esm({
|
|
38880
|
-
"node_modules/.pnpm/hono@4.
|
|
38885
|
+
"node_modules/.pnpm/hono@4.2.9/node_modules/hono/dist/compose.js"() {
|
|
38881
38886
|
init_context();
|
|
38882
38887
|
compose = (middleware, onError, onNotFound) => {
|
|
38883
38888
|
return (context, next) => {
|
|
@@ -38928,7 +38933,7 @@ var init_compose = __esm({
|
|
|
38928
38933
|
}
|
|
38929
38934
|
});
|
|
38930
38935
|
|
|
38931
|
-
// node_modules/.pnpm/hono@4.
|
|
38936
|
+
// node_modules/.pnpm/hono@4.2.9/node_modules/hono/dist/utils/body.js
|
|
38932
38937
|
function isFormDataContent(contentType) {
|
|
38933
38938
|
if (contentType === null) {
|
|
38934
38939
|
return false;
|
|
@@ -38959,7 +38964,7 @@ function isArrayField(field) {
|
|
|
38959
38964
|
}
|
|
38960
38965
|
var parseBody, handleParsingAllValues, appendToExistingArray, convertToNewArray;
|
|
38961
38966
|
var init_body = __esm({
|
|
38962
|
-
"node_modules/.pnpm/hono@4.
|
|
38967
|
+
"node_modules/.pnpm/hono@4.2.9/node_modules/hono/dist/utils/body.js"() {
|
|
38963
38968
|
init_request();
|
|
38964
38969
|
parseBody = async (request, options = { all: false }) => {
|
|
38965
38970
|
const headers = request instanceof HonoRequest ? request.raw.headers : request.headers;
|
|
@@ -38987,10 +38992,10 @@ var init_body = __esm({
|
|
|
38987
38992
|
}
|
|
38988
38993
|
});
|
|
38989
38994
|
|
|
38990
|
-
// node_modules/.pnpm/hono@4.
|
|
38995
|
+
// node_modules/.pnpm/hono@4.2.9/node_modules/hono/dist/request.js
|
|
38991
38996
|
var HonoRequest;
|
|
38992
38997
|
var init_request = __esm({
|
|
38993
|
-
"node_modules/.pnpm/hono@4.
|
|
38998
|
+
"node_modules/.pnpm/hono@4.2.9/node_modules/hono/dist/request.js"() {
|
|
38994
38999
|
init_body();
|
|
38995
39000
|
init_url();
|
|
38996
39001
|
HonoRequest = class {
|
|
@@ -39111,10 +39116,10 @@ var init_request = __esm({
|
|
|
39111
39116
|
}
|
|
39112
39117
|
});
|
|
39113
39118
|
|
|
39114
|
-
// node_modules/.pnpm/hono@4.
|
|
39119
|
+
// node_modules/.pnpm/hono@4.2.9/node_modules/hono/dist/router.js
|
|
39115
39120
|
var METHOD_NAME_ALL, METHOD_NAME_ALL_LOWERCASE, METHODS, MESSAGE_MATCHER_IS_ALREADY_BUILT, UnsupportedPathError;
|
|
39116
39121
|
var init_router = __esm({
|
|
39117
|
-
"node_modules/.pnpm/hono@4.
|
|
39122
|
+
"node_modules/.pnpm/hono@4.2.9/node_modules/hono/dist/router.js"() {
|
|
39118
39123
|
METHOD_NAME_ALL = "ALL";
|
|
39119
39124
|
METHOD_NAME_ALL_LOWERCASE = "all";
|
|
39120
39125
|
METHODS = ["get", "post", "put", "delete", "options", "patch"];
|
|
@@ -39124,14 +39129,14 @@ var init_router = __esm({
|
|
|
39124
39129
|
}
|
|
39125
39130
|
});
|
|
39126
39131
|
|
|
39127
|
-
// node_modules/.pnpm/hono@4.
|
|
39132
|
+
// node_modules/.pnpm/hono@4.2.9/node_modules/hono/dist/hono-base.js
|
|
39128
39133
|
function defineDynamicClass() {
|
|
39129
39134
|
return class {
|
|
39130
39135
|
};
|
|
39131
39136
|
}
|
|
39132
39137
|
var COMPOSED_HANDLER, notFoundHandler, errorHandler, Hono;
|
|
39133
39138
|
var init_hono_base = __esm({
|
|
39134
|
-
"node_modules/.pnpm/hono@4.
|
|
39139
|
+
"node_modules/.pnpm/hono@4.2.9/node_modules/hono/dist/hono-base.js"() {
|
|
39135
39140
|
init_compose();
|
|
39136
39141
|
init_context();
|
|
39137
39142
|
init_http_exception();
|
|
@@ -39350,7 +39355,7 @@ var init_hono_base = __esm({
|
|
|
39350
39355
|
}
|
|
39351
39356
|
});
|
|
39352
39357
|
|
|
39353
|
-
// node_modules/.pnpm/hono@4.
|
|
39358
|
+
// node_modules/.pnpm/hono@4.2.9/node_modules/hono/dist/router/reg-exp-router/node.js
|
|
39354
39359
|
function compareKey(a3, b4) {
|
|
39355
39360
|
if (a3.length === 1) {
|
|
39356
39361
|
return b4.length === 1 ? a3 < b4 ? -1 : 1 : -1;
|
|
@@ -39372,7 +39377,7 @@ function compareKey(a3, b4) {
|
|
|
39372
39377
|
}
|
|
39373
39378
|
var LABEL_REG_EXP_STR, ONLY_WILDCARD_REG_EXP_STR, TAIL_WILDCARD_REG_EXP_STR, PATH_ERROR, regExpMetaChars, Node;
|
|
39374
39379
|
var init_node = __esm({
|
|
39375
|
-
"node_modules/.pnpm/hono@4.
|
|
39380
|
+
"node_modules/.pnpm/hono@4.2.9/node_modules/hono/dist/router/reg-exp-router/node.js"() {
|
|
39376
39381
|
LABEL_REG_EXP_STR = "[^/]+";
|
|
39377
39382
|
ONLY_WILDCARD_REG_EXP_STR = ".*";
|
|
39378
39383
|
TAIL_WILDCARD_REG_EXP_STR = "(?:|/.*)";
|
|
@@ -39460,10 +39465,10 @@ var init_node = __esm({
|
|
|
39460
39465
|
}
|
|
39461
39466
|
});
|
|
39462
39467
|
|
|
39463
|
-
// node_modules/.pnpm/hono@4.
|
|
39468
|
+
// node_modules/.pnpm/hono@4.2.9/node_modules/hono/dist/router/reg-exp-router/trie.js
|
|
39464
39469
|
var Trie;
|
|
39465
39470
|
var init_trie = __esm({
|
|
39466
|
-
"node_modules/.pnpm/hono@4.
|
|
39471
|
+
"node_modules/.pnpm/hono@4.2.9/node_modules/hono/dist/router/reg-exp-router/trie.js"() {
|
|
39467
39472
|
init_node();
|
|
39468
39473
|
Trie = class {
|
|
39469
39474
|
context = { varIndex: 0 };
|
|
@@ -39522,7 +39527,7 @@ var init_trie = __esm({
|
|
|
39522
39527
|
}
|
|
39523
39528
|
});
|
|
39524
39529
|
|
|
39525
|
-
// node_modules/.pnpm/hono@4.
|
|
39530
|
+
// node_modules/.pnpm/hono@4.2.9/node_modules/hono/dist/router/reg-exp-router/router.js
|
|
39526
39531
|
function buildWildcardRegExp(path5) {
|
|
39527
39532
|
return wildcardRegExpCache[path5] ??= new RegExp(
|
|
39528
39533
|
path5 === "*" ? "" : `^${path5.replace(
|
|
@@ -39605,7 +39610,7 @@ function findMiddleware(middleware, path5) {
|
|
|
39605
39610
|
}
|
|
39606
39611
|
var emptyParam, nullMatcher, wildcardRegExpCache, RegExpRouter;
|
|
39607
39612
|
var init_router2 = __esm({
|
|
39608
|
-
"node_modules/.pnpm/hono@4.
|
|
39613
|
+
"node_modules/.pnpm/hono@4.2.9/node_modules/hono/dist/router/reg-exp-router/router.js"() {
|
|
39609
39614
|
init_router();
|
|
39610
39615
|
init_url();
|
|
39611
39616
|
init_node();
|
|
@@ -39727,17 +39732,17 @@ var init_router2 = __esm({
|
|
|
39727
39732
|
}
|
|
39728
39733
|
});
|
|
39729
39734
|
|
|
39730
|
-
// node_modules/.pnpm/hono@4.
|
|
39735
|
+
// node_modules/.pnpm/hono@4.2.9/node_modules/hono/dist/router/reg-exp-router/index.js
|
|
39731
39736
|
var init_reg_exp_router = __esm({
|
|
39732
|
-
"node_modules/.pnpm/hono@4.
|
|
39737
|
+
"node_modules/.pnpm/hono@4.2.9/node_modules/hono/dist/router/reg-exp-router/index.js"() {
|
|
39733
39738
|
init_router2();
|
|
39734
39739
|
}
|
|
39735
39740
|
});
|
|
39736
39741
|
|
|
39737
|
-
// node_modules/.pnpm/hono@4.
|
|
39742
|
+
// node_modules/.pnpm/hono@4.2.9/node_modules/hono/dist/router/smart-router/router.js
|
|
39738
39743
|
var SmartRouter;
|
|
39739
39744
|
var init_router3 = __esm({
|
|
39740
|
-
"node_modules/.pnpm/hono@4.
|
|
39745
|
+
"node_modules/.pnpm/hono@4.2.9/node_modules/hono/dist/router/smart-router/router.js"() {
|
|
39741
39746
|
init_router();
|
|
39742
39747
|
SmartRouter = class {
|
|
39743
39748
|
name = "SmartRouter";
|
|
@@ -39794,17 +39799,17 @@ var init_router3 = __esm({
|
|
|
39794
39799
|
}
|
|
39795
39800
|
});
|
|
39796
39801
|
|
|
39797
|
-
// node_modules/.pnpm/hono@4.
|
|
39802
|
+
// node_modules/.pnpm/hono@4.2.9/node_modules/hono/dist/router/smart-router/index.js
|
|
39798
39803
|
var init_smart_router = __esm({
|
|
39799
|
-
"node_modules/.pnpm/hono@4.
|
|
39804
|
+
"node_modules/.pnpm/hono@4.2.9/node_modules/hono/dist/router/smart-router/index.js"() {
|
|
39800
39805
|
init_router3();
|
|
39801
39806
|
}
|
|
39802
39807
|
});
|
|
39803
39808
|
|
|
39804
|
-
// node_modules/.pnpm/hono@4.
|
|
39809
|
+
// node_modules/.pnpm/hono@4.2.9/node_modules/hono/dist/router/trie-router/node.js
|
|
39805
39810
|
var Node2;
|
|
39806
39811
|
var init_node2 = __esm({
|
|
39807
|
-
"node_modules/.pnpm/hono@4.
|
|
39812
|
+
"node_modules/.pnpm/hono@4.2.9/node_modules/hono/dist/router/trie-router/node.js"() {
|
|
39808
39813
|
init_router();
|
|
39809
39814
|
init_url();
|
|
39810
39815
|
Node2 = class {
|
|
@@ -39956,10 +39961,10 @@ var init_node2 = __esm({
|
|
|
39956
39961
|
}
|
|
39957
39962
|
});
|
|
39958
39963
|
|
|
39959
|
-
// node_modules/.pnpm/hono@4.
|
|
39964
|
+
// node_modules/.pnpm/hono@4.2.9/node_modules/hono/dist/router/trie-router/router.js
|
|
39960
39965
|
var TrieRouter;
|
|
39961
39966
|
var init_router4 = __esm({
|
|
39962
|
-
"node_modules/.pnpm/hono@4.
|
|
39967
|
+
"node_modules/.pnpm/hono@4.2.9/node_modules/hono/dist/router/trie-router/router.js"() {
|
|
39963
39968
|
init_url();
|
|
39964
39969
|
init_node2();
|
|
39965
39970
|
TrieRouter = class {
|
|
@@ -39985,17 +39990,17 @@ var init_router4 = __esm({
|
|
|
39985
39990
|
}
|
|
39986
39991
|
});
|
|
39987
39992
|
|
|
39988
|
-
// node_modules/.pnpm/hono@4.
|
|
39993
|
+
// node_modules/.pnpm/hono@4.2.9/node_modules/hono/dist/router/trie-router/index.js
|
|
39989
39994
|
var init_trie_router = __esm({
|
|
39990
|
-
"node_modules/.pnpm/hono@4.
|
|
39995
|
+
"node_modules/.pnpm/hono@4.2.9/node_modules/hono/dist/router/trie-router/index.js"() {
|
|
39991
39996
|
init_router4();
|
|
39992
39997
|
}
|
|
39993
39998
|
});
|
|
39994
39999
|
|
|
39995
|
-
// node_modules/.pnpm/hono@4.
|
|
40000
|
+
// node_modules/.pnpm/hono@4.2.9/node_modules/hono/dist/hono.js
|
|
39996
40001
|
var Hono2;
|
|
39997
40002
|
var init_hono = __esm({
|
|
39998
|
-
"node_modules/.pnpm/hono@4.
|
|
40003
|
+
"node_modules/.pnpm/hono@4.2.9/node_modules/hono/dist/hono.js"() {
|
|
39999
40004
|
init_hono_base();
|
|
40000
40005
|
init_reg_exp_router();
|
|
40001
40006
|
init_smart_router();
|
|
@@ -40011,17 +40016,17 @@ var init_hono = __esm({
|
|
|
40011
40016
|
}
|
|
40012
40017
|
});
|
|
40013
40018
|
|
|
40014
|
-
// node_modules/.pnpm/hono@4.
|
|
40019
|
+
// node_modules/.pnpm/hono@4.2.9/node_modules/hono/dist/index.js
|
|
40015
40020
|
var init_dist2 = __esm({
|
|
40016
|
-
"node_modules/.pnpm/hono@4.
|
|
40021
|
+
"node_modules/.pnpm/hono@4.2.9/node_modules/hono/dist/index.js"() {
|
|
40017
40022
|
init_hono();
|
|
40018
40023
|
}
|
|
40019
40024
|
});
|
|
40020
40025
|
|
|
40021
|
-
// node_modules/.pnpm/hono@4.
|
|
40026
|
+
// node_modules/.pnpm/hono@4.2.9/node_modules/hono/dist/middleware/cors/index.js
|
|
40022
40027
|
var cors;
|
|
40023
40028
|
var init_cors = __esm({
|
|
40024
|
-
"node_modules/.pnpm/hono@4.
|
|
40029
|
+
"node_modules/.pnpm/hono@4.2.9/node_modules/hono/dist/middleware/cors/index.js"() {
|
|
40025
40030
|
cors = (options) => {
|
|
40026
40031
|
const defaults3 = {
|
|
40027
40032
|
origin: "*",
|
|
@@ -41076,9 +41081,9 @@ var require_constants5 = __commonJS({
|
|
|
41076
41081
|
}
|
|
41077
41082
|
});
|
|
41078
41083
|
|
|
41079
|
-
// node_modules/.pnpm/node-gyp-build@4.8.
|
|
41084
|
+
// node_modules/.pnpm/node-gyp-build@4.8.0/node_modules/node-gyp-build/node-gyp-build.js
|
|
41080
41085
|
var require_node_gyp_build = __commonJS({
|
|
41081
|
-
"node_modules/.pnpm/node-gyp-build@4.8.
|
|
41086
|
+
"node_modules/.pnpm/node-gyp-build@4.8.0/node_modules/node-gyp-build/node-gyp-build.js"(exports2, module2) {
|
|
41082
41087
|
var fs9 = require("fs");
|
|
41083
41088
|
var path5 = require("path");
|
|
41084
41089
|
var os4 = require("os");
|
|
@@ -41267,9 +41272,9 @@ var require_node_gyp_build = __commonJS({
|
|
|
41267
41272
|
}
|
|
41268
41273
|
});
|
|
41269
41274
|
|
|
41270
|
-
// node_modules/.pnpm/node-gyp-build@4.8.
|
|
41275
|
+
// node_modules/.pnpm/node-gyp-build@4.8.0/node_modules/node-gyp-build/index.js
|
|
41271
41276
|
var require_node_gyp_build2 = __commonJS({
|
|
41272
|
-
"node_modules/.pnpm/node-gyp-build@4.8.
|
|
41277
|
+
"node_modules/.pnpm/node-gyp-build@4.8.0/node_modules/node-gyp-build/index.js"(exports2, module2) {
|
|
41273
41278
|
var runtimeRequire = typeof __webpack_require__ === "function" ? __non_webpack_require__ : require;
|
|
41274
41279
|
if (typeof runtimeRequire.addon === "function") {
|
|
41275
41280
|
module2.exports = runtimeRequire.addon.bind(runtimeRequire);
|
|
@@ -45158,9 +45163,9 @@ var require_dist_cjs2 = __commonJS({
|
|
|
45158
45163
|
}
|
|
45159
45164
|
});
|
|
45160
45165
|
|
|
45161
|
-
// node_modules/.pnpm/@aws-sdk+middleware-host-header@3.
|
|
45166
|
+
// node_modules/.pnpm/@aws-sdk+middleware-host-header@3.535.0/node_modules/@aws-sdk/middleware-host-header/dist-cjs/index.js
|
|
45162
45167
|
var require_dist_cjs3 = __commonJS({
|
|
45163
|
-
"node_modules/.pnpm/@aws-sdk+middleware-host-header@3.
|
|
45168
|
+
"node_modules/.pnpm/@aws-sdk+middleware-host-header@3.535.0/node_modules/@aws-sdk/middleware-host-header/dist-cjs/index.js"(exports2, module2) {
|
|
45164
45169
|
var __defProp2 = Object.defineProperty;
|
|
45165
45170
|
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
|
|
45166
45171
|
var __getOwnPropNames2 = Object.getOwnPropertyNames;
|
|
@@ -45223,9 +45228,9 @@ var require_dist_cjs3 = __commonJS({
|
|
|
45223
45228
|
}
|
|
45224
45229
|
});
|
|
45225
45230
|
|
|
45226
|
-
// node_modules/.pnpm/@aws-sdk+middleware-logger@3.
|
|
45231
|
+
// node_modules/.pnpm/@aws-sdk+middleware-logger@3.535.0/node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js
|
|
45227
45232
|
var require_dist_cjs4 = __commonJS({
|
|
45228
|
-
"node_modules/.pnpm/@aws-sdk+middleware-logger@3.
|
|
45233
|
+
"node_modules/.pnpm/@aws-sdk+middleware-logger@3.535.0/node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js"(exports2, module2) {
|
|
45229
45234
|
var __defProp2 = Object.defineProperty;
|
|
45230
45235
|
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
|
|
45231
45236
|
var __getOwnPropNames2 = Object.getOwnPropertyNames;
|
|
@@ -45296,9 +45301,9 @@ var require_dist_cjs4 = __commonJS({
|
|
|
45296
45301
|
}
|
|
45297
45302
|
});
|
|
45298
45303
|
|
|
45299
|
-
// node_modules/.pnpm/@aws-sdk+middleware-recursion-detection@3.
|
|
45304
|
+
// node_modules/.pnpm/@aws-sdk+middleware-recursion-detection@3.535.0/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/index.js
|
|
45300
45305
|
var require_dist_cjs5 = __commonJS({
|
|
45301
|
-
"node_modules/.pnpm/@aws-sdk+middleware-recursion-detection@3.
|
|
45306
|
+
"node_modules/.pnpm/@aws-sdk+middleware-recursion-detection@3.535.0/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/index.js"(exports2, module2) {
|
|
45302
45307
|
var __defProp2 = Object.defineProperty;
|
|
45303
45308
|
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
|
|
45304
45309
|
var __getOwnPropNames2 = Object.getOwnPropertyNames;
|
|
@@ -45775,9 +45780,9 @@ var require_dist_cjs6 = __commonJS({
|
|
|
45775
45780
|
}
|
|
45776
45781
|
});
|
|
45777
45782
|
|
|
45778
|
-
// node_modules/.pnpm/@aws-sdk+util-endpoints@3.
|
|
45783
|
+
// node_modules/.pnpm/@aws-sdk+util-endpoints@3.540.0/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js
|
|
45779
45784
|
var require_dist_cjs7 = __commonJS({
|
|
45780
|
-
"node_modules/.pnpm/@aws-sdk+util-endpoints@3.
|
|
45785
|
+
"node_modules/.pnpm/@aws-sdk+util-endpoints@3.540.0/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js"(exports2, module2) {
|
|
45781
45786
|
var __defProp2 = Object.defineProperty;
|
|
45782
45787
|
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
|
|
45783
45788
|
var __getOwnPropNames2 = Object.getOwnPropertyNames;
|
|
@@ -46133,9 +46138,9 @@ var require_dist_cjs7 = __commonJS({
|
|
|
46133
46138
|
}
|
|
46134
46139
|
});
|
|
46135
46140
|
|
|
46136
|
-
// node_modules/.pnpm/@aws-sdk+middleware-user-agent@3.
|
|
46141
|
+
// node_modules/.pnpm/@aws-sdk+middleware-user-agent@3.540.0/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js
|
|
46137
46142
|
var require_dist_cjs8 = __commonJS({
|
|
46138
|
-
"node_modules/.pnpm/@aws-sdk+middleware-user-agent@3.
|
|
46143
|
+
"node_modules/.pnpm/@aws-sdk+middleware-user-agent@3.540.0/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js"(exports2, module2) {
|
|
46139
46144
|
var __defProp2 = Object.defineProperty;
|
|
46140
46145
|
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
|
|
46141
46146
|
var __getOwnPropNames2 = Object.getOwnPropertyNames;
|
|
@@ -53946,9 +53951,9 @@ var require_fxp = __commonJS({
|
|
|
53946
53951
|
}
|
|
53947
53952
|
});
|
|
53948
53953
|
|
|
53949
|
-
// node_modules/.pnpm/@aws-sdk+core@3.
|
|
53954
|
+
// node_modules/.pnpm/@aws-sdk+core@3.556.0/node_modules/@aws-sdk/core/dist-cjs/index.js
|
|
53950
53955
|
var require_dist_cjs36 = __commonJS({
|
|
53951
|
-
"node_modules/.pnpm/@aws-sdk+core@3.
|
|
53956
|
+
"node_modules/.pnpm/@aws-sdk+core@3.556.0/node_modules/@aws-sdk/core/dist-cjs/index.js"(exports2, module2) {
|
|
53952
53957
|
var __defProp2 = Object.defineProperty;
|
|
53953
53958
|
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
|
|
53954
53959
|
var __getOwnPropNames2 = Object.getOwnPropertyNames;
|
|
@@ -53990,6 +53995,15 @@ var require_dist_cjs36 = __commonJS({
|
|
|
53990
53995
|
var emitWarningIfUnsupportedVersion = /* @__PURE__ */ __name((version2) => {
|
|
53991
53996
|
if (version2 && !warningEmitted && parseInt(version2.substring(1, version2.indexOf("."))) < 16) {
|
|
53992
53997
|
warningEmitted = true;
|
|
53998
|
+
process.emitWarning(
|
|
53999
|
+
`NodeDeprecationWarning: The AWS SDK for JavaScript (v3) will
|
|
54000
|
+
no longer support Node.js 14.x on May 1, 2024.
|
|
54001
|
+
|
|
54002
|
+
To continue receiving updates to AWS services, bug fixes, and security
|
|
54003
|
+
updates please upgrade to an active Node.js LTS version.
|
|
54004
|
+
|
|
54005
|
+
More information can be found at: https://a.co/dzr2AJd`
|
|
54006
|
+
);
|
|
53993
54007
|
}
|
|
53994
54008
|
}, "emitWarningIfUnsupportedVersion");
|
|
53995
54009
|
var import_protocol_http = require_dist_cjs2();
|
|
@@ -54338,9 +54352,9 @@ var require_dist_cjs36 = __commonJS({
|
|
|
54338
54352
|
}
|
|
54339
54353
|
});
|
|
54340
54354
|
|
|
54341
|
-
// node_modules/.pnpm/@aws-sdk+client-rds-data@3.
|
|
54355
|
+
// node_modules/.pnpm/@aws-sdk+client-rds-data@3.565.0_@aws-sdk+client-sso-oidc@3.565.0_@aws-sdk+client-sts@3.565.0/node_modules/@aws-sdk/client-rds-data/dist-cjs/auth/httpAuthSchemeProvider.js
|
|
54342
54356
|
var require_httpAuthSchemeProvider = __commonJS({
|
|
54343
|
-
"node_modules/.pnpm/@aws-sdk+client-rds-data@3.
|
|
54357
|
+
"node_modules/.pnpm/@aws-sdk+client-rds-data@3.565.0_@aws-sdk+client-sso-oidc@3.565.0_@aws-sdk+client-sts@3.565.0/node_modules/@aws-sdk/client-rds-data/dist-cjs/auth/httpAuthSchemeProvider.js"(exports2) {
|
|
54344
54358
|
"use strict";
|
|
54345
54359
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
54346
54360
|
exports2.resolveHttpAuthSchemeConfig = exports2.defaultRDSDataHttpAuthSchemeProvider = exports2.defaultRDSDataHttpAuthSchemeParametersProvider = void 0;
|
|
@@ -54936,13 +54950,13 @@ var init_tslib_es6 = __esm({
|
|
|
54936
54950
|
}
|
|
54937
54951
|
});
|
|
54938
54952
|
|
|
54939
|
-
// node_modules/.pnpm/@aws-sdk+client-rds-data@3.
|
|
54953
|
+
// node_modules/.pnpm/@aws-sdk+client-rds-data@3.565.0_@aws-sdk+client-sso-oidc@3.565.0_@aws-sdk+client-sts@3.565.0/node_modules/@aws-sdk/client-rds-data/package.json
|
|
54940
54954
|
var require_package2 = __commonJS({
|
|
54941
|
-
"node_modules/.pnpm/@aws-sdk+client-rds-data@3.
|
|
54955
|
+
"node_modules/.pnpm/@aws-sdk+client-rds-data@3.565.0_@aws-sdk+client-sso-oidc@3.565.0_@aws-sdk+client-sts@3.565.0/node_modules/@aws-sdk/client-rds-data/package.json"(exports2, module2) {
|
|
54942
54956
|
module2.exports = {
|
|
54943
54957
|
name: "@aws-sdk/client-rds-data",
|
|
54944
54958
|
description: "AWS SDK for JavaScript Rds Data Client for Node.js, Browser and React Native",
|
|
54945
|
-
version: "3.
|
|
54959
|
+
version: "3.565.0",
|
|
54946
54960
|
scripts: {
|
|
54947
54961
|
build: "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
54948
54962
|
"build:cjs": "node ../../scripts/compilation/inline client-rds-data",
|
|
@@ -54961,19 +54975,17 @@ var require_package2 = __commonJS({
|
|
|
54961
54975
|
dependencies: {
|
|
54962
54976
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
54963
54977
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
54964
|
-
"@aws-sdk/
|
|
54965
|
-
"@aws-sdk/
|
|
54966
|
-
"@aws-sdk/
|
|
54967
|
-
"@aws-sdk/
|
|
54968
|
-
"@aws-sdk/middleware-
|
|
54969
|
-
"@aws-sdk/middleware-
|
|
54970
|
-
"@aws-sdk/
|
|
54971
|
-
"@aws-sdk/
|
|
54972
|
-
"@aws-sdk/
|
|
54973
|
-
"@aws-sdk/
|
|
54974
|
-
"@aws-sdk/util-
|
|
54975
|
-
"@aws-sdk/util-user-agent-browser": "3.567.0",
|
|
54976
|
-
"@aws-sdk/util-user-agent-node": "3.568.0",
|
|
54978
|
+
"@aws-sdk/core": "3.556.0",
|
|
54979
|
+
"@aws-sdk/credential-provider-node": "3.565.0",
|
|
54980
|
+
"@aws-sdk/middleware-host-header": "3.535.0",
|
|
54981
|
+
"@aws-sdk/middleware-logger": "3.535.0",
|
|
54982
|
+
"@aws-sdk/middleware-recursion-detection": "3.535.0",
|
|
54983
|
+
"@aws-sdk/middleware-user-agent": "3.540.0",
|
|
54984
|
+
"@aws-sdk/region-config-resolver": "3.535.0",
|
|
54985
|
+
"@aws-sdk/types": "3.535.0",
|
|
54986
|
+
"@aws-sdk/util-endpoints": "3.540.0",
|
|
54987
|
+
"@aws-sdk/util-user-agent-browser": "3.535.0",
|
|
54988
|
+
"@aws-sdk/util-user-agent-node": "3.535.0",
|
|
54977
54989
|
"@smithy/config-resolver": "^2.2.0",
|
|
54978
54990
|
"@smithy/core": "^1.4.2",
|
|
54979
54991
|
"@smithy/fetch-http-handler": "^2.5.0",
|
|
@@ -55002,15 +55014,16 @@ var require_package2 = __commonJS({
|
|
|
55002
55014
|
tslib: "^2.6.2"
|
|
55003
55015
|
},
|
|
55004
55016
|
devDependencies: {
|
|
55005
|
-
"@
|
|
55006
|
-
"@
|
|
55017
|
+
"@smithy/service-client-documentation-generator": "^2.2.0",
|
|
55018
|
+
"@tsconfig/node14": "1.0.3",
|
|
55019
|
+
"@types/node": "^14.14.31",
|
|
55007
55020
|
concurrently: "7.0.0",
|
|
55008
55021
|
"downlevel-dts": "0.10.1",
|
|
55009
55022
|
rimraf: "3.0.2",
|
|
55010
55023
|
typescript: "~4.9.5"
|
|
55011
55024
|
},
|
|
55012
55025
|
engines: {
|
|
55013
|
-
node: ">=
|
|
55026
|
+
node: ">=14.0.0"
|
|
55014
55027
|
},
|
|
55015
55028
|
typesVersions: {
|
|
55016
55029
|
"<4.0": {
|
|
@@ -55043,9 +55056,9 @@ var require_package2 = __commonJS({
|
|
|
55043
55056
|
}
|
|
55044
55057
|
});
|
|
55045
55058
|
|
|
55046
|
-
// node_modules/.pnpm/@aws-sdk+credential-provider-env@3.
|
|
55059
|
+
// node_modules/.pnpm/@aws-sdk+credential-provider-env@3.535.0/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js
|
|
55047
55060
|
var require_dist_cjs37 = __commonJS({
|
|
55048
|
-
"node_modules/.pnpm/@aws-sdk+credential-provider-env@3.
|
|
55061
|
+
"node_modules/.pnpm/@aws-sdk+credential-provider-env@3.535.0/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js"(exports2, module2) {
|
|
55049
55062
|
var __defProp2 = Object.defineProperty;
|
|
55050
55063
|
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
|
|
55051
55064
|
var __getOwnPropNames2 = Object.getOwnPropertyNames;
|
|
@@ -55490,9 +55503,9 @@ For more information, please visit: ` + STATIC_STABILITY_DOC_URL
|
|
|
55490
55503
|
}
|
|
55491
55504
|
});
|
|
55492
55505
|
|
|
55493
|
-
// node_modules/.pnpm/@aws-sdk+credential-provider-http@3.
|
|
55506
|
+
// node_modules/.pnpm/@aws-sdk+credential-provider-http@3.552.0/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/checkUrl.js
|
|
55494
55507
|
var require_checkUrl = __commonJS({
|
|
55495
|
-
"node_modules/.pnpm/@aws-sdk+credential-provider-http@3.
|
|
55508
|
+
"node_modules/.pnpm/@aws-sdk+credential-provider-http@3.552.0/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/checkUrl.js"(exports2) {
|
|
55496
55509
|
"use strict";
|
|
55497
55510
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
55498
55511
|
exports2.checkUrl = void 0;
|
|
@@ -55533,9 +55546,9 @@ var require_checkUrl = __commonJS({
|
|
|
55533
55546
|
}
|
|
55534
55547
|
});
|
|
55535
55548
|
|
|
55536
|
-
// node_modules/.pnpm/@aws-sdk+credential-provider-http@3.
|
|
55549
|
+
// node_modules/.pnpm/@aws-sdk+credential-provider-http@3.552.0/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/requestHelpers.js
|
|
55537
55550
|
var require_requestHelpers = __commonJS({
|
|
55538
|
-
"node_modules/.pnpm/@aws-sdk+credential-provider-http@3.
|
|
55551
|
+
"node_modules/.pnpm/@aws-sdk+credential-provider-http@3.552.0/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/requestHelpers.js"(exports2) {
|
|
55539
55552
|
"use strict";
|
|
55540
55553
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
55541
55554
|
exports2.getCredentials = exports2.createGetRequest = void 0;
|
|
@@ -55594,9 +55607,9 @@ var require_requestHelpers = __commonJS({
|
|
|
55594
55607
|
}
|
|
55595
55608
|
});
|
|
55596
55609
|
|
|
55597
|
-
// node_modules/.pnpm/@aws-sdk+credential-provider-http@3.
|
|
55610
|
+
// node_modules/.pnpm/@aws-sdk+credential-provider-http@3.552.0/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/retry-wrapper.js
|
|
55598
55611
|
var require_retry_wrapper = __commonJS({
|
|
55599
|
-
"node_modules/.pnpm/@aws-sdk+credential-provider-http@3.
|
|
55612
|
+
"node_modules/.pnpm/@aws-sdk+credential-provider-http@3.552.0/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/retry-wrapper.js"(exports2) {
|
|
55600
55613
|
"use strict";
|
|
55601
55614
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
55602
55615
|
exports2.retryWrapper = void 0;
|
|
@@ -55616,9 +55629,9 @@ var require_retry_wrapper = __commonJS({
|
|
|
55616
55629
|
}
|
|
55617
55630
|
});
|
|
55618
55631
|
|
|
55619
|
-
// node_modules/.pnpm/@aws-sdk+credential-provider-http@3.
|
|
55632
|
+
// node_modules/.pnpm/@aws-sdk+credential-provider-http@3.552.0/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js
|
|
55620
55633
|
var require_fromHttp = __commonJS({
|
|
55621
|
-
"node_modules/.pnpm/@aws-sdk+credential-provider-http@3.
|
|
55634
|
+
"node_modules/.pnpm/@aws-sdk+credential-provider-http@3.552.0/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js"(exports2) {
|
|
55622
55635
|
"use strict";
|
|
55623
55636
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
55624
55637
|
exports2.fromHttp = void 0;
|
|
@@ -55683,9 +55696,9 @@ Set AWS_CONTAINER_CREDENTIALS_FULL_URI or AWS_CONTAINER_CREDENTIALS_RELATIVE_URI
|
|
|
55683
55696
|
}
|
|
55684
55697
|
});
|
|
55685
55698
|
|
|
55686
|
-
// node_modules/.pnpm/@aws-sdk+credential-provider-http@3.
|
|
55699
|
+
// node_modules/.pnpm/@aws-sdk+credential-provider-http@3.552.0/node_modules/@aws-sdk/credential-provider-http/dist-cjs/index.js
|
|
55687
55700
|
var require_dist_cjs39 = __commonJS({
|
|
55688
|
-
"node_modules/.pnpm/@aws-sdk+credential-provider-http@3.
|
|
55701
|
+
"node_modules/.pnpm/@aws-sdk+credential-provider-http@3.552.0/node_modules/@aws-sdk/credential-provider-http/dist-cjs/index.js"(exports2) {
|
|
55689
55702
|
"use strict";
|
|
55690
55703
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
55691
55704
|
exports2.fromHttp = void 0;
|
|
@@ -55696,9 +55709,9 @@ var require_dist_cjs39 = __commonJS({
|
|
|
55696
55709
|
}
|
|
55697
55710
|
});
|
|
55698
55711
|
|
|
55699
|
-
// node_modules/.pnpm/@aws-sdk+client-sso@3.
|
|
55712
|
+
// node_modules/.pnpm/@aws-sdk+client-sso@3.556.0/node_modules/@aws-sdk/client-sso/dist-cjs/auth/httpAuthSchemeProvider.js
|
|
55700
55713
|
var require_httpAuthSchemeProvider2 = __commonJS({
|
|
55701
|
-
"node_modules/.pnpm/@aws-sdk+client-sso@3.
|
|
55714
|
+
"node_modules/.pnpm/@aws-sdk+client-sso@3.556.0/node_modules/@aws-sdk/client-sso/dist-cjs/auth/httpAuthSchemeProvider.js"(exports2) {
|
|
55702
55715
|
"use strict";
|
|
55703
55716
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
55704
55717
|
exports2.resolveHttpAuthSchemeConfig = exports2.defaultSSOHttpAuthSchemeProvider = exports2.defaultSSOHttpAuthSchemeParametersProvider = void 0;
|
|
@@ -55769,13 +55782,13 @@ var require_httpAuthSchemeProvider2 = __commonJS({
|
|
|
55769
55782
|
}
|
|
55770
55783
|
});
|
|
55771
55784
|
|
|
55772
|
-
// node_modules/.pnpm/@aws-sdk+client-sso@3.
|
|
55785
|
+
// node_modules/.pnpm/@aws-sdk+client-sso@3.556.0/node_modules/@aws-sdk/client-sso/package.json
|
|
55773
55786
|
var require_package3 = __commonJS({
|
|
55774
|
-
"node_modules/.pnpm/@aws-sdk+client-sso@3.
|
|
55787
|
+
"node_modules/.pnpm/@aws-sdk+client-sso@3.556.0/node_modules/@aws-sdk/client-sso/package.json"(exports2, module2) {
|
|
55775
55788
|
module2.exports = {
|
|
55776
55789
|
name: "@aws-sdk/client-sso",
|
|
55777
55790
|
description: "AWS SDK for JavaScript Sso Client for Node.js, Browser and React Native",
|
|
55778
|
-
version: "3.
|
|
55791
|
+
version: "3.556.0",
|
|
55779
55792
|
scripts: {
|
|
55780
55793
|
build: "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
55781
55794
|
"build:cjs": "node ../../scripts/compilation/inline client-sso",
|
|
@@ -55794,16 +55807,16 @@ var require_package3 = __commonJS({
|
|
|
55794
55807
|
dependencies: {
|
|
55795
55808
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
55796
55809
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
55797
|
-
"@aws-sdk/core": "3.
|
|
55798
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
55799
|
-
"@aws-sdk/middleware-logger": "3.
|
|
55800
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
55801
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
55802
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
55803
|
-
"@aws-sdk/types": "3.
|
|
55804
|
-
"@aws-sdk/util-endpoints": "3.
|
|
55805
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
55806
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
55810
|
+
"@aws-sdk/core": "3.556.0",
|
|
55811
|
+
"@aws-sdk/middleware-host-header": "3.535.0",
|
|
55812
|
+
"@aws-sdk/middleware-logger": "3.535.0",
|
|
55813
|
+
"@aws-sdk/middleware-recursion-detection": "3.535.0",
|
|
55814
|
+
"@aws-sdk/middleware-user-agent": "3.540.0",
|
|
55815
|
+
"@aws-sdk/region-config-resolver": "3.535.0",
|
|
55816
|
+
"@aws-sdk/types": "3.535.0",
|
|
55817
|
+
"@aws-sdk/util-endpoints": "3.540.0",
|
|
55818
|
+
"@aws-sdk/util-user-agent-browser": "3.535.0",
|
|
55819
|
+
"@aws-sdk/util-user-agent-node": "3.535.0",
|
|
55807
55820
|
"@smithy/config-resolver": "^2.2.0",
|
|
55808
55821
|
"@smithy/core": "^1.4.2",
|
|
55809
55822
|
"@smithy/fetch-http-handler": "^2.5.0",
|
|
@@ -55832,15 +55845,16 @@ var require_package3 = __commonJS({
|
|
|
55832
55845
|
tslib: "^2.6.2"
|
|
55833
55846
|
},
|
|
55834
55847
|
devDependencies: {
|
|
55835
|
-
"@
|
|
55836
|
-
"@
|
|
55848
|
+
"@smithy/service-client-documentation-generator": "^2.2.0",
|
|
55849
|
+
"@tsconfig/node14": "1.0.3",
|
|
55850
|
+
"@types/node": "^14.14.31",
|
|
55837
55851
|
concurrently: "7.0.0",
|
|
55838
55852
|
"downlevel-dts": "0.10.1",
|
|
55839
55853
|
rimraf: "3.0.2",
|
|
55840
55854
|
typescript: "~4.9.5"
|
|
55841
55855
|
},
|
|
55842
55856
|
engines: {
|
|
55843
|
-
node: ">=
|
|
55857
|
+
node: ">=14.0.0"
|
|
55844
55858
|
},
|
|
55845
55859
|
typesVersions: {
|
|
55846
55860
|
"<4.0": {
|
|
@@ -55873,9 +55887,9 @@ var require_package3 = __commonJS({
|
|
|
55873
55887
|
}
|
|
55874
55888
|
});
|
|
55875
55889
|
|
|
55876
|
-
// node_modules/.pnpm/@aws-sdk+util-user-agent-node@3.
|
|
55890
|
+
// node_modules/.pnpm/@aws-sdk+util-user-agent-node@3.535.0/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js
|
|
55877
55891
|
var require_dist_cjs40 = __commonJS({
|
|
55878
|
-
"node_modules/.pnpm/@aws-sdk+util-user-agent-node@3.
|
|
55892
|
+
"node_modules/.pnpm/@aws-sdk+util-user-agent-node@3.535.0/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js"(exports2, module2) {
|
|
55879
55893
|
var __defProp2 = Object.defineProperty;
|
|
55880
55894
|
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
|
|
55881
55895
|
var __getOwnPropNames2 = Object.getOwnPropertyNames;
|
|
@@ -56046,7 +56060,7 @@ var require_dist_cjs42 = __commonJS({
|
|
|
56046
56060
|
calculateBodyLength: () => calculateBodyLength
|
|
56047
56061
|
});
|
|
56048
56062
|
module2.exports = __toCommonJS2(src_exports2);
|
|
56049
|
-
var
|
|
56063
|
+
var import_fs13 = require("fs");
|
|
56050
56064
|
var calculateBodyLength = /* @__PURE__ */ __name((body) => {
|
|
56051
56065
|
if (!body) {
|
|
56052
56066
|
return 0;
|
|
@@ -56060,18 +56074,18 @@ var require_dist_cjs42 = __commonJS({
|
|
|
56060
56074
|
} else if (typeof body.start === "number" && typeof body.end === "number") {
|
|
56061
56075
|
return body.end + 1 - body.start;
|
|
56062
56076
|
} else if (typeof body.path === "string" || Buffer.isBuffer(body.path)) {
|
|
56063
|
-
return (0,
|
|
56077
|
+
return (0, import_fs13.lstatSync)(body.path).size;
|
|
56064
56078
|
} else if (typeof body.fd === "number") {
|
|
56065
|
-
return (0,
|
|
56079
|
+
return (0, import_fs13.fstatSync)(body.fd).size;
|
|
56066
56080
|
}
|
|
56067
56081
|
throw new Error(`Body Length computation failed for ${body}`);
|
|
56068
56082
|
}, "calculateBodyLength");
|
|
56069
56083
|
}
|
|
56070
56084
|
});
|
|
56071
56085
|
|
|
56072
|
-
// node_modules/.pnpm/@aws-sdk+client-sso@3.
|
|
56086
|
+
// node_modules/.pnpm/@aws-sdk+client-sso@3.556.0/node_modules/@aws-sdk/client-sso/dist-cjs/endpoint/ruleset.js
|
|
56073
56087
|
var require_ruleset = __commonJS({
|
|
56074
|
-
"node_modules/.pnpm/@aws-sdk+client-sso@3.
|
|
56088
|
+
"node_modules/.pnpm/@aws-sdk+client-sso@3.556.0/node_modules/@aws-sdk/client-sso/dist-cjs/endpoint/ruleset.js"(exports2) {
|
|
56075
56089
|
"use strict";
|
|
56076
56090
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
56077
56091
|
exports2.ruleSet = void 0;
|
|
@@ -56104,9 +56118,9 @@ var require_ruleset = __commonJS({
|
|
|
56104
56118
|
}
|
|
56105
56119
|
});
|
|
56106
56120
|
|
|
56107
|
-
// node_modules/.pnpm/@aws-sdk+client-sso@3.
|
|
56121
|
+
// node_modules/.pnpm/@aws-sdk+client-sso@3.556.0/node_modules/@aws-sdk/client-sso/dist-cjs/endpoint/endpointResolver.js
|
|
56108
56122
|
var require_endpointResolver = __commonJS({
|
|
56109
|
-
"node_modules/.pnpm/@aws-sdk+client-sso@3.
|
|
56123
|
+
"node_modules/.pnpm/@aws-sdk+client-sso@3.556.0/node_modules/@aws-sdk/client-sso/dist-cjs/endpoint/endpointResolver.js"(exports2) {
|
|
56110
56124
|
"use strict";
|
|
56111
56125
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
56112
56126
|
exports2.defaultEndpointResolver = void 0;
|
|
@@ -56124,9 +56138,9 @@ var require_endpointResolver = __commonJS({
|
|
|
56124
56138
|
}
|
|
56125
56139
|
});
|
|
56126
56140
|
|
|
56127
|
-
// node_modules/.pnpm/@aws-sdk+client-sso@3.
|
|
56141
|
+
// node_modules/.pnpm/@aws-sdk+client-sso@3.556.0/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.shared.js
|
|
56128
56142
|
var require_runtimeConfig_shared = __commonJS({
|
|
56129
|
-
"node_modules/.pnpm/@aws-sdk+client-sso@3.
|
|
56143
|
+
"node_modules/.pnpm/@aws-sdk+client-sso@3.556.0/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.shared.js"(exports2) {
|
|
56130
56144
|
"use strict";
|
|
56131
56145
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
56132
56146
|
exports2.getRuntimeConfig = void 0;
|
|
@@ -56279,9 +56293,9 @@ var require_dist_cjs43 = __commonJS({
|
|
|
56279
56293
|
}
|
|
56280
56294
|
});
|
|
56281
56295
|
|
|
56282
|
-
// node_modules/.pnpm/@aws-sdk+client-sso@3.
|
|
56296
|
+
// node_modules/.pnpm/@aws-sdk+client-sso@3.556.0/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.js
|
|
56283
56297
|
var require_runtimeConfig = __commonJS({
|
|
56284
|
-
"node_modules/.pnpm/@aws-sdk+client-sso@3.
|
|
56298
|
+
"node_modules/.pnpm/@aws-sdk+client-sso@3.556.0/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.js"(exports2) {
|
|
56285
56299
|
"use strict";
|
|
56286
56300
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
56287
56301
|
exports2.getRuntimeConfig = void 0;
|
|
@@ -56330,9 +56344,9 @@ var require_runtimeConfig = __commonJS({
|
|
|
56330
56344
|
}
|
|
56331
56345
|
});
|
|
56332
56346
|
|
|
56333
|
-
// node_modules/.pnpm/@aws-sdk+region-config-resolver@3.
|
|
56347
|
+
// node_modules/.pnpm/@aws-sdk+region-config-resolver@3.535.0/node_modules/@aws-sdk/region-config-resolver/dist-cjs/index.js
|
|
56334
56348
|
var require_dist_cjs44 = __commonJS({
|
|
56335
|
-
"node_modules/.pnpm/@aws-sdk+region-config-resolver@3.
|
|
56349
|
+
"node_modules/.pnpm/@aws-sdk+region-config-resolver@3.535.0/node_modules/@aws-sdk/region-config-resolver/dist-cjs/index.js"(exports2, module2) {
|
|
56336
56350
|
var __defProp2 = Object.defineProperty;
|
|
56337
56351
|
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
|
|
56338
56352
|
var __getOwnPropNames2 = Object.getOwnPropertyNames;
|
|
@@ -56427,9 +56441,9 @@ var require_dist_cjs44 = __commonJS({
|
|
|
56427
56441
|
}
|
|
56428
56442
|
});
|
|
56429
56443
|
|
|
56430
|
-
// node_modules/.pnpm/@aws-sdk+client-sso@3.
|
|
56444
|
+
// node_modules/.pnpm/@aws-sdk+client-sso@3.556.0/node_modules/@aws-sdk/client-sso/dist-cjs/index.js
|
|
56431
56445
|
var require_dist_cjs45 = __commonJS({
|
|
56432
|
-
"node_modules/.pnpm/@aws-sdk+client-sso@3.
|
|
56446
|
+
"node_modules/.pnpm/@aws-sdk+client-sso@3.556.0/node_modules/@aws-sdk/client-sso/dist-cjs/index.js"(exports2, module2) {
|
|
56433
56447
|
"use strict";
|
|
56434
56448
|
var __defProp2 = Object.defineProperty;
|
|
56435
56449
|
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
|
|
@@ -56973,9 +56987,9 @@ var require_dist_cjs45 = __commonJS({
|
|
|
56973
56987
|
}
|
|
56974
56988
|
});
|
|
56975
56989
|
|
|
56976
|
-
// node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.
|
|
56990
|
+
// node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.565.0_@aws-sdk+client-sts@3.565.0/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/auth/httpAuthSchemeProvider.js
|
|
56977
56991
|
var require_httpAuthSchemeProvider3 = __commonJS({
|
|
56978
|
-
"node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.
|
|
56992
|
+
"node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.565.0_@aws-sdk+client-sts@3.565.0/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/auth/httpAuthSchemeProvider.js"(exports2) {
|
|
56979
56993
|
"use strict";
|
|
56980
56994
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
56981
56995
|
exports2.resolveHttpAuthSchemeConfig = exports2.defaultSSOOIDCHttpAuthSchemeProvider = exports2.defaultSSOOIDCHttpAuthSchemeParametersProvider = void 0;
|
|
@@ -57042,13 +57056,13 @@ var require_httpAuthSchemeProvider3 = __commonJS({
|
|
|
57042
57056
|
}
|
|
57043
57057
|
});
|
|
57044
57058
|
|
|
57045
|
-
// node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.
|
|
57059
|
+
// node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.565.0_@aws-sdk+client-sts@3.565.0/node_modules/@aws-sdk/client-sso-oidc/package.json
|
|
57046
57060
|
var require_package4 = __commonJS({
|
|
57047
|
-
"node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.
|
|
57061
|
+
"node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.565.0_@aws-sdk+client-sts@3.565.0/node_modules/@aws-sdk/client-sso-oidc/package.json"(exports2, module2) {
|
|
57048
57062
|
module2.exports = {
|
|
57049
57063
|
name: "@aws-sdk/client-sso-oidc",
|
|
57050
57064
|
description: "AWS SDK for JavaScript Sso Oidc Client for Node.js, Browser and React Native",
|
|
57051
|
-
version: "3.
|
|
57065
|
+
version: "3.565.0",
|
|
57052
57066
|
scripts: {
|
|
57053
57067
|
build: "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
57054
57068
|
"build:cjs": "node ../../scripts/compilation/inline client-sso-oidc",
|
|
@@ -57067,18 +57081,17 @@ var require_package4 = __commonJS({
|
|
|
57067
57081
|
dependencies: {
|
|
57068
57082
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
57069
57083
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
57070
|
-
"@aws-sdk/
|
|
57071
|
-
"@aws-sdk/
|
|
57072
|
-
"@aws-sdk/
|
|
57073
|
-
"@aws-sdk/middleware-
|
|
57074
|
-
"@aws-sdk/middleware-
|
|
57075
|
-
"@aws-sdk/middleware-
|
|
57076
|
-
"@aws-sdk/
|
|
57077
|
-
"@aws-sdk/
|
|
57078
|
-
"@aws-sdk/
|
|
57079
|
-
"@aws-sdk/util-
|
|
57080
|
-
"@aws-sdk/util-user-agent-
|
|
57081
|
-
"@aws-sdk/util-user-agent-node": "3.568.0",
|
|
57084
|
+
"@aws-sdk/core": "3.556.0",
|
|
57085
|
+
"@aws-sdk/credential-provider-node": "3.565.0",
|
|
57086
|
+
"@aws-sdk/middleware-host-header": "3.535.0",
|
|
57087
|
+
"@aws-sdk/middleware-logger": "3.535.0",
|
|
57088
|
+
"@aws-sdk/middleware-recursion-detection": "3.535.0",
|
|
57089
|
+
"@aws-sdk/middleware-user-agent": "3.540.0",
|
|
57090
|
+
"@aws-sdk/region-config-resolver": "3.535.0",
|
|
57091
|
+
"@aws-sdk/types": "3.535.0",
|
|
57092
|
+
"@aws-sdk/util-endpoints": "3.540.0",
|
|
57093
|
+
"@aws-sdk/util-user-agent-browser": "3.535.0",
|
|
57094
|
+
"@aws-sdk/util-user-agent-node": "3.535.0",
|
|
57082
57095
|
"@smithy/config-resolver": "^2.2.0",
|
|
57083
57096
|
"@smithy/core": "^1.4.2",
|
|
57084
57097
|
"@smithy/fetch-http-handler": "^2.5.0",
|
|
@@ -57107,15 +57120,16 @@ var require_package4 = __commonJS({
|
|
|
57107
57120
|
tslib: "^2.6.2"
|
|
57108
57121
|
},
|
|
57109
57122
|
devDependencies: {
|
|
57110
|
-
"@
|
|
57111
|
-
"@
|
|
57123
|
+
"@smithy/service-client-documentation-generator": "^2.2.0",
|
|
57124
|
+
"@tsconfig/node14": "1.0.3",
|
|
57125
|
+
"@types/node": "^14.14.31",
|
|
57112
57126
|
concurrently: "7.0.0",
|
|
57113
57127
|
"downlevel-dts": "0.10.1",
|
|
57114
57128
|
rimraf: "3.0.2",
|
|
57115
57129
|
typescript: "~4.9.5"
|
|
57116
57130
|
},
|
|
57117
57131
|
engines: {
|
|
57118
|
-
node: ">=
|
|
57132
|
+
node: ">=14.0.0"
|
|
57119
57133
|
},
|
|
57120
57134
|
typesVersions: {
|
|
57121
57135
|
"<4.0": {
|
|
@@ -57148,9 +57162,9 @@ var require_package4 = __commonJS({
|
|
|
57148
57162
|
}
|
|
57149
57163
|
});
|
|
57150
57164
|
|
|
57151
|
-
// node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.
|
|
57165
|
+
// node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.565.0_@aws-sdk+client-sts@3.565.0/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/endpoint/ruleset.js
|
|
57152
57166
|
var require_ruleset2 = __commonJS({
|
|
57153
|
-
"node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.
|
|
57167
|
+
"node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.565.0_@aws-sdk+client-sts@3.565.0/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/endpoint/ruleset.js"(exports2) {
|
|
57154
57168
|
"use strict";
|
|
57155
57169
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
57156
57170
|
exports2.ruleSet = void 0;
|
|
@@ -57183,9 +57197,9 @@ var require_ruleset2 = __commonJS({
|
|
|
57183
57197
|
}
|
|
57184
57198
|
});
|
|
57185
57199
|
|
|
57186
|
-
// node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.
|
|
57200
|
+
// node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.565.0_@aws-sdk+client-sts@3.565.0/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/endpoint/endpointResolver.js
|
|
57187
57201
|
var require_endpointResolver2 = __commonJS({
|
|
57188
|
-
"node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.
|
|
57202
|
+
"node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.565.0_@aws-sdk+client-sts@3.565.0/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/endpoint/endpointResolver.js"(exports2) {
|
|
57189
57203
|
"use strict";
|
|
57190
57204
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
57191
57205
|
exports2.defaultEndpointResolver = void 0;
|
|
@@ -57203,9 +57217,9 @@ var require_endpointResolver2 = __commonJS({
|
|
|
57203
57217
|
}
|
|
57204
57218
|
});
|
|
57205
57219
|
|
|
57206
|
-
// node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.
|
|
57220
|
+
// node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.565.0_@aws-sdk+client-sts@3.565.0/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.shared.js
|
|
57207
57221
|
var require_runtimeConfig_shared2 = __commonJS({
|
|
57208
|
-
"node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.
|
|
57222
|
+
"node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.565.0_@aws-sdk+client-sts@3.565.0/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.shared.js"(exports2) {
|
|
57209
57223
|
"use strict";
|
|
57210
57224
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
57211
57225
|
exports2.getRuntimeConfig = void 0;
|
|
@@ -57249,9 +57263,9 @@ var require_runtimeConfig_shared2 = __commonJS({
|
|
|
57249
57263
|
}
|
|
57250
57264
|
});
|
|
57251
57265
|
|
|
57252
|
-
// node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.
|
|
57266
|
+
// node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.565.0_@aws-sdk+client-sts@3.565.0/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.js
|
|
57253
57267
|
var require_runtimeConfig2 = __commonJS({
|
|
57254
|
-
"node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.
|
|
57268
|
+
"node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.565.0_@aws-sdk+client-sts@3.565.0/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.js"(exports2) {
|
|
57255
57269
|
"use strict";
|
|
57256
57270
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
57257
57271
|
exports2.getRuntimeConfig = void 0;
|
|
@@ -57302,9 +57316,9 @@ var require_runtimeConfig2 = __commonJS({
|
|
|
57302
57316
|
}
|
|
57303
57317
|
});
|
|
57304
57318
|
|
|
57305
|
-
// node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.
|
|
57319
|
+
// node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.565.0_@aws-sdk+client-sts@3.565.0/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/index.js
|
|
57306
57320
|
var require_dist_cjs46 = __commonJS({
|
|
57307
|
-
"node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.
|
|
57321
|
+
"node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.565.0_@aws-sdk+client-sts@3.565.0/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/index.js"(exports2, module2) {
|
|
57308
57322
|
"use strict";
|
|
57309
57323
|
var __defProp2 = Object.defineProperty;
|
|
57310
57324
|
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
|
|
@@ -58241,9 +58255,9 @@ var require_dist_cjs46 = __commonJS({
|
|
|
58241
58255
|
}
|
|
58242
58256
|
});
|
|
58243
58257
|
|
|
58244
|
-
// node_modules/.pnpm/@aws-sdk+token-providers@3.
|
|
58258
|
+
// node_modules/.pnpm/@aws-sdk+token-providers@3.565.0_@aws-sdk+client-sso-oidc@3.565.0/node_modules/@aws-sdk/token-providers/dist-cjs/index.js
|
|
58245
58259
|
var require_dist_cjs47 = __commonJS({
|
|
58246
|
-
"node_modules/.pnpm/@aws-sdk+token-providers@3.
|
|
58260
|
+
"node_modules/.pnpm/@aws-sdk+token-providers@3.565.0_@aws-sdk+client-sso-oidc@3.565.0/node_modules/@aws-sdk/token-providers/dist-cjs/index.js"(exports2, module2) {
|
|
58247
58261
|
var __create2 = Object.create;
|
|
58248
58262
|
var __defProp2 = Object.defineProperty;
|
|
58249
58263
|
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
|
|
@@ -58318,8 +58332,8 @@ var require_dist_cjs47 = __commonJS({
|
|
|
58318
58332
|
}
|
|
58319
58333
|
}, "validateTokenKey");
|
|
58320
58334
|
var import_shared_ini_file_loader = require_dist_cjs13();
|
|
58321
|
-
var
|
|
58322
|
-
var { writeFile } =
|
|
58335
|
+
var import_fs13 = require("fs");
|
|
58336
|
+
var { writeFile } = import_fs13.promises;
|
|
58323
58337
|
var writeSSOTokenToFile = /* @__PURE__ */ __name((id, ssoToken) => {
|
|
58324
58338
|
const tokenFilepath = (0, import_shared_ini_file_loader.getSSOTokenFilepath)(id);
|
|
58325
58339
|
const tokenString = JSON.stringify(ssoToken, null, 2);
|
|
@@ -58420,9 +58434,9 @@ var require_dist_cjs47 = __commonJS({
|
|
|
58420
58434
|
}
|
|
58421
58435
|
});
|
|
58422
58436
|
|
|
58423
|
-
// node_modules/.pnpm/@aws-sdk+credential-provider-sso@3.
|
|
58437
|
+
// node_modules/.pnpm/@aws-sdk+credential-provider-sso@3.565.0_@aws-sdk+client-sso-oidc@3.565.0/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js
|
|
58424
58438
|
var require_dist_cjs48 = __commonJS({
|
|
58425
|
-
"node_modules/.pnpm/@aws-sdk+credential-provider-sso@3.
|
|
58439
|
+
"node_modules/.pnpm/@aws-sdk+credential-provider-sso@3.565.0_@aws-sdk+client-sso-oidc@3.565.0/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js"(exports2, module2) {
|
|
58426
58440
|
var __defProp2 = Object.defineProperty;
|
|
58427
58441
|
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
|
|
58428
58442
|
var __getOwnPropNames2 = Object.getOwnPropertyNames;
|
|
@@ -58602,9 +58616,9 @@ Reference: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-sso.ht
|
|
|
58602
58616
|
}
|
|
58603
58617
|
});
|
|
58604
58618
|
|
|
58605
|
-
// node_modules/.pnpm/@aws-sdk+client-sts@3.
|
|
58619
|
+
// node_modules/.pnpm/@aws-sdk+client-sts@3.565.0_@aws-sdk+client-sso-oidc@3.565.0/node_modules/@aws-sdk/client-sts/dist-cjs/auth/httpAuthSchemeProvider.js
|
|
58606
58620
|
var require_httpAuthSchemeProvider4 = __commonJS({
|
|
58607
|
-
"node_modules/.pnpm/@aws-sdk+client-sts@3.
|
|
58621
|
+
"node_modules/.pnpm/@aws-sdk+client-sts@3.565.0_@aws-sdk+client-sso-oidc@3.565.0/node_modules/@aws-sdk/client-sts/dist-cjs/auth/httpAuthSchemeProvider.js"(exports2) {
|
|
58608
58622
|
"use strict";
|
|
58609
58623
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
58610
58624
|
exports2.resolveHttpAuthSchemeConfig = exports2.resolveStsAuthConfig = exports2.defaultSTSHttpAuthSchemeProvider = exports2.defaultSTSHttpAuthSchemeParametersProvider = void 0;
|
|
@@ -58674,9 +58688,9 @@ var require_httpAuthSchemeProvider4 = __commonJS({
|
|
|
58674
58688
|
}
|
|
58675
58689
|
});
|
|
58676
58690
|
|
|
58677
|
-
// node_modules/.pnpm/@aws-sdk+client-sts@3.
|
|
58691
|
+
// node_modules/.pnpm/@aws-sdk+client-sts@3.565.0_@aws-sdk+client-sso-oidc@3.565.0/node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/EndpointParameters.js
|
|
58678
58692
|
var require_EndpointParameters = __commonJS({
|
|
58679
|
-
"node_modules/.pnpm/@aws-sdk+client-sts@3.
|
|
58693
|
+
"node_modules/.pnpm/@aws-sdk+client-sts@3.565.0_@aws-sdk+client-sso-oidc@3.565.0/node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/EndpointParameters.js"(exports2) {
|
|
58680
58694
|
"use strict";
|
|
58681
58695
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
58682
58696
|
exports2.commonParams = exports2.resolveClientEndpointParameters = void 0;
|
|
@@ -58700,13 +58714,13 @@ var require_EndpointParameters = __commonJS({
|
|
|
58700
58714
|
}
|
|
58701
58715
|
});
|
|
58702
58716
|
|
|
58703
|
-
// node_modules/.pnpm/@aws-sdk+client-sts@3.
|
|
58717
|
+
// node_modules/.pnpm/@aws-sdk+client-sts@3.565.0_@aws-sdk+client-sso-oidc@3.565.0/node_modules/@aws-sdk/client-sts/package.json
|
|
58704
58718
|
var require_package5 = __commonJS({
|
|
58705
|
-
"node_modules/.pnpm/@aws-sdk+client-sts@3.
|
|
58719
|
+
"node_modules/.pnpm/@aws-sdk+client-sts@3.565.0_@aws-sdk+client-sso-oidc@3.565.0/node_modules/@aws-sdk/client-sts/package.json"(exports2, module2) {
|
|
58706
58720
|
module2.exports = {
|
|
58707
58721
|
name: "@aws-sdk/client-sts",
|
|
58708
58722
|
description: "AWS SDK for JavaScript Sts Client for Node.js, Browser and React Native",
|
|
58709
|
-
version: "3.
|
|
58723
|
+
version: "3.565.0",
|
|
58710
58724
|
scripts: {
|
|
58711
58725
|
build: "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
58712
58726
|
"build:cjs": "node ../../scripts/compilation/inline client-sts",
|
|
@@ -58727,18 +58741,17 @@ var require_package5 = __commonJS({
|
|
|
58727
58741
|
dependencies: {
|
|
58728
58742
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
58729
58743
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
58730
|
-
"@aws-sdk/
|
|
58731
|
-
"@aws-sdk/
|
|
58732
|
-
"@aws-sdk/
|
|
58733
|
-
"@aws-sdk/middleware-
|
|
58734
|
-
"@aws-sdk/middleware-
|
|
58735
|
-
"@aws-sdk/middleware-
|
|
58736
|
-
"@aws-sdk/
|
|
58737
|
-
"@aws-sdk/
|
|
58738
|
-
"@aws-sdk/
|
|
58739
|
-
"@aws-sdk/util-
|
|
58740
|
-
"@aws-sdk/util-user-agent-
|
|
58741
|
-
"@aws-sdk/util-user-agent-node": "3.568.0",
|
|
58744
|
+
"@aws-sdk/core": "3.556.0",
|
|
58745
|
+
"@aws-sdk/credential-provider-node": "3.565.0",
|
|
58746
|
+
"@aws-sdk/middleware-host-header": "3.535.0",
|
|
58747
|
+
"@aws-sdk/middleware-logger": "3.535.0",
|
|
58748
|
+
"@aws-sdk/middleware-recursion-detection": "3.535.0",
|
|
58749
|
+
"@aws-sdk/middleware-user-agent": "3.540.0",
|
|
58750
|
+
"@aws-sdk/region-config-resolver": "3.535.0",
|
|
58751
|
+
"@aws-sdk/types": "3.535.0",
|
|
58752
|
+
"@aws-sdk/util-endpoints": "3.540.0",
|
|
58753
|
+
"@aws-sdk/util-user-agent-browser": "3.535.0",
|
|
58754
|
+
"@aws-sdk/util-user-agent-node": "3.535.0",
|
|
58742
58755
|
"@smithy/config-resolver": "^2.2.0",
|
|
58743
58756
|
"@smithy/core": "^1.4.2",
|
|
58744
58757
|
"@smithy/fetch-http-handler": "^2.5.0",
|
|
@@ -58767,15 +58780,16 @@ var require_package5 = __commonJS({
|
|
|
58767
58780
|
tslib: "^2.6.2"
|
|
58768
58781
|
},
|
|
58769
58782
|
devDependencies: {
|
|
58770
|
-
"@
|
|
58771
|
-
"@
|
|
58783
|
+
"@smithy/service-client-documentation-generator": "^2.2.0",
|
|
58784
|
+
"@tsconfig/node14": "1.0.3",
|
|
58785
|
+
"@types/node": "^14.14.31",
|
|
58772
58786
|
concurrently: "7.0.0",
|
|
58773
58787
|
"downlevel-dts": "0.10.1",
|
|
58774
58788
|
rimraf: "3.0.2",
|
|
58775
58789
|
typescript: "~4.9.5"
|
|
58776
58790
|
},
|
|
58777
58791
|
engines: {
|
|
58778
|
-
node: ">=
|
|
58792
|
+
node: ">=14.0.0"
|
|
58779
58793
|
},
|
|
58780
58794
|
typesVersions: {
|
|
58781
58795
|
"<4.0": {
|
|
@@ -58808,9 +58822,9 @@ var require_package5 = __commonJS({
|
|
|
58808
58822
|
}
|
|
58809
58823
|
});
|
|
58810
58824
|
|
|
58811
|
-
// node_modules/.pnpm/@aws-sdk+client-sts@3.
|
|
58825
|
+
// node_modules/.pnpm/@aws-sdk+client-sts@3.565.0_@aws-sdk+client-sso-oidc@3.565.0/node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/ruleset.js
|
|
58812
58826
|
var require_ruleset3 = __commonJS({
|
|
58813
|
-
"node_modules/.pnpm/@aws-sdk+client-sts@3.
|
|
58827
|
+
"node_modules/.pnpm/@aws-sdk+client-sts@3.565.0_@aws-sdk+client-sso-oidc@3.565.0/node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/ruleset.js"(exports2) {
|
|
58814
58828
|
"use strict";
|
|
58815
58829
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
58816
58830
|
exports2.ruleSet = void 0;
|
|
@@ -58855,9 +58869,9 @@ var require_ruleset3 = __commonJS({
|
|
|
58855
58869
|
}
|
|
58856
58870
|
});
|
|
58857
58871
|
|
|
58858
|
-
// node_modules/.pnpm/@aws-sdk+client-sts@3.
|
|
58872
|
+
// node_modules/.pnpm/@aws-sdk+client-sts@3.565.0_@aws-sdk+client-sso-oidc@3.565.0/node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/endpointResolver.js
|
|
58859
58873
|
var require_endpointResolver3 = __commonJS({
|
|
58860
|
-
"node_modules/.pnpm/@aws-sdk+client-sts@3.
|
|
58874
|
+
"node_modules/.pnpm/@aws-sdk+client-sts@3.565.0_@aws-sdk+client-sso-oidc@3.565.0/node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/endpointResolver.js"(exports2) {
|
|
58861
58875
|
"use strict";
|
|
58862
58876
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
58863
58877
|
exports2.defaultEndpointResolver = void 0;
|
|
@@ -58875,9 +58889,9 @@ var require_endpointResolver3 = __commonJS({
|
|
|
58875
58889
|
}
|
|
58876
58890
|
});
|
|
58877
58891
|
|
|
58878
|
-
// node_modules/.pnpm/@aws-sdk+client-sts@3.
|
|
58892
|
+
// node_modules/.pnpm/@aws-sdk+client-sts@3.565.0_@aws-sdk+client-sso-oidc@3.565.0/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.shared.js
|
|
58879
58893
|
var require_runtimeConfig_shared3 = __commonJS({
|
|
58880
|
-
"node_modules/.pnpm/@aws-sdk+client-sts@3.
|
|
58894
|
+
"node_modules/.pnpm/@aws-sdk+client-sts@3.565.0_@aws-sdk+client-sso-oidc@3.565.0/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.shared.js"(exports2) {
|
|
58881
58895
|
"use strict";
|
|
58882
58896
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
58883
58897
|
exports2.getRuntimeConfig = void 0;
|
|
@@ -58921,9 +58935,9 @@ var require_runtimeConfig_shared3 = __commonJS({
|
|
|
58921
58935
|
}
|
|
58922
58936
|
});
|
|
58923
58937
|
|
|
58924
|
-
// node_modules/.pnpm/@aws-sdk+client-sts@3.
|
|
58938
|
+
// node_modules/.pnpm/@aws-sdk+client-sts@3.565.0_@aws-sdk+client-sso-oidc@3.565.0/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.js
|
|
58925
58939
|
var require_runtimeConfig3 = __commonJS({
|
|
58926
|
-
"node_modules/.pnpm/@aws-sdk+client-sts@3.
|
|
58940
|
+
"node_modules/.pnpm/@aws-sdk+client-sts@3.565.0_@aws-sdk+client-sso-oidc@3.565.0/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.js"(exports2) {
|
|
58927
58941
|
"use strict";
|
|
58928
58942
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
58929
58943
|
exports2.getRuntimeConfig = void 0;
|
|
@@ -58987,9 +59001,9 @@ var require_runtimeConfig3 = __commonJS({
|
|
|
58987
59001
|
}
|
|
58988
59002
|
});
|
|
58989
59003
|
|
|
58990
|
-
// node_modules/.pnpm/@aws-sdk+client-sts@3.
|
|
59004
|
+
// node_modules/.pnpm/@aws-sdk+client-sts@3.565.0_@aws-sdk+client-sso-oidc@3.565.0/node_modules/@aws-sdk/client-sts/dist-cjs/auth/httpAuthExtensionConfiguration.js
|
|
58991
59005
|
var require_httpAuthExtensionConfiguration = __commonJS({
|
|
58992
|
-
"node_modules/.pnpm/@aws-sdk+client-sts@3.
|
|
59006
|
+
"node_modules/.pnpm/@aws-sdk+client-sts@3.565.0_@aws-sdk+client-sso-oidc@3.565.0/node_modules/@aws-sdk/client-sts/dist-cjs/auth/httpAuthExtensionConfiguration.js"(exports2) {
|
|
58993
59007
|
"use strict";
|
|
58994
59008
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
58995
59009
|
exports2.resolveHttpAuthRuntimeConfig = exports2.getHttpAuthExtensionConfiguration = void 0;
|
|
@@ -59035,9 +59049,9 @@ var require_httpAuthExtensionConfiguration = __commonJS({
|
|
|
59035
59049
|
}
|
|
59036
59050
|
});
|
|
59037
59051
|
|
|
59038
|
-
// node_modules/.pnpm/@aws-sdk+client-sts@3.
|
|
59052
|
+
// node_modules/.pnpm/@aws-sdk+client-sts@3.565.0_@aws-sdk+client-sso-oidc@3.565.0/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeExtensions.js
|
|
59039
59053
|
var require_runtimeExtensions = __commonJS({
|
|
59040
|
-
"node_modules/.pnpm/@aws-sdk+client-sts@3.
|
|
59054
|
+
"node_modules/.pnpm/@aws-sdk+client-sts@3.565.0_@aws-sdk+client-sso-oidc@3.565.0/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeExtensions.js"(exports2) {
|
|
59041
59055
|
"use strict";
|
|
59042
59056
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
59043
59057
|
exports2.resolveRuntimeExtensions = void 0;
|
|
@@ -59066,9 +59080,9 @@ var require_runtimeExtensions = __commonJS({
|
|
|
59066
59080
|
}
|
|
59067
59081
|
});
|
|
59068
59082
|
|
|
59069
|
-
// node_modules/.pnpm/@aws-sdk+client-sts@3.
|
|
59083
|
+
// node_modules/.pnpm/@aws-sdk+client-sts@3.565.0_@aws-sdk+client-sso-oidc@3.565.0/node_modules/@aws-sdk/client-sts/dist-cjs/STSClient.js
|
|
59070
59084
|
var require_STSClient = __commonJS({
|
|
59071
|
-
"node_modules/.pnpm/@aws-sdk+client-sts@3.
|
|
59085
|
+
"node_modules/.pnpm/@aws-sdk+client-sts@3.565.0_@aws-sdk+client-sso-oidc@3.565.0/node_modules/@aws-sdk/client-sts/dist-cjs/STSClient.js"(exports2) {
|
|
59072
59086
|
"use strict";
|
|
59073
59087
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
59074
59088
|
exports2.STSClient = exports2.__Client = void 0;
|
|
@@ -59130,9 +59144,9 @@ var require_STSClient = __commonJS({
|
|
|
59130
59144
|
}
|
|
59131
59145
|
});
|
|
59132
59146
|
|
|
59133
|
-
// node_modules/.pnpm/@aws-sdk+client-sts@3.
|
|
59147
|
+
// node_modules/.pnpm/@aws-sdk+client-sts@3.565.0_@aws-sdk+client-sso-oidc@3.565.0/node_modules/@aws-sdk/client-sts/dist-cjs/index.js
|
|
59134
59148
|
var require_dist_cjs49 = __commonJS({
|
|
59135
|
-
"node_modules/.pnpm/@aws-sdk+client-sts@3.
|
|
59149
|
+
"node_modules/.pnpm/@aws-sdk+client-sts@3.565.0_@aws-sdk+client-sso-oidc@3.565.0/node_modules/@aws-sdk/client-sts/dist-cjs/index.js"(exports2, module2) {
|
|
59136
59150
|
"use strict";
|
|
59137
59151
|
var __defProp2 = Object.defineProperty;
|
|
59138
59152
|
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
|
|
@@ -60486,9 +60500,9 @@ var require_dist_cjs49 = __commonJS({
|
|
|
60486
60500
|
}
|
|
60487
60501
|
});
|
|
60488
60502
|
|
|
60489
|
-
// node_modules/.pnpm/@aws-sdk+credential-provider-process@3.
|
|
60503
|
+
// node_modules/.pnpm/@aws-sdk+credential-provider-process@3.535.0/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js
|
|
60490
60504
|
var require_dist_cjs50 = __commonJS({
|
|
60491
|
-
"node_modules/.pnpm/@aws-sdk+credential-provider-process@3.
|
|
60505
|
+
"node_modules/.pnpm/@aws-sdk+credential-provider-process@3.535.0/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js"(exports2, module2) {
|
|
60492
60506
|
var __defProp2 = Object.defineProperty;
|
|
60493
60507
|
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
|
|
60494
60508
|
var __getOwnPropNames2 = Object.getOwnPropertyNames;
|
|
@@ -60572,9 +60586,9 @@ var require_dist_cjs50 = __commonJS({
|
|
|
60572
60586
|
}
|
|
60573
60587
|
});
|
|
60574
60588
|
|
|
60575
|
-
// node_modules/.pnpm/@aws-sdk+credential-provider-web-identity@3.
|
|
60589
|
+
// node_modules/.pnpm/@aws-sdk+credential-provider-web-identity@3.565.0_@aws-sdk+client-sts@3.565.0/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromWebToken.js
|
|
60576
60590
|
var require_fromWebToken = __commonJS({
|
|
60577
|
-
"node_modules/.pnpm/@aws-sdk+credential-provider-web-identity@3.
|
|
60591
|
+
"node_modules/.pnpm/@aws-sdk+credential-provider-web-identity@3.565.0_@aws-sdk+client-sts@3.565.0/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromWebToken.js"(exports2) {
|
|
60578
60592
|
"use strict";
|
|
60579
60593
|
var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o, m3, k2, k22) {
|
|
60580
60594
|
if (k22 === void 0)
|
|
@@ -60637,9 +60651,9 @@ var require_fromWebToken = __commonJS({
|
|
|
60637
60651
|
}
|
|
60638
60652
|
});
|
|
60639
60653
|
|
|
60640
|
-
// node_modules/.pnpm/@aws-sdk+credential-provider-web-identity@3.
|
|
60654
|
+
// node_modules/.pnpm/@aws-sdk+credential-provider-web-identity@3.565.0_@aws-sdk+client-sts@3.565.0/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js
|
|
60641
60655
|
var require_fromTokenFile = __commonJS({
|
|
60642
|
-
"node_modules/.pnpm/@aws-sdk+credential-provider-web-identity@3.
|
|
60656
|
+
"node_modules/.pnpm/@aws-sdk+credential-provider-web-identity@3.565.0_@aws-sdk+client-sts@3.565.0/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js"(exports2) {
|
|
60643
60657
|
"use strict";
|
|
60644
60658
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
60645
60659
|
exports2.fromTokenFile = void 0;
|
|
@@ -60669,9 +60683,9 @@ var require_fromTokenFile = __commonJS({
|
|
|
60669
60683
|
}
|
|
60670
60684
|
});
|
|
60671
60685
|
|
|
60672
|
-
// node_modules/.pnpm/@aws-sdk+credential-provider-web-identity@3.
|
|
60686
|
+
// node_modules/.pnpm/@aws-sdk+credential-provider-web-identity@3.565.0_@aws-sdk+client-sts@3.565.0/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js
|
|
60673
60687
|
var require_dist_cjs51 = __commonJS({
|
|
60674
|
-
"node_modules/.pnpm/@aws-sdk+credential-provider-web-identity@3.
|
|
60688
|
+
"node_modules/.pnpm/@aws-sdk+credential-provider-web-identity@3.565.0_@aws-sdk+client-sts@3.565.0/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js"(exports2, module2) {
|
|
60675
60689
|
var __defProp2 = Object.defineProperty;
|
|
60676
60690
|
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
|
|
60677
60691
|
var __getOwnPropNames2 = Object.getOwnPropertyNames;
|
|
@@ -60693,9 +60707,9 @@ var require_dist_cjs51 = __commonJS({
|
|
|
60693
60707
|
}
|
|
60694
60708
|
});
|
|
60695
60709
|
|
|
60696
|
-
// node_modules/.pnpm/@aws-sdk+credential-provider-ini@3.
|
|
60710
|
+
// node_modules/.pnpm/@aws-sdk+credential-provider-ini@3.565.0_@aws-sdk+client-sso-oidc@3.565.0_@aws-sdk+client-sts@3.565.0/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js
|
|
60697
60711
|
var require_dist_cjs52 = __commonJS({
|
|
60698
|
-
"node_modules/.pnpm/@aws-sdk+credential-provider-ini@3.
|
|
60712
|
+
"node_modules/.pnpm/@aws-sdk+credential-provider-ini@3.565.0_@aws-sdk+client-sso-oidc@3.565.0_@aws-sdk+client-sts@3.565.0/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js"(exports2, module2) {
|
|
60699
60713
|
var __create2 = Object.create;
|
|
60700
60714
|
var __defProp2 = Object.defineProperty;
|
|
60701
60715
|
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
|
|
@@ -60862,9 +60876,9 @@ var require_dist_cjs52 = __commonJS({
|
|
|
60862
60876
|
}
|
|
60863
60877
|
});
|
|
60864
60878
|
|
|
60865
|
-
// node_modules/.pnpm/@aws-sdk+credential-provider-node@3.
|
|
60879
|
+
// node_modules/.pnpm/@aws-sdk+credential-provider-node@3.565.0_@aws-sdk+client-sso-oidc@3.565.0_@aws-sdk+client-sts@3.565.0/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js
|
|
60866
60880
|
var require_dist_cjs53 = __commonJS({
|
|
60867
|
-
"node_modules/.pnpm/@aws-sdk+credential-provider-node@3.
|
|
60881
|
+
"node_modules/.pnpm/@aws-sdk+credential-provider-node@3.565.0_@aws-sdk+client-sso-oidc@3.565.0_@aws-sdk+client-sts@3.565.0/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js"(exports2, module2) {
|
|
60868
60882
|
var __create2 = Object.create;
|
|
60869
60883
|
var __defProp2 = Object.defineProperty;
|
|
60870
60884
|
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
|
|
@@ -60976,9 +60990,9 @@ var require_dist_cjs53 = __commonJS({
|
|
|
60976
60990
|
}
|
|
60977
60991
|
});
|
|
60978
60992
|
|
|
60979
|
-
// node_modules/.pnpm/@aws-sdk+client-rds-data@3.
|
|
60993
|
+
// node_modules/.pnpm/@aws-sdk+client-rds-data@3.565.0_@aws-sdk+client-sso-oidc@3.565.0_@aws-sdk+client-sts@3.565.0/node_modules/@aws-sdk/client-rds-data/dist-cjs/endpoint/ruleset.js
|
|
60980
60994
|
var require_ruleset4 = __commonJS({
|
|
60981
|
-
"node_modules/.pnpm/@aws-sdk+client-rds-data@3.
|
|
60995
|
+
"node_modules/.pnpm/@aws-sdk+client-rds-data@3.565.0_@aws-sdk+client-sso-oidc@3.565.0_@aws-sdk+client-sts@3.565.0/node_modules/@aws-sdk/client-rds-data/dist-cjs/endpoint/ruleset.js"(exports2) {
|
|
60982
60996
|
"use strict";
|
|
60983
60997
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
60984
60998
|
exports2.ruleSet = void 0;
|
|
@@ -61009,9 +61023,9 @@ var require_ruleset4 = __commonJS({
|
|
|
61009
61023
|
}
|
|
61010
61024
|
});
|
|
61011
61025
|
|
|
61012
|
-
// node_modules/.pnpm/@aws-sdk+client-rds-data@3.
|
|
61026
|
+
// node_modules/.pnpm/@aws-sdk+client-rds-data@3.565.0_@aws-sdk+client-sso-oidc@3.565.0_@aws-sdk+client-sts@3.565.0/node_modules/@aws-sdk/client-rds-data/dist-cjs/endpoint/endpointResolver.js
|
|
61013
61027
|
var require_endpointResolver4 = __commonJS({
|
|
61014
|
-
"node_modules/.pnpm/@aws-sdk+client-rds-data@3.
|
|
61028
|
+
"node_modules/.pnpm/@aws-sdk+client-rds-data@3.565.0_@aws-sdk+client-sso-oidc@3.565.0_@aws-sdk+client-sts@3.565.0/node_modules/@aws-sdk/client-rds-data/dist-cjs/endpoint/endpointResolver.js"(exports2) {
|
|
61015
61029
|
"use strict";
|
|
61016
61030
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
61017
61031
|
exports2.defaultEndpointResolver = void 0;
|
|
@@ -61029,9 +61043,9 @@ var require_endpointResolver4 = __commonJS({
|
|
|
61029
61043
|
}
|
|
61030
61044
|
});
|
|
61031
61045
|
|
|
61032
|
-
// node_modules/.pnpm/@aws-sdk+client-rds-data@3.
|
|
61046
|
+
// node_modules/.pnpm/@aws-sdk+client-rds-data@3.565.0_@aws-sdk+client-sso-oidc@3.565.0_@aws-sdk+client-sts@3.565.0/node_modules/@aws-sdk/client-rds-data/dist-cjs/runtimeConfig.shared.js
|
|
61033
61047
|
var require_runtimeConfig_shared4 = __commonJS({
|
|
61034
|
-
"node_modules/.pnpm/@aws-sdk+client-rds-data@3.
|
|
61048
|
+
"node_modules/.pnpm/@aws-sdk+client-rds-data@3.565.0_@aws-sdk+client-sso-oidc@3.565.0_@aws-sdk+client-sts@3.565.0/node_modules/@aws-sdk/client-rds-data/dist-cjs/runtimeConfig.shared.js"(exports2) {
|
|
61035
61049
|
"use strict";
|
|
61036
61050
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
61037
61051
|
exports2.getRuntimeConfig = void 0;
|
|
@@ -61069,9 +61083,9 @@ var require_runtimeConfig_shared4 = __commonJS({
|
|
|
61069
61083
|
}
|
|
61070
61084
|
});
|
|
61071
61085
|
|
|
61072
|
-
// node_modules/.pnpm/@aws-sdk+client-rds-data@3.
|
|
61086
|
+
// node_modules/.pnpm/@aws-sdk+client-rds-data@3.565.0_@aws-sdk+client-sso-oidc@3.565.0_@aws-sdk+client-sts@3.565.0/node_modules/@aws-sdk/client-rds-data/dist-cjs/runtimeConfig.js
|
|
61073
61087
|
var require_runtimeConfig4 = __commonJS({
|
|
61074
|
-
"node_modules/.pnpm/@aws-sdk+client-rds-data@3.
|
|
61088
|
+
"node_modules/.pnpm/@aws-sdk+client-rds-data@3.565.0_@aws-sdk+client-sso-oidc@3.565.0_@aws-sdk+client-sts@3.565.0/node_modules/@aws-sdk/client-rds-data/dist-cjs/runtimeConfig.js"(exports2) {
|
|
61075
61089
|
"use strict";
|
|
61076
61090
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
61077
61091
|
exports2.getRuntimeConfig = void 0;
|
|
@@ -61122,9 +61136,9 @@ var require_runtimeConfig4 = __commonJS({
|
|
|
61122
61136
|
}
|
|
61123
61137
|
});
|
|
61124
61138
|
|
|
61125
|
-
// node_modules/.pnpm/@aws-sdk+client-rds-data@3.
|
|
61139
|
+
// node_modules/.pnpm/@aws-sdk+client-rds-data@3.565.0_@aws-sdk+client-sso-oidc@3.565.0_@aws-sdk+client-sts@3.565.0/node_modules/@aws-sdk/client-rds-data/dist-cjs/index.js
|
|
61126
61140
|
var require_dist_cjs54 = __commonJS({
|
|
61127
|
-
"node_modules/.pnpm/@aws-sdk+client-rds-data@3.
|
|
61141
|
+
"node_modules/.pnpm/@aws-sdk+client-rds-data@3.565.0_@aws-sdk+client-sso-oidc@3.565.0_@aws-sdk+client-sts@3.565.0/node_modules/@aws-sdk/client-rds-data/dist-cjs/index.js"(exports2, module2) {
|
|
61128
61142
|
"use strict";
|
|
61129
61143
|
var __defProp2 = Object.defineProperty;
|
|
61130
61144
|
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
|
|
@@ -68874,7 +68888,7 @@ function Postgres(a3, b4) {
|
|
|
68874
68888
|
function file(path5, args = [], options2 = {}) {
|
|
68875
68889
|
arguments.length === 2 && !Array.isArray(args) && (options2 = args, args = []);
|
|
68876
68890
|
const query = new Query([], args, (query2) => {
|
|
68877
|
-
|
|
68891
|
+
import_fs10.default.readFile(path5, "utf8", (err2, string) => {
|
|
68878
68892
|
if (err2)
|
|
68879
68893
|
return query2.reject(err2);
|
|
68880
68894
|
query2.strings = [string];
|
|
@@ -69195,11 +69209,11 @@ function osUsername() {
|
|
|
69195
69209
|
return process.env.USERNAME || process.env.USER || process.env.LOGNAME;
|
|
69196
69210
|
}
|
|
69197
69211
|
}
|
|
69198
|
-
var import_os,
|
|
69212
|
+
var import_os, import_fs10, src_default;
|
|
69199
69213
|
var init_src = __esm({
|
|
69200
69214
|
"node_modules/.pnpm/postgres@3.4.4/node_modules/postgres/src/index.js"() {
|
|
69201
69215
|
import_os = __toESM(require("os"), 1);
|
|
69202
|
-
|
|
69216
|
+
import_fs10 = __toESM(require("fs"), 1);
|
|
69203
69217
|
init_types();
|
|
69204
69218
|
init_connection();
|
|
69205
69219
|
init_query();
|
|
@@ -108113,14 +108127,7 @@ var init_studio2 = __esm({
|
|
|
108113
108127
|
return value;
|
|
108114
108128
|
});
|
|
108115
108129
|
};
|
|
108116
|
-
prepareServer = async ({
|
|
108117
|
-
dialect: dialect7,
|
|
108118
|
-
driver: driver2,
|
|
108119
|
-
proxy,
|
|
108120
|
-
customDefaults,
|
|
108121
|
-
schema: drizzleSchema,
|
|
108122
|
-
relations: relations4
|
|
108123
|
-
}, app) => {
|
|
108130
|
+
prepareServer = async ({ dialect: dialect7, driver: driver2, proxy, customDefaults, schema: drizzleSchema, relations: relations4 }, app) => {
|
|
108124
108131
|
app = app !== void 0 ? app : new Hono2();
|
|
108125
108132
|
app.use(cors());
|
|
108126
108133
|
app.use(async (ctx, next) => {
|
|
@@ -112565,7 +112572,7 @@ __export(introspect_exports, {
|
|
|
112565
112572
|
introspectSqlite: () => introspectSqlite,
|
|
112566
112573
|
relationsToTypeScript: () => relationsToTypeScript
|
|
112567
112574
|
});
|
|
112568
|
-
var import_hanji10,
|
|
112575
|
+
var import_hanji10, import_fs11, import_path7, import_pluralize, introspectPostgres, introspectMysql, introspectSqlite, withCasing3, relationsToTypeScript;
|
|
112569
112576
|
var init_introspect = __esm({
|
|
112570
112577
|
"src/cli/commands/introspect.ts"() {
|
|
112571
112578
|
"use strict";
|
|
@@ -112573,7 +112580,7 @@ var init_introspect = __esm({
|
|
|
112573
112580
|
import_hanji10 = __toESM(require_hanji());
|
|
112574
112581
|
init_migrate();
|
|
112575
112582
|
init_snapshotsDiffer();
|
|
112576
|
-
|
|
112583
|
+
import_fs11 = require("fs");
|
|
112577
112584
|
import_path7 = require("path");
|
|
112578
112585
|
init_utils();
|
|
112579
112586
|
init_pgSchema();
|
|
@@ -112617,9 +112624,9 @@ var init_introspect = __esm({
|
|
|
112617
112624
|
const relationsTs = relationsToTypeScript(schema5, casing2);
|
|
112618
112625
|
const { internal, ...schemaWithoutInternals } = schema5;
|
|
112619
112626
|
const schemaFile = (0, import_path7.join)(out, "schema.ts");
|
|
112620
|
-
(0,
|
|
112627
|
+
(0, import_fs11.writeFileSync)(schemaFile, ts2.file);
|
|
112621
112628
|
const relationsFile = (0, import_path7.join)(out, "relations.ts");
|
|
112622
|
-
(0,
|
|
112629
|
+
(0, import_fs11.writeFileSync)(relationsFile, relationsTs.file);
|
|
112623
112630
|
console.log();
|
|
112624
112631
|
const { snapshots, journal } = prepareOutFolder(out, "postgresql");
|
|
112625
112632
|
if (snapshots.length === 0) {
|
|
@@ -112691,9 +112698,9 @@ var init_introspect = __esm({
|
|
|
112691
112698
|
const relationsTs = relationsToTypeScript(schema5, casing2);
|
|
112692
112699
|
const { internal, ...schemaWithoutInternals } = schema5;
|
|
112693
112700
|
const schemaFile = (0, import_path7.join)(out, "schema.ts");
|
|
112694
|
-
(0,
|
|
112701
|
+
(0, import_fs11.writeFileSync)(schemaFile, ts2.file);
|
|
112695
112702
|
const relationsFile = (0, import_path7.join)(out, "relations.ts");
|
|
112696
|
-
(0,
|
|
112703
|
+
(0, import_fs11.writeFileSync)(relationsFile, relationsTs.file);
|
|
112697
112704
|
console.log();
|
|
112698
112705
|
const { snapshots, journal } = prepareOutFolder(out, "postgresql");
|
|
112699
112706
|
if (snapshots.length === 0) {
|
|
@@ -112762,9 +112769,9 @@ var init_introspect = __esm({
|
|
|
112762
112769
|
const ts2 = schemaToTypeScript(schema5, casing2);
|
|
112763
112770
|
const relationsTs = relationsToTypeScript(schema5, casing2);
|
|
112764
112771
|
const schemaFile = (0, import_path7.join)(out, "schema.ts");
|
|
112765
|
-
(0,
|
|
112772
|
+
(0, import_fs11.writeFileSync)(schemaFile, ts2.file);
|
|
112766
112773
|
const relationsFile = (0, import_path7.join)(out, "relations.ts");
|
|
112767
|
-
(0,
|
|
112774
|
+
(0, import_fs11.writeFileSync)(relationsFile, relationsTs.file);
|
|
112768
112775
|
console.log();
|
|
112769
112776
|
const { snapshots, journal } = prepareOutFolder(out, "postgresql");
|
|
112770
112777
|
if (snapshots.length === 0) {
|
|
@@ -113007,43 +113014,7 @@ var updateUpToV6 = (json) => {
|
|
|
113007
113014
|
};
|
|
113008
113015
|
|
|
113009
113016
|
// src/cli/commands/sqliteUp.ts
|
|
113010
|
-
init_source();
|
|
113011
|
-
var import_fs3 = require("fs");
|
|
113012
|
-
init_global();
|
|
113013
|
-
init_sqliteSchema();
|
|
113014
|
-
init_utils();
|
|
113015
113017
|
var upSqliteHandler = (out) => {
|
|
113016
|
-
const { snapshots } = prepareOutFolder(out, "sqlite");
|
|
113017
|
-
const report = validateWithReport(snapshots, "sqlite");
|
|
113018
|
-
report.nonLatest.map((it) => ({
|
|
113019
|
-
path: it,
|
|
113020
|
-
raw: report.rawMap[it]
|
|
113021
|
-
})).forEach((it) => {
|
|
113022
|
-
const path5 = it.path;
|
|
113023
|
-
const result = updateUpToV62(it.raw);
|
|
113024
|
-
console.log(`[${source_default.green("\u2713")}] ${path5}`);
|
|
113025
|
-
(0, import_fs3.writeFileSync)(path5, JSON.stringify(result, null, 2));
|
|
113026
|
-
});
|
|
113027
|
-
console.log("Everything's fine \u{1F436}\u{1F525}");
|
|
113028
|
-
};
|
|
113029
|
-
var updateUpToV62 = (json) => {
|
|
113030
|
-
const schema5 = sqliteSchemaV5.parse(json);
|
|
113031
|
-
const tables = mapEntries(schema5.tables, (tableKey2, table4) => {
|
|
113032
|
-
const columns = mapEntries(table4.columns, (key, value) => {
|
|
113033
|
-
if (value.default && (typeof value.default === "object" || Array.isArray(value.default))) {
|
|
113034
|
-
value.default = `'${JSON.stringify(value.default)}'`;
|
|
113035
|
-
}
|
|
113036
|
-
return [key, value];
|
|
113037
|
-
});
|
|
113038
|
-
table4.columns = columns;
|
|
113039
|
-
return [tableKey2, table4];
|
|
113040
|
-
});
|
|
113041
|
-
return {
|
|
113042
|
-
...schema5,
|
|
113043
|
-
version: "6",
|
|
113044
|
-
dialect: "sqlite",
|
|
113045
|
-
tables
|
|
113046
|
-
};
|
|
113047
113018
|
};
|
|
113048
113019
|
|
|
113049
113020
|
// src/cli/commands/mysqlUp.ts
|
|
@@ -113052,18 +113023,18 @@ var upMysqlHandler = (out) => {
|
|
|
113052
113023
|
|
|
113053
113024
|
// src/cli/commands/drop.ts
|
|
113054
113025
|
init_source();
|
|
113055
|
-
var
|
|
113026
|
+
var import_fs7 = require("fs");
|
|
113056
113027
|
var import_hanji4 = __toESM(require_hanji());
|
|
113057
113028
|
var import_path5 = require("path");
|
|
113058
113029
|
init_views();
|
|
113059
113030
|
init_migrate();
|
|
113060
|
-
var
|
|
113031
|
+
var import_fs8 = __toESM(require("fs"));
|
|
113061
113032
|
var dropMigration = async ({
|
|
113062
113033
|
out,
|
|
113063
113034
|
bundle
|
|
113064
113035
|
}) => {
|
|
113065
113036
|
const metaFilePath = (0, import_path5.join)(out, "meta", "_journal.json");
|
|
113066
|
-
const journal = JSON.parse((0,
|
|
113037
|
+
const journal = JSON.parse((0, import_fs7.readFileSync)(metaFilePath, "utf-8"));
|
|
113067
113038
|
if (journal.entries.length === 0) {
|
|
113068
113039
|
console.log(
|
|
113069
113040
|
`[${source_default.blue("i")}] no migration entries found in ${metaFilePath}`
|
|
@@ -113084,11 +113055,11 @@ var dropMigration = async ({
|
|
|
113084
113055
|
"meta",
|
|
113085
113056
|
`${result.data.idx.toFixed(0).padStart(4, "0")}_snapshot.json`
|
|
113086
113057
|
);
|
|
113087
|
-
(0,
|
|
113088
|
-
(0,
|
|
113089
|
-
(0,
|
|
113058
|
+
(0, import_fs7.rmSync)(sqlFilePath);
|
|
113059
|
+
(0, import_fs7.rmSync)(snapshotFilePath);
|
|
113060
|
+
(0, import_fs7.writeFileSync)(metaFilePath, JSON.stringify(resultJournal));
|
|
113090
113061
|
if (bundle) {
|
|
113091
|
-
|
|
113062
|
+
import_fs8.default.writeFileSync(
|
|
113092
113063
|
(0, import_path5.join)(out, `migrations.js`),
|
|
113093
113064
|
embeddedMigrations(resultJournal)
|
|
113094
113065
|
);
|
|
@@ -114130,13 +114101,13 @@ function envPaths(name, { suffix = "nodejs" } = {}) {
|
|
|
114130
114101
|
|
|
114131
114102
|
// src/utils/certs.ts
|
|
114132
114103
|
var import_promises = require("fs/promises");
|
|
114133
|
-
var
|
|
114104
|
+
var import_fs9 = require("fs");
|
|
114134
114105
|
var p = envPaths("drizzle-studio", {
|
|
114135
114106
|
suffix: ""
|
|
114136
114107
|
});
|
|
114137
114108
|
$.verbose = false;
|
|
114138
114109
|
$.cwd = p.data;
|
|
114139
|
-
(0,
|
|
114110
|
+
(0, import_fs9.mkdirSync)(p.data, { recursive: true });
|
|
114140
114111
|
var certs = async () => {
|
|
114141
114112
|
const res = await $`mkcert --help`.nothrow();
|
|
114142
114113
|
const keyPath = (0, import_path6.join)(p.data, "localhost-key.pem");
|
|
@@ -114161,7 +114132,7 @@ certs();
|
|
|
114161
114132
|
init_cli();
|
|
114162
114133
|
init_studio2();
|
|
114163
114134
|
init_views();
|
|
114164
|
-
var
|
|
114135
|
+
var import_fs12 = require("fs");
|
|
114165
114136
|
var import_hanji11 = __toESM(require_hanji());
|
|
114166
114137
|
var printVersions = async () => {
|
|
114167
114138
|
const v6 = await versions();
|
|
@@ -114219,18 +114190,6 @@ var migrateCommand = new import_commander.Command("migrate").option(
|
|
|
114219
114190
|
const { dialect: dialect7, schema: schema5, table: table4 } = result;
|
|
114220
114191
|
try {
|
|
114221
114192
|
if (dialect7 === "postgresql") {
|
|
114222
|
-
if ("driver" in result.credentials) {
|
|
114223
|
-
if (result.credentials.driver === "aws-data-api") {
|
|
114224
|
-
if (!await ormVersionGt("0.30.10")) {
|
|
114225
|
-
console.log(
|
|
114226
|
-
"To use 'aws-data-api' driver - please update drizzle-orm to the latest version"
|
|
114227
|
-
);
|
|
114228
|
-
process.exit(1);
|
|
114229
|
-
}
|
|
114230
|
-
} else {
|
|
114231
|
-
assertUnreachable(result.credentials.driver);
|
|
114232
|
-
}
|
|
114233
|
-
}
|
|
114234
114193
|
const { preparePostgresDB: preparePostgresDB2 } = await Promise.resolve().then(() => (init_connections(), connections_exports));
|
|
114235
114194
|
const { migrate } = await preparePostgresDB2(result.credentials);
|
|
114236
114195
|
await (0, import_hanji11.renderWithTask)(
|
|
@@ -114292,18 +114251,6 @@ var pushCommand = new import_commander.Command("push").option(
|
|
|
114292
114251
|
const { mysqlPush: mysqlPush2 } = await Promise.resolve().then(() => (init_push(), push_exports));
|
|
114293
114252
|
await mysqlPush2(schemaPath, credentials2, tablesFilter, strict, verbose);
|
|
114294
114253
|
} else if (dialect7 === "postgresql") {
|
|
114295
|
-
if ("driver" in credentials2) {
|
|
114296
|
-
if (credentials2.driver === "aws-data-api") {
|
|
114297
|
-
if (!await ormVersionGt("0.30.10")) {
|
|
114298
|
-
console.log(
|
|
114299
|
-
"To use 'aws-data-api' driver - please update drizzle-orm to the latest version"
|
|
114300
|
-
);
|
|
114301
|
-
process.exit(1);
|
|
114302
|
-
}
|
|
114303
|
-
} else {
|
|
114304
|
-
assertUnreachable(credentials2.driver);
|
|
114305
|
-
}
|
|
114306
|
-
}
|
|
114307
114254
|
const { pgPush: pgPush2 } = await Promise.resolve().then(() => (init_push(), push_exports));
|
|
114308
114255
|
await pgPush2(
|
|
114309
114256
|
schemaPath,
|
|
@@ -114372,7 +114319,7 @@ var pullCommand = new import_commander.Command("introspect").option("--config <c
|
|
|
114372
114319
|
tablesFilter,
|
|
114373
114320
|
schemasFilter
|
|
114374
114321
|
} = await preparePullConfig(options);
|
|
114375
|
-
(0,
|
|
114322
|
+
(0, import_fs12.mkdirSync)(out, { recursive: true });
|
|
114376
114323
|
console.log(
|
|
114377
114324
|
grey(
|
|
114378
114325
|
`Pulling from [${schemasFilter.map((it) => `'${it}'`).join(", ")}] list of schemas`
|
|
@@ -114381,18 +114328,6 @@ var pullCommand = new import_commander.Command("introspect").option("--config <c
|
|
|
114381
114328
|
console.log();
|
|
114382
114329
|
try {
|
|
114383
114330
|
if (dialect7 === "postgresql") {
|
|
114384
|
-
if ("driver" in credentials2) {
|
|
114385
|
-
if (credentials2.driver === "aws-data-api") {
|
|
114386
|
-
if (!await ormVersionGt("0.30.10")) {
|
|
114387
|
-
console.log(
|
|
114388
|
-
"To use 'aws-data-api' driver - please update drizzle-orm to the latest version"
|
|
114389
|
-
);
|
|
114390
|
-
process.exit(1);
|
|
114391
|
-
}
|
|
114392
|
-
} else {
|
|
114393
|
-
assertUnreachable(credentials2.driver);
|
|
114394
|
-
}
|
|
114395
|
-
}
|
|
114396
114331
|
const { introspectPostgres: introspectPostgres2 } = await Promise.resolve().then(() => (init_introspect(), introspect_exports));
|
|
114397
114332
|
await introspectPostgres2(
|
|
114398
114333
|
casing2,
|
|
@@ -114469,25 +114404,13 @@ var studioCommand = new import_commander.Command("studio").option("--port <port>
|
|
|
114469
114404
|
let setup;
|
|
114470
114405
|
try {
|
|
114471
114406
|
if (dialect7 === "postgresql") {
|
|
114472
|
-
|
|
114473
|
-
if (credentials2.driver === "aws-data-api") {
|
|
114474
|
-
if (!await ormVersionGt("0.30.10")) {
|
|
114475
|
-
console.log(
|
|
114476
|
-
"To use 'aws-data-api' driver - please update drizzle-orm to the latest version"
|
|
114477
|
-
);
|
|
114478
|
-
process.exit(1);
|
|
114479
|
-
}
|
|
114480
|
-
} else {
|
|
114481
|
-
assertUnreachable(credentials2.driver);
|
|
114482
|
-
}
|
|
114483
|
-
}
|
|
114484
|
-
const { schema: schema5, relations: relations4 } = schemaPath ? await preparePgSchema2(schemaPath) : { schema: {}, relations: {} };
|
|
114407
|
+
const { schema: schema5, relations: relations4 } = await preparePgSchema2(schemaPath);
|
|
114485
114408
|
setup = await drizzleForPostgres2(credentials2, schema5, relations4);
|
|
114486
114409
|
} else if (dialect7 === "mysql") {
|
|
114487
|
-
const { schema: schema5, relations: relations4 } =
|
|
114410
|
+
const { schema: schema5, relations: relations4 } = await prepareMySqlSchema2(schemaPath);
|
|
114488
114411
|
setup = await drizzleForMySQL2(credentials2, schema5, relations4);
|
|
114489
114412
|
} else if (dialect7 === "sqlite") {
|
|
114490
|
-
const { schema: schema5, relations: relations4 } =
|
|
114413
|
+
const { schema: schema5, relations: relations4 } = await prepareSQLiteSchema2(schemaPath);
|
|
114491
114414
|
setup = await drizzleForSQLite2(credentials2, schema5, relations4);
|
|
114492
114415
|
} else {
|
|
114493
114416
|
assertUnreachable(dialect7);
|