From 001906ee6f06f874a0ae292d71e7fdebebb1f2e7 Mon Sep 17 00:00:00 2001 From: Alexandre Roux Date: Mon, 10 Jul 2023 13:07:22 +0200 Subject: [PATCH] dart3a branch --- packages_web/sqflite_common_ffi_web/pubspec.yaml | 4 ++-- packages_web/sqflite_common_ffi_web_test/pubspec.yaml | 4 ++-- sqflite/example/pubspec.yaml | 4 ++-- sqflite/pubspec.yaml | 4 ++-- sqflite/test/sqlite_api_test.dart | 4 ++++ sqflite_common/pubspec.yaml | 4 ++-- sqflite_common_ffi/pubspec.yaml | 2 +- sqflite_common_test/pubspec.yaml | 4 ++-- sqflite_support/pubspec.yaml | 4 ++-- sqflite_test_app/pubspec.yaml | 4 ++-- 10 files changed, 21 insertions(+), 17 deletions(-) diff --git a/packages_web/sqflite_common_ffi_web/pubspec.yaml b/packages_web/sqflite_common_ffi_web/pubspec.yaml index 017c3e53..457002cf 100644 --- a/packages_web/sqflite_common_ffi_web/pubspec.yaml +++ b/packages_web/sqflite_common_ffi_web/pubspec.yaml @@ -6,7 +6,7 @@ funding: - https://github.com/sponsors/alextekartik environment: - sdk: '>=2.18.0 <4.0.0' + sdk: '>=3.0.0 <4.0.0' dependencies: path: '>=1.7.0 <3.0.0' @@ -36,4 +36,4 @@ dev_dependencies: # path: ../../sqflite_common executables: - setup: \ No newline at end of file + setup: diff --git a/packages_web/sqflite_common_ffi_web_test/pubspec.yaml b/packages_web/sqflite_common_ffi_web_test/pubspec.yaml index f52a9231..6b714465 100644 --- a/packages_web/sqflite_common_ffi_web_test/pubspec.yaml +++ b/packages_web/sqflite_common_ffi_web_test/pubspec.yaml @@ -4,7 +4,7 @@ version: 0.1.0 publish_to: none environment: - sdk: '>=2.18.0 <4.0.0' + sdk: '>=3.0.0 <4.0.0' dependencies: path: ^1.7.0 @@ -39,4 +39,4 @@ sqflite: # Re run setup then and change the sharedWorkerUri options in the client. # sqflite_common_ffi_web: - sw_js_file: sqflite_sw_v1.js \ No newline at end of file + sw_js_file: sqflite_sw_v1.js diff --git a/sqflite/example/pubspec.yaml b/sqflite/example/pubspec.yaml index f00ddd8a..51827cfa 100644 --- a/sqflite/example/pubspec.yaml +++ b/sqflite/example/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: none version: '0.4.0' environment: - sdk: '>=2.18.0 <4.0.0' + sdk: '>=3.0.0 <4.0.0' dependencies: path: any @@ -50,4 +50,4 @@ dependency_overrides: sqflite: path: ../ sqflite_common: - path: ../../sqflite_common \ No newline at end of file + path: ../../sqflite_common diff --git a/sqflite/pubspec.yaml b/sqflite/pubspec.yaml index d93ef23d..8be49440 100644 --- a/sqflite/pubspec.yaml +++ b/sqflite/pubspec.yaml @@ -8,7 +8,7 @@ funding: - https://github.com/sponsors/alextekartik environment: - sdk: '>=2.18.0 <4.0.0' + sdk: '>=3.0.0 <4.0.0' flutter: ">=3.3.0" flutter: @@ -38,4 +38,4 @@ dev_dependencies: flutter_test: sdk: flutter test_api: '>=0.2.19' - pub_semver: '>=2.0.0' \ No newline at end of file + pub_semver: '>=2.0.0' diff --git a/sqflite/test/sqlite_api_test.dart b/sqflite/test/sqlite_api_test.dart index c49a9e34..4425f841 100644 --- a/sqflite/test/sqlite_api_test.dart +++ b/sqflite/test/sqlite_api_test.dart @@ -24,6 +24,10 @@ void main() { ]) { expect(value, isNotNull); } + try { + // ignore: unnecessary_cast + SqfliteDatabaseExecutorExt((null as Database?)!).getVersion(); + } catch (_) {} }); }); } diff --git a/sqflite_common/pubspec.yaml b/sqflite_common/pubspec.yaml index dbfe02a1..fc62d1e2 100644 --- a/sqflite_common/pubspec.yaml +++ b/sqflite_common/pubspec.yaml @@ -6,7 +6,7 @@ funding: - https://github.com/sponsors/alextekartik environment: - sdk: '>=2.18.0 <4.0.0' + sdk: '>=3.0.0 <4.0.0' dependencies: synchronized: '>=3.0.0 <5.0.0' @@ -19,4 +19,4 @@ dev_dependencies: http: '>=0.13.0' test: '>=1.16.2' test_api: '>=0.2.19' - pub_semver: '>=2.0.0' \ No newline at end of file + pub_semver: '>=2.0.0' diff --git a/sqflite_common_ffi/pubspec.yaml b/sqflite_common_ffi/pubspec.yaml index 6ce2ef4d..2c456192 100644 --- a/sqflite_common_ffi/pubspec.yaml +++ b/sqflite_common_ffi/pubspec.yaml @@ -6,7 +6,7 @@ funding: - https://github.com/sponsors/alextekartik environment: - sdk: '>=2.18.0 <4.0.0' + sdk: '>=3.0.0 <4.0.0' dependencies: sqlite3: '>=1.11.0 <3.0.0' diff --git a/sqflite_common_test/pubspec.yaml b/sqflite_common_test/pubspec.yaml index b2ef4825..fb61d7b3 100644 --- a/sqflite_common_test/pubspec.yaml +++ b/sqflite_common_test/pubspec.yaml @@ -4,7 +4,7 @@ version: 0.5.0 publish_to: none environment: - sdk: '>=2.18.0 <4.0.0' + sdk: '>=3.0.0 <4.0.0' dependencies: sqflite_common_ffi: '>=2.2.0-dev.5 <4.0.0' @@ -21,4 +21,4 @@ dependency_overrides: sqflite_common: path: ../sqflite_common sqflite_common_ffi: - path: ../sqflite_common_ffi \ No newline at end of file + path: ../sqflite_common_ffi diff --git a/sqflite_support/pubspec.yaml b/sqflite_support/pubspec.yaml index 0c0ff9c6..44453d70 100644 --- a/sqflite_support/pubspec.yaml +++ b/sqflite_support/pubspec.yaml @@ -5,7 +5,7 @@ homepage: https://github.com/tekartik/sqflite publish_to: none environment: - sdk: '>=2.18.0 <4.0.0' + sdk: '>=3.0.0 <4.0.0' dev_dependencies: lints: '>=1.0.0' @@ -15,4 +15,4 @@ dev_dependencies: path: pub_semver: -dependency_overrides: \ No newline at end of file +dependency_overrides: diff --git a/sqflite_test_app/pubspec.yaml b/sqflite_test_app/pubspec.yaml index 22b41459..210fefa0 100644 --- a/sqflite_test_app/pubspec.yaml +++ b/sqflite_test_app/pubspec.yaml @@ -15,7 +15,7 @@ publish_to: none version: 1.1.1 environment: - sdk: '>=2.18.0 <4.0.0' + sdk: '>=3.0.0 <4.0.0' dependencies: # analyzer: '>=5.2.0' @@ -108,4 +108,4 @@ flutter: # weight: 700 # # For details regarding fonts from package dependencies, - # see https://flutter.dev/custom-fonts/#from-packages \ No newline at end of file + # see https://flutter.dev/custom-fonts/#from-packages