File tree Expand file tree Collapse file tree 3 files changed +11
-5
lines changed Expand file tree Collapse file tree 3 files changed +11
-5
lines changed Original file line number Diff line number Diff line change 1- ## 4.0.3-dev
1+ ## 4.0.3
22
33- Correctly handle nullable values with ` genericArgumentFactories ` .
4+ - Require the latest ` package:build ` .
45
56## 4.0.2
67
Original file line number Diff line number Diff line change 11name : json_serializable
2- version : 4.0.3-dev
2+ version : 4.0.3
33description : >-
44 Automatically generate code for converting to and from JSON by annotating
55 Dart classes.
@@ -11,7 +11,7 @@ environment:
1111
1212dependencies :
1313 analyzer : ' >=0.41.2 <2.0.0'
14- build : ^1.6.1
14+ build : ^2.0.0
1515 build_config : ^0.4.4
1616
1717 # Use a tight version constraint to ensure that a constraint on
Original file line number Diff line number Diff line change @@ -33,8 +33,13 @@ class _DocBuilder extends Builder {
3333 ? 'latest'
3434 : jsonAnnotationVersion.toString ();
3535
36- final lib = LibraryReader (await buildStep.resolver.libraryFor (
37- AssetId .resolve ('package:json_annotation/json_annotation.dart' )));
36+ final lib = LibraryReader (
37+ await buildStep.resolver.libraryFor (
38+ AssetId .resolve (
39+ Uri .parse ('package:json_annotation/json_annotation.dart' ),
40+ ),
41+ ),
42+ );
3843
3944 final descriptionMap = < String , _FieldInfo > {};
4045
You can’t perform that action at this time.
0 commit comments