summaryrefslogtreecommitdiff
path: root/std/examples
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2021-01-10 21:59:07 -0500
committerGitHub <noreply@github.com>2021-01-10 21:59:07 -0500
commit2b75a1155906613df16bad9d1eb84f3dc0ba571b (patch)
treefb6fdea18d774994d902b27c9bc841d2169a0420 /std/examples
parentb0821fe9ce017ea1fdec191622f27c31af9c4f0f (diff)
update copyright to 2021 (#9081)
Diffstat (limited to 'std/examples')
-rw-r--r--std/examples/cat.ts2
-rw-r--r--std/examples/cat_test.ts2
-rw-r--r--std/examples/catj.ts2
-rw-r--r--std/examples/catj_test.ts2
-rw-r--r--std/examples/chat/server.ts2
-rw-r--r--std/examples/chat/server_test.ts2
-rw-r--r--std/examples/colors.ts2
-rw-r--r--std/examples/colors_test.ts2
-rw-r--r--std/examples/curl.ts2
-rw-r--r--std/examples/curl_test.ts2
-rw-r--r--std/examples/echo_server.ts2
-rw-r--r--std/examples/echo_server_test.ts2
-rw-r--r--std/examples/flags.ts2
-rwxr-xr-xstd/examples/gist.ts2
-rw-r--r--std/examples/test.ts2
-rw-r--r--std/examples/test_test.ts2
-rw-r--r--std/examples/welcome_test.ts2
-rw-r--r--std/examples/xeval.ts2
-rw-r--r--std/examples/xeval_test.ts2
19 files changed, 19 insertions, 19 deletions
diff --git a/std/examples/cat.ts b/std/examples/cat.ts
index cf9a7cb1d..04c40034b 100644
--- a/std/examples/cat.ts
+++ b/std/examples/cat.ts
@@ -1,4 +1,4 @@
-// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
const filenames = Deno.args;
for (const filename of filenames) {
const file = await Deno.open(filename);
diff --git a/std/examples/cat_test.ts b/std/examples/cat_test.ts
index e151d5c62..9664ff713 100644
--- a/std/examples/cat_test.ts
+++ b/std/examples/cat_test.ts
@@ -1,4 +1,4 @@
-// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
import { assertStrictEquals } from "../testing/asserts.ts";
import { dirname, fromFileUrl } from "../path/mod.ts";
diff --git a/std/examples/catj.ts b/std/examples/catj.ts
index a66a25ece..907f14879 100644
--- a/std/examples/catj.ts
+++ b/std/examples/catj.ts
@@ -1,7 +1,7 @@
#!/usr/bin/env -S deno run --allow-read
// Ported from: https://github.com/soheilpro/catj
// Copyright (c) 2014 Soheil Rashidi
-// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
// Install using `deno install`
// $ deno install --allow-read https://deno.land/std/examples/catj.ts
diff --git a/std/examples/catj_test.ts b/std/examples/catj_test.ts
index 7a2d968f4..365b5c0b7 100644
--- a/std/examples/catj_test.ts
+++ b/std/examples/catj_test.ts
@@ -1,4 +1,4 @@
-// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
import { assertStrictEquals } from "../testing/asserts.ts";
import { dirname, fromFileUrl } from "../path/mod.ts";
diff --git a/std/examples/chat/server.ts b/std/examples/chat/server.ts
index ce2e196f3..39b5ee124 100644
--- a/std/examples/chat/server.ts
+++ b/std/examples/chat/server.ts
@@ -1,4 +1,4 @@
-// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
import { listenAndServe } from "../../http/server.ts";
import {
acceptable,
diff --git a/std/examples/chat/server_test.ts b/std/examples/chat/server_test.ts
index f9a4baae3..80a66cb2f 100644
--- a/std/examples/chat/server_test.ts
+++ b/std/examples/chat/server_test.ts
@@ -1,4 +1,4 @@
-// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
import { assert, assertEquals } from "../../testing/asserts.ts";
import { TextProtoReader } from "../../textproto/mod.ts";
import { BufReader } from "../../io/bufio.ts";
diff --git a/std/examples/colors.ts b/std/examples/colors.ts
index 5c0f1ac77..4af8d9bfa 100644
--- a/std/examples/colors.ts
+++ b/std/examples/colors.ts
@@ -1,4 +1,4 @@
-// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
import { bgBlue, bold, italic, red } from "../fmt/colors.ts";
if (import.meta.main) {
diff --git a/std/examples/colors_test.ts b/std/examples/colors_test.ts
index cf3b8f4c6..4e009e329 100644
--- a/std/examples/colors_test.ts
+++ b/std/examples/colors_test.ts
@@ -1,4 +1,4 @@
-// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
import { assertStrictEquals } from "../testing/asserts.ts";
import { dirname, fromFileUrl } from "../path/mod.ts";
diff --git a/std/examples/curl.ts b/std/examples/curl.ts
index a3e8b73db..2ed194446 100644
--- a/std/examples/curl.ts
+++ b/std/examples/curl.ts
@@ -1,4 +1,4 @@
-// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
const url_ = Deno.args[0];
const res = await fetch(url_);
diff --git a/std/examples/curl_test.ts b/std/examples/curl_test.ts
index 86beec79b..6612b17cc 100644
--- a/std/examples/curl_test.ts
+++ b/std/examples/curl_test.ts
@@ -1,4 +1,4 @@
-// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
import { serve } from "../http/server.ts";
import { assertStrictEquals } from "../testing/asserts.ts";
import { dirname, fromFileUrl } from "../path/mod.ts";
diff --git a/std/examples/echo_server.ts b/std/examples/echo_server.ts
index dbcc9b5ae..03e0d6070 100644
--- a/std/examples/echo_server.ts
+++ b/std/examples/echo_server.ts
@@ -1,4 +1,4 @@
-// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
const hostname = "0.0.0.0";
const port = 8080;
const listener = Deno.listen({ hostname, port });
diff --git a/std/examples/echo_server_test.ts b/std/examples/echo_server_test.ts
index 9a0e34e3d..24e0c416b 100644
--- a/std/examples/echo_server_test.ts
+++ b/std/examples/echo_server_test.ts
@@ -1,4 +1,4 @@
-// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
import { assertNotEquals, assertStrictEquals } from "../testing/asserts.ts";
import { BufReader, ReadLineResult } from "../io/bufio.ts";
import { dirname, fromFileUrl } from "../path/mod.ts";
diff --git a/std/examples/flags.ts b/std/examples/flags.ts
index d7f0fc650..a452494c5 100644
--- a/std/examples/flags.ts
+++ b/std/examples/flags.ts
@@ -1,4 +1,4 @@
-// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
import { parse } from "../flags/mod.ts";
if (import.meta.main) {
diff --git a/std/examples/gist.ts b/std/examples/gist.ts
index 31a22d750..1698ab354 100755
--- a/std/examples/gist.ts
+++ b/std/examples/gist.ts
@@ -1,5 +1,5 @@
#!/usr/bin/env -S deno run --allow-net --allow-env
-// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
// A program to post files to gist.github.com. Use the following to install it:
// deno install -f --allow-env --allow-read --allow-net=api.github.com https://deno.land/std/examples/gist.ts
import { parse } from "../flags/mod.ts";
diff --git a/std/examples/test.ts b/std/examples/test.ts
index cf4d821f9..6afeb221f 100644
--- a/std/examples/test.ts
+++ b/std/examples/test.ts
@@ -1,4 +1,4 @@
-// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
import { assertEquals } from "../testing/asserts.ts";
import { dirname, fromFileUrl, relative, resolve } from "../path/mod.ts";
diff --git a/std/examples/test_test.ts b/std/examples/test_test.ts
index 2c85b664e..c8e3c4ac1 100644
--- a/std/examples/test_test.ts
+++ b/std/examples/test_test.ts
@@ -1,2 +1,2 @@
-// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
import "./test.ts";
diff --git a/std/examples/welcome_test.ts b/std/examples/welcome_test.ts
index c9cc2e94f..2e26aa967 100644
--- a/std/examples/welcome_test.ts
+++ b/std/examples/welcome_test.ts
@@ -1,4 +1,4 @@
-// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
import { assertStrictEquals } from "../testing/asserts.ts";
import { dirname, fromFileUrl } from "../path/mod.ts";
diff --git a/std/examples/xeval.ts b/std/examples/xeval.ts
index 97b373ab7..cff15edd0 100644
--- a/std/examples/xeval.ts
+++ b/std/examples/xeval.ts
@@ -1,4 +1,4 @@
-// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
import { parse } from "../flags/mod.ts";
import { readStringDelim } from "../io/bufio.ts";
diff --git a/std/examples/xeval_test.ts b/std/examples/xeval_test.ts
index fc244d853..4793c6346 100644
--- a/std/examples/xeval_test.ts
+++ b/std/examples/xeval_test.ts
@@ -1,4 +1,4 @@
-// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
import { xeval } from "./xeval.ts";
import { StringReader } from "../io/readers.ts";
import { decode, encode } from "../encoding/utf8.ts";