chore: upgrade to ffi 1.0.0

This commit is contained in:
Lukas Lihotzki 2021-03-29 16:37:29 +02:00
parent 88bc150722
commit 3d55abdd11
3 changed files with 13 additions and 6 deletions

View File

@ -9,4 +9,7 @@ analyzer:
errors: errors:
todo: ignore todo: ignore
exclude: exclude:
- example/main.dart - example/main.dart
# needed until crypto packages upgrade
- lib/src/database/database.g.dart

View File

@ -187,7 +187,7 @@ abstract class SignableKey extends MatrixSignableKey {
olm.Utility olmutil; olm.Utility olmutil;
try { try {
olmutil = olm.Utility(); olmutil = olm.Utility();
} on NoSuchMethodError { } catch (e) {
// if no libolm is present we land in this catch block, and return the default // if no libolm is present we land in this catch block, and return the default
// set if no libolm is there. Some signatures should be assumed-valid while others // set if no libolm is there. Some signatures should be assumed-valid while others
// should be assumed-invalid // should be assumed-invalid

View File

@ -13,14 +13,14 @@ dependencies:
canonical_json: ^1.0.0 canonical_json: ^1.0.0
markdown: ^3.0.0 markdown: ^3.0.0
html_unescape: ^1.0.2 html_unescape: ^1.0.2
moor: ^3.4.0 moor: ^4.0.0
random_string: ^2.1.0 random_string: ^2.1.0
encrypt: ^4.1.0 encrypt: ^4.1.0
crypto: ^2.1.5 crypto: ^2.1.5
base58check: ^1.0.1 base58check: ^1.0.1
password_hash: ^2.0.0 password_hash: ^2.0.0
olm: ^1.3.0 olm: ^2.0.0
matrix_file_e2ee: ^1.0.5 matrix_file_e2ee: ^1.1.0
isolate: ^2.0.3 isolate: ^2.0.3
logger: ^0.9.4 logger: ^0.9.4
matrix_api_lite: ^0.2.0 matrix_api_lite: ^0.2.0
@ -28,9 +28,13 @@ dependencies:
dev_dependencies: dev_dependencies:
test: ^1.15.7 test: ^1.15.7
coverage: ">=0.15.0 <2.0.0" coverage: ">=0.15.0 <2.0.0"
moor_generator: ^3.4.1 moor_generator: ^4.0.0
build_runner: ^1.11.1 build_runner: ^1.11.1
pedantic: ^1.11.0 pedantic: ^1.11.0
dapackages: ^1.4.0 dapackages: ^1.4.0
#flutter_test: #flutter_test:
#sdk: flutter #sdk: flutter
dependency_overrides:
# needed until crypto packages upgrade
convert: ^3.0.0