diff --git a/README.md b/README.md index f2e7d89f0..5bff76816 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# lodash v3.7.0 +# lodash v3.7.1 The [lodash](https://lodash.com/) library exported as [npm packages](https://www.npmjs.com/browse/keyword/lodash-modularized) per method. diff --git a/lodash._baseget/README.md b/lodash._baseget/README.md index aee7f3a26..aca84a1f1 100644 --- a/lodash._baseget/README.md +++ b/lodash._baseget/README.md @@ -1,4 +1,4 @@ -# lodash._baseget v3.7.0 +# lodash._baseget v3.7.1 The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) internal `baseGet` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module. @@ -17,4 +17,4 @@ In Node.js/io.js: var baseGet = require('lodash._baseget'); ``` -See the [package source](https://github.com/lodash/lodash/blob/3.7.0-npm-packages/lodash._baseget) for more details. +See the [package source](https://github.com/lodash/lodash/blob/3.7.1-npm-packages/lodash._baseget) for more details. diff --git a/lodash._baseget/index.js b/lodash._baseget/index.js index 6a07ef831..83ae92025 100644 --- a/lodash._baseget/index.js +++ b/lodash._baseget/index.js @@ -1,5 +1,5 @@ /** - * lodash 3.7.0 (Custom Build) + * lodash 3.7.1 (Custom Build) * Build: `lodash modern modularize exports="npm" -o ./` * Copyright 2012-2015 The Dojo Foundation * Based on Underscore.js 1.8.3 @@ -28,9 +28,9 @@ function baseGet(object, path, pathKey) { length = path.length; while (object != null && ++index < length) { - var result = object = object[path[index]]; + object = object[path[index]]; } - return result; + return (index && index == length) ? object : undefined; } /** diff --git a/lodash._baseget/package.json b/lodash._baseget/package.json index 5eebd4a7a..ed7e7fd2d 100644 --- a/lodash._baseget/package.json +++ b/lodash._baseget/package.json @@ -1,6 +1,6 @@ { "name": "lodash._baseget", - "version": "3.7.0", + "version": "3.7.1", "description": "The modern build of lodash’s internal `baseGet` as a module.", "homepage": "https://lodash.com/", "icon": "https://lodash.com/icon.svg", diff --git a/lodash._invokepath/README.md b/lodash._invokepath/README.md index 68d3f11aa..a6b8ed2e5 100644 --- a/lodash._invokepath/README.md +++ b/lodash._invokepath/README.md @@ -1,4 +1,4 @@ -# lodash._invokepath v3.7.0 +# lodash._invokepath v3.7.1 The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) internal `invokePath` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module. @@ -17,4 +17,4 @@ In Node.js/io.js: var invokePath = require('lodash._invokepath'); ``` -See the [package source](https://github.com/lodash/lodash/blob/3.7.0-npm-packages/lodash._invokepath) for more details. +See the [package source](https://github.com/lodash/lodash/blob/3.7.1-npm-packages/lodash._invokepath) for more details. diff --git a/lodash._invokepath/index.js b/lodash._invokepath/index.js index b1a374a53..a791f0ed7 100644 --- a/lodash._invokepath/index.js +++ b/lodash._invokepath/index.js @@ -1,5 +1,5 @@ /** - * lodash 3.7.0 (Custom Build) + * lodash 3.7.1 (Custom Build) * Build: `lodash modern modularize exports="npm" -o ./` * Copyright 2012-2015 The Dojo Foundation * Based on Underscore.js 1.8.3 @@ -12,7 +12,7 @@ var baseGet = require('lodash._baseget'), isArray = require('lodash.isarray'); /** Used to match property names within property paths. */ -var reIsDeepProp = /\.|\[(?:[^[\]]+|(["'])(?:(?!\1)[^\n\\]|\\.)*?)\1\]/, +var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\n\\]|\\.)*?\1)\]/, reIsPlainProp = /^\w*$/; /** diff --git a/lodash._invokepath/package.json b/lodash._invokepath/package.json index ef8022634..fb79a0b97 100644 --- a/lodash._invokepath/package.json +++ b/lodash._invokepath/package.json @@ -1,6 +1,6 @@ { "name": "lodash._invokepath", - "version": "3.7.0", + "version": "3.7.1", "description": "The modern build of lodash’s internal `invokePath` as a module.", "homepage": "https://lodash.com/", "icon": "https://lodash.com/icon.svg", diff --git a/lodash.set/README.md b/lodash.set/README.md index 368a47d54..f941933a0 100644 --- a/lodash.set/README.md +++ b/lodash.set/README.md @@ -1,4 +1,4 @@ -# lodash.set v3.7.0 +# lodash.set v3.7.1 The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) `_.set` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module. @@ -17,4 +17,4 @@ In Node.js/io.js: var set = require('lodash.set'); ``` -See the [documentation](https://lodash.com/docs#set) or [package source](https://github.com/lodash/lodash/blob/3.7.0-npm-packages/lodash.set) for more details. +See the [documentation](https://lodash.com/docs#set) or [package source](https://github.com/lodash/lodash/blob/3.7.1-npm-packages/lodash.set) for more details. diff --git a/lodash.set/index.js b/lodash.set/index.js index 7e4b3d46f..ceafd115e 100644 --- a/lodash.set/index.js +++ b/lodash.set/index.js @@ -1,5 +1,5 @@ /** - * lodash 3.7.0 (Custom Build) + * lodash 3.7.1 (Custom Build) * Build: `lodash modern modularize exports="npm" -o ./` * Copyright 2012-2015 The Dojo Foundation * Based on Underscore.js 1.8.3 @@ -10,7 +10,7 @@ var toPath = require('lodash._topath'), isArray = require('lodash.isarray'); /** Used to match property names within property paths. */ -var reIsDeepProp = /\.|\[(?:[^[\]]+|(["'])(?:(?!\1)[^\n\\]|\\.)*?)\1\]/, +var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\n\\]|\\.)*?\1)\]/, reIsPlainProp = /^\w*$/; /** diff --git a/lodash.set/package.json b/lodash.set/package.json index dd4a52608..ed8bc7251 100644 --- a/lodash.set/package.json +++ b/lodash.set/package.json @@ -1,6 +1,6 @@ { "name": "lodash.set", - "version": "3.7.0", + "version": "3.7.1", "description": "The modern build of lodash’s `_.set` as a module.", "homepage": "https://lodash.com/", "icon": "https://lodash.com/icon.svg",