clickhouse
Advanced tools
Comparing version 1.0.5 to 1.0.6
@@ -6,3 +6,4 @@ 'use strict'; | ||
stream = require('stream'), | ||
querystring = require('querystring'); | ||
querystring = require('querystring'), | ||
jsesc = require('jsesc'); | ||
@@ -273,5 +274,5 @@ | ||
url : this.getHost() + '?query=' + url, | ||
body : values | ||
.map(i => i.join('\t')) | ||
.join('\n'), | ||
body : values.map(function(row) { | ||
return row.map(function(column) { return jsesc(column); }).join('\t'); | ||
}) | ||
headers : { | ||
@@ -278,0 +279,0 @@ 'Content-Type': 'text/plain' |
@@ -7,2 +7,3 @@ { | ||
"async": "^2.0.0-rc.6", | ||
"jsesc": "^2.2.0", | ||
"lodash": "^4.13.1", | ||
@@ -28,7 +29,7 @@ "querystring": "^0.2.0", | ||
"name": "clickhouse", | ||
"version": "1.0.5", | ||
"repository" : { | ||
"type" : "git", | ||
"url" : "https://github.com/TimonKK/clickhouse.git" | ||
"version": "1.0.6", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/TimonKK/clickhouse.git" | ||
} | ||
} |
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
8674
228
5
+ Addedjsesc@^2.2.0
+ Addedjsesc@2.5.2(transitive)