Socket
Socket
Sign inDemoInstall

@elastic/transport

Package Overview
Dependencies
9
Maintainers
0
Versions
33
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 8.6.0 to 8.6.1

.tap/processinfo/054fef18-0666-461d-b037-8654dde5f2f5.json

7

lib/Transport.js

@@ -328,4 +328,7 @@ "use strict";

}
return this.headers.warning
.split(/(?!\B"[^"]*),(?![^"]*"\B)/)
const { warning } = this.headers;
// if multiple HTTP headers have the same name, Undici represents them as an array
const warnings = Array.isArray(warning) ? warning : [warning];
return warnings
.flatMap(w => w.split(/(?!\B"[^"]*),(?![^"]*"\B)/))
.filter((warning) => warning.match(/^\d\d\d Elasticsearch-/));

@@ -332,0 +335,0 @@ }

{
"name": "@elastic/transport",
"version": "8.6.0",
"version": "8.6.1",
"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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc