diff options
Diffstat (limited to 'std')
120 files changed, 120 insertions, 120 deletions
diff --git a/std/archive/tar.ts b/std/archive/tar.ts index e53cd9111..15d7fe6e8 100644 --- a/std/archive/tar.ts +++ b/std/archive/tar.ts @@ -6,7 +6,7 @@ * * Copyright (c) 2011 T. Jameson Little * Copyright (c) 2019 Jun Kato - * Copyright (c) 2019 the Deno authors + * Copyright (c) 2020 the Deno authors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/std/bytes/mod.ts b/std/bytes/mod.ts index a42eaffd2..0157b39a5 100644 --- a/std/bytes/mod.ts +++ b/std/bytes/mod.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { copyBytes } from "../io/util.ts"; /** Find first index of binary pattern from a. If not found, then return -1 **/ diff --git a/std/bytes/test.ts b/std/bytes/test.ts index 0a779dd3d..fc7089c2f 100644 --- a/std/bytes/test.ts +++ b/std/bytes/test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { findIndex, findLastIndex, equal, hasPrefix, repeat } from "./mod.ts"; import { test } from "../testing/mod.ts"; diff --git a/std/datetime/mod.ts b/std/datetime/mod.ts index 219e4ae2c..8f2db2991 100644 --- a/std/datetime/mod.ts +++ b/std/datetime/mod.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { pad } from "../strings/pad.ts"; export type DateFormat = "mm-dd-yyyy" | "dd-mm-yyyy" | "yyyy-mm-dd"; diff --git a/std/datetime/test.ts b/std/datetime/test.ts index c3977258a..1958c6fab 100644 --- a/std/datetime/test.ts +++ b/std/datetime/test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { test } from "../testing/mod.ts"; import { assertEquals, assertThrows } from "../testing/asserts.ts"; import * as datetime from "./mod.ts"; diff --git a/std/encoding/csv.ts b/std/encoding/csv.ts index 8cfa1cab9..cc486641b 100644 --- a/std/encoding/csv.ts +++ b/std/encoding/csv.ts @@ -1,6 +1,6 @@ // Ported from Go: // https://github.com/golang/go/blob/go1.12.5/src/encoding/csv/ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { BufReader } from "../io/bufio.ts"; import { TextProtoReader } from "../textproto/mod.ts"; diff --git a/std/encoding/hex.ts b/std/encoding/hex.ts index de3d76869..3aee59310 100644 --- a/std/encoding/hex.ts +++ b/std/encoding/hex.ts @@ -3,7 +3,7 @@ // 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. -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. const hextable = new TextEncoder().encode("0123456789abcdef"); diff --git a/std/encoding/hex_test.ts b/std/encoding/hex_test.ts index 5ea81ebdb..126aa8ac4 100644 --- a/std/encoding/hex_test.ts +++ b/std/encoding/hex_test.ts @@ -3,7 +3,7 @@ // 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. -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { test, runIfMain } from "../testing/mod.ts"; import { assertEquals, assertThrows } from "../testing/asserts.ts"; diff --git a/std/encoding/toml.ts b/std/encoding/toml.ts index 0cbd51ba0..6af31a1a1 100644 --- a/std/encoding/toml.ts +++ b/std/encoding/toml.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { deepAssign } from "../util/deep_assign.ts"; import { pad } from "../strings/pad.ts"; diff --git a/std/encoding/toml_test.ts b/std/encoding/toml_test.ts index 065ab506c..da5251458 100644 --- a/std/encoding/toml_test.ts +++ b/std/encoding/toml_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { runIfMain, test } from "../testing/mod.ts"; import { assertEquals } from "../testing/asserts.ts"; import { existsSync } from "../fs/exists.ts"; diff --git a/std/encoding/yaml.ts b/std/encoding/yaml.ts index 27c2874ec..9abe30b4b 100644 --- a/std/encoding/yaml.ts +++ b/std/encoding/yaml.ts @@ -1,7 +1,7 @@ // Ported from js-yaml v3.13.1: // https://github.com/nodeca/js-yaml/commit/665aadda42349dcae869f12040d9b10ef18d12da // Copyright 2011-2015 by Vitaly Puzrin. All rights reserved. MIT license. -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. export { ParseOptions, parse } from "./yaml/parse.ts"; export { diff --git a/std/encoding/yaml_test.ts b/std/encoding/yaml_test.ts index 40de6a94d..a5a8374cc 100644 --- a/std/encoding/yaml_test.ts +++ b/std/encoding/yaml_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import "./yaml/parse_test.ts"; import "./yaml/stringify_test.ts"; diff --git a/std/examples/cat.ts b/std/examples/cat.ts index 9e713d862..92d5ae397 100644 --- a/std/examples/cat.ts +++ b/std/examples/cat.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. const filenames = Deno.args.slice(1); for (const filename of filenames) { const file = await Deno.open(filename); diff --git a/std/examples/catj.ts b/std/examples/catj.ts index 87fd6a964..2f578790d 100644 --- a/std/examples/catj.ts +++ b/std/examples/catj.ts @@ -1,7 +1,7 @@ #!/usr/bin/env -S deno --allow-read // Ported from: https://github.com/soheilpro/catj // Copyright (c) 2014 Soheil Rashidi -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. // Install using `deno install` // $ deno install catj https://deno.land/std/examples/catj.ts --allow-read diff --git a/std/examples/colors.ts b/std/examples/colors.ts index 6f03355c6..e02c90746 100644 --- a/std/examples/colors.ts +++ b/std/examples/colors.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { bgBlue, red, bold, italic } from "../fmt/colors.ts"; console.log(bgBlue(italic(red(bold("Hello world!"))))); diff --git a/std/examples/curl.ts b/std/examples/curl.ts index b62e58b27..65a687262 100644 --- a/std/examples/curl.ts +++ b/std/examples/curl.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. const url_ = Deno.args[1]; const res = await fetch(url_); await Deno.copy(Deno.stdout, res.body); diff --git a/std/examples/echo_server.ts b/std/examples/echo_server.ts index 1eafae50c..dbcc9b5ae 100644 --- a/std/examples/echo_server.ts +++ b/std/examples/echo_server.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 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/gist.ts b/std/examples/gist.ts index d0e369c66..c9a9b024b 100755 --- a/std/examples/gist.ts +++ b/std/examples/gist.ts @@ -1,5 +1,5 @@ #!/usr/bin/env -S deno --allow-net --allow-env -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { parse } from "https://deno.land/std/flags/mod.ts"; function pathBase(p: string): string { diff --git a/std/examples/test.ts b/std/examples/test.ts index 9887b1267..26dd989e4 100644 --- a/std/examples/test.ts +++ b/std/examples/test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. const { run } = Deno; import { test } from "../testing/mod.ts"; import { assertEquals } from "../testing/asserts.ts"; diff --git a/std/flags/all_bool_test.ts b/std/flags/all_bool_test.ts index 711bf3da1..d738d1afc 100755 --- a/std/flags/all_bool_test.ts +++ b/std/flags/all_bool_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { test } from "../testing/mod.ts"; import { assertEquals } from "../testing/asserts.ts"; import { parse } from "./mod.ts"; diff --git a/std/flags/bool_test.ts b/std/flags/bool_test.ts index 5ef052e2c..fd3b6487f 100755 --- a/std/flags/bool_test.ts +++ b/std/flags/bool_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { test } from "../testing/mod.ts"; import { assertEquals } from "../testing/asserts.ts"; import { parse } from "./mod.ts"; diff --git a/std/flags/dash_test.ts b/std/flags/dash_test.ts index f4901b352..053351fbd 100755 --- a/std/flags/dash_test.ts +++ b/std/flags/dash_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { test } from "../testing/mod.ts"; import { assertEquals } from "../testing/asserts.ts"; import { parse } from "./mod.ts"; diff --git a/std/flags/default_bool_test.ts b/std/flags/default_bool_test.ts index dc953cdc8..bf44f5b47 100755 --- a/std/flags/default_bool_test.ts +++ b/std/flags/default_bool_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { test } from "../testing/mod.ts"; import { assertEquals } from "../testing/asserts.ts"; import { parse } from "./mod.ts"; diff --git a/std/flags/dotted_test.ts b/std/flags/dotted_test.ts index 3ec7409e7..6b98d11d0 100755 --- a/std/flags/dotted_test.ts +++ b/std/flags/dotted_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { test } from "../testing/mod.ts"; import { assertEquals } from "../testing/asserts.ts"; import { parse } from "./mod.ts"; diff --git a/std/flags/example.ts b/std/flags/example.ts index 04ace4673..ad0317269 100644 --- a/std/flags/example.ts +++ b/std/flags/example.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. const { args } = Deno; import { parse } from "./mod.ts"; diff --git a/std/flags/kv_short_test.ts b/std/flags/kv_short_test.ts index 271e5c67d..e5aec0fd2 100755 --- a/std/flags/kv_short_test.ts +++ b/std/flags/kv_short_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { test } from "../testing/mod.ts"; import { assertEquals } from "../testing/asserts.ts"; import { parse } from "./mod.ts"; diff --git a/std/flags/long_test.ts b/std/flags/long_test.ts index 5b14fc630..7c19efaca 100755 --- a/std/flags/long_test.ts +++ b/std/flags/long_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { test } from "../testing/mod.ts"; import { assertEquals } from "../testing/asserts.ts"; import { parse } from "./mod.ts"; diff --git a/std/flags/mod.ts b/std/flags/mod.ts index 19defd1ed..5f4b18a18 100644 --- a/std/flags/mod.ts +++ b/std/flags/mod.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. export interface ArgParsingOptions { unknown?: (i: unknown) => unknown; boolean?: boolean | string | string[]; diff --git a/std/flags/num_test.ts b/std/flags/num_test.ts index 1123f7ecc..265a4a3d4 100755 --- a/std/flags/num_test.ts +++ b/std/flags/num_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { test } from "../testing/mod.ts"; import { assertEquals } from "../testing/asserts.ts"; import { parse } from "./mod.ts"; diff --git a/std/flags/parse_test.ts b/std/flags/parse_test.ts index 9918ce8bb..6ed158a9a 100755 --- a/std/flags/parse_test.ts +++ b/std/flags/parse_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { test } from "../testing/mod.ts"; import { assertEquals } from "../testing/asserts.ts"; import { parse } from "./mod.ts"; diff --git a/std/flags/short_test.ts b/std/flags/short_test.ts index f624381b1..ff0190437 100755 --- a/std/flags/short_test.ts +++ b/std/flags/short_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { test } from "../testing/mod.ts"; import { assertEquals } from "../testing/asserts.ts"; import { parse } from "./mod.ts"; diff --git a/std/flags/stop_early_test.ts b/std/flags/stop_early_test.ts index 144a2921f..f054d780b 100755 --- a/std/flags/stop_early_test.ts +++ b/std/flags/stop_early_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { test } from "../testing/mod.ts"; import { assertEquals } from "../testing/asserts.ts"; import { parse } from "./mod.ts"; diff --git a/std/flags/unknown_test.ts b/std/flags/unknown_test.ts index dde725a75..b7817564c 100755 --- a/std/flags/unknown_test.ts +++ b/std/flags/unknown_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { test } from "../testing/mod.ts"; import { assertEquals } from "../testing/asserts.ts"; import { parse } from "./mod.ts"; diff --git a/std/flags/whitespace_test.ts b/std/flags/whitespace_test.ts index 9e6ba7115..9f66dfdfc 100755 --- a/std/flags/whitespace_test.ts +++ b/std/flags/whitespace_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { test } from "../testing/mod.ts"; import { assertEquals } from "../testing/asserts.ts"; import { parse } from "./mod.ts"; diff --git a/std/fmt/colors.ts b/std/fmt/colors.ts index 3f241d5b0..9476ce076 100644 --- a/std/fmt/colors.ts +++ b/std/fmt/colors.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. /** * A module to print ANSI terminal colors. Inspired by chalk, kleur, and colors * on npm. diff --git a/std/fmt/colors_test.ts b/std/fmt/colors_test.ts index 467cda1bb..6113bd22f 100644 --- a/std/fmt/colors_test.ts +++ b/std/fmt/colors_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { test } from "../testing/mod.ts"; import { assertEquals } from "../testing/asserts.ts"; import * as c from "./colors.ts"; diff --git a/std/fs/copy.ts b/std/fs/copy.ts index 783597882..44d3a51e2 100644 --- a/std/fs/copy.ts +++ b/std/fs/copy.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import * as path from "../path/mod.ts"; import { ensureDir, ensureDirSync } from "./ensure_dir.ts"; import { isSubdir, getFileInfoType } from "./utils.ts"; diff --git a/std/fs/copy_test.ts b/std/fs/copy_test.ts index da84e252c..8134eb1d8 100644 --- a/std/fs/copy_test.ts +++ b/std/fs/copy_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { test } from "../testing/mod.ts"; import { assertEquals, diff --git a/std/fs/empty_dir.ts b/std/fs/empty_dir.ts index ded02b7e4..a838de3b8 100644 --- a/std/fs/empty_dir.ts +++ b/std/fs/empty_dir.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { join } from "../path/mod.ts"; const { readDir, diff --git a/std/fs/empty_dir_test.ts b/std/fs/empty_dir_test.ts index d25461ce3..55fdb52dc 100644 --- a/std/fs/empty_dir_test.ts +++ b/std/fs/empty_dir_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { test } from "../testing/mod.ts"; import { assertEquals, diff --git a/std/fs/ensure_dir.ts b/std/fs/ensure_dir.ts index de0cba333..92db873b3 100644 --- a/std/fs/ensure_dir.ts +++ b/std/fs/ensure_dir.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { getFileInfoType } from "./utils.ts"; const { lstat, lstatSync, mkdir, mkdirSync, ErrorKind } = Deno; diff --git a/std/fs/ensure_dir_test.ts b/std/fs/ensure_dir_test.ts index c0a06749b..998b74e2d 100644 --- a/std/fs/ensure_dir_test.ts +++ b/std/fs/ensure_dir_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { test } from "../testing/mod.ts"; import { assertThrows, assertThrowsAsync } from "../testing/asserts.ts"; import * as path from "../path/mod.ts"; diff --git a/std/fs/ensure_file.ts b/std/fs/ensure_file.ts index e46d7b5f9..06c65b5f7 100644 --- a/std/fs/ensure_file.ts +++ b/std/fs/ensure_file.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 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 "./utils.ts"; diff --git a/std/fs/ensure_file_test.ts b/std/fs/ensure_file_test.ts index efd88d983..855ad4f50 100644 --- a/std/fs/ensure_file_test.ts +++ b/std/fs/ensure_file_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { test } from "../testing/mod.ts"; import { assertThrows, assertThrowsAsync } from "../testing/asserts.ts"; import * as path from "../path/mod.ts"; diff --git a/std/fs/ensure_link.ts b/std/fs/ensure_link.ts index f2db5243c..e43325a25 100644 --- a/std/fs/ensure_link.ts +++ b/std/fs/ensure_link.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 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 d15e5c1f6..e438bf0e3 100644 --- a/std/fs/ensure_link_test.ts +++ b/std/fs/ensure_link_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. // TODO(axetroy): Add test for Windows once symlink is implemented for Windows. import { test } from "../testing/mod.ts"; import { diff --git a/std/fs/ensure_symlink.ts b/std/fs/ensure_symlink.ts index 4c771e5f9..03c355b5d 100644 --- a/std/fs/ensure_symlink.ts +++ b/std/fs/ensure_symlink.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 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 6c1fe5fb5..ee32d4861 100644 --- a/std/fs/ensure_symlink_test.ts +++ b/std/fs/ensure_symlink_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. // TODO(axetroy): Add test for Windows once symlink is implemented for Windows. import { test } from "../testing/mod.ts"; import { diff --git a/std/fs/eol.ts b/std/fs/eol.ts index 55d03fa83..d4bb8032c 100644 --- a/std/fs/eol.ts +++ b/std/fs/eol.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 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 4669c795a..92306ce6b 100644 --- a/std/fs/eol_test.ts +++ b/std/fs/eol_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { test } from "../testing/mod.ts"; import { assertEquals } from "../testing/asserts.ts"; import { format, detect, EOL } from "./eol.ts"; diff --git a/std/fs/exists.ts b/std/fs/exists.ts index aa6334b43..4584dbff9 100644 --- a/std/fs/exists.ts +++ b/std/fs/exists.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. const { lstat, lstatSync, DenoError, ErrorKind } = Deno; /** * 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 69c18d467..b8c968a02 100644 --- a/std/fs/exists_test.ts +++ b/std/fs/exists_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { test } from "../testing/mod.ts"; import { assertEquals } from "../testing/asserts.ts"; import * as path from "../path/mod.ts"; diff --git a/std/fs/mod.ts b/std/fs/mod.ts index 684ad94bd..aa76b6925 100644 --- a/std/fs/mod.ts +++ b/std/fs/mod.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 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 190f88609..e87d59c6e 100644 --- a/std/fs/move.ts +++ b/std/fs/move.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { exists, existsSync } from "./exists.ts"; import { isSubdir } from "./utils.ts"; diff --git a/std/fs/move_test.ts b/std/fs/move_test.ts index d45ae1cf5..27f66f7de 100644 --- a/std/fs/move_test.ts +++ b/std/fs/move_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { test } from "../testing/mod.ts"; import { assertEquals, diff --git a/std/fs/read_file_str.ts b/std/fs/read_file_str.ts index 9f87c9338..7420183e2 100644 --- a/std/fs/read_file_str.ts +++ b/std/fs/read_file_str.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. export interface ReadOptions { encoding?: string; diff --git a/std/fs/read_json.ts b/std/fs/read_json.ts index ca5928afe..aa7a0a477 100644 --- a/std/fs/read_json.ts +++ b/std/fs/read_json.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. /** Reads a JSON file and then parses it into an object */ export async function readJson(filePath: string): Promise<unknown> { diff --git a/std/fs/read_json_test.ts b/std/fs/read_json_test.ts index c4c8d67d8..c89006ec1 100644 --- a/std/fs/read_json_test.ts +++ b/std/fs/read_json_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { test } from "../testing/mod.ts"; import { assertEquals, diff --git a/std/fs/write_file_str.ts b/std/fs/write_file_str.ts index a4a4beb5b..670399dcc 100644 --- a/std/fs/write_file_str.ts +++ b/std/fs/write_file_str.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. /** * Write the string to file synchronously. diff --git a/std/fs/write_json.ts b/std/fs/write_json.ts index c5936d3f8..e382fa306 100644 --- a/std/fs/write_json.ts +++ b/std/fs/write_json.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. /* eslint-disable @typescript-eslint/no-explicit-any */ type Replacer = (key: string, value: any) => any; diff --git a/std/fs/write_json_test.ts b/std/fs/write_json_test.ts index 38bc3ed4b..5b1d88c5a 100644 --- a/std/fs/write_json_test.ts +++ b/std/fs/write_json_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { test } from "../testing/mod.ts"; import { assertEquals, diff --git a/std/http/cookie.ts b/std/http/cookie.ts index 4d2704da1..b63c31216 100644 --- a/std/http/cookie.ts +++ b/std/http/cookie.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. // Structured similarly to Go's cookie.go // https://github.com/golang/go/blob/master/src/net/http/cookie.go import { ServerRequest, Response } from "./server.ts"; diff --git a/std/http/cookie_test.ts b/std/http/cookie_test.ts index eed88a69e..66061a5a4 100644 --- a/std/http/cookie_test.ts +++ b/std/http/cookie_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { ServerRequest, Response } from "./server.ts"; import { getCookies, delCookie, setCookie } from "./cookie.ts"; import { assert, assertEquals } from "../testing/asserts.ts"; diff --git a/std/http/file_server.ts b/std/http/file_server.ts index 4fd49930c..4510023f7 100755 --- a/std/http/file_server.ts +++ b/std/http/file_server.ts @@ -1,5 +1,5 @@ #!/usr/bin/env -S deno --allow-net -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. // This program serves files in the current directory over HTTP. // TODO Stream responses instead of reading them into memory. diff --git a/std/http/file_server_test.ts b/std/http/file_server_test.ts index deb08f198..170979b61 100644 --- a/std/http/file_server_test.ts +++ b/std/http/file_server_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { test } from "../testing/mod.ts"; import { assert, assertEquals } from "../testing/asserts.ts"; import { BufReader } from "../io/bufio.ts"; diff --git a/std/http/http_bench.ts b/std/http/http_bench.ts index 7b38e742a..8ca389e5c 100644 --- a/std/http/http_bench.ts +++ b/std/http/http_bench.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { serve } from "./server.ts"; const addr = Deno.args[1] || "127.0.0.1:4500"; diff --git a/std/http/http_status.ts b/std/http/http_status.ts index cad0b9e1c..ead1e1ff0 100644 --- a/std/http/http_status.ts +++ b/std/http/http_status.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. /** HTTP status codes */ export enum Status { diff --git a/std/http/racing_server.ts b/std/http/racing_server.ts index 17d982460..629fef2db 100644 --- a/std/http/racing_server.ts +++ b/std/http/racing_server.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { serve, ServerRequest } from "./server.ts"; import { delay } from "../util/async.ts"; diff --git a/std/http/server.ts b/std/http/server.ts index 457e0461e..0966d450a 100644 --- a/std/http/server.ts +++ b/std/http/server.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. const { listen, listenTLS, copy, toAsyncIterator } = Deno; type Listener = Deno.Listener; type Conn = Deno.Conn; diff --git a/std/installer/mod.ts b/std/installer/mod.ts index 7751bc12e..b39121ab9 100644 --- a/std/installer/mod.ts +++ b/std/installer/mod.ts @@ -1,5 +1,5 @@ #!/usr/bin/env -S deno --allow-all -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. const { env, stdin, args, exit, writeFile, chmod, run } = Deno; import { parse } from "../flags/mod.ts"; import { exists } from "../fs/exists.ts"; diff --git a/std/installer/test.ts b/std/installer/test.ts index 371cbdfa0..5239dc157 100644 --- a/std/installer/test.ts +++ b/std/installer/test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. const { run, stat, makeTempDir, remove, env, readAll } = Deno; import { test, runIfMain, TestFunction } from "../testing/mod.ts"; diff --git a/std/io/ioutil.ts b/std/io/ioutil.ts index f1ca54e14..83d639463 100644 --- a/std/io/ioutil.ts +++ b/std/io/ioutil.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { BufReader, UnexpectedEOFError } from "./bufio.ts"; type Reader = Deno.Reader; type Writer = Deno.Writer; diff --git a/std/io/ioutil_test.ts b/std/io/ioutil_test.ts index 97ab244c0..26f307a6b 100644 --- a/std/io/ioutil_test.ts +++ b/std/io/ioutil_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. const { Buffer } = Deno; type Reader = Deno.Reader; import { test } from "../testing/mod.ts"; diff --git a/std/io/readers.ts b/std/io/readers.ts index 0208de413..5b1bf1948 100644 --- a/std/io/readers.ts +++ b/std/io/readers.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. type Reader = Deno.Reader; import { encode } from "../strings/mod.ts"; diff --git a/std/io/util.ts b/std/io/util.ts index 7ecf0e48d..1226640bd 100644 --- a/std/io/util.ts +++ b/std/io/util.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. const { Buffer, mkdir, open } = Deno; type File = Deno.File; type Reader = Deno.Reader; diff --git a/std/io/util_test.ts b/std/io/util_test.ts index 4f97bf5ef..472b0dfb9 100644 --- a/std/io/util_test.ts +++ b/std/io/util_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. const { remove } = Deno; import { test } from "../testing/mod.ts"; import { assert, assertEquals } from "../testing/asserts.ts"; diff --git a/std/io/writers.ts b/std/io/writers.ts index 91d19a9d7..f23277f4c 100644 --- a/std/io/writers.ts +++ b/std/io/writers.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. type Writer = Deno.Writer; import { decode, encode } from "../strings/mod.ts"; diff --git a/std/log/handlers.ts b/std/log/handlers.ts index 93bdd3edd..32b0525e7 100644 --- a/std/log/handlers.ts +++ b/std/log/handlers.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. const { open } = Deno; type File = Deno.File; type Writer = Deno.Writer; diff --git a/std/log/handlers_test.ts b/std/log/handlers_test.ts index 329541fa1..bfba4f840 100644 --- a/std/log/handlers_test.ts +++ b/std/log/handlers_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { test } from "../testing/mod.ts"; import { assertEquals } from "../testing/asserts.ts"; import { LogLevel, getLevelName, getLevelByName } from "./levels.ts"; diff --git a/std/log/levels.ts b/std/log/levels.ts index 20cafb205..599629f85 100644 --- a/std/log/levels.ts +++ b/std/log/levels.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. export const LogLevel: Record<string, number> = { NOTSET: 0, DEBUG: 10, diff --git a/std/log/logger.ts b/std/log/logger.ts index 482743b23..99d17ef48 100644 --- a/std/log/logger.ts +++ b/std/log/logger.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { LogLevel, getLevelByName, getLevelName } from "./levels.ts"; import { BaseHandler } from "./handlers.ts"; diff --git a/std/log/logger_test.ts b/std/log/logger_test.ts index d8d205c08..2385ac378 100644 --- a/std/log/logger_test.ts +++ b/std/log/logger_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { test } from "../testing/mod.ts"; import { assertEquals } from "../testing/asserts.ts"; import { LogRecord, Logger } from "./logger.ts"; diff --git a/std/log/mod.ts b/std/log/mod.ts index 3f34d7f1d..6006b73e1 100644 --- a/std/log/mod.ts +++ b/std/log/mod.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { Logger } from "./logger.ts"; import { BaseHandler, diff --git a/std/log/test.ts b/std/log/test.ts index 5a17f9a35..a970d10ba 100644 --- a/std/log/test.ts +++ b/std/log/test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { test } from "../testing/mod.ts"; import { assertEquals } from "../testing/asserts.ts"; import * as log from "./mod.ts"; diff --git a/std/media_types/deps.ts b/std/media_types/deps.ts index ee095f50c..2a56d2079 100644 --- a/std/media_types/deps.ts +++ b/std/media_types/deps.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. export { extname } from "../path/mod.ts"; diff --git a/std/media_types/mod.ts b/std/media_types/mod.ts index b7c75fb22..6a6067a0e 100644 --- a/std/media_types/mod.ts +++ b/std/media_types/mod.ts @@ -5,7 +5,7 @@ * * Copyright (c) 2014 Jonathan Ong <me@jongleberry.com> * Copyright (c) 2015 Douglas Christopher Wilson <doug@somethingdoug.com> - * Copyright (c) 2019 the Deno authors + * Copyright (c) 2020 the Deno authors * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the diff --git a/std/media_types/test.ts b/std/media_types/test.ts index 9d630ad10..155dd6e3d 100644 --- a/std/media_types/test.ts +++ b/std/media_types/test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { test } from "../testing/mod.ts"; import { assertEquals } from "../testing/asserts.ts"; diff --git a/std/mime/multipart.ts b/std/mime/multipart.ts index 9fdec99b1..26860e3de 100644 --- a/std/mime/multipart.ts +++ b/std/mime/multipart.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. const { Buffer, copy, remove } = Deno; const { min, max } = Math; diff --git a/std/mime/multipart_test.ts b/std/mime/multipart_test.ts index 4382ec670..4658ce976 100644 --- a/std/mime/multipart_test.ts +++ b/std/mime/multipart_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. const { Buffer, copy, open, remove } = Deno; import { diff --git a/std/multipart/formfile.ts b/std/multipart/formfile.ts index a0e721a15..0f7a3eb15 100644 --- a/std/multipart/formfile.ts +++ b/std/multipart/formfile.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { hasOwnProperty } from "../util/has_own_property.ts"; /** FormFile object */ diff --git a/std/multipart/formfile_test.ts b/std/multipart/formfile_test.ts index 52dd3addd..cc46168fb 100644 --- a/std/multipart/formfile_test.ts +++ b/std/multipart/formfile_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { test } from "../testing/mod.ts"; import { assertEquals } from "../testing/asserts.ts"; import { isFormFile } from "./formfile.ts"; diff --git a/std/prettier/ignore.ts b/std/prettier/ignore.ts index ffada98de..08a823984 100644 --- a/std/prettier/ignore.ts +++ b/std/prettier/ignore.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. /** * Parse the contents of the ignore file and return patterns. diff --git a/std/prettier/ignore_test.ts b/std/prettier/ignore_test.ts index 05f67edf4..019cddc0e 100644 --- a/std/prettier/ignore_test.ts +++ b/std/prettier/ignore_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { test, runIfMain } from "../testing/mod.ts"; import { assertEquals } from "../testing/asserts.ts"; import { parse } from "./ignore.ts"; diff --git a/std/prettier/main.ts b/std/prettier/main.ts index 163e0e45f..248aff9a0 100755 --- a/std/prettier/main.ts +++ b/std/prettier/main.ts @@ -20,7 +20,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. // This script formats the given source files. If the files are omitted, it // formats the all files in the repository. import { parse } from "../flags/mod.ts"; diff --git a/std/prettier/main_test.ts b/std/prettier/main_test.ts index dd5197e4d..85712bbef 100644 --- a/std/prettier/main_test.ts +++ b/std/prettier/main_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { assertEquals } from "../testing/asserts.ts"; import { test, runIfMain } from "../testing/mod.ts"; import { copy, emptyDir } from "../fs/mod.ts"; diff --git a/std/prettier/prettier.ts b/std/prettier/prettier.ts index 37b6cd4d6..cce374441 100644 --- a/std/prettier/prettier.ts +++ b/std/prettier/prettier.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. /** * Types are given here because parser files are big * and it's much faster to give TS compiler just type declarations. diff --git a/std/prettier/util.ts b/std/prettier/util.ts index b8f79005d..0d3b01252 100644 --- a/std/prettier/util.ts +++ b/std/prettier/util.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. const { build, run } = Deno; // Runs a command in cross-platform way diff --git a/std/strings/mod.ts b/std/strings/mod.ts index 2acc32600..4603068ef 100644 --- a/std/strings/mod.ts +++ b/std/strings/mod.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. export * from "./encode.ts"; export * from "./decode.ts"; diff --git a/std/strings/pad.ts b/std/strings/pad.ts index 267839a39..dc75a2954 100644 --- a/std/strings/pad.ts +++ b/std/strings/pad.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. /** FillOption Object */ export interface FillOption { diff --git a/std/style_guide.md b/std/style_guide.md index 5ad5432e3..2ef657004 100644 --- a/std/style_guide.md +++ b/std/style_guide.md @@ -165,7 +165,7 @@ parentheses. Example: Most files in `deno_std` should have the following copyright header: ```ts -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. ``` If the code originates elsewhere, ensure that the file has the proper copyright diff --git a/std/testing/asserts.ts b/std/testing/asserts.ts index e52644e7a..f2877eb8d 100644 --- a/std/testing/asserts.ts +++ b/std/testing/asserts.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { red, green, white, gray, bold } from "../fmt/colors.ts"; import diff, { DiffType, DiffResult } from "./diff.ts"; import { format } from "./format.ts"; diff --git a/std/testing/asserts_test.ts b/std/testing/asserts_test.ts index be0502ce6..ede5abbde 100644 --- a/std/testing/asserts_test.ts +++ b/std/testing/asserts_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { assert, diff --git a/std/testing/bench.ts b/std/testing/bench.ts index 3bb62526d..c76c1bd7c 100644 --- a/std/testing/bench.ts +++ b/std/testing/bench.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. const { exit, noColor } = Deno; diff --git a/std/testing/diff.ts b/std/testing/diff.ts index 38d632e9a..5cedb402a 100644 --- a/std/testing/diff.ts +++ b/std/testing/diff.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. interface FarthestPoint { y: number; id: number; diff --git a/std/testing/mod.ts b/std/testing/mod.ts index 06a1df958..16eae5ebe 100644 --- a/std/testing/mod.ts +++ b/std/testing/mod.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. export * from "./asserts.ts"; export * from "./bench.ts"; diff --git a/std/testing/runner.ts b/std/testing/runner.ts index 3bea649f7..d0d9ae2ec 100755 --- a/std/testing/runner.ts +++ b/std/testing/runner.ts @@ -1,5 +1,5 @@ #!/usr/bin/env -S deno -A -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { parse } from "../flags/mod.ts"; import { ExpandGlobOptions, expandGlob } from "../fs/mod.ts"; import { isWindows, join } from "../path/mod.ts"; diff --git a/std/testing/runner_test.ts b/std/testing/runner_test.ts index 40159db3d..95f2b49cc 100644 --- a/std/testing/runner_test.ts +++ b/std/testing/runner_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { assertEquals } from "../testing/asserts.ts"; import { isWindows } from "../path/mod.ts"; import { test } from "./mod.ts"; diff --git a/std/testing/test.ts b/std/testing/test.ts index 56eacdeed..5379a5199 100644 --- a/std/testing/test.ts +++ b/std/testing/test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { test, runIfMain } from "./mod.ts"; import { assert, diff --git a/std/util/async.ts b/std/util/async.ts index 6e2db69dc..f6bffa07a 100644 --- a/std/util/async.ts +++ b/std/util/async.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. // TODO(ry) It'd be better to make Deferred a class that inherits from // Promise, rather than an interface. This is possible in ES2016, however diff --git a/std/util/async_test.ts b/std/util/async_test.ts index adaac1e22..f51d00138 100644 --- a/std/util/async_test.ts +++ b/std/util/async_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { test, runIfMain } from "../testing/mod.ts"; import { assert, assertEquals, assertStrictEq } from "../testing/asserts.ts"; import { collectUint8Arrays, deferred, MuxAsyncIterator } from "./async.ts"; diff --git a/std/util/deep_assign.ts b/std/util/deep_assign.ts index b1c9f9ac9..36777795c 100644 --- a/std/util/deep_assign.ts +++ b/std/util/deep_assign.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. export function deepAssign( target: Record<string, unknown>, ...sources: object[] diff --git a/std/util/deep_assign_test.ts b/std/util/deep_assign_test.ts index c197344f7..bc66d2179 100644 --- a/std/util/deep_assign_test.ts +++ b/std/util/deep_assign_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { test } from "../testing/mod.ts"; import { assertEquals, assert } from "../testing/asserts.ts"; import { deepAssign } from "./deep_assign.ts"; diff --git a/std/util/has_own_property.ts b/std/util/has_own_property.ts index 707d951d3..351905cec 100644 --- a/std/util/has_own_property.ts +++ b/std/util/has_own_property.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. /** * Determines whether an object has a property with the specified name. diff --git a/std/uuid/mod.ts b/std/uuid/mod.ts index 1838133f5..26e4b43ff 100644 --- a/std/uuid/mod.ts +++ b/std/uuid/mod.ts @@ -1,5 +1,5 @@ // Based on https://github.com/kelektiv/node-uuid -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import * as v4 from "./v4.ts"; export const NIL_UUID = "00000000-0000-0000-0000-000000000000"; diff --git a/std/uuid/test.ts b/std/uuid/test.ts index 610a46582..1e6e98154 100755 --- a/std/uuid/test.ts +++ b/std/uuid/test.ts @@ -1,5 +1,5 @@ #!/usr/bin/env -S deno run -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { runIfMain } from "../testing/mod.ts"; // Generic Tests diff --git a/std/uuid/v4.ts b/std/uuid/v4.ts index c6ca20615..7688a5306 100644 --- a/std/uuid/v4.ts +++ b/std/uuid/v4.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. const UUID_RE = new RegExp( "^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$", diff --git a/std/ws/example_server.ts b/std/ws/example_server.ts index cb8ec61cd..982f72412 100644 --- a/std/ws/example_server.ts +++ b/std/ws/example_server.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { serve } from "../http/server.ts"; import { acceptWebSocket, diff --git a/std/ws/mod.ts b/std/ws/mod.ts index 11e3ee23e..a32380efc 100644 --- a/std/ws/mod.ts +++ b/std/ws/mod.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { decode, encode } from "../strings/mod.ts"; import { hasOwnProperty } from "../util/has_own_property.ts"; diff --git a/std/ws/sha1_test.ts b/std/ws/sha1_test.ts index 8ece1a7e8..43b4bc3c1 100644 --- a/std/ws/sha1_test.ts +++ b/std/ws/sha1_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { test } from "../testing/mod.ts"; import { assertEquals } from "../testing/asserts.ts"; import { Sha1 } from "./sha1.ts"; diff --git a/std/ws/test.ts b/std/ws/test.ts index 4351a391b..8ccda0988 100644 --- a/std/ws/test.ts +++ b/std/ws/test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { BufReader } from "../io/bufio.ts"; import { assert, assertEquals, assertThrowsAsync } from "../testing/asserts.ts"; import { runIfMain, test } from "../testing/mod.ts"; |