stripe_js 3.4.0 stripe_js: ^3.4.0 copied to clipboard
Stripe.js bindings for dart. This package is used by Stripe web so that the Stripe js sdk can be invoked directly.
We analyzed this package 2 days ago, and awarded it 70 pub points (of a possible 140):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: MIT
.
10/10 points: 20% or more of the public API has dartdoc comments
407 out of 1081 API elements (37.7 %) have documentation comments.
Some symbols that are missing documentation: stripe_api
, stripe_api.AuBecsDebit.copyWith
, stripe_api.AuBecsDebit.AuBecsDebit.fromJson
, stripe_api.AuBecsDebit.toJson
, stripe_api.BacsDebit.copyWith
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 1 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- ✓ Web
These platforms are not supported:
Package not compatible with platform Android
Because:
package:stripe_js/stripe_js.dart
that imports:package:stripe_js/src/loader/stripe_loader.dart
that imports:dart:js
Package not compatible with platform iOS
Because:
package:stripe_js/stripe_js.dart
that imports:package:stripe_js/src/loader/stripe_loader.dart
that imports:dart:js
Package not compatible with platform Windows
Because:
package:stripe_js/stripe_js.dart
that imports:package:stripe_js/src/loader/stripe_loader.dart
that imports:dart:js
Package not compatible with platform Linux
Because:
package:stripe_js/stripe_js.dart
that imports:package:stripe_js/src/loader/stripe_loader.dart
that imports:dart:js
Package not compatible with platform macOS
Because:
package:stripe_js/stripe_js.dart
that imports:package:stripe_js/src/loader/stripe_loader.dart
that imports:dart:js
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 715 issues. Showing the first 2:
ERROR: Undefined class 'PaymentIntent'.
lib/src/api/setup_intents/payment_intent.freezed.dart:17:1
╷
17 │ PaymentIntent _$PaymentIntentFromJson(Map<String, dynamic> json) {
│ ^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/api/setup_intents/payment_intent.freezed.dart
ERROR: Undefined name 'JsonKey' used as an annotation.
lib/src/api/setup_intents/payment_intent.freezed.dart:41:3
╷
41 │ @JsonKey(name: "amount_capturable")
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/api/setup_intents/payment_intent.freezed.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
freezed_annotation |
^2.2.0 |
2.4.1 | 2.4.1 |
js |
^0.6.3 |
0.6.7 | 0.7.1 |
json_annotation |
^4.8.1 |
4.9.0 | 4.9.0 |
meta |
^1.0.0 |
1.14.0 | 1.14.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
collection |
- | 1.18.0 | 1.18.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^0.6.3` on js does not support the stable version `0.7.0`.
Try running dart pub upgrade --major-versions js
to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
Analyzed with Pana 0.22.3
, Dart 3.3.3
.
Check the analysis log for details.