diff --git a/CHANGELOG.md b/CHANGELOG.md index 0d6db57..a941d26 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 1.6.2 + +- Adding `analysis_options.yaml` to work with pedantic during development + ## 1.6.1 - Formating for 'static analysis' diff --git a/analysis_options.yaml b/analysis_options.yaml new file mode 100644 index 0000000..108d105 --- /dev/null +++ b/analysis_options.yaml @@ -0,0 +1 @@ +include: package:pedantic/analysis_options.yaml diff --git a/lib/src/utils.dart b/lib/src/utils.dart index 68b305a..ddbb193 100644 --- a/lib/src/utils.dart +++ b/lib/src/utils.dart @@ -74,7 +74,7 @@ BigInt decodeBigIntWithSign(int sign, List bytes) { Uint8List bigIntToBytes(BigInt v) { final _b256 = BigInt.from(256); - List bytes = List(); + var bytes = []; while (v.sign != 0) { bytes.add((v % _b256).toInt()); diff --git a/pubspec.yaml b/pubspec.yaml index 297fbd1..c199200 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: dart_jsonwebtoken description: A dart implementation of the famous javascript library 'jsonwebtoken' (JWT). -version: 1.6.1 +version: 1.6.2 repository: https://github.com/jonasroussel/jsonwebtoken homepage: https://github.com/jonasroussel/jsonwebtoken#readme