Bump to v3.2.2.

This commit is contained in:
jdalton
2015-03-08 20:19:46 -07:00
committed by John-David Dalton
parent 2a20de4a1e
commit 45b95364ef
35 changed files with 336 additions and 122 deletions

View File

@@ -1,4 +1,4 @@
# lodash.matchesproperty v3.2.1
# lodash.matchesproperty v3.2.2
The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodashs](https://lodash.com/) `_.matchesProperty` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
@@ -17,4 +17,4 @@ In Node.js/io.js:
var matchesProperty = require('lodash.matchesproperty');
```
See the [documentation](https://lodash.com/docs#matchesProperty) or [package source](https://github.com/lodash/lodash/blob/3.2.1-npm-packages/lodash.matchesproperty) for more details.
See the [documentation](https://lodash.com/docs#matchesProperty) or [package source](https://github.com/lodash/lodash/blob/3.2.2-npm-packages/lodash.matchesproperty) for more details.

View File

@@ -1,5 +1,5 @@
/**
* lodash 3.2.1 (Custom Build) <https://lodash.com/>
* lodash 3.2.2 (Custom Build) <https://lodash.com/>
* Build: `lodash modern modularize exports="npm" -o ./`
* Copyright 2012-2015 The Dojo Foundation <http://dojofoundation.org/>
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
@@ -10,7 +10,7 @@ var baseClone = require('lodash._baseclone'),
baseMatchesProperty = require('lodash._basematchesproperty');
/**
* Creates a function which compares the property value of `path` on a given
* Creates a function that compares the property value of `path` on a given
* object to `value`.
*
* **Note:** This method supports comparing arrays, booleans, `Date` objects,
@@ -21,7 +21,7 @@ var baseClone = require('lodash._baseclone'),
* @memberOf _
* @category Utility
* @param {Array|string} path The path of the property to get.
* @param {*} value The value to compare.
* @param {*} srcValue The value to match.
* @returns {Function} Returns the new function.
* @example
*
@@ -33,8 +33,8 @@ var baseClone = require('lodash._baseclone'),
* _.find(users, _.matchesProperty('user', 'fred'));
* // => { 'user': 'fred' }
*/
function matchesProperty(path, value) {
return baseMatchesProperty(path, baseClone(value, true));
function matchesProperty(path, srcValue) {
return baseMatchesProperty(path, baseClone(srcValue, true));
}
module.exports = matchesProperty;

View File

@@ -1,6 +1,6 @@
{
"name": "lodash.matchesproperty",
"version": "3.2.1",
"version": "3.2.2",
"description": "The modern build of lodashs `_.matchesProperty` as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",