diff --git a/pubspec.yaml b/pubspec.yaml
index 00c3fb84453ad967aeece237347da12f46fcb46c..059f612dbffc04912c260d40d4a459575f14d566 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -5,14 +5,14 @@ homepage: https://github.com/xtyxtyx/minio-dart
 issue_tracker: https://github.com/xtyxtyx/minio-dart/issues
 
 environment:
-  sdk: ">=2.12.0 <3.0.0"
+  sdk: ">=2.17.1  <3.0.0"
 
 dependencies:
   meta: ^1.3.0
   http: ^0.13.1
   crypto: ^3.0.0
   convert: ^3.0.0
-  xml: ^6.4.2
+  xml: ^6.1.0
   buffer: ^1.1.0
   intl: ^0.17.0
   mime: ^1.0.0