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

patch legacy katakana middle dot #3

Merged
merged 1 commit into from
Jul 8, 2024
Merged

patch legacy katakana middle dot #3

merged 1 commit into from
Jul 8, 2024

Conversation

Boshen
Copy link
Member

@Boshen Boshen commented Jul 8, 2024

closes #2

This follows the esbuild PR https://github.com/evanw/esbuild/pull/3424.

Unicode 4.1 through Unicode 15 omitted these two characters from ID_Continue by accident. However, this accident was corrected in Unicode 15.1. Any JS VM that supports ES6+ but that uses a version of Unicode earlier than 15.1 will consider these to be a syntax error, so we deliberately omit these characters from the set of identifiers that are valid in both ES5 and ES6+. For more info see 2.2 in https://www.unicode.org/L2/L2023/23160-utc176-properties-recs.pdf

closes #2

Unicode 4.1 through Unicode 15 omitted these two characters from ID_Continue
by accident. However, this accident was corrected in Unicode 15.1. Any JS VM
that supports ES6+ but that uses a version of Unicode earlier than 15.1 will
consider these to be a syntax error, so we deliberately omit these characters
from the set of identifiers that are valid in both ES5 and ES6+. For more info
see 2.2 in https://www.unicode.org/L2/L2023/23160-utc176-properties-recs.pdf
@Boshen Boshen merged commit e66284f into master Jul 8, 2024
15 checks passed
@Boshen Boshen deleted the patch-dot branch July 8, 2024 06:40
Boshen added a commit to Boshen/swc that referenced this pull request Jul 8, 2024
This unpins the crate version by removing the katana middle dot problem
occured in unicode v15.1.0

See oxc-project/unicode-id-start#3

relates swc-project#8940
Boshen added a commit to Boshen/swc that referenced this pull request Jul 8, 2024
This unpins the crate version by removing the katana middle dot problem
occured in unicode v15.1.0

See oxc-project/unicode-id-start#3

relates swc-project#8940
kdy1 pushed a commit to swc-project/swc that referenced this pull request Jul 8, 2024
This bumps unicode support to unicode v15.1.0

The crate version is unpinned by removing the katana middle dot problem
occured in unicode v15.1.0

See oxc-project/unicode-id-start#3

relates #8940
Boshen added a commit that referenced this pull request Oct 20, 2024
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.

workaround for legacy katakana middle dot problem
1 participant