Skip to main content

hot_patch 0.3.0 copy "hot_patch: ^0.3.0" to clipboard
hot_patch: ^0.3.0 copied to clipboard

Flutter hot update runtime: loads build-time generated JS patch modules to render components and drive logic in JS, while rendering still happens on native Flutter.

125/ 160
pub points
206
downloads

We analyzed this package 16 hours ago, and awarded it 125 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
25 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Failed check 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.

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Failed report section
Provide documentation
10 / 20trigger folding of the section

Passed check 10/10 points: 20% or more of the public API has dartdoc comments

50 out of 67 API elements (74.6 %) have documentation comments.

Some symbols that are missing documentation: hot_patch.JsEvalException.JsEvalException.new, hot_patch.JsEvalException.message, hot_patch.JsRenderContext.JsRenderContext.new, hot_patch.JsRenderContext.bool_, hot_patch.JsRenderContext.int_.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 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 does not support platform `Web`.

Because:

  • package:hot_patch/hot_patch.dart that imports:
  • package:hot_patch/src/js_ui/js_widget_registry.dart that imports:
  • package:hot_patch/src/js_ui/capabilities/js_ui_capabilities.dart that imports:
  • package:hot_patch/src/js_ui/capabilities/js_ui_library.dart that imports:
  • package:hot_patch/src/js_ui/capabilities/text_editing_controller/text_editing_controller_library.dart that imports:
  • package:hot_patch/src/js_ui/capabilities/text_editing_controller/text_editing_controller_bridge.dart that imports:
  • package:hot_patch/src/js_ui/capabilities/core/controller_bridge.dart that imports:
  • package:hot_patch/src/js_ui/capabilities/core/handle_registry.dart that imports:
  • package:hot_patch/src/services/js_runtime_manager.dart that imports:
  • package:hot_patch/src/utils/remote_asset_loader.dart that imports:
  • package:path_provider/path_provider.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.

These issues are present but do not affect the score, because they may not originate in your package:

Package does not support platform `Windows`.

Because:

  • package:hot_patch/hot_patch.dart that imports:
  • package:hot_patch/src/js_ui/js_widget_registry.dart that imports:
  • package:hot_patch/src/js_ui/capabilities/js_ui_capabilities.dart that imports:
  • package:hot_patch/src/js_ui/capabilities/js_ui_library.dart that imports:
  • package:hot_patch/src/js_ui/capabilities/cached_network_image/cached_network_image_library.dart that imports:
  • package:hot_patch/src/js_ui/capabilities/cached_network_image/cached_network_image_bridge.dart that imports:
  • package:cached_network_image/cached_network_image.dart that imports:
  • package:cached_network_image/src/image_provider/cached_network_image_provider.dart that imports:
  • package:flutter_cache_manager/flutter_cache_manager.dart that imports:
  • package:flutter_cache_manager/src/storage/cache_info_repositories/cache_info_repositories.dart that imports:
  • package:flutter_cache_manager/src/storage/cache_info_repositories/cache_object_provider.dart that imports:
  • package:sqflite/sqflite.dart that declares support for platforms: Android, iOS, macOS.
Package does not support platform `Linux`.

Because:

  • package:hot_patch/hot_patch.dart that imports:
  • package:hot_patch/src/js_ui/js_widget_registry.dart that imports:
  • package:hot_patch/src/js_ui/capabilities/js_ui_capabilities.dart that imports:
  • package:hot_patch/src/js_ui/capabilities/js_ui_library.dart that imports:
  • package:hot_patch/src/js_ui/capabilities/cached_network_image/cached_network_image_library.dart that imports:
  • package:hot_patch/src/js_ui/capabilities/cached_network_image/cached_network_image_bridge.dart that imports:
  • package:cached_network_image/cached_network_image.dart that imports:
  • package:cached_network_image/src/image_provider/cached_network_image_provider.dart that imports:
  • package:flutter_cache_manager/flutter_cache_manager.dart that imports:
  • package:flutter_cache_manager/src/storage/cache_info_repositories/cache_info_repositories.dart that imports:
  • package:flutter_cache_manager/src/storage/cache_info_repositories/cache_object_provider.dart that imports:
  • package:sqflite/sqflite.dart that declares support for platforms: Android, iOS, macOS.
Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

Found 3 issues. Showing the first 2:

INFO: 'axisAlignment' is deprecated and shouldn't be used. Use alignment instead. This property provides full control over both axes, which is an improvement over the old axisAlignment. This feature was deprecated after v3.41.0-1.0.pre.

lib/src/js_ui/capabilities/animation/animation_bridge.dart:377:7

    ╷
377 │       axisAlignment: c.num_('axisAlignment') ?? 0,
    │       ^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/js_ui/capabilities/animation/animation_bridge.dart

INFO: 'onReorder' is deprecated and shouldn't be used. Use the onReorderItem callback instead. The onReorderItem callback adjusts the newIndex parameter for a removed item at the oldIndex. This feature was deprecated after v3.41.0-0.0.pre.

lib/src/js_ui/capabilities/scroll_controller/scroll_controller_bridge.dart:368:11

    ╷
368 │           onReorder: onReorder,
    │           ^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/js_ui/capabilities/scroll_controller/scroll_controller_bridge.dart

Partially passed report section
Support up-to-date dependencies
30 / 40trigger folding of the section

Partially passed check 0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
archive ^3.6.1 3.6.1 4.6.0
cached_network_image ^3.4.1 3.4.1 4.0.6
crypto ^3.0.3 3.0.8 3.0.8
easy_refresh ^3.4.0 3.5.1 4.0.0
flutter_js ^0.8.7 0.8.7 0.8.7
path_provider ^2.1.4 2.1.6 2.1.6
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
async - 2.13.1 2.13.1
cached_network_image_platform_interface - 4.1.1 5.0.3
cached_network_image_web - 1.3.1 2.0.4
characters - 1.4.1 1.4.1
clock - 1.1.3 1.1.3
code_assets - 2.1.0 2.1.0
collection - 1.19.1 1.19.1
ffi - 2.2.0 2.2.0
file - 7.0.1 7.0.1
fixnum - 1.1.1 1.1.1
flutter_cache_manager - 3.4.6 3.4.6
hooks - 2.2.0 2.2.0
http - 1.6.0 1.6.0
http_parser - 4.1.2 4.1.2
jni - 1.1.1 1.1.1
jni_flutter - 1.0.4+1 1.0.4+1
jni_util - 1.0.0 1.0.0
logging - 1.3.0 1.3.0
material_color_utilities - 0.13.0 0.13.1
meta - 1.19.0 1.19.0
objective_c - 9.6.2 9.6.2
octo_image - 2.1.3 2.1.3
package_config - 3.0.0 3.0.0
path - 1.9.1 1.9.1
path_drawing - 1.0.1 1.0.1
path_parsing - 1.1.0 1.1.0
path_provider_android - 2.3.1 2.3.1
path_provider_foundation - 2.6.0 2.6.0
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
pub_semver - 2.2.1 2.2.1
record_use - 1.1.1 1.1.1
rxdart - 0.28.0 0.28.0
source_span - 1.10.2 1.10.2
sqflite - 2.4.5 2.4.5
sqflite_android - 2.4.5 2.4.5
sqflite_common - 2.5.14 2.5.14
sqflite_darwin - 2.4.4+1 2.4.4+1
sqflite_platform_interface - 2.4.3 2.4.3
string_scanner - 1.4.1 1.4.1
sync_http - 0.3.1 0.3.1
synchronized - 3.5.0 3.5.0
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
uuid - 4.6.0 4.6.0
vector_math - 2.4.4 2.4.4
web - 1.1.2 1.1.2
xdg_directories - 1.1.0 1.1.0
yaml - 3.1.4 3.1.4

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Found 3 issues. Showing the first 2:

The constraint `^3.6.1` on archive does not support the stable version `4.0.0`.

Try running dart pub upgrade --major-versions archive to update the constraint.

The constraint `^3.4.1` on cached_network_image does not support the stable version `4.0.0`.

Try running dart pub upgrade --major-versions cached_network_image to update the constraint.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 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.

Weekly downloads

Display as:
By versions:
1
likes
125
points
206
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Flutter hot update runtime: loads build-time generated JS patch modules to render components and drive logic in JS, while rendering still happens on native Flutter.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

archive, cached_network_image, crypto, easy_refresh, flutter, flutter_js, path_provider

More

Packages that depend on hot_patch