opus_dart 3.0.0 copy "opus_dart: ^3.0.0" to clipboard
opus_dart: ^3.0.0 copied to clipboard

outdated

Wraps libopus in dart, and additionally provides a dart friendly API for encoding and decoding

80/ 160
pub points
1.83k
downloads

We analyzed this package 25 days ago, and awarded it 80 pub points (of a possible 160):

Passed report section
Follow Dart file conventions
30 / 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

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

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

Detected license: BSD-2-Clause.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

228 out of 301 API elements (75.7 %) have documentation comments.

Some symbols that are missing documentation: opus_custom.FunctionsAndGlobals, opus_custom.FunctionsAndGlobals.FunctionsAndGlobals.new, opus_custom.OpusCustomDecoder.OpusCustomDecoder.new, opus_custom.OpusCustomEncoder.OpusCustomEncoder.new, opus_custom.OpusCustomMode.OpusCustomMode.new.

Passed check 10/10 points: Package has an example

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

Passed check 20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

Failed report section
Pass static analysis
0 / 50trigger folding of the section

Failed check 0/50 points: code has no errors, warnings, lints, or formatting issues

Found 1009 issues. Showing the first 2:

ERROR: The argument type 'DynamicLibrary (where DynamicLibrary is defined in /home/worker/dart/stable/lib/ffi/dynamic_library.dart)' can't be assigned to the parameter type 'DynamicLibrary (where DynamicLibrary is defined in /tmp/analyzerXDXYVS/pub-cache/hosted/20251209t095900-dot-dartlang-pub.appspot.com/web_ffi-0.7.2/lib/src/ffi/types.dart)'.

lib/src/init_ffi.dart:6:24

  ╷
6 │   return new ApiObject(library, ffipackage.malloc);
  │                        ^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/init_ffi.dart

ERROR: The argument type 'Allocator (where Allocator is defined in /home/worker/dart/stable/lib/ffi/allocation.dart)' can't be assigned to the parameter type 'Allocator (where Allocator is defined in /tmp/analyzerXDXYVS/pub-cache/hosted/20251209t095900-dot-dartlang-pub.appspot.com/web_ffi-0.7.2/lib/src/ffi/types.dart)'.

lib/src/init_ffi.dart:6:33

  ╷
6 │   return new ApiObject(library, ffipackage.malloc);
  │                                 ^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/init_ffi.dart

Failed report section
Support up-to-date dependencies
10 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
ffi ^1.1.2 1.2.1 2.1.4
web_ffi ^0.7.1 0.7.2 0.7.2
Transitive dependencies
Package Constraint Compatible Latest Notes
js - 0.6.7 0.7.2 Discontinued
meta - 1.17.0 1.17.0

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

The constraint `^1.1.2` on ffi does not support the stable version `2.0.0`.

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

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

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 2 errors:

  • ARGUMENT_TYPE_NOT_ASSIGNABLE - lib/src/init_ffi.dart:6:24 - The argument type 'DynamicLibrary (where DynamicLibrary is defined in /home/worker/dart/stable/lib/ffi/dynamic_library.dart)' can't be assigned to the parameter type 'DynamicLibrary (where DynamicLibrary is defined in /tmp/analyzerXDXYVS/pub-cache/hosted/20251209t095900-dot-dartlang-pub.appspot.com/web_ffi-0.7.1/lib/src/ffi/types.dart)'.
  • ARGUMENT_TYPE_NOT_ASSIGNABLE - lib/src/init_ffi.dart:6:33 - The argument type 'Allocator (where Allocator is defined in /home/worker/dart/stable/lib/ffi/allocation.dart)' can't be assigned to the parameter type 'Allocator (where Allocator is defined in /tmp/analyzerXDXYVS/pub-cache/hosted/20251209t095900-dot-dartlang-pub.appspot.com/web_ffi-0.7.1/lib/src/ffi/types.dart)'.

Run dart pub downgrade and then dart analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.23.3, Dart 3.10.4.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
4
likes
80
points
1.83k
downloads

Publisher

verified publisherepnw.eu

Weekly Downloads

Wraps libopus in dart, and additionally provides a dart friendly API for encoding and decoding

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-2-Clause (license)

Dependencies

ffi, web_ffi

More

Packages that depend on opus_dart