File tree Expand file tree Collapse file tree 5 files changed +9
-15
lines changed
functions_framework_builder Expand file tree Collapse file tree 5 files changed +9
-15
lines changed Original file line number Diff line number Diff line change @@ -20,12 +20,8 @@ dependencies:
2020
2121dev_dependencies :
2222 build_runner : ^1.10.7
23- build_verify : ^1.1.1
23+ build_verify : ^2.0.0
2424 json_serializable : ^4.0.0
2525 # Because we use the ignore_for_file build.yaml config
2626 source_gen : ^0.9.5
2727 test : ^1.15.7
28-
29- dependency_overrides :
30- # Until build_runner is updated!
31- io : ^1.0.0
Original file line number Diff line number Diff line change @@ -22,7 +22,8 @@ import 'supported_function_type.dart';
2222import 'utils.dart' ;
2323import 'valid_json_utils.dart' ;
2424
25- const _libraryUri = 'package:functions_framework/functions_framework.dart' ;
25+ const _libraryUrl = 'package:functions_framework/functions_framework.dart' ;
26+ final _libraryUri = Uri .parse (_libraryUrl);
2627const _typedefName = 'JsonHandler' ;
2728const _typedefWithContextName = 'JsonWithContextHandler' ;
2829
@@ -34,7 +35,7 @@ const _voidWithContextConstructorName =
3435
3536class GenericFunctionType implements SupportedFunctionType {
3637 @override
37- String get libraryUri => _libraryUri ;
38+ String get libraryUri => _libraryUrl ;
3839
3940 @override
4041 String get typedefName => _typedefName;
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ class SupportedFunctionType {
4343 String constructor,
4444 ) async {
4545 final lib = await resolver.libraryFor (
46- AssetId .resolve (libraryUri),
46+ AssetId .resolve (Uri . parse ( libraryUri) ),
4747 );
4848
4949 final handlerTypeAlias =
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ environment:
88
99dependencies :
1010 analyzer : ^1.0.0
11- build : ^1.3 .0
11+ build : ^2.0 .0
1212 build_config : ^0.4.3
1313 dart_style : ^1.3.10
1414 # There is a tight version constraint because the builder has a strict
@@ -21,9 +21,9 @@ dependencies:
2121 source_gen : ^0.9.8
2222
2323dev_dependencies :
24- build_test : ^1.3.6
24+ build_test : ^2.0.0
2525 package_config : ^2.0.0
26- stream_transform : ^1 .0.0
26+ stream_transform : ^2 .0.0
2727 test : ^1.15.7
2828
2929dependency_overrides :
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ dependencies:
1212
1313dev_dependencies :
1414 build_runner : ^1.10.2
15- build_verify : ^1.1.1
15+ build_verify : ^2.0.0
1616 functions_framework_builder : any
1717 http : ' >=0.12.0 <0.14.0'
1818 http_parser : ' >=3.1.4 <5.0.0'
@@ -28,6 +28,3 @@ dependency_overrides:
2828 path : ../../functions_framework
2929 functions_framework_builder :
3030 path : ../../functions_framework_builder
31-
32- # Until build_runner is updated
33- io : ^1.0.0
You can’t perform that action at this time.
0 commit comments