mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 15:24:46 -05:00
Update deno.land links v0.11 (#2628)
This commit is contained in:
parent
953a5a31db
commit
d7fa8c3207
3 changed files with 6 additions and 6 deletions
|
@ -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.
|
||||
|
|
|
@ -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");
|
||||
|
|
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue