diff --git a/mod.ts b/mod.ts index 6a59565..e1cbba0 100644 --- a/mod.ts +++ b/mod.ts @@ -4,7 +4,7 @@ import { Deferred, defer, } from 'https://deno.land/x/std@v0.2.11/util/deferred.ts'; -import { decode } from 'https://deno.land/std/strings/strings.ts'; +import { decode } from 'https://deno.land/std/strings/mod.ts'; import { Response, processResponse } from './response.ts'; import { ErrorCode, getErrorMessage } from './errors.ts'; import { Method, Handler, HandlerConfig } from './handler.ts'; diff --git a/response.ts b/response.ts index 2c74dc2..7e672e4 100644 --- a/response.ts +++ b/response.ts @@ -1,5 +1,5 @@ import Reader = Deno.Reader; -import { encode } from 'https://deno.land/std/strings/strings.ts'; +import { encode } from 'https://deno.land/std/strings/mod.ts'; // HeaderMap is a type of response headers. type HeaderMap =