summaryrefslogtreecommitdiff
path: root/serde_v8/src
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 /serde_v8/src
parent12423e16b7df39b2bf995efd1376ba4b6ef41e02 (diff)
chore: update copyright to 2022 (#13306)
Co-authored-by: Erfan Safari <erfanshield@outlook.com>
Diffstat (limited to 'serde_v8/src')
-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
14 files changed, 14 insertions, 14 deletions
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>(