summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2019-07-09 18:59:13 -0400
committerGitHub <noreply@github.com>2019-07-09 18:59:13 -0400
commitd7fa8c3207751259a647c7b90aa5e2591401834a (patch)
tree557fc726b57a37303a8013619400063e71764faf
parent953a5a31dbda1d79065d842cf312e3149d2c70a4 (diff)
Update deno.land links v0.11 (#2628)
-rw-r--r--cli/flags.rs6
-rw-r--r--website/index.html2
-rw-r--r--website/style_guide.md4
3 files changed, 6 insertions, 6 deletions
diff --git a/cli/flags.rs b/cli/flags.rs
index d80d94e95..b3b70dd8e 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 <files>...` 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 f4cbe69c5..16370e46b 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
<p>Or a more complex one:</p>
- <pre><code class="typescript language-typescript">import { serve } from "https://deno.land/std@v0.5/http/server.ts";
+ <pre><code class="typescript language-typescript">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 765528922..d1eff8357 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() {