aboutsummaryrefslogtreecommitdiff
path: root/node_modules/unicode-match-property-value-ecmascript
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/unicode-match-property-value-ecmascript')
-rw-r--r--node_modules/unicode-match-property-value-ecmascript/LICENSE-MIT.txt20
-rw-r--r--node_modules/unicode-match-property-value-ecmascript/README.md50
-rw-r--r--node_modules/unicode-match-property-value-ecmascript/data/mappings.js680
-rwxr-xr-xnode_modules/unicode-match-property-value-ecmascript/index.js19
-rw-r--r--node_modules/unicode-match-property-value-ecmascript/package.json39
5 files changed, 808 insertions, 0 deletions
diff --git a/node_modules/unicode-match-property-value-ecmascript/LICENSE-MIT.txt b/node_modules/unicode-match-property-value-ecmascript/LICENSE-MIT.txt
new file mode 100644
index 00000000..a41e0a7e
--- /dev/null
+++ b/node_modules/unicode-match-property-value-ecmascript/LICENSE-MIT.txt
@@ -0,0 +1,20 @@
+Copyright Mathias Bynens <https://mathiasbynens.be/>
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/node_modules/unicode-match-property-value-ecmascript/README.md b/node_modules/unicode-match-property-value-ecmascript/README.md
new file mode 100644
index 00000000..0f327063
--- /dev/null
+++ b/node_modules/unicode-match-property-value-ecmascript/README.md
@@ -0,0 +1,50 @@
+# unicode-match-property-value-ecmascript [![Build status](https://travis-ci.org/mathiasbynens/unicode-match-property-value-ecmascript.svg?branch=master)](https://travis-ci.org/mathiasbynens/unicode-match-property-value-ecmascript)
+
+_unicode-match-property-value-ecmascript_ matches a given Unicode property value or [property value alias](https://github.com/mathiasbynens/unicode-property-value-aliases) to its canonical property value without applying [loose matching](https://github.com/mathiasbynens/unicode-loose-match), per the algorithm used for [RegExp Unicode property escapes in ECMAScript](https://github.com/tc39/proposal-regexp-unicode-property-escapes). Consider it a strict alternative to loose matching.
+
+## Installation
+
+To use _unicode-match-property-value-ecmascript_ programmatically, install it as a dependency via [npm](https://www.npmjs.com/):
+
+```bash
+$ npm install unicode-match-property-value-ecmascript
+```
+
+Then, `require` it:
+
+```js
+const matchPropertyValue = require('unicode-match-property-value-ecmascript');
+```
+
+## API
+
+This module exports a single function named `matchPropertyValue`.
+
+### `matchPropertyValue(property, value)`
+
+This function takes a string `property` that is a canonical/unaliased Unicode property name, and a string `value`. It attemps to match `value` to a canonical Unicode property value for the given property. If there’s a match, it returns the canonical property value. Otherwise, it throws an exception.
+
+```js
+// Find the canonical property value:
+matchPropertyValue('Script_Extensions', 'Aghb')
+// → 'Caucasian_Albanian'
+
+matchPropertyValue('Script_Extensions', 'Caucasian_Albanian')
+// → 'Caucasian_Albanian'
+
+matchPropertyValue('script_extensions', 'Caucasian_Albanian') // Note: incorrect casing.
+// → throws
+
+matchPropertyValue('Script_Extensions', 'caucasian_albanian') // Note: incorrect casing.
+// → throws
+```
+
+## Author
+
+| [![twitter/mathias](https://gravatar.com/avatar/24e08a9ea84deb17ae121074d0f17125?s=70)](https://twitter.com/mathias "Follow @mathias on Twitter") |
+|---|
+| [Mathias Bynens](https://mathiasbynens.be/) |
+
+## License
+
+_unicode-match-property-value-ecmascript_ is available under the [MIT](https://mths.be/mit) license.
diff --git a/node_modules/unicode-match-property-value-ecmascript/data/mappings.js b/node_modules/unicode-match-property-value-ecmascript/data/mappings.js
new file mode 100644
index 00000000..98eb3030
--- /dev/null
+++ b/node_modules/unicode-match-property-value-ecmascript/data/mappings.js
@@ -0,0 +1,680 @@
+module.exports = new Map([
+ ['General_Category', new Map([
+ ['C', 'Other'],
+ ['Cc', 'Control'],
+ ['cntrl', 'Control'],
+ ['Cf', 'Format'],
+ ['Cn', 'Unassigned'],
+ ['Co', 'Private_Use'],
+ ['Cs', 'Surrogate'],
+ ['L', 'Letter'],
+ ['LC', 'Cased_Letter'],
+ ['Ll', 'Lowercase_Letter'],
+ ['Lm', 'Modifier_Letter'],
+ ['Lo', 'Other_Letter'],
+ ['Lt', 'Titlecase_Letter'],
+ ['Lu', 'Uppercase_Letter'],
+ ['M', 'Mark'],
+ ['Combining_Mark', 'Mark'],
+ ['Mc', 'Spacing_Mark'],
+ ['Me', 'Enclosing_Mark'],
+ ['Mn', 'Nonspacing_Mark'],
+ ['N', 'Number'],
+ ['Nd', 'Decimal_Number'],
+ ['digit', 'Decimal_Number'],
+ ['Nl', 'Letter_Number'],
+ ['No', 'Other_Number'],
+ ['P', 'Punctuation'],
+ ['punct', 'Punctuation'],
+ ['Pc', 'Connector_Punctuation'],
+ ['Pd', 'Dash_Punctuation'],
+ ['Pe', 'Close_Punctuation'],
+ ['Pf', 'Final_Punctuation'],
+ ['Pi', 'Initial_Punctuation'],
+ ['Po', 'Other_Punctuation'],
+ ['Ps', 'Open_Punctuation'],
+ ['S', 'Symbol'],
+ ['Sc', 'Currency_Symbol'],
+ ['Sk', 'Modifier_Symbol'],
+ ['Sm', 'Math_Symbol'],
+ ['So', 'Other_Symbol'],
+ ['Z', 'Separator'],
+ ['Zl', 'Line_Separator'],
+ ['Zp', 'Paragraph_Separator'],
+ ['Zs', 'Space_Separator'],
+ ['Other', 'Other'],
+ ['Control', 'Control'],
+ ['Format', 'Format'],
+ ['Unassigned', 'Unassigned'],
+ ['Private_Use', 'Private_Use'],
+ ['Surrogate', 'Surrogate'],
+ ['Letter', 'Letter'],
+ ['Cased_Letter', 'Cased_Letter'],
+ ['Lowercase_Letter', 'Lowercase_Letter'],
+ ['Modifier_Letter', 'Modifier_Letter'],
+ ['Other_Letter', 'Other_Letter'],
+ ['Titlecase_Letter', 'Titlecase_Letter'],
+ ['Uppercase_Letter', 'Uppercase_Letter'],
+ ['Mark', 'Mark'],
+ ['Spacing_Mark', 'Spacing_Mark'],
+ ['Enclosing_Mark', 'Enclosing_Mark'],
+ ['Nonspacing_Mark', 'Nonspacing_Mark'],
+ ['Number', 'Number'],
+ ['Decimal_Number', 'Decimal_Number'],
+ ['Letter_Number', 'Letter_Number'],
+ ['Other_Number', 'Other_Number'],
+ ['Punctuation', 'Punctuation'],
+ ['Connector_Punctuation', 'Connector_Punctuation'],
+ ['Dash_Punctuation', 'Dash_Punctuation'],
+ ['Close_Punctuation', 'Close_Punctuation'],
+ ['Final_Punctuation', 'Final_Punctuation'],
+ ['Initial_Punctuation', 'Initial_Punctuation'],
+ ['Other_Punctuation', 'Other_Punctuation'],
+ ['Open_Punctuation', 'Open_Punctuation'],
+ ['Symbol', 'Symbol'],
+ ['Currency_Symbol', 'Currency_Symbol'],
+ ['Modifier_Symbol', 'Modifier_Symbol'],
+ ['Math_Symbol', 'Math_Symbol'],
+ ['Other_Symbol', 'Other_Symbol'],
+ ['Separator', 'Separator'],
+ ['Line_Separator', 'Line_Separator'],
+ ['Paragraph_Separator', 'Paragraph_Separator'],
+ ['Space_Separator', 'Space_Separator']
+ ])],
+ ['Script', new Map([
+ ['Adlm', 'Adlam'],
+ ['Aghb', 'Caucasian_Albanian'],
+ ['Ahom', 'Ahom'],
+ ['Arab', 'Arabic'],
+ ['Armi', 'Imperial_Aramaic'],
+ ['Armn', 'Armenian'],
+ ['Avst', 'Avestan'],
+ ['Bali', 'Balinese'],
+ ['Bamu', 'Bamum'],
+ ['Bass', 'Bassa_Vah'],
+ ['Batk', 'Batak'],
+ ['Beng', 'Bengali'],
+ ['Bhks', 'Bhaiksuki'],
+ ['Bopo', 'Bopomofo'],
+ ['Brah', 'Brahmi'],
+ ['Brai', 'Braille'],
+ ['Bugi', 'Buginese'],
+ ['Buhd', 'Buhid'],
+ ['Cakm', 'Chakma'],
+ ['Cans', 'Canadian_Aboriginal'],
+ ['Cari', 'Carian'],
+ ['Cham', 'Cham'],
+ ['Cher', 'Cherokee'],
+ ['Copt', 'Coptic'],
+ ['Qaac', 'Coptic'],
+ ['Cprt', 'Cypriot'],
+ ['Cyrl', 'Cyrillic'],
+ ['Deva', 'Devanagari'],
+ ['Dogr', 'Dogra'],
+ ['Dsrt', 'Deseret'],
+ ['Dupl', 'Duployan'],
+ ['Egyp', 'Egyptian_Hieroglyphs'],
+ ['Elba', 'Elbasan'],
+ ['Ethi', 'Ethiopic'],
+ ['Geor', 'Georgian'],
+ ['Glag', 'Glagolitic'],
+ ['Gong', 'Gunjala_Gondi'],
+ ['Gonm', 'Masaram_Gondi'],
+ ['Goth', 'Gothic'],
+ ['Gran', 'Grantha'],
+ ['Grek', 'Greek'],
+ ['Gujr', 'Gujarati'],
+ ['Guru', 'Gurmukhi'],
+ ['Hang', 'Hangul'],
+ ['Hani', 'Han'],
+ ['Hano', 'Hanunoo'],
+ ['Hatr', 'Hatran'],
+ ['Hebr', 'Hebrew'],
+ ['Hira', 'Hiragana'],
+ ['Hluw', 'Anatolian_Hieroglyphs'],
+ ['Hmng', 'Pahawh_Hmong'],
+ ['Hrkt', 'Katakana_Or_Hiragana'],
+ ['Hung', 'Old_Hungarian'],
+ ['Ital', 'Old_Italic'],
+ ['Java', 'Javanese'],
+ ['Kali', 'Kayah_Li'],
+ ['Kana', 'Katakana'],
+ ['Khar', 'Kharoshthi'],
+ ['Khmr', 'Khmer'],
+ ['Khoj', 'Khojki'],
+ ['Knda', 'Kannada'],
+ ['Kthi', 'Kaithi'],
+ ['Lana', 'Tai_Tham'],
+ ['Laoo', 'Lao'],
+ ['Latn', 'Latin'],
+ ['Lepc', 'Lepcha'],
+ ['Limb', 'Limbu'],
+ ['Lina', 'Linear_A'],
+ ['Linb', 'Linear_B'],
+ ['Lisu', 'Lisu'],
+ ['Lyci', 'Lycian'],
+ ['Lydi', 'Lydian'],
+ ['Mahj', 'Mahajani'],
+ ['Maka', 'Makasar'],
+ ['Mand', 'Mandaic'],
+ ['Mani', 'Manichaean'],
+ ['Marc', 'Marchen'],
+ ['Medf', 'Medefaidrin'],
+ ['Mend', 'Mende_Kikakui'],
+ ['Merc', 'Meroitic_Cursive'],
+ ['Mero', 'Meroitic_Hieroglyphs'],
+ ['Mlym', 'Malayalam'],
+ ['Modi', 'Modi'],
+ ['Mong', 'Mongolian'],
+ ['Mroo', 'Mro'],
+ ['Mtei', 'Meetei_Mayek'],
+ ['Mult', 'Multani'],
+ ['Mymr', 'Myanmar'],
+ ['Narb', 'Old_North_Arabian'],
+ ['Nbat', 'Nabataean'],
+ ['Newa', 'Newa'],
+ ['Nkoo', 'Nko'],
+ ['Nshu', 'Nushu'],
+ ['Ogam', 'Ogham'],
+ ['Olck', 'Ol_Chiki'],
+ ['Orkh', 'Old_Turkic'],
+ ['Orya', 'Oriya'],
+ ['Osge', 'Osage'],
+ ['Osma', 'Osmanya'],
+ ['Palm', 'Palmyrene'],
+ ['Pauc', 'Pau_Cin_Hau'],
+ ['Perm', 'Old_Permic'],
+ ['Phag', 'Phags_Pa'],
+ ['Phli', 'Inscriptional_Pahlavi'],
+ ['Phlp', 'Psalter_Pahlavi'],
+ ['Phnx', 'Phoenician'],
+ ['Plrd', 'Miao'],
+ ['Prti', 'Inscriptional_Parthian'],
+ ['Rjng', 'Rejang'],
+ ['Rohg', 'Hanifi_Rohingya'],
+ ['Runr', 'Runic'],
+ ['Samr', 'Samaritan'],
+ ['Sarb', 'Old_South_Arabian'],
+ ['Saur', 'Saurashtra'],
+ ['Sgnw', 'SignWriting'],
+ ['Shaw', 'Shavian'],
+ ['Shrd', 'Sharada'],
+ ['Sidd', 'Siddham'],
+ ['Sind', 'Khudawadi'],
+ ['Sinh', 'Sinhala'],
+ ['Sogd', 'Sogdian'],
+ ['Sogo', 'Old_Sogdian'],
+ ['Sora', 'Sora_Sompeng'],
+ ['Soyo', 'Soyombo'],
+ ['Sund', 'Sundanese'],
+ ['Sylo', 'Syloti_Nagri'],
+ ['Syrc', 'Syriac'],
+ ['Tagb', 'Tagbanwa'],
+ ['Takr', 'Takri'],
+ ['Tale', 'Tai_Le'],
+ ['Talu', 'New_Tai_Lue'],
+ ['Taml', 'Tamil'],
+ ['Tang', 'Tangut'],
+ ['Tavt', 'Tai_Viet'],
+ ['Telu', 'Telugu'],
+ ['Tfng', 'Tifinagh'],
+ ['Tglg', 'Tagalog'],
+ ['Thaa', 'Thaana'],
+ ['Thai', 'Thai'],
+ ['Tibt', 'Tibetan'],
+ ['Tirh', 'Tirhuta'],
+ ['Ugar', 'Ugaritic'],
+ ['Vaii', 'Vai'],
+ ['Wara', 'Warang_Citi'],
+ ['Xpeo', 'Old_Persian'],
+ ['Xsux', 'Cuneiform'],
+ ['Yiii', 'Yi'],
+ ['Zanb', 'Zanabazar_Square'],
+ ['Zinh', 'Inherited'],
+ ['Qaai', 'Inherited'],
+ ['Zyyy', 'Common'],
+ ['Zzzz', 'Unknown'],
+ ['Adlam', 'Adlam'],
+ ['Caucasian_Albanian', 'Caucasian_Albanian'],
+ ['Arabic', 'Arabic'],
+ ['Imperial_Aramaic', 'Imperial_Aramaic'],
+ ['Armenian', 'Armenian'],
+ ['Avestan', 'Avestan'],
+ ['Balinese', 'Balinese'],
+ ['Bamum', 'Bamum'],
+ ['Bassa_Vah', 'Bassa_Vah'],
+ ['Batak', 'Batak'],
+ ['Bengali', 'Bengali'],
+ ['Bhaiksuki', 'Bhaiksuki'],
+ ['Bopomofo', 'Bopomofo'],
+ ['Brahmi', 'Brahmi'],
+ ['Braille', 'Braille'],
+ ['Buginese', 'Buginese'],
+ ['Buhid', 'Buhid'],
+ ['Chakma', 'Chakma'],
+ ['Canadian_Aboriginal', 'Canadian_Aboriginal'],
+ ['Carian', 'Carian'],
+ ['Cherokee', 'Cherokee'],
+ ['Coptic', 'Coptic'],
+ ['Cypriot', 'Cypriot'],
+ ['Cyrillic', 'Cyrillic'],
+ ['Devanagari', 'Devanagari'],
+ ['Dogra', 'Dogra'],
+ ['Deseret', 'Deseret'],
+ ['Duployan', 'Duployan'],
+ ['Egyptian_Hieroglyphs', 'Egyptian_Hieroglyphs'],
+ ['Elbasan', 'Elbasan'],
+ ['Ethiopic', 'Ethiopic'],
+ ['Georgian', 'Georgian'],
+ ['Glagolitic', 'Glagolitic'],
+ ['Gunjala_Gondi', 'Gunjala_Gondi'],
+ ['Masaram_Gondi', 'Masaram_Gondi'],
+ ['Gothic', 'Gothic'],
+ ['Grantha', 'Grantha'],
+ ['Greek', 'Greek'],
+ ['Gujarati', 'Gujarati'],
+ ['Gurmukhi', 'Gurmukhi'],
+ ['Hangul', 'Hangul'],
+ ['Han', 'Han'],
+ ['Hanunoo', 'Hanunoo'],
+ ['Hatran', 'Hatran'],
+ ['Hebrew', 'Hebrew'],
+ ['Hiragana', 'Hiragana'],
+ ['Anatolian_Hieroglyphs', 'Anatolian_Hieroglyphs'],
+ ['Pahawh_Hmong', 'Pahawh_Hmong'],
+ ['Katakana_Or_Hiragana', 'Katakana_Or_Hiragana'],
+ ['Old_Hungarian', 'Old_Hungarian'],
+ ['Old_Italic', 'Old_Italic'],
+ ['Javanese', 'Javanese'],
+ ['Kayah_Li', 'Kayah_Li'],
+ ['Katakana', 'Katakana'],
+ ['Kharoshthi', 'Kharoshthi'],
+ ['Khmer', 'Khmer'],
+ ['Khojki', 'Khojki'],
+ ['Kannada', 'Kannada'],
+ ['Kaithi', 'Kaithi'],
+ ['Tai_Tham', 'Tai_Tham'],
+ ['Lao', 'Lao'],
+ ['Latin', 'Latin'],
+ ['Lepcha', 'Lepcha'],
+ ['Limbu', 'Limbu'],
+ ['Linear_A', 'Linear_A'],
+ ['Linear_B', 'Linear_B'],
+ ['Lycian', 'Lycian'],
+ ['Lydian', 'Lydian'],
+ ['Mahajani', 'Mahajani'],
+ ['Makasar', 'Makasar'],
+ ['Mandaic', 'Mandaic'],
+ ['Manichaean', 'Manichaean'],
+ ['Marchen', 'Marchen'],
+ ['Medefaidrin', 'Medefaidrin'],
+ ['Mende_Kikakui', 'Mende_Kikakui'],
+ ['Meroitic_Cursive', 'Meroitic_Cursive'],
+ ['Meroitic_Hieroglyphs', 'Meroitic_Hieroglyphs'],
+ ['Malayalam', 'Malayalam'],
+ ['Mongolian', 'Mongolian'],
+ ['Mro', 'Mro'],
+ ['Meetei_Mayek', 'Meetei_Mayek'],
+ ['Multani', 'Multani'],
+ ['Myanmar', 'Myanmar'],
+ ['Old_North_Arabian', 'Old_North_Arabian'],
+ ['Nabataean', 'Nabataean'],
+ ['Nko', 'Nko'],
+ ['Nushu', 'Nushu'],
+ ['Ogham', 'Ogham'],
+ ['Ol_Chiki', 'Ol_Chiki'],
+ ['Old_Turkic', 'Old_Turkic'],
+ ['Oriya', 'Oriya'],
+ ['Osage', 'Osage'],
+ ['Osmanya', 'Osmanya'],
+ ['Palmyrene', 'Palmyrene'],
+ ['Pau_Cin_Hau', 'Pau_Cin_Hau'],
+ ['Old_Permic', 'Old_Permic'],
+ ['Phags_Pa', 'Phags_Pa'],
+ ['Inscriptional_Pahlavi', 'Inscriptional_Pahlavi'],
+ ['Psalter_Pahlavi', 'Psalter_Pahlavi'],
+ ['Phoenician', 'Phoenician'],
+ ['Miao', 'Miao'],
+ ['Inscriptional_Parthian', 'Inscriptional_Parthian'],
+ ['Rejang', 'Rejang'],
+ ['Hanifi_Rohingya', 'Hanifi_Rohingya'],
+ ['Runic', 'Runic'],
+ ['Samaritan', 'Samaritan'],
+ ['Old_South_Arabian', 'Old_South_Arabian'],
+ ['Saurashtra', 'Saurashtra'],
+ ['SignWriting', 'SignWriting'],
+ ['Shavian', 'Shavian'],
+ ['Sharada', 'Sharada'],
+ ['Siddham', 'Siddham'],
+ ['Khudawadi', 'Khudawadi'],
+ ['Sinhala', 'Sinhala'],
+ ['Sogdian', 'Sogdian'],
+ ['Old_Sogdian', 'Old_Sogdian'],
+ ['Sora_Sompeng', 'Sora_Sompeng'],
+ ['Soyombo', 'Soyombo'],
+ ['Sundanese', 'Sundanese'],
+ ['Syloti_Nagri', 'Syloti_Nagri'],
+ ['Syriac', 'Syriac'],
+ ['Tagbanwa', 'Tagbanwa'],
+ ['Takri', 'Takri'],
+ ['Tai_Le', 'Tai_Le'],
+ ['New_Tai_Lue', 'New_Tai_Lue'],
+ ['Tamil', 'Tamil'],
+ ['Tangut', 'Tangut'],
+ ['Tai_Viet', 'Tai_Viet'],
+ ['Telugu', 'Telugu'],
+ ['Tifinagh', 'Tifinagh'],
+ ['Tagalog', 'Tagalog'],
+ ['Thaana', 'Thaana'],
+ ['Tibetan', 'Tibetan'],
+ ['Tirhuta', 'Tirhuta'],
+ ['Ugaritic', 'Ugaritic'],
+ ['Vai', 'Vai'],
+ ['Warang_Citi', 'Warang_Citi'],
+ ['Old_Persian', 'Old_Persian'],
+ ['Cuneiform', 'Cuneiform'],
+ ['Yi', 'Yi'],
+ ['Zanabazar_Square', 'Zanabazar_Square'],
+ ['Inherited', 'Inherited'],
+ ['Common', 'Common'],
+ ['Unknown', 'Unknown']
+ ])],
+ ['Script_Extensions', new Map([
+ ['Adlm', 'Adlam'],
+ ['Aghb', 'Caucasian_Albanian'],
+ ['Ahom', 'Ahom'],
+ ['Arab', 'Arabic'],
+ ['Armi', 'Imperial_Aramaic'],
+ ['Armn', 'Armenian'],
+ ['Avst', 'Avestan'],
+ ['Bali', 'Balinese'],
+ ['Bamu', 'Bamum'],
+ ['Bass', 'Bassa_Vah'],
+ ['Batk', 'Batak'],
+ ['Beng', 'Bengali'],
+ ['Bhks', 'Bhaiksuki'],
+ ['Bopo', 'Bopomofo'],
+ ['Brah', 'Brahmi'],
+ ['Brai', 'Braille'],
+ ['Bugi', 'Buginese'],
+ ['Buhd', 'Buhid'],
+ ['Cakm', 'Chakma'],
+ ['Cans', 'Canadian_Aboriginal'],
+ ['Cari', 'Carian'],
+ ['Cham', 'Cham'],
+ ['Cher', 'Cherokee'],
+ ['Copt', 'Coptic'],
+ ['Qaac', 'Coptic'],
+ ['Cprt', 'Cypriot'],
+ ['Cyrl', 'Cyrillic'],
+ ['Deva', 'Devanagari'],
+ ['Dogr', 'Dogra'],
+ ['Dsrt', 'Deseret'],
+ ['Dupl', 'Duployan'],
+ ['Egyp', 'Egyptian_Hieroglyphs'],
+ ['Elba', 'Elbasan'],
+ ['Ethi', 'Ethiopic'],
+ ['Geor', 'Georgian'],
+ ['Glag', 'Glagolitic'],
+ ['Gong', 'Gunjala_Gondi'],
+ ['Gonm', 'Masaram_Gondi'],
+ ['Goth', 'Gothic'],
+ ['Gran', 'Grantha'],
+ ['Grek', 'Greek'],
+ ['Gujr', 'Gujarati'],
+ ['Guru', 'Gurmukhi'],
+ ['Hang', 'Hangul'],
+ ['Hani', 'Han'],
+ ['Hano', 'Hanunoo'],
+ ['Hatr', 'Hatran'],
+ ['Hebr', 'Hebrew'],
+ ['Hira', 'Hiragana'],
+ ['Hluw', 'Anatolian_Hieroglyphs'],
+ ['Hmng', 'Pahawh_Hmong'],
+ ['Hrkt', 'Katakana_Or_Hiragana'],
+ ['Hung', 'Old_Hungarian'],
+ ['Ital', 'Old_Italic'],
+ ['Java', 'Javanese'],
+ ['Kali', 'Kayah_Li'],
+ ['Kana', 'Katakana'],
+ ['Khar', 'Kharoshthi'],
+ ['Khmr', 'Khmer'],
+ ['Khoj', 'Khojki'],
+ ['Knda', 'Kannada'],
+ ['Kthi', 'Kaithi'],
+ ['Lana', 'Tai_Tham'],
+ ['Laoo', 'Lao'],
+ ['Latn', 'Latin'],
+ ['Lepc', 'Lepcha'],
+ ['Limb', 'Limbu'],
+ ['Lina', 'Linear_A'],
+ ['Linb', 'Linear_B'],
+ ['Lisu', 'Lisu'],
+ ['Lyci', 'Lycian'],
+ ['Lydi', 'Lydian'],
+ ['Mahj', 'Mahajani'],
+ ['Maka', 'Makasar'],
+ ['Mand', 'Mandaic'],
+ ['Mani', 'Manichaean'],
+ ['Marc', 'Marchen'],
+ ['Medf', 'Medefaidrin'],
+ ['Mend', 'Mende_Kikakui'],
+ ['Merc', 'Meroitic_Cursive'],
+ ['Mero', 'Meroitic_Hieroglyphs'],
+ ['Mlym', 'Malayalam'],
+ ['Modi', 'Modi'],
+ ['Mong', 'Mongolian'],
+ ['Mroo', 'Mro'],
+ ['Mtei', 'Meetei_Mayek'],
+ ['Mult', 'Multani'],
+ ['Mymr', 'Myanmar'],
+ ['Narb', 'Old_North_Arabian'],
+ ['Nbat', 'Nabataean'],
+ ['Newa', 'Newa'],
+ ['Nkoo', 'Nko'],
+ ['Nshu', 'Nushu'],
+ ['Ogam', 'Ogham'],
+ ['Olck', 'Ol_Chiki'],
+ ['Orkh', 'Old_Turkic'],
+ ['Orya', 'Oriya'],
+ ['Osge', 'Osage'],
+ ['Osma', 'Osmanya'],
+ ['Palm', 'Palmyrene'],
+ ['Pauc', 'Pau_Cin_Hau'],
+ ['Perm', 'Old_Permic'],
+ ['Phag', 'Phags_Pa'],
+ ['Phli', 'Inscriptional_Pahlavi'],
+ ['Phlp', 'Psalter_Pahlavi'],
+ ['Phnx', 'Phoenician'],
+ ['Plrd', 'Miao'],
+ ['Prti', 'Inscriptional_Parthian'],
+ ['Rjng', 'Rejang'],
+ ['Rohg', 'Hanifi_Rohingya'],
+ ['Runr', 'Runic'],
+ ['Samr', 'Samaritan'],
+ ['Sarb', 'Old_South_Arabian'],
+ ['Saur', 'Saurashtra'],
+ ['Sgnw', 'SignWriting'],
+ ['Shaw', 'Shavian'],
+ ['Shrd', 'Sharada'],
+ ['Sidd', 'Siddham'],
+ ['Sind', 'Khudawadi'],
+ ['Sinh', 'Sinhala'],
+ ['Sogd', 'Sogdian'],
+ ['Sogo', 'Old_Sogdian'],
+ ['Sora', 'Sora_Sompeng'],
+ ['Soyo', 'Soyombo'],
+ ['Sund', 'Sundanese'],
+ ['Sylo', 'Syloti_Nagri'],
+ ['Syrc', 'Syriac'],
+ ['Tagb', 'Tagbanwa'],
+ ['Takr', 'Takri'],
+ ['Tale', 'Tai_Le'],
+ ['Talu', 'New_Tai_Lue'],
+ ['Taml', 'Tamil'],
+ ['Tang', 'Tangut'],
+ ['Tavt', 'Tai_Viet'],
+ ['Telu', 'Telugu'],
+ ['Tfng', 'Tifinagh'],
+ ['Tglg', 'Tagalog'],
+ ['Thaa', 'Thaana'],
+ ['Thai', 'Thai'],
+ ['Tibt', 'Tibetan'],
+ ['Tirh', 'Tirhuta'],
+ ['Ugar', 'Ugaritic'],
+ ['Vaii', 'Vai'],
+ ['Wara', 'Warang_Citi'],
+ ['Xpeo', 'Old_Persian'],
+ ['Xsux', 'Cuneiform'],
+ ['Yiii', 'Yi'],
+ ['Zanb', 'Zanabazar_Square'],
+ ['Zinh', 'Inherited'],
+ ['Qaai', 'Inherited'],
+ ['Zyyy', 'Common'],
+ ['Zzzz', 'Unknown'],
+ ['Adlam', 'Adlam'],
+ ['Caucasian_Albanian', 'Caucasian_Albanian'],
+ ['Arabic', 'Arabic'],
+ ['Imperial_Aramaic', 'Imperial_Aramaic'],
+ ['Armenian', 'Armenian'],
+ ['Avestan', 'Avestan'],
+ ['Balinese', 'Balinese'],
+ ['Bamum', 'Bamum'],
+ ['Bassa_Vah', 'Bassa_Vah'],
+ ['Batak', 'Batak'],
+ ['Bengali', 'Bengali'],
+ ['Bhaiksuki', 'Bhaiksuki'],
+ ['Bopomofo', 'Bopomofo'],
+ ['Brahmi', 'Brahmi'],
+ ['Braille', 'Braille'],
+ ['Buginese', 'Buginese'],
+ ['Buhid', 'Buhid'],
+ ['Chakma', 'Chakma'],
+ ['Canadian_Aboriginal', 'Canadian_Aboriginal'],
+ ['Carian', 'Carian'],
+ ['Cherokee', 'Cherokee'],
+ ['Coptic', 'Coptic'],
+ ['Cypriot', 'Cypriot'],
+ ['Cyrillic', 'Cyrillic'],
+ ['Devanagari', 'Devanagari'],
+ ['Dogra', 'Dogra'],
+ ['Deseret', 'Deseret'],
+ ['Duployan', 'Duployan'],
+ ['Egyptian_Hieroglyphs', 'Egyptian_Hieroglyphs'],
+ ['Elbasan', 'Elbasan'],
+ ['Ethiopic', 'Ethiopic'],
+ ['Georgian', 'Georgian'],
+ ['Glagolitic', 'Glagolitic'],
+ ['Gunjala_Gondi', 'Gunjala_Gondi'],
+ ['Masaram_Gondi', 'Masaram_Gondi'],
+ ['Gothic', 'Gothic'],
+ ['Grantha', 'Grantha'],
+ ['Greek', 'Greek'],
+ ['Gujarati', 'Gujarati'],
+ ['Gurmukhi', 'Gurmukhi'],
+ ['Hangul', 'Hangul'],
+ ['Han', 'Han'],
+ ['Hanunoo', 'Hanunoo'],
+ ['Hatran', 'Hatran'],
+ ['Hebrew', 'Hebrew'],
+ ['Hiragana', 'Hiragana'],
+ ['Anatolian_Hieroglyphs', 'Anatolian_Hieroglyphs'],
+ ['Pahawh_Hmong', 'Pahawh_Hmong'],
+ ['Katakana_Or_Hiragana', 'Katakana_Or_Hiragana'],
+ ['Old_Hungarian', 'Old_Hungarian'],
+ ['Old_Italic', 'Old_Italic'],
+ ['Javanese', 'Javanese'],
+ ['Kayah_Li', 'Kayah_Li'],
+ ['Katakana', 'Katakana'],
+ ['Kharoshthi', 'Kharoshthi'],
+ ['Khmer', 'Khmer'],
+ ['Khojki', 'Khojki'],
+ ['Kannada', 'Kannada'],
+ ['Kaithi', 'Kaithi'],
+ ['Tai_Tham', 'Tai_Tham'],
+ ['Lao', 'Lao'],
+ ['Latin', 'Latin'],
+ ['Lepcha', 'Lepcha'],
+ ['Limbu', 'Limbu'],
+ ['Linear_A', 'Linear_A'],
+ ['Linear_B', 'Linear_B'],
+ ['Lycian', 'Lycian'],
+ ['Lydian', 'Lydian'],
+ ['Mahajani', 'Mahajani'],
+ ['Makasar', 'Makasar'],
+ ['Mandaic', 'Mandaic'],
+ ['Manichaean', 'Manichaean'],
+ ['Marchen', 'Marchen'],
+ ['Medefaidrin', 'Medefaidrin'],
+ ['Mende_Kikakui', 'Mende_Kikakui'],
+ ['Meroitic_Cursive', 'Meroitic_Cursive'],
+ ['Meroitic_Hieroglyphs', 'Meroitic_Hieroglyphs'],
+ ['Malayalam', 'Malayalam'],
+ ['Mongolian', 'Mongolian'],
+ ['Mro', 'Mro'],
+ ['Meetei_Mayek', 'Meetei_Mayek'],
+ ['Multani', 'Multani'],
+ ['Myanmar', 'Myanmar'],
+ ['Old_North_Arabian', 'Old_North_Arabian'],
+ ['Nabataean', 'Nabataean'],
+ ['Nko', 'Nko'],
+ ['Nushu', 'Nushu'],
+ ['Ogham', 'Ogham'],
+ ['Ol_Chiki', 'Ol_Chiki'],
+ ['Old_Turkic', 'Old_Turkic'],
+ ['Oriya', 'Oriya'],
+ ['Osage', 'Osage'],
+ ['Osmanya', 'Osmanya'],
+ ['Palmyrene', 'Palmyrene'],
+ ['Pau_Cin_Hau', 'Pau_Cin_Hau'],
+ ['Old_Permic', 'Old_Permic'],
+ ['Phags_Pa', 'Phags_Pa'],
+ ['Inscriptional_Pahlavi', 'Inscriptional_Pahlavi'],
+ ['Psalter_Pahlavi', 'Psalter_Pahlavi'],
+ ['Phoenician', 'Phoenician'],
+ ['Miao', 'Miao'],
+ ['Inscriptional_Parthian', 'Inscriptional_Parthian'],
+ ['Rejang', 'Rejang'],
+ ['Hanifi_Rohingya', 'Hanifi_Rohingya'],
+ ['Runic', 'Runic'],
+ ['Samaritan', 'Samaritan'],
+ ['Old_South_Arabian', 'Old_South_Arabian'],
+ ['Saurashtra', 'Saurashtra'],
+ ['SignWriting', 'SignWriting'],
+ ['Shavian', 'Shavian'],
+ ['Sharada', 'Sharada'],
+ ['Siddham', 'Siddham'],
+ ['Khudawadi', 'Khudawadi'],
+ ['Sinhala', 'Sinhala'],
+ ['Sogdian', 'Sogdian'],
+ ['Old_Sogdian', 'Old_Sogdian'],
+ ['Sora_Sompeng', 'Sora_Sompeng'],
+ ['Soyombo', 'Soyombo'],
+ ['Sundanese', 'Sundanese'],
+ ['Syloti_Nagri', 'Syloti_Nagri'],
+ ['Syriac', 'Syriac'],
+ ['Tagbanwa', 'Tagbanwa'],
+ ['Takri', 'Takri'],
+ ['Tai_Le', 'Tai_Le'],
+ ['New_Tai_Lue', 'New_Tai_Lue'],
+ ['Tamil', 'Tamil'],
+ ['Tangut', 'Tangut'],
+ ['Tai_Viet', 'Tai_Viet'],
+ ['Telugu', 'Telugu'],
+ ['Tifinagh', 'Tifinagh'],
+ ['Tagalog', 'Tagalog'],
+ ['Thaana', 'Thaana'],
+ ['Tibetan', 'Tibetan'],
+ ['Tirhuta', 'Tirhuta'],
+ ['Ugaritic', 'Ugaritic'],
+ ['Vai', 'Vai'],
+ ['Warang_Citi', 'Warang_Citi'],
+ ['Old_Persian', 'Old_Persian'],
+ ['Cuneiform', 'Cuneiform'],
+ ['Yi', 'Yi'],
+ ['Zanabazar_Square', 'Zanabazar_Square'],
+ ['Inherited', 'Inherited'],
+ ['Common', 'Common'],
+ ['Unknown', 'Unknown']
+ ])]
+]);
diff --git a/node_modules/unicode-match-property-value-ecmascript/index.js b/node_modules/unicode-match-property-value-ecmascript/index.js
new file mode 100755
index 00000000..ca8b991d
--- /dev/null
+++ b/node_modules/unicode-match-property-value-ecmascript/index.js
@@ -0,0 +1,19 @@
+'use strict';
+
+const propertyToValueAliases = require('./data/mappings.js');
+
+const matchPropertyValue = function(property, value) {
+ const aliasToValue = propertyToValueAliases.get(property);
+ if (!aliasToValue) {
+ throw new Error(`Unknown property \`${ property }\`.`);
+ }
+ const canonicalValue = aliasToValue.get(value);
+ if (canonicalValue) {
+ return canonicalValue;
+ }
+ throw new Error(
+ `Unknown value \`${ value }\` for property \`${ property }\`.`
+ );
+};
+
+module.exports = matchPropertyValue;
diff --git a/node_modules/unicode-match-property-value-ecmascript/package.json b/node_modules/unicode-match-property-value-ecmascript/package.json
new file mode 100644
index 00000000..970984c5
--- /dev/null
+++ b/node_modules/unicode-match-property-value-ecmascript/package.json
@@ -0,0 +1,39 @@
+{
+ "name": "unicode-match-property-value-ecmascript",
+ "version": "1.0.2",
+ "description": "Match a Unicode property or property alias to its canonical property name per the algorithm used for RegExp Unicode property escapes in ECMAScript.",
+ "homepage": "https://github.com/mathiasbynens/unicode-match-property-value-ecmascript",
+ "main": "index.js",
+ "engines": {
+ "node": ">=4"
+ },
+ "files": [
+ "LICENSE-MIT.txt",
+ "data/mappings.js",
+ "index.js"
+ ],
+ "keywords": [
+ "unicode",
+ "unicode property values",
+ "unicode property value aliases"
+ ],
+ "license": "MIT",
+ "author": {
+ "name": "Mathias Bynens",
+ "url": "https://mathiasbynens.be/"
+ },
+ "repository": {
+ "type": "git",
+ "url": "https://github.com/mathiasbynens/unicode-match-property-value-ecmascript.git"
+ },
+ "bugs": "https://github.com/mathiasbynens/unicode-match-property-value-ecmascript/issues",
+ "devDependencies": {
+ "ava": "*",
+ "jsesc": "^2.5.1",
+ "unicode-property-value-aliases-ecmascript": "^1.0.3"
+ },
+ "scripts": {
+ "build": "node scripts/build.js",
+ "test": "ava ./tests"
+ }
+}