Merge pull request #6 from dart-backend/feature/dart3.3-support

Updated to min dart sdk 3.3
This commit is contained in:
Thomas 2024-05-21 23:09:26 +08:00 committed by GitHub
commit 2decae0c3d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
22 changed files with 85 additions and 37 deletions

View file

@ -1,8 +1,15 @@
# Change Log # Change Log
## 5.3.0
* Require Dart >= 3.3
* Updated `belatuk_http_server` to 4.4.0
* Upgraded `lints` to 4.0.0
## 5.2.0 ## 5.2.0
* Updated `lints` to 3.0.0 * Updated `lints` to 3.0.0
* Updated `belatuk_http_server` to 4.2.0
## 5.1.0 ## 5.1.0

View file

@ -1,14 +1,14 @@
name: belatuk_body_parser name: belatuk_body_parser
version: 5.2.0 version: 5.3.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 <4.0.0' sdk: '>=3.3.0 <4.0.0'
dependencies: dependencies:
http_parser: ^4.0.0 http_parser: ^4.0.0
belatuk_http_server: ^4.1.0 belatuk_http_server: ^4.4.0
mime: ^1.0.0 mime: ^1.0.0
dev_dependencies: dev_dependencies:
http: ^1.0.0 http: ^1.0.0
test: ^1.24.0 test: ^1.24.0
lints: ^3.0.0 lints: ^4.0.0

View file

@ -1,5 +1,10 @@
# Change Log # Change Log
## 5.2.0
* Require Dart >= 3.3
* Upgraded `lints` to 4.0.0
## 5.1.0 ## 5.1.0
* Updated `lints` to 3.0.0 * Updated `lints` to 3.0.0

View file

@ -1,12 +1,12 @@
name: belatuk_code_buffer name: belatuk_code_buffer
version: 5.1.0 version: 5.2.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 <4.0.0' sdk: '>=3.3.0 <4.0.0'
dependencies: dependencies:
charcode: ^1.2.0 charcode: ^1.2.0
source_span: ^1.8.1 source_span: ^1.8.1
dev_dependencies: dev_dependencies:
test: ^1.24.0 test: ^1.24.0
lints: ^3.0.0 lints: ^4.0.0

View file

@ -1,5 +1,10 @@
# Change Log # Change Log
## 5.2.0
* Require Dart >= 3.0
* Upgraded `lints` to 4.0.0
## 5.1.0 ## 5.1.0
* Updated `lints` to 3.0.0 * Updated `lints` to 3.0.0

View file

@ -1,9 +1,9 @@
name: belatuk_combinator name: belatuk_combinator
version: 5.1.0 version: 5.2.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 <4.0.0' sdk: '>=3.3.0 <4.0.0'
dependencies: dependencies:
belatuk_code_buffer: ^5.0.0 belatuk_code_buffer: ^5.0.0
matcher: ^0.12.10 matcher: ^0.12.10
@ -12,4 +12,4 @@ dependencies:
tuple: ^2.0.0 tuple: ^2.0.0
dev_dependencies: dev_dependencies:
test: ^1.24.0 test: ^1.24.0
lints: ^3.0.0 lints: ^4.0.0

View file

@ -1,5 +1,10 @@
# Change Log # Change Log
## 5.2.0
* Require Dart >= 3.0
* Upgraded `lints` to 4.0.0
## 5.1.0 ## 5.1.0
* Updated `lints` to 3.0.0 * Updated `lints` to 3.0.0

View file

@ -54,7 +54,8 @@ class SelfClosingNode extends Node {
@override @override
List<Node> get children => List<Node>.unmodifiable([]); List<Node> get children => List<Node>.unmodifiable([]);
SelfClosingNode(tagName, [Map<String, dynamic> attributes = const {}]) // ignore: use_super_parameters
SelfClosingNode(String tagName, [Map<String, dynamic> attributes = const {}])
: super._selfClosing(tagName, attributes); : super._selfClosing(tagName, attributes);
} }

View file

@ -1,12 +1,12 @@
name: belatuk_html_builder name: belatuk_html_builder
version: 5.1.0 version: 5.2.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 <4.0.0' sdk: '>=3.3.0 <4.0.0'
dependencies: dependencies:
collection: ^1.17.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
lints: ^3.0.0 lints: ^4.0.0

View file

@ -1,5 +1,10 @@
# Change Log # Change Log
## 7.2.0
* Require Dart >= 3.0
* Upgraded `lints` to 4.0.0
## 7.1.0 ## 7.1.0
* Updated `lints` to 3.0.0 * Updated `lints` to 3.0.0

View file

@ -1,12 +1,12 @@
name: belatuk_json_serializer name: belatuk_json_serializer
version: 7.1.0 version: 7.2.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 <4.0.0' sdk: '>=3.3.0 <4.0.0'
dependencies: dependencies:
logging: ^1.0.1 logging: ^1.0.1
dev_dependencies: dev_dependencies:
stack_trace: ^1.10.0 stack_trace: ^1.10.0
test: ^1.24.0 test: ^1.24.0
lints: ^3.0.0 lints: ^4.0.0

View file

@ -1,9 +1,9 @@
name: belatuk_merge_map name: belatuk_merge_map
version: 5.1.0 version: 5.2.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 <4.0.0' sdk: '>=3.3.0 <4.0.0'
dev_dependencies: dev_dependencies:
test: ^1.24.0 test: ^1.24.0
lints: ^3.0.0 lints: ^4.0.0

View file

@ -1,5 +1,10 @@
# Change Log # Change Log
## 6.2.0
* Require Dart >= 3.0
* Upgraded `lints` to 4.0.0
## 6.1.0 ## 6.1.0
* Updated `lints` to 3.0.0 * Updated `lints` to 3.0.0

View file

@ -1,12 +1,12 @@
name: belatuk_pretty_logging name: belatuk_pretty_logging
version: 6.1.0 version: 6.2.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 <4.0.0' sdk: '>=3.3.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:
test: ^1.24.0 test: ^1.24.0
lints: ^3.0.0 lints: ^4.0.0

View file

@ -1,5 +1,10 @@
# Change Log # Change Log
## 6.3.0
* Require Dart >= 3.0
* Upgraded `lints` to 4.0.0
## 6.2.0 ## 6.2.0
* Updated `lints` to 3.0.0 * Updated `lints` to 3.0.0

View file

@ -1,9 +1,9 @@
name: belatuk_pub_sub name: belatuk_pub_sub
version: 6.2.0 version: 6.3.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 <4.0.0' sdk: '>=3.3.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
@ -11,4 +11,4 @@ dependencies:
collection: ^1.17.0 collection: ^1.17.0
dev_dependencies: dev_dependencies:
test: ^1.24.0 test: ^1.24.0
lints: ^3.0.0 lints: ^4.0.0

View file

@ -1,5 +1,10 @@
# Change Log # Change Log
## 6.3.0
* Require Dart >= 3.0
* Upgraded `lints` to 4.0.0
## 6.2.0 ## 6.2.0
* Updated `lints` to 3.0.0 * Updated `lints` to 3.0.0

View file

@ -1,9 +1,9 @@
name: belatuk_range_header name: belatuk_range_header
version: 6.2.0 version: 6.3.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 <4.0.0' sdk: '>=3.3.0 <4.0.0'
dependencies: dependencies:
async: ^2.11.0 async: ^2.11.0
charcode: ^1.3.0 charcode: ^1.3.0
@ -15,4 +15,4 @@ dev_dependencies:
http_parser: ^4.0.0 http_parser: ^4.0.0
logging: ^1.0.1 logging: ^1.0.1
test: ^1.24.0 test: ^1.24.0
lints: ^3.0.0 lints: ^4.0.0

View file

@ -1,11 +1,11 @@
name: belatuk_symbol_table name: belatuk_symbol_table
version: 5.1.0 version: 5.2.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 <4.0.0' sdk: '>=3.3.0 <4.0.0'
dependencies: dependencies:
collection: ^1.17.0 collection: ^1.17.0
dev_dependencies: dev_dependencies:
test: ^1.24.0 test: ^1.24.0
lints: ^3.0.0 lints: ^4.0.0

View file

@ -1,5 +1,10 @@
# Change Log # Change Log
## 5.2.0
* Require Dart >= 3.0
* Upgraded `lints` to 4.0.0
## 5.1.0 ## 5.1.0
* Updated `lints` to 3.0.0 * Updated `lints` to 3.0.0

View file

@ -1,9 +1,9 @@
name: user_agent_analyzer name: user_agent_analyzer
version: 5.1.0 version: 5.2.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 <4.0.0' sdk: '>=3.3.0 <4.0.0'
dev_dependencies: dev_dependencies:
test: ^1.24.0 test: ^1.24.0
lints: ^3.0.0 lints: ^4.0.0

View file

@ -1,6 +1,6 @@
name: belatuk_common_utilities_workspace name: belatuk_common_utilities_workspace
environment: environment:
sdk: '>=2.18.0 <4.0.0' sdk: '>=3.3.0 <4.0.0'
dev_dependencies: dev_dependencies:
melos: ^3.0.0 melos: ^6.0.0