From 25adab0d8bdbc1115485be3062c343e28c10fea7 Mon Sep 17 00:00:00 2001 From: gmpassos Date: Fri, 9 Aug 2024 02:25:10 -0300 Subject: [PATCH] v3.2.1 - `MimeType`: - Added `applicationOctetStream` and `bytes`. - test: ^1.25.8 - coverage: ^1.9.0 --- CHANGELOG.md | 8 ++++++++ lib/src/data.dart | 3 +++ pubspec.yaml | 6 +++--- 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4437629..25ad891 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ +## 3.2.1 + +- `MimeType`: + - Added `applicationOctetStream` and `bytes`. + +- test: ^1.25.8 +- coverage: ^1.9.0 + ## 3.2.0 - sdk: '>=3.3.0 <4.0.0' diff --git a/lib/src/data.dart b/lib/src/data.dart index 3ebf79a..d9fc643 100644 --- a/lib/src/data.dart +++ b/lib/src/data.dart @@ -21,6 +21,9 @@ import 'utils.dart'; /// - pdf: application/pdf /// class MimeType { + static const applicationOctetStream = 'application/octet-stream'; + static const bytes = applicationOctetStream; + static const applicationJson = 'application/json'; static const json = applicationJson; diff --git a/pubspec.yaml b/pubspec.yaml index 1d4163f..68144ed 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: swiss_knife description: Dart Useful Tools - collections, math, date, uri, json, events, resources, regexp, etc... -version: 3.2.0 +version: 3.2.1 homepage: https://github.com/gmpassos/swiss_knife environment: @@ -12,10 +12,10 @@ dependencies: dev_dependencies: lints: ^3.0.0 - test: ^1.25.2 + test: ^1.25.8 dependency_validator: ^3.2.3 collection: ^1.18.0 - coverage: ^1.7.2 + coverage: ^1.9.0 #dependency_overrides: # resource_portable: