Updated to support Dart 3

This commit is contained in:
thomashii@dukefirehawk.com 2023-05-16 00:04:04 +08:00
parent f482f16ace
commit ab7c3dc952
25 changed files with 87 additions and 43 deletions

View file

@ -1,5 +1,9 @@
# Change Log
## 5.0.0
* Require Dart >= 3.0
## 5.0.0-beta.1
* Require Dart >= 3.0

View file

@ -1,12 +1,12 @@
name: belatuk_body_parser
version: 5.0.0-beta.1
version: 5.0.0
description: Parse request bodies and query strings in Dart. Supports JSON, URL-encoded, and multi-part bodies.
homepage: https://github.com/dart-backend/belatuk-common-utilities/tree/main/packages/body_parser
environment:
sdk: '>=3.0.0-290.3.beta <4.0.0'
sdk: '>=3.0.0 <4.0.0'
dependencies:
http_parser: ^4.0.0
belatuk_http_server: ^4.0.0-beta.1
belatuk_http_server: ^4.0.0
mime: ^1.0.0
dev_dependencies:
http: ^0.13.0

View file

@ -1,5 +1,9 @@
# Change Log
## 5.0.0
* Require Dart >= 3.0
## 5.0.0-beta.1
* Require Dart >= 3.0

View file

@ -1,9 +1,9 @@
name: belatuk_code_buffer
version: 5.0.0-beta.1
version: 5.0.0
description: An advanced StringBuffer geared toward generating code, and source maps.
homepage: https://github.com/dart-backend/belatuk-common-utilities/tree/main/packages/code_buffer
environment:
sdk: '>=3.0.0-290.3.beta <4.0.0'
sdk: '>=3.0.0 <4.0.0'
dependencies:
charcode: ^1.2.0
source_span: ^1.8.1

View file

@ -1,5 +1,9 @@
# Change Log
## 5.0.0
* Require Dart >= 3.0
## 5.0.0-beta.1
* Require Dart >= 3.0

View file

@ -1,11 +1,11 @@
name: belatuk_combinator
version: 5.0.0-beta.1
version: 5.0.0
description: Packrat parser combinators that support static typing, generics, file spans, memoization, and more.
homepage: https://github.com/dart-backend/belatuk-common-utilities/tree/main/packages/combinator
environment:
sdk: '>=3.0.0-290.3.beta <4.0.0'
sdk: '>=3.0.0 <4.0.0'
dependencies:
belatuk_code_buffer: ^5.0.0-beta.1
belatuk_code_buffer: ^5.0.0
matcher: ^0.12.10
source_span: ^1.8.1
string_scanner: ^1.1.0

View file

@ -1,4 +1,4 @@
# melos_managed_dependency_overrides: belatuk_code_buffer
dependency_overrides:
belatuk_code_buffer:
path: ../code_buffer
#dependency_overrides:
# belatuk_code_buffer:
# path: ../code_buffer

View file

@ -1,5 +1,9 @@
# Change Log
## 5.0.0
* Require Dart >= 3.0
## 5.0.0-beta.1
* Require Dart >= 3.0

View file

@ -10,7 +10,7 @@ This package builds HTML AST's and renders them to HTML. It can be used as an in
## Requirements
* Dart SDK: 2.17.x or later
* Dart SDK: 3.0.x or later
## Installation

View file

@ -1,11 +1,11 @@
name: belatuk_html_builder
version: 5.0.0-beta.1
version: 5.0.0
description: Build HTML AST's and render them to HTML. This can be used as an internal DSL, i.e. for a templating engine.
homepage: https://github.com/dart-backend/belatuk-common-utilities/tree/main/packages/html_builder
environment:
sdk: '>=3.0.0-290.3.beta <4.0.0'
sdk: '>=3.0.0 <4.0.0'
dependencies:
collection: ^1.15.0
collection: ^1.17.0
dev_dependencies:
html: ^0.15.0
test: ^1.24.0

View file

@ -1,5 +1,9 @@
# Change Log
## 7.0.0
* Require Dart >= 3.0
## 7.0.0-beta.1
* Require Dart >= 3.0

View file

@ -1,9 +1,9 @@
name: belatuk_json_serializer
version: 7.0.0-beta.1
version: 7.0.0
description: Easy JSON to Object serialization and deserialization in Dart.
homepage: https://github.com/dart-backend/belatuk-common-utilities/tree/main/packages/json_serializer
environment:
sdk: '>=3.0.0-290.3.beta <4.0.0'
sdk: '>=3.0.0 <4.0.0'
dependencies:
logging: ^1.0.1
dev_dependencies:

View file

@ -1,5 +1,9 @@
# Change Log
## 5.0.0
* Require Dart >= 3.0
## 5.0.0-beta.1
* Require Dart >= 3.0

View file

@ -1,9 +1,9 @@
name: belatuk_merge_map
version: 5.0.0-beta.1
version: 5.0.0
description: Combine multiple Maps into one. Equivalent to Object.assign in JS.
homepage: https://github.com/dart-backend/belatuk-common-utilities/tree/main/packages/merge_map
environment:
sdk: '>=3.0.0-290.3.beta <4.0.0'
sdk: '>=3.0.0 <4.0.0'
dev_dependencies:
test: ^1.17.4
test: ^1.24.0
lints: ^2.0.0

View file

@ -1,5 +1,9 @@
# Change Log
## 6.0.0
* Require Dart >= 3.0
## 6.0.0-beta.1
* Require Dart >= 3.0

View file

@ -1,12 +1,12 @@
name: belatuk_pretty_logging
version: 6.0.0-beta.1
version: 6.0.0
description: Standalone helper for colorful logging output, using pkg:io AnsiCode.
homepage: https://github.com/dart-backend/belatuk-common-utilities/tree/main/packages/pretty_logging
environment:
sdk: '>=3.0.0-290.3.beta <4.0.0'
sdk: '>=3.0.0 <4.0.0'
dependencies:
io: ^1.0.0
logging: ^1.0.1
dev_dependencies:
lints: ^2.0.0
test: ^1.24.0
lints: ^2.0.0

View file

@ -1,5 +1,9 @@
# Change Log
## 6.0.0
* Require Dart >= 3.0
## 6.0.0-beta.1
* Require Dart >= 3.0

View file

@ -17,7 +17,7 @@ dependencies:
belatuk_pub_sub: ^6.0.0
```
Then, be sure to run `pub get` in your terminal.
Then, be sure to run `dart pub get` in your terminal.
## Usage

View file

@ -1,14 +1,14 @@
name: belatuk_pub_sub
version: 6.0.0-beta.1
version: 6.0.0
description: Keep application instances in sync with a simple pub/sub API.
homepage: https://github.com/dart-backend/belatuk-common-utilities/tree/main/packages/pub_sub
environment:
sdk: '>=3.0.0-290.3.beta <4.0.0'
sdk: '>=3.0.0 <4.0.0'
dependencies:
json_rpc_2: ^3.0.0
stream_channel: ^2.1.0
uuid: ^3.0.4
collection: ^1.15.0
collection: ^1.17.0
dev_dependencies:
lints: ^2.0.0
test: ^1.17.4
test: ^1.24.0

View file

@ -1,5 +1,9 @@
# Change Log
## 6.0.0
* Require Dart >= 3.0
## 6.0.0-beta.1
* Require Dart >= 3.0

View file

@ -1,18 +1,18 @@
name: belatuk_range_header
version: 6.0.0-beta.1
version: 6.0.0
description: Range header parser for Dart. Beyond parsing, a stream transformer is included.
homepage: https://github.com/dart-backend/belatuk-common-utilities/tree/main/packages/range_header
environment:
sdk: '>=3.0.0-290.3.beta <4.0.0'
sdk: '>=3.0.0 <4.0.0'
dependencies:
async: ^2.6.0
charcode: ^1.2.0
quiver: ^3.0.1
source_span: ^1.8.1
string_scanner: ^1.1.0
async: ^2.11.0
charcode: ^1.3.0
quiver: ^3.2.0
source_span: ^1.10.0
string_scanner: ^1.2.0
dev_dependencies:
file: ^6.1.0
http_parser: ^4.0.0
logging: ^1.0.1
test: ^1.17.8
test: ^1.24.0
lints: ^2.0.0

View file

@ -1,5 +1,9 @@
# Change Log
## 5.0.0
* Require Dart >= 3.0
## 5.0.0-beta.1
* Require Dart >= 3.0

View file

@ -1,11 +1,11 @@
name: belatuk_symbol_table
version: 5.0.0-beta.1
version: 5.0.0
description: A generic symbol table implementation in Dart, with support for scopes and constants.
homepage: https://github.com/dart-backend/belatuk-common-utilities/tree/main/packages/symbol_table
environment:
sdk: '>=3.0.0-290.3.beta <4.0.0'
sdk: '>=3.0.0 <4.0.0'
dependencies:
collection: ^1.15.0
collection: ^1.17.0
dev_dependencies:
test: ^1.17.4
test: ^1.24.0
lints: ^2.0.0

View file

@ -1,5 +1,9 @@
# Change Log
## 5.0.0
* Require Dart >= 3.0
## 5.0.0-beta.1
* Require Dart >= 3.0

View file

@ -1,9 +1,9 @@
name: user_agent_analyzer
version: 5.0.0-beta.1
version: 5.0.0
description: A library to identify the type of devices and web browsers based on User-Agent string.
homepage: https://github.com/dart-backend/belatuk-common-utilities/tree/main/packages/user_agent
environment:
sdk: '>=3.0.0-290.3.beta <4.0.0'
sdk: '>=3.0.0 <4.0.0'
dev_dependencies:
test: ^1.17.8
test: ^1.24.0
lints: ^2.0.0