summaryrefslogtreecommitdiff
path: root/ws
diff options
context:
space:
mode:
authorAxetroy <troy450409405@gmail.com>2019-05-27 07:58:31 +0800
committerRyan Dahl <ry@tinyclouds.org>2019-05-27 02:58:31 +0300
commitad3de86604f6bae352e06ef9154e371f4d5d1860 (patch)
treefa52c7502697f7e70a294921815bc60d9f59849a /ws
parent8d94f70bef6e44d0a0ddb6f8410a35d95a34139a (diff)
rename strings/strings.ts to strings/mod.ts (denoland/deno_std#449)
Original: https://github.com/denoland/deno_std/commit/2f003fa35cb354b1b1cc43af196a0d356b334ed3
Diffstat (limited to 'ws')
-rw-r--r--ws/README.md2
-rw-r--r--ws/example_client.ts2
-rw-r--r--ws/mod.ts2
-rw-r--r--ws/test.ts2
4 files changed, 4 insertions, 4 deletions
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;