lodash.deburr
Advanced tools
Comparing version 3.0.1 to 3.0.2
12
index.js
/** | ||
* lodash 3.0.1 (Custom Build) <https://lodash.com/> | ||
* lodash 3.0.2 (Custom Build) <https://lodash.com/> | ||
* Build: `lodash modern modularize exports="npm" -o ./` | ||
* Copyright 2012-2015 The Dojo Foundation <http://dojofoundation.org/> | ||
* Based on Underscore.js 1.8.2 <http://underscorejs.org/LICENSE> | ||
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE> | ||
* Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors | ||
@@ -11,6 +11,4 @@ * Available under MIT license <https://lodash.com/license> | ||
/** | ||
* Used to match [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks). | ||
*/ | ||
var reComboMarks = /[\u0300-\u036f\ufe20-\ufe23]/g; | ||
/** Used to match [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks). */ | ||
var reComboMark = /[\u0300-\u036f\ufe20-\ufe23]/g; | ||
@@ -68,5 +66,5 @@ /** Used to match latin-1 supplementary letters (excluding mathematical operators). */ | ||
string = baseToString(string); | ||
return string && string.replace(reLatin1, deburrLetter).replace(reComboMarks, ''); | ||
return string && string.replace(reLatin1, deburrLetter).replace(reComboMark, ''); | ||
} | ||
module.exports = deburr; |
{ | ||
"name": "lodash.deburr", | ||
"version": "3.0.1", | ||
"version": "3.0.2", | ||
"description": "The modern build of lodash’s `_.deburr` as a module.", | ||
@@ -5,0 +5,0 @@ "homepage": "https://lodash.com/", |
@@ -1,2 +0,2 @@ | ||
# lodash.deburr v3.0.1 | ||
# lodash.deburr v3.0.2 | ||
@@ -20,2 +20,2 @@ The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) `_.deburr` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module. | ||
See the [documentation](https://lodash.com/docs#deburr) or [package source](https://github.com/lodash/lodash/blob/3.0.1-npm-packages/lodash.deburr) for more details. | ||
See the [documentation](https://lodash.com/docs#deburr) or [package source](https://github.com/lodash/lodash/blob/3.0.2-npm-packages/lodash.deburr) 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
5428
62