@prisma/query-plan-executor 7.2.0 → 7.3.0-dev.2

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.
Files changed (2) hide show
  1. package/dist/index.js +72 -2
  2. package/package.json +6 -6
package/dist/index.js CHANGED
@@ -97773,7 +97773,7 @@ __export(index_exports, {
97773
97773
  module.exports = __toCommonJS(index_exports);
97774
97774
 
97775
97775
  // package.json
97776
- var version = "7.2.0";
97776
+ var version = "7.3.0-dev.2";
97777
97777
 
97778
97778
  // ../../node_modules/.pnpm/temporal-polyfill@0.3.0/node_modules/temporal-polyfill/chunks/internal.js
97779
97779
  function clampProp(e2, n2, t2, o2, r2) {
@@ -105707,6 +105707,76 @@ var mockAdapterErrors = {
105707
105707
  dispose: new Error("Not implemented: dispose")
105708
105708
  };
105709
105709
 
105710
+ // ../../node_modules/.pnpm/klona@2.0.6/node_modules/klona/dist/index.mjs
105711
+ function klona(x2) {
105712
+ if (typeof x2 !== "object") return x2;
105713
+ var k2, tmp, str = Object.prototype.toString.call(x2);
105714
+ if (str === "[object Object]") {
105715
+ if (x2.constructor !== Object && typeof x2.constructor === "function") {
105716
+ tmp = new x2.constructor();
105717
+ for (k2 in x2) {
105718
+ if (x2.hasOwnProperty(k2) && tmp[k2] !== x2[k2]) {
105719
+ tmp[k2] = klona(x2[k2]);
105720
+ }
105721
+ }
105722
+ } else {
105723
+ tmp = {};
105724
+ for (k2 in x2) {
105725
+ if (k2 === "__proto__") {
105726
+ Object.defineProperty(tmp, k2, {
105727
+ value: klona(x2[k2]),
105728
+ configurable: true,
105729
+ enumerable: true,
105730
+ writable: true
105731
+ });
105732
+ } else {
105733
+ tmp[k2] = klona(x2[k2]);
105734
+ }
105735
+ }
105736
+ }
105737
+ return tmp;
105738
+ }
105739
+ if (str === "[object Array]") {
105740
+ k2 = x2.length;
105741
+ for (tmp = Array(k2); k2--; ) {
105742
+ tmp[k2] = klona(x2[k2]);
105743
+ }
105744
+ return tmp;
105745
+ }
105746
+ if (str === "[object Set]") {
105747
+ tmp = /* @__PURE__ */ new Set();
105748
+ x2.forEach(function(val) {
105749
+ tmp.add(klona(val));
105750
+ });
105751
+ return tmp;
105752
+ }
105753
+ if (str === "[object Map]") {
105754
+ tmp = /* @__PURE__ */ new Map();
105755
+ x2.forEach(function(val, key) {
105756
+ tmp.set(klona(key), klona(val));
105757
+ });
105758
+ return tmp;
105759
+ }
105760
+ if (str === "[object Date]") {
105761
+ return /* @__PURE__ */ new Date(+x2);
105762
+ }
105763
+ if (str === "[object RegExp]") {
105764
+ tmp = new RegExp(x2.source, x2.flags);
105765
+ tmp.lastIndex = x2.lastIndex;
105766
+ return tmp;
105767
+ }
105768
+ if (str === "[object DataView]") {
105769
+ return new x2.constructor(klona(x2.buffer));
105770
+ }
105771
+ if (str === "[object ArrayBuffer]") {
105772
+ return x2.slice(0);
105773
+ }
105774
+ if (str.slice(-6) === "Array]") {
105775
+ return new x2.constructor(x2);
105776
+ }
105777
+ return x2;
105778
+ }
105779
+
105710
105780
  // ../../node_modules/.pnpm/@bugsnag+cuid@3.2.1/node_modules/@bugsnag/cuid/lib/pad.mjs
105711
105781
  function pad(num, size) {
105712
105782
  var s2 = "000000000" + num;
@@ -106600,7 +106670,7 @@ function formatSqlComment(tags) {
106600
106670
  function applySqlCommenters(plugins, context2) {
106601
106671
  const merged = {};
106602
106672
  for (const plugin of plugins) {
106603
- const tags = plugin(context2);
106673
+ const tags = plugin(klona(context2));
106604
106674
  for (const [key, value] of Object.entries(tags)) {
106605
106675
  if (value !== void 0) {
106606
106676
  merged[key] = value;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prisma/query-plan-executor",
3
- "version": "7.2.0",
3
+ "version": "7.3.0-dev.2",
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": "7.2.0",
24
- "@prisma/adapter-mariadb": "7.2.0",
25
- "@prisma/adapter-mssql": "7.2.0",
26
- "@prisma/client-engine-runtime": "7.2.0",
27
- "@prisma/driver-adapter-utils": "7.2.0"
23
+ "@prisma/adapter-mariadb": "7.3.0-dev.2",
24
+ "@prisma/adapter-mssql": "7.3.0-dev.2",
25
+ "@prisma/client-engine-runtime": "7.3.0-dev.2",
26
+ "@prisma/driver-adapter-utils": "7.3.0-dev.2",
27
+ "@prisma/adapter-pg": "7.3.0-dev.2"
28
28
  },
29
29
  "files": [
30
30
  "dist"