File tree 3 files changed +5
-6
lines changed
3 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 1
- ## 2.1.6
1
+ ## 2.2.0
2
2
3
+ - Remove dependency on ` package:meta ` .
4
+ - Mark ` Version ` class as ` final ` instead of with ` @sealed ` .
3
5
- Clarify that the lists returned by
4
6
the ` preRelease ` and ` build ` properties of ` Version ` and
5
7
the ` ranges ` property of ` VersionUnion ` should not be modified.
Original file line number Diff line number Diff line change 5
5
import 'dart:math' as math;
6
6
7
7
import 'package:collection/collection.dart' ;
8
- import 'package:meta/meta.dart' show sealed;
9
8
10
9
import 'patterns.dart' ;
11
10
import 'version_constraint.dart' ;
@@ -15,8 +14,7 @@ import 'version_range.dart';
15
14
const _equality = IterableEquality <Object >();
16
15
17
16
/// A parsed semantic version number.
18
- @sealed
19
- class Version implements VersionConstraint , VersionRange {
17
+ final class Version implements VersionConstraint , VersionRange {
20
18
/// No released version: i.e. "0.0.0".
21
19
static Version get none => Version (0 , 0 , 0 );
22
20
Original file line number Diff line number Diff line change 1
1
name : pub_semver
2
- version : 2.1.6
2
+ version : 2.2.0
3
3
description : >-
4
4
Versions and version constraints implementing pub's versioning policy. This
5
5
is very similar to vanilla semver, with a few corner cases.
@@ -15,7 +15,6 @@ environment:
15
15
16
16
dependencies :
17
17
collection : ^1.15.0
18
- meta : ^1.3.0
19
18
20
19
dev_dependencies :
21
20
dart_flutter_team_lints : ^3.0.0
You can’t perform that action at this time.
0 commit comments