diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 12a13c0..6a55ce7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,8 +10,8 @@ jobs: analyze: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: subosito/flutter-action@v1 + - uses: actions/checkout@v3 + - uses: subosito/flutter-action@v2 with: flutter-version: '3.3.0' - name: Install dependencies @@ -22,14 +22,14 @@ jobs: dart_links_reachable: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: actions/checkout@main with: repository: hash-checker/dart_links_reachable path: './dart_links_reachable' - - uses: dart-lang/setup-dart@v1.0 + - uses: dart-lang/setup-dart@v1 with: - sdk: 2.18.0 + sdk: 2.19.6 - name: Install dependencies working-directory: dart_links_reachable run: dart pub get @@ -40,14 +40,14 @@ jobs: flutter_mobx_structure_validator: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: actions/checkout@main with: repository: hash-checker/flutter_mobx_structure_validator path: './flutter_mobx_structure_validator' - - uses: dart-lang/setup-dart@v1.0 + - uses: dart-lang/setup-dart@v1 with: - sdk: 2.18.0 + sdk: 2.19.6 - name: Install dependencies working-directory: flutter_mobx_structure_validator run: dart pub get @@ -58,12 +58,12 @@ jobs: android_build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: actions/checkout@main with: repository: hash-checker/hc2_builder path: './hc2_builder' - - uses: subosito/flutter-action@v1 + - uses: subosito/flutter-action@v2 with: flutter-version: '3.3.0' - name: Build Android app diff --git a/README.md b/README.md index c0994f5..1485c0c 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,7 @@ Original app is still maintaining and will not be archived in near future. | Name | Since version | Status | |----------------------------------------------------|---------------|--------------| +| [CRC32](https://en.wikipedia.org/wiki/CRC32) | 1.0.0 | `Supporting` | | [MD5](https://en.wikipedia.org/wiki/MD5) | 1.0.0 | `Supporting` | | [SHA-1](https://en.wikipedia.org/wiki/SHA-1) | 1.0.0 | `Supporting` | | [SHA-224](https://en.wikipedia.org/wiki/SHA-2) | 1.0.0 | `Supporting` | @@ -30,6 +31,10 @@ Original app is still maintaining and will not be archived in near future. | [SHA-512](https://en.wikipedia.org/wiki/SHA-2) | 1.0.0 | `Supporting` | | [SHA-512/224](https://en.wikipedia.org/wiki/SHA-2) | 1.0.0 | `Supporting` | | [SHA-512/256](https://en.wikipedia.org/wiki/SHA-2) | 1.0.0 | `Supporting` | +| [SHA3-224](https://en.wikipedia.org/wiki/SHA-3) | 1.0.0 | `Supporting` | +| [SHA3-256](https://en.wikipedia.org/wiki/SHA-3) | 1.0.0 | `Supporting` | +| [SHA3-384](https://en.wikipedia.org/wiki/SHA-3) | 1.0.0 | `Supporting` | +| [SHA3-512](https://en.wikipedia.org/wiki/SHA-3) | 1.0.0 | `Supporting` | ## Languages diff --git a/android/app/build.gradle b/android/app/build.gradle index 4380e98..b025476 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -62,5 +62,5 @@ flutter { } dependencies { - implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" + implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" } diff --git a/android/build.gradle b/android/build.gradle index 6b864cd..f6189e3 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -1,12 +1,12 @@ buildscript { - ext.kotlin_version = '1.5.10' + ext.kotlin_version = '1.8.20' repositories { google() mavenCentral() } dependencies { - classpath 'com.android.tools.build:gradle:4.1.3' + classpath 'com.android.tools.build:gradle:7.4.2' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" } } @@ -24,6 +24,6 @@ subprojects { project.evaluationDependsOn(':app') } -task clean(type: Delete) { +tasks.register("clean", Delete) { delete rootProject.buildDir } diff --git a/android/gradle/wrapper/gradle-wrapper.properties b/android/gradle/wrapper/gradle-wrapper.properties index bc6a58a..cfe88f6 100644 --- a/android/gradle/wrapper/gradle-wrapper.properties +++ b/android/gradle/wrapper/gradle-wrapper.properties @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-6.7-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.1-all.zip diff --git a/lib/extensions/hash_type_extensions.dart b/lib/extensions/hash_type_extensions.dart index 193b797..e8d0c6f 100644 --- a/lib/extensions/hash_type_extensions.dart +++ b/lib/extensions/hash_type_extensions.dart @@ -3,6 +3,8 @@ import 'package:hash_checker_2/model/hash_type.dart'; extension HashTypeToString on HashType { String get uiName { switch (this) { + case HashType.crc32: + return 'CRC32'; case HashType.md5: return 'MD5'; case HashType.sha1: @@ -19,6 +21,14 @@ extension HashTypeToString on HashType { return 'SHA-512/224'; case HashType.sha512_256: return 'SHA-512/256'; + case HashType.sha3_224: + return 'SHA3-224'; + case HashType.sha3_256: + return 'SHA3-256'; + case HashType.sha3_384: + return 'SHA3-384'; + case HashType.sha3_512: + return 'SHA3-512'; } } } @@ -26,6 +36,8 @@ extension HashTypeToString on HashType { extension HashTypeToFileExtensionPart on HashType { String get fileExtensionPart { switch (this) { + case HashType.crc32: + return 'crc32'; case HashType.md5: return 'md5'; case HashType.sha1: @@ -42,6 +54,14 @@ extension HashTypeToFileExtensionPart on HashType { return 'sha512_224'; case HashType.sha512_256: return 'sha512_256'; + case HashType.sha3_224: + return 'sha3-224'; + case HashType.sha3_256: + return 'sha3-256'; + case HashType.sha3_384: + return 'sha3-384'; + case HashType.sha3_512: + return 'sha3-512'; } } } diff --git a/lib/model/hash_type.dart b/lib/model/hash_type.dart index 0a8ccc7..5fd2b9c 100644 --- a/lib/model/hash_type.dart +++ b/lib/model/hash_type.dart @@ -1,4 +1,5 @@ enum HashType { + crc32, md5, sha1, sha224, @@ -7,4 +8,8 @@ enum HashType { sha512, sha512_224, sha512_256, + sha3_224, + sha3_256, + sha3_384, + sha3_512, } diff --git a/lib/pages/calculator/page/dialogs/select_hash_type_dialog.dart b/lib/pages/calculator/page/dialogs/select_hash_type_dialog.dart index dd561e0..ace8d1d 100644 --- a/lib/pages/calculator/page/dialogs/select_hash_type_dialog.dart +++ b/lib/pages/calculator/page/dialogs/select_hash_type_dialog.dart @@ -1,7 +1,6 @@ import 'package:flutter/material.dart'; import 'package:hash_checker_2/extensions/hash_type_extensions.dart'; import 'package:hash_checker_2/model/hash_type.dart'; -import 'package:hash_checker_2/ui/widgets/app_rounded_bottom_sheet.dart'; Future showSelectHashTypeDialog({ required BuildContext context, @@ -11,23 +10,28 @@ Future showSelectHashTypeDialog({ context: context, backgroundColor: Colors.transparent, isScrollControlled: true, - builder: (_) { - return AppRoundedBottomSheet( - child: Column( - children: HashType.values.map( - (hashType) { - return ListTile( - title: Text(hashType.uiName), - trailing: hashType == current ? const Icon(Icons.done) : null, - onTap: () => Navigator.pop( - context, - hashType, - ), - ); - }, - ).toList(), - ), - ); - }, + builder: (context) => DraggableScrollableSheet( + initialChildSize: 0.4, + minChildSize: 0.2, + maxChildSize: 0.75, + expand: false, + builder: (_, controller) => ListView( + controller: controller, + padding: const EdgeInsets.all(8), + children: HashType.values.map( + (hashType) { + return ListTile( + tileColor: Colors.white, + title: Text(hashType.uiName), + trailing: hashType == current ? const Icon(Icons.done) : null, + onTap: () => Navigator.pop( + context, + hashType, + ), + ); + }, + ).toList(), + ), + ), ); } diff --git a/lib/pages/calculator/store/calculator_store.dart b/lib/pages/calculator/store/calculator_store.dart index 9072bb2..17f98df 100644 --- a/lib/pages/calculator/store/calculator_store.dart +++ b/lib/pages/calculator/store/calculator_store.dart @@ -4,11 +4,11 @@ import 'dart:convert'; import 'dart:io'; import 'dart:typed_data'; -import 'package:crypto/crypto.dart'; import 'package:hash_checker_2/extensions/hash_type_extensions.dart'; import 'package:hash_checker_2/model/hash_compare_result.dart'; import 'package:hash_checker_2/model/hash_source.dart'; import 'package:hash_checker_2/model/hash_type.dart'; +import 'package:hashlib/hashlib.dart'; import 'package:mobx/mobx.dart'; part 'calculator_store.g.dart'; @@ -41,19 +41,24 @@ abstract class _CalculatorStore with Store { ? fileToGenerate : textValueToGenerate; - HashCompareResult compare() => originalHash == generatedHash ? HashCompareResult.match : HashCompareResult.doNotMatch; + HashCompareResult compare() => originalHash == generatedHash + ? HashCompareResult.match + : HashCompareResult.doNotMatch; bool get canSaveGeneratedHashResult => hashSource != HashSource.none; - Uint8List get generatedHashToFile => Uint8List.fromList(utf8.encode(generatedHash)); + Uint8List get generatedHashToFile => + Uint8List.fromList(utf8.encode(generatedHash)); - String get fileNameForGeneratedHash => '$source.${hashType.fileExtensionPart}.txt'; + String get fileNameForGeneratedHash => + '$source.${hashType.fileExtensionPart}.txt'; @action void setOriginalHash(String originalHash) => this.originalHash = originalHash; @action - void setGeneratedHash(String generatedHash) => this.generatedHash = generatedHash; + void setGeneratedHash(String generatedHash) => + this.generatedHash = generatedHash; @action void setHashType(HashType hashType) => this.hashType = hashType; @@ -87,6 +92,9 @@ abstract class _CalculatorStore with Store { } if (bytes != null) { switch (hashType) { + case HashType.crc32: + generatedHash = crc32.convert(bytes).toString(); + break; case HashType.md5: generatedHash = md5.convert(bytes).toString(); break; @@ -106,10 +114,22 @@ abstract class _CalculatorStore with Store { generatedHash = sha512.convert(bytes).toString(); break; case HashType.sha512_224: - generatedHash = sha512224.convert(bytes).toString(); + generatedHash = sha512t224.convert(bytes).toString(); break; case HashType.sha512_256: - generatedHash = sha512256.convert(bytes).toString(); + generatedHash = sha512t256.convert(bytes).toString(); + break; + case HashType.sha3_224: + generatedHash = sha3_224.convert(bytes).toString(); + break; + case HashType.sha3_256: + generatedHash = sha3_256.convert(bytes).toString(); + break; + case HashType.sha3_384: + generatedHash = sha3_384.convert(bytes).toString(); + break; + case HashType.sha3_512: + generatedHash = sha3_512.convert(bytes).toString(); break; } } diff --git a/pubspec.lock b/pubspec.lock index 8e3f005..e53b878 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -5,210 +5,240 @@ packages: dependency: transitive description: name: _fe_analyzer_shared - url: "https://pub.dartlang.org" + sha256: d37dfd404e9bb23adb23ee61fad5b8e14e0ae018fb6948eda6ca44b197ff1158 + url: "https://pub.dev" source: hosted version: "43.0.0" analyzer: dependency: transitive description: name: analyzer - url: "https://pub.dartlang.org" + sha256: "40cbac251e4fffed9c85afca62e1d8236f4778d647934220f38007e2bd9009d8" + url: "https://pub.dev" source: hosted version: "4.3.1" args: dependency: transitive description: name: args - url: "https://pub.dartlang.org" + sha256: b003c3098049a51720352d219b0bb5f219b60fbfb68e7a4748139a06a5676515 + url: "https://pub.dev" source: hosted version: "2.3.1" async: dependency: transitive description: name: async - url: "https://pub.dartlang.org" + sha256: "947bfcf187f74dbc5e146c9eb9c0f10c9f8b30743e341481c1e2ed3ecc18c20c" + url: "https://pub.dev" source: hosted - version: "2.9.0" + version: "2.11.0" auto_route: dependency: "direct main" description: name: auto_route - url: "https://pub.dartlang.org" + sha256: "931f7c93fdfff8a0344b885dd2f3001746c01fb05820208fe51ddccc6f081a13" + url: "https://pub.dev" source: hosted version: "4.2.1" auto_route_generator: dependency: "direct dev" description: name: auto_route_generator - url: "https://pub.dartlang.org" + sha256: "3d0239a0d6f4a0a5b9f511b4a46f43812a6f2261887de8f5a0bdfe2a44465073" + url: "https://pub.dev" source: hosted version: "4.2.1" boolean_selector: dependency: transitive description: name: boolean_selector - url: "https://pub.dartlang.org" + sha256: "6cfb5af12253eaf2b368f07bacc5a80d1301a071c73360d746b7f2e32d762c66" + url: "https://pub.dev" source: hosted - version: "2.1.0" + version: "2.1.1" build: dependency: transitive description: name: build - url: "https://pub.dartlang.org" + sha256: "29a03af98de60b4eb9136acd56608a54e989f6da238a80af739415b05589d6df" + url: "https://pub.dev" source: hosted version: "2.3.0" build_config: dependency: transitive description: name: build_config - url: "https://pub.dartlang.org" + sha256: "5b7355c14258f5e7df24bad1566f7b991de3e54aeacfb94e1a65e5233d9739c1" + url: "https://pub.dev" source: hosted version: "1.1.0" build_daemon: dependency: transitive description: name: build_daemon - url: "https://pub.dartlang.org" + sha256: "6bc5544ea6ce4428266e7ea680e945c68806c4aae2da0eb5e9ccf38df8d6acbf" + url: "https://pub.dev" source: hosted version: "3.1.0" build_resolvers: dependency: transitive description: name: build_resolvers - url: "https://pub.dartlang.org" + sha256: "9aae031a54ab0beebc30a888c93e900d15ae2fd8883d031dbfbd5ebdb57f5a4c" + url: "https://pub.dev" source: hosted version: "2.0.9" build_runner: dependency: "direct dev" description: name: build_runner - url: "https://pub.dartlang.org" + sha256: "56942f8114731d1e79942cd981cfef29501937ff1bccf4dbdce0273f31f13640" + url: "https://pub.dev" source: hosted version: "2.2.0" build_runner_core: dependency: transitive description: name: build_runner_core - url: "https://pub.dartlang.org" + sha256: f4d6244cc071ba842c296cb1c4ee1b31596b9f924300647ac7a1445493471a3f + url: "https://pub.dev" source: hosted version: "7.2.3" built_collection: dependency: transitive description: name: built_collection - url: "https://pub.dartlang.org" + sha256: "376e3dd27b51ea877c28d525560790aee2e6fbb5f20e2f85d5081027d94e2100" + url: "https://pub.dev" source: hosted version: "5.1.1" built_value: dependency: transitive description: name: built_value - url: "https://pub.dartlang.org" + sha256: d7a9cd57c215bdf8d502772447aa6b52a8ab3f956d25d5fdea6ef1df2d2dad60 + url: "https://pub.dev" source: hosted version: "8.4.1" characters: dependency: transitive description: name: characters - url: "https://pub.dartlang.org" + sha256: "04a925763edad70e8443c99234dc3328f442e811f1d8fd1a72f1c8ad0f69a605" + url: "https://pub.dev" source: hosted - version: "1.2.1" + version: "1.3.0" charcode: dependency: transitive description: name: charcode - url: "https://pub.dartlang.org" + sha256: fb98c0f6d12c920a02ee2d998da788bca066ca5f148492b7085ee23372b12306 + url: "https://pub.dev" source: hosted version: "1.3.1" checked_yaml: dependency: transitive description: name: checked_yaml - url: "https://pub.dartlang.org" + sha256: dd007e4fb8270916820a0d66e24f619266b60773cddd082c6439341645af2659 + url: "https://pub.dev" source: hosted version: "2.0.1" clock: dependency: transitive description: name: clock - url: "https://pub.dartlang.org" + sha256: cb6d7f03e1de671e34607e909a7213e31d7752be4fb66a86d29fe1eb14bfb5cf + url: "https://pub.dev" source: hosted version: "1.1.1" code_builder: dependency: transitive description: name: code_builder - url: "https://pub.dartlang.org" + sha256: "43743b95913fd28b95184eb1bed7e4bd85b802b8fad0a52522702dbeda4ee3d5" + url: "https://pub.dev" source: hosted version: "4.2.0" collection: dependency: transitive description: name: collection - url: "https://pub.dartlang.org" + sha256: "4a07be6cb69c84d677a6c3096fcf960cc3285a8330b4603e0d463d15d9bd934c" + url: "https://pub.dev" source: hosted - version: "1.16.0" + version: "1.17.1" convert: dependency: transitive description: name: convert - url: "https://pub.dartlang.org" + sha256: "196284f26f69444b7f5c50692b55ec25da86d9e500451dc09333bf2e3ad69259" + url: "https://pub.dev" source: hosted version: "3.0.2" crypto: - dependency: "direct main" + dependency: transitive description: name: crypto - url: "https://pub.dartlang.org" + sha256: aa274aa7774f8964e4f4f38cc994db7b6158dd36e9187aaceaddc994b35c6c67 + url: "https://pub.dev" source: hosted version: "3.0.2" csslib: dependency: transitive description: name: csslib - url: "https://pub.dartlang.org" + sha256: b36c7f7e24c0bdf1bf9a3da461c837d1de64b9f8beb190c9011d8c72a3dfd745 + url: "https://pub.dev" source: hosted version: "0.17.2" dart_style: dependency: transitive description: name: dart_style - url: "https://pub.dartlang.org" + sha256: "8aff82f9b26fd868992e5430335a9d773bfef01e1d852d7ba71bf4c5d9349351" + url: "https://pub.dev" source: hosted version: "2.2.3" fake_async: dependency: transitive description: name: fake_async - url: "https://pub.dartlang.org" + sha256: "511392330127add0b769b75a987850d136345d9227c6b94c96a04cf4a391bf78" + url: "https://pub.dev" source: hosted version: "1.3.1" ffi: dependency: transitive description: name: ffi - url: "https://pub.dartlang.org" + sha256: a38574032c5f1dd06c4aee541789906c12ccaab8ba01446e800d9c5b79c4a978 + url: "https://pub.dev" source: hosted version: "2.0.1" file: dependency: transitive description: name: file - url: "https://pub.dartlang.org" + sha256: "1b92bec4fc2a72f59a8e15af5f52cd441e4a7860b49499d69dfa817af20e925d" + url: "https://pub.dev" source: hosted version: "6.1.4" file_picker: dependency: "direct main" description: name: file_picker - url: "https://pub.dartlang.org" + sha256: c448221d7f13d5f47dd0f45c85ccbe15b73c441b2ce3c372f2d080fc2f8f5f1d + url: "https://pub.dev" source: hosted version: "5.0.1" fixnum: dependency: transitive description: name: fixnum - url: "https://pub.dartlang.org" + sha256: "04be3e934c52e082558cc9ee21f42f5c1cd7a1262f4c63cd0357c08d5bba81ec" + url: "https://pub.dev" source: hosted version: "1.0.1" flutter: @@ -220,28 +250,32 @@ packages: dependency: "direct main" description: name: flutter_file_dialog - url: "https://pub.dartlang.org" + sha256: fb19d8b7c811a70947344695001e82777921fdc0ed5c80289440f096ae22b10f + url: "https://pub.dev" source: hosted - version: "2.3.1" + version: "2.3.2" flutter_lints: dependency: "direct dev" description: name: flutter_lints - url: "https://pub.dartlang.org" + sha256: "2118df84ef0c3ca93f96123a616ae8540879991b8b57af2f81b76a7ada49b2a4" + url: "https://pub.dev" source: hosted - version: "2.0.1" + version: "2.0.2" flutter_mobx: dependency: "direct main" description: name: flutter_mobx - url: "https://pub.dartlang.org" + sha256: "906d858f3883140624c41eba5d60d0134ab94f565a39fb2a18439bf920931035" + url: "https://pub.dev" source: hosted version: "2.0.6+1" flutter_plugin_android_lifecycle: dependency: transitive description: name: flutter_plugin_android_lifecycle - url: "https://pub.dartlang.org" + sha256: "60fc7b78455b94e6de2333d2f95196d32cf5c22f4b0b0520a628804cb463503b" + url: "https://pub.dev" source: hosted version: "2.0.7" flutter_test: @@ -258,336 +292,400 @@ packages: dependency: transitive description: name: frontend_server_client - url: "https://pub.dartlang.org" + sha256: "4f4a162323c86ffc1245765cfe138872b8f069deb42f7dbb36115fa27f31469b" + url: "https://pub.dev" source: hosted version: "2.1.3" glob: dependency: transitive description: name: glob - url: "https://pub.dartlang.org" + sha256: c51b4fdfee4d281f49b8c957f1add91b815473597f76bcf07377987f66a55729 + url: "https://pub.dev" source: hosted version: "2.1.0" graphs: dependency: transitive description: name: graphs - url: "https://pub.dartlang.org" + sha256: ae0b3d956ff324c6f8671f08dcb2dbd71c99cdbf2aa3ca63a14190c47aa6679c + url: "https://pub.dev" + source: hosted + version: "2.1.0" + hashlib: + dependency: "direct main" + description: + name: hashlib + sha256: "71bf102329ddb8e50c8a995ee4645ae7f1728bb65e575c17196b4d8262121a96" + url: "https://pub.dev" + source: hosted + version: "1.12.0" + hashlib_codecs: + dependency: transitive + description: + name: hashlib_codecs + sha256: e4eb519e183e17a1cf3544ce759cbda75223cbd74e63961f9d7cfab2cec2f7f8 + url: "https://pub.dev" source: hosted version: "2.1.0" html: dependency: transitive description: name: html - url: "https://pub.dartlang.org" + sha256: bfef906cbd4e78ef49ae511d9074aebd1d2251482ef601a280973e8b58b51bbf + url: "https://pub.dev" source: hosted version: "0.15.0" http: dependency: transitive description: name: http - url: "https://pub.dartlang.org" + sha256: "6aa2946395183537c8b880962d935877325d6a09a2867c3970c05c0fed6ac482" + url: "https://pub.dev" source: hosted version: "0.13.5" http_multi_server: dependency: transitive description: name: http_multi_server - url: "https://pub.dartlang.org" + sha256: "97486f20f9c2f7be8f514851703d0119c3596d14ea63227af6f7a481ef2b2f8b" + url: "https://pub.dev" source: hosted version: "3.2.1" http_parser: dependency: transitive description: name: http_parser - url: "https://pub.dartlang.org" + sha256: db3060f22889f3d9d55f6a217565486737037eec3609f7f3eca4d0c67ee0d8a0 + url: "https://pub.dev" source: hosted version: "4.0.1" io: dependency: transitive description: name: io - url: "https://pub.dartlang.org" + sha256: "0d4c73c3653ab85bf696d51a9657604c900a370549196a91f33e4c39af760852" + url: "https://pub.dev" source: hosted version: "1.0.3" js: dependency: transitive description: name: js - url: "https://pub.dartlang.org" + sha256: f2c445dce49627136094980615a031419f7f3eb393237e4ecd97ac15dea343f3 + url: "https://pub.dev" source: hosted - version: "0.6.4" + version: "0.6.7" json_annotation: dependency: transitive description: name: json_annotation - url: "https://pub.dartlang.org" + sha256: cb314f00b2488de7bc575207e54402cd2f92363f333a7933fd1b0631af226baa + url: "https://pub.dev" source: hosted version: "4.6.0" lints: dependency: transitive description: name: lints - url: "https://pub.dartlang.org" + sha256: "5cfd6509652ff5e7fe149b6df4859e687fca9048437857cb2e65c8d780f396e3" + url: "https://pub.dev" source: hosted version: "2.0.0" logging: dependency: transitive description: name: logging - url: "https://pub.dartlang.org" + sha256: "293ae2d49fd79d4c04944c3a26dfd313382d5f52e821ec57119230ae16031ad4" + url: "https://pub.dev" source: hosted version: "1.0.2" matcher: dependency: transitive description: name: matcher - url: "https://pub.dartlang.org" + sha256: "6501fbd55da300384b768785b83e5ce66991266cec21af89ab9ae7f5ce1c4cbb" + url: "https://pub.dev" source: hosted - version: "0.12.12" + version: "0.12.15" material_color_utilities: dependency: transitive description: name: material_color_utilities - url: "https://pub.dartlang.org" + sha256: d92141dc6fe1dad30722f9aa826c7fbc896d021d792f80678280601aff8cf724 + url: "https://pub.dev" source: hosted - version: "0.1.5" + version: "0.2.0" meta: dependency: transitive description: name: meta - url: "https://pub.dartlang.org" + sha256: "3c74dbf8763d36539f114c799d8a2d87343b5067e9d796ca22b5eb8437090ee3" + url: "https://pub.dev" source: hosted - version: "1.8.0" + version: "1.9.1" mime: dependency: transitive description: name: mime - url: "https://pub.dartlang.org" + sha256: dab22e92b41aa1255ea90ddc4bc2feaf35544fd0728e209638cad041a6e3928a + url: "https://pub.dev" source: hosted version: "1.0.2" mobx: dependency: "direct main" description: name: mobx - url: "https://pub.dartlang.org" + sha256: "67d71f60126dd55c33819a1a8ef966099d2372bb088833c176d138ddbdcec670" + url: "https://pub.dev" source: hosted version: "2.0.7+5" mobx_codegen: dependency: "direct dev" description: name: mobx_codegen - url: "https://pub.dartlang.org" + sha256: c07ee46b6188186c0eb3028dbaf792f778739de23a4f2a2c80c0f9c89c1204ea + url: "https://pub.dev" source: hosted version: "2.0.7" nested: dependency: transitive description: name: nested - url: "https://pub.dartlang.org" + sha256: "03bac4c528c64c95c722ec99280375a6f2fc708eec17c7b3f07253b626cd2a20" + url: "https://pub.dev" source: hosted version: "1.0.0" package_config: dependency: transitive description: name: package_config - url: "https://pub.dartlang.org" + sha256: "1c5b77ccc91e4823a5af61ee74e6b972db1ef98c2ff5a18d3161c982a55448bd" + url: "https://pub.dev" source: hosted version: "2.1.0" package_info_plus: dependency: "direct main" description: name: package_info_plus - url: "https://pub.dartlang.org" + sha256: f62d7253edc197fe3c88d7c2ddab82d68f555e778d55390ccc3537eca8e8d637 + url: "https://pub.dev" source: hosted version: "1.4.3+1" package_info_plus_linux: dependency: transitive description: name: package_info_plus_linux - url: "https://pub.dartlang.org" + sha256: "04b575f44233d30edbb80a94e57cad9107aada334fc02aabb42b6becd13c43fc" + url: "https://pub.dev" source: hosted version: "1.0.5" package_info_plus_macos: dependency: transitive description: name: package_info_plus_macos - url: "https://pub.dartlang.org" + sha256: a2ad8b4acf4cd479d4a0afa5a74ea3f5b1c7563b77e52cc32b3ee6956d5482a6 + url: "https://pub.dev" source: hosted version: "1.3.0" package_info_plus_platform_interface: dependency: transitive description: name: package_info_plus_platform_interface - url: "https://pub.dartlang.org" + sha256: f7a0c8f1e7e981bc65f8b64137a53fd3c195b18d429fba960babc59a5a1c7ae8 + url: "https://pub.dev" source: hosted version: "1.0.2" package_info_plus_web: dependency: transitive description: name: package_info_plus_web - url: "https://pub.dartlang.org" + sha256: d652f0a865d2da52856e2001c53e83fe34a6009cd8d8751d38cf8173c0abf906 + url: "https://pub.dev" source: hosted version: "1.0.5" package_info_plus_windows: dependency: transitive description: name: package_info_plus_windows - url: "https://pub.dartlang.org" + sha256: "79524f11c42dd9078b96d797b3cf79c0a2883a50c4920dc43da8562c115089bc" + url: "https://pub.dev" source: hosted version: "2.1.0" path: dependency: transitive description: name: path - url: "https://pub.dartlang.org" + sha256: "8829d8a55c13fc0e37127c29fedf290c102f4e40ae94ada574091fe0ff96c917" + url: "https://pub.dev" source: hosted - version: "1.8.2" + version: "1.8.3" path_provider_linux: dependency: transitive description: name: path_provider_linux - url: "https://pub.dartlang.org" + sha256: ab0987bf95bc591da42dffb38c77398fc43309f0b9b894dcc5d6f40c4b26c379 + url: "https://pub.dev" source: hosted version: "2.1.7" path_provider_platform_interface: dependency: transitive description: name: path_provider_platform_interface - url: "https://pub.dartlang.org" + sha256: "27dc7a224fcd07444cb5e0e60423ccacea3e13cf00fc5282ac2c918132da931d" + url: "https://pub.dev" source: hosted version: "2.0.4" path_provider_windows: dependency: transitive description: name: path_provider_windows - url: "https://pub.dartlang.org" + sha256: bcabbe399d4042b8ee687e17548d5d3f527255253b4a639f5f8d2094a9c2b45c + url: "https://pub.dev" source: hosted version: "2.1.3" petitparser: dependency: transitive description: name: petitparser - url: "https://pub.dartlang.org" + sha256: "2ebb289dc4764ec397f5cd3ca9881c6d17196130a7d646ed022a0dd9c2e25a71" + url: "https://pub.dev" source: hosted version: "5.0.0" platform: dependency: transitive description: name: platform - url: "https://pub.dartlang.org" + sha256: "4a451831508d7d6ca779f7ac6e212b4023dd5a7d08a27a63da33756410e32b76" + url: "https://pub.dev" source: hosted version: "3.1.0" plugin_platform_interface: dependency: transitive description: name: plugin_platform_interface - url: "https://pub.dartlang.org" + sha256: "075f927ebbab4262ace8d0b283929ac5410c0ac4e7fc123c76429564facfb757" + url: "https://pub.dev" source: hosted version: "2.1.2" pool: dependency: transitive description: name: pool - url: "https://pub.dartlang.org" + sha256: "20fe868b6314b322ea036ba325e6fc0711a22948856475e2c2b6306e8ab39c2a" + url: "https://pub.dev" source: hosted version: "1.5.1" process: dependency: transitive description: name: process - url: "https://pub.dartlang.org" + sha256: "53fd8db9cec1d37b0574e12f07520d582019cb6c44abf5479a01505099a34a09" + url: "https://pub.dev" source: hosted version: "4.2.4" provider: dependency: "direct main" description: name: provider - url: "https://pub.dartlang.org" + sha256: cdbe7530b12ecd9eb455bdaa2fcb8d4dad22e80b8afb4798b41479d5ce26847f + url: "https://pub.dev" source: hosted - version: "6.0.3" + version: "6.0.5" pub_semver: dependency: transitive description: name: pub_semver - url: "https://pub.dartlang.org" + sha256: "816c1a640e952d213ddd223b3e7aafae08cd9f8e1f6864eed304cc13b0272b07" + url: "https://pub.dev" source: hosted version: "2.1.1" pubspec_parse: dependency: transitive description: name: pubspec_parse - url: "https://pub.dartlang.org" + sha256: "75f6614d6dde2dc68948dffbaa4fe5dae32cd700eb9fb763fe11dfb45a3c4d0a" + url: "https://pub.dev" source: hosted version: "1.2.1" shared_preferences: dependency: "direct main" description: name: shared_preferences - url: "https://pub.dartlang.org" + sha256: "76917b7d4b9526b2ba416808a7eb9fb2863c1a09cf63ec85f1453da240fa818a" + url: "https://pub.dev" source: hosted version: "2.0.15" shared_preferences_android: dependency: transitive description: name: shared_preferences_android - url: "https://pub.dartlang.org" + sha256: "853801ce6ba7429ec4e923e37317f32a57c903de50b8c33ffcfbdb7e6f0dd39c" + url: "https://pub.dev" source: hosted version: "2.0.12" shared_preferences_ios: dependency: transitive description: name: shared_preferences_ios - url: "https://pub.dartlang.org" + sha256: "585a14cefec7da8c9c2fb8cd283a3bb726b4155c0952afe6a0caaa7b2272de34" + url: "https://pub.dev" source: hosted version: "2.1.1" shared_preferences_linux: dependency: transitive description: name: shared_preferences_linux - url: "https://pub.dartlang.org" + sha256: "28aefc1261746e7bad3d09799496054beb84e8c4ffcdfed7734e17b4ada459a5" + url: "https://pub.dev" source: hosted version: "2.1.1" shared_preferences_macos: dependency: transitive description: name: shared_preferences_macos - url: "https://pub.dartlang.org" + sha256: fbb94bf296576f49be37a1496d5951796211a8db0aa22cc0d68c46440dad808c + url: "https://pub.dev" source: hosted version: "2.0.4" shared_preferences_platform_interface: dependency: transitive description: name: shared_preferences_platform_interface - url: "https://pub.dartlang.org" + sha256: da9431745ede5ece47bc26d5d73a9d3c6936ef6945c101a5aca46f62e52c1cf3 + url: "https://pub.dev" source: hosted version: "2.1.0" shared_preferences_web: dependency: transitive description: name: shared_preferences_web - url: "https://pub.dartlang.org" + sha256: a4b5bc37fe1b368bbc81f953197d55e12f49d0296e7e412dfe2d2d77d6929958 + url: "https://pub.dev" source: hosted version: "2.0.4" shared_preferences_windows: dependency: transitive description: name: shared_preferences_windows - url: "https://pub.dartlang.org" + sha256: "97f7ab9a7da96d9cf19581f5de520ceb529548498bd6b5e0ccd02d68a0d15eba" + url: "https://pub.dev" source: hosted version: "2.1.1" shelf: dependency: transitive description: name: shelf - url: "https://pub.dartlang.org" + sha256: "8ec607599dd0a78931a5114cdac7d609b6dbbf479a38acc9a6dba024b2a30ea0" + url: "https://pub.dev" source: hosted version: "1.3.2" shelf_web_socket: dependency: transitive description: name: shelf_web_socket - url: "https://pub.dartlang.org" + sha256: "6db16374bc3497d21aa0eebe674d3db9fdf82082aac0f04dc7b44e4af5b08afc" + url: "https://pub.dev" source: hosted version: "1.0.2" sky_engine: @@ -599,191 +697,218 @@ packages: dependency: transitive description: name: source_gen - url: "https://pub.dartlang.org" + sha256: "00f8b6b586f724a8c769c96f1d517511a41661c0aede644544d8d86a1ab11142" + url: "https://pub.dev" source: hosted version: "1.2.2" source_span: dependency: transitive description: name: source_span - url: "https://pub.dartlang.org" + sha256: dd904f795d4b4f3b870833847c461801f6750a9fa8e61ea5ac53f9422b31f250 + url: "https://pub.dev" source: hosted - version: "1.9.0" + version: "1.9.1" stack_trace: dependency: transitive description: name: stack_trace - url: "https://pub.dartlang.org" + sha256: c3c7d8edb15bee7f0f74debd4b9c5f3c2ea86766fe4178eb2a18eb30a0bdaed5 + url: "https://pub.dev" source: hosted - version: "1.10.0" + version: "1.11.0" stream_channel: dependency: transitive description: name: stream_channel - url: "https://pub.dartlang.org" + sha256: "83615bee9045c1d322bbbd1ba209b7a749c2cbcdcb3fdd1df8eb488b3279c1c8" + url: "https://pub.dev" source: hosted - version: "2.1.0" + version: "2.1.1" stream_transform: dependency: transitive description: name: stream_transform - url: "https://pub.dartlang.org" + sha256: ed464977cb26a1f41537e177e190c67223dbd9f4f683489b6ab2e5d211ec564e + url: "https://pub.dev" source: hosted version: "2.0.0" string_scanner: dependency: transitive description: name: string_scanner - url: "https://pub.dartlang.org" + sha256: "556692adab6cfa87322a115640c11f13cb77b3f076ddcc5d6ae3c20242bedcde" + url: "https://pub.dev" source: hosted - version: "1.1.1" + version: "1.2.0" term_glyph: dependency: transitive description: name: term_glyph - url: "https://pub.dartlang.org" + sha256: a29248a84fbb7c79282b40b8c72a1209db169a2e0542bce341da992fe1bc7e84 + url: "https://pub.dev" source: hosted version: "1.2.1" test_api: dependency: transitive description: name: test_api - url: "https://pub.dartlang.org" + sha256: eb6ac1540b26de412b3403a163d919ba86f6a973fe6cc50ae3541b80092fdcfb + url: "https://pub.dev" source: hosted - version: "0.4.12" + version: "0.5.1" timing: dependency: transitive description: name: timing - url: "https://pub.dartlang.org" + sha256: c386d07d7f5efc613479a7c4d9d64b03710b03cfaa7e8ad5f2bfb295a1f0dfad + url: "https://pub.dev" source: hosted version: "1.0.0" typed_data: dependency: transitive description: name: typed_data - url: "https://pub.dartlang.org" + sha256: "26f87ade979c47a150c9eaab93ccd2bebe70a27dc0b4b29517f2904f04eb11a5" + url: "https://pub.dev" source: hosted version: "1.3.1" universal_html: dependency: transitive description: name: universal_html - url: "https://pub.dartlang.org" + sha256: "5ff50b7c14d201421cf5230ec389a0591c4deb5c817c9d7ccca3b26fe5f31e34" + url: "https://pub.dev" source: hosted version: "2.0.8" universal_io: dependency: transitive description: name: universal_io - url: "https://pub.dartlang.org" + sha256: "79f78ddad839ee3aae3ec7c01eb4575faf0d5c860f8e5223bc9f9c17f7f03cef" + url: "https://pub.dev" source: hosted version: "2.0.4" url_launcher: dependency: "direct main" description: name: url_launcher - url: "https://pub.dartlang.org" + sha256: "781bd58a1eb16069412365c98597726cd8810ae27435f04b3b4d3a470bacd61e" + url: "https://pub.dev" source: hosted - version: "6.1.5" + version: "6.1.12" url_launcher_android: dependency: transitive description: name: url_launcher_android - url: "https://pub.dartlang.org" + sha256: "1ccd353c1bff66b49863527c02759f4d06b92744bd9777c96a00ca6a9e8e1d2f" + url: "https://pub.dev" source: hosted version: "6.0.17" url_launcher_ios: dependency: transitive description: name: url_launcher_ios - url: "https://pub.dartlang.org" + sha256: "6ba7dddee26c9fae27c9203c424631109d73c8fa26cfa7bc3e35e751cb87f62e" + url: "https://pub.dev" source: hosted version: "6.0.17" url_launcher_linux: dependency: transitive description: name: url_launcher_linux - url: "https://pub.dartlang.org" + sha256: "360fa359ab06bcb4f7c5cd3123a2a9a4d3364d4575d27c4b33468bd4497dd094" + url: "https://pub.dev" source: hosted version: "3.0.1" url_launcher_macos: dependency: transitive description: name: url_launcher_macos - url: "https://pub.dartlang.org" + sha256: a9b3ea9043eabfaadfa3fb89de67a11210d85569086d22b3854484beab8b3978 + url: "https://pub.dev" source: hosted version: "3.0.1" url_launcher_platform_interface: dependency: transitive description: name: url_launcher_platform_interface - url: "https://pub.dartlang.org" + sha256: "80b860b31a11ebbcbe51b8fe887efc204f3af91522f3b51bcda4622d276d2120" + url: "https://pub.dev" source: hosted version: "2.1.0" url_launcher_web: dependency: transitive description: name: url_launcher_web - url: "https://pub.dartlang.org" + sha256: "5669882643b96bb6d5786637cac727c6e918a790053b09245fd4513b8a07df2a" + url: "https://pub.dev" source: hosted version: "2.0.13" url_launcher_windows: dependency: transitive description: name: url_launcher_windows - url: "https://pub.dartlang.org" + sha256: e3c3b16d3104260c10eea3b0e34272aaa57921f83148b0619f74c2eced9b7ef1 + url: "https://pub.dev" source: hosted version: "3.0.1" vector_math: dependency: transitive description: name: vector_math - url: "https://pub.dartlang.org" + sha256: "80b3257d1492ce4d091729e3a67a60407d227c27241d6927be0130c98e741803" + url: "https://pub.dev" source: hosted - version: "2.1.2" + version: "2.1.4" watcher: dependency: transitive description: name: watcher - url: "https://pub.dartlang.org" + sha256: e42dfcc48f67618344da967b10f62de57e04bae01d9d3af4c2596f3712a88c99 + url: "https://pub.dev" source: hosted version: "1.0.1" web_socket_channel: dependency: transitive description: name: web_socket_channel - url: "https://pub.dartlang.org" + sha256: "3a969ddcc204a3e34e863d204b29c0752716f78b6f9cc8235083208d268a4ccd" + url: "https://pub.dev" source: hosted version: "2.2.0" win32: dependency: transitive description: name: win32 - url: "https://pub.dartlang.org" + sha256: "6b75ac2ddd42f5c226fdaf4498a2b04071c06f1f2b8f7ab1c3f77cc7f2285ff1" + url: "https://pub.dev" source: hosted version: "2.7.0" xdg_directories: dependency: transitive description: name: xdg_directories - url: "https://pub.dartlang.org" + sha256: "11541eedefbcaec9de35aa82650b695297ce668662bbd6e3911a7fabdbde589f" + url: "https://pub.dev" source: hosted version: "0.2.0+2" xml: dependency: transitive description: name: xml - url: "https://pub.dartlang.org" + sha256: ac0e3f4bf00ba2708c33fbabbbe766300e509f8c82dbd4ab6525039813f7e2fb + url: "https://pub.dev" source: hosted version: "6.1.0" yaml: dependency: transitive description: name: yaml - url: "https://pub.dartlang.org" + sha256: "23812a9b125b48d4007117254bca50abb6c712352927eece9e155207b1db2370" + url: "https://pub.dev" source: hosted version: "3.1.1" sdks: - dart: ">=2.17.0 <3.0.0" - flutter: ">=3.0.0" + dart: ">=3.0.0 <4.0.0" + flutter: ">=3.10.0" diff --git a/pubspec.yaml b/pubspec.yaml index c2538c4..19aa5ab 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -22,7 +22,7 @@ dependencies: # A wrapper around InheritedWidget to make them easier to use and more reusable. # See the following link for more information: https://pub.dev/packages/provider - provider: ^6.0.3 + provider: ^6.0.5 # AutoRoute is a declarative routing solution, where everything needed # for navigation is automatically generated for you. @@ -30,8 +30,8 @@ dependencies: auto_route: ^4.2.1 # Implementations of SHA, MD5, and HMAC cryptographic functions - # See the following link for more information: https://pub.dev/packages/crypto - crypto: ^3.0.2 + # See the following link for more information: https://pub.dev/packages/hashlib + hashlib: ^1.12.0 # Flutter plugin for reading and writing simple key-value pairs. # Wraps NSUserDefaults on iOS and SharedPreferences on Android. @@ -45,16 +45,16 @@ dependencies: # Dialogs for picking and saving files in Android and in iOS. # See the following link for more information: https://pub.dev/packages/flutter_file_dialog - flutter_file_dialog: ^2.3.0 + flutter_file_dialog: ^2.3.2 # Flutter plugin for querying information about the application package, # such as CFBundleVersion on iOS or versionCode on Android. # See the following link for more information: https://pub.dev/packages/package_info_plus - package_info_plus: ^1.4.3 + package_info_plus: ^1.4.3+1 # Flutter plugin for launching a URL. Supports web, phone, SMS, and email schemes. # See the following link for more information: https://pub.dev/packages/url_launcher - url_launcher: ^6.1.5 + url_launcher: ^6.1.12 dev_dependencies: flutter_test: @@ -62,7 +62,7 @@ dev_dependencies: # Recommended lints for Flutter apps, packages, and plugins to encourage good coding practices. # See the following link for more information: https://pub.dev/packages/flutter_lints - flutter_lints: ^2.0.1 + flutter_lints: ^2.0.2 # A build system for Dart code generation and modular compilation. # See the following link for more information: https://pub.dev/packages/build_runner