Socket
Socket
Sign inDemoInstall

@clickhouse/client

Package Overview
Dependencies
Maintainers
3
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 0.0.9 to 0.0.10

7

dist/connection/adapter/base_http_adapter.js

@@ -121,3 +121,3 @@ "use strict";

// Prefer 'abort' event since it always triggered unlike 'error' and 'close'
// * see the full sequence of events https://nodejs.org/api/http.html#httprequesturl-options-callback
// see the full sequence of events https://nodejs.org/api/http.html#httprequesturl-options-callback
removeRequestListeners();

@@ -135,5 +135,4 @@ request.once('error', function () {

// It's necessary in order to handle 'abort' and 'timeout' events while response is streamed.
// setImmediate is a workaround. If a request cancelled before sent, the 'abort' happens after 'close'.
// Which contradicts the docs https://nodejs.org/docs/latest-v14.x/api/http.html#http_http_request_url_options_callback
setImmediate(removeRequestListeners);
// It's always the last event, according to https://nodejs.org/docs/latest-v14.x/api/http.html#http_http_request_url_options_callback
removeRequestListeners();
}

@@ -140,0 +139,0 @@ function removeRequestListeners() {

{
"name": "@clickhouse/client",
"version": "0.0.9",
"version": "0.0.10",
"description": "Official JS client for ClickHouse DB",

@@ -5,0 +5,0 @@ "license": "Apache-2.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