@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.
- package/dist/generator.cjs +1 -1
- package/dist/generator.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/generator.cjs
CHANGED
|
@@ -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
|