diff options
author | Ry Dahl <ry@tinyclouds.org> | 2020-01-02 15:13:47 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-02 15:13:47 -0500 |
commit | bfab4ed0dfa5e2034005133a257201c934bc3a80 (patch) | |
tree | cd53471ad241770d3cd9a9da6246463d92e0ebeb /cli | |
parent | b0761138e5d2486c241ab8fdfa67fe2c2a0b621b (diff) |
Happy new year! (#3578)
Diffstat (limited to 'cli')
178 files changed, 178 insertions, 178 deletions
diff --git a/cli/Cargo.toml b/cli/Cargo.toml index 800464434..38eff58ac 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +# Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. [package] name = "deno_cli" diff --git a/cli/build.rs b/cli/build.rs index 365e01aa8..74e35a632 100644 --- a/cli/build.rs +++ b/cli/build.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. use std::env; use std::path::PathBuf; diff --git a/cli/colors.rs b/cli/colors.rs index 9c2c7a401..931d36de5 100644 --- a/cli/colors.rs +++ b/cli/colors.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. // TODO(ry) Replace ansi_term with termcolor. use ansi_term::Color::Black; use ansi_term::Color::Fixed; diff --git a/cli/compilers/js.rs b/cli/compilers/js.rs index 02a7cc5b1..056c71ef1 100644 --- a/cli/compilers/js.rs +++ b/cli/compilers/js.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. use crate::compilers::CompiledModule; use crate::compilers::CompiledModuleFuture; use crate::file_fetcher::SourceFile; diff --git a/cli/compilers/json.rs b/cli/compilers/json.rs index c1f63e37b..1152b27b3 100644 --- a/cli/compilers/json.rs +++ b/cli/compilers/json.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. use crate::compilers::CompiledModule; use crate::compilers::CompiledModuleFuture; use crate::file_fetcher::SourceFile; diff --git a/cli/compilers/mod.rs b/cli/compilers/mod.rs index 4f32f0b3f..a422b22b7 100644 --- a/cli/compilers/mod.rs +++ b/cli/compilers/mod.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. use deno::ErrBox; use futures::Future; diff --git a/cli/compilers/ts.rs b/cli/compilers/ts.rs index fda98a794..e97be8fe8 100644 --- a/cli/compilers/ts.rs +++ b/cli/compilers/ts.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. use crate::compilers::CompiledModule; use crate::compilers::CompiledModuleFuture; use crate::diagnostics::Diagnostic; diff --git a/cli/compilers/wasm.rs b/cli/compilers/wasm.rs index f2c0403fa..dbd951b03 100644 --- a/cli/compilers/wasm.rs +++ b/cli/compilers/wasm.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. use crate::compilers::CompiledModule; use crate::compilers::CompiledModuleFuture; use crate::file_fetcher::SourceFile; diff --git a/cli/deno_dir.rs b/cli/deno_dir.rs index ac35922eb..cac9c3739 100644 --- a/cli/deno_dir.rs +++ b/cli/deno_dir.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. use crate::disk_cache::DiskCache; use dirs; use std; diff --git a/cli/deno_error.rs b/cli/deno_error.rs index d74483df9..5db82abb2 100644 --- a/cli/deno_error.rs +++ b/cli/deno_error.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. use crate::diagnostics::Diagnostic; use crate::fmt_errors::JSError; use crate::import_map::ImportMapError; diff --git a/cli/diagnostics.rs b/cli/diagnostics.rs index 57fe56b6f..104a72c90 100644 --- a/cli/diagnostics.rs +++ b/cli/diagnostics.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. //! This module encodes TypeScript errors (diagnostics) into Rust structs and //! contains code for printing them to the console. use crate::colors; diff --git a/cli/file_fetcher.rs b/cli/file_fetcher.rs index 382ced24f..085faada2 100644 --- a/cli/file_fetcher.rs +++ b/cli/file_fetcher.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. use crate::deno_error::too_many_redirects; use crate::deno_error::DenoError; use crate::deno_error::ErrorKind; diff --git a/cli/flags.rs b/cli/flags.rs index 68f96d646..63960c118 100644 --- a/cli/flags.rs +++ b/cli/flags.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. use clap::App; use clap::AppSettings; use clap::Arg; diff --git a/cli/fmt_errors.rs b/cli/fmt_errors.rs index 8b28d7bb4..6a59019ca 100644 --- a/cli/fmt_errors.rs +++ b/cli/fmt_errors.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. //! This mod provides DenoError to unify errors across Deno. use crate::colors; use crate::source_maps::apply_source_map; @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. use std; use std::fs::{create_dir, DirBuilder, File, OpenOptions}; use std::io::ErrorKind; diff --git a/cli/global_state.rs b/cli/global_state.rs index bafee47ed..d3f29c999 100644 --- a/cli/global_state.rs +++ b/cli/global_state.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. use crate::compilers::CompiledModule; use crate::compilers::JsCompiler; use crate::compilers::JsonCompiler; diff --git a/cli/global_timer.rs b/cli/global_timer.rs index 1dba8d3b5..87c1d3a0d 100644 --- a/cli/global_timer.rs +++ b/cli/global_timer.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. //! This module helps deno implement timers. //! diff --git a/cli/http_util.rs b/cli/http_util.rs index ec5f12b6c..bbd0a1f1e 100644 --- a/cli/http_util.rs +++ b/cli/http_util.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. use crate::deno_error; use crate::deno_error::DenoError; use crate::version; diff --git a/cli/js/blob.ts b/cli/js/blob.ts index 50ab7f374..e140477fb 100644 --- a/cli/js/blob.ts +++ b/cli/js/blob.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import * as domTypes from "./dom_types.ts"; import { containsOnlyASCII, hasOwnProperty } from "./util.ts"; import { TextEncoder } from "./text_encoding.ts"; diff --git a/cli/js/blob_test.ts b/cli/js/blob_test.ts index afa1182a9..8d37252c5 100644 --- a/cli/js/blob_test.ts +++ b/cli/js/blob_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { test, assert, assertEquals } from "./test_util.ts"; test(function blobString(): void { diff --git a/cli/js/body_test.ts b/cli/js/body_test.ts index ec76e9072..bb4d0a451 100644 --- a/cli/js/body_test.ts +++ b/cli/js/body_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { test, testPerm, assertEquals, assert } from "./test_util.ts"; // just a hack to get a body object diff --git a/cli/js/buffer.ts b/cli/js/buffer.ts index dc73b7e60..2dec9fac6 100644 --- a/cli/js/buffer.ts +++ b/cli/js/buffer.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. // This code has been ported almost directly from Go's src/bytes/buffer.go // Copyright 2009 The Go Authors. All rights reserved. BSD license. diff --git a/cli/js/buffer_test.ts b/cli/js/buffer_test.ts index a157b927e..4b5701e54 100644 --- a/cli/js/buffer_test.ts +++ b/cli/js/buffer_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. // This code has been ported almost directly from Go's src/bytes/buffer_test.go // Copyright 2009 The Go Authors. All rights reserved. BSD license. diff --git a/cli/js/build.ts b/cli/js/build.ts index 942f57458..7e46ffe97 100644 --- a/cli/js/build.ts +++ b/cli/js/build.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. export type OperatingSystem = "mac" | "win" | "linux"; diff --git a/cli/js/build_test.ts b/cli/js/build_test.ts index 4423de338..3af6773aa 100644 --- a/cli/js/build_test.ts +++ b/cli/js/build_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { test, assert } from "./test_util.ts"; test(function buildInfo(): void { diff --git a/cli/js/bundler.ts b/cli/js/bundler.ts index 4285b61ad..637c11ffc 100644 --- a/cli/js/bundler.ts +++ b/cli/js/bundler.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { Console } from "./console.ts"; import * as dispatch from "./dispatch.ts"; diff --git a/cli/js/chmod.ts b/cli/js/chmod.ts index 7bf54cc5b..722a9054c 100644 --- a/cli/js/chmod.ts +++ b/cli/js/chmod.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { sendSync, sendAsync } from "./dispatch_json.ts"; import * as dispatch from "./dispatch.ts"; diff --git a/cli/js/chmod_test.ts b/cli/js/chmod_test.ts index 420f4f313..3ecb4256a 100644 --- a/cli/js/chmod_test.ts +++ b/cli/js/chmod_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { testPerm, assertEquals } from "./test_util.ts"; const isNotWindows = Deno.build.os !== "win"; diff --git a/cli/js/chown.ts b/cli/js/chown.ts index a8bad1193..373d075b0 100644 --- a/cli/js/chown.ts +++ b/cli/js/chown.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { sendSync, sendAsync } from "./dispatch_json.ts"; import * as dispatch from "./dispatch.ts"; diff --git a/cli/js/chown_test.ts b/cli/js/chown_test.ts index 84106d545..61132ae31 100644 --- a/cli/js/chown_test.ts +++ b/cli/js/chown_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { testPerm, assertEquals } from "./test_util.ts"; // chown on Windows is noop for now, so ignore its testing on Windows diff --git a/cli/js/colors.ts b/cli/js/colors.ts index 9937bdb57..21539c83e 100644 --- a/cli/js/colors.ts +++ b/cli/js/colors.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. // TODO(kitsonk) Replace with `deno_std/colors/mod.ts` when we can load modules // which end in `.ts`. diff --git a/cli/js/compiler.ts b/cli/js/compiler.ts index 35e332582..a393faac8 100644 --- a/cli/js/compiler.ts +++ b/cli/js/compiler.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. // TODO(ry) Combine this implementation with //deno_typescript/compiler_main.js import "./globals.ts"; diff --git a/cli/js/console.ts b/cli/js/console.ts index 216741a5e..f366eb776 100644 --- a/cli/js/console.ts +++ b/cli/js/console.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { isTypedArray } from "./util.ts"; import { TypedArray } from "./types.ts"; import { TextEncoder } from "./text_encoding.ts"; diff --git a/cli/js/console_test.ts b/cli/js/console_test.ts index 4edc4aec6..126ad868b 100644 --- a/cli/js/console_test.ts +++ b/cli/js/console_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { assert, assertEquals, test } from "./test_util.ts"; // Some of these APIs aren't exposed in the types and so we have to cast to any diff --git a/cli/js/copy_file.ts b/cli/js/copy_file.ts index 94d2b63db..538a7a0ba 100644 --- a/cli/js/copy_file.ts +++ b/cli/js/copy_file.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { sendSync, sendAsync } from "./dispatch_json.ts"; import * as dispatch from "./dispatch.ts"; diff --git a/cli/js/copy_file_test.ts b/cli/js/copy_file_test.ts index 72ae43f3e..88dc3fdbf 100644 --- a/cli/js/copy_file_test.ts +++ b/cli/js/copy_file_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { testPerm, assert, assertEquals } from "./test_util.ts"; function readFileString(filename: string): string { diff --git a/cli/js/core.ts b/cli/js/core.ts index d394d822f..5a60b6f86 100644 --- a/cli/js/core.ts +++ b/cli/js/core.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { window } from "./window.ts"; // This allows us to access core in API even if we diff --git a/cli/js/decode_utf8.ts b/cli/js/decode_utf8.ts index 69d4c8633..32d67b0e4 100644 --- a/cli/js/decode_utf8.ts +++ b/cli/js/decode_utf8.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. // The following code is based off: // https://github.com/inexorabletash/text-encoding // diff --git a/cli/js/deno.ts b/cli/js/deno.ts index c89313ddc..971e99f47 100644 --- a/cli/js/deno.ts +++ b/cli/js/deno.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. // Public deno module. export { dir, env, exit, isTTY, execPath, hostname } from "./os.ts"; diff --git a/cli/js/diagnostics.ts b/cli/js/diagnostics.ts index 01ca0b619..df4a9a3d3 100644 --- a/cli/js/diagnostics.ts +++ b/cli/js/diagnostics.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. // Diagnostic provides an abstraction for advice/errors received from a // compiler, which is strongly influenced by the format of TypeScript diff --git a/cli/js/dir.ts b/cli/js/dir.ts index ef1111555..d9758570e 100644 --- a/cli/js/dir.ts +++ b/cli/js/dir.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { sendSync } from "./dispatch_json.ts"; import * as dispatch from "./dispatch.ts"; diff --git a/cli/js/dir_test.ts b/cli/js/dir_test.ts index 6c4e36d7a..4b03eaedd 100644 --- a/cli/js/dir_test.ts +++ b/cli/js/dir_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { test, testPerm, assert, assertEquals } from "./test_util.ts"; test(function dirCwdNotNull(): void { diff --git a/cli/js/dispatch.ts b/cli/js/dispatch.ts index 609f83c69..b7fa94e4b 100644 --- a/cli/js/dispatch.ts +++ b/cli/js/dispatch.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import * as minimal from "./dispatch_minimal.ts"; import * as json from "./dispatch_json.ts"; import { AsyncHandler } from "./plugins.ts"; diff --git a/cli/js/dispatch_json.ts b/cli/js/dispatch_json.ts index 4cc204572..9efb4f59b 100644 --- a/cli/js/dispatch_json.ts +++ b/cli/js/dispatch_json.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import * as util from "./util.ts"; import { TextEncoder, TextDecoder } from "./text_encoding.ts"; import { core } from "./core.ts"; diff --git a/cli/js/dispatch_minimal.ts b/cli/js/dispatch_minimal.ts index 59911d6a8..32b282c20 100644 --- a/cli/js/dispatch_minimal.ts +++ b/cli/js/dispatch_minimal.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import * as util from "./util.ts"; import { core } from "./core.ts"; import { TextDecoder } from "./text_encoding.ts"; diff --git a/cli/js/dom_file.ts b/cli/js/dom_file.ts index 1f9bf93a5..2b9dbff24 100644 --- a/cli/js/dom_file.ts +++ b/cli/js/dom_file.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import * as domTypes from "./dom_types.ts"; import * as blob from "./blob.ts"; diff --git a/cli/js/dom_types.ts b/cli/js/dom_types.ts index 0b654d750..e32b5f0f1 100644 --- a/cli/js/dom_types.ts +++ b/cli/js/dom_types.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. /*! **************************************************************************** Copyright (c) Microsoft Corporation. All rights reserved. diff --git a/cli/js/dom_util.ts b/cli/js/dom_util.ts index 725a35aaf..5780d9c52 100644 --- a/cli/js/dom_util.ts +++ b/cli/js/dom_util.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. // Utility functions for DOM nodes import * as domTypes from "./dom_types.ts"; diff --git a/cli/js/error_stack.ts b/cli/js/error_stack.ts index 98b0b02d4..824fa6f87 100644 --- a/cli/js/error_stack.ts +++ b/cli/js/error_stack.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. // Some of the code here is adapted directly from V8 and licensed under a BSD // style license available here: https://github.com/v8/v8/blob/24886f2d1c565287d33d71e4109a53bf0b54b75c/LICENSE.v8 import * as dispatch from "./dispatch.ts"; diff --git a/cli/js/error_stack_test.ts b/cli/js/error_stack_test.ts index 4c7edb2fd..79711ace4 100644 --- a/cli/js/error_stack_test.ts +++ b/cli/js/error_stack_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { test, assert } from "./test_util.ts"; // eslint-disable-next-line @typescript-eslint/no-explicit-any diff --git a/cli/js/errors.ts b/cli/js/errors.ts index 286a004e4..f8210fb60 100644 --- a/cli/js/errors.ts +++ b/cli/js/errors.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. /** A Deno specific error. The `kind` property is set to a specific error code * which can be used to in application logic. diff --git a/cli/js/event.ts b/cli/js/event.ts index 3efc1c517..a30e33447 100644 --- a/cli/js/event.ts +++ b/cli/js/event.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import * as domTypes from "./dom_types.ts"; import { getPrivateValue, requiredArguments } from "./util.ts"; diff --git a/cli/js/event_target.ts b/cli/js/event_target.ts index fcd356ded..f6cb96aa2 100644 --- a/cli/js/event_target.ts +++ b/cli/js/event_target.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import * as domTypes from "./dom_types.ts"; import { DenoError, ErrorKind } from "./errors.ts"; import { hasOwnProperty, requiredArguments } from "./util.ts"; diff --git a/cli/js/event_target_test.ts b/cli/js/event_target_test.ts index 9d7e7974c..aead97ed3 100644 --- a/cli/js/event_target_test.ts +++ b/cli/js/event_target_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { test, assertEquals } from "./test_util.ts"; test(function addEventListenerTest(): void { diff --git a/cli/js/event_test.ts b/cli/js/event_test.ts index 72f4f5855..affd979ee 100644 --- a/cli/js/event_test.ts +++ b/cli/js/event_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { test, assertEquals, assertNotEquals } from "./test_util.ts"; test(function eventInitializedWithType(): void { diff --git a/cli/js/fetch.ts b/cli/js/fetch.ts index f5fb8e6bb..929b075fb 100644 --- a/cli/js/fetch.ts +++ b/cli/js/fetch.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { assert, createResolvable, diff --git a/cli/js/fetch_test.ts b/cli/js/fetch_test.ts index 4fc2339b6..97d6fd717 100644 --- a/cli/js/fetch_test.ts +++ b/cli/js/fetch_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { test, testPerm, diff --git a/cli/js/file_info.ts b/cli/js/file_info.ts index a98989e79..2f08658c7 100644 --- a/cli/js/file_info.ts +++ b/cli/js/file_info.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { StatResponse } from "./stat.ts"; /** A FileInfo describes a file and is returned by `stat`, `lstat`, diff --git a/cli/js/file_test.ts b/cli/js/file_test.ts index 345dcd8fe..2d009c0c2 100644 --- a/cli/js/file_test.ts +++ b/cli/js/file_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { test, assert, assertEquals } from "./test_util.ts"; function testFirstArgument(arg1, expectedSize): void { diff --git a/cli/js/files.ts b/cli/js/files.ts index d3a4b5809..7f68341bd 100644 --- a/cli/js/files.ts +++ b/cli/js/files.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { EOF, Reader, diff --git a/cli/js/files_test.ts b/cli/js/files_test.ts index cb33f6947..824803588 100644 --- a/cli/js/files_test.ts +++ b/cli/js/files_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { test, testPerm, assert, assertEquals } from "./test_util.ts"; test(function filesStdioFileDescriptors(): void { diff --git a/cli/js/form_data.ts b/cli/js/form_data.ts index 89efb3c00..e2dee9050 100644 --- a/cli/js/form_data.ts +++ b/cli/js/form_data.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import * as domTypes from "./dom_types.ts"; import * as blob from "./blob.ts"; import * as domFile from "./dom_file.ts"; diff --git a/cli/js/form_data_test.ts b/cli/js/form_data_test.ts index d2f76dee3..a40326fba 100644 --- a/cli/js/form_data_test.ts +++ b/cli/js/form_data_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { test, assert, assertEquals } from "./test_util.ts"; test(function formDataHasCorrectNameProp(): void { diff --git a/cli/js/format_error.ts b/cli/js/format_error.ts index 801da0d0b..d1d5a73f2 100644 --- a/cli/js/format_error.ts +++ b/cli/js/format_error.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import * as dispatch from "./dispatch.ts"; import { sendSync } from "./dispatch_json.ts"; diff --git a/cli/js/get_random_values.ts b/cli/js/get_random_values.ts index e54f34785..e8b61b268 100644 --- a/cli/js/get_random_values.ts +++ b/cli/js/get_random_values.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import * as dispatch from "./dispatch.ts"; import { sendSync } from "./dispatch_json.ts"; import { assert } from "./util.ts"; diff --git a/cli/js/get_random_values_test.ts b/cli/js/get_random_values_test.ts index 68c13d597..e4034d4ac 100644 --- a/cli/js/get_random_values_test.ts +++ b/cli/js/get_random_values_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { test, assertNotEquals, assertStrictEq } from "./test_util.ts"; test(function getRandomValuesInt8Array(): void { diff --git a/cli/js/globals.ts b/cli/js/globals.ts index 3027d60aa..eeded2f44 100644 --- a/cli/js/globals.ts +++ b/cli/js/globals.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. // This is a "special" module, in that it define the global runtime scope of // Deno, and therefore it defines a lot of the runtime environment that code // is evaluated in. We use this file to automatically build the runtime type diff --git a/cli/js/globals_test.ts b/cli/js/globals_test.ts index a4f12e5bd..d6bc87f5c 100644 --- a/cli/js/globals_test.ts +++ b/cli/js/globals_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { test, assert } from "./test_util.ts"; test(function globalThisExists(): void { diff --git a/cli/js/headers.ts b/cli/js/headers.ts index cc22077ad..36fdd824a 100644 --- a/cli/js/headers.ts +++ b/cli/js/headers.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import * as domTypes from "./dom_types.ts"; import { DomIterableMixin } from "./mixins/dom_iterable.ts"; import { requiredArguments } from "./util.ts"; diff --git a/cli/js/headers_test.ts b/cli/js/headers_test.ts index 7153eb3c6..52a4594e6 100644 --- a/cli/js/headers_test.ts +++ b/cli/js/headers_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { test, assert, assertEquals } from "./test_util.ts"; const { stringifyArgs diff --git a/cli/js/io.ts b/cli/js/io.ts index 4ca5289d1..4e839fcc2 100644 --- a/cli/js/io.ts +++ b/cli/js/io.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. // Interfaces 100% copied from Go. // Documentation liberally lifted from them too. // Thank you! We love Go! diff --git a/cli/js/lib.deno_runtime.d.ts b/cli/js/lib.deno_runtime.d.ts index a9636a4c4..85052dd16 100644 --- a/cli/js/lib.deno_runtime.d.ts +++ b/cli/js/lib.deno_runtime.d.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. /* eslint-disable @typescript-eslint/no-explicit-any */ /* eslint-disable @typescript-eslint/no-empty-interface */ diff --git a/cli/js/link.ts b/cli/js/link.ts index a6f732926..dc04d717a 100644 --- a/cli/js/link.ts +++ b/cli/js/link.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { sendSync, sendAsync } from "./dispatch_json.ts"; import * as dispatch from "./dispatch.ts"; diff --git a/cli/js/link_test.ts b/cli/js/link_test.ts index 9425e6eab..aada34b84 100644 --- a/cli/js/link_test.ts +++ b/cli/js/link_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { testPerm, assert, assertEquals } from "./test_util.ts"; testPerm({ read: true, write: true }, function linkSyncSuccess(): void { diff --git a/cli/js/location.ts b/cli/js/location.ts index d495f99ca..fdcae6abd 100644 --- a/cli/js/location.ts +++ b/cli/js/location.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { URL } from "./url.ts"; import { notImplemented } from "./util.ts"; import { Location } from "./dom_types.ts"; diff --git a/cli/js/location_test.ts b/cli/js/location_test.ts index c8daab16d..663e206ef 100644 --- a/cli/js/location_test.ts +++ b/cli/js/location_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { test, assert } from "./test_util.ts"; test(function locationBasic(): void { diff --git a/cli/js/main.ts b/cli/js/main.ts index 09e7ce453..8a0f805a8 100644 --- a/cli/js/main.ts +++ b/cli/js/main.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import "./globals.ts"; import { assert, log } from "./util.ts"; diff --git a/cli/js/make_temp_dir.ts b/cli/js/make_temp_dir.ts index 14494b5da..320f9a964 100644 --- a/cli/js/make_temp_dir.ts +++ b/cli/js/make_temp_dir.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { sendSync, sendAsync } from "./dispatch_json.ts"; import * as dispatch from "./dispatch.ts"; diff --git a/cli/js/make_temp_dir_test.ts b/cli/js/make_temp_dir_test.ts index aa44b65c5..ef6e7a67e 100644 --- a/cli/js/make_temp_dir_test.ts +++ b/cli/js/make_temp_dir_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { test, testPerm, assert, assertEquals } from "./test_util.ts"; testPerm({ write: true }, function makeTempDirSyncSuccess(): void { diff --git a/cli/js/metrics.ts b/cli/js/metrics.ts index b32c29789..90c99ff89 100644 --- a/cli/js/metrics.ts +++ b/cli/js/metrics.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import * as dispatch from "./dispatch.ts"; import { sendSync } from "./dispatch_json.ts"; diff --git a/cli/js/metrics_test.ts b/cli/js/metrics_test.ts index de41a0cb1..3fc51b78e 100644 --- a/cli/js/metrics_test.ts +++ b/cli/js/metrics_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { test, testPerm, assert } from "./test_util.ts"; test(async function metrics(): Promise<void> { diff --git a/cli/js/mkdir.ts b/cli/js/mkdir.ts index bc09ba358..c97778ffb 100644 --- a/cli/js/mkdir.ts +++ b/cli/js/mkdir.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { sendSync, sendAsync } from "./dispatch_json.ts"; import * as dispatch from "./dispatch.ts"; diff --git a/cli/js/mkdir_test.ts b/cli/js/mkdir_test.ts index 9e97265f0..c6fa6326c 100644 --- a/cli/js/mkdir_test.ts +++ b/cli/js/mkdir_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { testPerm, assert, assertEquals } from "./test_util.ts"; testPerm({ read: true, write: true }, function mkdirSyncSuccess(): void { diff --git a/cli/js/mock_builtin.js b/cli/js/mock_builtin.js index 9c6730d69..0f5bd2a44 100644 --- a/cli/js/mock_builtin.js +++ b/cli/js/mock_builtin.js @@ -1,2 +1,2 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. export default undefined; diff --git a/cli/js/net.ts b/cli/js/net.ts index 3f7785f2b..8c9fbcb39 100644 --- a/cli/js/net.ts +++ b/cli/js/net.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { EOF, Reader, Writer, Closer } from "./io.ts"; import { notImplemented } from "./util.ts"; import { read, write, close } from "./files.ts"; diff --git a/cli/js/net_test.ts b/cli/js/net_test.ts index dc7451434..926571c82 100644 --- a/cli/js/net_test.ts +++ b/cli/js/net_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { testPerm, assert, assertEquals } from "./test_util.ts"; testPerm({ net: true }, function netListenClose(): void { diff --git a/cli/js/os.ts b/cli/js/os.ts index c2d7a8f78..e0dd0752b 100644 --- a/cli/js/os.ts +++ b/cli/js/os.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { core } from "./core.ts"; import * as dispatch from "./dispatch.ts"; import { sendSync } from "./dispatch_json.ts"; diff --git a/cli/js/os_test.ts b/cli/js/os_test.ts index 749c25d83..93ba18ae6 100644 --- a/cli/js/os_test.ts +++ b/cli/js/os_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { test, testPerm, diff --git a/cli/js/performance.ts b/cli/js/performance.ts index 6ea8e56e1..37cca35ab 100644 --- a/cli/js/performance.ts +++ b/cli/js/performance.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import * as dispatch from "./dispatch.ts"; import { sendSync } from "./dispatch_json.ts"; diff --git a/cli/js/performance_test.ts b/cli/js/performance_test.ts index ac682364e..7e7f63d8c 100644 --- a/cli/js/performance_test.ts +++ b/cli/js/performance_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { testPerm, assert } from "./test_util.ts"; testPerm({ hrtime: false }, function now(): void { diff --git a/cli/js/permissions.ts b/cli/js/permissions.ts index e0fb8a84c..229f8de8b 100644 --- a/cli/js/permissions.ts +++ b/cli/js/permissions.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import * as dispatch from "./dispatch.ts"; import { sendSync } from "./dispatch_json.ts"; diff --git a/cli/js/permissions_test.ts b/cli/js/permissions_test.ts index a50718652..22e8494e9 100644 --- a/cli/js/permissions_test.ts +++ b/cli/js/permissions_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { test, testPerm, assert, assertEquals } from "./test_util.ts"; const knownPermissions: Deno.PermissionName[] = [ diff --git a/cli/js/process.ts b/cli/js/process.ts index 0c77929f9..8ad6384b7 100644 --- a/cli/js/process.ts +++ b/cli/js/process.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { sendSync, sendAsync } from "./dispatch_json.ts"; import * as dispatch from "./dispatch.ts"; import { File, close } from "./files.ts"; diff --git a/cli/js/process_test.ts b/cli/js/process_test.ts index 42db06dee..943359e54 100644 --- a/cli/js/process_test.ts +++ b/cli/js/process_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { test, testPerm, diff --git a/cli/js/read_dir.ts b/cli/js/read_dir.ts index 2fa6a566b..ba6419032 100644 --- a/cli/js/read_dir.ts +++ b/cli/js/read_dir.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { sendSync, sendAsync } from "./dispatch_json.ts"; import * as dispatch from "./dispatch.ts"; import { FileInfo, FileInfoImpl } from "./file_info.ts"; diff --git a/cli/js/read_dir_test.ts b/cli/js/read_dir_test.ts index f75aca996..8cc66caee 100644 --- a/cli/js/read_dir_test.ts +++ b/cli/js/read_dir_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { testPerm, assert, assertEquals } from "./test_util.ts"; type FileInfo = Deno.FileInfo; diff --git a/cli/js/read_file.ts b/cli/js/read_file.ts index de6630cc0..705720b05 100644 --- a/cli/js/read_file.ts +++ b/cli/js/read_file.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { open, openSync } from "./files.ts"; import { readAll, readAllSync } from "./buffer.ts"; diff --git a/cli/js/read_file_test.ts b/cli/js/read_file_test.ts index a7ffec578..d40ea1b7b 100644 --- a/cli/js/read_file_test.ts +++ b/cli/js/read_file_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { testPerm, assert, assertEquals } from "./test_util.ts"; testPerm({ read: true }, function readFileSyncSuccess(): void { diff --git a/cli/js/read_link.ts b/cli/js/read_link.ts index 861fbff0b..acd2d9189 100644 --- a/cli/js/read_link.ts +++ b/cli/js/read_link.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { sendSync, sendAsync } from "./dispatch_json.ts"; import * as dispatch from "./dispatch.ts"; diff --git a/cli/js/read_link_test.ts b/cli/js/read_link_test.ts index 83a693e3b..c8db1cb58 100644 --- a/cli/js/read_link_test.ts +++ b/cli/js/read_link_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { testPerm, assert, assertEquals } from "./test_util.ts"; testPerm({ write: true, read: true }, function readlinkSyncSuccess(): void { diff --git a/cli/js/realpath.ts b/cli/js/realpath.ts index c17a0f564..502ced3b8 100644 --- a/cli/js/realpath.ts +++ b/cli/js/realpath.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { sendSync, sendAsync } from "./dispatch_json.ts"; import * as dispatch from "./dispatch.ts"; diff --git a/cli/js/realpath_test.ts b/cli/js/realpath_test.ts index 1faac94cc..7443c7897 100644 --- a/cli/js/realpath_test.ts +++ b/cli/js/realpath_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { testPerm, assert, assertEquals } from "./test_util.ts"; testPerm({ read: true }, function realpathSyncSuccess(): void { diff --git a/cli/js/remove.ts b/cli/js/remove.ts index 36413a7c4..d65c91879 100644 --- a/cli/js/remove.ts +++ b/cli/js/remove.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { sendSync, sendAsync } from "./dispatch_json.ts"; import * as dispatch from "./dispatch.ts"; diff --git a/cli/js/remove_test.ts b/cli/js/remove_test.ts index f14386f7f..7ce727d8a 100644 --- a/cli/js/remove_test.ts +++ b/cli/js/remove_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { testPerm, assert, assertEquals } from "./test_util.ts"; // SYNC diff --git a/cli/js/rename.ts b/cli/js/rename.ts index c906ce37b..6c0b5d95d 100644 --- a/cli/js/rename.ts +++ b/cli/js/rename.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { sendSync, sendAsync } from "./dispatch_json.ts"; import * as dispatch from "./dispatch.ts"; diff --git a/cli/js/rename_test.ts b/cli/js/rename_test.ts index 43d02d419..9c60e4d8c 100644 --- a/cli/js/rename_test.ts +++ b/cli/js/rename_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { testPerm, assert, assertEquals } from "./test_util.ts"; testPerm({ read: true, write: true }, function renameSyncSuccess(): void { diff --git a/cli/js/repl.ts b/cli/js/repl.ts index cf8c9d103..922cd499d 100644 --- a/cli/js/repl.ts +++ b/cli/js/repl.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { close } from "./files.ts"; import { exit } from "./os.ts"; import { window } from "./window.ts"; diff --git a/cli/js/request.ts b/cli/js/request.ts index 345792c5c..1416a95d6 100644 --- a/cli/js/request.ts +++ b/cli/js/request.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import * as headers from "./headers.ts"; import * as body from "./body.ts"; import * as domTypes from "./dom_types.ts"; diff --git a/cli/js/request_test.ts b/cli/js/request_test.ts index 3daca8f5a..dda2804f4 100644 --- a/cli/js/request_test.ts +++ b/cli/js/request_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { test, assert, assertEquals } from "./test_util.ts"; test(function fromInit(): void { diff --git a/cli/js/resources.ts b/cli/js/resources.ts index 27598ce09..e24c1da67 100644 --- a/cli/js/resources.ts +++ b/cli/js/resources.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import * as dispatch from "./dispatch.ts"; import { sendSync } from "./dispatch_json.ts"; diff --git a/cli/js/resources_test.ts b/cli/js/resources_test.ts index fd97e121f..f0fec8089 100644 --- a/cli/js/resources_test.ts +++ b/cli/js/resources_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { test, testPerm, assertEquals } from "./test_util.ts"; test(function resourcesStdio(): void { diff --git a/cli/js/stat.ts b/cli/js/stat.ts index 1f53e6f7b..4a07eca21 100644 --- a/cli/js/stat.ts +++ b/cli/js/stat.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { sendSync, sendAsync } from "./dispatch_json.ts"; import * as dispatch from "./dispatch.ts"; import { FileInfo, FileInfoImpl } from "./file_info.ts"; diff --git a/cli/js/stat_test.ts b/cli/js/stat_test.ts index 38bd3f6c6..9e78888a3 100644 --- a/cli/js/stat_test.ts +++ b/cli/js/stat_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { testPerm, assert, assertEquals } from "./test_util.ts"; // TODO Add tests for modified, accessed, and created fields once there is a way diff --git a/cli/js/symlink.ts b/cli/js/symlink.ts index 21ebb2f59..79a79c72c 100644 --- a/cli/js/symlink.ts +++ b/cli/js/symlink.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { sendSync, sendAsync } from "./dispatch_json.ts"; import * as dispatch from "./dispatch.ts"; import * as util from "./util.ts"; diff --git a/cli/js/symlink_test.ts b/cli/js/symlink_test.ts index bce1f6ae5..b25c2e9c7 100644 --- a/cli/js/symlink_test.ts +++ b/cli/js/symlink_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { test, testPerm, assert, assertEquals } from "./test_util.ts"; testPerm({ read: true, write: true }, function symlinkSyncSuccess(): void { diff --git a/cli/js/test_util.ts b/cli/js/test_util.ts index aac70d2ed..9bbc74783 100644 --- a/cli/js/test_util.ts +++ b/cli/js/test_util.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. // // We want to test many ops in deno which have different behavior depending on // the permissions set. These tests can specify which permissions they expect, diff --git a/cli/js/text_encoding.ts b/cli/js/text_encoding.ts index fbae96109..6ca7e642f 100644 --- a/cli/js/text_encoding.ts +++ b/cli/js/text_encoding.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. // The following code is based off of text-encoding at: // https://github.com/inexorabletash/text-encoding // diff --git a/cli/js/text_encoding_test.ts b/cli/js/text_encoding_test.ts index aaa9e6b9d..2422f86f6 100644 --- a/cli/js/text_encoding_test.ts +++ b/cli/js/text_encoding_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { test, assert, assertEquals } from "./test_util.ts"; test(function btoaSuccess(): void { diff --git a/cli/js/timers.ts b/cli/js/timers.ts index a13345c40..e3b3fdd2a 100644 --- a/cli/js/timers.ts +++ b/cli/js/timers.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { assert } from "./util.ts"; import { window } from "./window.ts"; import * as dispatch from "./dispatch.ts"; diff --git a/cli/js/timers_test.ts b/cli/js/timers_test.ts index ba938f850..b71df9254 100644 --- a/cli/js/timers_test.ts +++ b/cli/js/timers_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { test, assert, assertEquals, assertNotEquals } from "./test_util.ts"; function deferred(): { diff --git a/cli/js/tls.ts b/cli/js/tls.ts index 3e38c7854..1a2c4bdfd 100644 --- a/cli/js/tls.ts +++ b/cli/js/tls.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { sendAsync, sendSync } from "./dispatch_json.ts"; import * as dispatch from "./dispatch.ts"; import { Listener, Transport, Conn, ConnImpl, ListenerImpl } from "./net.ts"; diff --git a/cli/js/tls_test.ts b/cli/js/tls_test.ts index be3d54503..da2c1cec8 100644 --- a/cli/js/tls_test.ts +++ b/cli/js/tls_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { test, testPerm, assert, assertEquals } from "./test_util.ts"; import { BufWriter, BufReader } from "../../std/io/bufio.ts"; import { TextProtoReader } from "../../std/textproto/mod.ts"; diff --git a/cli/js/truncate.ts b/cli/js/truncate.ts index 5ce7b5158..bd572e75a 100644 --- a/cli/js/truncate.ts +++ b/cli/js/truncate.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { sendSync, sendAsync } from "./dispatch_json.ts"; import * as dispatch from "./dispatch.ts"; diff --git a/cli/js/truncate_test.ts b/cli/js/truncate_test.ts index 055db8652..c8809df9e 100644 --- a/cli/js/truncate_test.ts +++ b/cli/js/truncate_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { testPerm, assertEquals } from "./test_util.ts"; function readDataSync(name: string): string { diff --git a/cli/js/ts_global.d.ts b/cli/js/ts_global.d.ts index 71a01e30e..f887d578e 100644 --- a/cli/js/ts_global.d.ts +++ b/cli/js/ts_global.d.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. // This scopes the `ts` namespace globally, which is where it exists at runtime // when building Deno, but the `typescript/lib/typescript.d.ts` is defined as a diff --git a/cli/js/type_directives.ts b/cli/js/type_directives.ts index 9b27887b5..0f4ce932c 100644 --- a/cli/js/type_directives.ts +++ b/cli/js/type_directives.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. interface FileReference { fileName: string; diff --git a/cli/js/types.ts b/cli/js/types.ts index 88462d758..d13963090 100644 --- a/cli/js/types.ts +++ b/cli/js/types.ts @@ -1,2 +1,2 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. export type TypedArray = Uint8Array | Float32Array | Int32Array; diff --git a/cli/js/unit_test_runner.ts b/cli/js/unit_test_runner.ts index 740408e9b..c2c654696 100755 --- a/cli/js/unit_test_runner.ts +++ b/cli/js/unit_test_runner.ts @@ -1,5 +1,5 @@ #!/usr/bin/env -S deno run --reload --allow-run -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import "./unit_tests.ts"; import { permissionCombinations, diff --git a/cli/js/unit_tests.ts b/cli/js/unit_tests.ts index c63fc5f26..3b4e6de68 100644 --- a/cli/js/unit_tests.ts +++ b/cli/js/unit_tests.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. // This test is executed as part of tools/test.py // But it can also be run manually: ./target/debug/deno cli/js/unit_tests.ts diff --git a/cli/js/url.ts b/cli/js/url.ts index 489d8d045..1619ec26f 100644 --- a/cli/js/url.ts +++ b/cli/js/url.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import * as urlSearchParams from "./url_search_params.ts"; import * as domTypes from "./dom_types.ts"; import { getRandomValues } from "./get_random_values.ts"; diff --git a/cli/js/url_search_params.ts b/cli/js/url_search_params.ts index 803b37ee4..5b7f0ecd8 100644 --- a/cli/js/url_search_params.ts +++ b/cli/js/url_search_params.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { URL } from "./url.ts"; import { requiredArguments, isIterable } from "./util.ts"; diff --git a/cli/js/url_search_params_test.ts b/cli/js/url_search_params_test.ts index 0e9273204..c1343e59b 100644 --- a/cli/js/url_search_params_test.ts +++ b/cli/js/url_search_params_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { test, assert, assertEquals } from "./test_util.ts"; test(function urlSearchParamsInitString(): void { diff --git a/cli/js/url_test.ts b/cli/js/url_test.ts index 1f8e31999..64130b6b9 100644 --- a/cli/js/url_test.ts +++ b/cli/js/url_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { test, assert, assertEquals, assertThrows } from "./test_util.ts"; test(function urlParsing(): void { diff --git a/cli/js/util.ts b/cli/js/util.ts index 4bffb2e8c..1a0d8df2e 100644 --- a/cli/js/util.ts +++ b/cli/js/util.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { TypedArray } from "./types.ts"; import { window } from "./window.ts"; diff --git a/cli/js/utime.ts b/cli/js/utime.ts index 7495378b1..c96461b2c 100644 --- a/cli/js/utime.ts +++ b/cli/js/utime.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { sendSync, sendAsync } from "./dispatch_json.ts"; import { OP_UTIME } from "./dispatch.ts"; diff --git a/cli/js/utime_test.ts b/cli/js/utime_test.ts index 535ee1f40..15c218df4 100644 --- a/cli/js/utime_test.ts +++ b/cli/js/utime_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { testPerm, assert, assertEquals } from "./test_util.ts"; // Allow 10 second difference. diff --git a/cli/js/version.ts b/cli/js/version.ts index 08ac58122..e1adb7e79 100644 --- a/cli/js/version.ts +++ b/cli/js/version.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. interface Version { deno: string; v8: string; diff --git a/cli/js/window.ts b/cli/js/window.ts index 3d3d6601f..3eed4ca58 100644 --- a/cli/js/window.ts +++ b/cli/js/window.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. // (0, eval) is indirect eval. // See the links below for details: // - https://stackoverflow.com/a/14120023 diff --git a/cli/js/workers.ts b/cli/js/workers.ts index 9d46ace22..27f873100 100644 --- a/cli/js/workers.ts +++ b/cli/js/workers.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. /* eslint-disable @typescript-eslint/no-explicit-any */ import * as dispatch from "./dispatch.ts"; import { sendAsync, sendSync } from "./dispatch_json.ts"; diff --git a/cli/js/write_file.ts b/cli/js/write_file.ts index d6307e002..089b235ed 100644 --- a/cli/js/write_file.ts +++ b/cli/js/write_file.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { stat, statSync } from "./stat.ts"; import { open, openSync } from "./files.ts"; import { chmod, chmodSync } from "./chmod.ts"; diff --git a/cli/js/write_file_test.ts b/cli/js/write_file_test.ts index e1bbb67b3..30500b594 100644 --- a/cli/js/write_file_test.ts +++ b/cli/js/write_file_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { testPerm, assert, assertEquals } from "./test_util.ts"; testPerm({ read: true, write: true }, function writeFileSyncSuccess(): void { diff --git a/cli/lib.rs b/cli/lib.rs index 85133158e..768d2fba1 100644 --- a/cli/lib.rs +++ b/cli/lib.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. #[macro_use] extern crate lazy_static; #[macro_use] diff --git a/cli/msg.rs b/cli/msg.rs index dbfb3316f..90f953118 100644 --- a/cli/msg.rs +++ b/cli/msg.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. // Warning! The values in this enum are duplicated in js/errors.ts // Update carefully! diff --git a/cli/ops/compiler.rs b/cli/ops/compiler.rs index b45f6d937..8bc42a92a 100644 --- a/cli/ops/compiler.rs +++ b/cli/ops/compiler.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. use super::dispatch_json::{Deserialize, JsonOp, Value}; use crate::futures::future::try_join_all; use crate::futures::future::FutureExt; diff --git a/cli/ops/dispatch_json.rs b/cli/ops/dispatch_json.rs index 38dc7932e..1636aa44c 100644 --- a/cli/ops/dispatch_json.rs +++ b/cli/ops/dispatch_json.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. use deno::*; use futures::future::FutureExt; use futures::task::SpawnExt; diff --git a/cli/ops/dispatch_minimal.rs b/cli/ops/dispatch_minimal.rs index 13738ba56..22d6697e5 100644 --- a/cli/ops/dispatch_minimal.rs +++ b/cli/ops/dispatch_minimal.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. // Do not add flatbuffer dependencies to this module. //! Connects to js/dispatch_minimal.ts sendAsyncMinimal This acts as a faster //! alternative to flatbuffers using a very simple list of int32s to lay out diff --git a/cli/ops/errors.rs b/cli/ops/errors.rs index 4ef912916..2c40aa66c 100644 --- a/cli/ops/errors.rs +++ b/cli/ops/errors.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. use super::dispatch_json::{Deserialize, JsonOp, Value}; use crate::fmt_errors::JSError; use crate::ops::json_op; diff --git a/cli/ops/fetch.rs b/cli/ops/fetch.rs index 2787b5b7f..c1bc11973 100644 --- a/cli/ops/fetch.rs +++ b/cli/ops/fetch.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. use super::dispatch_json::{Deserialize, JsonOp, Value}; use super::io::StreamResource; use crate::http_util::{get_client, HttpBody}; diff --git a/cli/ops/files.rs b/cli/ops/files.rs index 6f015329b..d4ba04ac1 100644 --- a/cli/ops/files.rs +++ b/cli/ops/files.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. use super::dispatch_json::{Deserialize, JsonOp, Value}; use super::io::StreamResource; use crate::deno_error::bad_resource; diff --git a/cli/ops/fs.rs b/cli/ops/fs.rs index c847931ab..dc9ed1b10 100644 --- a/cli/ops/fs.rs +++ b/cli/ops/fs.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. // Some deserializer fields are only used on Unix and Windows build fails without it use super::dispatch_json::{blocking_json, Deserialize, JsonOp, Value}; use crate::deno_error::DenoError; diff --git a/cli/ops/mod.rs b/cli/ops/mod.rs index 28bf7e217..f93c5a060 100644 --- a/cli/ops/mod.rs +++ b/cli/ops/mod.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. mod dispatch_json; mod dispatch_minimal; diff --git a/cli/ops/net.rs b/cli/ops/net.rs index a3a1e665e..01fb65b1f 100644 --- a/cli/ops/net.rs +++ b/cli/ops/net.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. use super::dispatch_json::{Deserialize, JsonOp, Value}; use super::io::StreamResource; use crate::deno_error::bad_resource; diff --git a/cli/ops/os.rs b/cli/ops/os.rs index c42827b3f..b5062f109 100644 --- a/cli/ops/os.rs +++ b/cli/ops/os.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. use super::dispatch_json::{Deserialize, JsonOp, Value}; use crate::colors; use crate::fs as deno_fs; diff --git a/cli/ops/permissions.rs b/cli/ops/permissions.rs index f513f2fab..6ecd7cb10 100644 --- a/cli/ops/permissions.rs +++ b/cli/ops/permissions.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. use super::dispatch_json::{Deserialize, JsonOp, Value}; use crate::deno_error::type_error; use crate::ops::json_op; diff --git a/cli/ops/process.rs b/cli/ops/process.rs index 40a9877ac..92474cc4f 100644 --- a/cli/ops/process.rs +++ b/cli/ops/process.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. use super::dispatch_json::{Deserialize, JsonOp, Value}; use super::io::StreamResource; use crate::deno_error::bad_resource; diff --git a/cli/ops/random.rs b/cli/ops/random.rs index 614188d86..95dbccf80 100644 --- a/cli/ops/random.rs +++ b/cli/ops/random.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. use super::dispatch_json::{JsonOp, Value}; use crate::ops::json_op; use crate::state::ThreadSafeState; diff --git a/cli/ops/repl.rs b/cli/ops/repl.rs index 5919ea586..fd06a5481 100644 --- a/cli/ops/repl.rs +++ b/cli/ops/repl.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. use super::dispatch_json::{blocking_json, Deserialize, JsonOp, Value}; use crate::deno_error::bad_resource; use crate::ops::json_op; diff --git a/cli/ops/resources.rs b/cli/ops/resources.rs index c35e9762c..cd7b98aea 100644 --- a/cli/ops/resources.rs +++ b/cli/ops/resources.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. use super::dispatch_json::{JsonOp, Value}; use crate::ops::json_op; use crate::state::ThreadSafeState; diff --git a/cli/ops/timers.rs b/cli/ops/timers.rs index 21d1eda24..982ea9cac 100644 --- a/cli/ops/timers.rs +++ b/cli/ops/timers.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. use super::dispatch_json::{Deserialize, JsonOp, Value}; use crate::ops::json_op; use crate::state::ThreadSafeState; diff --git a/cli/ops/tls.rs b/cli/ops/tls.rs index e1897a86e..a2975dcb0 100644 --- a/cli/ops/tls.rs +++ b/cli/ops/tls.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. use super::dispatch_json::{Deserialize, JsonOp, Value}; use super::io::StreamResource; use crate::deno_error::bad_resource; diff --git a/cli/ops/workers.rs b/cli/ops/workers.rs index 131283614..48b8deb15 100644 --- a/cli/ops/workers.rs +++ b/cli/ops/workers.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. use super::dispatch_json::{Deserialize, JsonOp, Value}; use crate::deno_error::bad_resource; use crate::deno_error::js_check; diff --git a/cli/permissions.rs b/cli/permissions.rs index 8d476c234..3c6990e8c 100644 --- a/cli/permissions.rs +++ b/cli/permissions.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. use crate::deno_error::{permission_denied_msg, type_error}; use crate::flags::DenoFlags; use ansi_term::Style; diff --git a/cli/progress.rs b/cli/progress.rs index c2fa7979f..3eb0d9136 100644 --- a/cli/progress.rs +++ b/cli/progress.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. use std::sync::Arc; use std::sync::Mutex; diff --git a/cli/repl.rs b/cli/repl.rs index 7abb76708..7b6994fd8 100644 --- a/cli/repl.rs +++ b/cli/repl.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. use crate::deno_dir::DenoDir; use deno::ErrBox; use rustyline; diff --git a/cli/resolve_addr.rs b/cli/resolve_addr.rs index a0ff59b76..b7ad9fada 100644 --- a/cli/resolve_addr.rs +++ b/cli/resolve_addr.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. use deno::ErrBox; use std::future::Future; use std::net::SocketAddr; diff --git a/cli/source_maps.rs b/cli/source_maps.rs index aea9f087c..72a351795 100644 --- a/cli/source_maps.rs +++ b/cli/source_maps.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. //! This mod provides functions to remap a deno::V8Exception based on a source map use deno::StackFrame; use deno::V8Exception; diff --git a/cli/startup_data.rs b/cli/startup_data.rs index 7dc2fdb60..8de8e0200 100644 --- a/cli/startup_data.rs +++ b/cli/startup_data.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. #[cfg(feature = "no-snapshot-init")] use deno::Script; diff --git a/cli/state.rs b/cli/state.rs index 2657ae747..36ab7f331 100644 --- a/cli/state.rs +++ b/cli/state.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. use crate::deno_error::permission_denied; use crate::global_state::ThreadSafeGlobalState; use crate::global_timer::GlobalTimer; diff --git a/cli/test_util.rs b/cli/test_util.rs index a42520ca5..1b1a51e92 100644 --- a/cli/test_util.rs +++ b/cli/test_util.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. // TODO(ry) Make this file test-only. Somehow it's very difficult to export // methods to tests/integration_tests.rs if this is enabled... diff --git a/cli/tests/045_proxy_client.ts b/cli/tests/045_proxy_client.ts index 221ac57f6..65c5594f8 100644 --- a/cli/tests/045_proxy_client.ts +++ b/cli/tests/045_proxy_client.ts @@ -1,3 +1,3 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. const res = await fetch("http://localhost:4545/std/examples/colors.ts"); console.log(`Response http: ${await res.text()}`); diff --git a/cli/tests/045_proxy_test.ts b/cli/tests/045_proxy_test.ts index 98225dbf1..e9629db37 100644 --- a/cli/tests/045_proxy_test.ts +++ b/cli/tests/045_proxy_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { serve, ServerRequest } from "../../std/http/server.ts"; import { assertEquals } from "../../std/testing/asserts.ts"; diff --git a/cli/tests/error_009_missing_js_module.disabled b/cli/tests/error_009_missing_js_module.disabled index b16bb232b..3156fc94b 100644 --- a/cli/tests/error_009_missing_js_module.disabled +++ b/cli/tests/error_009_missing_js_module.disabled @@ -1,4 +1,4 @@ args: tests/error_009_missing_js_module.js check_stderr: true exit_code: 1 -output: tests/error_009_missing_js_module.js.out
\ No newline at end of file +output: tests/error_009_missing_js_module.js.out diff --git a/cli/tests/integration_tests.rs b/cli/tests/integration_tests.rs index 4eef5dbc6..63e681e31 100644 --- a/cli/tests/integration_tests.rs +++ b/cli/tests/integration_tests.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. #[macro_use] extern crate lazy_static; extern crate tempfile; diff --git a/cli/tests/std_tests.rs b/cli/tests/std_tests.rs index beab74675..d1ed599bc 100644 --- a/cli/tests/std_tests.rs +++ b/cli/tests/std_tests.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. // TODO: fix tests in debug mode // Runs only on release build diff --git a/cli/tests/types.out b/cli/tests/types.out index 6c17b0f90..df79ff821 100644 --- a/cli/tests/types.out +++ b/cli/tests/types.out @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. [WILDCARD] declare namespace Deno { diff --git a/cli/tokio_util.rs b/cli/tokio_util.rs index 0b8f60152..017013b3b 100644 --- a/cli/tokio_util.rs +++ b/cli/tokio_util.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. use std::future::Future; use tokio; use tokio::runtime; diff --git a/cli/version.rs b/cli/version.rs index a62d904f8..148337e71 100644 --- a/cli/version.rs +++ b/cli/version.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. pub const DENO: &str = env!("CARGO_PKG_VERSION"); pub const TYPESCRIPT: &str = crate::js::TS_VERSION; diff --git a/cli/worker.rs b/cli/worker.rs index 2e995ebe6..df5e663b3 100644 --- a/cli/worker.rs +++ b/cli/worker.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. use crate::fmt_errors::JSError; use crate::ops; use crate::state::ThreadSafeState; |