@stryke/prisma-trpc-generator 0.2.16 → 0.2.17

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.
@@ -5717,7 +5717,7 @@ __name(getRelativePath, "getRelativePath");
5717
5717
  // src/utils/uncapitalize-first-letter.ts
5718
5718
  init_cjs_shims();
5719
5719
  var uncapitalizeFirstLetter = /* @__PURE__ */ __name((str) => {
5720
- return str.charAt(0).toLowerCase() + str.slice(1);
5720
+ return !str ? "" : str.charAt(0).toLowerCase() + str.slice(1);
5721
5721
  }, "uncapitalizeFirstLetter");
5722
5722
 
5723
5723
  // src/helpers.ts
package/dist/generator.js CHANGED
@@ -5722,7 +5722,7 @@ __name(getRelativePath, "getRelativePath");
5722
5722
  // src/utils/uncapitalize-first-letter.ts
5723
5723
  init_esm_shims();
5724
5724
  var uncapitalizeFirstLetter = /* @__PURE__ */ __name((str) => {
5725
- return str.charAt(0).toLowerCase() + str.slice(1);
5725
+ return !str ? "" : str.charAt(0).toLowerCase() + str.slice(1);
5726
5726
  }, "uncapitalizeFirstLetter");
5727
5727
 
5728
5728
  // src/helpers.ts
package/dist/index.cjs CHANGED
@@ -5713,7 +5713,7 @@ __name(getRelativePath, "getRelativePath");
5713
5713
  // src/utils/uncapitalize-first-letter.ts
5714
5714
  init_cjs_shims();
5715
5715
  var uncapitalizeFirstLetter = /* @__PURE__ */ __name((str) => {
5716
- return str.charAt(0).toLowerCase() + str.slice(1);
5716
+ return !str ? "" : str.charAt(0).toLowerCase() + str.slice(1);
5717
5717
  }, "uncapitalizeFirstLetter");
5718
5718
 
5719
5719
  // src/helpers.ts
package/dist/index.js CHANGED
@@ -5718,7 +5718,7 @@ __name(getRelativePath, "getRelativePath");
5718
5718
  // src/utils/uncapitalize-first-letter.ts
5719
5719
  init_esm_shims();
5720
5720
  var uncapitalizeFirstLetter = /* @__PURE__ */ __name((str) => {
5721
- return str.charAt(0).toLowerCase() + str.slice(1);
5721
+ return !str ? "" : str.charAt(0).toLowerCase() + str.slice(1);
5722
5722
  }, "uncapitalizeFirstLetter");
5723
5723
 
5724
5724
  // src/helpers.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stryke/prisma-trpc-generator",
3
- "version": "0.2.16",
3
+ "version": "0.2.17",
4
4
  "type": "module",
5
5
  "description": "A fork of the prisma-trpc-generator code to work in ESM with Prisma v6.",
6
6
  "repository": {