diff options
Diffstat (limited to 'std')
42 files changed, 42 insertions, 42 deletions
diff --git a/std/fs/_util.ts b/std/fs/_util.ts index 95e9f0894..a9445a394 100644 --- a/std/fs/_util.ts +++ b/std/fs/_util.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 * as path from "../path/mod.ts"; /** diff --git a/std/fs/copy.ts b/std/fs/copy.ts index 1bb0a6aff..05ea6056b 100644 --- a/std/fs/copy.ts +++ b/std/fs/copy.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 * as path from "../path/mod.ts"; import { ensureDir, ensureDirSync } from "./ensure_dir.ts"; import { getFileInfoType, isSubdir } from "./_util.ts"; diff --git a/std/fs/copy_test.ts b/std/fs/copy_test.ts index 859239d10..32933b8e0 100644 --- a/std/fs/copy_test.ts +++ b/std/fs/copy_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, diff --git a/std/fs/empty_dir.ts b/std/fs/empty_dir.ts index dea09b5c0..df73ad6b7 100644 --- a/std/fs/empty_dir.ts +++ b/std/fs/empty_dir.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 { join } from "../path/mod.ts"; /** diff --git a/std/fs/empty_dir_test.ts b/std/fs/empty_dir_test.ts index aaee1b9d9..a78f221eb 100644 --- a/std/fs/empty_dir_test.ts +++ b/std/fs/empty_dir_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, diff --git a/std/fs/ensure_dir.ts b/std/fs/ensure_dir.ts index f5b5cd309..20259a6f7 100644 --- a/std/fs/ensure_dir.ts +++ b/std/fs/ensure_dir.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 { getFileInfoType } from "./_util.ts"; /** diff --git a/std/fs/ensure_dir_test.ts b/std/fs/ensure_dir_test.ts index 29a7913b1..ad8b75a9f 100644 --- a/std/fs/ensure_dir_test.ts +++ b/std/fs/ensure_dir_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 { assertThrows, assertThrowsAsync } from "../testing/asserts.ts"; import * as path from "../path/mod.ts"; import { ensureDir, ensureDirSync } from "./ensure_dir.ts"; diff --git a/std/fs/ensure_file.ts b/std/fs/ensure_file.ts index 41565795c..f70732c37 100644 --- a/std/fs/ensure_file.ts +++ b/std/fs/ensure_file.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 * as path from "../path/mod.ts"; import { ensureDir, ensureDirSync } from "./ensure_dir.ts"; import { getFileInfoType } from "./_util.ts"; diff --git a/std/fs/ensure_file_test.ts b/std/fs/ensure_file_test.ts index ee21e7b88..e10603426 100644 --- a/std/fs/ensure_file_test.ts +++ b/std/fs/ensure_file_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 { assertThrows, assertThrowsAsync } from "../testing/asserts.ts"; import * as path from "../path/mod.ts"; import { ensureFile, ensureFileSync } from "./ensure_file.ts"; diff --git a/std/fs/ensure_link.ts b/std/fs/ensure_link.ts index ea8501b03..56d740ef0 100644 --- a/std/fs/ensure_link.ts +++ b/std/fs/ensure_link.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 * as path from "../path/mod.ts"; import { ensureDir, ensureDirSync } from "./ensure_dir.ts"; import { exists, existsSync } from "./exists.ts"; diff --git a/std/fs/ensure_link_test.ts b/std/fs/ensure_link_test.ts index 2b4cfc66c..d45b058ca 100644 --- a/std/fs/ensure_link_test.ts +++ b/std/fs/ensure_link_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. // TODO(axetroy): Add test for Windows once symlink is implemented for Windows. import { assertEquals, diff --git a/std/fs/ensure_symlink.ts b/std/fs/ensure_symlink.ts index b57abe907..63ef6f162 100644 --- a/std/fs/ensure_symlink.ts +++ b/std/fs/ensure_symlink.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 * as path from "../path/mod.ts"; import { ensureDir, ensureDirSync } from "./ensure_dir.ts"; import { exists, existsSync } from "./exists.ts"; diff --git a/std/fs/ensure_symlink_test.ts b/std/fs/ensure_symlink_test.ts index 4461f8f87..64adfa812 100644 --- a/std/fs/ensure_symlink_test.ts +++ b/std/fs/ensure_symlink_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. // TODO(axetroy): Add test for Windows once symlink is implemented for Windows. import { assertEquals, diff --git a/std/fs/eol.ts b/std/fs/eol.ts index 5ea554c6e..25797bd71 100644 --- a/std/fs/eol.ts +++ b/std/fs/eol.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. /** EndOfLine character enum */ export enum EOL { diff --git a/std/fs/eol_test.ts b/std/fs/eol_test.ts index dd427d219..23e02f4a3 100644 --- a/std/fs/eol_test.ts +++ b/std/fs/eol_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 { detect, EOL, format } from "./eol.ts"; diff --git a/std/fs/exists.ts b/std/fs/exists.ts index a79455b2d..e98bbcc70 100644 --- a/std/fs/exists.ts +++ b/std/fs/exists.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. /** * Test whether or not the given path exists by checking with the file system */ diff --git a/std/fs/exists_test.ts b/std/fs/exists_test.ts index a3243aec9..b3004ec0e 100644 --- a/std/fs/exists_test.ts +++ b/std/fs/exists_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, assertStringIncludes } from "../testing/asserts.ts"; import * as path from "../path/mod.ts"; import { exists, existsSync } from "./exists.ts"; diff --git a/std/fs/expand_glob.ts b/std/fs/expand_glob.ts index 390df4932..358206558 100644 --- a/std/fs/expand_glob.ts +++ b/std/fs/expand_glob.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 { GlobOptions, globToRegExp, diff --git a/std/fs/expand_glob_test.ts b/std/fs/expand_glob_test.ts index 307cf0101..da9e89e6b 100644 --- a/std/fs/expand_glob_test.ts +++ b/std/fs/expand_glob_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 { decode } from "../encoding/utf8.ts"; import { assert, diff --git a/std/fs/mod.ts b/std/fs/mod.ts index 9d361494f..98dd3daa5 100644 --- a/std/fs/mod.ts +++ b/std/fs/mod.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. export * from "./empty_dir.ts"; export * from "./ensure_dir.ts"; export * from "./ensure_file.ts"; diff --git a/std/fs/move.ts b/std/fs/move.ts index 8b5a6caa2..2e34e7387 100644 --- a/std/fs/move.ts +++ b/std/fs/move.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 { exists, existsSync } from "./exists.ts"; import { isSubdir } from "./_util.ts"; diff --git a/std/fs/move_test.ts b/std/fs/move_test.ts index 7bc7e8fee..048193755 100644 --- a/std/fs/move_test.ts +++ b/std/fs/move_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, assertThrows, diff --git a/std/fs/test.ts b/std/fs/test.ts index 57684a50e..590417055 100644 --- a/std/fs/test.ts +++ b/std/fs/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 "./mod.ts"; diff --git a/std/fs/walk_test.ts b/std/fs/walk_test.ts index eae21f7b1..5eb6ebd69 100644 --- a/std/fs/walk_test.ts +++ b/std/fs/walk_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 { walk, WalkEntry, WalkOptions, walkSync } from "./walk.ts"; import { assert, assertEquals, assertThrowsAsync } from "../testing/asserts.ts"; diff --git a/std/signal/mod.ts b/std/signal/mod.ts index 7c662ea6e..c28cf5e99 100644 --- a/std/signal/mod.ts +++ b/std/signal/mod.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 { MuxAsyncIterator } from "../async/mux_async_iterator.ts"; export type Disposable = { dispose: () => void }; diff --git a/std/signal/test.ts b/std/signal/test.ts index 043d638de..d56b7920d 100644 --- a/std/signal/test.ts +++ b/std/signal/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, assertThrows } from "../testing/asserts.ts"; import { delay } from "../async/delay.ts"; import { onSignal, signal } from "./mod.ts"; diff --git a/std/uuid/_common.ts b/std/uuid/_common.ts index ef0bb42be..1f3228aea 100644 --- a/std/uuid/_common.ts +++ b/std/uuid/_common.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. /** * Converts the byte array to a UUID string * @param bytes Used to convert Byte to Hex diff --git a/std/uuid/mod.ts b/std/uuid/mod.ts index ff20fa807..b2580319c 100644 --- a/std/uuid/mod.ts +++ b/std/uuid/mod.ts @@ -1,6 +1,6 @@ // Based on https://github.com/kelektiv/node-uuid -> https://www.ietf.org/rfc/rfc4122.txt // Supporting Support for RFC4122 version 1, 4, and 5 UUIDs -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import * as v1 from "./v1.ts"; import * as v4 from "./v4.ts"; import * as v5 from "./v5.ts"; diff --git a/std/uuid/test.ts b/std/uuid/test.ts index 2dff12566..7d0feaf8d 100644 --- a/std/uuid/test.ts +++ b/std/uuid/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 } from "../testing/asserts.ts"; import { isNil, NIL_UUID } from "./mod.ts"; diff --git a/std/uuid/v1.ts b/std/uuid/v1.ts index 3c62332e4..b97c704e7 100644 --- a/std/uuid/v1.ts +++ b/std/uuid/v1.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 { bytesToUuid } from "./_common.ts"; const UUID_RE = new RegExp( diff --git a/std/uuid/v1_test.ts b/std/uuid/v1_test.ts index 364a4c304..5971d3f4e 100644 --- a/std/uuid/v1_test.ts +++ b/std/uuid/v1_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 { generate, validate } from "./v1.ts"; diff --git a/std/uuid/v4.ts b/std/uuid/v4.ts index 1245f2678..e059cd937 100644 --- a/std/uuid/v4.ts +++ b/std/uuid/v4.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 { bytesToUuid } from "./_common.ts"; const UUID_RE = new RegExp( diff --git a/std/uuid/v4_test.ts b/std/uuid/v4_test.ts index f8daf132e..6c9cb6b4a 100644 --- a/std/uuid/v4_test.ts +++ b/std/uuid/v4_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 { generate, validate } from "./v4.ts"; diff --git a/std/uuid/v5.ts b/std/uuid/v5.ts index b22d4ad40..7f6a098e0 100644 --- a/std/uuid/v5.ts +++ b/std/uuid/v5.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 { bytesToUuid, createBuffer, diff --git a/std/uuid/v5_test.ts b/std/uuid/v5_test.ts index d24da36b5..15da32aee 100644 --- a/std/uuid/v5_test.ts +++ b/std/uuid/v5_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 { generate, validate } from "./v5.ts"; diff --git a/std/wasi/snapshot_preview1.ts b/std/wasi/snapshot_preview1.ts index d4caa97bc..b15557e00 100644 --- a/std/wasi/snapshot_preview1.ts +++ b/std/wasi/snapshot_preview1.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 { relative, resolve } from "../path/mod.ts"; diff --git a/std/wasi/snapshot_preview1_test.ts b/std/wasi/snapshot_preview1_test.ts index 073c30aab..b6835b285 100644 --- a/std/wasi/snapshot_preview1_test.ts +++ b/std/wasi/snapshot_preview1_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 Context from "./snapshot_preview1.ts"; import { assert, assertEquals, assertThrows } from "../testing/asserts.ts"; import { copy } from "../fs/mod.ts"; diff --git a/std/ws/README.md b/std/ws/README.md index 786d6f393..658f2e038 100644 --- a/std/ws/README.md +++ b/std/ws/README.md @@ -7,7 +7,7 @@ WebSockets, use the ## Usage ```ts -// 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 "https://deno.land/std@$STD_VERSION/http/server.ts"; import { acceptWebSocket, diff --git a/std/ws/example_server.ts b/std/ws/example_server.ts index 0d0b28607..0e99bd03a 100644 --- a/std/ws/example_server.ts +++ b/std/ws/example_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 { serve } from "../http/server.ts"; import { acceptWebSocket, diff --git a/std/ws/example_test.ts b/std/ws/example_test.ts index 8b38e3952..b94121607 100644 --- a/std/ws/example_test.ts +++ b/std/ws/example_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 "./example_server.ts"; diff --git a/std/ws/mod.ts b/std/ws/mod.ts index a86c18482..0d2141a75 100644 --- a/std/ws/mod.ts +++ b/std/ws/mod.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 { decode, encode } from "../encoding/utf8.ts"; import { hasOwnProperty } from "../_util/has_own_property.ts"; import { BufReader, BufWriter } from "../io/bufio.ts"; diff --git a/std/ws/test.ts b/std/ws/test.ts index cef4ff8ff..45e34d579 100644 --- a/std/ws/test.ts +++ b/std/ws/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 { BufReader, BufWriter } from "../io/bufio.ts"; import { assert, |