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 8b888c2328b78f..89ad8756fcb09d 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 e6b37712bc80ff..79b579af3ae6bc 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 d4837bb6f0d0e2..a9b65b7518a9d7 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 6e51413779b167..9900148310001d 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 09a21ee7eef8a1..a800a52a0cdb00 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 d59c7d9e1cd6f0..1a424cee52d269 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 0d265072103442..cf70a78cc699a4 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 012810c1f60147..c253df57fcc7a7 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 189098e4cc4662..07a16db07b8b47 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 b984c484f59088..f97e3d5a8e9b03 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 22e2a5161a802b..f1211f827f9c4d 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 36709d2b9510f5..6f0b810e5a8997 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 5f2c208b8d7d58..9f91679f88bc2f 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 611ccbcc30b038..78c9235fe2c8b9 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 71abfbd8351aaf..5b19ab71e298d1 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 a86f527c031bf4..77b255c2d0dce1 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 97813a72c399cc..847f8c7658ba17 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 71c63361a7b1f5..b9bb5893451651 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 773ee0b36d8035..648d18f3567bd3 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 5ba55e1ca2a476..54fe910eb3d55c 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 51844d24ebcb85..2b530cae22fa44 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 12d804f9220461..736f99f0d6e2b1 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 d3061eee0a0bb3..e72e4f089a8ce9 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 c87cd744c6a9b3..0eaed73baab986 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 996f73b86755e9..da1b25565d2ce2 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 1d570680f53216..74609e8ab0de67 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 b631f1b71c909e..a1395fb61a4bc4 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 632b713a0799f5..3e66224081ebb3 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 ef7aae60300bdf..655cff534e0803 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 7e48c8428b0b34..a994b3f0c897e6 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 83038ac4d1557a..801258e4995a29 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 3e871e6f306b9a..a54c871b14b50f 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 f13558e36e07b6..130a209ced4554 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 7a27cf3f893b1e..aa68420b420305 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 a27928055670b4..4513dbfacff2fb 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 d58eb5ca0ab67c..a8c5c1890f32d7 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 ededcc024a5cfb..1f3a0096a40c5a 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 c817d26dec914d..d3470145ee53b1 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 26f38ef3807ad3..9081ce2ef33749 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 3a9caae2b9c794..873d424e3f5d56 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 a890c90e792735..7ab6d68c0d82f2 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 96bb89d75d37a4..6632620ec4d401 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 03b087fd0116a8..70036df3ed8a4e 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 cfba1ecabb6af5..9de6e86158df6f 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 912a8c684a062f..aaee17c64db39d 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 7d1fd56f34797d..845f89af0331f7 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 a0bcb08d34ce27..e871cb265debcc 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 1182fae6bd2ca0..c9780ca27138fd 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 3bdd00875acdc1..09657a71d1a10a 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 c9644073b55791..3502414a9685c4 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 12cb4329d63492..f6d20f67eab063 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 6ccb3fca019277..8117147cda6438 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 f2e693724262a7..7281e67f156943 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 c91a2336b8fae8..7b15bc77d42cad 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 067e901ea8d3a0..e70573ba9b05c7 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 24eca3e77054e9..c46c5cd2005db6 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 774b280bae4951..a75a80fdf66d48 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 ad44d8e9b2e7f5..5a2c8fdfe2816a 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 26ba4ca294b0f9..beee37e642fa58 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 74aa2139183279..e780b94d0404d4 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 48a4a28b3f6d66..e10a5030e3f62d 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 65c5594f8faa47..c9ef43e81e36d0 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 873d3a0c171ae4..2fb45f5f00eb89 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 6f58356df502d8..98685f467c8829 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 e3c64b642b570b..1215b8b95e225c 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 df55b5e7c99e64..1bffe9ba9a4827 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 680bc5c2f4194b..a74c9a41a262d0 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 ee59f57c11e16a..9cda650eb789d0 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 19125c8656dceb..210d05b3b2e236 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 1e9a54815e6a54..2c94bb5f5a50fd 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 6bea4684d09300..54ab139c97d1fa 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 9a7e66f6cc9c9d..731290326b6823 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 8fee4f5a3845a1..80f2401340c0d4 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 d85f5d3b2c9959..8181225e395d1f 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 c6511e12ec5fd8..6f37c8050e4252 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 0492c4b8c18ba4..96d08b10e0e40a 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 72ebc75d8412a9..0db770056ea7d1 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 a6e9c594a5167f..75a41dd40e47b3 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 4c9e96de6e54f3..f6c69c36d36e29 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 e767d2ba1dbc2e..259d2d44096da3 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 ad5f2e093caddf..1445124e947c43 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 34271b470ed71f..29de04c8cb2ee4 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 02abff5577a20f..a2a6c6e3da1dea 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 5d47c847e9eedd..285e05a7d40c05 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 f610f6d6b47c0e..eaafbae274b94b 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 0f1f74d6b92907..9bc8cda621acd9 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 02185bc76a0f67..1b6a99e8e9a415 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 40fdbfaa7d3cfc..76d137634f1b5a 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 5e49fc11b6e0a5..7d82499b770c49 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 1e2dd654f7a767..3f9f311f68a83d 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 988e6a9df17e3f..dbb9bd90a32f23 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 36288aaa0eae8c..7f19cec1b637d3 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 f8b8df6981f04a..9a5820dec984e8 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 9ca03f8f62322c..ba9641fdccefa8 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 a8399fb9439411..86cd65bae6b07d 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 4f94ccb149ed32..b43d257e0398c2 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 0070ca7df4c878..a60aae427d5a50 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 f2fe168e6da6a8..fd0328f57c38fa 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 62b00e43c5c3f9..e1a050c73dd2dd 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 4e12ddca3c7aad..9a2d33f530152e 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 2b8bc620df7454..229b38bb8ca5f5 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 3c36f01864a540..2dcb67abf4ca53 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 1e13427297b86e..1eaa3c3b3ecbf7 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 0080291f04fc3f..6f165de2cf1564 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 0a1fe76d7d6f2a..4a0719a4b58356 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 2e9def581d8e75..5594eb4ae3ae98 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 5be070ac58d7cc..cab27cbdcfa679 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 f82929ed53fe4d..fce28d80b5efa6 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 add1a9648193c1..087cc3a73b5125 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 57c3a4cee48ec1..09633aed710de4 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 da6a0e15bb6289..0214d99c38af8b 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 9c2aec91a511ec..96fd4ff2c01582 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 163a92835ae7d4..5a5f8fdfff6a11 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 4f97a82e449bf0..801e15d8b6b372 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 d351a188e22125..d75eb22ebc7c3e 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 d5a7304a735ed3..628f3f5613c301 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 7d36c98c02fbd6..058ce463771674 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 959d2e478ce6fe..4de4e41f0a17b9 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 464f269fc49261..a9726d191240ac 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 e712ee83c58a4e..16c9078313bc77 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 27cbdcdca82136..19e83660bb31cd 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 e062c3f16a35fa..98b2f4bd98ccaa 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 39a1949c3c26a6..7dae86dfb4bb39 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 9ae547fb80925e..4789dbfa7fa3d8 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 4b7f75232bc8af..de6822bf4e559d 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 55bc11f7645d72..7276b3e35e1307 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 9e1c66161a9048..b032c2cd033e81 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 b603ebaea1c623..19cb9328a40be7 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 c32bfa3373fede..8f9b953729a3c7 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 e84401d69c2abd..aa10b15eb8d2b0 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 1f347ec9a340ba..6b039f5977efb6 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 6885204a389f77..7d00101d34b01a 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 4c1d00c85ada22..c4df86a7f1b16d 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 7c8cd3796ed38b..40e6419784cd64 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 9045755dc79336..4e56ff1939b6bc 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 8e5726d4474d65..ecc86029dd2c45 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 e8bc7eb78c7b62..687060172c63b9 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 b66be3623c1668..e63183c4c38eb8 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 a220b37ea5b224..177e5c36205dc5 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 70ecbb828e859e..045ee3f752ee06 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 bf40f3a3ce0d15..8d316909c8fcf9 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 b25a2994f4b582..ef0ba5be378142 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 020d358bad83ba..615022b743d0c7 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 883ebc45bf31f5..d5500a8f215a74 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 e0476317220cb4..4f8801f0938126 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 dc9a51a8928b3e..44d5677e86f22c 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 4489b747959116..089232b99447a4 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 61d7809c3bc76a..e59fd57a87284b 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 11216975682502..141b3e820555ac 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 64cff7e0f25c11..172ca54eaa6897 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 a404f75f56a8b3..58c283ecd4b5ff 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 558f93a48061a3..601e4c1401ac24 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 57e52f5625316e..8cbe8558f97e63 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 7a8049c3ad6ead..a2e004d8c8d91d 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 1f420ed3a79661..de4467bcf2e6d2 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 3c2f6a99500600..ae2b961f247634 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 25e01b203fb6a7..7f060eb0ec8238 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 d0b0d98c7c7805..27f630b7e8eeb7 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 a08e30d5617c75..00db3ddb799f69 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 a211a29b3d9038..d7644166c4efb3 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 07f45d82165a44..b747037bd41e0d 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 bea60b61fd12a3..54e1c9227008b8 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 69787d24a7a235..0704465cc30016 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 4202bea41dba8f..7ee19945ede096 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 2d50f11424b8cd..f5147d6b991728 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 85569547551682..6916685fb23799 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 0b3036e2cfe526..30c03174798f5f 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 0a2623c347ab3b..b47039b08356ce 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 5fb130452484fd..590a3c24f32dcc 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 fb80ea4a6862da..f4932179e94feb 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 412dab8357e8b7..1bad13be3a2b6c 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 cf435adc5b4d00..6a6b23f717e7cb 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 af70dad2141bcb..e4d45854b3a5e2 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 d56ccc1e4d4d52..79a9151f15fa48 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 38151731071932..c82c5286495098 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 7134a5fd62841f..279bdd47f99a8f 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 2f26ade285ade4..3f1cf18fd02342 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 5e86c6efb47593..67e323571bc0c2 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 00459c442cd2ca..6e57e0e8d42cf2 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 f6c2e240f03315..e9a6bc8eec2e92 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 33bb0a33f4ed49..79f810fb51b154 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 35fe6a212336b1..2c7cbd641f2c18 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 741e643e57888c..ac7c96b2a3cb04 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 20fba9804ef4d7..c4d9a27ece72f2 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 d47665c8bbab6b..31e5782a6a51a2 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 e15bab82704be3..f43ce8b428539b 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 f641dcb42630ae..1c75aaff175bc6 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 ae90e0fae54771..80beec0eca02b7 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 efbc958c7775d7..ebccaeba65ddcd 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 514cbe3f0a9778..935d059c55fd26 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 7c1dc817eae9be..73fbe70e9e02d8 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 39e4a7a1829bb6..7d6320fd32a913 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 eee9eeaf769f93..a8c54ec4826b7d 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 325e1156f873e3..639db45c404d51 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 a9573a71db3be9..763385e29c139a 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 11b81985087399..c6c53977beb2e2 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 f4804c519aecd8..fb4178d212d160 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 dceb23e5f76168..bfb410a98452f1 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 166694358e19c6..4db73afb65761e 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 006d51cdd0b728..68b4a7edabe6ea 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 e06e2138b2ffe8..59997254bf8b46 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 679b184fd65d4e..33d929aff64a56 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 33fab01e490439..f2a6cf8cb6bf35 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 d44a629cb265c7..e9e6603a719727 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 7009f6f8d35920..1a5f5116dcb226 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 ebc4e89164743b..74af821243ffe6 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 ced4bcb001fe40..0d360010136019 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 2b7457853066be..04389e25c7606e 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 da2ee51f391a9b..05c823cecd61ce 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 a179e8c1bbea3b..ae769c84de3672 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 fcc899a3086b15..cff5f4dea57b00 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 b9c8732704ac16..d76c3f73acd56c 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 50d471b6a5c7ad..b41c780aa5fb2d 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 f5aefd400c08d7..51a37c9dcf5a91 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 b46a1aead58cf1..1ba32ff6773258 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 9a36f335b91da2..95fcfa2b9b0dce 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 091afd66a93d62..d90c54767532b8 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 082d17fe0a479f..ce11150f404e6e 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 d66e0bd012c71d..a3893a29862c34 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 7a9cb1f40b70fc..79b8e6806348d6 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 ec294668b9e3f0..cafd0f31e4b77c 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 c71f175e484a50..7cc7b543b275f4 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 21e1ed5ebb866e..b41b75d3367a32 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 3a1f5316c148db..87487e49962a3a 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 95e9f0894693a7..a9445a394759cb 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 1bb0a6aff55c12..05ea6056be0cb6 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 859239d108ed0f..32933b8e09aee4 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 dea09b5c07ad4e..df73ad6b78e62c 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 aaee1b9d900f3c..a78f221eb3272f 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 f5b5cd30950588..20259a6f722726 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 29a7913b1a64e0..ad8b75a9fac57a 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 41565795c5fdd3..f70732c3701505 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 ee21e7b882237b..e106034261a4dd 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 ea8501b03924d1..56d740ef0aa574 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 2b4cfc66c3bb16..d45b058cabda57 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 b57abe90730d50..63ef6f16269f7f 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 4461f8f87f5ed5..64adfa81265a2f 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 5ea554c6e4d762..25797bd7193fbc 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 dd427d219eb06c..23e02f4a34d4d4 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 a79455b2d82352..e98bbcc70fd250 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 a3243aec9172f0..b3004ec0e9831c 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 390df4932969b3..358206558170e3 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 307cf010137023..da9e89e6b75084 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 9d361494f2054a..98dd3daa501df2 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 8b5a6caa263b73..2e34e738718990 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 7bc7e8fee8df1b..048193755a5527 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 57684a50e4f522..590417055f21cd 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 eae21f7b1e4345..5eb6ebd69324ab 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 7c662ea6e5cb89..c28cf5e99ca23e 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 043d638dea282c..d56b7920d8c5ec 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 ef0bb42be71b01..1f3228aea88113 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 ff20fa807f363d..b2580319c9471f 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 2dff12566730fa..7d0feaf8dab447 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 3c62332e4b7726..b97c704e793cc3 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 364a4c3042ba9c..5971d3f4ea0a70 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 1245f2678c2409..e059cd937c6527 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 f8daf132ed727b..6c9cb6b4a0dd88 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 b22d4ad4090c26..7f6a098e072782 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 d24da36b577afb..15da32aeea83f7 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 d4caa97bce6e8c..b15557e0047ccf 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 073c30aab20b5b..b6835b285804d1 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 786d6f39335592..658f2e038c33d9 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 0d0b2860793b89..0e99bd03a053eb 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 8b38e3952e436f..b9412160700d06 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 a86c184827b5cb..0d2141a75dbe89 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 cef4ff8ff25f9c..45e34d57950f98 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 3831c68f186477..0e8099ceca16f0 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 3f54fa9ee5905a..652259d1d11ae5 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 dfff24e2c5e452..e97378b897967e 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();