Skip to content

Commit

Permalink
Use std@0.63.0
Browse files Browse the repository at this point in the history
  • Loading branch information
TooTallNate committed Aug 2, 2020
1 parent d44e6c5 commit 825efa8
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions api/dump.ts
@@ -1,6 +1,6 @@
import ms from 'https://denopkg.com/TooTallNate/ms';
import { decode } from 'https://deno.land/std@0.62.0/encoding/utf8.ts';
import { ServerRequest } from 'https://deno.land/std@0.62.0/http/server.ts';
import { decode } from 'https://deno.land/std@0.63.0/encoding/utf8.ts';
import { ServerRequest } from 'https://deno.land/std@0.63.0/http/server.ts';

// Importing relative files works as expected
import { foo } from '../src/foo.ts';
Expand Down
2 changes: 1 addition & 1 deletion api/hello.ts
@@ -1,4 +1,4 @@
import { ServerRequest } from 'https://deno.land/std@0.62.0/http/server.ts';
import { ServerRequest } from 'https://deno.land/std@0.63.0/http/server.ts';

export default async (req: ServerRequest) => {
req.respond({ body: `Hello, from Deno v${Deno.version.deno}!` });
Expand Down
2 changes: 1 addition & 1 deletion src/dev-server.ts
@@ -1,4 +1,4 @@
import { Response, serve } from 'https://deno.land/std@0.62.0/http/server.ts';
import { Response, serve } from 'https://deno.land/std@0.63.0/http/server.ts';

function isNetAddr(v: any): v is Deno.NetAddr {
return v && typeof v.port === 'number';
Expand Down
6 changes: 3 additions & 3 deletions src/runtime.ts
@@ -1,10 +1,10 @@
import * as base64 from 'https://deno.land/x/base64/mod.ts';
import { TextProtoReader } from 'https://deno.land/std@0.62.0/textproto/mod.ts';
import { BufReader, BufWriter } from 'https://deno.land/std@0.62.0/io/bufio.ts';
import { TextProtoReader } from 'https://deno.land/std@0.63.0/textproto/mod.ts';
import { BufReader, BufWriter } from 'https://deno.land/std@0.63.0/io/bufio.ts';
import {
ServerRequest,
Response,
} from 'https://deno.land/std@0.62.0/http/server.ts';
} from 'https://deno.land/std@0.63.0/http/server.ts';
import { Context } from 'https://denopkg.com/DefinitelyTyped/DefinitelyTyped/types/aws-lambda/handler.d.ts';

type Handler = (req: ServerRequest) => Promise<Response | void>;
Expand Down

1 comment on commit 825efa8

@vercel
Copy link

@vercel vercel bot commented on 825efa8 Aug 2, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.