@prisma/internals 6.5.0-integration-feat-prisma-config-without-new-package.9 → 6.5.0-integration-engines-6-5-0-44-integration-a9055b89e58b4b5bfb59600785423b1db3d0e75d-e9ebf7d1309110571e3c2df4a1fed37f5a614cef.1
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/dist/{chunk-ALVM3O3O.js → chunk-3DWCLJQ2.js} +5 -5
- package/dist/{chunk-MRLVNXLX.js → chunk-5D44VMAS.js} +5 -5
- package/dist/{chunk-FZTRO62L.js → chunk-B5QTAEVM.js} +8 -8
- package/dist/{chunk-I4W7FXD4.js → chunk-C4IEGAOY.js} +7 -7
- package/dist/{chunk-53Y22I2B.js → chunk-GIM3YH53.js} +5 -5
- package/dist/{chunk-QL5CVCVM.js → chunk-M64P47W4.js} +8 -8
- package/dist/{chunk-PZX3NUFF.js → chunk-MFK43ZSM.js} +34 -34
- package/dist/{chunk-ZP5B4U6D.js → chunk-NQKW7HLQ.js} +8 -8
- package/dist/{chunk-4BIM67DA.js → chunk-PGLHDNCG.js} +34 -34
- package/dist/{chunk-SL6I6MRO.js → chunk-QPLOJ4KQ.js} +5 -5
- package/dist/{chunk-BOSKBIEW.js → chunk-RXKTBDHR.js} +5 -5
- package/dist/{chunk-2J2L4AP4.js → chunk-TZ2XK54G.js} +8 -8
- package/dist/{chunk-FIAOONJQ.js → chunk-ULRY5ZN4.js} +7 -7
- package/dist/{chunk-UB7B3VT4.js → chunk-UOJZI7DJ.js} +5 -5
- package/dist/{chunk-IZ57EPVG.js → chunk-V6Z564LJ.js} +203 -108
- package/dist/{chunk-EPF2VC52.js → chunk-VT6IBJXX.js} +4 -4
- package/dist/{chunk-3BUJ76XG.js → chunk-WRSGGDL4.js} +5 -5
- package/dist/{chunk-M546VQV7.js → chunk-XOBM662N.js} +5 -5
- package/dist/{chunk-KJTSTIRI.js → chunk-Z24QHFWD.js} +8 -8
- package/dist/{chunk-4UYTVCYU.js → chunk-Z4DUIIQU.js} +5 -5
- package/dist/{chunk-DQGTDMKZ.js → chunk-ZRWHMLKR.js} +8 -8
- package/dist/cli/checkUnsupportedDataProxy.js +13 -13
- package/dist/cli/getSchema.js +17 -17
- package/dist/cli/hashes.js +13 -13
- package/dist/engine-commands/errorHelpers.js +4 -4
- package/dist/engine-commands/formatSchema.js +12 -12
- package/dist/engine-commands/getConfig.js +10 -10
- package/dist/engine-commands/getDmmf.js +7 -7
- package/dist/engine-commands/index.js +21 -21
- package/dist/engine-commands/lintSchema.js +8 -8
- package/dist/engine-commands/mergeSchemas.js +7 -7
- package/dist/engine-commands/validate.js +7 -7
- package/dist/get-generators/generatorResolvers/generatorResolvers.js +12 -12
- package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/checkTypeScriptVersion.js +12 -12
- package/dist/get-generators/generatorResolvers/prisma-client-js/prismaClientResolver.js +13 -13
- package/dist/get-generators/getGenerators.js +15 -15
- package/dist/getPackedPackage.js +2 -2
- package/dist/index.js +41 -41
- package/dist/sendPanic.js +12 -12
- package/dist/utils/getEnvPaths.js +12 -12
- package/dist/utils/getVersionFromPackageJson.js +3 -3
- package/dist/utils/handlePanic.js +12 -12
- package/dist/utils/loadEnvFile.js +12 -12
- package/dist/wasm.js +4 -4
- package/package.json +9 -9
@@ -26,8 +26,8 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
26
26
|
mod
|
27
27
|
));
|
28
28
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
29
|
-
var
|
30
|
-
__export(
|
29
|
+
var chunk_V6Z564LJ_exports = {};
|
30
|
+
__export(chunk_V6Z564LJ_exports, {
|
31
31
|
getPackedPackage: () => getPackedPackage,
|
32
32
|
readPackageUp: () => readPackageUp,
|
33
33
|
require_glob: () => require_glob,
|
@@ -35,7 +35,7 @@ __export(chunk_IZ57EPVG_exports, {
|
|
35
35
|
require_minimatch: () => require_minimatch,
|
36
36
|
require_p_map: () => require_p_map
|
37
37
|
});
|
38
|
-
module.exports = __toCommonJS(
|
38
|
+
module.exports = __toCommonJS(chunk_V6Z564LJ_exports);
|
39
39
|
var import_chunk_YXD4CJDK = require("./chunk-YXD4CJDK.js");
|
40
40
|
var import_chunk_LKTTJWFT = require("./chunk-LKTTJWFT.js");
|
41
41
|
var import_chunk_CHMJ5V7I = require("./chunk-CHMJ5V7I.js");
|
@@ -6811,7 +6811,7 @@ var require_validate_npm_package_license = (0, import_chunk_WWAWV7DQ.__commonJS)
|
|
6811
6811
|
}
|
6812
6812
|
});
|
6813
6813
|
var require_commonjs = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
6814
|
-
"../../node_modules/.pnpm/lru-cache@10.
|
6814
|
+
"../../node_modules/.pnpm/lru-cache@10.4.3/node_modules/lru-cache/dist/commonjs/index.js"(exports) {
|
6815
6815
|
"use strict";
|
6816
6816
|
Object.defineProperty(exports, "__esModule", { value: true });
|
6817
6817
|
exports.LRUCache = void 0;
|
@@ -6899,7 +6899,7 @@ var require_commonjs = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
6899
6899
|
_constructing = /* @__PURE__ */ new WeakMap();
|
6900
6900
|
(0, import_chunk_WWAWV7DQ.__privateAdd)(_Stack, _constructing, false);
|
6901
6901
|
var Stack = _Stack;
|
6902
|
-
var _a, _b, _max, _maxSize, _dispose, _disposeAfter, _fetchMethod, _size, _calculatedSize, _keyMap, _keyList, _valList, _next, _prev, _head, _tail, _free, _disposed, _sizes, _starts, _ttls, _hasDispose, _hasFetchMethod, _hasDisposeAfter, _LRUCache_instances, initializeTTLTracking_fn, _updateItemAge, _statusTTL, _setItemTTL, _isStale, initializeSizeTracking_fn, _removeItemSize, _addItemSize, _requireSize, indexes_fn, rindexes_fn, isValidIndex_fn, evict_fn, backgroundFetch_fn, isBackgroundFetch_fn, connect_fn, moveToTail_fn;
|
6902
|
+
var _a, _b, _max, _maxSize, _dispose, _disposeAfter, _fetchMethod, _memoMethod, _size, _calculatedSize, _keyMap, _keyList, _valList, _next, _prev, _head, _tail, _free, _disposed, _sizes, _starts, _ttls, _hasDispose, _hasFetchMethod, _hasDisposeAfter, _LRUCache_instances, initializeTTLTracking_fn, _updateItemAge, _statusTTL, _setItemTTL, _isStale, initializeSizeTracking_fn, _removeItemSize, _addItemSize, _requireSize, indexes_fn, rindexes_fn, isValidIndex_fn, evict_fn, backgroundFetch_fn, isBackgroundFetch_fn, connect_fn, moveToTail_fn, delete_fn, clear_fn;
|
6903
6903
|
var _LRUCache = class _LRUCache2 {
|
6904
6904
|
constructor(options) {
|
6905
6905
|
(0, import_chunk_WWAWV7DQ.__privateAdd)(this, _LRUCache_instances);
|
@@ -6908,6 +6908,7 @@ var require_commonjs = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
6908
6908
|
(0, import_chunk_WWAWV7DQ.__privateAdd)(this, _dispose);
|
6909
6909
|
(0, import_chunk_WWAWV7DQ.__privateAdd)(this, _disposeAfter);
|
6910
6910
|
(0, import_chunk_WWAWV7DQ.__privateAdd)(this, _fetchMethod);
|
6911
|
+
(0, import_chunk_WWAWV7DQ.__privateAdd)(this, _memoMethod);
|
6911
6912
|
(0, import_chunk_WWAWV7DQ.__publicField)(this, "ttl");
|
6912
6913
|
(0, import_chunk_WWAWV7DQ.__publicField)(this, "ttlResolution");
|
6913
6914
|
(0, import_chunk_WWAWV7DQ.__publicField)(this, "ttlAutopurge");
|
@@ -6958,7 +6959,7 @@ var require_commonjs = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
6958
6959
|
return 0;
|
6959
6960
|
});
|
6960
6961
|
(0, import_chunk_WWAWV7DQ.__publicField)(this, _a, "LRUCache");
|
6961
|
-
const { max = 0, ttl, ttlResolution = 1, ttlAutopurge, updateAgeOnGet, updateAgeOnHas, allowStale, dispose, disposeAfter, noDisposeOnSet, noUpdateTTL, maxSize = 0, maxEntrySize = 0, sizeCalculation, fetchMethod, noDeleteOnFetchRejection, noDeleteOnStaleGet, allowStaleOnFetchRejection, allowStaleOnFetchAbort, ignoreFetchAbort } = options;
|
6962
|
+
const { max = 0, ttl, ttlResolution = 1, ttlAutopurge, updateAgeOnGet, updateAgeOnHas, allowStale, dispose, disposeAfter, noDisposeOnSet, noUpdateTTL, maxSize = 0, maxEntrySize = 0, sizeCalculation, fetchMethod, memoMethod, noDeleteOnFetchRejection, noDeleteOnStaleGet, allowStaleOnFetchRejection, allowStaleOnFetchAbort, ignoreFetchAbort } = options;
|
6962
6963
|
if (max !== 0 && !isPosInt(max)) {
|
6963
6964
|
throw new TypeError("max option must be a nonnegative integer");
|
6964
6965
|
}
|
@@ -6978,6 +6979,10 @@ var require_commonjs = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
6978
6979
|
throw new TypeError("sizeCalculation set to non-function");
|
6979
6980
|
}
|
6980
6981
|
}
|
6982
|
+
if (memoMethod !== void 0 && typeof memoMethod !== "function") {
|
6983
|
+
throw new TypeError("memoMethod must be a function if defined");
|
6984
|
+
}
|
6985
|
+
(0, import_chunk_WWAWV7DQ.__privateSet)(this, _memoMethod, memoMethod);
|
6981
6986
|
if (fetchMethod !== void 0 && typeof fetchMethod !== "function") {
|
6982
6987
|
throw new TypeError("fetchMethod must be a function if specified");
|
6983
6988
|
}
|
@@ -7132,6 +7137,9 @@ var require_commonjs = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
7132
7137
|
get fetchMethod() {
|
7133
7138
|
return (0, import_chunk_WWAWV7DQ.__privateGet)(this, _fetchMethod);
|
7134
7139
|
}
|
7140
|
+
get memoMethod() {
|
7141
|
+
return (0, import_chunk_WWAWV7DQ.__privateGet)(this, _memoMethod);
|
7142
|
+
}
|
7135
7143
|
/**
|
7136
7144
|
* {@link LRUCache.OptionsBase.dispose} (read-only)
|
7137
7145
|
*/
|
@@ -7145,7 +7153,8 @@ var require_commonjs = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
7145
7153
|
return (0, import_chunk_WWAWV7DQ.__privateGet)(this, _disposeAfter);
|
7146
7154
|
}
|
7147
7155
|
/**
|
7148
|
-
* Return the
|
7156
|
+
* Return the number of ms left in the item's TTL. If item is not in cache,
|
7157
|
+
* returns `0`. Returns `Infinity` if item is in cache without a defined TTL.
|
7149
7158
|
*/
|
7150
7159
|
getRemainingTTL(key) {
|
7151
7160
|
return (0, import_chunk_WWAWV7DQ.__privateGet)(this, _keyMap).has(key) ? Infinity : 0;
|
@@ -7235,7 +7244,7 @@ var require_commonjs = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
7235
7244
|
}
|
7236
7245
|
/**
|
7237
7246
|
* Find a value for which the supplied fn method returns a truthy value,
|
7238
|
-
* similar to Array.find()
|
7247
|
+
* similar to `Array.find()`. fn is called as `fn(value, key, cache)`.
|
7239
7248
|
*/
|
7240
7249
|
find(fn, getOptions = {}) {
|
7241
7250
|
for (const i of (0, import_chunk_WWAWV7DQ.__privateMethod)(this, _LRUCache_instances, indexes_fn).call(this)) {
|
@@ -7249,10 +7258,15 @@ var require_commonjs = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
7249
7258
|
}
|
7250
7259
|
}
|
7251
7260
|
/**
|
7252
|
-
* Call the supplied function on each item in the cache, in order from
|
7253
|
-
*
|
7254
|
-
*
|
7255
|
-
*
|
7261
|
+
* Call the supplied function on each item in the cache, in order from most
|
7262
|
+
* recently used to least recently used.
|
7263
|
+
*
|
7264
|
+
* `fn` is called as `fn(value, key, cache)`.
|
7265
|
+
*
|
7266
|
+
* If `thisp` is provided, function will be called in the `this`-context of
|
7267
|
+
* the provided object, or the cache if no `thisp` object is provided.
|
7268
|
+
*
|
7269
|
+
* Does not update age or recenty of use, or iterate over stale values.
|
7256
7270
|
*/
|
7257
7271
|
forEach(fn, thisp = this) {
|
7258
7272
|
for (const i of (0, import_chunk_WWAWV7DQ.__privateMethod)(this, _LRUCache_instances, indexes_fn).call(this)) {
|
@@ -7284,7 +7298,7 @@ var require_commonjs = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
7284
7298
|
let deleted = false;
|
7285
7299
|
for (const i of (0, import_chunk_WWAWV7DQ.__privateMethod)(this, _LRUCache_instances, rindexes_fn).call(this, { allowStale: true })) {
|
7286
7300
|
if ((0, import_chunk_WWAWV7DQ.__privateGet)(this, _isStale).call(this, i)) {
|
7287
|
-
this.
|
7301
|
+
(0, import_chunk_WWAWV7DQ.__privateMethod)(this, _LRUCache_instances, delete_fn).call(this, (0, import_chunk_WWAWV7DQ.__privateGet)(this, _keyList)[i], "expire");
|
7288
7302
|
deleted = true;
|
7289
7303
|
}
|
7290
7304
|
}
|
@@ -7292,9 +7306,15 @@ var require_commonjs = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
7292
7306
|
}
|
7293
7307
|
/**
|
7294
7308
|
* Get the extended info about a given entry, to get its value, size, and
|
7295
|
-
* TTL info simultaneously.
|
7296
|
-
*
|
7297
|
-
*
|
7309
|
+
* TTL info simultaneously. Returns `undefined` if the key is not present.
|
7310
|
+
*
|
7311
|
+
* Unlike {@link LRUCache#dump}, which is designed to be portable and survive
|
7312
|
+
* serialization, the `start` value is always the current timestamp, and the
|
7313
|
+
* `ttl` is a calculated remaining time to live (negative if expired).
|
7314
|
+
*
|
7315
|
+
* Always returns stale values, if their info is found in the cache, so be
|
7316
|
+
* sure to check for expirations (ie, a negative {@link LRUCache.Entry#ttl})
|
7317
|
+
* if relevant.
|
7298
7318
|
*/
|
7299
7319
|
info(key) {
|
7300
7320
|
const i = (0, import_chunk_WWAWV7DQ.__privateGet)(this, _keyMap).get(key);
|
@@ -7321,7 +7341,16 @@ var require_commonjs = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
7321
7341
|
}
|
7322
7342
|
/**
|
7323
7343
|
* Return an array of [key, {@link LRUCache.Entry}] tuples which can be
|
7324
|
-
* passed to
|
7344
|
+
* passed to {@link LRLUCache#load}.
|
7345
|
+
*
|
7346
|
+
* The `start` fields are calculated relative to a portable `Date.now()`
|
7347
|
+
* timestamp, even if `performance.now()` is available.
|
7348
|
+
*
|
7349
|
+
* Stale entries are always included in the `dump`, even if
|
7350
|
+
* {@link LRUCache.OptionsBase.allowStale} is false.
|
7351
|
+
*
|
7352
|
+
* Note: this returns an actual array, not a generator, so it can be more
|
7353
|
+
* easily passed around.
|
7325
7354
|
*/
|
7326
7355
|
dump() {
|
7327
7356
|
const arr = [];
|
@@ -7346,8 +7375,12 @@ var require_commonjs = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
7346
7375
|
}
|
7347
7376
|
/**
|
7348
7377
|
* Reset the cache and load in the items in entries in the order listed.
|
7349
|
-
*
|
7350
|
-
*
|
7378
|
+
*
|
7379
|
+
* The shape of the resulting cache may be different if the same options are
|
7380
|
+
* not used in both caches.
|
7381
|
+
*
|
7382
|
+
* The `start` fields are assumed to be calculated relative to a portable
|
7383
|
+
* `Date.now()` timestamp, even if `performance.now()` is available.
|
7351
7384
|
*/
|
7352
7385
|
load(arr) {
|
7353
7386
|
this.clear();
|
@@ -7364,6 +7397,30 @@ var require_commonjs = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
7364
7397
|
*
|
7365
7398
|
* Note: if `undefined` is specified as a value, this is an alias for
|
7366
7399
|
* {@link LRUCache#delete}
|
7400
|
+
*
|
7401
|
+
* Fields on the {@link LRUCache.SetOptions} options param will override
|
7402
|
+
* their corresponding values in the constructor options for the scope
|
7403
|
+
* of this single `set()` operation.
|
7404
|
+
*
|
7405
|
+
* If `start` is provided, then that will set the effective start
|
7406
|
+
* time for the TTL calculation. Note that this must be a previous
|
7407
|
+
* value of `performance.now()` if supported, or a previous value of
|
7408
|
+
* `Date.now()` if not.
|
7409
|
+
*
|
7410
|
+
* Options object may also include `size`, which will prevent
|
7411
|
+
* calling the `sizeCalculation` function and just use the specified
|
7412
|
+
* number if it is a positive integer, and `noDisposeOnSet` which
|
7413
|
+
* will prevent calling a `dispose` function in the case of
|
7414
|
+
* overwrites.
|
7415
|
+
*
|
7416
|
+
* If the `size` (or return value of `sizeCalculation`) for a given
|
7417
|
+
* entry is greater than `maxEntrySize`, then the item will not be
|
7418
|
+
* added to the cache.
|
7419
|
+
*
|
7420
|
+
* Will update the recency of the entry.
|
7421
|
+
*
|
7422
|
+
* If the value is `undefined`, then this is an alias for
|
7423
|
+
* `cache.delete(key)`. `undefined` is never stored in the cache.
|
7367
7424
|
*/
|
7368
7425
|
set(k, v, setOptions = {}) {
|
7369
7426
|
var _a2, _b2, _c;
|
@@ -7379,7 +7436,7 @@ var require_commonjs = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
7379
7436
|
status.set = "miss";
|
7380
7437
|
status.maxEntrySizeExceeded = true;
|
7381
7438
|
}
|
7382
|
-
this.
|
7439
|
+
(0, import_chunk_WWAWV7DQ.__privateMethod)(this, _LRUCache_instances, delete_fn).call(this, k, "set");
|
7383
7440
|
return this;
|
7384
7441
|
}
|
7385
7442
|
let index = (0, import_chunk_WWAWV7DQ.__privateGet)(this, _size) === 0 ? void 0 : (0, import_chunk_WWAWV7DQ.__privateGet)(this, _keyMap).get(k);
|
@@ -7484,6 +7541,14 @@ var require_commonjs = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
7484
7541
|
* Will return false if the item is stale, even though it is technically
|
7485
7542
|
* in the cache.
|
7486
7543
|
*
|
7544
|
+
* Check if a key is in the cache, without updating the recency of
|
7545
|
+
* use. Age is updated if {@link LRUCache.OptionsBase.updateAgeOnHas} is set
|
7546
|
+
* to `true` in either the options or the constructor.
|
7547
|
+
*
|
7548
|
+
* Will return `false` if the item is stale, even though it is technically in
|
7549
|
+
* the cache. The difference can be determined (if it matters) by using a
|
7550
|
+
* `status` argument, and inspecting the `has` field.
|
7551
|
+
*
|
7487
7552
|
* Will not update item age unless
|
7488
7553
|
* {@link LRUCache.OptionsBase.updateAgeOnHas} is set.
|
7489
7554
|
*/
|
@@ -7617,6 +7682,28 @@ var require_commonjs = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
7617
7682
|
return staleVal ? p.__staleWhileFetching : p.__returned = p;
|
7618
7683
|
}
|
7619
7684
|
}
|
7685
|
+
async forceFetch(k, fetchOptions = {}) {
|
7686
|
+
const v = await this.fetch(k, fetchOptions);
|
7687
|
+
if (v === void 0)
|
7688
|
+
throw new Error("fetch() returned undefined");
|
7689
|
+
return v;
|
7690
|
+
}
|
7691
|
+
memo(k, memoOptions = {}) {
|
7692
|
+
const memoMethod = (0, import_chunk_WWAWV7DQ.__privateGet)(this, _memoMethod);
|
7693
|
+
if (!memoMethod) {
|
7694
|
+
throw new Error("no memoMethod provided to constructor");
|
7695
|
+
}
|
7696
|
+
const { context, forceRefresh, ...options } = memoOptions;
|
7697
|
+
const v = this.get(k, options);
|
7698
|
+
if (!forceRefresh && v !== void 0)
|
7699
|
+
return v;
|
7700
|
+
const vv = memoMethod(k, v, {
|
7701
|
+
options,
|
7702
|
+
context
|
7703
|
+
});
|
7704
|
+
this.set(k, vv, options);
|
7705
|
+
return vv;
|
7706
|
+
}
|
7620
7707
|
/**
|
7621
7708
|
* Return a value from the cache. Will update the recency of the cache
|
7622
7709
|
* entry found.
|
@@ -7636,7 +7723,7 @@ var require_commonjs = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
7636
7723
|
status.get = "stale";
|
7637
7724
|
if (!fetching) {
|
7638
7725
|
if (!noDeleteOnStaleGet) {
|
7639
|
-
this.
|
7726
|
+
(0, import_chunk_WWAWV7DQ.__privateMethod)(this, _LRUCache_instances, delete_fn).call(this, k, "expire");
|
7640
7727
|
}
|
7641
7728
|
if (status && allowStale)
|
7642
7729
|
status.returnedStale = true;
|
@@ -7665,98 +7752,17 @@ var require_commonjs = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
7665
7752
|
}
|
7666
7753
|
/**
|
7667
7754
|
* Deletes a key out of the cache.
|
7755
|
+
*
|
7668
7756
|
* Returns true if the key was deleted, false otherwise.
|
7669
7757
|
*/
|
7670
7758
|
delete(k) {
|
7671
|
-
|
7672
|
-
let deleted = false;
|
7673
|
-
if ((0, import_chunk_WWAWV7DQ.__privateGet)(this, _size) !== 0) {
|
7674
|
-
const index = (0, import_chunk_WWAWV7DQ.__privateGet)(this, _keyMap).get(k);
|
7675
|
-
if (index !== void 0) {
|
7676
|
-
deleted = true;
|
7677
|
-
if ((0, import_chunk_WWAWV7DQ.__privateGet)(this, _size) === 1) {
|
7678
|
-
this.clear();
|
7679
|
-
} else {
|
7680
|
-
(0, import_chunk_WWAWV7DQ.__privateGet)(this, _removeItemSize).call(this, index);
|
7681
|
-
const v = (0, import_chunk_WWAWV7DQ.__privateGet)(this, _valList)[index];
|
7682
|
-
if ((0, import_chunk_WWAWV7DQ.__privateMethod)(this, _LRUCache_instances, isBackgroundFetch_fn).call(this, v)) {
|
7683
|
-
v.__abortController.abort(new Error("deleted"));
|
7684
|
-
} else if ((0, import_chunk_WWAWV7DQ.__privateGet)(this, _hasDispose) || (0, import_chunk_WWAWV7DQ.__privateGet)(this, _hasDisposeAfter)) {
|
7685
|
-
if ((0, import_chunk_WWAWV7DQ.__privateGet)(this, _hasDispose)) {
|
7686
|
-
(_a2 = (0, import_chunk_WWAWV7DQ.__privateGet)(this, _dispose)) == null ? void 0 : _a2.call(this, v, k, "delete");
|
7687
|
-
}
|
7688
|
-
if ((0, import_chunk_WWAWV7DQ.__privateGet)(this, _hasDisposeAfter)) {
|
7689
|
-
(0, import_chunk_WWAWV7DQ.__privateGet)(this, _disposed)?.push([v, k, "delete"]);
|
7690
|
-
}
|
7691
|
-
}
|
7692
|
-
(0, import_chunk_WWAWV7DQ.__privateGet)(this, _keyMap).delete(k);
|
7693
|
-
(0, import_chunk_WWAWV7DQ.__privateGet)(this, _keyList)[index] = void 0;
|
7694
|
-
(0, import_chunk_WWAWV7DQ.__privateGet)(this, _valList)[index] = void 0;
|
7695
|
-
if (index === (0, import_chunk_WWAWV7DQ.__privateGet)(this, _tail)) {
|
7696
|
-
(0, import_chunk_WWAWV7DQ.__privateSet)(this, _tail, (0, import_chunk_WWAWV7DQ.__privateGet)(this, _prev)[index]);
|
7697
|
-
} else if (index === (0, import_chunk_WWAWV7DQ.__privateGet)(this, _head)) {
|
7698
|
-
(0, import_chunk_WWAWV7DQ.__privateSet)(this, _head, (0, import_chunk_WWAWV7DQ.__privateGet)(this, _next)[index]);
|
7699
|
-
} else {
|
7700
|
-
const pi = (0, import_chunk_WWAWV7DQ.__privateGet)(this, _prev)[index];
|
7701
|
-
(0, import_chunk_WWAWV7DQ.__privateGet)(this, _next)[pi] = (0, import_chunk_WWAWV7DQ.__privateGet)(this, _next)[index];
|
7702
|
-
const ni = (0, import_chunk_WWAWV7DQ.__privateGet)(this, _next)[index];
|
7703
|
-
(0, import_chunk_WWAWV7DQ.__privateGet)(this, _prev)[ni] = (0, import_chunk_WWAWV7DQ.__privateGet)(this, _prev)[index];
|
7704
|
-
}
|
7705
|
-
(0, import_chunk_WWAWV7DQ.__privateWrapper)(this, _size)._--;
|
7706
|
-
(0, import_chunk_WWAWV7DQ.__privateGet)(this, _free).push(index);
|
7707
|
-
}
|
7708
|
-
}
|
7709
|
-
}
|
7710
|
-
if ((0, import_chunk_WWAWV7DQ.__privateGet)(this, _hasDisposeAfter) && (0, import_chunk_WWAWV7DQ.__privateGet)(this, _disposed)?.length) {
|
7711
|
-
const dt = (0, import_chunk_WWAWV7DQ.__privateGet)(this, _disposed);
|
7712
|
-
let task;
|
7713
|
-
while (task = dt?.shift()) {
|
7714
|
-
(_b2 = (0, import_chunk_WWAWV7DQ.__privateGet)(this, _disposeAfter)) == null ? void 0 : _b2.call(this, ...task);
|
7715
|
-
}
|
7716
|
-
}
|
7717
|
-
return deleted;
|
7759
|
+
return (0, import_chunk_WWAWV7DQ.__privateMethod)(this, _LRUCache_instances, delete_fn).call(this, k, "delete");
|
7718
7760
|
}
|
7719
7761
|
/**
|
7720
7762
|
* Clear the cache entirely, throwing away all values.
|
7721
7763
|
*/
|
7722
7764
|
clear() {
|
7723
|
-
|
7724
|
-
for (const index of (0, import_chunk_WWAWV7DQ.__privateMethod)(this, _LRUCache_instances, rindexes_fn).call(this, { allowStale: true })) {
|
7725
|
-
const v = (0, import_chunk_WWAWV7DQ.__privateGet)(this, _valList)[index];
|
7726
|
-
if ((0, import_chunk_WWAWV7DQ.__privateMethod)(this, _LRUCache_instances, isBackgroundFetch_fn).call(this, v)) {
|
7727
|
-
v.__abortController.abort(new Error("deleted"));
|
7728
|
-
} else {
|
7729
|
-
const k = (0, import_chunk_WWAWV7DQ.__privateGet)(this, _keyList)[index];
|
7730
|
-
if ((0, import_chunk_WWAWV7DQ.__privateGet)(this, _hasDispose)) {
|
7731
|
-
(_a2 = (0, import_chunk_WWAWV7DQ.__privateGet)(this, _dispose)) == null ? void 0 : _a2.call(this, v, k, "delete");
|
7732
|
-
}
|
7733
|
-
if ((0, import_chunk_WWAWV7DQ.__privateGet)(this, _hasDisposeAfter)) {
|
7734
|
-
(0, import_chunk_WWAWV7DQ.__privateGet)(this, _disposed)?.push([v, k, "delete"]);
|
7735
|
-
}
|
7736
|
-
}
|
7737
|
-
}
|
7738
|
-
(0, import_chunk_WWAWV7DQ.__privateGet)(this, _keyMap).clear();
|
7739
|
-
(0, import_chunk_WWAWV7DQ.__privateGet)(this, _valList).fill(void 0);
|
7740
|
-
(0, import_chunk_WWAWV7DQ.__privateGet)(this, _keyList).fill(void 0);
|
7741
|
-
if ((0, import_chunk_WWAWV7DQ.__privateGet)(this, _ttls) && (0, import_chunk_WWAWV7DQ.__privateGet)(this, _starts)) {
|
7742
|
-
(0, import_chunk_WWAWV7DQ.__privateGet)(this, _ttls).fill(0);
|
7743
|
-
(0, import_chunk_WWAWV7DQ.__privateGet)(this, _starts).fill(0);
|
7744
|
-
}
|
7745
|
-
if ((0, import_chunk_WWAWV7DQ.__privateGet)(this, _sizes)) {
|
7746
|
-
(0, import_chunk_WWAWV7DQ.__privateGet)(this, _sizes).fill(0);
|
7747
|
-
}
|
7748
|
-
(0, import_chunk_WWAWV7DQ.__privateSet)(this, _head, 0);
|
7749
|
-
(0, import_chunk_WWAWV7DQ.__privateSet)(this, _tail, 0);
|
7750
|
-
(0, import_chunk_WWAWV7DQ.__privateGet)(this, _free).length = 0;
|
7751
|
-
(0, import_chunk_WWAWV7DQ.__privateSet)(this, _calculatedSize, 0);
|
7752
|
-
(0, import_chunk_WWAWV7DQ.__privateSet)(this, _size, 0);
|
7753
|
-
if ((0, import_chunk_WWAWV7DQ.__privateGet)(this, _hasDisposeAfter) && (0, import_chunk_WWAWV7DQ.__privateGet)(this, _disposed)) {
|
7754
|
-
const dt = (0, import_chunk_WWAWV7DQ.__privateGet)(this, _disposed);
|
7755
|
-
let task;
|
7756
|
-
while (task = dt?.shift()) {
|
7757
|
-
(_b2 = (0, import_chunk_WWAWV7DQ.__privateGet)(this, _disposeAfter)) == null ? void 0 : _b2.call(this, ...task);
|
7758
|
-
}
|
7759
|
-
}
|
7765
|
+
return (0, import_chunk_WWAWV7DQ.__privateMethod)(this, _LRUCache_instances, clear_fn).call(this, "delete");
|
7760
7766
|
}
|
7761
7767
|
};
|
7762
7768
|
_max = /* @__PURE__ */ new WeakMap();
|
@@ -7764,6 +7770,7 @@ var require_commonjs = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
7764
7770
|
_dispose = /* @__PURE__ */ new WeakMap();
|
7765
7771
|
_disposeAfter = /* @__PURE__ */ new WeakMap();
|
7766
7772
|
_fetchMethod = /* @__PURE__ */ new WeakMap();
|
7773
|
+
_memoMethod = /* @__PURE__ */ new WeakMap();
|
7767
7774
|
_size = /* @__PURE__ */ new WeakMap();
|
7768
7775
|
_calculatedSize = /* @__PURE__ */ new WeakMap();
|
7769
7776
|
_keyMap = /* @__PURE__ */ new WeakMap();
|
@@ -7793,7 +7800,7 @@ var require_commonjs = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
7793
7800
|
if (ttl !== 0 && this.ttlAutopurge) {
|
7794
7801
|
const t = setTimeout(() => {
|
7795
7802
|
if ((0, import_chunk_WWAWV7DQ.__privateGet)(this, _isStale).call(this, index)) {
|
7796
|
-
this.
|
7803
|
+
(0, import_chunk_WWAWV7DQ.__privateMethod)(this, _LRUCache_instances, delete_fn).call(this, (0, import_chunk_WWAWV7DQ.__privateGet)(this, _keyList)[index], "expire");
|
7797
7804
|
}
|
7798
7805
|
}, ttl + 1);
|
7799
7806
|
if (t.unref) {
|
@@ -8002,7 +8009,7 @@ var require_commonjs = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
8002
8009
|
if (bf2.__staleWhileFetching) {
|
8003
8010
|
(0, import_chunk_WWAWV7DQ.__privateGet)(this, _valList)[index] = bf2.__staleWhileFetching;
|
8004
8011
|
} else {
|
8005
|
-
this.
|
8012
|
+
(0, import_chunk_WWAWV7DQ.__privateMethod)(this, _LRUCache_instances, delete_fn).call(this, k, "fetch");
|
8006
8013
|
}
|
8007
8014
|
} else {
|
8008
8015
|
if (options.status)
|
@@ -8028,7 +8035,7 @@ var require_commonjs = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
8028
8035
|
if ((0, import_chunk_WWAWV7DQ.__privateGet)(this, _valList)[index] === p) {
|
8029
8036
|
const del = !noDelete || bf2.__staleWhileFetching === void 0;
|
8030
8037
|
if (del) {
|
8031
|
-
this.
|
8038
|
+
(0, import_chunk_WWAWV7DQ.__privateMethod)(this, _LRUCache_instances, delete_fn).call(this, k, "fetch");
|
8032
8039
|
} else if (!allowStaleAborted) {
|
8033
8040
|
(0, import_chunk_WWAWV7DQ.__privateGet)(this, _valList)[index] = bf2.__staleWhileFetching;
|
8034
8041
|
}
|
@@ -8094,6 +8101,94 @@ var require_commonjs = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
8094
8101
|
(0, import_chunk_WWAWV7DQ.__privateSet)(this, _tail, index);
|
8095
8102
|
}
|
8096
8103
|
};
|
8104
|
+
delete_fn = function(k, reason) {
|
8105
|
+
var _a2, _b2;
|
8106
|
+
let deleted = false;
|
8107
|
+
if ((0, import_chunk_WWAWV7DQ.__privateGet)(this, _size) !== 0) {
|
8108
|
+
const index = (0, import_chunk_WWAWV7DQ.__privateGet)(this, _keyMap).get(k);
|
8109
|
+
if (index !== void 0) {
|
8110
|
+
deleted = true;
|
8111
|
+
if ((0, import_chunk_WWAWV7DQ.__privateGet)(this, _size) === 1) {
|
8112
|
+
(0, import_chunk_WWAWV7DQ.__privateMethod)(this, _LRUCache_instances, clear_fn).call(this, reason);
|
8113
|
+
} else {
|
8114
|
+
(0, import_chunk_WWAWV7DQ.__privateGet)(this, _removeItemSize).call(this, index);
|
8115
|
+
const v = (0, import_chunk_WWAWV7DQ.__privateGet)(this, _valList)[index];
|
8116
|
+
if ((0, import_chunk_WWAWV7DQ.__privateMethod)(this, _LRUCache_instances, isBackgroundFetch_fn).call(this, v)) {
|
8117
|
+
v.__abortController.abort(new Error("deleted"));
|
8118
|
+
} else if ((0, import_chunk_WWAWV7DQ.__privateGet)(this, _hasDispose) || (0, import_chunk_WWAWV7DQ.__privateGet)(this, _hasDisposeAfter)) {
|
8119
|
+
if ((0, import_chunk_WWAWV7DQ.__privateGet)(this, _hasDispose)) {
|
8120
|
+
(_a2 = (0, import_chunk_WWAWV7DQ.__privateGet)(this, _dispose)) == null ? void 0 : _a2.call(this, v, k, reason);
|
8121
|
+
}
|
8122
|
+
if ((0, import_chunk_WWAWV7DQ.__privateGet)(this, _hasDisposeAfter)) {
|
8123
|
+
(0, import_chunk_WWAWV7DQ.__privateGet)(this, _disposed)?.push([v, k, reason]);
|
8124
|
+
}
|
8125
|
+
}
|
8126
|
+
(0, import_chunk_WWAWV7DQ.__privateGet)(this, _keyMap).delete(k);
|
8127
|
+
(0, import_chunk_WWAWV7DQ.__privateGet)(this, _keyList)[index] = void 0;
|
8128
|
+
(0, import_chunk_WWAWV7DQ.__privateGet)(this, _valList)[index] = void 0;
|
8129
|
+
if (index === (0, import_chunk_WWAWV7DQ.__privateGet)(this, _tail)) {
|
8130
|
+
(0, import_chunk_WWAWV7DQ.__privateSet)(this, _tail, (0, import_chunk_WWAWV7DQ.__privateGet)(this, _prev)[index]);
|
8131
|
+
} else if (index === (0, import_chunk_WWAWV7DQ.__privateGet)(this, _head)) {
|
8132
|
+
(0, import_chunk_WWAWV7DQ.__privateSet)(this, _head, (0, import_chunk_WWAWV7DQ.__privateGet)(this, _next)[index]);
|
8133
|
+
} else {
|
8134
|
+
const pi = (0, import_chunk_WWAWV7DQ.__privateGet)(this, _prev)[index];
|
8135
|
+
(0, import_chunk_WWAWV7DQ.__privateGet)(this, _next)[pi] = (0, import_chunk_WWAWV7DQ.__privateGet)(this, _next)[index];
|
8136
|
+
const ni = (0, import_chunk_WWAWV7DQ.__privateGet)(this, _next)[index];
|
8137
|
+
(0, import_chunk_WWAWV7DQ.__privateGet)(this, _prev)[ni] = (0, import_chunk_WWAWV7DQ.__privateGet)(this, _prev)[index];
|
8138
|
+
}
|
8139
|
+
(0, import_chunk_WWAWV7DQ.__privateWrapper)(this, _size)._--;
|
8140
|
+
(0, import_chunk_WWAWV7DQ.__privateGet)(this, _free).push(index);
|
8141
|
+
}
|
8142
|
+
}
|
8143
|
+
}
|
8144
|
+
if ((0, import_chunk_WWAWV7DQ.__privateGet)(this, _hasDisposeAfter) && (0, import_chunk_WWAWV7DQ.__privateGet)(this, _disposed)?.length) {
|
8145
|
+
const dt = (0, import_chunk_WWAWV7DQ.__privateGet)(this, _disposed);
|
8146
|
+
let task;
|
8147
|
+
while (task = dt?.shift()) {
|
8148
|
+
(_b2 = (0, import_chunk_WWAWV7DQ.__privateGet)(this, _disposeAfter)) == null ? void 0 : _b2.call(this, ...task);
|
8149
|
+
}
|
8150
|
+
}
|
8151
|
+
return deleted;
|
8152
|
+
};
|
8153
|
+
clear_fn = function(reason) {
|
8154
|
+
var _a2, _b2;
|
8155
|
+
for (const index of (0, import_chunk_WWAWV7DQ.__privateMethod)(this, _LRUCache_instances, rindexes_fn).call(this, { allowStale: true })) {
|
8156
|
+
const v = (0, import_chunk_WWAWV7DQ.__privateGet)(this, _valList)[index];
|
8157
|
+
if ((0, import_chunk_WWAWV7DQ.__privateMethod)(this, _LRUCache_instances, isBackgroundFetch_fn).call(this, v)) {
|
8158
|
+
v.__abortController.abort(new Error("deleted"));
|
8159
|
+
} else {
|
8160
|
+
const k = (0, import_chunk_WWAWV7DQ.__privateGet)(this, _keyList)[index];
|
8161
|
+
if ((0, import_chunk_WWAWV7DQ.__privateGet)(this, _hasDispose)) {
|
8162
|
+
(_a2 = (0, import_chunk_WWAWV7DQ.__privateGet)(this, _dispose)) == null ? void 0 : _a2.call(this, v, k, reason);
|
8163
|
+
}
|
8164
|
+
if ((0, import_chunk_WWAWV7DQ.__privateGet)(this, _hasDisposeAfter)) {
|
8165
|
+
(0, import_chunk_WWAWV7DQ.__privateGet)(this, _disposed)?.push([v, k, reason]);
|
8166
|
+
}
|
8167
|
+
}
|
8168
|
+
}
|
8169
|
+
(0, import_chunk_WWAWV7DQ.__privateGet)(this, _keyMap).clear();
|
8170
|
+
(0, import_chunk_WWAWV7DQ.__privateGet)(this, _valList).fill(void 0);
|
8171
|
+
(0, import_chunk_WWAWV7DQ.__privateGet)(this, _keyList).fill(void 0);
|
8172
|
+
if ((0, import_chunk_WWAWV7DQ.__privateGet)(this, _ttls) && (0, import_chunk_WWAWV7DQ.__privateGet)(this, _starts)) {
|
8173
|
+
(0, import_chunk_WWAWV7DQ.__privateGet)(this, _ttls).fill(0);
|
8174
|
+
(0, import_chunk_WWAWV7DQ.__privateGet)(this, _starts).fill(0);
|
8175
|
+
}
|
8176
|
+
if ((0, import_chunk_WWAWV7DQ.__privateGet)(this, _sizes)) {
|
8177
|
+
(0, import_chunk_WWAWV7DQ.__privateGet)(this, _sizes).fill(0);
|
8178
|
+
}
|
8179
|
+
(0, import_chunk_WWAWV7DQ.__privateSet)(this, _head, 0);
|
8180
|
+
(0, import_chunk_WWAWV7DQ.__privateSet)(this, _tail, 0);
|
8181
|
+
(0, import_chunk_WWAWV7DQ.__privateGet)(this, _free).length = 0;
|
8182
|
+
(0, import_chunk_WWAWV7DQ.__privateSet)(this, _calculatedSize, 0);
|
8183
|
+
(0, import_chunk_WWAWV7DQ.__privateSet)(this, _size, 0);
|
8184
|
+
if ((0, import_chunk_WWAWV7DQ.__privateGet)(this, _hasDisposeAfter) && (0, import_chunk_WWAWV7DQ.__privateGet)(this, _disposed)) {
|
8185
|
+
const dt = (0, import_chunk_WWAWV7DQ.__privateGet)(this, _disposed);
|
8186
|
+
let task;
|
8187
|
+
while (task = dt?.shift()) {
|
8188
|
+
(_b2 = (0, import_chunk_WWAWV7DQ.__privateGet)(this, _disposeAfter)) == null ? void 0 : _b2.call(this, ...task);
|
8189
|
+
}
|
8190
|
+
}
|
8191
|
+
};
|
8097
8192
|
var LRUCache = _LRUCache;
|
8098
8193
|
exports.LRUCache = LRUCache;
|
8099
8194
|
}
|
@@ -16,11 +16,11 @@ var __copyProps = (to, from, except, desc) => {
|
|
16
16
|
return to;
|
17
17
|
};
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
19
|
-
var
|
20
|
-
__export(
|
19
|
+
var chunk_VT6IBJXX_exports = {};
|
20
|
+
__export(chunk_VT6IBJXX_exports, {
|
21
21
|
require_package: () => require_package
|
22
22
|
});
|
23
|
-
module.exports = __toCommonJS(
|
23
|
+
module.exports = __toCommonJS(chunk_VT6IBJXX_exports);
|
24
24
|
var import_chunk_WWAWV7DQ = require("./chunk-WWAWV7DQ.js");
|
25
25
|
var require_package = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
26
26
|
"package.json"(exports, module2) {
|
@@ -111,7 +111,7 @@ var require_package = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
111
111
|
"@prisma/fetch-engine": "workspace:*",
|
112
112
|
"@prisma/generator-helper": "workspace:*",
|
113
113
|
"@prisma/get-platform": "workspace:*",
|
114
|
-
"@prisma/prisma-schema-wasm": "6.5.0-
|
114
|
+
"@prisma/prisma-schema-wasm": "6.5.0-44.integration-a9055b89e58b4b5bfb59600785423b1db3d0e75d-e9ebf7d1309110571e3c2df4a1fed37f5a614cef",
|
115
115
|
"@prisma/schema-files-loader": "workspace:*",
|
116
116
|
arg: "5.0.2",
|
117
117
|
prompts: "2.4.2"
|
@@ -16,11 +16,11 @@ var __copyProps = (to, from, except, desc) => {
|
|
16
16
|
return to;
|
17
17
|
};
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
19
|
-
var
|
20
|
-
__export(
|
19
|
+
var chunk_WRSGGDL4_exports = {};
|
20
|
+
__export(chunk_WRSGGDL4_exports, {
|
21
21
|
version: () => version
|
22
22
|
});
|
23
|
-
module.exports = __toCommonJS(
|
24
|
-
var
|
25
|
-
var packageJson = (0,
|
23
|
+
module.exports = __toCommonJS(chunk_WRSGGDL4_exports);
|
24
|
+
var import_chunk_5D44VMAS = require("./chunk-5D44VMAS.js");
|
25
|
+
var packageJson = (0, import_chunk_5D44VMAS.require_package)();
|
26
26
|
var version = packageJson.version;
|
@@ -26,14 +26,14 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
26
26
|
mod
|
27
27
|
));
|
28
28
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
29
|
-
var
|
30
|
-
__export(
|
29
|
+
var chunk_XOBM662N_exports = {};
|
30
|
+
__export(chunk_XOBM662N_exports, {
|
31
31
|
prismaSchemaWasm: () => import_prisma_schema_wasm.default,
|
32
32
|
prismaSchemaWasmVersion: () => prismaSchemaWasmVersion,
|
33
33
|
wasm_exports: () => wasm_exports
|
34
34
|
});
|
35
|
-
module.exports = __toCommonJS(
|
36
|
-
var
|
35
|
+
module.exports = __toCommonJS(chunk_XOBM662N_exports);
|
36
|
+
var import_chunk_VT6IBJXX = require("./chunk-VT6IBJXX.js");
|
37
37
|
var import_chunk_BPZFDGKN = require("./chunk-BPZFDGKN.js");
|
38
38
|
var import_chunk_WWAWV7DQ = require("./chunk-WWAWV7DQ.js");
|
39
39
|
var import_prisma_schema_wasm = __toESM(require("@prisma/prisma-schema-wasm"));
|
@@ -42,6 +42,6 @@ var wasm_exports = {};
|
|
42
42
|
prismaSchemaWasm: () => import_prisma_schema_wasm.default,
|
43
43
|
prismaSchemaWasmVersion: () => prismaSchemaWasmVersion
|
44
44
|
});
|
45
|
-
var { dependencies } = (0,
|
45
|
+
var { dependencies } = (0, import_chunk_VT6IBJXX.require_package)();
|
46
46
|
var prismaSchemaWasmVersion = dependencies["@prisma/prisma-schema-wasm"];
|
47
47
|
globalThis.PRISMA_WASM_PANIC_REGISTRY = new import_chunk_BPZFDGKN.WasmPanicRegistry();
|
@@ -26,22 +26,22 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
26
26
|
mod
|
27
27
|
));
|
28
28
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
29
|
-
var
|
30
|
-
__export(
|
29
|
+
var chunk_Z24QHFWD_exports = {};
|
30
|
+
__export(chunk_Z24QHFWD_exports, {
|
31
31
|
GetConfigError: () => GetConfigError,
|
32
32
|
getConfig: () => getConfig,
|
33
33
|
getDirectUrl: () => getDirectUrl,
|
34
34
|
getEffectiveUrl: () => getEffectiveUrl,
|
35
35
|
resolveUrl: () => resolveUrl
|
36
36
|
});
|
37
|
-
module.exports = __toCommonJS(
|
37
|
+
module.exports = __toCommonJS(chunk_Z24QHFWD_exports);
|
38
38
|
var import_chunk_YRBRUREX = require("./chunk-YRBRUREX.js");
|
39
39
|
var import_chunk_6TXVGFQA = require("./chunk-6TXVGFQA.js");
|
40
40
|
var import_chunk_C47SCASR = require("./chunk-C47SCASR.js");
|
41
|
-
var
|
41
|
+
var import_chunk_RXKTBDHR = require("./chunk-RXKTBDHR.js");
|
42
42
|
var import_chunk_PFLLVWZX = require("./chunk-PFLLVWZX.js");
|
43
43
|
var import_chunk_XKZ6CBLA = require("./chunk-XKZ6CBLA.js");
|
44
|
-
var
|
44
|
+
var import_chunk_XOBM662N = require("./chunk-XOBM662N.js");
|
45
45
|
var import_chunk_ATFQZVBS = require("./chunk-ATFQZVBS.js");
|
46
46
|
var import_chunk_7MD6344A = require("./chunk-7MD6344A.js");
|
47
47
|
var import_chunk_PG5FDKSF = require("./chunk-PG5FDKSF.js");
|
@@ -65,7 +65,7 @@ ${detailsHeader} ${message}`;
|
|
65
65
|
}).exhaustive();
|
66
66
|
const errorMessageWithContext = `${constructedErrorMessage}
|
67
67
|
[Context: getConfig]`;
|
68
|
-
super((0,
|
68
|
+
super((0, import_chunk_RXKTBDHR.addVersionDetailsToErrorMessage)(errorMessageWithContext));
|
69
69
|
this.name = "GetConfigError";
|
70
70
|
}
|
71
71
|
};
|
@@ -90,7 +90,7 @@ async function getConfig(options) {
|
|
90
90
|
() => {
|
91
91
|
if (process.env.FORCE_PANIC_QUERY_ENGINE_GET_CONFIG) {
|
92
92
|
debug("Triggering a Rust panic...");
|
93
|
-
|
93
|
+
import_chunk_XOBM662N.prismaSchemaWasm.debug_panic();
|
94
94
|
}
|
95
95
|
const params = JSON.stringify({
|
96
96
|
prismaSchema: options.datamodel,
|
@@ -98,7 +98,7 @@ async function getConfig(options) {
|
|
98
98
|
ignoreEnvVarErrors: options.ignoreEnvVarErrors ?? false,
|
99
99
|
env: process.env
|
100
100
|
});
|
101
|
-
const data =
|
101
|
+
const data = import_chunk_XOBM662N.prismaSchemaWasm.get_config(params);
|
102
102
|
return data;
|
103
103
|
},
|
104
104
|
(e) => ({
|
@@ -16,11 +16,11 @@ var __copyProps = (to, from, except, desc) => {
|
|
16
16
|
return to;
|
17
17
|
};
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
19
|
-
var
|
20
|
-
__export(
|
19
|
+
var chunk_Z4DUIIQU_exports = {};
|
20
|
+
__export(chunk_Z4DUIIQU_exports, {
|
21
21
|
version: () => version
|
22
22
|
});
|
23
|
-
module.exports = __toCommonJS(
|
24
|
-
var
|
25
|
-
var packageJson = (0,
|
23
|
+
module.exports = __toCommonJS(chunk_Z4DUIIQU_exports);
|
24
|
+
var import_chunk_VT6IBJXX = require("./chunk-VT6IBJXX.js");
|
25
|
+
var packageJson = (0, import_chunk_VT6IBJXX.require_package)();
|
26
26
|
var version = packageJson.version;
|