diff --git a/.github/workflows/dart.yml b/.github/workflows/dart.yml index 65ef7a9..cea4131 100644 --- a/.github/workflows/dart.yml +++ b/.github/workflows/dart.yml @@ -25,7 +25,7 @@ jobs: - uses: actions/checkout@v4 - name: Setup Dart - uses: dart-lang/setup-dart@v1.4 + uses: dart-lang/setup-dart@v1.7 with: sdk: ${{ matrix.sdk }} diff --git a/.github/workflows/example.yml b/.github/workflows/example.yml index 69b427f..e569e45 100644 --- a/.github/workflows/example.yml +++ b/.github/workflows/example.yml @@ -19,7 +19,7 @@ jobs: - uses: actions/checkout@v4 - name: Setup Dart - uses: dart-lang/setup-dart@v1.4 + uses: dart-lang/setup-dart@v1.7 with: sdk: stable diff --git a/analysis_options.yaml b/analysis_options.yaml index 8f7318b..7d5fb43 100644 --- a/analysis_options.yaml +++ b/analysis_options.yaml @@ -11,5 +11,4 @@ linter: # https://github.com/dart-lang/lints#migrating-from-packagepedantic - always_declare_return_types - prefer_single_quotes - - unawaited_futures - - unsafe_html \ No newline at end of file + - unawaited_futures \ No newline at end of file diff --git a/example/analysis_options.yaml b/example/analysis_options.yaml index e6582d3..7b925ab 100644 --- a/example/analysis_options.yaml +++ b/example/analysis_options.yaml @@ -10,5 +10,4 @@ linter: # https://github.com/dart-lang/lints#migrating-from-packagepedantic - always_declare_return_types - prefer_single_quotes - - unawaited_futures - - unsafe_html \ No newline at end of file + - unawaited_futures \ No newline at end of file diff --git a/lib/dart_either.dart b/lib/dart_either.dart index 8627073..50ac80c 100644 --- a/lib/dart_either.dart +++ b/lib/dart_either.dart @@ -42,7 +42,7 @@ /// Because `Either` is right-biased, it is possible to define a `Monad` instance for it. /// Since we only ever want the computation to continue in the case of [Right] (as captured by the right-bias nature), /// we fix the left type parameter and leave the right one free. So, the map and flatMap methods are right-biased. -library dart_either; +library; export 'src/binding.dart'; export 'src/dart_either.dart'; diff --git a/pubspec.yaml b/pubspec.yaml index 892aec3..cfa6cf1 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -26,7 +26,7 @@ dependencies: dev_dependencies: rxdart_ext: ^0.3.0 - lints: ^3.0.0 + lints: ^6.0.0 test: ^1.25.5 dependency_overrides: