lodash.startcase
Advanced tools
Comparing version 4.2.0 to 4.2.1
10
index.js
/** | ||
* lodash 4.2.0 (Custom Build) <https://lodash.com/> | ||
* lodash 4.2.1 (Custom Build) <https://lodash.com/> | ||
* Build: `lodash modularize exports="npm" -o ./` | ||
@@ -13,2 +13,8 @@ * Copyright jQuery Foundation and other contributors <https://jquery.org/> | ||
/** Used to compose unicode capture groups. */ | ||
var rsApos = "['\u2019]"; | ||
/** Used to match apostrophes. */ | ||
var reApos = RegExp(rsApos, 'g'); | ||
/** | ||
@@ -48,3 +54,3 @@ * A specialized version of `_.reduce` for arrays without support for | ||
return function(string) { | ||
return arrayReduce(words(deburr(string)), callback, ''); | ||
return arrayReduce(words(deburr(string).replace(reApos, '')), callback, ''); | ||
}; | ||
@@ -51,0 +57,0 @@ } |
{ | ||
"name": "lodash.startcase", | ||
"version": "4.2.0", | ||
"version": "4.2.1", | ||
"description": "The lodash method `_.startCase` exported as a module.", | ||
@@ -5,0 +5,0 @@ "homepage": "https://lodash.com/", |
@@ -1,2 +0,2 @@ | ||
# lodash.startcase v4.2.0 | ||
# lodash.startcase v4.2.1 | ||
@@ -18,2 +18,2 @@ The [lodash](https://lodash.com/) method `_.startCase` exported as a [Node.js](https://nodejs.org/) module. | ||
See the [documentation](https://lodash.com/docs#startCase) or [package source](https://github.com/lodash/lodash/blob/4.2.0-npm-packages/lodash.startcase) for more details. | ||
See the [documentation](https://lodash.com/docs#startCase) or [package source](https://github.com/lodash/lodash/blob/4.2.1-npm-packages/lodash.startcase) 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
5654
75