File tree Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Expand file tree Collapse file tree 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
22
3+ - Remove dependency on ` package:meta ` .
4+ - Mark ` Version ` class as ` final ` instead of with ` @sealed ` .
35- Clarify that the lists returned by
46 the ` preRelease ` and ` build ` properties of ` Version ` and
57 the ` ranges ` property of ` VersionUnion ` should not be modified.
Original file line number Diff line number Diff line change 55import 'dart:math' as math;
66
77import 'package:collection/collection.dart' ;
8- import 'package:meta/meta.dart' show sealed;
98
109import 'patterns.dart' ;
1110import 'version_constraint.dart' ;
@@ -15,8 +14,7 @@ import 'version_range.dart';
1514const _equality = IterableEquality <Object >();
1615
1716/// A parsed semantic version number.
18- @sealed
19- class Version implements VersionConstraint , VersionRange {
17+ final class Version implements VersionConstraint , VersionRange {
2018 /// No released version: i.e. "0.0.0".
2119 static Version get none => Version (0 , 0 , 0 );
2220
Original file line number Diff line number Diff line change 11name : pub_semver
2- version : 2.1.6
2+ version : 2.2.0
33description : >-
44 Versions and version constraints implementing pub's versioning policy. This
55 is very similar to vanilla semver, with a few corner cases.
@@ -15,7 +15,6 @@ environment:
1515
1616dependencies :
1717 collection : ^1.15.0
18- meta : ^1.3.0
1918
2019dev_dependencies :
2120 dart_flutter_team_lints : ^3.0.0
You can’t perform that action at this time.
0 commit comments