From 4d401f7ec5f3264f2b50166192e5b47c5b8d24a6 Mon Sep 17 00:00:00 2001 From: Christian Chikwado Onwe <47870274+kwado-tech@users.noreply.github.com> Date: Sat, 13 Apr 2024 15:17:27 +0300 Subject: [PATCH] [FIX] Updated package dependencies to resolve analysis issues. (#21) ## Description [Updated package dependencies to resolve analysis issues](https://github.com/kwado-tech/l10n_mapper/commit/fb853d321efbbce6ee2fad5b9abe81784d895848) ## Please check the following boxes - [x] Pull Request title is consistent with the implemented feature, fix etc. - [x] I have followed proper descriptive code style and conventions - [x] The code is self-documenting and has no unnecessary comments. I named the functions and variables to clearly describe their purpose. - [ ] I have added Unit Tests and coverage is 70%+ - [x] I have tested and verified this implementation and it works as expected --- .github/workflows/git_package_release.yml | 4 +- example/pubspec.lock | 96 ++++++++++++----------- example/pubspec.yaml | 4 +- l10n_mapper_generator/CHANGELOG.md | 4 + l10n_mapper_generator/pubspec.yaml | 8 +- 5 files changed, 64 insertions(+), 52 deletions(-) diff --git a/.github/workflows/git_package_release.yml b/.github/workflows/git_package_release.yml index 1ea2f97..78a1bc3 100644 --- a/.github/workflows/git_package_release.yml +++ b/.github/workflows/git_package_release.yml @@ -5,11 +5,11 @@ on: branches: [ main ] env: - flutter_version: '3.13.7' + flutter_version: '3.19.5' java_version: 17 flutter_channel: 'stable' ruby_version: '2.7.5' - release_version: '2.0.0' + release_version: '2.0.1' jobs: git_package_release: diff --git a/example/pubspec.lock b/example/pubspec.lock index 3b66846..4874176 100644 --- a/example/pubspec.lock +++ b/example/pubspec.lock @@ -5,26 +5,26 @@ packages: dependency: transitive description: name: _fe_analyzer_shared - sha256: ae92f5d747aee634b87f89d9946000c2de774be1d6ac3e58268224348cd0101a + sha256: "0b2f2bd91ba804e53a61d757b986f89f1f9eaed5b11e4b2f5a2468d86d6c9fc7" url: "https://pub.dev" source: hosted - version: "61.0.0" + version: "67.0.0" analyzer: dependency: transitive description: name: analyzer - sha256: ea3d8652bda62982addfd92fdc2d0214e5f82e43325104990d4f4c4a2a313562 + sha256: "37577842a27e4338429a1cbc32679d508836510b056f1eedf0c8d20e39c1383d" url: "https://pub.dev" source: hosted - version: "5.13.0" + version: "6.4.1" args: dependency: transitive description: name: args - sha256: eef6c46b622e0494a36c5a12d10d77fb4e855501a91c1b9ef9339326e58f0596 + sha256: "7cf60b9f0cc88203c5a190b4cd62a99feea42759a7fa695010eb5de1c0b2252a" url: "https://pub.dev" source: hosted - version: "2.4.2" + version: "2.5.0" async: dependency: transitive description: @@ -61,34 +61,34 @@ packages: dependency: transitive description: name: build_daemon - sha256: "5f02d73eb2ba16483e693f80bee4f088563a820e47d1027d4cdfe62b5bb43e65" + sha256: "0343061a33da9c5810b2d6cee51945127d8f4c060b7fbdd9d54917f0a3feaaa1" url: "https://pub.dev" source: hosted - version: "4.0.0" + version: "4.0.1" build_resolvers: dependency: transitive description: name: build_resolvers - sha256: "64e12b0521812d1684b1917bc80945625391cb9bdd4312536b1d69dcb6133ed8" + sha256: "339086358431fa15d7eca8b6a36e5d783728cf025e559b834f4609a1fcfb7b0a" url: "https://pub.dev" source: hosted - version: "2.4.1" + version: "2.4.2" build_runner: dependency: "direct dev" description: name: build_runner - sha256: "10c6bcdbf9d049a0b666702cf1cee4ddfdc38f02a19d35ae392863b47519848b" + sha256: "3ac61a79bfb6f6cc11f693591063a7f19a7af628dc52f141743edac5c16e8c22" url: "https://pub.dev" source: hosted - version: "2.4.6" + version: "2.4.9" build_runner_core: dependency: transitive description: name: build_runner_core - sha256: c9e32d21dd6626b5c163d48b037ce906bbe428bc23ab77bcd77bb21e593b6185 + sha256: "4ae8ffe5ac758da294ecf1802f2aff01558d8b1b00616aa7538ea9a8a5d50799" url: "https://pub.dev" source: hosted - version: "7.2.11" + version: "7.3.0" built_collection: dependency: transitive description: @@ -101,10 +101,10 @@ packages: dependency: transitive description: name: built_value - sha256: "723b4021e903217dfc445ec4cf5b42e27975aece1fc4ebbc1ca6329c2d9fb54e" + sha256: c7913a9737ee4007efedaffc968c049fd0f3d0e49109e778edc10de9426005cb url: "https://pub.dev" source: hosted - version: "8.7.0" + version: "8.9.2" characters: dependency: transitive description: @@ -133,10 +133,10 @@ packages: dependency: transitive description: name: code_builder - sha256: "1be9be30396d7e4c0db42c35ea6ccd7cc6a1e19916b5dc64d6ac216b5544d677" + sha256: f692079e25e7869c14132d39f223f8eec9830eb76131925143b2129c4bb01b37 url: "https://pub.dev" source: hosted - version: "4.7.0" + version: "4.10.0" collection: dependency: transitive description: @@ -173,10 +173,10 @@ packages: dependency: transitive description: name: dart_style - sha256: "1efa911ca7086affd35f463ca2fc1799584fb6aa89883cf0af8e3664d6a02d55" + sha256: "99e066ce75c89d6b29903d788a7bb9369cf754f7b24bf70bf4b6d6d6b26853b9" url: "https://pub.dev" source: hosted - version: "2.3.2" + version: "2.3.6" fake_async: dependency: transitive description: @@ -210,10 +210,10 @@ packages: dependency: "direct dev" description: name: flutter_lints - sha256: a25a15ebbdfc33ab1cd26c63a6ee519df92338a9c10f122adda92938253bef04 + sha256: "9e8c3858111da373efc5aa341de011d9bd23e2c5c5e0c62bccf32438e192d7b1" url: "https://pub.dev" source: hosted - version: "2.0.3" + version: "3.0.2" flutter_localizations: dependency: "direct main" description: flutter @@ -228,10 +228,10 @@ packages: dependency: transitive description: name: frontend_server_client - sha256: "408e3ca148b31c20282ad6f37ebfa6f4bdc8fede5b74bc2f08d9d92b55db3612" + sha256: f64a0333a82f30b0cca061bc3d143813a486dc086b574bfb233b7c1372427694 url: "https://pub.dev" source: hosted - version: "3.2.0" + version: "4.0.0" glob: dependency: transitive description: @@ -268,10 +268,10 @@ packages: dependency: transitive description: name: intl - sha256: "3bc132a9dbce73a7e4a21a17d06e1878839ffbf975568bc875c60537824b0c4d" + sha256: d6f56758b7d3014a48af9701c085700aac781a92a87a62b1333b46d8879661cf url: "https://pub.dev" source: hosted - version: "0.18.1" + version: "0.19.0" io: dependency: transitive description: @@ -284,10 +284,10 @@ packages: dependency: transitive description: name: js - sha256: f2c445dce49627136094980615a031419f7f3eb393237e4ecd97ac15dea343f3 + sha256: c1b2e9b5ea78c45e1a0788d29606ba27dc5f71f019f32ca5140f61ef071838cf url: "https://pub.dev" source: hosted - version: "0.6.7" + version: "0.7.1" json_annotation: dependency: transitive description: @@ -302,15 +302,15 @@ packages: path: "../l10n_mapper_generator" relative: true source: path - version: "1.3.0" + version: "2.0.1" leak_tracker: dependency: transitive description: name: leak_tracker - sha256: "78eb209deea09858f5269f5a5b02be4049535f568c07b275096836f01ea323fa" + sha256: "3f87a60e8c63aecc975dda1ceedbc8f24de75f09e4856ea27daf8958f2f0ce05" url: "https://pub.dev" source: hosted - version: "10.0.0" + version: "10.0.5" leak_tracker_flutter_testing: dependency: transitive description: @@ -323,18 +323,18 @@ packages: dependency: transitive description: name: leak_tracker_testing - sha256: a597f72a664dbd293f3bfc51f9ba69816f84dcd403cdac7066cb3f6003f3ab47 + sha256: d4c8f568c60af6b6daa74c80fc04411765769882600f6bf9cd4b391c96de42ce url: "https://pub.dev" source: hosted - version: "2.0.1" + version: "2.0.3" lints: dependency: transitive description: name: lints - sha256: "0a217c6c989d21039f1498c3ed9f3ed71b354e69873f13a8dfc3c9fe76f1b452" + sha256: cbf8d4b858bb0134ef3ef87841abdf8d63bfc255c266b7bf6b39daa1085c4290 url: "https://pub.dev" source: hosted - version: "2.1.1" + version: "3.0.0" logging: dependency: transitive description: @@ -363,18 +363,18 @@ packages: dependency: transitive description: name: meta - sha256: d584fa6707a52763a52446f02cc621b077888fb63b93bbcb1143a7be5a0c0c04 + sha256: "25dfcaf170a0190f47ca6355bdd4552cb8924b430512ff0cafb8db9bd41fe33b" url: "https://pub.dev" source: hosted - version: "1.11.0" + version: "1.14.0" mime: dependency: transitive description: name: mime - sha256: e4ff8e8564c03f255408decd16e7899da1733852a9110a58fe6d1b817684a63e + sha256: "2e123074287cc9fd6c09de8336dae606d1ddb88d9ac47358826db698c176a1f2" url: "https://pub.dev" source: hosted - version: "1.0.4" + version: "1.0.5" package_config: dependency: transitive description: @@ -440,10 +440,10 @@ packages: dependency: transitive description: name: source_gen - sha256: fc0da689e5302edb6177fdd964efcb7f58912f43c28c2047a808f5bfff643d16 + sha256: "14658ba5f669685cd3d63701d01b31ea748310f7ab854e471962670abcf57832" url: "https://pub.dev" source: hosted - version: "1.4.0" + version: "1.5.0" source_span: dependency: transitive description: @@ -540,14 +540,22 @@ packages: url: "https://pub.dev" source: hosted version: "1.1.0" + web: + dependency: transitive + description: + name: web + sha256: "97da13628db363c635202ad97068d47c5b8aa555808e7a9411963c533b449b27" + url: "https://pub.dev" + source: hosted + version: "0.5.1" web_socket_channel: dependency: transitive description: name: web_socket_channel - sha256: d88238e5eac9a42bb43ca4e721edba3c08c6354d4a53063afaa568516217621b + sha256: "58c6666b342a38816b2e7e50ed0f1e261959630becd4c879c4f26bfa14aa5a42" url: "https://pub.dev" source: hosted - version: "2.4.0" + version: "2.4.5" yaml: dependency: transitive description: @@ -557,5 +565,5 @@ packages: source: hosted version: "3.1.2" sdks: - dart: ">=3.2.0-0 <4.0.0" + dart: ">=3.3.0 <4.0.0" flutter: ">=1.17.0" diff --git a/example/pubspec.yaml b/example/pubspec.yaml index 96cc2dc..9d509b7 100644 --- a/example/pubspec.yaml +++ b/example/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: 'none' version: 0.1.0 environment: - sdk: '>=3.0.0-0 <4.0.0' + sdk: '>=3.3.0-0 <4.0.0' dependencies: cupertino_icons: ^1.0.2 @@ -16,7 +16,7 @@ dependencies: dev_dependencies: build_runner: ^2.3.3 - flutter_lints: ^2.0.0 + flutter_lints: ^3.0.2 flutter_test: sdk: flutter diff --git a/l10n_mapper_generator/CHANGELOG.md b/l10n_mapper_generator/CHANGELOG.md index 5922857..71186f1 100644 --- a/l10n_mapper_generator/CHANGELOG.md +++ b/l10n_mapper_generator/CHANGELOG.md @@ -33,3 +33,7 @@ * `l10n_mapper_generator` build configurations are now provided via `build.yaml` file * Updated readme. +## 2.0.1 + +* Fixes analysis issues + diff --git a/l10n_mapper_generator/pubspec.yaml b/l10n_mapper_generator/pubspec.yaml index fb6a078..42dbacb 100644 --- a/l10n_mapper_generator/pubspec.yaml +++ b/l10n_mapper_generator/pubspec.yaml @@ -2,16 +2,16 @@ name: l10n_mapper_generator description: A dart package to generate localization-mapper to support parsing dynamic translation keys (as flutter-localizations package does not yet support this). -version: 2.0.0 +version: 2.0.1 homepage: https://github.com/kwado-tech/l10n_mapper/tree/main/l10n_mapper_generator repository: https://github.com/kwado-tech/l10n_mapper/tree/main/l10n_mapper_generator environment: - sdk: '>=3.0.0 <4.0.0' + sdk: '>=3.3.0 <4.0.0' flutter: ">=1.17.0" dependencies: - analyzer: ^5.2.0 + analyzer: ^6.4.1 args: ^2.4.2 build: ^2.3.1 flutter: @@ -21,7 +21,7 @@ dependencies: dev_dependencies: build_runner: ^2.3.3 - flutter_lints: ^2.0.0 + flutter_lints: ^3.0.2 flutter_test: sdk: flutter