Skip to content
This repository was archived by the owner on May 12, 2025. It is now read-only.

Conversation

arodionov
Copy link
Contributor

@arodionov arodionov commented Jan 28, 2025

As a temporary fix, we detect the invalid surrogate pairs literal and throw ParseError.
Later on, it should be reworked to parse and represent invalid surrogate pairs in a safe way.

…rals

As a temporary fix, we detect the invalid surrogate literals and insert additional escape symbol.
As a result, it prevents ingestion failure but introduces inequality between literals.
Should be fixed later on.
@arodionov arodionov added bug Something isn't working parser-javascript labels Jan 28, 2025
@arodionov arodionov self-assigned this Jan 28, 2025
@arodionov arodionov merged commit 7a31afa into main Jan 29, 2025
1 check passed
@arodionov arodionov deleted the fix-surrogate branch January 29, 2025 13:30
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

bug Something isn't working parser-javascript

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

1 participant