diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2022-01-07 22:09:52 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-07 22:09:52 -0500 |
commit | 1fb5858009f598ce3f917f9f49c466db81f4d9b0 (patch) | |
tree | d11d37479040ee3adeaca5b828fddb8e7fd927a0 /core | |
parent | 12423e16b7df39b2bf995efd1376ba4b6ef41e02 (diff) |
chore: update copyright to 2022 (#13306)
Co-authored-by: Erfan Safari <erfanshield@outlook.com>
Diffstat (limited to 'core')
-rw-r--r-- | core/00_primordials.js | 2 | ||||
-rw-r--r-- | core/01_core.js | 2 | ||||
-rw-r--r-- | core/02_error.js | 2 | ||||
-rw-r--r-- | core/Cargo.toml | 2 | ||||
-rw-r--r-- | core/async_cancel.rs | 2 | ||||
-rw-r--r-- | core/async_cell.rs | 2 | ||||
-rw-r--r-- | core/bindings.rs | 2 | ||||
-rw-r--r-- | core/encode_decode_test.js | 2 | ||||
-rw-r--r-- | core/error.rs | 2 | ||||
-rw-r--r-- | core/error_builder_test.js | 2 | ||||
-rw-r--r-- | core/examples/disable_ops.rs | 2 | ||||
-rw-r--r-- | core/examples/eval_js_value.rs | 2 | ||||
-rw-r--r-- | core/examples/fs_module_loader.rs | 2 | ||||
-rw-r--r-- | core/examples/hello_world.rs | 2 | ||||
-rw-r--r-- | core/examples/http_bench_json_ops.js | 2 | ||||
-rw-r--r-- | core/examples/http_bench_json_ops.rs | 2 | ||||
-rw-r--r-- | core/flags.rs | 2 | ||||
-rw-r--r-- | core/gotham_state.rs | 2 | ||||
-rw-r--r-- | core/inspector.rs | 2 | ||||
-rw-r--r-- | core/lib.rs | 2 | ||||
-rw-r--r-- | core/module_specifier.rs | 2 | ||||
-rw-r--r-- | core/modules.rs | 2 | ||||
-rw-r--r-- | core/normalize_path.rs | 2 | ||||
-rw-r--r-- | core/ops.rs | 2 | ||||
-rw-r--r-- | core/ops_json.rs | 2 | ||||
-rw-r--r-- | core/ops_metrics.rs | 2 | ||||
-rw-r--r-- | core/resources.rs | 2 | ||||
-rw-r--r-- | core/runtime.rs | 2 | ||||
-rw-r--r-- | core/serialize_deserialize_test.js | 2 |
29 files changed, 29 insertions, 29 deletions
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) { |