@prisma/query-plan-executor 6.20.0-integration-next.20 → 7.1.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 +243 -220
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -10307,7 +10307,7 @@ var require_handshake = __commonJS({
|
|
|
10307
10307
|
var SslRequest = require_ssl_request();
|
|
10308
10308
|
var Errors2 = require_errors();
|
|
10309
10309
|
var NativePasswordAuth = require_native_password_auth();
|
|
10310
|
-
var
|
|
10310
|
+
var os5 = require("os");
|
|
10311
10311
|
var Iconv = require_lib();
|
|
10312
10312
|
var Crypto = require("crypto");
|
|
10313
10313
|
var driverVersion = require_package().version;
|
|
@@ -10439,7 +10439,7 @@ var require_handshake = __commonJS({
|
|
|
10439
10439
|
_Handshake.writeAttribute(out, "_os", encoding);
|
|
10440
10440
|
_Handshake.writeAttribute(out, process.platform, encoding);
|
|
10441
10441
|
_Handshake.writeAttribute(out, "_client_host", encoding);
|
|
10442
|
-
_Handshake.writeAttribute(out,
|
|
10442
|
+
_Handshake.writeAttribute(out, os5.hostname(), encoding);
|
|
10443
10443
|
_Handshake.writeAttribute(out, "_node_version", encoding);
|
|
10444
10444
|
_Handshake.writeAttribute(out, process.versions.node, encoding);
|
|
10445
10445
|
if (opts.connectAttributes !== true) {
|
|
@@ -22010,11 +22010,11 @@ var require_ms = __commonJS({
|
|
|
22010
22010
|
}
|
|
22011
22011
|
});
|
|
22012
22012
|
|
|
22013
|
-
// ../../node_modules/.pnpm/debug@4.4.
|
|
22013
|
+
// ../../node_modules/.pnpm/debug@4.4.0_supports-color@10.2.2/node_modules/debug/src/common.js
|
|
22014
22014
|
var require_common = __commonJS({
|
|
22015
|
-
"../../node_modules/.pnpm/debug@4.4.
|
|
22015
|
+
"../../node_modules/.pnpm/debug@4.4.0_supports-color@10.2.2/node_modules/debug/src/common.js"(exports2, module2) {
|
|
22016
22016
|
"use strict";
|
|
22017
|
-
function setup(
|
|
22017
|
+
function setup(env2) {
|
|
22018
22018
|
createDebug.debug = createDebug;
|
|
22019
22019
|
createDebug.default = createDebug;
|
|
22020
22020
|
createDebug.coerce = coerce;
|
|
@@ -22023,8 +22023,8 @@ var require_common = __commonJS({
|
|
|
22023
22023
|
createDebug.enabled = enabled2;
|
|
22024
22024
|
createDebug.humanize = require_ms();
|
|
22025
22025
|
createDebug.destroy = destroy2;
|
|
22026
|
-
Object.keys(
|
|
22027
|
-
createDebug[key] =
|
|
22026
|
+
Object.keys(env2).forEach((key) => {
|
|
22027
|
+
createDebug[key] = env2[key];
|
|
22028
22028
|
});
|
|
22029
22029
|
createDebug.names = [];
|
|
22030
22030
|
createDebug.skips = [];
|
|
@@ -22188,9 +22188,9 @@ var require_common = __commonJS({
|
|
|
22188
22188
|
}
|
|
22189
22189
|
});
|
|
22190
22190
|
|
|
22191
|
-
// ../../node_modules/.pnpm/debug@4.4.
|
|
22191
|
+
// ../../node_modules/.pnpm/debug@4.4.0_supports-color@10.2.2/node_modules/debug/src/browser.js
|
|
22192
22192
|
var require_browser = __commonJS({
|
|
22193
|
-
"../../node_modules/.pnpm/debug@4.4.
|
|
22193
|
+
"../../node_modules/.pnpm/debug@4.4.0_supports-color@10.2.2/node_modules/debug/src/browser.js"(exports2, module2) {
|
|
22194
22194
|
"use strict";
|
|
22195
22195
|
exports2.formatArgs = formatArgs;
|
|
22196
22196
|
exports2.save = save;
|
|
@@ -22359,138 +22359,161 @@ var require_browser = __commonJS({
|
|
|
22359
22359
|
}
|
|
22360
22360
|
});
|
|
22361
22361
|
|
|
22362
|
-
// ../../node_modules/.pnpm/
|
|
22363
|
-
var
|
|
22364
|
-
|
|
22365
|
-
|
|
22366
|
-
|
|
22367
|
-
const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
|
|
22368
|
-
const position = argv.indexOf(prefix + flag);
|
|
22369
|
-
const terminatorPosition = argv.indexOf("--");
|
|
22370
|
-
return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);
|
|
22371
|
-
};
|
|
22372
|
-
}
|
|
22362
|
+
// ../../node_modules/.pnpm/supports-color@10.2.2/node_modules/supports-color/index.js
|
|
22363
|
+
var supports_color_exports = {};
|
|
22364
|
+
__export(supports_color_exports, {
|
|
22365
|
+
createSupportsColor: () => createSupportsColor,
|
|
22366
|
+
default: () => supports_color_default
|
|
22373
22367
|
});
|
|
22374
|
-
|
|
22375
|
-
|
|
22376
|
-
|
|
22377
|
-
|
|
22378
|
-
|
|
22379
|
-
|
|
22380
|
-
|
|
22381
|
-
|
|
22382
|
-
|
|
22383
|
-
|
|
22384
|
-
|
|
22385
|
-
|
|
22386
|
-
|
|
22387
|
-
|
|
22368
|
+
function hasFlag(flag, argv = globalThis.Deno ? globalThis.Deno.args : import_node_process.default.argv) {
|
|
22369
|
+
const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
|
|
22370
|
+
const position = argv.indexOf(prefix + flag);
|
|
22371
|
+
const terminatorPosition = argv.indexOf("--");
|
|
22372
|
+
return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);
|
|
22373
|
+
}
|
|
22374
|
+
function envForceColor() {
|
|
22375
|
+
if (!("FORCE_COLOR" in env)) {
|
|
22376
|
+
return;
|
|
22377
|
+
}
|
|
22378
|
+
if (env.FORCE_COLOR === "true") {
|
|
22379
|
+
return 1;
|
|
22380
|
+
}
|
|
22381
|
+
if (env.FORCE_COLOR === "false") {
|
|
22382
|
+
return 0;
|
|
22383
|
+
}
|
|
22384
|
+
if (env.FORCE_COLOR.length === 0) {
|
|
22385
|
+
return 1;
|
|
22386
|
+
}
|
|
22387
|
+
const level = Math.min(Number.parseInt(env.FORCE_COLOR, 10), 3);
|
|
22388
|
+
if (![0, 1, 2, 3].includes(level)) {
|
|
22389
|
+
return;
|
|
22390
|
+
}
|
|
22391
|
+
return level;
|
|
22392
|
+
}
|
|
22393
|
+
function translateLevel(level) {
|
|
22394
|
+
if (level === 0) {
|
|
22395
|
+
return false;
|
|
22396
|
+
}
|
|
22397
|
+
return {
|
|
22398
|
+
level,
|
|
22399
|
+
hasBasic: true,
|
|
22400
|
+
has256: level >= 2,
|
|
22401
|
+
has16m: level >= 3
|
|
22402
|
+
};
|
|
22403
|
+
}
|
|
22404
|
+
function _supportsColor(haveStream, { streamIsTTY, sniffFlags = true } = {}) {
|
|
22405
|
+
const noFlagForceColor = envForceColor();
|
|
22406
|
+
if (noFlagForceColor !== void 0) {
|
|
22407
|
+
flagForceColor = noFlagForceColor;
|
|
22408
|
+
}
|
|
22409
|
+
const forceColor = sniffFlags ? flagForceColor : noFlagForceColor;
|
|
22410
|
+
if (forceColor === 0) {
|
|
22411
|
+
return 0;
|
|
22412
|
+
}
|
|
22413
|
+
if (sniffFlags) {
|
|
22414
|
+
if (hasFlag("color=16m") || hasFlag("color=full") || hasFlag("color=truecolor")) {
|
|
22415
|
+
return 3;
|
|
22388
22416
|
}
|
|
22389
|
-
|
|
22390
|
-
|
|
22391
|
-
if (env.FORCE_COLOR === "true") {
|
|
22392
|
-
return 1;
|
|
22393
|
-
}
|
|
22394
|
-
if (env.FORCE_COLOR === "false") {
|
|
22395
|
-
return 0;
|
|
22396
|
-
}
|
|
22397
|
-
return env.FORCE_COLOR.length === 0 ? 1 : Math.min(Number.parseInt(env.FORCE_COLOR, 10), 3);
|
|
22398
|
-
}
|
|
22417
|
+
if (hasFlag("color=256")) {
|
|
22418
|
+
return 2;
|
|
22399
22419
|
}
|
|
22400
|
-
|
|
22401
|
-
|
|
22402
|
-
|
|
22403
|
-
|
|
22404
|
-
|
|
22405
|
-
|
|
22406
|
-
|
|
22407
|
-
|
|
22408
|
-
|
|
22409
|
-
|
|
22420
|
+
}
|
|
22421
|
+
if ("TF_BUILD" in env && "AGENT_NAME" in env) {
|
|
22422
|
+
return 1;
|
|
22423
|
+
}
|
|
22424
|
+
if (haveStream && !streamIsTTY && forceColor === void 0) {
|
|
22425
|
+
return 0;
|
|
22426
|
+
}
|
|
22427
|
+
const min2 = forceColor || 0;
|
|
22428
|
+
if (env.TERM === "dumb") {
|
|
22429
|
+
return min2;
|
|
22430
|
+
}
|
|
22431
|
+
if (import_node_process.default.platform === "win32") {
|
|
22432
|
+
const osRelease = import_node_os.default.release().split(".");
|
|
22433
|
+
if (Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) {
|
|
22434
|
+
return Number(osRelease[2]) >= 14931 ? 3 : 2;
|
|
22410
22435
|
}
|
|
22411
|
-
|
|
22412
|
-
|
|
22413
|
-
|
|
22414
|
-
|
|
22415
|
-
|
|
22416
|
-
|
|
22417
|
-
|
|
22418
|
-
|
|
22419
|
-
|
|
22420
|
-
|
|
22421
|
-
|
|
22422
|
-
|
|
22423
|
-
|
|
22424
|
-
|
|
22425
|
-
|
|
22426
|
-
|
|
22427
|
-
|
|
22428
|
-
|
|
22429
|
-
|
|
22430
|
-
|
|
22431
|
-
|
|
22432
|
-
|
|
22433
|
-
|
|
22434
|
-
|
|
22435
|
-
|
|
22436
|
-
|
|
22437
|
-
|
|
22438
|
-
|
|
22439
|
-
|
|
22440
|
-
|
|
22441
|
-
|
|
22442
|
-
if ("CI" in env) {
|
|
22443
|
-
if (["TRAVIS", "CIRCLECI", "APPVEYOR", "GITLAB_CI", "GITHUB_ACTIONS", "BUILDKITE", "DRONE"].some((sign2) => sign2 in env) || env.CI_NAME === "codeship") {
|
|
22444
|
-
return 1;
|
|
22445
|
-
}
|
|
22446
|
-
return min2;
|
|
22447
|
-
}
|
|
22448
|
-
if ("TEAMCITY_VERSION" in env) {
|
|
22449
|
-
return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;
|
|
22450
|
-
}
|
|
22451
|
-
if (env.COLORTERM === "truecolor") {
|
|
22452
|
-
return 3;
|
|
22453
|
-
}
|
|
22454
|
-
if ("TERM_PROGRAM" in env) {
|
|
22455
|
-
const version5 = Number.parseInt((env.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
|
|
22456
|
-
switch (env.TERM_PROGRAM) {
|
|
22457
|
-
case "iTerm.app":
|
|
22458
|
-
return version5 >= 3 ? 3 : 2;
|
|
22459
|
-
case "Apple_Terminal":
|
|
22460
|
-
return 2;
|
|
22461
|
-
}
|
|
22436
|
+
return 1;
|
|
22437
|
+
}
|
|
22438
|
+
if ("CI" in env) {
|
|
22439
|
+
if (["GITHUB_ACTIONS", "GITEA_ACTIONS", "CIRCLECI"].some((key) => key in env)) {
|
|
22440
|
+
return 3;
|
|
22441
|
+
}
|
|
22442
|
+
if (["TRAVIS", "APPVEYOR", "GITLAB_CI", "BUILDKITE", "DRONE"].some((sign2) => sign2 in env) || env.CI_NAME === "codeship") {
|
|
22443
|
+
return 1;
|
|
22444
|
+
}
|
|
22445
|
+
return min2;
|
|
22446
|
+
}
|
|
22447
|
+
if ("TEAMCITY_VERSION" in env) {
|
|
22448
|
+
return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;
|
|
22449
|
+
}
|
|
22450
|
+
if (env.COLORTERM === "truecolor") {
|
|
22451
|
+
return 3;
|
|
22452
|
+
}
|
|
22453
|
+
if (env.TERM === "xterm-kitty") {
|
|
22454
|
+
return 3;
|
|
22455
|
+
}
|
|
22456
|
+
if (env.TERM === "xterm-ghostty") {
|
|
22457
|
+
return 3;
|
|
22458
|
+
}
|
|
22459
|
+
if (env.TERM === "wezterm") {
|
|
22460
|
+
return 3;
|
|
22461
|
+
}
|
|
22462
|
+
if ("TERM_PROGRAM" in env) {
|
|
22463
|
+
const version5 = Number.parseInt((env.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
|
|
22464
|
+
switch (env.TERM_PROGRAM) {
|
|
22465
|
+
case "iTerm.app": {
|
|
22466
|
+
return version5 >= 3 ? 3 : 2;
|
|
22462
22467
|
}
|
|
22463
|
-
|
|
22468
|
+
case "Apple_Terminal": {
|
|
22464
22469
|
return 2;
|
|
22465
22470
|
}
|
|
22466
|
-
if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) {
|
|
22467
|
-
return 1;
|
|
22468
|
-
}
|
|
22469
|
-
if ("COLORTERM" in env) {
|
|
22470
|
-
return 1;
|
|
22471
|
-
}
|
|
22472
|
-
return min2;
|
|
22473
22471
|
}
|
|
22474
|
-
|
|
22475
|
-
|
|
22476
|
-
|
|
22477
|
-
|
|
22478
|
-
|
|
22479
|
-
|
|
22472
|
+
}
|
|
22473
|
+
if (/-256(color)?$/i.test(env.TERM)) {
|
|
22474
|
+
return 2;
|
|
22475
|
+
}
|
|
22476
|
+
if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) {
|
|
22477
|
+
return 1;
|
|
22478
|
+
}
|
|
22479
|
+
if ("COLORTERM" in env) {
|
|
22480
|
+
return 1;
|
|
22481
|
+
}
|
|
22482
|
+
return min2;
|
|
22483
|
+
}
|
|
22484
|
+
function createSupportsColor(stream, options = {}) {
|
|
22485
|
+
const level = _supportsColor(stream, {
|
|
22486
|
+
streamIsTTY: stream && stream.isTTY,
|
|
22487
|
+
...options
|
|
22488
|
+
});
|
|
22489
|
+
return translateLevel(level);
|
|
22490
|
+
}
|
|
22491
|
+
var import_node_process, import_node_os, import_node_tty, env, flagForceColor, supportsColor, supports_color_default;
|
|
22492
|
+
var init_supports_color = __esm({
|
|
22493
|
+
"../../node_modules/.pnpm/supports-color@10.2.2/node_modules/supports-color/index.js"() {
|
|
22494
|
+
"use strict";
|
|
22495
|
+
import_node_process = __toESM(require("node:process"), 1);
|
|
22496
|
+
import_node_os = __toESM(require("node:os"), 1);
|
|
22497
|
+
import_node_tty = __toESM(require("node:tty"), 1);
|
|
22498
|
+
({ env } = import_node_process.default);
|
|
22499
|
+
if (hasFlag("no-color") || hasFlag("no-colors") || hasFlag("color=false") || hasFlag("color=never")) {
|
|
22500
|
+
flagForceColor = 0;
|
|
22501
|
+
} else if (hasFlag("color") || hasFlag("colors") || hasFlag("color=true") || hasFlag("color=always")) {
|
|
22502
|
+
flagForceColor = 1;
|
|
22480
22503
|
}
|
|
22481
|
-
|
|
22482
|
-
|
|
22483
|
-
|
|
22484
|
-
stderr: getSupportLevel({ isTTY: tty.isatty(2) })
|
|
22504
|
+
supportsColor = {
|
|
22505
|
+
stdout: createSupportsColor({ isTTY: import_node_tty.default.isatty(1) }),
|
|
22506
|
+
stderr: createSupportsColor({ isTTY: import_node_tty.default.isatty(2) })
|
|
22485
22507
|
};
|
|
22508
|
+
supports_color_default = supportsColor;
|
|
22486
22509
|
}
|
|
22487
22510
|
});
|
|
22488
22511
|
|
|
22489
|
-
// ../../node_modules/.pnpm/debug@4.4.
|
|
22512
|
+
// ../../node_modules/.pnpm/debug@4.4.0_supports-color@10.2.2/node_modules/debug/src/node.js
|
|
22490
22513
|
var require_node = __commonJS({
|
|
22491
|
-
"../../node_modules/.pnpm/debug@4.4.
|
|
22514
|
+
"../../node_modules/.pnpm/debug@4.4.0_supports-color@10.2.2/node_modules/debug/src/node.js"(exports2, module2) {
|
|
22492
22515
|
"use strict";
|
|
22493
|
-
var
|
|
22516
|
+
var tty2 = require("tty");
|
|
22494
22517
|
var util2 = require("util");
|
|
22495
22518
|
exports2.init = init3;
|
|
22496
22519
|
exports2.log = log4;
|
|
@@ -22505,8 +22528,8 @@ var require_node = __commonJS({
|
|
|
22505
22528
|
);
|
|
22506
22529
|
exports2.colors = [6, 2, 3, 4, 5, 1];
|
|
22507
22530
|
try {
|
|
22508
|
-
const
|
|
22509
|
-
if (
|
|
22531
|
+
const supportsColor2 = (init_supports_color(), __toCommonJS(supports_color_exports));
|
|
22532
|
+
if (supportsColor2 && (supportsColor2.stderr || supportsColor2).level >= 2) {
|
|
22510
22533
|
exports2.colors = [
|
|
22511
22534
|
20,
|
|
22512
22535
|
21,
|
|
@@ -22608,7 +22631,7 @@ var require_node = __commonJS({
|
|
|
22608
22631
|
return obj;
|
|
22609
22632
|
}, {});
|
|
22610
22633
|
function useColors() {
|
|
22611
|
-
return "colors" in exports2.inspectOpts ? Boolean(exports2.inspectOpts.colors) :
|
|
22634
|
+
return "colors" in exports2.inspectOpts ? Boolean(exports2.inspectOpts.colors) : tty2.isatty(process.stderr.fd);
|
|
22612
22635
|
}
|
|
22613
22636
|
function formatArgs(args) {
|
|
22614
22637
|
const { namespace: name6, useColors: useColors2 } = this;
|
|
@@ -22661,9 +22684,9 @@ var require_node = __commonJS({
|
|
|
22661
22684
|
}
|
|
22662
22685
|
});
|
|
22663
22686
|
|
|
22664
|
-
// ../../node_modules/.pnpm/debug@4.4.
|
|
22687
|
+
// ../../node_modules/.pnpm/debug@4.4.0_supports-color@10.2.2/node_modules/debug/src/index.js
|
|
22665
22688
|
var require_src2 = __commonJS({
|
|
22666
|
-
"../../node_modules/.pnpm/debug@4.4.
|
|
22689
|
+
"../../node_modules/.pnpm/debug@4.4.0_supports-color@10.2.2/node_modules/debug/src/index.js"(exports2, module2) {
|
|
22667
22690
|
"use strict";
|
|
22668
22691
|
if (typeof process === "undefined" || process.type === "renderer" || process.browser === true || process.__nwjs) {
|
|
22669
22692
|
module2.exports = require_browser();
|
|
@@ -28696,13 +28719,13 @@ function getHeaderName() {
|
|
|
28696
28719
|
}
|
|
28697
28720
|
function setPlatformSpecificData(map2) {
|
|
28698
28721
|
map2.set("Node", process.version);
|
|
28699
|
-
map2.set("OS", `(${
|
|
28722
|
+
map2.set("OS", `(${os3.arch()}-${os3.type()}-${os3.release()})`);
|
|
28700
28723
|
}
|
|
28701
|
-
var
|
|
28724
|
+
var os3;
|
|
28702
28725
|
var init_userAgentPlatform = __esm({
|
|
28703
28726
|
"../../node_modules/.pnpm/@azure+core-rest-pipeline@1.9.2/node_modules/@azure/core-rest-pipeline/dist-esm/src/util/userAgentPlatform.js"() {
|
|
28704
28727
|
"use strict";
|
|
28705
|
-
|
|
28728
|
+
os3 = __toESM(require("os"));
|
|
28706
28729
|
}
|
|
28707
28730
|
});
|
|
28708
28731
|
|
|
@@ -39565,7 +39588,7 @@ var init_formDataPolicy = __esm({
|
|
|
39565
39588
|
var require_common2 = __commonJS({
|
|
39566
39589
|
"../../node_modules/.pnpm/debug@4.4.1/node_modules/debug/src/common.js"(exports2, module2) {
|
|
39567
39590
|
"use strict";
|
|
39568
|
-
function setup(
|
|
39591
|
+
function setup(env2) {
|
|
39569
39592
|
createDebug.debug = createDebug;
|
|
39570
39593
|
createDebug.default = createDebug;
|
|
39571
39594
|
createDebug.coerce = coerce;
|
|
@@ -39574,8 +39597,8 @@ var require_common2 = __commonJS({
|
|
|
39574
39597
|
createDebug.enabled = enabled2;
|
|
39575
39598
|
createDebug.humanize = require_ms();
|
|
39576
39599
|
createDebug.destroy = destroy2;
|
|
39577
|
-
Object.keys(
|
|
39578
|
-
createDebug[key] =
|
|
39600
|
+
Object.keys(env2).forEach((key) => {
|
|
39601
|
+
createDebug[key] = env2[key];
|
|
39579
39602
|
});
|
|
39580
39603
|
createDebug.names = [];
|
|
39581
39604
|
createDebug.skips = [];
|
|
@@ -39914,7 +39937,7 @@ var require_browser2 = __commonJS({
|
|
|
39914
39937
|
var require_node2 = __commonJS({
|
|
39915
39938
|
"../../node_modules/.pnpm/debug@4.4.1/node_modules/debug/src/node.js"(exports2, module2) {
|
|
39916
39939
|
"use strict";
|
|
39917
|
-
var
|
|
39940
|
+
var tty2 = require("tty");
|
|
39918
39941
|
var util2 = require("util");
|
|
39919
39942
|
exports2.init = init3;
|
|
39920
39943
|
exports2.log = log4;
|
|
@@ -39929,8 +39952,8 @@ var require_node2 = __commonJS({
|
|
|
39929
39952
|
);
|
|
39930
39953
|
exports2.colors = [6, 2, 3, 4, 5, 1];
|
|
39931
39954
|
try {
|
|
39932
|
-
const
|
|
39933
|
-
if (
|
|
39955
|
+
const supportsColor2 = (init_supports_color(), __toCommonJS(supports_color_exports));
|
|
39956
|
+
if (supportsColor2 && (supportsColor2.stderr || supportsColor2).level >= 2) {
|
|
39934
39957
|
exports2.colors = [
|
|
39935
39958
|
20,
|
|
39936
39959
|
21,
|
|
@@ -40032,7 +40055,7 @@ var require_node2 = __commonJS({
|
|
|
40032
40055
|
return obj;
|
|
40033
40056
|
}, {});
|
|
40034
40057
|
function useColors() {
|
|
40035
|
-
return "colors" in exports2.inspectOpts ? Boolean(exports2.inspectOpts.colors) :
|
|
40058
|
+
return "colors" in exports2.inspectOpts ? Boolean(exports2.inspectOpts.colors) : tty2.isatty(process.stderr.fd);
|
|
40036
40059
|
}
|
|
40037
40060
|
function formatArgs(args) {
|
|
40038
40061
|
const { namespace: name6, useColors: useColors2 } = this;
|
|
@@ -47194,11 +47217,11 @@ var init_AccountEntity = __esm({
|
|
|
47194
47217
|
account.clientInfo = accountDetails.clientInfo;
|
|
47195
47218
|
account.homeAccountId = accountDetails.homeAccountId;
|
|
47196
47219
|
account.nativeAccountId = accountDetails.nativeAccountId;
|
|
47197
|
-
const
|
|
47198
|
-
if (!
|
|
47220
|
+
const env2 = accountDetails.environment || authority && authority.getPreferredCache();
|
|
47221
|
+
if (!env2) {
|
|
47199
47222
|
throw createClientAuthError(invalidCacheEnvironment);
|
|
47200
47223
|
}
|
|
47201
|
-
account.environment =
|
|
47224
|
+
account.environment = env2;
|
|
47202
47225
|
account.realm = clientInfo?.utid || getTenantIdFromIdTokenClaims(accountDetails.idTokenClaims) || "";
|
|
47203
47226
|
account.localAccountId = clientInfo?.uid || accountDetails.idTokenClaims.oid || accountDetails.idTokenClaims.sub || "";
|
|
47204
47227
|
const preferredUsername = accountDetails.idTokenClaims.preferred_username || accountDetails.idTokenClaims.upn;
|
|
@@ -49724,15 +49747,15 @@ ${serverError}`);
|
|
|
49724
49747
|
* @param authority
|
|
49725
49748
|
*/
|
|
49726
49749
|
generateCacheRecord(serverTokenResponse, authority, reqTimestamp, request3, idTokenClaims, userAssertionHash, authCodePayload) {
|
|
49727
|
-
const
|
|
49728
|
-
if (!
|
|
49750
|
+
const env2 = authority.getPreferredCache();
|
|
49751
|
+
if (!env2) {
|
|
49729
49752
|
throw createClientAuthError(invalidCacheEnvironment);
|
|
49730
49753
|
}
|
|
49731
49754
|
const claimsTenantId = getTenantIdFromIdTokenClaims(idTokenClaims);
|
|
49732
49755
|
let cachedIdToken;
|
|
49733
49756
|
let cachedAccount;
|
|
49734
49757
|
if (serverTokenResponse.id_token && !!idTokenClaims) {
|
|
49735
|
-
cachedIdToken = createIdTokenEntity(this.homeAccountIdentifier,
|
|
49758
|
+
cachedIdToken = createIdTokenEntity(this.homeAccountIdentifier, env2, serverTokenResponse.id_token, this.clientId, claimsTenantId || "");
|
|
49736
49759
|
cachedAccount = buildAccountToCache(
|
|
49737
49760
|
this.cacheStorage,
|
|
49738
49761
|
authority,
|
|
@@ -49740,7 +49763,7 @@ ${serverError}`);
|
|
|
49740
49763
|
idTokenClaims,
|
|
49741
49764
|
this.cryptoObj.base64Decode,
|
|
49742
49765
|
serverTokenResponse.client_info,
|
|
49743
|
-
|
|
49766
|
+
env2,
|
|
49744
49767
|
claimsTenantId,
|
|
49745
49768
|
authCodePayload,
|
|
49746
49769
|
void 0,
|
|
@@ -49757,7 +49780,7 @@ ${serverError}`);
|
|
|
49757
49780
|
const tokenExpirationSeconds = reqTimestamp + expiresIn;
|
|
49758
49781
|
const extendedTokenExpirationSeconds = tokenExpirationSeconds + extExpiresIn;
|
|
49759
49782
|
const refreshOnSeconds = refreshIn && refreshIn > 0 ? reqTimestamp + refreshIn : void 0;
|
|
49760
|
-
cachedAccessToken = createAccessTokenEntity(this.homeAccountIdentifier,
|
|
49783
|
+
cachedAccessToken = createAccessTokenEntity(this.homeAccountIdentifier, env2, serverTokenResponse.access_token, this.clientId, claimsTenantId || authority.tenant || "", responseScopes.printScopes(), tokenExpirationSeconds, extendedTokenExpirationSeconds, this.cryptoObj.base64Decode, refreshOnSeconds, serverTokenResponse.token_type, userAssertionHash, serverTokenResponse.key_id, request3.claims, request3.requestedClaimsHash);
|
|
49761
49784
|
}
|
|
49762
49785
|
let cachedRefreshToken = null;
|
|
49763
49786
|
if (serverTokenResponse.refresh_token) {
|
|
@@ -49766,13 +49789,13 @@ ${serverError}`);
|
|
|
49766
49789
|
const rtExpiresIn = typeof serverTokenResponse.refresh_token_expires_in === "string" ? parseInt(serverTokenResponse.refresh_token_expires_in, 10) : serverTokenResponse.refresh_token_expires_in;
|
|
49767
49790
|
rtExpiresOn = reqTimestamp + rtExpiresIn;
|
|
49768
49791
|
}
|
|
49769
|
-
cachedRefreshToken = createRefreshTokenEntity(this.homeAccountIdentifier,
|
|
49792
|
+
cachedRefreshToken = createRefreshTokenEntity(this.homeAccountIdentifier, env2, serverTokenResponse.refresh_token, this.clientId, serverTokenResponse.foci, userAssertionHash, rtExpiresOn);
|
|
49770
49793
|
}
|
|
49771
49794
|
let cachedAppMetadata = null;
|
|
49772
49795
|
if (serverTokenResponse.foci) {
|
|
49773
49796
|
cachedAppMetadata = {
|
|
49774
49797
|
clientId: this.clientId,
|
|
49775
|
-
environment:
|
|
49798
|
+
environment: env2,
|
|
49776
49799
|
familyId: serverTokenResponse.foci
|
|
49777
49800
|
};
|
|
49778
49801
|
}
|
|
@@ -58530,8 +58553,8 @@ var init_appServiceMsi2017 = __esm({
|
|
|
58530
58553
|
logger5.info(`${msiName}: Unavailable. Multiple scopes are not supported.`);
|
|
58531
58554
|
return false;
|
|
58532
58555
|
}
|
|
58533
|
-
const
|
|
58534
|
-
const result = Boolean(
|
|
58556
|
+
const env2 = process.env;
|
|
58557
|
+
const result = Boolean(env2.MSI_ENDPOINT && env2.MSI_SECRET);
|
|
58535
58558
|
if (!result) {
|
|
58536
58559
|
logger5.info(`${msiName}: Unavailable. The environment variables needed are: MSI_ENDPOINT and MSI_SECRET.`);
|
|
58537
58560
|
}
|
|
@@ -58603,8 +58626,8 @@ var init_appServiceMsi2019 = __esm({
|
|
|
58603
58626
|
logger6.info(`${msiName2}: Unavailable. Multiple scopes are not supported.`);
|
|
58604
58627
|
return false;
|
|
58605
58628
|
}
|
|
58606
|
-
const
|
|
58607
|
-
const result = Boolean(
|
|
58629
|
+
const env2 = process.env;
|
|
58630
|
+
const result = Boolean(env2.IDENTITY_ENDPOINT && env2.IDENTITY_HEADER);
|
|
58608
58631
|
if (!result) {
|
|
58609
58632
|
logger6.info(`${msiName2}: Unavailable. The environment variables needed are: IDENTITY_ENDPOINT and IDENTITY_HEADER.`);
|
|
58610
58633
|
}
|
|
@@ -58875,8 +58898,8 @@ var init_fabricMsi = __esm({
|
|
|
58875
58898
|
logger9.info(`${msiName5}: Unavailable. Multiple scopes are not supported.`);
|
|
58876
58899
|
return false;
|
|
58877
58900
|
}
|
|
58878
|
-
const
|
|
58879
|
-
const result = Boolean(
|
|
58901
|
+
const env2 = process.env;
|
|
58902
|
+
const result = Boolean(env2.IDENTITY_ENDPOINT && env2.IDENTITY_HEADER && env2.IDENTITY_SERVER_THUMBPRINT);
|
|
58880
58903
|
if (!result) {
|
|
58881
58904
|
logger9.info(`${msiName5}: Unavailable. The environment variables needed are: IDENTITY_ENDPOINT, IDENTITY_HEADER and IDENTITY_SERVER_THUMBPRINT`);
|
|
58882
58905
|
}
|
|
@@ -59676,8 +59699,8 @@ function tokenExchangeMsi() {
|
|
|
59676
59699
|
return {
|
|
59677
59700
|
name: "tokenExchangeMsi",
|
|
59678
59701
|
async isAvailable({ clientId }) {
|
|
59679
|
-
const
|
|
59680
|
-
const result = Boolean((clientId ||
|
|
59702
|
+
const env2 = process.env;
|
|
59703
|
+
const result = Boolean((clientId || env2.AZURE_CLIENT_ID) && env2.AZURE_TENANT_ID && process.env.AZURE_FEDERATED_TOKEN_FILE);
|
|
59681
59704
|
if (!result) {
|
|
59682
59705
|
logger14.info(`${msiName7}: Unavailable. The environment variables needed are: AZURE_CLIENT_ID (or the client ID sent through the parameters), AZURE_TENANT_ID and AZURE_FEDERATED_TOKEN_FILE`);
|
|
59683
59706
|
}
|
|
@@ -61282,14 +61305,14 @@ var require_is_docker = __commonJS({
|
|
|
61282
61305
|
var require_is_wsl = __commonJS({
|
|
61283
61306
|
"../../node_modules/.pnpm/is-wsl@2.2.0/node_modules/is-wsl/index.js"(exports2, module2) {
|
|
61284
61307
|
"use strict";
|
|
61285
|
-
var
|
|
61308
|
+
var os5 = require("os");
|
|
61286
61309
|
var fs3 = require("fs");
|
|
61287
61310
|
var isDocker = require_is_docker();
|
|
61288
61311
|
var isWsl = () => {
|
|
61289
61312
|
if (process.platform !== "linux") {
|
|
61290
61313
|
return false;
|
|
61291
61314
|
}
|
|
61292
|
-
if (
|
|
61315
|
+
if (os5.release().toLowerCase().includes("microsoft")) {
|
|
61293
61316
|
if (isDocker()) {
|
|
61294
61317
|
return false;
|
|
61295
61318
|
}
|
|
@@ -66434,7 +66457,7 @@ var require_utils5 = __commonJS({
|
|
|
66434
66457
|
var require_end_of_stream = __commonJS({
|
|
66435
66458
|
"../../node_modules/.pnpm/readable-stream@4.4.2/node_modules/readable-stream/lib/internal/streams/end-of-stream.js"(exports2, module2) {
|
|
66436
66459
|
"use strict";
|
|
66437
|
-
var
|
|
66460
|
+
var process3 = require_process();
|
|
66438
66461
|
var { AbortError: AbortError3, codes } = require_errors3();
|
|
66439
66462
|
var { ERR_INVALID_ARG_TYPE, ERR_STREAM_PREMATURE_CLOSE } = codes;
|
|
66440
66463
|
var { kEmptyObject, once } = require_util();
|
|
@@ -66569,17 +66592,17 @@ var require_end_of_stream = __commonJS({
|
|
|
66569
66592
|
}
|
|
66570
66593
|
stream.on("close", onclose);
|
|
66571
66594
|
if (closed) {
|
|
66572
|
-
|
|
66595
|
+
process3.nextTick(onclose);
|
|
66573
66596
|
} else if (wState !== null && wState !== void 0 && wState.errorEmitted || rState !== null && rState !== void 0 && rState.errorEmitted) {
|
|
66574
66597
|
if (!willEmitClose) {
|
|
66575
|
-
|
|
66598
|
+
process3.nextTick(onclosed);
|
|
66576
66599
|
}
|
|
66577
66600
|
} else if (!readable && (!willEmitClose || isReadable(stream)) && (writableFinished || isWritable(stream) === false)) {
|
|
66578
|
-
|
|
66601
|
+
process3.nextTick(onclosed);
|
|
66579
66602
|
} else if (!writable && (!willEmitClose || isWritable(stream)) && (readableFinished || isReadable(stream) === false)) {
|
|
66580
|
-
|
|
66603
|
+
process3.nextTick(onclosed);
|
|
66581
66604
|
} else if (rState && stream.req && stream.aborted) {
|
|
66582
|
-
|
|
66605
|
+
process3.nextTick(onclosed);
|
|
66583
66606
|
}
|
|
66584
66607
|
const cleanup = () => {
|
|
66585
66608
|
callback = nop;
|
|
@@ -66607,7 +66630,7 @@ var require_end_of_stream = __commonJS({
|
|
|
66607
66630
|
);
|
|
66608
66631
|
};
|
|
66609
66632
|
if (options.signal.aborted) {
|
|
66610
|
-
|
|
66633
|
+
process3.nextTick(abort);
|
|
66611
66634
|
} else {
|
|
66612
66635
|
const originalCallback = callback;
|
|
66613
66636
|
callback = once((...args) => {
|
|
@@ -66633,7 +66656,7 @@ var require_end_of_stream = __commonJS({
|
|
|
66633
66656
|
);
|
|
66634
66657
|
};
|
|
66635
66658
|
if (options.signal.aborted) {
|
|
66636
|
-
|
|
66659
|
+
process3.nextTick(abort);
|
|
66637
66660
|
} else {
|
|
66638
66661
|
const originalCallback = callback;
|
|
66639
66662
|
callback = once((...args) => {
|
|
@@ -66645,7 +66668,7 @@ var require_end_of_stream = __commonJS({
|
|
|
66645
66668
|
}
|
|
66646
66669
|
const resolverFn = (...args) => {
|
|
66647
66670
|
if (!isAborted) {
|
|
66648
|
-
|
|
66671
|
+
process3.nextTick(() => callback.apply(stream, args));
|
|
66649
66672
|
}
|
|
66650
66673
|
};
|
|
66651
66674
|
PromisePrototypeThen(stream[kIsClosedPromise].promise, resolverFn, resolverFn);
|
|
@@ -66683,7 +66706,7 @@ var require_end_of_stream = __commonJS({
|
|
|
66683
66706
|
var require_destroy = __commonJS({
|
|
66684
66707
|
"../../node_modules/.pnpm/readable-stream@4.4.2/node_modules/readable-stream/lib/internal/streams/destroy.js"(exports2, module2) {
|
|
66685
66708
|
"use strict";
|
|
66686
|
-
var
|
|
66709
|
+
var process3 = require_process();
|
|
66687
66710
|
var {
|
|
66688
66711
|
aggregateTwoErrors,
|
|
66689
66712
|
codes: { ERR_MULTIPLE_CALLBACK },
|
|
@@ -66750,9 +66773,9 @@ var require_destroy = __commonJS({
|
|
|
66750
66773
|
cb(err2);
|
|
66751
66774
|
}
|
|
66752
66775
|
if (err2) {
|
|
66753
|
-
|
|
66776
|
+
process3.nextTick(emitErrorCloseNT, self2, err2);
|
|
66754
66777
|
} else {
|
|
66755
|
-
|
|
66778
|
+
process3.nextTick(emitCloseNT, self2);
|
|
66756
66779
|
}
|
|
66757
66780
|
}
|
|
66758
66781
|
try {
|
|
@@ -66837,7 +66860,7 @@ var require_destroy = __commonJS({
|
|
|
66837
66860
|
r2.errored = err;
|
|
66838
66861
|
}
|
|
66839
66862
|
if (sync) {
|
|
66840
|
-
|
|
66863
|
+
process3.nextTick(emitErrorNT, stream, err);
|
|
66841
66864
|
} else {
|
|
66842
66865
|
emitErrorNT(stream, err);
|
|
66843
66866
|
}
|
|
@@ -66859,7 +66882,7 @@ var require_destroy = __commonJS({
|
|
|
66859
66882
|
if (stream.listenerCount(kConstruct) > 1) {
|
|
66860
66883
|
return;
|
|
66861
66884
|
}
|
|
66862
|
-
|
|
66885
|
+
process3.nextTick(constructNT, stream);
|
|
66863
66886
|
}
|
|
66864
66887
|
function constructNT(stream) {
|
|
66865
66888
|
let called = false;
|
|
@@ -66883,15 +66906,15 @@ var require_destroy = __commonJS({
|
|
|
66883
66906
|
} else if (err) {
|
|
66884
66907
|
errorOrDestroy(stream, err, true);
|
|
66885
66908
|
} else {
|
|
66886
|
-
|
|
66909
|
+
process3.nextTick(emitConstructNT, stream);
|
|
66887
66910
|
}
|
|
66888
66911
|
}
|
|
66889
66912
|
try {
|
|
66890
66913
|
stream._construct((err) => {
|
|
66891
|
-
|
|
66914
|
+
process3.nextTick(onConstruct, err);
|
|
66892
66915
|
});
|
|
66893
66916
|
} catch (err) {
|
|
66894
|
-
|
|
66917
|
+
process3.nextTick(onConstruct, err);
|
|
66895
66918
|
}
|
|
66896
66919
|
}
|
|
66897
66920
|
function emitConstructNT(stream) {
|
|
@@ -66905,7 +66928,7 @@ var require_destroy = __commonJS({
|
|
|
66905
66928
|
}
|
|
66906
66929
|
function emitErrorCloseLegacy(stream, err) {
|
|
66907
66930
|
stream.emit("error", err);
|
|
66908
|
-
|
|
66931
|
+
process3.nextTick(emitCloseLegacy, stream);
|
|
66909
66932
|
}
|
|
66910
66933
|
function destroyer(stream, err) {
|
|
66911
66934
|
if (!stream || isDestroyed(stream)) {
|
|
@@ -66926,9 +66949,9 @@ var require_destroy = __commonJS({
|
|
|
66926
66949
|
} else if (typeof stream.close === "function") {
|
|
66927
66950
|
stream.close();
|
|
66928
66951
|
} else if (err) {
|
|
66929
|
-
|
|
66952
|
+
process3.nextTick(emitErrorCloseLegacy, stream, err);
|
|
66930
66953
|
} else {
|
|
66931
|
-
|
|
66954
|
+
process3.nextTick(emitCloseLegacy, stream);
|
|
66932
66955
|
}
|
|
66933
66956
|
if (!stream.destroyed) {
|
|
66934
66957
|
stream[kDestroyed] = true;
|
|
@@ -67259,7 +67282,7 @@ var require_state3 = __commonJS({
|
|
|
67259
67282
|
var require_from = __commonJS({
|
|
67260
67283
|
"../../node_modules/.pnpm/readable-stream@4.4.2/node_modules/readable-stream/lib/internal/streams/from.js"(exports2, module2) {
|
|
67261
67284
|
"use strict";
|
|
67262
|
-
var
|
|
67285
|
+
var process3 = require_process();
|
|
67263
67286
|
var { PromisePrototypeThen, SymbolAsyncIterator, SymbolIterator } = require_primordials();
|
|
67264
67287
|
var { Buffer: Buffer2 } = require("buffer");
|
|
67265
67288
|
var { ERR_INVALID_ARG_TYPE, ERR_STREAM_NULL_VALUES } = require_errors3().codes;
|
|
@@ -67301,9 +67324,9 @@ var require_from = __commonJS({
|
|
|
67301
67324
|
readable._destroy = function(error44, cb) {
|
|
67302
67325
|
PromisePrototypeThen(
|
|
67303
67326
|
close(error44),
|
|
67304
|
-
() =>
|
|
67327
|
+
() => process3.nextTick(cb, error44),
|
|
67305
67328
|
// nextTick is here in case cb throws
|
|
67306
|
-
(e2) =>
|
|
67329
|
+
(e2) => process3.nextTick(cb, e2 || error44)
|
|
67307
67330
|
);
|
|
67308
67331
|
};
|
|
67309
67332
|
async function close(error44) {
|
|
@@ -67354,7 +67377,7 @@ var require_from = __commonJS({
|
|
|
67354
67377
|
var require_readable = __commonJS({
|
|
67355
67378
|
"../../node_modules/.pnpm/readable-stream@4.4.2/node_modules/readable-stream/lib/internal/streams/readable.js"(exports2, module2) {
|
|
67356
67379
|
"use strict";
|
|
67357
|
-
var
|
|
67380
|
+
var process3 = require_process();
|
|
67358
67381
|
var {
|
|
67359
67382
|
ArrayPrototypeIndexOf,
|
|
67360
67383
|
NumberIsInteger,
|
|
@@ -67677,7 +67700,7 @@ var require_readable = __commonJS({
|
|
|
67677
67700
|
if (!state2.emittedReadable) {
|
|
67678
67701
|
debug7("emitReadable", state2.flowing);
|
|
67679
67702
|
state2.emittedReadable = true;
|
|
67680
|
-
|
|
67703
|
+
process3.nextTick(emitReadable_, stream);
|
|
67681
67704
|
}
|
|
67682
67705
|
}
|
|
67683
67706
|
function emitReadable_(stream) {
|
|
@@ -67693,7 +67716,7 @@ var require_readable = __commonJS({
|
|
|
67693
67716
|
function maybeReadMore(stream, state2) {
|
|
67694
67717
|
if (!state2.readingMore && state2.constructed) {
|
|
67695
67718
|
state2.readingMore = true;
|
|
67696
|
-
|
|
67719
|
+
process3.nextTick(maybeReadMore_, stream, state2);
|
|
67697
67720
|
}
|
|
67698
67721
|
}
|
|
67699
67722
|
function maybeReadMore_(stream, state2) {
|
|
@@ -67720,9 +67743,9 @@ var require_readable = __commonJS({
|
|
|
67720
67743
|
}
|
|
67721
67744
|
state2.pipes.push(dest);
|
|
67722
67745
|
debug7("pipe count=%d opts=%j", state2.pipes.length, pipeOpts);
|
|
67723
|
-
const doEnd = (!pipeOpts || pipeOpts.end !== false) && dest !==
|
|
67746
|
+
const doEnd = (!pipeOpts || pipeOpts.end !== false) && dest !== process3.stdout && dest !== process3.stderr;
|
|
67724
67747
|
const endFn = doEnd ? onend : unpipe;
|
|
67725
|
-
if (state2.endEmitted)
|
|
67748
|
+
if (state2.endEmitted) process3.nextTick(endFn);
|
|
67726
67749
|
else src.once("end", endFn);
|
|
67727
67750
|
dest.on("unpipe", onunpipe);
|
|
67728
67751
|
function onunpipe(readable, unpipeInfo) {
|
|
@@ -67874,7 +67897,7 @@ var require_readable = __commonJS({
|
|
|
67874
67897
|
if (state2.length) {
|
|
67875
67898
|
emitReadable(this);
|
|
67876
67899
|
} else if (!state2.reading) {
|
|
67877
|
-
|
|
67900
|
+
process3.nextTick(nReadingNextTick, this);
|
|
67878
67901
|
}
|
|
67879
67902
|
}
|
|
67880
67903
|
}
|
|
@@ -67884,7 +67907,7 @@ var require_readable = __commonJS({
|
|
|
67884
67907
|
Readable.prototype.removeListener = function(ev, fn2) {
|
|
67885
67908
|
const res = Stream.prototype.removeListener.call(this, ev, fn2);
|
|
67886
67909
|
if (ev === "readable") {
|
|
67887
|
-
|
|
67910
|
+
process3.nextTick(updateReadableListening, this);
|
|
67888
67911
|
}
|
|
67889
67912
|
return res;
|
|
67890
67913
|
};
|
|
@@ -67892,7 +67915,7 @@ var require_readable = __commonJS({
|
|
|
67892
67915
|
Readable.prototype.removeAllListeners = function(ev) {
|
|
67893
67916
|
const res = Stream.prototype.removeAllListeners.apply(this, arguments);
|
|
67894
67917
|
if (ev === "readable" || ev === void 0) {
|
|
67895
|
-
|
|
67918
|
+
process3.nextTick(updateReadableListening, this);
|
|
67896
67919
|
}
|
|
67897
67920
|
return res;
|
|
67898
67921
|
};
|
|
@@ -67924,7 +67947,7 @@ var require_readable = __commonJS({
|
|
|
67924
67947
|
function resume(stream, state2) {
|
|
67925
67948
|
if (!state2.resumeScheduled) {
|
|
67926
67949
|
state2.resumeScheduled = true;
|
|
67927
|
-
|
|
67950
|
+
process3.nextTick(resume_, stream, state2);
|
|
67928
67951
|
}
|
|
67929
67952
|
}
|
|
67930
67953
|
function resume_(stream, state2) {
|
|
@@ -68201,7 +68224,7 @@ var require_readable = __commonJS({
|
|
|
68201
68224
|
debug7("endReadable", state2.endEmitted);
|
|
68202
68225
|
if (!state2.endEmitted) {
|
|
68203
68226
|
state2.ended = true;
|
|
68204
|
-
|
|
68227
|
+
process3.nextTick(endReadableNT, state2, stream);
|
|
68205
68228
|
}
|
|
68206
68229
|
}
|
|
68207
68230
|
function endReadableNT(state2, stream) {
|
|
@@ -68210,7 +68233,7 @@ var require_readable = __commonJS({
|
|
|
68210
68233
|
state2.endEmitted = true;
|
|
68211
68234
|
stream.emit("end");
|
|
68212
68235
|
if (stream.writable && stream.allowHalfOpen === false) {
|
|
68213
|
-
|
|
68236
|
+
process3.nextTick(endWritableNT, stream);
|
|
68214
68237
|
} else if (state2.autoDestroy) {
|
|
68215
68238
|
const wState = stream._writableState;
|
|
68216
68239
|
const autoDestroy = !wState || wState.autoDestroy && // We don't expect the writable to ever 'finish'
|
|
@@ -68260,7 +68283,7 @@ var require_readable = __commonJS({
|
|
|
68260
68283
|
var require_writable = __commonJS({
|
|
68261
68284
|
"../../node_modules/.pnpm/readable-stream@4.4.2/node_modules/readable-stream/lib/internal/streams/writable.js"(exports2, module2) {
|
|
68262
68285
|
"use strict";
|
|
68263
|
-
var
|
|
68286
|
+
var process3 = require_process();
|
|
68264
68287
|
var {
|
|
68265
68288
|
ArrayPrototypeSlice,
|
|
68266
68289
|
Error: Error2,
|
|
@@ -68413,7 +68436,7 @@ var require_writable = __commonJS({
|
|
|
68413
68436
|
err = new ERR_STREAM_DESTROYED("write");
|
|
68414
68437
|
}
|
|
68415
68438
|
if (err) {
|
|
68416
|
-
|
|
68439
|
+
process3.nextTick(cb, err);
|
|
68417
68440
|
errorOrDestroy(stream, err, true);
|
|
68418
68441
|
return err;
|
|
68419
68442
|
}
|
|
@@ -68503,7 +68526,7 @@ var require_writable = __commonJS({
|
|
|
68503
68526
|
stream._readableState.errored = er2;
|
|
68504
68527
|
}
|
|
68505
68528
|
if (sync) {
|
|
68506
|
-
|
|
68529
|
+
process3.nextTick(onwriteError, stream, state2, er2, cb);
|
|
68507
68530
|
} else {
|
|
68508
68531
|
onwriteError(stream, state2, er2, cb);
|
|
68509
68532
|
}
|
|
@@ -68521,7 +68544,7 @@ var require_writable = __commonJS({
|
|
|
68521
68544
|
stream,
|
|
68522
68545
|
state: state2
|
|
68523
68546
|
};
|
|
68524
|
-
|
|
68547
|
+
process3.nextTick(afterWriteTick, state2.afterWriteTickInfo);
|
|
68525
68548
|
}
|
|
68526
68549
|
} else {
|
|
68527
68550
|
afterWrite(stream, state2, 1, cb);
|
|
@@ -68658,7 +68681,7 @@ var require_writable = __commonJS({
|
|
|
68658
68681
|
}
|
|
68659
68682
|
if (typeof cb === "function") {
|
|
68660
68683
|
if (err || state2.finished) {
|
|
68661
|
-
|
|
68684
|
+
process3.nextTick(cb, err);
|
|
68662
68685
|
} else {
|
|
68663
68686
|
state2[kOnFinished].push(cb);
|
|
68664
68687
|
}
|
|
@@ -68687,7 +68710,7 @@ var require_writable = __commonJS({
|
|
|
68687
68710
|
state2.prefinished = true;
|
|
68688
68711
|
stream.emit("prefinish");
|
|
68689
68712
|
state2.pendingcb++;
|
|
68690
|
-
|
|
68713
|
+
process3.nextTick(finish, stream, state2);
|
|
68691
68714
|
}
|
|
68692
68715
|
}
|
|
68693
68716
|
state2.sync = true;
|
|
@@ -68716,7 +68739,7 @@ var require_writable = __commonJS({
|
|
|
68716
68739
|
if (state2.pendingcb === 0) {
|
|
68717
68740
|
if (sync) {
|
|
68718
68741
|
state2.pendingcb++;
|
|
68719
|
-
|
|
68742
|
+
process3.nextTick(
|
|
68720
68743
|
(stream2, state3) => {
|
|
68721
68744
|
if (needFinish(state3)) {
|
|
68722
68745
|
finish(stream2, state3);
|
|
@@ -68851,7 +68874,7 @@ var require_writable = __commonJS({
|
|
|
68851
68874
|
Writable.prototype.destroy = function(err, cb) {
|
|
68852
68875
|
const state2 = this._writableState;
|
|
68853
68876
|
if (!state2.destroyed && (state2.bufferedIndex < state2.buffered.length || state2[kOnFinished].length)) {
|
|
68854
|
-
|
|
68877
|
+
process3.nextTick(errorBuffer, state2);
|
|
68855
68878
|
}
|
|
68856
68879
|
destroy2.call(this, err, cb);
|
|
68857
68880
|
return this;
|
|
@@ -68881,7 +68904,7 @@ var require_writable = __commonJS({
|
|
|
68881
68904
|
var require_duplexify = __commonJS({
|
|
68882
68905
|
"../../node_modules/.pnpm/readable-stream@4.4.2/node_modules/readable-stream/lib/internal/streams/duplexify.js"(exports2, module2) {
|
|
68883
68906
|
"use strict";
|
|
68884
|
-
var
|
|
68907
|
+
var process3 = require_process();
|
|
68885
68908
|
var bufferModule = require("buffer");
|
|
68886
68909
|
var {
|
|
68887
68910
|
isReadable,
|
|
@@ -68981,9 +69004,9 @@ var require_duplexify = __commonJS({
|
|
|
68981
69004
|
final(async () => {
|
|
68982
69005
|
try {
|
|
68983
69006
|
await promise2;
|
|
68984
|
-
|
|
69007
|
+
process3.nextTick(cb, null);
|
|
68985
69008
|
} catch (err) {
|
|
68986
|
-
|
|
69009
|
+
process3.nextTick(cb, err);
|
|
68987
69010
|
}
|
|
68988
69011
|
});
|
|
68989
69012
|
},
|
|
@@ -69059,7 +69082,7 @@ var require_duplexify = __commonJS({
|
|
|
69059
69082
|
const _promise2 = promise2;
|
|
69060
69083
|
promise2 = null;
|
|
69061
69084
|
const { chunk, done, cb } = await _promise2;
|
|
69062
|
-
|
|
69085
|
+
process3.nextTick(cb);
|
|
69063
69086
|
if (done) return;
|
|
69064
69087
|
if (signal.aborted)
|
|
69065
69088
|
throw new AbortError3(void 0, {
|
|
@@ -69451,7 +69474,7 @@ var require_passthrough = __commonJS({
|
|
|
69451
69474
|
var require_pipeline = __commonJS({
|
|
69452
69475
|
"../../node_modules/.pnpm/readable-stream@4.4.2/node_modules/readable-stream/lib/internal/streams/pipeline.js"(exports2, module2) {
|
|
69453
69476
|
"use strict";
|
|
69454
|
-
var
|
|
69477
|
+
var process3 = require_process();
|
|
69455
69478
|
var { ArrayIsArray, Promise: Promise2, SymbolAsyncIterator } = require_primordials();
|
|
69456
69479
|
var eos = require_end_of_stream();
|
|
69457
69480
|
var { once } = require_util();
|
|
@@ -69646,7 +69669,7 @@ var require_pipeline = __commonJS({
|
|
|
69646
69669
|
if (!error44) {
|
|
69647
69670
|
lastStreamCleanup.forEach((fn2) => fn2());
|
|
69648
69671
|
}
|
|
69649
|
-
|
|
69672
|
+
process3.nextTick(callback, error44, value);
|
|
69650
69673
|
}
|
|
69651
69674
|
}
|
|
69652
69675
|
let ret;
|
|
@@ -69725,11 +69748,11 @@ var require_pipeline = __commonJS({
|
|
|
69725
69748
|
if (end) {
|
|
69726
69749
|
pt2.end();
|
|
69727
69750
|
}
|
|
69728
|
-
|
|
69751
|
+
process3.nextTick(finish);
|
|
69729
69752
|
},
|
|
69730
69753
|
(err) => {
|
|
69731
69754
|
pt2.destroy(err);
|
|
69732
|
-
|
|
69755
|
+
process3.nextTick(finish, err);
|
|
69733
69756
|
}
|
|
69734
69757
|
);
|
|
69735
69758
|
} else if (isIterable(ret, true)) {
|
|
@@ -69810,7 +69833,7 @@ var require_pipeline = __commonJS({
|
|
|
69810
69833
|
}
|
|
69811
69834
|
}
|
|
69812
69835
|
if (signal !== null && signal !== void 0 && signal.aborted || outerSignal !== null && outerSignal !== void 0 && outerSignal.aborted) {
|
|
69813
|
-
|
|
69836
|
+
process3.nextTick(abort);
|
|
69814
69837
|
}
|
|
69815
69838
|
return ret;
|
|
69816
69839
|
}
|
|
@@ -69831,7 +69854,7 @@ var require_pipeline = __commonJS({
|
|
|
69831
69854
|
};
|
|
69832
69855
|
var endFn = endFn2;
|
|
69833
69856
|
if (isReadableEnded(src)) {
|
|
69834
|
-
|
|
69857
|
+
process3.nextTick(endFn2);
|
|
69835
69858
|
} else {
|
|
69836
69859
|
src.once("end", endFn2);
|
|
69837
69860
|
}
|
|
@@ -96097,8 +96120,8 @@ var require_helper = __commonJS({
|
|
|
96097
96120
|
return old;
|
|
96098
96121
|
};
|
|
96099
96122
|
module2.exports.getFileName = function(rawEnv) {
|
|
96100
|
-
var
|
|
96101
|
-
var file2 =
|
|
96123
|
+
var env2 = rawEnv || process.env;
|
|
96124
|
+
var file2 = env2.PGPASSFILE || (isWin ? path3.join(env2.APPDATA || "./", "postgresql", "pgpass.conf") : path3.join(env2.HOME || "./", ".pgpass"));
|
|
96102
96125
|
return file2;
|
|
96103
96126
|
};
|
|
96104
96127
|
module2.exports.usePgPass = function(stats, fname) {
|
|
@@ -97728,7 +97751,7 @@ __export(index_exports, {
|
|
|
97728
97751
|
module.exports = __toCommonJS(index_exports);
|
|
97729
97752
|
|
|
97730
97753
|
// package.json
|
|
97731
|
-
var version = "
|
|
97754
|
+
var version = "7.1.0-dev.1";
|
|
97732
97755
|
|
|
97733
97756
|
// ../../node_modules/.pnpm/temporal-polyfill@0.3.0/node_modules/temporal-polyfill/chunks/internal.js
|
|
97734
97757
|
function clampProp(e2, n2, t2, o2, r2) {
|
|
@@ -108539,16 +108562,16 @@ var Hono = class {
|
|
|
108539
108562
|
}
|
|
108540
108563
|
throw err;
|
|
108541
108564
|
}
|
|
108542
|
-
#dispatch(request3, executionCtx,
|
|
108565
|
+
#dispatch(request3, executionCtx, env2, method) {
|
|
108543
108566
|
if (method === "HEAD") {
|
|
108544
|
-
return (async () => new Response(null, await this.#dispatch(request3, executionCtx,
|
|
108567
|
+
return (async () => new Response(null, await this.#dispatch(request3, executionCtx, env2, "GET")))();
|
|
108545
108568
|
}
|
|
108546
|
-
const path3 = this.getPath(request3, { env });
|
|
108569
|
+
const path3 = this.getPath(request3, { env: env2 });
|
|
108547
108570
|
const matchResult = this.router.match(method, path3);
|
|
108548
108571
|
const c2 = new Context(request3, {
|
|
108549
108572
|
path: path3,
|
|
108550
108573
|
matchResult,
|
|
108551
|
-
env,
|
|
108574
|
+
env: env2,
|
|
108552
108575
|
executionCtx,
|
|
108553
108576
|
notFoundHandler: this.#notFoundHandler
|
|
108554
108577
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prisma/query-plan-executor",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "7.1.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-
|
|
24
|
-
"@prisma/adapter-
|
|
25
|
-
"@prisma/
|
|
26
|
-
"@prisma/
|
|
27
|
-
"@prisma/
|
|
23
|
+
"@prisma/adapter-pg": "7.1.0-dev.1",
|
|
24
|
+
"@prisma/adapter-mariadb": "7.1.0-dev.1",
|
|
25
|
+
"@prisma/client-engine-runtime": "7.1.0-dev.1",
|
|
26
|
+
"@prisma/adapter-mssql": "7.1.0-dev.1",
|
|
27
|
+
"@prisma/driver-adapter-utils": "7.1.0-dev.1"
|
|
28
28
|
},
|
|
29
29
|
"files": [
|
|
30
30
|
"dist"
|