Compare commits

...

1 Commits

Author SHA1 Message Date
John-David Dalton
8c168dd1b8 Bump to v3.3.7. 2018-02-03 19:13:30 -08:00
4 changed files with 23 additions and 25 deletions

View File

@@ -1,4 +1,4 @@
# lodash v3.3.6 # lodash v3.3.7
The [lodash](https://lodash.com/) library exported as [npm packages](https://www.npmjs.com/browse/keyword/lodash-modularized) per method. The [lodash](https://lodash.com/) library exported as [npm packages](https://www.npmjs.com/browse/keyword/lodash-modularized) per method.

View File

@@ -1,4 +1,4 @@
# lodash.fill v3.3.6 # lodash.fill v3.3.7
The [lodash](https://lodash.com/) method `_.fill` exported as a [Node.js](https://nodejs.org/) module. The [lodash](https://lodash.com/) method `_.fill` exported as a [Node.js](https://nodejs.org/) module.
@@ -15,4 +15,4 @@ In Node.js:
var fill = require('lodash.fill'); var fill = require('lodash.fill');
``` ```
See the [documentation](https://lodash.com/docs#fill) or [package source](https://github.com/lodash/lodash/blob/3.3.6-npm-packages/lodash.fill) for more details. See the [documentation](https://lodash.com/docs#fill) or [package source](https://github.com/lodash/lodash/blob/3.3.7-npm-packages/lodash.fill) for more details.

View File

@@ -39,6 +39,19 @@ var reIsUint = /^(?:0|[1-9]\d*)$/;
/** Built-in method references without a dependency on `root`. */ /** Built-in method references without a dependency on `root`. */
var freeParseInt = parseInt; var freeParseInt = parseInt;
/**
* The base implementation of `_.property` without support for deep paths.
*
* @private
* @param {string} key The key of the property to get.
* @returns {Function} Returns the new accessor function.
*/
function baseProperty(key) {
return function(object) {
return object == null ? undefined : object[key];
};
}
/** Used for built-in method references. */ /** Used for built-in method references. */
var objectProto = Object.prototype; var objectProto = Object.prototype;
@@ -50,7 +63,7 @@ var objectProto = Object.prototype;
var objectToString = objectProto.toString; var objectToString = objectProto.toString;
/** /**
* The base implementation of `_.clamp` which doesn't coerce arguments to numbers. * The base implementation of `_.clamp` which doesn't coerce arguments.
* *
* @private * @private
* @param {number} number The number to clamp. * @param {number} number The number to clamp.
@@ -98,19 +111,6 @@ function baseFill(array, value, start, end) {
return array; return array;
} }
/**
* The base implementation of `_.property` without support for deep paths.
*
* @private
* @param {string} key The key of the property to get.
* @returns {Function} Returns the new accessor function.
*/
function baseProperty(key) {
return function(object) {
return object == null ? undefined : object[key];
};
}
/** /**
* Gets the "length" property value of `object`. * Gets the "length" property value of `object`.
* *
@@ -218,8 +218,8 @@ function fill(array, value, start, end) {
* @returns {boolean} Returns `true` if the values are equivalent, else `false`. * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
* @example * @example
* *
* var object = { 'user': 'fred' }; * var object = { 'a': 1 };
* var other = { 'user': 'fred' }; * var other = { 'a': 1 };
* *
* _.eq(object, object); * _.eq(object, object);
* // => true * // => true
@@ -277,8 +277,7 @@ function isArrayLike(value) {
* @since 0.1.0 * @since 0.1.0
* @category Lang * @category Lang
* @param {*} value The value to check. * @param {*} value The value to check.
* @returns {boolean} Returns `true` if `value` is correctly classified, * @returns {boolean} Returns `true` if `value` is a function, else `false`.
* else `false`.
* @example * @example
* *
* _.isFunction(_); * _.isFunction(_);
@@ -393,8 +392,7 @@ function isObjectLike(value) {
* @since 4.0.0 * @since 4.0.0
* @category Lang * @category Lang
* @param {*} value The value to check. * @param {*} value The value to check.
* @returns {boolean} Returns `true` if `value` is correctly classified, * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
* else `false`.
* @example * @example
* *
* _.isSymbol(Symbol.iterator); * _.isSymbol(Symbol.iterator);
@@ -446,7 +444,7 @@ function toFinite(value) {
/** /**
* Converts `value` to an integer. * Converts `value` to an integer.
* *
* **Note:** This function is loosely based on * **Note:** This method is loosely based on
* [`ToInteger`](http://www.ecma-international.org/ecma-262/6.0/#sec-tointeger). * [`ToInteger`](http://www.ecma-international.org/ecma-262/6.0/#sec-tointeger).
* *
* @static * @static

View File

@@ -1,6 +1,6 @@
{ {
"name": "lodash.fill", "name": "lodash.fill",
"version": "3.3.6", "version": "3.3.7",
"description": "The lodash method `_.fill` exported as a module.", "description": "The lodash method `_.fill` exported as a module.",
"homepage": "https://lodash.com/", "homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg", "icon": "https://lodash.com/icon.svg",