Skip to content

Version 1.3.4

Compare
Choose a tag to compare
@jg-rp jg-rp released this 05 Aug 07:08
· 32 commits to main since this release

Fixes

  • Fixed decoding of JSONPath escape sequences (those found in name selectors and string literals). Previously we were relying on JSON.parse() to unescape strings, now we have our own unescapeString() function that rejects invalid code points and surrogate pairs. See jsonpath-compliance-test-suite #87.
  • Fixed default minimum integer boundary for JSONPath indexes and slice steps. We were off by one.
  • Fixed parsing of JSONPath integer literals with an exponent and an upper case 'e'. We now allow 'e' to be upper case.
  • Fixed handling of trailing commas in JSONPath bracketed segments. We now raise a syntax error.
  • Fixed handling of invalid JSONPath integer and float literals with extra minus signs, leading zeros or too many zeros. We now raise a syntax error in such cases.