bun-query-builder 0.2.24 → 0.2.25
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/bin/cli.js +2 -2
- package/dist/src/index.js +1 -1
- package/package.json +1 -1
package/dist/bin/cli.js
CHANGED
|
@@ -28364,7 +28364,7 @@ function info2(message) {
|
|
|
28364
28364
|
console.log(message);
|
|
28365
28365
|
}
|
|
28366
28366
|
function snakeCase(str) {
|
|
28367
|
-
return str.replace(/([A-Z]+)([A-Z][a-z])/g, "$1_$2").replace(/([a-z\d])([A-Z])/g, "$1_$2").
|
|
28367
|
+
return str.replace(/([A-Z]+)([A-Z][a-z])/g, "$1_$2").replace(/([a-z\d])([A-Z])/g, "$1_$2").toLowerCase();
|
|
28368
28368
|
}
|
|
28369
28369
|
function singularizeTable(table) {
|
|
28370
28370
|
return singularizerFor(config5.relations?.singularizeStrategy)(table);
|
|
@@ -31690,7 +31690,7 @@ function getPrefix() {
|
|
|
31690
31690
|
}
|
|
31691
31691
|
var prefix = getPrefix();
|
|
31692
31692
|
// package.json
|
|
31693
|
-
var version2 = "0.2.
|
|
31693
|
+
var version2 = "0.2.25";
|
|
31694
31694
|
|
|
31695
31695
|
// bin/cli.ts
|
|
31696
31696
|
init_actions();
|
package/dist/src/index.js
CHANGED
|
@@ -28363,7 +28363,7 @@ function info2(message) {
|
|
|
28363
28363
|
console.log(message);
|
|
28364
28364
|
}
|
|
28365
28365
|
function snakeCase(str) {
|
|
28366
|
-
return str.replace(/([A-Z]+)([A-Z][a-z])/g, "$1_$2").replace(/([a-z\d])([A-Z])/g, "$1_$2").
|
|
28366
|
+
return str.replace(/([A-Z]+)([A-Z][a-z])/g, "$1_$2").replace(/([a-z\d])([A-Z])/g, "$1_$2").toLowerCase();
|
|
28367
28367
|
}
|
|
28368
28368
|
function singularizeTable(table) {
|
|
28369
28369
|
return singularizerFor(config5.relations?.singularizeStrategy)(table);
|
package/package.json
CHANGED