From cbcc1e1f9cad95f07aee35af17b21c956064e402 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 --- 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 7713e43..f721746 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 4c3a672..69ede8a 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