Skip to content

Commit 5b309c7

Browse files
committed
+chore: Update dependencies
1 parent 4827567 commit 5b309c7

File tree

2 files changed

+4
-10
lines changed

2 files changed

+4
-10
lines changed

.github/scripts/update_changelog.dart

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,8 @@ class _VersionSection {
115115
//
116116

117117
void addUpdate(String update) {
118-
this.updates.add(update);
119-
this.releasedAt = DateTime.now().toUtc();
118+
updates.add(update);
119+
releasedAt = DateTime.now().toUtc();
120120
}
121121

122122
//
@@ -137,27 +137,21 @@ int compareVersions(String version1, String version2) {
137137
// Split by the '+' first to handle the build number
138138
final parts = version.split('+');
139139
final versionParts = parts[0].split('.').map(int.tryParse).map((e) => e ?? 0).toList();
140-
141140
// Add the build number as the last part (if it exists)
142141
if (parts.length > 1) {
143142
versionParts.add(int.tryParse(parts[1]) ?? 0);
144143
}
145-
146144
return versionParts;
147145
}
148146

149147
final v1 = parseVersion(version1);
150148
final v2 = parseVersion(version2);
151-
152149
final maxLength = v1.length > v2.length ? v1.length : v2.length;
153-
154150
for (var i = 0; i < maxLength; i++) {
155151
final part1 = i < v1.length ? v1[i] : 0;
156152
final part2 = i < v2.length ? v2[i] : 0;
157-
158153
if (part1 > part2) return 1;
159154
if (part1 < part2) return -1;
160155
}
161-
162156
return 0;
163157
}

pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
name: df_scalable
1414
description: A package that provides a convenient method to scale your app UI up or down.
15-
version: 0.2.7
15+
version: 0.2.8
1616
repository: https://github.com/robmllze/df_scalable
1717
funding:
1818
- https://www.buymeacoffee.com/robmllze
@@ -33,7 +33,7 @@ environment:
3333
dependencies:
3434
flutter:
3535
sdk: flutter
36-
df_pod: ^0.11.8
36+
df_pod: ^0.12.0
3737

3838
## -----------------------------------------------------------------------------
3939

0 commit comments

Comments
 (0)