diff options
author | Yoshiya Hinosawa <stibium121@gmail.com> | 2019-01-22 04:03:30 +0900 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2019-01-21 13:03:30 -0600 |
commit | 77114fbda49382e397095d8214bd76996b0cfb57 (patch) | |
tree | b7705caf24eae68ecec7cc311a20c5e382ef7f0a /js | |
parent | 7eb74ba0d6cb492b0710b892bb4cf1c74bf64c90 (diff) |
chore: update license lines (#1557)
Diffstat (limited to 'js')
79 files changed, 82 insertions, 72 deletions
diff --git a/js/buffer.ts b/js/buffer.ts index 9e06eecd4..db060f2ff 100644 --- a/js/buffer.ts +++ b/js/buffer.ts @@ -1,3 +1,5 @@ +// Copyright 2018-2019 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. // https://github.com/golang/go/blob/master/LICENSE diff --git a/js/buffer_test.ts b/js/buffer_test.ts index 7186a94b6..47ad205be 100644 --- a/js/buffer_test.ts +++ b/js/buffer_test.ts @@ -1,3 +1,5 @@ +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. + import { Buffer, readAll } from "deno"; import * as deno from "deno"; // This code has been ported almost directly from Go's src/bytes/buffer_test.go @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import * as msg from "gen/msg_generated"; import { assert } from "./util"; import * as flatbuffers from "./flatbuffers"; diff --git a/js/dir_test.ts b/js/dir_test.ts index ca9548827..ae0415e1b 100644 --- a/js/dir_test.ts +++ b/js/dir_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import { test, testPerm, assert, assertEqual } from "./test_util.ts"; import * as deno from "deno"; diff --git a/js/dispatch.ts b/js/dispatch.ts index b27e5e1b5..e52a6f64c 100644 --- a/js/dispatch.ts +++ b/js/dispatch.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import { libdeno } from "./libdeno"; import * as flatbuffers from "./flatbuffers"; import * as msg from "gen/msg_generated"; diff --git a/js/dom_file.ts b/js/dom_file.ts index 2c225248b..88d8ba4a9 100644 --- a/js/dom_file.ts +++ b/js/dom_file.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import * as domTypes from "./dom_types"; import * as blob from "./blob"; diff --git a/js/dom_types.ts b/js/dom_types.ts index 549b0057c..068ae9cfd 100644 --- a/js/dom_types.ts +++ b/js/dom_types.ts @@ -1,3 +1,5 @@ +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. + /*! **************************************************************************** Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use diff --git a/js/errors.ts b/js/errors.ts index c91be23b6..cd68003f9 100644 --- a/js/errors.ts +++ b/js/errors.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import { Base, ErrorKind } from "gen/msg_generated"; export { ErrorKind } from "gen/msg_generated"; diff --git a/js/event.ts b/js/event.ts index 29fd8177b..b0d16ff0a 100644 --- a/js/event.ts +++ b/js/event.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import * as domTypes from "./dom_types"; import { getPrivateValue } from "./util"; diff --git a/js/event_target.ts b/js/event_target.ts index 3226fde96..112ad1705 100644 --- a/js/event_target.ts +++ b/js/event_target.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import * as domTypes from "./dom_types"; /* TODO: This is an incomplete implementation to provide functionality diff --git a/js/event_target_test.ts b/js/event_target_test.ts index 5771ca17d..6065c875a 100644 --- a/js/event_target_test.ts +++ b/js/event_target_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import { test, assertEqual } from "./test_util.ts"; test(function addEventListenerTest() { diff --git a/js/event_test.ts b/js/event_test.ts index 3a1254956..99b82a6be 100644 --- a/js/event_test.ts +++ b/js/event_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import { test, assertEqual } from "./test_util.ts"; test(function eventInitializedWithType() { diff --git a/js/fetch.ts b/js/fetch.ts index fd6299c8f..2823869ca 100644 --- a/js/fetch.ts +++ b/js/fetch.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import { assert, createResolvable, notImplemented, isTypedArray } from "./util"; import * as flatbuffers from "./flatbuffers"; import { sendAsync } from "./dispatch"; diff --git a/js/fetch_test.ts b/js/fetch_test.ts index 582f92839..31e7ecd72 100644 --- a/js/fetch_test.ts +++ b/js/fetch_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import { test, testPerm, assert, assertEqual } from "./test_util.ts"; import * as deno from "deno"; diff --git a/js/file_info.ts b/js/file_info.ts index 785cefc20..cf9ede85c 100644 --- a/js/file_info.ts +++ b/js/file_info.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import * as msg from "gen/msg_generated"; /** A FileInfo describes a file and is returned by `stat`, `lstat`, diff --git a/js/file_test.ts b/js/file_test.ts index a32c06947..37d22709a 100644 --- a/js/file_test.ts +++ b/js/file_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import { test, assert, assertEqual } from "./test_util.ts"; function testFirstArgument(arg1, expectedSize) { diff --git a/js/files.ts b/js/files.ts index e23d19cfe..b23b66f52 100644 --- a/js/files.ts +++ b/js/files.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import { Reader, Writer, Closer, ReadResult } from "./io"; import * as dispatch from "./dispatch"; import * as msg from "gen/msg_generated"; diff --git a/js/files_test.ts b/js/files_test.ts index 03ad7a7cd..e46ab1684 100644 --- a/js/files_test.ts +++ b/js/files_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import * as deno from "deno"; import { test, testPerm, assert, assertEqual } from "./test_util.ts"; diff --git a/js/flatbuffers.ts b/js/flatbuffers.ts index 926cb7425..74eaf40ff 100644 --- a/js/flatbuffers.ts +++ b/js/flatbuffers.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import { flatbuffers } from "flatbuffers"; import * as util from "./util"; diff --git a/js/form_data.ts b/js/form_data.ts index 8f89b54b5..f9a76b80b 100644 --- a/js/form_data.ts +++ b/js/form_data.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import * as domTypes from "./dom_types"; import * as blob from "./blob"; import * as domFile from "./dom_file"; diff --git a/js/form_data_test.ts b/js/form_data_test.ts index 109220f63..9edd00549 100644 --- a/js/form_data_test.ts +++ b/js/form_data_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import { test, assert, assertEqual } from "./test_util.ts"; test(function formDataHasCorrectNameProp() { diff --git a/js/global_eval.ts b/js/global_eval.ts index b7c928190..b447c9954 100644 --- a/js/global_eval.ts +++ b/js/global_eval.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. /** If you use the eval function indirectly, by invoking it via a reference * other than eval, as of ECMAScript 5 it works in the global scope rather than diff --git a/js/globals.ts b/js/globals.ts index 849d2bb3f..edf7fae8f 100644 --- a/js/globals.ts +++ b/js/globals.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 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 environemnt that code // is evaluated in. We use this file to automatically build the runtime type diff --git a/js/globals_test.ts b/js/globals_test.ts index e40718f28..889ca4ecd 100644 --- a/js/globals_test.ts +++ b/js/globals_test.ts @@ -1,3 +1,4 @@ +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import { test, assert } from "./test_util.ts"; test(function globalThisExists() { diff --git a/js/headers.ts b/js/headers.ts index 92077a03f..31a29111e 100644 --- a/js/headers.ts +++ b/js/headers.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import * as domTypes from "./dom_types"; import { DomIterableMixin } from "./mixins/dom_iterable"; import { requiredArguments } from "./util"; diff --git a/js/headers_test.ts b/js/headers_test.ts index 440ce4e8a..2db234add 100644 --- a/js/headers_test.ts +++ b/js/headers_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import { test, assert, assertEqual } from "./test_util.ts"; import * as deno from "deno"; @@ -1,3 +1,4 @@ +// Copyright 2018-2019 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/js/libdeno.ts b/js/libdeno.ts index cbd9a60f0..401ffae40 100644 --- a/js/libdeno.ts +++ b/js/libdeno.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import { globalEval } from "./global_eval"; // The libdeno functions are moved so that users can't access them. diff --git a/js/make_temp_dir.ts b/js/make_temp_dir.ts index 02c4be3ca..4e9b45745 100644 --- a/js/make_temp_dir.ts +++ b/js/make_temp_dir.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import * as msg from "gen/msg_generated"; import * as flatbuffers from "./flatbuffers"; import * as dispatch from "./dispatch"; diff --git a/js/make_temp_dir_test.ts b/js/make_temp_dir_test.ts index 551d58c26..84b10ae52 100644 --- a/js/make_temp_dir_test.ts +++ b/js/make_temp_dir_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import { test, testPerm, assert, assertEqual } from "./test_util.ts"; import * as deno from "deno"; diff --git a/js/metrics.ts b/js/metrics.ts index bacef8d5c..248b58f28 100644 --- a/js/metrics.ts +++ b/js/metrics.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import * as msg from "gen/msg_generated"; import * as flatbuffers from "./flatbuffers"; import { assert } from "./util"; diff --git a/js/metrics_test.ts b/js/metrics_test.ts index f1572ae54..d81f54c3e 100644 --- a/js/metrics_test.ts +++ b/js/metrics_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import { test, testPerm, assert } from "./test_util.ts"; import * as deno from "deno"; diff --git a/js/mixins/dom_iterable.ts b/js/mixins/dom_iterable.ts index 6a2a9fcfe..e2fcd2dbd 100644 --- a/js/mixins/dom_iterable.ts +++ b/js/mixins/dom_iterable.ts @@ -1,3 +1,4 @@ +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import { DomIterable } from "../dom_types"; import { globalEval } from "../global_eval"; import { requiredArguments } from "../util"; diff --git a/js/mixins/dom_iterable_test.ts b/js/mixins/dom_iterable_test.ts index ad14dbe60..20e066f94 100644 --- a/js/mixins/dom_iterable_test.ts +++ b/js/mixins/dom_iterable_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import { test, assert, assertEqual } from "../test_util.ts"; import { DomIterableMixin } from "deno"; diff --git a/js/mkdir.ts b/js/mkdir.ts index 2981976ab..7a2851813 100644 --- a/js/mkdir.ts +++ b/js/mkdir.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import * as msg from "gen/msg_generated"; import * as flatbuffers from "./flatbuffers"; import * as dispatch from "./dispatch"; diff --git a/js/mkdir_test.ts b/js/mkdir_test.ts index 963f73806..8b36c18f9 100644 --- a/js/mkdir_test.ts +++ b/js/mkdir_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import { testPerm, assert, assertEqual } from "./test_util.ts"; import * as deno from "deno"; diff --git a/js/mock_builtin.js b/js/mock_builtin.js index 3171ec18d..9c6730d69 100644 --- a/js/mock_builtin.js +++ b/js/mock_builtin.js @@ -1,2 +1,2 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. export default undefined; @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import { ReadResult, Reader, Writer, Closer } from "./io"; import * as msg from "gen/msg_generated"; import { assert, notImplemented } from "./util"; diff --git a/js/net_test.ts b/js/net_test.ts index 8eaa95e62..90a6a3753 100644 --- a/js/net_test.ts +++ b/js/net_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import * as deno from "deno"; import { testPerm, assert, assertEqual } from "./test_util.ts"; import { deferred } from "deno"; @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import * as msg from "gen/msg_generated"; import { assert } from "./util"; import * as util from "./util"; diff --git a/js/os_test.ts b/js/os_test.ts index 0284671e0..21ec5e69d 100644 --- a/js/os_test.ts +++ b/js/os_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import { test, testPerm, assert, assertEqual } from "./test_util.ts"; import * as deno from "deno"; diff --git a/js/platform.ts b/js/platform.ts index a27241e08..9061b4ed3 100644 --- a/js/platform.ts +++ b/js/platform.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. // Do not add unsupported platforms. export interface Platform { diff --git a/js/platform_test.ts b/js/platform_test.ts index 65cd2572d..41b8cc9fe 100644 --- a/js/platform_test.ts +++ b/js/platform_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import { test, assert } from "./test_util.ts"; import * as deno from "deno"; diff --git a/js/plugins.d.ts b/js/plugins.d.ts index e421bb5de..842a897de 100644 --- a/js/plugins.d.ts +++ b/js/plugins.d.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. // This allows TypeScript to resolve any modules that end with `!string` // as there is a rollup plugin that will take any mids ending with `!string` diff --git a/js/process.ts b/js/process.ts index 50df88268..495f6a9ce 100644 --- a/js/process.ts +++ b/js/process.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import * as dispatch from "./dispatch"; import * as flatbuffers from "./flatbuffers"; import * as msg from "gen/msg_generated"; diff --git a/js/process_test.ts b/js/process_test.ts index 8c6271985..0b803bb32 100644 --- a/js/process_test.ts +++ b/js/process_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import { test, testPerm, assert, assertEqual } from "./test_util.ts"; import { run, DenoError, ErrorKind } from "deno"; import * as deno from "deno"; diff --git a/js/read_dir.ts b/js/read_dir.ts index efeea4268..b8fa353d1 100644 --- a/js/read_dir.ts +++ b/js/read_dir.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import * as msg from "gen/msg_generated"; import * as flatbuffers from "./flatbuffers"; import * as dispatch from "./dispatch"; diff --git a/js/read_dir_test.ts b/js/read_dir_test.ts index 277547048..241560503 100644 --- a/js/read_dir_test.ts +++ b/js/read_dir_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import { test, testPerm, assert, assertEqual } from "./test_util.ts"; import * as deno from "deno"; import { FileInfo } from "deno"; diff --git a/js/read_file.ts b/js/read_file.ts index 5d766f709..7d0e2b7b4 100644 --- a/js/read_file.ts +++ b/js/read_file.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import * as msg from "gen/msg_generated"; import * as flatbuffers from "./flatbuffers"; import { assert } from "./util"; diff --git a/js/read_file_test.ts b/js/read_file_test.ts index 6d4f71b62..db35dd702 100644 --- a/js/read_file_test.ts +++ b/js/read_file_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import { test, assert, assertEqual } from "./test_util.ts"; import * as deno from "deno"; diff --git a/js/read_link.ts b/js/read_link.ts index 800c452e3..b080fb7a5 100644 --- a/js/read_link.ts +++ b/js/read_link.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import * as msg from "gen/msg_generated"; import * as flatbuffers from "./flatbuffers"; import { assert } from "./util"; diff --git a/js/read_link_test.ts b/js/read_link_test.ts index bf27707c4..d4a2666b7 100644 --- a/js/read_link_test.ts +++ b/js/read_link_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import { test, testPerm, assert, assertEqual } from "./test_util.ts"; import * as deno from "deno"; diff --git a/js/remove.ts b/js/remove.ts index 6b242e2c6..ac821f942 100644 --- a/js/remove.ts +++ b/js/remove.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import * as msg from "gen/msg_generated"; import * as flatbuffers from "./flatbuffers"; import * as dispatch from "./dispatch"; diff --git a/js/remove_test.ts b/js/remove_test.ts index eb31f1ba3..59879df8f 100644 --- a/js/remove_test.ts +++ b/js/remove_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import { testPerm, assert, assertEqual } from "./test_util.ts"; import * as deno from "deno"; diff --git a/js/rename.ts b/js/rename.ts index 049212c75..8c54d9b2b 100644 --- a/js/rename.ts +++ b/js/rename.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import * as msg from "gen/msg_generated"; import * as flatbuffers from "./flatbuffers"; import * as dispatch from "./dispatch"; diff --git a/js/rename_test.ts b/js/rename_test.ts index 99bca67dc..bc08f006b 100644 --- a/js/rename_test.ts +++ b/js/rename_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import { testPerm, assert, assertEqual } from "./test_util.ts"; import * as deno from "deno"; diff --git a/js/repl.ts b/js/repl.ts index 075affc10..806a3e142 100644 --- a/js/repl.ts +++ b/js/repl.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import * as msg from "gen/msg_generated"; import * as flatbuffers from "./flatbuffers"; import { assert } from "./util"; diff --git a/js/resources.ts b/js/resources.ts index c40d52b4e..0c62c2116 100644 --- a/js/resources.ts +++ b/js/resources.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import * as msg from "gen/msg_generated"; import * as flatbuffers from "./flatbuffers"; import { assert } from "./util"; diff --git a/js/resources_test.ts b/js/resources_test.ts index 578b6c72a..7cfcbf1f8 100644 --- a/js/resources_test.ts +++ b/js/resources_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import { test, testPerm, assertEqual } from "./test_util.ts"; import * as deno from "deno"; diff --git a/js/stat.ts b/js/stat.ts index 632609e9b..d734115e6 100644 --- a/js/stat.ts +++ b/js/stat.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import * as msg from "gen/msg_generated"; import * as flatbuffers from "./flatbuffers"; import * as dispatch from "./dispatch"; diff --git a/js/stat_test.ts b/js/stat_test.ts index 424077dc5..19db81d37 100644 --- a/js/stat_test.ts +++ b/js/stat_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import { test, assert, assertEqual } from "./test_util.ts"; import * as deno from "deno"; diff --git a/js/symlink.ts b/js/symlink.ts index be5a41af8..1ade319d7 100644 --- a/js/symlink.ts +++ b/js/symlink.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import * as msg from "gen/msg_generated"; import * as flatbuffers from "./flatbuffers"; import * as dispatch from "./dispatch"; diff --git a/js/symlink_test.ts b/js/symlink_test.ts index f03933442..b552499f4 100644 --- a/js/symlink_test.ts +++ b/js/symlink_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import { testPerm, assert, assertEqual } from "./test_util.ts"; import * as deno from "deno"; diff --git a/js/test_util.ts b/js/test_util.ts index d0b55e5ff..5863c4cec 100644 --- a/js/test_util.ts +++ b/js/test_util.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 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/js/text_encoding.ts b/js/text_encoding.ts index 31b1d8ff6..dd1b22d65 100644 --- a/js/text_encoding.ts +++ b/js/text_encoding.ts @@ -1,3 +1,4 @@ +// Copyright 2018-2019 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/js/text_encoding_test.ts b/js/text_encoding_test.ts index 1e04cbeb8..41df882e3 100644 --- a/js/text_encoding_test.ts +++ b/js/text_encoding_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import { test, assert, assertEqual } from "./test_util.ts"; test(function atobSuccess() { diff --git a/js/timers.ts b/js/timers.ts index 35744f672..96bfc8c0f 100644 --- a/js/timers.ts +++ b/js/timers.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import { assert } from "./util"; import * as msg from "gen/msg_generated"; import * as flatbuffers from "./flatbuffers"; diff --git a/js/timers_test.ts b/js/timers_test.ts index 78f6610c4..1ea566c43 100644 --- a/js/timers_test.ts +++ b/js/timers_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import { test, assertEqual } from "./test_util.ts"; function deferred() { diff --git a/js/truncate.ts b/js/truncate.ts index 1bd5a2c08..f2e7d0240 100644 --- a/js/truncate.ts +++ b/js/truncate.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import * as msg from "gen/msg_generated"; import * as flatbuffers from "./flatbuffers"; import * as dispatch from "./dispatch"; diff --git a/js/truncate_test.ts b/js/truncate_test.ts index 4b9cae445..c0e1b163b 100644 --- a/js/truncate_test.ts +++ b/js/truncate_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import { testPerm, assertEqual } from "./test_util.ts"; import * as deno from "deno"; diff --git a/js/types.ts b/js/types.ts index 954816811..7355484ac 100644 --- a/js/types.ts +++ b/js/types.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. export type TypedArray = Uint8Array | Float32Array | Int32Array; // tslint:disable:max-line-length diff --git a/js/unit_tests.ts b/js/unit_tests.ts index 15b3d461a..51027c387 100644 --- a/js/unit_tests.ts +++ b/js/unit_tests.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 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 js/unit_tests.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import * as urlSearchParams from "./url_search_params"; interface URLParts { diff --git a/js/url_search_params.ts b/js/url_search_params.ts index fba6f7ac2..dec7ca869 100644 --- a/js/url_search_params.ts +++ b/js/url_search_params.ts @@ -1,6 +1,6 @@ +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import { requiredArguments } from "./util"; -// Copyright 2018 the Deno authors. All rights reserved. MIT license. export class URLSearchParams { private params: Array<[string, string]> = []; diff --git a/js/url_search_params_test.ts b/js/url_search_params_test.ts index 0637bf0d8..7f31c7111 100644 --- a/js/url_search_params_test.ts +++ b/js/url_search_params_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import { test, assert, assertEqual } from "./test_util.ts"; test(function urlSearchParamsInitString() { diff --git a/js/url_test.ts b/js/url_test.ts index f89845274..d001b8306 100644 --- a/js/url_test.ts +++ b/js/url_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import { test, assert, assertEqual } from "./test_util.ts"; test(function urlParsing() { diff --git a/js/util.ts b/js/util.ts index ec24ec5bd..f9ca6ced4 100644 --- a/js/util.ts +++ b/js/util.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import { TypedArray } from "./types"; let logDebug = false; diff --git a/js/write_file.ts b/js/write_file.ts index 98d5d0181..9fa286c2e 100644 --- a/js/write_file.ts +++ b/js/write_file.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import * as msg from "gen/msg_generated"; import * as flatbuffers from "./flatbuffers"; import * as dispatch from "./dispatch"; diff --git a/js/write_file_test.ts b/js/write_file_test.ts index f10343aeb..e9e620363 100644 --- a/js/write_file_test.ts +++ b/js/write_file_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import { testPerm, assert, assertEqual } from "./test_util.ts"; import * as deno from "deno"; |