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

elasticsearch

Package Overview
Dependencies
Maintainers
3
Versions
128
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

elasticsearch - npm Package Compare versions

Comparing version 13.1.2 to 13.2.0

2

package.json

@@ -10,3 +10,3 @@ {

"homepage": "http://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/index.html",
"version": "13.1.2",
"version": "13.2.0",
"keywords": [

@@ -13,0 +13,0 @@ "elasticsearch",

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

# elasticsearch.js 13.1.2
# elasticsearch.js 13.2.0

@@ -3,0 +3,0 @@ The official low-level Elasticsearch client for Node.js and the browser.

@@ -76,2 +76,14 @@ /**

if (config.hasOwnProperty('sniffedNodesFilterPath')) {
self.sniffedNodesFilterPath = config.sniffedNodesFilterPath;
} else {
self.sniffedNodesFilterPath = [
'nodes.*.http.publish_address',
'nodes.*.name',
'nodes.*.hostname',
'nodes.*.host',
'nodes.*.version',
].join(',');
}
if (config.sniffOnStart) {

@@ -400,2 +412,3 @@ self.sniff();

var sniffedNodesProtocol = this.sniffedNodesProtocol;
var sniffedNodesFilterPath = this.sniffedNodesFilterPath;

@@ -407,11 +420,3 @@ // make cb a function if it isn't

path: this.sniffEndpoint,
query: {
filter_path: [
'nodes.*.http.publish_address',
'nodes.*.name',
'nodes.*.hostname',
'nodes.*.host',
'nodes.*.version',
].join(','),
},
query: { filter_path: sniffedNodesFilterPath },
method: 'GET'

@@ -418,0 +423,0 @@ }, function (err, resp, status) {

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