From 3a503539c991ede90e636dcfb85bf41681c65652 Mon Sep 17 00:00:00 2001 From: Rexios80 <7896519+Rexios80@users.noreply.github.com> Date: Sun, 6 Sep 2026 02:07:33 +0000 Subject: [PATCH 1/3] Upgraded dependency major versions --- vrchat_dart/example/pubspec.yaml | 2 +- vrchat_dart/example_flutter/analysis_options.yaml | 3 +++ vrchat_dart/example_flutter/pubspec.yaml | 4 ++-- vrchat_dart/pubspec.yaml | 2 +- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/vrchat_dart/example/pubspec.yaml b/vrchat_dart/example/pubspec.yaml index 3f14f438..3098bd3f 100644 --- a/vrchat_dart/example/pubspec.yaml +++ b/vrchat_dart/example/pubspec.yaml @@ -11,7 +11,7 @@ dependencies: otp: ^3.1.3 dev_dependencies: - rexios_lints: ^17.0.0 + rexios_lints: ^19.0.0 dependency_overrides: vrchat_dart_generated: diff --git a/vrchat_dart/example_flutter/analysis_options.yaml b/vrchat_dart/example_flutter/analysis_options.yaml index 37089f53..c0e6aea3 100644 --- a/vrchat_dart/example_flutter/analysis_options.yaml +++ b/vrchat_dart/example_flutter/analysis_options.yaml @@ -1 +1,4 @@ +analyzer: + exclude: + - build/** include: package:rexios_lints/flutter/core_extra.yaml diff --git a/vrchat_dart/example_flutter/pubspec.yaml b/vrchat_dart/example_flutter/pubspec.yaml index 5582c963..778996d4 100644 --- a/vrchat_dart/example_flutter/pubspec.yaml +++ b/vrchat_dart/example_flutter/pubspec.yaml @@ -12,10 +12,10 @@ dependencies: path: ../ path_provider: ^2.0.11 - package_info_plus: ^9.0.0 + package_info_plus: ^10.2.1 dev_dependencies: - rexios_lints: ^17.0.0 + rexios_lints: ^19.0.0 dependency_overrides: vrchat_dart_generated: diff --git a/vrchat_dart/pubspec.yaml b/vrchat_dart/pubspec.yaml index dd59c557..6fc8bee7 100644 --- a/vrchat_dart/pubspec.yaml +++ b/vrchat_dart/pubspec.yaml @@ -17,7 +17,7 @@ dependencies: meta: ^1.16.0 dev_dependencies: - rexios_lints: ^17.0.0 + rexios_lints: ^19.0.0 build_runner: ^2.0.6 json_serializable: ^6.0.1 yaml: ^3.1.1 From 0369bc5233868f0e87e38620b8e99207335eb966 Mon Sep 17 00:00:00 2001 From: Rexios Date: Tue, 8 Sep 2026 17:01:24 -0400 Subject: [PATCH 2/3] Cleanup --- vrchat_dart/example_flutter/analysis_options.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vrchat_dart/example_flutter/analysis_options.yaml b/vrchat_dart/example_flutter/analysis_options.yaml index c0e6aea3..809fe36b 100644 --- a/vrchat_dart/example_flutter/analysis_options.yaml +++ b/vrchat_dart/example_flutter/analysis_options.yaml @@ -1,4 +1,5 @@ +include: package:rexios_lints/flutter/core_extra.yaml + analyzer: exclude: - build/** -include: package:rexios_lints/flutter/core_extra.yaml From af7cbbd7929364521ff0b92d76ec2cadfa388a6f Mon Sep 17 00:00:00 2001 From: Rexios Date: Tue, 8 Sep 2026 17:05:38 -0400 Subject: [PATCH 3/3] Fixes --- vrchat_dart/lib/src/api/src/auth_api.dart | 2 +- vrchat_dart/tool/fix_raw_string_escapes.dart | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/vrchat_dart/lib/src/api/src/auth_api.dart b/vrchat_dart/lib/src/api/src/auth_api.dart index 2297a47c..100f7ec5 100644 --- a/vrchat_dart/lib/src/api/src/auth_api.dart +++ b/vrchat_dart/lib/src/api/src/auth_api.dart @@ -73,7 +73,7 @@ class AuthApi { if (failure != null) return (null, failure); // Call the login function to set the [currentUser] - return login(); + return await login(); } /// Logout diff --git a/vrchat_dart/tool/fix_raw_string_escapes.dart b/vrchat_dart/tool/fix_raw_string_escapes.dart index 8d8142f5..e41c5537 100644 --- a/vrchat_dart/tool/fix_raw_string_escapes.dart +++ b/vrchat_dart/tool/fix_raw_string_escapes.dart @@ -19,8 +19,12 @@ void main() { String fixRawStringEscapes(String source) { return source.replaceAllMapped(RegExp(r"r'((?:[^'\\]|\\.)*)'"), (match) { - final inner = match[1]!; - if (!inner.contains(r"\'")) return match[0]!; + final inner = match[1]; + final full = match[0]; + if (inner == null || full == null) { + throw StateError('This should never happen'); + } + if (!inner.contains(r"\'")) return full; final unescaped = inner.replaceAll(r"\'", "'"); if (!unescaped.contains('"')) {