diff --git a/lib/src/auth_token.dart b/lib/src/auth_token.dart index e19c391a..cf140e8e 100644 --- a/lib/src/auth_token.dart +++ b/lib/src/auth_token.dart @@ -1,6 +1,6 @@ import 'dart:collection'; import 'package:angel_framework/angel_framework.dart'; -import 'package:dart2_constant/convert.dart'; +import 'dart:convert'; import 'package:crypto/crypto.dart'; /// Calls [BASE64URL], but also works for strings with lengths diff --git a/lib/src/strategies/local.dart b/lib/src/strategies/local.dart index 85a493f7..5007e4a9 100644 --- a/lib/src/strategies/local.dart +++ b/lib/src/strategies/local.dart @@ -1,5 +1,5 @@ import 'dart:async'; -import 'package:dart2_constant/convert.dart'; +import 'dart:convert'; import 'package:angel_framework/angel_framework.dart'; import '../options.dart'; import '../strategy.dart'; diff --git a/pubspec.yaml b/pubspec.yaml index 1c861022..3ce68300 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -8,6 +8,7 @@ environment: dependencies: angel_framework: ^2.0.0-alpha crypto: ^2.0.0 + http_parser: ^3.0.0 dev_dependencies: http: ^0.11.0 io: ^0.3.2 diff --git a/test/callback_test.dart b/test/callback_test.dart index bb41e837..c48dfb01 100644 --- a/test/callback_test.dart +++ b/test/callback_test.dart @@ -1,7 +1,7 @@ import 'dart:io'; import 'package:angel_auth/angel_auth.dart'; import 'package:angel_framework/angel_framework.dart'; -import 'package:dart2_constant/convert.dart'; +import 'dart:convert'; import 'package:http/http.dart' as http; import 'package:io/ansi.dart'; import 'package:logging/logging.dart'; diff --git a/test/local_test.dart b/test/local_test.dart index f95202be..112d6311 100644 --- a/test/local_test.dart +++ b/test/local_test.dart @@ -2,7 +2,7 @@ import 'dart:async'; import 'dart:io'; import 'package:angel_framework/angel_framework.dart'; import 'package:angel_auth/angel_auth.dart'; -import 'package:dart2_constant/convert.dart'; +import 'dart:convert'; import 'package:http/http.dart' as http; import 'package:test/test.dart';