diff --git a/CHANGELOG.md b/CHANGELOG.md index 5afe302..f744d77 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## [3.1.6] - February 20th, 2024 + +* Automated dependency updates + + ## [3.1.5+5] - January 30, 2024 * Automated dependency updates diff --git a/lib/src/expressions/expressions.dart b/lib/src/expressions/expressions.dart index 411885f..86cee99 100644 --- a/lib/src/expressions/expressions.dart +++ b/lib/src/expressions/expressions.dart @@ -61,7 +61,7 @@ class Literal extends SimpleExpression { int get hashCode => value.hashCode; @override - bool operator ==(dynamic other) => other is Literal && other.value == value; + bool operator ==(Object other) => other is Literal && other.value == value; } class Variable extends SimpleExpression { @@ -158,7 +158,7 @@ class BinaryExpression extends CompoundExpression { int get hashCode => hash3(left, operator, right); @override - bool operator ==(dynamic other) => + bool operator ==(Object other) => other is BinaryExpression && other.left == left && other.operator == operator && diff --git a/pubspec.yaml b/pubspec.yaml index 4df9c22..f50e4a0 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,12 +1,12 @@ name: 'template_expressions' description: 'A Dart library to process string based templates using expressions.' homepage: 'https://github.com/peiffer-innovations/template_expressions' -version: '3.1.5+5' +version: '3.1.6' -environment: +environment: sdk: '>=3.0.0 <4.0.0' -dependencies: +dependencies: convert: '^3.1.1' crypto: '^3.0.1' encrypt: '^5.0.3' @@ -22,11 +22,11 @@ dependencies: rxdart: '^0.27.7' yaon: '^1.1.4+4' -dev_dependencies: +dev_dependencies: flutter_lints: '^3.0.1' test: '^1.25.2' -ignore_updates: +ignore_updates: - 'archive' - 'async' - 'boolean_selector'