Skip to content

Commit ea4443a

Browse files
ci: bump version to v0.6.12
1 parent f1bda4d commit ea4443a

File tree

4 files changed

+54
-33
lines changed

4 files changed

+54
-33
lines changed

CHANGELOG.md

Lines changed: 22 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog
22

3+
## [0.6.12]
4+
5+
- Released @ 6/2025 (UTC)
6+
- Update dependencies
7+
38
## [0.6.10]
49

510
- Released @ 6/2025 (UTC)
@@ -12,59 +17,59 @@
1217
- +chore: Update dependencies
1318
- update
1419

15-
## [0.6.7]
20+
## [0.6.8]
1621

1722
- Released @ 6/2025 (UTC)
1823
- +chore: Update dependencies
1924

20-
## [0.6.5]
21-
22-
- Released @ 6/2025 (UTC)
23-
- +chore: Bugfix with paths
24-
25-
## [0.6.4]
25+
## [0.6.7]
2626

2727
- Released @ 6/2025 (UTC)
2828
- +chore: Update dependencies
2929

30-
## [0.6.1]
30+
## [0.6.6]
3131

3232
- Released @ 6/2025 (UTC)
3333
- +chore: Update dependencies
34+
- update
3435

35-
## [0.5.11]
36+
## [0.6.5]
3637

3738
- Released @ 6/2025 (UTC)
38-
- chore: Update dependencies
39+
- +chore: Bugfix with paths
3940

40-
## [0.5.12]
41+
## [0.6.4]
4142

4243
- Released @ 6/2025 (UTC)
4344
- +chore: Update dependencies
4445

45-
## [0.6.0]
46+
## [0.6.3]
4647

4748
- Released @ 6/2025 (UTC)
49+
- +chore: Update dependencies
4850
- update
4951

5052
## [0.6.2]
5153

5254
- Released @ 6/2025 (UTC)
5355
- +chore: Upgrade dependencies
5456

55-
## [0.6.3]
57+
## [0.6.1]
5658

5759
- Released @ 6/2025 (UTC)
5860
- +chore: Update dependencies
59-
- update
6061

61-
## [0.6.6]
62+
## [0.6.0]
6263

6364
- Released @ 6/2025 (UTC)
64-
- +chore: Update dependencies
6565
- update
6666

67-
## [0.6.8]
67+
## [0.5.12]
6868

6969
- Released @ 6/2025 (UTC)
7070
- +chore: Update dependencies
71+
72+
## [0.5.11]
73+
74+
- Released @ 6/2025 (UTC)
75+
- chore: Update dependencies

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Dart & Flutter Packages by dev-cetera.com & contributors.
55

66
[![pub](https://img.shields.io/pub/v/df_gen_core.svg)](https://pub.dev/packages/df_gen_core)
7-
[![tag](https://img.shields.io/badge/tag-v0.6.11-purple)](https://github.com/dev-cetera/df_gen_core/tree/v0.6.11)
7+
[![tag](https://img.shields.io/badge/tag-v0.6.12-purple)](https://github.com/dev-cetera/df_gen_core/tree/v0.6.12)
88
[![license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/dev-cetera/df_gen_core/main/LICENSE)
99

1010
---
@@ -49,4 +49,3 @@ If you're enjoying this package and find it valuable, consider showing your appr
4949
## License
5050

5151
This project is released under the [MIT License](https://raw.githubusercontent.com/dev-cetera/df_gen_core/main/LICENSE). See [LICENSE](https://raw.githubusercontent.com/dev-cetera/df_gen_core/main/LICENSE) for more information.
52-

lib/src/mappers_etc.dart

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,10 @@ String buildCollectionMapper(
3939
.._largs = Iterable.generate(pLength, (n) => n).map((n) => 'p$n')
4040
.._type = element[1];
4141
final argIdMatch = RegExp(r'#x(\d+)').firstMatch(output);
42-
collectionEvent._nameIndex = argIdMatch != null && argIdMatch.groupCount > 0 //
42+
collectionEvent._nameIndex =
43+
argIdMatch != null &&
44+
argIdMatch.groupCount >
45+
0 //
4346
? int.tryParse(argIdMatch.group(1)!)
4447
: null;
4548
final xHash = '#x${collectionEvent._nameIndex}';
@@ -156,7 +159,8 @@ TTypeMappers filterMappersByType(TTypeMappers mappers, String type) {
156159

157160
// ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
158161

159-
typedef TTypeMappers<E extends MapperEvent> = Map<String, String Function(E event)>;
162+
typedef TTypeMappers<E extends MapperEvent> =
163+
Map<String, String Function(E event)>;
160164

161165
TTypeMappers<T> newTypeMap<T extends MapperEvent>(
162166
Map<String, String Function(T)> src,
@@ -173,7 +177,8 @@ TTypeMappers<T> newTypeMap<T extends MapperEvent>(
173177
abstract class TypeMappers {
174178
TTypeMappers<MapperEvent> get fromMappers =>
175179
{...collectionFromMappers, ...objectFromMappers}.cast();
176-
TTypeMappers<MapperEvent> get toMappers => {...collectionToMappers, ...objectToMappers}.cast();
180+
TTypeMappers<MapperEvent> get toMappers =>
181+
{...collectionToMappers, ...objectToMappers}.cast();
177182
TTypeMappers<CollectionMapperEvent> get collectionFromMappers;
178183
TTypeMappers<CollectionMapperEvent> get collectionToMappers;
179184
TTypeMappers<ObjectMapperEvent> get objectFromMappers;

lib/src/path_explorer.dart

Lines changed: 23 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,15 @@ class PathExplorer {
5050
//
5151

5252
Stream<FilePathExplorerFinding> exploreFiles() {
53-
return explore().where((e) => e is FilePathExplorerFinding).cast<FilePathExplorerFinding>();
53+
return explore()
54+
.where((e) => e is FilePathExplorerFinding)
55+
.cast<FilePathExplorerFinding>();
5456
}
5557

5658
Stream<DirPathExplorerFinding> exploreDirs() {
57-
return explore().where((e) => e is DirPathExplorerFinding).cast<DirPathExplorerFinding>();
59+
return explore()
60+
.where((e) => e is DirPathExplorerFinding)
61+
.cast<DirPathExplorerFinding>();
5862
}
5963

6064
Stream<PathExplorerFinding> explore() async* {
@@ -69,8 +73,12 @@ class PathExplorer {
6973
final s = recurse(path, () => temp!);
7074
temp = DirPathExplorerFinding._(
7175
path: path,
72-
files: s.where((e) => e is FilePathExplorerFinding).cast<FilePathExplorerFinding>(),
73-
dirs: s.where((e) => e is DirPathExplorerFinding).cast<DirPathExplorerFinding>(),
76+
files: s
77+
.where((e) => e is FilePathExplorerFinding)
78+
.cast<FilePathExplorerFinding>(),
79+
dirs: s
80+
.where((e) => e is DirPathExplorerFinding)
81+
.cast<DirPathExplorerFinding>(),
7482
parentDir: parentDir,
7583
);
7684
yield temp;
@@ -92,7 +100,9 @@ class PathExplorer {
92100
}
93101

94102
Stream<FileData> readFiles(bool Function(FilePathExplorerFinding) filter) {
95-
return exploreFiles().where(filter).asyncMap(
103+
return exploreFiles()
104+
.where(filter)
105+
.asyncMap(
96106
(a) async => File(a.path).readAsBytes().then((b) => FileData(a, b)),
97107
);
98108
}
@@ -126,12 +136,14 @@ class PathExplorer {
126136

127137
// ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
128138

129-
typedef TPathExplorerFindings = Future<
130-
({
131-
Set<DirPathExplorerFinding> rootDirPathFindings,
132-
Set<DirPathExplorerFinding> dirPathFindings,
133-
Set<FilePathExplorerFinding> filePathFindings,
134-
})>;
139+
typedef TPathExplorerFindings =
140+
Future<
141+
({
142+
Set<DirPathExplorerFinding> rootDirPathFindings,
143+
Set<DirPathExplorerFinding> dirPathFindings,
144+
Set<FilePathExplorerFinding> filePathFindings,
145+
})
146+
>;
135147

136148
// ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
137149

0 commit comments

Comments
 (0)