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

@elastic/elasticsearch

Package Overview
Dependencies
Maintainers
53
Versions
109
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@elastic/elasticsearch - npm Package Compare versions

Comparing version 8.8.0 to 8.8.1

2

lib/api/api/search.js

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

const acceptedPath = ['index'];
const acceptedBody = ['aggregations', 'aggs', 'collapse', 'explain', 'ext', 'from', 'highlight', 'track_total_hits', 'indices_boost', 'docvalue_fields', 'knn', 'min_score', 'post_filter', 'profile', 'query', 'rescore', 'script_fields', 'search_after', 'size', 'slice', 'sort', '_source', 'fields', 'suggest', 'terminate_after', 'timeout', 'track_scores', 'version', 'seq_no_primary_term', 'stored_fields', 'pit', 'runtime_mappings', 'stats'];
const acceptedBody = ['aggregations', 'aggs', 'collapse', 'explain', 'ext', 'from', 'highlight', 'track_total_hits', 'indices_boost', 'docvalue_fields', 'knn', 'rank', 'min_score', 'post_filter', 'profile', 'query', 'rescore', 'script_fields', 'search_after', 'size', 'slice', 'sort', '_source', 'fields', 'suggest', 'terminate_after', 'timeout', 'track_scores', 'version', 'seq_no_primary_term', 'stored_fields', 'pit', 'runtime_mappings', 'stats'];
const querystring = {};

@@ -26,0 +26,0 @@ // @ts-expect-error

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

const { items } = result;
let indexSlice = 0;
for (let i = 0, len = items.length; i < len; i++) {

@@ -708,3 +709,2 @@ const action = items[i];

(0, assert_1.default)(responseItem !== undefined, 'The responseItem is undefined, please file a bug report');
const indexSlice = operation !== 'delete' ? i * 2 : i;
if (responseItem.status >= 400) {

@@ -738,2 +738,3 @@ // 429 is the only staus code where we might want to retry

}
operation === 'delete' ? indexSlice += 1 : indexSlice += 2;
}

@@ -740,0 +741,0 @@ callback(null, retry);

{
"name": "@elastic/elasticsearch",
"version": "8.8.0",
"versionCanary": "8.8.0-canary.2",
"version": "8.8.1",
"versionCanary": "8.8.1-canary.2",
"description": "The official Elasticsearch client for Node.js",

@@ -89,3 +89,3 @@ "main": "index.js",

"dependencies": {
"@elastic/transport": "^8.3.1",
"@elastic/transport": "^8.3.2",
"tslib": "^2.4.0"

@@ -92,0 +92,0 @@ },

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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