From d8fd71afdf0c5d62b7ae2b9eb7b877ca74f3c2e7 Mon Sep 17 00:00:00 2001 From: Yusuke Tanaka Date: Tue, 12 Jan 2021 02:13:41 +0900 Subject: [PATCH] chore: update copyright to 2021 (#9092) --- .rustfmt.toml | 2 +- cli/Cargo.toml | 2 +- cli/ast.rs | 2 +- cli/bench/deno_http_proxy.ts | 2 +- cli/bench/deno_tcp.ts | 2 +- cli/bench/deno_tcp_proxy.ts | 2 +- cli/bench/http.rs | 2 +- cli/bench/main.rs | 2 +- cli/bench/node_http.js | 2 +- cli/bench/node_http_proxy.js | 2 +- cli/bench/node_tcp.js | 2 +- cli/bench/node_tcp_promise.js | 2 +- cli/bench/node_tcp_proxy.js | 2 +- cli/bench/throughput.rs | 2 +- cli/build.rs | 2 +- cli/checksum.rs | 2 +- cli/colors.rs | 2 +- cli/deno_dir.rs | 2 +- cli/diagnostics.rs | 2 +- cli/diff.rs | 2 +- cli/disk_cache.rs | 2 +- cli/dts/lib.deno.ns.d.ts | 2 +- cli/dts/lib.deno.shared_globals.d.ts | 2 +- cli/dts/lib.deno.unstable.d.ts | 2 +- cli/dts/lib.deno.window.d.ts | 2 +- cli/dts/lib.deno.worker.d.ts | 2 +- cli/errors.rs | 2 +- cli/file_fetcher.rs | 2 +- cli/file_watcher.rs | 2 +- cli/flags.rs | 2 +- cli/flags_allow_net.rs | 2 +- cli/fmt_errors.rs | 2 +- cli/fs_util.rs | 2 +- cli/http_cache.rs | 2 +- cli/http_util.rs | 2 +- cli/import_map.rs | 2 +- cli/info.rs | 2 +- cli/lockfile.rs | 2 +- cli/lsp/analysis.rs | 2 +- cli/lsp/capabilities.rs | 2 +- cli/lsp/config.rs | 2 +- cli/lsp/diagnostics.rs | 2 +- cli/lsp/language_server.rs | 2 +- cli/lsp/memory_cache.rs | 2 +- cli/lsp/mod.rs | 2 +- cli/lsp/sources.rs | 2 +- cli/lsp/text.rs | 2 +- cli/lsp/tsc.rs | 2 +- cli/lsp/utils.rs | 2 +- cli/main.rs | 2 +- cli/main_runtime.rs | 2 +- cli/media_type.rs | 2 +- cli/module_graph.rs | 2 +- cli/module_loader.rs | 2 +- cli/ops/errors.rs | 2 +- cli/ops/mod.rs | 2 +- cli/ops/runtime_compiler.rs | 2 +- cli/program_state.rs | 2 +- cli/source_maps.rs | 2 +- cli/specifier_handler.rs | 2 +- cli/standalone.rs | 2 +- cli/tests/045_proxy_client.ts | 2 +- cli/tests/045_proxy_test.ts | 2 +- cli/tests/compiler_api_test.ts | 2 +- cli/tests/hash.ts | 2 +- cli/tests/integration_tests.rs | 2 +- cli/tests/test_runner_test.ts | 2 +- cli/tests/types.out | 2 +- cli/tests/unit/blob_test.ts | 2 +- cli/tests/unit/body_test.ts | 2 +- cli/tests/unit/buffer_test.ts | 2 +- cli/tests/unit/build_test.ts | 2 +- cli/tests/unit/chmod_test.ts | 2 +- cli/tests/unit/chown_test.ts | 2 +- cli/tests/unit/console_test.ts | 2 +- cli/tests/unit/copy_file_test.ts | 2 +- cli/tests/unit/custom_event_test.ts | 2 +- cli/tests/unit/dir_test.ts | 2 +- cli/tests/unit/dom_exception_test.ts | 2 +- cli/tests/unit/dom_iterable_test.ts | 2 +- cli/tests/unit/error_stack_test.ts | 2 +- cli/tests/unit/event_target_test.ts | 2 +- cli/tests/unit/event_test.ts | 2 +- cli/tests/unit/fetch_test.ts | 2 +- cli/tests/unit/file_test.ts | 2 +- cli/tests/unit/filereader_test.ts | 2 +- cli/tests/unit/files_test.ts | 2 +- cli/tests/unit/form_data_test.ts | 2 +- cli/tests/unit/format_error_test.ts | 2 +- cli/tests/unit/get_random_values_test.ts | 2 +- cli/tests/unit/globals_test.ts | 2 +- cli/tests/unit/headers_test.ts | 2 +- cli/tests/unit/internals_test.ts | 2 +- cli/tests/unit/io_test.ts | 2 +- cli/tests/unit/link_test.ts | 2 +- cli/tests/unit/make_temp_test.ts | 2 +- cli/tests/unit/metrics_test.ts | 2 +- cli/tests/unit/mkdir_test.ts | 2 +- cli/tests/unit/net_test.ts | 2 +- cli/tests/unit/os_test.ts | 2 +- cli/tests/unit/performance_test.ts | 2 +- cli/tests/unit/permissions_test.ts | 2 +- cli/tests/unit/process_test.ts | 2 +- cli/tests/unit/progressevent_test.ts | 2 +- cli/tests/unit/read_dir_test.ts | 2 +- cli/tests/unit/read_file_test.ts | 2 +- cli/tests/unit/read_link_test.ts | 2 +- cli/tests/unit/real_path_test.ts | 2 +- cli/tests/unit/remove_test.ts | 2 +- cli/tests/unit/rename_test.ts | 2 +- cli/tests/unit/request_test.ts | 2 +- cli/tests/unit/resources_test.ts | 2 +- cli/tests/unit/response_test.ts | 2 +- cli/tests/unit/signal_test.ts | 2 +- cli/tests/unit/stat_test.ts | 2 +- cli/tests/unit/stdio_test.ts | 2 +- cli/tests/unit/streams_internal_test.ts | 2 +- cli/tests/unit/streams_piping_test.ts | 2 +- cli/tests/unit/streams_transform_test.ts | 2 +- cli/tests/unit/streams_writable_test.ts | 2 +- cli/tests/unit/symlink_test.ts | 2 +- cli/tests/unit/sync_test.ts | 2 +- cli/tests/unit/test_util.ts | 2 +- cli/tests/unit/testing_test.ts | 2 +- cli/tests/unit/text_encoding_test.ts | 2 +- cli/tests/unit/timers_test.ts | 2 +- cli/tests/unit/tls_test.ts | 2 +- cli/tests/unit/truncate_test.ts | 2 +- cli/tests/unit/tty_test.ts | 2 +- cli/tests/unit/umask_test.ts | 2 +- cli/tests/unit/unit_test_runner.ts | 2 +- cli/tests/unit/unit_tests.ts | 2 +- cli/tests/unit/url_search_params_test.ts | 2 +- cli/tests/unit/url_test.ts | 2 +- cli/tests/unit/utime_test.ts | 2 +- cli/tests/unit/websocket_test.ts | 2 +- cli/tests/unit/worker_types.ts | 2 +- cli/tests/unit/write_file_test.ts | 2 +- cli/tests/websocket_test.ts | 2 +- cli/tests/workers_test.ts | 2 +- cli/text_encoding.rs | 2 +- cli/tokio_util.rs | 2 +- cli/tools/coverage.rs | 2 +- cli/tools/fmt.rs | 2 +- cli/tools/installer.rs | 2 +- cli/tools/lint.rs | 2 +- cli/tools/mod.rs | 2 +- cli/tools/repl.rs | 2 +- cli/tools/standalone.rs | 2 +- cli/tools/test_runner.rs | 2 +- cli/tools/upgrade.rs | 2 +- cli/tsc.rs | 2 +- cli/tsc/99_main_compiler.js | 2 +- cli/tsc/compiler.d.ts | 2 +- cli/tsc_config.rs | 2 +- cli/version.rs | 2 +- docs/contributing/style_guide.md | 2 +- op_crates/crypto/01_crypto.js | 2 +- op_crates/crypto/Cargo.toml | 2 +- op_crates/crypto/lib.rs | 2 +- op_crates/fetch/01_fetch_util.js | 2 +- op_crates/fetch/03_dom_iterable.js | 2 +- op_crates/fetch/11_streams.js | 2 +- op_crates/fetch/20_headers.js | 2 +- op_crates/fetch/26_fetch.js | 2 +- op_crates/fetch/Cargo.toml | 2 +- op_crates/fetch/lib.deno_fetch.d.ts | 2 +- op_crates/fetch/lib.rs | 2 +- op_crates/web/00_dom_exception.js | 2 +- op_crates/web/01_event.js | 2 +- op_crates/web/02_abort_signal.js | 2 +- op_crates/web/08_text_encoding.js | 2 +- op_crates/web/11_url.js | 2 +- op_crates/web/12_location.js | 2 +- op_crates/web/21_filereader.js | 2 +- op_crates/web/Cargo.toml | 2 +- op_crates/web/abort_controller_test.js | 2 +- op_crates/web/event_target_test.js | 2 +- op_crates/web/event_test.js | 2 +- op_crates/web/lib.deno_web.d.ts | 2 +- op_crates/web/lib.rs | 2 +- op_crates/web/text_encoding_test.js | 2 +- op_crates/websocket/01_websocket.js | 2 +- op_crates/websocket/Cargo.toml | 2 +- op_crates/websocket/lib.deno_websocket.d.ts | 2 +- op_crates/websocket/lib.rs | 2 +- runtime/Cargo.toml | 2 +- runtime/inspector.rs | 2 +- runtime/js.rs | 2 +- runtime/js/00_bootstrap_namespace.js | 2 +- runtime/js/01_build.js | 2 +- runtime/js/01_colors.js | 2 +- runtime/js/01_internals.js | 2 +- runtime/js/01_version.js | 2 +- runtime/js/01_web_util.js | 2 +- runtime/js/02_console.js | 2 +- runtime/js/06_util.js | 2 +- runtime/js/10_dispatch_minimal.js | 2 +- runtime/js/11_timers.js | 2 +- runtime/js/12_io.js | 2 +- runtime/js/13_buffer.js | 2 +- runtime/js/30_files.js | 2 +- runtime/js/30_fs.js | 2 +- runtime/js/30_metrics.js | 2 +- runtime/js/30_net.js | 2 +- runtime/js/30_os.js | 2 +- runtime/js/40_compiler_api.js | 2 +- runtime/js/40_diagnostics.js | 2 +- runtime/js/40_error_stack.js | 2 +- runtime/js/40_fs_events.js | 2 +- runtime/js/40_net_unstable.js | 2 +- runtime/js/40_performance.js | 2 +- runtime/js/40_permissions.js | 2 +- runtime/js/40_plugins.js | 2 +- runtime/js/40_process.js | 2 +- runtime/js/40_read_file.js | 2 +- runtime/js/40_signals.js | 2 +- runtime/js/40_testing.js | 2 +- runtime/js/40_tls.js | 2 +- runtime/js/40_write_file.js | 2 +- runtime/js/41_prompt.js | 2 +- runtime/js/90_deno_ns.js | 2 +- runtime/js/99_main.js | 2 +- runtime/web_worker.rs | 2 +- std/fs/_util.ts | 2 +- std/fs/copy.ts | 2 +- std/fs/copy_test.ts | 2 +- std/fs/empty_dir.ts | 2 +- std/fs/empty_dir_test.ts | 2 +- std/fs/ensure_dir.ts | 2 +- std/fs/ensure_dir_test.ts | 2 +- std/fs/ensure_file.ts | 2 +- std/fs/ensure_file_test.ts | 2 +- std/fs/ensure_link.ts | 2 +- std/fs/ensure_link_test.ts | 2 +- std/fs/ensure_symlink.ts | 2 +- std/fs/ensure_symlink_test.ts | 2 +- std/fs/eol.ts | 2 +- std/fs/eol_test.ts | 2 +- std/fs/exists.ts | 2 +- std/fs/exists_test.ts | 2 +- std/fs/expand_glob.ts | 2 +- std/fs/expand_glob_test.ts | 2 +- std/fs/mod.ts | 2 +- std/fs/move.ts | 2 +- std/fs/move_test.ts | 2 +- std/fs/test.ts | 2 +- std/fs/walk_test.ts | 2 +- std/signal/mod.ts | 2 +- std/signal/test.ts | 2 +- std/uuid/_common.ts | 2 +- std/uuid/mod.ts | 2 +- std/uuid/test.ts | 2 +- std/uuid/v1.ts | 2 +- std/uuid/v1_test.ts | 2 +- std/uuid/v4.ts | 2 +- std/uuid/v4_test.ts | 2 +- std/uuid/v5.ts | 2 +- std/uuid/v5_test.ts | 2 +- std/wasi/snapshot_preview1.ts | 2 +- std/wasi/snapshot_preview1_test.ts | 2 +- std/ws/README.md | 2 +- std/ws/example_server.ts | 2 +- std/ws/example_test.ts | 2 +- std/ws/mod.ts | 2 +- std/ws/test.ts | 2 +- test_util/Cargo.toml | 2 +- test_util/src/lib.rs | 2 +- test_util/src/test_server.rs | 2 +- 269 files changed, 269 insertions(+), 269 deletions(-) diff --git a/.rustfmt.toml b/.rustfmt.toml index 8b888c2328..89ad8756fc 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 e6b37712bc..79b579af3a 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 d4837bb6f0..a9b65b7518 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 6e51413779..9900148310 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 09a21ee7ee..a800a52a0c 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 d59c7d9e1c..1a424cee52 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 0d26507210..cf70a78cc6 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 012810c1f6..c253df57fc 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 189098e4cc..07a16db07b 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 b984c484f5..f97e3d5a8e 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 22e2a5161a..f1211f827f 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 36709d2b95..6f0b810e5a 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 5f2c208b8d..9f91679f88 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 611ccbcc30..78c9235fe2 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 71abfbd835..5b19ab71e2 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 a86f527c03..77b255c2d0 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 97813a72c3..847f8c7658 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 71c63361a7..b9bb589345 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 773ee0b36d..648d18f356 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 5ba55e1ca2..54fe910eb3 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 51844d24eb..2b530cae22 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 12d804f922..736f99f0d6 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. /// /// diff --git a/cli/dts/lib.deno.shared_globals.d.ts b/cli/dts/lib.deno.shared_globals.d.ts index d3061eee0a..e72e4f089a 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 c87cd744c6..0eaed73baa 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. /// /// diff --git a/cli/dts/lib.deno.window.d.ts b/cli/dts/lib.deno.window.d.ts index 996f73b867..da1b25565d 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. /// /// diff --git a/cli/dts/lib.deno.worker.d.ts b/cli/dts/lib.deno.worker.d.ts index 1d570680f5..74609e8ab0 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. /// /// diff --git a/cli/errors.rs b/cli/errors.rs index b631f1b71c..a1395fb61a 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 632b713a07..3e66224081 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 ef7aae6030..655cff534e 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 7e48c8428b..a994b3f0c8 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 83038ac4d1..801258e499 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 3e871e6f30..a54c871b14 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 f13558e36e..130a209ced 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 7a27cf3f89..aa68420b42 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 a279280556..4513dbfacf 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 d58eb5ca0a..a8c5c1890f 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 ededcc024a..1f3a0096a4 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 c817d26dec..d3470145ee 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 26f38ef380..9081ce2ef3 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 3a9caae2b9..873d424e3f 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 a890c90e79..7ab6d68c0d 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 96bb89d75d..6632620ec4 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 03b087fd01..70036df3ed 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 cfba1ecabb..9de6e86158 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 912a8c684a..aaee17c64d 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 7d1fd56f34..845f89af03 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 a0bcb08d34..e871cb265d 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 1182fae6bd..c9780ca271 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 3bdd00875a..09657a71d1 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 c9644073b5..3502414a96 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 12cb4329d6..f6d20f67ea 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 6ccb3fca01..8117147cda 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 f2e6937242..7281e67f15 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 c91a2336b8..7b15bc77d4 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 067e901ea8..e70573ba9b 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 24eca3e770..c46c5cd200 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 774b280bae..a75a80fdf6 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 ad44d8e9b2..5a2c8fdfe2 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 26ba4ca294..beee37e642 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 74aa213918..e780b94d04 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 48a4a28b3f..e10a5030e3 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 65c5594f8f..c9ef43e81e 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 873d3a0c17..2fb45f5f00 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 6f58356df5..98685f467c 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 e3c64b642b..1215b8b95e 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 df55b5e7c9..1bffe9ba9a 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 680bc5c2f4..a74c9a41a2 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 ee59f57c11..9cda650eb7 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 19125c8656..210d05b3b2 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 1e9a54815e..2c94bb5f5a 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 6bea4684d0..54ab139c97 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 9a7e66f6cc..731290326b 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 8fee4f5a38..80f2401340 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 d85f5d3b2c..8181225e39 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 c6511e12ec..6f37c8050e 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 0492c4b8c1..96d08b10e0 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 72ebc75d84..0db770056e 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 a6e9c594a5..75a41dd40e 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 4c9e96de6e..f6c69c36d3 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 e767d2ba1d..259d2d4409 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 ad5f2e093c..1445124e94 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 34271b470e..29de04c8cb 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 02abff5577..a2a6c6e3da 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 5d47c847e9..285e05a7d4 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 f610f6d6b4..eaafbae274 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 0f1f74d6b9..9bc8cda621 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 02185bc76a..1b6a99e8e9 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 40fdbfaa7d..76d137634f 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 5e49fc11b6..7d82499b77 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 1e2dd654f7..3f9f311f68 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 988e6a9df1..dbb9bd90a3 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 36288aaa0e..7f19cec1b6 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 f8b8df6981..9a5820dec9 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 9ca03f8f62..ba9641fdcc 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 a8399fb943..86cd65bae6 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 4f94ccb149..b43d257e03 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 0070ca7df4..a60aae427d 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 { diff --git a/cli/tests/unit/mkdir_test.ts b/cli/tests/unit/mkdir_test.ts index f2fe168e6d..fd0328f57c 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 62b00e43c5..e1a050c73d 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 4e12ddca3c..9a2d33f530 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 2b8bc620df..229b38bb8c 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 3c36f01864..2dcb67abf4 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 1e13427297..1eaa3c3b3e 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 0080291f04..6f165de2cf 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 0a1fe76d7d..4a0719a4b5 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 2e9def581d..5594eb4ae3 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 5be070ac58..cab27cbdcf 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 f82929ed53..fce28d80b5 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 add1a96481..087cc3a73b 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 57c3a4cee4..09633aed71 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 da6a0e15bb..0214d99c38 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 9c2aec91a5..96fd4ff2c0 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 163a92835a..5a5f8fdfff 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 4f97a82e44..801e15d8b6 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 d351a188e2..d75eb22ebc 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 d5a7304a73..628f3f5613 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 7d36c98c02..058ce46377 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 959d2e478c..4de4e41f0a 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 464f269fc4..a9726d1912 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 e712ee83c5..16c9078313 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 27cbdcdca8..19e83660bb 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 e062c3f16a..98b2f4bd98 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 39a1949c3c..7dae86dfb4 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 9ae547fb80..4789dbfa7f 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 4b7f75232b..de6822bf4e 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 55bc11f764..7276b3e35e 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 9e1c66161a..b032c2cd03 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 b603ebaea1..19cb9328a4 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 c32bfa3373..8f9b953729 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 e84401d69c..aa10b15eb8 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 1f347ec9a3..6b039f5977 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 6885204a38..7d00101d34 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 4c1d00c85a..c4df86a7f1 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 7c8cd3796e..40e6419784 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 9045755dc7..4e56ff1939 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 8e5726d447..ecc86029dd 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 e8bc7eb78c..687060172c 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 b66be3623c..e63183c4c3 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 a220b37ea5..177e5c3620 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 70ecbb828e..045ee3f752 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 bf40f3a3ce..8d316909c8 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 b25a2994f4..ef0ba5be37 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 020d358bad..615022b743 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 883ebc45bf..d5500a8f21 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 e047631722..4f8801f093 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 dc9a51a892..44d5677e86 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 4489b74795..089232b994 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 61d7809c3b..e59fd57a87 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 1121697568..141b3e8205 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 64cff7e0f2..172ca54eaa 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 a404f75f56..58c283ecd4 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 558f93a480..601e4c1401 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 57e52f5625..8cbe8558f9 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 /// diff --git a/cli/tsc/compiler.d.ts b/cli/tsc/compiler.d.ts index 7a8049c3ad..a2e004d8c8 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 1f420ed3a7..de4467bcf2 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 3c2f6a9950..ae2b961f24 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 25e01b203f..7f060eb0ec 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 d0b0d98c7c..27f630b7e8 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 a08e30d561..00db3ddb79 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 a211a29b3d..d7644166c4 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 07f45d8216..b747037bd4 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 bea60b61fd..54e1c92270 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 69787d24a7..0704465cc3 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 4202bea41d..7ee19945ed 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 2d50f11424..f5147d6b99 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 8556954755..6916685fb2 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 0b3036e2cf..30c0317479 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 0a2623c347..b47039b083 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 5fb1304524..590a3c24f3 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 fb80ea4a68..f4932179e9 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 412dab8357..1bad13be3a 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 cf435adc5b..6a6b23f717 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 af70dad214..e4d45854b3 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 d56ccc1e4d..79a9151f15 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 3815173107..c82c528649 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 7134a5fd62..279bdd47f9 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 2f26ade285..3f1cf18fd0 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 5e86c6efb4..67e323571b 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 00459c442c..6e57e0e8d4 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 f6c2e240f0..e9a6bc8eec 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 33bb0a33f4..79f810fb51 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 35fe6a2123..2c7cbd641f 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 741e643e57..ac7c96b2a3 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 20fba9804e..c4d9a27ece 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 d47665c8bb..31e5782a6a 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 e15bab8270..f43ce8b428 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 f641dcb426..1c75aaff17 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 ae90e0fae5..80beec0eca 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 efbc958c77..ebccaeba65 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 514cbe3f0a..935d059c55 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 7c1dc817ea..73fbe70e9e 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 39e4a7a182..7d6320fd32 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 eee9eeaf76..a8c54ec482 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 325e1156f8..639db45c40 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 a9573a71db..763385e29c 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 11b8198508..c6c53977be 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 f4804c519a..fb4178d212 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 dceb23e5f7..bfb410a984 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 166694358e..4db73afb65 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 006d51cdd0..68b4a7edab 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 e06e2138b2..59997254bf 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 679b184fd6..33d929aff6 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 33fab01e49..f2a6cf8cb6 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 d44a629cb2..e9e6603a71 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 7009f6f8d3..1a5f5116dc 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 ebc4e89164..74af821243 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 ced4bcb001..0d36001013 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 2b74578530..04389e25c7 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 da2ee51f39..05c823cecd 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 a179e8c1bb..ae769c84de 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 fcc899a308..cff5f4dea5 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 b9c8732704..d76c3f73ac 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 50d471b6a5..b41c780aa5 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 f5aefd400c..51a37c9dcf 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 b46a1aead5..1ba32ff677 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 9a36f335b9..95fcfa2b9b 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 091afd66a9..d90c547675 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 082d17fe0a..ce11150f40 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 d66e0bd012..a3893a2986 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 7a9cb1f40b..79b8e68063 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 ec294668b9..cafd0f31e4 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 c71f175e48..7cc7b543b2 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 21e1ed5ebb..b41b75d336 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 3a1f5316c1..87487e4996 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 95e9f08946..a9445a3947 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 1bb0a6aff5..05ea6056be 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 859239d108..32933b8e09 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 dea09b5c07..df73ad6b78 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 aaee1b9d90..a78f221eb3 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 f5b5cd3095..20259a6f72 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 29a7913b1a..ad8b75a9fa 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 41565795c5..f70732c370 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 ee21e7b882..e106034261 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 ea8501b039..56d740ef0a 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 2b4cfc66c3..d45b058cab 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 b57abe9073..63ef6f1626 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 4461f8f87f..64adfa8126 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 5ea554c6e4..25797bd719 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 dd427d219e..23e02f4a34 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 a79455b2d8..e98bbcc70f 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 a3243aec91..b3004ec0e9 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 390df49329..3582065581 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 307cf01013..da9e89e6b7 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 9d361494f2..98dd3daa50 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 8b5a6caa26..2e34e73871 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 7bc7e8fee8..048193755a 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 57684a50e4..590417055f 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 eae21f7b1e..5eb6ebd693 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 7c662ea6e5..c28cf5e99c 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 043d638dea..d56b7920d8 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 ef0bb42be7..1f3228aea8 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 ff20fa807f..b2580319c9 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 2dff125667..7d0feaf8da 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 3c62332e4b..b97c704e79 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 364a4c3042..5971d3f4ea 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 1245f2678c..e059cd937c 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 f8daf132ed..6c9cb6b4a0 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 b22d4ad409..7f6a098e07 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 d24da36b57..15da32aeea 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 d4caa97bce..b15557e004 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 073c30aab2..b6835b2858 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 786d6f3933..658f2e038c 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 0d0b286079..0e99bd03a0 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 8b38e3952e..b941216070 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 a86c184827..0d2141a75d 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 cef4ff8ff2..45e34d5795 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 3831c68f18..0e8099ceca 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 3f54fa9ee5..652259d1d1 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 dfff24e2c5..e97378b897 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();