Skip to content

Commit

Permalink
v2.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
amake committed Mar 4, 2024
1 parent c5a9f8b commit 5efff38
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 6 deletions.
3 changes: 3 additions & 0 deletions flutter_charset_detector/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## 2.1.0
* Add web implementation

## 2.0.0
* Drop older Android Gradle Plugin support

Expand Down
4 changes: 4 additions & 0 deletions flutter_charset_detector/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,14 @@ libraries created by Mozilla.
- Android:
[juniversalchardet](https://github.com/albfernandez/juniversalchardet), a Java
implementation of universalchardet
- Web: [jschardet](https://github.com/aadsm/jschardet), a JavaScript port of the
Python [chardet](https://github.com/chardet/chardet)

## Supported platforms

- Android 4.1 (SDK 16) and higher
- iOS 9 and higher
- Web (requires [TextDecoder](https://caniuse.com/textencoder) support)

## Supported charsets

Expand All @@ -28,6 +31,7 @@ underlying library; for specifics see:

- [iOS](https://gitlab.freedesktop.org/uchardet/uchardet/-/blob/v0.0.8/README.md#supported-languagesencodings)
- [Android](https://github.com/albfernandez/juniversalchardet/blob/v2.4.0/README.md#encodings-that-can-be-detected)
- [Web](https://github.com/aadsm/jschardet/blob/v3.0.0/README.md#supported-charsets)

## Usage

Expand Down
21 changes: 21 additions & 0 deletions flutter_charset_detector/example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,14 @@ packages:
url: "https://pub.dev"
source: hosted
version: "1.0.0"
flutter_charset_detector_web:
dependency: transitive
description:
name: flutter_charset_detector_web
sha256: d8495115abada771c75f9395aae3e5809ffd506e8fc8f62b403ae11fc29e1d2b
url: "https://pub.dev"
source: hosted
version: "1.0.2"
flutter_lints:
dependency: "direct dev"
description:
Expand All @@ -98,6 +106,19 @@ packages:
description: flutter
source: sdk
version: "0.0.0"
flutter_web_plugins:
dependency: transitive
description: flutter
source: sdk
version: "0.0.0"
js:
dependency: transitive
description:
name: js
sha256: f2c445dce49627136094980615a031419f7f3eb393237e4ecd97ac15dea343f3
url: "https://pub.dev"
source: hosted
version: "0.6.7"
leak_tracker:
dependency: transitive
description:
Expand Down
9 changes: 5 additions & 4 deletions flutter_charset_detector/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,11 @@ packages:
flutter_charset_detector_web:
dependency: "direct main"
description:
path: "../flutter_charset_detector_web"
relative: true
source: path
version: "1.0.1"
name: flutter_charset_detector_web
sha256: d8495115abada771c75f9395aae3e5809ffd506e8fc8f62b403ae11fc29e1d2b
url: "https://pub.dev"
source: hosted
version: "1.0.2"
flutter_lints:
dependency: "direct dev"
description:
Expand Down
4 changes: 2 additions & 2 deletions flutter_charset_detector/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: flutter_charset_detector
description: Detect and decode the charset (character encoding) of text bytes
version: 2.0.0
version: 2.1.0
homepage: https://github.com/amake/flutter_charset_detector

environment:
Expand All @@ -16,7 +16,7 @@ dependencies:
flutter_charset_detector_ios: ^1.0.0
# flutter_charset_detector_ios:
# path: ../flutter_charset_detector_ios
flutter_charset_detector_web: ^1.0.0
flutter_charset_detector_web: ^1.0.2
# flutter_charset_detector_web:
# path: ../flutter_charset_detector_web
flutter_charset_detector_platform_interface: ^1.0.0
Expand Down

0 comments on commit 5efff38

Please sign in to comment.