@unicode/unicode-2.1.2 2.0.7 → 2.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Bidi_Class/index.mjs +2 -2
- package/Decomposition_Mapping/Canonical/code-points.d.mts +2 -0
- package/Decomposition_Mapping/Canonical/code-points.mjs +4 -0
- package/Decomposition_Mapping/Canonical/symbols.d.mts +2 -0
- package/Decomposition_Mapping/Canonical/symbols.mjs +4 -0
- package/Decomposition_Mapping/Circle/code-points.d.mts +2 -0
- package/Decomposition_Mapping/Circle/code-points.mjs +4 -0
- package/Decomposition_Mapping/Circle/symbols.d.mts +2 -0
- package/Decomposition_Mapping/Circle/symbols.mjs +4 -0
- package/Decomposition_Mapping/Compat/code-points.d.mts +2 -0
- package/Decomposition_Mapping/Compat/code-points.mjs +4 -0
- package/Decomposition_Mapping/Compat/symbols.d.mts +2 -0
- package/Decomposition_Mapping/Compat/symbols.mjs +4 -0
- package/Decomposition_Mapping/Final/code-points.d.mts +2 -0
- package/Decomposition_Mapping/Final/code-points.mjs +4 -0
- package/Decomposition_Mapping/Final/symbols.d.mts +2 -0
- package/Decomposition_Mapping/Final/symbols.mjs +4 -0
- package/Decomposition_Mapping/Font/code-points.d.mts +2 -0
- package/Decomposition_Mapping/Font/code-points.mjs +4 -0
- package/Decomposition_Mapping/Font/symbols.d.mts +2 -0
- package/Decomposition_Mapping/Font/symbols.mjs +4 -0
- package/Decomposition_Mapping/Fraction/code-points.d.mts +2 -0
- package/Decomposition_Mapping/Fraction/code-points.mjs +4 -0
- package/Decomposition_Mapping/Fraction/symbols.d.mts +2 -0
- package/Decomposition_Mapping/Fraction/symbols.mjs +4 -0
- package/Decomposition_Mapping/Initial/code-points.d.mts +2 -0
- package/Decomposition_Mapping/Initial/code-points.mjs +4 -0
- package/Decomposition_Mapping/Initial/symbols.d.mts +2 -0
- package/Decomposition_Mapping/Initial/symbols.mjs +4 -0
- package/Decomposition_Mapping/Isolated/code-points.d.mts +2 -0
- package/Decomposition_Mapping/Isolated/code-points.mjs +4 -0
- package/Decomposition_Mapping/Isolated/symbols.d.mts +2 -0
- package/Decomposition_Mapping/Isolated/symbols.mjs +4 -0
- package/Decomposition_Mapping/Medial/code-points.d.mts +2 -0
- package/Decomposition_Mapping/Medial/code-points.mjs +4 -0
- package/Decomposition_Mapping/Medial/symbols.d.mts +2 -0
- package/Decomposition_Mapping/Medial/symbols.mjs +4 -0
- package/Decomposition_Mapping/Narrow/code-points.d.mts +2 -0
- package/Decomposition_Mapping/Narrow/code-points.mjs +4 -0
- package/Decomposition_Mapping/Narrow/symbols.d.mts +2 -0
- package/Decomposition_Mapping/Narrow/symbols.mjs +4 -0
- package/Decomposition_Mapping/Nobreak/code-points.d.mts +2 -0
- package/Decomposition_Mapping/Nobreak/code-points.mjs +1 -0
- package/Decomposition_Mapping/Nobreak/symbols.d.mts +2 -0
- package/Decomposition_Mapping/Nobreak/symbols.mjs +1 -0
- package/Decomposition_Mapping/Small/code-points.d.mts +2 -0
- package/Decomposition_Mapping/Small/code-points.mjs +4 -0
- package/Decomposition_Mapping/Small/symbols.d.mts +2 -0
- package/Decomposition_Mapping/Small/symbols.mjs +4 -0
- package/Decomposition_Mapping/Square/code-points.d.mts +2 -0
- package/Decomposition_Mapping/Square/code-points.mjs +4 -0
- package/Decomposition_Mapping/Square/symbols.d.mts +2 -0
- package/Decomposition_Mapping/Square/symbols.mjs +4 -0
- package/Decomposition_Mapping/Sub/code-points.d.mts +2 -0
- package/Decomposition_Mapping/Sub/code-points.mjs +4 -0
- package/Decomposition_Mapping/Sub/symbols.d.mts +2 -0
- package/Decomposition_Mapping/Sub/symbols.mjs +4 -0
- package/Decomposition_Mapping/Super/code-points.d.mts +2 -0
- package/Decomposition_Mapping/Super/code-points.mjs +4 -0
- package/Decomposition_Mapping/Super/symbols.d.mts +2 -0
- package/Decomposition_Mapping/Super/symbols.mjs +4 -0
- package/Decomposition_Mapping/Vertical/code-points.d.mts +2 -0
- package/Decomposition_Mapping/Vertical/code-points.mjs +4 -0
- package/Decomposition_Mapping/Vertical/symbols.d.mts +2 -0
- package/Decomposition_Mapping/Vertical/symbols.mjs +4 -0
- package/Decomposition_Mapping/Wide/code-points.d.mts +2 -0
- package/Decomposition_Mapping/Wide/code-points.mjs +4 -0
- package/Decomposition_Mapping/Wide/symbols.d.mts +2 -0
- package/Decomposition_Mapping/Wide/symbols.mjs +4 -0
- package/General_Category/index.mjs +2 -2
- package/Names/index.mjs +3 -3
- package/README.md +55 -0
- package/Simple_Case_Mapping/Lowercase/code-points.mjs +3 -2
- package/Simple_Case_Mapping/Lowercase/symbols.mjs +3 -2
- package/Simple_Case_Mapping/Titlecase/code-points.mjs +3 -2
- package/Simple_Case_Mapping/Titlecase/symbols.mjs +3 -2
- package/Simple_Case_Mapping/Uppercase/code-points.mjs +3 -2
- package/Simple_Case_Mapping/Uppercase/symbols.mjs +3 -2
- package/decode-mapping.d.mts +7 -0
- package/decode-mapping.mjs +46 -0
- package/decode-names.d.mts +7 -0
- package/decode-names.mjs +40 -0
- package/decode-property-map.mjs +2 -2
- package/decode-ranges.d.mts +9 -0
- package/decode-ranges.mjs +5 -5
- package/index.d.mts +10 -6
- package/index.mjs +1 -1
- package/mapping-to-symbols.d.mts +9 -0
- package/mapping-to-symbols.mjs +25 -0
- package/package.json +33 -2
- package/{Bidi_Class/Common_Separator → types}/ranges.d.mts +1 -1
- package/Bidi_Class/Arabic_Number/ranges.d.mts +0 -4
- package/Bidi_Class/Common_Separator/code-points.d.mts +0 -2
- package/Bidi_Class/Common_Separator/regex.d.mts +0 -2
- package/Bidi_Class/Common_Separator/symbols.d.mts +0 -2
- package/Bidi_Class/European_Number/code-points.d.mts +0 -2
- package/Bidi_Class/European_Number/ranges.d.mts +0 -4
- package/Bidi_Class/European_Number/regex.d.mts +0 -2
- package/Bidi_Class/European_Number/symbols.d.mts +0 -2
- package/Bidi_Class/European_Separator/code-points.d.mts +0 -2
- package/Bidi_Class/European_Separator/ranges.d.mts +0 -4
- package/Bidi_Class/European_Separator/regex.d.mts +0 -2
- package/Bidi_Class/European_Separator/symbols.d.mts +0 -2
- package/Bidi_Class/European_Terminator/code-points.d.mts +0 -2
- package/Bidi_Class/European_Terminator/ranges.d.mts +0 -4
- package/Bidi_Class/European_Terminator/regex.d.mts +0 -2
- package/Bidi_Class/European_Terminator/symbols.d.mts +0 -2
- package/Bidi_Class/Left_To_Right/code-points.d.mts +0 -2
- package/Bidi_Class/Left_To_Right/ranges.d.mts +0 -4
- package/Bidi_Class/Left_To_Right/regex.d.mts +0 -2
- package/Bidi_Class/Left_To_Right/symbols.d.mts +0 -2
- package/Bidi_Class/Other_Neutral/code-points.d.mts +0 -2
- package/Bidi_Class/Other_Neutral/ranges.d.mts +0 -4
- package/Bidi_Class/Other_Neutral/regex.d.mts +0 -2
- package/Bidi_Class/Other_Neutral/symbols.d.mts +0 -2
- package/Bidi_Class/Paragraph_Separator/code-points.d.mts +0 -2
- package/Bidi_Class/Paragraph_Separator/ranges.d.mts +0 -4
- package/Bidi_Class/Paragraph_Separator/regex.d.mts +0 -2
- package/Bidi_Class/Paragraph_Separator/symbols.d.mts +0 -2
- package/Bidi_Class/Right_To_Left/code-points.d.mts +0 -2
- package/Bidi_Class/Right_To_Left/ranges.d.mts +0 -4
- package/Bidi_Class/Right_To_Left/regex.d.mts +0 -2
- package/Bidi_Class/Right_To_Left/symbols.d.mts +0 -2
- package/Bidi_Class/Segment_Separator/code-points.d.mts +0 -2
- package/Bidi_Class/Segment_Separator/ranges.d.mts +0 -4
- package/Bidi_Class/Segment_Separator/regex.d.mts +0 -2
- package/Bidi_Class/Segment_Separator/symbols.d.mts +0 -2
- package/Bidi_Class/White_Space/code-points.d.mts +0 -2
- package/Bidi_Class/White_Space/ranges.d.mts +0 -4
- package/Bidi_Class/White_Space/regex.d.mts +0 -2
- package/Bidi_Class/White_Space/symbols.d.mts +0 -2
- package/Binary_Property/ASCII/code-points.d.mts +0 -2
- package/Binary_Property/ASCII/ranges.d.mts +0 -4
- package/Binary_Property/ASCII/regex.d.mts +0 -2
- package/Binary_Property/ASCII/symbols.d.mts +0 -2
- package/Binary_Property/Alphabetic/code-points.d.mts +0 -2
- package/Binary_Property/Alphabetic/ranges.d.mts +0 -4
- package/Binary_Property/Alphabetic/regex.d.mts +0 -2
- package/Binary_Property/Alphabetic/symbols.d.mts +0 -2
- package/Binary_Property/Any/code-points.d.mts +0 -2
- package/Binary_Property/Any/ranges.d.mts +0 -4
- package/Binary_Property/Any/regex.d.mts +0 -2
- package/Binary_Property/Any/symbols.d.mts +0 -2
- package/Binary_Property/Assigned/code-points.d.mts +0 -2
- package/Binary_Property/Assigned/ranges.d.mts +0 -4
- package/Binary_Property/Assigned/regex.d.mts +0 -2
- package/Binary_Property/Assigned/symbols.d.mts +0 -2
- package/Binary_Property/Bidi_Control/code-points.d.mts +0 -2
- package/Binary_Property/Bidi_Control/ranges.d.mts +0 -4
- package/Binary_Property/Bidi_Control/regex.d.mts +0 -2
- package/Binary_Property/Bidi_Control/symbols.d.mts +0 -2
- package/Binary_Property/Bidi_Mirrored/code-points.d.mts +0 -2
- package/Binary_Property/Bidi_Mirrored/ranges.d.mts +0 -4
- package/Binary_Property/Bidi_Mirrored/regex.d.mts +0 -2
- package/Binary_Property/Bidi_Mirrored/symbols.d.mts +0 -2
- package/Binary_Property/Combining/code-points.d.mts +0 -2
- package/Binary_Property/Combining/ranges.d.mts +0 -4
- package/Binary_Property/Combining/regex.d.mts +0 -2
- package/Binary_Property/Combining/symbols.d.mts +0 -2
- package/Binary_Property/Composite/code-points.d.mts +0 -2
- package/Binary_Property/Composite/ranges.d.mts +0 -4
- package/Binary_Property/Composite/regex.d.mts +0 -2
- package/Binary_Property/Composite/symbols.d.mts +0 -2
- package/Binary_Property/Currency_Symbol/code-points.d.mts +0 -2
- package/Binary_Property/Currency_Symbol/ranges.d.mts +0 -4
- package/Binary_Property/Currency_Symbol/regex.d.mts +0 -2
- package/Binary_Property/Currency_Symbol/symbols.d.mts +0 -2
- package/Binary_Property/Dash/code-points.d.mts +0 -2
- package/Binary_Property/Dash/ranges.d.mts +0 -4
- package/Binary_Property/Dash/regex.d.mts +0 -2
- package/Binary_Property/Dash/symbols.d.mts +0 -2
- package/Binary_Property/Decimal_Digit/code-points.d.mts +0 -2
- package/Binary_Property/Decimal_Digit/ranges.d.mts +0 -4
- package/Binary_Property/Decimal_Digit/regex.d.mts +0 -2
- package/Binary_Property/Decimal_Digit/symbols.d.mts +0 -2
- package/Binary_Property/Delimiter/code-points.d.mts +0 -2
- package/Binary_Property/Delimiter/ranges.d.mts +0 -4
- package/Binary_Property/Delimiter/regex.d.mts +0 -2
- package/Binary_Property/Delimiter/symbols.d.mts +0 -2
- package/Binary_Property/Diacritic/code-points.d.mts +0 -2
- package/Binary_Property/Diacritic/ranges.d.mts +0 -4
- package/Binary_Property/Diacritic/regex.d.mts +0 -2
- package/Binary_Property/Diacritic/symbols.d.mts +0 -2
- package/Binary_Property/Extender/code-points.d.mts +0 -2
- package/Binary_Property/Extender/ranges.d.mts +0 -4
- package/Binary_Property/Extender/regex.d.mts +0 -2
- package/Binary_Property/Extender/symbols.d.mts +0 -2
- package/Binary_Property/Format_Control/code-points.d.mts +0 -2
- package/Binary_Property/Format_Control/ranges.d.mts +0 -4
- package/Binary_Property/Format_Control/regex.d.mts +0 -2
- package/Binary_Property/Format_Control/symbols.d.mts +0 -2
- package/Binary_Property/Hex_Digit/code-points.d.mts +0 -2
- package/Binary_Property/Hex_Digit/ranges.d.mts +0 -4
- package/Binary_Property/Hex_Digit/regex.d.mts +0 -2
- package/Binary_Property/Hex_Digit/symbols.d.mts +0 -2
- package/Binary_Property/High_Surrogate/code-points.d.mts +0 -2
- package/Binary_Property/High_Surrogate/ranges.d.mts +0 -4
- package/Binary_Property/High_Surrogate/regex.d.mts +0 -2
- package/Binary_Property/High_Surrogate/symbols.d.mts +0 -2
- package/Binary_Property/Hyphen/code-points.d.mts +0 -2
- package/Binary_Property/Hyphen/ranges.d.mts +0 -4
- package/Binary_Property/Hyphen/regex.d.mts +0 -2
- package/Binary_Property/Hyphen/symbols.d.mts +0 -2
- package/Binary_Property/ISO_Control/code-points.d.mts +0 -2
- package/Binary_Property/ISO_Control/ranges.d.mts +0 -4
- package/Binary_Property/ISO_Control/regex.d.mts +0 -2
- package/Binary_Property/ISO_Control/symbols.d.mts +0 -2
- package/Binary_Property/Identifier_Part/code-points.d.mts +0 -2
- package/Binary_Property/Identifier_Part/ranges.d.mts +0 -4
- package/Binary_Property/Identifier_Part/regex.d.mts +0 -2
- package/Binary_Property/Identifier_Part/symbols.d.mts +0 -2
- package/Binary_Property/Ideographic/code-points.d.mts +0 -2
- package/Binary_Property/Ideographic/ranges.d.mts +0 -4
- package/Binary_Property/Ideographic/regex.d.mts +0 -2
- package/Binary_Property/Ideographic/symbols.d.mts +0 -2
- package/Binary_Property/Ignorable_Control/code-points.d.mts +0 -2
- package/Binary_Property/Ignorable_Control/ranges.d.mts +0 -4
- package/Binary_Property/Ignorable_Control/regex.d.mts +0 -2
- package/Binary_Property/Ignorable_Control/symbols.d.mts +0 -2
- package/Binary_Property/Join_Control/code-points.d.mts +0 -2
- package/Binary_Property/Join_Control/ranges.d.mts +0 -4
- package/Binary_Property/Join_Control/regex.d.mts +0 -2
- package/Binary_Property/Join_Control/symbols.d.mts +0 -2
- package/Binary_Property/Left_of_Pair/code-points.d.mts +0 -2
- package/Binary_Property/Left_of_Pair/ranges.d.mts +0 -4
- package/Binary_Property/Left_of_Pair/regex.d.mts +0 -2
- package/Binary_Property/Left_of_Pair/symbols.d.mts +0 -2
- package/Binary_Property/Line_Separator/code-points.d.mts +0 -2
- package/Binary_Property/Line_Separator/ranges.d.mts +0 -4
- package/Binary_Property/Line_Separator/regex.d.mts +0 -2
- package/Binary_Property/Line_Separator/symbols.d.mts +0 -2
- package/Binary_Property/Low_Surrogate/code-points.d.mts +0 -2
- package/Binary_Property/Low_Surrogate/ranges.d.mts +0 -4
- package/Binary_Property/Low_Surrogate/regex.d.mts +0 -2
- package/Binary_Property/Low_Surrogate/symbols.d.mts +0 -2
- package/Binary_Property/Math/code-points.d.mts +0 -2
- package/Binary_Property/Math/ranges.d.mts +0 -4
- package/Binary_Property/Math/regex.d.mts +0 -2
- package/Binary_Property/Math/symbols.d.mts +0 -2
- package/Binary_Property/Non-break/code-points.d.mts +0 -2
- package/Binary_Property/Non-break/ranges.d.mts +0 -4
- package/Binary_Property/Non-break/regex.d.mts +0 -2
- package/Binary_Property/Non-break/symbols.d.mts +0 -2
- package/Binary_Property/Non-spacing/code-points.d.mts +0 -2
- package/Binary_Property/Non-spacing/ranges.d.mts +0 -4
- package/Binary_Property/Non-spacing/regex.d.mts +0 -2
- package/Binary_Property/Non-spacing/symbols.d.mts +0 -2
- package/Binary_Property/Numeric/code-points.d.mts +0 -2
- package/Binary_Property/Numeric/ranges.d.mts +0 -4
- package/Binary_Property/Numeric/regex.d.mts +0 -2
- package/Binary_Property/Numeric/symbols.d.mts +0 -2
- package/Binary_Property/Paired_Punctuation/code-points.d.mts +0 -2
- package/Binary_Property/Paired_Punctuation/ranges.d.mts +0 -4
- package/Binary_Property/Paired_Punctuation/regex.d.mts +0 -2
- package/Binary_Property/Paired_Punctuation/symbols.d.mts +0 -2
- package/Binary_Property/Paragraph_Separator/code-points.d.mts +0 -2
- package/Binary_Property/Paragraph_Separator/ranges.d.mts +0 -4
- package/Binary_Property/Paragraph_Separator/regex.d.mts +0 -2
- package/Binary_Property/Paragraph_Separator/symbols.d.mts +0 -2
- package/Binary_Property/Private_Use/code-points.d.mts +0 -2
- package/Binary_Property/Private_Use/ranges.d.mts +0 -4
- package/Binary_Property/Private_Use/regex.d.mts +0 -2
- package/Binary_Property/Private_Use/symbols.d.mts +0 -2
- package/Binary_Property/Private_Use_High_Surrogate/code-points.d.mts +0 -2
- package/Binary_Property/Private_Use_High_Surrogate/ranges.d.mts +0 -4
- package/Binary_Property/Private_Use_High_Surrogate/regex.d.mts +0 -2
- package/Binary_Property/Private_Use_High_Surrogate/symbols.d.mts +0 -2
- package/Binary_Property/Punctuation/code-points.d.mts +0 -2
- package/Binary_Property/Punctuation/ranges.d.mts +0 -4
- package/Binary_Property/Punctuation/regex.d.mts +0 -2
- package/Binary_Property/Punctuation/symbols.d.mts +0 -2
- package/Binary_Property/Quotation_Mark/code-points.d.mts +0 -2
- package/Binary_Property/Quotation_Mark/ranges.d.mts +0 -4
- package/Binary_Property/Quotation_Mark/regex.d.mts +0 -2
- package/Binary_Property/Quotation_Mark/symbols.d.mts +0 -2
- package/Binary_Property/Space/code-points.d.mts +0 -2
- package/Binary_Property/Space/ranges.d.mts +0 -4
- package/Binary_Property/Space/regex.d.mts +0 -2
- package/Binary_Property/Space/symbols.d.mts +0 -2
- package/Binary_Property/Terminal_Punctuation/code-points.d.mts +0 -2
- package/Binary_Property/Terminal_Punctuation/ranges.d.mts +0 -4
- package/Binary_Property/Terminal_Punctuation/regex.d.mts +0 -2
- package/Binary_Property/Terminal_Punctuation/symbols.d.mts +0 -2
- package/Binary_Property/White_space/code-points.d.mts +0 -2
- package/Binary_Property/White_space/ranges.d.mts +0 -4
- package/Binary_Property/White_space/regex.d.mts +0 -2
- package/Binary_Property/White_space/symbols.d.mts +0 -2
- package/Binary_Property/Zero-width/code-points.d.mts +0 -2
- package/Binary_Property/Zero-width/ranges.d.mts +0 -4
- package/Binary_Property/Zero-width/regex.d.mts +0 -2
- package/Binary_Property/Zero-width/symbols.d.mts +0 -2
- package/Block/Alphabetic_Presentation_Forms/code-points.d.mts +0 -2
- package/Block/Alphabetic_Presentation_Forms/ranges.d.mts +0 -4
- package/Block/Alphabetic_Presentation_Forms/regex.d.mts +0 -2
- package/Block/Alphabetic_Presentation_Forms/symbols.d.mts +0 -2
- package/Block/Arabic/code-points.d.mts +0 -2
- package/Block/Arabic/ranges.d.mts +0 -4
- package/Block/Arabic/regex.d.mts +0 -2
- package/Block/Arabic/symbols.d.mts +0 -2
- package/Block/Arabic_Presentation_Forms_A/code-points.d.mts +0 -2
- package/Block/Arabic_Presentation_Forms_A/ranges.d.mts +0 -4
- package/Block/Arabic_Presentation_Forms_A/regex.d.mts +0 -2
- package/Block/Arabic_Presentation_Forms_A/symbols.d.mts +0 -2
- package/Block/Arabic_Presentation_Forms_B/code-points.d.mts +0 -2
- package/Block/Arabic_Presentation_Forms_B/ranges.d.mts +0 -4
- package/Block/Arabic_Presentation_Forms_B/regex.d.mts +0 -2
- package/Block/Arabic_Presentation_Forms_B/symbols.d.mts +0 -2
- package/Block/Armenian/code-points.d.mts +0 -2
- package/Block/Armenian/ranges.d.mts +0 -4
- package/Block/Armenian/regex.d.mts +0 -2
- package/Block/Armenian/symbols.d.mts +0 -2
- package/Block/Arrows/code-points.d.mts +0 -2
- package/Block/Arrows/ranges.d.mts +0 -4
- package/Block/Arrows/regex.d.mts +0 -2
- package/Block/Arrows/symbols.d.mts +0 -2
- package/Block/Basic_Latin/code-points.d.mts +0 -2
- package/Block/Basic_Latin/ranges.d.mts +0 -4
- package/Block/Basic_Latin/regex.d.mts +0 -2
- package/Block/Basic_Latin/symbols.d.mts +0 -2
- package/Block/Bengali/code-points.d.mts +0 -2
- package/Block/Bengali/ranges.d.mts +0 -4
- package/Block/Bengali/regex.d.mts +0 -2
- package/Block/Bengali/symbols.d.mts +0 -2
- package/Block/Block_Elements/code-points.d.mts +0 -2
- package/Block/Block_Elements/ranges.d.mts +0 -4
- package/Block/Block_Elements/regex.d.mts +0 -2
- package/Block/Block_Elements/symbols.d.mts +0 -2
- package/Block/Bopomofo/code-points.d.mts +0 -2
- package/Block/Bopomofo/ranges.d.mts +0 -4
- package/Block/Bopomofo/regex.d.mts +0 -2
- package/Block/Bopomofo/symbols.d.mts +0 -2
- package/Block/Box_Drawing/code-points.d.mts +0 -2
- package/Block/Box_Drawing/ranges.d.mts +0 -4
- package/Block/Box_Drawing/regex.d.mts +0 -2
- package/Block/Box_Drawing/symbols.d.mts +0 -2
- package/Block/CJK_Compatibility/code-points.d.mts +0 -2
- package/Block/CJK_Compatibility/ranges.d.mts +0 -4
- package/Block/CJK_Compatibility/regex.d.mts +0 -2
- package/Block/CJK_Compatibility/symbols.d.mts +0 -2
- package/Block/CJK_Compatibility_Forms/code-points.d.mts +0 -2
- package/Block/CJK_Compatibility_Forms/ranges.d.mts +0 -4
- package/Block/CJK_Compatibility_Forms/regex.d.mts +0 -2
- package/Block/CJK_Compatibility_Forms/symbols.d.mts +0 -2
- package/Block/CJK_Compatibility_Ideographs/code-points.d.mts +0 -2
- package/Block/CJK_Compatibility_Ideographs/ranges.d.mts +0 -4
- package/Block/CJK_Compatibility_Ideographs/regex.d.mts +0 -2
- package/Block/CJK_Compatibility_Ideographs/symbols.d.mts +0 -2
- package/Block/CJK_Symbols_And_Punctuation/code-points.d.mts +0 -2
- package/Block/CJK_Symbols_And_Punctuation/ranges.d.mts +0 -4
- package/Block/CJK_Symbols_And_Punctuation/regex.d.mts +0 -2
- package/Block/CJK_Symbols_And_Punctuation/symbols.d.mts +0 -2
- package/Block/CJK_Unified_Ideographs/code-points.d.mts +0 -2
- package/Block/CJK_Unified_Ideographs/ranges.d.mts +0 -4
- package/Block/CJK_Unified_Ideographs/regex.d.mts +0 -2
- package/Block/CJK_Unified_Ideographs/symbols.d.mts +0 -2
- package/Block/Combining_Diacritical_Marks/code-points.d.mts +0 -2
- package/Block/Combining_Diacritical_Marks/ranges.d.mts +0 -4
- package/Block/Combining_Diacritical_Marks/regex.d.mts +0 -2
- package/Block/Combining_Diacritical_Marks/symbols.d.mts +0 -2
- package/Block/Combining_Diacritical_Marks_For_Symbols/code-points.d.mts +0 -2
- package/Block/Combining_Diacritical_Marks_For_Symbols/ranges.d.mts +0 -4
- package/Block/Combining_Diacritical_Marks_For_Symbols/regex.d.mts +0 -2
- package/Block/Combining_Diacritical_Marks_For_Symbols/symbols.d.mts +0 -2
- package/Block/Combining_Half_Marks/code-points.d.mts +0 -2
- package/Block/Combining_Half_Marks/ranges.d.mts +0 -4
- package/Block/Combining_Half_Marks/regex.d.mts +0 -2
- package/Block/Combining_Half_Marks/symbols.d.mts +0 -2
- package/Block/Control_Pictures/code-points.d.mts +0 -2
- package/Block/Control_Pictures/ranges.d.mts +0 -4
- package/Block/Control_Pictures/regex.d.mts +0 -2
- package/Block/Control_Pictures/symbols.d.mts +0 -2
- package/Block/Currency_Symbols/code-points.d.mts +0 -2
- package/Block/Currency_Symbols/ranges.d.mts +0 -4
- package/Block/Currency_Symbols/regex.d.mts +0 -2
- package/Block/Currency_Symbols/symbols.d.mts +0 -2
- package/Block/Cyrillic/code-points.d.mts +0 -2
- package/Block/Cyrillic/ranges.d.mts +0 -4
- package/Block/Cyrillic/regex.d.mts +0 -2
- package/Block/Cyrillic/symbols.d.mts +0 -2
- package/Block/Devanagari/code-points.d.mts +0 -2
- package/Block/Devanagari/ranges.d.mts +0 -4
- package/Block/Devanagari/regex.d.mts +0 -2
- package/Block/Devanagari/symbols.d.mts +0 -2
- package/Block/Dingbats/code-points.d.mts +0 -2
- package/Block/Dingbats/ranges.d.mts +0 -4
- package/Block/Dingbats/regex.d.mts +0 -2
- package/Block/Dingbats/symbols.d.mts +0 -2
- package/Block/Enclosed_Alphanumerics/code-points.d.mts +0 -2
- package/Block/Enclosed_Alphanumerics/ranges.d.mts +0 -4
- package/Block/Enclosed_Alphanumerics/regex.d.mts +0 -2
- package/Block/Enclosed_Alphanumerics/symbols.d.mts +0 -2
- package/Block/Enclosed_CJK_Letters_And_Months/code-points.d.mts +0 -2
- package/Block/Enclosed_CJK_Letters_And_Months/ranges.d.mts +0 -4
- package/Block/Enclosed_CJK_Letters_And_Months/regex.d.mts +0 -2
- package/Block/Enclosed_CJK_Letters_And_Months/symbols.d.mts +0 -2
- package/Block/General_Punctuation/code-points.d.mts +0 -2
- package/Block/General_Punctuation/ranges.d.mts +0 -4
- package/Block/General_Punctuation/regex.d.mts +0 -2
- package/Block/General_Punctuation/symbols.d.mts +0 -2
- package/Block/Geometric_Shapes/code-points.d.mts +0 -2
- package/Block/Geometric_Shapes/ranges.d.mts +0 -4
- package/Block/Geometric_Shapes/regex.d.mts +0 -2
- package/Block/Geometric_Shapes/symbols.d.mts +0 -2
- package/Block/Georgian/code-points.d.mts +0 -2
- package/Block/Georgian/ranges.d.mts +0 -4
- package/Block/Georgian/regex.d.mts +0 -2
- package/Block/Georgian/symbols.d.mts +0 -2
- package/Block/Greek_And_Coptic/code-points.d.mts +0 -2
- package/Block/Greek_And_Coptic/ranges.d.mts +0 -4
- package/Block/Greek_And_Coptic/regex.d.mts +0 -2
- package/Block/Greek_And_Coptic/symbols.d.mts +0 -2
- package/Block/Greek_Extended/code-points.d.mts +0 -2
- package/Block/Greek_Extended/ranges.d.mts +0 -4
- package/Block/Greek_Extended/regex.d.mts +0 -2
- package/Block/Greek_Extended/symbols.d.mts +0 -2
- package/Block/Gujarati/code-points.d.mts +0 -2
- package/Block/Gujarati/ranges.d.mts +0 -4
- package/Block/Gujarati/regex.d.mts +0 -2
- package/Block/Gujarati/symbols.d.mts +0 -2
- package/Block/Gurmukhi/code-points.d.mts +0 -2
- package/Block/Gurmukhi/ranges.d.mts +0 -4
- package/Block/Gurmukhi/regex.d.mts +0 -2
- package/Block/Gurmukhi/symbols.d.mts +0 -2
- package/Block/Halfwidth_And_Fullwidth_Forms/code-points.d.mts +0 -2
- package/Block/Halfwidth_And_Fullwidth_Forms/ranges.d.mts +0 -4
- package/Block/Halfwidth_And_Fullwidth_Forms/regex.d.mts +0 -2
- package/Block/Halfwidth_And_Fullwidth_Forms/symbols.d.mts +0 -2
- package/Block/Hangul_Compatibility_Jamo/code-points.d.mts +0 -2
- package/Block/Hangul_Compatibility_Jamo/ranges.d.mts +0 -4
- package/Block/Hangul_Compatibility_Jamo/regex.d.mts +0 -2
- package/Block/Hangul_Compatibility_Jamo/symbols.d.mts +0 -2
- package/Block/Hangul_Jamo/code-points.d.mts +0 -2
- package/Block/Hangul_Jamo/ranges.d.mts +0 -4
- package/Block/Hangul_Jamo/regex.d.mts +0 -2
- package/Block/Hangul_Jamo/symbols.d.mts +0 -2
- package/Block/Hangul_Syllables/code-points.d.mts +0 -2
- package/Block/Hangul_Syllables/ranges.d.mts +0 -4
- package/Block/Hangul_Syllables/regex.d.mts +0 -2
- package/Block/Hangul_Syllables/symbols.d.mts +0 -2
- package/Block/Hebrew/code-points.d.mts +0 -2
- package/Block/Hebrew/ranges.d.mts +0 -4
- package/Block/Hebrew/regex.d.mts +0 -2
- package/Block/Hebrew/symbols.d.mts +0 -2
- package/Block/High_Private_Use_Surrogates/code-points.d.mts +0 -2
- package/Block/High_Private_Use_Surrogates/ranges.d.mts +0 -4
- package/Block/High_Private_Use_Surrogates/regex.d.mts +0 -2
- package/Block/High_Private_Use_Surrogates/symbols.d.mts +0 -2
- package/Block/High_Surrogates/code-points.d.mts +0 -2
- package/Block/High_Surrogates/ranges.d.mts +0 -4
- package/Block/High_Surrogates/regex.d.mts +0 -2
- package/Block/High_Surrogates/symbols.d.mts +0 -2
- package/Block/Hiragana/code-points.d.mts +0 -2
- package/Block/Hiragana/ranges.d.mts +0 -4
- package/Block/Hiragana/regex.d.mts +0 -2
- package/Block/Hiragana/symbols.d.mts +0 -2
- package/Block/IPA_Extensions/code-points.d.mts +0 -2
- package/Block/IPA_Extensions/ranges.d.mts +0 -4
- package/Block/IPA_Extensions/regex.d.mts +0 -2
- package/Block/IPA_Extensions/symbols.d.mts +0 -2
- package/Block/Kanbun/code-points.d.mts +0 -2
- package/Block/Kanbun/ranges.d.mts +0 -4
- package/Block/Kanbun/regex.d.mts +0 -2
- package/Block/Kanbun/symbols.d.mts +0 -2
- package/Block/Kannada/code-points.d.mts +0 -2
- package/Block/Kannada/ranges.d.mts +0 -4
- package/Block/Kannada/regex.d.mts +0 -2
- package/Block/Kannada/symbols.d.mts +0 -2
- package/Block/Katakana/code-points.d.mts +0 -2
- package/Block/Katakana/ranges.d.mts +0 -4
- package/Block/Katakana/regex.d.mts +0 -2
- package/Block/Katakana/symbols.d.mts +0 -2
- package/Block/Lao/code-points.d.mts +0 -2
- package/Block/Lao/ranges.d.mts +0 -4
- package/Block/Lao/regex.d.mts +0 -2
- package/Block/Lao/symbols.d.mts +0 -2
- package/Block/Latin_1_Supplement/code-points.d.mts +0 -2
- package/Block/Latin_1_Supplement/ranges.d.mts +0 -4
- package/Block/Latin_1_Supplement/regex.d.mts +0 -2
- package/Block/Latin_1_Supplement/symbols.d.mts +0 -2
- package/Block/Latin_Extended_A/code-points.d.mts +0 -2
- package/Block/Latin_Extended_A/ranges.d.mts +0 -4
- package/Block/Latin_Extended_A/regex.d.mts +0 -2
- package/Block/Latin_Extended_A/symbols.d.mts +0 -2
- package/Block/Latin_Extended_Additional/code-points.d.mts +0 -2
- package/Block/Latin_Extended_Additional/ranges.d.mts +0 -4
- package/Block/Latin_Extended_Additional/regex.d.mts +0 -2
- package/Block/Latin_Extended_Additional/symbols.d.mts +0 -2
- package/Block/Latin_Extended_B/code-points.d.mts +0 -2
- package/Block/Latin_Extended_B/ranges.d.mts +0 -4
- package/Block/Latin_Extended_B/regex.d.mts +0 -2
- package/Block/Latin_Extended_B/symbols.d.mts +0 -2
- package/Block/Letterlike_Symbols/code-points.d.mts +0 -2
- package/Block/Letterlike_Symbols/ranges.d.mts +0 -4
- package/Block/Letterlike_Symbols/regex.d.mts +0 -2
- package/Block/Letterlike_Symbols/symbols.d.mts +0 -2
- package/Block/Low_Surrogates/code-points.d.mts +0 -2
- package/Block/Low_Surrogates/ranges.d.mts +0 -4
- package/Block/Low_Surrogates/regex.d.mts +0 -2
- package/Block/Low_Surrogates/symbols.d.mts +0 -2
- package/Block/Malayalam/code-points.d.mts +0 -2
- package/Block/Malayalam/ranges.d.mts +0 -4
- package/Block/Malayalam/regex.d.mts +0 -2
- package/Block/Malayalam/symbols.d.mts +0 -2
- package/Block/Mathematical_Operators/code-points.d.mts +0 -2
- package/Block/Mathematical_Operators/ranges.d.mts +0 -4
- package/Block/Mathematical_Operators/regex.d.mts +0 -2
- package/Block/Mathematical_Operators/symbols.d.mts +0 -2
- package/Block/Miscellaneous_Symbols/code-points.d.mts +0 -2
- package/Block/Miscellaneous_Symbols/ranges.d.mts +0 -4
- package/Block/Miscellaneous_Symbols/regex.d.mts +0 -2
- package/Block/Miscellaneous_Symbols/symbols.d.mts +0 -2
- package/Block/Miscellaneous_Technical/code-points.d.mts +0 -2
- package/Block/Miscellaneous_Technical/ranges.d.mts +0 -4
- package/Block/Miscellaneous_Technical/regex.d.mts +0 -2
- package/Block/Miscellaneous_Technical/symbols.d.mts +0 -2
- package/Block/Number_Forms/code-points.d.mts +0 -2
- package/Block/Number_Forms/ranges.d.mts +0 -4
- package/Block/Number_Forms/regex.d.mts +0 -2
- package/Block/Number_Forms/symbols.d.mts +0 -2
- package/Block/Optical_Character_Recognition/code-points.d.mts +0 -2
- package/Block/Optical_Character_Recognition/ranges.d.mts +0 -4
- package/Block/Optical_Character_Recognition/regex.d.mts +0 -2
- package/Block/Optical_Character_Recognition/symbols.d.mts +0 -2
- package/Block/Oriya/code-points.d.mts +0 -2
- package/Block/Oriya/ranges.d.mts +0 -4
- package/Block/Oriya/regex.d.mts +0 -2
- package/Block/Oriya/symbols.d.mts +0 -2
- package/Block/Private_Use_Area/code-points.d.mts +0 -2
- package/Block/Private_Use_Area/ranges.d.mts +0 -4
- package/Block/Private_Use_Area/regex.d.mts +0 -2
- package/Block/Private_Use_Area/symbols.d.mts +0 -2
- package/Block/Small_Form_Variants/code-points.d.mts +0 -2
- package/Block/Small_Form_Variants/ranges.d.mts +0 -4
- package/Block/Small_Form_Variants/regex.d.mts +0 -2
- package/Block/Small_Form_Variants/symbols.d.mts +0 -2
- package/Block/Spacing_Modifier_Letters/code-points.d.mts +0 -2
- package/Block/Spacing_Modifier_Letters/ranges.d.mts +0 -4
- package/Block/Spacing_Modifier_Letters/regex.d.mts +0 -2
- package/Block/Spacing_Modifier_Letters/symbols.d.mts +0 -2
- package/Block/Specials/code-points.d.mts +0 -2
- package/Block/Specials/ranges.d.mts +0 -4
- package/Block/Specials/regex.d.mts +0 -2
- package/Block/Specials/symbols.d.mts +0 -2
- package/Block/Superscripts_And_Subscripts/code-points.d.mts +0 -2
- package/Block/Superscripts_And_Subscripts/ranges.d.mts +0 -4
- package/Block/Superscripts_And_Subscripts/regex.d.mts +0 -2
- package/Block/Superscripts_And_Subscripts/symbols.d.mts +0 -2
- package/Block/Tamil/code-points.d.mts +0 -2
- package/Block/Tamil/ranges.d.mts +0 -4
- package/Block/Tamil/regex.d.mts +0 -2
- package/Block/Tamil/symbols.d.mts +0 -2
- package/Block/Telugu/code-points.d.mts +0 -2
- package/Block/Telugu/ranges.d.mts +0 -4
- package/Block/Telugu/regex.d.mts +0 -2
- package/Block/Telugu/symbols.d.mts +0 -2
- package/Block/Thai/code-points.d.mts +0 -2
- package/Block/Thai/ranges.d.mts +0 -4
- package/Block/Thai/regex.d.mts +0 -2
- package/Block/Thai/symbols.d.mts +0 -2
- package/Block/Tibetan/code-points.d.mts +0 -2
- package/Block/Tibetan/ranges.d.mts +0 -4
- package/Block/Tibetan/regex.d.mts +0 -2
- package/Block/Tibetan/symbols.d.mts +0 -2
- package/General_Category/Cased_Letter/code-points.d.mts +0 -2
- package/General_Category/Cased_Letter/ranges.d.mts +0 -4
- package/General_Category/Cased_Letter/regex.d.mts +0 -2
- package/General_Category/Cased_Letter/symbols.d.mts +0 -2
- package/General_Category/Close_Punctuation/code-points.d.mts +0 -2
- package/General_Category/Close_Punctuation/ranges.d.mts +0 -4
- package/General_Category/Close_Punctuation/regex.d.mts +0 -2
- package/General_Category/Close_Punctuation/symbols.d.mts +0 -2
- package/General_Category/Connector_Punctuation/code-points.d.mts +0 -2
- package/General_Category/Connector_Punctuation/ranges.d.mts +0 -4
- package/General_Category/Connector_Punctuation/regex.d.mts +0 -2
- package/General_Category/Connector_Punctuation/symbols.d.mts +0 -2
- package/General_Category/Control/code-points.d.mts +0 -2
- package/General_Category/Control/ranges.d.mts +0 -4
- package/General_Category/Control/regex.d.mts +0 -2
- package/General_Category/Control/symbols.d.mts +0 -2
- package/General_Category/Currency_Symbol/code-points.d.mts +0 -2
- package/General_Category/Currency_Symbol/ranges.d.mts +0 -4
- package/General_Category/Currency_Symbol/regex.d.mts +0 -2
- package/General_Category/Currency_Symbol/symbols.d.mts +0 -2
- package/General_Category/Dash_Punctuation/code-points.d.mts +0 -2
- package/General_Category/Dash_Punctuation/ranges.d.mts +0 -4
- package/General_Category/Dash_Punctuation/regex.d.mts +0 -2
- package/General_Category/Dash_Punctuation/symbols.d.mts +0 -2
- package/General_Category/Decimal_Number/code-points.d.mts +0 -2
- package/General_Category/Decimal_Number/ranges.d.mts +0 -4
- package/General_Category/Decimal_Number/regex.d.mts +0 -2
- package/General_Category/Decimal_Number/symbols.d.mts +0 -2
- package/General_Category/Enclosing_Mark/code-points.d.mts +0 -2
- package/General_Category/Enclosing_Mark/ranges.d.mts +0 -4
- package/General_Category/Enclosing_Mark/regex.d.mts +0 -2
- package/General_Category/Enclosing_Mark/symbols.d.mts +0 -2
- package/General_Category/Format/code-points.d.mts +0 -2
- package/General_Category/Format/ranges.d.mts +0 -4
- package/General_Category/Format/regex.d.mts +0 -2
- package/General_Category/Format/symbols.d.mts +0 -2
- package/General_Category/Letter/code-points.d.mts +0 -2
- package/General_Category/Letter/ranges.d.mts +0 -4
- package/General_Category/Letter/regex.d.mts +0 -2
- package/General_Category/Letter/symbols.d.mts +0 -2
- package/General_Category/Letter_Number/code-points.d.mts +0 -2
- package/General_Category/Letter_Number/ranges.d.mts +0 -4
- package/General_Category/Letter_Number/regex.d.mts +0 -2
- package/General_Category/Letter_Number/symbols.d.mts +0 -2
- package/General_Category/Line_Separator/code-points.d.mts +0 -2
- package/General_Category/Line_Separator/ranges.d.mts +0 -4
- package/General_Category/Line_Separator/regex.d.mts +0 -2
- package/General_Category/Line_Separator/symbols.d.mts +0 -2
- package/General_Category/Lowercase_Letter/code-points.d.mts +0 -2
- package/General_Category/Lowercase_Letter/ranges.d.mts +0 -4
- package/General_Category/Lowercase_Letter/regex.d.mts +0 -2
- package/General_Category/Lowercase_Letter/symbols.d.mts +0 -2
- package/General_Category/Mark/code-points.d.mts +0 -2
- package/General_Category/Mark/ranges.d.mts +0 -4
- package/General_Category/Mark/regex.d.mts +0 -2
- package/General_Category/Mark/symbols.d.mts +0 -2
- package/General_Category/Math_Symbol/code-points.d.mts +0 -2
- package/General_Category/Math_Symbol/ranges.d.mts +0 -4
- package/General_Category/Math_Symbol/regex.d.mts +0 -2
- package/General_Category/Math_Symbol/symbols.d.mts +0 -2
- package/General_Category/Modifier_Letter/code-points.d.mts +0 -2
- package/General_Category/Modifier_Letter/ranges.d.mts +0 -4
- package/General_Category/Modifier_Letter/regex.d.mts +0 -2
- package/General_Category/Modifier_Letter/symbols.d.mts +0 -2
- package/General_Category/Modifier_Symbol/code-points.d.mts +0 -2
- package/General_Category/Modifier_Symbol/ranges.d.mts +0 -4
- package/General_Category/Modifier_Symbol/regex.d.mts +0 -2
- package/General_Category/Modifier_Symbol/symbols.d.mts +0 -2
- package/General_Category/Nonspacing_Mark/code-points.d.mts +0 -2
- package/General_Category/Nonspacing_Mark/ranges.d.mts +0 -4
- package/General_Category/Nonspacing_Mark/regex.d.mts +0 -2
- package/General_Category/Nonspacing_Mark/symbols.d.mts +0 -2
- package/General_Category/Number/code-points.d.mts +0 -2
- package/General_Category/Number/ranges.d.mts +0 -4
- package/General_Category/Number/regex.d.mts +0 -2
- package/General_Category/Number/symbols.d.mts +0 -2
- package/General_Category/Open_Punctuation/code-points.d.mts +0 -2
- package/General_Category/Open_Punctuation/ranges.d.mts +0 -4
- package/General_Category/Open_Punctuation/regex.d.mts +0 -2
- package/General_Category/Open_Punctuation/symbols.d.mts +0 -2
- package/General_Category/Other/code-points.d.mts +0 -2
- package/General_Category/Other/ranges.d.mts +0 -4
- package/General_Category/Other/regex.d.mts +0 -2
- package/General_Category/Other/symbols.d.mts +0 -2
- package/General_Category/Other_Letter/code-points.d.mts +0 -2
- package/General_Category/Other_Letter/ranges.d.mts +0 -4
- package/General_Category/Other_Letter/regex.d.mts +0 -2
- package/General_Category/Other_Letter/symbols.d.mts +0 -2
- package/General_Category/Other_Number/code-points.d.mts +0 -2
- package/General_Category/Other_Number/ranges.d.mts +0 -4
- package/General_Category/Other_Number/regex.d.mts +0 -2
- package/General_Category/Other_Number/symbols.d.mts +0 -2
- package/General_Category/Other_Punctuation/code-points.d.mts +0 -2
- package/General_Category/Other_Punctuation/ranges.d.mts +0 -4
- package/General_Category/Other_Punctuation/regex.d.mts +0 -2
- package/General_Category/Other_Punctuation/symbols.d.mts +0 -2
- package/General_Category/Other_Symbol/code-points.d.mts +0 -2
- package/General_Category/Other_Symbol/ranges.d.mts +0 -4
- package/General_Category/Other_Symbol/regex.d.mts +0 -2
- package/General_Category/Other_Symbol/symbols.d.mts +0 -2
- package/General_Category/Paragraph_Separator/code-points.d.mts +0 -2
- package/General_Category/Paragraph_Separator/ranges.d.mts +0 -4
- package/General_Category/Paragraph_Separator/regex.d.mts +0 -2
- package/General_Category/Paragraph_Separator/symbols.d.mts +0 -2
- package/General_Category/Private_Use/code-points.d.mts +0 -2
- package/General_Category/Private_Use/ranges.d.mts +0 -4
- package/General_Category/Private_Use/regex.d.mts +0 -2
- package/General_Category/Private_Use/symbols.d.mts +0 -2
- package/General_Category/Punctuation/code-points.d.mts +0 -2
- package/General_Category/Punctuation/ranges.d.mts +0 -4
- package/General_Category/Punctuation/regex.d.mts +0 -2
- package/General_Category/Punctuation/symbols.d.mts +0 -2
- package/General_Category/Separator/code-points.d.mts +0 -2
- package/General_Category/Separator/ranges.d.mts +0 -4
- package/General_Category/Separator/regex.d.mts +0 -2
- package/General_Category/Separator/symbols.d.mts +0 -2
- package/General_Category/Space_Separator/code-points.d.mts +0 -2
- package/General_Category/Space_Separator/ranges.d.mts +0 -4
- package/General_Category/Space_Separator/regex.d.mts +0 -2
- package/General_Category/Space_Separator/symbols.d.mts +0 -2
- package/General_Category/Spacing_Mark/code-points.d.mts +0 -2
- package/General_Category/Spacing_Mark/ranges.d.mts +0 -4
- package/General_Category/Spacing_Mark/regex.d.mts +0 -2
- package/General_Category/Spacing_Mark/symbols.d.mts +0 -2
- package/General_Category/Surrogate/code-points.d.mts +0 -2
- package/General_Category/Surrogate/ranges.d.mts +0 -4
- package/General_Category/Surrogate/regex.d.mts +0 -2
- package/General_Category/Surrogate/symbols.d.mts +0 -2
- package/General_Category/Symbol/code-points.d.mts +0 -2
- package/General_Category/Symbol/ranges.d.mts +0 -4
- package/General_Category/Symbol/regex.d.mts +0 -2
- package/General_Category/Symbol/symbols.d.mts +0 -2
- package/General_Category/Titlecase_Letter/code-points.d.mts +0 -2
- package/General_Category/Titlecase_Letter/ranges.d.mts +0 -4
- package/General_Category/Titlecase_Letter/regex.d.mts +0 -2
- package/General_Category/Titlecase_Letter/symbols.d.mts +0 -2
- package/General_Category/Unassigned/code-points.d.mts +0 -2
- package/General_Category/Unassigned/ranges.d.mts +0 -4
- package/General_Category/Unassigned/regex.d.mts +0 -2
- package/General_Category/Unassigned/symbols.d.mts +0 -2
- package/General_Category/Uppercase_Letter/code-points.d.mts +0 -2
- package/General_Category/Uppercase_Letter/ranges.d.mts +0 -4
- package/General_Category/Uppercase_Letter/regex.d.mts +0 -2
- package/General_Category/Uppercase_Letter/symbols.d.mts +0 -2
- /package/{Bidi_Class/Arabic_Number → types}/code-points.d.mts +0 -0
- /package/{Bidi_Class/Arabic_Number → types}/regex.d.mts +0 -0
- /package/{Bidi_Class/Arabic_Number → types}/symbols.d.mts +0 -0
package/README.md
CHANGED
|
@@ -12,6 +12,8 @@ npm install @unicode/unicode-2.1.2 --save-dev
|
|
|
12
12
|
|
|
13
13
|
**Note:** _@unicode/unicode-2.1.2_ is supposed to be used in build scripts (i.e. as a `devDependency`), and not at runtime (i.e. as a regular `dependency`).
|
|
14
14
|
|
|
15
|
+
TypeScript declarations are included. They require TypeScript 4.7 or newer, which is the first version that understands `.d.mts` declaration files.
|
|
16
|
+
|
|
15
17
|
## Regular expressions
|
|
16
18
|
|
|
17
19
|
The Unicode data modules ship with pre-compiled regular expressions for categories, scripts, script extensions, blocks, and properties. But maybe you want to create a single regular expression that combines several categories, scripts, etc. In that case, [***you should use Regenerate***](https://mths.be/regenerate). For example, to construct a regex that matches all symbols in the Arabic and Greek scripts as per Unicode v6.3.0:
|
|
@@ -701,6 +703,59 @@ import TitlecaseSymbols from '@unicode/unicode-2.1.2/Simple_Case_Mapping/Titleca
|
|
|
701
703
|
|
|
702
704
|
import UppercaseCodePoints from '@unicode/unicode-2.1.2/Simple_Case_Mapping/Uppercase/code-points.mjs'; // Lookup map from code point to code point or array of code points.
|
|
703
705
|
import UppercaseSymbols from '@unicode/unicode-2.1.2/Simple_Case_Mapping/Uppercase/symbols.mjs'; // Lookup map from symbol to symbol(s).
|
|
706
|
+
|
|
707
|
+
// `Decomposition_Mapping`:
|
|
708
|
+
|
|
709
|
+
import CanonicalCodePoints from '@unicode/unicode-2.1.2/Decomposition_Mapping/Canonical/code-points.mjs'; // Lookup map from code point to code point or array of code points.
|
|
710
|
+
import CanonicalSymbols from '@unicode/unicode-2.1.2/Decomposition_Mapping/Canonical/symbols.mjs'; // Lookup map from symbol to symbol(s).
|
|
711
|
+
|
|
712
|
+
import CircleCodePoints from '@unicode/unicode-2.1.2/Decomposition_Mapping/Circle/code-points.mjs'; // Lookup map from code point to code point or array of code points.
|
|
713
|
+
import CircleSymbols from '@unicode/unicode-2.1.2/Decomposition_Mapping/Circle/symbols.mjs'; // Lookup map from symbol to symbol(s).
|
|
714
|
+
|
|
715
|
+
import CompatCodePoints from '@unicode/unicode-2.1.2/Decomposition_Mapping/Compat/code-points.mjs'; // Lookup map from code point to code point or array of code points.
|
|
716
|
+
import CompatSymbols from '@unicode/unicode-2.1.2/Decomposition_Mapping/Compat/symbols.mjs'; // Lookup map from symbol to symbol(s).
|
|
717
|
+
|
|
718
|
+
import FinalCodePoints from '@unicode/unicode-2.1.2/Decomposition_Mapping/Final/code-points.mjs'; // Lookup map from code point to code point or array of code points.
|
|
719
|
+
import FinalSymbols from '@unicode/unicode-2.1.2/Decomposition_Mapping/Final/symbols.mjs'; // Lookup map from symbol to symbol(s).
|
|
720
|
+
|
|
721
|
+
import FontCodePoints from '@unicode/unicode-2.1.2/Decomposition_Mapping/Font/code-points.mjs'; // Lookup map from code point to code point or array of code points.
|
|
722
|
+
import FontSymbols from '@unicode/unicode-2.1.2/Decomposition_Mapping/Font/symbols.mjs'; // Lookup map from symbol to symbol(s).
|
|
723
|
+
|
|
724
|
+
import FractionCodePoints from '@unicode/unicode-2.1.2/Decomposition_Mapping/Fraction/code-points.mjs'; // Lookup map from code point to code point or array of code points.
|
|
725
|
+
import FractionSymbols from '@unicode/unicode-2.1.2/Decomposition_Mapping/Fraction/symbols.mjs'; // Lookup map from symbol to symbol(s).
|
|
726
|
+
|
|
727
|
+
import InitialCodePoints from '@unicode/unicode-2.1.2/Decomposition_Mapping/Initial/code-points.mjs'; // Lookup map from code point to code point or array of code points.
|
|
728
|
+
import InitialSymbols from '@unicode/unicode-2.1.2/Decomposition_Mapping/Initial/symbols.mjs'; // Lookup map from symbol to symbol(s).
|
|
729
|
+
|
|
730
|
+
import IsolatedCodePoints from '@unicode/unicode-2.1.2/Decomposition_Mapping/Isolated/code-points.mjs'; // Lookup map from code point to code point or array of code points.
|
|
731
|
+
import IsolatedSymbols from '@unicode/unicode-2.1.2/Decomposition_Mapping/Isolated/symbols.mjs'; // Lookup map from symbol to symbol(s).
|
|
732
|
+
|
|
733
|
+
import MedialCodePoints from '@unicode/unicode-2.1.2/Decomposition_Mapping/Medial/code-points.mjs'; // Lookup map from code point to code point or array of code points.
|
|
734
|
+
import MedialSymbols from '@unicode/unicode-2.1.2/Decomposition_Mapping/Medial/symbols.mjs'; // Lookup map from symbol to symbol(s).
|
|
735
|
+
|
|
736
|
+
import NarrowCodePoints from '@unicode/unicode-2.1.2/Decomposition_Mapping/Narrow/code-points.mjs'; // Lookup map from code point to code point or array of code points.
|
|
737
|
+
import NarrowSymbols from '@unicode/unicode-2.1.2/Decomposition_Mapping/Narrow/symbols.mjs'; // Lookup map from symbol to symbol(s).
|
|
738
|
+
|
|
739
|
+
import NobreakCodePoints from '@unicode/unicode-2.1.2/Decomposition_Mapping/Nobreak/code-points.mjs'; // Lookup map from code point to code point or array of code points.
|
|
740
|
+
import NobreakSymbols from '@unicode/unicode-2.1.2/Decomposition_Mapping/Nobreak/symbols.mjs'; // Lookup map from symbol to symbol(s).
|
|
741
|
+
|
|
742
|
+
import SmallCodePoints from '@unicode/unicode-2.1.2/Decomposition_Mapping/Small/code-points.mjs'; // Lookup map from code point to code point or array of code points.
|
|
743
|
+
import SmallSymbols from '@unicode/unicode-2.1.2/Decomposition_Mapping/Small/symbols.mjs'; // Lookup map from symbol to symbol(s).
|
|
744
|
+
|
|
745
|
+
import SquareCodePoints from '@unicode/unicode-2.1.2/Decomposition_Mapping/Square/code-points.mjs'; // Lookup map from code point to code point or array of code points.
|
|
746
|
+
import SquareSymbols from '@unicode/unicode-2.1.2/Decomposition_Mapping/Square/symbols.mjs'; // Lookup map from symbol to symbol(s).
|
|
747
|
+
|
|
748
|
+
import SubCodePoints from '@unicode/unicode-2.1.2/Decomposition_Mapping/Sub/code-points.mjs'; // Lookup map from code point to code point or array of code points.
|
|
749
|
+
import SubSymbols from '@unicode/unicode-2.1.2/Decomposition_Mapping/Sub/symbols.mjs'; // Lookup map from symbol to symbol(s).
|
|
750
|
+
|
|
751
|
+
import SuperCodePoints from '@unicode/unicode-2.1.2/Decomposition_Mapping/Super/code-points.mjs'; // Lookup map from code point to code point or array of code points.
|
|
752
|
+
import SuperSymbols from '@unicode/unicode-2.1.2/Decomposition_Mapping/Super/symbols.mjs'; // Lookup map from symbol to symbol(s).
|
|
753
|
+
|
|
754
|
+
import VerticalCodePoints from '@unicode/unicode-2.1.2/Decomposition_Mapping/Vertical/code-points.mjs'; // Lookup map from code point to code point or array of code points.
|
|
755
|
+
import VerticalSymbols from '@unicode/unicode-2.1.2/Decomposition_Mapping/Vertical/symbols.mjs'; // Lookup map from symbol to symbol(s).
|
|
756
|
+
|
|
757
|
+
import WideCodePoints from '@unicode/unicode-2.1.2/Decomposition_Mapping/Wide/code-points.mjs'; // Lookup map from code point to code point or array of code points.
|
|
758
|
+
import WideSymbols from '@unicode/unicode-2.1.2/Decomposition_Mapping/Wide/symbols.mjs'; // Lookup map from symbol to symbol(s).
|
|
704
759
|
```
|
|
705
760
|
|
|
706
761
|
## Author
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { brotliDecompressSync } from 'node:zlib';
|
|
2
|
+
import decodeMapping from '../../decode-mapping.mjs';
|
|
2
3
|
|
|
3
|
-
export default
|
|
4
|
+
export default decodeMapping(brotliDecompressSync(Buffer.from('H5YJAEQVm41TgWfLchkmoCRX5Qn+/3un9/2x7NvSj6tAN0GbAhpjA3USGpsTG1MshVijsgIrC5fvLn6/C3F4YzRK3j4IB91rMUkwq+wZXCAoORUIPauCnrPVLv5YuwPkk4fgrmzkmWjOHuJO5GZkF43dfZSdIDgoG9+F/ORBS1l1cRb+iaFcqH7GAFxABNUHfHe5B5Gc9M+nooT8eA34RPARURACvJd4zXo8kUdk9fuoLBFGQcL5sA5apgco87kZKOiB8AGMHKAJg/FP4/9wo9T/zpt2afjv8vdWB2VwuHWRSzPMCSsLnHu3uvcYHJKSHncuwP5T9abFWGPA5QHxwdLyoPmiz+nzTPLBqukBxZFEJ7iWHwOY8bP/nmewKukVmpfV86MG', 'base64')).toString());
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import codePoints from './code-points.mjs';
|
|
2
|
+
import mappingToSymbols from '../../mapping-to-symbols.mjs';
|
|
2
3
|
|
|
3
|
-
export default
|
|
4
|
+
export default mappingToSymbols(codePoints);
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { brotliDecompressSync } from 'node:zlib';
|
|
2
|
+
import decodeMapping from '../../decode-mapping.mjs';
|
|
2
3
|
|
|
3
|
-
export default
|
|
4
|
+
export default decodeMapping(brotliDecompressSync(Buffer.from('H+4IAERBOc934JlmGahihM///dT7q/wfb9EW+P6X4JEgCbQzH3WADIzmvAHO3qzMXW6sZK9hJ5QQHwi7SI8aahvsrkJC+AnGGeemYFDwFQrxqiQD4josTaOE2m0DpsVtVsIlnt4AtcreTLWYhN8Kps7sVZsdQy6BU6CKa0ljQlRX7FfEcUHcVkRH6VhDwX21Hqd/BZK+RMMZvUTgquTLGRbsggfIcqsOdPaqvV30bT1hF0hL8Hu21D+oaYRYC6OXXSsBlQi0oTT+aUILbk/7u/xzMRhJvwYXxbMbIbGBFtHx4N4D9uwxjOqSmVe2fY/m8VBDST1AC5bOHLVwwvHYiNCxFp2VMrt7VkJjg849hT3dZ/+sPOyf+gqJdefzcQI=', 'base64')).toString());
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import codePoints from './code-points.mjs';
|
|
2
|
+
import mappingToSymbols from '../../mapping-to-symbols.mjs';
|
|
2
3
|
|
|
3
|
-
export default
|
|
4
|
+
export default mappingToSymbols(codePoints);
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { brotliDecompressSync } from 'node:zlib';
|
|
2
|
+
import decodeMapping from '../../decode-mapping.mjs';
|
|
2
3
|
|
|
3
|
-
export default
|
|
4
|
+
export default decodeMapping(brotliDecompressSync(Buffer.from('HwUJIEQhORunSmMuTUEdCj6t/l51f7/3i1iNaBeIJyKtgVSgTDzU23gH0jgngLGHKbpNJwmRl1hqRETcB8Ku6VlDc//l1XgIf4Kx9q0jGJRDCuXYKstt4jGprqKK5mkbppuKOso9aeheIIpyBvc7CH84SKpeaY7OHS6Na6DQTmxGSBjQqE6zMh3q5MguTZQDH9bj+l+H2C/R9ifucbgG1VqSBbvmGgqpBQexAFGO9FulA495be8y/8J3PbkI7JqUKMGfWJW7VjM4sRZG771YBepR0Jzq9KcJXbgT9e/yX0zCiFtNuARe3Qhx2+gS/SBceZw8fAjTknjowpofUoO8zVA1z7CCFfMbLR+wN9Ql9K1FfyvS8ZFV0d6j/8riRPvZf7Ye9p/yDuld/+ffBA==', 'base64')).toString());
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import codePoints from './code-points.mjs';
|
|
2
|
+
import mappingToSymbols from '../../mapping-to-symbols.mjs';
|
|
2
3
|
|
|
3
|
-
export default
|
|
4
|
+
export default mappingToSymbols(codePoints);
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file ships to end users.
|
|
3
|
+
* See `encodeMapping` in scripts/utils.mjs for the encoder.
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import { decodeDeltas } from './decode-ranges.mjs';
|
|
7
|
+
|
|
8
|
+
// Undo zigzag encoding: 0 → 0, 1 → -1, 2 → 1, 3 → -2, …
|
|
9
|
+
const unzigzag = (value) => (value >>> 1) ^ -(value & 1);
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Decode a delta-encoded mapping from code points to code point(s), e.g. a
|
|
13
|
+
* case mapping or a decomposition mapping.
|
|
14
|
+
*
|
|
15
|
+
* `input` is a base64 stream of variable-length integers (see
|
|
16
|
+
* `decodeDeltas`). Each entry consists of the zigzag-encoded difference
|
|
17
|
+
* between its key and the previous key, a count, and then `count` values
|
|
18
|
+
* (or one value, if `count` is 0). Each value is the zigzag-encoded difference
|
|
19
|
+
* from the previous code point in the entry, starting from the key. A count
|
|
20
|
+
* of 0 means the entry maps to a single code point rather than to an array.
|
|
21
|
+
* @param {string} input
|
|
22
|
+
* @returns {Map<number, number | number[]>}
|
|
23
|
+
*/
|
|
24
|
+
const decodeMapping = (input) => {
|
|
25
|
+
const deltas = decodeDeltas(input);
|
|
26
|
+
const map = new Map();
|
|
27
|
+
for (let from = 0, i = 0; i < deltas.length;) {
|
|
28
|
+
from += unzigzag(deltas[i++]);
|
|
29
|
+
const count = deltas[i++];
|
|
30
|
+
let codePoint = from;
|
|
31
|
+
if (count === 0) {
|
|
32
|
+
codePoint += unzigzag(deltas[i++]);
|
|
33
|
+
map.set(from, codePoint);
|
|
34
|
+
} else {
|
|
35
|
+
const codePoints = [];
|
|
36
|
+
for (let j = 0; j < count; j++) {
|
|
37
|
+
codePoint += unzigzag(deltas[i++]);
|
|
38
|
+
codePoints.push(codePoint);
|
|
39
|
+
}
|
|
40
|
+
map.set(from, codePoints);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
return map;
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
export default decodeMapping;
|
package/decode-names.mjs
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file ships to end users.
|
|
3
|
+
* See `encodeNames` in scripts/utils.mjs for the encoder.
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
const base64enc =
|
|
7
|
+
'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_';
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Decode a front-coded table of character names into a map from code point
|
|
11
|
+
* to name.
|
|
12
|
+
*
|
|
13
|
+
* The first line of `input` is a JSON array of `[gap, length]` pairs, one per
|
|
14
|
+
* name, describing the run of code points each name applies to: `gap` is the
|
|
15
|
+
* number of unnamed code points since the end of the previous run, and
|
|
16
|
+
* `length` is the number of consecutive code points sharing the name.
|
|
17
|
+
*
|
|
18
|
+
* Every following line holds one name, front-coded against the previous
|
|
19
|
+
* name: the first character is the base64 digit for the number of leading
|
|
20
|
+
* characters shared with the previous name, and the rest is the remainder.
|
|
21
|
+
* @param {string} input
|
|
22
|
+
*/
|
|
23
|
+
const decodeNames = (input) => {
|
|
24
|
+
const lines = input.split('\n');
|
|
25
|
+
const runs = JSON.parse(lines[0]);
|
|
26
|
+
const map = new Map();
|
|
27
|
+
let previous = '';
|
|
28
|
+
for (let codePoint = 0, i = 1, j = 0; i < lines.length; i++, j += 2) {
|
|
29
|
+
const line = lines[i];
|
|
30
|
+
const name = previous.slice(0, base64enc.indexOf(line[0])) + line.slice(1);
|
|
31
|
+
previous = name;
|
|
32
|
+
codePoint += runs[j];
|
|
33
|
+
for (const end = codePoint + runs[j + 1]; codePoint < end; codePoint++) {
|
|
34
|
+
map.set(codePoint, name);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
return map;
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
export default decodeNames;
|
package/decode-property-map.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Generate [codePoint, value] pairs from RLE array of values.
|
|
3
3
|
*/
|
|
4
|
-
const generateEntries = function*(runs) {
|
|
4
|
+
const generateEntries = function* (runs) {
|
|
5
5
|
const len = runs.length - 2;
|
|
6
|
-
for (let cp = 0, i = 0; i < len;
|
|
6
|
+
for (let cp = 0, i = 0; i < len;) {
|
|
7
7
|
cp += runs[i++];
|
|
8
8
|
const end = cp + runs[i++];
|
|
9
9
|
const value = runs[i++];
|
package/decode-ranges.d.mts
CHANGED
|
@@ -17,4 +17,13 @@ declare namespace decodeRanges {
|
|
|
17
17
|
*/
|
|
18
18
|
declare function decodeRanges(input: string): decodeRanges.UnicodeRange[];
|
|
19
19
|
|
|
20
|
+
/**
|
|
21
|
+
* Base64 decode variable-length deltas (5/10/15/21-bit).
|
|
22
|
+
*/
|
|
23
|
+
declare function decodeDeltas(input: string): number[];
|
|
24
|
+
|
|
25
|
+
type UnicodeRange = decodeRanges.UnicodeRange;
|
|
26
|
+
|
|
27
|
+
export { decodeDeltas };
|
|
28
|
+
export type { UnicodeRange };
|
|
20
29
|
export default decodeRanges;
|
package/decode-ranges.mjs
CHANGED
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
const base64enc =
|
|
7
7
|
'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_';
|
|
8
8
|
|
|
9
|
-
const base64dec = Object.freeze(
|
|
10
|
-
Array.from(base64enc, (c, i) => [c, i])
|
|
11
|
-
)
|
|
9
|
+
const base64dec = Object.freeze(
|
|
10
|
+
Object.fromEntries(Array.from(base64enc, (c, i) => [c, i])),
|
|
11
|
+
);
|
|
12
12
|
|
|
13
13
|
class UnicodeRange {
|
|
14
14
|
/**
|
|
@@ -41,7 +41,7 @@ class UnicodeRange {
|
|
|
41
41
|
const decodeDeltas = (input) => {
|
|
42
42
|
/** @type {number[]} */
|
|
43
43
|
const output = [];
|
|
44
|
-
for (let i = 0; i < input.length;
|
|
44
|
+
for (let i = 0; i < input.length;) {
|
|
45
45
|
let x = base64dec[input[i++]];
|
|
46
46
|
switch (x & 56) {
|
|
47
47
|
case 32:
|
|
@@ -82,5 +82,5 @@ const decodeRanges = (input) => {
|
|
|
82
82
|
return ranges;
|
|
83
83
|
};
|
|
84
84
|
|
|
85
|
+
export { decodeDeltas };
|
|
85
86
|
export default decodeRanges;
|
|
86
|
-
|
package/index.d.mts
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
declare const data: {
|
|
2
|
+
readonly Binary_Property: string[];
|
|
3
|
+
readonly General_Category: string[];
|
|
4
|
+
readonly Bidi_Class: string[];
|
|
5
|
+
readonly Block: string[];
|
|
6
|
+
readonly Names: string[];
|
|
7
|
+
readonly Simple_Case_Mapping: string[];
|
|
8
|
+
readonly Decomposition_Mapping: string[];
|
|
9
|
+
};
|
|
10
|
+
export default data;
|
package/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export default {'Binary_Property':['ASCII','Alphabetic','Any','Assigned','Bidi_Control','Bidi_Mirrored','Combining','Composite','Currency_Symbol','Dash','Decimal_Digit','Delimiter','Diacritic','Extender','Format_Control','Hex_Digit','High_Surrogate','Hyphen','ISO_Control','Identifier_Part','Ideographic','Ignorable_Control','Join_Control','Left_of_Pair','Line_Separator','Low_Surrogate','Math','Non-break','Non-spacing','Numeric','Paired_Punctuation','Paragraph_Separator','Private_Use','Private_Use_High_Surrogate','Punctuation','Quotation_Mark','Space','Terminal_Punctuation','White_space','Zero-width'],'General_Category':['Cased_Letter','Close_Punctuation','Connector_Punctuation','Control','Currency_Symbol','Dash_Punctuation','Decimal_Number','Enclosing_Mark','Format','Letter','Letter_Number','Line_Separator','Lowercase_Letter','Mark','Math_Symbol','Modifier_Letter','Modifier_Symbol','Nonspacing_Mark','Number','Open_Punctuation','Other','Other_Letter','Other_Number','Other_Punctuation','Other_Symbol','Paragraph_Separator','Private_Use','Punctuation','Separator','Space_Separator','Spacing_Mark','Surrogate','Symbol','Titlecase_Letter','Unassigned','Uppercase_Letter'],'Bidi_Class':['Arabic_Number','Common_Separator','European_Number','European_Separator','European_Terminator','Left_To_Right','Other_Neutral','Paragraph_Separator','Right_To_Left','Segment_Separator','White_Space'],'Block':['Alphabetic_Presentation_Forms','Arabic','Arabic_Presentation_Forms_A','Arabic_Presentation_Forms_B','Armenian','Arrows','Basic_Latin','Bengali','Block_Elements','Bopomofo','Box_Drawing','CJK_Compatibility','CJK_Compatibility_Forms','CJK_Compatibility_Ideographs','CJK_Symbols_And_Punctuation','CJK_Unified_Ideographs','Combining_Diacritical_Marks','Combining_Diacritical_Marks_For_Symbols','Combining_Half_Marks','Control_Pictures','Currency_Symbols','Cyrillic','Devanagari','Dingbats','Enclosed_Alphanumerics','Enclosed_CJK_Letters_And_Months','General_Punctuation','Geometric_Shapes','Georgian','Greek_And_Coptic','Greek_Extended','Gujarati','Gurmukhi','Halfwidth_And_Fullwidth_Forms','Hangul_Compatibility_Jamo','Hangul_Jamo','Hangul_Syllables','Hebrew','High_Private_Use_Surrogates','High_Surrogates','Hiragana','IPA_Extensions','Kanbun','Kannada','Katakana','Lao','Latin_1_Supplement','Latin_Extended_A','Latin_Extended_Additional','Latin_Extended_B','Letterlike_Symbols','Low_Surrogates','Malayalam','Mathematical_Operators','Miscellaneous_Symbols','Miscellaneous_Technical','Number_Forms','Optical_Character_Recognition','Oriya','Private_Use_Area','Small_Form_Variants','Spacing_Modifier_Letters','Specials','Superscripts_And_Subscripts','Tamil','Telugu','Thai','Tibetan'],'Names':[],'Simple_Case_Mapping':['Lowercase','Titlecase','Uppercase']};
|
|
1
|
+
export default {'Binary_Property':['ASCII','Alphabetic','Any','Assigned','Bidi_Control','Bidi_Mirrored','Combining','Composite','Currency_Symbol','Dash','Decimal_Digit','Delimiter','Diacritic','Extender','Format_Control','Hex_Digit','High_Surrogate','Hyphen','ISO_Control','Identifier_Part','Ideographic','Ignorable_Control','Join_Control','Left_of_Pair','Line_Separator','Low_Surrogate','Math','Non-break','Non-spacing','Numeric','Paired_Punctuation','Paragraph_Separator','Private_Use','Private_Use_High_Surrogate','Punctuation','Quotation_Mark','Space','Terminal_Punctuation','White_space','Zero-width'],'General_Category':['Cased_Letter','Close_Punctuation','Connector_Punctuation','Control','Currency_Symbol','Dash_Punctuation','Decimal_Number','Enclosing_Mark','Format','Letter','Letter_Number','Line_Separator','Lowercase_Letter','Mark','Math_Symbol','Modifier_Letter','Modifier_Symbol','Nonspacing_Mark','Number','Open_Punctuation','Other','Other_Letter','Other_Number','Other_Punctuation','Other_Symbol','Paragraph_Separator','Private_Use','Punctuation','Separator','Space_Separator','Spacing_Mark','Surrogate','Symbol','Titlecase_Letter','Unassigned','Uppercase_Letter'],'Bidi_Class':['Arabic_Number','Common_Separator','European_Number','European_Separator','European_Terminator','Left_To_Right','Other_Neutral','Paragraph_Separator','Right_To_Left','Segment_Separator','White_Space'],'Block':['Alphabetic_Presentation_Forms','Arabic','Arabic_Presentation_Forms_A','Arabic_Presentation_Forms_B','Armenian','Arrows','Basic_Latin','Bengali','Block_Elements','Bopomofo','Box_Drawing','CJK_Compatibility','CJK_Compatibility_Forms','CJK_Compatibility_Ideographs','CJK_Symbols_And_Punctuation','CJK_Unified_Ideographs','Combining_Diacritical_Marks','Combining_Diacritical_Marks_For_Symbols','Combining_Half_Marks','Control_Pictures','Currency_Symbols','Cyrillic','Devanagari','Dingbats','Enclosed_Alphanumerics','Enclosed_CJK_Letters_And_Months','General_Punctuation','Geometric_Shapes','Georgian','Greek_And_Coptic','Greek_Extended','Gujarati','Gurmukhi','Halfwidth_And_Fullwidth_Forms','Hangul_Compatibility_Jamo','Hangul_Jamo','Hangul_Syllables','Hebrew','High_Private_Use_Surrogates','High_Surrogates','Hiragana','IPA_Extensions','Kanbun','Kannada','Katakana','Lao','Latin_1_Supplement','Latin_Extended_A','Latin_Extended_Additional','Latin_Extended_B','Letterlike_Symbols','Low_Surrogates','Malayalam','Mathematical_Operators','Miscellaneous_Symbols','Miscellaneous_Technical','Number_Forms','Optical_Character_Recognition','Oriya','Private_Use_Area','Small_Form_Variants','Spacing_Modifier_Letters','Specials','Superscripts_And_Subscripts','Tamil','Telugu','Thai','Tibetan'],'Names':[],'Simple_Case_Mapping':['Lowercase','Titlecase','Uppercase'],'Decomposition_Mapping':['Canonical','Circle','Compat','Final','Font','Fraction','Initial','Isolated','Medial','Narrow','Nobreak','Small','Square','Sub','Super','Vertical','Wide']};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Derive the symbol-to-symbol(s) map of a case mapping, case folding, or
|
|
3
|
+
* decomposition mapping from its code-point-to-code-point(s) map.
|
|
4
|
+
*/
|
|
5
|
+
declare function mappingToSymbols(
|
|
6
|
+
codePoints: Map<number, number | number[]>,
|
|
7
|
+
): Map<string, string>;
|
|
8
|
+
|
|
9
|
+
export default mappingToSymbols;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file ships to end users.
|
|
3
|
+
*
|
|
4
|
+
* Derive the symbol-to-symbol(s) map of a case mapping, case folding, or
|
|
5
|
+
* decomposition mapping from its code-point-to-code-point(s) map.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
const fromCodePoint = String.fromCodePoint;
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* @param {Map<number, number | number[]>} codePoints
|
|
12
|
+
* @returns {Map<string, string>}
|
|
13
|
+
*/
|
|
14
|
+
const mappingToSymbols = (codePoints) => {
|
|
15
|
+
const symbols = new Map();
|
|
16
|
+
for (const [from, to] of codePoints) {
|
|
17
|
+
symbols.set(
|
|
18
|
+
fromCodePoint(from),
|
|
19
|
+
Array.isArray(to) ? fromCodePoint(...to) : fromCodePoint(to),
|
|
20
|
+
);
|
|
21
|
+
}
|
|
22
|
+
return symbols;
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
export default mappingToSymbols;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unicode/unicode-2.1.2",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.9",
|
|
4
4
|
"description": "JavaScript-compatible Unicode data. Arrays of code points, arrays of symbols, and regular expressions for Unicode v2.1.2’s categories, scripts, blocks, bidi, and other properties.",
|
|
5
5
|
"homepage": "https://github.com/node-unicode/unicode-2.1.2",
|
|
6
6
|
"main": "index.mjs",
|
|
@@ -25,5 +25,36 @@
|
|
|
25
25
|
"type": "git",
|
|
26
26
|
"url": "git+https://github.com/node-unicode/unicode-2.1.2.git"
|
|
27
27
|
},
|
|
28
|
-
"bugs": "https://github.com/node-unicode/node-unicode-data/issues"
|
|
28
|
+
"bugs": "https://github.com/node-unicode/node-unicode-data/issues",
|
|
29
|
+
"engines": {
|
|
30
|
+
"node": ">=12"
|
|
31
|
+
},
|
|
32
|
+
"typesVersions": {
|
|
33
|
+
"*": {
|
|
34
|
+
"Simple_Case_Mapping/*/code-points.mjs": [
|
|
35
|
+
"Simple_Case_Mapping/*/code-points.d.mts"
|
|
36
|
+
],
|
|
37
|
+
"Simple_Case_Mapping/*/symbols.mjs": [
|
|
38
|
+
"Simple_Case_Mapping/*/symbols.d.mts"
|
|
39
|
+
],
|
|
40
|
+
"Decomposition_Mapping/*/code-points.mjs": [
|
|
41
|
+
"Decomposition_Mapping/*/code-points.d.mts"
|
|
42
|
+
],
|
|
43
|
+
"Decomposition_Mapping/*/symbols.mjs": [
|
|
44
|
+
"Decomposition_Mapping/*/symbols.d.mts"
|
|
45
|
+
],
|
|
46
|
+
"*/ranges.mjs": [
|
|
47
|
+
"types/ranges.d.mts"
|
|
48
|
+
],
|
|
49
|
+
"*/regex.mjs": [
|
|
50
|
+
"types/regex.d.mts"
|
|
51
|
+
],
|
|
52
|
+
"*/code-points.mjs": [
|
|
53
|
+
"types/code-points.d.mts"
|
|
54
|
+
],
|
|
55
|
+
"*/symbols.mjs": [
|
|
56
|
+
"types/symbols.d.mts"
|
|
57
|
+
]
|
|
58
|
+
}
|
|
59
|
+
}
|
|
29
60
|
}
|