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

Update CTS and fix #6

Merged
merged 1 commit into from
Aug 5, 2024
Merged

Update CTS and fix #6

merged 1 commit into from
Aug 5, 2024

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
34 checks passed
@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.

1 participant