Bump to v4.4.1.

This commit is contained in:
John-David Dalton
2016-03-01 21:08:54 -08:00
parent fb1f99d9d9
commit 7059f72e9c
95 changed files with 394 additions and 5947 deletions

View File

@@ -1,4 +1,4 @@
# lodash.zipobjectdeep v4.4.0
# lodash.zipobjectdeep v4.4.1
The [lodash](https://lodash.com/) method `_.zipObjectDeep` exported as a [Node.js](https://nodejs.org/) module.
@@ -15,4 +15,4 @@ In Node.js:
var zipObjectDeep = require('lodash.zipobjectdeep');
```
See the [documentation](https://lodash.com/docs#zipObjectDeep) or [package source](https://github.com/lodash/lodash/blob/4.4.0-npm-packages/lodash.zipobjectdeep) for more details.
See the [documentation](https://lodash.com/docs#zipObjectDeep) or [package source](https://github.com/lodash/lodash/blob/4.4.1-npm-packages/lodash.zipobjectdeep) for more details.

View File

@@ -25,7 +25,8 @@ var funcTag = '[object Function]',
/** Used to match property names within property paths. */
var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,
reIsPlainProp = /^\w*$/,
rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(\.|\[\])(?:\4|$))/g;
reLeadingDot = /^\./,
rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;
/**
* Used to match `RegExp`
@@ -670,8 +671,13 @@ function isMasked(func) {
* @returns {Array} Returns the property path array.
*/
var stringToPath = memoize(function(string) {
string = toString(string);
var result = [];
toString(string).replace(rePropName, function(match, number, quote, string) {
if (reLeadingDot.test(string)) {
result.push('');
}
string.replace(rePropName, function(match, number, quote, string) {
result.push(quote ? string.replace(reEscapeChar, '$1') : (number || match));
});
return result;

View File

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