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 # Change Log
## 5.0.0
* Require Dart >= 3.0
## 5.0.0-beta.1 ## 5.0.0-beta.1
* Require Dart >= 3.0 * Require Dart >= 3.0

View file

@ -1,12 +1,12 @@
name: belatuk_body_parser 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. 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 homepage: https://github.com/dart-backend/belatuk-common-utilities/tree/main/packages/body_parser
environment: environment:
sdk: '>=3.0.0-290.3.beta <4.0.0' sdk: '>=3.0.0 <4.0.0'
dependencies: dependencies:
http_parser: ^4.0.0 http_parser: ^4.0.0
belatuk_http_server: ^4.0.0-beta.1 belatuk_http_server: ^4.0.0
mime: ^1.0.0 mime: ^1.0.0
dev_dependencies: dev_dependencies:
http: ^0.13.0 http: ^0.13.0

View file

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

View file

@ -1,9 +1,9 @@
name: belatuk_code_buffer 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. 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 homepage: https://github.com/dart-backend/belatuk-common-utilities/tree/main/packages/code_buffer
environment: environment:
sdk: '>=3.0.0-290.3.beta <4.0.0' sdk: '>=3.0.0 <4.0.0'
dependencies: dependencies:
charcode: ^1.2.0 charcode: ^1.2.0
source_span: ^1.8.1 source_span: ^1.8.1

View file

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

View file

@ -1,11 +1,11 @@
name: belatuk_combinator 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. 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 homepage: https://github.com/dart-backend/belatuk-common-utilities/tree/main/packages/combinator
environment: environment:
sdk: '>=3.0.0-290.3.beta <4.0.0' sdk: '>=3.0.0 <4.0.0'
dependencies: dependencies:
belatuk_code_buffer: ^5.0.0-beta.1 belatuk_code_buffer: ^5.0.0
matcher: ^0.12.10 matcher: ^0.12.10
source_span: ^1.8.1 source_span: ^1.8.1
string_scanner: ^1.1.0 string_scanner: ^1.1.0

View file

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

View file

@ -1,5 +1,9 @@
# Change Log # Change Log
## 5.0.0
* Require Dart >= 3.0
## 5.0.0-beta.1 ## 5.0.0-beta.1
* Require Dart >= 3.0 * 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 ## Requirements
* Dart SDK: 2.17.x or later * Dart SDK: 3.0.x or later
## Installation ## Installation

View file

@ -1,11 +1,11 @@
name: belatuk_html_builder 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. 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 homepage: https://github.com/dart-backend/belatuk-common-utilities/tree/main/packages/html_builder
environment: environment:
sdk: '>=3.0.0-290.3.beta <4.0.0' sdk: '>=3.0.0 <4.0.0'
dependencies: dependencies:
collection: ^1.15.0 collection: ^1.17.0
dev_dependencies: dev_dependencies:
html: ^0.15.0 html: ^0.15.0
test: ^1.24.0 test: ^1.24.0

View file

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

View file

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

View file

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

View file

@ -1,9 +1,9 @@
name: belatuk_merge_map 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. 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 homepage: https://github.com/dart-backend/belatuk-common-utilities/tree/main/packages/merge_map
environment: environment:
sdk: '>=3.0.0-290.3.beta <4.0.0' sdk: '>=3.0.0 <4.0.0'
dev_dependencies: dev_dependencies:
test: ^1.17.4 test: ^1.24.0
lints: ^2.0.0 lints: ^2.0.0

View file

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

View file

@ -1,12 +1,12 @@
name: belatuk_pretty_logging 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. 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 homepage: https://github.com/dart-backend/belatuk-common-utilities/tree/main/packages/pretty_logging
environment: environment:
sdk: '>=3.0.0-290.3.beta <4.0.0' sdk: '>=3.0.0 <4.0.0'
dependencies: dependencies:
io: ^1.0.0 io: ^1.0.0
logging: ^1.0.1 logging: ^1.0.1
dev_dependencies: dev_dependencies:
lints: ^2.0.0
test: ^1.24.0 test: ^1.24.0
lints: ^2.0.0

View file

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

View file

@ -17,7 +17,7 @@ dependencies:
belatuk_pub_sub: ^6.0.0 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 ## Usage

View file

@ -1,14 +1,14 @@
name: belatuk_pub_sub 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. 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 homepage: https://github.com/dart-backend/belatuk-common-utilities/tree/main/packages/pub_sub
environment: environment:
sdk: '>=3.0.0-290.3.beta <4.0.0' sdk: '>=3.0.0 <4.0.0'
dependencies: dependencies:
json_rpc_2: ^3.0.0 json_rpc_2: ^3.0.0
stream_channel: ^2.1.0 stream_channel: ^2.1.0
uuid: ^3.0.4 uuid: ^3.0.4
collection: ^1.15.0 collection: ^1.17.0
dev_dependencies: dev_dependencies:
lints: ^2.0.0 lints: ^2.0.0
test: ^1.17.4 test: ^1.24.0

View file

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

View file

@ -1,18 +1,18 @@
name: belatuk_range_header 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. 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 homepage: https://github.com/dart-backend/belatuk-common-utilities/tree/main/packages/range_header
environment: environment:
sdk: '>=3.0.0-290.3.beta <4.0.0' sdk: '>=3.0.0 <4.0.0'
dependencies: dependencies:
async: ^2.6.0 async: ^2.11.0
charcode: ^1.2.0 charcode: ^1.3.0
quiver: ^3.0.1 quiver: ^3.2.0
source_span: ^1.8.1 source_span: ^1.10.0
string_scanner: ^1.1.0 string_scanner: ^1.2.0
dev_dependencies: dev_dependencies:
file: ^6.1.0 file: ^6.1.0
http_parser: ^4.0.0 http_parser: ^4.0.0
logging: ^1.0.1 logging: ^1.0.1
test: ^1.17.8 test: ^1.24.0
lints: ^2.0.0 lints: ^2.0.0

View file

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

View file

@ -1,11 +1,11 @@
name: belatuk_symbol_table 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. 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 homepage: https://github.com/dart-backend/belatuk-common-utilities/tree/main/packages/symbol_table
environment: environment:
sdk: '>=3.0.0-290.3.beta <4.0.0' sdk: '>=3.0.0 <4.0.0'
dependencies: dependencies:
collection: ^1.15.0 collection: ^1.17.0
dev_dependencies: dev_dependencies:
test: ^1.17.4 test: ^1.24.0
lints: ^2.0.0 lints: ^2.0.0

View file

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

View file

@ -1,9 +1,9 @@
name: user_agent_analyzer 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. 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 homepage: https://github.com/dart-backend/belatuk-common-utilities/tree/main/packages/user_agent
environment: environment:
sdk: '>=3.0.0-290.3.beta <4.0.0' sdk: '>=3.0.0 <4.0.0'
dev_dependencies: dev_dependencies:
test: ^1.17.8 test: ^1.24.0
lints: ^2.0.0 lints: ^2.0.0