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 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").replace(/(\d)([A-Z])/gi, "$1_$2").toLowerCase();
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.24";
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").replace(/(\d)([A-Z])/gi, "$1_$2").toLowerCase();
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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bun-query-builder",
3
3
  "type": "module",
4
- "version": "0.2.24",
4
+ "version": "0.2.25",
5
5
  "description": "A simple yet performant query builder for TypeScript. Built with Bun.",
6
6
  "author": "Chris Breuer <chris@stacksjs.org>",
7
7
  "license": "MIT",