Skip to content

Commit 5476d67

Browse files
authored
0.4.4 (#41)
1 parent 03059b6 commit 5476d67

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [0.4.4] - 2023-03-18
8+
### Fixed
9+
- Reverted changes from 0.4.3 as they caused dependency issues
10+
711
## [0.4.3] - 2023-03-18
812
### Fixed
913
- Deprecation warnings from petitparser
@@ -117,6 +121,7 @@ Previously, no modification would be made and no errors/exceptions thrown.
117121
### Added
118122
- Basic design draft
119123

124+
[0.4.4]: https://github.com/f3ath/jessie/compare/0.4.3...0.4.4
120125
[0.4.3]: https://github.com/f3ath/jessie/compare/0.4.2...0.4.3
121126
[0.4.2]: https://github.com/f3ath/jessie/compare/0.4.1...0.4.2
122127
[0.4.1]: https://github.com/f3ath/jessie/compare/0.4.0...0.4.1

lib/src/grammar/expression.dart

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,14 @@ Parser<MatchMapper<bool>> _build() {
3636
.map<MatchMapper>((v) => v.lastWhere((e) => e != null));
3737

3838
final builder = ExpressionBuilder<MatchMapper>();
39-
builder
39+
builder.group()
4040
..primitive(string('null').value(null).toMatchMapper())
4141
..primitive(string('false').value(false).toMatchMapper())
4242
..primitive(string('true').value(true).toMatchMapper())
4343
..primitive(number.toMatchMapper())
4444
..primitive(quotedString.toMatchMapper())
4545
..primitive(node)
46-
..group().wrapper(char('(').trim(), char(')').trim(), (l, a, r) => a);
46+
..wrapper(char('(').trim(), char(')').trim(), (l, a, r) => a);
4747

4848
builder.group().prefix(char('!').trim(),
4949
(_, mapper) => (match) => !match.context.algebra.isTruthy(mapper(match)));

pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: json_path
2-
version: 0.4.3
2+
version: 0.4.4
33
description: Implementation of JSONPath expressions like "$.store.book[2].price". Reads and writes values in parsed JSON objects.
44
homepage: "https://github.com/f3ath/jessie"
55

0 commit comments

Comments
 (0)