elasticsearch-scroll-stream
Advanced tools
Comparing version 1.1.3 to 1.1.4
@@ -12,3 +12,3 @@ /** | ||
/** | ||
* LibElasticasearchScrollStream | ||
* LibElasticsearchScrollStream | ||
* | ||
@@ -22,3 +22,3 @@ * @param `client` - elasticsearch instance | ||
*/ | ||
var LibElasticasearchScrollStream = function(client, query_opts, optional_fields, stream_opts) { | ||
var LibElasticsearchScrollStream = function(client, query_opts, optional_fields, stream_opts) { | ||
@@ -36,6 +36,6 @@ this._client = client; | ||
util.inherits(LibElasticasearchScrollStream, Readable); | ||
util.inherits(LibElasticsearchScrollStream, Readable); | ||
LibElasticasearchScrollStream.prototype._read = function() { | ||
LibElasticsearchScrollStream.prototype._read = function() { | ||
if (this._reading) { | ||
@@ -94,7 +94,7 @@ return false; | ||
LibElasticasearchScrollStream.prototype.close = function() { | ||
LibElasticsearchScrollStream.prototype.close = function() { | ||
return this._forceClose = true; | ||
}; | ||
module.exports = LibElasticasearchScrollStream; | ||
module.exports = LibElasticsearchScrollStream; | ||
{ | ||
"name": "elasticsearch-scroll-stream", | ||
"version": "1.1.3", | ||
"version": "1.1.4", | ||
"description": "Elasticsearch Scroll query results as a Stream", | ||
@@ -28,7 +28,7 @@ "repository": { | ||
"devDependencies": { | ||
"chai": "^3.5.0", | ||
"chai": "^4.2.0", | ||
"elastical": "0.0.13", | ||
"elasticsearch": "^10.1.3", | ||
"mocha": "^2.4.5" | ||
"elasticsearch": "^15.2.0", | ||
"mocha": "^5.2.0" | ||
} | ||
} |
@@ -219,3 +219,3 @@ | ||
Copyright (c) 2016 Francesco Valente | ||
Copyright (c) 2019 Francesco Valente | ||
@@ -222,0 +222,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy |
@@ -6,3 +6,2 @@ /** | ||
var expect = require('chai').expect, | ||
elastical = require('elastical'), | ||
elasticsearch = require('elasticsearch'); | ||
@@ -9,0 +8,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 not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
24873
12
476