Skip to content

Commit

Permalink
chore: update cli deps
Browse files Browse the repository at this point in the history
  • Loading branch information
eseidel committed Feb 17, 2024
1 parent 2e2d6f9 commit b3114d7
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 39 deletions.
4 changes: 2 additions & 2 deletions packages/cli/bin/db_stats.dart
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ Future<void> command(FileSystem fs, ArgResults argResults) async {
// Get counts for each table.
final counts = <String, int>{};
for (final table in tables) {
final tableName = table[0] as String;
final tableName = table[0]! as String;
final count = await connection.execute(
'SELECT COUNT(*) FROM $tableName;',
);
counts[tableName] = count[0][0] as int;
counts[tableName] = count[0][0]! as int;
}
// Print the counts.
for (final tableName in counts.keys) {
Expand Down
4 changes: 2 additions & 2 deletions packages/cli/lib/net/queue.dart
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ class NetQueue {
return result.response.toResponse();
}
try {
await _db.connection.channels['response_'].firstOrNull
await _db.connection.channels['response_'].first
.timeout(Duration(seconds: timeoutSeconds));
} on TimeoutException {
logger.err('Timed out (${timeoutSeconds}s) waiting for response?');
Expand Down Expand Up @@ -175,7 +175,7 @@ class NetQueue {
Future<void> waitForRequest(int timeoutSeconds) async {
assert(role == QueueRole.responder, 'Only responders can wait.');
await _listenIfNeeded();
await _db.connection.channels['request_'].firstOrNull
await _db.connection.channels['request_'].first
.timeout(Duration(seconds: timeoutSeconds));
}

Expand Down
64 changes: 32 additions & 32 deletions packages/cli/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,18 @@ packages:
dependency: transitive
description:
name: _fe_analyzer_shared
sha256: "36a321c3d2cbe01cbcb3540a87b8843846e0206df3e691fa7b23e19e78de6d49"
sha256: "0b2f2bd91ba804e53a61d757b986f89f1f9eaed5b11e4b2f5a2468d86d6c9fc7"
url: "https://pub.dev"
source: hosted
version: "65.0.0"
version: "67.0.0"
analyzer:
dependency: transitive
description:
name: analyzer
sha256: dfe03b90ec022450e22513b5e5ca1f01c0c01de9c3fba2f7fd233cb57a6b9a07
sha256: "37577842a27e4338429a1cbc32679d508836510b056f1eedf0c8d20e39c1383d"
url: "https://pub.dev"
source: hosted
version: "6.3.0"
version: "6.4.1"
ansi_regex:
dependency: transitive
description:
Expand Down Expand Up @@ -69,10 +69,10 @@ packages:
dependency: transitive
description:
name: chalkdart
sha256: "5fceaf0eb65cb3a0746423aad4b285b9ec123133b9435630ac027f305b21e8b5"
sha256: "0b7ec5c6a6bafd1445500632c00c573722bd7736e491675d4ac3fe560bbd9cfe"
url: "https://pub.dev"
source: hosted
version: "2.0.9"
version: "2.2.1"
characters:
dependency: transitive
description:
Expand Down Expand Up @@ -188,10 +188,10 @@ packages:
dependency: "direct main"
description:
name: file
sha256: "1b92bec4fc2a72f59a8e15af5f52cd441e4a7860b49499d69dfa817af20e925d"
sha256: "5fc22d7c25582e38ad9a8515372cd9a93834027aacf1801cf01164dac0ffa08c"
url: "https://pub.dev"
source: hosted
version: "6.1.4"
version: "7.0.0"
frontend_server_client:
dependency: transitive
description:
Expand Down Expand Up @@ -252,10 +252,10 @@ packages:
dependency: transitive
description:
name: js
sha256: f2c445dce49627136094980615a031419f7f3eb393237e4ecd97ac15dea343f3
sha256: c1b2e9b5ea78c45e1a0788d29606ba27dc5f71f019f32ca5140f61ef071838cf
url: "https://pub.dev"
source: hosted
version: "0.6.7"
version: "0.7.1"
json_annotation:
dependency: transitive
description:
Expand Down Expand Up @@ -285,10 +285,10 @@ packages:
dependency: "direct main"
description:
name: mason_logger
sha256: b8c9d94617c09d4312e4f180ba191f15024a5d2c7027df99d3cdcb4b70675f87
sha256: "0e90e637dcfcb7fb6c30b38e71cd41fa0e4e3df6f1da177f8251ac3f15147e9f"
url: "https://pub.dev"
source: hosted
version: "0.2.10"
version: "0.2.12"
matcher:
dependency: transitive
description:
Expand All @@ -301,34 +301,34 @@ packages:
dependency: "direct main"
description:
name: meta
sha256: d584fa6707a52763a52446f02cc621b077888fb63b93bbcb1143a7be5a0c0c04
sha256: "7687075e408b093f36e6bbf6c91878cc0d4cd10f409506f7bc996f68220b9136"
url: "https://pub.dev"
source: hosted
version: "1.11.0"
version: "1.12.0"
mime:
dependency: transitive
description:
name: mime
sha256: e4ff8e8564c03f255408decd16e7899da1733852a9110a58fe6d1b817684a63e
sha256: "2e123074287cc9fd6c09de8336dae606d1ddb88d9ac47358826db698c176a1f2"
url: "https://pub.dev"
source: hosted
version: "1.0.4"
version: "1.0.5"
mocktail:
dependency: "direct dev"
description:
name: mocktail
sha256: "80a996cd9a69284b3dc521ce185ffe9150cde69767c2d3a0720147d93c0cef53"
sha256: c4b5007d91ca4f67256e720cb1b6d704e79a510183a12fa551021f652577dce6
url: "https://pub.dev"
source: hosted
version: "0.3.0"
version: "1.0.3"
more:
dependency: transitive
description:
name: more
sha256: "38e3dbee07616254e26a88c0bda28505f158ce34893fe8519265047582e942df"
sha256: b9372ef11909cb88a7a29e221d96fbe17eb04394f022e374a4299a6c72946108
url: "https://pub.dev"
source: hosted
version: "4.1.0"
version: "4.2.0"
node_preamble:
dependency: transitive
description:
Expand Down Expand Up @@ -377,13 +377,13 @@ packages:
source: hosted
version: "1.5.1"
postgres:
dependency: "direct main"
dependency: transitive
description:
name: postgres
sha256: fce8406bbe8b7018c768e76816be24adf302f44c06d7176c912d2501ea6aac2a
sha256: "0178bf02b520ad5d40ac9d83a77a337177b4a0b5599b3e0ed3c356f626457aaf"
url: "https://pub.dev"
source: hosted
version: "2.6.3"
version: "3.0.8"
pub_semver:
dependency: transitive
description:
Expand Down Expand Up @@ -413,7 +413,7 @@ packages:
description:
path: "packages/scoped"
ref: HEAD
resolved-ref: "09f21c83e5834513b8399f805ea553c0d43b3a05"
resolved-ref: e9680d0da1788c377cb818884a668eeb20902b23
url: "https://github.com/shorebirdtech/shorebird.git"
source: git
version: "0.1.0+1"
Expand Down Expand Up @@ -525,10 +525,10 @@ packages:
dependency: "direct dev"
description:
name: test
sha256: "3d028996109ad5c253674c7f347822fb994a087614d6f353e6039704b4661ff2"
sha256: "7ee446762c2c50b3bd4ea96fe13ffac69919352bd3b4b17bac3f3465edc58073"
url: "https://pub.dev"
source: hosted
version: "1.25.0"
version: "1.25.2"
test_api:
dependency: transitive
description:
Expand Down Expand Up @@ -604,18 +604,18 @@ packages:
dependency: transitive
description:
name: web
sha256: edc8a9573dd8c5a83a183dae1af2b6fd4131377404706ca4e5420474784906fa
sha256: "4188706108906f002b3a293509234588823c8c979dc83304e229ff400c996b05"
url: "https://pub.dev"
source: hosted
version: "0.4.0"
version: "0.4.2"
web_socket_channel:
dependency: transitive
description:
name: web_socket_channel
sha256: "045ec2137c27bf1a32e6ffa0e734d532a6677bf9016a0d1a406c54e499ff945b"
sha256: "939ab60734a4f8fa95feacb55804fa278de28bdeef38e616dc08e44a84adea23"
url: "https://pub.dev"
source: hosted
version: "2.4.1"
version: "2.4.3"
webkit_inspection_protocol:
dependency: transitive
description:
Expand All @@ -628,10 +628,10 @@ packages:
dependency: transitive
description:
name: win32
sha256: b0f37db61ba2f2e9b7a78a1caece0052564d1bc70668156cf3a29d676fe4e574
sha256: "464f5674532865248444b4c3daca12bd9bf2d7c47f759ce2617986e7229494a8"
url: "https://pub.dev"
source: hosted
version: "5.1.1"
version: "5.2.0"
yaml:
dependency: "direct main"
description:
Expand Down
5 changes: 2 additions & 3 deletions packages/cli/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ dependencies:
db:
path: ../db
equatable: ^2.0.5
file: ^6.1.4
file: ^7.0.0
http: ^0.13.6
intl: ^0.17.0
json_diff:
Expand All @@ -26,7 +26,6 @@ dependencies:
openapi:
path: ../openapi
path: ^1.8.3
postgres: ^2.6.2
scoped:
git:
url: https://github.com/shorebirdtech/shorebird.git
Expand All @@ -37,6 +36,6 @@ dependencies:
yaml: ^3.1.2

dev_dependencies:
mocktail: ^0.3.0
mocktail: ^1.0.3
test: ^1.21.0
very_good_analysis: ^5.1.0

0 comments on commit b3114d7

Please sign in to comment.