summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2022-01-07 22:09:52 -0500
committerGitHub <noreply@github.com>2022-01-07 22:09:52 -0500
commit1fb5858009f598ce3f917f9f49c466db81f4d9b0 (patch)
treed11d37479040ee3adeaca5b828fddb8e7fd927a0
parent12423e16b7df39b2bf995efd1376ba4b6ef41e02 (diff)
chore: update copyright to 2022 (#13306)
Co-authored-by: Erfan Safari <erfanshield@outlook.com>
-rw-r--r--.github/mtime_cache/action.js2
-rw-r--r--.rustfmt.toml2
-rw-r--r--Cargo.toml2
-rw-r--r--LICENSE.md2
-rw-r--r--bench_util/Cargo.toml2
-rw-r--r--bench_util/src/js_runtime.rs2
-rw-r--r--bench_util/src/lib.rs2
-rw-r--r--bench_util/src/profiling.rs2
-rw-r--r--cli/Cargo.toml2
-rw-r--r--cli/ast/bundle_hook.rs2
-rw-r--r--cli/ast/mod.rs2
-rw-r--r--cli/auth_tokens.rs2
-rw-r--r--cli/bench/deno_common.js2
-rw-r--r--cli/bench/deno_http_native.js2
-rw-r--r--cli/bench/http.rs2
-rw-r--r--cli/bench/lsp.rs2
-rw-r--r--cli/bench/main.rs2
-rw-r--r--cli/bench/node_http.js2
-rw-r--r--cli/bench/node_tcp.js2
-rw-r--r--cli/bench/node_tcp_proxy.js2
-rw-r--r--cli/build.rs2
-rw-r--r--cli/cache.rs2
-rw-r--r--cli/checksum.rs2
-rw-r--r--cli/compat/errors.rs2
-rw-r--r--cli/compat/esm_resolver.rs2
-rw-r--r--cli/compat/mod.rs2
-rw-r--r--cli/config_file.rs2
-rw-r--r--cli/deno_dir.rs2
-rw-r--r--cli/diagnostics.rs2
-rw-r--r--cli/diff.rs2
-rw-r--r--cli/disk_cache.rs2
-rw-r--r--cli/emit.rs2
-rw-r--r--cli/errors.rs2
-rw-r--r--cli/file_fetcher.rs2
-rw-r--r--cli/file_watcher.rs2
-rw-r--r--cli/flags.rs2
-rw-r--r--cli/flags_allow_net.rs2
-rw-r--r--cli/fmt_errors.rs2
-rw-r--r--cli/fs_util.rs2
-rw-r--r--cli/graph_util.rs2
-rw-r--r--cli/http_cache.rs2
-rw-r--r--cli/http_util.rs2
-rw-r--r--cli/lockfile.rs2
-rw-r--r--cli/logger.rs2
-rw-r--r--cli/lsp/analysis.rs2
-rw-r--r--cli/lsp/cache.rs2
-rw-r--r--cli/lsp/capabilities.rs2
-rw-r--r--cli/lsp/code_lens.rs2
-rw-r--r--cli/lsp/completions.rs2
-rw-r--r--cli/lsp/config.rs2
-rw-r--r--cli/lsp/diagnostics.rs2
-rw-r--r--cli/lsp/documents.rs2
-rw-r--r--cli/lsp/language_server.rs2
-rw-r--r--cli/lsp/logging.rs2
-rw-r--r--cli/lsp/lsp_custom.rs2
-rw-r--r--cli/lsp/mod.rs2
-rw-r--r--cli/lsp/parent_process_checker.rs2
-rw-r--r--cli/lsp/path_to_regex.rs2
-rw-r--r--cli/lsp/performance.rs2
-rw-r--r--cli/lsp/refactor.rs2
-rw-r--r--cli/lsp/registries.rs2
-rw-r--r--cli/lsp/repl.rs2
-rw-r--r--cli/lsp/semantic_tokens.rs2
-rw-r--r--cli/lsp/text.rs2
-rw-r--r--cli/lsp/tsc.rs2
-rw-r--r--cli/lsp/urls.rs2
-rw-r--r--cli/main.rs2
-rw-r--r--cli/module_loader.rs2
-rw-r--r--cli/ops/errors.rs2
-rw-r--r--cli/ops/mod.rs2
-rw-r--r--cli/ops/runtime_compiler.rs2
-rw-r--r--cli/proc_state.rs2
-rw-r--r--cli/resolver.rs2
-rw-r--r--cli/source_maps.rs2
-rw-r--r--cli/standalone.rs2
-rw-r--r--cli/tests/integration/bundle_tests.rs2
-rw-r--r--cli/tests/integration/cache_tests.rs2
-rw-r--r--cli/tests/integration/compat_tests.rs2
-rw-r--r--cli/tests/integration/compile_tests.rs2
-rw-r--r--cli/tests/integration/coverage_tests.rs2
-rw-r--r--cli/tests/integration/doc_tests.rs2
-rw-r--r--cli/tests/integration/eval_tests.rs2
-rw-r--r--cli/tests/integration/fmt_tests.rs2
-rw-r--r--cli/tests/integration/info_tests.rs2
-rw-r--r--cli/tests/integration/inspector_tests.rs2
-rw-r--r--cli/tests/integration/install_tests.rs2
-rw-r--r--cli/tests/integration/lint_tests.rs2
-rw-r--r--cli/tests/integration/lsp_tests.rs2
-rw-r--r--cli/tests/integration/mod.rs2
-rw-r--r--cli/tests/integration/repl_tests.rs2
-rw-r--r--cli/tests/integration/run_tests.rs2
-rw-r--r--cli/tests/integration/test_tests.rs2
-rw-r--r--cli/tests/integration/upgrade_tests.rs2
-rw-r--r--cli/tests/integration/watcher_tests.rs2
-rw-r--r--cli/tests/integration/worker_tests.rs2
-rw-r--r--cli/tests/integration_tests.rs2
-rw-r--r--cli/tests/testdata/finalization_registry.js2
-rw-r--r--cli/tests/testdata/heapstats.js2
-rw-r--r--cli/tests/testdata/lsp/did_open_params_large.json2
-rw-r--r--cli/tests/testdata/types.out1
-rw-r--r--cli/tests/testdata/worker_close_in_wasm_reactions.js2
-rw-r--r--cli/tests/testdata/worker_close_nested.js2
-rw-r--r--cli/tests/testdata/worker_close_race.js2
-rw-r--r--cli/tests/testdata/worker_drop_handle_race.js2
-rw-r--r--cli/tests/testdata/workers/close_nested_child.js2
-rw-r--r--cli/tests/testdata/workers/close_nested_parent.js2
-rw-r--r--cli/tests/testdata/workers/close_race_worker.js2
-rw-r--r--cli/tests/testdata/workers/http_worker.js2
-rw-r--r--cli/text_encoding.rs2
-rw-r--r--cli/tools/coverage.rs2
-rw-r--r--cli/tools/doc.rs2
-rw-r--r--cli/tools/fmt.rs2
-rw-r--r--cli/tools/installer.rs2
-rw-r--r--cli/tools/lint.rs2
-rw-r--r--cli/tools/mod.rs2
-rw-r--r--cli/tools/repl/channel.rs2
-rw-r--r--cli/tools/repl/editor.rs2
-rw-r--r--cli/tools/repl/mod.rs2
-rw-r--r--cli/tools/repl/session.rs2
-rw-r--r--cli/tools/standalone.rs2
-rw-r--r--cli/tools/test.rs2
-rw-r--r--cli/tools/upgrade.rs2
-rw-r--r--cli/tsc.rs2
-rw-r--r--cli/tsc/99_main_compiler.js2
-rw-r--r--cli/unix_util.rs2
-rw-r--r--cli/version.rs2
-rw-r--r--cli/windows_util.rs2
-rw-r--r--core/00_primordials.js2
-rw-r--r--core/01_core.js2
-rw-r--r--core/02_error.js2
-rw-r--r--core/Cargo.toml2
-rw-r--r--core/async_cancel.rs2
-rw-r--r--core/async_cell.rs2
-rw-r--r--core/bindings.rs2
-rw-r--r--core/encode_decode_test.js2
-rw-r--r--core/error.rs2
-rw-r--r--core/error_builder_test.js2
-rw-r--r--core/examples/disable_ops.rs2
-rw-r--r--core/examples/eval_js_value.rs2
-rw-r--r--core/examples/fs_module_loader.rs2
-rw-r--r--core/examples/hello_world.rs2
-rw-r--r--core/examples/http_bench_json_ops.js2
-rw-r--r--core/examples/http_bench_json_ops.rs2
-rw-r--r--core/flags.rs2
-rw-r--r--core/gotham_state.rs2
-rw-r--r--core/inspector.rs2
-rw-r--r--core/lib.rs2
-rw-r--r--core/module_specifier.rs2
-rw-r--r--core/modules.rs2
-rw-r--r--core/normalize_path.rs2
-rw-r--r--core/ops.rs2
-rw-r--r--core/ops_json.rs2
-rw-r--r--core/ops_metrics.rs2
-rw-r--r--core/resources.rs2
-rw-r--r--core/runtime.rs2
-rw-r--r--core/serialize_deserialize_test.js2
-rw-r--r--ext/broadcast_channel/01_broadcast_channel.js2
-rw-r--r--ext/broadcast_channel/Cargo.toml2
-rw-r--r--ext/broadcast_channel/in_memory_broadcast_channel.rs2
-rw-r--r--ext/broadcast_channel/lib.rs2
-rw-r--r--ext/console/01_colors.js2
-rw-r--r--ext/console/02_console.js2
-rw-r--r--ext/console/Cargo.toml2
-rw-r--r--ext/console/lib.rs2
-rw-r--r--ext/crypto/00_crypto.js2
-rw-r--r--ext/crypto/01_webidl.js2
-rw-r--r--ext/crypto/Cargo.toml2
-rw-r--r--ext/crypto/key.rs2
-rw-r--r--ext/crypto/lib.rs2
-rw-r--r--ext/fetch/01_fetch_util.js2
-rw-r--r--ext/fetch/20_headers.js2
-rw-r--r--ext/fetch/21_formdata.js2
-rw-r--r--ext/fetch/22_body.js2
-rw-r--r--ext/fetch/22_http_client.js2
-rw-r--r--ext/fetch/23_request.js2
-rw-r--r--ext/fetch/23_response.js2
-rw-r--r--ext/fetch/26_fetch.js2
-rw-r--r--ext/fetch/Cargo.toml2
-rw-r--r--ext/fetch/fs_fetch_handler.rs2
-rw-r--r--ext/fetch/lib.rs2
-rw-r--r--ext/ffi/00_ffi.js2
-rw-r--r--ext/ffi/Cargo.toml2
-rw-r--r--ext/http/01_http.js2
-rw-r--r--ext/http/Cargo.toml2
-rw-r--r--ext/http/lib.rs2
-rw-r--r--ext/net/01_net.js2
-rw-r--r--ext/net/02_tls.js2
-rw-r--r--ext/net/04_net_unstable.js2
-rw-r--r--ext/net/Cargo.toml2
-rw-r--r--ext/net/io.rs2
-rw-r--r--ext/net/lib.rs2
-rw-r--r--ext/net/ops.rs2
-rw-r--r--ext/net/ops_tls.rs2
-rw-r--r--ext/net/ops_unix.rs2
-rw-r--r--ext/net/resolve_addr.rs2
-rw-r--r--ext/timers/01_timers.js2
-rw-r--r--ext/timers/02_performance.js2
-rw-r--r--ext/timers/Cargo.toml2
-rw-r--r--ext/timers/lib.rs2
-rw-r--r--ext/tls/Cargo.toml2
-rw-r--r--ext/tls/lib.rs2
-rw-r--r--ext/url/00_url.js2
-rw-r--r--ext/url/01_urlpattern.js2
-rw-r--r--ext/url/Cargo.toml2
-rw-r--r--ext/url/lib.rs2
-rw-r--r--ext/web/00_infra.js2
-rw-r--r--ext/web/01_dom_exception.js2
-rw-r--r--ext/web/01_mimesniff.js2
-rw-r--r--ext/web/02_event.js2
-rw-r--r--ext/web/02_structured_clone.js2
-rw-r--r--ext/web/03_abort_signal.js2
-rw-r--r--ext/web/04_global_interfaces.js2
-rw-r--r--ext/web/05_base64.js2
-rw-r--r--ext/web/06_streams.js2
-rw-r--r--ext/web/08_text_encoding.js2
-rw-r--r--ext/web/09_file.js2
-rw-r--r--ext/web/10_filereader.js2
-rw-r--r--ext/web/11_blob_url.js2
-rw-r--r--ext/web/12_location.js2
-rw-r--r--ext/web/13_message_port.js2
-rw-r--r--ext/web/Cargo.toml2
-rw-r--r--ext/web/lib.rs2
-rw-r--r--ext/webgpu/01_webgpu.js2
-rw-r--r--ext/webgpu/02_idl_types.js2
-rw-r--r--ext/webgpu/Cargo.toml2
-rw-r--r--ext/webgpu/binding.rs2
-rw-r--r--ext/webgpu/buffer.rs2
-rw-r--r--ext/webgpu/bundle.rs2
-rw-r--r--ext/webgpu/command_encoder.rs2
-rw-r--r--ext/webgpu/compute_pass.rs2
-rw-r--r--ext/webgpu/error.rs2
-rw-r--r--ext/webgpu/lib.rs2
-rw-r--r--ext/webgpu/pipeline.rs2
-rw-r--r--ext/webgpu/queue.rs2
-rw-r--r--ext/webgpu/render_pass.rs2
-rw-r--r--ext/webgpu/sampler.rs2
-rw-r--r--ext/webgpu/shader.rs2
-rw-r--r--ext/webgpu/texture.rs2
-rw-r--r--ext/webidl/00_webidl.js2
-rw-r--r--ext/webidl/Cargo.toml2
-rw-r--r--ext/webidl/lib.rs2
-rw-r--r--ext/websocket/01_websocket.js2
-rw-r--r--ext/websocket/02_websocketstream.js2
-rw-r--r--ext/websocket/Cargo.toml2
-rw-r--r--ext/websocket/lib.rs2
-rw-r--r--ext/webstorage/01_webstorage.js2
-rw-r--r--ext/webstorage/Cargo.toml2
-rw-r--r--ext/webstorage/lib.rs2
-rw-r--r--runtime/Cargo.toml2
-rw-r--r--runtime/build.rs2
-rw-r--r--runtime/colors.rs2
-rw-r--r--runtime/errors.rs2
-rw-r--r--runtime/examples/hello_runtime.js2
-rw-r--r--runtime/examples/hello_runtime.rs2
-rw-r--r--runtime/fs_util.rs2
-rw-r--r--runtime/inspector_server.rs2
-rw-r--r--runtime/js.rs2
-rw-r--r--runtime/js/01_build.js2
-rw-r--r--runtime/js/01_errors.js2
-rw-r--r--runtime/js/01_version.js2
-rw-r--r--runtime/js/01_web_util.js2
-rw-r--r--runtime/js/06_util.js2
-rw-r--r--runtime/js/10_permissions.js2
-rw-r--r--runtime/js/11_workers.js2
-rw-r--r--runtime/js/12_io.js2
-rw-r--r--runtime/js/13_buffer.js2
-rw-r--r--runtime/js/30_fs.js2
-rw-r--r--runtime/js/30_os.js2
-rw-r--r--runtime/js/40_compiler_api.js2
-rw-r--r--runtime/js/40_diagnostics.js2
-rw-r--r--runtime/js/40_error_stack.js2
-rw-r--r--runtime/js/40_files.js2
-rw-r--r--runtime/js/40_fs_events.js2
-rw-r--r--runtime/js/40_http.js2
-rw-r--r--runtime/js/40_process.js2
-rw-r--r--runtime/js/40_read_file.js2
-rw-r--r--runtime/js/40_signals.js2
-rw-r--r--runtime/js/40_testing.js2
-rw-r--r--runtime/js/40_tty.js2
-rw-r--r--runtime/js/40_write_file.js2
-rw-r--r--runtime/js/41_prompt.js2
-rw-r--r--runtime/js/90_deno_ns.js2
-rw-r--r--runtime/js/99_main.js2
-rw-r--r--runtime/lib.rs2
-rw-r--r--runtime/ops/fs.rs2
-rw-r--r--runtime/ops/fs_events.rs2
-rw-r--r--runtime/ops/io.rs2
-rw-r--r--runtime/ops/mod.rs2
-rw-r--r--runtime/ops/os.rs2
-rw-r--r--runtime/ops/permissions.rs2
-rw-r--r--runtime/ops/process.rs2
-rw-r--r--runtime/ops/runtime.rs2
-rw-r--r--runtime/ops/signal.rs2
-rw-r--r--runtime/ops/tty.rs2
-rw-r--r--runtime/ops/utils.rs2
-rw-r--r--runtime/ops/web_worker.rs2
-rw-r--r--runtime/ops/web_worker/sync_fetch.rs2
-rw-r--r--runtime/ops/worker_host.rs2
-rw-r--r--runtime/permissions.rs2
-rw-r--r--runtime/tokio_util.rs2
-rw-r--r--runtime/web_worker.rs2
-rw-r--r--runtime/worker.rs2
-rw-r--r--serde_v8/Cargo.toml2
-rw-r--r--serde_v8/benches/de.rs2
-rw-r--r--serde_v8/benches/ser.rs2
-rw-r--r--serde_v8/examples/basic.rs2
-rw-r--r--serde_v8/src/de.rs2
-rw-r--r--serde_v8/src/error.rs2
-rw-r--r--serde_v8/src/keys.rs2
-rw-r--r--serde_v8/src/lib.rs2
-rw-r--r--serde_v8/src/magic/buffer.rs2
-rw-r--r--serde_v8/src/magic/bytestring.rs2
-rw-r--r--serde_v8/src/magic/field.rs2
-rw-r--r--serde_v8/src/magic/mod.rs2
-rw-r--r--serde_v8/src/magic/value.rs2
-rw-r--r--serde_v8/src/magic/zero_copy_buf.rs2
-rw-r--r--serde_v8/src/payload.rs2
-rw-r--r--serde_v8/src/ser.rs2
-rw-r--r--serde_v8/src/serializable.rs2
-rw-r--r--serde_v8/src/utils.rs2
-rw-r--r--serde_v8/tests/de.rs2
-rw-r--r--serde_v8/tests/magic.rs2
-rw-r--r--serde_v8/tests/ser.rs2
-rw-r--r--test_ffi/Cargo.toml2
-rw-r--r--test_ffi/src/lib.rs2
-rw-r--r--test_ffi/tests/integration_tests.rs2
-rw-r--r--test_ffi/tests/test.js2
-rw-r--r--test_util/Cargo.toml2
-rw-r--r--test_util/src/lib.rs2
-rw-r--r--test_util/src/lsp.rs2
-rw-r--r--test_util/src/test_server.rs2
-rwxr-xr-xtools/build_benchmark_jsons.js2
-rwxr-xr-xtools/flamebench.js2
-rwxr-xr-xtools/format.js2
-rwxr-xr-xtools/lint.js2
-rw-r--r--tools/util.js2
-rw-r--r--tools/wpt/testharnessreport.js2
337 files changed, 336 insertions, 337 deletions
diff --git a/.github/mtime_cache/action.js b/.github/mtime_cache/action.js
index 8c00f1925..e77fe0b9f 100644
--- a/.github/mtime_cache/action.js
+++ b/.github/mtime_cache/action.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
// This file contains the implementation of a Github Action. Github uses
// Node.js v12.x to run actions, so this is Node code and not Deno code.
diff --git a/.rustfmt.toml b/.rustfmt.toml
index 7d282f4f0..b86b9a6e8 100644
--- a/.rustfmt.toml
+++ b/.rustfmt.toml
@@ -1,4 +1,4 @@
-# Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+# Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
max_width = 80
tab_spaces = 2
edition = "2021"
diff --git a/Cargo.toml b/Cargo.toml
index f9481ce2f..e8ee6b8ed 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,4 +1,4 @@
-# Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+# Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
[workspace]
resolver = "2"
diff --git a/LICENSE.md b/LICENSE.md
index bbf190721..cfc3a5226 100644
--- a/LICENSE.md
+++ b/LICENSE.md
@@ -1,6 +1,6 @@
MIT License
-Copyright 2018-2021 the Deno authors
+Copyright 2018-2022 the Deno authors
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
diff --git a/bench_util/Cargo.toml b/bench_util/Cargo.toml
index cbc6f1372..7b2d24f71 100644
--- a/bench_util/Cargo.toml
+++ b/bench_util/Cargo.toml
@@ -1,4 +1,4 @@
-# Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+# Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
[package]
name = "deno_bench_util"
version = "0.25.0"
diff --git a/bench_util/src/js_runtime.rs b/bench_util/src/js_runtime.rs
index 3643c805f..3caf4073b 100644
--- a/bench_util/src/js_runtime.rs
+++ b/bench_util/src/js_runtime.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use bencher::Bencher;
use deno_core::v8;
use deno_core::Extension;
diff --git a/bench_util/src/lib.rs b/bench_util/src/lib.rs
index 943474c47..1dfb06ae0 100644
--- a/bench_util/src/lib.rs
+++ b/bench_util/src/lib.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
mod js_runtime;
mod profiling;
diff --git a/bench_util/src/profiling.rs b/bench_util/src/profiling.rs
index b4459ad60..26d8d8fd6 100644
--- a/bench_util/src/profiling.rs
+++ b/bench_util/src/profiling.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use bencher::{DynBenchFn, StaticBenchFn, TestDescAndFn, TestOpts};
pub fn is_profiling() -> bool {
diff --git a/cli/Cargo.toml b/cli/Cargo.toml
index 078b5d31d..15a82b5eb 100644
--- a/cli/Cargo.toml
+++ b/cli/Cargo.toml
@@ -1,4 +1,4 @@
-# Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+# Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
[package]
name = "deno"
diff --git a/cli/ast/bundle_hook.rs b/cli/ast/bundle_hook.rs
index 3f47946f7..a2dd658e3 100644
--- a/cli/ast/bundle_hook.rs
+++ b/cli/ast/bundle_hook.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use deno_ast::swc::bundler::Hook;
use deno_ast::swc::bundler::ModuleRecord;
use deno_ast::swc::common::Span;
diff --git a/cli/ast/mod.rs b/cli/ast/mod.rs
index b089d5421..419471daa 100644
--- a/cli/ast/mod.rs
+++ b/cli/ast/mod.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use crate::config_file;
use crate::text_encoding::strip_bom;
diff --git a/cli/auth_tokens.rs b/cli/auth_tokens.rs
index c81c296f3..4afd87e59 100644
--- a/cli/auth_tokens.rs
+++ b/cli/auth_tokens.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use deno_core::ModuleSpecifier;
use log::debug;
diff --git a/cli/bench/deno_common.js b/cli/bench/deno_common.js
index 73a2f62c5..2d8fa8793 100644
--- a/cli/bench/deno_common.js
+++ b/cli/bench/deno_common.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
// Run with: deno run -A ./cli/bench/deno_common.js
function benchSync(name, n, innerLoop) {
const t1 = Date.now();
diff --git a/cli/bench/deno_http_native.js b/cli/bench/deno_http_native.js
index abb2d061f..a45416ada 100644
--- a/cli/bench/deno_http_native.js
+++ b/cli/bench/deno_http_native.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
const addr = Deno.args[0] || "127.0.0.1:4500";
const [hostname, port] = addr.split(":");
diff --git a/cli/bench/http.rs b/cli/bench/http.rs
index 9394f381b..72edb487c 100644
--- a/cli/bench/http.rs
+++ b/cli/bench/http.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use super::Result;
use std::{collections::HashMap, path::Path, process::Command, time::Duration};
diff --git a/cli/bench/lsp.rs b/cli/bench/lsp.rs
index 3ec914d9e..c84b5c9a6 100644
--- a/cli/bench/lsp.rs
+++ b/cli/bench/lsp.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use deno_core::error::AnyError;
use deno_core::serde::Deserialize;
diff --git a/cli/bench/main.rs b/cli/bench/main.rs
index e17ed4068..9571be72a 100644
--- a/cli/bench/main.rs
+++ b/cli/bench/main.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use deno_core::error::AnyError;
use deno_core::serde_json;
diff --git a/cli/bench/node_http.js b/cli/bench/node_http.js
index 07a16db07..3380c86a5 100644
--- a/cli/bench/node_http.js
+++ b/cli/bench/node_http.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 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_tcp.js b/cli/bench/node_tcp.js
index f1211f827..cb51a63a5 100644
--- a/cli/bench/node_tcp.js
+++ b/cli/bench/node_tcp.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 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 9f91679f8..8b4b958d7 100644
--- a/cli/bench/node_tcp_proxy.js
+++ b/cli/bench/node_tcp_proxy.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
const net = require("net");
process.on("uncaughtException", function (error) {
diff --git a/cli/build.rs b/cli/build.rs
index 327b75f0a..48c55e628 100644
--- a/cli/build.rs
+++ b/cli/build.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use deno_core::error::custom_error;
use deno_core::op_sync;
diff --git a/cli/cache.rs b/cli/cache.rs
index c5fd0a8a0..218c699a1 100644
--- a/cli/cache.rs
+++ b/cli/cache.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use crate::disk_cache::DiskCache;
use crate::errors::get_error_class_name;
diff --git a/cli/checksum.rs b/cli/checksum.rs
index 77b255c2d..c0e41356d 100644
--- a/cli/checksum.rs
+++ b/cli/checksum.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use ring::digest::Context;
use ring::digest::SHA256;
diff --git a/cli/compat/errors.rs b/cli/compat/errors.rs
index e9cc31a0d..fa9846ed6 100644
--- a/cli/compat/errors.rs
+++ b/cli/compat/errors.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use deno_core::error::generic_error;
use deno_core::error::type_error;
diff --git a/cli/compat/esm_resolver.rs b/cli/compat/esm_resolver.rs
index c745789aa..029521f46 100644
--- a/cli/compat/esm_resolver.rs
+++ b/cli/compat/esm_resolver.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use super::errors;
use crate::resolver::ImportMapResolver;
diff --git a/cli/compat/mod.rs b/cli/compat/mod.rs
index 3fee60cb6..989113ad3 100644
--- a/cli/compat/mod.rs
+++ b/cli/compat/mod.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
mod errors;
mod esm_resolver;
diff --git a/cli/config_file.rs b/cli/config_file.rs
index a254d074d..f18e56fc1 100644
--- a/cli/config_file.rs
+++ b/cli/config_file.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use crate::fs_util::canonicalize_path;
use crate::fs_util::specifier_parent;
diff --git a/cli/deno_dir.rs b/cli/deno_dir.rs
index b9bb58934..674d32c51 100644
--- a/cli/deno_dir.rs
+++ b/cli/deno_dir.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 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 03255950b..ff2b5dbb8 100644
--- a/cli/diagnostics.rs
+++ b/cli/diagnostics.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use deno_runtime::colors;
diff --git a/cli/diff.rs b/cli/diff.rs
index 8285139b5..f5596bef5 100644
--- a/cli/diff.rs
+++ b/cli/diff.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 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 6a5fd6ec8..d3d294c18 100644
--- a/cli/disk_cache.rs
+++ b/cli/disk_cache.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use crate::fs_util;
use crate::http_cache::url_to_filename;
diff --git a/cli/emit.rs b/cli/emit.rs
index b7d2b7d84..50d4eb821 100644
--- a/cli/emit.rs
+++ b/cli/emit.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
//! The collection of APIs to be able to take `deno_graph` module graphs and
//! populate a cache, emit files, and transform a graph into the structures for
diff --git a/cli/errors.rs b/cli/errors.rs
index 9d0f1371a..1cef35399 100644
--- a/cli/errors.rs
+++ b/cli/errors.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 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 29e4f41fe..1c3b093ff 100644
--- a/cli/file_fetcher.rs
+++ b/cli/file_fetcher.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use crate::auth_tokens::AuthTokens;
use crate::colors;
diff --git a/cli/file_watcher.rs b/cli/file_watcher.rs
index b2d2ee15a..3b245e08f 100644
--- a/cli/file_watcher.rs
+++ b/cli/file_watcher.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use crate::colors;
use crate::fs_util::canonicalize_path;
diff --git a/cli/flags.rs b/cli/flags.rs
index 2cf79d44f..e5d3a6493 100644
--- a/cli/flags.rs
+++ b/cli/flags.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 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 801258e49..d94766684 100644
--- a/cli/flags_allow_net.rs
+++ b/cli/flags_allow_net.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 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 b4e455026..126621279 100644
--- a/cli/fmt_errors.rs
+++ b/cli/fmt_errors.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
//! This mod provides DenoError to unify errors across Deno.
use crate::colors::cyan;
use crate::colors::italic_bold;
diff --git a/cli/fs_util.rs b/cli/fs_util.rs
index a0b6f64f6..06bdb689a 100644
--- a/cli/fs_util.rs
+++ b/cli/fs_util.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use deno_core::anyhow::Context;
use deno_core::error::{uri_error, AnyError};
diff --git a/cli/graph_util.rs b/cli/graph_util.rs
index fc1b742b8..d186a1ab1 100644
--- a/cli/graph_util.rs
+++ b/cli/graph_util.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use crate::colors;
use crate::emit::TypeLib;
diff --git a/cli/http_cache.rs b/cli/http_cache.rs
index 8a1995ace..ba70512d8 100644
--- a/cli/http_cache.rs
+++ b/cli/http_cache.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 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>).
//! Currently it's a very simplified version to fulfill Deno needs
diff --git a/cli/http_util.rs b/cli/http_util.rs
index 78a22d3e5..3f11e8859 100644
--- a/cli/http_util.rs
+++ b/cli/http_util.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use crate::auth_tokens::AuthToken;
use cache_control::Cachability;
diff --git a/cli/lockfile.rs b/cli/lockfile.rs
index 5df3b1213..58ddc7320 100644
--- a/cli/lockfile.rs
+++ b/cli/lockfile.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use deno_core::parking_lot::Mutex;
use deno_core::serde_json;
diff --git a/cli/logger.rs b/cli/logger.rs
index ff3c8f066..7765032bd 100644
--- a/cli/logger.rs
+++ b/cli/logger.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use std::io::Write;
diff --git a/cli/lsp/analysis.rs b/cli/lsp/analysis.rs
index 560a84603..182b90488 100644
--- a/cli/lsp/analysis.rs
+++ b/cli/lsp/analysis.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use super::language_server;
use super::tsc;
diff --git a/cli/lsp/cache.rs b/cli/lsp/cache.rs
index 941b6d9cf..16ad76451 100644
--- a/cli/lsp/cache.rs
+++ b/cli/lsp/cache.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use crate::cache::CacherLoader;
use crate::cache::FetchCacher;
diff --git a/cli/lsp/capabilities.rs b/cli/lsp/capabilities.rs
index 942750243..87d2c31da 100644
--- a/cli/lsp/capabilities.rs
+++ b/cli/lsp/capabilities.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
///!
///! Provides information about what capabilities that are supported by the
diff --git a/cli/lsp/code_lens.rs b/cli/lsp/code_lens.rs
index d13a75f62..d0034069d 100644
--- a/cli/lsp/code_lens.rs
+++ b/cli/lsp/code_lens.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use super::config::Config;
use super::config::WorkspaceSettings;
diff --git a/cli/lsp/completions.rs b/cli/lsp/completions.rs
index ec9467a1f..51a3ffb88 100644
--- a/cli/lsp/completions.rs
+++ b/cli/lsp/completions.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use super::client::Client;
use super::language_server;
diff --git a/cli/lsp/config.rs b/cli/lsp/config.rs
index 1c707e68f..7be4135d2 100644
--- a/cli/lsp/config.rs
+++ b/cli/lsp/config.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use deno_core::anyhow::anyhow;
use deno_core::error::AnyError;
diff --git a/cli/lsp/diagnostics.rs b/cli/lsp/diagnostics.rs
index 12d403ebb..96153dacc 100644
--- a/cli/lsp/diagnostics.rs
+++ b/cli/lsp/diagnostics.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use super::analysis;
use super::client::Client;
diff --git a/cli/lsp/documents.rs b/cli/lsp/documents.rs
index 3fe14a168..b0da53ef3 100644
--- a/cli/lsp/documents.rs
+++ b/cli/lsp/documents.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use super::text::LineIndex;
use super::tsc;
diff --git a/cli/lsp/language_server.rs b/cli/lsp/language_server.rs
index 46c61a03e..0fec7ff80 100644
--- a/cli/lsp/language_server.rs
+++ b/cli/lsp/language_server.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use deno_ast::MediaType;
use deno_core::anyhow::anyhow;
diff --git a/cli/lsp/logging.rs b/cli/lsp/logging.rs
index 0bfc2fbc8..b3fc06d89 100644
--- a/cli/lsp/logging.rs
+++ b/cli/lsp/logging.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use std::sync::atomic::AtomicBool;
use std::sync::atomic::AtomicUsize;
diff --git a/cli/lsp/lsp_custom.rs b/cli/lsp/lsp_custom.rs
index c543a6c1b..1d8c20984 100644
--- a/cli/lsp/lsp_custom.rs
+++ b/cli/lsp/lsp_custom.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use deno_core::serde::Deserialize;
use deno_core::serde::Serialize;
diff --git a/cli/lsp/mod.rs b/cli/lsp/mod.rs
index ac4dfc7e9..436aee001 100644
--- a/cli/lsp/mod.rs
+++ b/cli/lsp/mod.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
// FIXME(bartlomieju): remove this attribute
#![allow(unused)]
diff --git a/cli/lsp/parent_process_checker.rs b/cli/lsp/parent_process_checker.rs
index 9e48c3fa8..f4bf99d3e 100644
--- a/cli/lsp/parent_process_checker.rs
+++ b/cli/lsp/parent_process_checker.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use tokio::time::sleep;
use tokio::time::Duration;
diff --git a/cli/lsp/path_to_regex.rs b/cli/lsp/path_to_regex.rs
index ef782c4db..b1929c9b9 100644
--- a/cli/lsp/path_to_regex.rs
+++ b/cli/lsp/path_to_regex.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
// The logic of this module is heavily influenced by path-to-regexp at:
// https://github.com/pillarjs/path-to-regexp/ which is licensed as follows:
diff --git a/cli/lsp/performance.rs b/cli/lsp/performance.rs
index 2c58ab9c9..d251e012f 100644
--- a/cli/lsp/performance.rs
+++ b/cli/lsp/performance.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use deno_core::parking_lot::Mutex;
use deno_core::serde::Deserialize;
diff --git a/cli/lsp/refactor.rs b/cli/lsp/refactor.rs
index 2694b7c5a..cf18eca79 100644
--- a/cli/lsp/refactor.rs
+++ b/cli/lsp/refactor.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
// The logic of this module is heavily influenced by
// https://github.com/microsoft/vscode/blob/main/extensions/typescript-language-features/src/languageFeatures/refactor.ts
diff --git a/cli/lsp/registries.rs b/cli/lsp/registries.rs
index 9b967c3c2..94c3c49fc 100644
--- a/cli/lsp/registries.rs
+++ b/cli/lsp/registries.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use super::path_to_regex::parse;
use super::path_to_regex::string_to_regex;
diff --git a/cli/lsp/repl.rs b/cli/lsp/repl.rs
index 458841c19..b4bc1daf7 100644
--- a/cli/lsp/repl.rs
+++ b/cli/lsp/repl.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use std::collections::HashMap;
use std::future::Future;
diff --git a/cli/lsp/semantic_tokens.rs b/cli/lsp/semantic_tokens.rs
index 326eb7dde..dd3766c04 100644
--- a/cli/lsp/semantic_tokens.rs
+++ b/cli/lsp/semantic_tokens.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
// The logic of this module is heavily influenced by
// https://github.com/microsoft/vscode/blob/main/extensions/typescript-language-features/src/languageFeatures/semanticTokens.ts
diff --git a/cli/lsp/text.rs b/cli/lsp/text.rs
index 0b9ae79be..9a99624fa 100644
--- a/cli/lsp/text.rs
+++ b/cli/lsp/text.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use deno_core::error::custom_error;
use deno_core::error::AnyError;
diff --git a/cli/lsp/tsc.rs b/cli/lsp/tsc.rs
index e2ae5f275..6a8141d4d 100644
--- a/cli/lsp/tsc.rs
+++ b/cli/lsp/tsc.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use super::code_lens;
use super::config;
diff --git a/cli/lsp/urls.rs b/cli/lsp/urls.rs
index 94830d34a..74fcc757a 100644
--- a/cli/lsp/urls.rs
+++ b/cli/lsp/urls.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use crate::file_fetcher::map_content_type;
diff --git a/cli/main.rs b/cli/main.rs
index 5fe5d6659..f4800b72a 100644
--- a/cli/main.rs
+++ b/cli/main.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
mod ast;
mod auth_tokens;
diff --git a/cli/module_loader.rs b/cli/module_loader.rs
index 6fa3e3a0e..afd47c2d4 100644
--- a/cli/module_loader.rs
+++ b/cli/module_loader.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use crate::emit::TypeLib;
use crate::proc_state::ProcState;
diff --git a/cli/ops/errors.rs b/cli/ops/errors.rs
index 92843f577..a9193b0cd 100644
--- a/cli/ops/errors.rs
+++ b/cli/ops/errors.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use crate::diagnostics::Diagnostics;
use crate::fmt_errors::format_file_name;
diff --git a/cli/ops/mod.rs b/cli/ops/mod.rs
index 3584bdbef..34b310b20 100644
--- a/cli/ops/mod.rs
+++ b/cli/ops/mod.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use crate::proc_state::ProcState;
use deno_core::Extension;
diff --git a/cli/ops/runtime_compiler.rs b/cli/ops/runtime_compiler.rs
index 11504edd5..faa427ae7 100644
--- a/cli/ops/runtime_compiler.rs
+++ b/cli/ops/runtime_compiler.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use crate::cache;
use crate::config_file::IgnoredCompilerOptions;
diff --git a/cli/proc_state.rs b/cli/proc_state.rs
index 7f49b6b1b..ceff64c54 100644
--- a/cli/proc_state.rs
+++ b/cli/proc_state.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use crate::cache;
use crate::colors;
diff --git a/cli/resolver.rs b/cli/resolver.rs
index da8fafe67..6143ac6a0 100644
--- a/cli/resolver.rs
+++ b/cli/resolver.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use deno_core::error::AnyError;
use deno_core::resolve_import;
diff --git a/cli/source_maps.rs b/cli/source_maps.rs
index c2b950954..80d97f1b9 100644
--- a/cli/source_maps.rs
+++ b/cli/source_maps.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 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/standalone.rs b/cli/standalone.rs
index f135e9946..e31fa15f7 100644
--- a/cli/standalone.rs
+++ b/cli/standalone.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use crate::colors;
use crate::file_fetcher::get_source_from_data_url;
diff --git a/cli/tests/integration/bundle_tests.rs b/cli/tests/integration/bundle_tests.rs
index adc0dbd1d..4ef48b7e3 100644
--- a/cli/tests/integration/bundle_tests.rs
+++ b/cli/tests/integration/bundle_tests.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use crate::itest;
use tempfile::TempDir;
diff --git a/cli/tests/integration/cache_tests.rs b/cli/tests/integration/cache_tests.rs
index 1fc035b9b..773f98f6b 100644
--- a/cli/tests/integration/cache_tests.rs
+++ b/cli/tests/integration/cache_tests.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use crate::itest;
diff --git a/cli/tests/integration/compat_tests.rs b/cli/tests/integration/compat_tests.rs
index 7eff64f12..bafe24af3 100644
--- a/cli/tests/integration/compat_tests.rs
+++ b/cli/tests/integration/compat_tests.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use crate::itest;
use deno_core::url::Url;
diff --git a/cli/tests/integration/compile_tests.rs b/cli/tests/integration/compile_tests.rs
index 3cb628204..d2abd04d5 100644
--- a/cli/tests/integration/compile_tests.rs
+++ b/cli/tests/integration/compile_tests.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use std::process::Command;
use tempfile::TempDir;
diff --git a/cli/tests/integration/coverage_tests.rs b/cli/tests/integration/coverage_tests.rs
index 2f7250817..feba0769e 100644
--- a/cli/tests/integration/coverage_tests.rs
+++ b/cli/tests/integration/coverage_tests.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use std::fs;
use tempfile::TempDir;
diff --git a/cli/tests/integration/doc_tests.rs b/cli/tests/integration/doc_tests.rs
index 05da38529..95bc2a335 100644
--- a/cli/tests/integration/doc_tests.rs
+++ b/cli/tests/integration/doc_tests.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use crate::itest;
diff --git a/cli/tests/integration/eval_tests.rs b/cli/tests/integration/eval_tests.rs
index 40fa26158..d7586e919 100644
--- a/cli/tests/integration/eval_tests.rs
+++ b/cli/tests/integration/eval_tests.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use crate::itest;
use test_util as util;
diff --git a/cli/tests/integration/fmt_tests.rs b/cli/tests/integration/fmt_tests.rs
index 65a248a45..18743fb00 100644
--- a/cli/tests/integration/fmt_tests.rs
+++ b/cli/tests/integration/fmt_tests.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use crate::itest;
use tempfile::TempDir;
diff --git a/cli/tests/integration/info_tests.rs b/cli/tests/integration/info_tests.rs
index 9e7dbda5b..6ac6e849b 100644
--- a/cli/tests/integration/info_tests.rs
+++ b/cli/tests/integration/info_tests.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use crate::itest;
use tempfile::TempDir;
diff --git a/cli/tests/integration/inspector_tests.rs b/cli/tests/integration/inspector_tests.rs
index f6b95c1b4..c0d2a3443 100644
--- a/cli/tests/integration/inspector_tests.rs
+++ b/cli/tests/integration/inspector_tests.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use deno_core::futures;
use deno_core::futures::prelude::*;
diff --git a/cli/tests/integration/install_tests.rs b/cli/tests/integration/install_tests.rs
index ff93c157f..68f519686 100644
--- a/cli/tests/integration/install_tests.rs
+++ b/cli/tests/integration/install_tests.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use std::process::Command;
use tempfile::TempDir;
diff --git a/cli/tests/integration/lint_tests.rs b/cli/tests/integration/lint_tests.rs
index 3fee16aca..5ed12f59e 100644
--- a/cli/tests/integration/lint_tests.rs
+++ b/cli/tests/integration/lint_tests.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use crate::itest;
use test_util as util;
diff --git a/cli/tests/integration/lsp_tests.rs b/cli/tests/integration/lsp_tests.rs
index 6a7002b49..21894f7e8 100644
--- a/cli/tests/integration/lsp_tests.rs
+++ b/cli/tests/integration/lsp_tests.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use deno_ast::ModuleSpecifier;
use deno_core::serde::Deserialize;
diff --git a/cli/tests/integration/mod.rs b/cli/tests/integration/mod.rs
index 3c067c17f..6321e86ad 100644
--- a/cli/tests/integration/mod.rs
+++ b/cli/tests/integration/mod.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use crate::itest;
use deno_core::url;
diff --git a/cli/tests/integration/repl_tests.rs b/cli/tests/integration/repl_tests.rs
index 7d8cb4d71..68379c695 100644
--- a/cli/tests/integration/repl_tests.rs
+++ b/cli/tests/integration/repl_tests.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use test_util as util;
diff --git a/cli/tests/integration/run_tests.rs b/cli/tests/integration/run_tests.rs
index 6e4f45338..f4793a969 100644
--- a/cli/tests/integration/run_tests.rs
+++ b/cli/tests/integration/run_tests.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use deno_core::url;
use std::process::Command;
diff --git a/cli/tests/integration/test_tests.rs b/cli/tests/integration/test_tests.rs
index effd615f6..639b664c1 100644
--- a/cli/tests/integration/test_tests.rs
+++ b/cli/tests/integration/test_tests.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use crate::itest;
use test_util as util;
diff --git a/cli/tests/integration/upgrade_tests.rs b/cli/tests/integration/upgrade_tests.rs
index 60a84e673..01554f6da 100644
--- a/cli/tests/integration/upgrade_tests.rs
+++ b/cli/tests/integration/upgrade_tests.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use std::process::{Command, Stdio};
use tempfile::TempDir;
diff --git a/cli/tests/integration/watcher_tests.rs b/cli/tests/integration/watcher_tests.rs
index 855538b16..89d4bf3f7 100644
--- a/cli/tests/integration/watcher_tests.rs
+++ b/cli/tests/integration/watcher_tests.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use flaky_test::flaky_test;
use std::fs::write;
diff --git a/cli/tests/integration/worker_tests.rs b/cli/tests/integration/worker_tests.rs
index 8bb051ff3..57faaa6d3 100644
--- a/cli/tests/integration/worker_tests.rs
+++ b/cli/tests/integration/worker_tests.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use crate::itest;
diff --git a/cli/tests/integration_tests.rs b/cli/tests/integration_tests.rs
index 368e96f94..ae6bf98f6 100644
--- a/cli/tests/integration_tests.rs
+++ b/cli/tests/integration_tests.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
// The tests exist in a sub folder instead of as separate files in
// this directory so that cargo doesn't compile each file as a new crate.
diff --git a/cli/tests/testdata/finalization_registry.js b/cli/tests/testdata/finalization_registry.js
index f75979358..7d7d58149 100644
--- a/cli/tests/testdata/finalization_registry.js
+++ b/cli/tests/testdata/finalization_registry.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
"use strict";
function assertEquals(a, b) {
diff --git a/cli/tests/testdata/heapstats.js b/cli/tests/testdata/heapstats.js
index 675fac2d6..1f06e7f6e 100644
--- a/cli/tests/testdata/heapstats.js
+++ b/cli/tests/testdata/heapstats.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
"use strict";
function allocTest(alloc, allocAssert, deallocAssert) {
diff --git a/cli/tests/testdata/lsp/did_open_params_large.json b/cli/tests/testdata/lsp/did_open_params_large.json
index 996434c0c..9936c1bdc 100644
--- a/cli/tests/testdata/lsp/did_open_params_large.json
+++ b/cli/tests/testdata/lsp/did_open_params_large.json
@@ -3,6 +3,6 @@
"uri": "file:///a/file.ts",
"languageId": "javascript",
"version": 1,
- "text": "// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.\n\n// @ts-check\n/// <reference path=\"./compiler.d.ts\" />\n// deno-lint-ignore-file no-undef\n\n// This module is the entry point for \"compiler\" isolate, ie. the one\n// that is created when Deno needs to type check TypeScript, and in some\n// instances convert TypeScript to JavaScript.\n\n// Removes the `__proto__` for security reasons. This intentionally makes\n// Deno non compliant with ECMA-262 Annex B.2.2.1\ndelete Object.prototype.__proto__;\n\n((window) => {\n /** @type {DenoCore} */\n const core = window.Deno.core;\n\n let logDebug = false;\n let logSource = \"JS\";\n\n function setLogDebug(debug, source) {\n logDebug = debug;\n if (source) {\n logSource = source;\n }\n }\n\n function debug(...args) {\n if (logDebug) {\n const stringifiedArgs = args.map((arg) =>\n typeof arg === \"string\" ? arg : JSON.stringify(arg)\n ).join(\" \");\n // adding a non-zero integer value to the end of the debug string causes\n // the message to be printed to stderr instead of stdout, which is better\n // aligned to the behaviour of debug messages\n core.print(`DEBUG ${logSource} - ${stringifiedArgs}\\n`, 1);\n }\n }\n\n function error(...args) {\n const stringifiedArgs = args.map((arg) =>\n typeof arg === \"string\" || arg instanceof Error\n ? String(arg)\n : JSON.stringify(arg)\n ).join(\" \");\n core.print(`ERROR ${logSource} = ${stringifiedArgs}\\n`, 1);\n }\n\n class AssertionError extends Error {\n constructor(msg) {\n super(msg);\n this.name = \"AssertionError\";\n }\n }\n\n function assert(cond, msg = \"Assertion failed.\") {\n if (!cond) {\n throw new AssertionError(msg);\n }\n }\n\n /** @type {Map<string, ts.SourceFile>} */\n const sourceFileCache = new Map();\n\n /** @param {ts.DiagnosticRelatedInformation} diagnostic */\n function fromRelatedInformation({\n start,\n length,\n file,\n messageText: msgText,\n ...ri\n }) {\n let messageText;\n let messageChain;\n if (typeof msgText === \"object\") {\n messageChain = msgText;\n } else {\n messageText = msgText;\n }\n if (start !== undefined && length !== undefined && file) {\n const startPos = file.getLineAndCharacterOfPosition(start);\n const sourceLine = file.getFullText().split(\"\\n\")[startPos.line];\n const fileName = file.fileName;\n return {\n start: startPos,\n end: file.getLineAndCharacterOfPosition(start + length),\n fileName,\n messageChain,\n messageText,\n sourceLine,\n ...ri,\n };\n } else {\n return {\n messageChain,\n messageText,\n ...ri,\n };\n }\n }\n\n /** @param {ts.Diagnostic[]} diagnostics */\n function fromTypeScriptDiagnostic(diagnostics) {\n return diagnostics.map(({ relatedInformation: ri, source, ...diag }) => {\n /** @type {any} */\n const value = fromRelatedInformation(diag);\n value.relatedInformation = ri\n ? ri.map(fromRelatedInformation)\n : undefined;\n value.source = source;\n return value;\n });\n }\n\n // Using incremental compile APIs requires that all\n // paths must be either relative or absolute. Since\n // analysis in Rust operates on fully resolved URLs,\n // it makes sense to use the same scheme here.\n const ASSETS = \"asset:///\";\n const CACHE = \"cache:///\";\n\n /** Diagnostics that are intentionally ignored when compiling TypeScript in\n * Deno, as they provide misleading or incorrect information. */\n const IGNORED_DIAGNOSTICS = [\n // TS1208: All files must be modules when the '--isolatedModules' flag is\n // provided. We can ignore because we guarantee that all files are\n // modules.\n 1208,\n // TS1375: 'await' expressions are only allowed at the top level of a file\n // when that file is a module, but this file has no imports or exports.\n // Consider adding an empty 'export {}' to make this file a module.\n 1375,\n // TS1103: 'for-await-of' statement is only allowed within an async function\n // or async generator.\n 1103,\n // TS2306: File 'file:///Users/rld/src/deno/subdir/amd_like.js' is\n // not a module.\n 2306,\n // TS2691: An import path cannot end with a '.ts' extension. Consider\n // importing 'bad-module' instead.\n 2691,\n // TS2792: Cannot find module. Did you mean to set the 'moduleResolution'\n // option to 'node', or to add aliases to the 'paths' option?\n 2792,\n // TS5009: Cannot find the common subdirectory path for the input files.\n 5009,\n // TS5055: Cannot write file\n // 'http://localhost:4545/subdir/mt_application_x_javascript.j4.js'\n // because it would overwrite input file.\n 5055,\n // TypeScript is overly opinionated that only CommonJS modules kinds can\n // support JSON imports. Allegedly this was fixed in\n // Microsoft/TypeScript#26825 but that doesn't seem to be working here,\n // so we will ignore complaints about this compiler setting.\n 5070,\n // TS7016: Could not find a declaration file for module '...'. '...'\n // implicitly has an 'any' type. This is due to `allowJs` being off by\n // default but importing of a JavaScript module.\n 7016,\n ];\n\n const SNAPSHOT_COMPILE_OPTIONS = {\n esModuleInterop: true,\n jsx: ts.JsxEmit.React,\n module: ts.ModuleKind.ESNext,\n noEmit: true,\n strict: true,\n target: ts.ScriptTarget.ESNext,\n };\n\n class ScriptSnapshot {\n /** @type {string} */\n specifier;\n /** @type {string} */\n version;\n /**\n * @param {string} specifier\n * @param {string} version \n */\n constructor(specifier, version) {\n this.specifier = specifier;\n this.version = version;\n }\n /**\n * @param {number} start \n * @param {number} end \n * @returns {string}\n */\n getText(start, end) {\n const { specifier, version } = this;\n debug(\n `snapshot.getText(${start}, ${end}) specifier: ${specifier} version: ${version}`,\n );\n return core.jsonOpSync(\"op_get_text\", { specifier, version, start, end });\n }\n /**\n * @returns {number}\n */\n getLength() {\n const { specifier, version } = this;\n debug(`snapshot.getLength() specifier: ${specifier} version: ${version}`);\n return core.jsonOpSync(\"op_get_length\", { specifier, version });\n }\n /**\n * @param {ScriptSnapshot} oldSnapshot\n * @returns {ts.TextChangeRange | undefined}\n */\n getChangeRange(oldSnapshot) {\n const { specifier, version } = this;\n const { version: oldVersion } = oldSnapshot;\n const oldLength = oldSnapshot.getLength();\n debug(\n `snapshot.getLength() specifier: ${specifier} oldVersion: ${oldVersion} version: ${version}`,\n );\n return core.jsonOpSync(\n \"op_get_change_range\",\n { specifier, oldLength, oldVersion, version },\n );\n }\n dispose() {\n const { specifier, version } = this;\n debug(`snapshot.dispose() specifier: ${specifier} version: ${version}`);\n core.jsonOpSync(\"op_dispose\", { specifier, version });\n }\n }\n\n /** @type {ts.CompilerOptions} */\n let compilationSettings = {};\n\n /** @type {ts.LanguageService} */\n let languageService;\n\n /** An object literal of the incremental compiler host, which provides the\n * specific \"bindings\" to the Deno environment that tsc needs to work.\n *\n * @type {ts.CompilerHost & ts.LanguageServiceHost} */\n const host = {\n fileExists(fileName) {\n debug(`host.fileExists(\"${fileName}\")`);\n return false;\n },\n readFile(specifier) {\n debug(`host.readFile(\"${specifier}\")`);\n return core.jsonOpSync(\"op_load\", { specifier }).data;\n },\n getSourceFile(\n specifier,\n languageVersion,\n _onError,\n _shouldCreateNewSourceFile,\n ) {\n debug(\n `host.getSourceFile(\"${specifier}\", ${\n ts.ScriptTarget[languageVersion]\n })`,\n );\n let sourceFile = sourceFileCache.get(specifier);\n if (sourceFile) {\n return sourceFile;\n }\n\n /** @type {{ data: string; hash?: string; scriptKind: ts.ScriptKind }} */\n const { data, hash, scriptKind } = core.jsonOpSync(\n \"op_load\",\n { specifier },\n );\n assert(\n data != null,\n `\"data\" is unexpectedly null for \"${specifier}\".`,\n );\n sourceFile = ts.createSourceFile(\n specifier,\n data,\n languageVersion,\n false,\n scriptKind,\n );\n sourceFile.moduleName = specifier;\n sourceFile.version = hash;\n sourceFileCache.set(specifier, sourceFile);\n return sourceFile;\n },\n getDefaultLibFileName() {\n return `${ASSETS}/lib.esnext.d.ts`;\n },\n getDefaultLibLocation() {\n return ASSETS;\n },\n writeFile(fileName, data, _writeByteOrderMark, _onError, sourceFiles) {\n debug(`host.writeFile(\"${fileName}\")`);\n let maybeSpecifiers;\n if (sourceFiles) {\n maybeSpecifiers = sourceFiles.map((sf) => sf.moduleName);\n }\n return core.jsonOpSync(\n \"op_emit\",\n { maybeSpecifiers, fileName, data },\n );\n },\n getCurrentDirectory() {\n return CACHE;\n },\n getCanonicalFileName(fileName) {\n return fileName;\n },\n useCaseSensitiveFileNames() {\n return true;\n },\n getNewLine() {\n return \"\\n\";\n },\n resolveModuleNames(specifiers, base) {\n debug(`host.resolveModuleNames()`);\n debug(` base: ${base}`);\n debug(` specifiers: ${specifiers.join(\", \")}`);\n /** @type {Array<[string, ts.Extension] | undefined>} */\n const resolved = core.jsonOpSync(\"op_resolve\", {\n specifiers,\n base,\n });\n if (resolved) {\n const result = resolved.map((item) => {\n if (item) {\n const [resolvedFileName, extension] = item;\n return {\n resolvedFileName,\n extension,\n isExternalLibraryImport: false,\n };\n }\n return undefined;\n });\n result.length = specifiers.length;\n return result;\n } else {\n return new Array(specifiers.length);\n }\n },\n createHash(data) {\n return core.jsonOpSync(\"op_create_hash\", { data }).hash;\n },\n\n // LanguageServiceHost\n getCompilationSettings() {\n debug(\"host.getCompilationSettings()\");\n return compilationSettings;\n },\n getScriptFileNames() {\n debug(\"host.getScriptFileNames()\");\n return core.jsonOpSync(\"op_script_names\", undefined);\n },\n getScriptVersion(specifier) {\n debug(`host.getScriptVersion(\"${specifier}\")`);\n const sourceFile = sourceFileCache.get(specifier);\n if (sourceFile) {\n return sourceFile.version ?? \"1\";\n }\n return core.jsonOpSync(\"op_script_version\", { specifier });\n },\n getScriptSnapshot(specifier) {\n debug(`host.getScriptSnapshot(\"${specifier}\")`);\n const sourceFile = sourceFileCache.get(specifier);\n if (sourceFile) {\n return {\n getText(start, end) {\n return sourceFile.text.substring(start, end);\n },\n getLength() {\n return sourceFile.text.length;\n },\n getChangeRange() {\n return undefined;\n },\n };\n }\n /** @type {string | undefined} */\n const version = core.jsonOpSync(\"op_script_version\", { specifier });\n if (version != null) {\n return new ScriptSnapshot(specifier, version);\n }\n return undefined;\n },\n };\n\n /** @type {Array<[string, number]>} */\n const stats = [];\n let statsStart = 0;\n\n function performanceStart() {\n stats.length = 0;\n statsStart = Date.now();\n ts.performance.enable();\n }\n\n /**\n * @param {{ program: ts.Program | ts.EmitAndSemanticDiagnosticsBuilderProgram, fileCount?: number }} options \n */\n function performanceProgram({ program, fileCount }) {\n if (program) {\n if (\"getProgram\" in program) {\n program = program.getProgram();\n }\n stats.push([\"Files\", program.getSourceFiles().length]);\n stats.push([\"Nodes\", program.getNodeCount()]);\n stats.push([\"Identifiers\", program.getIdentifierCount()]);\n stats.push([\"Symbols\", program.getSymbolCount()]);\n stats.push([\"Types\", program.getTypeCount()]);\n stats.push([\"Instantiations\", program.getInstantiationCount()]);\n } else if (fileCount != null) {\n stats.push([\"Files\", fileCount]);\n }\n const programTime = ts.performance.getDuration(\"Program\");\n const bindTime = ts.performance.getDuration(\"Bind\");\n const checkTime = ts.performance.getDuration(\"Check\");\n const emitTime = ts.performance.getDuration(\"Emit\");\n stats.push([\"Parse time\", programTime]);\n stats.push([\"Bind time\", bindTime]);\n stats.push([\"Check time\", checkTime]);\n stats.push([\"Emit time\", emitTime]);\n stats.push(\n [\"Total TS time\", programTime + bindTime + checkTime + emitTime],\n );\n }\n\n function performanceEnd() {\n const duration = Date.now() - statsStart;\n stats.push([\"Compile time\", duration]);\n return stats;\n }\n\n /**\n * @typedef {object} Request\n * @property {Record<string, any>} config\n * @property {boolean} debug\n * @property {string[]} rootNames\n */\n\n /** The API that is called by Rust when executing a request.\n * @param {Request} request\n */\n function exec({ config, debug: debugFlag, rootNames }) {\n setLogDebug(debugFlag, \"TS\");\n performanceStart();\n debug(\">>> exec start\", { rootNames });\n debug(config);\n\n const { options, errors: configFileParsingDiagnostics } = ts\n .convertCompilerOptionsFromJson(config, \"\");\n // The `allowNonTsExtensions` is a \"hidden\" compiler option used in VSCode\n // which is not allowed to be passed in JSON, we need it to allow special\n // URLs which Deno supports. So we need to either ignore the diagnostic, or\n // inject it ourselves.\n Object.assign(options, { allowNonTsExtensions: true });\n const program = ts.createIncrementalProgram({\n rootNames,\n options,\n host,\n configFileParsingDiagnostics,\n });\n\n const { diagnostics: emitDiagnostics } = program.emit();\n\n const diagnostics = [\n ...program.getConfigFileParsingDiagnostics(),\n ...program.getSyntacticDiagnostics(),\n ...program.getOptionsDiagnostics(),\n ...program.getGlobalDiagnostics(),\n ...program.getSemanticDiagnostics(),\n ...emitDiagnostics,\n ].filter(({ code }) => !IGNORED_DIAGNOSTICS.includes(code));\n performanceProgram({ program });\n\n core.jsonOpSync(\"op_respond\", {\n diagnostics: fromTypeScriptDiagnostic(diagnostics),\n stats: performanceEnd(),\n });\n debug(\"<<< exec stop\");\n }\n\n /**\n * @param {number} id \n * @param {any} data \n */\n function respond(id, data = null) {\n core.jsonOpSync(\"op_respond\", { id, data });\n }\n\n /**\n * @param {LanguageServerRequest} request \n */\n function serverRequest({ id, ...request }) {\n debug(`serverRequest()`, { id, ...request });\n switch (request.method) {\n case \"configure\": {\n const { options, errors } = ts\n .convertCompilerOptionsFromJson(request.compilerOptions, \"\");\n Object.assign(options, { allowNonTsExtensions: true });\n if (errors.length) {\n debug(ts.formatDiagnostics(errors, host));\n }\n compilationSettings = options;\n return respond(id, true);\n }\n case \"getAsset\": {\n const sourceFile = host.getSourceFile(\n request.specifier,\n ts.ScriptTarget.ESNext,\n );\n return respond(id, sourceFile && sourceFile.text);\n }\n case \"getDiagnostics\": {\n try {\n /** @type {Record<string, any[]>} */\n const diagnosticMap = {};\n for (const specifier of request.specifiers) {\n diagnosticMap[specifier] = fromTypeScriptDiagnostic([\n ...languageService.getSemanticDiagnostics(specifier),\n ...languageService.getSuggestionDiagnostics(specifier),\n ...languageService.getSyntacticDiagnostics(specifier),\n ].filter(({ code }) => !IGNORED_DIAGNOSTICS.includes(code)));\n }\n return respond(id, diagnosticMap);\n } catch (e) {\n if (\"stack\" in e) {\n error(e.stack);\n } else {\n error(e);\n }\n return respond(id, {});\n }\n }\n case \"getQuickInfo\": {\n return respond(\n id,\n languageService.getQuickInfoAtPosition(\n request.specifier,\n request.position,\n ),\n );\n }\n case \"getCompletions\": {\n return respond(\n id,\n languageService.getCompletionsAtPosition(\n request.specifier,\n request.position,\n request.preferences,\n ),\n );\n }\n case \"getDocumentHighlights\": {\n return respond(\n id,\n languageService.getDocumentHighlights(\n request.specifier,\n request.position,\n request.filesToSearch,\n ),\n );\n }\n case \"getReferences\": {\n return respond(\n id,\n languageService.getReferencesAtPosition(\n request.specifier,\n request.position,\n ),\n );\n }\n case \"getDefinition\": {\n return respond(\n id,\n languageService.getDefinitionAndBoundSpan(\n request.specifier,\n request.position,\n ),\n );\n }\n case \"getImplementation\": {\n return respond(\n id,\n languageService.getImplementationAtPosition(\n request.specifier,\n request.position,\n ),\n );\n }\n case \"findRenameLocations\": {\n return respond(\n id,\n languageService.findRenameLocations(\n request.specifier,\n request.position,\n request.findInStrings,\n request.findInComments,\n request.providePrefixAndSuffixTextForRename,\n ),\n );\n }\n default:\n throw new TypeError(\n // @ts-ignore exhausted case statement sets type to never\n `Invalid request method for request: \"${request.method}\" (${id})`,\n );\n }\n }\n\n /** @param {{ debug: boolean; }} init */\n function serverInit({ debug: debugFlag }) {\n if (hasStarted) {\n throw new Error(\"The language server has already been initialized.\");\n }\n hasStarted = true;\n languageService = ts.createLanguageService(host);\n core.ops();\n setLogDebug(debugFlag, \"TSLS\");\n debug(\"serverInit()\");\n }\n\n let hasStarted = false;\n\n /** Startup the runtime environment, setting various flags.\n * @param {{ debugFlag?: boolean; legacyFlag?: boolean; }} msg\n */\n function startup({ debugFlag = false }) {\n if (hasStarted) {\n throw new Error(\"The compiler runtime already started.\");\n }\n hasStarted = true;\n core.ops();\n setLogDebug(!!debugFlag, \"TS\");\n }\n\n // Setup the compiler runtime during the build process.\n core.ops();\n core.registerErrorClass(\"Error\", Error);\n\n // A build time only op that provides some setup information that is used to\n // ensure the snapshot is setup properly.\n /** @type {{ buildSpecifier: string; libs: string[] }} */\n const { buildSpecifier, libs } = core.jsonOpSync(\"op_build_info\", {});\n for (const lib of libs) {\n const specifier = `lib.${lib}.d.ts`;\n // we are using internal APIs here to \"inject\" our custom libraries into\n // tsc, so things like `\"lib\": [ \"deno.ns\" ]` are supported.\n if (!ts.libs.includes(lib)) {\n ts.libs.push(lib);\n ts.libMap.set(lib, `lib.${lib}.d.ts`);\n }\n // we are caching in memory common type libraries that will be re-used by\n // tsc on when the snapshot is restored\n assert(\n host.getSourceFile(`${ASSETS}${specifier}`, ts.ScriptTarget.ESNext),\n );\n }\n // this helps ensure as much as possible is in memory that is re-usable\n // before the snapshotting is done, which helps unsure fast \"startup\" for\n // subsequent uses of tsc in Deno.\n const TS_SNAPSHOT_PROGRAM = ts.createProgram({\n rootNames: [buildSpecifier],\n options: SNAPSHOT_COMPILE_OPTIONS,\n host,\n });\n ts.getPreEmitDiagnostics(TS_SNAPSHOT_PROGRAM);\n\n // exposes the two functions that are called by `tsc::exec()` when type\n // checking TypeScript.\n globalThis.startup = startup;\n globalThis.exec = exec;\n\n // exposes the functions that are called when the compiler is used as a\n // language service.\n globalThis.serverInit = serverInit;\n globalThis.serverRequest = serverRequest;\n})(this);\n"
+ "text": "// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.\n\n// @ts-check\n/// <reference path=\"./compiler.d.ts\" />\n// deno-lint-ignore-file no-undef\n\n// This module is the entry point for \"compiler\" isolate, ie. the one\n// that is created when Deno needs to type check TypeScript, and in some\n// instances convert TypeScript to JavaScript.\n\n// Removes the `__proto__` for security reasons. This intentionally makes\n// Deno non compliant with ECMA-262 Annex B.2.2.1\ndelete Object.prototype.__proto__;\n\n((window) => {\n /** @type {DenoCore} */\n const core = window.Deno.core;\n\n let logDebug = false;\n let logSource = \"JS\";\n\n function setLogDebug(debug, source) {\n logDebug = debug;\n if (source) {\n logSource = source;\n }\n }\n\n function debug(...args) {\n if (logDebug) {\n const stringifiedArgs = args.map((arg) =>\n typeof arg === \"string\" ? arg : JSON.stringify(arg)\n ).join(\" \");\n // adding a non-zero integer value to the end of the debug string causes\n // the message to be printed to stderr instead of stdout, which is better\n // aligned to the behaviour of debug messages\n core.print(`DEBUG ${logSource} - ${stringifiedArgs}\\n`, 1);\n }\n }\n\n function error(...args) {\n const stringifiedArgs = args.map((arg) =>\n typeof arg === \"string\" || arg instanceof Error\n ? String(arg)\n : JSON.stringify(arg)\n ).join(\" \");\n core.print(`ERROR ${logSource} = ${stringifiedArgs}\\n`, 1);\n }\n\n class AssertionError extends Error {\n constructor(msg) {\n super(msg);\n this.name = \"AssertionError\";\n }\n }\n\n function assert(cond, msg = \"Assertion failed.\") {\n if (!cond) {\n throw new AssertionError(msg);\n }\n }\n\n /** @type {Map<string, ts.SourceFile>} */\n const sourceFileCache = new Map();\n\n /** @param {ts.DiagnosticRelatedInformation} diagnostic */\n function fromRelatedInformation({\n start,\n length,\n file,\n messageText: msgText,\n ...ri\n }) {\n let messageText;\n let messageChain;\n if (typeof msgText === \"object\") {\n messageChain = msgText;\n } else {\n messageText = msgText;\n }\n if (start !== undefined && length !== undefined && file) {\n const startPos = file.getLineAndCharacterOfPosition(start);\n const sourceLine = file.getFullText().split(\"\\n\")[startPos.line];\n const fileName = file.fileName;\n return {\n start: startPos,\n end: file.getLineAndCharacterOfPosition(start + length),\n fileName,\n messageChain,\n messageText,\n sourceLine,\n ...ri,\n };\n } else {\n return {\n messageChain,\n messageText,\n ...ri,\n };\n }\n }\n\n /** @param {ts.Diagnostic[]} diagnostics */\n function fromTypeScriptDiagnostic(diagnostics) {\n return diagnostics.map(({ relatedInformation: ri, source, ...diag }) => {\n /** @type {any} */\n const value = fromRelatedInformation(diag);\n value.relatedInformation = ri\n ? ri.map(fromRelatedInformation)\n : undefined;\n value.source = source;\n return value;\n });\n }\n\n // Using incremental compile APIs requires that all\n // paths must be either relative or absolute. Since\n // analysis in Rust operates on fully resolved URLs,\n // it makes sense to use the same scheme here.\n const ASSETS = \"asset:///\";\n const CACHE = \"cache:///\";\n\n /** Diagnostics that are intentionally ignored when compiling TypeScript in\n * Deno, as they provide misleading or incorrect information. */\n const IGNORED_DIAGNOSTICS = [\n // TS1208: All files must be modules when the '--isolatedModules' flag is\n // provided. We can ignore because we guarantee that all files are\n // modules.\n 1208,\n // TS1375: 'await' expressions are only allowed at the top level of a file\n // when that file is a module, but this file has no imports or exports.\n // Consider adding an empty 'export {}' to make this file a module.\n 1375,\n // TS1103: 'for-await-of' statement is only allowed within an async function\n // or async generator.\n 1103,\n // TS2306: File 'file:///Users/rld/src/deno/subdir/amd_like.js' is\n // not a module.\n 2306,\n // TS2691: An import path cannot end with a '.ts' extension. Consider\n // importing 'bad-module' instead.\n 2691,\n // TS2792: Cannot find module. Did you mean to set the 'moduleResolution'\n // option to 'node', or to add aliases to the 'paths' option?\n 2792,\n // TS5009: Cannot find the common subdirectory path for the input files.\n 5009,\n // TS5055: Cannot write file\n // 'http://localhost:4545/subdir/mt_application_x_javascript.j4.js'\n // because it would overwrite input file.\n 5055,\n // TypeScript is overly opinionated that only CommonJS modules kinds can\n // support JSON imports. Allegedly this was fixed in\n // Microsoft/TypeScript#26825 but that doesn't seem to be working here,\n // so we will ignore complaints about this compiler setting.\n 5070,\n // TS7016: Could not find a declaration file for module '...'. '...'\n // implicitly has an 'any' type. This is due to `allowJs` being off by\n // default but importing of a JavaScript module.\n 7016,\n ];\n\n const SNAPSHOT_COMPILE_OPTIONS = {\n esModuleInterop: true,\n jsx: ts.JsxEmit.React,\n module: ts.ModuleKind.ESNext,\n noEmit: true,\n strict: true,\n target: ts.ScriptTarget.ESNext,\n };\n\n class ScriptSnapshot {\n /** @type {string} */\n specifier;\n /** @type {string} */\n version;\n /**\n * @param {string} specifier\n * @param {string} version \n */\n constructor(specifier, version) {\n this.specifier = specifier;\n this.version = version;\n }\n /**\n * @param {number} start \n * @param {number} end \n * @returns {string}\n */\n getText(start, end) {\n const { specifier, version } = this;\n debug(\n `snapshot.getText(${start}, ${end}) specifier: ${specifier} version: ${version}`,\n );\n return core.jsonOpSync(\"op_get_text\", { specifier, version, start, end });\n }\n /**\n * @returns {number}\n */\n getLength() {\n const { specifier, version } = this;\n debug(`snapshot.getLength() specifier: ${specifier} version: ${version}`);\n return core.jsonOpSync(\"op_get_length\", { specifier, version });\n }\n /**\n * @param {ScriptSnapshot} oldSnapshot\n * @returns {ts.TextChangeRange | undefined}\n */\n getChangeRange(oldSnapshot) {\n const { specifier, version } = this;\n const { version: oldVersion } = oldSnapshot;\n const oldLength = oldSnapshot.getLength();\n debug(\n `snapshot.getLength() specifier: ${specifier} oldVersion: ${oldVersion} version: ${version}`,\n );\n return core.jsonOpSync(\n \"op_get_change_range\",\n { specifier, oldLength, oldVersion, version },\n );\n }\n dispose() {\n const { specifier, version } = this;\n debug(`snapshot.dispose() specifier: ${specifier} version: ${version}`);\n core.jsonOpSync(\"op_dispose\", { specifier, version });\n }\n }\n\n /** @type {ts.CompilerOptions} */\n let compilationSettings = {};\n\n /** @type {ts.LanguageService} */\n let languageService;\n\n /** An object literal of the incremental compiler host, which provides the\n * specific \"bindings\" to the Deno environment that tsc needs to work.\n *\n * @type {ts.CompilerHost & ts.LanguageServiceHost} */\n const host = {\n fileExists(fileName) {\n debug(`host.fileExists(\"${fileName}\")`);\n return false;\n },\n readFile(specifier) {\n debug(`host.readFile(\"${specifier}\")`);\n return core.jsonOpSync(\"op_load\", { specifier }).data;\n },\n getSourceFile(\n specifier,\n languageVersion,\n _onError,\n _shouldCreateNewSourceFile,\n ) {\n debug(\n `host.getSourceFile(\"${specifier}\", ${\n ts.ScriptTarget[languageVersion]\n })`,\n );\n let sourceFile = sourceFileCache.get(specifier);\n if (sourceFile) {\n return sourceFile;\n }\n\n /** @type {{ data: string; hash?: string; scriptKind: ts.ScriptKind }} */\n const { data, hash, scriptKind } = core.jsonOpSync(\n \"op_load\",\n { specifier },\n );\n assert(\n data != null,\n `\"data\" is unexpectedly null for \"${specifier}\".`,\n );\n sourceFile = ts.createSourceFile(\n specifier,\n data,\n languageVersion,\n false,\n scriptKind,\n );\n sourceFile.moduleName = specifier;\n sourceFile.version = hash;\n sourceFileCache.set(specifier, sourceFile);\n return sourceFile;\n },\n getDefaultLibFileName() {\n return `${ASSETS}/lib.esnext.d.ts`;\n },\n getDefaultLibLocation() {\n return ASSETS;\n },\n writeFile(fileName, data, _writeByteOrderMark, _onError, sourceFiles) {\n debug(`host.writeFile(\"${fileName}\")`);\n let maybeSpecifiers;\n if (sourceFiles) {\n maybeSpecifiers = sourceFiles.map((sf) => sf.moduleName);\n }\n return core.jsonOpSync(\n \"op_emit\",\n { maybeSpecifiers, fileName, data },\n );\n },\n getCurrentDirectory() {\n return CACHE;\n },\n getCanonicalFileName(fileName) {\n return fileName;\n },\n useCaseSensitiveFileNames() {\n return true;\n },\n getNewLine() {\n return \"\\n\";\n },\n resolveModuleNames(specifiers, base) {\n debug(`host.resolveModuleNames()`);\n debug(` base: ${base}`);\n debug(` specifiers: ${specifiers.join(\", \")}`);\n /** @type {Array<[string, ts.Extension] | undefined>} */\n const resolved = core.jsonOpSync(\"op_resolve\", {\n specifiers,\n base,\n });\n if (resolved) {\n const result = resolved.map((item) => {\n if (item) {\n const [resolvedFileName, extension] = item;\n return {\n resolvedFileName,\n extension,\n isExternalLibraryImport: false,\n };\n }\n return undefined;\n });\n result.length = specifiers.length;\n return result;\n } else {\n return new Array(specifiers.length);\n }\n },\n createHash(data) {\n return core.jsonOpSync(\"op_create_hash\", { data }).hash;\n },\n\n // LanguageServiceHost\n getCompilationSettings() {\n debug(\"host.getCompilationSettings()\");\n return compilationSettings;\n },\n getScriptFileNames() {\n debug(\"host.getScriptFileNames()\");\n return core.jsonOpSync(\"op_script_names\", undefined);\n },\n getScriptVersion(specifier) {\n debug(`host.getScriptVersion(\"${specifier}\")`);\n const sourceFile = sourceFileCache.get(specifier);\n if (sourceFile) {\n return sourceFile.version ?? \"1\";\n }\n return core.jsonOpSync(\"op_script_version\", { specifier });\n },\n getScriptSnapshot(specifier) {\n debug(`host.getScriptSnapshot(\"${specifier}\")`);\n const sourceFile = sourceFileCache.get(specifier);\n if (sourceFile) {\n return {\n getText(start, end) {\n return sourceFile.text.substring(start, end);\n },\n getLength() {\n return sourceFile.text.length;\n },\n getChangeRange() {\n return undefined;\n },\n };\n }\n /** @type {string | undefined} */\n const version = core.jsonOpSync(\"op_script_version\", { specifier });\n if (version != null) {\n return new ScriptSnapshot(specifier, version);\n }\n return undefined;\n },\n };\n\n /** @type {Array<[string, number]>} */\n const stats = [];\n let statsStart = 0;\n\n function performanceStart() {\n stats.length = 0;\n statsStart = Date.now();\n ts.performance.enable();\n }\n\n /**\n * @param {{ program: ts.Program | ts.EmitAndSemanticDiagnosticsBuilderProgram, fileCount?: number }} options \n */\n function performanceProgram({ program, fileCount }) {\n if (program) {\n if (\"getProgram\" in program) {\n program = program.getProgram();\n }\n stats.push([\"Files\", program.getSourceFiles().length]);\n stats.push([\"Nodes\", program.getNodeCount()]);\n stats.push([\"Identifiers\", program.getIdentifierCount()]);\n stats.push([\"Symbols\", program.getSymbolCount()]);\n stats.push([\"Types\", program.getTypeCount()]);\n stats.push([\"Instantiations\", program.getInstantiationCount()]);\n } else if (fileCount != null) {\n stats.push([\"Files\", fileCount]);\n }\n const programTime = ts.performance.getDuration(\"Program\");\n const bindTime = ts.performance.getDuration(\"Bind\");\n const checkTime = ts.performance.getDuration(\"Check\");\n const emitTime = ts.performance.getDuration(\"Emit\");\n stats.push([\"Parse time\", programTime]);\n stats.push([\"Bind time\", bindTime]);\n stats.push([\"Check time\", checkTime]);\n stats.push([\"Emit time\", emitTime]);\n stats.push(\n [\"Total TS time\", programTime + bindTime + checkTime + emitTime],\n );\n }\n\n function performanceEnd() {\n const duration = Date.now() - statsStart;\n stats.push([\"Compile time\", duration]);\n return stats;\n }\n\n /**\n * @typedef {object} Request\n * @property {Record<string, any>} config\n * @property {boolean} debug\n * @property {string[]} rootNames\n */\n\n /** The API that is called by Rust when executing a request.\n * @param {Request} request\n */\n function exec({ config, debug: debugFlag, rootNames }) {\n setLogDebug(debugFlag, \"TS\");\n performanceStart();\n debug(\">>> exec start\", { rootNames });\n debug(config);\n\n const { options, errors: configFileParsingDiagnostics } = ts\n .convertCompilerOptionsFromJson(config, \"\");\n // The `allowNonTsExtensions` is a \"hidden\" compiler option used in VSCode\n // which is not allowed to be passed in JSON, we need it to allow special\n // URLs which Deno supports. So we need to either ignore the diagnostic, or\n // inject it ourselves.\n Object.assign(options, { allowNonTsExtensions: true });\n const program = ts.createIncrementalProgram({\n rootNames,\n options,\n host,\n configFileParsingDiagnostics,\n });\n\n const { diagnostics: emitDiagnostics } = program.emit();\n\n const diagnostics = [\n ...program.getConfigFileParsingDiagnostics(),\n ...program.getSyntacticDiagnostics(),\n ...program.getOptionsDiagnostics(),\n ...program.getGlobalDiagnostics(),\n ...program.getSemanticDiagnostics(),\n ...emitDiagnostics,\n ].filter(({ code }) => !IGNORED_DIAGNOSTICS.includes(code));\n performanceProgram({ program });\n\n core.jsonOpSync(\"op_respond\", {\n diagnostics: fromTypeScriptDiagnostic(diagnostics),\n stats: performanceEnd(),\n });\n debug(\"<<< exec stop\");\n }\n\n /**\n * @param {number} id \n * @param {any} data \n */\n function respond(id, data = null) {\n core.jsonOpSync(\"op_respond\", { id, data });\n }\n\n /**\n * @param {LanguageServerRequest} request \n */\n function serverRequest({ id, ...request }) {\n debug(`serverRequest()`, { id, ...request });\n switch (request.method) {\n case \"configure\": {\n const { options, errors } = ts\n .convertCompilerOptionsFromJson(request.compilerOptions, \"\");\n Object.assign(options, { allowNonTsExtensions: true });\n if (errors.length) {\n debug(ts.formatDiagnostics(errors, host));\n }\n compilationSettings = options;\n return respond(id, true);\n }\n case \"getAsset\": {\n const sourceFile = host.getSourceFile(\n request.specifier,\n ts.ScriptTarget.ESNext,\n );\n return respond(id, sourceFile && sourceFile.text);\n }\n case \"getDiagnostics\": {\n try {\n /** @type {Record<string, any[]>} */\n const diagnosticMap = {};\n for (const specifier of request.specifiers) {\n diagnosticMap[specifier] = fromTypeScriptDiagnostic([\n ...languageService.getSemanticDiagnostics(specifier),\n ...languageService.getSuggestionDiagnostics(specifier),\n ...languageService.getSyntacticDiagnostics(specifier),\n ].filter(({ code }) => !IGNORED_DIAGNOSTICS.includes(code)));\n }\n return respond(id, diagnosticMap);\n } catch (e) {\n if (\"stack\" in e) {\n error(e.stack);\n } else {\n error(e);\n }\n return respond(id, {});\n }\n }\n case \"getQuickInfo\": {\n return respond(\n id,\n languageService.getQuickInfoAtPosition(\n request.specifier,\n request.position,\n ),\n );\n }\n case \"getCompletions\": {\n return respond(\n id,\n languageService.getCompletionsAtPosition(\n request.specifier,\n request.position,\n request.preferences,\n ),\n );\n }\n case \"getDocumentHighlights\": {\n return respond(\n id,\n languageService.getDocumentHighlights(\n request.specifier,\n request.position,\n request.filesToSearch,\n ),\n );\n }\n case \"getReferences\": {\n return respond(\n id,\n languageService.getReferencesAtPosition(\n request.specifier,\n request.position,\n ),\n );\n }\n case \"getDefinition\": {\n return respond(\n id,\n languageService.getDefinitionAndBoundSpan(\n request.specifier,\n request.position,\n ),\n );\n }\n case \"getImplementation\": {\n return respond(\n id,\n languageService.getImplementationAtPosition(\n request.specifier,\n request.position,\n ),\n );\n }\n case \"findRenameLocations\": {\n return respond(\n id,\n languageService.findRenameLocations(\n request.specifier,\n request.position,\n request.findInStrings,\n request.findInComments,\n request.providePrefixAndSuffixTextForRename,\n ),\n );\n }\n default:\n throw new TypeError(\n // @ts-ignore exhausted case statement sets type to never\n `Invalid request method for request: \"${request.method}\" (${id})`,\n );\n }\n }\n\n /** @param {{ debug: boolean; }} init */\n function serverInit({ debug: debugFlag }) {\n if (hasStarted) {\n throw new Error(\"The language server has already been initialized.\");\n }\n hasStarted = true;\n languageService = ts.createLanguageService(host);\n core.ops();\n setLogDebug(debugFlag, \"TSLS\");\n debug(\"serverInit()\");\n }\n\n let hasStarted = false;\n\n /** Startup the runtime environment, setting various flags.\n * @param {{ debugFlag?: boolean; legacyFlag?: boolean; }} msg\n */\n function startup({ debugFlag = false }) {\n if (hasStarted) {\n throw new Error(\"The compiler runtime already started.\");\n }\n hasStarted = true;\n core.ops();\n setLogDebug(!!debugFlag, \"TS\");\n }\n\n // Setup the compiler runtime during the build process.\n core.ops();\n core.registerErrorClass(\"Error\", Error);\n\n // A build time only op that provides some setup information that is used to\n // ensure the snapshot is setup properly.\n /** @type {{ buildSpecifier: string; libs: string[] }} */\n const { buildSpecifier, libs } = core.jsonOpSync(\"op_build_info\", {});\n for (const lib of libs) {\n const specifier = `lib.${lib}.d.ts`;\n // we are using internal APIs here to \"inject\" our custom libraries into\n // tsc, so things like `\"lib\": [ \"deno.ns\" ]` are supported.\n if (!ts.libs.includes(lib)) {\n ts.libs.push(lib);\n ts.libMap.set(lib, `lib.${lib}.d.ts`);\n }\n // we are caching in memory common type libraries that will be re-used by\n // tsc on when the snapshot is restored\n assert(\n host.getSourceFile(`${ASSETS}${specifier}`, ts.ScriptTarget.ESNext),\n );\n }\n // this helps ensure as much as possible is in memory that is re-usable\n // before the snapshotting is done, which helps unsure fast \"startup\" for\n // subsequent uses of tsc in Deno.\n const TS_SNAPSHOT_PROGRAM = ts.createProgram({\n rootNames: [buildSpecifier],\n options: SNAPSHOT_COMPILE_OPTIONS,\n host,\n });\n ts.getPreEmitDiagnostics(TS_SNAPSHOT_PROGRAM);\n\n // exposes the two functions that are called by `tsc::exec()` when type\n // checking TypeScript.\n globalThis.startup = startup;\n globalThis.exec = exec;\n\n // exposes the functions that are called when the compiler is used as a\n // language service.\n globalThis.serverInit = serverInit;\n globalThis.serverRequest = serverRequest;\n})(this);\n"
}
}
diff --git a/cli/tests/testdata/types.out b/cli/tests/testdata/types.out
index 9cda650eb..089a9381f 100644
--- a/cli/tests/testdata/types.out
+++ b/cli/tests/testdata/types.out
@@ -1,4 +1,3 @@
-// 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/testdata/worker_close_in_wasm_reactions.js b/cli/tests/testdata/worker_close_in_wasm_reactions.js
index 2f5ea32d5..d87190726 100644
--- a/cli/tests/testdata/worker_close_in_wasm_reactions.js
+++ b/cli/tests/testdata/worker_close_in_wasm_reactions.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
// https://github.com/denoland/deno/issues/12263
// Test for a panic that happens when a worker is closed in the reactions of a
diff --git a/cli/tests/testdata/worker_close_nested.js b/cli/tests/testdata/worker_close_nested.js
index fd47a5ae4..e2eef29f2 100644
--- a/cli/tests/testdata/worker_close_nested.js
+++ b/cli/tests/testdata/worker_close_nested.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
// Test that closing a worker which has living child workers will automatically
// close the children.
diff --git a/cli/tests/testdata/worker_close_race.js b/cli/tests/testdata/worker_close_race.js
index 6d5bbe2c3..d8439c826 100644
--- a/cli/tests/testdata/worker_close_race.js
+++ b/cli/tests/testdata/worker_close_race.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
// https://github.com/denoland/deno/issues/11416
// Test for a race condition between a worker's `close()` and the main thread's
diff --git a/cli/tests/testdata/worker_drop_handle_race.js b/cli/tests/testdata/worker_drop_handle_race.js
index d637ac8c2..0285b55d2 100644
--- a/cli/tests/testdata/worker_drop_handle_race.js
+++ b/cli/tests/testdata/worker_drop_handle_race.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
// https://github.com/denoland/deno/issues/11342
// Test for a panic that happens when the main thread's event loop finishes
diff --git a/cli/tests/testdata/workers/close_nested_child.js b/cli/tests/testdata/workers/close_nested_child.js
index 627a176aa..15300cb03 100644
--- a/cli/tests/testdata/workers/close_nested_child.js
+++ b/cli/tests/testdata/workers/close_nested_child.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
console.log("Starting the child worker");
diff --git a/cli/tests/testdata/workers/close_nested_parent.js b/cli/tests/testdata/workers/close_nested_parent.js
index c528632ce..8b3e2cf93 100644
--- a/cli/tests/testdata/workers/close_nested_parent.js
+++ b/cli/tests/testdata/workers/close_nested_parent.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
console.log("Starting the parent worker");
diff --git a/cli/tests/testdata/workers/close_race_worker.js b/cli/tests/testdata/workers/close_race_worker.js
index f582a0d99..7646f3a67 100644
--- a/cli/tests/testdata/workers/close_race_worker.js
+++ b/cli/tests/testdata/workers/close_race_worker.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
setTimeout(() => {
self.postMessage("");
diff --git a/cli/tests/testdata/workers/http_worker.js b/cli/tests/testdata/workers/http_worker.js
index 34603ed56..43ad5e12c 100644
--- a/cli/tests/testdata/workers/http_worker.js
+++ b/cli/tests/testdata/workers/http_worker.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
const listener = Deno.listen({ hostname: "127.0.0.1", port: 4506 });
postMessage("ready");
for await (const conn of listener) {
diff --git a/cli/text_encoding.rs b/cli/text_encoding.rs
index 5c638ccd5..392bab7b8 100644
--- a/cli/text_encoding.rs
+++ b/cli/text_encoding.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use encoding_rs::*;
use std::{
diff --git a/cli/tools/coverage.rs b/cli/tools/coverage.rs
index c91fca512..888344fe1 100644
--- a/cli/tools/coverage.rs
+++ b/cli/tools/coverage.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use crate::colors;
use crate::emit;
diff --git a/cli/tools/doc.rs b/cli/tools/doc.rs
index 2b47d7008..5b258a540 100644
--- a/cli/tools/doc.rs
+++ b/cli/tools/doc.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use crate::colors;
use crate::file_fetcher::File;
diff --git a/cli/tools/fmt.rs b/cli/tools/fmt.rs
index 28256775a..1d48e7025 100644
--- a/cli/tools/fmt.rs
+++ b/cli/tools/fmt.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 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 4fbc03c0f..ac164a2f3 100644
--- a/cli/tools/installer.rs
+++ b/cli/tools/installer.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use crate::flags::CheckFlag;
use crate::flags::Flags;
diff --git a/cli/tools/lint.rs b/cli/tools/lint.rs
index 4a7e0115e..b103550e2 100644
--- a/cli/tools/lint.rs
+++ b/cli/tools/lint.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
//! This module provides file linting utilities using
//! [`deno_lint`](https://github.com/denoland/deno_lint).
diff --git a/cli/tools/mod.rs b/cli/tools/mod.rs
index 74d6431ed..83c501dde 100644
--- a/cli/tools/mod.rs
+++ b/cli/tools/mod.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
pub mod coverage;
pub mod doc;
diff --git a/cli/tools/repl/channel.rs b/cli/tools/repl/channel.rs
index a02f88523..7cc802905 100644
--- a/cli/tools/repl/channel.rs
+++ b/cli/tools/repl/channel.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use deno_core::anyhow::anyhow;
use deno_core::error::AnyError;
diff --git a/cli/tools/repl/editor.rs b/cli/tools/repl/editor.rs
index f61e53d3f..30b9fba87 100644
--- a/cli/tools/repl/editor.rs
+++ b/cli/tools/repl/editor.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use crate::colors;
use deno_ast::swc::parser::error::SyntaxError;
diff --git a/cli/tools/repl/mod.rs b/cli/tools/repl/mod.rs
index 4c8eec87a..0c9fdbfb0 100644
--- a/cli/tools/repl/mod.rs
+++ b/cli/tools/repl/mod.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use crate::proc_state::ProcState;
use deno_core::error::AnyError;
diff --git a/cli/tools/repl/session.rs b/cli/tools/repl/session.rs
index bc9f215ff..d8276396a 100644
--- a/cli/tools/repl/session.rs
+++ b/cli/tools/repl/session.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use crate::ast::transpile;
use crate::ast::Diagnostics;
diff --git a/cli/tools/standalone.rs b/cli/tools/standalone.rs
index 2277c7697..f6b89caa2 100644
--- a/cli/tools/standalone.rs
+++ b/cli/tools/standalone.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use crate::deno_dir::DenoDir;
use crate::flags::CheckFlag;
diff --git a/cli/tools/test.rs b/cli/tools/test.rs
index 3fd53d88a..e5f03a19c 100644
--- a/cli/tools/test.rs
+++ b/cli/tools/test.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use crate::ast::Location;
use crate::cache;
diff --git a/cli/tools/upgrade.rs b/cli/tools/upgrade.rs
index 49c8d7423..e9bafd9be 100644
--- a/cli/tools/upgrade.rs
+++ b/cli/tools/upgrade.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 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 b5df0c350..3dfb97588 100644
--- a/cli/tsc.rs
+++ b/cli/tsc.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use crate::config_file::TsConfig;
use crate::diagnostics::Diagnostics;
diff --git a/cli/tsc/99_main_compiler.js b/cli/tsc/99_main_compiler.js
index d309956cb..45fd7b994 100644
--- a/cli/tsc/99_main_compiler.js
+++ b/cli/tsc/99_main_compiler.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
// @ts-check
/// <reference path="./compiler.d.ts" />
diff --git a/cli/unix_util.rs b/cli/unix_util.rs
index c48c754a1..927b99d64 100644
--- a/cli/unix_util.rs
+++ b/cli/unix_util.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
/// Raise soft file descriptor limit to hard file descriptor limit.
/// This is the difference between `ulimit -n` and `ulimit -n -H`.
diff --git a/cli/version.rs b/cli/version.rs
index 8d82f5130..00301c85d 100644
--- a/cli/version.rs
+++ b/cli/version.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 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/cli/windows_util.rs b/cli/windows_util.rs
index 0f30bb04c..deab9f38a 100644
--- a/cli/windows_util.rs
+++ b/cli/windows_util.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
/// Ensures that stdin, stdout, and stderr are open and have valid HANDLEs
/// associated with them. There are many places where a `std::fs::File` is
diff --git a/core/00_primordials.js b/core/00_primordials.js
index d8704a96d..908278e21 100644
--- a/core/00_primordials.js
+++ b/core/00_primordials.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
// Based on https://github.com/nodejs/node/blob/889ad35d3d41e376870f785b0c1b669cb732013d/lib/internal/per_context/primordials.js
// Copyright Joyent, Inc. and other Node contributors.
diff --git a/core/01_core.js b/core/01_core.js
index c3fd7cf9d..66530f7d5 100644
--- a/core/01_core.js
+++ b/core/01_core.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
"use strict";
((window) => {
diff --git a/core/02_error.js b/core/02_error.js
index 4ec9f7267..756098738 100644
--- a/core/02_error.js
+++ b/core/02_error.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
"use strict";
((window) => {
diff --git a/core/Cargo.toml b/core/Cargo.toml
index 595308b41..624a57d20 100644
--- a/core/Cargo.toml
+++ b/core/Cargo.toml
@@ -1,4 +1,4 @@
-# Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+# Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
[package]
name = "deno_core"
version = "0.113.0"
diff --git a/core/async_cancel.rs b/core/async_cancel.rs
index 1cdddcdb5..4c1cded0e 100644
--- a/core/async_cancel.rs
+++ b/core/async_cancel.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use crate::RcLike;
use futures::future::FusedFuture;
diff --git a/core/async_cell.rs b/core/async_cell.rs
index 2e054d739..8798861cf 100644
--- a/core/async_cell.rs
+++ b/core/async_cell.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use std::any::type_name;
use std::any::Any;
diff --git a/core/bindings.rs b/core/bindings.rs
index 8aed39ea9..4fd2678fd 100644
--- a/core/bindings.rs
+++ b/core/bindings.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use crate::error::is_instance_of_error;
use crate::modules::get_module_type_from_assertions;
diff --git a/core/encode_decode_test.js b/core/encode_decode_test.js
index 85f787fdc..94a65dad4 100644
--- a/core/encode_decode_test.js
+++ b/core/encode_decode_test.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
"use strict";
function assert(cond) {
if (!cond) {
diff --git a/core/error.rs b/core/error.rs
index dd8d95d45..a462d3341 100644
--- a/core/error.rs
+++ b/core/error.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use anyhow::Error;
use std::borrow::Cow;
diff --git a/core/error_builder_test.js b/core/error_builder_test.js
index 1ee092522..8a3ca0383 100644
--- a/core/error_builder_test.js
+++ b/core/error_builder_test.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
const { core } = Deno;
class DOMException {
diff --git a/core/examples/disable_ops.rs b/core/examples/disable_ops.rs
index 2d28908bf..0612845c8 100644
--- a/core/examples/disable_ops.rs
+++ b/core/examples/disable_ops.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
//! This example shows you how to define ops in Rust and then call them from
//! JavaScript.
diff --git a/core/examples/eval_js_value.rs b/core/examples/eval_js_value.rs
index 682cbc608..920a3c532 100644
--- a/core/examples/eval_js_value.rs
+++ b/core/examples/eval_js_value.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
//! This example shows you how to evaluate JavaScript expression and deserialize
//! return value into a Rust object.
diff --git a/core/examples/fs_module_loader.rs b/core/examples/fs_module_loader.rs
index d5fe2c5b8..4b62b5687 100644
--- a/core/examples/fs_module_loader.rs
+++ b/core/examples/fs_module_loader.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use deno_core::anyhow::Error;
use deno_core::FsModuleLoader;
diff --git a/core/examples/hello_world.rs b/core/examples/hello_world.rs
index aa822917e..42c9779f3 100644
--- a/core/examples/hello_world.rs
+++ b/core/examples/hello_world.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
//! This example shows you how to define ops in Rust and then call them from
//! JavaScript.
diff --git a/core/examples/http_bench_json_ops.js b/core/examples/http_bench_json_ops.js
index 12d79a0ce..22e1b468c 100644
--- a/core/examples/http_bench_json_ops.js
+++ b/core/examples/http_bench_json_ops.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
// This is not a real HTTP server. We read blindly one time into 'requestBuf',
// then write this fixed 'responseBuf'. The point of this benchmark is to
// exercise the event loop in a simple yet semi-realistic way.
diff --git a/core/examples/http_bench_json_ops.rs b/core/examples/http_bench_json_ops.rs
index f1dfb1039..9e60df4a4 100644
--- a/core/examples/http_bench_json_ops.rs
+++ b/core/examples/http_bench_json_ops.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use deno_core::anyhow::Error;
use deno_core::AsyncRefCell;
use deno_core::AsyncResult;
diff --git a/core/flags.rs b/core/flags.rs
index 78ed08125..119dfb161 100644
--- a/core/flags.rs
+++ b/core/flags.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
/// Pass the command line arguments to v8.
/// Returns a vector of command line arguments that V8 did not understand.
diff --git a/core/gotham_state.rs b/core/gotham_state.rs
index 4da8ac278..6c637ac50 100644
--- a/core/gotham_state.rs
+++ b/core/gotham_state.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
// Forked from Gotham:
// https://github.com/gotham-rs/gotham/blob/bcbbf8923789e341b7a0e62c59909428ca4e22e2/gotham/src/state/mod.rs
// Copyright 2017 Gotham Project Developers. MIT license.
diff --git a/core/inspector.rs b/core/inspector.rs
index 1ce0b77ad..97a04407d 100644
--- a/core/inspector.rs
+++ b/core/inspector.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 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/core/lib.rs b/core/lib.rs
index acaa273e2..2f46c1ffc 100644
--- a/core/lib.rs
+++ b/core/lib.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
mod async_cancel;
mod async_cell;
mod bindings;
diff --git a/core/module_specifier.rs b/core/module_specifier.rs
index 0668fd016..581249f9e 100644
--- a/core/module_specifier.rs
+++ b/core/module_specifier.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use crate::normalize_path;
use std::env::current_dir;
diff --git a/core/modules.rs b/core/modules.rs
index fc505c31e..d4a0a86ef 100644
--- a/core/modules.rs
+++ b/core/modules.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use crate::bindings;
use crate::error::attach_handle_to_error;
diff --git a/core/normalize_path.rs b/core/normalize_path.rs
index a7facf4db..150f30b59 100644
--- a/core/normalize_path.rs
+++ b/core/normalize_path.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use std::path::Component;
use std::path::Path;
diff --git a/core/ops.rs b/core/ops.rs
index 6b2c06397..fbdb96fcd 100644
--- a/core/ops.rs
+++ b/core/ops.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use crate::error::type_error;
use crate::gotham_state::GothamState;
diff --git a/core/ops_json.rs b/core/ops_json.rs
index b7e833129..6d8af602f 100644
--- a/core/ops_json.rs
+++ b/core/ops_json.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use crate::ops::OpCall;
use crate::serialize_op_result;
diff --git a/core/ops_metrics.rs b/core/ops_metrics.rs
index f2e9bc255..7e45ec4ea 100644
--- a/core/ops_metrics.rs
+++ b/core/ops_metrics.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use crate::serde::Serialize;
use crate::OpId;
use std::cell::RefCell;
diff --git a/core/resources.rs b/core/resources.rs
index e1b923fd0..07d4e7041 100644
--- a/core/resources.rs
+++ b/core/resources.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
// Think of Resources as File Descriptors. They are integers that are allocated
// by the privileged side of Deno which refer to various rust objects that need
diff --git a/core/runtime.rs b/core/runtime.rs
index 1f4a958d9..fbe97fd93 100644
--- a/core/runtime.rs
+++ b/core/runtime.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use crate::bindings;
use crate::error::attach_handle_to_error;
diff --git a/core/serialize_deserialize_test.js b/core/serialize_deserialize_test.js
index b71bed0c9..c1b92a3df 100644
--- a/core/serialize_deserialize_test.js
+++ b/core/serialize_deserialize_test.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
"use strict";
function assert(cond) {
diff --git a/ext/broadcast_channel/01_broadcast_channel.js b/ext/broadcast_channel/01_broadcast_channel.js
index d1970b1eb..d89b19a1b 100644
--- a/ext/broadcast_channel/01_broadcast_channel.js
+++ b/ext/broadcast_channel/01_broadcast_channel.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
/// <reference path="../../core/internal.d.ts" />
diff --git a/ext/broadcast_channel/Cargo.toml b/ext/broadcast_channel/Cargo.toml
index 2c1041869..088cadd53 100644
--- a/ext/broadcast_channel/Cargo.toml
+++ b/ext/broadcast_channel/Cargo.toml
@@ -1,4 +1,4 @@
-# Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+# Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
[package]
name = "deno_broadcast_channel"
diff --git a/ext/broadcast_channel/in_memory_broadcast_channel.rs b/ext/broadcast_channel/in_memory_broadcast_channel.rs
index 879a3dbd5..225995747 100644
--- a/ext/broadcast_channel/in_memory_broadcast_channel.rs
+++ b/ext/broadcast_channel/in_memory_broadcast_channel.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use crate::BroadcastChannel;
use async_trait::async_trait;
diff --git a/ext/broadcast_channel/lib.rs b/ext/broadcast_channel/lib.rs
index ad6417558..0b0c2495a 100644
--- a/ext/broadcast_channel/lib.rs
+++ b/ext/broadcast_channel/lib.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
mod in_memory_broadcast_channel;
diff --git a/ext/console/01_colors.js b/ext/console/01_colors.js
index 3c7384a6c..138eaa6d9 100644
--- a/ext/console/01_colors.js
+++ b/ext/console/01_colors.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
/// <reference path="../../core/internal.d.ts" />
diff --git a/ext/console/02_console.js b/ext/console/02_console.js
index 6a80f1867..435c95187 100644
--- a/ext/console/02_console.js
+++ b/ext/console/02_console.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
/// <reference path="../../core/internal.d.ts" />
diff --git a/ext/console/Cargo.toml b/ext/console/Cargo.toml
index 594bde3e4..4af51835b 100644
--- a/ext/console/Cargo.toml
+++ b/ext/console/Cargo.toml
@@ -1,4 +1,4 @@
-# Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+# Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
[package]
name = "deno_console"
diff --git a/ext/console/lib.rs b/ext/console/lib.rs
index 40a428fa9..6c5bba9fa 100644
--- a/ext/console/lib.rs
+++ b/ext/console/lib.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use deno_core::include_js_files;
use deno_core::Extension;
diff --git a/ext/crypto/00_crypto.js b/ext/crypto/00_crypto.js
index 6408d39d4..880457416 100644
--- a/ext/crypto/00_crypto.js
+++ b/ext/crypto/00_crypto.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
// @ts-check
/// <reference path="../../core/internal.d.ts" />
diff --git a/ext/crypto/01_webidl.js b/ext/crypto/01_webidl.js
index 52f212461..39d1eb1e4 100644
--- a/ext/crypto/01_webidl.js
+++ b/ext/crypto/01_webidl.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
// @ts-check
/// <reference path="../../core/lib.deno_core.d.ts" />
diff --git a/ext/crypto/Cargo.toml b/ext/crypto/Cargo.toml
index 7838e2f40..a387644bf 100644
--- a/ext/crypto/Cargo.toml
+++ b/ext/crypto/Cargo.toml
@@ -1,4 +1,4 @@
-# Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+# Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
[package]
name = "deno_crypto"
diff --git a/ext/crypto/key.rs b/ext/crypto/key.rs
index 63d48dd10..da73d2191 100644
--- a/ext/crypto/key.rs
+++ b/ext/crypto/key.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use ring::agreement::Algorithm as RingAlgorithm;
use ring::digest;
diff --git a/ext/crypto/lib.rs b/ext/crypto/lib.rs
index c509cedd7..8cbd399ee 100644
--- a/ext/crypto/lib.rs
+++ b/ext/crypto/lib.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use deno_core::error::custom_error;
use deno_core::error::not_supported;
diff --git a/ext/fetch/01_fetch_util.js b/ext/fetch/01_fetch_util.js
index 9cf19588b..dad23b6e5 100644
--- a/ext/fetch/01_fetch_util.js
+++ b/ext/fetch/01_fetch_util.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
"use strict";
((window) => {
diff --git a/ext/fetch/20_headers.js b/ext/fetch/20_headers.js
index c6b40d520..b1299fb1b 100644
--- a/ext/fetch/20_headers.js
+++ b/ext/fetch/20_headers.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
// @ts-check
/// <reference path="../webidl/internal.d.ts" />
diff --git a/ext/fetch/21_formdata.js b/ext/fetch/21_formdata.js
index 555e31a69..cc338de72 100644
--- a/ext/fetch/21_formdata.js
+++ b/ext/fetch/21_formdata.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
// @ts-check
/// <reference path="../webidl/internal.d.ts" />
diff --git a/ext/fetch/22_body.js b/ext/fetch/22_body.js
index 4291643c0..acfd06b0f 100644
--- a/ext/fetch/22_body.js
+++ b/ext/fetch/22_body.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
// @ts-check
/// <reference path="../webidl/internal.d.ts" />
diff --git a/ext/fetch/22_http_client.js b/ext/fetch/22_http_client.js
index 174612288..44159de07 100644
--- a/ext/fetch/22_http_client.js
+++ b/ext/fetch/22_http_client.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
// @ts-check
/// <reference path="../webidl/internal.d.ts" />
diff --git a/ext/fetch/23_request.js b/ext/fetch/23_request.js
index b13b8e687..5783cac9e 100644
--- a/ext/fetch/23_request.js
+++ b/ext/fetch/23_request.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
// @ts-check
/// <reference path="../webidl/internal.d.ts" />
diff --git a/ext/fetch/23_response.js b/ext/fetch/23_response.js
index 8ac12125c..e7b205418 100644
--- a/ext/fetch/23_response.js
+++ b/ext/fetch/23_response.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
// @ts-check
/// <reference path="../webidl/internal.d.ts" />
diff --git a/ext/fetch/26_fetch.js b/ext/fetch/26_fetch.js
index 228244119..c6fc9197b 100644
--- a/ext/fetch/26_fetch.js
+++ b/ext/fetch/26_fetch.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
// @ts-check
/// <reference path="../../core/lib.deno_core.d.ts" />
diff --git a/ext/fetch/Cargo.toml b/ext/fetch/Cargo.toml
index 1e6839284..2a4cca0d6 100644
--- a/ext/fetch/Cargo.toml
+++ b/ext/fetch/Cargo.toml
@@ -1,4 +1,4 @@
-# Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+# Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
[package]
name = "deno_fetch"
diff --git a/ext/fetch/fs_fetch_handler.rs b/ext/fetch/fs_fetch_handler.rs
index 1a8fa3e6f..d0e6da307 100644
--- a/ext/fetch/fs_fetch_handler.rs
+++ b/ext/fetch/fs_fetch_handler.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use crate::CancelHandle;
use crate::CancelableResponseFuture;
diff --git a/ext/fetch/lib.rs b/ext/fetch/lib.rs
index a4cff402f..9296fb95c 100644
--- a/ext/fetch/lib.rs
+++ b/ext/fetch/lib.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
mod fs_fetch_handler;
diff --git a/ext/ffi/00_ffi.js b/ext/ffi/00_ffi.js
index 48e2e4f92..b0bdbe8cf 100644
--- a/ext/ffi/00_ffi.js
+++ b/ext/ffi/00_ffi.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
"use strict";
((window) => {
diff --git a/ext/ffi/Cargo.toml b/ext/ffi/Cargo.toml
index 018c0b341..5a5f719d7 100644
--- a/ext/ffi/Cargo.toml
+++ b/ext/ffi/Cargo.toml
@@ -1,4 +1,4 @@
-# Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+# Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
[package]
name = "deno_ffi"
diff --git a/ext/http/01_http.js b/ext/http/01_http.js
index 4922ed07a..f04ba8494 100644
--- a/ext/http/01_http.js
+++ b/ext/http/01_http.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
"use strict";
((window) => {
diff --git a/ext/http/Cargo.toml b/ext/http/Cargo.toml
index 6df72db78..03d958f2e 100644
--- a/ext/http/Cargo.toml
+++ b/ext/http/Cargo.toml
@@ -1,4 +1,4 @@
-# Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+# Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
[package]
name = "deno_http"
diff --git a/ext/http/lib.rs b/ext/http/lib.rs
index 5a14f845f..24dd77c92 100644
--- a/ext/http/lib.rs
+++ b/ext/http/lib.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use bytes::Bytes;
use deno_core::error::custom_error;
diff --git a/ext/net/01_net.js b/ext/net/01_net.js
index 0afdbeebc..4a4005954 100644
--- a/ext/net/01_net.js
+++ b/ext/net/01_net.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
"use strict";
((window) => {
diff --git a/ext/net/02_tls.js b/ext/net/02_tls.js
index 00acd7c96..90f395193 100644
--- a/ext/net/02_tls.js
+++ b/ext/net/02_tls.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
"use strict";
((window) => {
diff --git a/ext/net/04_net_unstable.js b/ext/net/04_net_unstable.js
index ca265bfaa..e22c9bf93 100644
--- a/ext/net/04_net_unstable.js
+++ b/ext/net/04_net_unstable.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
"use strict";
((window) => {
diff --git a/ext/net/Cargo.toml b/ext/net/Cargo.toml
index 7578bbdf4..4d791e930 100644
--- a/ext/net/Cargo.toml
+++ b/ext/net/Cargo.toml
@@ -1,4 +1,4 @@
-# Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+# Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
[package]
name = "deno_net"
diff --git a/ext/net/io.rs b/ext/net/io.rs
index 2b7aec446..9673a4a89 100644
--- a/ext/net/io.rs
+++ b/ext/net/io.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use deno_core::error::AnyError;
use deno_core::AsyncMutFuture;
diff --git a/ext/net/lib.rs b/ext/net/lib.rs
index bbbfb3331..15bf8a79a 100644
--- a/ext/net/lib.rs
+++ b/ext/net/lib.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
pub mod io;
pub mod ops;
diff --git a/ext/net/ops.rs b/ext/net/ops.rs
index 538eab2d9..05085b401 100644
--- a/ext/net/ops.rs
+++ b/ext/net/ops.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use crate::io::TcpStreamResource;
use crate::resolve_addr::resolve_addr;
diff --git a/ext/net/ops_tls.rs b/ext/net/ops_tls.rs
index 036aab5e6..64f1d458b 100644
--- a/ext/net/ops_tls.rs
+++ b/ext/net/ops_tls.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use crate::io::TcpStreamResource;
use crate::ops::IpAddr;
diff --git a/ext/net/ops_unix.rs b/ext/net/ops_unix.rs
index 58bfa0557..4f03ecb0a 100644
--- a/ext/net/ops_unix.rs
+++ b/ext/net/ops_unix.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use crate::io::UnixStreamResource;
use crate::ops::AcceptArgs;
diff --git a/ext/net/resolve_addr.rs b/ext/net/resolve_addr.rs
index ebf1374d1..a7bd335e6 100644
--- a/ext/net/resolve_addr.rs
+++ b/ext/net/resolve_addr.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use deno_core::error::AnyError;
use std::net::SocketAddr;
diff --git a/ext/timers/01_timers.js b/ext/timers/01_timers.js
index 6bed6ba4c..6ef2e6654 100644
--- a/ext/timers/01_timers.js
+++ b/ext/timers/01_timers.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
"use strict";
((window) => {
diff --git a/ext/timers/02_performance.js b/ext/timers/02_performance.js
index e09a6f9c0..ce04c8dcc 100644
--- a/ext/timers/02_performance.js
+++ b/ext/timers/02_performance.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
"use strict";
((window) => {
diff --git a/ext/timers/Cargo.toml b/ext/timers/Cargo.toml
index f3ac79447..2a355b254 100644
--- a/ext/timers/Cargo.toml
+++ b/ext/timers/Cargo.toml
@@ -1,4 +1,4 @@
-# Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+# Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
[package]
name = "deno_timers"
diff --git a/ext/timers/lib.rs b/ext/timers/lib.rs
index 7d0b9ddc1..63aabe9d4 100644
--- a/ext/timers/lib.rs
+++ b/ext/timers/lib.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
//! This module helps deno implement timers and performance APIs.
diff --git a/ext/tls/Cargo.toml b/ext/tls/Cargo.toml
index eb488a5e7..777e4a122 100644
--- a/ext/tls/Cargo.toml
+++ b/ext/tls/Cargo.toml
@@ -1,4 +1,4 @@
-# Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+# Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
[package]
name = "deno_tls"
diff --git a/ext/tls/lib.rs b/ext/tls/lib.rs
index a6775b95d..66545ec7d 100644
--- a/ext/tls/lib.rs
+++ b/ext/tls/lib.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
pub use rustls;
pub use rustls_native_certs;
diff --git a/ext/url/00_url.js b/ext/url/00_url.js
index b483d8bd5..4bba06ce1 100644
--- a/ext/url/00_url.js
+++ b/ext/url/00_url.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
// @ts-check
/// <reference path="../../core/internal.d.ts" />
diff --git a/ext/url/01_urlpattern.js b/ext/url/01_urlpattern.js
index b6ff9e40e..19883311f 100644
--- a/ext/url/01_urlpattern.js
+++ b/ext/url/01_urlpattern.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
// @ts-check
/// <reference path="../../core/internal.d.ts" />
diff --git a/ext/url/Cargo.toml b/ext/url/Cargo.toml
index 4924e2d68..958957c30 100644
--- a/ext/url/Cargo.toml
+++ b/ext/url/Cargo.toml
@@ -1,4 +1,4 @@
-# Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+# Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
[package]
name = "deno_url"
diff --git a/ext/url/lib.rs b/ext/url/lib.rs
index 0f8d5c599..a36c14608 100644
--- a/ext/url/lib.rs
+++ b/ext/url/lib.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
mod urlpattern;
diff --git a/ext/web/00_infra.js b/ext/web/00_infra.js
index 55cd69f7c..40595be76 100644
--- a/ext/web/00_infra.js
+++ b/ext/web/00_infra.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
// @ts-check
/// <reference path="../../core/internal.d.ts" />
diff --git a/ext/web/01_dom_exception.js b/ext/web/01_dom_exception.js
index d08a208db..44aa72abe 100644
--- a/ext/web/01_dom_exception.js
+++ b/ext/web/01_dom_exception.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
// @ts-check
/// <reference path="../../core/internal.d.ts" />
diff --git a/ext/web/01_mimesniff.js b/ext/web/01_mimesniff.js
index 360d1ffe4..c6ac7c66c 100644
--- a/ext/web/01_mimesniff.js
+++ b/ext/web/01_mimesniff.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
// @ts-check
/// <reference path="../../core/internal.d.ts" />
diff --git a/ext/web/02_event.js b/ext/web/02_event.js
index 5ca36300c..f9a69c625 100644
--- a/ext/web/02_event.js
+++ b/ext/web/02_event.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 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/ext/web/02_structured_clone.js b/ext/web/02_structured_clone.js
index 65a015a68..005b668af 100644
--- a/ext/web/02_structured_clone.js
+++ b/ext/web/02_structured_clone.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
// @ts-check
/// <reference path="../../core/lib.deno_core.d.ts" />
diff --git a/ext/web/03_abort_signal.js b/ext/web/03_abort_signal.js
index d46291b14..cd9b11d4b 100644
--- a/ext/web/03_abort_signal.js
+++ b/ext/web/03_abort_signal.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
"use strict";
// @ts-check
diff --git a/ext/web/04_global_interfaces.js b/ext/web/04_global_interfaces.js
index 8117bface..fcf8caea5 100644
--- a/ext/web/04_global_interfaces.js
+++ b/ext/web/04_global_interfaces.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
"use strict";
// @ts-check
diff --git a/ext/web/05_base64.js b/ext/web/05_base64.js
index 9c9c23b0f..e0c2a36f8 100644
--- a/ext/web/05_base64.js
+++ b/ext/web/05_base64.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
// @ts-check
/// <reference path="../../core/internal.d.ts" />
diff --git a/ext/web/06_streams.js b/ext/web/06_streams.js
index ed77dde66..b66d4dca3 100644
--- a/ext/web/06_streams.js
+++ b/ext/web/06_streams.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
// @ts-check
/// <reference path="../webidl/internal.d.ts" />
diff --git a/ext/web/08_text_encoding.js b/ext/web/08_text_encoding.js
index 692909726..cf7b7e12f 100644
--- a/ext/web/08_text_encoding.js
+++ b/ext/web/08_text_encoding.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
// @ts-check
/// <reference path="../../core/lib.deno_core.d.ts" />
diff --git a/ext/web/09_file.js b/ext/web/09_file.js
index 6681f7a13..289db22ec 100644
--- a/ext/web/09_file.js
+++ b/ext/web/09_file.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
// @ts-check
/// <reference no-default-lib="true" />
diff --git a/ext/web/10_filereader.js b/ext/web/10_filereader.js
index 9df0086b4..294d96ebd 100644
--- a/ext/web/10_filereader.js
+++ b/ext/web/10_filereader.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
// @ts-check
/// <reference no-default-lib="true" />
diff --git a/ext/web/11_blob_url.js b/ext/web/11_blob_url.js
index fa0ea041c..cd9d0929e 100644
--- a/ext/web/11_blob_url.js
+++ b/ext/web/11_blob_url.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
// @ts-check
/// <reference no-default-lib="true" />
diff --git a/ext/web/12_location.js b/ext/web/12_location.js
index 36b70b4e6..570eeab0f 100644
--- a/ext/web/12_location.js
+++ b/ext/web/12_location.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
"use strict";
/// <reference path="../../core/internal.d.ts" />
diff --git a/ext/web/13_message_port.js b/ext/web/13_message_port.js
index 1430d8327..ef332dd7a 100644
--- a/ext/web/13_message_port.js
+++ b/ext/web/13_message_port.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
// @ts-check
/// <reference path="../../core/lib.deno_core.d.ts" />
diff --git a/ext/web/Cargo.toml b/ext/web/Cargo.toml
index 816e3726f..138265ab2 100644
--- a/ext/web/Cargo.toml
+++ b/ext/web/Cargo.toml
@@ -1,4 +1,4 @@
-# Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+# Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
[package]
name = "deno_web"
diff --git a/ext/web/lib.rs b/ext/web/lib.rs
index 5f8ab1625..281e55e06 100644
--- a/ext/web/lib.rs
+++ b/ext/web/lib.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
mod blob;
mod message_port;
diff --git a/ext/webgpu/01_webgpu.js b/ext/webgpu/01_webgpu.js
index 4b5101bf4..f1d3eb120 100644
--- a/ext/webgpu/01_webgpu.js
+++ b/ext/webgpu/01_webgpu.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
// @ts-check
/// <reference path="../../core/lib.deno_core.d.ts" />
diff --git a/ext/webgpu/02_idl_types.js b/ext/webgpu/02_idl_types.js
index 6f871a4ff..3c49c1888 100644
--- a/ext/webgpu/02_idl_types.js
+++ b/ext/webgpu/02_idl_types.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
// @ts-check
/// <reference path="../web/internal.d.ts" />
diff --git a/ext/webgpu/Cargo.toml b/ext/webgpu/Cargo.toml
index 24f629007..706f07f04 100644
--- a/ext/webgpu/Cargo.toml
+++ b/ext/webgpu/Cargo.toml
@@ -1,4 +1,4 @@
-# Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+# Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
[package]
name = "deno_webgpu"
diff --git a/ext/webgpu/binding.rs b/ext/webgpu/binding.rs
index 4f68c65e9..fea99fc16 100644
--- a/ext/webgpu/binding.rs
+++ b/ext/webgpu/binding.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use deno_core::error::AnyError;
use deno_core::ResourceId;
diff --git a/ext/webgpu/buffer.rs b/ext/webgpu/buffer.rs
index 30818194f..3f2c07883 100644
--- a/ext/webgpu/buffer.rs
+++ b/ext/webgpu/buffer.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use deno_core::error::type_error;
use deno_core::error::AnyError;
diff --git a/ext/webgpu/bundle.rs b/ext/webgpu/bundle.rs
index 8b2828a30..7b32c1ece 100644
--- a/ext/webgpu/bundle.rs
+++ b/ext/webgpu/bundle.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use deno_core::error::AnyError;
use deno_core::ResourceId;
diff --git a/ext/webgpu/command_encoder.rs b/ext/webgpu/command_encoder.rs
index afffe77a0..cbd57f694 100644
--- a/ext/webgpu/command_encoder.rs
+++ b/ext/webgpu/command_encoder.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use deno_core::error::AnyError;
use deno_core::ResourceId;
diff --git a/ext/webgpu/compute_pass.rs b/ext/webgpu/compute_pass.rs
index fe1186c4e..e52db461c 100644
--- a/ext/webgpu/compute_pass.rs
+++ b/ext/webgpu/compute_pass.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use deno_core::error::AnyError;
use deno_core::ResourceId;
diff --git a/ext/webgpu/error.rs b/ext/webgpu/error.rs
index c821fbf8f..18ffdf1a8 100644
--- a/ext/webgpu/error.rs
+++ b/ext/webgpu/error.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use deno_core::error::AnyError;
use deno_core::ResourceId;
use serde::Serialize;
diff --git a/ext/webgpu/lib.rs b/ext/webgpu/lib.rs
index 0fdd30dd3..81f84f6bf 100644
--- a/ext/webgpu/lib.rs
+++ b/ext/webgpu/lib.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use deno_core::error::AnyError;
use deno_core::include_js_files;
diff --git a/ext/webgpu/pipeline.rs b/ext/webgpu/pipeline.rs
index 3b0f03540..1d22bdba0 100644
--- a/ext/webgpu/pipeline.rs
+++ b/ext/webgpu/pipeline.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use deno_core::error::AnyError;
use deno_core::ResourceId;
diff --git a/ext/webgpu/queue.rs b/ext/webgpu/queue.rs
index 79698e7b8..39bd93603 100644
--- a/ext/webgpu/queue.rs
+++ b/ext/webgpu/queue.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use std::num::NonZeroU32;
diff --git a/ext/webgpu/render_pass.rs b/ext/webgpu/render_pass.rs
index 125579b52..780b6ea57 100644
--- a/ext/webgpu/render_pass.rs
+++ b/ext/webgpu/render_pass.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use deno_core::error::type_error;
use deno_core::error::AnyError;
diff --git a/ext/webgpu/sampler.rs b/ext/webgpu/sampler.rs
index 95fb167ac..23652cc47 100644
--- a/ext/webgpu/sampler.rs
+++ b/ext/webgpu/sampler.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use deno_core::error::AnyError;
use deno_core::ResourceId;
diff --git a/ext/webgpu/shader.rs b/ext/webgpu/shader.rs
index efb67e8f0..2477beceb 100644
--- a/ext/webgpu/shader.rs
+++ b/ext/webgpu/shader.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use deno_core::error::AnyError;
use deno_core::ResourceId;
diff --git a/ext/webgpu/texture.rs b/ext/webgpu/texture.rs
index ac3ceda6a..9b007b34d 100644
--- a/ext/webgpu/texture.rs
+++ b/ext/webgpu/texture.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use deno_core::error::not_supported;
use deno_core::error::AnyError;
diff --git a/ext/webidl/00_webidl.js b/ext/webidl/00_webidl.js
index 4cbba195c..668c141cb 100644
--- a/ext/webidl/00_webidl.js
+++ b/ext/webidl/00_webidl.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
// Adapted from https://github.com/jsdom/webidl-conversions.
// Copyright Domenic Denicola. Licensed under BSD-2-Clause License.
diff --git a/ext/webidl/Cargo.toml b/ext/webidl/Cargo.toml
index 6a12b1301..6e40e2fc4 100644
--- a/ext/webidl/Cargo.toml
+++ b/ext/webidl/Cargo.toml
@@ -1,4 +1,4 @@
-# Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+# Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
[package]
name = "deno_webidl"
diff --git a/ext/webidl/lib.rs b/ext/webidl/lib.rs
index 6dda68442..ae5e6403a 100644
--- a/ext/webidl/lib.rs
+++ b/ext/webidl/lib.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use deno_core::include_js_files;
use deno_core::Extension;
diff --git a/ext/websocket/01_websocket.js b/ext/websocket/01_websocket.js
index 46cb58441..d04d7dab3 100644
--- a/ext/websocket/01_websocket.js
+++ b/ext/websocket/01_websocket.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
"use strict";
/// <reference path="../../core/internal.d.ts" />
diff --git a/ext/websocket/02_websocketstream.js b/ext/websocket/02_websocketstream.js
index d0a4e055d..0a14657e9 100644
--- a/ext/websocket/02_websocketstream.js
+++ b/ext/websocket/02_websocketstream.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
"use strict";
/// <reference path="../../core/internal.d.ts" />
diff --git a/ext/websocket/Cargo.toml b/ext/websocket/Cargo.toml
index f452da47a..5aa9fb158 100644
--- a/ext/websocket/Cargo.toml
+++ b/ext/websocket/Cargo.toml
@@ -1,4 +1,4 @@
-# Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+# Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
[package]
name = "deno_websocket"
diff --git a/ext/websocket/lib.rs b/ext/websocket/lib.rs
index 3e245afbd..9358fb4b0 100644
--- a/ext/websocket/lib.rs
+++ b/ext/websocket/lib.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use deno_core::error::invalid_hostname;
use deno_core::error::type_error;
diff --git a/ext/webstorage/01_webstorage.js b/ext/webstorage/01_webstorage.js
index 4abb64bfc..e71aafade 100644
--- a/ext/webstorage/01_webstorage.js
+++ b/ext/webstorage/01_webstorage.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
/// <reference path="../../core/internal.d.ts" />
diff --git a/ext/webstorage/Cargo.toml b/ext/webstorage/Cargo.toml
index e89326c12..4ad5381fa 100644
--- a/ext/webstorage/Cargo.toml
+++ b/ext/webstorage/Cargo.toml
@@ -1,4 +1,4 @@
-# Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+# Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
[package]
name = "deno_webstorage"
diff --git a/ext/webstorage/lib.rs b/ext/webstorage/lib.rs
index 9894c265d..ef053d2b9 100644
--- a/ext/webstorage/lib.rs
+++ b/ext/webstorage/lib.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
// NOTE to all: use **cached** prepared statements when interfacing with SQLite.
diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml
index f91585099..67fc6a82d 100644
--- a/runtime/Cargo.toml
+++ b/runtime/Cargo.toml
@@ -1,4 +1,4 @@
-# Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+# Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
[package]
name = "deno_runtime"
diff --git a/runtime/build.rs b/runtime/build.rs
index c83f13070..d1e8517b8 100644
--- a/runtime/build.rs
+++ b/runtime/build.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use std::env;
use std::path::Path;
diff --git a/runtime/colors.rs b/runtime/colors.rs
index c66f528db..f2dbf22bd 100644
--- a/runtime/colors.rs
+++ b/runtime/colors.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use once_cell::sync::Lazy;
use std::fmt;
diff --git a/runtime/errors.rs b/runtime/errors.rs
index c16572b5a..0f6df5828 100644
--- a/runtime/errors.rs
+++ b/runtime/errors.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
//! There are many types of errors in Deno:
//! - AnyError: a generic wrapper that can encapsulate any type of error.
diff --git a/runtime/examples/hello_runtime.js b/runtime/examples/hello_runtime.js
index e2db3139e..6c5679f09 100644
--- a/runtime/examples/hello_runtime.js
+++ b/runtime/examples/hello_runtime.js
@@ -1,3 +1,3 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
console.log("Hello world!");
console.log(Deno);
diff --git a/runtime/examples/hello_runtime.rs b/runtime/examples/hello_runtime.rs
index 5ff482c56..74a9ef398 100644
--- a/runtime/examples/hello_runtime.rs
+++ b/runtime/examples/hello_runtime.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use deno_core::error::AnyError;
use deno_core::FsModuleLoader;
diff --git a/runtime/fs_util.rs b/runtime/fs_util.rs
index 695b3be62..02bcddd76 100644
--- a/runtime/fs_util.rs
+++ b/runtime/fs_util.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use deno_core::anyhow::Context;
use deno_core::error::AnyError;
diff --git a/runtime/inspector_server.rs b/runtime/inspector_server.rs
index 04a8db959..899e128c7 100644
--- a/runtime/inspector_server.rs
+++ b/runtime/inspector_server.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use core::convert::Infallible as Never; // Alias for the future `!` type.
use deno_core::error::AnyError;
diff --git a/runtime/js.rs b/runtime/js.rs
index 904377b89..58053ac02 100644
--- a/runtime/js.rs
+++ b/runtime/js.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use deno_core::Snapshot;
use log::debug;
diff --git a/runtime/js/01_build.js b/runtime/js/01_build.js
index 94b0feea3..57ac13883 100644
--- a/runtime/js/01_build.js
+++ b/runtime/js/01_build.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
"use strict";
((window) => {
diff --git a/runtime/js/01_errors.js b/runtime/js/01_errors.js
index 844a8872a..ff2cf89fa 100644
--- a/runtime/js/01_errors.js
+++ b/runtime/js/01_errors.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
"use strict";
((window) => {
diff --git a/runtime/js/01_version.js b/runtime/js/01_version.js
index d25a5175d..bd89c6a1e 100644
--- a/runtime/js/01_version.js
+++ b/runtime/js/01_version.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
"use strict";
((window) => {
diff --git a/runtime/js/01_web_util.js b/runtime/js/01_web_util.js
index ca3d74826..450ad5743 100644
--- a/runtime/js/01_web_util.js
+++ b/runtime/js/01_web_util.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
"use strict";
((window) => {
diff --git a/runtime/js/06_util.js b/runtime/js/06_util.js
index 97c0adea4..9b255615e 100644
--- a/runtime/js/06_util.js
+++ b/runtime/js/06_util.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
"use strict";
((window) => {
diff --git a/runtime/js/10_permissions.js b/runtime/js/10_permissions.js
index a6884aab9..f3498b950 100644
--- a/runtime/js/10_permissions.js
+++ b/runtime/js/10_permissions.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
"use strict";
((window) => {
diff --git a/runtime/js/11_workers.js b/runtime/js/11_workers.js
index 8f0095056..4510004d6 100644
--- a/runtime/js/11_workers.js
+++ b/runtime/js/11_workers.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
"use strict";
((window) => {
diff --git a/runtime/js/12_io.js b/runtime/js/12_io.js
index 213e0a1ee..2e466c81f 100644
--- a/runtime/js/12_io.js
+++ b/runtime/js/12_io.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 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 fe5e5a223..d62092010 100644
--- a/runtime/js/13_buffer.js
+++ b/runtime/js/13_buffer.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 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_fs.js b/runtime/js/30_fs.js
index feb9f8f54..bdd575f19 100644
--- a/runtime/js/30_fs.js
+++ b/runtime/js/30_fs.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
"use strict";
((window) => {
diff --git a/runtime/js/30_os.js b/runtime/js/30_os.js
index f6bada6a5..4c3c18846 100644
--- a/runtime/js/30_os.js
+++ b/runtime/js/30_os.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
"use strict";
((window) => {
diff --git a/runtime/js/40_compiler_api.js b/runtime/js/40_compiler_api.js
index 4d5cda398..011373eb0 100644
--- a/runtime/js/40_compiler_api.js
+++ b/runtime/js/40_compiler_api.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 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 f4ab67689..a6aba7b2e 100644
--- a/runtime/js/40_diagnostics.js
+++ b/runtime/js/40_diagnostics.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 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 c8f2aff5a..7ed463273 100644
--- a/runtime/js/40_error_stack.js
+++ b/runtime/js/40_error_stack.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
"use strict";
((window) => {
diff --git a/runtime/js/40_files.js b/runtime/js/40_files.js
index dfd471750..d7768375b 100644
--- a/runtime/js/40_files.js
+++ b/runtime/js/40_files.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
"use strict";
((window) => {
diff --git a/runtime/js/40_fs_events.js b/runtime/js/40_fs_events.js
index 8402cb459..27825eaac 100644
--- a/runtime/js/40_fs_events.js
+++ b/runtime/js/40_fs_events.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
"use strict";
((window) => {
diff --git a/runtime/js/40_http.js b/runtime/js/40_http.js
index d68b4f45c..9afca0f5b 100644
--- a/runtime/js/40_http.js
+++ b/runtime/js/40_http.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
"use strict";
((window) => {
diff --git a/runtime/js/40_process.js b/runtime/js/40_process.js
index 26d452a4d..8d9f402ff 100644
--- a/runtime/js/40_process.js
+++ b/runtime/js/40_process.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
"use strict";
((window) => {
diff --git a/runtime/js/40_read_file.js b/runtime/js/40_read_file.js
index 5e90b523a..5862454db 100644
--- a/runtime/js/40_read_file.js
+++ b/runtime/js/40_read_file.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
"use strict";
((window) => {
diff --git a/runtime/js/40_signals.js b/runtime/js/40_signals.js
index 2498c40d7..d387b068f 100644
--- a/runtime/js/40_signals.js
+++ b/runtime/js/40_signals.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
"use strict";
((window) => {
diff --git a/runtime/js/40_testing.js b/runtime/js/40_testing.js
index 90da6ddb0..118db5db1 100644
--- a/runtime/js/40_testing.js
+++ b/runtime/js/40_testing.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
"use strict";
((window) => {
diff --git a/runtime/js/40_tty.js b/runtime/js/40_tty.js
index e76d7d90e..1abed5f25 100644
--- a/runtime/js/40_tty.js
+++ b/runtime/js/40_tty.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
"use strict";
((window) => {
diff --git a/runtime/js/40_write_file.js b/runtime/js/40_write_file.js
index bb3f91789..8eac953d4 100644
--- a/runtime/js/40_write_file.js
+++ b/runtime/js/40_write_file.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
"use strict";
((window) => {
const { stat, statSync, chmod, chmodSync } = window.__bootstrap.fs;
diff --git a/runtime/js/41_prompt.js b/runtime/js/41_prompt.js
index e941461de..3dc9f4a40 100644
--- a/runtime/js/41_prompt.js
+++ b/runtime/js/41_prompt.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
"use strict";
((window) => {
const { stdin } = window.__bootstrap.files;
diff --git a/runtime/js/90_deno_ns.js b/runtime/js/90_deno_ns.js
index 029423ee1..b19f6d575 100644
--- a/runtime/js/90_deno_ns.js
+++ b/runtime/js/90_deno_ns.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
"use strict";
((window) => {
diff --git a/runtime/js/99_main.js b/runtime/js/99_main.js
index 5a2d2bc3f..190ff24da 100644
--- a/runtime/js/99_main.js
+++ b/runtime/js/99_main.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 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/lib.rs b/runtime/lib.rs
index 58de3725b..fef3956ea 100644
--- a/runtime/lib.rs
+++ b/runtime/lib.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
pub use deno_broadcast_channel;
pub use deno_console;
diff --git a/runtime/ops/fs.rs b/runtime/ops/fs.rs
index 4c29898d7..bc84cffb1 100644
--- a/runtime/ops/fs.rs
+++ b/runtime/ops/fs.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
// Some deserializer fields are only used on Unix and Windows build fails without it
use super::io::StdFileResource;
use super::utils::into_string;
diff --git a/runtime/ops/fs_events.rs b/runtime/ops/fs_events.rs
index 26ad255fd..89ded2731 100644
--- a/runtime/ops/fs_events.rs
+++ b/runtime/ops/fs_events.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use crate::permissions::Permissions;
use deno_core::error::AnyError;
diff --git a/runtime/ops/io.rs b/runtime/ops/io.rs
index 89da5f508..61f1a2578 100644
--- a/runtime/ops/io.rs
+++ b/runtime/ops/io.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use deno_core::error::not_supported;
use deno_core::error::resource_unavailable;
diff --git a/runtime/ops/mod.rs b/runtime/ops/mod.rs
index f2f1bdfad..750dfe0f2 100644
--- a/runtime/ops/mod.rs
+++ b/runtime/ops/mod.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
pub mod fs;
pub mod fs_events;
diff --git a/runtime/ops/os.rs b/runtime/ops/os.rs
index bbc571cc6..877dbce21 100644
--- a/runtime/ops/os.rs
+++ b/runtime/ops/os.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use super::utils::into_string;
use crate::permissions::Permissions;
diff --git a/runtime/ops/permissions.rs b/runtime/ops/permissions.rs
index d8005a743..da82f1fd0 100644
--- a/runtime/ops/permissions.rs
+++ b/runtime/ops/permissions.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use crate::permissions::Permissions;
use deno_core::error::custom_error;
diff --git a/runtime/ops/process.rs b/runtime/ops/process.rs
index 0324cb599..eee266986 100644
--- a/runtime/ops/process.rs
+++ b/runtime/ops/process.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use super::io::ChildStderrResource;
use super::io::ChildStdinResource;
diff --git a/runtime/ops/runtime.rs b/runtime/ops/runtime.rs
index 6006716ef..19228af78 100644
--- a/runtime/ops/runtime.rs
+++ b/runtime/ops/runtime.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use crate::permissions::Permissions;
use deno_core::anyhow::Context;
diff --git a/runtime/ops/signal.rs b/runtime/ops/signal.rs
index f260c611c..7f897c048 100644
--- a/runtime/ops/signal.rs
+++ b/runtime/ops/signal.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
#[cfg(not(unix))]
use deno_core::error::generic_error;
#[cfg(not(target_os = "windows"))]
diff --git a/runtime/ops/tty.rs b/runtime/ops/tty.rs
index 8295af1c7..ee6b112bc 100644
--- a/runtime/ops/tty.rs
+++ b/runtime/ops/tty.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use super::io::StdFileResource;
use deno_core::error::bad_resource_id;
diff --git a/runtime/ops/utils.rs b/runtime/ops/utils.rs
index 5cbbde00a..d950ae9ab 100644
--- a/runtime/ops/utils.rs
+++ b/runtime/ops/utils.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use deno_core::error::custom_error;
use deno_core::error::AnyError;
diff --git a/runtime/ops/web_worker.rs b/runtime/ops/web_worker.rs
index 14ebb8d6e..e32f2371d 100644
--- a/runtime/ops/web_worker.rs
+++ b/runtime/ops/web_worker.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
mod sync_fetch;
diff --git a/runtime/ops/web_worker/sync_fetch.rs b/runtime/ops/web_worker/sync_fetch.rs
index fafe62047..9f146b67e 100644
--- a/runtime/ops/web_worker/sync_fetch.rs
+++ b/runtime/ops/web_worker/sync_fetch.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use crate::web_worker::WebWorkerInternalHandle;
use crate::web_worker::WebWorkerType;
diff --git a/runtime/ops/worker_host.rs b/runtime/ops/worker_host.rs
index f290b3833..c241e9a54 100644
--- a/runtime/ops/worker_host.rs
+++ b/runtime/ops/worker_host.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use crate::ops::TestingFeaturesEnabled;
use crate::permissions::create_child_permissions;
diff --git a/runtime/permissions.rs b/runtime/permissions.rs
index 1b0d8b914..d4e1ec4f6 100644
--- a/runtime/permissions.rs
+++ b/runtime/permissions.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use crate::colors;
use crate::fs_util::resolve_from_cwd;
diff --git a/runtime/tokio_util.rs b/runtime/tokio_util.rs
index 695b94802..25693ae55 100644
--- a/runtime/tokio_util.rs
+++ b/runtime/tokio_util.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
pub fn create_basic_runtime() -> tokio::runtime::Runtime {
tokio::runtime::Builder::new_current_thread()
diff --git a/runtime/web_worker.rs b/runtime/web_worker.rs
index e4c727977..130b13dc0 100644
--- a/runtime/web_worker.rs
+++ b/runtime/web_worker.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use crate::colors;
use crate::inspector_server::InspectorServer;
use crate::js;
diff --git a/runtime/worker.rs b/runtime/worker.rs
index 9029ab967..ad31cacc6 100644
--- a/runtime/worker.rs
+++ b/runtime/worker.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use crate::inspector_server::InspectorServer;
use crate::js;
diff --git a/serde_v8/Cargo.toml b/serde_v8/Cargo.toml
index 864c0831d..4d8b1caa5 100644
--- a/serde_v8/Cargo.toml
+++ b/serde_v8/Cargo.toml
@@ -1,4 +1,4 @@
-# Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+# Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
[package]
name = "serde_v8"
version = "0.24.0"
diff --git a/serde_v8/benches/de.rs b/serde_v8/benches/de.rs
index 83a46eb4e..3b750ac28 100644
--- a/serde_v8/benches/de.rs
+++ b/serde_v8/benches/de.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use bencher::{benchmark_group, benchmark_main, Bencher};
use serde::Deserialize;
diff --git a/serde_v8/benches/ser.rs b/serde_v8/benches/ser.rs
index 1318f9585..8c87be261 100644
--- a/serde_v8/benches/ser.rs
+++ b/serde_v8/benches/ser.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use bencher::{benchmark_group, benchmark_main, Bencher};
use serde::Serialize;
diff --git a/serde_v8/examples/basic.rs b/serde_v8/examples/basic.rs
index ee5e28fe6..252e3fc06 100644
--- a/serde_v8/examples/basic.rs
+++ b/serde_v8/examples/basic.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use serde::Deserialize;
#[derive(Debug, Deserialize)]
diff --git a/serde_v8/src/de.rs b/serde_v8/src/de.rs
index 24023b05d..69e618cb3 100644
--- a/serde_v8/src/de.rs
+++ b/serde_v8/src/de.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use serde::de::{self, Visitor};
use serde::Deserialize;
diff --git a/serde_v8/src/error.rs b/serde_v8/src/error.rs
index 099d8493d..523dd62b0 100644
--- a/serde_v8/src/error.rs
+++ b/serde_v8/src/error.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use std::fmt::{self, Display};
use serde::{de, ser};
diff --git a/serde_v8/src/keys.rs b/serde_v8/src/keys.rs
index 783b7aaef..4811a87f8 100644
--- a/serde_v8/src/keys.rs
+++ b/serde_v8/src/keys.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use std::collections::HashMap;
// KeyCache stores a pool struct keys mapped to v8,
diff --git a/serde_v8/src/lib.rs b/serde_v8/src/lib.rs
index d97b1f1af..9d0715195 100644
--- a/serde_v8/src/lib.rs
+++ b/serde_v8/src/lib.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
mod de;
mod error;
mod keys;
diff --git a/serde_v8/src/magic/buffer.rs b/serde_v8/src/magic/buffer.rs
index 7a3a3b8ee..80f2f8bc7 100644
--- a/serde_v8/src/magic/buffer.rs
+++ b/serde_v8/src/magic/buffer.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use std::fmt;
use std::ops::Deref;
diff --git a/serde_v8/src/magic/bytestring.rs b/serde_v8/src/magic/bytestring.rs
index e90b7528e..942aec64a 100644
--- a/serde_v8/src/magic/bytestring.rs
+++ b/serde_v8/src/magic/bytestring.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use std::ops::{Deref, DerefMut};
diff --git a/serde_v8/src/magic/field.rs b/serde_v8/src/magic/field.rs
index e6bb9ee54..a188ed0e5 100644
--- a/serde_v8/src/magic/field.rs
+++ b/serde_v8/src/magic/field.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use crate::error::{Error, Result};
use serde::ser::{Impossible, Serialize, Serializer};
diff --git a/serde_v8/src/magic/mod.rs b/serde_v8/src/magic/mod.rs
index 91a09e2f4..941a69d41 100644
--- a/serde_v8/src/magic/mod.rs
+++ b/serde_v8/src/magic/mod.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
pub mod buffer;
pub mod bytestring;
mod field;
diff --git a/serde_v8/src/magic/value.rs b/serde_v8/src/magic/value.rs
index 052230007..7bd9a4059 100644
--- a/serde_v8/src/magic/value.rs
+++ b/serde_v8/src/magic/value.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use std::fmt;
use std::marker::PhantomData;
diff --git a/serde_v8/src/magic/zero_copy_buf.rs b/serde_v8/src/magic/zero_copy_buf.rs
index 5c200a842..b536f5859 100644
--- a/serde_v8/src/magic/zero_copy_buf.rs
+++ b/serde_v8/src/magic/zero_copy_buf.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use std::cell::Cell;
use std::ops::Deref;
diff --git a/serde_v8/src/payload.rs b/serde_v8/src/payload.rs
index cad9bc868..145066403 100644
--- a/serde_v8/src/payload.rs
+++ b/serde_v8/src/payload.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
// TODO: maybe add a Payload type that holds scope & v8::Value
// so it can implement Deserialize by itself
diff --git a/serde_v8/src/ser.rs b/serde_v8/src/ser.rs
index d3853f1a3..8829b9fc3 100644
--- a/serde_v8/src/ser.rs
+++ b/serde_v8/src/ser.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use serde::ser;
use serde::ser::Serialize;
diff --git a/serde_v8/src/serializable.rs b/serde_v8/src/serializable.rs
index 6cb638440..7b19ac13c 100644
--- a/serde_v8/src/serializable.rs
+++ b/serde_v8/src/serializable.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use std::any::TypeId;
use std::mem::transmute_copy;
diff --git a/serde_v8/src/utils.rs b/serde_v8/src/utils.rs
index f18d2269c..630573206 100644
--- a/serde_v8/src/utils.rs
+++ b/serde_v8/src/utils.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use std::sync::Once;
pub fn js_exec<'s>(
diff --git a/serde_v8/tests/de.rs b/serde_v8/tests/de.rs
index da850b579..2b85d8839 100644
--- a/serde_v8/tests/de.rs
+++ b/serde_v8/tests/de.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use serde::Deserialize;
use serde_v8::utils::{js_exec, v8_do};
diff --git a/serde_v8/tests/magic.rs b/serde_v8/tests/magic.rs
index 036fc5239..02fa41a68 100644
--- a/serde_v8/tests/magic.rs
+++ b/serde_v8/tests/magic.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use serde::{Deserialize, Serialize};
use serde_v8::utils::{js_exec, v8_do};
diff --git a/serde_v8/tests/ser.rs b/serde_v8/tests/ser.rs
index 951c16d55..e292e242d 100644
--- a/serde_v8/tests/ser.rs
+++ b/serde_v8/tests/ser.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use serde::Serialize;
use serde_json::json;
use serde_v8::utils::{js_exec, v8_do};
diff --git a/test_ffi/Cargo.toml b/test_ffi/Cargo.toml
index 8c9be227c..cc7708fbc 100644
--- a/test_ffi/Cargo.toml
+++ b/test_ffi/Cargo.toml
@@ -1,4 +1,4 @@
-# Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+# Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
[package]
name = "test_ffi"
diff --git a/test_ffi/src/lib.rs b/test_ffi/src/lib.rs
index b0206276a..93b274b4b 100644
--- a/test_ffi/src/lib.rs
+++ b/test_ffi/src/lib.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use std::thread::sleep;
use std::time::Duration;
diff --git a/test_ffi/tests/integration_tests.rs b/test_ffi/tests/integration_tests.rs
index 13c4e1485..9b4028978 100644
--- a/test_ffi/tests/integration_tests.rs
+++ b/test_ffi/tests/integration_tests.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use std::process::Command;
use test_util::deno_cmd;
diff --git a/test_ffi/tests/test.js b/test_ffi/tests/test.js
index db7603521..2f0465921 100644
--- a/test_ffi/tests/test.js
+++ b/test_ffi/tests/test.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
// deno-lint-ignore-file
import { assertThrows } from "../../test_util/std/testing/asserts.ts";
diff --git a/test_util/Cargo.toml b/test_util/Cargo.toml
index c545fcfea..1bcbd6052 100644
--- a/test_util/Cargo.toml
+++ b/test_util/Cargo.toml
@@ -1,4 +1,4 @@
-# Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+# Copyright 2018-2022 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 79afdde12..9eb58d91a 100644
--- a/test_util/src/lib.rs
+++ b/test_util/src/lib.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 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.
use anyhow::anyhow;
diff --git a/test_util/src/lsp.rs b/test_util/src/lsp.rs
index 6cc4576d8..92dc98102 100644
--- a/test_util/src/lsp.rs
+++ b/test_util/src/lsp.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
use super::new_deno_dir;
diff --git a/test_util/src/test_server.rs b/test_util/src/test_server.rs
index e97378b89..8678d92a7 100644
--- a/test_util/src/test_server.rs
+++ b/test_util/src/test_server.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
fn main() {
test_util::run_all_servers();
diff --git a/tools/build_benchmark_jsons.js b/tools/build_benchmark_jsons.js
index 056d22cd6..d281e7042 100755
--- a/tools/build_benchmark_jsons.js
+++ b/tools/build_benchmark_jsons.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
import { buildPath, existsSync, join } from "./util.js";
const currentDataFile = join(buildPath(), "bench.json");
diff --git a/tools/flamebench.js b/tools/flamebench.js
index bd409c86c..35f739e1e 100755
--- a/tools/flamebench.js
+++ b/tools/flamebench.js
@@ -1,5 +1,5 @@
#!/usr/bin/env -S deno run --unstable --allow-read --allow-run
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
import { join, ROOT_PATH as ROOT } from "./util.js";
async function bashOut(subcmd) {
diff --git a/tools/format.js b/tools/format.js
index a21bcd64e..392db9c17 100755
--- a/tools/format.js
+++ b/tools/format.js
@@ -1,5 +1,5 @@
#!/usr/bin/env -S deno run --unstable --allow-write --allow-read --allow-run
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
import { getPrebuiltToolPath, getSources, join, ROOT_PATH } from "./util.js";
async function dprint() {
diff --git a/tools/lint.js b/tools/lint.js
index cb9a6feff..0bbcb1fe0 100755
--- a/tools/lint.js
+++ b/tools/lint.js
@@ -1,5 +1,5 @@
#!/usr/bin/env -S deno run --unstable --allow-write --allow-read --allow-run
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
import {
buildMode,
getPrebuiltToolPath,
diff --git a/tools/util.js b/tools/util.js
index 90f72b9ef..b4742f605 100644
--- a/tools/util.js
+++ b/tools/util.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
import {
dirname,
fromFileUrl,
diff --git a/tools/wpt/testharnessreport.js b/tools/wpt/testharnessreport.js
index 24383a5b0..3368faa4e 100644
--- a/tools/wpt/testharnessreport.js
+++ b/tools/wpt/testharnessreport.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
window.add_result_callback(({ message, name, stack, status }) => {
const data = new TextEncoder().encode(