split-graphemes
Advanced tools
Comparing version 0.4.1 to 0.5.0
@@ -11,2 +11,4 @@ "use strict"; | ||
var _hebrew = require("./hebrew"); | ||
var _japaneseKana = require("./japanese-kana"); | ||
@@ -34,3 +36,3 @@ | ||
var patterns = [_emoji.countryFlag, _emoji.keyCap, _emoji.emojiVariation, _arabic.arabic, _bengali.bengali, _devanagari.devanagari, _gujarati.gujarati, _japaneseKana.japaneseKana, _kannada.kannada, _khmer.khmer, _lao.lao, _malayalam.malayalam, _myanmar.myanmar, _tamil.tamil, _telugu.telugu, _thai.thai, _tibetan.tibetan, '.']; | ||
var patterns = [_emoji.countryFlag, _emoji.keyCap, _emoji.emojiVariation, _arabic.arabic, _bengali.bengali, _devanagari.devanagari, _gujarati.gujarati, _hebrew.hebrew, _japaneseKana.japaneseKana, _kannada.kannada, _khmer.khmer, _lao.lao, _malayalam.malayalam, _myanmar.myanmar, _tamil.tamil, _telugu.telugu, _thai.thai, _tibetan.tibetan, '.']; | ||
var splitter = new RegExp("(".concat(patterns.join('|'), ")"), 'gu'); | ||
@@ -37,0 +39,0 @@ |
{ | ||
"name": "split-graphemes", | ||
"version": "0.4.1", | ||
"version": "0.5.0", | ||
"description": "Divide the string into graphemes.", | ||
@@ -26,2 +26,3 @@ "main": "lib/index.js", | ||
"gujarati", | ||
"hebrew", | ||
"japanese", | ||
@@ -28,0 +29,0 @@ "kannada", |
@@ -54,2 +54,3 @@ # split-graphemes | ||
- [Gujarati](https://www.unicode.org/charts/PDF/U0A80.pdf) | ||
- [Hebrew](https://www.unicode.org/charts/PDF/U0590.pdf) | ||
- [Japanese Hiragana](https://www.unicode.org/charts/PDF/U3040.pdf) and [Katakana](https://www.unicode.org/charts/PDF/U30A0.pdf) NFD | ||
@@ -65,3 +66,1 @@ - [Kannada](https://www.unicode.org/charts/PDF/U0C80.pdf) | ||
- [Tibetan](https://www.unicode.org/charts/PDF/U0F00.pdf) | ||
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
13320
19
206
65