From ebd334049d265c43814b5ca52277700ba280bd0a Mon Sep 17 00:00:00 2001 From: Roland Geider Date: Mon, 5 Oct 2026 15:55:16 +0200 Subject: [PATCH] Pin html to 0.15.6 to keep flutter_html building --- pubspec.lock | 6 +++--- pubspec.yaml | 5 +++++ 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/pubspec.lock b/pubspec.lock index 860b116e3..54448efbf 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -745,13 +745,13 @@ packages: source: hosted version: "2.2.0" html: - dependency: transitive + dependency: "direct overridden" description: name: html - sha256: "43b67b8f43321ab066817dfac5619596c98bb1b61624e77203bb4351785f9699" + sha256: "6d1264f2dffa1b1101c25a91dff0dc2daee4c18e87cd8538729773c073dbf602" url: "https://pub.dev" source: hosted - version: "0.15.7" + version: "0.15.6" http: dependency: "direct main" description: diff --git a/pubspec.yaml b/pubspec.yaml index 1e3cb79f1..60b723881 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -113,6 +113,11 @@ dev_dependencies: # Script to read out unused translations #translations_cleaner: ^0.0.5 +dependency_overrides: + # html 0.15.7 removed matches(), which breaks flutter_html 3.0.0 + # https://github.com/Sub6Resources/flutter_html/issues/1515 + html: 0.15.6 + # For information on the generic Dart part of this file, see the # following page: https://dart.dev/tools/pub/pubspec