Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: derive canonicalize result from UCD #107

Merged
merged 4 commits into from
Nov 4, 2024

Conversation

JLHwung
Copy link
Collaborator

@JLHwung JLHwung commented Nov 3, 2024

This PR ensures that the case mappings data always conforms to the latest Unicode version.

The data is built from my local node-unicode-data working branch for node-unicode/node-unicode-data#78, this PR is pending the new node-unicode-data releases, please don't merge it now.

Fixes #106.

This ensures that the case mappings in data always conform to the latest Unicode version.
@JLHwung JLHwung force-pushed the derive-case-data-from-ucd branch from 4cabbb8 to 9bea86d Compare November 4, 2024 15:25
@JLHwung
Copy link
Collaborator Author

JLHwung commented Nov 4, 2024

@mathiasbynens Thank you for publishing the new unicode-data releases.

This PR is ready for review now.

[0xA7D0, 0xA7D1],
[0xA7D1, 0xA7D0],
[0xA7D6, 0xA7D7],
[0xA7D7, 0xA7D6],
[0xA7D8, 0xA7D9],
[0xA7D9, 0xA7D8],
[0xA7DA, 0xA7DB],
[0xA7DB, 0xA7DA],
[0xA7DC, 0x19B],
Copy link
Collaborator Author

@JLHwung JLHwung Nov 4, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes in i-bmp-mappings.js are only due to Unicode 16, where 1C89..1C8A, A7CB..A7CD and A7DA..A7DC are introduced: https://www.unicode.org/Public/UCD/latest/ucd/DerivedAge.txt

The case mapping result no longer depends on the node.js version
@JLHwung JLHwung force-pushed the derive-case-data-from-ucd branch from 73370b0 to 17ecf26 Compare November 4, 2024 15:38
@mathiasbynens mathiasbynens merged commit c9db4c2 into mathiasbynens:main Nov 4, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Incorrect transform result for /(?i:\u1C89)/
2 participants