diff options
269 files changed, 269 insertions, 269 deletions
diff --git a/.rustfmt.toml b/.rustfmt.toml index 8b888c232..89ad8756f 100644 --- a/.rustfmt.toml +++ b/.rustfmt.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. max_width = 80 tab_spaces = 2 edition = "2018"
\ No newline at end of file diff --git a/cli/Cargo.toml b/cli/Cargo.toml index e6b37712b..79b579af3 100644 --- a/cli/Cargo.toml +++ b/cli/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" diff --git a/cli/ast.rs b/cli/ast.rs index d4837bb6f..a9b65b751 100644 --- a/cli/ast.rs +++ b/cli/ast.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::media_type::MediaType; use crate::tsc_config; diff --git a/cli/bench/deno_http_proxy.ts b/cli/bench/deno_http_proxy.ts index 6e5141377..990014831 100644 --- a/cli/bench/deno_http_proxy.ts +++ b/cli/bench/deno_http_proxy.ts @@ -1,4 +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 "../std/http/server.ts"; const addr = Deno.args[0] || "127.0.0.1:4500"; diff --git a/cli/bench/deno_tcp.ts b/cli/bench/deno_tcp.ts index 09a21ee7e..a800a52a0 100644 --- a/cli/bench/deno_tcp.ts +++ b/cli/bench/deno_tcp.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. // Used for benchmarking Deno's networking. // TODO Replace this with a real HTTP server once // https://github.com/denoland/deno/issues/726 is completed. diff --git a/cli/bench/deno_tcp_proxy.ts b/cli/bench/deno_tcp_proxy.ts index d59c7d9e1..1a424cee5 100644 --- a/cli/bench/deno_tcp_proxy.ts +++ b/cli/bench/deno_tcp_proxy.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. // Used for benchmarking Deno's tcp proxy performance. const addr = Deno.args[0] || "127.0.0.1:4500"; const originAddr = Deno.args[1] || "127.0.0.1:4501"; diff --git a/cli/bench/http.rs b/cli/bench/http.rs index 0d2650721..cf70a78cc 100644 --- a/cli/bench/http.rs +++ b/cli/bench/http.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::Result; use std::{ diff --git a/cli/bench/main.rs b/cli/bench/main.rs index 012810c1f..c253df57f 100644 --- a/cli/bench/main.rs +++ b/cli/bench/main.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::serde_json::{self, map::Map, Number, Value}; use std::{ diff --git a/cli/bench/node_http.js b/cli/bench/node_http.js index 189098e4c..07a16db07 100644 --- a/cli/bench/node_http.js +++ b/cli/bench/node_http.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 http = require("http"); const port = process.argv[2] || "4544"; console.log("port", port); diff --git a/cli/bench/node_http_proxy.js b/cli/bench/node_http_proxy.js index b984c484f..f97e3d5a8 100644 --- a/cli/bench/node_http_proxy.js +++ b/cli/bench/node_http_proxy.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 http = require("http"); const port = process.argv[2] || "4544"; const originPort = process.argv[3] || "4545"; diff --git a/cli/bench/node_tcp.js b/cli/bench/node_tcp.js index 22e2a5161..f1211f827 100644 --- a/cli/bench/node_tcp.js +++ b/cli/bench/node_tcp.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. // Note: this is a keep-alive server. const { Server } = require("net"); const port = process.argv[2] || "4544"; diff --git a/cli/bench/node_tcp_promise.js b/cli/bench/node_tcp_promise.js index 36709d2b9..6f0b810e5 100644 --- a/cli/bench/node_tcp_promise.js +++ b/cli/bench/node_tcp_promise.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. // Note: this is a keep-alive server. const { Server } = require("net"); const port = process.argv[2] || "4544"; diff --git a/cli/bench/node_tcp_proxy.js b/cli/bench/node_tcp_proxy.js index 5f2c208b8..9f91679f8 100644 --- a/cli/bench/node_tcp_proxy.js +++ b/cli/bench/node_tcp_proxy.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 net = require("net"); process.on("uncaughtException", function (error) { diff --git a/cli/bench/throughput.rs b/cli/bench/throughput.rs index 611ccbcc3..78c9235fe 100644 --- a/cli/bench/throughput.rs +++ b/cli/bench/throughput.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::Result; use deno_core::serde_json::{Number, Value}; diff --git a/cli/build.rs b/cli/build.rs index 71abfbd83..5b19ab71e 100644 --- a/cli/build.rs +++ b/cli/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::error::custom_error; use deno_core::json_op_sync; diff --git a/cli/checksum.rs b/cli/checksum.rs index a86f527c0..77b255c2d 100644 --- a/cli/checksum.rs +++ b/cli/checksum.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 ring::digest::Context; use ring::digest::SHA256; diff --git a/cli/colors.rs b/cli/colors.rs index 97813a72c..847f8c765 100644 --- a/cli/colors.rs +++ b/cli/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. // allow(dead_code) because denort does not use this. #![allow(dead_code)] diff --git a/cli/deno_dir.rs b/cli/deno_dir.rs index 71c63361a..b9bb58934 100644 --- a/cli/deno_dir.rs +++ b/cli/deno_dir.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::disk_cache::DiskCache; use std::path::PathBuf; diff --git a/cli/diagnostics.rs b/cli/diagnostics.rs index 773ee0b36..648d18f35 100644 --- a/cli/diagnostics.rs +++ b/cli/diagnostics.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; diff --git a/cli/diff.rs b/cli/diff.rs index 5ba55e1ca..54fe910eb 100644 --- a/cli/diff.rs +++ b/cli/diff.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 dissimilar::{diff as difference, Chunk}; diff --git a/cli/disk_cache.rs b/cli/disk_cache.rs index 51844d24e..2b530cae2 100644 --- a/cli/disk_cache.rs +++ b/cli/disk_cache.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::fs_util; use crate::http_cache::url_to_filename; diff --git a/cli/dts/lib.deno.ns.d.ts b/cli/dts/lib.deno.ns.d.ts index 12d804f92..736f99f0d 100644 --- a/cli/dts/lib.deno.ns.d.ts +++ b/cli/dts/lib.deno.ns.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. /// <reference no-default-lib="true" /> /// <reference lib="esnext" /> diff --git a/cli/dts/lib.deno.shared_globals.d.ts b/cli/dts/lib.deno.shared_globals.d.ts index d3061eee0..e72e4f089 100644 --- a/cli/dts/lib.deno.shared_globals.d.ts +++ b/cli/dts/lib.deno.shared_globals.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. // Documentation partially adapted from [MDN](https://developer.mozilla.org/), // by Mozilla Contributors, which is licensed under CC-BY-SA 2.5. diff --git a/cli/dts/lib.deno.unstable.d.ts b/cli/dts/lib.deno.unstable.d.ts index c87cd744c..0eaed73ba 100644 --- a/cli/dts/lib.deno.unstable.d.ts +++ b/cli/dts/lib.deno.unstable.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. /// <reference no-default-lib="true" /> /// <reference lib="deno.ns" /> diff --git a/cli/dts/lib.deno.window.d.ts b/cli/dts/lib.deno.window.d.ts index 996f73b86..da1b25565 100644 --- a/cli/dts/lib.deno.window.d.ts +++ b/cli/dts/lib.deno.window.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. /// <reference no-default-lib="true" /> /// <reference lib="deno.ns" /> diff --git a/cli/dts/lib.deno.worker.d.ts b/cli/dts/lib.deno.worker.d.ts index 1d570680f..74609e8ab 100644 --- a/cli/dts/lib.deno.worker.d.ts +++ b/cli/dts/lib.deno.worker.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. /// <reference no-default-lib="true" /> /// <reference lib="deno.ns" /> diff --git a/cli/errors.rs b/cli/errors.rs index b631f1b71..a1395fb61 100644 --- a/cli/errors.rs +++ b/cli/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/cli/file_fetcher.rs b/cli/file_fetcher.rs index 632b713a0..3e6622408 100644 --- a/cli/file_fetcher.rs +++ b/cli/file_fetcher.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::http_cache::HttpCache; diff --git a/cli/file_watcher.rs b/cli/file_watcher.rs index ef7aae603..655cff534 100644 --- a/cli/file_watcher.rs +++ b/cli/file_watcher.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 core::task::{Context, Poll}; diff --git a/cli/flags.rs b/cli/flags.rs index 7e48c8428..a994b3f0c 100644 --- a/cli/flags.rs +++ b/cli/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 clap::App; use clap::AppSettings; diff --git a/cli/flags_allow_net.rs b/cli/flags_allow_net.rs index 83038ac4d..801258e49 100644 --- a/cli/flags_allow_net.rs +++ b/cli/flags_allow_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 deno_core::url::Url; use std::net::IpAddr; diff --git a/cli/fmt_errors.rs b/cli/fmt_errors.rs index 3e871e6f3..a54c871b1 100644 --- a/cli/fmt_errors.rs +++ b/cli/fmt_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. //! This mod provides DenoError to unify errors across Deno. use crate::colors; use deno_core::error::{AnyError, JsError, JsStackFrame}; diff --git a/cli/fs_util.rs b/cli/fs_util.rs index f13558e36..130a209ce 100644 --- a/cli/fs_util.rs +++ b/cli/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/cli/http_cache.rs b/cli/http_cache.rs index 7a27cf3f8..aa68420b4 100644 --- a/cli/http_cache.rs +++ b/cli/http_cache.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 is meant to eventually implement HTTP cache /// as defined in RFC 7234 (https://tools.ietf.org/html/rfc7234). diff --git a/cli/http_util.rs b/cli/http_util.rs index a27928055..4513dbfac 100644 --- a/cli/http_util.rs +++ b/cli/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/cli/import_map.rs b/cli/import_map.rs index d58eb5ca0..a8c5c1890 100644 --- a/cli/import_map.rs +++ b/cli/import_map.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; diff --git a/cli/info.rs b/cli/info.rs index ededcc024..1f3a0096a 100644 --- a/cli/info.rs +++ b/cli/info.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::media_type::serialize_media_type; diff --git a/cli/lockfile.rs b/cli/lockfile.rs index c817d26de..d3470145e 100644 --- a/cli/lockfile.rs +++ b/cli/lockfile.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::serde_json; use deno_core::serde_json::json; diff --git a/cli/lsp/analysis.rs b/cli/lsp/analysis.rs index 26f38ef38..9081ce2ef 100644 --- a/cli/lsp/analysis.rs +++ b/cli/lsp/analysis.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::ast; use crate::import_map::ImportMap; diff --git a/cli/lsp/capabilities.rs b/cli/lsp/capabilities.rs index 3a9caae2b..873d424e3 100644 --- a/cli/lsp/capabilities.rs +++ b/cli/lsp/capabilities.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. ///! ///! Provides information about what capabilities that are supported by the diff --git a/cli/lsp/config.rs b/cli/lsp/config.rs index a890c90e7..7ab6d68c0 100644 --- a/cli/lsp/config.rs +++ b/cli/lsp/config.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::serde::Deserialize; use deno_core::serde_json; diff --git a/cli/lsp/diagnostics.rs b/cli/lsp/diagnostics.rs index 96bb89d75..6632620ec 100644 --- a/cli/lsp/diagnostics.rs +++ b/cli/lsp/diagnostics.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::analysis::get_lint_references; use super::analysis::references_to_diagnostics; diff --git a/cli/lsp/language_server.rs b/cli/lsp/language_server.rs index 03b087fd0..70036df3e 100644 --- a/cli/lsp/language_server.rs +++ b/cli/lsp/language_server.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::anyhow; use deno_core::error::AnyError; diff --git a/cli/lsp/memory_cache.rs b/cli/lsp/memory_cache.rs index cfba1ecab..9de6e8615 100644 --- a/cli/lsp/memory_cache.rs +++ b/cli/lsp/memory_cache.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::ModuleSpecifier; diff --git a/cli/lsp/mod.rs b/cli/lsp/mod.rs index 912a8c684..aaee17c64 100644 --- a/cli/lsp/mod.rs +++ b/cli/lsp/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. use deno_core::error::AnyError; use lspower::LspService; use lspower::Server; diff --git a/cli/lsp/sources.rs b/cli/lsp/sources.rs index 7d1fd56f3..845f89af0 100644 --- a/cli/lsp/sources.rs +++ b/cli/lsp/sources.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::analysis; use super::text; diff --git a/cli/lsp/text.rs b/cli/lsp/text.rs index a0bcb08d3..e871cb265 100644 --- a/cli/lsp/text.rs +++ b/cli/lsp/text.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::serde_json::json; use deno_core::serde_json::Value; diff --git a/cli/lsp/tsc.rs b/cli/lsp/tsc.rs index 1182fae6b..c9780ca27 100644 --- a/cli/lsp/tsc.rs +++ b/cli/lsp/tsc.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::analysis::ResolvedDependency; use super::language_server::StateSnapshot; diff --git a/cli/lsp/utils.rs b/cli/lsp/utils.rs index 3bdd00875..09657a71d 100644 --- a/cli/lsp/utils.rs +++ b/cli/lsp/utils.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::url::Position; diff --git a/cli/main.rs b/cli/main.rs index c9644073b..3502414a9 100644 --- a/cli/main.rs +++ b/cli/main.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/cli/main_runtime.rs b/cli/main_runtime.rs index 12cb4329d..f6d20f67e 100644 --- a/cli/main_runtime.rs +++ b/cli/main_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. #![deny(warnings)] diff --git a/cli/media_type.rs b/cli/media_type.rs index 6ccb3fca0..8117147cd 100644 --- a/cli/media_type.rs +++ b/cli/media_type.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::ModuleSpecifier; use serde::Serialize; diff --git a/cli/module_graph.rs b/cli/module_graph.rs index f2e693724..7281e67f1 100644 --- a/cli/module_graph.rs +++ b/cli/module_graph.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::ast; use crate::ast::parse; diff --git a/cli/module_loader.rs b/cli/module_loader.rs index c91a2336b..7b15bc77d 100644 --- a/cli/module_loader.rs +++ b/cli/module_loader.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::import_map::ImportMap; use crate::module_graph::TypeLib; diff --git a/cli/ops/errors.rs b/cli/ops/errors.rs index 067e901ea..e70573ba9 100644 --- a/cli/ops/errors.rs +++ b/cli/ops/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. use crate::diagnostics::Diagnostics; use crate::program_state::ProgramState; diff --git a/cli/ops/mod.rs b/cli/ops/mod.rs index 24eca3e77..c46c5cd20 100644 --- a/cli/ops/mod.rs +++ b/cli/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. pub mod errors; pub mod runtime_compiler; diff --git a/cli/ops/runtime_compiler.rs b/cli/ops/runtime_compiler.rs index 774b280ba..a75a80fdf 100644 --- a/cli/ops/runtime_compiler.rs +++ b/cli/ops/runtime_compiler.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::import_map::ImportMap; use crate::module_graph::BundleType; diff --git a/cli/program_state.rs b/cli/program_state.rs index ad44d8e9b..5a2c8fdfe 100644 --- a/cli/program_state.rs +++ b/cli/program_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. use crate::deno_dir; use crate::file_fetcher::CacheSetting; diff --git a/cli/source_maps.rs b/cli/source_maps.rs index 26ba4ca29..beee37e64 100644 --- a/cli/source_maps.rs +++ b/cli/source_maps.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 mod provides functions to remap a `JsError` based on a source map. diff --git a/cli/specifier_handler.rs b/cli/specifier_handler.rs index 74aa21391..e780b94d0 100644 --- a/cli/specifier_handler.rs +++ b/cli/specifier_handler.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::ast::Location; use crate::deno_dir::DenoDir; diff --git a/cli/standalone.rs b/cli/standalone.rs index 48a4a28b3..e10a5030e 100644 --- a/cli/standalone.rs +++ b/cli/standalone.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::version; diff --git a/cli/tests/045_proxy_client.ts b/cli/tests/045_proxy_client.ts index 65c5594f8..c9ef43e81 100644 --- a/cli/tests/045_proxy_client.ts +++ b/cli/tests/045_proxy_client.ts @@ -1,3 +1,3 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. const res = await fetch("http://localhost:4545/std/examples/colors.ts"); console.log(`Response http: ${await res.text()}`); diff --git a/cli/tests/045_proxy_test.ts b/cli/tests/045_proxy_test.ts index 873d3a0c1..2fb45f5f0 100644 --- a/cli/tests/045_proxy_test.ts +++ b/cli/tests/045_proxy_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, ServerRequest } from "../../std/http/server.ts"; import { assertEquals } from "../../std/testing/asserts.ts"; diff --git a/cli/tests/compiler_api_test.ts b/cli/tests/compiler_api_test.ts index 6f58356df..98685f467 100644 --- a/cli/tests/compiler_api_test.ts +++ b/cli/tests/compiler_api_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/cli/tests/hash.ts b/cli/tests/hash.ts index e3c64b642..1215b8b95 100644 --- a/cli/tests/hash.ts +++ b/cli/tests/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. const { args } = Deno; import { createHash, SupportedAlgorithm } from "../../std/hash/mod.ts"; diff --git a/cli/tests/integration_tests.rs b/cli/tests/integration_tests.rs index df55b5e7c..1bffe9ba9 100644 --- a/cli/tests/integration_tests.rs +++ b/cli/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. use deno_core::futures; use deno_core::futures::prelude::*; use deno_core::serde_json; diff --git a/cli/tests/test_runner_test.ts b/cli/tests/test_runner_test.ts index 680bc5c2f..a74c9a41a 100644 --- a/cli/tests/test_runner_test.ts +++ b/cli/tests/test_runner_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 "../../std/testing/asserts.ts"; diff --git a/cli/tests/types.out b/cli/tests/types.out index ee59f57c1..9cda650eb 100644 --- a/cli/tests/types.out +++ b/cli/tests/types.out @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. [WILDCARD] declare namespace Deno [WILDCARD] declare var window: Window [WILDCARD] diff --git a/cli/tests/unit/blob_test.ts b/cli/tests/unit/blob_test.ts index 19125c865..210d05b3b 100644 --- a/cli/tests/unit/blob_test.ts +++ b/cli/tests/unit/blob_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, unitTest } from "./test_util.ts"; import { concat } from "../../../std/bytes/mod.ts"; import { decode } from "../../../std/encoding/utf8.ts"; diff --git a/cli/tests/unit/body_test.ts b/cli/tests/unit/body_test.ts index 1e9a54815..2c94bb5f5 100644 --- a/cli/tests/unit/body_test.ts +++ b/cli/tests/unit/body_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, unitTest } from "./test_util.ts"; // just a hack to get a body object diff --git a/cli/tests/unit/buffer_test.ts b/cli/tests/unit/buffer_test.ts index 6bea4684d..54ab139c9 100644 --- a/cli/tests/unit/buffer_test.ts +++ b/cli/tests/unit/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. // This code has been ported almost directly from Go's src/bytes/buffer_test.go // Copyright 2009 The Go Authors. All rights reserved. BSD license. diff --git a/cli/tests/unit/build_test.ts b/cli/tests/unit/build_test.ts index 9a7e66f6c..731290326 100644 --- a/cli/tests/unit/build_test.ts +++ b/cli/tests/unit/build_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, unitTest } from "./test_util.ts"; unitTest(function buildInfo(): void { diff --git a/cli/tests/unit/chmod_test.ts b/cli/tests/unit/chmod_test.ts index 8fee4f5a3..80f240134 100644 --- a/cli/tests/unit/chmod_test.ts +++ b/cli/tests/unit/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, assertEquals, diff --git a/cli/tests/unit/chown_test.ts b/cli/tests/unit/chown_test.ts index d85f5d3b2..8181225e3 100644 --- a/cli/tests/unit/chown_test.ts +++ b/cli/tests/unit/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, assertThrows, diff --git a/cli/tests/unit/console_test.ts b/cli/tests/unit/console_test.ts index c6511e12e..6f37c8050 100644 --- a/cli/tests/unit/console_test.ts +++ b/cli/tests/unit/console_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. // TODO(ry) The unit test functions in this module are too coarse. They should // be broken up into smaller bits. diff --git a/cli/tests/unit/copy_file_test.ts b/cli/tests/unit/copy_file_test.ts index 0492c4b8c..96d08b10e 100644 --- a/cli/tests/unit/copy_file_test.ts +++ b/cli/tests/unit/copy_file_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { assertEquals, assertThrows, diff --git a/cli/tests/unit/custom_event_test.ts b/cli/tests/unit/custom_event_test.ts index 72ebc75d8..0db770056 100644 --- a/cli/tests/unit/custom_event_test.ts +++ b/cli/tests/unit/custom_event_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, unitTest } from "./test_util.ts"; unitTest(function customEventInitializedWithDetail(): void { diff --git a/cli/tests/unit/dir_test.ts b/cli/tests/unit/dir_test.ts index a6e9c594a..75a41dd40 100644 --- a/cli/tests/unit/dir_test.ts +++ b/cli/tests/unit/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, assertThrows, unitTest } from "./test_util.ts"; unitTest({ perms: { read: true } }, function dirCwdNotNull(): void { diff --git a/cli/tests/unit/dom_exception_test.ts b/cli/tests/unit/dom_exception_test.ts index 4c9e96de6..f6c69c36d 100644 --- a/cli/tests/unit/dom_exception_test.ts +++ b/cli/tests/unit/dom_exception_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, unitTest } from "./test_util.ts"; unitTest(function testDomError() { diff --git a/cli/tests/unit/dom_iterable_test.ts b/cli/tests/unit/dom_iterable_test.ts index e767d2ba1..259d2d440 100644 --- a/cli/tests/unit/dom_iterable_test.ts +++ b/cli/tests/unit/dom_iterable_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. /* TODO https://github.com/denoland/deno/issues/7540 import { unitTest, assert, assertEquals } from "./test_util.ts"; diff --git a/cli/tests/unit/error_stack_test.ts b/cli/tests/unit/error_stack_test.ts index ad5f2e093..1445124e9 100644 --- a/cli/tests/unit/error_stack_test.ts +++ b/cli/tests/unit/error_stack_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, unitTest } from "./test_util.ts"; unitTest(function errorStackMessageLine(): void { diff --git a/cli/tests/unit/event_target_test.ts b/cli/tests/unit/event_target_test.ts index 34271b470..29de04c8c 100644 --- a/cli/tests/unit/event_target_test.ts +++ b/cli/tests/unit/event_target_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, unitTest } from "./test_util.ts"; unitTest(function addEventListenerTest(): void { diff --git a/cli/tests/unit/event_test.ts b/cli/tests/unit/event_test.ts index 02abff557..a2a6c6e3d 100644 --- a/cli/tests/unit/event_test.ts +++ b/cli/tests/unit/event_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, unitTest } from "./test_util.ts"; unitTest(function eventInitializedWithType(): void { diff --git a/cli/tests/unit/fetch_test.ts b/cli/tests/unit/fetch_test.ts index 5d47c847e..285e05a7d 100644 --- a/cli/tests/unit/fetch_test.ts +++ b/cli/tests/unit/fetch_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/cli/tests/unit/file_test.ts b/cli/tests/unit/file_test.ts index f610f6d6b..eaafbae27 100644 --- a/cli/tests/unit/file_test.ts +++ b/cli/tests/unit/file_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { assert, assertEquals, unitTest } from "./test_util.ts"; // deno-lint-ignore no-explicit-any diff --git a/cli/tests/unit/filereader_test.ts b/cli/tests/unit/filereader_test.ts index 0f1f74d6b..9bc8cda62 100644 --- a/cli/tests/unit/filereader_test.ts +++ b/cli/tests/unit/filereader_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, unitTest } from "./test_util.ts"; unitTest(function fileReaderConstruct(): void { diff --git a/cli/tests/unit/files_test.ts b/cli/tests/unit/files_test.ts index 02185bc76..1b6a99e8e 100644 --- a/cli/tests/unit/files_test.ts +++ b/cli/tests/unit/files_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/cli/tests/unit/form_data_test.ts b/cli/tests/unit/form_data_test.ts index 40fdbfaa7..76d137634 100644 --- a/cli/tests/unit/form_data_test.ts +++ b/cli/tests/unit/form_data_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/cli/tests/unit/format_error_test.ts b/cli/tests/unit/format_error_test.ts index 5e49fc11b..7d82499b7 100644 --- a/cli/tests/unit/format_error_test.ts +++ b/cli/tests/unit/format_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 { assert, unitTest } from "./test_util.ts"; unitTest(function formatDiagnosticBasic() { diff --git a/cli/tests/unit/get_random_values_test.ts b/cli/tests/unit/get_random_values_test.ts index 1e2dd654f..3f9f311f6 100644 --- a/cli/tests/unit/get_random_values_test.ts +++ b/cli/tests/unit/get_random_values_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, unitTest } from "./test_util.ts"; unitTest(function getRandomValuesInt8Array(): void { diff --git a/cli/tests/unit/globals_test.ts b/cli/tests/unit/globals_test.ts index 988e6a9df..dbb9bd90a 100644 --- a/cli/tests/unit/globals_test.ts +++ b/cli/tests/unit/globals_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, unitTest } from "./test_util.ts"; unitTest(function globalThisExists(): void { diff --git a/cli/tests/unit/headers_test.ts b/cli/tests/unit/headers_test.ts index 36288aaa0..7f19cec1b 100644 --- a/cli/tests/unit/headers_test.ts +++ b/cli/tests/unit/headers_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/cli/tests/unit/internals_test.ts b/cli/tests/unit/internals_test.ts index f8b8df698..9a5820dec 100644 --- a/cli/tests/unit/internals_test.ts +++ b/cli/tests/unit/internals_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, unitTest } from "./test_util.ts"; unitTest(function internalsExists(): void { diff --git a/cli/tests/unit/io_test.ts b/cli/tests/unit/io_test.ts index 9ca03f8f6..ba9641fdc 100644 --- a/cli/tests/unit/io_test.ts +++ b/cli/tests/unit/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 { assertEquals, unitTest } from "./test_util.ts"; const DEFAULT_BUF_SIZE = 32 * 1024; diff --git a/cli/tests/unit/link_test.ts b/cli/tests/unit/link_test.ts index a8399fb94..86cd65bae 100644 --- a/cli/tests/unit/link_test.ts +++ b/cli/tests/unit/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 { assert, assertEquals, assertThrows, unitTest } from "./test_util.ts"; unitTest( diff --git a/cli/tests/unit/make_temp_test.ts b/cli/tests/unit/make_temp_test.ts index 4f94ccb14..b43d257e0 100644 --- a/cli/tests/unit/make_temp_test.ts +++ b/cli/tests/unit/make_temp_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/cli/tests/unit/metrics_test.ts b/cli/tests/unit/metrics_test.ts index 0070ca7df..a60aae427 100644 --- a/cli/tests/unit/metrics_test.ts +++ b/cli/tests/unit/metrics_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, unitTest } from "./test_util.ts"; unitTest(async function metrics(): Promise<void> { diff --git a/cli/tests/unit/mkdir_test.ts b/cli/tests/unit/mkdir_test.ts index f2fe168e6..fd0328f57 100644 --- a/cli/tests/unit/mkdir_test.ts +++ b/cli/tests/unit/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, assertEquals, diff --git a/cli/tests/unit/net_test.ts b/cli/tests/unit/net_test.ts index 62b00e43c..e1a050c73 100644 --- a/cli/tests/unit/net_test.ts +++ b/cli/tests/unit/net_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/cli/tests/unit/os_test.ts b/cli/tests/unit/os_test.ts index 4e12ddca3..9a2d33f53 100644 --- a/cli/tests/unit/os_test.ts +++ b/cli/tests/unit/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, diff --git a/cli/tests/unit/performance_test.ts b/cli/tests/unit/performance_test.ts index 2b8bc620d..229b38bb8 100644 --- a/cli/tests/unit/performance_test.ts +++ b/cli/tests/unit/performance_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/cli/tests/unit/permissions_test.ts b/cli/tests/unit/permissions_test.ts index 3c36f0186..2dcb67abf 100644 --- a/cli/tests/unit/permissions_test.ts +++ b/cli/tests/unit/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 { assertEquals, assertThrows, diff --git a/cli/tests/unit/process_test.ts b/cli/tests/unit/process_test.ts index 1e1342729..1eaa3c3b3 100644 --- a/cli/tests/unit/process_test.ts +++ b/cli/tests/unit/process_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/cli/tests/unit/progressevent_test.ts b/cli/tests/unit/progressevent_test.ts index 0080291f0..6f165de2c 100644 --- a/cli/tests/unit/progressevent_test.ts +++ b/cli/tests/unit/progressevent_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, unitTest } from "./test_util.ts"; unitTest(function progressEventConstruct(): void { diff --git a/cli/tests/unit/read_dir_test.ts b/cli/tests/unit/read_dir_test.ts index 0a1fe76d7..4a0719a4b 100644 --- a/cli/tests/unit/read_dir_test.ts +++ b/cli/tests/unit/read_dir_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { assert, assertEquals, diff --git a/cli/tests/unit/read_file_test.ts b/cli/tests/unit/read_file_test.ts index 2e9def581..5594eb4ae 100644 --- a/cli/tests/unit/read_file_test.ts +++ b/cli/tests/unit/read_file_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { assert, assertEquals, diff --git a/cli/tests/unit/read_link_test.ts b/cli/tests/unit/read_link_test.ts index 5be070ac5..cab27cbdc 100644 --- a/cli/tests/unit/read_link_test.ts +++ b/cli/tests/unit/read_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, assertThrows, diff --git a/cli/tests/unit/real_path_test.ts b/cli/tests/unit/real_path_test.ts index f82929ed5..fce28d80b 100644 --- a/cli/tests/unit/real_path_test.ts +++ b/cli/tests/unit/real_path_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, assertMatch, diff --git a/cli/tests/unit/remove_test.ts b/cli/tests/unit/remove_test.ts index add1a9648..087cc3a73 100644 --- a/cli/tests/unit/remove_test.ts +++ b/cli/tests/unit/remove_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/cli/tests/unit/rename_test.ts b/cli/tests/unit/rename_test.ts index 57c3a4cee..09633aed7 100644 --- a/cli/tests/unit/rename_test.ts +++ b/cli/tests/unit/rename_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, unitTest } from "./test_util.ts"; function assertMissing(path: string): void { diff --git a/cli/tests/unit/request_test.ts b/cli/tests/unit/request_test.ts index da6a0e15b..0214d99c3 100644 --- a/cli/tests/unit/request_test.ts +++ b/cli/tests/unit/request_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, unitTest } from "./test_util.ts"; unitTest(function fromInit(): void { diff --git a/cli/tests/unit/resources_test.ts b/cli/tests/unit/resources_test.ts index 9c2aec91a..96fd4ff2c 100644 --- a/cli/tests/unit/resources_test.ts +++ b/cli/tests/unit/resources_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, unitTest } from "./test_util.ts"; unitTest(function resourcesCloseBadArgs(): void { diff --git a/cli/tests/unit/response_test.ts b/cli/tests/unit/response_test.ts index 163a92835..5a5f8fdff 100644 --- a/cli/tests/unit/response_test.ts +++ b/cli/tests/unit/response_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, unitTest } from "./test_util.ts"; unitTest(async function responseText() { diff --git a/cli/tests/unit/signal_test.ts b/cli/tests/unit/signal_test.ts index 4f97a82e4..801e15d8b 100644 --- a/cli/tests/unit/signal_test.ts +++ b/cli/tests/unit/signal_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { assert, assertEquals, diff --git a/cli/tests/unit/stat_test.ts b/cli/tests/unit/stat_test.ts index d351a188e..d75eb22eb 100644 --- a/cli/tests/unit/stat_test.ts +++ b/cli/tests/unit/stat_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/cli/tests/unit/stdio_test.ts b/cli/tests/unit/stdio_test.ts index d5a7304a7..628f3f561 100644 --- a/cli/tests/unit/stdio_test.ts +++ b/cli/tests/unit/stdio_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, unitTest } from "./test_util.ts"; unitTest(async function stdioStdinRead() { diff --git a/cli/tests/unit/streams_internal_test.ts b/cli/tests/unit/streams_internal_test.ts index 7d36c98c0..058ce4637 100644 --- a/cli/tests/unit/streams_internal_test.ts +++ b/cli/tests/unit/streams_internal_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { assertThrows, unitTest } from "./test_util.ts"; unitTest(function streamReadableHwmError() { diff --git a/cli/tests/unit/streams_piping_test.ts b/cli/tests/unit/streams_piping_test.ts index 959d2e478..4de4e41f0 100644 --- a/cli/tests/unit/streams_piping_test.ts +++ b/cli/tests/unit/streams_piping_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, unitTest } from "./test_util.ts"; import { assertThrowsAsync } from "../../../std/testing/asserts.ts"; diff --git a/cli/tests/unit/streams_transform_test.ts b/cli/tests/unit/streams_transform_test.ts index 464f269fc..a9726d191 100644 --- a/cli/tests/unit/streams_transform_test.ts +++ b/cli/tests/unit/streams_transform_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/cli/tests/unit/streams_writable_test.ts b/cli/tests/unit/streams_writable_test.ts index e712ee83c..16c907831 100644 --- a/cli/tests/unit/streams_writable_test.ts +++ b/cli/tests/unit/streams_writable_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, unitTest } from "./test_util.ts"; unitTest(function writableStreamDesiredSizeOnReleasedWriter() { diff --git a/cli/tests/unit/symlink_test.ts b/cli/tests/unit/symlink_test.ts index 27cbdcdca..19e83660b 100644 --- a/cli/tests/unit/symlink_test.ts +++ b/cli/tests/unit/symlink_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { assert, assertThrows, unitTest } from "./test_util.ts"; unitTest( diff --git a/cli/tests/unit/sync_test.ts b/cli/tests/unit/sync_test.ts index e062c3f16..98b2f4bd9 100644 --- a/cli/tests/unit/sync_test.ts +++ b/cli/tests/unit/sync_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, unitTest } from "./test_util.ts"; unitTest( diff --git a/cli/tests/unit/test_util.ts b/cli/tests/unit/test_util.ts index 39a1949c3..7dae86dfb 100644 --- a/cli/tests/unit/test_util.ts +++ b/cli/tests/unit/test_util.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { assert, assertEquals } from "../../../std/testing/asserts.ts"; import * as colors from "../../../std/fmt/colors.ts"; diff --git a/cli/tests/unit/testing_test.ts b/cli/tests/unit/testing_test.ts index 9ae547fb8..4789dbfa7 100644 --- a/cli/tests/unit/testing_test.ts +++ b/cli/tests/unit/testing_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { assertThrows, unitTest } from "./test_util.ts"; unitTest(function testFnOverloading(): void { diff --git a/cli/tests/unit/text_encoding_test.ts b/cli/tests/unit/text_encoding_test.ts index 4b7f75232..de6822bf4 100644 --- a/cli/tests/unit/text_encoding_test.ts +++ b/cli/tests/unit/text_encoding_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, unitTest } from "./test_util.ts"; unitTest(function btoaSuccess(): void { diff --git a/cli/tests/unit/timers_test.ts b/cli/tests/unit/timers_test.ts index 55bc11f76..7276b3e35 100644 --- a/cli/tests/unit/timers_test.ts +++ b/cli/tests/unit/timers_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/cli/tests/unit/tls_test.ts b/cli/tests/unit/tls_test.ts index 9e1c66161..b032c2cd0 100644 --- a/cli/tests/unit/tls_test.ts +++ b/cli/tests/unit/tls_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/cli/tests/unit/truncate_test.ts b/cli/tests/unit/truncate_test.ts index b603ebaea..19cb9328a 100644 --- a/cli/tests/unit/truncate_test.ts +++ b/cli/tests/unit/truncate_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { assertEquals, assertThrows, diff --git a/cli/tests/unit/tty_test.ts b/cli/tests/unit/tty_test.ts index c32bfa337..8f9b95372 100644 --- a/cli/tests/unit/tty_test.ts +++ b/cli/tests/unit/tty_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, unitTest } from "./test_util.ts"; // Note tests for Deno.setRaw is in integration tests. diff --git a/cli/tests/unit/umask_test.ts b/cli/tests/unit/umask_test.ts index e84401d69..aa10b15eb 100644 --- a/cli/tests/unit/umask_test.ts +++ b/cli/tests/unit/umask_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, unitTest } from "./test_util.ts"; unitTest( diff --git a/cli/tests/unit/unit_test_runner.ts b/cli/tests/unit/unit_test_runner.ts index 1f347ec9a..6b039f597 100755 --- a/cli/tests/unit/unit_test_runner.ts +++ b/cli/tests/unit/unit_test_runner.ts @@ -1,5 +1,5 @@ #!/usr/bin/env -S deno run --reload --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 "./unit_tests.ts"; import { colors, diff --git a/cli/tests/unit/unit_tests.ts b/cli/tests/unit/unit_tests.ts index 6885204a3..7d00101d3 100644 --- a/cli/tests/unit/unit_tests.ts +++ b/cli/tests/unit/unit_tests.ts @@ -1,4 +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 test is executed as part of unit test suite. // diff --git a/cli/tests/unit/url_search_params_test.ts b/cli/tests/unit/url_search_params_test.ts index 4c1d00c85..c4df86a7f 100644 --- a/cli/tests/unit/url_search_params_test.ts +++ b/cli/tests/unit/url_search_params_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, unitTest } from "./test_util.ts"; unitTest(function urlSearchParamsWithMultipleSpaces(): void { diff --git a/cli/tests/unit/url_test.ts b/cli/tests/unit/url_test.ts index 7c8cd3796..40e641978 100644 --- a/cli/tests/unit/url_test.ts +++ b/cli/tests/unit/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 { assert, assertEquals, assertThrows, unitTest } from "./test_util.ts"; unitTest(function urlParsing(): void { diff --git a/cli/tests/unit/utime_test.ts b/cli/tests/unit/utime_test.ts index 9045755dc..4e56ff193 100644 --- a/cli/tests/unit/utime_test.ts +++ b/cli/tests/unit/utime_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { assertEquals, assertThrows, diff --git a/cli/tests/unit/websocket_test.ts b/cli/tests/unit/websocket_test.ts index 8e5726d44..ecc86029d 100644 --- a/cli/tests/unit/websocket_test.ts +++ b/cli/tests/unit/websocket_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { assertThrows, unitTest } from "./test_util.ts"; unitTest(function websocketPermissionless() { diff --git a/cli/tests/unit/worker_types.ts b/cli/tests/unit/worker_types.ts index e8bc7eb78..687060172 100644 --- a/cli/tests/unit/worker_types.ts +++ b/cli/tests/unit/worker_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. import { assert, unitTest } from "./test_util.ts"; unitTest( diff --git a/cli/tests/unit/write_file_test.ts b/cli/tests/unit/write_file_test.ts index b66be3623..e63183c4c 100644 --- a/cli/tests/unit/write_file_test.ts +++ b/cli/tests/unit/write_file_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { assertEquals, assertThrows, diff --git a/cli/tests/websocket_test.ts b/cli/tests/websocket_test.ts index a220b37ea..177e5c362 100644 --- a/cli/tests/websocket_test.ts +++ b/cli/tests/websocket_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/cli/tests/workers_test.ts b/cli/tests/workers_test.ts index 70ecbb828..045ee3f75 100644 --- a/cli/tests/workers_test.ts +++ b/cli/tests/workers_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. // Requires to be run with `--allow-net` flag diff --git a/cli/text_encoding.rs b/cli/text_encoding.rs index bf40f3a3c..8d316909c 100644 --- a/cli/text_encoding.rs +++ b/cli/text_encoding.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 encoding_rs::*; use std::{ diff --git a/cli/tokio_util.rs b/cli/tokio_util.rs index b25a2994f..ef0ba5be3 100644 --- a/cli/tokio_util.rs +++ b/cli/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/cli/tools/coverage.rs b/cli/tools/coverage.rs index 020d358ba..615022b74 100644 --- a/cli/tools/coverage.rs +++ b/cli/tools/coverage.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::module_graph::TypeLib; diff --git a/cli/tools/fmt.rs b/cli/tools/fmt.rs index 883ebc45b..d5500a8f2 100644 --- a/cli/tools/fmt.rs +++ b/cli/tools/fmt.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 provides file formatting utilities using //! [`dprint-plugin-typescript`](https://github.com/dprint/dprint-plugin-typescript). diff --git a/cli/tools/installer.rs b/cli/tools/installer.rs index e04763172..4f8801f09 100644 --- a/cli/tools/installer.rs +++ b/cli/tools/installer.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::flags::Flags; use crate::fs_util::canonicalize_path; diff --git a/cli/tools/lint.rs b/cli/tools/lint.rs index dc9a51a89..44d5677e8 100644 --- a/cli/tools/lint.rs +++ b/cli/tools/lint.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 provides file formating utilities using //! [`deno_lint`](https://github.com/denoland/deno_lint). diff --git a/cli/tools/mod.rs b/cli/tools/mod.rs index 4489b7479..089232b99 100644 --- a/cli/tools/mod.rs +++ b/cli/tools/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. pub mod coverage; pub mod fmt; diff --git a/cli/tools/repl.rs b/cli/tools/repl.rs index 61d7809c3..e59fd57a8 100644 --- a/cli/tools/repl.rs +++ b/cli/tools/repl.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::ast; use crate::ast::TokenOrComment; diff --git a/cli/tools/standalone.rs b/cli/tools/standalone.rs index 112169756..141b3e820 100644 --- a/cli/tools/standalone.rs +++ b/cli/tools/standalone.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::flags::DenoSubcommand; use crate::flags::Flags; diff --git a/cli/tools/test_runner.rs b/cli/tools/test_runner.rs index 64cff7e0f..172ca54ea 100644 --- a/cli/tools/test_runner.rs +++ b/cli/tools/test_runner.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::fs_util; use crate::tools::installer::is_remote_url; diff --git a/cli/tools/upgrade.rs b/cli/tools/upgrade.rs index a404f75f5..58c283ecd 100644 --- a/cli/tools/upgrade.rs +++ b/cli/tools/upgrade.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 provides feature to upgrade deno executable diff --git a/cli/tsc.rs b/cli/tsc.rs index 558f93a48..601e4c140 100644 --- a/cli/tsc.rs +++ b/cli/tsc.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::diagnostics::Diagnostics; use crate::media_type::MediaType; diff --git a/cli/tsc/99_main_compiler.js b/cli/tsc/99_main_compiler.js index 57e52f562..8cbe8558f 100644 --- a/cli/tsc/99_main_compiler.js +++ b/cli/tsc/99_main_compiler.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. // @ts-check /// <reference path="./compiler.d.ts" /> diff --git a/cli/tsc/compiler.d.ts b/cli/tsc/compiler.d.ts index 7a8049c3a..a2e004d8c 100644 --- a/cli/tsc/compiler.d.ts +++ b/cli/tsc/compiler.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. // Contains types that can be used to validate and check `99_main_compiler.js` diff --git a/cli/tsc_config.rs b/cli/tsc_config.rs index 1f420ed3a..de4467bcf 100644 --- a/cli/tsc_config.rs +++ b/cli/tsc_config.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::fs_util::canonicalize_path; use deno_core::error::AnyError; diff --git a/cli/version.rs b/cli/version.rs index 3c2f6a995..ae2b961f2 100644 --- a/cli/version.rs +++ b/cli/version.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 const GIT_COMMIT_HASH: &str = env!("GIT_COMMIT_HASH"); pub const TYPESCRIPT: &str = env!("TS_VERSION"); diff --git a/docs/contributing/style_guide.md b/docs/contributing/style_guide.md index 25e01b203..7f060eb0e 100644 --- a/docs/contributing/style_guide.md +++ b/docs/contributing/style_guide.md @@ -5,7 +5,7 @@ Most modules in the repository should have the following copyright header: ```ts -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. ``` If the code originates elsewhere, ensure that the file has the proper copyright diff --git a/op_crates/crypto/01_crypto.js b/op_crates/crypto/01_crypto.js index d0b0d98c7..27f630b7e 100644 --- a/op_crates/crypto/01_crypto.js +++ b/op_crates/crypto/01_crypto.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/op_crates/crypto/Cargo.toml b/op_crates/crypto/Cargo.toml index a08e30d56..00db3ddb7 100644 --- a/op_crates/crypto/Cargo.toml +++ b/op_crates/crypto/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_crypto" diff --git a/op_crates/crypto/lib.rs b/op_crates/crypto/lib.rs index a211a29b3..d7644166c 100644 --- a/op_crates/crypto/lib.rs +++ b/op_crates/crypto/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/op_crates/fetch/01_fetch_util.js b/op_crates/fetch/01_fetch_util.js index 07f45d821..b747037bd 100644 --- a/op_crates/fetch/01_fetch_util.js +++ b/op_crates/fetch/01_fetch_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. ((window) => { function requiredArguments( diff --git a/op_crates/fetch/03_dom_iterable.js b/op_crates/fetch/03_dom_iterable.js index bea60b61f..54e1c9227 100644 --- a/op_crates/fetch/03_dom_iterable.js +++ b/op_crates/fetch/03_dom_iterable.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 { requiredArguments } = window.__bootstrap.fetchUtil; diff --git a/op_crates/fetch/11_streams.js b/op_crates/fetch/11_streams.js index 69787d24a..0704465cc 100644 --- a/op_crates/fetch/11_streams.js +++ b/op_crates/fetch/11_streams.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 code closely follows the WHATWG Stream Specification // See: https://streams.spec.whatwg.org/ diff --git a/op_crates/fetch/20_headers.js b/op_crates/fetch/20_headers.js index 4202bea41..7ee19945e 100644 --- a/op_crates/fetch/20_headers.js +++ b/op_crates/fetch/20_headers.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 { DomIterableMixin } = window.__bootstrap.domIterable; diff --git a/op_crates/fetch/26_fetch.js b/op_crates/fetch/26_fetch.js index 2d50f1142..f5147d6b9 100644 --- a/op_crates/fetch/26_fetch.js +++ b/op_crates/fetch/26_fetch.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/op_crates/fetch/Cargo.toml b/op_crates/fetch/Cargo.toml index 855695475..6916685fb 100644 --- a/op_crates/fetch/Cargo.toml +++ b/op_crates/fetch/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_fetch" diff --git a/op_crates/fetch/lib.deno_fetch.d.ts b/op_crates/fetch/lib.deno_fetch.d.ts index 0b3036e2c..30c031747 100644 --- a/op_crates/fetch/lib.deno_fetch.d.ts +++ b/op_crates/fetch/lib.deno_fetch.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. // deno-lint-ignore-file no-explicit-any diff --git a/op_crates/fetch/lib.rs b/op_crates/fetch/lib.rs index 0a2623c34..b47039b08 100644 --- a/op_crates/fetch/lib.rs +++ b/op_crates/fetch/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/op_crates/web/00_dom_exception.js b/op_crates/web/00_dom_exception.js index 5fb130452..590a3c24f 100644 --- a/op_crates/web/00_dom_exception.js +++ b/op_crates/web/00_dom_exception.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 nameToCodeMapping = Object.create( diff --git a/op_crates/web/01_event.js b/op_crates/web/01_event.js index fb80ea4a6..f4932179e 100644 --- a/op_crates/web/01_event.js +++ b/op_crates/web/01_event.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 module follows most of the WHATWG Living Standard for the DOM logic. // Many parts of the DOM are not implemented in Deno, but the logic for those diff --git a/op_crates/web/02_abort_signal.js b/op_crates/web/02_abort_signal.js index 412dab835..1bad13be3 100644 --- a/op_crates/web/02_abort_signal.js +++ b/op_crates/web/02_abort_signal.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 { setIsTrusted } = window.__bootstrap.event; diff --git a/op_crates/web/08_text_encoding.js b/op_crates/web/08_text_encoding.js index cf435adc5..6a6b23f71 100644 --- a/op_crates/web/08_text_encoding.js +++ b/op_crates/web/08_text_encoding.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. // The following code is based off of text-encoding at: // https://github.com/inexorabletash/text-encoding diff --git a/op_crates/web/11_url.js b/op_crates/web/11_url.js index af70dad21..e4d45854b 100644 --- a/op_crates/web/11_url.js +++ b/op_crates/web/11_url.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/op_crates/web/12_location.js b/op_crates/web/12_location.js index d56ccc1e4..79a9151f1 100644 --- a/op_crates/web/12_location.js +++ b/op_crates/web/12_location.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 { URL } = window.__bootstrap.url; diff --git a/op_crates/web/21_filereader.js b/op_crates/web/21_filereader.js index 381517310..c82c52864 100644 --- a/op_crates/web/21_filereader.js +++ b/op_crates/web/21_filereader.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 base64 = window.__bootstrap.base64; diff --git a/op_crates/web/Cargo.toml b/op_crates/web/Cargo.toml index 7134a5fd6..279bdd47f 100644 --- a/op_crates/web/Cargo.toml +++ b/op_crates/web/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_web" diff --git a/op_crates/web/abort_controller_test.js b/op_crates/web/abort_controller_test.js index 2f26ade28..3f1cf18fd 100644 --- a/op_crates/web/abort_controller_test.js +++ b/op_crates/web/abort_controller_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/op_crates/web/event_target_test.js b/op_crates/web/event_target_test.js index 5e86c6efb..67e323571 100644 --- a/op_crates/web/event_target_test.js +++ b/op_crates/web/event_target_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/op_crates/web/event_test.js b/op_crates/web/event_test.js index 00459c442..6e57e0e8d 100644 --- a/op_crates/web/event_test.js +++ b/op_crates/web/event_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/op_crates/web/lib.deno_web.d.ts b/op_crates/web/lib.deno_web.d.ts index f6c2e240f..e9a6bc8ee 100644 --- a/op_crates/web/lib.deno_web.d.ts +++ b/op_crates/web/lib.deno_web.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. // deno-lint-ignore-file no-explicit-any diff --git a/op_crates/web/lib.rs b/op_crates/web/lib.rs index 33bb0a33f..79f810fb5 100644 --- a/op_crates/web/lib.rs +++ b/op_crates/web/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::error::uri_error; use deno_core::error::AnyError; diff --git a/op_crates/web/text_encoding_test.js b/op_crates/web/text_encoding_test.js index 35fe6a212..2c7cbd641 100644 --- a/op_crates/web/text_encoding_test.js +++ b/op_crates/web/text_encoding_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/op_crates/websocket/01_websocket.js b/op_crates/websocket/01_websocket.js index 741e643e5..ac7c96b2a 100644 --- a/op_crates/websocket/01_websocket.js +++ b/op_crates/websocket/01_websocket.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/op_crates/websocket/Cargo.toml b/op_crates/websocket/Cargo.toml index 20fba9804..c4d9a27ec 100644 --- a/op_crates/websocket/Cargo.toml +++ b/op_crates/websocket/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_websocket" diff --git a/op_crates/websocket/lib.deno_websocket.d.ts b/op_crates/websocket/lib.deno_websocket.d.ts index d47665c8b..31e5782a6 100644 --- a/op_crates/websocket/lib.deno_websocket.d.ts +++ b/op_crates/websocket/lib.deno_websocket.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. // deno-lint-ignore-file no-explicit-any diff --git a/op_crates/websocket/lib.rs b/op_crates/websocket/lib.rs index e15bab827..f43ce8b42 100644 --- a/op_crates/websocket/lib.rs +++ b/op_crates/websocket/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::error::bad_resource_id; use deno_core::error::type_error; diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml index f641dcb42..1c75aaff1 100644 --- a/runtime/Cargo.toml +++ b/runtime/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_runtime" diff --git a/runtime/inspector.rs b/runtime/inspector.rs index ae90e0fae..80beec0ec 100644 --- a/runtime/inspector.rs +++ b/runtime/inspector.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. //! The documentation for the inspector API is sparse, but these are helpful: //! https://chromedevtools.github.io/devtools-protocol/ diff --git a/runtime/js.rs b/runtime/js.rs index efbc958c7..ebccaeba6 100644 --- a/runtime/js.rs +++ b/runtime/js.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::Snapshot; diff --git a/runtime/js/00_bootstrap_namespace.js b/runtime/js/00_bootstrap_namespace.js index 514cbe3f0..935d059c5 100644 --- a/runtime/js/00_bootstrap_namespace.js +++ b/runtime/js/00_bootstrap_namespace.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. // The only purpose of this file is to set up "globalThis.__bootstrap" namespace, // that is used by scripts in this directory to reference exports between diff --git a/runtime/js/01_build.js b/runtime/js/01_build.js index 7c1dc817e..73fbe70e9 100644 --- a/runtime/js/01_build.js +++ b/runtime/js/01_build.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 build = { diff --git a/runtime/js/01_colors.js b/runtime/js/01_colors.js index 39e4a7a18..7d6320fd3 100644 --- a/runtime/js/01_colors.js +++ b/runtime/js/01_colors.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) => { function code(open, close) { diff --git a/runtime/js/01_internals.js b/runtime/js/01_internals.js index eee9eeaf7..a8c54ec48 100644 --- a/runtime/js/01_internals.js +++ b/runtime/js/01_internals.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 internalSymbol = Symbol("Deno.internal"); diff --git a/runtime/js/01_version.js b/runtime/js/01_version.js index 325e1156f..639db45c4 100644 --- a/runtime/js/01_version.js +++ b/runtime/js/01_version.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 version = { diff --git a/runtime/js/01_web_util.js b/runtime/js/01_web_util.js index a9573a71d..763385e29 100644 --- a/runtime/js/01_web_util.js +++ b/runtime/js/01_web_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. ((window) => { const illegalConstructorKey = Symbol("illegalConstructorKey"); diff --git a/runtime/js/02_console.js b/runtime/js/02_console.js index 11b819850..c6c53977b 100644 --- a/runtime/js/02_console.js +++ b/runtime/js/02_console.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/06_util.js b/runtime/js/06_util.js index f4804c519..fb4178d21 100644 --- a/runtime/js/06_util.js +++ b/runtime/js/06_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. ((window) => { const { build } = window.__bootstrap.build; diff --git a/runtime/js/10_dispatch_minimal.js b/runtime/js/10_dispatch_minimal.js index dceb23e5f..bfb410a98 100644 --- a/runtime/js/10_dispatch_minimal.js +++ b/runtime/js/10_dispatch_minimal.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/11_timers.js b/runtime/js/11_timers.js index 166694358..4db73afb6 100644 --- a/runtime/js/11_timers.js +++ b/runtime/js/11_timers.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 assert = window.__bootstrap.util.assert; diff --git a/runtime/js/12_io.js b/runtime/js/12_io.js index 006d51cdd..68b4a7eda 100644 --- a/runtime/js/12_io.js +++ b/runtime/js/12_io.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. // Interfaces 100% copied from Go. // Documentation liberally lifted from them too. diff --git a/runtime/js/13_buffer.js b/runtime/js/13_buffer.js index e06e2138b..59997254b 100644 --- a/runtime/js/13_buffer.js +++ b/runtime/js/13_buffer.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 code has been ported almost directly from Go's src/bytes/buffer.go // Copyright 2009 The Go Authors. All rights reserved. BSD license. diff --git a/runtime/js/30_files.js b/runtime/js/30_files.js index 679b184fd..33d929aff 100644 --- a/runtime/js/30_files.js +++ b/runtime/js/30_files.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/30_fs.js b/runtime/js/30_fs.js index 33fab01e4..f2a6cf8cb 100644 --- a/runtime/js/30_fs.js +++ b/runtime/js/30_fs.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/30_metrics.js b/runtime/js/30_metrics.js index d44a629cb..e9e6603a7 100644 --- a/runtime/js/30_metrics.js +++ b/runtime/js/30_metrics.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/30_net.js b/runtime/js/30_net.js index 7009f6f8d..1a5f5116d 100644 --- a/runtime/js/30_net.js +++ b/runtime/js/30_net.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/30_os.js b/runtime/js/30_os.js index ebc4e8916..74af82124 100644 --- a/runtime/js/30_os.js +++ b/runtime/js/30_os.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_compiler_api.js b/runtime/js/40_compiler_api.js index ced4bcb00..0d3600101 100644 --- a/runtime/js/40_compiler_api.js +++ b/runtime/js/40_compiler_api.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. // @ts-check diff --git a/runtime/js/40_diagnostics.js b/runtime/js/40_diagnostics.js index 2b7457853..04389e25c 100644 --- a/runtime/js/40_diagnostics.js +++ b/runtime/js/40_diagnostics.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. // Diagnostic provides an abstraction for advice/errors received from a // compiler, which is strongly influenced by the format of TypeScript diff --git a/runtime/js/40_error_stack.js b/runtime/js/40_error_stack.js index da2ee51f3..05c823cec 100644 --- a/runtime/js/40_error_stack.js +++ b/runtime/js/40_error_stack.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_fs_events.js b/runtime/js/40_fs_events.js index a179e8c1b..ae769c84d 100644 --- a/runtime/js/40_fs_events.js +++ b/runtime/js/40_fs_events.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_net_unstable.js b/runtime/js/40_net_unstable.js index fcc899a30..cff5f4dea 100644 --- a/runtime/js/40_net_unstable.js +++ b/runtime/js/40_net_unstable.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 net = window.__bootstrap.net; diff --git a/runtime/js/40_performance.js b/runtime/js/40_performance.js index b9c873270..d76c3f73a 100644 --- a/runtime/js/40_performance.js +++ b/runtime/js/40_performance.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 { opNow } = window.__bootstrap.timers; diff --git a/runtime/js/40_permissions.js b/runtime/js/40_permissions.js index 50d471b6a..b41c780aa 100644 --- a/runtime/js/40_permissions.js +++ b/runtime/js/40_permissions.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_plugins.js b/runtime/js/40_plugins.js index f5aefd400..51a37c9dc 100644 --- a/runtime/js/40_plugins.js +++ b/runtime/js/40_plugins.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_process.js b/runtime/js/40_process.js index b46a1aead..1ba32ff67 100644 --- a/runtime/js/40_process.js +++ b/runtime/js/40_process.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_read_file.js b/runtime/js/40_read_file.js index 9a36f335b..95fcfa2b9 100644 --- a/runtime/js/40_read_file.js +++ b/runtime/js/40_read_file.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 { open, openSync } = window.__bootstrap.files; diff --git a/runtime/js/40_signals.js b/runtime/js/40_signals.js index 091afd66a..d90c54767 100644 --- a/runtime/js/40_signals.js +++ b/runtime/js/40_signals.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_testing.js b/runtime/js/40_testing.js index 082d17fe0..ce11150f4 100644 --- a/runtime/js/40_testing.js +++ b/runtime/js/40_testing.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_tls.js b/runtime/js/40_tls.js index d66e0bd01..a3893a298 100644 --- a/runtime/js/40_tls.js +++ b/runtime/js/40_tls.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_write_file.js b/runtime/js/40_write_file.js index 7a9cb1f40..79b8e6806 100644 --- a/runtime/js/40_write_file.js +++ b/runtime/js/40_write_file.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 { stat, statSync, chmod, chmodSync } = window.__bootstrap.fs; const { open, openSync } = window.__bootstrap.files; diff --git a/runtime/js/41_prompt.js b/runtime/js/41_prompt.js index ec294668b..cafd0f31e 100644 --- a/runtime/js/41_prompt.js +++ b/runtime/js/41_prompt.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 { stdin } = window.__bootstrap.files; const { isatty } = window.__bootstrap.tty; diff --git a/runtime/js/90_deno_ns.js b/runtime/js/90_deno_ns.js index c71f175e4..7cc7b543b 100644 --- a/runtime/js/90_deno_ns.js +++ b/runtime/js/90_deno_ns.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 __bootstrap = window.__bootstrap; diff --git a/runtime/js/99_main.js b/runtime/js/99_main.js index 21e1ed5eb..b41b75d33 100644 --- a/runtime/js/99_main.js +++ b/runtime/js/99_main.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. // Removes the `__proto__` for security reasons. This intentionally makes // Deno non compliant with ECMA-262 Annex B.2.2.1 // diff --git a/runtime/web_worker.rs b/runtime/web_worker.rs index 3a1f5316c..87487e499 100644 --- a/runtime/web_worker.rs +++ b/runtime/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::colors; use crate::inspector::DenoInspector; diff --git a/std/fs/_util.ts b/std/fs/_util.ts index 95e9f0894..a9445a394 100644 --- a/std/fs/_util.ts +++ b/std/fs/_util.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import * as path from "../path/mod.ts"; /** diff --git a/std/fs/copy.ts b/std/fs/copy.ts index 1bb0a6aff..05ea6056b 100644 --- a/std/fs/copy.ts +++ b/std/fs/copy.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import * as path from "../path/mod.ts"; import { ensureDir, ensureDirSync } from "./ensure_dir.ts"; import { getFileInfoType, isSubdir } from "./_util.ts"; diff --git a/std/fs/copy_test.ts b/std/fs/copy_test.ts index 859239d10..32933b8e0 100644 --- a/std/fs/copy_test.ts +++ b/std/fs/copy_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { assert, assertEquals, diff --git a/std/fs/empty_dir.ts b/std/fs/empty_dir.ts index dea09b5c0..df73ad6b7 100644 --- a/std/fs/empty_dir.ts +++ b/std/fs/empty_dir.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { join } from "../path/mod.ts"; /** diff --git a/std/fs/empty_dir_test.ts b/std/fs/empty_dir_test.ts index aaee1b9d9..a78f221eb 100644 --- a/std/fs/empty_dir_test.ts +++ b/std/fs/empty_dir_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { assert, assertEquals, diff --git a/std/fs/ensure_dir.ts b/std/fs/ensure_dir.ts index f5b5cd309..20259a6f7 100644 --- a/std/fs/ensure_dir.ts +++ b/std/fs/ensure_dir.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { getFileInfoType } from "./_util.ts"; /** diff --git a/std/fs/ensure_dir_test.ts b/std/fs/ensure_dir_test.ts index 29a7913b1..ad8b75a9f 100644 --- a/std/fs/ensure_dir_test.ts +++ b/std/fs/ensure_dir_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { assertThrows, assertThrowsAsync } from "../testing/asserts.ts"; import * as path from "../path/mod.ts"; import { ensureDir, ensureDirSync } from "./ensure_dir.ts"; diff --git a/std/fs/ensure_file.ts b/std/fs/ensure_file.ts index 41565795c..f70732c37 100644 --- a/std/fs/ensure_file.ts +++ b/std/fs/ensure_file.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import * as path from "../path/mod.ts"; import { ensureDir, ensureDirSync } from "./ensure_dir.ts"; import { getFileInfoType } from "./_util.ts"; diff --git a/std/fs/ensure_file_test.ts b/std/fs/ensure_file_test.ts index ee21e7b88..e10603426 100644 --- a/std/fs/ensure_file_test.ts +++ b/std/fs/ensure_file_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { assertThrows, assertThrowsAsync } from "../testing/asserts.ts"; import * as path from "../path/mod.ts"; import { ensureFile, ensureFileSync } from "./ensure_file.ts"; diff --git a/std/fs/ensure_link.ts b/std/fs/ensure_link.ts index ea8501b03..56d740ef0 100644 --- a/std/fs/ensure_link.ts +++ b/std/fs/ensure_link.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import * as path from "../path/mod.ts"; import { ensureDir, ensureDirSync } from "./ensure_dir.ts"; import { exists, existsSync } from "./exists.ts"; diff --git a/std/fs/ensure_link_test.ts b/std/fs/ensure_link_test.ts index 2b4cfc66c..d45b058ca 100644 --- a/std/fs/ensure_link_test.ts +++ b/std/fs/ensure_link_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. // TODO(axetroy): Add test for Windows once symlink is implemented for Windows. import { assertEquals, diff --git a/std/fs/ensure_symlink.ts b/std/fs/ensure_symlink.ts index b57abe907..63ef6f162 100644 --- a/std/fs/ensure_symlink.ts +++ b/std/fs/ensure_symlink.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import * as path from "../path/mod.ts"; import { ensureDir, ensureDirSync } from "./ensure_dir.ts"; import { exists, existsSync } from "./exists.ts"; diff --git a/std/fs/ensure_symlink_test.ts b/std/fs/ensure_symlink_test.ts index 4461f8f87..64adfa812 100644 --- a/std/fs/ensure_symlink_test.ts +++ b/std/fs/ensure_symlink_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. // TODO(axetroy): Add test for Windows once symlink is implemented for Windows. import { assertEquals, diff --git a/std/fs/eol.ts b/std/fs/eol.ts index 5ea554c6e..25797bd71 100644 --- a/std/fs/eol.ts +++ b/std/fs/eol.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. /** EndOfLine character enum */ export enum EOL { diff --git a/std/fs/eol_test.ts b/std/fs/eol_test.ts index dd427d219..23e02f4a3 100644 --- a/std/fs/eol_test.ts +++ b/std/fs/eol_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { assertEquals } from "../testing/asserts.ts"; import { detect, EOL, format } from "./eol.ts"; diff --git a/std/fs/exists.ts b/std/fs/exists.ts index a79455b2d..e98bbcc70 100644 --- a/std/fs/exists.ts +++ b/std/fs/exists.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. /** * Test whether or not the given path exists by checking with the file system */ diff --git a/std/fs/exists_test.ts b/std/fs/exists_test.ts index a3243aec9..b3004ec0e 100644 --- a/std/fs/exists_test.ts +++ b/std/fs/exists_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { assertEquals, assertStringIncludes } from "../testing/asserts.ts"; import * as path from "../path/mod.ts"; import { exists, existsSync } from "./exists.ts"; diff --git a/std/fs/expand_glob.ts b/std/fs/expand_glob.ts index 390df4932..358206558 100644 --- a/std/fs/expand_glob.ts +++ b/std/fs/expand_glob.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { GlobOptions, globToRegExp, diff --git a/std/fs/expand_glob_test.ts b/std/fs/expand_glob_test.ts index 307cf0101..da9e89e6b 100644 --- a/std/fs/expand_glob_test.ts +++ b/std/fs/expand_glob_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { decode } from "../encoding/utf8.ts"; import { assert, diff --git a/std/fs/mod.ts b/std/fs/mod.ts index 9d361494f..98dd3daa5 100644 --- a/std/fs/mod.ts +++ b/std/fs/mod.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. export * from "./empty_dir.ts"; export * from "./ensure_dir.ts"; export * from "./ensure_file.ts"; diff --git a/std/fs/move.ts b/std/fs/move.ts index 8b5a6caa2..2e34e7387 100644 --- a/std/fs/move.ts +++ b/std/fs/move.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { exists, existsSync } from "./exists.ts"; import { isSubdir } from "./_util.ts"; diff --git a/std/fs/move_test.ts b/std/fs/move_test.ts index 7bc7e8fee..048193755 100644 --- a/std/fs/move_test.ts +++ b/std/fs/move_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { assertEquals, assertThrows, diff --git a/std/fs/test.ts b/std/fs/test.ts index 57684a50e..590417055 100644 --- a/std/fs/test.ts +++ b/std/fs/test.ts @@ -1,2 +1,2 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import "./mod.ts"; diff --git a/std/fs/walk_test.ts b/std/fs/walk_test.ts index eae21f7b1..5eb6ebd69 100644 --- a/std/fs/walk_test.ts +++ b/std/fs/walk_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { walk, WalkEntry, WalkOptions, walkSync } from "./walk.ts"; import { assert, assertEquals, assertThrowsAsync } from "../testing/asserts.ts"; diff --git a/std/signal/mod.ts b/std/signal/mod.ts index 7c662ea6e..c28cf5e99 100644 --- a/std/signal/mod.ts +++ b/std/signal/mod.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { MuxAsyncIterator } from "../async/mux_async_iterator.ts"; export type Disposable = { dispose: () => void }; diff --git a/std/signal/test.ts b/std/signal/test.ts index 043d638de..d56b7920d 100644 --- a/std/signal/test.ts +++ b/std/signal/test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { assertEquals, assertThrows } from "../testing/asserts.ts"; import { delay } from "../async/delay.ts"; import { onSignal, signal } from "./mod.ts"; diff --git a/std/uuid/_common.ts b/std/uuid/_common.ts index ef0bb42be..1f3228aea 100644 --- a/std/uuid/_common.ts +++ b/std/uuid/_common.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. /** * Converts the byte array to a UUID string * @param bytes Used to convert Byte to Hex diff --git a/std/uuid/mod.ts b/std/uuid/mod.ts index ff20fa807..b2580319c 100644 --- a/std/uuid/mod.ts +++ b/std/uuid/mod.ts @@ -1,6 +1,6 @@ // Based on https://github.com/kelektiv/node-uuid -> https://www.ietf.org/rfc/rfc4122.txt // Supporting Support for RFC4122 version 1, 4, and 5 UUIDs -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import * as v1 from "./v1.ts"; import * as v4 from "./v4.ts"; import * as v5 from "./v5.ts"; diff --git a/std/uuid/test.ts b/std/uuid/test.ts index 2dff12566..7d0feaf8d 100644 --- a/std/uuid/test.ts +++ b/std/uuid/test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { assert } from "../testing/asserts.ts"; import { isNil, NIL_UUID } from "./mod.ts"; diff --git a/std/uuid/v1.ts b/std/uuid/v1.ts index 3c62332e4..b97c704e7 100644 --- a/std/uuid/v1.ts +++ b/std/uuid/v1.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { bytesToUuid } from "./_common.ts"; const UUID_RE = new RegExp( diff --git a/std/uuid/v1_test.ts b/std/uuid/v1_test.ts index 364a4c304..5971d3f4e 100644 --- a/std/uuid/v1_test.ts +++ b/std/uuid/v1_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { assert, assertEquals } from "../testing/asserts.ts"; import { generate, validate } from "./v1.ts"; diff --git a/std/uuid/v4.ts b/std/uuid/v4.ts index 1245f2678..e059cd937 100644 --- a/std/uuid/v4.ts +++ b/std/uuid/v4.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { bytesToUuid } from "./_common.ts"; const UUID_RE = new RegExp( diff --git a/std/uuid/v4_test.ts b/std/uuid/v4_test.ts index f8daf132e..6c9cb6b4a 100644 --- a/std/uuid/v4_test.ts +++ b/std/uuid/v4_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { assert, assertEquals } from "../testing/asserts.ts"; import { generate, validate } from "./v4.ts"; diff --git a/std/uuid/v5.ts b/std/uuid/v5.ts index b22d4ad40..7f6a098e0 100644 --- a/std/uuid/v5.ts +++ b/std/uuid/v5.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { bytesToUuid, createBuffer, diff --git a/std/uuid/v5_test.ts b/std/uuid/v5_test.ts index d24da36b5..15da32aee 100644 --- a/std/uuid/v5_test.ts +++ b/std/uuid/v5_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { assert, assertEquals } from "../testing/asserts.ts"; import { generate, validate } from "./v5.ts"; diff --git a/std/wasi/snapshot_preview1.ts b/std/wasi/snapshot_preview1.ts index d4caa97bc..b15557e00 100644 --- a/std/wasi/snapshot_preview1.ts +++ b/std/wasi/snapshot_preview1.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { relative, resolve } from "../path/mod.ts"; diff --git a/std/wasi/snapshot_preview1_test.ts b/std/wasi/snapshot_preview1_test.ts index 073c30aab..b6835b285 100644 --- a/std/wasi/snapshot_preview1_test.ts +++ b/std/wasi/snapshot_preview1_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import Context from "./snapshot_preview1.ts"; import { assert, assertEquals, assertThrows } from "../testing/asserts.ts"; import { copy } from "../fs/mod.ts"; diff --git a/std/ws/README.md b/std/ws/README.md index 786d6f393..658f2e038 100644 --- a/std/ws/README.md +++ b/std/ws/README.md @@ -7,7 +7,7 @@ WebSockets, use the ## Usage ```ts -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { serve } from "https://deno.land/std@$STD_VERSION/http/server.ts"; import { acceptWebSocket, diff --git a/std/ws/example_server.ts b/std/ws/example_server.ts index 0d0b28607..0e99bd03a 100644 --- a/std/ws/example_server.ts +++ b/std/ws/example_server.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { serve } from "../http/server.ts"; import { acceptWebSocket, diff --git a/std/ws/example_test.ts b/std/ws/example_test.ts index 8b38e3952..b94121607 100644 --- a/std/ws/example_test.ts +++ b/std/ws/example_test.ts @@ -1,2 +1,2 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import "./example_server.ts"; diff --git a/std/ws/mod.ts b/std/ws/mod.ts index a86c18482..0d2141a75 100644 --- a/std/ws/mod.ts +++ b/std/ws/mod.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { decode, encode } from "../encoding/utf8.ts"; import { hasOwnProperty } from "../_util/has_own_property.ts"; import { BufReader, BufWriter } from "../io/bufio.ts"; diff --git a/std/ws/test.ts b/std/ws/test.ts index cef4ff8ff..45e34d579 100644 --- a/std/ws/test.ts +++ b/std/ws/test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { BufReader, BufWriter } from "../io/bufio.ts"; import { assert, diff --git a/test_util/Cargo.toml b/test_util/Cargo.toml index 3831c68f1..0e8099cec 100644 --- a/test_util/Cargo.toml +++ b/test_util/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_util" diff --git a/test_util/src/lib.rs b/test_util/src/lib.rs index 3f54fa9ee..652259d1d 100644 --- a/test_util/src/lib.rs +++ b/test_util/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. // Usage: provide a port as argument to run hyper_hello benchmark server // otherwise this starts multiple servers on many ports for test endpoints. diff --git a/test_util/src/test_server.rs b/test_util/src/test_server.rs index dfff24e2c..e97378b89 100644 --- a/test_util/src/test_server.rs +++ b/test_util/src/test_server.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. fn main() { test_util::run_all_servers(); |