Skip to content

Commit

Permalink
Upgrade injector dependency (#252)
Browse files Browse the repository at this point in the history
  • Loading branch information
gyrdym authored Jan 2, 2024
1 parent 114bef7 commit b0a939b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// ignore_for_file: non_constant_identifier_names
import 'package:ml_algo/src/classifier/linear_classifier.dart';
import 'package:ml_algo/src/classifier/logistic_regressor/_init_module.dart';
import 'package:ml_algo/src/classifier/logistic_regressor/logistic_regressor_factory.dart';
Expand Down
2 changes: 1 addition & 1 deletion lib/src/extensions/injector.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import 'package:injector/injector.dart';
extension InjectorExtension on Injector {
/// Registers a dependency only if it doesn't exist
void registerSingletonIf<T>(
Builder<T> builder, {
DependencyBuilder<T> builder, {
bool override = false,
String dependencyName = '',
}) {
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ environment:

dependencies:
collection: ^1.16.0
injector: ^2.0.0
injector: ^3.0.0
json_annotation: ^4.0.0
ml_dataframe: ^1.6.0
ml_linalg: ^13.11.15
Expand Down

0 comments on commit b0a939b

Please sign in to comment.