From ad3de86604f6bae352e06ef9154e371f4d5d1860 Mon Sep 17 00:00:00 2001 From: Axetroy Date: Mon, 27 May 2019 07:58:31 +0800 Subject: rename strings/strings.ts to strings/mod.ts (denoland/deno_std#449) Original: https://github.com/denoland/deno_std/commit/2f003fa35cb354b1b1cc43af196a0d356b334ed3 --- ws/README.md | 2 +- ws/example_client.ts | 2 +- ws/mod.ts | 2 +- ws/test.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'ws') diff --git a/ws/README.md b/ws/README.md index 12cd51094..3b44b6eea 100644 --- a/ws/README.md +++ b/ws/README.md @@ -82,7 +82,7 @@ import { isWebSocketPingEvent, isWebSocketPongEvent } from "https://deno.land/std/ws/mod.ts"; -import { encode } from "https://deno.land/std/strings/strings.ts"; +import { encode } from "https://deno.land/std/strings/mod.ts"; import { BufReader } from "https://deno.land/std/io/bufio.ts"; import { TextProtoReader } from "https://deno.land/std/textproto/mod.ts"; import { blue, green, red, yellow } from "https://deno.land/std/colors/mod.ts"; diff --git a/ws/example_client.ts b/ws/example_client.ts index 16f37d021..c2be9d76e 100644 --- a/ws/example_client.ts +++ b/ws/example_client.ts @@ -4,7 +4,7 @@ import { isWebSocketPingEvent, isWebSocketPongEvent } from "../ws/mod.ts"; -import { encode } from "../strings/strings.ts"; +import { encode } from "../strings/mod.ts"; import { BufReader } from "../io/bufio.ts"; import { TextProtoReader } from "../textproto/mod.ts"; import { blue, green, red, yellow } from "../colors/mod.ts"; diff --git a/ws/mod.ts b/ws/mod.ts index 44743a2ce..ced566d45 100644 --- a/ws/mod.ts +++ b/ws/mod.ts @@ -1,6 +1,6 @@ // Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. -import { decode, encode } from "../strings/strings.ts"; +import { decode, encode } from "../strings/mod.ts"; type Conn = Deno.Conn; type Writer = Deno.Writer; diff --git a/ws/test.ts b/ws/test.ts index 482d6926d..93936988a 100644 --- a/ws/test.ts +++ b/ws/test.ts @@ -11,7 +11,7 @@ import { unmask, writeFrame } from "./mod.ts"; -import { encode } from "../strings/strings.ts"; +import { encode } from "../strings/mod.ts"; const { Buffer } = Deno; -- cgit v1.2.3