bumped major version
diff --git a/pkgs/yaml/CHANGELOG.md b/pkgs/yaml/CHANGELOG.md
index bf281c5..1cb12d6 100644
--- a/pkgs/yaml/CHANGELOG.md
+++ b/pkgs/yaml/CHANGELOG.md
@@ -1,4 +1,4 @@
-## 2.3.0-nullsafety
+## 3.0.0-nullsafety
 * Updated to support 2.12.0 and null safety.
 * Allow `YamlNode`s to be wrapped with an optional `style` parameter.
 
diff --git a/pkgs/yaml/pubspec.yaml b/pkgs/yaml/pubspec.yaml
index 9b5b568..10d1004 100644
--- a/pkgs/yaml/pubspec.yaml
+++ b/pkgs/yaml/pubspec.yaml
@@ -1,5 +1,5 @@
 name: yaml
-version: 2.3.0-nullsafety.0
+version: 3.0.0-nullsafety.0
 
 description: A parser for YAML, a human-friendly data serialization standard
 homepage: https://github.com/dart-lang/yaml
@@ -17,3 +17,9 @@
   path: ^1.8.0-nullsafety
   pedantic: ^1.10.0-nullsafety
   test: ^1.16.0-nullsafety
+
+dependency_overrides:
+  analyzer: ^0.40.0
+  test: ^1.16.0-nullsafety
+  test_api: ^0.2.19-nullsafety
+  test_core: ^0.3.12-nullsafety