prisma-sql 1.40.0 → 1.41.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.
package/dist/generator.js CHANGED
@@ -54,7 +54,7 @@ var require_package = __commonJS({
54
54
  "package.json"(exports$1, module) {
55
55
  module.exports = {
56
56
  name: "prisma-sql",
57
- version: "1.40.0",
57
+ version: "1.41.0",
58
58
  description: "Convert Prisma queries to optimized SQL with type safety. 2-7x faster than Prisma Client.",
59
59
  main: "dist/index.cjs",
60
60
  module: "dist/index.js",
@@ -127,6 +127,8 @@ var require_package = __commonJS({
127
127
  "@faker-js/faker": "^10.2.0",
128
128
  "@prisma/adapter-better-sqlite3": "^7.2.0",
129
129
  "@prisma/adapter-pg": "^7.2.0",
130
+ "@semantic-release/changelog": "^6.0.3",
131
+ "@semantic-release/git": "^10.0.1",
130
132
  "@types/better-sqlite3": "^7.6.13",
131
133
  "@types/node": "^25.0.10",
132
134
  "@vitest/coverage-v8": "4.0.18",
@@ -2544,12 +2546,6 @@ function validateState(params, mappings, index) {
2544
2546
  validateMappings(mappings);
2545
2547
  assertNextIndexMatches(mappings.length, index);
2546
2548
  }
2547
- function normalizeValue2(value) {
2548
- if (value instanceof Date) {
2549
- return value.toISOString();
2550
- }
2551
- return value;
2552
- }
2553
2549
  function createStoreInternal(startIndex, initialParams = [], initialMappings = []) {
2554
2550
  let index = startIndex;
2555
2551
  const params = [...initialParams];
@@ -2592,7 +2588,7 @@ function createStoreInternal(startIndex, initialParams = [], initialMappings = [
2592
2588
  }
2593
2589
  function addStatic(value) {
2594
2590
  const position = index;
2595
- const normalizedValue = normalizeValue2(value);
2591
+ const normalizedValue = normalizeValue(value);
2596
2592
  params.push(normalizedValue);
2597
2593
  mappings.push({ index: position, value: normalizedValue });
2598
2594
  index++;