@prisma/query-plan-executor 6.17.0-integration-feat-tml-1074-extract-utilities-entrypoint.11 → 6.18.0-dev.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/index.js +49 -303
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -49798,11 +49798,11 @@ ${serverError}`);
|
|
|
49798
49798
|
if (cacheRecord.accessToken) {
|
|
49799
49799
|
if (cacheRecord.accessToken.tokenType === AuthenticationScheme.POP && !request3.popKid) {
|
|
49800
49800
|
const popTokenGenerator = new PopTokenGenerator(cryptoObj);
|
|
49801
|
-
const { secret
|
|
49801
|
+
const { secret, keyId } = cacheRecord.accessToken;
|
|
49802
49802
|
if (!keyId) {
|
|
49803
49803
|
throw createClientAuthError(keyIdMissing);
|
|
49804
49804
|
}
|
|
49805
|
-
accessToken = await popTokenGenerator.signPopToken(
|
|
49805
|
+
accessToken = await popTokenGenerator.signPopToken(secret, keyId, request3);
|
|
49806
49806
|
} else {
|
|
49807
49807
|
accessToken = cacheRecord.accessToken.secret;
|
|
49808
49808
|
}
|
|
@@ -52889,17 +52889,17 @@ var require_jwa = __commonJS({
|
|
|
52889
52889
|
return thing;
|
|
52890
52890
|
}
|
|
52891
52891
|
function createHmacSigner(bits) {
|
|
52892
|
-
return function sign2(thing,
|
|
52893
|
-
checkIsSecretKey(
|
|
52892
|
+
return function sign2(thing, secret) {
|
|
52893
|
+
checkIsSecretKey(secret);
|
|
52894
52894
|
thing = normalizeInput(thing);
|
|
52895
|
-
var hmac = crypto7.createHmac("sha" + bits,
|
|
52895
|
+
var hmac = crypto7.createHmac("sha" + bits, secret);
|
|
52896
52896
|
var sig = (hmac.update(thing), hmac.digest("base64"));
|
|
52897
52897
|
return fromBase64(sig);
|
|
52898
52898
|
};
|
|
52899
52899
|
}
|
|
52900
52900
|
function createHmacVerifier(bits) {
|
|
52901
|
-
return function verify(thing, signature,
|
|
52902
|
-
var computedSig = createHmacSigner(bits)(thing,
|
|
52901
|
+
return function verify(thing, signature, secret) {
|
|
52902
|
+
var computedSig = createHmacSigner(bits)(thing, secret);
|
|
52903
52903
|
return bufferEqual(Buffer2.from(signature), Buffer2.from(computedSig));
|
|
52904
52904
|
};
|
|
52905
52905
|
}
|
|
@@ -53048,8 +53048,8 @@ var require_sign_stream = __commonJS({
|
|
|
53048
53048
|
return util2.format("%s.%s", securedInput, signature);
|
|
53049
53049
|
}
|
|
53050
53050
|
function SignStream(opts) {
|
|
53051
|
-
var
|
|
53052
|
-
var secretStream = new DataStream(
|
|
53051
|
+
var secret = opts.secret || opts.privateKey || opts.key;
|
|
53052
|
+
var secretStream = new DataStream(secret);
|
|
53053
53053
|
this.readable = true;
|
|
53054
53054
|
this.header = opts.header;
|
|
53055
53055
|
this.encoding = opts.encoding;
|
|
@@ -58084,13 +58084,13 @@ var init_AzureArc = __esm({
|
|
|
58084
58084
|
if (secretFileSize > AZURE_ARC_SECRET_FILE_MAX_SIZE_BYTES) {
|
|
58085
58085
|
throw createManagedIdentityError(invalidSecret);
|
|
58086
58086
|
}
|
|
58087
|
-
let
|
|
58087
|
+
let secret;
|
|
58088
58088
|
try {
|
|
58089
|
-
|
|
58089
|
+
secret = (0, import_fs2.readFileSync)(secretFilePath, "utf-8");
|
|
58090
58090
|
} catch (e2) {
|
|
58091
58091
|
throw createManagedIdentityError(unableToReadSecretFile);
|
|
58092
58092
|
}
|
|
58093
|
-
const authHeaderValue = `Basic ${
|
|
58093
|
+
const authHeaderValue = `Basic ${secret}`;
|
|
58094
58094
|
this.logger.info(`[Managed Identity] Adding authorization header to the request.`);
|
|
58095
58095
|
networkRequest.headers[AUTHORIZATION_HEADER_NAME] = authHeaderValue;
|
|
58096
58096
|
try {
|
|
@@ -92893,11 +92893,11 @@ var require_postgres_interval = __commonJS({
|
|
|
92893
92893
|
"use strict";
|
|
92894
92894
|
var extend3 = require_mutable();
|
|
92895
92895
|
module2.exports = PostgresInterval;
|
|
92896
|
-
function PostgresInterval(
|
|
92896
|
+
function PostgresInterval(raw2) {
|
|
92897
92897
|
if (!(this instanceof PostgresInterval)) {
|
|
92898
|
-
return new PostgresInterval(
|
|
92898
|
+
return new PostgresInterval(raw2);
|
|
92899
92899
|
}
|
|
92900
|
-
extend3(this, parse5(
|
|
92900
|
+
extend3(this, parse5(raw2));
|
|
92901
92901
|
}
|
|
92902
92902
|
var properties = ["seconds", "minutes", "hours", "days", "months", "years"];
|
|
92903
92903
|
PostgresInterval.prototype.toPostgres = function() {
|
|
@@ -102875,182 +102875,7 @@ var zValidator = (target, schema, hook, options) => (
|
|
|
102875
102875
|
})
|
|
102876
102876
|
);
|
|
102877
102877
|
|
|
102878
|
-
//
|
|
102879
|
-
function setClassName(classObject, name6) {
|
|
102880
|
-
Object.defineProperty(classObject, "name", {
|
|
102881
|
-
value: name6,
|
|
102882
|
-
configurable: true
|
|
102883
|
-
});
|
|
102884
|
-
}
|
|
102885
|
-
var PrismaClientInitializationError = class _PrismaClientInitializationError extends Error {
|
|
102886
|
-
clientVersion;
|
|
102887
|
-
errorCode;
|
|
102888
|
-
retryable;
|
|
102889
|
-
constructor(message, clientVersion, errorCode) {
|
|
102890
|
-
super(message);
|
|
102891
|
-
this.name = "PrismaClientInitializationError";
|
|
102892
|
-
this.clientVersion = clientVersion;
|
|
102893
|
-
this.errorCode = errorCode;
|
|
102894
|
-
Error.captureStackTrace(_PrismaClientInitializationError);
|
|
102895
|
-
}
|
|
102896
|
-
get [Symbol.toStringTag]() {
|
|
102897
|
-
return "PrismaClientInitializationError";
|
|
102898
|
-
}
|
|
102899
|
-
};
|
|
102900
|
-
setClassName(PrismaClientInitializationError, "PrismaClientInitializationError");
|
|
102901
|
-
var PrismaClientKnownRequestError = class extends Error {
|
|
102902
|
-
code;
|
|
102903
|
-
meta;
|
|
102904
|
-
clientVersion;
|
|
102905
|
-
batchRequestIdx;
|
|
102906
|
-
constructor(message, { code, clientVersion, meta, batchRequestIdx }) {
|
|
102907
|
-
super(message);
|
|
102908
|
-
this.name = "PrismaClientKnownRequestError";
|
|
102909
|
-
this.code = code;
|
|
102910
|
-
this.clientVersion = clientVersion;
|
|
102911
|
-
this.meta = meta;
|
|
102912
|
-
Object.defineProperty(this, "batchRequestIdx", {
|
|
102913
|
-
value: batchRequestIdx,
|
|
102914
|
-
enumerable: false,
|
|
102915
|
-
writable: true
|
|
102916
|
-
});
|
|
102917
|
-
}
|
|
102918
|
-
get [Symbol.toStringTag]() {
|
|
102919
|
-
return "PrismaClientKnownRequestError";
|
|
102920
|
-
}
|
|
102921
|
-
};
|
|
102922
|
-
setClassName(PrismaClientKnownRequestError, "PrismaClientKnownRequestError");
|
|
102923
|
-
function getBacktrace(log32) {
|
|
102924
|
-
if (log32.fields?.message) {
|
|
102925
|
-
let str = log32.fields?.message;
|
|
102926
|
-
if (log32.fields?.file) {
|
|
102927
|
-
str += ` in ${log32.fields.file}`;
|
|
102928
|
-
if (log32.fields?.line) {
|
|
102929
|
-
str += `:${log32.fields.line}`;
|
|
102930
|
-
}
|
|
102931
|
-
if (log32.fields?.column) {
|
|
102932
|
-
str += `:${log32.fields.column}`;
|
|
102933
|
-
}
|
|
102934
|
-
}
|
|
102935
|
-
if (log32.fields?.reason) {
|
|
102936
|
-
str += `
|
|
102937
|
-
${log32.fields?.reason}`;
|
|
102938
|
-
}
|
|
102939
|
-
return str;
|
|
102940
|
-
}
|
|
102941
|
-
return "Unknown error";
|
|
102942
|
-
}
|
|
102943
|
-
function isPanic(err) {
|
|
102944
|
-
return err.fields?.message === "PANIC";
|
|
102945
|
-
}
|
|
102946
|
-
var PrismaClientRustError = class extends Error {
|
|
102947
|
-
clientVersion;
|
|
102948
|
-
_isPanic;
|
|
102949
|
-
constructor({ clientVersion, error: error44 }) {
|
|
102950
|
-
const backtrace = getBacktrace(error44);
|
|
102951
|
-
super(backtrace ?? "Unknown error");
|
|
102952
|
-
this._isPanic = isPanic(error44);
|
|
102953
|
-
this.clientVersion = clientVersion;
|
|
102954
|
-
}
|
|
102955
|
-
get [Symbol.toStringTag]() {
|
|
102956
|
-
return "PrismaClientRustError";
|
|
102957
|
-
}
|
|
102958
|
-
isPanic() {
|
|
102959
|
-
return this._isPanic;
|
|
102960
|
-
}
|
|
102961
|
-
};
|
|
102962
|
-
setClassName(PrismaClientRustError, "PrismaClientRustError");
|
|
102963
|
-
var PrismaClientRustPanicError = class extends Error {
|
|
102964
|
-
clientVersion;
|
|
102965
|
-
constructor(message, clientVersion) {
|
|
102966
|
-
super(message);
|
|
102967
|
-
this.name = "PrismaClientRustPanicError";
|
|
102968
|
-
this.clientVersion = clientVersion;
|
|
102969
|
-
}
|
|
102970
|
-
get [Symbol.toStringTag]() {
|
|
102971
|
-
return "PrismaClientRustPanicError";
|
|
102972
|
-
}
|
|
102973
|
-
};
|
|
102974
|
-
setClassName(PrismaClientRustPanicError, "PrismaClientRustPanicError");
|
|
102975
|
-
var PrismaClientUnknownRequestError = class extends Error {
|
|
102976
|
-
clientVersion;
|
|
102977
|
-
batchRequestIdx;
|
|
102978
|
-
constructor(message, { clientVersion, batchRequestIdx }) {
|
|
102979
|
-
super(message);
|
|
102980
|
-
this.name = "PrismaClientUnknownRequestError";
|
|
102981
|
-
this.clientVersion = clientVersion;
|
|
102982
|
-
Object.defineProperty(this, "batchRequestIdx", {
|
|
102983
|
-
value: batchRequestIdx,
|
|
102984
|
-
writable: true,
|
|
102985
|
-
enumerable: false
|
|
102986
|
-
});
|
|
102987
|
-
}
|
|
102988
|
-
get [Symbol.toStringTag]() {
|
|
102989
|
-
return "PrismaClientUnknownRequestError";
|
|
102990
|
-
}
|
|
102991
|
-
};
|
|
102992
|
-
setClassName(PrismaClientUnknownRequestError, "PrismaClientUnknownRequestError");
|
|
102993
|
-
var PrismaClientValidationError = class extends Error {
|
|
102994
|
-
name = "PrismaClientValidationError";
|
|
102995
|
-
clientVersion;
|
|
102996
|
-
constructor(message, { clientVersion }) {
|
|
102997
|
-
super(message);
|
|
102998
|
-
this.clientVersion = clientVersion;
|
|
102999
|
-
}
|
|
103000
|
-
get [Symbol.toStringTag]() {
|
|
103001
|
-
return "PrismaClientValidationError";
|
|
103002
|
-
}
|
|
103003
|
-
};
|
|
103004
|
-
setClassName(PrismaClientValidationError, "PrismaClientValidationError");
|
|
103005
|
-
var secret = Symbol();
|
|
103006
|
-
var representations = /* @__PURE__ */ new WeakMap();
|
|
103007
|
-
var ObjectEnumValue = class {
|
|
103008
|
-
constructor(arg) {
|
|
103009
|
-
if (arg === secret) {
|
|
103010
|
-
representations.set(this, `Prisma.${this._getName()}`);
|
|
103011
|
-
} else {
|
|
103012
|
-
representations.set(this, `new Prisma.${this._getNamespace()}.${this._getName()}()`);
|
|
103013
|
-
}
|
|
103014
|
-
}
|
|
103015
|
-
_getName() {
|
|
103016
|
-
return this.constructor.name;
|
|
103017
|
-
}
|
|
103018
|
-
toString() {
|
|
103019
|
-
return representations.get(this);
|
|
103020
|
-
}
|
|
103021
|
-
};
|
|
103022
|
-
function setClassName2(classObject, name6) {
|
|
103023
|
-
Object.defineProperty(classObject, "name", {
|
|
103024
|
-
value: name6,
|
|
103025
|
-
configurable: true
|
|
103026
|
-
});
|
|
103027
|
-
}
|
|
103028
|
-
var NullTypesEnumValue = class extends ObjectEnumValue {
|
|
103029
|
-
_getNamespace() {
|
|
103030
|
-
return "NullTypes";
|
|
103031
|
-
}
|
|
103032
|
-
};
|
|
103033
|
-
var DbNullClass = class extends NullTypesEnumValue {
|
|
103034
|
-
// Phantom private property to prevent structural type equality
|
|
103035
|
-
// eslint-disable-next-line no-unused-private-class-members
|
|
103036
|
-
#_brand_DbNull;
|
|
103037
|
-
};
|
|
103038
|
-
setClassName2(DbNullClass, "DbNull");
|
|
103039
|
-
var JsonNullClass = class extends NullTypesEnumValue {
|
|
103040
|
-
// Phantom private property to prevent structural type equality
|
|
103041
|
-
// eslint-disable-next-line no-unused-private-class-members
|
|
103042
|
-
#_brand_JsonNull;
|
|
103043
|
-
};
|
|
103044
|
-
setClassName2(JsonNullClass, "JsonNull");
|
|
103045
|
-
var AnyNullClass = class extends NullTypesEnumValue {
|
|
103046
|
-
// Phantom private property to prevent structural type equality
|
|
103047
|
-
// eslint-disable-next-line no-unused-private-class-members
|
|
103048
|
-
#_brand_AnyNull;
|
|
103049
|
-
};
|
|
103050
|
-
setClassName2(AnyNullClass, "AnyNull");
|
|
103051
|
-
var DbNull = new DbNullClass(secret);
|
|
103052
|
-
var JsonNull = new JsonNullClass(secret);
|
|
103053
|
-
var AnyNull = new AnyNullClass(secret);
|
|
102878
|
+
// ../../node_modules/.pnpm/decimal.js@10.5.0/node_modules/decimal.js/decimal.mjs
|
|
103054
102879
|
var EXP_LIMIT = 9e15;
|
|
103055
102880
|
var MAX_DIGITS = 1e9;
|
|
103056
102881
|
var NUMERALS = "0123456789abcdef";
|
|
@@ -104930,7 +104755,7 @@ function cosh(x2) {
|
|
|
104930
104755
|
function clone(obj) {
|
|
104931
104756
|
var i2, p2, ps;
|
|
104932
104757
|
function Decimal2(v2) {
|
|
104933
|
-
var e2,
|
|
104758
|
+
var e2, i3, t2, x2 = this;
|
|
104934
104759
|
if (!(x2 instanceof Decimal2)) return new Decimal2(v2);
|
|
104935
104760
|
x2.constructor = Decimal2;
|
|
104936
104761
|
if (isDecimalInstance(v2)) {
|
|
@@ -104967,7 +104792,7 @@ function clone(obj) {
|
|
|
104967
104792
|
x2.s = 1;
|
|
104968
104793
|
}
|
|
104969
104794
|
if (v2 === ~~v2 && v2 < 1e7) {
|
|
104970
|
-
for (e2 = 0,
|
|
104795
|
+
for (e2 = 0, i3 = v2; i3 >= 10; i3 /= 10) e2++;
|
|
104971
104796
|
if (external) {
|
|
104972
104797
|
if (e2 > Decimal2.maxE) {
|
|
104973
104798
|
x2.e = NaN;
|
|
@@ -104994,11 +104819,11 @@ function clone(obj) {
|
|
|
104994
104819
|
return parseDecimal(x2, v2.toString());
|
|
104995
104820
|
}
|
|
104996
104821
|
if (t2 === "string") {
|
|
104997
|
-
if ((
|
|
104822
|
+
if ((i3 = v2.charCodeAt(0)) === 45) {
|
|
104998
104823
|
v2 = v2.slice(1);
|
|
104999
104824
|
x2.s = -1;
|
|
105000
104825
|
} else {
|
|
105001
|
-
if (
|
|
104826
|
+
if (i3 === 43) v2 = v2.slice(1);
|
|
105002
104827
|
x2.s = 1;
|
|
105003
104828
|
}
|
|
105004
104829
|
return isDecimal.test(v2) ? parseDecimal(x2, v2) : parseOther(x2, v2);
|
|
@@ -105225,73 +105050,7 @@ P2[Symbol.toStringTag] = "Decimal";
|
|
|
105225
105050
|
var Decimal = P2.constructor = clone(DEFAULTS);
|
|
105226
105051
|
LN10 = new Decimal(LN10);
|
|
105227
105052
|
PI = new Decimal(PI);
|
|
105228
|
-
var
|
|
105229
|
-
constructor(rawStrings, rawValues) {
|
|
105230
|
-
if (rawStrings.length - 1 !== rawValues.length) {
|
|
105231
|
-
if (rawStrings.length === 0) {
|
|
105232
|
-
throw new TypeError("Expected at least 1 string");
|
|
105233
|
-
}
|
|
105234
|
-
throw new TypeError(`Expected ${rawStrings.length} strings to have ${rawStrings.length - 1} values`);
|
|
105235
|
-
}
|
|
105236
|
-
const valuesLength = rawValues.reduce((len, value) => len + (value instanceof _Sql ? value.values.length : 1), 0);
|
|
105237
|
-
this.values = new Array(valuesLength);
|
|
105238
|
-
this.strings = new Array(valuesLength + 1);
|
|
105239
|
-
this.strings[0] = rawStrings[0];
|
|
105240
|
-
let i2 = 0, pos = 0;
|
|
105241
|
-
while (i2 < rawValues.length) {
|
|
105242
|
-
const child = rawValues[i2++];
|
|
105243
|
-
const rawString = rawStrings[i2];
|
|
105244
|
-
if (child instanceof _Sql) {
|
|
105245
|
-
this.strings[pos] += child.strings[0];
|
|
105246
|
-
let childIndex = 0;
|
|
105247
|
-
while (childIndex < child.values.length) {
|
|
105248
|
-
this.values[pos++] = child.values[childIndex++];
|
|
105249
|
-
this.strings[pos] = child.strings[childIndex];
|
|
105250
|
-
}
|
|
105251
|
-
this.strings[pos] += rawString;
|
|
105252
|
-
} else {
|
|
105253
|
-
this.values[pos++] = child;
|
|
105254
|
-
this.strings[pos] = rawString;
|
|
105255
|
-
}
|
|
105256
|
-
}
|
|
105257
|
-
}
|
|
105258
|
-
get sql() {
|
|
105259
|
-
const len = this.strings.length;
|
|
105260
|
-
let i2 = 1;
|
|
105261
|
-
let value = this.strings[0];
|
|
105262
|
-
while (i2 < len)
|
|
105263
|
-
value += `?${this.strings[i2++]}`;
|
|
105264
|
-
return value;
|
|
105265
|
-
}
|
|
105266
|
-
get statement() {
|
|
105267
|
-
const len = this.strings.length;
|
|
105268
|
-
let i2 = 1;
|
|
105269
|
-
let value = this.strings[0];
|
|
105270
|
-
while (i2 < len)
|
|
105271
|
-
value += `:${i2}${this.strings[i2++]}`;
|
|
105272
|
-
return value;
|
|
105273
|
-
}
|
|
105274
|
-
get text() {
|
|
105275
|
-
const len = this.strings.length;
|
|
105276
|
-
let i2 = 1;
|
|
105277
|
-
let value = this.strings[0];
|
|
105278
|
-
while (i2 < len)
|
|
105279
|
-
value += `$${i2}${this.strings[i2++]}`;
|
|
105280
|
-
return value;
|
|
105281
|
-
}
|
|
105282
|
-
inspect() {
|
|
105283
|
-
return {
|
|
105284
|
-
sql: this.sql,
|
|
105285
|
-
statement: this.statement,
|
|
105286
|
-
text: this.text,
|
|
105287
|
-
values: this.values
|
|
105288
|
-
};
|
|
105289
|
-
}
|
|
105290
|
-
};
|
|
105291
|
-
function raw(value) {
|
|
105292
|
-
return new Sql([value], []);
|
|
105293
|
-
}
|
|
105294
|
-
var empty = raw("");
|
|
105053
|
+
var decimal_default = Decimal;
|
|
105295
105054
|
|
|
105296
105055
|
// ../debug/dist/index.mjs
|
|
105297
105056
|
var __defProp2 = Object.defineProperty;
|
|
@@ -105855,7 +105614,7 @@ function doKeysMatch(lhs, rhs) {
|
|
|
105855
105614
|
if (typeof lhs[key] === typeof rhs[key] && typeof lhs[key] !== "object") {
|
|
105856
105615
|
return lhs[key] === rhs[key];
|
|
105857
105616
|
}
|
|
105858
|
-
if (
|
|
105617
|
+
if (decimal_default.isDecimal(lhs[key]) || decimal_default.isDecimal(rhs[key])) {
|
|
105859
105618
|
const lhsDecimal = asDecimal(lhs[key]);
|
|
105860
105619
|
const rhsDecimal = asDecimal(rhs[key]);
|
|
105861
105620
|
return lhsDecimal && rhsDecimal && lhsDecimal.equals(rhsDecimal);
|
|
@@ -105874,10 +105633,10 @@ function doKeysMatch(lhs, rhs) {
|
|
|
105874
105633
|
});
|
|
105875
105634
|
}
|
|
105876
105635
|
function asDecimal(value) {
|
|
105877
|
-
if (
|
|
105636
|
+
if (decimal_default.isDecimal(value)) {
|
|
105878
105637
|
return value;
|
|
105879
105638
|
} else if (typeof value === "number" || typeof value === "string") {
|
|
105880
|
-
return new
|
|
105639
|
+
return new decimal_default(value);
|
|
105881
105640
|
} else {
|
|
105882
105641
|
return;
|
|
105883
105642
|
}
|
|
@@ -106322,7 +106081,7 @@ function mapValue(value, columnName, scalarType, enums) {
|
|
|
106322
106081
|
throw new DataMapperError(`Expected a boolean in column '${columnName}', got ${typeof value}: ${value}`);
|
|
106323
106082
|
}
|
|
106324
106083
|
case "decimal":
|
|
106325
|
-
if (typeof value !== "number" && typeof value !== "string" && !
|
|
106084
|
+
if (typeof value !== "number" && typeof value !== "string" && !decimal_default.isDecimal(value)) {
|
|
106326
106085
|
throw new DataMapperError(`Expected a decimal in column '${columnName}', got ${typeof value}: ${value}`);
|
|
106327
106086
|
}
|
|
106328
106087
|
return { $type: "Decimal", value };
|
|
@@ -107934,7 +107693,7 @@ var HonoRequest = class {
|
|
|
107934
107693
|
return this.bodyCache.parsedBody ??= await parseBody(this, options);
|
|
107935
107694
|
}
|
|
107936
107695
|
#cachedBody = (key) => {
|
|
107937
|
-
const { bodyCache, raw:
|
|
107696
|
+
const { bodyCache, raw: raw2 } = this;
|
|
107938
107697
|
const cachedBody = bodyCache[key];
|
|
107939
107698
|
if (cachedBody) {
|
|
107940
107699
|
return cachedBody;
|
|
@@ -107948,7 +107707,7 @@ var HonoRequest = class {
|
|
|
107948
107707
|
return new Response(body)[key]();
|
|
107949
107708
|
});
|
|
107950
107709
|
}
|
|
107951
|
-
return bodyCache[key] =
|
|
107710
|
+
return bodyCache[key] = raw2[key]();
|
|
107952
107711
|
};
|
|
107953
107712
|
json() {
|
|
107954
107713
|
return this.#cachedBody("text").then((text) => JSON.parse(text));
|
|
@@ -107994,7 +107753,7 @@ var HtmlEscapedCallbackPhase = {
|
|
|
107994
107753
|
BeforeStream: 2,
|
|
107995
107754
|
Stream: 3
|
|
107996
107755
|
};
|
|
107997
|
-
var
|
|
107756
|
+
var raw = (value, callbacks) => {
|
|
107998
107757
|
const escapedString = new String(value);
|
|
107999
107758
|
escapedString.isEscaped = true;
|
|
108000
107759
|
escapedString.callbacks = callbacks;
|
|
@@ -108024,7 +107783,7 @@ var resolveCallback = async (str, phase, preserveCallbacks, context2, buffer) =>
|
|
|
108024
107783
|
).then(() => buffer[0])
|
|
108025
107784
|
);
|
|
108026
107785
|
if (preserveCallbacks) {
|
|
108027
|
-
return
|
|
107786
|
+
return raw(await resStr, callbacks);
|
|
108028
107787
|
} else {
|
|
108029
107788
|
return resStr;
|
|
108030
107789
|
}
|
|
@@ -109333,7 +109092,7 @@ function isPromiseLike(value) {
|
|
|
109333
109092
|
}
|
|
109334
109093
|
|
|
109335
109094
|
// package.json
|
|
109336
|
-
var version = "6.
|
|
109095
|
+
var version = "6.18.0-dev.1";
|
|
109337
109096
|
|
|
109338
109097
|
// src/utils/error.ts
|
|
109339
109098
|
function extractErrorFromUnknown(value) {
|
|
@@ -109403,7 +109162,10 @@ function mapColumnType(field) {
|
|
|
109403
109162
|
case "BLOB":
|
|
109404
109163
|
case "TINY_BLOB":
|
|
109405
109164
|
case "MEDIUM_BLOB":
|
|
109406
|
-
|
|
109165
|
+
case "LONG_BLOB":
|
|
109166
|
+
if (field["dataTypeFormat"] === "json") {
|
|
109167
|
+
return ColumnTypeEnum.Json;
|
|
109168
|
+
} else if (field.flags.valueOf() & BINARY_FLAG) {
|
|
109407
109169
|
return ColumnTypeEnum.Bytes;
|
|
109408
109170
|
} else {
|
|
109409
109171
|
return ColumnTypeEnum.Text;
|
|
@@ -109648,6 +109410,8 @@ var MariaDbQueryable = class {
|
|
|
109648
109410
|
sql: sql4,
|
|
109649
109411
|
rowsAsArray: true,
|
|
109650
109412
|
dateStrings: true,
|
|
109413
|
+
// Disable automatic conversion of JSON blobs to objects.
|
|
109414
|
+
autoJsonMap: false,
|
|
109651
109415
|
// Return JSON strings as strings, not objects.
|
|
109652
109416
|
// Available in the driver, but not provided in the typings.
|
|
109653
109417
|
jsonStrings: true,
|
|
@@ -111513,27 +111277,11 @@ var factories = [
|
|
|
111513
111277
|
"Unsupported parameters in connection string: uploading and using custom TLS certificates is not currently supported"
|
|
111514
111278
|
);
|
|
111515
111279
|
}
|
|
111516
|
-
|
|
111517
|
-
if (sslmode ===
|
|
111518
|
-
sslmode
|
|
111280
|
+
const sslmode = url2.searchParams.get("sslmode");
|
|
111281
|
+
if (sslmode === "prefer" || sslmode === "require") {
|
|
111282
|
+
url2.searchParams.set("sslmode", "no-verify");
|
|
111519
111283
|
}
|
|
111520
|
-
|
|
111521
|
-
switch (sslmode) {
|
|
111522
|
-
case null:
|
|
111523
|
-
case "disable":
|
|
111524
|
-
return false;
|
|
111525
|
-
case "prefer":
|
|
111526
|
-
case "require":
|
|
111527
|
-
case "no-verify":
|
|
111528
|
-
return { rejectUnauthorized: false };
|
|
111529
|
-
case "verify-ca":
|
|
111530
|
-
case "verify-full":
|
|
111531
|
-
return true;
|
|
111532
|
-
default:
|
|
111533
|
-
throw new Error(`Unsupported sslmode: ${sslmode}`);
|
|
111534
|
-
}
|
|
111535
|
-
})();
|
|
111536
|
-
return new PrismaPgAdapterFactory({ connectionString, ssl });
|
|
111284
|
+
return new PrismaPgAdapterFactory({ connectionString: url2.toString() });
|
|
111537
111285
|
}
|
|
111538
111286
|
},
|
|
111539
111287
|
{
|
|
@@ -123947,17 +123695,6 @@ function getErrorResponse(error44, ctx) {
|
|
|
123947
123695
|
});
|
|
123948
123696
|
/*! Bundled license information:
|
|
123949
123697
|
|
|
123950
|
-
decimal.js/decimal.mjs:
|
|
123951
|
-
(*!
|
|
123952
|
-
* decimal.js v10.5.0
|
|
123953
|
-
* An arbitrary-precision Decimal type for JavaScript.
|
|
123954
|
-
* https://github.com/MikeMcl/decimal.js
|
|
123955
|
-
* Copyright (c) 2025 Michael Mclaughlin <M8ch88l@gmail.com>
|
|
123956
|
-
* MIT Licence
|
|
123957
|
-
*)
|
|
123958
|
-
*/
|
|
123959
|
-
/*! Bundled license information:
|
|
123960
|
-
|
|
123961
123698
|
@noble/hashes/utils.js:
|
|
123962
123699
|
(*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) *)
|
|
123963
123700
|
|
|
@@ -124130,4 +123867,13 @@ js-md4/src/md4.js:
|
|
|
124130
123867
|
* @copyright (c) 2015-present, Philipp Thürwächter, Pattrick Hüper & js-joda contributors
|
|
124131
123868
|
* @license BSD-3-Clause (see LICENSE in the root directory of this source tree)
|
|
124132
123869
|
*)
|
|
123870
|
+
|
|
123871
|
+
decimal.js/decimal.mjs:
|
|
123872
|
+
(*!
|
|
123873
|
+
* decimal.js v10.5.0
|
|
123874
|
+
* An arbitrary-precision Decimal type for JavaScript.
|
|
123875
|
+
* https://github.com/MikeMcl/decimal.js
|
|
123876
|
+
* Copyright (c) 2025 Michael Mclaughlin <M8ch88l@gmail.com>
|
|
123877
|
+
* MIT Licence
|
|
123878
|
+
*)
|
|
124133
123879
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prisma/query-plan-executor",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.18.0-dev.1",
|
|
4
4
|
"description": "This package is intended for Prisma's internal use",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -20,11 +20,11 @@
|
|
|
20
20
|
"temporal-polyfill": "0.3.0",
|
|
21
21
|
"vitest": "3.2.4",
|
|
22
22
|
"zod": "4.1.3",
|
|
23
|
-
"@prisma/adapter-pg": "6.
|
|
24
|
-
"@prisma/adapter-
|
|
25
|
-
"@prisma/
|
|
26
|
-
"@prisma/
|
|
27
|
-
"@prisma/
|
|
23
|
+
"@prisma/adapter-pg": "6.18.0-dev.1",
|
|
24
|
+
"@prisma/adapter-mariadb": "6.18.0-dev.1",
|
|
25
|
+
"@prisma/client-engine-runtime": "6.18.0-dev.1",
|
|
26
|
+
"@prisma/driver-adapter-utils": "6.18.0-dev.1",
|
|
27
|
+
"@prisma/adapter-mssql": "6.18.0-dev.1"
|
|
28
28
|
},
|
|
29
29
|
"files": [
|
|
30
30
|
"dist"
|