From a2ba92b924625f4b960514ffe087b14a09d5be82 Mon Sep 17 00:00:00 2001 From: mactkg Date: Mon, 3 Jun 2019 15:19:21 +0900 Subject: [PATCH] Follow changes of renaming strings package on denoland https://github.com/denoland/deno_std/pull/449 --- mod.ts | 2 +- response.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 =