buoy_impersonate 0.3.2
buoy_impersonate: ^0.3.2 copied to clipboard
Configure user overrides for integrated Flutter requests. The app and backend must support and authorize impersonation.
We analyzed this package 3 days ago, and awarded it 130 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
0/10 points: Use an OSI-approved license
No license was recognized.
Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.
0/10 points: 20% or more of the public API has dartdoc comments
4 out of 140 API elements (2.9 %) have documentation comments.
Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.
To highlight public API members missing documentation consider enabling the public_member_api_docs lint.
Some symbols that are missing documentation: buoy_impersonate, buoy_impersonate.Buoy, buoy_impersonate.Buoy.adapters, buoy_impersonate.Buoy.addRegistryListener, buoy_impersonate.Buoy.init.
10/10 points: Package has an example
20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
These platforms are not supported:
Package not compatible with platform Web
Because:
package:buoy_impersonate/buoy_impersonate.dartthat imports:package:buoy_impersonate/src/impersonate_tool/impersonate_modal.dartthat imports:package:buoy_impersonate/src/impersonate_tool/user_search_view.dartthat imports:package:buoy_impersonate/src/impersonate_tool/user_card.dartthat imports:package:buoy_impersonate/src/impersonate_tool/user_avatar.dartthat imports:package:buoy_shared_ui/buoy_shared_ui.dartthat imports:package:buoy_shared_ui/src/widgets/status_badge.dartthat imports:package:buoy_shared_ui/src/generated/badge_styles.g.dartthat imports:package:buoy_core/buoy_core.dartthat imports:package:buoy_core/src/interaction/semantics_screen_host.dartthat imports:package:buoy_core/src/interaction/screen_actions.dartthat imports:package:buoy_core/src/sync_client.dartthat imports:package:buoy_core/src/license/license_manager.dartthat imports:package:buoy_core/src/license/keygen.dartthat imports:dart:io
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 11 issues. Showing the first 2:
INFO: Statements in an if should be enclosed in a block.
lib/src/impersonate_sync_adapter.dart:6:354
╷
6 │ b=a>=0?uri.substring(0,a+1<64?a+1:64): 'data:';return '$b[${uri.length} chars]';}if(uri.length<=snapshotUriInlineLimit)return uri;return '${uri.substring(0,snapshotUriInlineLimit)}… ' '[${uri.length-snapshotUriInlineLimit} more]';}Map<String,Object? > ?_g(Map<String,Object? > ?a){if(a==null)return a;if(!isOverWireBudget(a,snapshotMetadataInlineLimit))return
│ ┌──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────^
7 │ │ a;final b=a['role'];return b is String?{'role':b,...metadataOnDevice}:{...metadataOnDevice};}Map<String,Object? >_h(Map<String,Object? >a){final b=Map<String,Object? > .of(a);if(b.containsKey('avatarUrl')){b['avatarUrl']=toWireUri(b['avatarUrl']as String?);}if(b.containsKey('metadat
[...]
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/impersonate_sync_adapter.dart
INFO: The type name '_d' isn't an UpperCamelCase identifier.
lib/src/impersonate_tool/data_nuke_settings.dart:4:303
╷
4 │ String headerKey;final DataNukeSettings settings;final bool showBanner;final void Function(String headerKey,DataNukeSettings settings,bool showBanner)onSave;final ValueChanged<bool>onShowBannerChange;final DetectionStatus detectionStatus;@override State<DataNukeSettingsView>createState()=>_d();}class _d extends State<DataNukeSettingsView>{late
│ ^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/impersonate_tool/data_nuke_settings.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
buoy_core |
^0.3.3 |
0.3.8 | 0.3.8 | |
buoy_shared_ui |
^0.3.3 |
0.3.3 | 0.3.3 | |
shared_preferences |
^2.5.5 |
2.5.6 | 2.5.6 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
characters |
- | 1.4.1 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.7 | 3.0.7 | |
cryptography |
- | 2.9.0 | 2.9.0 | |
ffi |
- | 2.2.0 | 2.2.0 | |
file |
- | 7.0.1 | 7.0.1 | |
logging |
- | 1.3.0 | 1.3.0 | |
material_color_utilities |
- | 0.13.0 | 0.13.1 | |
meta |
- | 1.19.0 | 1.19.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_provider_linux |
- | 2.2.2 | 2.2.2 | |
path_provider_platform_interface |
- | 2.1.3 | 2.1.3 | |
path_provider_windows |
- | 2.3.0 | 2.3.0 | |
platform |
- | 3.2.0 | 3.2.0 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
qr |
- | 3.0.2 | 4.0.0 | |
shared_preferences_android |
- | 2.4.28 | 2.4.28 | |
shared_preferences_foundation |
- | 2.5.7 | 2.5.7 | |
shared_preferences_linux |
- | 2.4.1 | 2.4.1 | |
shared_preferences_platform_interface |
- | 2.4.2 | 2.4.2 | |
shared_preferences_web |
- | 2.4.3 | 2.4.3 | |
shared_preferences_windows |
- | 2.4.1 | 2.4.1 | |
socket_io_client |
- | 3.1.6 | 3.1.6 | |
socket_io_common |
- | 3.1.1 | 3.1.1 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.4.3 | 2.4.3 | |
web |
- | 1.1.1 | 1.1.1 | |
web_socket |
- | 1.0.1 | 1.0.1 | |
xdg_directories |
- | 1.1.0 | 1.1.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.19, Flutter 3.47.7, Dart 3.13.5.
Check the analysis log for details.