nim_core_v2_web 10.9.6
nim_core_v2_web: ^10.9.6 copied to clipboard
web implementation of the nim_core plugin. that is a Flutter plugin for NetEase IM SDK.
We analyzed this package 9 days ago, and awarded it 115 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
0/5 points: Provide a valid CHANGELOG.md
`CHANGELOG.md` contains too many non-ASCII characters.
The site uses English as its primary language. The content of CHANGELOG.md in your package should primarily contain characters used in English.
10/10 points: Use an OSI-approved license
Detected license: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
1 out of 4 API elements (25.0 %) have documentation comments.
Some symbols that are missing documentation: nim_core_web, nim_core_web.NimCoreWebPlugin.NimCoreWebPlugin.new, nim_core_web.NimCoreWebPlugin.registerWith.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
10/20 points: Supports 1 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- ✓ Web
These platforms are not supported:
Package does not support platform `Android`.
Because:
package:nim_core_v2_web/nim_core_web.dartthat declares support for platforms:Web.
Package does not support platform `iOS`.
Because:
package:nim_core_v2_web/nim_core_web.dartthat declares support for platforms:Web.
Package does not support platform `Windows`.
Because:
package:nim_core_v2_web/nim_core_web.dartthat declares support for platforms:Web.
Package does not support platform `Linux`.
Because:
package:nim_core_v2_web/nim_core_web.dartthat declares support for platforms:Web.
Package does not support platform `macOS`.
Because:
package:nim_core_v2_web/nim_core_web.dartthat declares support for platforms:Web.
These issues are present but do not affect the score, because they may not originate in your package:
Package not compatible with platform Web
Because:
package:nim_core_v2_web/nim_core_web.dartthat imports:package:nim_core_v2_web/src/services/web_utility_service.dartthat imports:package:nim_core_v2_platform_interface/nim_core_v2_platform_interface.dartthat imports:package:nim_core_v2_platform_interface/src/platform_interface/team/team_result.dartthat imports:package:nim_core_v2_platform_interface/src/platform_interface/team/team_member.dartthat imports:package:universal_io/io.dartthat imports:package:universal_io/universal_io.dartthat imports:package:universal_io/src/_exports_in_browser.dartthat imports:package:universal_io/src/internet_address.dartthat imports:dart:io
WASM compatibility:
Package not compatible with runtime wasm
Because:
package:nim_core_v2_web/nim_core_web.dartthat imports:package:nim_core_v2_web/src/services/web_utility_service.dartthat imports:package:nim_core_v2_platform_interface/nim_core_v2_platform_interface.dartthat imports:package:nim_core_v2_platform_interface/src/platform_interface/team/team_result.dartthat imports:package:nim_core_v2_platform_interface/src/platform_interface/team/team_member.dartthat imports:package:universal_io/io.dartthat imports:package:universal_io/universal_io.dartthat imports:package:universal_io/src/_exports_in_browser.dartthat imports:package:universal_io/src/internet_address.dartthat imports:dart:io
Note: This package supports Web but is not WASM-compatible, resulting in a partial score. See https://dart.dev/web/wasm for details.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 117 issues. Showing the first 2:
WARNING: Unnecessary cast.
lib/src/converters/error_converter.dart:16:20
╷
16 │ final errObj = error as JSObject;
│ ^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/converters/error_converter.dart
WARNING: Unnecessary cast.
lib/src/services/web_ai_service.dart:57:23
╷
57 │ final map = jsObjectToMap(jsData) as Map<String, dynamic>;
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/services/web_ai_service.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
nim_core_v2_platform_interface |
>=10.9.61 <10.10.0 |
10.9.61 | 10.9.61 | |
universal_html |
^2.2.4 |
2.3.0 | 2.3.0 | |
web |
^1.0.0 |
1.1.1 | 1.1.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.1 | 2.13.1 | |
characters |
- | 1.4.1 | 1.4.1 | |
charcode |
- | 1.4.0 | 1.4.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
csslib |
- | 1.0.2 | 1.0.2 | |
html |
- | 0.15.6 | 0.15.6 | |
json_annotation |
- | 4.11.0 | 4.11.0 | |
material_color_utilities |
- | 0.13.0 | 0.13.0 | |
meta |
- | 1.17.0 | 1.18.2 | |
path |
- | 1.9.1 | 1.9.1 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
source_span |
- | 1.10.2 | 1.10.2 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
universal_io |
- | 2.3.1 | 2.3.1 | |
vector_math |
- | 2.2.0 | 2.3.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.12, Flutter 3.41.4, Dart 3.11.1.
Check the analysis log for details.