Skip to content

Conversation

@jg-rp
Copy link
Owner

@jg-rp jg-rp commented Aug 5, 2024

Update the compliance test suite and fix some issues.

  • Fixed decoding of escape sequences in quoted name selectors and string literals. We now raise a JSONPathSyntaxError for invalid code points.
  • Fixed parsing of number literals with an exponent. We now allow 'e' to be upper case.
  • Fixed handling of trailing commas in bracketed segments. We now raise a JSONPathSyntaxError in such cases.
  • Fixed handling of invalid number literals. We now raise a syntax error for invalid leading zeros and extra negative signs.

See:

@jg-rp jg-rp merged commit 3fc3918 into main Aug 5, 2024
@jg-rp jg-rp deleted the update-cts branch August 5, 2024 06:47
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.

2 participants