@@ -327,6 +327,12 @@ const aliases = parseAliases(textFromArchive(ucd, "NameAliases.txt"));
|
||||
const emojiFlags = parseEmojiFlags(
|
||||
textFromArchive(ucd, "emoji/emoji-data.txt"),
|
||||
);
|
||||
const identifierStatusRanges = parseRanges(
|
||||
textFromArchive(security, "IdentifierStatus.txt"),
|
||||
);
|
||||
const identifierTypeRanges = parseRanges(
|
||||
textFromArchive(security, "IdentifierType.txt"),
|
||||
);
|
||||
|
||||
const dictionaries = {
|
||||
categories: { values: [], index: new Map() },
|
||||
@@ -416,6 +422,14 @@ await writeFile(
|
||||
join(outputDirectory, "confusables.json"),
|
||||
JSON.stringify(confusables),
|
||||
);
|
||||
await writeFile(
|
||||
join(outputDirectory, "identifier-status.json"),
|
||||
JSON.stringify(identifierStatusRanges),
|
||||
);
|
||||
await writeFile(
|
||||
join(outputDirectory, "identifier-types.json"),
|
||||
JSON.stringify(identifierTypeRanges),
|
||||
);
|
||||
await writeFile(
|
||||
join(outputDirectory, "unihan.json"),
|
||||
JSON.stringify(unihanRecords),
|
||||
@@ -432,9 +446,13 @@ const manifest = {
|
||||
),
|
||||
blockRanges: blocks,
|
||||
scriptRanges: scripts,
|
||||
identifierStatusFile: "identifier-status.json",
|
||||
identifierTypeFile: "identifier-types.json",
|
||||
emojiCount: emoji.length,
|
||||
namedSequenceCount: namedSequences.length,
|
||||
confusableMappingCount: confusables.length,
|
||||
identifierStatusRangeCount: identifierStatusRanges.length,
|
||||
identifierTypeRangeCount: identifierTypeRanges.length,
|
||||
unihanCount: unihanRecords.length,
|
||||
sourceIdentity: sources.map(({ id, filename, url, sha256 }) => ({
|
||||
id,
|
||||
|
||||
Reference in New Issue
Block a user