summaryrefslogtreecommitdiff
path: root/std
diff options
context:
space:
mode:
Diffstat (limited to 'std')
-rw-r--r--std/_util/assert_test.ts1
-rw-r--r--std/archive/tar_test.ts1
-rw-r--r--std/async/pool_test.ts1
-rw-r--r--std/async/test.ts1
-rw-r--r--std/datetime/formatter.ts1
-rw-r--r--std/datetime/tokenizer.ts2
-rw-r--r--std/encoding/utf8.ts2
-rw-r--r--std/examples/chat/server.ts1
-rw-r--r--std/examples/welcome.ts1
-rw-r--r--std/examples/xeval.ts1
-rw-r--r--std/flags/test.ts1
-rw-r--r--std/fs/_util.ts1
-rw-r--r--std/fs/expand_glob.ts1
-rw-r--r--std/fs/expand_glob_test.ts1
-rw-r--r--std/fs/walk_test.ts1
-rw-r--r--std/hash/sha1.ts1
-rw-r--r--std/hash/sha256.ts1
-rw-r--r--std/hash/sha512.ts1
-rw-r--r--std/http/_io.ts1
-rw-r--r--std/http/_io_test.ts1
-rw-r--r--std/http/_mock_conn.ts2
-rw-r--r--std/http/mod.ts1
-rw-r--r--std/http/racing_server_test.ts1
-rw-r--r--std/http/test.ts1
-rw-r--r--std/io/_iotest.ts2
-rw-r--r--std/io/bufio.ts1
-rw-r--r--std/io/bufio_test.ts1
-rw-r--r--std/io/mod.ts1
-rw-r--r--std/io/readers_test.ts1
-rw-r--r--std/io/test.ts1
-rw-r--r--std/io/writers_test.ts1
-rw-r--r--std/mime/mod.ts1
-rw-r--r--std/mime/test.ts1
-rw-r--r--std/node/_fs/_fs_access.ts1
-rw-r--r--std/node/_fs/_fs_chmod.ts1
-rw-r--r--std/node/_fs/_fs_chown.ts1
-rw-r--r--std/node/_fs/_fs_close.ts1
-rw-r--r--std/node/_fs/_fs_common.ts1
-rw-r--r--std/node/_fs/_fs_copy.ts1
-rw-r--r--std/node/_fs/_fs_dir.ts1
-rw-r--r--std/node/_fs/_fs_dir_test.ts1
-rw-r--r--std/node/_fs/_fs_dirent.ts1
-rw-r--r--std/node/_fs/_fs_dirent_test.ts1
-rw-r--r--std/node/_fs/_fs_link.ts1
-rw-r--r--std/node/_fs/_fs_readFile_test.ts1
-rw-r--r--std/node/_fs/_fs_readlink_test.ts1
-rw-r--r--std/node/_fs/promises/_fs_readFile_test.ts1
-rw-r--r--std/node/_utils.ts2
-rw-r--r--std/node/assert.ts1
-rw-r--r--std/node/assert_test.ts1
-rw-r--r--std/node/assertion_error_test.ts1
-rw-r--r--std/node/buffer.ts1
-rw-r--r--std/node/buffer_test.ts1
-rw-r--r--std/node/events_test.ts1
-rw-r--r--std/node/fs.ts1
-rw-r--r--std/node/global.ts2
-rw-r--r--std/node/module_test.ts1
-rw-r--r--std/node/os_test.ts1
-rw-r--r--std/node/path.ts1
-rw-r--r--std/node/process.ts1
-rw-r--r--std/node/process_test.ts1
-rw-r--r--std/node/querystring_test.ts1
-rw-r--r--std/node/string_decoder_test.ts1
-rw-r--r--std/node/timers.ts1
-rw-r--r--std/node/url_test.ts1
-rw-r--r--std/node/util.ts1
-rw-r--r--std/node/util_test.ts1
-rw-r--r--std/path/_interface.ts1
-rw-r--r--std/path/glob_test.ts1
-rw-r--r--std/path/join_test.ts1
-rw-r--r--std/path/test.ts1
-rw-r--r--std/signal/mod.ts1
-rw-r--r--std/signal/test.ts1
-rw-r--r--std/testing/bench_example.ts1
-rw-r--r--std/testing/bench_test.ts1
-rw-r--r--std/testing/diff_test.ts1
-rw-r--r--std/textproto/mod.ts1
-rw-r--r--std/textproto/test.ts1
-rw-r--r--std/uuid/v1.ts1
-rw-r--r--std/uuid/v1_test.ts1
-rw-r--r--std/uuid/v4.ts1
-rw-r--r--std/uuid/v5.ts1
-rw-r--r--std/version.ts1
-rw-r--r--std/wasi/snapshot_preview1.ts1
-rw-r--r--std/wasi/snapshot_preview1_test.ts1
-rw-r--r--std/wasi/snapshot_preview1_test_runner.ts1
-rw-r--r--std/ws/example_test.ts1
87 files changed, 80 insertions, 13 deletions
diff --git a/std/_util/assert_test.ts b/std/_util/assert_test.ts
index 3509619c3..80bf0d54f 100644
--- a/std/_util/assert_test.ts
+++ b/std/_util/assert_test.ts
@@ -1,3 +1,4 @@
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import { assert, DenoStdInternalError } from "./assert.ts";
import { assertThrows } from "../testing/asserts.ts";
diff --git a/std/archive/tar_test.ts b/std/archive/tar_test.ts
index c924d36a3..00ecbbf45 100644
--- a/std/archive/tar_test.ts
+++ b/std/archive/tar_test.ts
@@ -1,3 +1,4 @@
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
/**
* Tar test
*
diff --git a/std/async/pool_test.ts b/std/async/pool_test.ts
index 1be4556be..34fdc1c10 100644
--- a/std/async/pool_test.ts
+++ b/std/async/pool_test.ts
@@ -1,3 +1,4 @@
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import { pooledMap } from "./pool.ts";
import { assert } from "../testing/asserts.ts";
diff --git a/std/async/test.ts b/std/async/test.ts
index 543491080..57684a50e 100644
--- a/std/async/test.ts
+++ b/std/async/test.ts
@@ -1 +1,2 @@
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import "./mod.ts";
diff --git a/std/datetime/formatter.ts b/std/datetime/formatter.ts
index 0e872cb40..14fb552cd 100644
--- a/std/datetime/formatter.ts
+++ b/std/datetime/formatter.ts
@@ -1,3 +1,4 @@
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import {
CallbackResult,
Rule,
diff --git a/std/datetime/tokenizer.ts b/std/datetime/tokenizer.ts
index 05314b770..e56dc52db 100644
--- a/std/datetime/tokenizer.ts
+++ b/std/datetime/tokenizer.ts
@@ -1,3 +1,5 @@
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
+
export type Token = {
type: string;
value: string | number;
diff --git a/std/encoding/utf8.ts b/std/encoding/utf8.ts
index 266c61165..b4ddfb94d 100644
--- a/std/encoding/utf8.ts
+++ b/std/encoding/utf8.ts
@@ -1,3 +1,5 @@
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
+
/** A default TextEncoder instance */
export const encoder = new TextEncoder();
diff --git a/std/examples/chat/server.ts b/std/examples/chat/server.ts
index cb1be530e..238d61fff 100644
--- a/std/examples/chat/server.ts
+++ b/std/examples/chat/server.ts
@@ -1,3 +1,4 @@
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import { listenAndServe } from "../../http/server.ts";
import {
acceptWebSocket,
diff --git a/std/examples/welcome.ts b/std/examples/welcome.ts
index 69f1069f8..ea72144ef 100644
--- a/std/examples/welcome.ts
+++ b/std/examples/welcome.ts
@@ -1 +1,2 @@
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
console.log("Welcome to Deno 🦕");
diff --git a/std/examples/xeval.ts b/std/examples/xeval.ts
index be326a4ad..07c571cc7 100644
--- a/std/examples/xeval.ts
+++ b/std/examples/xeval.ts
@@ -1,3 +1,4 @@
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import { parse } from "../flags/mod.ts";
import { readStringDelim } from "../io/bufio.ts";
diff --git a/std/flags/test.ts b/std/flags/test.ts
index 543491080..57684a50e 100644
--- a/std/flags/test.ts
+++ b/std/flags/test.ts
@@ -1 +1,2 @@
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import "./mod.ts";
diff --git a/std/fs/_util.ts b/std/fs/_util.ts
index 6866526cd..95e9f0894 100644
--- a/std/fs/_util.ts
+++ b/std/fs/_util.ts
@@ -1,3 +1,4 @@
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import * as path from "../path/mod.ts";
/**
diff --git a/std/fs/expand_glob.ts b/std/fs/expand_glob.ts
index 7d9f0d870..267d7a8c0 100644
--- a/std/fs/expand_glob.ts
+++ b/std/fs/expand_glob.ts
@@ -1,3 +1,4 @@
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import {
GlobOptions,
SEP_PATTERN,
diff --git a/std/fs/expand_glob_test.ts b/std/fs/expand_glob_test.ts
index 8b4a90754..49c7bf143 100644
--- a/std/fs/expand_glob_test.ts
+++ b/std/fs/expand_glob_test.ts
@@ -1,3 +1,4 @@
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import { decode } from "../encoding/utf8.ts";
import {
assert,
diff --git a/std/fs/walk_test.ts b/std/fs/walk_test.ts
index df4525b95..1352ce448 100644
--- a/std/fs/walk_test.ts
+++ b/std/fs/walk_test.ts
@@ -1,3 +1,4 @@
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import { walk, walkSync, WalkOptions, WalkEntry } from "./walk.ts";
import { assert, assertEquals, assertThrowsAsync } from "../testing/asserts.ts";
diff --git a/std/hash/sha1.ts b/std/hash/sha1.ts
index 6a79db27b..19563088b 100644
--- a/std/hash/sha1.ts
+++ b/std/hash/sha1.ts
@@ -1,3 +1,4 @@
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
/*
* [js-sha1]{@link https://github.com/emn178/js-sha1}
*
diff --git a/std/hash/sha256.ts b/std/hash/sha256.ts
index e2456d7a1..d1516711f 100644
--- a/std/hash/sha256.ts
+++ b/std/hash/sha256.ts
@@ -1,3 +1,4 @@
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
/*
* Adapted to deno from:
*
diff --git a/std/hash/sha512.ts b/std/hash/sha512.ts
index 1eef85a47..409dc8994 100644
--- a/std/hash/sha512.ts
+++ b/std/hash/sha512.ts
@@ -1,3 +1,4 @@
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
/*
* [js-sha512]{@link https://github.com/emn178/js-sha512}
*
diff --git a/std/http/_io.ts b/std/http/_io.ts
index 743f52556..fefa6f657 100644
--- a/std/http/_io.ts
+++ b/std/http/_io.ts
@@ -1,3 +1,4 @@
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import { BufReader, BufWriter } from "../io/bufio.ts";
import { TextProtoReader } from "../textproto/mod.ts";
import { assert } from "../_util/assert.ts";
diff --git a/std/http/_io_test.ts b/std/http/_io_test.ts
index 77d8288f2..7c7b3d8b4 100644
--- a/std/http/_io_test.ts
+++ b/std/http/_io_test.ts
@@ -1,3 +1,4 @@
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import {
assertThrowsAsync,
assertEquals,
diff --git a/std/http/_mock_conn.ts b/std/http/_mock_conn.ts
index be07ede24..4ce2b65f4 100644
--- a/std/http/_mock_conn.ts
+++ b/std/http/_mock_conn.ts
@@ -1,3 +1,5 @@
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
+
/** Create dummy Deno.Conn object with given base properties */
export function mockConn(base: Partial<Deno.Conn> = {}): Deno.Conn {
return {
diff --git a/std/http/mod.ts b/std/http/mod.ts
index 3746242a9..373e01449 100644
--- a/std/http/mod.ts
+++ b/std/http/mod.ts
@@ -1,3 +1,4 @@
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
export * from "./cookie.ts";
export * from "./http_status.ts";
export * from "./server.ts";
diff --git a/std/http/racing_server_test.ts b/std/http/racing_server_test.ts
index 88ef3ab2f..b8336abcd 100644
--- a/std/http/racing_server_test.ts
+++ b/std/http/racing_server_test.ts
@@ -1,3 +1,4 @@
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import { assert, assertEquals } from "../testing/asserts.ts";
import { BufReader, BufWriter } from "../io/bufio.ts";
import { TextProtoReader } from "../textproto/mod.ts";
diff --git a/std/http/test.ts b/std/http/test.ts
index 543491080..57684a50e 100644
--- a/std/http/test.ts
+++ b/std/http/test.ts
@@ -1 +1,2 @@
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import "./mod.ts";
diff --git a/std/io/_iotest.ts b/std/io/_iotest.ts
index a309fb5e1..726e7e2a6 100644
--- a/std/io/_iotest.ts
+++ b/std/io/_iotest.ts
@@ -1,4 +1,4 @@
-// Ported to Deno from
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.// Ported to Deno from
// Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
diff --git a/std/io/bufio.ts b/std/io/bufio.ts
index 682f96499..0d7d25998 100644
--- a/std/io/bufio.ts
+++ b/std/io/bufio.ts
@@ -1,3 +1,4 @@
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Based on https://github.com/golang/go/blob/891682/src/bufio/bufio.go
// Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
diff --git a/std/io/bufio_test.ts b/std/io/bufio_test.ts
index 1ad6c7ac6..bddefb38c 100644
--- a/std/io/bufio_test.ts
+++ b/std/io/bufio_test.ts
@@ -1,3 +1,4 @@
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Based on https://github.com/golang/go/blob/891682/src/bufio/bufio_test.go
// Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
diff --git a/std/io/mod.ts b/std/io/mod.ts
index f92feb6ef..2f4fbcc26 100644
--- a/std/io/mod.ts
+++ b/std/io/mod.ts
@@ -1,3 +1,4 @@
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
export * from "./bufio.ts";
export * from "./ioutil.ts";
export * from "./readers.ts";
diff --git a/std/io/readers_test.ts b/std/io/readers_test.ts
index d608877c1..53edb851c 100644
--- a/std/io/readers_test.ts
+++ b/std/io/readers_test.ts
@@ -1,3 +1,4 @@
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import { assertEquals } from "../testing/asserts.ts";
import { LimitedReader, MultiReader, StringReader } from "./readers.ts";
import { StringWriter } from "./writers.ts";
diff --git a/std/io/test.ts b/std/io/test.ts
index 543491080..57684a50e 100644
--- a/std/io/test.ts
+++ b/std/io/test.ts
@@ -1 +1,2 @@
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import "./mod.ts";
diff --git a/std/io/writers_test.ts b/std/io/writers_test.ts
index ef4283352..6dedf72a3 100644
--- a/std/io/writers_test.ts
+++ b/std/io/writers_test.ts
@@ -1,3 +1,4 @@
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import { assertEquals } from "../testing/asserts.ts";
import { StringWriter } from "./writers.ts";
import { StringReader } from "./readers.ts";
diff --git a/std/mime/mod.ts b/std/mime/mod.ts
index 9b75002e0..214f60f70 100644
--- a/std/mime/mod.ts
+++ b/std/mime/mod.ts
@@ -1 +1,2 @@
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
export * from "./multipart.ts";
diff --git a/std/mime/test.ts b/std/mime/test.ts
index 543491080..57684a50e 100644
--- a/std/mime/test.ts
+++ b/std/mime/test.ts
@@ -1 +1,2 @@
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import "./mod.ts";
diff --git a/std/node/_fs/_fs_access.ts b/std/node/_fs/_fs_access.ts
index 8fb8cc7e6..f3fb1a010 100644
--- a/std/node/_fs/_fs_access.ts
+++ b/std/node/_fs/_fs_access.ts
@@ -1,5 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
-
import type { CallbackWithError } from "./_fs_common.ts";
import { notImplemented } from "../_utils.ts";
diff --git a/std/node/_fs/_fs_chmod.ts b/std/node/_fs/_fs_chmod.ts
index 9a8277b45..7b8d11b71 100644
--- a/std/node/_fs/_fs_chmod.ts
+++ b/std/node/_fs/_fs_chmod.ts
@@ -1,5 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
-
import type { CallbackWithError } from "./_fs_common.ts";
import { fromFileUrl } from "../path.ts";
diff --git a/std/node/_fs/_fs_chown.ts b/std/node/_fs/_fs_chown.ts
index ae3af0121..021b6498a 100644
--- a/std/node/_fs/_fs_chown.ts
+++ b/std/node/_fs/_fs_chown.ts
@@ -1,5 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
-
import type { CallbackWithError } from "./_fs_common.ts";
import { fromFileUrl } from "../path.ts";
diff --git a/std/node/_fs/_fs_close.ts b/std/node/_fs/_fs_close.ts
index add6f6663..1b5393db0 100644
--- a/std/node/_fs/_fs_close.ts
+++ b/std/node/_fs/_fs_close.ts
@@ -1,5 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
-
import type { CallbackWithError } from "./_fs_common.ts";
export function close(fd: number, callback: CallbackWithError): void {
diff --git a/std/node/_fs/_fs_common.ts b/std/node/_fs/_fs_common.ts
index ec0c2caef..fa1a52429 100644
--- a/std/node/_fs/_fs_common.ts
+++ b/std/node/_fs/_fs_common.ts
@@ -1,5 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
-
import { notImplemented } from "../_utils.ts";
export type CallbackWithError = (err?: Error | null) => void;
diff --git a/std/node/_fs/_fs_copy.ts b/std/node/_fs/_fs_copy.ts
index ba530a85c..21d05a7fe 100644
--- a/std/node/_fs/_fs_copy.ts
+++ b/std/node/_fs/_fs_copy.ts
@@ -1,5 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
-
import type { CallbackWithError } from "./_fs_common.ts";
import { fromFileUrl } from "../path.ts";
diff --git a/std/node/_fs/_fs_dir.ts b/std/node/_fs/_fs_dir.ts
index 20239d4f3..1fd7d60dd 100644
--- a/std/node/_fs/_fs_dir.ts
+++ b/std/node/_fs/_fs_dir.ts
@@ -1,3 +1,4 @@
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import Dirent from "./_fs_dirent.ts";
import { assert } from "../../_util/assert.ts";
diff --git a/std/node/_fs/_fs_dir_test.ts b/std/node/_fs/_fs_dir_test.ts
index 4c2806389..522bd9bcd 100644
--- a/std/node/_fs/_fs_dir_test.ts
+++ b/std/node/_fs/_fs_dir_test.ts
@@ -1,3 +1,4 @@
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import { assert, assertEquals, fail } from "../../testing/asserts.ts";
import Dir from "./_fs_dir.ts";
import type Dirent from "./_fs_dirent.ts";
diff --git a/std/node/_fs/_fs_dirent.ts b/std/node/_fs/_fs_dirent.ts
index 24e43145c..4a39c41fb 100644
--- a/std/node/_fs/_fs_dirent.ts
+++ b/std/node/_fs/_fs_dirent.ts
@@ -1,3 +1,4 @@
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import { notImplemented } from "../_utils.ts";
export default class Dirent {
diff --git a/std/node/_fs/_fs_dirent_test.ts b/std/node/_fs/_fs_dirent_test.ts
index aeb20f1d5..46d8b8d34 100644
--- a/std/node/_fs/_fs_dirent_test.ts
+++ b/std/node/_fs/_fs_dirent_test.ts
@@ -1,3 +1,4 @@
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import { assert, assertEquals, assertThrows } from "../../testing/asserts.ts";
import Dirent from "./_fs_dirent.ts";
diff --git a/std/node/_fs/_fs_link.ts b/std/node/_fs/_fs_link.ts
index 42ca3de89..b5d8c399c 100644
--- a/std/node/_fs/_fs_link.ts
+++ b/std/node/_fs/_fs_link.ts
@@ -1,5 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
-
import type { CallbackWithError } from "./_fs_common.ts";
import { fromFileUrl } from "../path.ts";
diff --git a/std/node/_fs/_fs_readFile_test.ts b/std/node/_fs/_fs_readFile_test.ts
index 9ada80057..2ea7831d4 100644
--- a/std/node/_fs/_fs_readFile_test.ts
+++ b/std/node/_fs/_fs_readFile_test.ts
@@ -1,3 +1,4 @@
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import { readFile, readFileSync } from "./_fs_readFile.ts";
import * as path from "../../path/mod.ts";
import { assertEquals, assert } from "../../testing/asserts.ts";
diff --git a/std/node/_fs/_fs_readlink_test.ts b/std/node/_fs/_fs_readlink_test.ts
index 437873494..0b220caa4 100644
--- a/std/node/_fs/_fs_readlink_test.ts
+++ b/std/node/_fs/_fs_readlink_test.ts
@@ -1,3 +1,4 @@
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import { readlink, readlinkSync } from "./_fs_readlink.ts";
import { assertEquals, assert } from "../../testing/asserts.ts";
import * as path from "../path.ts";
diff --git a/std/node/_fs/promises/_fs_readFile_test.ts b/std/node/_fs/promises/_fs_readFile_test.ts
index 5414a3a09..53ef373e5 100644
--- a/std/node/_fs/promises/_fs_readFile_test.ts
+++ b/std/node/_fs/promises/_fs_readFile_test.ts
@@ -1,3 +1,4 @@
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import { readFile } from "./_fs_readFile.ts";
import * as path from "../../../path/mod.ts";
import { assertEquals, assert } from "../../../testing/asserts.ts";
diff --git a/std/node/_utils.ts b/std/node/_utils.ts
index 5bd4d1075..e63b53d18 100644
--- a/std/node/_utils.ts
+++ b/std/node/_utils.ts
@@ -1,3 +1,5 @@
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
+
export function notImplemented(msg?: string): never {
const message = msg ? `Not implemented: ${msg}` : "Not implemented";
throw new Error(message);
diff --git a/std/node/assert.ts b/std/node/assert.ts
index 2a4f8a0b5..78bc4b3b5 100644
--- a/std/node/assert.ts
+++ b/std/node/assert.ts
@@ -1,3 +1,4 @@
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import {
assertEquals,
assertNotEquals,
diff --git a/std/node/assert_test.ts b/std/node/assert_test.ts
index 9d38ca56b..defcaa425 100644
--- a/std/node/assert_test.ts
+++ b/std/node/assert_test.ts
@@ -1,3 +1,4 @@
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import {
assert as denoAssert,
assertEquals,
diff --git a/std/node/assertion_error_test.ts b/std/node/assertion_error_test.ts
index 5157ea3b3..74187bc3a 100644
--- a/std/node/assertion_error_test.ts
+++ b/std/node/assertion_error_test.ts
@@ -1,3 +1,4 @@
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import { stripColor } from "../fmt/colors.ts";
import {
assert,
diff --git a/std/node/buffer.ts b/std/node/buffer.ts
index c88d7f8b7..24b77e323 100644
--- a/std/node/buffer.ts
+++ b/std/node/buffer.ts
@@ -1,3 +1,4 @@
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import * as hex from "../encoding/hex.ts";
import * as base64 from "../encoding/base64.ts";
import { notImplemented, normalizeEncoding } from "./_utils.ts";
diff --git a/std/node/buffer_test.ts b/std/node/buffer_test.ts
index a72569b7c..b7d76113b 100644
--- a/std/node/buffer_test.ts
+++ b/std/node/buffer_test.ts
@@ -1,3 +1,4 @@
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import { assert, assertEquals, assertThrows } from "../testing/asserts.ts";
import Buffer from "./buffer.ts";
diff --git a/std/node/events_test.ts b/std/node/events_test.ts
index a3285f24b..557a3924d 100644
--- a/std/node/events_test.ts
+++ b/std/node/events_test.ts
@@ -1,3 +1,4 @@
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import {
assert,
assertEquals,
diff --git a/std/node/fs.ts b/std/node/fs.ts
index 4bb514c7a..31e2e5ded 100644
--- a/std/node/fs.ts
+++ b/std/node/fs.ts
@@ -1,5 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
-
import { access, accessSync } from "./_fs/_fs_access.ts";
import { appendFile, appendFileSync } from "./_fs/_fs_appendFile.ts";
import { chmod, chmodSync } from "./_fs/_fs_chmod.ts";
diff --git a/std/node/global.ts b/std/node/global.ts
index 1049f8ba1..2f894c8e5 100644
--- a/std/node/global.ts
+++ b/std/node/global.ts
@@ -1,3 +1,5 @@
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
+
Object.defineProperty(globalThis, Symbol.toStringTag, {
value: "global",
writable: false,
diff --git a/std/node/module_test.ts b/std/node/module_test.ts
index 12021782a..4752763c9 100644
--- a/std/node/module_test.ts
+++ b/std/node/module_test.ts
@@ -1,3 +1,4 @@
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
/* eslint-disable @typescript-eslint/no-var-requires */
import {
assertEquals,
diff --git a/std/node/os_test.ts b/std/node/os_test.ts
index 34f8d0f87..89a0a03aa 100644
--- a/std/node/os_test.ts
+++ b/std/node/os_test.ts
@@ -1,3 +1,4 @@
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import { assert, assertThrows, assertEquals } from "../testing/asserts.ts";
import * as os from "./os.ts";
diff --git a/std/node/path.ts b/std/node/path.ts
index e8295281a..a206eb792 100644
--- a/std/node/path.ts
+++ b/std/node/path.ts
@@ -1 +1,2 @@
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
export * from "../path/mod.ts";
diff --git a/std/node/process.ts b/std/node/process.ts
index b42c885c0..62bef922c 100644
--- a/std/node/process.ts
+++ b/std/node/process.ts
@@ -1,3 +1,4 @@
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import { notImplemented } from "./_utils.ts";
/** https://nodejs.org/api/process.html#process_process_arch */
diff --git a/std/node/process_test.ts b/std/node/process_test.ts
index a277eaa07..684beb8d2 100644
--- a/std/node/process_test.ts
+++ b/std/node/process_test.ts
@@ -1,4 +1,5 @@
// deno-lint-ignore-file no-undef
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import { assert, assertThrows, assertEquals } from "../testing/asserts.ts";
import * as path from "../path/mod.ts";
diff --git a/std/node/querystring_test.ts b/std/node/querystring_test.ts
index 6ce681ca5..7f1efd4fd 100644
--- a/std/node/querystring_test.ts
+++ b/std/node/querystring_test.ts
@@ -1,3 +1,4 @@
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import { assertEquals } from "../testing/asserts.ts";
import { stringify, parse } from "./querystring.ts";
diff --git a/std/node/string_decoder_test.ts b/std/node/string_decoder_test.ts
index de32b6815..7c36ea383 100644
--- a/std/node/string_decoder_test.ts
+++ b/std/node/string_decoder_test.ts
@@ -1,3 +1,4 @@
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import { assertEquals } from "../testing/asserts.ts";
import Buffer from "./buffer.ts";
import { StringDecoder } from "./string_decoder.ts";
diff --git a/std/node/timers.ts b/std/node/timers.ts
index b91985069..792e37581 100644
--- a/std/node/timers.ts
+++ b/std/node/timers.ts
@@ -1,3 +1,4 @@
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// TODO: implement the 'NodeJS.Timeout' and 'NodeJS.Immediate' versions of the timers.
// https://github.com/DefinitelyTyped/DefinitelyTyped/blob/1163ead296d84e7a3c80d71e7c81ecbd1a130e9a/types/node/v12/globals.d.ts#L1120-L1131
export const setTimeout = window.setTimeout;
diff --git a/std/node/url_test.ts b/std/node/url_test.ts
index 5e64b6295..a99acc4eb 100644
--- a/std/node/url_test.ts
+++ b/std/node/url_test.ts
@@ -1,3 +1,4 @@
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import { assertEquals } from "../testing/asserts.ts";
import * as url from "./url.ts";
diff --git a/std/node/util.ts b/std/node/util.ts
index 9cca3e835..27aa5a12b 100644
--- a/std/node/util.ts
+++ b/std/node/util.ts
@@ -1,3 +1,4 @@
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
export { promisify } from "./_util/_util_promisify.ts";
export { callbackify } from "./_util/_util_callbackify.ts";
import * as types from "./_util/_util_types.ts";
diff --git a/std/node/util_test.ts b/std/node/util_test.ts
index b1be36ce1..9b55d0178 100644
--- a/std/node/util_test.ts
+++ b/std/node/util_test.ts
@@ -1,3 +1,4 @@
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import { assert, assertEquals } from "../testing/asserts.ts";
import { stripColor } from "../fmt/colors.ts";
import * as util from "./util.ts";
diff --git a/std/path/_interface.ts b/std/path/_interface.ts
index 6c82c9c35..c05af9f5e 100644
--- a/std/path/_interface.ts
+++ b/std/path/_interface.ts
@@ -1,3 +1,4 @@
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
/** This module is browser compatible. */
/**
diff --git a/std/path/glob_test.ts b/std/path/glob_test.ts
index bb3f8add0..015988cfe 100644
--- a/std/path/glob_test.ts
+++ b/std/path/glob_test.ts
@@ -1,3 +1,4 @@
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import { assert, assertEquals } from "../testing/asserts.ts";
import {
GlobToRegExpOptions,
diff --git a/std/path/join_test.ts b/std/path/join_test.ts
index b7311406f..032b88ad9 100644
--- a/std/path/join_test.ts
+++ b/std/path/join_test.ts
@@ -1,3 +1,4 @@
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import { assertEquals } from "../testing/asserts.ts";
import * as path from "./mod.ts";
diff --git a/std/path/test.ts b/std/path/test.ts
index 543491080..57684a50e 100644
--- a/std/path/test.ts
+++ b/std/path/test.ts
@@ -1 +1,2 @@
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import "./mod.ts";
diff --git a/std/signal/mod.ts b/std/signal/mod.ts
index 44ed24f13..7c662ea6e 100644
--- a/std/signal/mod.ts
+++ b/std/signal/mod.ts
@@ -1,3 +1,4 @@
+// Copyright 2018-2020 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 a21cc1d64..8f495dfb3 100644
--- a/std/signal/test.ts
+++ b/std/signal/test.ts
@@ -1,3 +1,4 @@
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import { assertEquals, assertThrows } from "../testing/asserts.ts";
import { delay } from "../async/delay.ts";
import { signal, onSignal } from "./mod.ts";
diff --git a/std/testing/bench_example.ts b/std/testing/bench_example.ts
index 366521f85..41b1ca65c 100644
--- a/std/testing/bench_example.ts
+++ b/std/testing/bench_example.ts
@@ -1,3 +1,4 @@
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// https://deno.land/std/testing/bench.ts
import { BenchmarkTimer, bench, runBenchmarks } from "./bench.ts";
diff --git a/std/testing/bench_test.ts b/std/testing/bench_test.ts
index 9e5253b1a..97517358a 100644
--- a/std/testing/bench_test.ts
+++ b/std/testing/bench_test.ts
@@ -1,3 +1,4 @@
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import {
bench,
runBenchmarks,
diff --git a/std/testing/diff_test.ts b/std/testing/diff_test.ts
index 072f39622..33752d89f 100644
--- a/std/testing/diff_test.ts
+++ b/std/testing/diff_test.ts
@@ -1,3 +1,4 @@
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import diff from "./diff.ts";
import { assertEquals } from "../testing/asserts.ts";
diff --git a/std/textproto/mod.ts b/std/textproto/mod.ts
index b23ccee19..b551a51e1 100644
--- a/std/textproto/mod.ts
+++ b/std/textproto/mod.ts
@@ -1,3 +1,4 @@
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Based on https://github.com/golang/go/tree/master/src/net/textproto
// Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
diff --git a/std/textproto/test.ts b/std/textproto/test.ts
index 1d4bed50b..3f3b3f9a6 100644
--- a/std/textproto/test.ts
+++ b/std/textproto/test.ts
@@ -1,3 +1,4 @@
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Based on https://github.com/golang/go/blob/master/src/net/textproto/reader_test.go
// Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
diff --git a/std/uuid/v1.ts b/std/uuid/v1.ts
index 6e48fa55f..ef1882d85 100644
--- a/std/uuid/v1.ts
+++ b/std/uuid/v1.ts
@@ -1,5 +1,4 @@
// Copyright 2018-2020 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 488492732..364a4c304 100644
--- a/std/uuid/v1_test.ts
+++ b/std/uuid/v1_test.ts
@@ -1,5 +1,4 @@
// Copyright 2018-2020 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 53fbc92e3..f338440f5 100644
--- a/std/uuid/v4.ts
+++ b/std/uuid/v4.ts
@@ -1,5 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
-
import { bytesToUuid } from "./_common.ts";
const UUID_RE = new RegExp(
diff --git a/std/uuid/v5.ts b/std/uuid/v5.ts
index e940f0c68..9b4c4111a 100644
--- a/std/uuid/v5.ts
+++ b/std/uuid/v5.ts
@@ -1,5 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
-
import {
bytesToUuid,
createBuffer,
diff --git a/std/version.ts b/std/version.ts
index 5908e116a..4343a1327 100644
--- a/std/version.ts
+++ b/std/version.ts
@@ -1,3 +1,4 @@
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
/** Version of the Deno standard modules
*
* Deno std is versioned differently than Deno cli because it is still unstable;
diff --git a/std/wasi/snapshot_preview1.ts b/std/wasi/snapshot_preview1.ts
index 15c1a9a9c..456ef2775 100644
--- a/std/wasi/snapshot_preview1.ts
+++ b/std/wasi/snapshot_preview1.ts
@@ -1,4 +1,5 @@
/* eslint-disable */
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import { resolve } from "../path/mod.ts";
diff --git a/std/wasi/snapshot_preview1_test.ts b/std/wasi/snapshot_preview1_test.ts
index c67ddb356..e8230180b 100644
--- a/std/wasi/snapshot_preview1_test.ts
+++ b/std/wasi/snapshot_preview1_test.ts
@@ -1,3 +1,4 @@
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import { assertEquals } from "../testing/asserts.ts";
import { copy } from "../fs/mod.ts";
import * as path from "../path/mod.ts";
diff --git a/std/wasi/snapshot_preview1_test_runner.ts b/std/wasi/snapshot_preview1_test_runner.ts
index b85fdc11c..4c990b43d 100644
--- a/std/wasi/snapshot_preview1_test_runner.ts
+++ b/std/wasi/snapshot_preview1_test_runner.ts
@@ -1,3 +1,4 @@
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import Context from "./snapshot_preview1.ts";
const options = JSON.parse(Deno.args[0]);
diff --git a/std/ws/example_test.ts b/std/ws/example_test.ts
index 2fcea5506..8b38e3952 100644
--- a/std/ws/example_test.ts
+++ b/std/ws/example_test.ts
@@ -1 +1,2 @@
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import "./example_server.ts";