Skip to content

Commit 3b360e6

Browse files
committed
Update change log
1 parent dd9c9cc commit 3b360e6

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# JSON P3 Change Log
22

3+
## Version 2.2.2
4+
5+
**Fixes**
6+
7+
- Fixed an issue where we'd get syntax errors claiming "unbalanced parentheses" when the query has balanced brackets.
8+
39
## Version 2.2.1
410

511
**Fixes**

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "json-p3",
3-
"version": "2.2.1",
3+
"version": "2.2.2",
44
"author": "James Prior",
55
"license": "MIT",
66
"description": "JSONPath, JSON Pointer and JSON Patch",

tests/path/issues.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ describe("issues", () => {
1212
});
1313

1414
test("issue 42", () => {
15+
// This was failing with an "unbalanced parentheses" syntax error.
1516
expect(compile("$[? count(@.likes[? @.location]) > 3]")).toBeInstanceOf(
1617
JSONPathQuery,
1718
);

0 commit comments

Comments
 (0)