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

@elastic/transport

Package Overview
Dependencies
Maintainers
77
Versions
39
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.11 to 0.0.12

10

lib/connection/HttpConnection.js

@@ -91,3 +91,2 @@ "use strict";

var _a, _b;
this._openRequests++;
let cleanedListeners = false;

@@ -102,3 +101,10 @@ const maxResponseSize = (_a = options.maxResponseSize) !== null && _a !== void 0 ? _a : MAX_STRING_LENGTH;

debug('Starting a new request', params);
const request = this.makeRequest(requestParams);
let request;
try {
request = this.makeRequest(requestParams);
}
catch (err) {
return reject(err);
}
this._openRequests++;
if (options.signal != null) {

@@ -105,0 +111,0 @@ // @ts-expect-error

2

package.json
{
"name": "@elastic/transport",
"version": "0.0.11",
"version": "0.0.12",
"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