Skip to content

Commit fe4a0b6

Browse files
committed
chore: use new sourcegen version
1 parent 1705296 commit fe4a0b6

5 files changed

Lines changed: 42 additions & 39 deletions

File tree

lib/src/stdlib/base64.g.dart

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/src/stdlib/log.dart

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
// coverage:ignore-file
22

3-
// ignore_for_file: unnecessary_question_mark necessary for the source gen to pick it up
4-
53
import 'package:dscript_annotations/dscript_annotations.dart';
64
import 'package:logging/logging.dart';
75
import 'package:dscript_dart/dscript_dart.dart';
@@ -25,54 +23,54 @@ class LogBindings extends _$LogBindings {
2523

2624
/// Logs general informational messages that highlight the progress of the application at a coarse level.
2725
@override
28-
void info(dynamic message, {dynamic? error}) {
26+
void info(dynamic message, {dynamic error}) {
2927
logger.info(message, error);
3028
}
3129

3230
/// Logs potential problems that are not yet errors but might require attention or could lead to issues.
3331
@override
34-
void warning(dynamic message, {dynamic? error}) {
32+
void warning(dynamic message, {dynamic error}) {
3533
logger.warning(message, error);
3634
}
3735

3836
/// Logs serious failures or errors that will likely prevent normal program execution.
3937
@override
40-
void severe(dynamic message, {dynamic? error}) {
38+
void severe(dynamic message, {dynamic error}) {
4139
logger.severe(message, error);
4240
}
4341

4442
/// Logs tracing information for debugging purposes.
4543
/// Less verbose than [finer] or [finest].
4644
@override
47-
void fine(dynamic message, {dynamic? error}) {
45+
void fine(dynamic message, {dynamic error}) {
4846
logger.fine(message, error);
4947
}
5048

5149
/// Logs fairly detailed tracing information.
5250
/// Useful when debugging complex flows with more granularity than [fine].
5351
@override
54-
void finer(dynamic message, {dynamic? error}) {
52+
void finer(dynamic message, {dynamic error}) {
5553
logger.finer(message, error);
5654
}
5755

5856
/// Logs highly detailed tracing information.
5957
/// Intended for deep debugging, usually too verbose for normal use.
6058
@override
61-
void finest(dynamic message, {dynamic? error}) {
59+
void finest(dynamic message, {dynamic error}) {
6260
logger.finest(message, error);
6361
}
6462

6563
/// Logs static configuration messages.
6664
/// Typically used to record startup settings or environment details.
6765
@override
68-
void config(dynamic message, {dynamic? error}) {
66+
void config(dynamic message, {dynamic error}) {
6967
logger.config(message, error);
7068
}
7169

7270
/// Logs messages at the shout level.
7371
/// Louder than [severe]; use sparingly for attention-grabbing events.
7472
@override
75-
void shout(dynamic message, {dynamic? error}) {
73+
void shout(dynamic message, {dynamic error}) {
7674
logger.shout(message, error);
7775
}
7876
}

lib/src/stdlib/log.g.dart

Lines changed: 16 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pubspec.lock

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -259,17 +259,19 @@ packages:
259259
dscript_annotations:
260260
dependency: "direct main"
261261
description:
262-
path: "../dscript_annotations"
263-
relative: true
264-
source: path
262+
name: dscript_annotations
263+
sha256: b75cbdfa1d4fdac5a300e40beb77ff1f0b658ba2c4a0309dde4db5418a90781e
264+
url: "https://pub.dev"
265+
source: hosted
265266
version: "1.0.0"
266267
dscript_gen:
267268
dependency: "direct dev"
268269
description:
269-
path: "../dscript_gen"
270-
relative: true
271-
source: path
272-
version: "1.0.0"
270+
name: dscript_gen
271+
sha256: "3dbbc5581bffd1749e6a5ea782d4e65364edc561ed79b21a29fc02be7ea4f2c9"
272+
url: "https://pub.dev"
273+
source: hosted
274+
version: "1.1.1"
273275
equatable:
274276
dependency: "direct main"
275277
description:
@@ -399,7 +401,7 @@ packages:
399401
source: hosted
400402
version: "0.12.17"
401403
meta:
402-
dependency: transitive
404+
dependency: "direct main"
403405
description:
404406
name: meta
405407
sha256: "23f08335362185a5ea2ad3a4e597f1375e78bce8a040df5c600c8d3552ef2394"

pubspec.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ dev_dependencies:
2222
custom_lint: ^0.8.0
2323
custom_lints:
2424
path: ./custom_lints
25-
dscript_gen: ^1.0.0
25+
dscript_gen: ^1.1.1
2626
lints: ^5.0.0
2727
test: ^1.24.0
28+
# dependency_overrides:
29+
# dscript_gen:
30+
# path: ../dscript_gen

0 commit comments

Comments
 (0)