Files
sdk/pkg/vm_service/pubspec.yaml
T
Danny Tuppeny 4d07f9ace4 [vm_service] Use empty lists instead of null for non-optional fields when parsing JSON
Change 64060a8ddf accidentally lost `?? []` for non-optional fields when parsing JSON. This change restores that (in `generate_dart_common.dart`), along with some minor tweaks to get the codegen to work on Windows.

For reasons I don't understand, the generated files were formatted differently to how the formatter formats them on my machine today, which unfortunately makes the diff larger than the intended change.

Change-Id: Ibadaa3ec4c6af4e636c1e5ffd2c7e792bc1e8a14
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/497600
Reviewed-by: Ben Konyi <bkonyi@google.com>
Commit-Queue: Ben Konyi <bkonyi@google.com>
Reviewed-by: Samuel Rawlins <srawlins@google.com>
2026-04-24 08:03:51 -07:00

34 lines
811 B
YAML

name: vm_service
version: 15.2.0-wip
description: >-
A library to communicate with a service implementing the Dart VM
service protocol.
repository: https://github.com/dart-lang/sdk/tree/main/pkg/vm_service
environment:
sdk: ^3.5.0
resolution: workspace
# We use 'any' version constraints here as we get our package versions from
# the dart-lang/sdk repo's DEPS file. Note that this is a special case; the
# best practice for packages is to specify their compatible version ranges.
# See also https://dart.dev/tools/pub/dependencies.
dev_dependencies:
async: any
collection: any
lints: any
logging: any
markdown: any
path: any
pub_semver: any
stack_trace: any
test_package: any
test: any
vm_service_protos: any
dependency_overrides:
test_package:
path: 'test/test_package'