Skip to content

Commit

Permalink
Merge branch '2.0-beta' into 2.0-beta-nullsafety
Browse files Browse the repository at this point in the history
  • Loading branch information
jumperchen committed Mar 10, 2021
2 parents 09c8946 + 63f720c commit f7990e8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 2.0.0-beta.1

**Bug fix:**

* [socket.io-client-dart#140](https://github.com/rikulo/socket.io-client-dart/issues/140) getting Error on emitWithAck() in v2 beta

## 2.0.0-beta.0

** Features: **
Expand Down
2 changes: 1 addition & 1 deletion lib/src/parser/parser.dart
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ class Decoder extends EventEmitter {
if (next?.isNotEmpty == true && '${num.tryParse(next!)}' == next) {
var start = i + 1;
while (++i > 0) {
var c = str.length < i ? str[i] : null;
var c = str.length > i ? str[i] : null;
if ('${num.tryParse(c!)}' != c) {
--i;
break;
Expand Down

0 comments on commit f7990e8

Please sign in to comment.