Comparing version 51.3.1 to 51.3.2
@@ -240,3 +240,3 @@ /* eslint-disable max-lines-per-function */ | ||
function defaultGlobalWrapIdentifier(value, origImpl) { | ||
const dem2 = '\''; | ||
// const dem2 = '\'' | ||
// original IFNULL(user.distotal, 0) as foo | ||
@@ -246,8 +246,6 @@ // from: IFNULL(user => input: `IFNULL(user` fix to IFNULL(user | ||
if (value.includes('(')) { | ||
const line = dem2; | ||
return line; | ||
return value; | ||
} | ||
if (value.includes(')')) { | ||
const line = value; | ||
return line; | ||
return value; | ||
} | ||
@@ -254,0 +252,0 @@ const upper = value.toUpperCase().trim(); |
{ | ||
"name": "kmore", | ||
"author": "waiting", | ||
"version": "51.3.1", | ||
"version": "51.3.2", | ||
"description": "A SQL query builder based on knex with powerful TypeScript type support", | ||
@@ -81,3 +81,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "f047b7a9c9e9901e6f6d679244fa83c1c1a58ef0" | ||
"gitHead": "163a589160c7831c3c5fda4ff61d97362e518d99" | ||
} |
@@ -336,3 +336,3 @@ /* eslint-disable max-lines-per-function */ | ||
function defaultGlobalWrapIdentifier(value: string, origImpl: (input: string) => string) { | ||
const dem2 = '\'' | ||
// const dem2 = '\'' | ||
// original IFNULL(user.distotal, 0) as foo | ||
@@ -342,9 +342,7 @@ // from: IFNULL(user => input: `IFNULL(user` fix to IFNULL(user | ||
if (value.includes('(')) { | ||
const line = dem2 | ||
return line | ||
return value | ||
} | ||
if (value.includes(')')) { | ||
const line = value | ||
return line | ||
return value | ||
} | ||
@@ -351,0 +349,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
404161
6796