Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/src/dart.dart
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ class AnalysisContextManager {
path = p.normalize(p.absolute(path));
final parseResult = _session.getParsedUnit(path);
if (parseResult is ParsedUnitResult) {
if (parseResult.errors.isNotEmpty) {
throw AnalyzerErrorGroup(parseResult.errors);
if (parseResult.diagnostics.isNotEmpty) {
throw AnalyzerErrorGroup(parseResult.diagnostics);
}
return parseResult.unit;
} else {
Expand Down
36 changes: 18 additions & 18 deletions 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: c81659312e021e3b780a502206130ea106487b34793bce61e26dc0f9b84807af
sha256: f0bb5d1648339c8308cc0b9838d8456b3cfe5c91f9dc1a735b4d003269e5da9a
url: "https://pub.dev"
source: hosted
version: "83.0.0"
version: "88.0.0"
analyzer:
dependency: "direct main"
description:
name: analyzer
sha256: "9c35a79bf2a150b3ea0d40010fbbb45b5ebea143d47096e0f82fd922a324b49b"
sha256: "0b7b9c329d2879f8f05d6c05b32ee9ec025f39b077864bdb5ac9a7b63418a98f"
url: "https://pub.dev"
source: hosted
version: "7.4.6"
version: "8.1.1"
args:
dependency: "direct main"
description:
Expand Down Expand Up @@ -45,10 +45,10 @@ packages:
dependency: "direct dev"
description:
name: checks
sha256: aad431b45a8ae2fa26db8c22e385b9cdec73f72986a1d9d9f2017f4c39ecf5c9
sha256: "016871c84732c1ac9856b8940236d5a5802ba638b3bd3e0ea7027b51a35f7aa7"
url: "https://pub.dev"
source: hosted
version: "0.3.0"
version: "0.3.1"
cli_config:
dependency: transitive
description:
Expand Down Expand Up @@ -85,10 +85,10 @@ packages:
dependency: transitive
description:
name: coverage
sha256: aa07dbe5f2294c827b7edb9a87bba44a9c15a3cc81bc8da2ca19b37322d30080
sha256: "5da775aa218eaf2151c721b16c01c7676fbfdd99cebba2bf64e8b807a28ff94d"
url: "https://pub.dev"
source: hosted
version: "1.14.1"
version: "1.15.0"
crypto:
dependency: "direct main"
description:
Expand Down Expand Up @@ -141,10 +141,10 @@ packages:
dependency: "direct main"
description:
name: http
sha256: "2c11f3f94c687ee9bad77c171151672986360b2b001d109814ee7140b2cf261b"
sha256: bb2ce4590bc2667c96f318d68cac1b5a7987ec819351d32b1c987239a815e007
url: "https://pub.dev"
source: hosted
version: "1.4.0"
version: "1.5.0"
http_multi_server:
dependency: "direct main"
description:
Expand Down Expand Up @@ -365,26 +365,26 @@ packages:
dependency: "direct dev"
description:
name: test
sha256: "65e29d831719be0591f7b3b1a32a3cda258ec98c58c7b25f7b84241bc31215bb"
sha256: "75906bf273541b676716d1ca7627a17e4c4070a3a16272b7a3dc7da3b9f3f6b7"
url: "https://pub.dev"
source: hosted
version: "1.26.2"
version: "1.26.3"
test_api:
dependency: transitive
description:
name: test_api
sha256: "522f00f556e73044315fa4585ec3270f1808a4b186c936e612cab0b565ff1e00"
sha256: ab2726c1a94d3176a45960b6234466ec367179b87dd74f1611adb1f3b5fb9d55
url: "https://pub.dev"
source: hosted
version: "0.7.6"
version: "0.7.7"
test_core:
dependency: transitive
description:
name: test_core
sha256: "80bf5a02b60af04b09e14f6fe68b921aad119493e26e490deaca5993fef1b05a"
sha256: "0cc24b5ff94b38d2ae73e1eb43cc302b77964fbf67abad1e296025b78deb53d0"
url: "https://pub.dev"
source: hosted
version: "0.6.11"
version: "0.6.12"
test_descriptor:
dependency: "direct dev"
description:
Expand Down Expand Up @@ -421,10 +421,10 @@ packages:
dependency: transitive
description:
name: watcher
sha256: "0b7fd4a0bbc4b92641dbf20adfd7e3fd1398fe17102d94b674234563e110088a"
sha256: "5bf046f41320ac97a469d506261797f35254fa61c641741ef32dacda98b7d39c"
url: "https://pub.dev"
source: hosted
version: "1.1.2"
version: "1.1.3"
web:
dependency: transitive
description:
Expand Down
8 changes: 4 additions & 4 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ environment:
sdk: ^3.7.0

dependencies:
analyzer: ^7.4.5
analyzer: ^8.1.1
args: ^2.7.0
async: ^2.13.0
cli_util: ^0.4.2
Expand All @@ -13,7 +13,7 @@ dependencies:
crypto: ^3.0.6
frontend_server_client: ^4.0.0
graphs: ^2.3.2
http: ^1.4.0
http: ^1.5.0
http_multi_server: ^3.2.2
http_parser: ^4.1.2
meta: ^1.17.0
Expand All @@ -29,9 +29,9 @@ dependencies:
yaml_edit: ^2.2.2

dev_dependencies:
checks: ^0.3.0
checks: ^0.3.1
dart_flutter_team_lints: ^3.5.2
shelf_test_handler: ^2.0.2
test: ^1.26.2
test: ^1.26.3
test_descriptor: ^2.0.2
test_process: ^2.1.1
Loading