baja-lite 1.5.32 → 1.6.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/package.json +4 -4
- package/sql.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "baja-lite",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.6.0",
|
|
4
4
|
"description": "some util for self",
|
|
5
5
|
"homepage": "https://github.com/void-soul/baja-lite",
|
|
6
6
|
"repository": {
|
|
@@ -55,11 +55,11 @@
|
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"@types/better-sqlite3": "7.6.13",
|
|
57
57
|
"@types/mustache": "4.2.6",
|
|
58
|
-
"@types/node": "24.
|
|
58
|
+
"@types/node": "24.3.0",
|
|
59
59
|
"@types/shelljs": "0.8.17",
|
|
60
60
|
"@types/sqlstring": "2.3.2",
|
|
61
|
-
"@typescript-eslint/eslint-plugin": "8.
|
|
62
|
-
"@typescript-eslint/parser": "8.
|
|
61
|
+
"@typescript-eslint/eslint-plugin": "8.40.0",
|
|
62
|
+
"@typescript-eslint/parser": "8.40.0",
|
|
63
63
|
"better-sqlite3": "12.2.0",
|
|
64
64
|
"ioredis": "5.7.0",
|
|
65
65
|
"mongodb": "6.18.0",
|
package/sql.js
CHANGED
|
@@ -3344,7 +3344,7 @@ export class SqlService {
|
|
|
3344
3344
|
}
|
|
3345
3345
|
_generSql(dbType, _sql, _params) {
|
|
3346
3346
|
const params = [];
|
|
3347
|
-
const sql = formatDialect(_sql?.replace(/\:(\w+)/g, (txt, key) => {
|
|
3347
|
+
const sql = formatDialect(_sql?.replace(/\:([\w.]+)/g, (txt, key) => {
|
|
3348
3348
|
let V = LGet(_params, key);
|
|
3349
3349
|
if (V !== undefined) {
|
|
3350
3350
|
return this._setParam(V, params);
|