From 50a15085f7174cdfc963749effa119a71fe96038 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Sat, 13 Feb 2021 07:31:18 -0500 Subject: [PATCH] update copyrights to 2021 (#620) --- src/V8.rs | 2 +- src/array_buffer.rs | 2 +- src/binding.cc | 1 + src/context.rs | 2 +- src/data.rs | 2 +- src/date.rs | 2 +- src/external.rs | 2 +- src/external_references.rs | 2 +- src/fixed_array.rs | 2 +- src/inspector.rs | 2 +- src/isolate.rs | 2 +- src/json.rs | 2 +- src/lib.rs | 2 +- src/name.rs | 2 +- src/primitive_array.rs | 2 +- src/scope.rs | 2 +- src/script_compiler.rs | 2 +- src/script_or_module.rs | 2 +- src/shared_array_buffer.rs | 2 +- src/typed_array.rs | 2 +- src/wasm.rs | 2 +- tests/test_api.rs | 2 +- 22 files changed, 22 insertions(+), 21 deletions(-) diff --git a/src/V8.rs b/src/V8.rs index a3493348..0ecb5009 100644 --- a/src/V8.rs +++ b/src/V8.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2019-2021 the Deno authors. All rights reserved. MIT license. use libc::c_char; use libc::c_int; use std::ffi::CStr; diff --git a/src/array_buffer.rs b/src/array_buffer.rs index c87d2c7f..78751c49 100644 --- a/src/array_buffer.rs +++ b/src/array_buffer.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2019-2021 the Deno authors. All rights reserved. MIT license. use std::cell::Cell; use std::ffi::c_void; diff --git a/src/binding.cc b/src/binding.cc index f6f5bbc9..02d22501 100644 --- a/src/binding.cc +++ b/src/binding.cc @@ -1,3 +1,4 @@ +// Copyright 2019-2021 the Deno authors. All rights reserved. MIT license. #include #include #include diff --git a/src/context.rs b/src/context.rs index 52cd2b8c..cf7c2543 100644 --- a/src/context.rs +++ b/src/context.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2019-2021 the Deno authors. All rights reserved. MIT license. use crate::isolate::Isolate; use crate::Context; use crate::HandleScope; diff --git a/src/data.rs b/src/data.rs index b9e48e42..c1f85c75 100644 --- a/src/data.rs +++ b/src/data.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2019-2021 the Deno authors. All rights reserved. MIT license. use std::any::type_name; use std::convert::From; diff --git a/src/date.rs b/src/date.rs index d76a15d0..984a5272 100644 --- a/src/date.rs +++ b/src/date.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2019-2021 the Deno authors. All rights reserved. MIT license. use crate::Context; use crate::Date; diff --git a/src/external.rs b/src/external.rs index b534af29..7d31555c 100644 --- a/src/external.rs +++ b/src/external.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2019-2021 the Deno authors. All rights reserved. MIT license. use std::ffi::c_void; diff --git a/src/external_references.rs b/src/external_references.rs index 3301b968..90364bcf 100644 --- a/src/external_references.rs +++ b/src/external_references.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2019-2021 the Deno authors. All rights reserved. MIT license. use crate::support::intptr_t; use crate::AccessorNameGetterCallback; use crate::FunctionCallback; diff --git a/src/fixed_array.rs b/src/fixed_array.rs index 6dedde90..f0067642 100644 --- a/src/fixed_array.rs +++ b/src/fixed_array.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2019-2021 the Deno authors. All rights reserved. MIT license. use crate::support::int; use crate::Context; use crate::Data; diff --git a/src/inspector.rs b/src/inspector.rs index f8127361..b6cccd34 100644 --- a/src/inspector.rs +++ b/src/inspector.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2019-2021 the Deno authors. All rights reserved. MIT license. //! Bindings to the V8 Inspector API. Documentation for the V8 inspector API is //! very sparse, so here are a few references for the next sorry soul who has to diff --git a/src/isolate.rs b/src/isolate.rs index 0c212e6a..3f5887bb 100644 --- a/src/isolate.rs +++ b/src/isolate.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2019-2021 the Deno authors. All rights reserved. MIT license. use crate::function::FunctionCallbackInfo; use crate::isolate_create_params::raw; use crate::isolate_create_params::CreateParams; diff --git a/src/json.rs b/src/json.rs index 2638dea1..29354337 100644 --- a/src/json.rs +++ b/src/json.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2019-2021 the Deno authors. All rights reserved. MIT license. //! A JSON Parser and Stringifier. use crate::Context; use crate::HandleScope; diff --git a/src/lib.rs b/src/lib.rs index 7cf2efe6..7a8c484a 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2019-2021 the Deno authors. All rights reserved. MIT license. //! # Example //! diff --git a/src/name.rs b/src/name.rs index 990e9eba..98f39517 100644 --- a/src/name.rs +++ b/src/name.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2019-2021 the Deno authors. All rights reserved. MIT license. use crate::support::int; use crate::Name; diff --git a/src/primitive_array.rs b/src/primitive_array.rs index 444a1740..36b20375 100644 --- a/src/primitive_array.rs +++ b/src/primitive_array.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2019-2021 the Deno authors. All rights reserved. MIT license. use crate::support::int; use crate::HandleScope; use crate::Isolate; diff --git a/src/scope.rs b/src/scope.rs index 304f806f..535817c7 100644 --- a/src/scope.rs +++ b/src/scope.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2019-2021 the Deno authors. All rights reserved. MIT license. //! This module's public API exports a number of 'scope' types. //! diff --git a/src/script_compiler.rs b/src/script_compiler.rs index 96b6bccc..a7162d9c 100644 --- a/src/script_compiler.rs +++ b/src/script_compiler.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2019-2021 the Deno authors. All rights reserved. MIT license. use std::mem::MaybeUninit; use crate::HandleScope; diff --git a/src/script_or_module.rs b/src/script_or_module.rs index 70724801..c09d6c95 100644 --- a/src/script_or_module.rs +++ b/src/script_or_module.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2019-2021 the Deno authors. All rights reserved. MIT license. use crate::Local; use crate::PrimitiveArray; use crate::ScriptOrModule; diff --git a/src/shared_array_buffer.rs b/src/shared_array_buffer.rs index 7dd3bffd..f6403bb6 100644 --- a/src/shared_array_buffer.rs +++ b/src/shared_array_buffer.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2019-2021 the Deno authors. All rights reserved. MIT license. use std::ffi::c_void; use std::ptr::null_mut; diff --git a/src/typed_array.rs b/src/typed_array.rs index dacb1d23..b265dbde 100644 --- a/src/typed_array.rs +++ b/src/typed_array.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2019-2021 the Deno authors. All rights reserved. MIT license. use crate::ArrayBuffer; use crate::HandleScope; use crate::Local; diff --git a/src/wasm.rs b/src/wasm.rs index 3e054361..44ed1180 100644 --- a/src/wasm.rs +++ b/src/wasm.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2019-2021 the Deno authors. All rights reserved. MIT license. use crate::function::FunctionCallbackArguments; use crate::function::FunctionCallbackInfo; diff --git a/tests/test_api.rs b/tests/test_api.rs index 711d473d..9d6aa0c8 100644 --- a/tests/test_api.rs +++ b/tests/test_api.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2020 the Deno authors. All rights reserved. MIT license. +// Copyright 2019-2021 the Deno authors. All rights reserved. MIT license. use lazy_static::lazy_static; use std::any::type_name; use std::cell::RefCell;