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:
20
20
21
21
dev_dependencies :
22
22
build_runner : ^1.10.7
23
- build_verify : ^1.1.1
23
+ build_verify : ^2.0.0
24
24
json_serializable : ^4.0.0
25
25
# Because we use the ignore_for_file build.yaml config
26
26
source_gen : ^0.9.5
27
27
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';
22
22
import 'utils.dart' ;
23
23
import 'valid_json_utils.dart' ;
24
24
25
- const _libraryUri = 'package:functions_framework/functions_framework.dart' ;
25
+ const _libraryUrl = 'package:functions_framework/functions_framework.dart' ;
26
+ final _libraryUri = Uri .parse (_libraryUrl);
26
27
const _typedefName = 'JsonHandler' ;
27
28
const _typedefWithContextName = 'JsonWithContextHandler' ;
28
29
@@ -34,7 +35,7 @@ const _voidWithContextConstructorName =
34
35
35
36
class GenericFunctionType implements SupportedFunctionType {
36
37
@override
37
- String get libraryUri => _libraryUri ;
38
+ String get libraryUri => _libraryUrl ;
38
39
39
40
@override
40
41
String get typedefName => _typedefName;
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ class SupportedFunctionType {
43
43
String constructor,
44
44
) async {
45
45
final lib = await resolver.libraryFor (
46
- AssetId .resolve (libraryUri),
46
+ AssetId .resolve (Uri . parse ( libraryUri) ),
47
47
);
48
48
49
49
final handlerTypeAlias =
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ environment:
8
8
9
9
dependencies :
10
10
analyzer : ^1.0.0
11
- build : ^1.3 .0
11
+ build : ^2.0 .0
12
12
build_config : ^0.4.3
13
13
dart_style : ^1.3.10
14
14
# There is a tight version constraint because the builder has a strict
@@ -21,9 +21,9 @@ dependencies:
21
21
source_gen : ^0.9.8
22
22
23
23
dev_dependencies :
24
- build_test : ^1.3.6
24
+ build_test : ^2.0.0
25
25
package_config : ^2.0.0
26
- stream_transform : ^1 .0.0
26
+ stream_transform : ^2 .0.0
27
27
test : ^1.15.7
28
28
29
29
dependency_overrides :
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ dependencies:
12
12
13
13
dev_dependencies :
14
14
build_runner : ^1.10.2
15
- build_verify : ^1.1.1
15
+ build_verify : ^2.0.0
16
16
functions_framework_builder : any
17
17
http : ' >=0.12.0 <0.14.0'
18
18
http_parser : ' >=3.1.4 <5.0.0'
@@ -28,6 +28,3 @@ dependency_overrides:
28
28
path : ../../functions_framework
29
29
functions_framework_builder :
30
30
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