diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2021-01-10 21:59:07 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-10 21:59:07 -0500 |
commit | 2b75a1155906613df16bad9d1eb84f3dc0ba571b (patch) | |
tree | fb6fdea18d774994d902b27c9bc841d2169a0420 /runtime | |
parent | b0821fe9ce017ea1fdec191622f27c31af9c4f0f (diff) |
update copyright to 2021 (#9081)
Diffstat (limited to 'runtime')
35 files changed, 35 insertions, 35 deletions
diff --git a/runtime/build.rs b/runtime/build.rs index a34e9ffa8..5a99b86c8 100644 --- a/runtime/build.rs +++ b/runtime/build.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. use deno_core::JsRuntime; use deno_core::RuntimeOptions; diff --git a/runtime/colors.rs b/runtime/colors.rs index 93f252716..ac4643a0c 100644 --- a/runtime/colors.rs +++ b/runtime/colors.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. use regex::Regex; use std::env; diff --git a/runtime/errors.rs b/runtime/errors.rs index f82d95ed8..7c497ef32 100644 --- a/runtime/errors.rs +++ b/runtime/errors.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. //! There are many types of errors in Deno: //! - AnyError: a generic wrapper that can encapsulate any type of error. diff --git a/runtime/fs_util.rs b/runtime/fs_util.rs index 028538d4f..bf0735205 100644 --- a/runtime/fs_util.rs +++ b/runtime/fs_util.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. use deno_core::error::AnyError; pub use deno_core::normalize_path; diff --git a/runtime/http_util.rs b/runtime/http_util.rs index 4fe4dc7ec..97d6125e0 100644 --- a/runtime/http_util.rs +++ b/runtime/http_util.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. use deno_core::error::generic_error; use deno_core::error::AnyError; diff --git a/runtime/js/01_errors.js b/runtime/js/01_errors.js index d5933069b..063572231 100644 --- a/runtime/js/01_errors.js +++ b/runtime/js/01_errors.js @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. ((window) => { class NotFound extends Error { diff --git a/runtime/js/11_workers.js b/runtime/js/11_workers.js index e943d66bc..5be14d461 100644 --- a/runtime/js/11_workers.js +++ b/runtime/js/11_workers.js @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. ((window) => { const core = window.Deno.core; diff --git a/runtime/js/40_tty.js b/runtime/js/40_tty.js index 598d33237..e090121d9 100644 --- a/runtime/js/40_tty.js +++ b/runtime/js/40_tty.js @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. ((window) => { const core = window.Deno.core; diff --git a/runtime/lib.rs b/runtime/lib.rs index cc6d02681..0d2179494 100644 --- a/runtime/lib.rs +++ b/runtime/lib.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. #![deny(warnings)] diff --git a/runtime/metrics.rs b/runtime/metrics.rs index c70e0dab9..b609f2466 100644 --- a/runtime/metrics.rs +++ b/runtime/metrics.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. #[derive(Default, Debug)] pub struct Metrics { pub ops_dispatched: u64, diff --git a/runtime/ops/crypto.rs b/runtime/ops/crypto.rs index a73843a33..accd40ab5 100644 --- a/runtime/ops/crypto.rs +++ b/runtime/ops/crypto.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. use deno_crypto::op_get_random_values; use deno_crypto::rand::rngs::StdRng; use deno_crypto::rand::SeedableRng; diff --git a/runtime/ops/dispatch_minimal.rs b/runtime/ops/dispatch_minimal.rs index ae8fa819d..01a47e2ab 100644 --- a/runtime/ops/dispatch_minimal.rs +++ b/runtime/ops/dispatch_minimal.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. use deno_core::error::AnyError; use deno_core::futures::future::FutureExt; diff --git a/runtime/ops/fetch.rs b/runtime/ops/fetch.rs index 62aaf7a18..e1b43c910 100644 --- a/runtime/ops/fetch.rs +++ b/runtime/ops/fetch.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. use crate::http_util; use crate::permissions::Permissions; use deno_fetch::reqwest; diff --git a/runtime/ops/fs.rs b/runtime/ops/fs.rs index c3c97622d..3b0c02083 100644 --- a/runtime/ops/fs.rs +++ b/runtime/ops/fs.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. // Some deserializer fields are only used on Unix and Windows build fails without it use super::io::std_file_resource; use super::io::StreamResource; diff --git a/runtime/ops/fs_events.rs b/runtime/ops/fs_events.rs index 38661e1d4..c97ba0af4 100644 --- a/runtime/ops/fs_events.rs +++ b/runtime/ops/fs_events.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. use crate::permissions::Permissions; use deno_core::error::bad_resource_id; diff --git a/runtime/ops/io.rs b/runtime/ops/io.rs index de56f5b55..a8654cc29 100644 --- a/runtime/ops/io.rs +++ b/runtime/ops/io.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. use super::dispatch_minimal::minimal_op; use super::dispatch_minimal::MinimalOp; diff --git a/runtime/ops/mod.rs b/runtime/ops/mod.rs index a27122657..0da4b9771 100644 --- a/runtime/ops/mod.rs +++ b/runtime/ops/mod.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. mod dispatch_minimal; pub use dispatch_minimal::MinimalOp; diff --git a/runtime/ops/net.rs b/runtime/ops/net.rs index a2df881e6..6b7e05771 100644 --- a/runtime/ops/net.rs +++ b/runtime/ops/net.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. use crate::ops::io::FullDuplexResource; use crate::ops::io::TcpStreamResource; diff --git a/runtime/ops/net_unix.rs b/runtime/ops/net_unix.rs index 23981a7f1..ace66425c 100644 --- a/runtime/ops/net_unix.rs +++ b/runtime/ops/net_unix.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. use crate::ops::io::StreamResource; use crate::ops::net::AcceptArgs; diff --git a/runtime/ops/os.rs b/runtime/ops/os.rs index 6fd404a23..0183ffe5f 100644 --- a/runtime/ops/os.rs +++ b/runtime/ops/os.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. use crate::permissions::Permissions; use deno_core::error::AnyError; diff --git a/runtime/ops/permissions.rs b/runtime/ops/permissions.rs index 98940dfc1..86ad2206b 100644 --- a/runtime/ops/permissions.rs +++ b/runtime/ops/permissions.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. use crate::permissions::Permissions; use deno_core::error::custom_error; diff --git a/runtime/ops/plugin.rs b/runtime/ops/plugin.rs index 953d6f7d2..e972df046 100644 --- a/runtime/ops/plugin.rs +++ b/runtime/ops/plugin.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. use crate::metrics::metrics_op; use crate::permissions::Permissions; diff --git a/runtime/ops/process.rs b/runtime/ops/process.rs index b46627e21..e0a9a0795 100644 --- a/runtime/ops/process.rs +++ b/runtime/ops/process.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. use super::io::{std_file_resource, StreamResource}; use crate::permissions::Permissions; diff --git a/runtime/ops/runtime.rs b/runtime/ops/runtime.rs index cb3b53d53..b80067031 100644 --- a/runtime/ops/runtime.rs +++ b/runtime/ops/runtime.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. use crate::metrics::Metrics; use crate::permissions::Permissions; diff --git a/runtime/ops/signal.rs b/runtime/ops/signal.rs index b3891792c..2f5383525 100644 --- a/runtime/ops/signal.rs +++ b/runtime/ops/signal.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. use deno_core::error::AnyError; use deno_core::serde_json::Value; diff --git a/runtime/ops/timers.rs b/runtime/ops/timers.rs index 8037fd698..940a96a8e 100644 --- a/runtime/ops/timers.rs +++ b/runtime/ops/timers.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. //! This module helps deno implement timers. //! diff --git a/runtime/ops/tls.rs b/runtime/ops/tls.rs index 62c8fc441..9c4c9f422 100644 --- a/runtime/ops/tls.rs +++ b/runtime/ops/tls.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. use super::io::StreamResource; use super::io::TcpStreamResource; diff --git a/runtime/ops/tty.rs b/runtime/ops/tty.rs index 05536b429..dfde8e0d3 100644 --- a/runtime/ops/tty.rs +++ b/runtime/ops/tty.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. use super::io::std_file_resource; use super::io::StreamResource; diff --git a/runtime/ops/web_worker.rs b/runtime/ops/web_worker.rs index d88330a04..aeaece89e 100644 --- a/runtime/ops/web_worker.rs +++ b/runtime/ops/web_worker.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. use crate::web_worker::WebWorkerHandle; use crate::web_worker::WorkerEvent; diff --git a/runtime/ops/websocket.rs b/runtime/ops/websocket.rs index 3ecdae088..1563961d7 100644 --- a/runtime/ops/websocket.rs +++ b/runtime/ops/websocket.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. use crate::permissions::Permissions; use deno_websocket::op_ws_check_permission; use deno_websocket::op_ws_close; diff --git a/runtime/ops/worker_host.rs b/runtime/ops/worker_host.rs index da00c6e6e..d68fa02e8 100644 --- a/runtime/ops/worker_host.rs +++ b/runtime/ops/worker_host.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. use crate::permissions::resolve_fs_allowlist; use crate::permissions::PermissionState; diff --git a/runtime/permissions.rs b/runtime/permissions.rs index 66087f2e6..b88b86262 100644 --- a/runtime/permissions.rs +++ b/runtime/permissions.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. use crate::colors; use crate::fs_util::resolve_from_cwd; diff --git a/runtime/resolve_addr.rs b/runtime/resolve_addr.rs index 72c324036..ebf1374d1 100644 --- a/runtime/resolve_addr.rs +++ b/runtime/resolve_addr.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. use deno_core::error::AnyError; use std::net::SocketAddr; diff --git a/runtime/tokio_util.rs b/runtime/tokio_util.rs index b25a2994f..ef0ba5be3 100644 --- a/runtime/tokio_util.rs +++ b/runtime/tokio_util.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. pub fn create_basic_runtime() -> tokio::runtime::Runtime { tokio::runtime::Builder::new() diff --git a/runtime/worker.rs b/runtime/worker.rs index 6ebb2fb36..a619ecc4c 100644 --- a/runtime/worker.rs +++ b/runtime/worker.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. use crate::inspector::DenoInspector; use crate::inspector::InspectorServer; |