File tree Expand file tree Collapse file tree 5 files changed +12
-13
lines changed Expand file tree Collapse file tree 5 files changed +12
-13
lines changed Original file line number Diff line number Diff line change 22
33The Dart Web Developer Service (DWDS) allows developer tools designed to work
44with the native Dart VM to also work with Dart Web applications compiled with
5- [ DDC] ( https://webdev.dartlang.org /tools/dartdevc ) , built / served with
6- [ webdev] ( https://webdev.dartlang.org /tools/webdev ) , and run in Chrome.
5+ [ DDC] ( https://dart.dev /tools/dartdevc ) , built / served with
6+ [ webdev] ( https://dart.dev /tools/webdev ) , and run in Chrome.
77
88` package:dwds ` is integrated into ` webdev serve ` as well as ` flutter run ` .
99
Original file line number Diff line number Diff line change @@ -124,10 +124,10 @@ class DartUri {
124124 /// file:///source/webdev/fixtures/_test/example/hello_world/part.dart,
125125 ///
126126 /// package:path/path.dart <->
127- /// file:///.pub-cache/hosted/pub.dartlang.org /path-1.8.0/lib/path.dart,
127+ /// file:///.pub-cache/hosted/pub.dev /path-1.8.0/lib/path.dart,
128128 ///
129129 /// package:path/src/path_set.dart <->
130- /// file:///.pub-cache/hosted/pub.dartlang.org /path-1.8.0/lib/src/path_set.dart,
130+ /// file:///.pub-cache/hosted/pub.dev /path-1.8.0/lib/src/path_set.dart,
131131 static final Map <String , String > _uriToResolvedUri = {};
132132
133133 /// All of the known libraries, indexed by their absolute file URL.
Original file line number Diff line number Diff line change @@ -171,5 +171,5 @@ Run "webdev help" to see global options.
171171
172172```
173173
174- [ activating ] : https://www.dartlang.org /tools/pub/cmd/pub-global#activating-a-package
175- [ pub global ] : https://www.dartlang.org /tools/pub/cmd/pub-global
174+ [ activating ] : https://dart.dev /tools/pub/cmd/pub-global#activating-a-package
175+ [ pub global ] : https://dart.dev /tools/pub/cmd/pub-global
Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ class PubspecLock {
105105 var source = pkgDataMap['source' ] as String ? ;
106106 if (source == 'hosted' ) {
107107 // NOTE: pkgDataMap['description'] should be:
108- // `{url: https://pub.dartlang.org , name: [pkgName]}`
108+ // `{url: https://pub.dev , name: [pkgName]}`
109109 // If a user is playing around here, they are on their own.
110110
111111 var version = pkgDataMap['version' ] as String ;
@@ -198,8 +198,7 @@ class _PackageInfo {
198198
199199/// Returns the package info for the latest webdev release.
200200Future <_PackageInfo > _latestPackageInfo () async {
201- var response = await get (
202- Uri .parse ('https://pub.dartlang.org/api/packages/webdev' ),
201+ var response = await get (Uri .parse ('https://pub.dev/api/packages/webdev' ),
203202 headers: {HttpHeaders .userAgentHeader: 'webdev $packageVersion ' });
204203 var responseObj = json.decode (response.body);
205204 var pubspec = Pubspec .fromJson (
Original file line number Diff line number Diff line change @@ -287,7 +287,7 @@ packages:
287287 dependency: "direct dev"
288288 description:
289289 name: build_runner
290- url: "https://pub.dartlang.org "
290+ url: "https://pub.dev "
291291 source: hosted
292292 version: "$runnerVersion "
293293''' );
@@ -299,7 +299,7 @@ packages:
299299 dependency: "direct dev"
300300 description:
301301 name: build_web_compilers
302- url: "https://pub.dartlang.org "
302+ url: "https://pub.dev "
303303 source: hosted
304304 version: "$webCompilersVersion "
305305''' );
@@ -311,7 +311,7 @@ packages:
311311 dependency: "direct transitive"
312312 description:
313313 name: build_daemon
314- url: "https://pub.dartlang.org "
314+ url: "https://pub.dev "
315315 source: hosted
316316 version: "$daemonVersion "
317317''' );
@@ -323,7 +323,7 @@ packages:
323323 dependency: "direct"
324324 description:
325325 name: $pkg
326- url: "https://pub.dartlang.org "
326+ url: "https://pub.dev "
327327 source: hosted
328328 version: "1.0.0"
329329''' );
You can’t perform that action at this time.
0 commit comments