You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit d4e1afa
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: templates/README.md
+12-8Lines changed: 12 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -64,33 +64,37 @@ Other than categories, data on Unicode properties, blocks, scripts, and script e
64
64
// `Names`:
65
65
66
66
importnamesfrom'@unicode/unicode-<%= version %>/Names/index.mjs'; // Array of canonical names.
67
-
<%dirs.Names.forEach(function(subdir) { %>import <%= subdir %> from'@unicode/unicode-<%= version %>/Names/<%= subdir %>/index.mjs'; // Lookup map from code point to aliases.
if ('Case_Folding'== type ||'Simple_Case_Mapping'== type ||'Special_Casing'== type) {
81
85
%>
82
-
import <%= dir %>CodePointsfrom'@unicode/unicode-<%= version %>/<%= type %>/<%= dir %>/code-points.mjs'; // Lookup map from code point to code point or array of code points.
83
-
import <%= dir %>Symbolsfrom'@unicode/unicode-<%= version %>/<%= type %>/<%= dir %>/symbols.mjs'; // Lookup map from symbol to symbol(s).
86
+
import <%= id %>CodePointsfrom'@unicode/unicode-<%= version %>/<%= type %>/<%= dir %>/code-points.mjs'; // Lookup map from code point to code point or array of code points.
87
+
import <%= id %>Symbolsfrom'@unicode/unicode-<%= version %>/<%= type %>/<%= dir %>/symbols.mjs'; // Lookup map from symbol to symbol(s).
84
88
<%
85
89
} elseif ('Sequence_Property'== type) {
86
90
%>
87
-
import <%= dir %> from'@unicode/unicode-<%= version %>/<%= type %>/<%= dir %>/index.mjs'; // Array containing a string for each sequence.
91
+
import <%= id %> from'@unicode/unicode-<%= version %>/<%= type %>/<%= dir %>/index.mjs'; // Array containing a string for each sequence.
88
92
<%
89
93
} else {
90
94
%>
91
-
import <%= dir %>CodePointsfrom'@unicode/unicode-<%= version %>/<%= type %>/<%= dir %>/code-points.mjs';
92
-
import <%= dir %>Symbolsfrom'@unicode/unicode-<%= version %>/<%= type %>/<%= dir %>/symbols.mjs';
93
-
import <%= dir %>Regexfrom'@unicode/unicode-<%= version %>/<%= type %>/<%= dir %>/regex.mjs';
95
+
import <%= id %>CodePointsfrom'@unicode/unicode-<%= version %>/<%= type %>/<%= dir %>/code-points.mjs';
96
+
import <%= id %>Symbolsfrom'@unicode/unicode-<%= version %>/<%= type %>/<%= dir %>/symbols.mjs';
97
+
import <%= id %>Regexfrom'@unicode/unicode-<%= version %>/<%= type %>/<%= dir %>/regex.mjs';
Copy file name to clipboardExpand all lines: templates/package.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
{
2
2
"name": "@unicode/unicode-<%= version %>",
3
-
"version": "1.6.17",
3
+
"version": "2.0.1",
4
4
"description": "JavaScript-compatible Unicode data. Arrays of code points, arrays of symbols, and regular expressions for Unicode v<%= version %>’s categories, scripts, blocks, bidi, and other properties.",
5
5
"homepage": "https://github.com/node-unicode/unicode-<%= version %>",
0 commit comments