From 50aaa95bca5652c77e492889f8141ba8229698c7 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Mon, 31 Oct 2016 21:08:04 -0700 Subject: [PATCH] Bump to v4.16.6. --- README.md | 4 ++-- _baseXor.js | 5 ++--- lodash.default.js | 2 +- package.json | 2 +- 4 files changed, 6 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index e9151999c..661a058d4 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# lodash-es v4.16.5 +# lodash-es v4.16.6 The [Lodash](https://lodash.com/) library exported as [ES](http://www.ecma-international.org/ecma-262/6.0/) modules. @@ -7,4 +7,4 @@ Generated using [lodash-cli](https://www.npmjs.com/package/lodash-cli): $ lodash modularize exports=es -o ./ ``` -See the [package source](https://github.com/lodash/lodash/tree/4.16.5-es) for more details. +See the [package source](https://github.com/lodash/lodash/tree/4.16.6-es) for more details. diff --git a/_baseXor.js b/_baseXor.js index 05dce1258..9cebe6748 100644 --- a/_baseXor.js +++ b/_baseXor.js @@ -25,9 +25,8 @@ function baseXor(arrays, iteratee, comparator) { othIndex = -1; while (++othIndex < length) { - var othArray = arrays[othIndex]; - if (othArray !== array) { - result[index] = baseDifference(result[index] || array, othArray, iteratee, comparator); + if (othIndex != index) { + result[index] = baseDifference(result[index] || array, arrays[othIndex], iteratee, comparator); } } } diff --git a/lodash.default.js b/lodash.default.js index ec38361dd..e31ad38c1 100644 --- a/lodash.default.js +++ b/lodash.default.js @@ -45,7 +45,7 @@ import toInteger from './toInteger.js'; import lodash from './wrapperLodash.js'; /** Used as the semantic version number. */ -var VERSION = '4.16.5'; +var VERSION = '4.16.6'; /** Used to compose bitmasks for function metadata. */ var BIND_KEY_FLAG = 2; diff --git a/package.json b/package.json index 3007767fe..d1b9b3554 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "lodash-es", - "version": "4.16.5", + "version": "4.16.6", "description": "Lodash exported as ES modules.", "keywords": "es6, modules, stdlib, util", "homepage": "https://lodash.com/custom-builds",