Bump to v4.1.2.

This commit is contained in:
John-David Dalton
2016-02-16 00:51:03 -08:00
parent afaae9f972
commit a862defba0
135 changed files with 2400 additions and 854 deletions

View File

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

View File

@@ -1,5 +1,5 @@
/**
* lodash 4.1.1 (Custom Build) <https://lodash.com/>
* lodash 4.1.2 (Custom Build) <https://lodash.com/>
* Build: `lodash modularize exports="npm" -o ./`
* Copyright 2012-2016 The Dojo Foundation <http://dojofoundation.org/>
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
@@ -59,8 +59,11 @@ function createCaseFirst(methodName) {
return function(string) {
string = toString(string);
var strSymbols = reHasComplexSymbol.test(string) ? stringToArray(string) : undefined,
chr = strSymbols ? strSymbols[0] : string.charAt(0),
var strSymbols = reHasComplexSymbol.test(string)
? stringToArray(string)
: undefined;
var chr = strSymbols ? strSymbols[0] : string.charAt(0),
trailing = strSymbols ? strSymbols.slice(1).join('') : string.slice(1);
return chr[methodName]() + trailing;
@@ -72,6 +75,7 @@ function createCaseFirst(methodName) {
*
* @static
* @memberOf _
* @since 4.0.0
* @category String
* @param {string} [string=''] The string to convert.
* @returns {string} Returns the converted string.

View File

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