pubspec_parse: update dependencies and require Dart 3.6 (#1946)

diff --git a/.github/workflows/pubspec_parse.yaml b/.github/workflows/pubspec_parse.yaml
index ebe7059..9cf6257 100644
--- a/.github/workflows/pubspec_parse.yaml
+++ b/.github/workflows/pubspec_parse.yaml
@@ -57,7 +57,7 @@
       fail-fast: false
       matrix:
         os: [ubuntu-latest]
-        sdk: [3.2, dev]
+        sdk: [3.6, dev]
     steps:
       - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
       - uses: dart-lang/setup-dart@e630b99d28a3b71860378cafdc2a067c71107f94
diff --git a/pkgs/pubspec_parse/CHANGELOG.md b/pkgs/pubspec_parse/CHANGELOG.md
index 3aedaad..124b5e4 100644
--- a/pkgs/pubspec_parse/CHANGELOG.md
+++ b/pkgs/pubspec_parse/CHANGELOG.md
@@ -1,6 +1,8 @@
 ## 1.5.0-wip
 
 - Add `Pubspec.workspace` and `Pubspec.resolution` fields.
+- Require Dart 3.6
+- Update dependencies.
 
 ## 1.4.0
 
diff --git a/pkgs/pubspec_parse/pubspec.yaml b/pkgs/pubspec_parse/pubspec.yaml
index 476bbb8..6bf96bb 100644
--- a/pkgs/pubspec_parse/pubspec.yaml
+++ b/pkgs/pubspec_parse/pubspec.yaml
@@ -9,24 +9,24 @@
 - dart-pub
 
 environment:
-  sdk: ^3.2.0
+  sdk: ^3.6.0
 
 dependencies:
   checked_yaml: ^2.0.1
-  collection: ^1.15.0
-  json_annotation: ^4.8.0
-  pub_semver: ^2.0.0
+  collection: ^1.19.0
+  json_annotation: ^4.9.0
+  pub_semver: ^2.1.4
   yaml: ^3.0.0
 
 dev_dependencies:
-  build_runner: ^2.2.1
+  build_runner: ^2.4.6
   build_verify: ^3.0.0
   dart_flutter_team_lints: ^3.0.0
-  json_serializable: ^6.6.0
-  path: ^1.8.0
+  json_serializable: ^6.9.1
+  path: ^1.9.0
   # Needed because we are configuring `combining_builder`
-  source_gen: ^1.2.3
+  source_gen: ^2.0.0
   stack_trace: ^1.10.0
-  test: ^1.21.6
+  test: ^1.24.4
   test_descriptor: ^2.0.0
   test_process: ^2.0.0