Socket
Socket
Sign inDemoInstall

@elastic/transport

Package Overview
Dependencies
Maintainers
77
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@elastic/transport - npm Package Compare versions

Comparing version 0.0.10 to 0.0.11

7

lib/pool/BaseConnectionPool.js

@@ -184,7 +184,8 @@ "use strict";

debug('Emptying the connection pool');
for (const connection of this.connections) {
const connections = this.connections;
this.connections = [];
this.size = 0;
for (const connection of connections) {
await connection.close();
}
this.connections = [];
this.size = this.connections.length;
}

@@ -191,0 +192,0 @@ /**

{
"name": "@elastic/transport",
"version": "0.0.10",
"version": "0.0.11",
"description": "Transport classes and utilities shared among Node.js Elastic client libraries",

@@ -5,0 +5,0 @@ "main": "index.js",

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