Skip to content

Commit

Permalink
Upgrade to Unicode 15
Browse files Browse the repository at this point in the history
  • Loading branch information
liborm85 committed Dec 17, 2024
1 parent eaf9df3 commit d54e124
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Binary file modified src/classes.trie
Binary file not shown.
2 changes: 1 addition & 1 deletion src/generate_data.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import UnicodeTrieBuilder from 'unicode-trie/builder.js';

// this loads the LineBreak.txt file for Unicode and parses it to
// combine ranges and generate JavaScript
request('http://www.unicode.org/Public/14.0.0/ucd/LineBreak.txt', function (err, res, data) {
request('https://www.unicode.org/Public/15.0.0/ucd/LineBreak.txt', function (err, res, data) {
const matches = data.match(/^[0-9A-F]+(\.\.[0-9A-F]+)?;[A-Z][A-Z0-9]([A-Z])?/gm);

let start = null;
Expand Down
10 changes: 5 additions & 5 deletions test/LineBreakTest.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# LineBreakTest-14.0.0.txt
# Date: 2021-08-20, 21:08:45 GMT
# © 2021 Unicode®, Inc.
# LineBreakTest-15.0.0.txt
# Date: 2022-02-26, 00:38:39 GMT
# © 2022 Unicode®, Inc.
# Unicode and the Unicode Logo are registered trademarks of Unicode, Inc. in the U.S. and other countries.
# For terms of use, see http://www.unicode.org/terms_of_use.html
# For terms of use, see https://www.unicode.org/terms_of_use.html
#
# Unicode Character Database
# For documentation, see http://www.unicode.org/reports/tr44/
# For documentation, see https://www.unicode.org/reports/tr44/
#
# Default Line_Break Test
#
Expand Down

0 comments on commit d54e124

Please sign in to comment.