summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYoshiya Hinosawa <stibium121@gmail.com>2021-04-20 14:27:36 +0900
committerGitHub <noreply@github.com>2021-04-20 14:27:36 +0900
commit8424647d22fd0c18ddefc5969250afc20fcc7a3b (patch)
tree25fc16003f23bf65b877cf96ce55f67e648cd362
parent2079da0f1ca62795c8c95dcbc5bcb8676c367f3f (diff)
chore: update copyright headers (#10243)
-rw-r--r--.github/mtime_cache/action.js1
-rw-r--r--bench_util/Cargo.toml1
-rw-r--r--bench_util/src/js_runtime.rs1
-rw-r--r--bench_util/src/lib.rs1
-rw-r--r--bench_util/src/profiling.rs1
-rw-r--r--cli/bench/deno_common.js1
-rw-r--r--cli/unix_util.rs2
-rw-r--r--core/benches/op_baseline.rs1
-rw-r--r--op_crates/file/Cargo.toml2
-rw-r--r--op_crates/url/Cargo.toml2
-rw-r--r--op_crates/web/04_global_interfaces.js1
-rw-r--r--op_crates/webgpu/Cargo.toml2
-rw-r--r--op_crates/webidl/Cargo.toml2
-rw-r--r--runtime/examples/hello_runtime.js1
-rw-r--r--runtime/ops/utils.rs1
-rw-r--r--serde_v8/Cargo.toml1
-rw-r--r--serde_v8/benches/de.rs1
-rw-r--r--serde_v8/benches/ser.rs1
-rw-r--r--serde_v8/src/magic/field.rs1
-rw-r--r--serde_v8/src/magic/mod.rs1
-rw-r--r--serde_v8/src/serializable.rs1
-rw-r--r--tools/wpt/runner.ts1
-rw-r--r--tools/wpt/testharnessreport.js1
-rw-r--r--tools/wpt/utils.ts1
24 files changed, 25 insertions, 4 deletions
diff --git a/.github/mtime_cache/action.js b/.github/mtime_cache/action.js
index ffc7caa7e..8c00f1925 100644
--- a/.github/mtime_cache/action.js
+++ b/.github/mtime_cache/action.js
@@ -1,3 +1,4 @@
+// Copyright 2018-2021 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/bench_util/Cargo.toml b/bench_util/Cargo.toml
index 834d0be53..8082291ea 100644
--- a/bench_util/Cargo.toml
+++ b/bench_util/Cargo.toml
@@ -1,3 +1,4 @@
+# Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
[package]
name = "bench_util"
version = "0.0.0"
diff --git a/bench_util/src/js_runtime.rs b/bench_util/src/js_runtime.rs
index 701849b5a..1467ee077 100644
--- a/bench_util/src/js_runtime.rs
+++ b/bench_util/src/js_runtime.rs
@@ -1,3 +1,4 @@
+// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
use bencher::Bencher;
use deno_core::v8;
use deno_core::JsRuntime;
diff --git a/bench_util/src/lib.rs b/bench_util/src/lib.rs
index 41aaf4004..943474c47 100644
--- a/bench_util/src/lib.rs
+++ b/bench_util/src/lib.rs
@@ -1,3 +1,4 @@
+// Copyright 2018-2021 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 498c70b9c..aad9f0159 100644
--- a/bench_util/src/profiling.rs
+++ b/bench_util/src/profiling.rs
@@ -1,3 +1,4 @@
+// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
use bencher::{DynBenchFn, StaticBenchFn, TestDescAndFn, TestOpts};
pub fn is_profiling() -> bool {
diff --git a/cli/bench/deno_common.js b/cli/bench/deno_common.js
index 3db1ce337..42f447e3c 100644
--- a/cli/bench/deno_common.js
+++ b/cli/bench/deno_common.js
@@ -1,3 +1,4 @@
+// Copyright 2018-2021 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/unix_util.rs b/cli/unix_util.rs
index 4aa8ef55d..c48c754a1 100644
--- a/cli/unix_util.rs
+++ b/cli/unix_util.rs
@@ -1,3 +1,5 @@
+// Copyright 2018-2021 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`.
pub fn raise_fd_limit() {
diff --git a/core/benches/op_baseline.rs b/core/benches/op_baseline.rs
index e930b009a..86c5a35ad 100644
--- a/core/benches/op_baseline.rs
+++ b/core/benches/op_baseline.rs
@@ -1,3 +1,4 @@
+// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
use deno_core::error::AnyError;
use deno_core::op_async;
use deno_core::op_sync;
diff --git a/op_crates/file/Cargo.toml b/op_crates/file/Cargo.toml
index 541e6c48e..100e71e05 100644
--- a/op_crates/file/Cargo.toml
+++ b/op_crates/file/Cargo.toml
@@ -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.
[package]
name = "deno_file"
diff --git a/op_crates/url/Cargo.toml b/op_crates/url/Cargo.toml
index 2170aa750..ab3ac9e1d 100644
--- a/op_crates/url/Cargo.toml
+++ b/op_crates/url/Cargo.toml
@@ -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.
[package]
name = "deno_url"
diff --git a/op_crates/web/04_global_interfaces.js b/op_crates/web/04_global_interfaces.js
index 74697a42e..f6846d1cd 100644
--- a/op_crates/web/04_global_interfaces.js
+++ b/op_crates/web/04_global_interfaces.js
@@ -1,3 +1,4 @@
+// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
"use strict";
((window) => {
const { EventTarget } = window;
diff --git a/op_crates/webgpu/Cargo.toml b/op_crates/webgpu/Cargo.toml
index ed4cfa7e7..a9abcf528 100644
--- a/op_crates/webgpu/Cargo.toml
+++ b/op_crates/webgpu/Cargo.toml
@@ -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.
[package]
name = "deno_webgpu"
diff --git a/op_crates/webidl/Cargo.toml b/op_crates/webidl/Cargo.toml
index 59241ed3a..ef7999f36 100644
--- a/op_crates/webidl/Cargo.toml
+++ b/op_crates/webidl/Cargo.toml
@@ -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.
[package]
name = "deno_webidl"
diff --git a/runtime/examples/hello_runtime.js b/runtime/examples/hello_runtime.js
index 46609c7a0..e2db3139e 100644
--- a/runtime/examples/hello_runtime.js
+++ b/runtime/examples/hello_runtime.js
@@ -1,2 +1,3 @@
+// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
console.log("Hello world!");
console.log(Deno);
diff --git a/runtime/ops/utils.rs b/runtime/ops/utils.rs
index 881522b07..5cbbde00a 100644
--- a/runtime/ops/utils.rs
+++ b/runtime/ops/utils.rs
@@ -1,3 +1,4 @@
+// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
use deno_core::error::custom_error;
use deno_core::error::AnyError;
diff --git a/serde_v8/Cargo.toml b/serde_v8/Cargo.toml
index c80b518bc..0efbb4128 100644
--- a/serde_v8/Cargo.toml
+++ b/serde_v8/Cargo.toml
@@ -1,3 +1,4 @@
+# Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
[package]
name = "serde_v8"
version = "0.2.0"
diff --git a/serde_v8/benches/de.rs b/serde_v8/benches/de.rs
index b3211e134..6bd4f0f9b 100644
--- a/serde_v8/benches/de.rs
+++ b/serde_v8/benches/de.rs
@@ -1,3 +1,4 @@
+// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
use bencher::{benchmark_group, benchmark_main, Bencher};
use rusty_v8 as v8;
diff --git a/serde_v8/benches/ser.rs b/serde_v8/benches/ser.rs
index 954f64dd3..d62e264cd 100644
--- a/serde_v8/benches/ser.rs
+++ b/serde_v8/benches/ser.rs
@@ -1,3 +1,4 @@
+// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
use bencher::{benchmark_group, benchmark_main, Bencher};
use rusty_v8 as v8;
diff --git a/serde_v8/src/magic/field.rs b/serde_v8/src/magic/field.rs
index 20a387d43..e6bb9ee54 100644
--- a/serde_v8/src/magic/field.rs
+++ b/serde_v8/src/magic/field.rs
@@ -1,3 +1,4 @@
+// Copyright 2018-2021 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 c34847031..50a971939 100644
--- a/serde_v8/src/magic/mod.rs
+++ b/serde_v8/src/magic/mod.rs
@@ -1,3 +1,4 @@
+// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
mod field;
mod value;
diff --git a/serde_v8/src/serializable.rs b/serde_v8/src/serializable.rs
index 198f862e0..c9182b636 100644
--- a/serde_v8/src/serializable.rs
+++ b/serde_v8/src/serializable.rs
@@ -1,3 +1,4 @@
+// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
use rusty_v8 as v8;
use std::any::TypeId;
use std::mem::transmute_copy;
diff --git a/tools/wpt/runner.ts b/tools/wpt/runner.ts
index 4949c6269..0ea14c5b7 100644
--- a/tools/wpt/runner.ts
+++ b/tools/wpt/runner.ts
@@ -1,3 +1,4 @@
+// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
import { delay, join, readLines, ROOT_PATH } from "../util.js";
import { assert, ManifestTestOptions, release, runPy } from "./utils.ts";
import { DOMParser } from "https://deno.land/x/deno_dom@v0.1.3-alpha2/deno-dom-wasm.ts";
diff --git a/tools/wpt/testharnessreport.js b/tools/wpt/testharnessreport.js
index 13c8ef683..8cff0752c 100644
--- a/tools/wpt/testharnessreport.js
+++ b/tools/wpt/testharnessreport.js
@@ -1,3 +1,4 @@
+// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
window.add_result_callback(({ message, name, stack, status }) => {
Deno.writeAllSync(
Deno.stderr,
diff --git a/tools/wpt/utils.ts b/tools/wpt/utils.ts
index 754e46766..4003d975d 100644
--- a/tools/wpt/utils.ts
+++ b/tools/wpt/utils.ts
@@ -1,3 +1,4 @@
+// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
/// FLAGS
import { parse } from "https://deno.land/std@0.84.0/flags/mod.ts";