From 1362002e8ca7782c1b0908d83d24402e2b6aa4e9 Mon Sep 17 00:00:00 2001 From: Thomas Hii Date: Wed, 22 May 2024 00:26:09 +0800 Subject: [PATCH 1/2] Updated lints --- packages/auth/pubspec.yaml | 4 ++-- packages/auth_oauth2/pubspec.yaml | 4 ++-- packages/auth_twitter/pubspec.yaml | 2 +- packages/cache/pubspec.yaml | 4 ++-- packages/client/pubspec.yaml | 4 ++-- packages/configuration/pubspec.yaml | 4 ++-- packages/container/angel_container/pubspec.yaml | 4 ++-- packages/container/angel_container_generator/pubspec.yaml | 4 ++-- packages/cors/pubspec.yaml | 4 ++-- packages/file_service/pubspec.yaml | 4 ++-- packages/framework/pubspec.yaml | 4 ++-- packages/hot/pubspec.yaml | 4 ++-- packages/html/pubspec.yaml | 4 ++-- packages/http_exception/pubspec.yaml | 4 ++-- packages/jael/angel_jael/pubspec.yaml | 4 ++-- packages/jael/jael/pubspec.yaml | 4 ++-- packages/jael/jael_language_server/pubspec.yaml | 4 ++-- packages/jael/jael_preprocessor/pubspec.yaml | 4 ++-- packages/jael/jael_web/pubspec.yaml | 4 ++-- packages/jinja/pubspec.yaml | 4 ++-- packages/markdown/pubspec.yaml | 4 ++-- packages/mock_request/pubspec.yaml | 4 ++-- packages/model/pubspec.yaml | 4 ++-- packages/mongo/pubspec.yaml | 4 ++-- packages/mustache/pubspec.yaml | 4 ++-- packages/oauth2/pubspec.yaml | 4 ++-- packages/orm/angel_migration/pubspec.yaml | 4 ++-- packages/orm/angel_migration_runner/pubspec.yaml | 4 ++-- packages/orm/angel_orm/pubspec.yaml | 4 ++-- packages/orm/angel_orm_generator/pubspec.yaml | 4 ++-- packages/orm/angel_orm_mysql/pubspec.yaml | 4 ++-- packages/orm/angel_orm_postgres/pubspec.yaml | 4 ++-- packages/orm/angel_orm_service/pubspec.yaml | 4 ++-- packages/orm/angel_orm_test/pubspec.yaml | 4 ++-- packages/paginate/pubspec.yaml | 4 ++-- packages/production/pubspec.yaml | 4 ++-- packages/proxy/pubspec.yaml | 4 ++-- packages/redis/pubspec.yaml | 4 ++-- packages/route/pubspec.yaml | 4 ++-- packages/security/pubspec.yaml | 4 ++-- packages/sembast/pubspec.yaml | 4 ++-- packages/seo/pubspec.yaml | 4 ++-- packages/serialize/angel_serialize/pubspec.yaml | 4 ++-- packages/serialize/angel_serialize_generator/pubspec.yaml | 4 ++-- packages/shelf/pubspec.yaml | 4 ++-- packages/static/pubspec.yaml | 4 ++-- packages/sync/pubspec.yaml | 4 ++-- packages/test/pubspec.yaml | 4 ++-- packages/user_agent/angel_user_agent/pubspec.yaml | 4 ++-- packages/validate/pubspec.yaml | 4 ++-- packages/websocket/pubspec.yaml | 4 ++-- pubspec.yaml | 4 ++-- 52 files changed, 103 insertions(+), 103 deletions(-) diff --git a/packages/auth/pubspec.yaml b/packages/auth/pubspec.yaml index f7997efb..8ef053ea 100644 --- a/packages/auth/pubspec.yaml +++ b/packages/auth/pubspec.yaml @@ -4,7 +4,7 @@ version: 8.1.1 homepage: https://angel3-framework.web.app/ repository: https://github.com/dart-backend/angel/tree/master/packages/auth environment: - sdk: '>=3.0.0 <4.0.0' + sdk: '>=3.3.0 <4.0.0' dependencies: angel3_framework: ^8.0.0 charcode: ^1.3.0 @@ -19,7 +19,7 @@ dev_dependencies: http: ^1.0.0 io: ^1.0.0 test: ^1.24.0 - lints: ^3.0.0 + lints: ^4.0.0 # dependency_overrides: # angel3_container: # path: ../container/angel_container diff --git a/packages/auth_oauth2/pubspec.yaml b/packages/auth_oauth2/pubspec.yaml index 6023d950..a03d3745 100644 --- a/packages/auth_oauth2/pubspec.yaml +++ b/packages/auth_oauth2/pubspec.yaml @@ -4,7 +4,7 @@ description: Angel3 library for authenticating users with external identity prov homepage: https://angel3-framework.web.app/ repository: https://github.com/dart-backend/angel/tree/master/packages/auth_oauth2 environment: - sdk: '>=3.0.0 <4.0.0' + sdk: '>=3.3.0 <4.0.0' dependencies: angel3_auth: ^8.0.0 angel3_framework: ^8.0.0 @@ -12,7 +12,7 @@ dependencies: oauth2: ^2.0.0 dev_dependencies: logging: ^1.2.0 - lints: ^3.0.0 + lints: ^4.0.0 # dependency_overrides: # angel3_container: # path: ../container/angel_container diff --git a/packages/auth_twitter/pubspec.yaml b/packages/auth_twitter/pubspec.yaml index c416c38a..d2c7096e 100644 --- a/packages/auth_twitter/pubspec.yaml +++ b/packages/auth_twitter/pubspec.yaml @@ -15,7 +15,7 @@ dependencies: dart_twitter_api: ^0.5.6+1 dev_dependencies: logging: ^1.2.0 - lints: ^3.0.0 + lints: ^4.0.0 dependency_overrides: http: ^1.0.0 # angel3_container: diff --git a/packages/cache/pubspec.yaml b/packages/cache/pubspec.yaml index 492f9eec..f778c84b 100644 --- a/packages/cache/pubspec.yaml +++ b/packages/cache/pubspec.yaml @@ -4,7 +4,7 @@ description: A service that provides HTTP caching to the response data for Angel homepage: https://angel3-framework.web.app/ repository: https://github.com/dart-backend/angel/tree/master/packages/cache environment: - sdk: '>=3.0.0 <4.0.0' + sdk: '>=3.3.0 <4.0.0' dependencies: angel3_framework: ^8.0.0 collection: ^1.17.0 @@ -16,7 +16,7 @@ dev_dependencies: glob: ^2.0.1 http: ^1.0.0 test: ^1.24.0 - lints: ^3.0.0 + lints: ^4.0.0 # dependency_overrides: # angel3_container: # path: ../container/angel_container diff --git a/packages/client/pubspec.yaml b/packages/client/pubspec.yaml index 9103068b..0045ae53 100644 --- a/packages/client/pubspec.yaml +++ b/packages/client/pubspec.yaml @@ -4,7 +4,7 @@ description: A browser, mobile and command line based client that supports query homepage: https://angel3-framework.web.app/ repository: https://github.com/dart-backend/angel/tree/master/packages/client environment: - sdk: '>=3.0.0 <4.0.0' + sdk: '>=3.3.0 <4.0.0' dependencies: angel3_http_exception: ^8.0.0 belatuk_json_serializer: ^7.0.0 @@ -24,7 +24,7 @@ dev_dependencies: build_runner: ^2.4.0 build_web_compilers: ^4.0.0 test: ^1.24.0 - lints: ^3.0.0 + lints: ^4.0.0 # dependency_overrides: # angel3_container: # path: ../container/angel_container diff --git a/packages/configuration/pubspec.yaml b/packages/configuration/pubspec.yaml index dfa43c17..3b6daaa7 100644 --- a/packages/configuration/pubspec.yaml +++ b/packages/configuration/pubspec.yaml @@ -4,7 +4,7 @@ description: Automatic YAML application configuration loader for Angel 3, with . homepage: https://angel3-framework.web.app/ repository: https://github.com/dart-backend/angel/tree/master/packages/configuration environment: - sdk: '>=3.0.0 <4.0.0' + sdk: '>=3.3.0 <4.0.0' dependencies: angel3_framework: ^8.0.0 belatuk_merge_map: ^5.0.0 @@ -14,7 +14,7 @@ dependencies: dev_dependencies: io: ^1.0.0 logging: ^1.2.0 - lints: ^3.0.0 + lints: ^4.0.0 belatuk_pretty_logging: ^6.0.0 test: ^1.24.0 # dependency_overrides: diff --git a/packages/container/angel_container/pubspec.yaml b/packages/container/angel_container/pubspec.yaml index 73222004..c8405dea 100644 --- a/packages/container/angel_container/pubspec.yaml +++ b/packages/container/angel_container/pubspec.yaml @@ -4,10 +4,10 @@ description: Angel3 hierarchical DI container, and pluggable backends for reflec homepage: https://angel3-framework.web.app/ repository: https://github.com/dart-backend/angel/tree/master/packages/container/angel_container environment: - sdk: '>=3.0.0 <4.0.0' + sdk: '>=3.3.0 <4.0.0' dependencies: collection: ^1.17.0 quiver: ^3.2.0 dev_dependencies: test: ^1.24.0 - lints: ^3.0.0 \ No newline at end of file + lints: ^4.0.0 \ No newline at end of file diff --git a/packages/container/angel_container_generator/pubspec.yaml b/packages/container/angel_container_generator/pubspec.yaml index ecfb2d60..926ad32d 100644 --- a/packages/container/angel_container_generator/pubspec.yaml +++ b/packages/container/angel_container_generator/pubspec.yaml @@ -4,7 +4,7 @@ description: Codegen support for using pkg:reflectable with pkg:angel3_container homepage: https://angel3-framework.web.app/ repository: https://github.com/dart-backend/angel/tree/master/packages/container/angel_container_generator environment: - sdk: '>=3.0.0 <4.0.0' + sdk: '>=3.3.0 <4.0.0' dependencies: angel3_container: ^8.0.0 reflectable: ^4.0.0 @@ -12,7 +12,7 @@ dev_dependencies: build_runner: ^2.4.0 build_test: ^2.1.0 test: ^1.24.0 - lints: ^3.0.0 + lints: ^4.0.0 # dependency_overrides: # angel3_container: # path: ../angel_container diff --git a/packages/cors/pubspec.yaml b/packages/cors/pubspec.yaml index 300cb6d3..e508a995 100644 --- a/packages/cors/pubspec.yaml +++ b/packages/cors/pubspec.yaml @@ -4,13 +4,13 @@ description: Angel3 CORS middleware. Ported from expressjs/cors to Angel3 framew homepage: https://angel3-framework.web.app/ repository: https://github.com/dart-backend/angel/tree/master/packages/cors environment: - sdk: '>=3.0.0 <4.0.0' + sdk: '>=3.3.0 <4.0.0' dependencies: angel3_framework: ^8.0.0 dev_dependencies: angel3_test: ^8.0.0 http: ^1.0.0 - lints: ^3.0.0 + lints: ^4.0.0 test: ^1.24.0 # dependency_overrides: # angel3_container: diff --git a/packages/file_service/pubspec.yaml b/packages/file_service/pubspec.yaml index e508ee51..fa89d596 100644 --- a/packages/file_service/pubspec.yaml +++ b/packages/file_service/pubspec.yaml @@ -4,14 +4,14 @@ description: Angel service that persists data to a file on disk, stored as a JSO homepage: https://angel3-framework.web.app/ repository: https://github.com/dart-backend/angel/tree/master/packages/file_service environment: - sdk: '>=3.0.0 <4.0.0' + sdk: '>=3.3.0 <4.0.0' dependencies: angel3_framework: ^8.0.0 file: ^7.0.0 pool: ^1.5.0 dev_dependencies: test: ^1.24.0 - lints: ^3.0.0 + lints: ^4.0.0 # dependency_overrides: # angel3_container: # path: ../container/angel_container diff --git a/packages/framework/pubspec.yaml b/packages/framework/pubspec.yaml index c893ef01..1934ef3f 100644 --- a/packages/framework/pubspec.yaml +++ b/packages/framework/pubspec.yaml @@ -4,7 +4,7 @@ description: A high-powered HTTP server extensible framework with dependency inj homepage: https://angel3-framework.web.app/ repository: https://github.com/dart-backend/angel/tree/master/packages/framework environment: - sdk: '>=3.0.0 <4.0.0' + sdk: '>=3.3.0 <4.0.0' dependencies: angel3_container: ^8.0.0 angel3_http_exception: ^8.0.0 @@ -34,7 +34,7 @@ dev_dependencies: http: ^1.0.0 io: ^1.0.0 test: ^1.24.0 - lints: ^3.0.0 + lints: ^4.0.0 # dependency_overrides: # angel3_container: # path: ../container/angel_container diff --git a/packages/hot/pubspec.yaml b/packages/hot/pubspec.yaml index 9a127980..bda245fb 100644 --- a/packages/hot/pubspec.yaml +++ b/packages/hot/pubspec.yaml @@ -4,7 +4,7 @@ description: Supports hot reloading/hot code push of Angel3 servers on file chan homepage: https://angel3-framework.web.app/ repository: https://github.com/dart-backend/angel/tree/master/packages/hot environment: - sdk: '>=3.0.0 <4.0.0' + sdk: '>=3.3.0 <4.0.0' dependencies: angel3_framework: ^8.2.0 angel3_websocket: ^8.1.0 @@ -18,7 +18,7 @@ dependencies: logging: ^1.2.0 dev_dependencies: http: ^1.0.0 - lints: ^3.0.0 + lints: ^4.0.0 #dependency_overrides: # angel3_container: # path: ../container/angel_container diff --git a/packages/html/pubspec.yaml b/packages/html/pubspec.yaml index 2d4dc3f9..ff4fd5bd 100644 --- a/packages/html/pubspec.yaml +++ b/packages/html/pubspec.yaml @@ -4,7 +4,7 @@ description: Support for rendering html_builder AST's as responses in Angel. homepage: https://angel3-framework.web.app/ repository: https://github.com/dart-backend/angel/tree/angel3/packages/html_builder environment: - sdk: '>=3.0.0 <4.0.0' + sdk: '>=3.3.0 <4.0.0' dependencies: angel3_framework: ^8.0.0 belatuk_html_builder: ^5.0.0 @@ -13,7 +13,7 @@ dev_dependencies: html: ^0.15.0 logging: ^1.0.1 test: ^1.21.0 - lints: ^3.0.0 + lints: ^4.0.0 # dependency_overrides: # angel3_container: # path: ../container/angel_container diff --git a/packages/http_exception/pubspec.yaml b/packages/http_exception/pubspec.yaml index 1fca02c2..7928e2c9 100644 --- a/packages/http_exception/pubspec.yaml +++ b/packages/http_exception/pubspec.yaml @@ -4,6 +4,6 @@ description: Exception class that can be serialized to JSON and serialized to cl homepage: https://angel3-framework.web.app/ repository: https://github.com/dart-backend/angel/tree/master/packages/http_exception environment: - sdk: '>=3.0.0 <4.0.0' + sdk: '>=3.3.0 <4.0.0' dev_dependencies: - lints: ^3.0.0 \ No newline at end of file + lints: ^4.0.0 \ No newline at end of file diff --git a/packages/jael/angel_jael/pubspec.yaml b/packages/jael/angel_jael/pubspec.yaml index 1fac3c66..d03a09e5 100644 --- a/packages/jael/angel_jael/pubspec.yaml +++ b/packages/jael/angel_jael/pubspec.yaml @@ -4,7 +4,7 @@ description: Angel support for the Jael templating engine, similar to Blade or L homepage: https://angel3-framework.web.app/ repository: https://github.com/dart-backend/angel/tree/master/packages/jael/angel_jael environment: - sdk: '>=3.0.0 <4.0.0' + sdk: '>=3.3.0 <4.0.0' dependencies: angel3_framework: ^8.0.0 jael3: ^8.0.0 @@ -17,7 +17,7 @@ dev_dependencies: angel3_test: ^8.0.0 html: ^0.15.0 test: ^1.24.0 - lints: ^3.0.0 + lints: ^4.0.0 # dependency_overrides: # angel3_container: # path: ../../container/angel_container diff --git a/packages/jael/jael/pubspec.yaml b/packages/jael/jael/pubspec.yaml index 1c5a52fa..fce61109 100644 --- a/packages/jael/jael/pubspec.yaml +++ b/packages/jael/jael/pubspec.yaml @@ -4,7 +4,7 @@ description: A simple server-side HTML templating engine for Dart. Comparable t homepage: https://angel3-framework.web.app/ repository: https://github.com/dart-backend/angel/tree/master/packages/jael/jael environment: - sdk: '>=3.0.0 <4.0.0' + sdk: '>=3.3.0 <4.0.0' dependencies: args: ^2.4.0 charcode: ^1.3.0 @@ -15,7 +15,7 @@ dependencies: collection: ^1.17.0 matcher: ^0.12.10 dev_dependencies: - lints: ^3.0.0 + lints: ^4.0.0 test: ^1.24.0 executables: jaelfmt: jaelfmt \ No newline at end of file diff --git a/packages/jael/jael_language_server/pubspec.yaml b/packages/jael/jael_language_server/pubspec.yaml index 8f51567e..87780a17 100644 --- a/packages/jael/jael_language_server/pubspec.yaml +++ b/packages/jael/jael_language_server/pubspec.yaml @@ -4,7 +4,7 @@ description: Language Server Protocol implementation for the Jael templating eng homepage: https://github.com/angel-dart/vscode publish_to: none environment: - sdk: '>=3.0.0 <4.0.0' + sdk: '>=3.3.0 <4.0.0' dependencies: args: ^2.4.0 # dart_language_server: ^0.1.16 @@ -18,7 +18,7 @@ dependencies: path: ^1.8.0 source_span: ^1.10.0 string_scanner: ^1.2.0 - lints: ^3.0.0 + lints: ^4.0.0 stream_channel: ^2.1.0 async: ^2.11.0 executables: diff --git a/packages/jael/jael_preprocessor/pubspec.yaml b/packages/jael/jael_preprocessor/pubspec.yaml index 573fe971..f1dc2418 100644 --- a/packages/jael/jael_preprocessor/pubspec.yaml +++ b/packages/jael/jael_preprocessor/pubspec.yaml @@ -4,7 +4,7 @@ description: A pre-processor for resolving blocks and includes within Jael templ homepage: https://angel3-framework.web.app/ repository: https://github.com/dart-backend/angel/tree/master/packages/jael/jael_preprocessor environment: - sdk: '>=3.0.0 <4.0.0' + sdk: '>=3.3.0 <4.0.0' dependencies: file: ^7.0.0 jael3: ^8.0.0 @@ -13,7 +13,7 @@ dependencies: dev_dependencies: belatuk_code_buffer: ^5.1.0 test: ^1.24.0 - lints: ^3.0.0 + lints: ^4.0.0 # dependency_overrides: # jael3: # path: ../jael diff --git a/packages/jael/jael_web/pubspec.yaml b/packages/jael/jael_web/pubspec.yaml index 63fbc0ee..941a6297 100644 --- a/packages/jael/jael_web/pubspec.yaml +++ b/packages/jael/jael_web/pubspec.yaml @@ -3,7 +3,7 @@ version: 8.2.0 description: Experimental virtual DOM/SPA engine built on Jael3. Supports SSR. publish_to: none environment: - sdk: '>=3.0.0 <4.0.0' + sdk: '>=3.3.0 <4.0.0' dependencies: analyzer: ^6.2.0 build: ^2.0.2 @@ -17,7 +17,7 @@ dependencies: dev_dependencies: build_runner: ^2.4.0 build_web_compilers: ^4.0.0 - lints: ^3.0.0 + lints: ^4.0.0 # dependency_overrides: # jael3: # path: ../jael diff --git a/packages/jinja/pubspec.yaml b/packages/jinja/pubspec.yaml index addaa9be..0ed4e18c 100644 --- a/packages/jinja/pubspec.yaml +++ b/packages/jinja/pubspec.yaml @@ -3,7 +3,7 @@ version: 8.2.1 description: A service that renders Jinja2 template into HTML view for Angel3. Ported from Python to Dart. homepage: https://github.com/dart-backend/angel/tree/master/packages/jinja environment: - sdk: '>=3.0.0 <4.0.0' + sdk: '>=3.3.0 <4.0.0' dependencies: angel3_framework: ^8.0.0 jinja: ^0.5.0 @@ -11,7 +11,7 @@ dev_dependencies: angel3_test: ^8.0.0 path: ^1.9.0 test: ^1.24.0 - lints: ^3.0.0 + lints: ^4.0.0 # dependency_overrides: # angel3_container: # path: ../container/angel_container diff --git a/packages/markdown/pubspec.yaml b/packages/markdown/pubspec.yaml index 779ea00c..e4f3458a 100644 --- a/packages/markdown/pubspec.yaml +++ b/packages/markdown/pubspec.yaml @@ -4,14 +4,14 @@ description: Angel3 Markdown view generator. Write static sites, with no build s homepage: https://angel3-framework.web.app/ repository: https://github.com/dart-backend/angel/tree/master/packages/markdown environment: - sdk: '>=3.0.0 <4.0.0' + sdk: '>=3.3.0 <4.0.0' dependencies: angel3_framework: ^8.0.0 file: ^7.0.0 markdown: ^7.1.0 dev_dependencies: angel3_test: ^8.0.0 - lints: ^3.0.0 + lints: ^4.0.0 test: ^1.24.0 # dependency_overrides: # angel3_container: diff --git a/packages/mock_request/pubspec.yaml b/packages/mock_request/pubspec.yaml index 7f6229ec..5fffe214 100644 --- a/packages/mock_request/pubspec.yaml +++ b/packages/mock_request/pubspec.yaml @@ -4,14 +4,14 @@ description: Manufacture dart:io HttpRequests, HttpResponses, HttpHeaders, etc. homepage: https://angel3-framework.web.app/ repository: https://github.com/dart-backend/angel/tree/master/packages/mock_request environment: - sdk: '>=3.0.0 <4.0.0' + sdk: '>=3.3.0 <4.0.0' dependencies: charcode: ^1.3.0 dev_dependencies: #angel3_framework: ^7.0.0 http: ^1.0.0 test: ^1.24.0 - lints: ^3.0.0 + lints: ^4.0.0 # dependency_overrides: # angel3_framework: # path: ../framework diff --git a/packages/model/pubspec.yaml b/packages/model/pubspec.yaml index 01c07377..eae6093d 100644 --- a/packages/model/pubspec.yaml +++ b/packages/model/pubspec.yaml @@ -4,6 +4,6 @@ description: Angel3 basic data model class, no longer with the added weight of t homepage: https://angel3-framework.web.app/ repository: https://github.com/dart-backend/angel/tree/master/packages/model environment: - sdk: '>=3.0.0 <4.0.0' + sdk: '>=3.3.0 <4.0.0' dev_dependencies: - lints: ^3.0.0 + lints: ^4.0.0 diff --git a/packages/mongo/pubspec.yaml b/packages/mongo/pubspec.yaml index 1ca623b7..8d9e7b21 100644 --- a/packages/mongo/pubspec.yaml +++ b/packages/mongo/pubspec.yaml @@ -4,7 +4,7 @@ description: MongoDB-enabled services for the Angel3 framework. Well-tested. homepage: https://angel3-framework.web.app/ repository: https://github.com/dart-backend/angel/tree/master/packages/mongo environment: - sdk: '>=3.0.0 <4.0.0' + sdk: '>=3.3.0 <4.0.0' dependencies: angel3_framework: ^8.0.0 belatuk_json_serializer: ^7.1.0 @@ -13,7 +13,7 @@ dependencies: dev_dependencies: http: ^1.0.0 test: ^1.24.0 - lints: ^3.0.0 + lints: ^4.0.0 # dependency_overrides: # angel3_container: # path: ../container/angel_container diff --git a/packages/mustache/pubspec.yaml b/packages/mustache/pubspec.yaml index 5eca43c6..55740276 100644 --- a/packages/mustache/pubspec.yaml +++ b/packages/mustache/pubspec.yaml @@ -4,7 +4,7 @@ description: A service that renders Mustache template into HTML view for Angel3 homepage: https://angel3-framework.web.app/ repository: https://github.com/dart-backend/angel/tree/master/packages/mustache environment: - sdk: '>=3.0.0 <4.0.0' + sdk: '>=3.3.0 <4.0.0' dependencies: angel3_framework: ^8.0.0 file: ^7.0.0 @@ -13,7 +13,7 @@ dependencies: dev_dependencies: http: ^1.0.0 test: ^1.24.0 - lints: ^3.0.0 + lints: ^4.0.0 # dependency_overrides: # angel3_container: # path: ../container/angel_container diff --git a/packages/oauth2/pubspec.yaml b/packages/oauth2/pubspec.yaml index 4b370b00..2929f265 100644 --- a/packages/oauth2/pubspec.yaml +++ b/packages/oauth2/pubspec.yaml @@ -4,7 +4,7 @@ description: A class containing handlers that can be used within Angel to build homepage: https://angel3-framework.web.app/ repository: https://github.com/dart-backend/angel/tree/master/packages/oauth2 environment: - sdk: '>=3.0.0 <4.0.0' + sdk: '>=3.3.0 <4.0.0' dependencies: angel3_framework: ^8.0.0 angel3_http_exception: ^8.0.0 @@ -16,7 +16,7 @@ dev_dependencies: angel3_test: ^8.0.0 angel3_container: ^8.0.0 oauth2: ^2.0.0 - lints: ^3.0.0 + lints: ^4.0.0 test: ^1.24.0 uuid: ^4.0.0 # dependency_overrides: diff --git a/packages/orm/angel_migration/pubspec.yaml b/packages/orm/angel_migration/pubspec.yaml index 8bde6626..3e2ac125 100755 --- a/packages/orm/angel_migration/pubspec.yaml +++ b/packages/orm/angel_migration/pubspec.yaml @@ -4,11 +4,11 @@ description: Database migration runtime for Angel3 ORM. Use this package to defi homepage: https://angel3-framework.web.app/ repository: https://github.com/dart-backend/angel/tree/master/packages/orm/angel_migration environment: - sdk: '>=3.0.0 <4.0.0' + sdk: '>=3.3.0 <4.0.0' dependencies: angel3_orm: ^8.0.0 dev_dependencies: - lints: ^3.0.0 + lints: ^4.0.0 # dependency_overrides: # angel3_orm: # path: ../angel_orm diff --git a/packages/orm/angel_migration_runner/pubspec.yaml b/packages/orm/angel_migration_runner/pubspec.yaml index ab93ed57..9032f9a5 100755 --- a/packages/orm/angel_migration_runner/pubspec.yaml +++ b/packages/orm/angel_migration_runner/pubspec.yaml @@ -4,7 +4,7 @@ description: Command-line based database migration runner for Angel3's ORM. homepage: https://angel3-framework.web.app/ repository: https://github.com/dart-backend/angel/tree/master/packages/orm/angel_migration_runner environment: - sdk: '>=3.0.0 <4.0.0' + sdk: '>=3.3.0 <4.0.0' dependencies: angel3_migration: ^8.0.0 angel3_orm: ^8.0.0 @@ -15,7 +15,7 @@ dependencies: mysql1: ^0.20.0 logging: ^1.2.0 dev_dependencies: - lints: ^3.0.0 + lints: ^4.0.0 # dependency_overrides: # angel3_orm: # path: ../angel_orm diff --git a/packages/orm/angel_orm/pubspec.yaml b/packages/orm/angel_orm/pubspec.yaml index c193ce52..d17a5362 100644 --- a/packages/orm/angel_orm/pubspec.yaml +++ b/packages/orm/angel_orm/pubspec.yaml @@ -4,7 +4,7 @@ description: Runtime support for Angel3 ORM. Includes base classes for queries. homepage: https://angel3-framework.web.app/ repository: https://github.com/dart-backend/angel/tree/master/packages/orm/angel_orm environment: - sdk: '>=3.0.0 <4.0.0' + sdk: '>=3.3.0 <4.0.0' dependencies: charcode: ^1.3.0 intl: ^0.19.0 @@ -18,7 +18,7 @@ dev_dependencies: angel3_serialize_generator: ^8.0.0 build_runner: ^2.4.0 test: ^1.24.0 - lints: ^3.0.0 + lints: ^4.0.0 # dependency_overrides: # angel3_serialize: # path: ../../serialize/angel_serialize diff --git a/packages/orm/angel_orm_generator/pubspec.yaml b/packages/orm/angel_orm_generator/pubspec.yaml index bece5ec2..dcaea1c5 100644 --- a/packages/orm/angel_orm_generator/pubspec.yaml +++ b/packages/orm/angel_orm_generator/pubspec.yaml @@ -4,7 +4,7 @@ description: Code generators for Angel3 ORM. Generates query builder classes. homepage: https://angel3-framework.web.app/ repository: https://github.com/dart-backend/angel/tree/master/packages/orm/angel_orm_generator environment: - sdk: '>=3.0.0 <4.0.0' + sdk: '>=3.3.0 <4.0.0' dependencies: angel3_model: ^8.0.0 angel3_serialize: ^8.0.0 @@ -28,7 +28,7 @@ dev_dependencies: angel3_migration: ^8.0.0 build_runner: ^2.4.0 test: ^1.24.0 - lints: ^3.0.0 + lints: ^4.0.0 #dependency_overrides: # angel3_container: # path: ../../container/angel_container diff --git a/packages/orm/angel_orm_mysql/pubspec.yaml b/packages/orm/angel_orm_mysql/pubspec.yaml index cce24629..12632677 100644 --- a/packages/orm/angel_orm_mysql/pubspec.yaml +++ b/packages/orm/angel_orm_mysql/pubspec.yaml @@ -4,7 +4,7 @@ description: MySQL support for Angel3 ORM. Includes functionality for querying a homepage: https://angel3-framework.web.app/ repository: https://github.com/dart-backend/angel/tree/master/packages/orm/angel_orm_mysql environment: - sdk: '>=3.0.0 <4.0.0' + sdk: '>=3.3.0 <4.0.0' dependencies: angel3_orm: ^8.0.0 logging: ^1.2.0 @@ -16,7 +16,7 @@ dev_dependencies: angel3_orm_test: ^8.0.0 build_runner: ^2.4.0 test: ^1.24.0 - lints: ^3.0.0 + lints: ^4.0.0 # dependency_overrides: # angel3_serialize: diff --git a/packages/orm/angel_orm_postgres/pubspec.yaml b/packages/orm/angel_orm_postgres/pubspec.yaml index 0f22d91e..2c48b8ba 100644 --- a/packages/orm/angel_orm_postgres/pubspec.yaml +++ b/packages/orm/angel_orm_postgres/pubspec.yaml @@ -4,7 +4,7 @@ description: PostgreSQL support for Angel3 ORM. Includes functionality for query homepage: https://angel3-framework.web.app/ repository: https://github.com/dart-backend/angel/tree/master/packages/orm/angel_orm_postgres environment: - sdk: '>=3.0.0 <4.0.0' + sdk: '>=3.3.0 <4.0.0' dependencies: angel3_orm: ^8.0.0 logging: ^1.2.0 @@ -15,7 +15,7 @@ dev_dependencies: angel3_orm_generator: ^8.0.0 angel3_orm_test: ^8.0.0 test: ^1.24.0 - lints: ^3.0.0 + lints: ^4.0.0 #dependency_overrides: # angel3_serialize: # path: ../../serialize/angel_serialize diff --git a/packages/orm/angel_orm_service/pubspec.yaml b/packages/orm/angel_orm_service/pubspec.yaml index b82fa3b6..463a6dd0 100644 --- a/packages/orm/angel_orm_service/pubspec.yaml +++ b/packages/orm/angel_orm_service/pubspec.yaml @@ -4,7 +4,7 @@ description: Service implementation that wraps over Angel3 ORM Query classes. homepage: https://angel3-framework.web.app/ repository: https://github.com/dart-backend/angel/tree/master/packages/orm/angel_orm_service environment: - sdk: '>=3.0.0 <4.0.0' + sdk: '>=3.3.0 <4.0.0' dependencies: angel3_framework: ^8.0.0 angel3_orm: ^8.0.0 @@ -19,7 +19,7 @@ dev_dependencies: build_runner: ^2.4.0 logging: ^1.2.0 test: ^1.24.0 - lints: ^3.0.0 + lints: ^4.0.0 # dependency_overrides: # angel3_container: # path: ../../container/angel_container diff --git a/packages/orm/angel_orm_test/pubspec.yaml b/packages/orm/angel_orm_test/pubspec.yaml index 44425061..11a7f22f 100644 --- a/packages/orm/angel_orm_test/pubspec.yaml +++ b/packages/orm/angel_orm_test/pubspec.yaml @@ -4,7 +4,7 @@ description: Common tests for Angel3 ORM. Reference implmentation of the generat homepage: https://angel3-framework.web.app/ repository: https://github.com/dart-backend/angel/tree/master/packages/orm/angel_orm_test environment: - sdk: '>=3.0.0 <4.0.0' + sdk: '>=3.3.0 <4.0.0' dependencies: angel3_migration: ^8.0.0 angel3_model: ^8.0.0 @@ -18,7 +18,7 @@ dev_dependencies: angel3_orm_generator: ^8.0.0 angel3_framework: ^8.0.0 build_runner: ^2.4.0 - lints: ^3.0.0 + lints: ^4.0.0 #dependency_overrides: # angel3_container: # path: ../../container/angel_container diff --git a/packages/paginate/pubspec.yaml b/packages/paginate/pubspec.yaml index bbb7ae03..ab3efa58 100644 --- a/packages/paginate/pubspec.yaml +++ b/packages/paginate/pubspec.yaml @@ -4,14 +4,14 @@ description: Platform-agnostic pagination library, with custom support for the A homepage: https://angel3-framework.web.app/ repository: https://github.com/dart-backend/angel/tree/master/packages/paginate environment: - sdk: '>=3.0.0 <4.0.0' + sdk: '>=3.3.0 <4.0.0' dependencies: angel3_framework: ^8.0.0 dev_dependencies: angel3_test: ^8.0.0 logging: ^1.2.0 test: ^1.24.0 - lints: ^3.0.0 + lints: ^4.0.0 # dependency_overrides: # angel3_framework: # path: ../framework diff --git a/packages/production/pubspec.yaml b/packages/production/pubspec.yaml index c55d4851..c4269291 100644 --- a/packages/production/pubspec.yaml +++ b/packages/production/pubspec.yaml @@ -4,7 +4,7 @@ description: Helpers for concurrency, message-passing, rotating loggers, and oth homepage: https://angel3-framework.web.app repository: https://github.com/dart-backend/angel/tree/master/packages/production environment: - sdk: '>=3.0.0 <4.0.0' + sdk: '>=3.3.0 <4.0.0' dependencies: angel3_container: ^8.0.0 angel3_framework: ^8.2.0 @@ -14,7 +14,7 @@ dependencies: logging: ^1.2.0 intl: ^0.19.0 dev_dependencies: - lints: ^3.0.0 + lints: ^4.0.0 #dependency_overrides: # angel3_container: # path: ../container/angel_container diff --git a/packages/proxy/pubspec.yaml b/packages/proxy/pubspec.yaml index 732f1f63..66ba7627 100644 --- a/packages/proxy/pubspec.yaml +++ b/packages/proxy/pubspec.yaml @@ -4,7 +4,7 @@ description: Angel middleware to forward requests to another server (i.e. pub se homepage: https://angel3-framework.web.app/ repository: https://github.com/dart-backend/angel/tree/master/packages/proxy environment: - sdk: '>=3.0.0 <4.0.0' + sdk: '>=3.3.0 <4.0.0' dependencies: angel3_framework: ^8.0.0 http: ^1.0.0 @@ -14,7 +14,7 @@ dev_dependencies: angel3_test: ^8.0.0 angel3_mock_request: ^8.0.0 logging: ^1.2.0 - lints: ^3.0.0 + lints: ^4.0.0 test: ^1.24.0 # dependency_overrides: # angel3_framework: diff --git a/packages/redis/pubspec.yaml b/packages/redis/pubspec.yaml index 0cb8d212..a9c85520 100644 --- a/packages/redis/pubspec.yaml +++ b/packages/redis/pubspec.yaml @@ -4,14 +4,14 @@ description: An Angel3 service provider for Redis. Works well for caching volati homepage: https://angel3-framework.web.app/ repository: https://github.com/dart-backend/angel/tree/master/packages/redis environment: - sdk: '>=3.0.0 <4.0.0' + sdk: '>=3.3.0 <4.0.0' dependencies: angel3_framework: ^8.0.0 angel3_http_exception: ^8.0.0 resp_client: ^1.2.0 dev_dependencies: test: ^1.24.0 - lints: ^3.0.0 + lints: ^4.0.0 # dependency_overrides: # angel3_framework: # path: ../framework diff --git a/packages/route/pubspec.yaml b/packages/route/pubspec.yaml index f6db991a..3160bf44 100644 --- a/packages/route/pubspec.yaml +++ b/packages/route/pubspec.yaml @@ -4,7 +4,7 @@ description: A powerful, isomorphic routing library for Dart. It is mainly used homepage: https://angel3-framework.web.app/ repository: https://github.com/dart-backend/angel/tree/master/packages/route environment: - sdk: '>=3.0.0 <4.0.0' + sdk: '>=3.3.0 <4.0.0' dependencies: belatuk_combinator: ^5.1.0 string_scanner: ^1.2.0 @@ -14,4 +14,4 @@ dev_dependencies: build_web_compilers: ^4.0.0 http: ^1.0.0 test: ^1.24.0 - lints: ^3.0.0 + lints: ^4.0.0 diff --git a/packages/security/pubspec.yaml b/packages/security/pubspec.yaml index 44b78907..9995960d 100644 --- a/packages/security/pubspec.yaml +++ b/packages/security/pubspec.yaml @@ -4,7 +4,7 @@ description: Angel3 infrastructure for improving security, rate limiting, and mo homepage: https://angel3-framework.web.app/ repository: https://github.com/dart-backend/angel/tree/master/packages/security environment: - sdk: '>=3.0.0 <4.0.0' + sdk: '>=3.3.0 <4.0.0' dependencies: angel3_framework: ^8.0.0 crypto: ^3.0.1 @@ -18,7 +18,7 @@ dev_dependencies: test: ^1.24.0 logging: ^1.2.0 resp_client: ^1.2.0 - lints: ^3.0.0 + lints: ^4.0.0 # dependency_overrides: # angel3_production: # path: ../production diff --git a/packages/sembast/pubspec.yaml b/packages/sembast/pubspec.yaml index bea774d6..f2a3ff5b 100644 --- a/packages/sembast/pubspec.yaml +++ b/packages/sembast/pubspec.yaml @@ -4,14 +4,14 @@ description: A plugin service that persist data to Sembast for Angel3 framework. homepage: https://angel3-framework.web.app/ repository: https://github.com/dart-backend/angel/tree/master/packages/sembast environment: - sdk: '>=3.0.0 <4.0.0' + sdk: '>=3.3.0 <4.0.0' dependencies: angel3_framework: ^8.0.0 sembast: ^3.1.1 dev_dependencies: angel3_http_exception: ^8.0.0 logging: ^1.2.0 - lints: ^3.0.0 + lints: ^4.0.0 test: ^1.24.0 # dependency_overrides: # angel3_framework: diff --git a/packages/seo/pubspec.yaml b/packages/seo/pubspec.yaml index 8002328e..f98ae89b 100644 --- a/packages/seo/pubspec.yaml +++ b/packages/seo/pubspec.yaml @@ -4,7 +4,7 @@ description: Helper infrastructure for building SEO-friendly Web backends in Ang homepage: https://angel3-framework.web.app/ repository: https://github.com/dart-backend/angel/tree/angel3/packages/seo environment: - sdk: '>=3.0.0 <4.0.0' + sdk: '>=3.3.0 <4.0.0' dependencies: angel3_framework: ^8.0.0 angel3_static: ^8.0.0 @@ -16,7 +16,7 @@ dev_dependencies: angel3_test: ^8.0.0 logging: ^1.2.0 test: ^1.24.0 - lints: ^3.0.0 + lints: ^4.0.0 # dependency_overrides: # angel3_static: # path: ../static diff --git a/packages/serialize/angel_serialize/pubspec.yaml b/packages/serialize/angel_serialize/pubspec.yaml index 8c09de15..1e30433d 100644 --- a/packages/serialize/angel_serialize/pubspec.yaml +++ b/packages/serialize/angel_serialize/pubspec.yaml @@ -4,14 +4,14 @@ description: Static annotations powering Angel3 model serialization. Combine wit homepage: https://angel3-framework.web.app/ repository: https://github.com/dart-backend/angel/tree/master/packages/serialize/angel_serialize environment: - sdk: '>=3.0.0 <4.0.0' + sdk: '>=3.3.0 <4.0.0' dependencies: angel3_model: ^8.0.0 collection: ^1.17.0 meta: ^1.9.0 quiver: ^3.2.0 dev_dependencies: - lints: ^3.0.0 + lints: ^4.0.0 # dependency_overrides: # angel3_model: # path: ../../model diff --git a/packages/serialize/angel_serialize_generator/pubspec.yaml b/packages/serialize/angel_serialize_generator/pubspec.yaml index b9c1c9b6..f9e1cd77 100644 --- a/packages/serialize/angel_serialize_generator/pubspec.yaml +++ b/packages/serialize/angel_serialize_generator/pubspec.yaml @@ -4,7 +4,7 @@ description: Angel3 model serialization generators, designed for use with Angel. homepage: https://angel3-framework.web.app/ repository: https://github.com/dart-backend/angel/tree/master/packages/serialize/angel_serialize_generator environment: - sdk: '>=3.0.0 <4.0.0' + sdk: '>=3.3.0 <4.0.0' dependencies: analyzer: ^6.2.0 angel3_model: ^8.0.0 @@ -22,7 +22,7 @@ dependencies: dev_dependencies: build_runner: ^2.0.1 collection: ^1.17.0 - lints: ^3.0.0 + lints: ^4.0.0 test: ^1.24.0 # dependency_overrides: # angel3_model: diff --git a/packages/shelf/pubspec.yaml b/packages/shelf/pubspec.yaml index 0cd517e4..14f1de84 100644 --- a/packages/shelf/pubspec.yaml +++ b/packages/shelf/pubspec.yaml @@ -4,7 +4,7 @@ description: Shelf interop with Angel3. Use this to wrap existing server code. homepage: https://angel3-framework.web.app/ repository: https://github.com/dart-backend/angel/tree/master/packages/shelf environment: - sdk: '>=3.0.0 <4.0.0' + sdk: '>=3.3.0 <4.0.0' publish_to: none dependencies: angel3_framework: ^8.0.0 @@ -21,7 +21,7 @@ dev_dependencies: belatuk_pretty_logging: ^6.1.0 shelf_static: ^1.1.0 test: ^1.24.0 - lints: ^3.0.0 + lints: ^4.0.0 # dependency_overrides: # angel3_test: # path: ../test diff --git a/packages/static/pubspec.yaml b/packages/static/pubspec.yaml index d1290474..a4b0204c 100644 --- a/packages/static/pubspec.yaml +++ b/packages/static/pubspec.yaml @@ -4,7 +4,7 @@ description: This library provides a virtual directory to serve static files for homepage: https://angel3-framework.web.app/ repository: https://github.com/dart-backend/angel/tree/angel3/packages/static environment: - sdk: '>=3.0.0 <4.0.0' + sdk: '>=3.3.0 <4.0.0' dependencies: angel3_framework: ^8.0.0 belatuk_range_header: ^6.1.0 @@ -18,7 +18,7 @@ dev_dependencies: angel3_test: ^8.0.0 http: ^1.0.0 matcher: ^0.12.10 - lints: ^3.0.0 + lints: ^4.0.0 test: ^1.24.0 # dependency_overrides: # angel3_container: diff --git a/packages/sync/pubspec.yaml b/packages/sync/pubspec.yaml index 727194e9..9aef4cce 100644 --- a/packages/sync/pubspec.yaml +++ b/packages/sync/pubspec.yaml @@ -4,7 +4,7 @@ description: Easily synchronize and scale WebSockets using belatuk_pub_sub in An homepage: https://angel3-framework.web.app/ repository: https://github.com/dart-backend/angel/tree/angel3/packages/sync environment: - sdk: '>=3.0.0 <4.0.0' + sdk: '>=3.3.0 <4.0.0' dependencies: angel3_framework: ^8.0.0 angel3_websocket: ^8.0.0 @@ -13,7 +13,7 @@ dependencies: dev_dependencies: angel3_test: ^8.0.0 test: ^1.24.0 - lints: ^3.0.0 + lints: ^4.0.0 # dependency_overrides: # angel3_websocket: # path: ../websocket diff --git a/packages/test/pubspec.yaml b/packages/test/pubspec.yaml index 6b038e1e..d17fba93 100644 --- a/packages/test/pubspec.yaml +++ b/packages/test/pubspec.yaml @@ -4,7 +4,7 @@ description: Testing utility library for the Angel3 framework. Use with package: homepage: https://angel3-framework.web.app/ repository: https://github.com/dart-backend/angel/tree/master/packages/test environment: - sdk: '>=3.0.0 <4.0.0' + sdk: '>=3.3.0 <4.0.0' dependencies: angel3_client: ^8.0.0 angel3_framework: ^8.0.0 @@ -18,7 +18,7 @@ dependencies: web_socket_channel: ^2.4.0 dev_dependencies: test: ^1.24.0 - lints: ^3.0.0 + lints: ^4.0.0 # dependency_overrides: # angel3_validate: # path: ../validate diff --git a/packages/user_agent/angel_user_agent/pubspec.yaml b/packages/user_agent/angel_user_agent/pubspec.yaml index 2e7d6755..75585ab6 100644 --- a/packages/user_agent/angel_user_agent/pubspec.yaml +++ b/packages/user_agent/angel_user_agent/pubspec.yaml @@ -4,11 +4,11 @@ description: Angel3 middleware to parse and inject a User Agent object into requ homepage: https://angel3-framework.web.app/ repository: https://github.com/dart-backend/angel/tree/angel3/packages/user_agent/angel_user_agent environment: - sdk: '>=3.0.0 <4.0.0' + sdk: '>=3.3.0 <4.0.0' dependencies: angel3_framework: ^8.0.0 user_agent_analyzer: ^5.0.0 - lints: ^3.0.0 + lints: ^4.0.0 # dependency_overrides: # angel3_container: # path: ../../container/angel_container diff --git a/packages/validate/pubspec.yaml b/packages/validate/pubspec.yaml index 99525a93..a06d5658 100644 --- a/packages/validate/pubspec.yaml +++ b/packages/validate/pubspec.yaml @@ -4,7 +4,7 @@ version: 8.1.1 homepage: https://angel3-framework.web.app/ repository: https://github.com/dart-backend/angel/tree/master/packages/validate environment: - sdk: '>=3.0.0 <4.0.0' + sdk: '>=3.3.0 <4.0.0' dependencies: angel3_framework: ^8.0.0 angel3_http_exception: ^8.0.0 @@ -14,7 +14,7 @@ dev_dependencies: build_runner: ^2.4.0 build_web_compilers: ^4.0.0 logging: ^1.2.0 - lints: ^3.0.0 + lints: ^4.0.0 test: ^1.24.0 # dependency_overrides: # angel3_container: diff --git a/packages/websocket/pubspec.yaml b/packages/websocket/pubspec.yaml index 3e07580e..33913594 100644 --- a/packages/websocket/pubspec.yaml +++ b/packages/websocket/pubspec.yaml @@ -4,7 +4,7 @@ description: This library provides WebSockets support for Angel3 framework. homepage: https://angel3-framework.web.app/ repository: https://github.com/dart-backend/angel/tree/master/packages/websocket environment: - sdk: '>=3.0.0 <4.0.0' + sdk: '>=3.3.0 <4.0.0' dependencies: angel3_auth: ^8.0.0 angel3_client: ^8.0.0 @@ -22,7 +22,7 @@ dev_dependencies: angel3_model: ^8.0.0 quiver: ^3.2.0 test: ^1.24.0 - lints: ^3.0.0 + lints: ^4.0.0 file: ^7.0.0 # dependency_overrides: # angel3_container: diff --git a/pubspec.yaml b/pubspec.yaml index bcdd16e9..66ccdfdd 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,7 +1,7 @@ name: angel environment: - sdk: '>=3.0.0 <4.0.0' + sdk: '>=3.3.0 <4.0.0' dependencies: - melos: ^3.4.0 + melos: ^6.0.0 From 1e3ead968af04ad225e8e853f68859c5054d6f35 Mon Sep 17 00:00:00 2001 From: Thomas Hii Date: Wed, 22 May 2024 00:32:59 +0800 Subject: [PATCH 2/2] Fixed analyze issues --- packages/container/angel_container/lib/src/container.dart | 2 +- packages/route/lib/src/route.dart | 2 +- packages/user_agent/angel_user_agent/example/example.dart | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/container/angel_container/lib/src/container.dart b/packages/container/angel_container/lib/src/container.dart index d44932c4..5fb963a5 100644 --- a/packages/container/angel_container/lib/src/container.dart +++ b/packages/container/angel_container/lib/src/container.dart @@ -217,7 +217,7 @@ class Container { if (_namedSingletons.containsKey(name)) { return _namedSingletons[name] as T; } else if (_parent != null) { - return _parent!.findByName(name); + return _parent.findByName(name); } else { throw StateError( 'This container does not have a singleton named "$name".'); diff --git a/packages/route/lib/src/route.dart b/packages/route/lib/src/route.dart index 08c99bc4..85baded6 100644 --- a/packages/route/lib/src/route.dart +++ b/packages/route/lib/src/route.dart @@ -61,7 +61,7 @@ class Route { var i = 0; if (_routeDefinition != null) { - for (var seg in _routeDefinition!.segments) { + for (var seg in _routeDefinition.segments) { if (i++ > 0) b.write('/'); if (seg is ConstantSegment) { b.write(seg.text); diff --git a/packages/user_agent/angel_user_agent/example/example.dart b/packages/user_agent/angel_user_agent/example/example.dart index efadec2c..cf28d5f8 100644 --- a/packages/user_agent/angel_user_agent/example/example.dart +++ b/packages/user_agent/angel_user_agent/example/example.dart @@ -6,6 +6,7 @@ import 'package:angel3_framework/http.dart'; void main() async { var app = Angel(); + // ignore: unused_local_variable var http = AngelHttp(app); //TODO: To be reviewed