From df8d115436ef8c31bbc144af383557ff7daadab1 Mon Sep 17 00:00:00 2001 From: matthias sweertvaegher <178714+mx1up@users.noreply.github.com> Date: Mon, 2 Sep 2024 16:31:40 +0200 Subject: [PATCH] loosen mime package constraint since there are no usages of the breaking change. see https://github.com/dart-lang/tools/pull/431#issuecomment-2321797361 (cherry picked from commit cbcc1e1f9cad95f07aee35af17b21c956064e402) --- pkgs/shelf_static/CHANGELOG.md | 1 + pkgs/shelf_static/pubspec.yaml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/shelf_static/CHANGELOG.md b/pkgs/shelf_static/CHANGELOG.md index 7713e435..f7217464 100644 --- a/pkgs/shelf_static/CHANGELOG.md +++ b/pkgs/shelf_static/CHANGELOG.md @@ -1,6 +1,7 @@ ## 1.1.3-wip * Require Dart `^3.3.0`. +* Update `package:mime` constraint to `>=1.0.0 <3.0.0`. ## 1.1.2 diff --git a/pkgs/shelf_static/pubspec.yaml b/pkgs/shelf_static/pubspec.yaml index 4c3a6723..69ede8a8 100644 --- a/pkgs/shelf_static/pubspec.yaml +++ b/pkgs/shelf_static/pubspec.yaml @@ -13,7 +13,7 @@ environment: dependencies: convert: ^3.0.0 http_parser: ^4.0.0 - mime: ^1.0.0 + mime: '>=1.0.0 <3.0.0' path: ^1.8.0 # shelf version that allows correctly setting content-length w/ HEAD shelf: ^1.1.2