Compare commits

...

1 Commits

Author SHA1 Message Date
John-David Dalton
e8cff1ef54 Bump to v4.8.2. 2016-04-04 13:55:37 -07:00
9 changed files with 14 additions and 12 deletions

View File

@@ -1,4 +1,4 @@
# lodash-es v4.8.0 # lodash-es v4.8.2
The [Lodash](https://lodash.com/) library exported as [ES](http://www.ecma-international.org/ecma-262/6.0/) modules. 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 ./ $ lodash modularize exports=es -o ./
``` ```
See the [package source](https://github.com/lodash/lodash/tree/4.8.0-es) for more details. See the [package source](https://github.com/lodash/lodash/tree/4.8.2-es) for more details.

View File

@@ -1,5 +1,6 @@
import apply from './_apply'; import apply from './_apply';
import arrayMap from './_arrayMap'; import arrayMap from './_arrayMap';
import baseFlatten from './_baseFlatten';
import baseIteratee from './_baseIteratee'; import baseIteratee from './_baseIteratee';
import rest from './rest'; import rest from './rest';
@@ -12,7 +13,7 @@ import rest from './rest';
*/ */
function createOver(arrayFunc) { function createOver(arrayFunc) {
return rest(function(iteratees) { return rest(function(iteratees) {
iteratees = arrayMap(iteratees, baseIteratee); iteratees = arrayMap(baseFlatten(iteratees, 1), baseIteratee);
return rest(function(args) { return rest(function(args) {
var thisArg = this; var thisArg = this;
return arrayFunc(iteratees, function(iteratee) { return arrayFunc(iteratees, function(iteratee) {

View File

@@ -1,6 +1,6 @@
/** /**
* @license * @license
* lodash 4.8.0 (Custom Build) <https://lodash.com/> * lodash 4.8.2 (Custom Build) <https://lodash.com/>
* Build: `lodash modularize exports="es" -o ./` * Build: `lodash modularize exports="es" -o ./`
* Copyright jQuery Foundation and other contributors <https://jquery.org/> * Copyright jQuery Foundation and other contributors <https://jquery.org/>
* Released under MIT license <https://lodash.com/license> * Released under MIT license <https://lodash.com/license>
@@ -44,7 +44,7 @@ import toInteger from './toInteger';
import lodash from './wrapperLodash'; import lodash from './wrapperLodash';
/** Used as the semantic version number. */ /** Used as the semantic version number. */
var VERSION = '4.8.0'; var VERSION = '4.8.2';
/** Used to compose bitmasks for wrapper metadata. */ /** Used to compose bitmasks for wrapper metadata. */
var BIND_KEY_FLAG = 2; var BIND_KEY_FLAG = 2;

View File

@@ -1,6 +1,6 @@
/** /**
* @license * @license
* lodash 4.8.0 (Custom Build) <https://lodash.com/> * lodash 4.8.2 (Custom Build) <https://lodash.com/>
* Build: `lodash modularize exports="es" -o ./` * Build: `lodash modularize exports="es" -o ./`
* Copyright jQuery Foundation and other contributors <https://jquery.org/> * Copyright jQuery Foundation and other contributors <https://jquery.org/>
* Released under MIT license <https://lodash.com/license> * Released under MIT license <https://lodash.com/license>

View File

@@ -9,7 +9,7 @@ import createOver from './_createOver';
* @memberOf _ * @memberOf _
* @since 4.0.0 * @since 4.0.0
* @category Util * @category Util
* @param {...Function} iteratees The iteratees to invoke. * @param {...(Function|Function[])} iteratees The iteratees to invoke.
* @returns {Function} Returns the new function. * @returns {Function} Returns the new function.
* @example * @example
* *

View File

@@ -1,5 +1,6 @@
import apply from './_apply'; import apply from './_apply';
import arrayMap from './_arrayMap'; import arrayMap from './_arrayMap';
import baseFlatten from './_baseFlatten';
import baseIteratee from './_baseIteratee'; import baseIteratee from './_baseIteratee';
import rest from './rest'; import rest from './rest';
@@ -15,7 +16,7 @@ var nativeMin = Math.min;
* @memberOf _ * @memberOf _
* @category Function * @category Function
* @param {Function} func The function to wrap. * @param {Function} func The function to wrap.
* @param {...Function} [transforms] The functions to transform * @param {...(Function|Function[])} [transforms] The functions to transform.
* arguments, specified individually or in arrays. * arguments, specified individually or in arrays.
* @returns {Function} Returns the new function. * @returns {Function} Returns the new function.
* @example * @example
@@ -39,7 +40,7 @@ var nativeMin = Math.min;
* // => [100, 10] * // => [100, 10]
*/ */
var overArgs = rest(function(func, transforms) { var overArgs = rest(function(func, transforms) {
transforms = arrayMap(transforms, baseIteratee); transforms = arrayMap(baseFlatten(transforms, 1), baseIteratee);
var funcsLength = transforms.length; var funcsLength = transforms.length;
return rest(function(args) { return rest(function(args) {

View File

@@ -9,7 +9,7 @@ import createOver from './_createOver';
* @memberOf _ * @memberOf _
* @since 4.0.0 * @since 4.0.0
* @category Util * @category Util
* @param {...Function} predicates The predicates to check. * @param {...(Function|Function[])} predicates The predicates to check.
* @returns {Function} Returns the new function. * @returns {Function} Returns the new function.
* @example * @example
* *

View File

@@ -9,7 +9,7 @@ import createOver from './_createOver';
* @memberOf _ * @memberOf _
* @since 4.0.0 * @since 4.0.0
* @category Util * @category Util
* @param {...Function} predicates The predicates to check. * @param {...(Function|Function[])} predicates The predicates to check.
* @returns {Function} Returns the new function. * @returns {Function} Returns the new function.
* @example * @example
* *

View File

@@ -1,6 +1,6 @@
{ {
"name": "lodash-es", "name": "lodash-es",
"version": "4.8.0", "version": "4.8.2",
"description": "Lodash exported as ES modules.", "description": "Lodash exported as ES modules.",
"homepage": "https://lodash.com/custom-builds", "homepage": "https://lodash.com/custom-builds",
"license": "MIT", "license": "MIT",