lodash.camelcase
Advanced tools
Comparing version 3.0.0 to 3.0.1
/** | ||
* lodash 3.0.0 (Custom Build) <https://lodash.com/> | ||
* lodash 3.0.1 (Custom Build) <https://lodash.com/> | ||
* Build: `lodash modern modularize exports="npm" -o ./` | ||
@@ -33,5 +33,5 @@ * Copyright 2012-2015 The Dojo Foundation <http://dojofoundation.org/> | ||
word = word.toLowerCase(); | ||
return index ? (result + word.charAt(0).toUpperCase() + word.slice(1)) : word; | ||
return result + (index ? (word.charAt(0).toUpperCase() + word.slice(1)) : word); | ||
}); | ||
module.exports = camelCase; |
{ | ||
"name": "lodash.camelcase", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"description": "The modern build of lodash’s `_.camelCase` as a module.", | ||
@@ -5,0 +5,0 @@ "homepage": "https://lodash.com/", |
@@ -1,2 +0,2 @@ | ||
# lodash.camelcase v3.0.0 | ||
# lodash.camelcase v3.0.1 | ||
@@ -20,2 +20,2 @@ The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) `_.camelCase` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module. | ||
See the [documentation](https://lodash.com/docs#camelCase) or [package source](https://github.com/lodash/lodash/blob/3.0.0-npm-packages/lodash.camelcase) for more details. | ||
See the [documentation](https://lodash.com/docs#camelCase) or [package source](https://github.com/lodash/lodash/blob/3.0.1-npm-packages/lodash.camelcase) for more details. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3902