From d7fa8c3207751259a647c7b90aa5e2591401834a Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Tue, 9 Jul 2019 18:59:13 -0400 Subject: [PATCH] Update deno.land links v0.11 (#2628) --- cli/flags.rs | 6 +++--- website/index.html | 2 +- website/style_guide.md | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/cli/flags.rs b/cli/flags.rs index d80d94e95f..b3b70dd8e3 100644 --- a/cli/flags.rs +++ b/cli/flags.rs @@ -239,7 +239,7 @@ The declaration file could be saved and used for typing information.", .about("Show source file related info") .long_about("Show source file related info. - deno info https://deno.land/std@v0.6/http/file_server.ts + deno info https://deno.land/std@v0.11/http/file_server.ts The following information is shown: @@ -608,9 +608,9 @@ fn parse_script_args( } /// Used for `deno fmt ...` subcommand -const PRETTIER_URL: &str = "https://deno.land/std@v0.7.0/prettier/main.ts"; +const PRETTIER_URL: &str = "https://deno.land/std@v0.11/prettier/main.ts"; /// Used for `deno install...` subcommand -const INSTALLER_URL: &str = "https://deno.land/std@b13441f/installer/mod.ts"; +const INSTALLER_URL: &str = "https://deno.land/std@v0.11/installer/mod.ts"; /// These are currently handled subcommands. /// There is no "Help" subcommand because it's handled by `clap::App` itself. diff --git a/website/index.html b/website/index.html index f4cbe69c5d..16370e46b7 100644 --- a/website/index.html +++ b/website/index.html @@ -113,7 +113,7 @@ href="https://deno.land/x/install/install.ps1">https://deno.land/x/install/insta

Or a more complex one:

-
import { serve } from "https://deno.land/std@v0.5/http/server.ts";
+      
import { serve } from "https://deno.land/std@v0.11/http/server.ts";
 
 async function main() {
   const body = new TextEncoder().encode("Hello World\n");
diff --git a/website/style_guide.md b/website/style_guide.md
index 7655289224..d1eff83572 100644
--- a/website/style_guide.md
+++ b/website/style_guide.md
@@ -289,8 +289,8 @@ test myTestFunction ... ok
 Example of test:
 
 ```ts
-import { assertEquals } from "https://deno.land/std@v0.5/testing/asserts.ts";
-import { test } from "https://deno.land/std@v0.5/testing/mod.ts";
+import { assertEquals } from "https://deno.land/std@v0.11/testing/asserts.ts";
+import { test } from "https://deno.land/std@v0.11/testing/mod.ts";
 import { foo } from "./mod.ts";
 
 test(function myTestFunction() {