Socket
Socket
Sign inDemoInstall

clickhouse-ts

Package Overview
Dependencies
Maintainers
1
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

clickhouse-ts - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

lib/src/utils/common.d.ts

6

lib/src/utils/format.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc