clickhouse-ts
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -9,4 +9,4 @@ "use strict"; | ||
const sqlstring_1 = __importDefault(require("sqlstring")); | ||
const lodash_1 = require("lodash"); | ||
const errors_1 = require("../errors"); | ||
const common_1 = require("./common"); | ||
/** | ||
@@ -54,3 +54,3 @@ * This util optimizes JSON input and validates its data structure consistency | ||
*/ | ||
if ((0, lodash_1.isObject)(rowValue)) { | ||
if ((0, common_1.isObject)(rowValue)) { | ||
const mapValues = Object | ||
@@ -76,3 +76,3 @@ .entries(rowValue) | ||
*/ | ||
if ((0, lodash_1.isNull)(rowValue)) { | ||
if ((0, common_1.isNull)(rowValue)) { | ||
return sqlstring_1.default.escape('NULL'); | ||
@@ -79,0 +79,0 @@ } |
export * from './format'; | ||
export * from './common'; | ||
export * from './interface'; |
@@ -18,1 +18,3 @@ "use strict"; | ||
__exportStar(require("./format"), exports); | ||
__exportStar(require("./common"), exports); | ||
__exportStar(require("./interface"), exports); |
@@ -10,5 +10,5 @@ { | ||
], | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"license": "MIT", | ||
"description": "Clickhouse client", | ||
"description": "Light stable Clickhouse client", | ||
"keywords": [ | ||
@@ -32,5 +32,5 @@ "clickhouse", | ||
"scripts": { | ||
"build": "tsc -d", | ||
"build": "rm -rf && tsc -d", | ||
"test": "jest", | ||
"lint": "eslint . --ext .ts" | ||
"lint": "eslint ./src --ext .ts" | ||
}, | ||
@@ -41,4 +41,2 @@ "dependencies": { | ||
"clickcache": "^1.0.4", | ||
"dayjs": "^1.11.5", | ||
"lodash": "^4.17.21", | ||
"sqlstring": "^2.3.3" | ||
@@ -48,3 +46,2 @@ }, | ||
"@types/jest": "^29.1.2", | ||
"@types/lodash": "^4.14.186", | ||
"@types/node": "^18.8.4", | ||
@@ -51,0 +48,0 @@ "@types/sqlstring": "^2.3.0", |
Sorry, the diff of this file is too big to display
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
207207
4
13
40
4967
- Removeddayjs@^1.11.5
- Removedlodash@^4.17.21
- Removeddayjs@1.11.13(transitive)
- Removedlodash@4.17.21(transitive)