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

elasticsearch-scroll-stream

Package Overview
Dependencies
Maintainers
2
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

elasticsearch-scroll-stream - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

3

lib/elastical-stream.js

@@ -44,4 +44,5 @@ /**

var objectMode = self._readableState.objectMode;
results.hits.forEach(function(hit) {
self.push(JSON.stringify(hit.fields));
self.push(objectMode ? hit.fields : JSON.stringify(hit.fields));
self._counter++;

@@ -48,0 +49,0 @@ });

@@ -47,2 +47,3 @@ /**

var objectMode = self._readableState.objectMode;
response.hits.hits.forEach(function(hit) {

@@ -61,3 +62,3 @@ var ref_results = {};

self.push(JSON.stringify(ref_results));
self.push(objectMode ? ref_results : JSON.stringify(ref_results));
self._counter++;

@@ -64,0 +65,0 @@ });

{
"name": "elasticsearch-scroll-stream",
"version": "1.0.5",
"version": "1.0.6",
"description": "Elasticsearch Scroll query results as a Stream",

@@ -5,0 +5,0 @@ "repository": {

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