Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

split-graphemes

Package Overview
Dependencies
Maintainers
2
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

split-graphemes - npm Package Compare versions

Comparing version 0.4.1 to 0.5.0

lib/hebrew.js

4

lib/index.js

@@ -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)
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc