elasticsearch
Advanced tools
Comparing version 14.2.0 to 14.2.1
@@ -10,3 +10,3 @@ { | ||
"homepage": "http://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/index.html", | ||
"version": "14.2.0", | ||
"version": "14.2.1", | ||
"keywords": [ | ||
@@ -49,7 +49,12 @@ "elasticsearch", | ||
"devDependencies": { | ||
"@babel/core": "^7.0.0-beta.41", | ||
"@babel/preset-env": "^7.0.0-beta.41", | ||
"@spalger/eslint-config-personal": "^0.4.0", | ||
"aliasify": "^2.1.0", | ||
"async": "~0.8.0", | ||
"babel-eslint": "^6.0.4", | ||
"babel-eslint": "^8.2.2", | ||
"babel-loader": "^8.0.0-beta", | ||
"blanket": "^1.2.3", | ||
"bluebird": "^2.9.14", | ||
"browserify": "^16.1.1", | ||
"eslint": "^2.9.0", | ||
@@ -79,4 +84,4 @@ "eslint-config-airbnb": "^8.0.0", | ||
"grunt-saucelabs": "^8.6.2", | ||
"grunt-webpack": "^1.0.11", | ||
"jquery": "^2.2.3", | ||
"grunt-webpack": "^3.1.1", | ||
"jquery": "^3.3.1", | ||
"js-yaml": "^3.6.0", | ||
@@ -89,3 +94,3 @@ "load-grunt-config": "^0.19.2", | ||
"moment": "^2.13.0", | ||
"nock": "~0.28.3", | ||
"nock": "^9.2.3", | ||
"null-loader": "^0.1.1", | ||
@@ -99,4 +104,4 @@ "open": "0.0.5", | ||
"through2-map": "~1.4.0", | ||
"webpack": "^1.13.0", | ||
"webpack-dev-server": "^1.14.1", | ||
"webpack": "^3.10.0", | ||
"webpack-dev-server": "^2.11.1", | ||
"xmlbuilder": "~0.4.3" | ||
@@ -113,2 +118,5 @@ }, | ||
}, | ||
"resolutions": { | ||
"grunt-webpack/deep-for-each": "https://github.com/spalger/js-deep-for-each/releases/download/v2.0.2-fix-missing-lodash-dep/deep-for-each-2.0.2.tgz" | ||
}, | ||
"repository": { | ||
@@ -115,0 +123,0 @@ "type": "git", |
@@ -1,2 +0,2 @@ | ||
# elasticsearch.js 14.2.0 | ||
# elasticsearch.js 14.2.1 | ||
@@ -3,0 +3,0 @@ The official low-level Elasticsearch client for Node.js and the browser. |
@@ -55,26 +55,14 @@ var path = require('path'); | ||
/** | ||
* Test if a value is an array and it's contents are of a specific type | ||
* Test if a value is an array and its contents are string type | ||
* | ||
* @method isArrayOf<Strings|Object|Array|Finite|Function|RegExp>s | ||
* @method isArrayOfStrings | ||
* @param {Array} arr - An array to check | ||
* @return {Boolean} | ||
*/ | ||
_.each([ | ||
'String', | ||
'Object', | ||
'PlainObject', | ||
'Array', | ||
'Finite', | ||
'Function', | ||
'RegExp' | ||
], function (type) { | ||
var check = _['is' + type]; | ||
_.isArrayOfStrings = function (arr) { | ||
// quick shallow check of arrays | ||
return _.isArray(arr) && _.every(arr.slice(0, 10), _.isString); | ||
}; | ||
_['isArrayOf' + type + 's'] = function (arr) { | ||
// quick shallow check of arrays | ||
return _.isArray(arr) && _.every(arr.slice(0, 10), check); | ||
}; | ||
}); | ||
/** | ||
@@ -81,0 +69,0 @@ * Capitalize the first letter of a word |
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
3702048
55
103892