Skip to content

Commit

Permalink
Merge pull request #63 from erf/update-petitparser
Browse files Browse the repository at this point in the history
Update petitparser
  • Loading branch information
just95 authored Dec 6, 2023
2 parents 83ec941 + 605c4dc commit 67fdb0a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions lib/src/ast/value/string/ml_basic.dart
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ class TomlMultilineBasicString extends TomlMultilineString {
tomlNewline &
ChoiceParser(
[tomlWhitespaceChar, tomlNewline],
failureJoiner: selectFarthestJoined<dynamic>,
failureJoiner: selectFarthestJoined,
).star())
.map((_) => '');

Expand All @@ -100,7 +100,7 @@ class TomlMultilineBasicString extends TomlMultilineString {
var buffer = StringBuffer();
var unescapedOrNewline = ChoiceParser(
[unescapedParser, tomlNewline],
failureJoiner: selectFarthestJoined<dynamic>,
failureJoiner: selectFarthestJoined,
);
var quotes = 0;
var iterator = value.runes.iterator;
Expand Down
6 changes: 3 additions & 3 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ version: 0.14.0
description: Parser and encoder for TOML v1.0.0 (Tom's Obvious, Minimal Language) configuration files.
repository: https://github.com/just95/toml.dart
environment:
sdk: ">=2.18.0 <3.0.0"
sdk: ">=2.18.0 <4.0.0"
dependencies:
meta: ^1.7.0
petitparser: ^5.1.0
petitparser: ^6.0.2
collection: ^1.16.0
dev_dependencies:
lints: ^2.0.0
lints: ^3.0.0
test: ^1.21.6

0 comments on commit 67fdb0a

Please sign in to comment.