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/js | |
parent | b0761138e5d2486c241ab8fdfa67fe2c2a0b621b (diff) |
Happy new year! (#3578)
Diffstat (limited to 'cli/js')
123 files changed, 123 insertions, 123 deletions
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 { |