Allow the latest analyzer (#1376)

diff --git a/pkgs/test/CHANGELOG.md b/pkgs/test/CHANGELOG.md
index bca1ed1..3afab02 100644
--- a/pkgs/test/CHANGELOG.md
+++ b/pkgs/test/CHANGELOG.md
@@ -1,6 +1,7 @@
 ## 1.16.0-nullsafety.10
 
-* Allow to inject a test channel for browser tests.
+* Allow injecting a test channel for browser tests.
+* Allow `package:analyzer` version `0.41.x`.
 
 ## 1.16.0-nullsafety.9
 
diff --git a/pkgs/test/pubspec.yaml b/pkgs/test/pubspec.yaml
index fa66e88..b182206 100644
--- a/pkgs/test/pubspec.yaml
+++ b/pkgs/test/pubspec.yaml
@@ -7,7 +7,7 @@
   sdk: ">=2.12.0-0 <3.0.0"
 
 dependencies:
-  analyzer: '>=0.36.0 <0.41.0'
+  analyzer: '>=0.36.0 <0.42.0'
   async: '>=2.5.0-nullsafety <2.5.0'
   boolean_selector: '>=2.1.0-nullsafety <2.1.0'
   coverage: '>=0.13.4 < 0.15.0'
@@ -32,7 +32,7 @@
   yaml: ^2.0.0
   # Use an exact version until the test_api and test_core package are stable.
   test_api: 0.2.19-nullsafety.6
-  test_core: 0.3.12-nullsafety.9
+  test_core: 0.3.12-nullsafety.10
 
 dev_dependencies:
   fake_async: ^1.0.0
diff --git a/pkgs/test_core/CHANGELOG.md b/pkgs/test_core/CHANGELOG.md
index 2a4f782..148faee 100644
--- a/pkgs/test_core/CHANGELOG.md
+++ b/pkgs/test_core/CHANGELOG.md
@@ -1,3 +1,7 @@
+## 0.3.12-nullsafety.10
+
+* Allow `package:analyzer` version `0.41.x`.
+
 ## 0.3.12-nullsafety.9
 
 * Fix `spawnHybridUri` to respect language versioning of the spawned uri.
diff --git a/pkgs/test_core/pubspec.yaml b/pkgs/test_core/pubspec.yaml
index 8c55b48..d165333 100644
--- a/pkgs/test_core/pubspec.yaml
+++ b/pkgs/test_core/pubspec.yaml
@@ -1,5 +1,5 @@
 name: test_core
-version: 0.3.12-nullsafety.9
+version: 0.3.12-nullsafety.10
 description: A basic library for writing tests and running them on the VM.
 homepage: https://github.com/dart-lang/test/blob/master/pkgs/test_core
 
@@ -7,7 +7,7 @@
   sdk: ">=2.12.0-0 <3.0.0"
 
 dependencies:
-  analyzer: ">=0.39.5 <0.41.0"
+  analyzer: ">=0.39.5 <0.42.0"
   async: '>=2.5.0-nullsafety <2.5.0'
   args: ^1.4.0
   boolean_selector: ">=2.1.0-nullsafety <2.1.0"