Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@apla/clickhouse

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@apla/clickhouse - npm Package Compare versions

Comparing version 1.2.2 to 1.2.3

6

package.json
{
"name": "@apla/clickhouse",
"version": "1.2.2",
"version": "1.2.3",
"description": "Yandex ClickHouse database interface",
"main": "src/clickhouse.js",
"scripts": {
"launch-docker-image": "docker run --rm -d -p 8123:8123 --name clickhouse-server yandex/clickhouse-server",
"stop-docker-image": "docker stop clickhouse-server",
"test": "nyc mocha --recursive ./test -R spec",

@@ -31,3 +33,3 @@ "report": "nyc report --reporter=lcov > coverage.lcov && codecov",

"devDependencies": {
"codecov": "^1.0.1",
"codecov": "^2.2.0",
"memwatch-next": "^0.3.0",

@@ -34,0 +36,0 @@ "mocha": "^2.5.3",

@@ -10,5 +10,31 @@ var ClickHouse = require ("../src/clickhouse");

var responses = {
"SELECT 1 FORMAT JSONCompact": {"meta": [{"name": "1", "type": "UInt8"}], "data": [[1]], "rows": 1},
"SHOW DATABASES FORMAT JSONCompact": {"meta": [{"name": "name", "type": "String"}], "data": [["default"], ["system"]], "rows": 2},
"SELECT number FROM system.numbers LIMIT 10 FORMAT JSONCompact": {"meta":[{"name":"number","type":"UInt64"}],"data":[["0"],["1"],["2"],["3"],["4"],["5"],["6"],["7"],["8"],["9"]],"rows":10,"rows_before_limit_at_least":10},
"SELECT 1 FORMAT JSONCompact": {
"meta": [
{"name": "1", "type": "UInt8"}
],
"data": [
[1]
],
"rows": 1
},
"SHOW DATABASES FORMAT JSONCompact": {
"meta": [
{"name": "name", "type": "String"}
],
"data": [
["default"],
["system"]
],
"rows": 2
},
"SELECT number FROM system.numbers LIMIT 10 FORMAT JSONCompact": {
"meta": [
{"name":"number","type":"UInt64"}
],
"data": [
["0"],["1"],["2"],["3"],["4"],["5"],["6"],["7"],["8"],["9"]
],
"rows": 10,
"rows_before_limit_at_least": 10
},

@@ -15,0 +41,0 @@ };

@@ -20,3 +20,3 @@ var ClickHouse = require ("../src/clickhouse");

assert (!err);
assert (ok === "Ok.\n", "ping response should be 'Ok.\\n'");
assert.equal (ok, "Ok.\n", "ping response should be 'Ok.\\n'");
done ();

@@ -23,0 +23,0 @@ });

Sorry, the diff of this file is not supported yet

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