elasticsearch
Advanced tools
Comparing version 14.1.0 to 14.2.0
@@ -10,3 +10,3 @@ { | ||
"homepage": "http://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/index.html", | ||
"version": "14.1.0", | ||
"version": "14.2.0", | ||
"keywords": [ | ||
@@ -27,4 +27,5 @@ "elasticsearch", | ||
}, | ||
"default_api_branch": "6.1", | ||
"default_api_branch": "6.2", | ||
"supported_es_branches": [ | ||
"6.2", | ||
"6.1", | ||
@@ -44,3 +45,2 @@ "6.0", | ||
"unstable_es_branches": [ | ||
"6.2", | ||
"6.x", | ||
@@ -104,3 +104,3 @@ "master" | ||
"dependencies": { | ||
"agentkeepalive": "^2.2.0", | ||
"agentkeepalive": "^3.4.1", | ||
"chalk": "^1.0.0", | ||
@@ -107,0 +107,0 @@ "lodash": "2.4.2", |
@@ -1,2 +0,2 @@ | ||
# elasticsearch.js 14.1.0 | ||
# elasticsearch.js 14.2.0 | ||
@@ -3,0 +3,0 @@ The official low-level Elasticsearch client for Node.js and the browser. |
module.exports = { | ||
'_default': require('./6_1'), | ||
'_default': require('./6_2'), | ||
'6.2': require('./6_2'), | ||
'6.1': require('./6_1'), | ||
@@ -7,6 +8,4 @@ '6.0': require('./6_0'), | ||
'5.5': require('./5_5'), | ||
'5.4': require('./5_4'), | ||
'6.x': require('./6_x'), | ||
'6.2': require('./6_2'), | ||
'master': require('./master') | ||
}; |
module.exports = { | ||
get '_default'() { return require('./6_1'); }, | ||
get '_default'() { return require('./6_2'); }, | ||
get '6.2'() { return require('./6_2'); }, | ||
get '6.1'() { return require('./6_1'); }, | ||
@@ -16,4 +17,3 @@ get '6.0'() { return require('./6_0'); }, | ||
get '6.x'() { return require('./6_x'); }, | ||
get '6.2'() { return require('./6_2'); }, | ||
get 'master'() { return require('./master'); }, | ||
}; |
@@ -97,3 +97,2 @@ /** | ||
freeSocketKeepAliveTimeout: config.keepAliveFreeSocketTimeout, | ||
keepAliveTimeout: config.keepAliveFreeSocketTimeout // support agentkeepalive 2.x | ||
}; | ||
@@ -100,0 +99,0 @@ |
@@ -36,3 +36,10 @@ /* global jQuery: false */ | ||
.fail(function (a, b, err) { | ||
cb(new ConnectionFault(err && err.message)); | ||
// if response is available, execute cb. Else throw ConnectionFault | ||
if (a && a.responseText) { | ||
cb(null, a.responseText, jqXHR.statusCode(), { | ||
'content-type': jqXHR.getResponseHeader('content-type') | ||
}); | ||
} else { | ||
cb(new ConnectionFault(err && err.message)); | ||
} | ||
}); | ||
@@ -39,0 +46,0 @@ |
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 too big to display
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
3702645
103918
+ Addedagentkeepalive@3.5.3(transitive)
+ Addedhumanize-ms@1.2.1(transitive)
+ Addedms@2.1.3(transitive)
- Removedagentkeepalive@2.2.0(transitive)
Updatedagentkeepalive@^3.4.1