Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(796)

Unified Diff: sdk/lib/_internal/pub/lib/src/source/hosted.dart

Issue 602253002: Use pub_semver package in pub. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sdk/lib/_internal/pub/lib/src/source.dart ('k') | sdk/lib/_internal/pub/lib/src/validator/dependency.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_internal/pub/lib/src/source/hosted.dart
diff --git a/sdk/lib/_internal/pub/lib/src/source/hosted.dart b/sdk/lib/_internal/pub/lib/src/source/hosted.dart
index 2c12dd8c2256cbf964b842ba289f2d97b6bcac12..3bb0ea14bfa1ab075996a807def53c3da6c6432a 100644
--- a/sdk/lib/_internal/pub/lib/src/source/hosted.dart
+++ b/sdk/lib/_internal/pub/lib/src/source/hosted.dart
@@ -10,6 +10,7 @@ import "dart:convert";
import 'package:http/http.dart' as http;
import 'package:path/path.dart' as path;
+import 'package:pub_semver/pub_semver.dart';
import '../exceptions.dart';
import '../http.dart';
@@ -18,7 +19,6 @@ import '../log.dart' as log;
import '../package.dart';
import '../pubspec.dart';
import '../utils.dart';
-import '../version.dart';
import 'cached.dart';
/// A package source that gets packages from a package hosting site that uses
« no previous file with comments | « sdk/lib/_internal/pub/lib/src/source.dart ('k') | sdk/lib/_internal/pub/lib/src/validator/dependency.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698