diff options
347 files changed, 365 insertions, 366 deletions
diff --git a/Cargo.toml b/Cargo.toml index b7b8adae5..9c6cde3f9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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. [workspace] members = [ diff --git a/LICENSE b/LICENSE deleted file mode 100644 index 1308edcb6..000000000 --- a/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2018-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 -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/LICENSE.md b/LICENSE.md new file mode 100644 index 000000000..bbf190721 --- /dev/null +++ b/LICENSE.md @@ -0,0 +1,20 @@ +MIT License + +Copyright 2018-2021 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 in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/core/Cargo.toml b/core/Cargo.toml index 1c7d32d13..096293020 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -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. [package] name = "deno_core" version = "0.75.0" diff --git a/core/async_cancel.rs b/core/async_cancel.rs index 51ed4c647..5784f41dd 100644 --- a/core/async_cancel.rs +++ b/core/async_cancel.rs @@ -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. use crate::RcLike; use futures::future::FusedFuture; diff --git a/core/async_cell.rs b/core/async_cell.rs index cd6c51682..602486df3 100644 --- a/core/async_cell.rs +++ b/core/async_cell.rs @@ -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. use std::any::type_name; use std::any::Any; diff --git a/core/bindings.rs b/core/bindings.rs index eb46e6ef2..20725c0fc 100644 --- a/core/bindings.rs +++ b/core/bindings.rs @@ -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. use crate::error::AnyError; use crate::runtime::JsRuntimeState; diff --git a/core/core.js b/core/core.js index ac2980fad..5a15aff8c 100644 --- a/core/core.js +++ b/core/core.js @@ -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. /* SharedQueue Binary Layout +-------------------------------+-------------------------------+ diff --git a/core/core_test.js b/core/core_test.js index 28bc7d2bf..58dff73ac 100644 --- a/core/core_test.js +++ b/core/core_test.js @@ -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. function assert(cond) { if (!cond) { diff --git a/core/encode_decode_test.js b/core/encode_decode_test.js index b8a142ac5..dcdb82d8e 100644 --- a/core/encode_decode_test.js +++ b/core/encode_decode_test.js @@ -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. function assert(cond) { if (!cond) { throw Error("assert"); diff --git a/core/error.js b/core/error.js index 708b1fd4a..300599666 100644 --- a/core/error.js +++ b/core/error.js @@ -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. ((window) => { // Some of the code here is adapted directly from V8 and licensed under a BSD diff --git a/core/error.rs b/core/error.rs index 501b8dc52..db5c8afd6 100644 --- a/core/error.rs +++ b/core/error.rs @@ -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. pub use anyhow::anyhow; pub use anyhow::bail; diff --git a/core/examples/hello_world.rs b/core/examples/hello_world.rs index 07391309d..1f696a817 100644 --- a/core/examples/hello_world.rs +++ b/core/examples/hello_world.rs @@ -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. //! This example shows you how to define ops in Rust and then call them from //! JavaScript. diff --git a/core/examples/http_bench_bin_ops.js b/core/examples/http_bench_bin_ops.js index a90be70c0..f20366494 100644 --- a/core/examples/http_bench_bin_ops.js +++ b/core/examples/http_bench_bin_ops.js @@ -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. // This is not a real HTTP server. We read blindly one time into 'requestBuf', // then write this fixed 'responseBuf'. The point of this benchmark is to // exercise the event loop in a simple yet semi-realistic way. diff --git a/core/examples/http_bench_bin_ops.rs b/core/examples/http_bench_bin_ops.rs index 32529652b..cde25800c 100644 --- a/core/examples/http_bench_bin_ops.rs +++ b/core/examples/http_bench_bin_ops.rs @@ -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. #[macro_use] extern crate log; diff --git a/core/examples/http_bench_json_ops.js b/core/examples/http_bench_json_ops.js index aba7da432..80c5a6115 100644 --- a/core/examples/http_bench_json_ops.js +++ b/core/examples/http_bench_json_ops.js @@ -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. // This is not a real HTTP server. We read blindly one time into 'requestBuf', // then write this fixed 'responseBuf'. The point of this benchmark is to // exercise the event loop in a simple yet semi-realistic way. diff --git a/core/examples/http_bench_json_ops.rs b/core/examples/http_bench_json_ops.rs index 8cf4061cc..4fd25d6b8 100644 --- a/core/examples/http_bench_json_ops.rs +++ b/core/examples/http_bench_json_ops.rs @@ -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. #[macro_use] extern crate log; diff --git a/core/flags.rs b/core/flags.rs index b69abab6f..af64df64e 100644 --- a/core/flags.rs +++ b/core/flags.rs @@ -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. use rusty_v8 as v8; /// Pass the command line arguments to v8. diff --git a/core/gotham_state.rs b/core/gotham_state.rs index e42664223..04213f977 100644 --- a/core/gotham_state.rs +++ b/core/gotham_state.rs @@ -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. // Forked from Gotham: // https://github.com/gotham-rs/gotham/blob/bcbbf8923789e341b7a0e62c59909428ca4e22e2/gotham/src/state/mod.rs // Copyright 2017 Gotham Project Developers. MIT license. diff --git a/core/lib.rs b/core/lib.rs index 6cecd4d75..6a18be3f4 100644 --- a/core/lib.rs +++ b/core/lib.rs @@ -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. #[macro_use] extern crate lazy_static; diff --git a/core/module_specifier.rs b/core/module_specifier.rs index 29edc8771..e0e8719ea 100644 --- a/core/module_specifier.rs +++ b/core/module_specifier.rs @@ -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. use crate::normalize_path; use std::env::current_dir; diff --git a/core/modules.rs b/core/modules.rs index 546f2464f..815db2fb9 100644 --- a/core/modules.rs +++ b/core/modules.rs @@ -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. use rusty_v8 as v8; diff --git a/core/normalize_path.rs b/core/normalize_path.rs index e444af991..6099696ec 100644 --- a/core/normalize_path.rs +++ b/core/normalize_path.rs @@ -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. use std::path::Component; use std::path::Path; diff --git a/core/ops.rs b/core/ops.rs index d29159e9c..d596a1182 100644 --- a/core/ops.rs +++ b/core/ops.rs @@ -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. use crate::error::bad_resource_id; use crate::error::type_error; diff --git a/core/plugin_api.rs b/core/plugin_api.rs index d57a5b3b5..98eb3f2ca 100644 --- a/core/plugin_api.rs +++ b/core/plugin_api.rs @@ -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. // This file defines the public interface for dynamically loaded plugins. diff --git a/core/resources.rs b/core/resources.rs index da3b634fc..dc372884b 100644 --- a/core/resources.rs +++ b/core/resources.rs @@ -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. // Think of Resources as File Descriptors. They are integers that are allocated // by the privileged side of Deno which refer to various rust objects that need diff --git a/core/runtime.rs b/core/runtime.rs index 700d378b1..7b703e3d4 100644 --- a/core/runtime.rs +++ b/core/runtime.rs @@ -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. use rusty_v8 as v8; diff --git a/core/shared_queue.rs b/core/shared_queue.rs index 715fb4395..69d355e95 100644 --- a/core/shared_queue.rs +++ b/core/shared_queue.rs @@ -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. /* SharedQueue Binary Layout +-------------------------------+-------------------------------+ diff --git a/core/zero_copy_buf.rs b/core/zero_copy_buf.rs index 848f5ac2e..96baee1ec 100644 --- a/core/zero_copy_buf.rs +++ b/core/zero_copy_buf.rs @@ -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. use crate::bindings; use rusty_v8 as v8; diff --git a/runtime/build.rs b/runtime/build.rs index a34e9ffa8..5a99b86c8 100644 --- a/runtime/build.rs +++ b/runtime/build.rs @@ -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. use deno_core::JsRuntime; use deno_core::RuntimeOptions; diff --git a/runtime/colors.rs b/runtime/colors.rs index 93f252716..ac4643a0c 100644 --- a/runtime/colors.rs +++ b/runtime/colors.rs @@ -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. use regex::Regex; use std::env; diff --git a/runtime/errors.rs b/runtime/errors.rs index f82d95ed8..7c497ef32 100644 --- a/runtime/errors.rs +++ b/runtime/errors.rs @@ -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. //! There are many types of errors in Deno: //! - AnyError: a generic wrapper that can encapsulate any type of error. diff --git a/runtime/fs_util.rs b/runtime/fs_util.rs index 028538d4f..bf0735205 100644 --- a/runtime/fs_util.rs +++ b/runtime/fs_util.rs @@ -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. use deno_core::error::AnyError; pub use deno_core::normalize_path; diff --git a/runtime/http_util.rs b/runtime/http_util.rs index 4fe4dc7ec..97d6125e0 100644 --- a/runtime/http_util.rs +++ b/runtime/http_util.rs @@ -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. use deno_core::error::generic_error; use deno_core::error::AnyError; diff --git a/runtime/js/01_errors.js b/runtime/js/01_errors.js index d5933069b..063572231 100644 --- a/runtime/js/01_errors.js +++ b/runtime/js/01_errors.js @@ -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. ((window) => { class NotFound extends Error { diff --git a/runtime/js/11_workers.js b/runtime/js/11_workers.js index e943d66bc..5be14d461 100644 --- a/runtime/js/11_workers.js +++ b/runtime/js/11_workers.js @@ -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. ((window) => { const core = window.Deno.core; diff --git a/runtime/js/40_tty.js b/runtime/js/40_tty.js index 598d33237..e090121d9 100644 --- a/runtime/js/40_tty.js +++ b/runtime/js/40_tty.js @@ -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. ((window) => { const core = window.Deno.core; diff --git a/runtime/lib.rs b/runtime/lib.rs index cc6d02681..0d2179494 100644 --- a/runtime/lib.rs +++ b/runtime/lib.rs @@ -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. #![deny(warnings)] diff --git a/runtime/metrics.rs b/runtime/metrics.rs index c70e0dab9..b609f2466 100644 --- a/runtime/metrics.rs +++ b/runtime/metrics.rs @@ -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. #[derive(Default, Debug)] pub struct Metrics { pub ops_dispatched: u64, diff --git a/runtime/ops/crypto.rs b/runtime/ops/crypto.rs index a73843a33..accd40ab5 100644 --- a/runtime/ops/crypto.rs +++ b/runtime/ops/crypto.rs @@ -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. use deno_crypto::op_get_random_values; use deno_crypto::rand::rngs::StdRng; use deno_crypto::rand::SeedableRng; diff --git a/runtime/ops/dispatch_minimal.rs b/runtime/ops/dispatch_minimal.rs index ae8fa819d..01a47e2ab 100644 --- a/runtime/ops/dispatch_minimal.rs +++ b/runtime/ops/dispatch_minimal.rs @@ -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. use deno_core::error::AnyError; use deno_core::futures::future::FutureExt; diff --git a/runtime/ops/fetch.rs b/runtime/ops/fetch.rs index 62aaf7a18..e1b43c910 100644 --- a/runtime/ops/fetch.rs +++ b/runtime/ops/fetch.rs @@ -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. use crate::http_util; use crate::permissions::Permissions; use deno_fetch::reqwest; diff --git a/runtime/ops/fs.rs b/runtime/ops/fs.rs index c3c97622d..3b0c02083 100644 --- a/runtime/ops/fs.rs +++ b/runtime/ops/fs.rs @@ -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. // Some deserializer fields are only used on Unix and Windows build fails without it use super::io::std_file_resource; use super::io::StreamResource; diff --git a/runtime/ops/fs_events.rs b/runtime/ops/fs_events.rs index 38661e1d4..c97ba0af4 100644 --- a/runtime/ops/fs_events.rs +++ b/runtime/ops/fs_events.rs @@ -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. use crate::permissions::Permissions; use deno_core::error::bad_resource_id; diff --git a/runtime/ops/io.rs b/runtime/ops/io.rs index de56f5b55..a8654cc29 100644 --- a/runtime/ops/io.rs +++ b/runtime/ops/io.rs @@ -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. use super::dispatch_minimal::minimal_op; use super::dispatch_minimal::MinimalOp; diff --git a/runtime/ops/mod.rs b/runtime/ops/mod.rs index a27122657..0da4b9771 100644 --- a/runtime/ops/mod.rs +++ b/runtime/ops/mod.rs @@ -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. mod dispatch_minimal; pub use dispatch_minimal::MinimalOp; diff --git a/runtime/ops/net.rs b/runtime/ops/net.rs index a2df881e6..6b7e05771 100644 --- a/runtime/ops/net.rs +++ b/runtime/ops/net.rs @@ -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. use crate::ops::io::FullDuplexResource; use crate::ops::io::TcpStreamResource; diff --git a/runtime/ops/net_unix.rs b/runtime/ops/net_unix.rs index 23981a7f1..ace66425c 100644 --- a/runtime/ops/net_unix.rs +++ b/runtime/ops/net_unix.rs @@ -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. use crate::ops::io::StreamResource; use crate::ops::net::AcceptArgs; diff --git a/runtime/ops/os.rs b/runtime/ops/os.rs index 6fd404a23..0183ffe5f 100644 --- a/runtime/ops/os.rs +++ b/runtime/ops/os.rs @@ -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. use crate::permissions::Permissions; use deno_core::error::AnyError; diff --git a/runtime/ops/permissions.rs b/runtime/ops/permissions.rs index 98940dfc1..86ad2206b 100644 --- a/runtime/ops/permissions.rs +++ b/runtime/ops/permissions.rs @@ -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. use crate::permissions::Permissions; use deno_core::error::custom_error; diff --git a/runtime/ops/plugin.rs b/runtime/ops/plugin.rs index 953d6f7d2..e972df046 100644 --- a/runtime/ops/plugin.rs +++ b/runtime/ops/plugin.rs @@ -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. use crate::metrics::metrics_op; use crate::permissions::Permissions; diff --git a/runtime/ops/process.rs b/runtime/ops/process.rs index b46627e21..e0a9a0795 100644 --- a/runtime/ops/process.rs +++ b/runtime/ops/process.rs @@ -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. use super::io::{std_file_resource, StreamResource}; use crate::permissions::Permissions; diff --git a/runtime/ops/runtime.rs b/runtime/ops/runtime.rs index cb3b53d53..b80067031 100644 --- a/runtime/ops/runtime.rs +++ b/runtime/ops/runtime.rs @@ -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. use crate::metrics::Metrics; use crate::permissions::Permissions; diff --git a/runtime/ops/signal.rs b/runtime/ops/signal.rs index b3891792c..2f5383525 100644 --- a/runtime/ops/signal.rs +++ b/runtime/ops/signal.rs @@ -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. use deno_core::error::AnyError; use deno_core::serde_json::Value; diff --git a/runtime/ops/timers.rs b/runtime/ops/timers.rs index 8037fd698..940a96a8e 100644 --- a/runtime/ops/timers.rs +++ b/runtime/ops/timers.rs @@ -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. //! This module helps deno implement timers. //! diff --git a/runtime/ops/tls.rs b/runtime/ops/tls.rs index 62c8fc441..9c4c9f422 100644 --- a/runtime/ops/tls.rs +++ b/runtime/ops/tls.rs @@ -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. use super::io::StreamResource; use super::io::TcpStreamResource; diff --git a/runtime/ops/tty.rs b/runtime/ops/tty.rs index 05536b429..dfde8e0d3 100644 --- a/runtime/ops/tty.rs +++ b/runtime/ops/tty.rs @@ -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. use super::io::std_file_resource; use super::io::StreamResource; diff --git a/runtime/ops/web_worker.rs b/runtime/ops/web_worker.rs index d88330a04..aeaece89e 100644 --- a/runtime/ops/web_worker.rs +++ b/runtime/ops/web_worker.rs @@ -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. use crate::web_worker::WebWorkerHandle; use crate::web_worker::WorkerEvent; diff --git a/runtime/ops/websocket.rs b/runtime/ops/websocket.rs index 3ecdae088..1563961d7 100644 --- a/runtime/ops/websocket.rs +++ b/runtime/ops/websocket.rs @@ -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. use crate::permissions::Permissions; use deno_websocket::op_ws_check_permission; use deno_websocket::op_ws_close; diff --git a/runtime/ops/worker_host.rs b/runtime/ops/worker_host.rs index da00c6e6e..d68fa02e8 100644 --- a/runtime/ops/worker_host.rs +++ b/runtime/ops/worker_host.rs @@ -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. use crate::permissions::resolve_fs_allowlist; use crate::permissions::PermissionState; diff --git a/runtime/permissions.rs b/runtime/permissions.rs index 66087f2e6..b88b86262 100644 --- a/runtime/permissions.rs +++ b/runtime/permissions.rs @@ -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. use crate::colors; use crate::fs_util::resolve_from_cwd; diff --git a/runtime/resolve_addr.rs b/runtime/resolve_addr.rs index 72c324036..ebf1374d1 100644 --- a/runtime/resolve_addr.rs +++ b/runtime/resolve_addr.rs @@ -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. use deno_core::error::AnyError; use std::net::SocketAddr; diff --git a/runtime/tokio_util.rs b/runtime/tokio_util.rs index b25a2994f..ef0ba5be3 100644 --- a/runtime/tokio_util.rs +++ b/runtime/tokio_util.rs @@ -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. pub fn create_basic_runtime() -> tokio::runtime::Runtime { tokio::runtime::Builder::new() diff --git a/runtime/worker.rs b/runtime/worker.rs index 6ebb2fb36..a619ecc4c 100644 --- a/runtime/worker.rs +++ b/runtime/worker.rs @@ -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. use crate::inspector::DenoInspector; use crate::inspector::InspectorServer; diff --git a/std/_util/assert.ts b/std/_util/assert.ts index d797591fe..2588190de 100644 --- a/std/_util/assert.ts +++ b/std/_util/assert.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 class DenoStdInternalError extends Error { constructor(message: string) { diff --git a/std/_util/assert_test.ts b/std/_util/assert_test.ts index 80bf0d54f..919767fd0 100644 --- a/std/_util/assert_test.ts +++ b/std/_util/assert_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, DenoStdInternalError } from "./assert.ts"; import { assertThrows } from "../testing/asserts.ts"; diff --git a/std/_util/deep_assign.ts b/std/_util/deep_assign.ts index ad6c3234c..d38788add 100644 --- a/std/_util/deep_assign.ts +++ b/std/_util/deep_assign.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 "./assert.ts"; export function deepAssign<T, U>(target: T, source: U): T & U; diff --git a/std/_util/deep_assign_test.ts b/std/_util/deep_assign_test.ts index 1372c25e9..8ec7b3aef 100644 --- a/std/_util/deep_assign_test.ts +++ b/std/_util/deep_assign_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 { deepAssign } from "./deep_assign.ts"; diff --git a/std/_util/has_own_property.ts b/std/_util/has_own_property.ts index 351905cec..f9e4acbb2 100644 --- a/std/_util/has_own_property.ts +++ b/std/_util/has_own_property.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. /** * Determines whether an object has a property with the specified name. diff --git a/std/_util/os.ts b/std/_util/os.ts index 50c70b134..3b56b6d8a 100644 --- a/std/_util/os.ts +++ b/std/_util/os.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. // This module is browser compatible. export const osType = (() => { diff --git a/std/archive/tar_test.ts b/std/archive/tar_test.ts index cec98face..cf65e94c2 100644 --- a/std/archive/tar_test.ts +++ b/std/archive/tar_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. /** * Tar test * diff --git a/std/async/deferred.ts b/std/async/deferred.ts index c8760ce5d..ca05a29bb 100644 --- a/std/async/deferred.ts +++ b/std/async/deferred.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(ry) It'd be better to make Deferred a class that inherits from // Promise, rather than an interface. This is possible in ES2016, however // typescript produces broken code when targeting ES5 code. diff --git a/std/async/deferred_test.ts b/std/async/deferred_test.ts index c411885d0..ba287f442 100644 --- a/std/async/deferred_test.ts +++ b/std/async/deferred_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, assertThrowsAsync } from "../testing/asserts.ts"; import { deferred } from "./deferred.ts"; diff --git a/std/async/delay.ts b/std/async/delay.ts index e3aec368f..0a9e1f529 100644 --- a/std/async/delay.ts +++ b/std/async/delay.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. /* Resolves after the given number of milliseconds. */ export function delay(ms: number): Promise<void> { return new Promise((res): number => diff --git a/std/async/delay_test.ts b/std/async/delay_test.ts index 087c3ffa1..e5f08f110 100644 --- a/std/async/delay_test.ts +++ b/std/async/delay_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 { delay } from "./delay.ts"; import { assert } from "../testing/asserts.ts"; diff --git a/std/async/mod.ts b/std/async/mod.ts index ad4ab5156..0345d8caf 100644 --- a/std/async/mod.ts +++ b/std/async/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 "./deferred.ts"; export * from "./delay.ts"; export * from "./mux_async_iterator.ts"; diff --git a/std/async/mux_async_iterator.ts b/std/async/mux_async_iterator.ts index b434120bf..0bda4f579 100644 --- a/std/async/mux_async_iterator.ts +++ b/std/async/mux_async_iterator.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 { Deferred, deferred } from "./deferred.ts"; interface TaggedYieldedValue<T> { diff --git a/std/async/mux_async_iterator_test.ts b/std/async/mux_async_iterator_test.ts index 51c0349cc..e1bdb47b4 100644 --- a/std/async/mux_async_iterator_test.ts +++ b/std/async/mux_async_iterator_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, assertThrowsAsync } from "../testing/asserts.ts"; import { MuxAsyncIterator } from "./mux_async_iterator.ts"; diff --git a/std/async/pool.ts b/std/async/pool.ts index fc8517041..77ac8f0bd 100644 --- a/std/async/pool.ts +++ b/std/async/pool.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. /** * pooledMap transforms values from an (async) iterable into another async diff --git a/std/async/pool_test.ts b/std/async/pool_test.ts index 34fdc1c10..856f4cc0a 100644 --- a/std/async/pool_test.ts +++ b/std/async/pool_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 { pooledMap } from "./pool.ts"; import { assert } from "../testing/asserts.ts"; diff --git a/std/async/test.ts b/std/async/test.ts index 57684a50e..590417055 100644 --- a/std/async/test.ts +++ b/std/async/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/bytes/mod.ts b/std/bytes/mod.ts index 585aef2e9..bb2b7d46e 100644 --- a/std/bytes/mod.ts +++ b/std/bytes/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. /** Find first index of binary pattern from source. If not found, then return -1 * @param source source array diff --git a/std/bytes/test.ts b/std/bytes/test.ts index 3aea70965..17db0672d 100644 --- a/std/bytes/test.ts +++ b/std/bytes/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 { concat, diff --git a/std/datetime/formatter.ts b/std/datetime/formatter.ts index ea16dbe0d..788de6d00 100644 --- a/std/datetime/formatter.ts +++ b/std/datetime/formatter.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 { CallbackResult, ReceiverResult, diff --git a/std/datetime/mod.ts b/std/datetime/mod.ts index 1f117350c..8a3ec7c4f 100644 --- a/std/datetime/mod.ts +++ b/std/datetime/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 { DateTimeFormatter } from "./formatter.ts"; diff --git a/std/datetime/test.ts b/std/datetime/test.ts index 1b80edd56..b2614bc00 100644 --- a/std/datetime/test.ts +++ b/std/datetime/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, assertThrows } from "../testing/asserts.ts"; import * as datetime from "./mod.ts"; diff --git a/std/datetime/tokenizer.ts b/std/datetime/tokenizer.ts index d1b982b1f..9a9d0daa8 100644 --- a/std/datetime/tokenizer.ts +++ b/std/datetime/tokenizer.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 type Token = { type: string; diff --git a/std/encoding/_yaml/dumper/dumper.ts b/std/encoding/_yaml/dumper/dumper.ts index b6de8aceb..05dc56262 100644 --- a/std/encoding/_yaml/dumper/dumper.ts +++ b/std/encoding/_yaml/dumper/dumper.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-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { YAMLError } from "../error.ts"; import type { RepresentFn, StyleVariant, Type } from "../type.ts"; diff --git a/std/encoding/_yaml/dumper/dumper_state.ts b/std/encoding/_yaml/dumper/dumper_state.ts index 31fe86f56..6861e7a43 100644 --- a/std/encoding/_yaml/dumper/dumper_state.ts +++ b/std/encoding/_yaml/dumper/dumper_state.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-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import type { Schema, SchemaDefinition } from "../schema.ts"; import { State } from "../state.ts"; diff --git a/std/encoding/_yaml/error.ts b/std/encoding/_yaml/error.ts index 77473fbd8..6b1e359b6 100644 --- a/std/encoding/_yaml/error.ts +++ b/std/encoding/_yaml/error.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-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import type { Mark } from "./mark.ts"; diff --git a/std/encoding/_yaml/example/dump.ts b/std/encoding/_yaml/example/dump.ts index bc4684dfe..3304474f2 100644 --- a/std/encoding/_yaml/example/dump.ts +++ b/std/encoding/_yaml/example/dump.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 { stringify } from "../../yaml.ts"; diff --git a/std/encoding/_yaml/example/inout.ts b/std/encoding/_yaml/example/inout.ts index 2f7ca6d6b..fd4e1e6c2 100644 --- a/std/encoding/_yaml/example/inout.ts +++ b/std/encoding/_yaml/example/inout.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { parse, stringify } from "../../yaml.ts"; diff --git a/std/encoding/_yaml/example/parse.ts b/std/encoding/_yaml/example/parse.ts index fc15daf9c..b4da86aac 100644 --- a/std/encoding/_yaml/example/parse.ts +++ b/std/encoding/_yaml/example/parse.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { parse } from "../../yaml.ts"; diff --git a/std/encoding/_yaml/example/sample_document.ts b/std/encoding/_yaml/example/sample_document.ts index 1284d2eff..695744322 100644 --- a/std/encoding/_yaml/example/sample_document.ts +++ b/std/encoding/_yaml/example/sample_document.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { parse } from "../../yaml.ts"; diff --git a/std/encoding/_yaml/loader/loader.ts b/std/encoding/_yaml/loader/loader.ts index b4657c745..8bd623347 100644 --- a/std/encoding/_yaml/loader/loader.ts +++ b/std/encoding/_yaml/loader/loader.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-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { YAMLError } from "../error.ts"; import { Mark } from "../mark.ts"; diff --git a/std/encoding/_yaml/loader/loader_state.ts b/std/encoding/_yaml/loader/loader_state.ts index ce645930f..b5ec77680 100644 --- a/std/encoding/_yaml/loader/loader_state.ts +++ b/std/encoding/_yaml/loader/loader_state.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-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import type { YAMLError } from "../error.ts"; import type { Schema, SchemaDefinition, TypeMap } from "../schema.ts"; diff --git a/std/encoding/_yaml/mark.ts b/std/encoding/_yaml/mark.ts index 35e986cce..399d6a7f3 100644 --- a/std/encoding/_yaml/mark.ts +++ b/std/encoding/_yaml/mark.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-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { repeat } from "./utils.ts"; diff --git a/std/encoding/_yaml/parse.ts b/std/encoding/_yaml/parse.ts index 05a9b48ac..a6469f799 100644 --- a/std/encoding/_yaml/parse.ts +++ b/std/encoding/_yaml/parse.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-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { CbFunction, load, loadAll } from "./loader/loader.ts"; import type { LoaderStateOptions } from "./loader/loader_state.ts"; diff --git a/std/encoding/_yaml/parse_test.ts b/std/encoding/_yaml/parse_test.ts index 21f1b893b..e810637cb 100644 --- a/std/encoding/_yaml/parse_test.ts +++ b/std/encoding/_yaml/parse_test.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-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { parse, parseAll } from "./parse.ts"; import { assertEquals } from "../../testing/asserts.ts"; diff --git a/std/encoding/_yaml/schema.ts b/std/encoding/_yaml/schema.ts index dfb8589c1..512f9f643 100644 --- a/std/encoding/_yaml/schema.ts +++ b/std/encoding/_yaml/schema.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-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { YAMLError } from "./error.ts"; import type { KindType, Type } from "./type.ts"; diff --git a/std/encoding/_yaml/schema/core.ts b/std/encoding/_yaml/schema/core.ts index 4fadc9bfe..ad95f7330 100644 --- a/std/encoding/_yaml/schema/core.ts +++ b/std/encoding/_yaml/schema/core.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-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { Schema } from "../schema.ts"; import { json } from "./json.ts"; diff --git a/std/encoding/_yaml/schema/default.ts b/std/encoding/_yaml/schema/default.ts index 4c5ceeba7..60b6d18ad 100644 --- a/std/encoding/_yaml/schema/default.ts +++ b/std/encoding/_yaml/schema/default.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-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { Schema } from "../schema.ts"; import { binary, merge, omap, pairs, set, timestamp } from "../type/mod.ts"; diff --git a/std/encoding/_yaml/schema/failsafe.ts b/std/encoding/_yaml/schema/failsafe.ts index 74e1897be..c44e3c567 100644 --- a/std/encoding/_yaml/schema/failsafe.ts +++ b/std/encoding/_yaml/schema/failsafe.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-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { Schema } from "../schema.ts"; import { map, seq, str } from "../type/mod.ts"; diff --git a/std/encoding/_yaml/schema/json.ts b/std/encoding/_yaml/schema/json.ts index c30166fdf..0d7c2567f 100644 --- a/std/encoding/_yaml/schema/json.ts +++ b/std/encoding/_yaml/schema/json.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-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { Schema } from "../schema.ts"; import { bool, float, int, nil } from "../type/mod.ts"; diff --git a/std/encoding/_yaml/schema/mod.ts b/std/encoding/_yaml/schema/mod.ts index 7cbe0c283..a12075feb 100644 --- a/std/encoding/_yaml/schema/mod.ts +++ b/std/encoding/_yaml/schema/mod.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-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. export { core as CORE_SCHEMA } from "./core.ts"; export { def as DEFAULT_SCHEMA } from "./default.ts"; diff --git a/std/encoding/_yaml/state.ts b/std/encoding/_yaml/state.ts index 67a105d39..85cd91118 100644 --- a/std/encoding/_yaml/state.ts +++ b/std/encoding/_yaml/state.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-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import type { SchemaDefinition } from "./schema.ts"; import { DEFAULT_SCHEMA } from "./schema/mod.ts"; diff --git a/std/encoding/_yaml/stringify.ts b/std/encoding/_yaml/stringify.ts index ed7b82d84..ea43cdfef 100644 --- a/std/encoding/_yaml/stringify.ts +++ b/std/encoding/_yaml/stringify.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-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { dump } from "./dumper/dumper.ts"; import type { DumperStateOptions } from "./dumper/dumper_state.ts"; diff --git a/std/encoding/_yaml/stringify_test.ts b/std/encoding/_yaml/stringify_test.ts index 03a3090d9..03a7d8f3d 100644 --- a/std/encoding/_yaml/stringify_test.ts +++ b/std/encoding/_yaml/stringify_test.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-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 { stringify } from "./stringify.ts"; diff --git a/std/encoding/_yaml/type.ts b/std/encoding/_yaml/type.ts index f6ce9591c..e5659bfab 100644 --- a/std/encoding/_yaml/type.ts +++ b/std/encoding/_yaml/type.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-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import type { Any, ArrayObject } from "./utils.ts"; diff --git a/std/encoding/_yaml/type/binary.ts b/std/encoding/_yaml/type/binary.ts index 2433960dc..3a7982aa4 100644 --- a/std/encoding/_yaml/type/binary.ts +++ b/std/encoding/_yaml/type/binary.ts @@ -1,7 +1,7 @@ // Ported from js-yaml v3.13.1: // Copyright 2011-2015 by Vitaly Puzrin. All rights reserved. MIT license. // https://github.com/nodeca/js-yaml/commit/665aadda42349dcae869f12040d9b10ef18d12da -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { Type } from "../type.ts"; import type { Any } from "../utils.ts"; diff --git a/std/encoding/_yaml/type/bool.ts b/std/encoding/_yaml/type/bool.ts index a5a85cf9e..3dc714987 100644 --- a/std/encoding/_yaml/type/bool.ts +++ b/std/encoding/_yaml/type/bool.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-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { Type } from "../type.ts"; import { isBoolean } from "../utils.ts"; diff --git a/std/encoding/_yaml/type/float.ts b/std/encoding/_yaml/type/float.ts index 832934fe2..b4d6a3f3f 100644 --- a/std/encoding/_yaml/type/float.ts +++ b/std/encoding/_yaml/type/float.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-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { StyleVariant, Type } from "../type.ts"; import { Any, isNegativeZero } from "../utils.ts"; diff --git a/std/encoding/_yaml/type/int.ts b/std/encoding/_yaml/type/int.ts index 5186140e4..f166778c5 100644 --- a/std/encoding/_yaml/type/int.ts +++ b/std/encoding/_yaml/type/int.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-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { Type } from "../type.ts"; import { Any, isNegativeZero } from "../utils.ts"; diff --git a/std/encoding/_yaml/type/map.ts b/std/encoding/_yaml/type/map.ts index c0c8b04b7..6457597be 100644 --- a/std/encoding/_yaml/type/map.ts +++ b/std/encoding/_yaml/type/map.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-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { Type } from "../type.ts"; import type { Any } from "../utils.ts"; diff --git a/std/encoding/_yaml/type/merge.ts b/std/encoding/_yaml/type/merge.ts index 68314bf2e..598b68ffa 100644 --- a/std/encoding/_yaml/type/merge.ts +++ b/std/encoding/_yaml/type/merge.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-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { Type } from "../type.ts"; diff --git a/std/encoding/_yaml/type/mod.ts b/std/encoding/_yaml/type/mod.ts index 15f33301e..480b1fe61 100644 --- a/std/encoding/_yaml/type/mod.ts +++ b/std/encoding/_yaml/type/mod.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-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. export { binary } from "./binary.ts"; export { bool } from "./bool.ts"; diff --git a/std/encoding/_yaml/type/nil.ts b/std/encoding/_yaml/type/nil.ts index 8a48d02fb..03a2f6bd6 100644 --- a/std/encoding/_yaml/type/nil.ts +++ b/std/encoding/_yaml/type/nil.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-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { Type } from "../type.ts"; diff --git a/std/encoding/_yaml/type/omap.ts b/std/encoding/_yaml/type/omap.ts index 785846dea..300debeb8 100644 --- a/std/encoding/_yaml/type/omap.ts +++ b/std/encoding/_yaml/type/omap.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-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { Type } from "../type.ts"; import type { Any } from "../utils.ts"; diff --git a/std/encoding/_yaml/type/pairs.ts b/std/encoding/_yaml/type/pairs.ts index 5e3eac5ce..81664655a 100644 --- a/std/encoding/_yaml/type/pairs.ts +++ b/std/encoding/_yaml/type/pairs.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-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { Type } from "../type.ts"; import type { Any } from "../utils.ts"; diff --git a/std/encoding/_yaml/type/seq.ts b/std/encoding/_yaml/type/seq.ts index df2caaece..9679cd516 100644 --- a/std/encoding/_yaml/type/seq.ts +++ b/std/encoding/_yaml/type/seq.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-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { Type } from "../type.ts"; import type { Any } from "../utils.ts"; diff --git a/std/encoding/_yaml/type/set.ts b/std/encoding/_yaml/type/set.ts index 8fe04e6f0..234951f4d 100644 --- a/std/encoding/_yaml/type/set.ts +++ b/std/encoding/_yaml/type/set.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-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { Type } from "../type.ts"; import type { Any } from "../utils.ts"; diff --git a/std/encoding/_yaml/type/str.ts b/std/encoding/_yaml/type/str.ts index cd6e9430f..053f8b9f7 100644 --- a/std/encoding/_yaml/type/str.ts +++ b/std/encoding/_yaml/type/str.ts @@ -1,6 +1,6 @@ // Ported from js-yaml v3.13.1: // https://github.com/nodeca/js-yaml/commit/665aadda42349dcae869f12040d9b10ef18d12da -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { Type } from "../type.ts"; diff --git a/std/encoding/_yaml/type/timestamp.ts b/std/encoding/_yaml/type/timestamp.ts index 9379b907d..47a797488 100644 --- a/std/encoding/_yaml/type/timestamp.ts +++ b/std/encoding/_yaml/type/timestamp.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-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { Type } from "../type.ts"; diff --git a/std/encoding/_yaml/utils.ts b/std/encoding/_yaml/utils.ts index 45ac6b4f8..cf18760de 100644 --- a/std/encoding/_yaml/utils.ts +++ b/std/encoding/_yaml/utils.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-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. // deno-lint-ignore no-explicit-any export type Any = any; diff --git a/std/encoding/ascii85.ts b/std/encoding/ascii85.ts index 4efa98d7a..877174bfd 100644 --- a/std/encoding/ascii85.ts +++ b/std/encoding/ascii85.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. // This module is browser compatible. export type Ascii85Standard = "Adobe" | "btoa" | "RFC 1924" | "Z85"; diff --git a/std/encoding/ascii85_test.ts b/std/encoding/ascii85_test.ts index b6d77a8ff..8bf486b8a 100644 --- a/std/encoding/ascii85_test.ts +++ b/std/encoding/ascii85_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 { Ascii85Standard, decode, encode } from "./ascii85.ts"; type TestCases = Partial<{ [index in Ascii85Standard]: string[][] }>; diff --git a/std/encoding/base32_test.ts b/std/encoding/base32_test.ts index a604bf323..1c497182f 100644 --- a/std/encoding/base32_test.ts +++ b/std/encoding/base32_test.ts @@ -1,6 +1,6 @@ // Test cases copied from https://github.com/LinusU/base32-encode/blob/master/test.js // Copyright (c) 2016-2017 Linus Unnebäck. MIT license. -// 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 { decode, encode } from "./base32.ts"; diff --git a/std/encoding/base64.ts b/std/encoding/base64.ts index e631e5b88..c98030b7f 100644 --- a/std/encoding/base64.ts +++ b/std/encoding/base64.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. // deno-fmt-ignore const base64abc = ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", diff --git a/std/encoding/base64_test.ts b/std/encoding/base64_test.ts index 65c62f4cd..829deb688 100644 --- a/std/encoding/base64_test.ts +++ b/std/encoding/base64_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 { decode, encode } from "./base64.ts"; diff --git a/std/encoding/base64url.ts b/std/encoding/base64url.ts index fe8019a29..45de1bd6d 100644 --- a/std/encoding/base64url.ts +++ b/std/encoding/base64url.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 base64 from "./base64.ts"; diff --git a/std/encoding/base64url_test.ts b/std/encoding/base64url_test.ts index 99dcf260c..3a41c5f64 100644 --- a/std/encoding/base64url_test.ts +++ b/std/encoding/base64url_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 { decode, encode } from "./base64url.ts"; diff --git a/std/encoding/binary.ts b/std/encoding/binary.ts index f66fb61aa..f62b3b7a4 100644 --- a/std/encoding/binary.ts +++ b/std/encoding/binary.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. type RawBaseType = "int8" | "int16" | "int32" | "uint8" | "uint16" | "uint32"; type RawNumberType = RawBaseType | "float32" | "float64"; diff --git a/std/encoding/binary_test.ts b/std/encoding/binary_test.ts index a4e3cb144..5688b84a2 100644 --- a/std/encoding/binary_test.ts +++ b/std/encoding/binary_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, assertThrowsAsync } from "../testing/asserts.ts"; import { diff --git a/std/encoding/csv.ts b/std/encoding/csv.ts index 5dd92fb0f..bda28c1d9 100644 --- a/std/encoding/csv.ts +++ b/std/encoding/csv.ts @@ -2,7 +2,7 @@ // https://github.com/golang/go/blob/go1.12.5/src/encoding/csv/ // Copyright 2011 The Go Authors. All rights reserved. BSD license. // https://github.com/golang/go/blob/master/LICENSE -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 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/csv_stringify.ts b/std/encoding/csv_stringify.ts index 913cd3116..758609734 100644 --- a/std/encoding/csv_stringify.ts +++ b/std/encoding/csv_stringify.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. // Implements the CSV spec at https://tools.ietf.org/html/rfc4180 // This module is browser compatible. diff --git a/std/encoding/csv_stringify_test.ts b/std/encoding/csv_stringify_test.ts index 7cad190fc..f8b7d81cd 100644 --- a/std/encoding/csv_stringify_test.ts +++ b/std/encoding/csv_stringify_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, assertThrowsAsync } from "../testing/asserts.ts"; diff --git a/std/encoding/csv_test.ts b/std/encoding/csv_test.ts index e81c1401f..c3257808f 100644 --- a/std/encoding/csv_test.ts +++ b/std/encoding/csv_test.ts @@ -2,7 +2,7 @@ // https://github.com/golang/go/blob/2cc15b1/src/encoding/csv/reader_test.go // Copyright 2011 The Go Authors. All rights reserved. BSD license. // https://github.com/golang/go/blob/master/LICENSE -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { assertEquals, assertThrowsAsync } from "../testing/asserts.ts"; import { diff --git a/std/encoding/hex.ts b/std/encoding/hex.ts index 4ff3f0724..c5cb51973 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-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 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 d1a4002c6..53161a3ba 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-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 { diff --git a/std/encoding/testdata/cargo.toml b/std/encoding/testdata/cargo.toml index bbc45246f..cb0c85fe6 100644 --- a/std/encoding/testdata/cargo.toml +++ b/std/encoding/testdata/cargo.toml @@ -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. # Dummy package info required by `cargo fetch`. [workspace] diff --git a/std/encoding/toml.ts b/std/encoding/toml.ts index 34a428b90..0bd0ee984 100644 --- a/std/encoding/toml.ts +++ b/std/encoding/toml.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 { deepAssign } from "../_util/deep_assign.ts"; import { assert } from "../_util/assert.ts"; diff --git a/std/encoding/toml_test.ts b/std/encoding/toml_test.ts index 870793844..ab28fa49f 100644 --- a/std/encoding/toml_test.ts +++ b/std/encoding/toml_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 { existsSync } from "../fs/exists.ts"; import * as path from "../path/mod.ts"; diff --git a/std/encoding/utf8.ts b/std/encoding/utf8.ts index b4ddfb94d..6951e37f0 100644 --- a/std/encoding/utf8.ts +++ b/std/encoding/utf8.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. /** A default TextEncoder instance */ export const encoder = new TextEncoder(); diff --git a/std/encoding/yaml.ts b/std/encoding/yaml.ts index 19245b2fc..956665244 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-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. export type { ParseOptions } from "./_yaml/parse.ts"; export { parse, parseAll } from "./_yaml/parse.ts"; diff --git a/std/encoding/yaml_test.ts b/std/encoding/yaml_test.ts index af75770dd..90ca9924f 100644 --- a/std/encoding/yaml_test.ts +++ b/std/encoding/yaml_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 "./_yaml/parse_test.ts"; import "./_yaml/stringify_test.ts"; diff --git a/std/examples/cat.ts b/std/examples/cat.ts index cf9a7cb1d..04c40034b 100644 --- a/std/examples/cat.ts +++ b/std/examples/cat.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. const filenames = Deno.args; for (const filename of filenames) { const file = await Deno.open(filename); diff --git a/std/examples/cat_test.ts b/std/examples/cat_test.ts index e151d5c62..9664ff713 100644 --- a/std/examples/cat_test.ts +++ b/std/examples/cat_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { assertStrictEquals } from "../testing/asserts.ts"; import { dirname, fromFileUrl } from "../path/mod.ts"; diff --git a/std/examples/catj.ts b/std/examples/catj.ts index a66a25ece..907f14879 100644 --- a/std/examples/catj.ts +++ b/std/examples/catj.ts @@ -1,7 +1,7 @@ #!/usr/bin/env -S deno run --allow-read // Ported from: https://github.com/soheilpro/catj // Copyright (c) 2014 Soheil Rashidi -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. // Install using `deno install` // $ deno install --allow-read https://deno.land/std/examples/catj.ts diff --git a/std/examples/catj_test.ts b/std/examples/catj_test.ts index 7a2d968f4..365b5c0b7 100644 --- a/std/examples/catj_test.ts +++ b/std/examples/catj_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { assertStrictEquals } from "../testing/asserts.ts"; import { dirname, fromFileUrl } from "../path/mod.ts"; diff --git a/std/examples/chat/server.ts b/std/examples/chat/server.ts index ce2e196f3..39b5ee124 100644 --- a/std/examples/chat/server.ts +++ b/std/examples/chat/server.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { listenAndServe } from "../../http/server.ts"; import { acceptable, diff --git a/std/examples/chat/server_test.ts b/std/examples/chat/server_test.ts index f9a4baae3..80a66cb2f 100644 --- a/std/examples/chat/server_test.ts +++ b/std/examples/chat/server_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { assert, assertEquals } from "../../testing/asserts.ts"; import { TextProtoReader } from "../../textproto/mod.ts"; import { BufReader } from "../../io/bufio.ts"; diff --git a/std/examples/colors.ts b/std/examples/colors.ts index 5c0f1ac77..4af8d9bfa 100644 --- a/std/examples/colors.ts +++ b/std/examples/colors.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { bgBlue, bold, italic, red } from "../fmt/colors.ts"; if (import.meta.main) { diff --git a/std/examples/colors_test.ts b/std/examples/colors_test.ts index cf3b8f4c6..4e009e329 100644 --- a/std/examples/colors_test.ts +++ b/std/examples/colors_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { assertStrictEquals } from "../testing/asserts.ts"; import { dirname, fromFileUrl } from "../path/mod.ts"; diff --git a/std/examples/curl.ts b/std/examples/curl.ts index a3e8b73db..2ed194446 100644 --- a/std/examples/curl.ts +++ b/std/examples/curl.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. const url_ = Deno.args[0]; const res = await fetch(url_); diff --git a/std/examples/curl_test.ts b/std/examples/curl_test.ts index 86beec79b..6612b17cc 100644 --- a/std/examples/curl_test.ts +++ b/std/examples/curl_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { serve } from "../http/server.ts"; import { assertStrictEquals } from "../testing/asserts.ts"; import { dirname, fromFileUrl } from "../path/mod.ts"; diff --git a/std/examples/echo_server.ts b/std/examples/echo_server.ts index dbcc9b5ae..03e0d6070 100644 --- a/std/examples/echo_server.ts +++ b/std/examples/echo_server.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. const hostname = "0.0.0.0"; const port = 8080; const listener = Deno.listen({ hostname, port }); diff --git a/std/examples/echo_server_test.ts b/std/examples/echo_server_test.ts index 9a0e34e3d..24e0c416b 100644 --- a/std/examples/echo_server_test.ts +++ b/std/examples/echo_server_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { assertNotEquals, assertStrictEquals } from "../testing/asserts.ts"; import { BufReader, ReadLineResult } from "../io/bufio.ts"; import { dirname, fromFileUrl } from "../path/mod.ts"; diff --git a/std/examples/flags.ts b/std/examples/flags.ts index d7f0fc650..a452494c5 100644 --- a/std/examples/flags.ts +++ b/std/examples/flags.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { parse } from "../flags/mod.ts"; if (import.meta.main) { diff --git a/std/examples/gist.ts b/std/examples/gist.ts index 31a22d750..1698ab354 100755 --- a/std/examples/gist.ts +++ b/std/examples/gist.ts @@ -1,5 +1,5 @@ #!/usr/bin/env -S deno run --allow-net --allow-env -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. // A program to post files to gist.github.com. Use the following to install it: // deno install -f --allow-env --allow-read --allow-net=api.github.com https://deno.land/std/examples/gist.ts import { parse } from "../flags/mod.ts"; diff --git a/std/examples/test.ts b/std/examples/test.ts index cf4d821f9..6afeb221f 100644 --- a/std/examples/test.ts +++ b/std/examples/test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { assertEquals } from "../testing/asserts.ts"; import { dirname, fromFileUrl, relative, resolve } from "../path/mod.ts"; diff --git a/std/examples/test_test.ts b/std/examples/test_test.ts index 2c85b664e..c8e3c4ac1 100644 --- a/std/examples/test_test.ts +++ b/std/examples/test_test.ts @@ -1,2 +1,2 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import "./test.ts"; diff --git a/std/examples/welcome_test.ts b/std/examples/welcome_test.ts index c9cc2e94f..2e26aa967 100644 --- a/std/examples/welcome_test.ts +++ b/std/examples/welcome_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { assertStrictEquals } from "../testing/asserts.ts"; import { dirname, fromFileUrl } from "../path/mod.ts"; diff --git a/std/examples/xeval.ts b/std/examples/xeval.ts index 97b373ab7..cff15edd0 100644 --- a/std/examples/xeval.ts +++ b/std/examples/xeval.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { parse } from "../flags/mod.ts"; import { readStringDelim } from "../io/bufio.ts"; diff --git a/std/examples/xeval_test.ts b/std/examples/xeval_test.ts index fc244d853..4793c6346 100644 --- a/std/examples/xeval_test.ts +++ b/std/examples/xeval_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { xeval } from "./xeval.ts"; import { StringReader } from "../io/readers.ts"; import { decode, encode } from "../encoding/utf8.ts"; diff --git a/std/flags/all_bool_test.ts b/std/flags/all_bool_test.ts index 465635096..3da80cb37 100755 --- a/std/flags/all_bool_test.ts +++ b/std/flags/all_bool_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 { parse } from "./mod.ts"; diff --git a/std/flags/bool_test.ts b/std/flags/bool_test.ts index a99be7366..bafa21adf 100755 --- a/std/flags/bool_test.ts +++ b/std/flags/bool_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 { parse } from "./mod.ts"; diff --git a/std/flags/dash_test.ts b/std/flags/dash_test.ts index 7a4f7dd1e..959956d99 100755 --- a/std/flags/dash_test.ts +++ b/std/flags/dash_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 { parse } from "./mod.ts"; diff --git a/std/flags/default_bool_test.ts b/std/flags/default_bool_test.ts index e433a965d..625bed3bf 100755 --- a/std/flags/default_bool_test.ts +++ b/std/flags/default_bool_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 { parse } from "./mod.ts"; diff --git a/std/flags/dotted_test.ts b/std/flags/dotted_test.ts index 73013228c..aed394198 100755 --- a/std/flags/dotted_test.ts +++ b/std/flags/dotted_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 { parse } from "./mod.ts"; diff --git a/std/flags/kv_short_test.ts b/std/flags/kv_short_test.ts index dca05fb87..453d8a956 100755 --- a/std/flags/kv_short_test.ts +++ b/std/flags/kv_short_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 { parse } from "./mod.ts"; diff --git a/std/flags/long_test.ts b/std/flags/long_test.ts index 1c8ccca51..b10d101f6 100755 --- a/std/flags/long_test.ts +++ b/std/flags/long_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 { parse } from "./mod.ts"; diff --git a/std/flags/mod.ts b/std/flags/mod.ts index 94734fdab..7c066f900 100644 --- a/std/flags/mod.ts +++ b/std/flags/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 { assert } from "../_util/assert.ts"; diff --git a/std/flags/num_test.ts b/std/flags/num_test.ts index a457ba959..b57aed409 100755 --- a/std/flags/num_test.ts +++ b/std/flags/num_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 { parse } from "./mod.ts"; diff --git a/std/flags/parse_test.ts b/std/flags/parse_test.ts index 3e981a43a..5b36d0857 100755 --- a/std/flags/parse_test.ts +++ b/std/flags/parse_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 { parse } from "./mod.ts"; diff --git a/std/flags/short_test.ts b/std/flags/short_test.ts index d152a3736..9f7936f98 100755 --- a/std/flags/short_test.ts +++ b/std/flags/short_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 { parse } from "./mod.ts"; diff --git a/std/flags/stop_early_test.ts b/std/flags/stop_early_test.ts index 219ef8042..f7e23881a 100755 --- a/std/flags/stop_early_test.ts +++ b/std/flags/stop_early_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 { parse } from "./mod.ts"; diff --git a/std/flags/test.ts b/std/flags/test.ts index 57684a50e..590417055 100644 --- a/std/flags/test.ts +++ b/std/flags/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/flags/unknown_test.ts b/std/flags/unknown_test.ts index d17fb8111..4f79215b6 100755 --- a/std/flags/unknown_test.ts +++ b/std/flags/unknown_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 { parse } from "./mod.ts"; diff --git a/std/flags/whitespace_test.ts b/std/flags/whitespace_test.ts index ff7e2c5aa..bb9aab1f4 100755 --- a/std/flags/whitespace_test.ts +++ b/std/flags/whitespace_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 { parse } from "./mod.ts"; diff --git a/std/fmt/colors.ts b/std/fmt/colors.ts index a2787a198..3596638f5 100644 --- a/std/fmt/colors.ts +++ b/std/fmt/colors.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. // 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 a43bd82fe..7f5940a4d 100644 --- a/std/fmt/colors_test.ts +++ b/std/fmt/colors_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { assertEquals } from "../testing/asserts.ts"; import * as c from "./colors.ts"; import "../examples/colors.ts"; diff --git a/std/fmt/printf.ts b/std/fmt/printf.ts index 27d4acca9..4f8a83933 100644 --- a/std/fmt/printf.ts +++ b/std/fmt/printf.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. /** * This implementation is inspired by POSIX and Golang but does not port * implementation code. */ diff --git a/std/fmt/printf_test.ts b/std/fmt/printf_test.ts index 3987d0b73..6b6e25a37 100644 --- a/std/fmt/printf_test.ts +++ b/std/fmt/printf_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. // // A number of test-cases based on: // diff --git a/std/hash/_fnv/fnv32.ts b/std/hash/_fnv/fnv32.ts index 9547e1199..679d44a62 100644 --- a/std/hash/_fnv/fnv32.ts +++ b/std/hash/_fnv/fnv32.ts @@ -2,7 +2,7 @@ // https://github.com/golang/go/tree/go1.13.10/src/hash/fnv/fnv.go // Copyright 2011 The Go Authors. All rights reserved. BSD license. // https://github.com/golang/go/blob/master/LICENSE -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { mul32 } from "./util.ts"; diff --git a/std/hash/_fnv/fnv64.ts b/std/hash/_fnv/fnv64.ts index 8a5b5187d..882636d0e 100644 --- a/std/hash/_fnv/fnv64.ts +++ b/std/hash/_fnv/fnv64.ts @@ -2,7 +2,7 @@ // https://github.com/golang/go/tree/go1.13.10/src/hash/fnv/fnv.go // Copyright 2011 The Go Authors. All rights reserved. BSD license. // https://github.com/golang/go/blob/master/LICENSE -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { mul64 } from "./util.ts"; diff --git a/std/hash/_fnv/util.ts b/std/hash/_fnv/util.ts index 096b70815..8afed8e82 100644 --- a/std/hash/_fnv/util.ts +++ b/std/hash/_fnv/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. function n16(n: number): number { return n & 0xffff; diff --git a/std/hash/_fnv/util_test.ts b/std/hash/_fnv/util_test.ts index 5e31a98bd..fb9dd3208 100644 --- a/std/hash/_fnv/util_test.ts +++ b/std/hash/_fnv/util_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 { mul32, mul64 } from "./util.ts"; diff --git a/std/hash/_sha3/keccak.ts b/std/hash/_sha3/keccak.ts index 67cccca3c..403a2dcb0 100644 --- a/std/hash/_sha3/keccak.ts +++ b/std/hash/_sha3/keccak.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 { Sponge } from "./sponge.ts"; import { keccakf } from "./keccakf.ts"; diff --git a/std/hash/_sha3/keccakf.ts b/std/hash/_sha3/keccakf.ts index 8db90b1a4..0ba2b870c 100644 --- a/std/hash/_sha3/keccakf.ts +++ b/std/hash/_sha3/keccakf.ts @@ -2,7 +2,7 @@ // https://github.com/golang/crypto/blob/master/sha3/keccakf.go // Copyright 2011 The Go Authors. All rights reserved. BSD license. // https://github.com/golang/go/blob/master/LICENSE -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. const KECCAK_ROUNDS = 24; const KECCAK_RC: number[] = [ diff --git a/std/hash/_sha3/sha3.ts b/std/hash/_sha3/sha3.ts index 4aa50b900..2966ce2a4 100644 --- a/std/hash/_sha3/sha3.ts +++ b/std/hash/_sha3/sha3.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 { Sponge } from "./sponge.ts"; import { keccakf } from "./keccakf.ts"; diff --git a/std/hash/_sha3/shake.ts b/std/hash/_sha3/shake.ts index 05c699ea5..4fe24d7cf 100644 --- a/std/hash/_sha3/shake.ts +++ b/std/hash/_sha3/shake.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 { Sponge } from "./sponge.ts"; import { keccakf } from "./keccakf.ts"; diff --git a/std/hash/_sha3/sponge.ts b/std/hash/_sha3/sponge.ts index a5705e13e..9ad67ca07 100644 --- a/std/hash/_sha3/sponge.ts +++ b/std/hash/_sha3/sponge.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 hex from "../../encoding/hex.ts"; diff --git a/std/hash/_wasm/build.ts b/std/hash/_wasm/build.ts index 43553b272..a328c2615 100644 --- a/std/hash/_wasm/build.ts +++ b/std/hash/_wasm/build.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 { encode as base64Encode } from "../../encoding/base64.ts"; diff --git a/std/hash/_wasm/hash.ts b/std/hash/_wasm/hash.ts index 43ddf77f3..eb6636dab 100644 --- a/std/hash/_wasm/hash.ts +++ b/std/hash/_wasm/hash.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 init, { source, diff --git a/std/hash/_wasm/src/lib.rs b/std/hash/_wasm/src/lib.rs index e88f272cf..7e72a7471 100644 --- a/std/hash/_wasm/src/lib.rs +++ b/std/hash/_wasm/src/lib.rs @@ -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. use digest::{Digest, DynDigest}; use wasm_bindgen::prelude::*; diff --git a/std/hash/fnv.ts b/std/hash/fnv.ts index ecabd4239..8c0ba21c1 100644 --- a/std/hash/fnv.ts +++ b/std/hash/fnv.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 { Fnv32, Fnv32a } from "./_fnv/fnv32.ts"; export { Fnv64, Fnv64a } from "./_fnv/fnv64.ts"; diff --git a/std/hash/fnv_test.ts b/std/hash/fnv_test.ts index 20209703a..923c63d9e 100644 --- a/std/hash/fnv_test.ts +++ b/std/hash/fnv_test.ts @@ -2,7 +2,7 @@ // https://github.com/golang/go/tree/go1.13.10/src/hash/fnv/fnv_test.go // Copyright 2011 The Go Authors. All rights reserved. BSD license. // https://github.com/golang/go/blob/master/LICENSE -// 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 { Fnv32, Fnv32a, Fnv64, Fnv64a } from "./fnv.ts"; diff --git a/std/hash/hasher.ts b/std/hash/hasher.ts index 2d941d38f..e04cb56ef 100644 --- a/std/hash/hasher.ts +++ b/std/hash/hasher.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 type Message = string | ArrayBuffer; export type OutputFormat = "hex" | "base64"; diff --git a/std/hash/md5.ts b/std/hash/md5.ts index 0e7017bc9..36984d3ab 100644 --- a/std/hash/md5.ts +++ b/std/hash/md5.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 hex from "../encoding/hex.ts"; diff --git a/std/hash/md5_test.ts b/std/hash/md5_test.ts index 89bd249ab..ebdc873dd 100644 --- a/std/hash/md5_test.ts +++ b/std/hash/md5_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 { Md5 } from "./md5.ts"; diff --git a/std/hash/mod.ts b/std/hash/mod.ts index 06c9ce439..7ab4dbbc4 100644 --- a/std/hash/mod.ts +++ b/std/hash/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 { Hash } from "./_wasm/hash.ts"; import type { Hasher } from "./hasher.ts"; diff --git a/std/hash/sha1.ts b/std/hash/sha1.ts index b30ccb6b6..91b1f0de9 100644 --- a/std/hash/sha1.ts +++ b/std/hash/sha1.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. /* * [js-sha1]{@link https://github.com/emn178/js-sha1} * diff --git a/std/hash/sha1_test.ts b/std/hash/sha1_test.ts index fae57e2f2..fc66df0bf 100644 --- a/std/hash/sha1_test.ts +++ b/std/hash/sha1_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 { HmacSha1, Message, Sha1 } from "./sha1.ts"; import { dirname, fromFileUrl, join, resolve } from "../path/mod.ts"; diff --git a/std/hash/sha256.ts b/std/hash/sha256.ts index d1516711f..a566f838a 100644 --- a/std/hash/sha256.ts +++ b/std/hash/sha256.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. /* * Adapted to deno from: * diff --git a/std/hash/sha256_test.ts b/std/hash/sha256_test.ts index 1d03ea987..1ca929223 100644 --- a/std/hash/sha256_test.ts +++ b/std/hash/sha256_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 { HmacSha256, Message, Sha256 } from "./sha256.ts"; import { assertEquals } from "../testing/asserts.ts"; import { dirname, fromFileUrl, join, resolve } from "../path/mod.ts"; diff --git a/std/hash/sha3.ts b/std/hash/sha3.ts index 33ae4a8d0..2bfbd6d7b 100644 --- a/std/hash/sha3.ts +++ b/std/hash/sha3.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 { Sha3_224, Sha3_256, Sha3_384, Sha3_512 } from "./_sha3/sha3.ts"; export { Keccak224, Keccak256, Keccak384, Keccak512 } from "./_sha3/keccak.ts"; diff --git a/std/hash/sha3_test.ts b/std/hash/sha3_test.ts index cfdce0553..5ceea075d 100644 --- a/std/hash/sha3_test.ts +++ b/std/hash/sha3_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 { diff --git a/std/hash/sha512.ts b/std/hash/sha512.ts index 409dc8994..98b0fec31 100644 --- a/std/hash/sha512.ts +++ b/std/hash/sha512.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. /* * [js-sha512]{@link https://github.com/emn178/js-sha512} * diff --git a/std/hash/sha512_test.ts b/std/hash/sha512_test.ts index b9f72b150..97f199b4d 100644 --- a/std/hash/sha512_test.ts +++ b/std/hash/sha512_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 { HmacSha512, Message, Sha512 } from "./sha512.ts"; import { assertEquals } from "../testing/asserts.ts"; import { dirname, fromFileUrl, join, resolve } from "../path/mod.ts"; diff --git a/std/hash/test.ts b/std/hash/test.ts index 4d7d7465d..31540e384 100644 --- a/std/hash/test.ts +++ b/std/hash/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 { createHash, SupportedAlgorithm } from "./mod.ts"; diff --git a/std/http/_io.ts b/std/http/_io.ts index 4ff3dd4e6..5bdf930e6 100644 --- a/std/http/_io.ts +++ b/std/http/_io.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 { 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 7c1a80a2f..ea3d282b8 100644 --- a/std/http/_io_test.ts +++ b/std/http/_io_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/http/_mock_conn.ts b/std/http/_mock_conn.ts index 4ce2b65f4..b2abb301a 100644 --- a/std/http/_mock_conn.ts +++ b/std/http/_mock_conn.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. /** Create dummy Deno.Conn object with given base properties */ export function mockConn(base: Partial<Deno.Conn> = {}): Deno.Conn { diff --git a/std/http/bench.ts b/std/http/bench.ts index 15f223323..5ba95ef0a 100644 --- a/std/http/bench.ts +++ b/std/http/bench.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 "./server.ts"; const addr = Deno.args[0] || "127.0.0.1:4500"; diff --git a/std/http/cookie.ts b/std/http/cookie.ts index 48895a2b1..c48a94d95 100644 --- a/std/http/cookie.ts +++ b/std/http/cookie.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. // Structured similarly to Go's cookie.go // https://github.com/golang/go/blob/master/src/net/http/cookie.go import { assert } from "../_util/assert.ts"; diff --git a/std/http/cookie_test.ts b/std/http/cookie_test.ts index 09d6764af..1973eed01 100644 --- a/std/http/cookie_test.ts +++ b/std/http/cookie_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 { Response, ServerRequest } from "./server.ts"; import { deleteCookie, getCookies, setCookie } from "./cookie.ts"; import { assert, assertEquals, assertThrows } from "../testing/asserts.ts"; diff --git a/std/http/file_server.ts b/std/http/file_server.ts index c0d58351b..5b8811c08 100644 --- a/std/http/file_server.ts +++ b/std/http/file_server.ts @@ -1,5 +1,5 @@ #!/usr/bin/env -S deno run --allow-net --allow-read -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 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 050109fe0..beb0c830d 100644 --- a/std/http/file_server_test.ts +++ b/std/http/file_server_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { assert, assertEquals, diff --git a/std/http/http_status.ts b/std/http/http_status.ts index a0d0c278d..a6148b2f7 100644 --- a/std/http/http_status.ts +++ b/std/http/http_status.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. /** HTTP status codes */ export enum Status { diff --git a/std/http/mod.ts b/std/http/mod.ts index 373e01449..827eaebf8 100644 --- a/std/http/mod.ts +++ b/std/http/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 "./cookie.ts"; export * from "./http_status.ts"; export * from "./server.ts"; diff --git a/std/http/racing_server.ts b/std/http/racing_server.ts index 1770443af..b5cf69298 100644 --- a/std/http/racing_server.ts +++ b/std/http/racing_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, ServerRequest } from "./server.ts"; import { delay } from "../async/delay.ts"; diff --git a/std/http/racing_server_test.ts b/std/http/racing_server_test.ts index 5e253c6cd..8018a4312 100644 --- a/std/http/racing_server_test.ts +++ b/std/http/racing_server_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { assert, assertEquals } from "../testing/asserts.ts"; import { BufReader, BufWriter } from "../io/bufio.ts"; import { TextProtoReader } from "../textproto/mod.ts"; diff --git a/std/http/server.ts b/std/http/server.ts index 2833c48dc..f17c759c4 100644 --- a/std/http/server.ts +++ b/std/http/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 { encode } from "../encoding/utf8.ts"; import { BufReader, BufWriter } from "../io/bufio.ts"; import { assert } from "../_util/assert.ts"; diff --git a/std/http/test.ts b/std/http/test.ts index 57684a50e..590417055 100644 --- a/std/http/test.ts +++ b/std/http/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/http/testdata/simple_https_server.ts b/std/http/testdata/simple_https_server.ts index de6111bbf..84dfb39ab 100644 --- a/std/http/testdata/simple_https_server.ts +++ b/std/http/testdata/simple_https_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. // This is an example of a https server import { serveTLS } from "../server.ts"; diff --git a/std/http/testdata/simple_server.ts b/std/http/testdata/simple_server.ts index d8ca4cc97..ff2a0b5ac 100644 --- a/std/http/testdata/simple_server.ts +++ b/std/http/testdata/simple_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. // This is an example of a server that responds with an empty body import { serve } from "../server.ts"; diff --git a/std/io/_iotest.ts b/std/io/_iotest.ts index 726e7e2a6..5905d2552 100644 --- a/std/io/_iotest.ts +++ b/std/io/_iotest.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.// Ported to Deno from +// Copyright 2018-2021 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 da44729b2..f3b1893cb 100644 --- a/std/io/bufio.ts +++ b/std/io/bufio.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. // 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 3cba3b704..8715cc3b8 100644 --- a/std/io/bufio_test.ts +++ b/std/io/bufio_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. // 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/ioutil.ts b/std/io/ioutil.ts index da48e95ab..d213095d9 100644 --- a/std/io/ioutil.ts +++ b/std/io/ioutil.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 type { BufReader } 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 9b17ce66d..ec94ccc5b 100644 --- a/std/io/ioutil_test.ts +++ b/std/io/ioutil_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 { copyN, diff --git a/std/io/mod.ts b/std/io/mod.ts index 2f4fbcc26..257d3be9e 100644 --- a/std/io/mod.ts +++ b/std/io/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 "./bufio.ts"; export * from "./ioutil.ts"; export * from "./readers.ts"; diff --git a/std/io/readers.ts b/std/io/readers.ts index 58961b430..c3ee2ad14 100644 --- a/std/io/readers.ts +++ b/std/io/readers.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. // Based on https://github.com/golang/go/blob/0452f9460f50f0f0aba18df43dc2b31906fb66cc/src/io/io.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/readers_test.ts b/std/io/readers_test.ts index 53edb851c..e29a984b8 100644 --- a/std/io/readers_test.ts +++ b/std/io/readers_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 { LimitedReader, MultiReader, StringReader } from "./readers.ts"; import { StringWriter } from "./writers.ts"; diff --git a/std/io/streams.ts b/std/io/streams.ts index 2c4fbb6b9..8c726db43 100644 --- a/std/io/streams.ts +++ b/std/io/streams.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. /** Create a `Writer` from a `WritableStreamDefaultReader`. */ export function writerFromStreamWriter( diff --git a/std/io/streams_test.ts b/std/io/streams_test.ts index 68a4f6b45..5017b1f4f 100644 --- a/std/io/streams_test.ts +++ b/std/io/streams_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 { diff --git a/std/io/test.ts b/std/io/test.ts index 57684a50e..590417055 100644 --- a/std/io/test.ts +++ b/std/io/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/io/writers.ts b/std/io/writers.ts index d42f552e8..a9ce82180 100644 --- a/std/io/writers.ts +++ b/std/io/writers.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. type Writer = Deno.Writer; type WriterSync = Deno.WriterSync; import { decode, encode } from "../encoding/utf8.ts"; diff --git a/std/io/writers_test.ts b/std/io/writers_test.ts index 6dedf72a3..7135bfff3 100644 --- a/std/io/writers_test.ts +++ b/std/io/writers_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 { StringWriter } from "./writers.ts"; import { StringReader } from "./readers.ts"; diff --git a/std/log/handlers.ts b/std/log/handlers.ts index c538de380..acfb16641 100644 --- a/std/log/handlers.ts +++ b/std/log/handlers.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 { getLevelByName, LevelName, LogLevels } from "./levels.ts"; import type { LogRecord } from "./logger.ts"; import { blue, bold, red, yellow } from "../fmt/colors.ts"; diff --git a/std/log/handlers_test.ts b/std/log/handlers_test.ts index 52c1edb64..a8e3a3df2 100644 --- a/std/log/handlers_test.ts +++ b/std/log/handlers_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/log/levels.ts b/std/log/levels.ts index ed6010ba2..6b748e992 100644 --- a/std/log/levels.ts +++ b/std/log/levels.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. /** Get log level numeric values through enum constants */ export enum LogLevels { diff --git a/std/log/logger.ts b/std/log/logger.ts index 7ef23977a..bd8d8cce5 100644 --- a/std/log/logger.ts +++ b/std/log/logger.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 { getLevelByName, getLevelName, LogLevels } from "./levels.ts"; import type { LevelName } from "./levels.ts"; import type { BaseHandler } from "./handlers.ts"; diff --git a/std/log/logger_test.ts b/std/log/logger_test.ts index b01d1dc5d..bfaa653c9 100644 --- a/std/log/logger_test.ts +++ b/std/log/logger_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, assertMatch } from "../testing/asserts.ts"; import { Logger, LogRecord } from "./logger.ts"; import { LevelName, LogLevels } from "./levels.ts"; diff --git a/std/log/mod.ts b/std/log/mod.ts index 8469d50cb..31fc9aaee 100644 --- a/std/log/mod.ts +++ b/std/log/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 { Logger } from "./logger.ts"; import type { GenericFunction } from "./logger.ts"; import { diff --git a/std/log/mod_test.ts b/std/log/mod_test.ts index f2467ef68..7823042e7 100644 --- a/std/log/mod_test.ts +++ b/std/log/mod_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 { critical, diff --git a/std/log/test.ts b/std/log/test.ts index 23eac7ff4..1966824e1 100644 --- a/std/log/test.ts +++ b/std/log/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 * as log from "./mod.ts"; import { diff --git a/std/mime/mod.ts b/std/mime/mod.ts index 214f60f70..e8bd8d646 100644 --- a/std/mime/mod.ts +++ b/std/mime/mod.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. export * from "./multipart.ts"; diff --git a/std/mime/multipart.ts b/std/mime/multipart.ts index df66acfe7..b0d03bbc6 100644 --- a/std/mime/multipart.ts +++ b/std/mime/multipart.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 { equals, indexOf, lastIndexOf, startsWith } from "../bytes/mod.ts"; import { copyN } from "../io/ioutil.ts"; import { MultiReader } from "../io/readers.ts"; diff --git a/std/mime/multipart_test.ts b/std/mime/multipart_test.ts index e2f763b09..6d392f7c2 100644 --- a/std/mime/multipart_test.ts +++ b/std/mime/multipart_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/mime/test.ts b/std/mime/test.ts index 57684a50e..590417055 100644 --- a/std/mime/test.ts +++ b/std/mime/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/node/_fs/_fs_access.ts b/std/node/_fs/_fs_access.ts index f3fb1a010..cb1903677 100644 --- a/std/node/_fs/_fs_access.ts +++ b/std/node/_fs/_fs_access.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 type { CallbackWithError } from "./_fs_common.ts"; import { notImplemented } from "../_utils.ts"; diff --git a/std/node/_fs/_fs_appendFile.ts b/std/node/_fs/_fs_appendFile.ts index 5443b0374..5a7617632 100644 --- a/std/node/_fs/_fs_appendFile.ts +++ b/std/node/_fs/_fs_appendFile.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 { CallbackWithError, getOpenOptions, diff --git a/std/node/_fs/_fs_appendFile_test.ts b/std/node/_fs/_fs_appendFile_test.ts index d9aea3535..af430ec97 100644 --- a/std/node/_fs/_fs_appendFile_test.ts +++ b/std/node/_fs/_fs_appendFile_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, fail } from "../../testing/asserts.ts"; import { appendFile, appendFileSync } from "./_fs_appendFile.ts"; import { fromFileUrl } from "../path.ts"; diff --git a/std/node/_fs/_fs_chmod.ts b/std/node/_fs/_fs_chmod.ts index 7b8d11b71..cb673da67 100644 --- a/std/node/_fs/_fs_chmod.ts +++ b/std/node/_fs/_fs_chmod.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 type { CallbackWithError } from "./_fs_common.ts"; import { fromFileUrl } from "../path.ts"; diff --git a/std/node/_fs/_fs_chmod_test.ts b/std/node/_fs/_fs_chmod_test.ts index e0141b4f4..5f946794e 100644 --- a/std/node/_fs/_fs_chmod_test.ts +++ b/std/node/_fs/_fs_chmod_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, fail } from "../../testing/asserts.ts"; import { chmod, chmodSync } from "./_fs_chmod.ts"; diff --git a/std/node/_fs/_fs_chown.ts b/std/node/_fs/_fs_chown.ts index 021b6498a..ca709f2ea 100644 --- a/std/node/_fs/_fs_chown.ts +++ b/std/node/_fs/_fs_chown.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 type { CallbackWithError } from "./_fs_common.ts"; import { fromFileUrl } from "../path.ts"; diff --git a/std/node/_fs/_fs_chown_test.ts b/std/node/_fs/_fs_chown_test.ts index e3f39553c..dc881c27a 100644 --- a/std/node/_fs/_fs_chown_test.ts +++ b/std/node/_fs/_fs_chown_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, fail } from "../../testing/asserts.ts"; import { chown, chownSync } from "./_fs_chown.ts"; diff --git a/std/node/_fs/_fs_close.ts b/std/node/_fs/_fs_close.ts index 1b5393db0..8e9a1f620 100644 --- a/std/node/_fs/_fs_close.ts +++ b/std/node/_fs/_fs_close.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 type { CallbackWithError } from "./_fs_common.ts"; export function close(fd: number, callback: CallbackWithError): void { diff --git a/std/node/_fs/_fs_close_test.ts b/std/node/_fs/_fs_close_test.ts index 1e61ede36..047f6d977 100644 --- a/std/node/_fs/_fs_close_test.ts +++ b/std/node/_fs/_fs_close_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, assertThrows, fail } from "../../testing/asserts.ts"; import { close, closeSync } from "./_fs_close.ts"; diff --git a/std/node/_fs/_fs_common.ts b/std/node/_fs/_fs_common.ts index 6fe77d54c..73a0a81ef 100644 --- a/std/node/_fs/_fs_common.ts +++ b/std/node/_fs/_fs_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. import { BinaryEncodings, Encodings, diff --git a/std/node/_fs/_fs_constants.ts b/std/node/_fs/_fs_constants.ts index 765e4af79..7f740276b 100644 --- a/std/node/_fs/_fs_constants.ts +++ b/std/node/_fs/_fs_constants.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. //File access constants export const F_OK = 0; diff --git a/std/node/_fs/_fs_copy.ts b/std/node/_fs/_fs_copy.ts index 21d05a7fe..00d17798f 100644 --- a/std/node/_fs/_fs_copy.ts +++ b/std/node/_fs/_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 type { CallbackWithError } from "./_fs_common.ts"; import { fromFileUrl } from "../path.ts"; diff --git a/std/node/_fs/_fs_copy_test.ts b/std/node/_fs/_fs_copy_test.ts index 891e80784..c61fffb14 100644 --- a/std/node/_fs/_fs_copy_test.ts +++ b/std/node/_fs/_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 } from "../../testing/asserts.ts"; import { copyFile, copyFileSync } from "./_fs_copy.ts"; import { existsSync } from "./_fs_exists.ts"; diff --git a/std/node/_fs/_fs_dir.ts b/std/node/_fs/_fs_dir.ts index 18d104981..b2353146b 100644 --- a/std/node/_fs/_fs_dir.ts +++ b/std/node/_fs/_fs_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 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 0dea64c81..b2b0998b3 100644 --- a/std/node/_fs/_fs_dir_test.ts +++ b/std/node/_fs/_fs_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, 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 4a39c41fb..b44ebcb02 100644 --- a/std/node/_fs/_fs_dirent.ts +++ b/std/node/_fs/_fs_dirent.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 { 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 46d8b8d34..ad599c84c 100644 --- a/std/node/_fs/_fs_dirent_test.ts +++ b/std/node/_fs/_fs_dirent_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, assertThrows } from "../../testing/asserts.ts"; import Dirent from "./_fs_dirent.ts"; diff --git a/std/node/_fs/_fs_exists.ts b/std/node/_fs/_fs_exists.ts index e6e6e4f2e..91f2ce105 100644 --- a/std/node/_fs/_fs_exists.ts +++ b/std/node/_fs/_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. import { fromFileUrl } from "../path.ts"; type ExitsCallback = (exists: boolean) => void; diff --git a/std/node/_fs/_fs_exists_test.ts b/std/node/_fs/_fs_exists_test.ts index d7d2f7f29..6e120af98 100644 --- a/std/node/_fs/_fs_exists_test.ts +++ b/std/node/_fs/_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 } from "../../testing/asserts.ts"; import { exists, existsSync } from "./_fs_exists.ts"; diff --git a/std/node/_fs/_fs_link.ts b/std/node/_fs/_fs_link.ts index b5d8c399c..0fe7e1b4a 100644 --- a/std/node/_fs/_fs_link.ts +++ b/std/node/_fs/_fs_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 type { CallbackWithError } from "./_fs_common.ts"; import { fromFileUrl } from "../path.ts"; diff --git a/std/node/_fs/_fs_link_test.ts b/std/node/_fs/_fs_link_test.ts index 6cb3a4d6d..4804b2eed 100644 --- a/std/node/_fs/_fs_link_test.ts +++ b/std/node/_fs/_fs_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. import { assertEquals, fail } from "../../testing/asserts.ts"; import { link, linkSync } from "./_fs_link.ts"; import { assert } from "../../testing/asserts.ts"; diff --git a/std/node/_fs/_fs_mkdir.ts b/std/node/_fs/_fs_mkdir.ts index 63aabd010..3a060ee76 100644 --- a/std/node/_fs/_fs_mkdir.ts +++ b/std/node/_fs/_fs_mkdir.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 type { CallbackWithError } from "./_fs_common.ts"; import { fromFileUrl } from "../path.ts"; diff --git a/std/node/_fs/_fs_mkdir_test.ts b/std/node/_fs/_fs_mkdir_test.ts index 8909d85de..e3d68ea9c 100644 --- a/std/node/_fs/_fs_mkdir_test.ts +++ b/std/node/_fs/_fs_mkdir_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 { mkdir, mkdirSync } from "./_fs_mkdir.ts"; import { existsSync } from "./_fs_exists.ts"; diff --git a/std/node/_fs/_fs_mkdtemp_test.ts b/std/node/_fs/_fs_mkdtemp_test.ts index b34e95503..d41c52794 100644 --- a/std/node/_fs/_fs_mkdtemp_test.ts +++ b/std/node/_fs/_fs_mkdtemp_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, assertThrows, diff --git a/std/node/_fs/_fs_readFile.ts b/std/node/_fs/_fs_readFile.ts index d380161fd..7540c8207 100644 --- a/std/node/_fs/_fs_readFile.ts +++ b/std/node/_fs/_fs_readFile.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 { BinaryOptionsArgument, FileOptionsArgument, diff --git a/std/node/_fs/_fs_readFile_test.ts b/std/node/_fs/_fs_readFile_test.ts index bc2635e82..50fe569ff 100644 --- a/std/node/_fs/_fs_readFile_test.ts +++ b/std/node/_fs/_fs_readFile_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 { readFile, readFileSync } from "./_fs_readFile.ts"; import * as path from "../../path/mod.ts"; import { assert, assertEquals } from "../../testing/asserts.ts"; diff --git a/std/node/_fs/_fs_readlink.ts b/std/node/_fs/_fs_readlink.ts index 866ea187b..37a7a108f 100644 --- a/std/node/_fs/_fs_readlink.ts +++ b/std/node/_fs/_fs_readlink.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 { intoCallbackAPIWithIntercept, MaybeEmpty, diff --git a/std/node/_fs/_fs_readlink_test.ts b/std/node/_fs/_fs_readlink_test.ts index 61bc3b004..06cd7e2dc 100644 --- a/std/node/_fs/_fs_readlink_test.ts +++ b/std/node/_fs/_fs_readlink_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 { readlink, readlinkSync } from "./_fs_readlink.ts"; import { assert, assertEquals } from "../../testing/asserts.ts"; import * as path from "../path.ts"; diff --git a/std/node/_fs/_fs_writeFile.ts b/std/node/_fs/_fs_writeFile.ts index 434e779e3..e68bd8884 100644 --- a/std/node/_fs/_fs_writeFile.ts +++ b/std/node/_fs/_fs_writeFile.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 { Encodings, notImplemented } from "../_utils.ts"; import { fromFileUrl } from "../path.ts"; import { Buffer } from "../buffer.ts"; diff --git a/std/node/_fs/_fs_writeFile_test.ts b/std/node/_fs/_fs_writeFile_test.ts index 6e1e47e1a..561f71f88 100644 --- a/std/node/_fs/_fs_writeFile_test.ts +++ b/std/node/_fs/_fs_writeFile_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/node/_fs/promises/_fs_readFile.ts b/std/node/_fs/promises/_fs_readFile.ts index fed5367ed..3067b301f 100644 --- a/std/node/_fs/promises/_fs_readFile.ts +++ b/std/node/_fs/promises/_fs_readFile.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 type { BinaryOptionsArgument, FileOptionsArgument, diff --git a/std/node/_fs/promises/_fs_readFile_test.ts b/std/node/_fs/promises/_fs_readFile_test.ts index 2068797b9..2810d1773 100644 --- a/std/node/_fs/promises/_fs_readFile_test.ts +++ b/std/node/_fs/promises/_fs_readFile_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 { readFile } from "./_fs_readFile.ts"; import * as path from "../../../path/mod.ts"; import { assert, assertEquals } from "../../../testing/asserts.ts"; diff --git a/std/node/_fs/promises/_fs_writeFile.ts b/std/node/_fs/promises/_fs_writeFile.ts index bc398b1a2..554b65d24 100644 --- a/std/node/_fs/promises/_fs_writeFile.ts +++ b/std/node/_fs/promises/_fs_writeFile.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 type { WriteFileOptions } from "../_fs_common.ts"; import type { Encodings } from "../../_utils.ts"; diff --git a/std/node/_fs/promises/_fs_writeFile_test.ts b/std/node/_fs/promises/_fs_writeFile_test.ts index 296387827..644a416ca 100644 --- a/std/node/_fs/promises/_fs_writeFile_test.ts +++ b/std/node/_fs/promises/_fs_writeFile_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/node/_util/_util_callbackify.ts b/std/node/_util/_util_callbackify.ts index a50816346..e0b862b0e 100644 --- a/std/node/_util/_util_callbackify.ts +++ b/std/node/_util/_util_callbackify.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. // // Adapted from Node.js. Copyright Joyent, Inc. and other Node contributors. // diff --git a/std/node/_util/_util_callbackify_test.ts b/std/node/_util/_util_callbackify_test.ts index 26a8cd249..9e5281409 100644 --- a/std/node/_util/_util_callbackify_test.ts +++ b/std/node/_util/_util_callbackify_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. // // Adapted from Node.js. Copyright Joyent, Inc. and other Node contributors. // diff --git a/std/node/_util/_util_promisify.ts b/std/node/_util/_util_promisify.ts index 91bbcacfa..6692677ec 100644 --- a/std/node/_util/_util_promisify.ts +++ b/std/node/_util/_util_promisify.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. // // Adapted from Node.js. Copyright Joyent, Inc. and other Node contributors. // diff --git a/std/node/_util/_util_promisify_test.ts b/std/node/_util/_util_promisify_test.ts index 1e3656769..39f7de75c 100644 --- a/std/node/_util/_util_promisify_test.ts +++ b/std/node/_util/_util_promisify_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. // // Adapted from Node.js. Copyright Joyent, Inc. and other Node contributors. // diff --git a/std/node/_util/_util_types.ts b/std/node/_util/_util_types.ts index eaf955b35..f64f5377b 100644 --- a/std/node/_util/_util_types.ts +++ b/std/node/_util/_util_types.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. // // Adapted from Node.js. Copyright Joyent, Inc. and other Node contributors. // diff --git a/std/node/_util/_util_types_test.ts b/std/node/_util/_util_types_test.ts index 0b9872bbb..763969964 100644 --- a/std/node/_util/_util_types_test.ts +++ b/std/node/_util/_util_types_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. // // Adapted from Node.js. Copyright Joyent, Inc. and other Node contributors. // diff --git a/std/node/_utils.ts b/std/node/_utils.ts index b25bdf34e..71ee0c7aa 100644 --- a/std/node/_utils.ts +++ b/std/node/_utils.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 { deferred } from "../async/mod.ts"; import { fail } from "../testing/asserts.ts"; diff --git a/std/node/assert.ts b/std/node/assert.ts index ed402dd7f..7b144b690 100644 --- a/std/node/assert.ts +++ b/std/node/assert.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 { AssertionError } from "./assertion_error.ts"; import { assertEquals as deepStrictEqual, diff --git a/std/node/assert_test.ts b/std/node/assert_test.ts index f90587c94..ab4bec79b 100644 --- a/std/node/assert_test.ts +++ b/std/node/assert_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 as denoAssert, assertEquals, diff --git a/std/node/assertion_error.ts b/std/node/assertion_error.ts index 14b55156a..dcce1478b 100644 --- a/std/node/assertion_error.ts +++ b/std/node/assertion_error.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. // Adapted from Node.js. Copyright Joyent, Inc. and other Node contributors. diff --git a/std/node/assertion_error_test.ts b/std/node/assertion_error_test.ts index 2faa191f2..f4c9f2b19 100644 --- a/std/node/assertion_error_test.ts +++ b/std/node/assertion_error_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 { stripColor } from "../fmt/colors.ts"; import { assert, diff --git a/std/node/buffer.ts b/std/node/buffer.ts index 32ff824d4..379a2c09a 100644 --- a/std/node/buffer.ts +++ b/std/node/buffer.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 hex from "../encoding/hex.ts"; import * as base64 from "../encoding/base64.ts"; import { Encodings, normalizeEncoding, notImplemented } from "./_utils.ts"; diff --git a/std/node/buffer_test.ts b/std/node/buffer_test.ts index 7fbc8f3ad..f3fee8e29 100644 --- a/std/node/buffer_test.ts +++ b/std/node/buffer_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 { Buffer } from "./buffer.ts"; diff --git a/std/node/crypto.ts b/std/node/crypto.ts index 0db8e2b13..8b933a99c 100644 --- a/std/node/crypto.ts +++ b/std/node/crypto.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 { default as randomBytes } from "./_crypto/randomBytes.ts"; import { pbkdf2, pbkdf2Sync } from "./_crypto/pbkdf2.ts"; diff --git a/std/node/events.ts b/std/node/events.ts index a6f800a26..f737c884c 100644 --- a/std/node/events.ts +++ b/std/node/events.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. // Copyright (c) 2019 Denolibs authors. All rights reserved. MIT license. // Copyright Joyent, Inc. and other Node contributors. // diff --git a/std/node/events_test.ts b/std/node/events_test.ts index 74b4a3978..6942fe847 100644 --- a/std/node/events_test.ts +++ b/std/node/events_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/node/fs.ts b/std/node/fs.ts index 1eaafa788..f62f93168 100644 --- a/std/node/fs.ts +++ b/std/node/fs.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 { 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.d.ts b/std/node/global.d.ts index 6e0378b9e..707073e2e 100644 --- a/std/node/global.d.ts +++ b/std/node/global.d.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 { process as processModule } from "./process.ts"; import { Buffer as bufferModule } from "./buffer.ts"; import timers from "./timers.ts"; diff --git a/std/node/global.ts b/std/node/global.ts index 585ba1490..a07a892e5 100644 --- a/std/node/global.ts +++ b/std/node/global.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. /// <reference path="./global.d.ts" /> import { process as processModule } from "./process.ts"; import { Buffer as bufferModule } from "./buffer.ts"; diff --git a/std/node/module_test.ts b/std/node/module_test.ts index 86fb1d386..58c325f94 100644 --- a/std/node/module_test.ts +++ b/std/node/module_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/node/os_test.ts b/std/node/os_test.ts index 3200083a1..6d5c124ce 100644 --- a/std/node/os_test.ts +++ b/std/node/os_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, assertThrows } from "../testing/asserts.ts"; import * as os from "./os.ts"; diff --git a/std/node/path.ts b/std/node/path.ts index 9234c9de9..0f29ad9b0 100644 --- a/std/node/path.ts +++ b/std/node/path.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 "../path/mod.ts"; import * as m from "../path/mod.ts"; export default m; diff --git a/std/node/process.ts b/std/node/process.ts index 6f61a074a..5d6791fc4 100644 --- a/std/node/process.ts +++ b/std/node/process.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 { 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 34ce50d7a..40f809edf 100644 --- a/std/node/process_test.ts +++ b/std/node/process_test.ts @@ -1,5 +1,5 @@ // deno-lint-ignore-file no-undef -// 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, assertThrows } from "../testing/asserts.ts"; import * as path from "../path/mod.ts"; diff --git a/std/node/querystring.ts b/std/node/querystring.ts index 73e46c424..4d9d0eb27 100644 --- a/std/node/querystring.ts +++ b/std/node/querystring.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. interface ParseOptions { /** The function to use when decoding percent-encoded characters in the query string. */ diff --git a/std/node/querystring_test.ts b/std/node/querystring_test.ts index 63447b94a..d05a75eab 100644 --- a/std/node/querystring_test.ts +++ b/std/node/querystring_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 { parse, stringify } from "./querystring.ts"; diff --git a/std/node/string_decoder_test.ts b/std/node/string_decoder_test.ts index c18f5ce56..70f50820d 100644 --- a/std/node/string_decoder_test.ts +++ b/std/node/string_decoder_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 { Buffer } from "./buffer.ts"; import { StringDecoder } from "./string_decoder.ts"; diff --git a/std/node/timers.ts b/std/node/timers.ts index fd040ca5e..acc2610f7 100644 --- a/std/node/timers.ts +++ b/std/node/timers.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: 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 a99acc4eb..7da8e3bb4 100644 --- a/std/node/url_test.ts +++ b/std/node/url_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 * as url from "./url.ts"; diff --git a/std/node/util.ts b/std/node/util.ts index c2419b86f..cbc1e11c5 100644 --- a/std/node/util.ts +++ b/std/node/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. export { promisify } from "./_util/_util_promisify.ts"; export { callbackify } from "./_util/_util_callbackify.ts"; import { ERR_INVALID_ARG_TYPE, ERR_OUT_OF_RANGE, errorMap } from "./_errors.ts"; diff --git a/std/node/util_test.ts b/std/node/util_test.ts index d9c05f8a5..893994559 100644 --- a/std/node/util_test.ts +++ b/std/node/util_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, diff --git a/std/path/_interface.ts b/std/path/_interface.ts index 39044eaf1..d5015cbeb 100644 --- a/std/path/_interface.ts +++ b/std/path/_interface.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. // This module is browser compatible. /** diff --git a/std/path/common.ts b/std/path/common.ts index 1d8df96ad..390c04f1d 100644 --- a/std/path/common.ts +++ b/std/path/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. // This module is browser compatible. import { SEP } from "./separator.ts"; diff --git a/std/path/common_test.ts b/std/path/common_test.ts index 7b7bd2ba3..b34b54741 100644 --- a/std/path/common_test.ts +++ b/std/path/common_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 { common } from "./mod.ts"; diff --git a/std/path/from_file_url_test.ts b/std/path/from_file_url_test.ts index e69310a37..61a45a89b 100644 --- a/std/path/from_file_url_test.ts +++ b/std/path/from_file_url_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 { posix, win32 } from "./mod.ts"; import { assertEquals, assertThrows } from "../testing/asserts.ts"; diff --git a/std/path/glob.ts b/std/path/glob.ts index a9cd70143..d599c1b88 100644 --- a/std/path/glob.ts +++ b/std/path/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. // This module is browser compatible. import { osType } from "../_util/os.ts"; diff --git a/std/path/glob_test.ts b/std/path/glob_test.ts index 82d3f0af5..cf46a3c5c 100644 --- a/std/path/glob_test.ts +++ b/std/path/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 { assert, assertEquals } from "../testing/asserts.ts"; import { globToRegExp, diff --git a/std/path/join_test.ts b/std/path/join_test.ts index 032b88ad9..122376be1 100644 --- a/std/path/join_test.ts +++ b/std/path/join_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 * as path from "./mod.ts"; diff --git a/std/path/separator.ts b/std/path/separator.ts index 58b42000a..d897e07e6 100644 --- a/std/path/separator.ts +++ b/std/path/separator.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. // This module is browser compatible. import { isWindows } from "../_util/os.ts"; diff --git a/std/path/test.ts b/std/path/test.ts index 57684a50e..590417055 100644 --- a/std/path/test.ts +++ b/std/path/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/path/to_file_url_test.ts b/std/path/to_file_url_test.ts index 6d0ca8d80..c4ee1a236 100644 --- a/std/path/to_file_url_test.ts +++ b/std/path/to_file_url_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 { posix, win32 } from "./mod.ts"; import { assertEquals, assertThrows } from "../testing/asserts.ts"; diff --git a/std/permissions/mod.ts b/std/permissions/mod.ts index ebdeaf0db..3134589d2 100644 --- a/std/permissions/mod.ts +++ b/std/permissions/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. const { PermissionDenied } = Deno.errors; diff --git a/std/permissions/test.ts b/std/permissions/test.ts index 6622cc761..622f9f1b6 100644 --- a/std/permissions/test.ts +++ b/std/permissions/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 { grant, grantOrThrow } from "./mod.ts"; import { assert, assertEquals } from "../testing/asserts.ts"; diff --git a/std/testing/_diff.ts b/std/testing/_diff.ts index 25b4cc977..7d659acd2 100644 --- a/std/testing/_diff.ts +++ b/std/testing/_diff.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. // This module is browser compatible. interface FarthestPoint { diff --git a/std/testing/_diff_test.ts b/std/testing/_diff_test.ts index 211a34c34..ec40c191c 100644 --- a/std/testing/_diff_test.ts +++ b/std/testing/_diff_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 { diff } from "./_diff.ts"; import { assertEquals } from "../testing/asserts.ts"; diff --git a/std/testing/asserts.ts b/std/testing/asserts.ts index 75a86a4c2..3daf0d83f 100644 --- a/std/testing/asserts.ts +++ b/std/testing/asserts.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. // This module is browser compatible. Do not rely on good formatting of values // for AssertionError messages in browsers. diff --git a/std/testing/asserts_test.ts b/std/testing/asserts_test.ts index 5fefb5649..14ffd2962 100644 --- a/std/testing/asserts_test.ts +++ b/std/testing/asserts_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 { _format, assert, diff --git a/std/testing/bench.ts b/std/testing/bench.ts index e1d3c86c9..159a70cf7 100644 --- a/std/testing/bench.ts +++ b/std/testing/bench.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 "../_util/assert.ts"; import { deepAssign } from "../_util/deep_assign.ts"; diff --git a/std/testing/bench_example.ts b/std/testing/bench_example.ts index 496033fff..5af277f1c 100644 --- a/std/testing/bench_example.ts +++ b/std/testing/bench_example.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. // https://deno.land/std/testing/bench.ts import { bench, BenchmarkTimer, runBenchmarks } from "./bench.ts"; diff --git a/std/testing/bench_test.ts b/std/testing/bench_test.ts index 18b78c5a2..6ce7796ca 100644 --- a/std/testing/bench_test.ts +++ b/std/testing/bench_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 { bench, BenchmarkRunError, diff --git a/std/textproto/mod.ts b/std/textproto/mod.ts index b551a51e1..816275662 100644 --- a/std/textproto/mod.ts +++ b/std/textproto/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. // 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 3f3b3f9a6..ca7a17ce4 100644 --- a/std/textproto/test.ts +++ b/std/textproto/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. // 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/version.ts b/std/version.ts index 630a2e97d..a77797029 100644 --- a/std/version.ts +++ b/std/version.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. /** 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_test_runner.ts b/std/wasi/snapshot_preview1_test_runner.ts index 65cb7bd3b..a211fa378 100644 --- a/std/wasi/snapshot_preview1_test_runner.ts +++ b/std/wasi/snapshot_preview1_test_runner.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"; const options = JSON.parse(Deno.args[0]); diff --git a/test_plugin/Cargo.toml b/test_plugin/Cargo.toml index e7eb3932c..0d7d49e9f 100644 --- a/test_plugin/Cargo.toml +++ b/test_plugin/Cargo.toml @@ -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. [package] name = "test_plugin" diff --git a/test_plugin/src/lib.rs b/test_plugin/src/lib.rs index aaa7b8501..596620004 100644 --- a/test_plugin/src/lib.rs +++ b/test_plugin/src/lib.rs @@ -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. use deno_core::plugin_api::Interface; use deno_core::plugin_api::Op; diff --git a/test_plugin/tests/integration_tests.rs b/test_plugin/tests/integration_tests.rs index aeb2f4a2f..724af3d70 100644 --- a/test_plugin/tests/integration_tests.rs +++ b/test_plugin/tests/integration_tests.rs @@ -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. // To run this test manually: // cd test_plugin // ../target/debug/deno run --unstable --allow-plugin tests/test.js debug diff --git a/test_plugin/tests/test.js b/test_plugin/tests/test.js index c17172c34..f195c0928 100644 --- a/test_plugin/tests/test.js +++ b/test_plugin/tests/test.js @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. const filenameBase = "test_plugin"; diff --git a/tools/build_benchmark_jsons.js b/tools/build_benchmark_jsons.js index af43226d7..056d22cd6 100644 --- a/tools/build_benchmark_jsons.js +++ b/tools/build_benchmark_jsons.js @@ -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 { buildPath, existsSync, join } from "./util.js"; const currentDataFile = join(buildPath(), "bench.json"); diff --git a/tools/format.js b/tools/format.js index 1d891f361..af08d0395 100755 --- a/tools/format.js +++ b/tools/format.js @@ -1,5 +1,5 @@ #!/usr/bin/env -S deno run --unstable --allow-write --allow-read --allow-run -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { getPrebuiltToolPath, getSources, join, ROOT_PATH } from "./util.js"; async function dprint() { diff --git a/tools/lint.js b/tools/lint.js index 3f30a7915..b31ad2994 100755 --- a/tools/lint.js +++ b/tools/lint.js @@ -1,5 +1,5 @@ #!/usr/bin/env -S deno run --unstable --allow-write --allow-read --allow-run -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { buildMode, getPrebuiltToolPath, diff --git a/tools/util.js b/tools/util.js index 778aba1e3..089f2e592 100644 --- a/tools/util.js +++ b/tools/util.js @@ -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 { dirname, fromFileUrl, |