Skip to content

Commit 5631f09

Browse files
author
Tim Blasi
committed
chore(pubspec): Widen the analyzer constraint
Allow use of package:analyzer <0.25.0. Analyzer earlier than 0.24.0 has issues with parsing `async` and `await`, this allows the use of di with code that needs process such code with analyzer.
1 parent d1f64bb commit 5631f09

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# 3.3.4
2+
3+
- Widen dependency on package:analyzer.
4+
15
# 3.3.3
26

37
## Dependencies

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
Add dependency to your pubspec.yaml.
88

99
dependencies:
10-
di: ">=3.3.3 <4.0.0"
10+
di: ">=3.3.4 <4.0.0"
1111

1212
Then, run `pub install`.
1313

pubspec.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: di
2-
version: 3.3.3
2+
version: 3.3.4
33
authors:
44
- Vojta Jina <[email protected]>
55
- Pavel Jbanov <[email protected]>
@@ -11,7 +11,7 @@ homepage: https://github.com/angular/di.dart
1111
environment:
1212
sdk: '>=1.6.0'
1313
dependencies:
14-
analyzer: '>=0.22.0 <0.23.0'
14+
analyzer: '>=0.22.0 <0.25.0'
1515
barback: '>=0.15.0 <0.16.0'
1616
code_transformers: '>=0.2.3 <0.3.0'
1717
path: ">=1.3.0 <2.0.0"

0 commit comments

Comments
 (0)