Updated body_parser

This commit is contained in:
thomashii 2021-06-22 16:22:18 +08:00
parent 96fb385631
commit 546abbc49f
4 changed files with 9 additions and 5 deletions

View file

@ -1,5 +1,9 @@
# Change Log
## 2.1.0
* Replaced `http_server` with `belatuk_http_server`
## 2.0.1
* Fixed source code formating warning

View file

@ -1,6 +1,6 @@
# Angel3 Body Parser
[![version](https://img.shields.io/badge/pub-v2.0.1-brightgreen)](https://pub.dartlang.org/packages/angel3_body_parser)
[![version](https://img.shields.io/badge/pub-v2.1.0-brightgreen)](https://pub.dartlang.org/packages/angel3_body_parser)
[![Null Safety](https://img.shields.io/badge/null-safety-brightgreen)](https://dart.dev/null-safety)
[![Gitter](https://img.shields.io/gitter/room/angel_dart/discussion)](https://gitter.im/angel_dart/discussion)
@ -32,7 +32,7 @@ A benefit of this is that primitive types are automatically deserialized correct
To install Body Parser for your Dart project, simply add body_parser to your pub dependencies.
dependencies:
angel3_body_parser: ^2.0.0
angel3_body_parser: ^2.1.0
### Usage

View file

@ -4,7 +4,7 @@ import 'dart:io';
import 'dart:typed_data';
import 'package:http_parser/http_parser.dart';
import 'package:http_server/http_server.dart';
import 'package:belatuk_http_server/belatuk_http_server.dart';
import 'package:mime/mime.dart';
import 'body_parse_result.dart';

View file

@ -1,12 +1,12 @@
name: angel3_body_parser
version: 2.0.1
version: 2.1.0
description: Parse request bodies and query strings in Dart. Supports JSON, URL-encoded, and multi-part bodies.
homepage: https://github.com/dukefirehawk/angel/tree/angel3/packages/body_parser
environment:
sdk: '>=2.12.0 <3.0.0'
dependencies:
http_parser: ^4.0.0
http_server: ^1.0.0
belatuk_http_server: ^2.0.0
mime: ^1.0.0
dev_dependencies:
http: ^0.13.0