Skip to content

Commit e725c73

Browse files
authored
Loosen mime package constraint (#441)
See dart-lang/tools#431 (comment) An upcoming breaking change does not impact usage in this package.
1 parent efbc566 commit e725c73

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

pkgs/shelf_static/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
## 1.1.3-wip
22

33
* Require Dart `^3.3.0`.
4+
* Update `package:mime` constraint to `>=1.0.0 <3.0.0`.
45

56
## 1.1.2
67

pkgs/shelf_static/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ environment:
1313
dependencies:
1414
convert: ^3.0.0
1515
http_parser: ^4.0.0
16-
mime: ^1.0.0
16+
mime: '>=1.0.0 <3.0.0'
1717
path: ^1.8.0
1818
# shelf version that allows correctly setting content-length w/ HEAD
1919
shelf: ^1.1.2

0 commit comments

Comments
 (0)