Socket
Socket
Sign inDemoInstall

@clickhouse/client

Package Overview
Dependencies
Maintainers
4
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@clickhouse/client - npm Package Compare versions

Comparing version 1.5.0 to 1.6.0

16

dist/result_set.js

@@ -84,12 +84,8 @@ "use strict";

const result = [];
await new Promise((resolve, reject) => {
const stream = this.stream();
stream.on('data', (rows) => {
for (const row of rows) {
result.push(row.json());
}
});
stream.on('end', resolve);
stream.on('error', reject);
});
const stream = this.stream();
for await (const rows of stream) {
for (const row of rows) {
result.push(row.json());
}
}
return result;

@@ -96,0 +92,0 @@ }

@@ -15,9 +15,5 @@ "use strict";

const textDecoder = new TextDecoder();
await new Promise((resolve, reject) => {
stream.on('data', (chunk) => {
text += textDecoder.decode(chunk, { stream: true });
});
stream.on('end', resolve);
stream.on('error', reject);
});
for await (const chunk of stream) {
text += textDecoder.decode(chunk, { stream: true });
}
// flush

@@ -24,0 +20,0 @@ const last = textDecoder.decode();

@@ -1,2 +0,2 @@

declare const _default: "1.5.0";
declare const _default: "1.6.0";
export default _default;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = '1.5.0';
exports.default = '1.6.0';
//# sourceMappingURL=version.js.map

@@ -5,3 +5,3 @@ {

"homepage": "https://clickhouse.com",
"version": "1.5.0",
"version": "1.6.0",
"license": "Apache-2.0",

@@ -27,4 +27,4 @@ "keywords": [

"dependencies": {
"@clickhouse/client-common": "1.5.0"
"@clickhouse/client-common": "1.6.0"
}
}

Sorry, the diff of this file is not supported yet

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