prisma-sql 1.70.0 → 1.71.0

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.
@@ -2323,7 +2323,7 @@ var require_package = __commonJS({
2323
2323
  "package.json"(exports$1, module) {
2324
2324
  module.exports = {
2325
2325
  name: "prisma-sql",
2326
- version: "1.70.0",
2326
+ version: "1.71.0",
2327
2327
  description: "Convert Prisma queries to optimized SQL with type safety. 2-7x faster than Prisma Client.",
2328
2328
  main: "dist/index.cjs",
2329
2329
  module: "dist/index.js",
@@ -2389,13 +2389,13 @@ var require_package = __commonJS({
2389
2389
  license: "MIT",
2390
2390
  dependencies: {
2391
2391
  "@dee-wan/schema-parser": "1.4.0",
2392
- "@prisma/generator-helper": "^7.4.0",
2393
- "@prisma/internals": "^7.4.0"
2392
+ "@prisma/generator-helper": "^6.19.2",
2393
+ "@prisma/internals": "^6.19.2"
2394
2394
  },
2395
2395
  devDependencies: {
2396
2396
  "@faker-js/faker": "^10.2.0",
2397
- "@prisma/adapter-better-sqlite3": "^7.4.0",
2398
- "@prisma/adapter-pg": "^7.4.0",
2397
+ "@prisma/adapter-better-sqlite3": "^6.19.2",
2398
+ "@prisma/adapter-pg": "^6.19.2",
2399
2399
  "@semantic-release/changelog": "^6.0.3",
2400
2400
  "@semantic-release/git": "^10.0.1",
2401
2401
  "@types/better-sqlite3": "^7.6.13",
@@ -2409,8 +2409,8 @@ var require_package = __commonJS({
2409
2409
  tsx: "^4.21.0",
2410
2410
  typescript: "^5.9.3",
2411
2411
  vitest: "^4.0.18",
2412
- "@prisma/client": "7.4.0",
2413
- prisma: "7.4.0"
2412
+ "@prisma/client": "6.19.2",
2413
+ prisma: "6.19.2"
2414
2414
  },
2415
2415
  engines: {
2416
2416
  node: ">=16.0.0"
@@ -10421,7 +10421,7 @@ function generateExtension(runtimeImportPath) {
10421
10421
  throw new Error(\`Generated code is for \${DIALECT}, but you provided \${actualDialect}\`)
10422
10422
  }
10423
10423
 
10424
- if (DIALECT === 'sqlite') {
10424
+ if ((DIALECT as string) === 'sqlite') {
10425
10425
  setNormalizeDateMode(detectSqliteDateMode(client))
10426
10426
  }
10427
10427
 
@@ -10451,7 +10451,7 @@ function generateExtension(runtimeImportPath) {
10451
10451
  }
10452
10452
 
10453
10453
  try {
10454
- const result = executeSqliteQuery(client, sql, params, method, requiresReduction, includeSpec, model, MODELS)
10454
+ const result = executeSqliteQuery(client, sql, params, method)
10455
10455
  return result
10456
10456
  } catch (err) {
10457
10457
  console.log('[sqlite-debug] FAILED:', err instanceof Error ? err.message : err)