From 2fee8394a98aae4048385ec7adde73f2b5826974 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Mon, 2 Jan 2023 16:00:42 -0500 Subject: [PATCH] chore: update copyright year to 2023 (#17247) Yearly tradition of creating extra noise in git. --- .github/mtime_cache/action.js | 2 +- .rustfmt.toml | 1 - Cargo.toml | 2 +- LICENSE.md | 2 +- bench_util/Cargo.toml | 2 +- bench_util/js_runtime.rs | 2 +- bench_util/lib.rs | 2 +- bench_util/profiling.rs | 2 +- cli/Cargo.toml | 2 +- cli/args/config_file.rs | 2 +- cli/args/flags.rs | 2 +- cli/args/flags_allow_net.rs | 2 +- cli/args/lockfile.rs | 2 +- cli/args/mod.rs | 2 +- cli/auth_tokens.rs | 2 +- cli/bench/async_ops.js | 2 +- cli/bench/cache_api.js | 2 +- cli/bench/command.js | 2 +- cli/bench/console.js | 2 +- cli/bench/deno_common.js | 2 +- cli/bench/encode_into.js | 2 +- cli/bench/fs/run.mjs | 2 +- cli/bench/fs/serve.jsx | 2 +- cli/bench/getrandom.js | 2 +- cli/bench/http.rs | 2 +- cli/bench/http/bun_hono_router.js | 2 +- cli/bench/http/bun_http.js | 2 +- cli/bench/http/bun_http_send_file.js | 2 +- cli/bench/http/deno_flash_hono_router.js | 2 +- cli/bench/http/deno_flash_send_file.js | 2 +- cli/bench/http/deno_http_flash.js | 2 +- cli/bench/http/deno_http_flash_ops.js | 2 +- cli/bench/http/deno_http_flash_post_bin.js | 2 +- cli/bench/http/deno_http_native.js | 2 +- cli/bench/http/deno_http_read_headers.js | 2 +- cli/bench/http/deno_post_bin.js | 2 +- cli/bench/http/deno_post_json.js | 2 +- cli/bench/http/deno_tcp.ts | 2 +- cli/bench/http/node_http.js | 2 +- cli/bench/http/node_http_read_headers.js | 2 +- cli/bench/http/node_post_bin.js | 2 +- cli/bench/http/node_post_json.js | 2 +- cli/bench/http/node_tcp.js | 2 +- cli/bench/lsp.rs | 2 +- cli/bench/lsp_bench_standalone.rs | 2 +- cli/bench/main.rs | 2 +- cli/bench/op_now.js | 2 +- cli/bench/secure_curves.js | 2 +- cli/bench/stdio/stdio.c | 2 +- cli/bench/stdio/stdio.js | 2 +- cli/bench/tcp.js | 2 +- cli/bench/tty.js | 2 +- cli/bench/url_parse.js | 2 +- cli/bench/write_file.js | 2 +- cli/build.rs | 2 +- cli/cache/check.rs | 2 +- cli/cache/common.rs | 2 +- cli/cache/deno_dir.rs | 2 +- cli/cache/disk_cache.rs | 2 +- cli/cache/emit.rs | 2 +- cli/cache/http_cache.rs | 2 +- cli/cache/incremental.rs | 2 +- cli/cache/mod.rs | 2 +- cli/cache/node.rs | 2 +- cli/deno_std.rs | 2 +- cli/emit.rs | 2 +- cli/errors.rs | 2 +- cli/file_fetcher.rs | 2 +- cli/graph_util.rs | 2 +- cli/http_util.rs | 2 +- cli/js/40_testing.js | 2 +- cli/lsp/analysis.rs | 2 +- cli/lsp/cache.rs | 2 +- cli/lsp/capabilities.rs | 2 +- cli/lsp/code_lens.rs | 2 +- cli/lsp/completions.rs | 2 +- cli/lsp/config.rs | 2 +- cli/lsp/diagnostics.rs | 2 +- cli/lsp/documents.rs | 2 +- cli/lsp/language_server.rs | 2 +- cli/lsp/logging.rs | 2 +- cli/lsp/lsp_custom.rs | 2 +- cli/lsp/mod.rs | 2 +- cli/lsp/parent_process_checker.rs | 2 +- cli/lsp/path_to_regex.rs | 2 +- cli/lsp/performance.rs | 2 +- cli/lsp/refactor.rs | 2 +- cli/lsp/registries.rs | 2 +- cli/lsp/repl.rs | 2 +- cli/lsp/semantic_tokens.rs | 2 +- cli/lsp/testing/collectors.rs | 2 +- cli/lsp/testing/definitions.rs | 2 +- cli/lsp/testing/execution.rs | 2 +- cli/lsp/testing/lsp_custom.rs | 2 +- cli/lsp/testing/mod.rs | 2 +- cli/lsp/testing/server.rs | 2 +- cli/lsp/text.rs | 2 +- cli/lsp/tsc.rs | 2 +- cli/lsp/urls.rs | 2 +- cli/main.rs | 2 +- cli/module_loader.rs | 2 +- cli/napi/async.rs | 2 +- cli/napi/env.rs | 2 +- cli/napi/js_native_api.rs | 2 +- cli/napi/mod.rs | 2 +- cli/napi/sym/Cargo.toml | 2 +- cli/napi/sym/lib.rs | 2 +- cli/napi/threadsafe_functions.rs | 2 +- cli/napi/util.rs | 2 +- cli/node/analyze.rs | 2 +- cli/node/mod.rs | 2 +- cli/npm/cache.rs | 2 +- cli/npm/mod.rs | 2 +- cli/npm/registry.rs | 2 +- cli/npm/resolution/graph.rs | 2 +- cli/npm/resolution/mod.rs | 2 +- cli/npm/resolution/snapshot.rs | 2 +- cli/npm/resolution/specifier.rs | 2 +- cli/npm/resolvers/common.rs | 2 +- cli/npm/resolvers/global.rs | 2 +- cli/npm/resolvers/local.rs | 2 +- cli/npm/resolvers/mod.rs | 2 +- cli/npm/semver/mod.rs | 2 +- cli/npm/semver/range.rs | 2 +- cli/npm/semver/specifier.rs | 2 +- cli/npm/tarball.rs | 2 +- cli/ops/mod.rs | 2 +- cli/ops/testing.rs | 2 +- cli/proc_state.rs | 2 +- cli/resolver.rs | 2 +- cli/standalone.rs | 2 +- cli/tests/bench_tests.rs | 2 +- cli/tests/bundle_tests.rs | 2 +- cli/tests/cache_tests.rs | 2 +- cli/tests/cert_tests.rs | 2 +- cli/tests/check_tests.rs | 2 +- cli/tests/compile_tests.rs | 2 +- cli/tests/coverage_tests.rs | 2 +- cli/tests/doc_tests.rs | 2 +- cli/tests/eval_tests.rs | 2 +- cli/tests/flags_tests.rs | 2 +- cli/tests/fmt_tests.rs | 2 +- cli/tests/info_tests.rs | 2 +- cli/tests/init_tests.rs | 2 +- cli/tests/inspector_tests.rs | 2 +- cli/tests/install_tests.rs | 2 +- cli/tests/integration/mod.rs | 2 +- cli/tests/js_unit_tests.rs | 2 +- cli/tests/lint_tests.rs | 2 +- cli/tests/lsp_tests.rs | 2 +- cli/tests/npm_tests.rs | 2 +- cli/tests/repl_tests.rs | 2 +- cli/tests/run_tests.rs | 2 +- cli/tests/task_tests.rs | 2 +- cli/tests/test_tests.rs | 2 +- cli/tests/testdata/commonjs/example.js | 2 +- cli/tests/testdata/lsp/did_open_params_large.json | 2 +- cli/tests/testdata/run/045_programmatic_proxy_client.ts | 2 +- cli/tests/testdata/run/045_proxy_client.ts | 2 +- cli/tests/testdata/run/045_proxy_test.ts | 2 +- cli/tests/testdata/run/finalization_registry.js | 2 +- cli/tests/testdata/run/flash_shutdown/main.ts | 2 +- cli/tests/testdata/run/heapstats.js | 2 +- cli/tests/testdata/run/textproto.ts | 2 +- cli/tests/testdata/run/websocket_test.ts | 2 +- cli/tests/testdata/run/websocketstream_test.ts | 2 +- cli/tests/testdata/run/worker_close_in_wasm_reactions.js | 2 +- cli/tests/testdata/run/worker_close_nested.js | 2 +- cli/tests/testdata/run/worker_close_race.js | 2 +- cli/tests/testdata/run/worker_drop_handle_race.js | 2 +- cli/tests/testdata/run/worker_drop_handle_race_terminate.js | 2 +- cli/tests/testdata/workers/close_nested_child.js | 2 +- cli/tests/testdata/workers/close_nested_parent.js | 2 +- cli/tests/testdata/workers/close_race_worker.js | 2 +- cli/tests/testdata/workers/http_worker.js | 2 +- cli/tests/testdata/workers/test.ts | 2 +- cli/tests/unit/blob_test.ts | 2 +- cli/tests/unit/body_test.ts | 2 +- cli/tests/unit/broadcast_channel_test.ts | 2 +- cli/tests/unit/buffer_test.ts | 2 +- cli/tests/unit/build_test.ts | 2 +- cli/tests/unit/cache_api_test.ts | 2 +- cli/tests/unit/chmod_test.ts | 2 +- cli/tests/unit/chown_test.ts | 2 +- cli/tests/unit/console_test.ts | 2 +- cli/tests/unit/copy_file_test.ts | 2 +- cli/tests/unit/custom_event_test.ts | 2 +- cli/tests/unit/dir_test.ts | 2 +- cli/tests/unit/error_stack_test.ts | 2 +- cli/tests/unit/error_test.ts | 2 +- cli/tests/unit/esnext_test.ts | 2 +- cli/tests/unit/event_target_test.ts | 2 +- cli/tests/unit/event_test.ts | 2 +- cli/tests/unit/fetch_test.ts | 2 +- cli/tests/unit/ffi_test.ts | 2 +- cli/tests/unit/file_test.ts | 2 +- cli/tests/unit/filereader_test.ts | 2 +- cli/tests/unit/files_test.ts | 2 +- cli/tests/unit/flash_test.ts | 2 +- cli/tests/unit/flock_test.ts | 2 +- cli/tests/unit/get_random_values_test.ts | 2 +- cli/tests/unit/globals_test.ts | 2 +- cli/tests/unit/headers_test.ts | 2 +- cli/tests/unit/http_test.ts | 2 +- cli/tests/unit/internals_test.ts | 2 +- cli/tests/unit/intl_test.ts | 2 +- cli/tests/unit/io_test.ts | 2 +- cli/tests/unit/link_test.ts | 2 +- cli/tests/unit/make_temp_test.ts | 2 +- cli/tests/unit/message_channel_test.ts | 2 +- cli/tests/unit/metrics_test.ts | 2 +- cli/tests/unit/mkdir_test.ts | 2 +- cli/tests/unit/navigator_test.ts | 2 +- cli/tests/unit/net_test.ts | 6 +++--- cli/tests/unit/os_test.ts | 2 +- cli/tests/unit/performance_test.ts | 2 +- cli/tests/unit/permissions_test.ts | 2 +- cli/tests/unit/process_test.ts | 2 +- cli/tests/unit/progressevent_test.ts | 2 +- cli/tests/unit/promise_hooks_test.ts | 2 +- cli/tests/unit/read_dir_test.ts | 2 +- cli/tests/unit/read_file_test.ts | 2 +- cli/tests/unit/read_link_test.ts | 2 +- cli/tests/unit/real_path_test.ts | 2 +- cli/tests/unit/remove_test.ts | 2 +- cli/tests/unit/rename_test.ts | 2 +- cli/tests/unit/request_test.ts | 2 +- cli/tests/unit/resources_test.ts | 2 +- cli/tests/unit/response_test.ts | 2 +- cli/tests/unit/signal_test.ts | 2 +- cli/tests/unit/stat_test.ts | 2 +- cli/tests/unit/stdio_test.ts | 2 +- cli/tests/unit/streams_deprecated.ts | 2 +- cli/tests/unit/symlink_test.ts | 2 +- cli/tests/unit/sync_test.ts | 2 +- cli/tests/unit/test_util.ts | 2 +- cli/tests/unit/testing_test.ts | 2 +- cli/tests/unit/text_encoding_test.ts | 2 +- cli/tests/unit/timers_test.ts | 2 +- cli/tests/unit/tls_test.ts | 2 +- cli/tests/unit/truncate_test.ts | 2 +- cli/tests/unit/tty_color_test.ts | 2 +- cli/tests/unit/tty_test.ts | 2 +- cli/tests/unit/umask_test.ts | 2 +- cli/tests/unit/url_search_params_test.ts | 2 +- cli/tests/unit/url_test.ts | 2 +- cli/tests/unit/urlpattern_test.ts | 2 +- cli/tests/unit/utime_test.ts | 2 +- cli/tests/unit/websocket_test.ts | 2 +- cli/tests/unit/webstorage_test.ts | 2 +- cli/tests/unit/worker_permissions_test.ts | 2 +- cli/tests/unit/worker_types.ts | 2 +- cli/tests/unit/write_file_test.ts | 2 +- cli/tests/upgrade_tests.rs | 2 +- cli/tests/vendor_tests.rs | 2 +- cli/tests/watcher_tests.rs | 2 +- cli/tests/worker_tests.rs | 2 +- cli/tools/bench.rs | 2 +- cli/tools/bundle.rs | 2 +- cli/tools/check.rs | 2 +- cli/tools/coverage/json_types.rs | 2 +- cli/tools/coverage/merge.rs | 2 +- cli/tools/coverage/mod.rs | 2 +- cli/tools/coverage/range_tree.rs | 2 +- cli/tools/doc.rs | 2 +- cli/tools/fmt.rs | 2 +- cli/tools/info.rs | 2 +- cli/tools/init/mod.rs | 2 +- cli/tools/installer.rs | 2 +- cli/tools/lint.rs | 2 +- cli/tools/mod.rs | 2 +- cli/tools/repl/cdp.rs | 2 +- cli/tools/repl/channel.rs | 2 +- cli/tools/repl/editor.rs | 2 +- cli/tools/repl/mod.rs | 2 +- cli/tools/repl/session.rs | 2 +- cli/tools/run.rs | 2 +- cli/tools/standalone.rs | 2 +- cli/tools/task.rs | 2 +- cli/tools/test.rs | 2 +- cli/tools/upgrade.rs | 2 +- cli/tools/vendor/analyze.rs | 2 +- cli/tools/vendor/build.rs | 2 +- cli/tools/vendor/import_map.rs | 2 +- cli/tools/vendor/mappings.rs | 2 +- cli/tools/vendor/mod.rs | 2 +- cli/tools/vendor/specifiers.rs | 2 +- cli/tools/vendor/test.rs | 2 +- cli/tsc/99_main_compiler.js | 2 +- cli/tsc/compiler.d.ts | 2 +- cli/tsc/diagnostics.rs | 2 +- cli/tsc/dts/lib.deno.ns.d.ts | 2 +- cli/tsc/dts/lib.deno.shared_globals.d.ts | 2 +- cli/tsc/dts/lib.deno.unstable.d.ts | 2 +- cli/tsc/dts/lib.deno.window.d.ts | 2 +- cli/tsc/dts/lib.deno.worker.d.ts | 2 +- cli/tsc/dts/lib.deno_webgpu.d.ts | 2 +- cli/tsc/dts/lib.dom.asynciterable.d.ts | 2 +- cli/tsc/dts/lib.dom.extras.d.ts | 2 +- cli/tsc/mod.rs | 2 +- cli/util/checksum.rs | 2 +- cli/util/diff.rs | 2 +- cli/util/display.rs | 2 +- cli/util/draw_thread.rs | 2 +- cli/util/file_watcher.rs | 2 +- cli/util/fs.rs | 2 +- cli/util/logger.rs | 2 +- cli/util/mod.rs | 2 +- cli/util/progress_bar/mod.rs | 2 +- cli/util/progress_bar/renderer.rs | 2 +- cli/util/text_encoding.rs | 2 +- cli/util/unix.rs | 2 +- cli/util/windows.rs | 2 +- cli/version.rs | 2 +- core/00_primordials.js | 2 +- core/01_core.js | 2 +- core/02_error.js | 2 +- core/Cargo.toml | 2 +- core/async_cancel.rs | 2 +- core/async_cell.rs | 2 +- core/bindings.rs | 2 +- core/encode_decode_test.js | 2 +- core/error.rs | 2 +- core/error_builder_test.js | 2 +- core/examples/disable_ops.rs | 2 +- core/examples/eval_js_value.rs | 2 +- core/examples/fs_module_loader.rs | 2 +- core/examples/hello_world.rs | 2 +- core/examples/http_bench_json_ops.js | 2 +- core/examples/http_bench_json_ops.rs | 2 +- core/examples/panik.rs | 2 +- core/examples/schedule_task.rs | 2 +- core/examples/ts_module_loader.rs | 2 +- core/examples/wasm.js | 2 +- core/examples/wasm.rs | 2 +- core/examples/wasm.ts | 2 +- core/extensions.rs | 2 +- core/flags.rs | 2 +- core/gotham_state.rs | 2 +- core/inspector.rs | 2 +- core/internal.d.ts | 2 +- core/io.rs | 2 +- core/lib.deno_core.d.ts | 2 +- core/lib.rs | 2 +- core/module_specifier.rs | 2 +- core/modules.rs | 2 +- core/normalize_path.rs | 2 +- core/ops.rs | 2 +- core/ops_builtin.rs | 2 +- core/ops_builtin_v8.rs | 2 +- core/ops_metrics.rs | 2 +- core/resources.rs | 2 +- core/runtime.rs | 2 +- core/serialize_deserialize_test.js | 2 +- core/source_map.rs | 2 +- ext/broadcast_channel/01_broadcast_channel.js | 2 +- ext/broadcast_channel/Cargo.toml | 2 +- ext/broadcast_channel/in_memory_broadcast_channel.rs | 2 +- ext/broadcast_channel/lib.deno_broadcast_channel.d.ts | 2 +- ext/broadcast_channel/lib.rs | 2 +- ext/cache/01_cache.js | 2 +- ext/cache/Cargo.toml | 2 +- ext/cache/lib.deno_cache.d.ts | 2 +- ext/cache/lib.rs | 2 +- ext/cache/sqlite.rs | 2 +- ext/console/01_colors.js | 2 +- ext/console/02_console.js | 2 +- ext/console/Cargo.toml | 2 +- ext/console/internal.d.ts | 2 +- ext/console/lib.deno_console.d.ts | 2 +- ext/console/lib.rs | 2 +- ext/crypto/00_crypto.js | 2 +- ext/crypto/01_webidl.js | 2 +- ext/crypto/Cargo.toml | 2 +- ext/crypto/key.rs | 2 +- ext/crypto/lib.deno_crypto.d.ts | 2 +- ext/crypto/lib.rs | 2 +- ext/fetch/01_fetch_util.js | 2 +- ext/fetch/20_headers.js | 2 +- ext/fetch/21_formdata.js | 2 +- ext/fetch/22_body.js | 2 +- ext/fetch/22_http_client.js | 2 +- ext/fetch/23_request.js | 2 +- ext/fetch/23_response.js | 2 +- ext/fetch/26_fetch.js | 2 +- ext/fetch/Cargo.toml | 2 +- ext/fetch/byte_stream.rs | 2 +- ext/fetch/fs_fetch_handler.rs | 2 +- ext/fetch/internal.d.ts | 2 +- ext/fetch/lib.deno_fetch.d.ts | 2 +- ext/fetch/lib.rs | 2 +- ext/ffi/00_ffi.js | 2 +- ext/ffi/Cargo.toml | 2 +- ext/ffi/call.rs | 2 +- ext/ffi/callback.rs | 2 +- ext/ffi/dlfcn.rs | 2 +- ext/ffi/ir.rs | 2 +- ext/ffi/lib.rs | 2 +- ext/ffi/repr.rs | 2 +- ext/ffi/static.rs | 2 +- ext/ffi/symbol.rs | 2 +- ext/ffi/turbocall.rs | 2 +- ext/flash/01_http.js | 2 +- ext/flash/Cargo.toml | 2 +- ext/flash/chunked.rs | 2 +- ext/flash/lib.rs | 2 +- ext/flash/request.rs | 2 +- ext/flash/sendfile.rs | 2 +- ext/http/01_http.js | 2 +- ext/http/Cargo.toml | 2 +- ext/http/benches/compressible.rs | 2 +- ext/http/compressible.rs | 2 +- ext/http/lib.rs | 2 +- ext/http/reader_stream.rs | 2 +- ext/napi/Cargo.toml | 2 +- ext/napi/function.rs | 2 +- ext/napi/lib.rs | 2 +- ext/napi/value.rs | 2 +- ext/net/01_net.js | 2 +- ext/net/02_tls.js | 2 +- ext/net/Cargo.toml | 2 +- ext/net/io.rs | 2 +- ext/net/lib.deno_net.d.ts | 2 +- ext/net/lib.rs | 2 +- ext/net/ops.rs | 2 +- ext/net/ops_tls.rs | 2 +- ext/net/ops_unix.rs | 2 +- ext/net/resolve_addr.rs | 2 +- ext/node/01_node.js | 2 +- ext/node/02_require.js | 2 +- ext/node/Cargo.toml | 2 +- ext/node/errors.rs | 2 +- ext/node/lib.rs | 2 +- ext/node/package_json.rs | 2 +- ext/node/resolution.rs | 2 +- ext/tls/Cargo.toml | 2 +- ext/tls/lib.rs | 2 +- ext/url/00_url.js | 2 +- ext/url/01_urlpattern.js | 2 +- ext/url/Cargo.toml | 2 +- ext/url/internal.d.ts | 2 +- ext/url/lib.deno_url.d.ts | 2 +- ext/url/lib.rs | 2 +- ext/web/00_infra.js | 2 +- ext/web/01_dom_exception.js | 2 +- ext/web/01_mimesniff.js | 2 +- ext/web/02_event.js | 2 +- ext/web/02_structured_clone.js | 2 +- ext/web/02_timers.js | 2 +- ext/web/03_abort_signal.js | 2 +- ext/web/04_global_interfaces.js | 2 +- ext/web/05_base64.js | 2 +- ext/web/06_streams.js | 2 +- ext/web/06_streams_types.d.ts | 2 +- ext/web/08_text_encoding.js | 2 +- ext/web/09_file.js | 2 +- ext/web/10_filereader.js | 2 +- ext/web/11_blob_url.js | 2 +- ext/web/12_location.js | 2 +- ext/web/13_message_port.js | 2 +- ext/web/14_compression.js | 2 +- ext/web/15_performance.js | 2 +- ext/web/Cargo.toml | 2 +- ext/web/compression.rs | 2 +- ext/web/internal.d.ts | 2 +- ext/web/lib.deno_web.d.ts | 2 +- ext/web/lib.rs | 2 +- ext/web/timers.rs | 2 +- ext/webgpu/Cargo.toml | 2 +- ext/webgpu/LICENSE.md | 2 +- ext/webgpu/src/01_webgpu.js | 2 +- ext/webgpu/src/02_idl_types.js | 2 +- ext/webgpu/src/binding.rs | 2 +- ext/webgpu/src/buffer.rs | 2 +- ext/webgpu/src/bundle.rs | 2 +- ext/webgpu/src/command_encoder.rs | 2 +- ext/webgpu/src/compute_pass.rs | 2 +- ext/webgpu/src/error.rs | 2 +- ext/webgpu/src/lib.rs | 2 +- ext/webgpu/src/pipeline.rs | 2 +- ext/webgpu/src/queue.rs | 2 +- ext/webgpu/src/render_pass.rs | 2 +- ext/webgpu/src/sampler.rs | 2 +- ext/webgpu/src/shader.rs | 2 +- ext/webgpu/src/texture.rs | 2 +- ext/webidl/00_webidl.js | 2 +- ext/webidl/Cargo.toml | 2 +- ext/webidl/internal.d.ts | 2 +- ext/webidl/lib.rs | 2 +- ext/websocket/01_websocket.js | 2 +- ext/websocket/02_websocketstream.js | 2 +- ext/websocket/Cargo.toml | 2 +- ext/websocket/lib.deno_websocket.d.ts | 2 +- ext/websocket/lib.rs | 2 +- ext/webstorage/01_webstorage.js | 2 +- ext/webstorage/Cargo.toml | 2 +- ext/webstorage/lib.deno_webstorage.d.ts | 2 +- ext/webstorage/lib.rs | 2 +- ops/Cargo.toml | 2 +- ops/attrs.rs | 2 +- ops/deno.rs | 2 +- ops/lib.rs | 2 +- runtime/Cargo.toml | 2 +- runtime/build.rs | 2 +- runtime/colors.rs | 2 +- runtime/errors.rs | 2 +- runtime/examples/hello_runtime.js | 2 +- runtime/examples/hello_runtime.rs | 2 +- runtime/fmt_errors.rs | 2 +- runtime/fs_util.rs | 2 +- runtime/inspector_server.rs | 2 +- runtime/js.rs | 2 +- runtime/js/01_build.js | 2 +- runtime/js/01_errors.js | 2 +- runtime/js/01_version.js | 2 +- runtime/js/01_web_util.js | 2 +- runtime/js/06_util.js | 2 +- runtime/js/10_permissions.js | 2 +- runtime/js/11_workers.js | 2 +- runtime/js/12_io.js | 2 +- runtime/js/13_buffer.js | 2 +- runtime/js/30_fs.js | 2 +- runtime/js/30_os.js | 2 +- runtime/js/40_diagnostics.js | 2 +- runtime/js/40_files.js | 2 +- runtime/js/40_fs_events.js | 2 +- runtime/js/40_http.js | 2 +- runtime/js/40_process.js | 2 +- runtime/js/40_read_file.js | 2 +- runtime/js/40_signals.js | 2 +- runtime/js/40_tty.js | 2 +- runtime/js/40_write_file.js | 2 +- runtime/js/41_prompt.js | 2 +- runtime/js/90_deno_ns.js | 2 +- runtime/js/98_global_scope.js | 2 +- runtime/js/99_main.js | 2 +- runtime/lib.rs | 2 +- runtime/ops/fs.rs | 2 +- runtime/ops/fs_events.rs | 2 +- runtime/ops/io.rs | 2 +- runtime/ops/mod.rs | 2 +- runtime/ops/os/mod.rs | 2 +- runtime/ops/os/sys_info.rs | 2 +- runtime/ops/permissions.rs | 2 +- runtime/ops/process.rs | 2 +- runtime/ops/runtime.rs | 2 +- runtime/ops/signal.rs | 2 +- runtime/ops/tty.rs | 2 +- runtime/ops/utils.rs | 2 +- runtime/ops/web_worker.rs | 2 +- runtime/ops/web_worker/sync_fetch.rs | 2 +- runtime/ops/worker_host.rs | 2 +- runtime/permissions/mod.rs | 2 +- runtime/permissions/prompter.rs | 2 +- runtime/tokio_util.rs | 2 +- runtime/web_worker.rs | 2 +- runtime/worker.rs | 2 +- runtime/worker_bootstrap.rs | 2 +- serde_v8/Cargo.toml | 2 +- serde_v8/benches/de.rs | 2 +- serde_v8/benches/ser.rs | 2 +- serde_v8/de.rs | 2 +- serde_v8/error.rs | 2 +- serde_v8/examples/basic.rs | 2 +- serde_v8/keys.rs | 2 +- serde_v8/lib.rs | 2 +- serde_v8/magic/buffer.rs | 2 +- serde_v8/magic/bytestring.rs | 2 +- serde_v8/magic/detached_buffer.rs | 2 +- serde_v8/magic/global.rs | 2 +- serde_v8/magic/mod.rs | 2 +- serde_v8/magic/rawbytes.rs | 2 +- serde_v8/magic/string_or_buffer.rs | 2 +- serde_v8/magic/transl8.rs | 2 +- serde_v8/magic/v8slice.rs | 2 +- serde_v8/magic/value.rs | 2 +- serde_v8/payload.rs | 2 +- serde_v8/ser.rs | 2 +- serde_v8/serializable.rs | 2 +- serde_v8/tests/de.rs | 2 +- serde_v8/tests/magic.rs | 2 +- serde_v8/tests/ser.rs | 2 +- serde_v8/utils.rs | 2 +- test_ffi/Cargo.toml | 2 +- test_ffi/src/lib.rs | 2 +- test_ffi/tests/bench.js | 2 +- test_ffi/tests/ffi_types.ts | 2 +- test_ffi/tests/integration_tests.rs | 2 +- test_ffi/tests/test.js | 4 ++-- test_ffi/tests/thread_safe_test.js | 2 +- test_ffi/tests/thread_safe_test_worker.js | 2 +- test_napi/Cargo.toml | 2 +- test_napi/array_test.js | 2 +- test_napi/arraybuffer_test.js | 2 +- test_napi/async_test.js | 2 +- test_napi/build.rs | 2 +- test_napi/callback_test.js | 2 +- test_napi/coerce_test.js | 2 +- test_napi/common.js | 2 +- test_napi/numbers_test.js | 2 +- test_napi/object_wrap_test.js | 2 +- test_napi/promise_test.js | 2 +- test_napi/properties_test.js | 2 +- test_napi/src/array.rs | 2 +- test_napi/src/arraybuffer.rs | 2 +- test_napi/src/async.rs | 2 +- test_napi/src/callback.rs | 2 +- test_napi/src/coerce.rs | 2 +- test_napi/src/lib.rs | 2 +- test_napi/src/numbers.rs | 2 +- test_napi/src/object_wrap.rs | 2 +- test_napi/src/promise.rs | 2 +- test_napi/src/properties.rs | 2 +- test_napi/src/strings.rs | 2 +- test_napi/src/typedarray.rs | 2 +- test_napi/strings_test.js | 2 +- test_napi/tests/napi_tests.rs | 2 +- test_napi/typedarray_test.js | 2 +- test_util/Cargo.toml | 2 +- test_util/src/lib.rs | 2 +- test_util/src/lsp.rs | 2 +- test_util/src/test_server.rs | 2 +- tools/build_benchmark_jsons.js | 2 +- tools/flamebench.js | 2 +- tools/format.js | 2 +- tools/lint.js | 2 +- tools/napi/generate_symbols_lists.js | 2 +- tools/release/00_start_release.ts | 2 +- tools/release/01_bump_crate_versions.ts | 2 +- tools/release/02_create_pr.ts | 2 +- tools/release/03_publish_crates.ts | 2 +- tools/release/04_post_publish.ts | 2 +- tools/release/05_create_release_notes.ts | 2 +- tools/release/deno_workspace.ts | 2 +- tools/release/deps.ts | 2 +- tools/util.js | 2 +- tools/wgpu_sync.js | 2 +- tools/wpt.ts | 2 +- tools/wpt/runner.ts | 2 +- tools/wpt/testharnessreport.js | 2 +- tools/wpt/utils.ts | 2 +- 641 files changed, 643 insertions(+), 644 deletions(-) diff --git a/.github/mtime_cache/action.js b/.github/mtime_cache/action.js index e77fe0b9f9..803e9b7102 100644 --- a/.github/mtime_cache/action.js +++ b/.github/mtime_cache/action.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // This file contains the implementation of a Github Action. Github uses // Node.js v12.x to run actions, so this is Node code and not Deno code. diff --git a/.rustfmt.toml b/.rustfmt.toml index b86b9a6e86..9bb8d9d458 100644 --- a/.rustfmt.toml +++ b/.rustfmt.toml @@ -1,4 +1,3 @@ -# Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. max_width = 80 tab_spaces = 2 edition = "2021" diff --git a/Cargo.toml b/Cargo.toml index 11225e0e6c..0164a93654 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +# Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. [workspace] resolver = "2" diff --git a/LICENSE.md b/LICENSE.md index cfc3a5226e..aec557f3a0 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -1,6 +1,6 @@ MIT License -Copyright 2018-2022 the Deno authors +Copyright 2018-2023 the Deno authors Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in diff --git a/bench_util/Cargo.toml b/bench_util/Cargo.toml index 05156d3a9e..5b7e2d34a0 100644 --- a/bench_util/Cargo.toml +++ b/bench_util/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +# Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. [package] name = "deno_bench_util" diff --git a/bench_util/js_runtime.rs b/bench_util/js_runtime.rs index 0495d6d8dc..81cc84155e 100644 --- a/bench_util/js_runtime.rs +++ b/bench_util/js_runtime.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use bencher::Bencher; use deno_core::v8; use deno_core::Extension; diff --git a/bench_util/lib.rs b/bench_util/lib.rs index 1dfb06ae09..f70474a91d 100644 --- a/bench_util/lib.rs +++ b/bench_util/lib.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. mod js_runtime; mod profiling; diff --git a/bench_util/profiling.rs b/bench_util/profiling.rs index 26d8d8fd6f..bd65e32746 100644 --- a/bench_util/profiling.rs +++ b/bench_util/profiling.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use bencher::{DynBenchFn, StaticBenchFn, TestDescAndFn, TestOpts}; pub fn is_profiling() -> bool { diff --git a/cli/Cargo.toml b/cli/Cargo.toml index 665a715ae4..4d61d1703a 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +# Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. [package] name = "deno" diff --git a/cli/args/config_file.rs b/cli/args/config_file.rs index 79e1c53670..0a708eeeed 100644 --- a/cli/args/config_file.rs +++ b/cli/args/config_file.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use crate::args::ConfigFlag; use crate::args::Flags; diff --git a/cli/args/flags.rs b/cli/args/flags.rs index 7c3eae7787..f3ba85e451 100644 --- a/cli/args/flags.rs +++ b/cli/args/flags.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use clap::Arg; use clap::ArgMatches; diff --git a/cli/args/flags_allow_net.rs b/cli/args/flags_allow_net.rs index 613ce04fee..38a4ac83ae 100644 --- a/cli/args/flags_allow_net.rs +++ b/cli/args/flags_allow_net.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use deno_core::url::Url; use std::net::IpAddr; diff --git a/cli/args/lockfile.rs b/cli/args/lockfile.rs index 1b5eddf3a1..3c150a0894 100644 --- a/cli/args/lockfile.rs +++ b/cli/args/lockfile.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use deno_core::anyhow::Context; use deno_core::error::AnyError; diff --git a/cli/args/mod.rs b/cli/args/mod.rs index 09690412df..97b70698dd 100644 --- a/cli/args/mod.rs +++ b/cli/args/mod.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. mod config_file; mod flags; diff --git a/cli/auth_tokens.rs b/cli/auth_tokens.rs index 4afd87e594..360a7e6c7f 100644 --- a/cli/auth_tokens.rs +++ b/cli/auth_tokens.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use deno_core::ModuleSpecifier; use log::debug; diff --git a/cli/bench/async_ops.js b/cli/bench/async_ops.js index 2647accbdd..d608e7a9ef 100644 --- a/cli/bench/async_ops.js +++ b/cli/bench/async_ops.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. const queueMicrotask = globalThis.queueMicrotask || process.nextTick; let [total, count] = typeof Deno !== "undefined" ? Deno.args diff --git a/cli/bench/cache_api.js b/cli/bench/cache_api.js index 3e059e80ae..31537917e2 100644 --- a/cli/bench/cache_api.js +++ b/cli/bench/cache_api.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. const cacheName = "cache-v1"; const cache = await caches.open(cacheName); diff --git a/cli/bench/command.js b/cli/bench/command.js index 5b57dd4f67..04e8456d38 100644 --- a/cli/bench/command.js +++ b/cli/bench/command.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. Deno.bench("echo deno", async () => { await new Deno.Command("echo", { args: ["deno"] }).output(); diff --git a/cli/bench/console.js b/cli/bench/console.js index b1873953c3..f31d77d25a 100644 --- a/cli/bench/console.js +++ b/cli/bench/console.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. const count = 100000; const start = Date.now(); diff --git a/cli/bench/deno_common.js b/cli/bench/deno_common.js index 0ce0559121..2676fc8de6 100644 --- a/cli/bench/deno_common.js +++ b/cli/bench/deno_common.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // v8 builtin that's close to the upper bound non-NOPs Deno.bench("date_now", { n: 5e5 }, () => { diff --git a/cli/bench/encode_into.js b/cli/bench/encode_into.js index aaee234348..0767ebfce0 100644 --- a/cli/bench/encode_into.js +++ b/cli/bench/encode_into.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. const queueMicrotask = globalThis.queueMicrotask || process.nextTick; let [total, count] = typeof Deno !== "undefined" ? Deno.args diff --git a/cli/bench/fs/run.mjs b/cli/bench/fs/run.mjs index 92471d638b..7f27438b08 100644 --- a/cli/bench/fs/run.mjs +++ b/cli/bench/fs/run.mjs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. let total = 5; let current = ""; diff --git a/cli/bench/fs/serve.jsx b/cli/bench/fs/serve.jsx index 3ef07c6a09..dff01c4b0a 100644 --- a/cli/bench/fs/serve.jsx +++ b/cli/bench/fs/serve.jsx @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. /** @jsx h */ import results from "./deno.json" assert { type: "json" }; diff --git a/cli/bench/getrandom.js b/cli/bench/getrandom.js index 94df0a802d..810fa4a71b 100644 --- a/cli/bench/getrandom.js +++ b/cli/bench/getrandom.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. let [total, count] = typeof Deno !== "undefined" ? Deno.args : [process.argv[2], process.argv[3]]; diff --git a/cli/bench/http.rs b/cli/bench/http.rs index 3dbe304c6f..c95ba97219 100644 --- a/cli/bench/http.rs +++ b/cli/bench/http.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use super::Result; use std::sync::atomic::{AtomicU16, Ordering}; diff --git a/cli/bench/http/bun_hono_router.js b/cli/bench/http/bun_hono_router.js index 38f9c35423..395ac35a0e 100644 --- a/cli/bench/http/bun_hono_router.js +++ b/cli/bench/http/bun_hono_router.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. const port = Bun.argv[2] || "4545"; const { Hono } = require("../testdata/npm/hono/dist/index.js"); diff --git a/cli/bench/http/bun_http.js b/cli/bench/http/bun_http.js index 89ff9b1211..5eaa328eb0 100644 --- a/cli/bench/http/bun_http.js +++ b/cli/bench/http/bun_http.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. const port = Bun.argv[2] || "4545"; Bun.serve({ fetch(_req) { diff --git a/cli/bench/http/bun_http_send_file.js b/cli/bench/http/bun_http_send_file.js index 268da9ae96..745cf34b8d 100644 --- a/cli/bench/http/bun_http_send_file.js +++ b/cli/bench/http/bun_http_send_file.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. const port = Bun.argv[2] || "4545"; const path = new URL("../testdata/128k.bin", import.meta.url).pathname; diff --git a/cli/bench/http/deno_flash_hono_router.js b/cli/bench/http/deno_flash_hono_router.js index af6adc9ba1..ef78849b25 100644 --- a/cli/bench/http/deno_flash_hono_router.js +++ b/cli/bench/http/deno_flash_hono_router.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { Hono } from "https://deno.land/x/hono@v2.0.9/mod.ts"; const addr = Deno.args[0] || "127.0.0.1:4500"; diff --git a/cli/bench/http/deno_flash_send_file.js b/cli/bench/http/deno_flash_send_file.js index db2ad7a829..b613a61640 100644 --- a/cli/bench/http/deno_flash_send_file.js +++ b/cli/bench/http/deno_flash_send_file.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. const addr = Deno.args[0] || "127.0.0.1:4500"; const [hostname, port] = addr.split(":"); diff --git a/cli/bench/http/deno_http_flash.js b/cli/bench/http/deno_http_flash.js index 4b6a1eb21f..4add599eb4 100644 --- a/cli/bench/http/deno_http_flash.js +++ b/cli/bench/http/deno_http_flash.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. const addr = Deno.args[0] || "127.0.0.1:4500"; const [hostname, port] = addr.split(":"); diff --git a/cli/bench/http/deno_http_flash_ops.js b/cli/bench/http/deno_http_flash_ops.js index 970447a42e..1ef2f65ed5 100644 --- a/cli/bench/http/deno_http_flash_ops.js +++ b/cli/bench/http/deno_http_flash_ops.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // deno-lint-ignore-file diff --git a/cli/bench/http/deno_http_flash_post_bin.js b/cli/bench/http/deno_http_flash_post_bin.js index cea530e603..b81553dcd4 100644 --- a/cli/bench/http/deno_http_flash_post_bin.js +++ b/cli/bench/http/deno_http_flash_post_bin.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. const addr = Deno.args[0] || "127.0.0.1:4500"; const [hostname, port] = addr.split(":"); diff --git a/cli/bench/http/deno_http_native.js b/cli/bench/http/deno_http_native.js index a45416adaa..285bc9b1f8 100644 --- a/cli/bench/http/deno_http_native.js +++ b/cli/bench/http/deno_http_native.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. const addr = Deno.args[0] || "127.0.0.1:4500"; const [hostname, port] = addr.split(":"); diff --git a/cli/bench/http/deno_http_read_headers.js b/cli/bench/http/deno_http_read_headers.js index 75346b38df..de9738c970 100644 --- a/cli/bench/http/deno_http_read_headers.js +++ b/cli/bench/http/deno_http_read_headers.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. const addr = Deno.args[0] || "127.0.0.1:4500"; const [hostname, port] = addr.split(":"); diff --git a/cli/bench/http/deno_post_bin.js b/cli/bench/http/deno_post_bin.js index 33ffeed1b0..ebdced64b6 100644 --- a/cli/bench/http/deno_post_bin.js +++ b/cli/bench/http/deno_post_bin.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. const addr = Deno.args[0] || "127.0.0.1:4500"; const [hostname, port] = addr.split(":"); diff --git a/cli/bench/http/deno_post_json.js b/cli/bench/http/deno_post_json.js index 90c68f6e45..5a905f8d5f 100644 --- a/cli/bench/http/deno_post_json.js +++ b/cli/bench/http/deno_post_json.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. const addr = Deno.args[0] || "127.0.0.1:4500"; const [hostname, port] = addr.split(":"); diff --git a/cli/bench/http/deno_tcp.ts b/cli/bench/http/deno_tcp.ts index 43b4d22645..a7ce03e668 100644 --- a/cli/bench/http/deno_tcp.ts +++ b/cli/bench/http/deno_tcp.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // Used for benchmarking Deno's networking. // TODO(bartlomieju): Replace this with a real HTTP server once // https://github.com/denoland/deno/issues/726 is completed. diff --git a/cli/bench/http/node_http.js b/cli/bench/http/node_http.js index 3380c86a52..3c0d9c41c7 100644 --- a/cli/bench/http/node_http.js +++ b/cli/bench/http/node_http.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. const http = require("http"); const port = process.argv[2] || "4544"; console.log("port", port); diff --git a/cli/bench/http/node_http_read_headers.js b/cli/bench/http/node_http_read_headers.js index 98716c72b3..0ec230a3a6 100644 --- a/cli/bench/http/node_http_read_headers.js +++ b/cli/bench/http/node_http_read_headers.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. const http = require("http"); const port = process.argv[2] || "4544"; console.log("port", port); diff --git a/cli/bench/http/node_post_bin.js b/cli/bench/http/node_post_bin.js index d0f2d6667c..9026c29587 100644 --- a/cli/bench/http/node_post_bin.js +++ b/cli/bench/http/node_post_bin.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. const http = require("http"); const port = process.argv[2] || "4544"; console.log("port", port); diff --git a/cli/bench/http/node_post_json.js b/cli/bench/http/node_post_json.js index 074d005d05..bab64b28d4 100644 --- a/cli/bench/http/node_post_json.js +++ b/cli/bench/http/node_post_json.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. const http = require("http"); const port = process.argv[2] || "4544"; console.log("port", port); diff --git a/cli/bench/http/node_tcp.js b/cli/bench/http/node_tcp.js index cb51a63a5d..2f8abb375c 100644 --- a/cli/bench/http/node_tcp.js +++ b/cli/bench/http/node_tcp.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // Note: this is a keep-alive server. const { Server } = require("net"); const port = process.argv[2] || "4544"; diff --git a/cli/bench/lsp.rs b/cli/bench/lsp.rs index 7aa35d0993..fe6fd2703d 100644 --- a/cli/bench/lsp.rs +++ b/cli/bench/lsp.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use deno_core::error::AnyError; use deno_core::serde::Deserialize; diff --git a/cli/bench/lsp_bench_standalone.rs b/cli/bench/lsp_bench_standalone.rs index b8682f7cdc..080f25e734 100644 --- a/cli/bench/lsp_bench_standalone.rs +++ b/cli/bench/lsp_bench_standalone.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use deno_bench_util::bencher::benchmark_group; use deno_bench_util::bencher::benchmark_main; diff --git a/cli/bench/main.rs b/cli/bench/main.rs index 02df982d85..e6b9895f24 100644 --- a/cli/bench/main.rs +++ b/cli/bench/main.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use deno_core::error::AnyError; use deno_core::serde_json; diff --git a/cli/bench/op_now.js b/cli/bench/op_now.js index edce96feda..adc78d4515 100644 --- a/cli/bench/op_now.js +++ b/cli/bench/op_now.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. const queueMicrotask = globalThis.queueMicrotask || process.nextTick; let [total, count] = typeof Deno !== "undefined" ? Deno.args diff --git a/cli/bench/secure_curves.js b/cli/bench/secure_curves.js index dfb40c2617..3ad9c004f1 100644 --- a/cli/bench/secure_curves.js +++ b/cli/bench/secure_curves.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. let [total, count] = typeof Deno !== "undefined" ? Deno.args : [process.argv[2], process.argv[3]]; diff --git a/cli/bench/stdio/stdio.c b/cli/bench/stdio/stdio.c index 8125a0d00f..f878c5b438 100644 --- a/cli/bench/stdio/stdio.c +++ b/cli/bench/stdio/stdio.c @@ -1,5 +1,5 @@ // From https://github.com/just-js/benchmarks/tree/main/01-stdio -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. #include #include diff --git a/cli/bench/stdio/stdio.js b/cli/bench/stdio/stdio.js index 0663d6fd7d..1d11c273dd 100644 --- a/cli/bench/stdio/stdio.js +++ b/cli/bench/stdio/stdio.js @@ -1,5 +1,5 @@ // From https://github.com/just-js/benchmarks/tree/main/01-stdio -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. const blocksize = parseInt(Deno.args[0] || 65536); const buf = new Uint8Array(blocksize); diff --git a/cli/bench/tcp.js b/cli/bench/tcp.js index 826f5f87b1..6b90239516 100644 --- a/cli/bench/tcp.js +++ b/cli/bench/tcp.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. const listener = Deno.listen({ port: 4500 }); const response = new TextEncoder().encode( diff --git a/cli/bench/tty.js b/cli/bench/tty.js index c01af255f8..f7e9920932 100644 --- a/cli/bench/tty.js +++ b/cli/bench/tty.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. const queueMicrotask = globalThis.queueMicrotask || process.nextTick; let [total, count] = typeof Deno !== "undefined" ? Deno.args diff --git a/cli/bench/url_parse.js b/cli/bench/url_parse.js index d19793f63b..56d6fc4840 100644 --- a/cli/bench/url_parse.js +++ b/cli/bench/url_parse.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. const queueMicrotask = globalThis.queueMicrotask || process.nextTick; let [total, count] = typeof Deno !== "undefined" ? Deno.args diff --git a/cli/bench/write_file.js b/cli/bench/write_file.js index 2f09b36451..b02d3eb56b 100644 --- a/cli/bench/write_file.js +++ b/cli/bench/write_file.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. const queueMicrotask = globalThis.queueMicrotask || process.nextTick; let [total, count] = typeof Deno !== "undefined" ? Deno.args diff --git a/cli/build.rs b/cli/build.rs index e39108c4c8..5ef2296e82 100644 --- a/cli/build.rs +++ b/cli/build.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use deno_core::Extension; use std::env; diff --git a/cli/cache/check.rs b/cli/cache/check.rs index 51adea9a12..2d9acdf518 100644 --- a/cli/cache/check.rs +++ b/cli/cache/check.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use std::path::Path; diff --git a/cli/cache/common.rs b/cli/cache/common.rs index 94fe383a56..33623bb795 100644 --- a/cli/cache/common.rs +++ b/cli/cache/common.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use std::hash::Hasher; diff --git a/cli/cache/deno_dir.rs b/cli/cache/deno_dir.rs index 217658c15e..e802aaacbe 100644 --- a/cli/cache/deno_dir.rs +++ b/cli/cache/deno_dir.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use super::DiskCache; diff --git a/cli/cache/disk_cache.rs b/cli/cache/disk_cache.rs index 894b96d2a1..b978502041 100644 --- a/cli/cache/disk_cache.rs +++ b/cli/cache/disk_cache.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use super::http_cache::url_to_filename; use super::CACHE_PERM; diff --git a/cli/cache/emit.rs b/cli/cache/emit.rs index 8595627f82..21f382c55c 100644 --- a/cli/cache/emit.rs +++ b/cli/cache/emit.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use std::path::PathBuf; diff --git a/cli/cache/http_cache.rs b/cli/cache/http_cache.rs index f4cf3ef110..4be3166c90 100644 --- a/cli/cache/http_cache.rs +++ b/cli/cache/http_cache.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. //! This module is meant to eventually implement HTTP cache //! as defined in RFC 7234 (). //! Currently it's a very simplified version to fulfill Deno needs diff --git a/cli/cache/incremental.rs b/cli/cache/incremental.rs index b5c8180c30..2e838e85a5 100644 --- a/cli/cache/incremental.rs +++ b/cli/cache/incremental.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use std::collections::HashMap; use std::path::Path; diff --git a/cli/cache/mod.rs b/cli/cache/mod.rs index b0d79400aa..68bf1e4c62 100644 --- a/cli/cache/mod.rs +++ b/cli/cache/mod.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use crate::errors::get_error_class_name; use crate::file_fetcher::FileFetcher; diff --git a/cli/cache/node.rs b/cli/cache/node.rs index d84a25c343..cc93f36e12 100644 --- a/cli/cache/node.rs +++ b/cli/cache/node.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use std::path::Path; diff --git a/cli/deno_std.rs b/cli/deno_std.rs index 01c2fddecb..017d821687 100644 --- a/cli/deno_std.rs +++ b/cli/deno_std.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use deno_core::url::Url; use once_cell::sync::Lazy; diff --git a/cli/emit.rs b/cli/emit.rs index ee591b2a19..d322fe38e6 100644 --- a/cli/emit.rs +++ b/cli/emit.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use crate::cache::EmitCache; use crate::cache::FastInsecureHasher; diff --git a/cli/errors.rs b/cli/errors.rs index eb6667bbea..5259b90fba 100644 --- a/cli/errors.rs +++ b/cli/errors.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. //! There are many types of errors in Deno: //! - AnyError: a generic wrapper that can encapsulate any type of error. diff --git a/cli/file_fetcher.rs b/cli/file_fetcher.rs index 8738e4f486..b8ee82a80b 100644 --- a/cli/file_fetcher.rs +++ b/cli/file_fetcher.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use crate::args::CacheSetting; use crate::auth_tokens::AuthToken; diff --git a/cli/graph_util.rs b/cli/graph_util.rs index 2c44e39c29..ba90245f88 100644 --- a/cli/graph_util.rs +++ b/cli/graph_util.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use crate::args::Lockfile; use crate::args::TsConfigType; diff --git a/cli/http_util.rs b/cli/http_util.rs index e7fbcd1f31..acec734365 100644 --- a/cli/http_util.rs +++ b/cli/http_util.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use crate::util::progress_bar::UpdateGuard; use crate::version::get_user_agent; diff --git a/cli/js/40_testing.js b/cli/js/40_testing.js index 3818c36479..f4dcf8a915 100644 --- a/cli/js/40_testing.js +++ b/cli/js/40_testing.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. "use strict"; ((window) => { diff --git a/cli/lsp/analysis.rs b/cli/lsp/analysis.rs index bce89cc355..e436dc91a7 100644 --- a/cli/lsp/analysis.rs +++ b/cli/lsp/analysis.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use super::diagnostics::DenoDiagnostic; use super::documents::Documents; diff --git a/cli/lsp/cache.rs b/cli/lsp/cache.rs index 7f7f698718..47f6e44ba9 100644 --- a/cli/lsp/cache.rs +++ b/cli/lsp/cache.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use crate::cache::CachedUrlMetadata; use crate::cache::HttpCache; diff --git a/cli/lsp/capabilities.rs b/cli/lsp/capabilities.rs index 08a3d88144..029c5c9a97 100644 --- a/cli/lsp/capabilities.rs +++ b/cli/lsp/capabilities.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. ///! ///! Provides information about what capabilities that are supported by the diff --git a/cli/lsp/code_lens.rs b/cli/lsp/code_lens.rs index a4668fd2de..1253fe5aa1 100644 --- a/cli/lsp/code_lens.rs +++ b/cli/lsp/code_lens.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use super::analysis::source_range_to_lsp_range; use super::config::Config; diff --git a/cli/lsp/completions.rs b/cli/lsp/completions.rs index 73f772cf22..70d707bc72 100644 --- a/cli/lsp/completions.rs +++ b/cli/lsp/completions.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use super::client::Client; use super::config::ConfigSnapshot; diff --git a/cli/lsp/config.rs b/cli/lsp/config.rs index 8d5da46b7a..3f60ac146c 100644 --- a/cli/lsp/config.rs +++ b/cli/lsp/config.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use super::client::Client; use super::logging::lsp_log; diff --git a/cli/lsp/diagnostics.rs b/cli/lsp/diagnostics.rs index 2723b44dbd..c52bde7901 100644 --- a/cli/lsp/diagnostics.rs +++ b/cli/lsp/diagnostics.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use super::analysis; use super::cache; diff --git a/cli/lsp/documents.rs b/cli/lsp/documents.rs index edf5497aba..bedd1f9a7a 100644 --- a/cli/lsp/documents.rs +++ b/cli/lsp/documents.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use super::cache::calculate_fs_version; use super::text::LineIndex; diff --git a/cli/lsp/language_server.rs b/cli/lsp/language_server.rs index e23db159a8..ff294e34b5 100644 --- a/cli/lsp/language_server.rs +++ b/cli/lsp/language_server.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use deno_ast::MediaType; use deno_core::anyhow::anyhow; diff --git a/cli/lsp/logging.rs b/cli/lsp/logging.rs index 88392dca22..7099b08bcb 100644 --- a/cli/lsp/logging.rs +++ b/cli/lsp/logging.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use std::sync::atomic::AtomicBool; use std::sync::atomic::AtomicUsize; diff --git a/cli/lsp/lsp_custom.rs b/cli/lsp/lsp_custom.rs index b154234c79..70a245a663 100644 --- a/cli/lsp/lsp_custom.rs +++ b/cli/lsp/lsp_custom.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use deno_core::serde::Deserialize; use deno_core::serde::Serialize; diff --git a/cli/lsp/mod.rs b/cli/lsp/mod.rs index 7161c52091..0d5552519e 100644 --- a/cli/lsp/mod.rs +++ b/cli/lsp/mod.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use deno_core::error::AnyError; use tower_lsp::LspService; diff --git a/cli/lsp/parent_process_checker.rs b/cli/lsp/parent_process_checker.rs index 5983d914ab..4cc3bcef3b 100644 --- a/cli/lsp/parent_process_checker.rs +++ b/cli/lsp/parent_process_checker.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use tokio::time::sleep; use tokio::time::Duration; diff --git a/cli/lsp/path_to_regex.rs b/cli/lsp/path_to_regex.rs index 9ccbb2c1fa..a9b4bcdf37 100644 --- a/cli/lsp/path_to_regex.rs +++ b/cli/lsp/path_to_regex.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // The logic of this module is heavily influenced by path-to-regexp at: // https://github.com/pillarjs/path-to-regexp/ which is licensed as follows: diff --git a/cli/lsp/performance.rs b/cli/lsp/performance.rs index 3b37a87ef5..72bec20ab2 100644 --- a/cli/lsp/performance.rs +++ b/cli/lsp/performance.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use deno_core::parking_lot::Mutex; use deno_core::serde::Deserialize; diff --git a/cli/lsp/refactor.rs b/cli/lsp/refactor.rs index d2f633331c..63cb80b0fe 100644 --- a/cli/lsp/refactor.rs +++ b/cli/lsp/refactor.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // The logic of this module is heavily influenced by // https://github.com/microsoft/vscode/blob/main/extensions/typescript-language-features/src/languageFeatures/refactor.ts diff --git a/cli/lsp/registries.rs b/cli/lsp/registries.rs index aeaa4c0128..81e2552c03 100644 --- a/cli/lsp/registries.rs +++ b/cli/lsp/registries.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use super::completions::IMPORT_COMMIT_CHARS; use super::logging::lsp_log; diff --git a/cli/lsp/repl.rs b/cli/lsp/repl.rs index 60354f2d0f..81e621c13c 100644 --- a/cli/lsp/repl.rs +++ b/cli/lsp/repl.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use std::collections::HashMap; diff --git a/cli/lsp/semantic_tokens.rs b/cli/lsp/semantic_tokens.rs index d15b55cec4..8ed0ab2018 100644 --- a/cli/lsp/semantic_tokens.rs +++ b/cli/lsp/semantic_tokens.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // The logic of this module is heavily influenced by // https://github.com/microsoft/vscode/blob/main/extensions/typescript-language-features/src/languageFeatures/semanticTokens.ts diff --git a/cli/lsp/testing/collectors.rs b/cli/lsp/testing/collectors.rs index 74b85ef7b8..8361ee1248 100644 --- a/cli/lsp/testing/collectors.rs +++ b/cli/lsp/testing/collectors.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use super::definitions::TestDefinition; diff --git a/cli/lsp/testing/definitions.rs b/cli/lsp/testing/definitions.rs index a2cd780123..0e9eb9b4d3 100644 --- a/cli/lsp/testing/definitions.rs +++ b/cli/lsp/testing/definitions.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use super::lsp_custom; diff --git a/cli/lsp/testing/execution.rs b/cli/lsp/testing/execution.rs index f0ab1c8fcd..722f06e2c0 100644 --- a/cli/lsp/testing/execution.rs +++ b/cli/lsp/testing/execution.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use super::definitions::TestDefinition; use super::definitions::TestDefinitions; diff --git a/cli/lsp/testing/lsp_custom.rs b/cli/lsp/testing/lsp_custom.rs index 59df9884d9..a8dc62da6b 100644 --- a/cli/lsp/testing/lsp_custom.rs +++ b/cli/lsp/testing/lsp_custom.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use deno_core::serde::Deserialize; use deno_core::serde::Serialize; diff --git a/cli/lsp/testing/mod.rs b/cli/lsp/testing/mod.rs index cbd49724ee..72c83703cb 100644 --- a/cli/lsp/testing/mod.rs +++ b/cli/lsp/testing/mod.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. mod collectors; mod definitions; diff --git a/cli/lsp/testing/server.rs b/cli/lsp/testing/server.rs index 0b1d1c9d3b..66f66ed1d9 100644 --- a/cli/lsp/testing/server.rs +++ b/cli/lsp/testing/server.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use super::collectors::TestCollector; use super::definitions::TestDefinitions; diff --git a/cli/lsp/text.rs b/cli/lsp/text.rs index 33ac2048f7..26df170cee 100644 --- a/cli/lsp/text.rs +++ b/cli/lsp/text.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use deno_core::error::custom_error; use deno_core::error::AnyError; diff --git a/cli/lsp/tsc.rs b/cli/lsp/tsc.rs index 8a83839bf2..9f2ac2ba0f 100644 --- a/cli/lsp/tsc.rs +++ b/cli/lsp/tsc.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use super::code_lens; use super::config; diff --git a/cli/lsp/urls.rs b/cli/lsp/urls.rs index 5aed54ad5e..7e274e7b0a 100644 --- a/cli/lsp/urls.rs +++ b/cli/lsp/urls.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use crate::file_fetcher::map_content_type; diff --git a/cli/main.rs b/cli/main.rs index 462e9e0a45..f430de3392 100644 --- a/cli/main.rs +++ b/cli/main.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. mod args; mod auth_tokens; diff --git a/cli/module_loader.rs b/cli/module_loader.rs index 6adfc9f491..edc89be774 100644 --- a/cli/module_loader.rs +++ b/cli/module_loader.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use crate::args::TsTypeLib; use crate::emit::emit_parsed_source; diff --git a/cli/napi/async.rs b/cli/napi/async.rs index b84d222728..8fdb4f9d24 100644 --- a/cli/napi/async.rs +++ b/cli/napi/async.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use deno_runtime::deno_napi::*; diff --git a/cli/napi/env.rs b/cli/napi/env.rs index 0adb0481ea..1d59b2f95c 100644 --- a/cli/napi/env.rs +++ b/cli/napi/env.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use deno_runtime::deno_napi::*; use std::os::raw::c_char; diff --git a/cli/napi/js_native_api.rs b/cli/napi/js_native_api.rs index 256584a138..0c8bc31d78 100644 --- a/cli/napi/js_native_api.rs +++ b/cli/napi/js_native_api.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. #![allow(non_upper_case_globals)] diff --git a/cli/napi/mod.rs b/cli/napi/mod.rs index 0e302a1017..f6ee01c2bb 100644 --- a/cli/napi/mod.rs +++ b/cli/napi/mod.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. #![allow(unused_mut)] #![allow(non_camel_case_types)] diff --git a/cli/napi/sym/Cargo.toml b/cli/napi/sym/Cargo.toml index d6c8bcb602..448c1f00d9 100644 --- a/cli/napi/sym/Cargo.toml +++ b/cli/napi/sym/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +# Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. [package] name = "napi_sym" diff --git a/cli/napi/sym/lib.rs b/cli/napi/sym/lib.rs index 984d7f4bcd..9f1bf080ef 100644 --- a/cli/napi/sym/lib.rs +++ b/cli/napi/sym/lib.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use proc_macro::TokenStream; use quote::quote; diff --git a/cli/napi/threadsafe_functions.rs b/cli/napi/threadsafe_functions.rs index 1a9704dbec..d692b5bb27 100644 --- a/cli/napi/threadsafe_functions.rs +++ b/cli/napi/threadsafe_functions.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use deno_core::futures::channel::mpsc; use deno_runtime::deno_napi::*; diff --git a/cli/napi/util.rs b/cli/napi/util.rs index 2dea035540..1f849c7d2b 100644 --- a/cli/napi/util.rs +++ b/cli/napi/util.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use deno_runtime::deno_napi::*; use std::cell::Cell; diff --git a/cli/node/analyze.rs b/cli/node/analyze.rs index acf7a662fc..fd131c551b 100644 --- a/cli/node/analyze.rs +++ b/cli/node/analyze.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use std::collections::HashSet; diff --git a/cli/node/mod.rs b/cli/node/mod.rs index 19bc4ed149..5c083e2fdb 100644 --- a/cli/node/mod.rs +++ b/cli/node/mod.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use std::collections::HashSet; use std::collections::VecDeque; diff --git a/cli/npm/cache.rs b/cli/npm/cache.rs index 952ee02856..6a6c6156ca 100644 --- a/cli/npm/cache.rs +++ b/cli/npm/cache.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use std::collections::HashSet; use std::fs; diff --git a/cli/npm/mod.rs b/cli/npm/mod.rs index 8c34643451..ce6fec5e51 100644 --- a/cli/npm/mod.rs +++ b/cli/npm/mod.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. mod cache; mod registry; diff --git a/cli/npm/registry.rs b/cli/npm/registry.rs index 97d2a0e4d6..ed09116977 100644 --- a/cli/npm/registry.rs +++ b/cli/npm/registry.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use std::cmp::Ordering; use std::collections::HashMap; diff --git a/cli/npm/resolution/graph.rs b/cli/npm/resolution/graph.rs index 48c55757e2..a97eff0373 100644 --- a/cli/npm/resolution/graph.rs +++ b/cli/npm/resolution/graph.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use std::borrow::Cow; use std::collections::BTreeMap; diff --git a/cli/npm/resolution/mod.rs b/cli/npm/resolution/mod.rs index 15de4ceffa..c6e1c5d25e 100644 --- a/cli/npm/resolution/mod.rs +++ b/cli/npm/resolution/mod.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use std::collections::HashMap; use std::collections::HashSet; diff --git a/cli/npm/resolution/snapshot.rs b/cli/npm/resolution/snapshot.rs index 738b68d21f..d7da35ebaf 100644 --- a/cli/npm/resolution/snapshot.rs +++ b/cli/npm/resolution/snapshot.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use std::collections::HashMap; use std::collections::HashSet; diff --git a/cli/npm/resolution/specifier.rs b/cli/npm/resolution/specifier.rs index db4bbd4767..7ab327ba51 100644 --- a/cli/npm/resolution/specifier.rs +++ b/cli/npm/resolution/specifier.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use std::cmp::Ordering; use std::collections::HashMap; diff --git a/cli/npm/resolvers/common.rs b/cli/npm/resolvers/common.rs index a75c86c1c8..ff8a63f9b8 100644 --- a/cli/npm/resolvers/common.rs +++ b/cli/npm/resolvers/common.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use std::collections::HashSet; use std::io::ErrorKind; diff --git a/cli/npm/resolvers/global.rs b/cli/npm/resolvers/global.rs index b005cbaebc..a42ccdd532 100644 --- a/cli/npm/resolvers/global.rs +++ b/cli/npm/resolvers/global.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. //! Code for global npm cache resolution. diff --git a/cli/npm/resolvers/local.rs b/cli/npm/resolvers/local.rs index 5d8367e736..04539e4622 100644 --- a/cli/npm/resolvers/local.rs +++ b/cli/npm/resolvers/local.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. //! Code for local node_modules resolution. diff --git a/cli/npm/resolvers/mod.rs b/cli/npm/resolvers/mod.rs index 6225242a4d..023ef625a0 100644 --- a/cli/npm/resolvers/mod.rs +++ b/cli/npm/resolvers/mod.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. mod common; mod global; diff --git a/cli/npm/semver/mod.rs b/cli/npm/semver/mod.rs index cf049c0dd8..a875858098 100644 --- a/cli/npm/semver/mod.rs +++ b/cli/npm/semver/mod.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use std::cmp::Ordering; use std::fmt; diff --git a/cli/npm/semver/range.rs b/cli/npm/semver/range.rs index 901b852c0e..07ee2d62a6 100644 --- a/cli/npm/semver/range.rs +++ b/cli/npm/semver/range.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use std::cmp::Ordering; diff --git a/cli/npm/semver/specifier.rs b/cli/npm/semver/specifier.rs index 269846f8cd..3fdeab16d5 100644 --- a/cli/npm/semver/specifier.rs +++ b/cli/npm/semver/specifier.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use deno_core::anyhow::Context; use deno_core::error::AnyError; diff --git a/cli/npm/tarball.rs b/cli/npm/tarball.rs index 487a8a6aac..504d44dcad 100644 --- a/cli/npm/tarball.rs +++ b/cli/npm/tarball.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use std::collections::HashSet; use std::fs; diff --git a/cli/ops/mod.rs b/cli/ops/mod.rs index c02b951b20..96599a663d 100644 --- a/cli/ops/mod.rs +++ b/cli/ops/mod.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use crate::proc_state::ProcState; use deno_core::error::AnyError; diff --git a/cli/ops/testing.rs b/cli/ops/testing.rs index 9479ebdc13..b6fd29fc75 100644 --- a/cli/ops/testing.rs +++ b/cli/ops/testing.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use crate::tools::test::FailFastTracker; use crate::tools::test::TestDescription; diff --git a/cli/proc_state.rs b/cli/proc_state.rs index cdfc04c089..5ec8bc4e3e 100644 --- a/cli/proc_state.rs +++ b/cli/proc_state.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use crate::args::CliOptions; use crate::args::DenoSubcommand; diff --git a/cli/resolver.rs b/cli/resolver.rs index a4c4439abd..ec46165e02 100644 --- a/cli/resolver.rs +++ b/cli/resolver.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use deno_core::resolve_import; use deno_core::ModuleSpecifier; diff --git a/cli/standalone.rs b/cli/standalone.rs index 9e495a810b..cce4946941 100644 --- a/cli/standalone.rs +++ b/cli/standalone.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use crate::args::Flags; use crate::colors; diff --git a/cli/tests/bench_tests.rs b/cli/tests/bench_tests.rs index 24d2a4fe92..71cba171d6 100644 --- a/cli/tests/bench_tests.rs +++ b/cli/tests/bench_tests.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. mod integration; diff --git a/cli/tests/bundle_tests.rs b/cli/tests/bundle_tests.rs index c3c9c396a0..99144a8664 100644 --- a/cli/tests/bundle_tests.rs +++ b/cli/tests/bundle_tests.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. mod integration; diff --git a/cli/tests/cache_tests.rs b/cli/tests/cache_tests.rs index c23ee8e5c8..8e7f20fdeb 100644 --- a/cli/tests/cache_tests.rs +++ b/cli/tests/cache_tests.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. mod integration; diff --git a/cli/tests/cert_tests.rs b/cli/tests/cert_tests.rs index e3c17b8908..c06c1afb97 100644 --- a/cli/tests/cert_tests.rs +++ b/cli/tests/cert_tests.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. mod integration; diff --git a/cli/tests/check_tests.rs b/cli/tests/check_tests.rs index 71fb8bb3ce..8cbccf8aa0 100644 --- a/cli/tests/check_tests.rs +++ b/cli/tests/check_tests.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. mod integration; diff --git a/cli/tests/compile_tests.rs b/cli/tests/compile_tests.rs index 30d882c3b4..b91710e683 100644 --- a/cli/tests/compile_tests.rs +++ b/cli/tests/compile_tests.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use std::fs::File; use std::process::Command; diff --git a/cli/tests/coverage_tests.rs b/cli/tests/coverage_tests.rs index 357d54ee6c..34293b36b7 100644 --- a/cli/tests/coverage_tests.rs +++ b/cli/tests/coverage_tests.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use std::fs; use test_util as util; diff --git a/cli/tests/doc_tests.rs b/cli/tests/doc_tests.rs index 387b795cde..7434e999a3 100644 --- a/cli/tests/doc_tests.rs +++ b/cli/tests/doc_tests.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. mod integration; diff --git a/cli/tests/eval_tests.rs b/cli/tests/eval_tests.rs index 7107ecbbb3..aa708520e8 100644 --- a/cli/tests/eval_tests.rs +++ b/cli/tests/eval_tests.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. mod integration; diff --git a/cli/tests/flags_tests.rs b/cli/tests/flags_tests.rs index a3ea8f7dd8..e19dad5349 100644 --- a/cli/tests/flags_tests.rs +++ b/cli/tests/flags_tests.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. mod integration; diff --git a/cli/tests/fmt_tests.rs b/cli/tests/fmt_tests.rs index 807306b2cb..1a40823f49 100644 --- a/cli/tests/fmt_tests.rs +++ b/cli/tests/fmt_tests.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. mod integration; diff --git a/cli/tests/info_tests.rs b/cli/tests/info_tests.rs index a255eab4f3..577aff4cac 100644 --- a/cli/tests/info_tests.rs +++ b/cli/tests/info_tests.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. mod integration; diff --git a/cli/tests/init_tests.rs b/cli/tests/init_tests.rs index 91e5197fb8..813f61f754 100644 --- a/cli/tests/init_tests.rs +++ b/cli/tests/init_tests.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use std::process::Stdio; use test_util as util; diff --git a/cli/tests/inspector_tests.rs b/cli/tests/inspector_tests.rs index 7044469e41..d0a200ee75 100644 --- a/cli/tests/inspector_tests.rs +++ b/cli/tests/inspector_tests.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use deno_core::error::AnyError; use deno_core::futures::prelude::*; diff --git a/cli/tests/install_tests.rs b/cli/tests/install_tests.rs index 3d799ce532..f0714e2009 100644 --- a/cli/tests/install_tests.rs +++ b/cli/tests/install_tests.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use std::fs; use std::process::Command; diff --git a/cli/tests/integration/mod.rs b/cli/tests/integration/mod.rs index 00031a6363..05c02ea1d9 100644 --- a/cli/tests/integration/mod.rs +++ b/cli/tests/integration/mod.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. #[macro_export] macro_rules! itest( diff --git a/cli/tests/js_unit_tests.rs b/cli/tests/js_unit_tests.rs index 3d887600c3..52c24679bf 100644 --- a/cli/tests/js_unit_tests.rs +++ b/cli/tests/js_unit_tests.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. mod integration; diff --git a/cli/tests/lint_tests.rs b/cli/tests/lint_tests.rs index 36bf412923..98fe066c27 100644 --- a/cli/tests/lint_tests.rs +++ b/cli/tests/lint_tests.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. mod integration; diff --git a/cli/tests/lsp_tests.rs b/cli/tests/lsp_tests.rs index 1a03d82174..cb8e2d24c6 100644 --- a/cli/tests/lsp_tests.rs +++ b/cli/tests/lsp_tests.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. mod lsp { use deno_ast::ModuleSpecifier; diff --git a/cli/tests/npm_tests.rs b/cli/tests/npm_tests.rs index 038251d9b5..aa0563ef93 100644 --- a/cli/tests/npm_tests.rs +++ b/cli/tests/npm_tests.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. mod integration; diff --git a/cli/tests/repl_tests.rs b/cli/tests/repl_tests.rs index d64871bb04..418ff00d62 100644 --- a/cli/tests/repl_tests.rs +++ b/cli/tests/repl_tests.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use test_util as util; use test_util::assert_contains; diff --git a/cli/tests/run_tests.rs b/cli/tests/run_tests.rs index d90a48fbbe..dfe95d9a84 100644 --- a/cli/tests/run_tests.rs +++ b/cli/tests/run_tests.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. mod integration; use deno_core::url; diff --git a/cli/tests/task_tests.rs b/cli/tests/task_tests.rs index 0280391da4..b403c4a5a1 100644 --- a/cli/tests/task_tests.rs +++ b/cli/tests/task_tests.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. mod integration; diff --git a/cli/tests/test_tests.rs b/cli/tests/test_tests.rs index c8fa5b8e51..83b119241e 100644 --- a/cli/tests/test_tests.rs +++ b/cli/tests/test_tests.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. mod integration; use deno_core::url::Url; diff --git a/cli/tests/testdata/commonjs/example.js b/cli/tests/testdata/commonjs/example.js index 7850780370..f6001df5e3 100644 --- a/cli/tests/testdata/commonjs/example.js +++ b/cli/tests/testdata/commonjs/example.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // deno-lint-ignore no-undef const processMod = require("process"); const osMod = require("node:os"); diff --git a/cli/tests/testdata/lsp/did_open_params_large.json b/cli/tests/testdata/lsp/did_open_params_large.json index 9936c1bdc9..0347ab67b2 100644 --- a/cli/tests/testdata/lsp/did_open_params_large.json +++ b/cli/tests/testdata/lsp/did_open_params_large.json @@ -3,6 +3,6 @@ "uri": "file:///a/file.ts", "languageId": "javascript", "version": 1, - "text": "// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.\n\n// @ts-check\n/// \n// deno-lint-ignore-file no-undef\n\n// This module is the entry point for \"compiler\" isolate, ie. the one\n// that is created when Deno needs to type check TypeScript, and in some\n// instances convert TypeScript to JavaScript.\n\n// Removes the `__proto__` for security reasons. This intentionally makes\n// Deno non compliant with ECMA-262 Annex B.2.2.1\ndelete Object.prototype.__proto__;\n\n((window) => {\n /** @type {DenoCore} */\n const core = window.Deno.core;\n\n let logDebug = false;\n let logSource = \"JS\";\n\n function setLogDebug(debug, source) {\n logDebug = debug;\n if (source) {\n logSource = source;\n }\n }\n\n function debug(...args) {\n if (logDebug) {\n const stringifiedArgs = args.map((arg) =>\n typeof arg === \"string\" ? arg : JSON.stringify(arg)\n ).join(\" \");\n // adding a non-zero integer value to the end of the debug string causes\n // the message to be printed to stderr instead of stdout, which is better\n // aligned to the behaviour of debug messages\n core.print(`DEBUG ${logSource} - ${stringifiedArgs}\\n`, 1);\n }\n }\n\n function error(...args) {\n const stringifiedArgs = args.map((arg) =>\n typeof arg === \"string\" || arg instanceof Error\n ? String(arg)\n : JSON.stringify(arg)\n ).join(\" \");\n core.print(`ERROR ${logSource} = ${stringifiedArgs}\\n`, 1);\n }\n\n class AssertionError extends Error {\n constructor(msg) {\n super(msg);\n this.name = \"AssertionError\";\n }\n }\n\n function assert(cond, msg = \"Assertion failed.\") {\n if (!cond) {\n throw new AssertionError(msg);\n }\n }\n\n /** @type {Map} */\n const sourceFileCache = new Map();\n\n /** @param {ts.DiagnosticRelatedInformation} diagnostic */\n function fromRelatedInformation({\n start,\n length,\n file,\n messageText: msgText,\n ...ri\n }) {\n let messageText;\n let messageChain;\n if (typeof msgText === \"object\") {\n messageChain = msgText;\n } else {\n messageText = msgText;\n }\n if (start !== undefined && length !== undefined && file) {\n const startPos = file.getLineAndCharacterOfPosition(start);\n const sourceLine = file.getFullText().split(\"\\n\")[startPos.line];\n const fileName = file.fileName;\n return {\n start: startPos,\n end: file.getLineAndCharacterOfPosition(start + length),\n fileName,\n messageChain,\n messageText,\n sourceLine,\n ...ri,\n };\n } else {\n return {\n messageChain,\n messageText,\n ...ri,\n };\n }\n }\n\n /** @param {ts.Diagnostic[]} diagnostics */\n function fromTypeScriptDiagnostic(diagnostics) {\n return diagnostics.map(({ relatedInformation: ri, source, ...diag }) => {\n /** @type {any} */\n const value = fromRelatedInformation(diag);\n value.relatedInformation = ri\n ? ri.map(fromRelatedInformation)\n : undefined;\n value.source = source;\n return value;\n });\n }\n\n // Using incremental compile APIs requires that all\n // paths must be either relative or absolute. Since\n // analysis in Rust operates on fully resolved URLs,\n // it makes sense to use the same scheme here.\n const ASSETS = \"asset:///\";\n const CACHE = \"cache:///\";\n\n /** Diagnostics that are intentionally ignored when compiling TypeScript in\n * Deno, as they provide misleading or incorrect information. */\n const IGNORED_DIAGNOSTICS = [\n // TS1208: All files must be modules when the '--isolatedModules' flag is\n // provided. We can ignore because we guarantee that all files are\n // modules.\n 1208,\n // TS1375: 'await' expressions are only allowed at the top level of a file\n // when that file is a module, but this file has no imports or exports.\n // Consider adding an empty 'export {}' to make this file a module.\n 1375,\n // TS1103: 'for-await-of' statement is only allowed within an async function\n // or async generator.\n 1103,\n // TS2306: File 'file:///Users/rld/src/deno/subdir/amd_like.js' is\n // not a module.\n 2306,\n // TS2691: An import path cannot end with a '.ts' extension. Consider\n // importing 'bad-module' instead.\n 2691,\n // TS2792: Cannot find module. Did you mean to set the 'moduleResolution'\n // option to 'node', or to add aliases to the 'paths' option?\n 2792,\n // TS5009: Cannot find the common subdirectory path for the input files.\n 5009,\n // TS5055: Cannot write file\n // 'http://localhost:4545/subdir/mt_application_x_javascript.j4.js'\n // because it would overwrite input file.\n 5055,\n // TypeScript is overly opinionated that only CommonJS modules kinds can\n // support JSON imports. Allegedly this was fixed in\n // Microsoft/TypeScript#26825 but that doesn't seem to be working here,\n // so we will ignore complaints about this compiler setting.\n 5070,\n // TS7016: Could not find a declaration file for module '...'. '...'\n // implicitly has an 'any' type. This is due to `allowJs` being off by\n // default but importing of a JavaScript module.\n 7016,\n ];\n\n const SNAPSHOT_COMPILE_OPTIONS = {\n esModuleInterop: true,\n jsx: ts.JsxEmit.React,\n module: ts.ModuleKind.ESNext,\n noEmit: true,\n strict: true,\n target: ts.ScriptTarget.ESNext,\n };\n\n class ScriptSnapshot {\n /** @type {string} */\n specifier;\n /** @type {string} */\n version;\n /**\n * @param {string} specifier\n * @param {string} version \n */\n constructor(specifier, version) {\n this.specifier = specifier;\n this.version = version;\n }\n /**\n * @param {number} start \n * @param {number} end \n * @returns {string}\n */\n getText(start, end) {\n const { specifier, version } = this;\n debug(\n `snapshot.getText(${start}, ${end}) specifier: ${specifier} version: ${version}`,\n );\n return core.jsonOpSync(\"op_get_text\", { specifier, version, start, end });\n }\n /**\n * @returns {number}\n */\n getLength() {\n const { specifier, version } = this;\n debug(`snapshot.getLength() specifier: ${specifier} version: ${version}`);\n return core.jsonOpSync(\"op_get_length\", { specifier, version });\n }\n /**\n * @param {ScriptSnapshot} oldSnapshot\n * @returns {ts.TextChangeRange | undefined}\n */\n getChangeRange(oldSnapshot) {\n const { specifier, version } = this;\n const { version: oldVersion } = oldSnapshot;\n const oldLength = oldSnapshot.getLength();\n debug(\n `snapshot.getLength() specifier: ${specifier} oldVersion: ${oldVersion} version: ${version}`,\n );\n return core.jsonOpSync(\n \"op_get_change_range\",\n { specifier, oldLength, oldVersion, version },\n );\n }\n dispose() {\n const { specifier, version } = this;\n debug(`snapshot.dispose() specifier: ${specifier} version: ${version}`);\n core.jsonOpSync(\"op_dispose\", { specifier, version });\n }\n }\n\n /** @type {ts.CompilerOptions} */\n let compilationSettings = {};\n\n /** @type {ts.LanguageService} */\n let languageService;\n\n /** An object literal of the incremental compiler host, which provides the\n * specific \"bindings\" to the Deno environment that tsc needs to work.\n *\n * @type {ts.CompilerHost & ts.LanguageServiceHost} */\n const host = {\n fileExists(fileName) {\n debug(`host.fileExists(\"${fileName}\")`);\n return false;\n },\n readFile(specifier) {\n debug(`host.readFile(\"${specifier}\")`);\n return core.jsonOpSync(\"op_load\", { specifier }).data;\n },\n getSourceFile(\n specifier,\n languageVersion,\n _onError,\n _shouldCreateNewSourceFile,\n ) {\n debug(\n `host.getSourceFile(\"${specifier}\", ${\n ts.ScriptTarget[languageVersion]\n })`,\n );\n let sourceFile = sourceFileCache.get(specifier);\n if (sourceFile) {\n return sourceFile;\n }\n\n /** @type {{ data: string; hash?: string; scriptKind: ts.ScriptKind }} */\n const { data, hash, scriptKind } = core.jsonOpSync(\n \"op_load\",\n { specifier },\n );\n assert(\n data != null,\n `\"data\" is unexpectedly null for \"${specifier}\".`,\n );\n sourceFile = ts.createSourceFile(\n specifier,\n data,\n languageVersion,\n false,\n scriptKind,\n );\n sourceFile.moduleName = specifier;\n sourceFile.version = hash;\n sourceFileCache.set(specifier, sourceFile);\n return sourceFile;\n },\n getDefaultLibFileName() {\n return `${ASSETS}/lib.esnext.d.ts`;\n },\n getDefaultLibLocation() {\n return ASSETS;\n },\n writeFile(fileName, data, _writeByteOrderMark, _onError, sourceFiles) {\n debug(`host.writeFile(\"${fileName}\")`);\n let maybeSpecifiers;\n if (sourceFiles) {\n maybeSpecifiers = sourceFiles.map((sf) => sf.moduleName);\n }\n return core.jsonOpSync(\n \"op_emit\",\n { maybeSpecifiers, fileName, data },\n );\n },\n getCurrentDirectory() {\n return CACHE;\n },\n getCanonicalFileName(fileName) {\n return fileName;\n },\n useCaseSensitiveFileNames() {\n return true;\n },\n getNewLine() {\n return \"\\n\";\n },\n resolveModuleNames(specifiers, base) {\n debug(`host.resolveModuleNames()`);\n debug(` base: ${base}`);\n debug(` specifiers: ${specifiers.join(\", \")}`);\n /** @type {Array<[string, ts.Extension] | undefined>} */\n const resolved = core.jsonOpSync(\"op_resolve\", {\n specifiers,\n base,\n });\n if (resolved) {\n const result = resolved.map((item) => {\n if (item) {\n const [resolvedFileName, extension] = item;\n return {\n resolvedFileName,\n extension,\n isExternalLibraryImport: false,\n };\n }\n return undefined;\n });\n result.length = specifiers.length;\n return result;\n } else {\n return new Array(specifiers.length);\n }\n },\n createHash(data) {\n return core.jsonOpSync(\"op_create_hash\", { data }).hash;\n },\n\n // LanguageServiceHost\n getCompilationSettings() {\n debug(\"host.getCompilationSettings()\");\n return compilationSettings;\n },\n getScriptFileNames() {\n debug(\"host.getScriptFileNames()\");\n return core.jsonOpSync(\"op_script_names\", undefined);\n },\n getScriptVersion(specifier) {\n debug(`host.getScriptVersion(\"${specifier}\")`);\n const sourceFile = sourceFileCache.get(specifier);\n if (sourceFile) {\n return sourceFile.version ?? \"1\";\n }\n return core.jsonOpSync(\"op_script_version\", { specifier });\n },\n getScriptSnapshot(specifier) {\n debug(`host.getScriptSnapshot(\"${specifier}\")`);\n const sourceFile = sourceFileCache.get(specifier);\n if (sourceFile) {\n return {\n getText(start, end) {\n return sourceFile.text.substring(start, end);\n },\n getLength() {\n return sourceFile.text.length;\n },\n getChangeRange() {\n return undefined;\n },\n };\n }\n /** @type {string | undefined} */\n const version = core.jsonOpSync(\"op_script_version\", { specifier });\n if (version != null) {\n return new ScriptSnapshot(specifier, version);\n }\n return undefined;\n },\n };\n\n /** @type {Array<[string, number]>} */\n const stats = [];\n let statsStart = 0;\n\n function performanceStart() {\n stats.length = 0;\n statsStart = Date.now();\n ts.performance.enable();\n }\n\n /**\n * @param {{ program: ts.Program | ts.EmitAndSemanticDiagnosticsBuilderProgram, fileCount?: number }} options \n */\n function performanceProgram({ program, fileCount }) {\n if (program) {\n if (\"getProgram\" in program) {\n program = program.getProgram();\n }\n stats.push([\"Files\", program.getSourceFiles().length]);\n stats.push([\"Nodes\", program.getNodeCount()]);\n stats.push([\"Identifiers\", program.getIdentifierCount()]);\n stats.push([\"Symbols\", program.getSymbolCount()]);\n stats.push([\"Types\", program.getTypeCount()]);\n stats.push([\"Instantiations\", program.getInstantiationCount()]);\n } else if (fileCount != null) {\n stats.push([\"Files\", fileCount]);\n }\n const programTime = ts.performance.getDuration(\"Program\");\n const bindTime = ts.performance.getDuration(\"Bind\");\n const checkTime = ts.performance.getDuration(\"Check\");\n const emitTime = ts.performance.getDuration(\"Emit\");\n stats.push([\"Parse time\", programTime]);\n stats.push([\"Bind time\", bindTime]);\n stats.push([\"Check time\", checkTime]);\n stats.push([\"Emit time\", emitTime]);\n stats.push(\n [\"Total TS time\", programTime + bindTime + checkTime + emitTime],\n );\n }\n\n function performanceEnd() {\n const duration = Date.now() - statsStart;\n stats.push([\"Compile time\", duration]);\n return stats;\n }\n\n /**\n * @typedef {object} Request\n * @property {Record} config\n * @property {boolean} debug\n * @property {string[]} rootNames\n */\n\n /** The API that is called by Rust when executing a request.\n * @param {Request} request\n */\n function exec({ config, debug: debugFlag, rootNames }) {\n setLogDebug(debugFlag, \"TS\");\n performanceStart();\n debug(\">>> exec start\", { rootNames });\n debug(config);\n\n const { options, errors: configFileParsingDiagnostics } = ts\n .convertCompilerOptionsFromJson(config, \"\");\n // The `allowNonTsExtensions` is a \"hidden\" compiler option used in VSCode\n // which is not allowed to be passed in JSON, we need it to allow special\n // URLs which Deno supports. So we need to either ignore the diagnostic, or\n // inject it ourselves.\n Object.assign(options, { allowNonTsExtensions: true });\n const program = ts.createIncrementalProgram({\n rootNames,\n options,\n host,\n configFileParsingDiagnostics,\n });\n\n const { diagnostics: emitDiagnostics } = program.emit();\n\n const diagnostics = [\n ...program.getConfigFileParsingDiagnostics(),\n ...program.getSyntacticDiagnostics(),\n ...program.getOptionsDiagnostics(),\n ...program.getGlobalDiagnostics(),\n ...program.getSemanticDiagnostics(),\n ...emitDiagnostics,\n ].filter(({ code }) => !IGNORED_DIAGNOSTICS.includes(code));\n performanceProgram({ program });\n\n core.jsonOpSync(\"op_respond\", {\n diagnostics: fromTypeScriptDiagnostic(diagnostics),\n stats: performanceEnd(),\n });\n debug(\"<<< exec stop\");\n }\n\n /**\n * @param {number} id \n * @param {any} data \n */\n function respond(id, data = null) {\n core.jsonOpSync(\"op_respond\", { id, data });\n }\n\n /**\n * @param {LanguageServerRequest} request \n */\n function serverRequest({ id, ...request }) {\n debug(`serverRequest()`, { id, ...request });\n switch (request.method) {\n case \"configure\": {\n const { options, errors } = ts\n .convertCompilerOptionsFromJson(request.compilerOptions, \"\");\n Object.assign(options, { allowNonTsExtensions: true });\n if (errors.length) {\n debug(ts.formatDiagnostics(errors, host));\n }\n compilationSettings = options;\n return respond(id, true);\n }\n case \"getAsset\": {\n const sourceFile = host.getSourceFile(\n request.specifier,\n ts.ScriptTarget.ESNext,\n );\n return respond(id, sourceFile && sourceFile.text);\n }\n case \"getDiagnostics\": {\n try {\n /** @type {Record} */\n const diagnosticMap = {};\n for (const specifier of request.specifiers) {\n diagnosticMap[specifier] = fromTypeScriptDiagnostic([\n ...languageService.getSemanticDiagnostics(specifier),\n ...languageService.getSuggestionDiagnostics(specifier),\n ...languageService.getSyntacticDiagnostics(specifier),\n ].filter(({ code }) => !IGNORED_DIAGNOSTICS.includes(code)));\n }\n return respond(id, diagnosticMap);\n } catch (e) {\n if (\"stack\" in e) {\n error(e.stack);\n } else {\n error(e);\n }\n return respond(id, {});\n }\n }\n case \"getQuickInfo\": {\n return respond(\n id,\n languageService.getQuickInfoAtPosition(\n request.specifier,\n request.position,\n ),\n );\n }\n case \"getCompletions\": {\n return respond(\n id,\n languageService.getCompletionsAtPosition(\n request.specifier,\n request.position,\n request.preferences,\n ),\n );\n }\n case \"getDocumentHighlights\": {\n return respond(\n id,\n languageService.getDocumentHighlights(\n request.specifier,\n request.position,\n request.filesToSearch,\n ),\n );\n }\n case \"getReferences\": {\n return respond(\n id,\n languageService.getReferencesAtPosition(\n request.specifier,\n request.position,\n ),\n );\n }\n case \"getDefinition\": {\n return respond(\n id,\n languageService.getDefinitionAndBoundSpan(\n request.specifier,\n request.position,\n ),\n );\n }\n case \"getImplementation\": {\n return respond(\n id,\n languageService.getImplementationAtPosition(\n request.specifier,\n request.position,\n ),\n );\n }\n case \"findRenameLocations\": {\n return respond(\n id,\n languageService.findRenameLocations(\n request.specifier,\n request.position,\n request.findInStrings,\n request.findInComments,\n request.providePrefixAndSuffixTextForRename,\n ),\n );\n }\n default:\n throw new TypeError(\n // @ts-ignore exhausted case statement sets type to never\n `Invalid request method for request: \"${request.method}\" (${id})`,\n );\n }\n }\n\n /** @param {{ debug: boolean; }} init */\n function serverInit({ debug: debugFlag }) {\n if (hasStarted) {\n throw new Error(\"The language server has already been initialized.\");\n }\n hasStarted = true;\n languageService = ts.createLanguageService(host);\n core.ops();\n setLogDebug(debugFlag, \"TSLS\");\n debug(\"serverInit()\");\n }\n\n let hasStarted = false;\n\n /** Startup the runtime environment, setting various flags.\n * @param {{ debugFlag?: boolean; legacyFlag?: boolean; }} msg\n */\n function startup({ debugFlag = false }) {\n if (hasStarted) {\n throw new Error(\"The compiler runtime already started.\");\n }\n hasStarted = true;\n core.ops();\n setLogDebug(!!debugFlag, \"TS\");\n }\n\n // Setup the compiler runtime during the build process.\n core.ops();\n core.registerErrorClass(\"Error\", Error);\n\n // A build time only op that provides some setup information that is used to\n // ensure the snapshot is setup properly.\n /** @type {{ buildSpecifier: string; libs: string[] }} */\n const { buildSpecifier, libs } = core.jsonOpSync(\"op_build_info\", {});\n for (const lib of libs) {\n const specifier = `lib.${lib}.d.ts`;\n // we are using internal APIs here to \"inject\" our custom libraries into\n // tsc, so things like `\"lib\": [ \"deno.ns\" ]` are supported.\n if (!ts.libs.includes(lib)) {\n ts.libs.push(lib);\n ts.libMap.set(lib, `lib.${lib}.d.ts`);\n }\n // we are caching in memory common type libraries that will be re-used by\n // tsc on when the snapshot is restored\n assert(\n host.getSourceFile(`${ASSETS}${specifier}`, ts.ScriptTarget.ESNext),\n );\n }\n // this helps ensure as much as possible is in memory that is re-usable\n // before the snapshotting is done, which helps unsure fast \"startup\" for\n // subsequent uses of tsc in Deno.\n const TS_SNAPSHOT_PROGRAM = ts.createProgram({\n rootNames: [buildSpecifier],\n options: SNAPSHOT_COMPILE_OPTIONS,\n host,\n });\n ts.getPreEmitDiagnostics(TS_SNAPSHOT_PROGRAM);\n\n // exposes the two functions that are called by `tsc::exec()` when type\n // checking TypeScript.\n globalThis.startup = startup;\n globalThis.exec = exec;\n\n // exposes the functions that are called when the compiler is used as a\n // language service.\n globalThis.serverInit = serverInit;\n globalThis.serverRequest = serverRequest;\n})(this);\n" + "text": "// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.\n\n// @ts-check\n/// \n// deno-lint-ignore-file no-undef\n\n// This module is the entry point for \"compiler\" isolate, ie. the one\n// that is created when Deno needs to type check TypeScript, and in some\n// instances convert TypeScript to JavaScript.\n\n// Removes the `__proto__` for security reasons. This intentionally makes\n// Deno non compliant with ECMA-262 Annex B.2.2.1\ndelete Object.prototype.__proto__;\n\n((window) => {\n /** @type {DenoCore} */\n const core = window.Deno.core;\n\n let logDebug = false;\n let logSource = \"JS\";\n\n function setLogDebug(debug, source) {\n logDebug = debug;\n if (source) {\n logSource = source;\n }\n }\n\n function debug(...args) {\n if (logDebug) {\n const stringifiedArgs = args.map((arg) =>\n typeof arg === \"string\" ? arg : JSON.stringify(arg)\n ).join(\" \");\n // adding a non-zero integer value to the end of the debug string causes\n // the message to be printed to stderr instead of stdout, which is better\n // aligned to the behaviour of debug messages\n core.print(`DEBUG ${logSource} - ${stringifiedArgs}\\n`, 1);\n }\n }\n\n function error(...args) {\n const stringifiedArgs = args.map((arg) =>\n typeof arg === \"string\" || arg instanceof Error\n ? String(arg)\n : JSON.stringify(arg)\n ).join(\" \");\n core.print(`ERROR ${logSource} = ${stringifiedArgs}\\n`, 1);\n }\n\n class AssertionError extends Error {\n constructor(msg) {\n super(msg);\n this.name = \"AssertionError\";\n }\n }\n\n function assert(cond, msg = \"Assertion failed.\") {\n if (!cond) {\n throw new AssertionError(msg);\n }\n }\n\n /** @type {Map} */\n const sourceFileCache = new Map();\n\n /** @param {ts.DiagnosticRelatedInformation} diagnostic */\n function fromRelatedInformation({\n start,\n length,\n file,\n messageText: msgText,\n ...ri\n }) {\n let messageText;\n let messageChain;\n if (typeof msgText === \"object\") {\n messageChain = msgText;\n } else {\n messageText = msgText;\n }\n if (start !== undefined && length !== undefined && file) {\n const startPos = file.getLineAndCharacterOfPosition(start);\n const sourceLine = file.getFullText().split(\"\\n\")[startPos.line];\n const fileName = file.fileName;\n return {\n start: startPos,\n end: file.getLineAndCharacterOfPosition(start + length),\n fileName,\n messageChain,\n messageText,\n sourceLine,\n ...ri,\n };\n } else {\n return {\n messageChain,\n messageText,\n ...ri,\n };\n }\n }\n\n /** @param {ts.Diagnostic[]} diagnostics */\n function fromTypeScriptDiagnostic(diagnostics) {\n return diagnostics.map(({ relatedInformation: ri, source, ...diag }) => {\n /** @type {any} */\n const value = fromRelatedInformation(diag);\n value.relatedInformation = ri\n ? ri.map(fromRelatedInformation)\n : undefined;\n value.source = source;\n return value;\n });\n }\n\n // Using incremental compile APIs requires that all\n // paths must be either relative or absolute. Since\n // analysis in Rust operates on fully resolved URLs,\n // it makes sense to use the same scheme here.\n const ASSETS = \"asset:///\";\n const CACHE = \"cache:///\";\n\n /** Diagnostics that are intentionally ignored when compiling TypeScript in\n * Deno, as they provide misleading or incorrect information. */\n const IGNORED_DIAGNOSTICS = [\n // TS1208: All files must be modules when the '--isolatedModules' flag is\n // provided. We can ignore because we guarantee that all files are\n // modules.\n 1208,\n // TS1375: 'await' expressions are only allowed at the top level of a file\n // when that file is a module, but this file has no imports or exports.\n // Consider adding an empty 'export {}' to make this file a module.\n 1375,\n // TS1103: 'for-await-of' statement is only allowed within an async function\n // or async generator.\n 1103,\n // TS2306: File 'file:///Users/rld/src/deno/subdir/amd_like.js' is\n // not a module.\n 2306,\n // TS2691: An import path cannot end with a '.ts' extension. Consider\n // importing 'bad-module' instead.\n 2691,\n // TS2792: Cannot find module. Did you mean to set the 'moduleResolution'\n // option to 'node', or to add aliases to the 'paths' option?\n 2792,\n // TS5009: Cannot find the common subdirectory path for the input files.\n 5009,\n // TS5055: Cannot write file\n // 'http://localhost:4545/subdir/mt_application_x_javascript.j4.js'\n // because it would overwrite input file.\n 5055,\n // TypeScript is overly opinionated that only CommonJS modules kinds can\n // support JSON imports. Allegedly this was fixed in\n // Microsoft/TypeScript#26825 but that doesn't seem to be working here,\n // so we will ignore complaints about this compiler setting.\n 5070,\n // TS7016: Could not find a declaration file for module '...'. '...'\n // implicitly has an 'any' type. This is due to `allowJs` being off by\n // default but importing of a JavaScript module.\n 7016,\n ];\n\n const SNAPSHOT_COMPILE_OPTIONS = {\n esModuleInterop: true,\n jsx: ts.JsxEmit.React,\n module: ts.ModuleKind.ESNext,\n noEmit: true,\n strict: true,\n target: ts.ScriptTarget.ESNext,\n };\n\n class ScriptSnapshot {\n /** @type {string} */\n specifier;\n /** @type {string} */\n version;\n /**\n * @param {string} specifier\n * @param {string} version \n */\n constructor(specifier, version) {\n this.specifier = specifier;\n this.version = version;\n }\n /**\n * @param {number} start \n * @param {number} end \n * @returns {string}\n */\n getText(start, end) {\n const { specifier, version } = this;\n debug(\n `snapshot.getText(${start}, ${end}) specifier: ${specifier} version: ${version}`,\n );\n return core.jsonOpSync(\"op_get_text\", { specifier, version, start, end });\n }\n /**\n * @returns {number}\n */\n getLength() {\n const { specifier, version } = this;\n debug(`snapshot.getLength() specifier: ${specifier} version: ${version}`);\n return core.jsonOpSync(\"op_get_length\", { specifier, version });\n }\n /**\n * @param {ScriptSnapshot} oldSnapshot\n * @returns {ts.TextChangeRange | undefined}\n */\n getChangeRange(oldSnapshot) {\n const { specifier, version } = this;\n const { version: oldVersion } = oldSnapshot;\n const oldLength = oldSnapshot.getLength();\n debug(\n `snapshot.getLength() specifier: ${specifier} oldVersion: ${oldVersion} version: ${version}`,\n );\n return core.jsonOpSync(\n \"op_get_change_range\",\n { specifier, oldLength, oldVersion, version },\n );\n }\n dispose() {\n const { specifier, version } = this;\n debug(`snapshot.dispose() specifier: ${specifier} version: ${version}`);\n core.jsonOpSync(\"op_dispose\", { specifier, version });\n }\n }\n\n /** @type {ts.CompilerOptions} */\n let compilationSettings = {};\n\n /** @type {ts.LanguageService} */\n let languageService;\n\n /** An object literal of the incremental compiler host, which provides the\n * specific \"bindings\" to the Deno environment that tsc needs to work.\n *\n * @type {ts.CompilerHost & ts.LanguageServiceHost} */\n const host = {\n fileExists(fileName) {\n debug(`host.fileExists(\"${fileName}\")`);\n return false;\n },\n readFile(specifier) {\n debug(`host.readFile(\"${specifier}\")`);\n return core.jsonOpSync(\"op_load\", { specifier }).data;\n },\n getSourceFile(\n specifier,\n languageVersion,\n _onError,\n _shouldCreateNewSourceFile,\n ) {\n debug(\n `host.getSourceFile(\"${specifier}\", ${\n ts.ScriptTarget[languageVersion]\n })`,\n );\n let sourceFile = sourceFileCache.get(specifier);\n if (sourceFile) {\n return sourceFile;\n }\n\n /** @type {{ data: string; hash?: string; scriptKind: ts.ScriptKind }} */\n const { data, hash, scriptKind } = core.jsonOpSync(\n \"op_load\",\n { specifier },\n );\n assert(\n data != null,\n `\"data\" is unexpectedly null for \"${specifier}\".`,\n );\n sourceFile = ts.createSourceFile(\n specifier,\n data,\n languageVersion,\n false,\n scriptKind,\n );\n sourceFile.moduleName = specifier;\n sourceFile.version = hash;\n sourceFileCache.set(specifier, sourceFile);\n return sourceFile;\n },\n getDefaultLibFileName() {\n return `${ASSETS}/lib.esnext.d.ts`;\n },\n getDefaultLibLocation() {\n return ASSETS;\n },\n writeFile(fileName, data, _writeByteOrderMark, _onError, sourceFiles) {\n debug(`host.writeFile(\"${fileName}\")`);\n let maybeSpecifiers;\n if (sourceFiles) {\n maybeSpecifiers = sourceFiles.map((sf) => sf.moduleName);\n }\n return core.jsonOpSync(\n \"op_emit\",\n { maybeSpecifiers, fileName, data },\n );\n },\n getCurrentDirectory() {\n return CACHE;\n },\n getCanonicalFileName(fileName) {\n return fileName;\n },\n useCaseSensitiveFileNames() {\n return true;\n },\n getNewLine() {\n return \"\\n\";\n },\n resolveModuleNames(specifiers, base) {\n debug(`host.resolveModuleNames()`);\n debug(` base: ${base}`);\n debug(` specifiers: ${specifiers.join(\", \")}`);\n /** @type {Array<[string, ts.Extension] | undefined>} */\n const resolved = core.jsonOpSync(\"op_resolve\", {\n specifiers,\n base,\n });\n if (resolved) {\n const result = resolved.map((item) => {\n if (item) {\n const [resolvedFileName, extension] = item;\n return {\n resolvedFileName,\n extension,\n isExternalLibraryImport: false,\n };\n }\n return undefined;\n });\n result.length = specifiers.length;\n return result;\n } else {\n return new Array(specifiers.length);\n }\n },\n createHash(data) {\n return core.jsonOpSync(\"op_create_hash\", { data }).hash;\n },\n\n // LanguageServiceHost\n getCompilationSettings() {\n debug(\"host.getCompilationSettings()\");\n return compilationSettings;\n },\n getScriptFileNames() {\n debug(\"host.getScriptFileNames()\");\n return core.jsonOpSync(\"op_script_names\", undefined);\n },\n getScriptVersion(specifier) {\n debug(`host.getScriptVersion(\"${specifier}\")`);\n const sourceFile = sourceFileCache.get(specifier);\n if (sourceFile) {\n return sourceFile.version ?? \"1\";\n }\n return core.jsonOpSync(\"op_script_version\", { specifier });\n },\n getScriptSnapshot(specifier) {\n debug(`host.getScriptSnapshot(\"${specifier}\")`);\n const sourceFile = sourceFileCache.get(specifier);\n if (sourceFile) {\n return {\n getText(start, end) {\n return sourceFile.text.substring(start, end);\n },\n getLength() {\n return sourceFile.text.length;\n },\n getChangeRange() {\n return undefined;\n },\n };\n }\n /** @type {string | undefined} */\n const version = core.jsonOpSync(\"op_script_version\", { specifier });\n if (version != null) {\n return new ScriptSnapshot(specifier, version);\n }\n return undefined;\n },\n };\n\n /** @type {Array<[string, number]>} */\n const stats = [];\n let statsStart = 0;\n\n function performanceStart() {\n stats.length = 0;\n statsStart = Date.now();\n ts.performance.enable();\n }\n\n /**\n * @param {{ program: ts.Program | ts.EmitAndSemanticDiagnosticsBuilderProgram, fileCount?: number }} options \n */\n function performanceProgram({ program, fileCount }) {\n if (program) {\n if (\"getProgram\" in program) {\n program = program.getProgram();\n }\n stats.push([\"Files\", program.getSourceFiles().length]);\n stats.push([\"Nodes\", program.getNodeCount()]);\n stats.push([\"Identifiers\", program.getIdentifierCount()]);\n stats.push([\"Symbols\", program.getSymbolCount()]);\n stats.push([\"Types\", program.getTypeCount()]);\n stats.push([\"Instantiations\", program.getInstantiationCount()]);\n } else if (fileCount != null) {\n stats.push([\"Files\", fileCount]);\n }\n const programTime = ts.performance.getDuration(\"Program\");\n const bindTime = ts.performance.getDuration(\"Bind\");\n const checkTime = ts.performance.getDuration(\"Check\");\n const emitTime = ts.performance.getDuration(\"Emit\");\n stats.push([\"Parse time\", programTime]);\n stats.push([\"Bind time\", bindTime]);\n stats.push([\"Check time\", checkTime]);\n stats.push([\"Emit time\", emitTime]);\n stats.push(\n [\"Total TS time\", programTime + bindTime + checkTime + emitTime],\n );\n }\n\n function performanceEnd() {\n const duration = Date.now() - statsStart;\n stats.push([\"Compile time\", duration]);\n return stats;\n }\n\n /**\n * @typedef {object} Request\n * @property {Record} config\n * @property {boolean} debug\n * @property {string[]} rootNames\n */\n\n /** The API that is called by Rust when executing a request.\n * @param {Request} request\n */\n function exec({ config, debug: debugFlag, rootNames }) {\n setLogDebug(debugFlag, \"TS\");\n performanceStart();\n debug(\">>> exec start\", { rootNames });\n debug(config);\n\n const { options, errors: configFileParsingDiagnostics } = ts\n .convertCompilerOptionsFromJson(config, \"\");\n // The `allowNonTsExtensions` is a \"hidden\" compiler option used in VSCode\n // which is not allowed to be passed in JSON, we need it to allow special\n // URLs which Deno supports. So we need to either ignore the diagnostic, or\n // inject it ourselves.\n Object.assign(options, { allowNonTsExtensions: true });\n const program = ts.createIncrementalProgram({\n rootNames,\n options,\n host,\n configFileParsingDiagnostics,\n });\n\n const { diagnostics: emitDiagnostics } = program.emit();\n\n const diagnostics = [\n ...program.getConfigFileParsingDiagnostics(),\n ...program.getSyntacticDiagnostics(),\n ...program.getOptionsDiagnostics(),\n ...program.getGlobalDiagnostics(),\n ...program.getSemanticDiagnostics(),\n ...emitDiagnostics,\n ].filter(({ code }) => !IGNORED_DIAGNOSTICS.includes(code));\n performanceProgram({ program });\n\n core.jsonOpSync(\"op_respond\", {\n diagnostics: fromTypeScriptDiagnostic(diagnostics),\n stats: performanceEnd(),\n });\n debug(\"<<< exec stop\");\n }\n\n /**\n * @param {number} id \n * @param {any} data \n */\n function respond(id, data = null) {\n core.jsonOpSync(\"op_respond\", { id, data });\n }\n\n /**\n * @param {LanguageServerRequest} request \n */\n function serverRequest({ id, ...request }) {\n debug(`serverRequest()`, { id, ...request });\n switch (request.method) {\n case \"configure\": {\n const { options, errors } = ts\n .convertCompilerOptionsFromJson(request.compilerOptions, \"\");\n Object.assign(options, { allowNonTsExtensions: true });\n if (errors.length) {\n debug(ts.formatDiagnostics(errors, host));\n }\n compilationSettings = options;\n return respond(id, true);\n }\n case \"getAsset\": {\n const sourceFile = host.getSourceFile(\n request.specifier,\n ts.ScriptTarget.ESNext,\n );\n return respond(id, sourceFile && sourceFile.text);\n }\n case \"getDiagnostics\": {\n try {\n /** @type {Record} */\n const diagnosticMap = {};\n for (const specifier of request.specifiers) {\n diagnosticMap[specifier] = fromTypeScriptDiagnostic([\n ...languageService.getSemanticDiagnostics(specifier),\n ...languageService.getSuggestionDiagnostics(specifier),\n ...languageService.getSyntacticDiagnostics(specifier),\n ].filter(({ code }) => !IGNORED_DIAGNOSTICS.includes(code)));\n }\n return respond(id, diagnosticMap);\n } catch (e) {\n if (\"stack\" in e) {\n error(e.stack);\n } else {\n error(e);\n }\n return respond(id, {});\n }\n }\n case \"getQuickInfo\": {\n return respond(\n id,\n languageService.getQuickInfoAtPosition(\n request.specifier,\n request.position,\n ),\n );\n }\n case \"getCompletions\": {\n return respond(\n id,\n languageService.getCompletionsAtPosition(\n request.specifier,\n request.position,\n request.preferences,\n ),\n );\n }\n case \"getDocumentHighlights\": {\n return respond(\n id,\n languageService.getDocumentHighlights(\n request.specifier,\n request.position,\n request.filesToSearch,\n ),\n );\n }\n case \"getReferences\": {\n return respond(\n id,\n languageService.getReferencesAtPosition(\n request.specifier,\n request.position,\n ),\n );\n }\n case \"getDefinition\": {\n return respond(\n id,\n languageService.getDefinitionAndBoundSpan(\n request.specifier,\n request.position,\n ),\n );\n }\n case \"getImplementation\": {\n return respond(\n id,\n languageService.getImplementationAtPosition(\n request.specifier,\n request.position,\n ),\n );\n }\n case \"findRenameLocations\": {\n return respond(\n id,\n languageService.findRenameLocations(\n request.specifier,\n request.position,\n request.findInStrings,\n request.findInComments,\n request.providePrefixAndSuffixTextForRename,\n ),\n );\n }\n default:\n throw new TypeError(\n // @ts-ignore exhausted case statement sets type to never\n `Invalid request method for request: \"${request.method}\" (${id})`,\n );\n }\n }\n\n /** @param {{ debug: boolean; }} init */\n function serverInit({ debug: debugFlag }) {\n if (hasStarted) {\n throw new Error(\"The language server has already been initialized.\");\n }\n hasStarted = true;\n languageService = ts.createLanguageService(host);\n core.ops();\n setLogDebug(debugFlag, \"TSLS\");\n debug(\"serverInit()\");\n }\n\n let hasStarted = false;\n\n /** Startup the runtime environment, setting various flags.\n * @param {{ debugFlag?: boolean; legacyFlag?: boolean; }} msg\n */\n function startup({ debugFlag = false }) {\n if (hasStarted) {\n throw new Error(\"The compiler runtime already started.\");\n }\n hasStarted = true;\n core.ops();\n setLogDebug(!!debugFlag, \"TS\");\n }\n\n // Setup the compiler runtime during the build process.\n core.ops();\n core.registerErrorClass(\"Error\", Error);\n\n // A build time only op that provides some setup information that is used to\n // ensure the snapshot is setup properly.\n /** @type {{ buildSpecifier: string; libs: string[] }} */\n const { buildSpecifier, libs } = core.jsonOpSync(\"op_build_info\", {});\n for (const lib of libs) {\n const specifier = `lib.${lib}.d.ts`;\n // we are using internal APIs here to \"inject\" our custom libraries into\n // tsc, so things like `\"lib\": [ \"deno.ns\" ]` are supported.\n if (!ts.libs.includes(lib)) {\n ts.libs.push(lib);\n ts.libMap.set(lib, `lib.${lib}.d.ts`);\n }\n // we are caching in memory common type libraries that will be re-used by\n // tsc on when the snapshot is restored\n assert(\n host.getSourceFile(`${ASSETS}${specifier}`, ts.ScriptTarget.ESNext),\n );\n }\n // this helps ensure as much as possible is in memory that is re-usable\n // before the snapshotting is done, which helps unsure fast \"startup\" for\n // subsequent uses of tsc in Deno.\n const TS_SNAPSHOT_PROGRAM = ts.createProgram({\n rootNames: [buildSpecifier],\n options: SNAPSHOT_COMPILE_OPTIONS,\n host,\n });\n ts.getPreEmitDiagnostics(TS_SNAPSHOT_PROGRAM);\n\n // exposes the two functions that are called by `tsc::exec()` when type\n // checking TypeScript.\n globalThis.startup = startup;\n globalThis.exec = exec;\n\n // exposes the functions that are called when the compiler is used as a\n // language service.\n globalThis.serverInit = serverInit;\n globalThis.serverRequest = serverRequest;\n})(this);\n" } } diff --git a/cli/tests/testdata/run/045_programmatic_proxy_client.ts b/cli/tests/testdata/run/045_programmatic_proxy_client.ts index 8bc45a4b63..09ab2b71e0 100644 --- a/cli/tests/testdata/run/045_programmatic_proxy_client.ts +++ b/cli/tests/testdata/run/045_programmatic_proxy_client.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. const client = Deno.createHttpClient({ proxy: { diff --git a/cli/tests/testdata/run/045_proxy_client.ts b/cli/tests/testdata/run/045_proxy_client.ts index 2a8728afac..b258909523 100644 --- a/cli/tests/testdata/run/045_proxy_client.ts +++ b/cli/tests/testdata/run/045_proxy_client.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. const res = await fetch( "http://localhost:4545/run/045_mod.ts", ); diff --git a/cli/tests/testdata/run/045_proxy_test.ts b/cli/tests/testdata/run/045_proxy_test.ts index f90c376490..8ca733a942 100644 --- a/cli/tests/testdata/run/045_proxy_test.ts +++ b/cli/tests/testdata/run/045_proxy_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { Server } from "../../../../test_util/std/http/server.ts"; import { assertEquals } from "../../../../test_util/std/testing/asserts.ts"; diff --git a/cli/tests/testdata/run/finalization_registry.js b/cli/tests/testdata/run/finalization_registry.js index 7d7d581490..dd3ea7671e 100644 --- a/cli/tests/testdata/run/finalization_registry.js +++ b/cli/tests/testdata/run/finalization_registry.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. "use strict"; function assertEquals(a, b) { diff --git a/cli/tests/testdata/run/flash_shutdown/main.ts b/cli/tests/testdata/run/flash_shutdown/main.ts index 7f6985e347..5e0908efb1 100644 --- a/cli/tests/testdata/run/flash_shutdown/main.ts +++ b/cli/tests/testdata/run/flash_shutdown/main.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // Deno.serve caused segfault with this example after #16383 // refs: diff --git a/cli/tests/testdata/run/heapstats.js b/cli/tests/testdata/run/heapstats.js index 1f06e7f6e2..e571dd730f 100644 --- a/cli/tests/testdata/run/heapstats.js +++ b/cli/tests/testdata/run/heapstats.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. "use strict"; function allocTest(alloc, allocAssert, deallocAssert) { diff --git a/cli/tests/testdata/run/textproto.ts b/cli/tests/testdata/run/textproto.ts index ff13bfe475..7ddb797175 100644 --- a/cli/tests/testdata/run/textproto.ts +++ b/cli/tests/testdata/run/textproto.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // Copyright 2009 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. diff --git a/cli/tests/testdata/run/websocket_test.ts b/cli/tests/testdata/run/websocket_test.ts index e557a3cb27..a9dc34ad1d 100644 --- a/cli/tests/testdata/run/websocket_test.ts +++ b/cli/tests/testdata/run/websocket_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { assert, assertEquals, diff --git a/cli/tests/testdata/run/websocketstream_test.ts b/cli/tests/testdata/run/websocketstream_test.ts index 74d8e5d9a1..a584da322a 100644 --- a/cli/tests/testdata/run/websocketstream_test.ts +++ b/cli/tests/testdata/run/websocketstream_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { assert, diff --git a/cli/tests/testdata/run/worker_close_in_wasm_reactions.js b/cli/tests/testdata/run/worker_close_in_wasm_reactions.js index 8238aaa148..c2754ac648 100644 --- a/cli/tests/testdata/run/worker_close_in_wasm_reactions.js +++ b/cli/tests/testdata/run/worker_close_in_wasm_reactions.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // https://github.com/denoland/deno/issues/12263 // Test for a panic that happens when a worker is closed in the reactions of a diff --git a/cli/tests/testdata/run/worker_close_nested.js b/cli/tests/testdata/run/worker_close_nested.js index b39dfd4c0b..528c2844ef 100644 --- a/cli/tests/testdata/run/worker_close_nested.js +++ b/cli/tests/testdata/run/worker_close_nested.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // Test that closing a worker which has living child workers will automatically // close the children. diff --git a/cli/tests/testdata/run/worker_close_race.js b/cli/tests/testdata/run/worker_close_race.js index 1b369c5d3f..ee08087899 100644 --- a/cli/tests/testdata/run/worker_close_race.js +++ b/cli/tests/testdata/run/worker_close_race.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // https://github.com/denoland/deno/issues/11416 // Test for a race condition between a worker's `close()` and the main thread's diff --git a/cli/tests/testdata/run/worker_drop_handle_race.js b/cli/tests/testdata/run/worker_drop_handle_race.js index 5ad918314a..19d509ac5a 100644 --- a/cli/tests/testdata/run/worker_drop_handle_race.js +++ b/cli/tests/testdata/run/worker_drop_handle_race.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // https://github.com/denoland/deno/issues/11342 // Test for a panic that happens when the main thread's event loop finishes diff --git a/cli/tests/testdata/run/worker_drop_handle_race_terminate.js b/cli/tests/testdata/run/worker_drop_handle_race_terminate.js index 93c324fdff..61ba4ab7b5 100644 --- a/cli/tests/testdata/run/worker_drop_handle_race_terminate.js +++ b/cli/tests/testdata/run/worker_drop_handle_race_terminate.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // Test that the panic in https://github.com/denoland/deno/issues/11342 does not // happen when calling worker.terminate() after fixing diff --git a/cli/tests/testdata/workers/close_nested_child.js b/cli/tests/testdata/workers/close_nested_child.js index 15300cb03b..bd95ae08c0 100644 --- a/cli/tests/testdata/workers/close_nested_child.js +++ b/cli/tests/testdata/workers/close_nested_child.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. console.log("Starting the child worker"); diff --git a/cli/tests/testdata/workers/close_nested_parent.js b/cli/tests/testdata/workers/close_nested_parent.js index dd64b315af..c5df182d62 100644 --- a/cli/tests/testdata/workers/close_nested_parent.js +++ b/cli/tests/testdata/workers/close_nested_parent.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. console.log("Starting the parent worker"); diff --git a/cli/tests/testdata/workers/close_race_worker.js b/cli/tests/testdata/workers/close_race_worker.js index 7646f3a67c..b194d961b8 100644 --- a/cli/tests/testdata/workers/close_race_worker.js +++ b/cli/tests/testdata/workers/close_race_worker.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. setTimeout(() => { self.postMessage(""); diff --git a/cli/tests/testdata/workers/http_worker.js b/cli/tests/testdata/workers/http_worker.js index 43ad5e12cc..4f6b2ec8b2 100644 --- a/cli/tests/testdata/workers/http_worker.js +++ b/cli/tests/testdata/workers/http_worker.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. const listener = Deno.listen({ hostname: "127.0.0.1", port: 4506 }); postMessage("ready"); for await (const conn of listener) { diff --git a/cli/tests/testdata/workers/test.ts b/cli/tests/testdata/workers/test.ts index a087936dd3..506bb4c312 100644 --- a/cli/tests/testdata/workers/test.ts +++ b/cli/tests/testdata/workers/test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // Requires to be run with `--allow-net` flag diff --git a/cli/tests/unit/blob_test.ts b/cli/tests/unit/blob_test.ts index 15d96da44e..8a91a76dd9 100644 --- a/cli/tests/unit/blob_test.ts +++ b/cli/tests/unit/blob_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { assert, assertEquals, assertStringIncludes } from "./test_util.ts"; import { concat } from "../../../test_util/std/bytes/mod.ts"; diff --git a/cli/tests/unit/body_test.ts b/cli/tests/unit/body_test.ts index 91acb1298e..e7a38b7a6b 100644 --- a/cli/tests/unit/body_test.ts +++ b/cli/tests/unit/body_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { assert, assertEquals } from "./test_util.ts"; // just a hack to get a body object diff --git a/cli/tests/unit/broadcast_channel_test.ts b/cli/tests/unit/broadcast_channel_test.ts index d56324cc04..06821c4dba 100644 --- a/cli/tests/unit/broadcast_channel_test.ts +++ b/cli/tests/unit/broadcast_channel_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { assertEquals } from "../../../test_util/std/testing/asserts.ts"; import { deferred } from "../../../test_util/std/async/deferred.ts"; diff --git a/cli/tests/unit/buffer_test.ts b/cli/tests/unit/buffer_test.ts index 41d7e4d7f2..6ca1d04664 100644 --- a/cli/tests/unit/buffer_test.ts +++ b/cli/tests/unit/buffer_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // deno-lint-ignore-file no-deprecated-deno-api diff --git a/cli/tests/unit/build_test.ts b/cli/tests/unit/build_test.ts index fcb0885bfe..3b310acc3c 100644 --- a/cli/tests/unit/build_test.ts +++ b/cli/tests/unit/build_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { assert } from "./test_util.ts"; Deno.test(function buildInfo() { diff --git a/cli/tests/unit/cache_api_test.ts b/cli/tests/unit/cache_api_test.ts index 7bca16d89d..b2682349af 100644 --- a/cli/tests/unit/cache_api_test.ts +++ b/cli/tests/unit/cache_api_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { assert, assertEquals, diff --git a/cli/tests/unit/chmod_test.ts b/cli/tests/unit/chmod_test.ts index 70ab62c842..e30116f237 100644 --- a/cli/tests/unit/chmod_test.ts +++ b/cli/tests/unit/chmod_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { assert, assertEquals, diff --git a/cli/tests/unit/chown_test.ts b/cli/tests/unit/chown_test.ts index dd23627ae5..17dc76491d 100644 --- a/cli/tests/unit/chown_test.ts +++ b/cli/tests/unit/chown_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { assertEquals, assertRejects, assertThrows } from "./test_util.ts"; // chown on Windows is noop for now, so ignore its testing on Windows diff --git a/cli/tests/unit/console_test.ts b/cli/tests/unit/console_test.ts index 97c429aab8..1abacc9ad2 100644 --- a/cli/tests/unit/console_test.ts +++ b/cli/tests/unit/console_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // TODO(ry) The unit test functions in this module are too coarse. They should // be broken up into smaller bits. diff --git a/cli/tests/unit/copy_file_test.ts b/cli/tests/unit/copy_file_test.ts index e906e17fec..c53f2601ba 100644 --- a/cli/tests/unit/copy_file_test.ts +++ b/cli/tests/unit/copy_file_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { assertEquals, assertRejects, assertThrows } from "./test_util.ts"; function readFileString(filename: string | URL): string { diff --git a/cli/tests/unit/custom_event_test.ts b/cli/tests/unit/custom_event_test.ts index 042a7447ab..05d4fb169f 100644 --- a/cli/tests/unit/custom_event_test.ts +++ b/cli/tests/unit/custom_event_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { assertEquals } from "./test_util.ts"; Deno.test(function customEventInitializedWithDetail() { diff --git a/cli/tests/unit/dir_test.ts b/cli/tests/unit/dir_test.ts index 2f3f852708..d2ce1c4531 100644 --- a/cli/tests/unit/dir_test.ts +++ b/cli/tests/unit/dir_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { assert, assertEquals, assertThrows } from "./test_util.ts"; Deno.test({ permissions: { read: true } }, function dirCwdNotNull() { diff --git a/cli/tests/unit/error_stack_test.ts b/cli/tests/unit/error_stack_test.ts index 8444972a8d..15e18f0dd4 100644 --- a/cli/tests/unit/error_stack_test.ts +++ b/cli/tests/unit/error_stack_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { assertEquals, assertMatch } from "./test_util.ts"; Deno.test(function errorStackMessageLine() { diff --git a/cli/tests/unit/error_test.ts b/cli/tests/unit/error_test.ts index f3c9e20e6b..bb7a9baf85 100644 --- a/cli/tests/unit/error_test.ts +++ b/cli/tests/unit/error_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { assert, assertThrows, fail } from "./test_util.ts"; Deno.test("Errors work", () => { diff --git a/cli/tests/unit/esnext_test.ts b/cli/tests/unit/esnext_test.ts index dfee67a778..630b9be971 100644 --- a/cli/tests/unit/esnext_test.ts +++ b/cli/tests/unit/esnext_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { assertEquals } from "./test_util.ts"; // TODO(@kitsonk) remove when we are no longer patching TypeScript to have diff --git a/cli/tests/unit/event_target_test.ts b/cli/tests/unit/event_target_test.ts index f732003ecc..49bd354aa2 100644 --- a/cli/tests/unit/event_target_test.ts +++ b/cli/tests/unit/event_target_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // deno-lint-ignore-file no-window-prefix import { assertEquals, assertThrows } from "./test_util.ts"; diff --git a/cli/tests/unit/event_test.ts b/cli/tests/unit/event_test.ts index 2a9288937a..d81023da13 100644 --- a/cli/tests/unit/event_test.ts +++ b/cli/tests/unit/event_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { assert, assertEquals, assertStringIncludes } from "./test_util.ts"; Deno.test(function eventInitializedWithType() { diff --git a/cli/tests/unit/fetch_test.ts b/cli/tests/unit/fetch_test.ts index 500891e08c..9adafe203a 100644 --- a/cli/tests/unit/fetch_test.ts +++ b/cli/tests/unit/fetch_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { assert, assertEquals, diff --git a/cli/tests/unit/ffi_test.ts b/cli/tests/unit/ffi_test.ts index 18b8311377..690b37afcb 100644 --- a/cli/tests/unit/ffi_test.ts +++ b/cli/tests/unit/ffi_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { assertThrows } from "./test_util.ts"; diff --git a/cli/tests/unit/file_test.ts b/cli/tests/unit/file_test.ts index a89496b28a..23583ac2ec 100644 --- a/cli/tests/unit/file_test.ts +++ b/cli/tests/unit/file_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { assert, assertEquals } from "./test_util.ts"; // deno-lint-ignore no-explicit-any diff --git a/cli/tests/unit/filereader_test.ts b/cli/tests/unit/filereader_test.ts index 651cb4e966..d65eaf4a17 100644 --- a/cli/tests/unit/filereader_test.ts +++ b/cli/tests/unit/filereader_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { assertEquals } from "./test_util.ts"; Deno.test(function fileReaderConstruct() { diff --git a/cli/tests/unit/files_test.ts b/cli/tests/unit/files_test.ts index e5d3a96a7e..c45f7072f4 100644 --- a/cli/tests/unit/files_test.ts +++ b/cli/tests/unit/files_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // deno-lint-ignore-file no-deprecated-deno-api diff --git a/cli/tests/unit/flash_test.ts b/cli/tests/unit/flash_test.ts index 836c9b6031..9491e4534c 100644 --- a/cli/tests/unit/flash_test.ts +++ b/cli/tests/unit/flash_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // deno-lint-ignore-file diff --git a/cli/tests/unit/flock_test.ts b/cli/tests/unit/flock_test.ts index 20453a57ad..7539e3d54f 100644 --- a/cli/tests/unit/flock_test.ts +++ b/cli/tests/unit/flock_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { assertEquals } from "./test_util.ts"; Deno.test( diff --git a/cli/tests/unit/get_random_values_test.ts b/cli/tests/unit/get_random_values_test.ts index 29c8365ea7..01541ea10b 100644 --- a/cli/tests/unit/get_random_values_test.ts +++ b/cli/tests/unit/get_random_values_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { assertNotEquals, assertStrictEquals } from "./test_util.ts"; Deno.test(function getRandomValuesInt8Array() { diff --git a/cli/tests/unit/globals_test.ts b/cli/tests/unit/globals_test.ts index 8957dde20c..cf7293bbac 100644 --- a/cli/tests/unit/globals_test.ts +++ b/cli/tests/unit/globals_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // deno-lint-ignore-file no-window-prefix import { assert } from "./test_util.ts"; diff --git a/cli/tests/unit/headers_test.ts b/cli/tests/unit/headers_test.ts index fa711bb9b1..e46cfc6c53 100644 --- a/cli/tests/unit/headers_test.ts +++ b/cli/tests/unit/headers_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { assert, assertEquals, assertThrows } from "./test_util.ts"; const { inspectArgs, diff --git a/cli/tests/unit/http_test.ts b/cli/tests/unit/http_test.ts index 73bf07b68c..3c6c86a69d 100644 --- a/cli/tests/unit/http_test.ts +++ b/cli/tests/unit/http_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { Buffer, BufReader, diff --git a/cli/tests/unit/internals_test.ts b/cli/tests/unit/internals_test.ts index 7006feb06b..e17f3e72c4 100644 --- a/cli/tests/unit/internals_test.ts +++ b/cli/tests/unit/internals_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { assert } from "./test_util.ts"; Deno.test(function internalsExists() { diff --git a/cli/tests/unit/intl_test.ts b/cli/tests/unit/intl_test.ts index 788dd3c650..e135460d75 100644 --- a/cli/tests/unit/intl_test.ts +++ b/cli/tests/unit/intl_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { assertEquals } from "./test_util.ts"; Deno.test("Intl.v8BreakIterator should be undefined", () => { diff --git a/cli/tests/unit/io_test.ts b/cli/tests/unit/io_test.ts index d238b89c4a..efd548bea0 100644 --- a/cli/tests/unit/io_test.ts +++ b/cli/tests/unit/io_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { assertEquals } from "./test_util.ts"; import { Buffer } from "../../../test_util/std/io/buffer.ts"; diff --git a/cli/tests/unit/link_test.ts b/cli/tests/unit/link_test.ts index 6f9c420392..d8ae50d453 100644 --- a/cli/tests/unit/link_test.ts +++ b/cli/tests/unit/link_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { assert, assertEquals, diff --git a/cli/tests/unit/make_temp_test.ts b/cli/tests/unit/make_temp_test.ts index ac48579f58..5e5c7bafa1 100644 --- a/cli/tests/unit/make_temp_test.ts +++ b/cli/tests/unit/make_temp_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { assert, assertEquals, diff --git a/cli/tests/unit/message_channel_test.ts b/cli/tests/unit/message_channel_test.ts index 56bf0a7270..35b7c47c40 100644 --- a/cli/tests/unit/message_channel_test.ts +++ b/cli/tests/unit/message_channel_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // NOTE: these are just sometests to test the TypeScript types. Real coverage is // provided by WPT. import { diff --git a/cli/tests/unit/metrics_test.ts b/cli/tests/unit/metrics_test.ts index 7f78d4578b..5ada58b971 100644 --- a/cli/tests/unit/metrics_test.ts +++ b/cli/tests/unit/metrics_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { assert, assertEquals } from "./test_util.ts"; Deno.test(async function metrics() { diff --git a/cli/tests/unit/mkdir_test.ts b/cli/tests/unit/mkdir_test.ts index d1f8130256..990e660984 100644 --- a/cli/tests/unit/mkdir_test.ts +++ b/cli/tests/unit/mkdir_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { assert, assertEquals, diff --git a/cli/tests/unit/navigator_test.ts b/cli/tests/unit/navigator_test.ts index 0103762734..ba7c2609a6 100644 --- a/cli/tests/unit/navigator_test.ts +++ b/cli/tests/unit/navigator_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { assert } from "./test_util.ts"; Deno.test(function navigatorNumCpus() { diff --git a/cli/tests/unit/net_test.ts b/cli/tests/unit/net_test.ts index 930e4f0523..652d07d7de 100644 --- a/cli/tests/unit/net_test.ts +++ b/cli/tests/unit/net_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { assert, assertEquals, @@ -917,7 +917,7 @@ Deno.test( const conn = await Deno.connect({ port: 3500 }); conn.unref(); await conn.read(new Uint8Array(10)); // The program exits here - throw new Error(); // The program doesn't reach here + throw new Error(); // The program doesn't reach here } main(); `); @@ -942,7 +942,7 @@ Deno.test( conn.unref(); const reader = conn.readable.getReader(); await reader.read(); // The program exits here - throw new Error(); // The program doesn't reach here + throw new Error(); // The program doesn't reach here } main(); `); diff --git a/cli/tests/unit/os_test.ts b/cli/tests/unit/os_test.ts index ae2bee72e3..81f912bccc 100644 --- a/cli/tests/unit/os_test.ts +++ b/cli/tests/unit/os_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { assert, assertEquals, diff --git a/cli/tests/unit/performance_test.ts b/cli/tests/unit/performance_test.ts index 687bb024d0..a7dab5f9e5 100644 --- a/cli/tests/unit/performance_test.ts +++ b/cli/tests/unit/performance_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { assert, assertEquals, diff --git a/cli/tests/unit/permissions_test.ts b/cli/tests/unit/permissions_test.ts index 3af2e35eaa..9f9b605f9a 100644 --- a/cli/tests/unit/permissions_test.ts +++ b/cli/tests/unit/permissions_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { assert, assertEquals, diff --git a/cli/tests/unit/process_test.ts b/cli/tests/unit/process_test.ts index e610095ffe..3291956f90 100644 --- a/cli/tests/unit/process_test.ts +++ b/cli/tests/unit/process_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { assert, assertEquals, diff --git a/cli/tests/unit/progressevent_test.ts b/cli/tests/unit/progressevent_test.ts index f6068e1a07..8f88b4bf5e 100644 --- a/cli/tests/unit/progressevent_test.ts +++ b/cli/tests/unit/progressevent_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { assertEquals } from "./test_util.ts"; Deno.test(function progressEventConstruct() { diff --git a/cli/tests/unit/promise_hooks_test.ts b/cli/tests/unit/promise_hooks_test.ts index 647fa98cbf..cbdb6320ae 100644 --- a/cli/tests/unit/promise_hooks_test.ts +++ b/cli/tests/unit/promise_hooks_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { assertEquals } from "./test_util.ts"; diff --git a/cli/tests/unit/read_dir_test.ts b/cli/tests/unit/read_dir_test.ts index 1c81e860a6..b31de94540 100644 --- a/cli/tests/unit/read_dir_test.ts +++ b/cli/tests/unit/read_dir_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { assert, assertEquals, diff --git a/cli/tests/unit/read_file_test.ts b/cli/tests/unit/read_file_test.ts index 888021edaa..0d25ea6d85 100644 --- a/cli/tests/unit/read_file_test.ts +++ b/cli/tests/unit/read_file_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { assert, assertEquals, diff --git a/cli/tests/unit/read_link_test.ts b/cli/tests/unit/read_link_test.ts index 8bd7661f23..8cd52dd064 100644 --- a/cli/tests/unit/read_link_test.ts +++ b/cli/tests/unit/read_link_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { assertEquals, assertRejects, diff --git a/cli/tests/unit/real_path_test.ts b/cli/tests/unit/real_path_test.ts index 5297c2b766..b606a4a478 100644 --- a/cli/tests/unit/real_path_test.ts +++ b/cli/tests/unit/real_path_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { assert, assertEquals, diff --git a/cli/tests/unit/remove_test.ts b/cli/tests/unit/remove_test.ts index 0032459eb5..965bc43a35 100644 --- a/cli/tests/unit/remove_test.ts +++ b/cli/tests/unit/remove_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { assert, assertRejects, assertThrows } from "./test_util.ts"; const REMOVE_METHODS = ["remove", "removeSync"] as const; diff --git a/cli/tests/unit/rename_test.ts b/cli/tests/unit/rename_test.ts index cf458f44de..94603a6015 100644 --- a/cli/tests/unit/rename_test.ts +++ b/cli/tests/unit/rename_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { assert, assertEquals, diff --git a/cli/tests/unit/request_test.ts b/cli/tests/unit/request_test.ts index 68f7a86c1d..6b48ddbd77 100644 --- a/cli/tests/unit/request_test.ts +++ b/cli/tests/unit/request_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { assertEquals, assertStringIncludes } from "./test_util.ts"; Deno.test(async function fromInit() { diff --git a/cli/tests/unit/resources_test.ts b/cli/tests/unit/resources_test.ts index 60325b91d0..2d1f2fd75b 100644 --- a/cli/tests/unit/resources_test.ts +++ b/cli/tests/unit/resources_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { assert, assertEquals, assertThrows } from "./test_util.ts"; Deno.test(function resourcesCloseBadArgs() { diff --git a/cli/tests/unit/response_test.ts b/cli/tests/unit/response_test.ts index c2a2301383..f7940fef89 100644 --- a/cli/tests/unit/response_test.ts +++ b/cli/tests/unit/response_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { assert, assertEquals, diff --git a/cli/tests/unit/signal_test.ts b/cli/tests/unit/signal_test.ts index 25143da1f1..10ed324891 100644 --- a/cli/tests/unit/signal_test.ts +++ b/cli/tests/unit/signal_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { assertEquals, assertThrows, deferred, delay } from "./test_util.ts"; Deno.test( diff --git a/cli/tests/unit/stat_test.ts b/cli/tests/unit/stat_test.ts index 9a504b4fc8..50149cae66 100644 --- a/cli/tests/unit/stat_test.ts +++ b/cli/tests/unit/stat_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { assert, assertEquals, diff --git a/cli/tests/unit/stdio_test.ts b/cli/tests/unit/stdio_test.ts index cecb3cfb5e..bca7f9f4a2 100644 --- a/cli/tests/unit/stdio_test.ts +++ b/cli/tests/unit/stdio_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { assertEquals } from "./test_util.ts"; Deno.test(async function stdioStdinRead() { diff --git a/cli/tests/unit/streams_deprecated.ts b/cli/tests/unit/streams_deprecated.ts index 892ce39ade..04dbfa3fb7 100644 --- a/cli/tests/unit/streams_deprecated.ts +++ b/cli/tests/unit/streams_deprecated.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { assertEquals } from "./test_util.ts"; Deno.test(async function symlinkSyncPerm() { diff --git a/cli/tests/unit/symlink_test.ts b/cli/tests/unit/symlink_test.ts index 16254b9b4a..7b9a9ad4b1 100644 --- a/cli/tests/unit/symlink_test.ts +++ b/cli/tests/unit/symlink_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { assert, assertRejects, diff --git a/cli/tests/unit/sync_test.ts b/cli/tests/unit/sync_test.ts index 49afe464af..7e0297a79f 100644 --- a/cli/tests/unit/sync_test.ts +++ b/cli/tests/unit/sync_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { assertEquals } from "./test_util.ts"; Deno.test( diff --git a/cli/tests/unit/test_util.ts b/cli/tests/unit/test_util.ts index ce945c7dba..09102d3304 100644 --- a/cli/tests/unit/test_util.ts +++ b/cli/tests/unit/test_util.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import * as colors from "../../../test_util/std/fmt/colors.ts"; export { colors }; diff --git a/cli/tests/unit/testing_test.ts b/cli/tests/unit/testing_test.ts index 90575aeb28..9c906a1112 100644 --- a/cli/tests/unit/testing_test.ts +++ b/cli/tests/unit/testing_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { assertEquals, assertRejects, assertThrows } from "./test_util.ts"; Deno.test(function testWrongOverloads() { diff --git a/cli/tests/unit/text_encoding_test.ts b/cli/tests/unit/text_encoding_test.ts index 06ec090481..78e4267a9c 100644 --- a/cli/tests/unit/text_encoding_test.ts +++ b/cli/tests/unit/text_encoding_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { assert, assertEquals, assertThrows } from "./test_util.ts"; Deno.test(function btoaSuccess() { diff --git a/cli/tests/unit/timers_test.ts b/cli/tests/unit/timers_test.ts index 735e53e0fd..8de7565169 100644 --- a/cli/tests/unit/timers_test.ts +++ b/cli/tests/unit/timers_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { assert, assertEquals, diff --git a/cli/tests/unit/tls_test.ts b/cli/tests/unit/tls_test.ts index e5ad6e66c5..393e57dfa9 100644 --- a/cli/tests/unit/tls_test.ts +++ b/cli/tests/unit/tls_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { assert, assertEquals, diff --git a/cli/tests/unit/truncate_test.ts b/cli/tests/unit/truncate_test.ts index 0b5e804e83..a705ca7243 100644 --- a/cli/tests/unit/truncate_test.ts +++ b/cli/tests/unit/truncate_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { assertEquals, assertRejects, assertThrows } from "./test_util.ts"; Deno.test( diff --git a/cli/tests/unit/tty_color_test.ts b/cli/tests/unit/tty_color_test.ts index f819a1a63d..747d92dcc1 100644 --- a/cli/tests/unit/tty_color_test.ts +++ b/cli/tests/unit/tty_color_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { assertEquals } from "./test_util.ts"; // Note tests for Deno.stdin.setRaw is in integration tests. diff --git a/cli/tests/unit/tty_test.ts b/cli/tests/unit/tty_test.ts index 88b25d758c..16ba84a6a8 100644 --- a/cli/tests/unit/tty_test.ts +++ b/cli/tests/unit/tty_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { assert } from "./test_util.ts"; // Note tests for Deno.stdin.setRaw is in integration tests. diff --git a/cli/tests/unit/umask_test.ts b/cli/tests/unit/umask_test.ts index 384ce3ec57..8381e4f12d 100644 --- a/cli/tests/unit/umask_test.ts +++ b/cli/tests/unit/umask_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { assertEquals } from "./test_util.ts"; Deno.test( diff --git a/cli/tests/unit/url_search_params_test.ts b/cli/tests/unit/url_search_params_test.ts index 63c45d5acb..9eead890c4 100644 --- a/cli/tests/unit/url_search_params_test.ts +++ b/cli/tests/unit/url_search_params_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { assert, assertEquals } from "./test_util.ts"; Deno.test(function urlSearchParamsWithMultipleSpaces() { diff --git a/cli/tests/unit/url_test.ts b/cli/tests/unit/url_test.ts index 1faf33cd0d..644b8dd39a 100644 --- a/cli/tests/unit/url_test.ts +++ b/cli/tests/unit/url_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { assert, assertEquals, diff --git a/cli/tests/unit/urlpattern_test.ts b/cli/tests/unit/urlpattern_test.ts index b29352c14e..1ec64b2fec 100644 --- a/cli/tests/unit/urlpattern_test.ts +++ b/cli/tests/unit/urlpattern_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { assert, assertEquals } from "./test_util.ts"; Deno.test(function urlPatternFromString() { diff --git a/cli/tests/unit/utime_test.ts b/cli/tests/unit/utime_test.ts index cfd757535b..4ee415ee72 100644 --- a/cli/tests/unit/utime_test.ts +++ b/cli/tests/unit/utime_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { assertEquals, assertRejects, diff --git a/cli/tests/unit/websocket_test.ts b/cli/tests/unit/websocket_test.ts index 6bd35efca1..b0379fac9d 100644 --- a/cli/tests/unit/websocket_test.ts +++ b/cli/tests/unit/websocket_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { assertEquals, assertThrows, deferred, fail } from "./test_util.ts"; Deno.test({ permissions: "none" }, function websocketPermissionless() { diff --git a/cli/tests/unit/webstorage_test.ts b/cli/tests/unit/webstorage_test.ts index df32e9edb6..25813ac037 100644 --- a/cli/tests/unit/webstorage_test.ts +++ b/cli/tests/unit/webstorage_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // deno-lint-ignore-file no-explicit-any import { assert } from "./test_util.ts"; diff --git a/cli/tests/unit/worker_permissions_test.ts b/cli/tests/unit/worker_permissions_test.ts index 681290c812..91696fa2c6 100644 --- a/cli/tests/unit/worker_permissions_test.ts +++ b/cli/tests/unit/worker_permissions_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { assertEquals, deferred } from "./test_util.ts"; Deno.test( diff --git a/cli/tests/unit/worker_types.ts b/cli/tests/unit/worker_types.ts index 081f5ead74..d166de3678 100644 --- a/cli/tests/unit/worker_types.ts +++ b/cli/tests/unit/worker_types.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { assert } from "./test_util.ts"; Deno.test( diff --git a/cli/tests/unit/write_file_test.ts b/cli/tests/unit/write_file_test.ts index 945807b3f8..0c3ff491d6 100644 --- a/cli/tests/unit/write_file_test.ts +++ b/cli/tests/unit/write_file_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { assert, assertEquals, diff --git a/cli/tests/upgrade_tests.rs b/cli/tests/upgrade_tests.rs index f67e302ff8..76a072126e 100644 --- a/cli/tests/upgrade_tests.rs +++ b/cli/tests/upgrade_tests.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use std::process::{Command, Stdio}; use test_util as util; diff --git a/cli/tests/vendor_tests.rs b/cli/tests/vendor_tests.rs index 6f9628a406..55b8913db6 100644 --- a/cli/tests/vendor_tests.rs +++ b/cli/tests/vendor_tests.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. mod vendor { use deno_core::serde_json; diff --git a/cli/tests/watcher_tests.rs b/cli/tests/watcher_tests.rs index 45690d5370..b5c4fe5c03 100644 --- a/cli/tests/watcher_tests.rs +++ b/cli/tests/watcher_tests.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use flaky_test::flaky_test; use std::fs::write; diff --git a/cli/tests/worker_tests.rs b/cli/tests/worker_tests.rs index 1c74225e31..fa60e53c46 100644 --- a/cli/tests/worker_tests.rs +++ b/cli/tests/worker_tests.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. mod integration; diff --git a/cli/tools/bench.rs b/cli/tools/bench.rs index 2bebe124b1..24fb079193 100644 --- a/cli/tools/bench.rs +++ b/cli/tools/bench.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use crate::args::BenchConfig; use crate::args::BenchFlags; diff --git a/cli/tools/bundle.rs b/cli/tools/bundle.rs index 95aa52b5b5..375a64088f 100644 --- a/cli/tools/bundle.rs +++ b/cli/tools/bundle.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use std::path::PathBuf; use std::sync::Arc; diff --git a/cli/tools/check.rs b/cli/tools/check.rs index cf3bf0a498..e3fb664ad5 100644 --- a/cli/tools/check.rs +++ b/cli/tools/check.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use std::sync::Arc; diff --git a/cli/tools/coverage/json_types.rs b/cli/tools/coverage/json_types.rs index 6da17d58f6..d5c6591f72 100644 --- a/cli/tools/coverage/json_types.rs +++ b/cli/tools/coverage/json_types.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use serde::Deserialize; use serde::Serialize; diff --git a/cli/tools/coverage/merge.rs b/cli/tools/coverage/merge.rs index d995c6ab37..7fe382d240 100644 --- a/cli/tools/coverage/merge.rs +++ b/cli/tools/coverage/merge.rs @@ -1,6 +1,6 @@ // Forked from https://github.com/demurgos/v8-coverage/tree/d0ca18da8740198681e0bc68971b0a6cdb11db3e/rust // Copyright 2021 Charles Samborski. All rights reserved. MIT license. -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use super::json_types::CoverageRange; use super::json_types::FunctionCoverage; diff --git a/cli/tools/coverage/mod.rs b/cli/tools/coverage/mod.rs index 04ed9d0333..075a43feaa 100644 --- a/cli/tools/coverage/mod.rs +++ b/cli/tools/coverage/mod.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use crate::args::CoverageFlags; use crate::args::Flags; diff --git a/cli/tools/coverage/range_tree.rs b/cli/tools/coverage/range_tree.rs index 87ddd8baac..19b3257f87 100644 --- a/cli/tools/coverage/range_tree.rs +++ b/cli/tools/coverage/range_tree.rs @@ -1,6 +1,6 @@ // Forked from https://github.com/demurgos/v8-coverage/tree/d0ca18da8740198681e0bc68971b0a6cdb11db3e/rust // Copyright 2021 Charles Samborski. All rights reserved. MIT license. -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use super::json_types::CoverageRange; use std::iter::Peekable; diff --git a/cli/tools/doc.rs b/cli/tools/doc.rs index b01e968470..0067e485a1 100644 --- a/cli/tools/doc.rs +++ b/cli/tools/doc.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use crate::args::DocFlags; use crate::args::Flags; diff --git a/cli/tools/fmt.rs b/cli/tools/fmt.rs index fee59c6dc0..3cfec90190 100644 --- a/cli/tools/fmt.rs +++ b/cli/tools/fmt.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. //! This module provides file formatting utilities using //! [`dprint-plugin-typescript`](https://github.com/dprint/dprint-plugin-typescript). diff --git a/cli/tools/info.rs b/cli/tools/info.rs index 86a18c4e2a..87e2d41d2d 100644 --- a/cli/tools/info.rs +++ b/cli/tools/info.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use std::collections::HashMap; use std::collections::HashSet; diff --git a/cli/tools/init/mod.rs b/cli/tools/init/mod.rs index ca919b606b..12d5872f1a 100644 --- a/cli/tools/init/mod.rs +++ b/cli/tools/init/mod.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use crate::args::InitFlags; use crate::colors; diff --git a/cli/tools/installer.rs b/cli/tools/installer.rs index 07397131c1..7f5a89a593 100644 --- a/cli/tools/installer.rs +++ b/cli/tools/installer.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use crate::args::resolve_no_prompt; use crate::args::ConfigFlag; diff --git a/cli/tools/lint.rs b/cli/tools/lint.rs index 9925c32730..4606375c13 100644 --- a/cli/tools/lint.rs +++ b/cli/tools/lint.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. //! This module provides file linting utilities using //! [`deno_lint`](https://github.com/denoland/deno_lint). diff --git a/cli/tools/mod.rs b/cli/tools/mod.rs index 595fdd7603..cf29435a7c 100644 --- a/cli/tools/mod.rs +++ b/cli/tools/mod.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. pub mod bench; pub mod bundle; diff --git a/cli/tools/repl/cdp.rs b/cli/tools/repl/cdp.rs index de2d784f7c..f90a1875e3 100644 --- a/cli/tools/repl/cdp.rs +++ b/cli/tools/repl/cdp.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. /// use deno_core::serde_json; diff --git a/cli/tools/repl/channel.rs b/cli/tools/repl/channel.rs index 4f2086fb5c..47007e6348 100644 --- a/cli/tools/repl/channel.rs +++ b/cli/tools/repl/channel.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use deno_core::anyhow::anyhow; use deno_core::error::AnyError; diff --git a/cli/tools/repl/editor.rs b/cli/tools/repl/editor.rs index 86d4ce4f94..fbdda3f5c3 100644 --- a/cli/tools/repl/editor.rs +++ b/cli/tools/repl/editor.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use crate::colors; use deno_ast::swc::parser::error::SyntaxError; diff --git a/cli/tools/repl/mod.rs b/cli/tools/repl/mod.rs index b594055805..929a1b5d87 100644 --- a/cli/tools/repl/mod.rs +++ b/cli/tools/repl/mod.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use crate::args::Flags; use crate::args::ReplFlags; diff --git a/cli/tools/repl/session.rs b/cli/tools/repl/session.rs index 3f6528f3b1..0c0563ab84 100644 --- a/cli/tools/repl/session.rs +++ b/cli/tools/repl/session.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use crate::colors; use crate::lsp::ReplLanguageServer; diff --git a/cli/tools/run.rs b/cli/tools/run.rs index 617ec28f6d..af982e483f 100644 --- a/cli/tools/run.rs +++ b/cli/tools/run.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use std::io::Read; use std::path::PathBuf; diff --git a/cli/tools/standalone.rs b/cli/tools/standalone.rs index ffc4d1f383..471c9605d3 100644 --- a/cli/tools/standalone.rs +++ b/cli/tools/standalone.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use crate::args::CompileFlags; use crate::args::Flags; diff --git a/cli/tools/task.rs b/cli/tools/task.rs index 39d493492f..51fd377e4a 100644 --- a/cli/tools/task.rs +++ b/cli/tools/task.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use crate::args::Flags; use crate::args::TaskFlags; diff --git a/cli/tools/test.rs b/cli/tools/test.rs index 5fa72f7a7c..35c0ea0790 100644 --- a/cli/tools/test.rs +++ b/cli/tools/test.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use crate::args::Flags; use crate::args::TestFlags; diff --git a/cli/tools/upgrade.rs b/cli/tools/upgrade.rs index a9b60413b7..dfdbe188a1 100644 --- a/cli/tools/upgrade.rs +++ b/cli/tools/upgrade.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. //! This module provides feature to upgrade deno executable diff --git a/cli/tools/vendor/analyze.rs b/cli/tools/vendor/analyze.rs index 0aa7010c73..3b1f20ad94 100644 --- a/cli/tools/vendor/analyze.rs +++ b/cli/tools/vendor/analyze.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use deno_ast::swc::ast::ExportDefaultDecl; use deno_ast::swc::ast::ExportSpecifier; diff --git a/cli/tools/vendor/build.rs b/cli/tools/vendor/build.rs index bdb384e436..8a5b638be8 100644 --- a/cli/tools/vendor/build.rs +++ b/cli/tools/vendor/build.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use std::fmt::Write as _; use std::path::Path; diff --git a/cli/tools/vendor/import_map.rs b/cli/tools/vendor/import_map.rs index b5df812719..411a2e059b 100644 --- a/cli/tools/vendor/import_map.rs +++ b/cli/tools/vendor/import_map.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use deno_ast::LineAndColumnIndex; use deno_ast::ModuleSpecifier; diff --git a/cli/tools/vendor/mappings.rs b/cli/tools/vendor/mappings.rs index 57571cf111..14705e51ea 100644 --- a/cli/tools/vendor/mappings.rs +++ b/cli/tools/vendor/mappings.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use std::collections::HashMap; use std::collections::HashSet; diff --git a/cli/tools/vendor/mod.rs b/cli/tools/vendor/mod.rs index 21e3a44858..c15c7d1d33 100644 --- a/cli/tools/vendor/mod.rs +++ b/cli/tools/vendor/mod.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use std::path::Path; use std::path::PathBuf; diff --git a/cli/tools/vendor/specifiers.rs b/cli/tools/vendor/specifiers.rs index 21ae2ca85f..d4f413c31c 100644 --- a/cli/tools/vendor/specifiers.rs +++ b/cli/tools/vendor/specifiers.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use std::collections::BTreeMap; use std::collections::HashSet; diff --git a/cli/tools/vendor/test.rs b/cli/tools/vendor/test.rs index 9cf2bb6036..61c885731d 100644 --- a/cli/tools/vendor/test.rs +++ b/cli/tools/vendor/test.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use std::cell::RefCell; use std::collections::HashMap; diff --git a/cli/tsc/99_main_compiler.js b/cli/tsc/99_main_compiler.js index 5fce3e1d1f..a3cdad742e 100644 --- a/cli/tsc/99_main_compiler.js +++ b/cli/tsc/99_main_compiler.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // @ts-check /// diff --git a/cli/tsc/compiler.d.ts b/cli/tsc/compiler.d.ts index 47910bbad9..ab6f95bd35 100644 --- a/cli/tsc/compiler.d.ts +++ b/cli/tsc/compiler.d.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // Contains types that can be used to validate and check `99_main_compiler.js` diff --git a/cli/tsc/diagnostics.rs b/cli/tsc/diagnostics.rs index 8323fd7ac4..4cd6564cb8 100644 --- a/cli/tsc/diagnostics.rs +++ b/cli/tsc/diagnostics.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use deno_runtime::colors; diff --git a/cli/tsc/dts/lib.deno.ns.d.ts b/cli/tsc/dts/lib.deno.ns.d.ts index 4dafd73888..f182a63d80 100644 --- a/cli/tsc/dts/lib.deno.ns.d.ts +++ b/cli/tsc/dts/lib.deno.ns.d.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. /// /// diff --git a/cli/tsc/dts/lib.deno.shared_globals.d.ts b/cli/tsc/dts/lib.deno.shared_globals.d.ts index 5b30c0a876..d0b44f58af 100644 --- a/cli/tsc/dts/lib.deno.shared_globals.d.ts +++ b/cli/tsc/dts/lib.deno.shared_globals.d.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // Documentation partially adapted from [MDN](https://developer.mozilla.org/), // by Mozilla Contributors, which is licensed under CC-BY-SA 2.5. diff --git a/cli/tsc/dts/lib.deno.unstable.d.ts b/cli/tsc/dts/lib.deno.unstable.d.ts index 77d3505037..d34a5bd629 100644 --- a/cli/tsc/dts/lib.deno.unstable.d.ts +++ b/cli/tsc/dts/lib.deno.unstable.d.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. /// /// diff --git a/cli/tsc/dts/lib.deno.window.d.ts b/cli/tsc/dts/lib.deno.window.d.ts index 4ce288a4d1..e9634f80d8 100644 --- a/cli/tsc/dts/lib.deno.window.d.ts +++ b/cli/tsc/dts/lib.deno.window.d.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. /// /// diff --git a/cli/tsc/dts/lib.deno.worker.d.ts b/cli/tsc/dts/lib.deno.worker.d.ts index d274d4c05f..f9684d8266 100644 --- a/cli/tsc/dts/lib.deno.worker.d.ts +++ b/cli/tsc/dts/lib.deno.worker.d.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. /// /// diff --git a/cli/tsc/dts/lib.deno_webgpu.d.ts b/cli/tsc/dts/lib.deno_webgpu.d.ts index 32f1427688..0497e24171 100644 --- a/cli/tsc/dts/lib.deno_webgpu.d.ts +++ b/cli/tsc/dts/lib.deno_webgpu.d.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // deno-lint-ignore-file no-explicit-any no-empty-interface diff --git a/cli/tsc/dts/lib.dom.asynciterable.d.ts b/cli/tsc/dts/lib.dom.asynciterable.d.ts index 27f9f3ede8..a1ded18a76 100644 --- a/cli/tsc/dts/lib.dom.asynciterable.d.ts +++ b/cli/tsc/dts/lib.dom.asynciterable.d.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. /// diff --git a/cli/tsc/dts/lib.dom.extras.d.ts b/cli/tsc/dts/lib.dom.extras.d.ts index b80435a784..2c593b2cbe 100644 --- a/cli/tsc/dts/lib.dom.extras.d.ts +++ b/cli/tsc/dts/lib.dom.extras.d.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. /* * This library contains DOM standards that are not currently included in the diff --git a/cli/tsc/mod.rs b/cli/tsc/mod.rs index 2b7b3d368d..4784adfb9b 100644 --- a/cli/tsc/mod.rs +++ b/cli/tsc/mod.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use crate::args::TsConfig; use crate::graph_util::GraphData; diff --git a/cli/util/checksum.rs b/cli/util/checksum.rs index c0e41356de..73eec19d27 100644 --- a/cli/util/checksum.rs +++ b/cli/util/checksum.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use ring::digest::Context; use ring::digest::SHA256; diff --git a/cli/util/diff.rs b/cli/util/diff.rs index 048464162f..3dbe8a6ff6 100644 --- a/cli/util/diff.rs +++ b/cli/util/diff.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use crate::colors; use dissimilar::{diff as difference, Chunk}; diff --git a/cli/util/display.rs b/cli/util/display.rs index 16b301866d..ee3d2f2d6a 100644 --- a/cli/util/display.rs +++ b/cli/util/display.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use deno_core::error::AnyError; use deno_core::serde_json; diff --git a/cli/util/draw_thread.rs b/cli/util/draw_thread.rs index 49c45312c0..028b20d00e 100644 --- a/cli/util/draw_thread.rs +++ b/cli/util/draw_thread.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use console_static_text::ConsoleStaticText; use deno_core::parking_lot::Mutex; diff --git a/cli/util/file_watcher.rs b/cli/util/file_watcher.rs index b85df3bd6a..741cb5a042 100644 --- a/cli/util/file_watcher.rs +++ b/cli/util/file_watcher.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use crate::colors; use crate::util::fs::canonicalize_path; diff --git a/cli/util/fs.rs b/cli/util/fs.rs index cb8a4d3692..d541b9ba4c 100644 --- a/cli/util/fs.rs +++ b/cli/util/fs.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use deno_core::anyhow::Context; use deno_core::error::AnyError; diff --git a/cli/util/logger.rs b/cli/util/logger.rs index caa027c04e..910dbb020c 100644 --- a/cli/util/logger.rs +++ b/cli/util/logger.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use std::io::Write; diff --git a/cli/util/mod.rs b/cli/util/mod.rs index a7a72f3b4a..d0b500e310 100644 --- a/cli/util/mod.rs +++ b/cli/util/mod.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // Note: Only add code in this folder that has no application specific logic pub mod checksum; diff --git a/cli/util/progress_bar/mod.rs b/cli/util/progress_bar/mod.rs index a20ac43c94..004b48b2f8 100644 --- a/cli/util/progress_bar/mod.rs +++ b/cli/util/progress_bar/mod.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use std::sync::atomic::AtomicU64; use std::sync::atomic::Ordering; diff --git a/cli/util/progress_bar/renderer.rs b/cli/util/progress_bar/renderer.rs index d8fa1769d5..41a27f3aac 100644 --- a/cli/util/progress_bar/renderer.rs +++ b/cli/util/progress_bar/renderer.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use std::time::Duration; diff --git a/cli/util/text_encoding.rs b/cli/util/text_encoding.rs index c16a1289d9..bb7d442e92 100644 --- a/cli/util/text_encoding.rs +++ b/cli/util/text_encoding.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use encoding_rs::*; use std::borrow::Cow; diff --git a/cli/util/unix.rs b/cli/util/unix.rs index f282f6cfec..fd0c94ea68 100644 --- a/cli/util/unix.rs +++ b/cli/util/unix.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. /// Raise soft file descriptor limit to hard file descriptor limit. /// This is the difference between `ulimit -n` and `ulimit -n -H`. diff --git a/cli/util/windows.rs b/cli/util/windows.rs index 0801ff2f55..a8b57114d7 100644 --- a/cli/util/windows.rs +++ b/cli/util/windows.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. /// Ensures that stdin, stdout, and stderr are open and have valid HANDLEs /// associated with them. There are many places where a `std::fs::File` is diff --git a/cli/version.rs b/cli/version.rs index 1a96eb2346..c4696620e7 100644 --- a/cli/version.rs +++ b/cli/version.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. pub const GIT_COMMIT_HASH: &str = env!("GIT_COMMIT_HASH"); pub const TYPESCRIPT: &str = env!("TS_VERSION"); diff --git a/core/00_primordials.js b/core/00_primordials.js index 19e16860fd..33d7299d53 100644 --- a/core/00_primordials.js +++ b/core/00_primordials.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // Based on https://github.com/nodejs/node/blob/889ad35d3d41e376870f785b0c1b669cb732013d/lib/internal/per_context/primordials.js // Copyright Joyent, Inc. and other Node contributors. diff --git a/core/01_core.js b/core/01_core.js index 2560f979d6..0b0804662d 100644 --- a/core/01_core.js +++ b/core/01_core.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. "use strict"; ((window) => { diff --git a/core/02_error.js b/core/02_error.js index d8e823bb2a..2798b1aa7e 100644 --- a/core/02_error.js +++ b/core/02_error.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. "use strict"; ((window) => { diff --git a/core/Cargo.toml b/core/Cargo.toml index a9bff0af5c..c74537549b 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +# Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. [package] name = "deno_core" diff --git a/core/async_cancel.rs b/core/async_cancel.rs index 11b07e1891..a282194f56 100644 --- a/core/async_cancel.rs +++ b/core/async_cancel.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use crate::RcLike; use crate::Resource; diff --git a/core/async_cell.rs b/core/async_cell.rs index e643af7829..f95dc3a84a 100644 --- a/core/async_cell.rs +++ b/core/async_cell.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use std::any::type_name; use std::any::Any; diff --git a/core/bindings.rs b/core/bindings.rs index a28618571a..191538bd2c 100644 --- a/core/bindings.rs +++ b/core/bindings.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use crate::error::is_instance_of_error; use crate::modules::get_asserted_module_type_from_assertions; diff --git a/core/encode_decode_test.js b/core/encode_decode_test.js index 663bc1af63..0f46687657 100644 --- a/core/encode_decode_test.js +++ b/core/encode_decode_test.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. "use strict"; function assert(cond) { if (!cond) { diff --git a/core/error.rs b/core/error.rs index 61e3529fda..d788e14b50 100644 --- a/core/error.rs +++ b/core/error.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use crate::runtime::GetErrorClassFn; use crate::runtime::JsRealm; diff --git a/core/error_builder_test.js b/core/error_builder_test.js index 7f89651274..f442819cbc 100644 --- a/core/error_builder_test.js +++ b/core/error_builder_test.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. const { core } = Deno; const { ops } = core; diff --git a/core/examples/disable_ops.rs b/core/examples/disable_ops.rs index c1473b1938..a99568589f 100644 --- a/core/examples/disable_ops.rs +++ b/core/examples/disable_ops.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. //! This example shows you how to define ops in Rust and then call them from //! JavaScript. diff --git a/core/examples/eval_js_value.rs b/core/examples/eval_js_value.rs index 920a3c5326..7bb954371a 100644 --- a/core/examples/eval_js_value.rs +++ b/core/examples/eval_js_value.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. //! This example shows you how to evaluate JavaScript expression and deserialize //! return value into a Rust object. diff --git a/core/examples/fs_module_loader.rs b/core/examples/fs_module_loader.rs index cd22e022c1..0fe122238d 100644 --- a/core/examples/fs_module_loader.rs +++ b/core/examples/fs_module_loader.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use deno_core::anyhow::Error; use deno_core::FsModuleLoader; diff --git a/core/examples/hello_world.rs b/core/examples/hello_world.rs index 9260cfe56f..a1edbead0a 100644 --- a/core/examples/hello_world.rs +++ b/core/examples/hello_world.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. //! This example shows you how to define ops in Rust and then call them from //! JavaScript. diff --git a/core/examples/http_bench_json_ops.js b/core/examples/http_bench_json_ops.js index 261d91559e..28c4910644 100644 --- a/core/examples/http_bench_json_ops.js +++ b/core/examples/http_bench_json_ops.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // This is not a real HTTP server. We read blindly one time into 'requestBuf', // then write this fixed 'responseBuf'. The point of this benchmark is to // exercise the event loop in a simple yet semi-realistic way. diff --git a/core/examples/http_bench_json_ops.rs b/core/examples/http_bench_json_ops.rs index af57f31215..23945c6325 100644 --- a/core/examples/http_bench_json_ops.rs +++ b/core/examples/http_bench_json_ops.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use deno_core::anyhow::Error; use deno_core::op; use deno_core::AsyncRefCell; diff --git a/core/examples/panik.rs b/core/examples/panik.rs index 23efcbb3b4..76be108ec2 100644 --- a/core/examples/panik.rs +++ b/core/examples/panik.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. //! This example shows that op-panics currently result in UB (likely "failed to initiate panic") //! without a custom panic hook that aborts the process or -C panic=abort. //! diff --git a/core/examples/schedule_task.rs b/core/examples/schedule_task.rs index 475c2d9ad8..ba0f3ef0fc 100644 --- a/core/examples/schedule_task.rs +++ b/core/examples/schedule_task.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use deno_core::anyhow::Error; use deno_core::op; diff --git a/core/examples/ts_module_loader.rs b/core/examples/ts_module_loader.rs index 50d101b87d..5493029a41 100644 --- a/core/examples/ts_module_loader.rs +++ b/core/examples/ts_module_loader.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. //! This example shows how to use swc to transpile TypeScript and JSX/TSX //! modules. //! diff --git a/core/examples/wasm.js b/core/examples/wasm.js index 69e475639f..cb6a4af522 100644 --- a/core/examples/wasm.js +++ b/core/examples/wasm.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // asc wasm.ts --exportStart --initialMemory 6400 -O -o wasm.wasm // deno-fmt-ignore diff --git a/core/examples/wasm.rs b/core/examples/wasm.rs index ef68d8aa44..c4bb8b9adb 100644 --- a/core/examples/wasm.rs +++ b/core/examples/wasm.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use deno_core::op; use deno_core::Extension; diff --git a/core/examples/wasm.ts b/core/examples/wasm.ts index cdb9cf78cf..4cf364c3a5 100644 --- a/core/examples/wasm.ts +++ b/core/examples/wasm.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. export declare function op_wasm(): void; diff --git a/core/extensions.rs b/core/extensions.rs index 7b9ab59087..6fca570df1 100644 --- a/core/extensions.rs +++ b/core/extensions.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use crate::OpState; use anyhow::Error; use std::{cell::RefCell, rc::Rc, task::Context}; diff --git a/core/flags.rs b/core/flags.rs index 119dfb1616..f68d0a4222 100644 --- a/core/flags.rs +++ b/core/flags.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. /// Pass the command line arguments to v8. /// Returns a vector of command line arguments that V8 did not understand. diff --git a/core/gotham_state.rs b/core/gotham_state.rs index 6c637ac503..422499f2ff 100644 --- a/core/gotham_state.rs +++ b/core/gotham_state.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // Forked from Gotham: // https://github.com/gotham-rs/gotham/blob/bcbbf8923789e341b7a0e62c59909428ca4e22e2/gotham/src/state/mod.rs // Copyright 2017 Gotham Project Developers. MIT license. diff --git a/core/inspector.rs b/core/inspector.rs index 0b04bf5f8d..2b03d663de 100644 --- a/core/inspector.rs +++ b/core/inspector.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. //! The documentation for the inspector API is sparse, but these are helpful: //! diff --git a/core/internal.d.ts b/core/internal.d.ts index 917c0262ea..1871c50fc1 100644 --- a/core/internal.d.ts +++ b/core/internal.d.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // Based on https://github.com/nodejs/node/blob/889ad35d3d41e376870f785b0c1b669cb732013d/typings/primordials.d.ts // Copyright Joyent, Inc. and other Node contributors. diff --git a/core/io.rs b/core/io.rs index 7baad12e44..103fe79c1f 100644 --- a/core/io.rs +++ b/core/io.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use std::ops::Deref; use std::ops::DerefMut; diff --git a/core/lib.deno_core.d.ts b/core/lib.deno_core.d.ts index 6de3bed4b5..ad6739b3c2 100644 --- a/core/lib.deno_core.d.ts +++ b/core/lib.deno_core.d.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // deno-lint-ignore-file no-explicit-any diff --git a/core/lib.rs b/core/lib.rs index 011fa6c503..d764718a2c 100644 --- a/core/lib.rs +++ b/core/lib.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. mod async_cancel; mod async_cell; mod bindings; diff --git a/core/module_specifier.rs b/core/module_specifier.rs index 4727ff2cb3..1d7abd1ca0 100644 --- a/core/module_specifier.rs +++ b/core/module_specifier.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use crate::normalize_path; use std::env::current_dir; diff --git a/core/modules.rs b/core/modules.rs index 1041f44f86..ff253db618 100644 --- a/core/modules.rs +++ b/core/modules.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use crate::bindings; use crate::error::generic_error; diff --git a/core/normalize_path.rs b/core/normalize_path.rs index a295b55e64..43af6fea6f 100644 --- a/core/normalize_path.rs +++ b/core/normalize_path.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use std::path::Component; use std::path::Path; diff --git a/core/ops.rs b/core/ops.rs index 65b5115329..806059ed69 100644 --- a/core/ops.rs +++ b/core/ops.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use crate::error::AnyError; use crate::gotham_state::GothamState; diff --git a/core/ops_builtin.rs b/core/ops_builtin.rs index 6374e9951e..6889c5dbc2 100644 --- a/core/ops_builtin.rs +++ b/core/ops_builtin.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use crate::error::format_file_name; use crate::error::type_error; use crate::include_js_files; diff --git a/core/ops_builtin_v8.rs b/core/ops_builtin_v8.rs index 5ef185757c..2b07c5bf1d 100644 --- a/core/ops_builtin_v8.rs +++ b/core/ops_builtin_v8.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use crate::bindings::script_origin; use crate::error::custom_error; use crate::error::is_instance_of_error; diff --git a/core/ops_metrics.rs b/core/ops_metrics.rs index 8c6ef3a7c2..7daeaab195 100644 --- a/core/ops_metrics.rs +++ b/core/ops_metrics.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use crate::serde::Serialize; use crate::OpId; diff --git a/core/resources.rs b/core/resources.rs index 164c377a21..5bec684810 100644 --- a/core/resources.rs +++ b/core/resources.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // Think of Resources as File Descriptors. They are integers that are allocated // by the privileged side of Deno which refer to various rust objects that need diff --git a/core/runtime.rs b/core/runtime.rs index 1874409eb1..4a1302b3f0 100644 --- a/core/runtime.rs +++ b/core/runtime.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use crate::bindings; use crate::error::generic_error; diff --git a/core/serialize_deserialize_test.js b/core/serialize_deserialize_test.js index 724239fcb9..70397cdf87 100644 --- a/core/serialize_deserialize_test.js +++ b/core/serialize_deserialize_test.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. "use strict"; function assert(cond) { diff --git a/core/source_map.rs b/core/source_map.rs index 0df58c4be4..9172ce3410 100644 --- a/core/source_map.rs +++ b/core/source_map.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. //! This mod provides functions to remap a `JsError` based on a source map. diff --git a/ext/broadcast_channel/01_broadcast_channel.js b/ext/broadcast_channel/01_broadcast_channel.js index afddf8bedc..11b65b9b5b 100644 --- a/ext/broadcast_channel/01_broadcast_channel.js +++ b/ext/broadcast_channel/01_broadcast_channel.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. /// diff --git a/ext/broadcast_channel/Cargo.toml b/ext/broadcast_channel/Cargo.toml index a996746366..20b0b0296b 100644 --- a/ext/broadcast_channel/Cargo.toml +++ b/ext/broadcast_channel/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +# Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. [package] name = "deno_broadcast_channel" diff --git a/ext/broadcast_channel/in_memory_broadcast_channel.rs b/ext/broadcast_channel/in_memory_broadcast_channel.rs index 2259957472..595a7cc13a 100644 --- a/ext/broadcast_channel/in_memory_broadcast_channel.rs +++ b/ext/broadcast_channel/in_memory_broadcast_channel.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use crate::BroadcastChannel; use async_trait::async_trait; diff --git a/ext/broadcast_channel/lib.deno_broadcast_channel.d.ts b/ext/broadcast_channel/lib.deno_broadcast_channel.d.ts index ea415b30a0..ea01bef360 100644 --- a/ext/broadcast_channel/lib.deno_broadcast_channel.d.ts +++ b/ext/broadcast_channel/lib.deno_broadcast_channel.d.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // deno-lint-ignore-file no-explicit-any no-var diff --git a/ext/broadcast_channel/lib.rs b/ext/broadcast_channel/lib.rs index bac206ab13..00f8ec9ce0 100644 --- a/ext/broadcast_channel/lib.rs +++ b/ext/broadcast_channel/lib.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. mod in_memory_broadcast_channel; diff --git a/ext/cache/01_cache.js b/ext/cache/01_cache.js index 5c249f2f8e..60ed1eb753 100644 --- a/ext/cache/01_cache.js +++ b/ext/cache/01_cache.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. "use strict"; ((window) => { diff --git a/ext/cache/Cargo.toml b/ext/cache/Cargo.toml index 651bfc7274..64d66f8bbc 100644 --- a/ext/cache/Cargo.toml +++ b/ext/cache/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +# Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. [package] name = "deno_cache" diff --git a/ext/cache/lib.deno_cache.d.ts b/ext/cache/lib.deno_cache.d.ts index 3b03512fc2..0834d7f200 100644 --- a/ext/cache/lib.deno_cache.d.ts +++ b/ext/cache/lib.deno_cache.d.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // deno-lint-ignore-file no-var diff --git a/ext/cache/lib.rs b/ext/cache/lib.rs index e6fdaa7642..50a07b255a 100644 --- a/ext/cache/lib.rs +++ b/ext/cache/lib.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. mod sqlite; use deno_core::ByteString; diff --git a/ext/cache/sqlite.rs b/ext/cache/sqlite.rs index f1314516ff..2d8e83f4b3 100644 --- a/ext/cache/sqlite.rs +++ b/ext/cache/sqlite.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use async_trait::async_trait; use deno_core::error::AnyError; diff --git a/ext/console/01_colors.js b/ext/console/01_colors.js index db09b0e43e..00425f08b7 100644 --- a/ext/console/01_colors.js +++ b/ext/console/01_colors.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. /// diff --git a/ext/console/02_console.js b/ext/console/02_console.js index 3cfa12d1f4..7d150c033a 100644 --- a/ext/console/02_console.js +++ b/ext/console/02_console.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. /// diff --git a/ext/console/Cargo.toml b/ext/console/Cargo.toml index dfe9dd04e9..30a891f86d 100644 --- a/ext/console/Cargo.toml +++ b/ext/console/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +# Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. [package] name = "deno_console" diff --git a/ext/console/internal.d.ts b/ext/console/internal.d.ts index a1661f02a8..57c5d120ba 100644 --- a/ext/console/internal.d.ts +++ b/ext/console/internal.d.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. /// /// diff --git a/ext/console/lib.deno_console.d.ts b/ext/console/lib.deno_console.d.ts index b168d1322d..e9eb6b861f 100644 --- a/ext/console/lib.deno_console.d.ts +++ b/ext/console/lib.deno_console.d.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // deno-lint-ignore-file no-explicit-any diff --git a/ext/console/lib.rs b/ext/console/lib.rs index 6c5bba9fa9..3d98fc57f5 100644 --- a/ext/console/lib.rs +++ b/ext/console/lib.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use deno_core::include_js_files; use deno_core::Extension; diff --git a/ext/crypto/00_crypto.js b/ext/crypto/00_crypto.js index 044cc1f267..9487652f25 100644 --- a/ext/crypto/00_crypto.js +++ b/ext/crypto/00_crypto.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // @ts-check /// diff --git a/ext/crypto/01_webidl.js b/ext/crypto/01_webidl.js index 35c16d9138..d381672fd1 100644 --- a/ext/crypto/01_webidl.js +++ b/ext/crypto/01_webidl.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // @ts-check /// diff --git a/ext/crypto/Cargo.toml b/ext/crypto/Cargo.toml index 2a13ad17e9..622a32a09a 100644 --- a/ext/crypto/Cargo.toml +++ b/ext/crypto/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +# Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. [package] name = "deno_crypto" diff --git a/ext/crypto/key.rs b/ext/crypto/key.rs index b8f87189e4..3153913bb2 100644 --- a/ext/crypto/key.rs +++ b/ext/crypto/key.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use ring::agreement::Algorithm as RingAlgorithm; use ring::digest; diff --git a/ext/crypto/lib.deno_crypto.d.ts b/ext/crypto/lib.deno_crypto.d.ts index d83be6b249..6ff7b72b0f 100644 --- a/ext/crypto/lib.deno_crypto.d.ts +++ b/ext/crypto/lib.deno_crypto.d.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // deno-lint-ignore-file no-var diff --git a/ext/crypto/lib.rs b/ext/crypto/lib.rs index cea5f08a80..d5a83b5ec6 100644 --- a/ext/crypto/lib.rs +++ b/ext/crypto/lib.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use aes_kw::KekAes128; use aes_kw::KekAes192; diff --git a/ext/fetch/01_fetch_util.js b/ext/fetch/01_fetch_util.js index dad23b6e5f..3ed554ecb1 100644 --- a/ext/fetch/01_fetch_util.js +++ b/ext/fetch/01_fetch_util.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. "use strict"; ((window) => { diff --git a/ext/fetch/20_headers.js b/ext/fetch/20_headers.js index c4a9198072..a2fae2cfeb 100644 --- a/ext/fetch/20_headers.js +++ b/ext/fetch/20_headers.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // @ts-check /// diff --git a/ext/fetch/21_formdata.js b/ext/fetch/21_formdata.js index e79ceabad7..ad39868741 100644 --- a/ext/fetch/21_formdata.js +++ b/ext/fetch/21_formdata.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // @ts-check /// diff --git a/ext/fetch/22_body.js b/ext/fetch/22_body.js index b230c353ec..d1246a9f21 100644 --- a/ext/fetch/22_body.js +++ b/ext/fetch/22_body.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // @ts-check /// diff --git a/ext/fetch/22_http_client.js b/ext/fetch/22_http_client.js index d096b08ca7..7b9f5c446d 100644 --- a/ext/fetch/22_http_client.js +++ b/ext/fetch/22_http_client.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // @ts-check /// diff --git a/ext/fetch/23_request.js b/ext/fetch/23_request.js index c09e3326f4..b78cf48aa7 100644 --- a/ext/fetch/23_request.js +++ b/ext/fetch/23_request.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // @ts-check /// diff --git a/ext/fetch/23_response.js b/ext/fetch/23_response.js index 542a620209..070068d28a 100644 --- a/ext/fetch/23_response.js +++ b/ext/fetch/23_response.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // @ts-check /// diff --git a/ext/fetch/26_fetch.js b/ext/fetch/26_fetch.js index 4a18e73f28..ddb023a377 100644 --- a/ext/fetch/26_fetch.js +++ b/ext/fetch/26_fetch.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // @ts-check /// diff --git a/ext/fetch/Cargo.toml b/ext/fetch/Cargo.toml index f7503c1b5f..75301f8cb3 100644 --- a/ext/fetch/Cargo.toml +++ b/ext/fetch/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +# Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. [package] name = "deno_fetch" diff --git a/ext/fetch/byte_stream.rs b/ext/fetch/byte_stream.rs index 66e29e5a07..33cbfe76e5 100644 --- a/ext/fetch/byte_stream.rs +++ b/ext/fetch/byte_stream.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use std::pin::Pin; use std::task::Context; diff --git a/ext/fetch/fs_fetch_handler.rs b/ext/fetch/fs_fetch_handler.rs index d0e6da307f..0a83faaa1d 100644 --- a/ext/fetch/fs_fetch_handler.rs +++ b/ext/fetch/fs_fetch_handler.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use crate::CancelHandle; use crate::CancelableResponseFuture; diff --git a/ext/fetch/internal.d.ts b/ext/fetch/internal.d.ts index af1c371526..242cf44da7 100644 --- a/ext/fetch/internal.d.ts +++ b/ext/fetch/internal.d.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // deno-lint-ignore-file no-explicit-any no-var diff --git a/ext/fetch/lib.deno_fetch.d.ts b/ext/fetch/lib.deno_fetch.d.ts index 429a6d1b09..319d4e8ed0 100644 --- a/ext/fetch/lib.deno_fetch.d.ts +++ b/ext/fetch/lib.deno_fetch.d.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // deno-lint-ignore-file no-explicit-any no-var diff --git a/ext/fetch/lib.rs b/ext/fetch/lib.rs index ac71e2a3da..07af9fa158 100644 --- a/ext/fetch/lib.rs +++ b/ext/fetch/lib.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. mod byte_stream; mod fs_fetch_handler; diff --git a/ext/ffi/00_ffi.js b/ext/ffi/00_ffi.js index 2dc6bb5e0d..66ac315b34 100644 --- a/ext/ffi/00_ffi.js +++ b/ext/ffi/00_ffi.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. "use strict"; ((window) => { diff --git a/ext/ffi/Cargo.toml b/ext/ffi/Cargo.toml index 195cb7bdda..78fe9e406e 100644 --- a/ext/ffi/Cargo.toml +++ b/ext/ffi/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +# Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. [package] name = "deno_ffi" diff --git a/ext/ffi/call.rs b/ext/ffi/call.rs index 4a913c0e08..2479c30929 100644 --- a/ext/ffi/call.rs +++ b/ext/ffi/call.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use crate::callback::PtrSymbol; use crate::check_unstable2; diff --git a/ext/ffi/callback.rs b/ext/ffi/callback.rs index b63bb8eabb..b9398c7907 100644 --- a/ext/ffi/callback.rs +++ b/ext/ffi/callback.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use crate::check_unstable; use crate::symbol::NativeType; diff --git a/ext/ffi/dlfcn.rs b/ext/ffi/dlfcn.rs index da47dcd47e..5caf95ef2c 100644 --- a/ext/ffi/dlfcn.rs +++ b/ext/ffi/dlfcn.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use crate::check_unstable; use crate::symbol::NativeType; diff --git a/ext/ffi/ir.rs b/ext/ffi/ir.rs index ee67171a4c..df13f0611b 100644 --- a/ext/ffi/ir.rs +++ b/ext/ffi/ir.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use crate::symbol::NativeType; use crate::MAX_SAFE_INTEGER; diff --git a/ext/ffi/lib.rs b/ext/ffi/lib.rs index f3a906505e..0ae01dcd68 100644 --- a/ext/ffi/lib.rs +++ b/ext/ffi/lib.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use deno_core::error::AnyError; use deno_core::futures::channel::mpsc; diff --git a/ext/ffi/repr.rs b/ext/ffi/repr.rs index 20b98154c0..db03479dc4 100644 --- a/ext/ffi/repr.rs +++ b/ext/ffi/repr.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use crate::check_unstable; use crate::FfiPermissions; diff --git a/ext/ffi/static.rs b/ext/ffi/static.rs index aa0bb325c3..87c09dbfbf 100644 --- a/ext/ffi/static.rs +++ b/ext/ffi/static.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use crate::dlfcn::DynamicLibraryResource; use crate::symbol::NativeType; diff --git a/ext/ffi/symbol.rs b/ext/ffi/symbol.rs index 0248c1fff0..39466560b9 100644 --- a/ext/ffi/symbol.rs +++ b/ext/ffi/symbol.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. /// Defines the accepted types that can be used as /// parameters and return values in FFI. diff --git a/ext/ffi/turbocall.rs b/ext/ffi/turbocall.rs index bbe29238ac..e8858df86f 100644 --- a/ext/ffi/turbocall.rs +++ b/ext/ffi/turbocall.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use std::cmp::max; use std::ffi::c_void; diff --git a/ext/flash/01_http.js b/ext/flash/01_http.js index 8c71322d71..4645ff9ba8 100644 --- a/ext/flash/01_http.js +++ b/ext/flash/01_http.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. "use strict"; ((window) => { diff --git a/ext/flash/Cargo.toml b/ext/flash/Cargo.toml index 2e983b94b5..e931134ac0 100644 --- a/ext/flash/Cargo.toml +++ b/ext/flash/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +# Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. [package] name = "deno_flash" diff --git a/ext/flash/chunked.rs b/ext/flash/chunked.rs index 86417807d1..d414f211ea 100644 --- a/ext/flash/chunked.rs +++ b/ext/flash/chunked.rs @@ -1,7 +1,7 @@ // Based on https://github.com/frewsxcv/rust-chunked-transfer/blob/5c08614458580f9e7a85124021006d83ce1ed6e9/src/decoder.rs // Copyright 2015 The tiny-http Contributors // Copyright 2015 The rust-chunked-transfer Contributors -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use std::error::Error; use std::fmt; diff --git a/ext/flash/lib.rs b/ext/flash/lib.rs index 04ed54e1ad..6eaf39944f 100644 --- a/ext/flash/lib.rs +++ b/ext/flash/lib.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // False positive lint for explicit drops. // https://github.com/rust-lang/rust-clippy/issues/6446 diff --git a/ext/flash/request.rs b/ext/flash/request.rs index 0736b56206..32ab46ca22 100644 --- a/ext/flash/request.rs +++ b/ext/flash/request.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use crate::Stream; use std::pin::Pin; diff --git a/ext/flash/sendfile.rs b/ext/flash/sendfile.rs index 4caea712dc..43b5323a40 100644 --- a/ext/flash/sendfile.rs +++ b/ext/flash/sendfile.rs @@ -1,5 +1,5 @@ // Forked from https://github.com/Thomasdezeeuw/sendfile/blob/024f82cd4dede9048392a5bd6d8afcd4d5aa83d5/src/lib.rs -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use std::future::Future; use std::io; diff --git a/ext/http/01_http.js b/ext/http/01_http.js index dfb0f206cf..a6c1a06fc4 100644 --- a/ext/http/01_http.js +++ b/ext/http/01_http.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. "use strict"; ((window) => { diff --git a/ext/http/Cargo.toml b/ext/http/Cargo.toml index dfb4e5fd6e..d163abb628 100644 --- a/ext/http/Cargo.toml +++ b/ext/http/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +# Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. [package] name = "deno_http" diff --git a/ext/http/benches/compressible.rs b/ext/http/benches/compressible.rs index bdd3bcad8f..634b1dae6d 100644 --- a/ext/http/benches/compressible.rs +++ b/ext/http/benches/compressible.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use bencher::{benchmark_group, benchmark_main, Bencher}; use deno_http::compressible::is_content_compressible; diff --git a/ext/http/compressible.rs b/ext/http/compressible.rs index d3c1fc7a8d..102a4943f4 100644 --- a/ext/http/compressible.rs +++ b/ext/http/compressible.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use phf::phf_set; use std::str::FromStr; diff --git a/ext/http/lib.rs b/ext/http/lib.rs index 812394d94b..8719f9de6f 100644 --- a/ext/http/lib.rs +++ b/ext/http/lib.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use async_compression::tokio::write::BrotliEncoder; use async_compression::tokio::write::GzipEncoder; diff --git a/ext/http/reader_stream.rs b/ext/http/reader_stream.rs index 388b8db814..3405dbb4c6 100644 --- a/ext/http/reader_stream.rs +++ b/ext/http/reader_stream.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use std::pin::Pin; use std::sync::atomic::AtomicBool; diff --git a/ext/napi/Cargo.toml b/ext/napi/Cargo.toml index cb3d915679..cf64c45a7c 100644 --- a/ext/napi/Cargo.toml +++ b/ext/napi/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +# Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. [package] name = "deno_napi" diff --git a/ext/napi/function.rs b/ext/napi/function.rs index edeed25663..aec4021497 100644 --- a/ext/napi/function.rs +++ b/ext/napi/function.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use crate::*; #[repr(C)] diff --git a/ext/napi/lib.rs b/ext/napi/lib.rs index 11619398d7..24d7c7c11a 100644 --- a/ext/napi/lib.rs +++ b/ext/napi/lib.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. #![allow(non_camel_case_types)] #![allow(non_upper_case_globals)] diff --git a/ext/napi/value.rs b/ext/napi/value.rs index bb3966593f..0e289fedde 100644 --- a/ext/napi/value.rs +++ b/ext/napi/value.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use deno_core::v8; use std::mem::transmute; diff --git a/ext/net/01_net.js b/ext/net/01_net.js index 244b50a51c..d2c67e713c 100644 --- a/ext/net/01_net.js +++ b/ext/net/01_net.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. "use strict"; ((window) => { diff --git a/ext/net/02_tls.js b/ext/net/02_tls.js index 89913d1afb..5b585932e5 100644 --- a/ext/net/02_tls.js +++ b/ext/net/02_tls.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. "use strict"; ((window) => { diff --git a/ext/net/Cargo.toml b/ext/net/Cargo.toml index a7f116b806..d5a9736090 100644 --- a/ext/net/Cargo.toml +++ b/ext/net/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +# Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. [package] name = "deno_net" diff --git a/ext/net/io.rs b/ext/net/io.rs index 5320342701..630a24eb9a 100644 --- a/ext/net/io.rs +++ b/ext/net/io.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use deno_core::error::generic_error; use deno_core::error::AnyError; diff --git a/ext/net/lib.deno_net.d.ts b/ext/net/lib.deno_net.d.ts index 136723262d..6a3da03c3c 100644 --- a/ext/net/lib.deno_net.d.ts +++ b/ext/net/lib.deno_net.d.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. /// /// diff --git a/ext/net/lib.rs b/ext/net/lib.rs index ddeeeb1a8e..63016ae6c7 100644 --- a/ext/net/lib.rs +++ b/ext/net/lib.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. pub mod io; pub mod ops; diff --git a/ext/net/ops.rs b/ext/net/ops.rs index c4fb82fb62..583ce6b455 100644 --- a/ext/net/ops.rs +++ b/ext/net/ops.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use crate::io::TcpStreamResource; use crate::resolve_addr::resolve_addr; diff --git a/ext/net/ops_tls.rs b/ext/net/ops_tls.rs index 1e2b545337..f550569a15 100644 --- a/ext/net/ops_tls.rs +++ b/ext/net/ops_tls.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use crate::io::TcpStreamResource; use crate::ops::IpAddr; diff --git a/ext/net/ops_unix.rs b/ext/net/ops_unix.rs index 2a67589faf..d2933a5730 100644 --- a/ext/net/ops_unix.rs +++ b/ext/net/ops_unix.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use crate::io::UnixStreamResource; use crate::NetPermissions; diff --git a/ext/net/resolve_addr.rs b/ext/net/resolve_addr.rs index a7bd335e6b..07d245236d 100644 --- a/ext/net/resolve_addr.rs +++ b/ext/net/resolve_addr.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use deno_core::error::AnyError; use std::net::SocketAddr; diff --git a/ext/node/01_node.js b/ext/node/01_node.js index 8fe815f019..4ed5b3edab 100644 --- a/ext/node/01_node.js +++ b/ext/node/01_node.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // deno-lint-ignore-file diff --git a/ext/node/02_require.js b/ext/node/02_require.js index 0f11253f2f..7b44787fd7 100644 --- a/ext/node/02_require.js +++ b/ext/node/02_require.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // deno-lint-ignore-file diff --git a/ext/node/Cargo.toml b/ext/node/Cargo.toml index d2fc2139cc..583522f45b 100644 --- a/ext/node/Cargo.toml +++ b/ext/node/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +# Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. [package] name = "deno_node" diff --git a/ext/node/errors.rs b/ext/node/errors.rs index b489cb9373..9158ab0c52 100644 --- a/ext/node/errors.rs +++ b/ext/node/errors.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use std::path::PathBuf; diff --git a/ext/node/lib.rs b/ext/node/lib.rs index e8ff3c5492..d6fdd76799 100644 --- a/ext/node/lib.rs +++ b/ext/node/lib.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use deno_core::error::generic_error; use deno_core::error::AnyError; diff --git a/ext/node/package_json.rs b/ext/node/package_json.rs index 85caac5f4a..f0a2b4f4dc 100644 --- a/ext/node/package_json.rs +++ b/ext/node/package_json.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use crate::NodeModuleKind; diff --git a/ext/node/resolution.rs b/ext/node/resolution.rs index cd9496ad4b..95099d14e6 100644 --- a/ext/node/resolution.rs +++ b/ext/node/resolution.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use std::path::Path; use std::path::PathBuf; diff --git a/ext/tls/Cargo.toml b/ext/tls/Cargo.toml index 45675e9fed..7143e7fe8c 100644 --- a/ext/tls/Cargo.toml +++ b/ext/tls/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +# Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. [package] name = "deno_tls" diff --git a/ext/tls/lib.rs b/ext/tls/lib.rs index 42ea5b05d4..2b4a0600d1 100644 --- a/ext/tls/lib.rs +++ b/ext/tls/lib.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. pub use rustls; pub use rustls_native_certs; diff --git a/ext/url/00_url.js b/ext/url/00_url.js index 75bf7372a5..cedc241fe2 100644 --- a/ext/url/00_url.js +++ b/ext/url/00_url.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // @ts-check /// diff --git a/ext/url/01_urlpattern.js b/ext/url/01_urlpattern.js index cef48eabbc..eb05743a36 100644 --- a/ext/url/01_urlpattern.js +++ b/ext/url/01_urlpattern.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // @ts-check /// diff --git a/ext/url/Cargo.toml b/ext/url/Cargo.toml index bb35f394b5..63a13bb36a 100644 --- a/ext/url/Cargo.toml +++ b/ext/url/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +# Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. [package] name = "deno_url" diff --git a/ext/url/internal.d.ts b/ext/url/internal.d.ts index 0abb450761..7065c432f4 100644 --- a/ext/url/internal.d.ts +++ b/ext/url/internal.d.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // deno-lint-ignore-file no-var diff --git a/ext/url/lib.deno_url.d.ts b/ext/url/lib.deno_url.d.ts index 53298166b6..8d9404bc62 100644 --- a/ext/url/lib.deno_url.d.ts +++ b/ext/url/lib.deno_url.d.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // deno-lint-ignore-file no-explicit-any diff --git a/ext/url/lib.rs b/ext/url/lib.rs index ac668207fd..ba1167d541 100644 --- a/ext/url/lib.rs +++ b/ext/url/lib.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. mod urlpattern; diff --git a/ext/web/00_infra.js b/ext/web/00_infra.js index 9a9db5c22f..3f3f98165f 100644 --- a/ext/web/00_infra.js +++ b/ext/web/00_infra.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // @ts-check /// diff --git a/ext/web/01_dom_exception.js b/ext/web/01_dom_exception.js index e278c86524..63b82b01f2 100644 --- a/ext/web/01_dom_exception.js +++ b/ext/web/01_dom_exception.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // @ts-check /// diff --git a/ext/web/01_mimesniff.js b/ext/web/01_mimesniff.js index 47453bd996..f0f02d53a1 100644 --- a/ext/web/01_mimesniff.js +++ b/ext/web/01_mimesniff.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // @ts-check /// diff --git a/ext/web/02_event.js b/ext/web/02_event.js index 0601014986..3e7a4d1080 100644 --- a/ext/web/02_event.js +++ b/ext/web/02_event.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // This module follows most of the WHATWG Living Standard for the DOM logic. // Many parts of the DOM are not implemented in Deno, but the logic for those diff --git a/ext/web/02_structured_clone.js b/ext/web/02_structured_clone.js index 62bb48ebd4..f8a88a7ef7 100644 --- a/ext/web/02_structured_clone.js +++ b/ext/web/02_structured_clone.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // @ts-check /// diff --git a/ext/web/02_timers.js b/ext/web/02_timers.js index 0fc8087966..a582cf428a 100644 --- a/ext/web/02_timers.js +++ b/ext/web/02_timers.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. "use strict"; ((window) => { diff --git a/ext/web/03_abort_signal.js b/ext/web/03_abort_signal.js index 70511a9341..cce1bac7e7 100644 --- a/ext/web/03_abort_signal.js +++ b/ext/web/03_abort_signal.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. "use strict"; // @ts-check diff --git a/ext/web/04_global_interfaces.js b/ext/web/04_global_interfaces.js index 503b8fd086..840f93ba9c 100644 --- a/ext/web/04_global_interfaces.js +++ b/ext/web/04_global_interfaces.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. "use strict"; // @ts-check diff --git a/ext/web/05_base64.js b/ext/web/05_base64.js index d963596ce1..dac366ca00 100644 --- a/ext/web/05_base64.js +++ b/ext/web/05_base64.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // @ts-check /// diff --git a/ext/web/06_streams.js b/ext/web/06_streams.js index 2a032b3264..67fbaa6c9e 100644 --- a/ext/web/06_streams.js +++ b/ext/web/06_streams.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // @ts-check /// diff --git a/ext/web/06_streams_types.d.ts b/ext/web/06_streams_types.d.ts index 98d402f248..47ad2c650b 100644 --- a/ext/web/06_streams_types.d.ts +++ b/ext/web/06_streams_types.d.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // ** Internal Interfaces ** diff --git a/ext/web/08_text_encoding.js b/ext/web/08_text_encoding.js index bf4b338082..b1dc6d4114 100644 --- a/ext/web/08_text_encoding.js +++ b/ext/web/08_text_encoding.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // @ts-check /// diff --git a/ext/web/09_file.js b/ext/web/09_file.js index 9c3a36dc0f..92de61e1fa 100644 --- a/ext/web/09_file.js +++ b/ext/web/09_file.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // @ts-check /// diff --git a/ext/web/10_filereader.js b/ext/web/10_filereader.js index 30396a8d0f..bd5ee85be6 100644 --- a/ext/web/10_filereader.js +++ b/ext/web/10_filereader.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // @ts-check /// diff --git a/ext/web/11_blob_url.js b/ext/web/11_blob_url.js index 9a705f3917..a51a1e7185 100644 --- a/ext/web/11_blob_url.js +++ b/ext/web/11_blob_url.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // @ts-check /// diff --git a/ext/web/12_location.js b/ext/web/12_location.js index 570eeab0ff..964ca591ec 100644 --- a/ext/web/12_location.js +++ b/ext/web/12_location.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. "use strict"; /// diff --git a/ext/web/13_message_port.js b/ext/web/13_message_port.js index 847daba26f..f589ac91fc 100644 --- a/ext/web/13_message_port.js +++ b/ext/web/13_message_port.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // @ts-check /// diff --git a/ext/web/14_compression.js b/ext/web/14_compression.js index c56954c742..338f8c8034 100644 --- a/ext/web/14_compression.js +++ b/ext/web/14_compression.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // @ts-check /// diff --git a/ext/web/15_performance.js b/ext/web/15_performance.js index 556cfa774c..9107ce75b8 100644 --- a/ext/web/15_performance.js +++ b/ext/web/15_performance.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. "use strict"; ((window) => { diff --git a/ext/web/Cargo.toml b/ext/web/Cargo.toml index 16bbcdc4ad..21e0831484 100644 --- a/ext/web/Cargo.toml +++ b/ext/web/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +# Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. [package] name = "deno_web" diff --git a/ext/web/compression.rs b/ext/web/compression.rs index d2647e4988..ee129fe5ac 100644 --- a/ext/web/compression.rs +++ b/ext/web/compression.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use deno_core::error::AnyError; use deno_core::op; diff --git a/ext/web/internal.d.ts b/ext/web/internal.d.ts index 9e836aac03..9bb89d98e0 100644 --- a/ext/web/internal.d.ts +++ b/ext/web/internal.d.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // deno-lint-ignore-file no-var diff --git a/ext/web/lib.deno_web.d.ts b/ext/web/lib.deno_web.d.ts index 8da12badf1..e1ffdc3296 100644 --- a/ext/web/lib.deno_web.d.ts +++ b/ext/web/lib.deno_web.d.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // deno-lint-ignore-file no-explicit-any no-var diff --git a/ext/web/lib.rs b/ext/web/lib.rs index cfbcee6e3d..a270882a97 100644 --- a/ext/web/lib.rs +++ b/ext/web/lib.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. mod blob; mod compression; diff --git a/ext/web/timers.rs b/ext/web/timers.rs index 6026b7c3bf..252cd4ad41 100644 --- a/ext/web/timers.rs +++ b/ext/web/timers.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. //! This module helps deno implement timers and performance APIs. diff --git a/ext/webgpu/Cargo.toml b/ext/webgpu/Cargo.toml index a57cf72c0c..65c559a5ab 100644 --- a/ext/webgpu/Cargo.toml +++ b/ext/webgpu/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +# Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. [package] name = "deno_webgpu" diff --git a/ext/webgpu/LICENSE.md b/ext/webgpu/LICENSE.md index cfc3a5226e..aec557f3a0 100644 --- a/ext/webgpu/LICENSE.md +++ b/ext/webgpu/LICENSE.md @@ -1,6 +1,6 @@ MIT License -Copyright 2018-2022 the Deno authors +Copyright 2018-2023 the Deno authors Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in diff --git a/ext/webgpu/src/01_webgpu.js b/ext/webgpu/src/01_webgpu.js index a5863b6c6a..1c1b15756f 100644 --- a/ext/webgpu/src/01_webgpu.js +++ b/ext/webgpu/src/01_webgpu.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // @ts-check /// diff --git a/ext/webgpu/src/02_idl_types.js b/ext/webgpu/src/02_idl_types.js index 08867303a1..42986d4fd7 100644 --- a/ext/webgpu/src/02_idl_types.js +++ b/ext/webgpu/src/02_idl_types.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // @ts-check /// diff --git a/ext/webgpu/src/binding.rs b/ext/webgpu/src/binding.rs index c13fe17a18..7a35db5031 100644 --- a/ext/webgpu/src/binding.rs +++ b/ext/webgpu/src/binding.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use deno_core::error::AnyError; use deno_core::op; diff --git a/ext/webgpu/src/buffer.rs b/ext/webgpu/src/buffer.rs index ebe83591c7..a10642f33a 100644 --- a/ext/webgpu/src/buffer.rs +++ b/ext/webgpu/src/buffer.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use deno_core::error::type_error; use deno_core::error::AnyError; diff --git a/ext/webgpu/src/bundle.rs b/ext/webgpu/src/bundle.rs index c3019206c5..13b0d0cc70 100644 --- a/ext/webgpu/src/bundle.rs +++ b/ext/webgpu/src/bundle.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use deno_core::error::AnyError; use deno_core::op; diff --git a/ext/webgpu/src/command_encoder.rs b/ext/webgpu/src/command_encoder.rs index a583466d0f..e552a14e0a 100644 --- a/ext/webgpu/src/command_encoder.rs +++ b/ext/webgpu/src/command_encoder.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use deno_core::error::AnyError; use deno_core::op; diff --git a/ext/webgpu/src/compute_pass.rs b/ext/webgpu/src/compute_pass.rs index c4ae1608bb..71f9dfe3bd 100644 --- a/ext/webgpu/src/compute_pass.rs +++ b/ext/webgpu/src/compute_pass.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use deno_core::error::AnyError; use deno_core::op; diff --git a/ext/webgpu/src/error.rs b/ext/webgpu/src/error.rs index fae0259a86..55ef223a1c 100644 --- a/ext/webgpu/src/error.rs +++ b/ext/webgpu/src/error.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use deno_core::error::AnyError; use deno_core::ResourceId; use serde::Serialize; diff --git a/ext/webgpu/src/lib.rs b/ext/webgpu/src/lib.rs index ba5cdbac36..8e67da6b85 100644 --- a/ext/webgpu/src/lib.rs +++ b/ext/webgpu/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use deno_core::error::AnyError; use deno_core::include_js_files; diff --git a/ext/webgpu/src/pipeline.rs b/ext/webgpu/src/pipeline.rs index 1b69e118d1..ba90eedf0a 100644 --- a/ext/webgpu/src/pipeline.rs +++ b/ext/webgpu/src/pipeline.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use deno_core::error::AnyError; use deno_core::op; diff --git a/ext/webgpu/src/queue.rs b/ext/webgpu/src/queue.rs index 5490369705..dd78899e3b 100644 --- a/ext/webgpu/src/queue.rs +++ b/ext/webgpu/src/queue.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use std::num::NonZeroU32; diff --git a/ext/webgpu/src/render_pass.rs b/ext/webgpu/src/render_pass.rs index 9fe5f71fc2..85440b18d0 100644 --- a/ext/webgpu/src/render_pass.rs +++ b/ext/webgpu/src/render_pass.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use deno_core::error::type_error; use deno_core::error::AnyError; diff --git a/ext/webgpu/src/sampler.rs b/ext/webgpu/src/sampler.rs index bad700535b..f2f1037f10 100644 --- a/ext/webgpu/src/sampler.rs +++ b/ext/webgpu/src/sampler.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use deno_core::error::AnyError; use deno_core::op; diff --git a/ext/webgpu/src/shader.rs b/ext/webgpu/src/shader.rs index 5053a73d00..f45ab4400b 100644 --- a/ext/webgpu/src/shader.rs +++ b/ext/webgpu/src/shader.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use deno_core::error::AnyError; use deno_core::op; diff --git a/ext/webgpu/src/texture.rs b/ext/webgpu/src/texture.rs index f75a145c51..9a6a1e9397 100644 --- a/ext/webgpu/src/texture.rs +++ b/ext/webgpu/src/texture.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use deno_core::error::AnyError; use deno_core::op; diff --git a/ext/webidl/00_webidl.js b/ext/webidl/00_webidl.js index c7825b8a21..f38618f13f 100644 --- a/ext/webidl/00_webidl.js +++ b/ext/webidl/00_webidl.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // Adapted from https://github.com/jsdom/webidl-conversions. // Copyright Domenic Denicola. Licensed under BSD-2-Clause License. diff --git a/ext/webidl/Cargo.toml b/ext/webidl/Cargo.toml index acc489db7d..a8ac6d7d69 100644 --- a/ext/webidl/Cargo.toml +++ b/ext/webidl/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +# Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. [package] name = "deno_webidl" diff --git a/ext/webidl/internal.d.ts b/ext/webidl/internal.d.ts index 47e599e5a8..4ab9e33a92 100644 --- a/ext/webidl/internal.d.ts +++ b/ext/webidl/internal.d.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // deno-lint-ignore-file no-explicit-any ban-types /// diff --git a/ext/webidl/lib.rs b/ext/webidl/lib.rs index ae5e6403a6..583717d97e 100644 --- a/ext/webidl/lib.rs +++ b/ext/webidl/lib.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use deno_core::include_js_files; use deno_core::Extension; diff --git a/ext/websocket/01_websocket.js b/ext/websocket/01_websocket.js index a30a74cada..4ff40ad773 100644 --- a/ext/websocket/01_websocket.js +++ b/ext/websocket/01_websocket.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. "use strict"; /// diff --git a/ext/websocket/02_websocketstream.js b/ext/websocket/02_websocketstream.js index 598816d052..5d7e47cc43 100644 --- a/ext/websocket/02_websocketstream.js +++ b/ext/websocket/02_websocketstream.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. "use strict"; /// diff --git a/ext/websocket/Cargo.toml b/ext/websocket/Cargo.toml index c420525089..860316706b 100644 --- a/ext/websocket/Cargo.toml +++ b/ext/websocket/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +# Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. [package] name = "deno_websocket" diff --git a/ext/websocket/lib.deno_websocket.d.ts b/ext/websocket/lib.deno_websocket.d.ts index bf14102205..208b30a6c2 100644 --- a/ext/websocket/lib.deno_websocket.d.ts +++ b/ext/websocket/lib.deno_websocket.d.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // deno-lint-ignore-file no-explicit-any diff --git a/ext/websocket/lib.rs b/ext/websocket/lib.rs index 984d39e9dc..a58701e7ac 100644 --- a/ext/websocket/lib.rs +++ b/ext/websocket/lib.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use deno_core::error::invalid_hostname; use deno_core::error::type_error; diff --git a/ext/webstorage/01_webstorage.js b/ext/webstorage/01_webstorage.js index 0e9b28b1f1..27d7aac09f 100644 --- a/ext/webstorage/01_webstorage.js +++ b/ext/webstorage/01_webstorage.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. /// diff --git a/ext/webstorage/Cargo.toml b/ext/webstorage/Cargo.toml index 426211fc1e..449f1ed5db 100644 --- a/ext/webstorage/Cargo.toml +++ b/ext/webstorage/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +# Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. [package] name = "deno_webstorage" diff --git a/ext/webstorage/lib.deno_webstorage.d.ts b/ext/webstorage/lib.deno_webstorage.d.ts index 14a34187f2..d591cdcfa3 100644 --- a/ext/webstorage/lib.deno_webstorage.d.ts +++ b/ext/webstorage/lib.deno_webstorage.d.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // deno-lint-ignore-file no-explicit-any no-var diff --git a/ext/webstorage/lib.rs b/ext/webstorage/lib.rs index 6284a59bc6..736bea4b59 100644 --- a/ext/webstorage/lib.rs +++ b/ext/webstorage/lib.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // NOTE to all: use **cached** prepared statements when interfacing with SQLite. diff --git a/ops/Cargo.toml b/ops/Cargo.toml index 57f9ee55d5..711d54e1e5 100644 --- a/ops/Cargo.toml +++ b/ops/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +# Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. [package] name = "deno_ops" diff --git a/ops/attrs.rs b/ops/attrs.rs index 4d298d7ed2..93fbb05fff 100644 --- a/ops/attrs.rs +++ b/ops/attrs.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use syn::{ parse::{Parse, ParseStream}, punctuated::Punctuated, diff --git a/ops/deno.rs b/ops/deno.rs index 07f50489a6..710fd430f8 100644 --- a/ops/deno.rs +++ b/ops/deno.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. #![cfg(not(test))] use proc_macro2::{Span, TokenStream}; diff --git a/ops/lib.rs b/ops/lib.rs index b4bef1d138..7fb377420c 100644 --- a/ops/lib.rs +++ b/ops/lib.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use attrs::Attributes; use once_cell::sync::Lazy; diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml index 8d198e7861..0443138666 100644 --- a/runtime/Cargo.toml +++ b/runtime/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +# Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. [package] name = "deno_runtime" diff --git a/runtime/build.rs b/runtime/build.rs index 5887941cab..3be20ad97c 100644 --- a/runtime/build.rs +++ b/runtime/build.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use std::env; use std::path::Path; diff --git a/runtime/colors.rs b/runtime/colors.rs index 7159db9f6f..cc15a8e8dc 100644 --- a/runtime/colors.rs +++ b/runtime/colors.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use atty; use once_cell::sync::Lazy; diff --git a/runtime/errors.rs b/runtime/errors.rs index 442f9ee1bb..68fae9387c 100644 --- a/runtime/errors.rs +++ b/runtime/errors.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. //! There are many types of errors in Deno: //! - AnyError: a generic wrapper that can encapsulate any type of error. diff --git a/runtime/examples/hello_runtime.js b/runtime/examples/hello_runtime.js index 6c5679f094..066fa21d66 100644 --- a/runtime/examples/hello_runtime.js +++ b/runtime/examples/hello_runtime.js @@ -1,3 +1,3 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. console.log("Hello world!"); console.log(Deno); diff --git a/runtime/examples/hello_runtime.rs b/runtime/examples/hello_runtime.rs index 13dcf51f55..19496918ef 100644 --- a/runtime/examples/hello_runtime.rs +++ b/runtime/examples/hello_runtime.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use deno_core::error::AnyError; use deno_core::FsModuleLoader; diff --git a/runtime/fmt_errors.rs b/runtime/fmt_errors.rs index bd8cf4b941..e8c3162909 100644 --- a/runtime/fmt_errors.rs +++ b/runtime/fmt_errors.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. //! This mod provides DenoError to unify errors across Deno. use crate::colors::cyan; use crate::colors::italic_bold; diff --git a/runtime/fs_util.rs b/runtime/fs_util.rs index a71e709864..05ce0b67aa 100644 --- a/runtime/fs_util.rs +++ b/runtime/fs_util.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use deno_core::anyhow::Context; use deno_core::error::AnyError; diff --git a/runtime/inspector_server.rs b/runtime/inspector_server.rs index 0423bbdce7..de49d375e2 100644 --- a/runtime/inspector_server.rs +++ b/runtime/inspector_server.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use core::convert::Infallible as Never; // Alias for the future `!` type. use deno_core::error::AnyError; diff --git a/runtime/js.rs b/runtime/js.rs index 3ad2416700..3d14c744cb 100644 --- a/runtime/js.rs +++ b/runtime/js.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use deno_core::Snapshot; use log::debug; use once_cell::sync::Lazy; diff --git a/runtime/js/01_build.js b/runtime/js/01_build.js index 57ac13883e..23a1c819b7 100644 --- a/runtime/js/01_build.js +++ b/runtime/js/01_build.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. "use strict"; ((window) => { diff --git a/runtime/js/01_errors.js b/runtime/js/01_errors.js index ff2cf89fa4..620c64c337 100644 --- a/runtime/js/01_errors.js +++ b/runtime/js/01_errors.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. "use strict"; ((window) => { diff --git a/runtime/js/01_version.js b/runtime/js/01_version.js index bd89c6a1ea..b1b778a428 100644 --- a/runtime/js/01_version.js +++ b/runtime/js/01_version.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. "use strict"; ((window) => { diff --git a/runtime/js/01_web_util.js b/runtime/js/01_web_util.js index 450ad5743d..9e0bedbd80 100644 --- a/runtime/js/01_web_util.js +++ b/runtime/js/01_web_util.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. "use strict"; ((window) => { diff --git a/runtime/js/06_util.js b/runtime/js/06_util.js index 277e83ec59..5b6944ccc4 100644 --- a/runtime/js/06_util.js +++ b/runtime/js/06_util.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. "use strict"; ((window) => { diff --git a/runtime/js/10_permissions.js b/runtime/js/10_permissions.js index cf2fdde7d3..d6ab33dcfe 100644 --- a/runtime/js/10_permissions.js +++ b/runtime/js/10_permissions.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. "use strict"; ((window) => { diff --git a/runtime/js/11_workers.js b/runtime/js/11_workers.js index 0d05ac671c..fa544a5102 100644 --- a/runtime/js/11_workers.js +++ b/runtime/js/11_workers.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. "use strict"; ((window) => { diff --git a/runtime/js/12_io.js b/runtime/js/12_io.js index c8fc002fcf..b384e15284 100644 --- a/runtime/js/12_io.js +++ b/runtime/js/12_io.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // Interfaces 100% copied from Go. // Documentation liberally lifted from them too. diff --git a/runtime/js/13_buffer.js b/runtime/js/13_buffer.js index 49d7a1cdd0..180e9d26dc 100644 --- a/runtime/js/13_buffer.js +++ b/runtime/js/13_buffer.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 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/runtime/js/30_fs.js b/runtime/js/30_fs.js index 242e480b3d..897c89a131 100644 --- a/runtime/js/30_fs.js +++ b/runtime/js/30_fs.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. "use strict"; ((window) => { diff --git a/runtime/js/30_os.js b/runtime/js/30_os.js index ccce946a5f..f81a5c08dc 100644 --- a/runtime/js/30_os.js +++ b/runtime/js/30_os.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. "use strict"; ((window) => { diff --git a/runtime/js/40_diagnostics.js b/runtime/js/40_diagnostics.js index a6aba7b2e2..6939b52042 100644 --- a/runtime/js/40_diagnostics.js +++ b/runtime/js/40_diagnostics.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 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/runtime/js/40_files.js b/runtime/js/40_files.js index 226abb33e6..4471610ccd 100644 --- a/runtime/js/40_files.js +++ b/runtime/js/40_files.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. "use strict"; ((window) => { diff --git a/runtime/js/40_fs_events.js b/runtime/js/40_fs_events.js index 8027c27eb2..b410e22990 100644 --- a/runtime/js/40_fs_events.js +++ b/runtime/js/40_fs_events.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. "use strict"; ((window) => { diff --git a/runtime/js/40_http.js b/runtime/js/40_http.js index 36d8103741..22288b5d54 100644 --- a/runtime/js/40_http.js +++ b/runtime/js/40_http.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. "use strict"; ((window) => { diff --git a/runtime/js/40_process.js b/runtime/js/40_process.js index f837b2b4c9..5ad24c0943 100644 --- a/runtime/js/40_process.js +++ b/runtime/js/40_process.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. "use strict"; ((window) => { diff --git a/runtime/js/40_read_file.js b/runtime/js/40_read_file.js index fd656c1cb6..7c28989039 100644 --- a/runtime/js/40_read_file.js +++ b/runtime/js/40_read_file.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. "use strict"; ((window) => { diff --git a/runtime/js/40_signals.js b/runtime/js/40_signals.js index 71ead71c7f..ff1502a555 100644 --- a/runtime/js/40_signals.js +++ b/runtime/js/40_signals.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. "use strict"; ((window) => { diff --git a/runtime/js/40_tty.js b/runtime/js/40_tty.js index 8ce3e83efd..3263dc814f 100644 --- a/runtime/js/40_tty.js +++ b/runtime/js/40_tty.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. "use strict"; ((window) => { diff --git a/runtime/js/40_write_file.js b/runtime/js/40_write_file.js index 8d026245ff..f8d8b3ab78 100644 --- a/runtime/js/40_write_file.js +++ b/runtime/js/40_write_file.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. "use strict"; ((window) => { const core = window.__bootstrap.core; diff --git a/runtime/js/41_prompt.js b/runtime/js/41_prompt.js index 3dc9f4a406..1d5acc028f 100644 --- a/runtime/js/41_prompt.js +++ b/runtime/js/41_prompt.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. "use strict"; ((window) => { const { stdin } = window.__bootstrap.files; diff --git a/runtime/js/90_deno_ns.js b/runtime/js/90_deno_ns.js index f49fb5af14..f18593df76 100644 --- a/runtime/js/90_deno_ns.js +++ b/runtime/js/90_deno_ns.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. "use strict"; ((window) => { diff --git a/runtime/js/98_global_scope.js b/runtime/js/98_global_scope.js index 7afb4472c7..b4296278c2 100644 --- a/runtime/js/98_global_scope.js +++ b/runtime/js/98_global_scope.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. "use strict"; ((window) => { diff --git a/runtime/js/99_main.js b/runtime/js/99_main.js index 6ecf23ffff..2e92d5b5d6 100644 --- a/runtime/js/99_main.js +++ b/runtime/js/99_main.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. "use strict"; // Removes the `__proto__` for security reasons. diff --git a/runtime/lib.rs b/runtime/lib.rs index de104f2ca9..26e8d9bb4a 100644 --- a/runtime/lib.rs +++ b/runtime/lib.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. pub use deno_broadcast_channel; pub use deno_cache; diff --git a/runtime/ops/fs.rs b/runtime/ops/fs.rs index b9f6374482..a3ed09371d 100644 --- a/runtime/ops/fs.rs +++ b/runtime/ops/fs.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // Some deserializer fields are only used on Unix and Windows build fails without it use super::io::StdFileResource; use super::utils::into_string; diff --git a/runtime/ops/fs_events.rs b/runtime/ops/fs_events.rs index 6c631bb599..d7c4b46707 100644 --- a/runtime/ops/fs_events.rs +++ b/runtime/ops/fs_events.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use crate::permissions::Permissions; use deno_core::error::AnyError; diff --git a/runtime/ops/io.rs b/runtime/ops/io.rs index 646a540bc4..3bee7db606 100644 --- a/runtime/ops/io.rs +++ b/runtime/ops/io.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use deno_core::error::resource_unavailable; use deno_core::error::AnyError; diff --git a/runtime/ops/mod.rs b/runtime/ops/mod.rs index 526c36d630..e42f61a7bb 100644 --- a/runtime/ops/mod.rs +++ b/runtime/ops/mod.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. pub mod fs; pub mod fs_events; diff --git a/runtime/ops/os/mod.rs b/runtime/ops/os/mod.rs index f6f4761dfc..28184c949e 100644 --- a/runtime/ops/os/mod.rs +++ b/runtime/ops/os/mod.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use super::utils::into_string; use crate::permissions::Permissions; diff --git a/runtime/ops/os/sys_info.rs b/runtime/ops/os/sys_info.rs index 91422546c8..06807a8ea7 100644 --- a/runtime/ops/os/sys_info.rs +++ b/runtime/ops/os/sys_info.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. #[cfg(target_family = "windows")] use std::sync::Once; diff --git a/runtime/ops/permissions.rs b/runtime/ops/permissions.rs index 5d6352744e..8a22446765 100644 --- a/runtime/ops/permissions.rs +++ b/runtime/ops/permissions.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use crate::permissions::parse_sys_kind; use crate::permissions::Permissions; diff --git a/runtime/ops/process.rs b/runtime/ops/process.rs index 88c130e61a..b831f13385 100644 --- a/runtime/ops/process.rs +++ b/runtime/ops/process.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use super::io::ChildStderrResource; use super::io::ChildStdinResource; diff --git a/runtime/ops/runtime.rs b/runtime/ops/runtime.rs index f6ae0146ce..582fb18fc6 100644 --- a/runtime/ops/runtime.rs +++ b/runtime/ops/runtime.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use crate::permissions::Permissions; use deno_core::anyhow::Context; diff --git a/runtime/ops/signal.rs b/runtime/ops/signal.rs index 95c166787c..14a9215edc 100644 --- a/runtime/ops/signal.rs +++ b/runtime/ops/signal.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use deno_core::error::type_error; use deno_core::error::AnyError; use deno_core::op; diff --git a/runtime/ops/tty.rs b/runtime/ops/tty.rs index 5f99d4574f..fd87f0e394 100644 --- a/runtime/ops/tty.rs +++ b/runtime/ops/tty.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use super::io::StdFileResource; use deno_core::error::AnyError; diff --git a/runtime/ops/utils.rs b/runtime/ops/utils.rs index f1414e8bc9..29cbaab912 100644 --- a/runtime/ops/utils.rs +++ b/runtime/ops/utils.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use deno_core::error::custom_error; use deno_core::error::AnyError; diff --git a/runtime/ops/web_worker.rs b/runtime/ops/web_worker.rs index 3c85d7b9ee..11aeac8525 100644 --- a/runtime/ops/web_worker.rs +++ b/runtime/ops/web_worker.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. mod sync_fetch; diff --git a/runtime/ops/web_worker/sync_fetch.rs b/runtime/ops/web_worker/sync_fetch.rs index 464697f944..f96a01a5a1 100644 --- a/runtime/ops/web_worker/sync_fetch.rs +++ b/runtime/ops/web_worker/sync_fetch.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use crate::web_worker::WebWorkerInternalHandle; use crate::web_worker::WebWorkerType; diff --git a/runtime/ops/worker_host.rs b/runtime/ops/worker_host.rs index 72d466a94e..54aa0d9165 100644 --- a/runtime/ops/worker_host.rs +++ b/runtime/ops/worker_host.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use crate::ops::TestingFeaturesEnabled; use crate::permissions::create_child_permissions; diff --git a/runtime/permissions/mod.rs b/runtime/permissions/mod.rs index ce4984ee11..d2de1cc94f 100644 --- a/runtime/permissions/mod.rs +++ b/runtime/permissions/mod.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use crate::colors; use crate::fs_util::resolve_from_cwd; diff --git a/runtime/permissions/prompter.rs b/runtime/permissions/prompter.rs index 93c321107c..d72d78749a 100644 --- a/runtime/permissions/prompter.rs +++ b/runtime/permissions/prompter.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use crate::colors; use deno_core::error::AnyError; diff --git a/runtime/tokio_util.rs b/runtime/tokio_util.rs index 52888abe45..a4db5e33fa 100644 --- a/runtime/tokio_util.rs +++ b/runtime/tokio_util.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. pub fn create_basic_runtime() -> tokio::runtime::Runtime { tokio::runtime::Builder::new_current_thread() diff --git a/runtime/web_worker.rs b/runtime/web_worker.rs index ee47d0d990..75c9f0821c 100644 --- a/runtime/web_worker.rs +++ b/runtime/web_worker.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use crate::colors; use crate::inspector_server::InspectorServer; use crate::js; diff --git a/runtime/worker.rs b/runtime/worker.rs index b6bb51bc66..360a6b3d72 100644 --- a/runtime/worker.rs +++ b/runtime/worker.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use crate::inspector_server::InspectorServer; use crate::js; diff --git a/runtime/worker_bootstrap.rs b/runtime/worker_bootstrap.rs index a185c9693f..17aa8a85b9 100644 --- a/runtime/worker_bootstrap.rs +++ b/runtime/worker_bootstrap.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use deno_core::serde_json; use deno_core::serde_json::json; diff --git a/serde_v8/Cargo.toml b/serde_v8/Cargo.toml index e1724827d8..b554c26d3c 100644 --- a/serde_v8/Cargo.toml +++ b/serde_v8/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +# Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. [package] name = "serde_v8" diff --git a/serde_v8/benches/de.rs b/serde_v8/benches/de.rs index 72e5799cd5..306374043c 100644 --- a/serde_v8/benches/de.rs +++ b/serde_v8/benches/de.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use bencher::{benchmark_group, benchmark_main, Bencher}; use serde::Deserialize; diff --git a/serde_v8/benches/ser.rs b/serde_v8/benches/ser.rs index 1bfc6fadcd..37951c7f06 100644 --- a/serde_v8/benches/ser.rs +++ b/serde_v8/benches/ser.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use bencher::{benchmark_group, benchmark_main, Bencher}; use serde::Serialize; diff --git a/serde_v8/de.rs b/serde_v8/de.rs index 300b047b71..c3bea36a49 100644 --- a/serde_v8/de.rs +++ b/serde_v8/de.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use serde::de::{self, SeqAccess as _, Visitor}; use serde::Deserialize; diff --git a/serde_v8/error.rs b/serde_v8/error.rs index 661bb68ad1..38a67489f1 100644 --- a/serde_v8/error.rs +++ b/serde_v8/error.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use std::fmt::{self, Display}; use serde::{de, ser}; diff --git a/serde_v8/examples/basic.rs b/serde_v8/examples/basic.rs index 8f19e9405c..f1ea4d6a57 100644 --- a/serde_v8/examples/basic.rs +++ b/serde_v8/examples/basic.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use serde::Deserialize; #[derive(Debug, Deserialize)] diff --git a/serde_v8/keys.rs b/serde_v8/keys.rs index 4811a87f8e..d44306fd6e 100644 --- a/serde_v8/keys.rs +++ b/serde_v8/keys.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use std::collections::HashMap; // KeyCache stores a pool struct keys mapped to v8, diff --git a/serde_v8/lib.rs b/serde_v8/lib.rs index 73259a0616..e2ec1015d6 100644 --- a/serde_v8/lib.rs +++ b/serde_v8/lib.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. mod de; mod error; mod keys; diff --git a/serde_v8/magic/buffer.rs b/serde_v8/magic/buffer.rs index 413e567470..862264886e 100644 --- a/serde_v8/magic/buffer.rs +++ b/serde_v8/magic/buffer.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use std::fmt::Debug; use std::ops::Deref; diff --git a/serde_v8/magic/bytestring.rs b/serde_v8/magic/bytestring.rs index ebf96031ff..92a0dba40f 100644 --- a/serde_v8/magic/bytestring.rs +++ b/serde_v8/magic/bytestring.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use super::transl8::{FromV8, ToV8}; use crate::magic::transl8::impl_magic; use crate::Error; diff --git a/serde_v8/magic/detached_buffer.rs b/serde_v8/magic/detached_buffer.rs index cbe8b39c39..7ee4dfb214 100644 --- a/serde_v8/magic/detached_buffer.rs +++ b/serde_v8/magic/detached_buffer.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use core::ops::Range; use std::ops::Deref; diff --git a/serde_v8/magic/global.rs b/serde_v8/magic/global.rs index 4f7b70fdfc..52b316fa51 100644 --- a/serde_v8/magic/global.rs +++ b/serde_v8/magic/global.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use crate::magic::transl8::impl_magic; use crate::magic::transl8::FromV8; diff --git a/serde_v8/magic/mod.rs b/serde_v8/magic/mod.rs index 0cac688316..fe45776728 100644 --- a/serde_v8/magic/mod.rs +++ b/serde_v8/magic/mod.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. pub mod buffer; pub mod bytestring; pub mod detached_buffer; diff --git a/serde_v8/magic/rawbytes.rs b/serde_v8/magic/rawbytes.rs index b451437117..2703c77566 100644 --- a/serde_v8/magic/rawbytes.rs +++ b/serde_v8/magic/rawbytes.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. pub(crate) type AtomicPtr = *mut T; #[allow(unused)] pub(crate) struct RawBytes { diff --git a/serde_v8/magic/string_or_buffer.rs b/serde_v8/magic/string_or_buffer.rs index 582314d4b9..e3347255e0 100644 --- a/serde_v8/magic/string_or_buffer.rs +++ b/serde_v8/magic/string_or_buffer.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use super::buffer::ZeroCopyBuf; use super::transl8::{FromV8, ToV8}; use crate::magic::transl8::impl_magic; diff --git a/serde_v8/magic/transl8.rs b/serde_v8/magic/transl8.rs index 9beb9eade3..3a8d0c358f 100644 --- a/serde_v8/magic/transl8.rs +++ b/serde_v8/magic/transl8.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. //! Transerialization extends the set of serde-compatible types (for given de/serializers). //! By "hackishly" transmuting references across serde boundaries as u64s. diff --git a/serde_v8/magic/v8slice.rs b/serde_v8/magic/v8slice.rs index a1c01b888c..384ccf5c52 100644 --- a/serde_v8/magic/v8slice.rs +++ b/serde_v8/magic/v8slice.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use std::ops::Deref; use std::ops::DerefMut; diff --git a/serde_v8/magic/value.rs b/serde_v8/magic/value.rs index 651e75263c..0333d75bcb 100644 --- a/serde_v8/magic/value.rs +++ b/serde_v8/magic/value.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use crate::magic::transl8::impl_magic; use crate::magic::transl8::FromV8; diff --git a/serde_v8/payload.rs b/serde_v8/payload.rs index c9f3e85aa7..27f12014f2 100644 --- a/serde_v8/payload.rs +++ b/serde_v8/payload.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // TODO: maybe add a Payload type that holds scope & v8::Value // so it can implement Deserialize by itself diff --git a/serde_v8/ser.rs b/serde_v8/ser.rs index dc3fbd1430..67b0d6f685 100644 --- a/serde_v8/ser.rs +++ b/serde_v8/ser.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use serde::ser; use serde::ser::Serialize; diff --git a/serde_v8/serializable.rs b/serde_v8/serializable.rs index f0198fafa0..21c7bb7523 100644 --- a/serde_v8/serializable.rs +++ b/serde_v8/serializable.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use std::any::TypeId; use std::mem::transmute_copy; diff --git a/serde_v8/tests/de.rs b/serde_v8/tests/de.rs index 0f2c85d95f..c492a6018f 100644 --- a/serde_v8/tests/de.rs +++ b/serde_v8/tests/de.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use serde::{Deserialize, Deserializer}; use serde_v8::utils::{js_exec, v8_do}; diff --git a/serde_v8/tests/magic.rs b/serde_v8/tests/magic.rs index 3fc46abeb2..54adc6c835 100644 --- a/serde_v8/tests/magic.rs +++ b/serde_v8/tests/magic.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use serde::{Deserialize, Serialize}; use serde_v8::utils::{js_exec, v8_do}; diff --git a/serde_v8/tests/ser.rs b/serde_v8/tests/ser.rs index 0d8d42fe6d..9e6c7c2e7b 100644 --- a/serde_v8/tests/ser.rs +++ b/serde_v8/tests/ser.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use serde::Serialize; use serde_json::json; use serde_v8::utils::{js_exec, v8_do}; diff --git a/serde_v8/utils.rs b/serde_v8/utils.rs index d491ac093d..6a97324004 100644 --- a/serde_v8/utils.rs +++ b/serde_v8/utils.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use std::sync::Once; pub fn js_exec<'s>( diff --git a/test_ffi/Cargo.toml b/test_ffi/Cargo.toml index 3c588dbe89..3930240665 100644 --- a/test_ffi/Cargo.toml +++ b/test_ffi/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +# Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. [package] name = "test_ffi" diff --git a/test_ffi/src/lib.rs b/test_ffi/src/lib.rs index 1c1770bf02..b608877f71 100644 --- a/test_ffi/src/lib.rs +++ b/test_ffi/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. #![allow(clippy::undocumented_unsafe_blocks)] diff --git a/test_ffi/tests/bench.js b/test_ffi/tests/bench.js index a20ee3c807..b70b41e8f5 100644 --- a/test_ffi/tests/bench.js +++ b/test_ffi/tests/bench.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // deno-lint-ignore-file const targetDir = Deno.execPath().replace(/[^\/\\]+$/, ""); diff --git a/test_ffi/tests/ffi_types.ts b/test_ffi/tests/ffi_types.ts index a49224cfdc..058138a8d2 100644 --- a/test_ffi/tests/ffi_types.ts +++ b/test_ffi/tests/ffi_types.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // deno-lint-ignore-file // Only for testing types. Invoke with `deno cache` diff --git a/test_ffi/tests/integration_tests.rs b/test_ffi/tests/integration_tests.rs index 38808d2059..6564f1e14b 100644 --- a/test_ffi/tests/integration_tests.rs +++ b/test_ffi/tests/integration_tests.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use std::process::Command; use test_util::deno_cmd; diff --git a/test_ffi/tests/test.js b/test_ffi/tests/test.js index 65cb974f91..3bbf475e97 100644 --- a/test_ffi/tests/test.js +++ b/test_ffi/tests/test.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // deno-lint-ignore-file // Run using cargo test or `--v8-options=--allow-natives-syntax` @@ -521,7 +521,7 @@ testOptimized(castU32U8Fast, () => castU32U8Fast(256)); // Generally the trampoline tail-calls into the FFI function, but in certain cases (e.g. when returning 8 or 16 bit integers) // the tail call is not possible and a new stack frame must be created. We need enough parameters to have some on the stack -function addManyU16Fast(a, b, c, d, e, f, g, h, i, j, k, l, m) { +function addManyU16Fast(a, b, c, d, e, f, g, h, i, j, k, l, m) { return symbols.add_many_u16(a, b, c, d, e, f, g, h, i, j, k, l, m); }; // N.B. V8 does not currently follow Aarch64 Apple's calling convention. diff --git a/test_ffi/tests/thread_safe_test.js b/test_ffi/tests/thread_safe_test.js index e541140550..c5e9c74b71 100644 --- a/test_ffi/tests/thread_safe_test.js +++ b/test_ffi/tests/thread_safe_test.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // deno-lint-ignore-file const targetDir = Deno.execPath().replace(/[^\/\\]+$/, ""); diff --git a/test_ffi/tests/thread_safe_test_worker.js b/test_ffi/tests/thread_safe_test_worker.js index 0670044698..a87a975569 100644 --- a/test_ffi/tests/thread_safe_test_worker.js +++ b/test_ffi/tests/thread_safe_test_worker.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // deno-lint-ignore-file const targetDir = Deno.execPath().replace(/[^\/\\]+$/, ""); diff --git a/test_napi/Cargo.toml b/test_napi/Cargo.toml index 5a81f1ea19..6717ecce31 100644 --- a/test_napi/Cargo.toml +++ b/test_napi/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +# Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. [package] name = "test_napi" diff --git a/test_napi/array_test.js b/test_napi/array_test.js index 314ea5e502..1c9956188e 100644 --- a/test_napi/array_test.js +++ b/test_napi/array_test.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { assertEquals, loadTestLibrary } from "./common.js"; diff --git a/test_napi/arraybuffer_test.js b/test_napi/arraybuffer_test.js index 577443e8be..c08ffc7d60 100644 --- a/test_napi/arraybuffer_test.js +++ b/test_napi/arraybuffer_test.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { assertEquals, loadTestLibrary } from "./common.js"; diff --git a/test_napi/async_test.js b/test_napi/async_test.js index ea1b714bd0..f48d3d7543 100644 --- a/test_napi/async_test.js +++ b/test_napi/async_test.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { assertEquals, loadTestLibrary } from "./common.js"; diff --git a/test_napi/build.rs b/test_napi/build.rs index 9d3021a0ed..2255820e6c 100644 --- a/test_napi/build.rs +++ b/test_napi/build.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. extern crate napi_build; diff --git a/test_napi/callback_test.js b/test_napi/callback_test.js index debb1d7bab..c978143127 100644 --- a/test_napi/callback_test.js +++ b/test_napi/callback_test.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { assertEquals, loadTestLibrary } from "./common.js"; diff --git a/test_napi/coerce_test.js b/test_napi/coerce_test.js index be0ee03e7d..158d32f687 100644 --- a/test_napi/coerce_test.js +++ b/test_napi/coerce_test.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { assertEquals, loadTestLibrary } from "./common.js"; diff --git a/test_napi/common.js b/test_napi/common.js index 13dad6cfc9..d1db4e9bfa 100644 --- a/test_napi/common.js +++ b/test_napi/common.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. export { assert, diff --git a/test_napi/numbers_test.js b/test_napi/numbers_test.js index 2f778285a8..869fd2eaed 100644 --- a/test_napi/numbers_test.js +++ b/test_napi/numbers_test.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { assertEquals, loadTestLibrary } from "./common.js"; diff --git a/test_napi/object_wrap_test.js b/test_napi/object_wrap_test.js index 2263894cd9..2522a8e6cc 100644 --- a/test_napi/object_wrap_test.js +++ b/test_napi/object_wrap_test.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { assertEquals, loadTestLibrary } from "./common.js"; diff --git a/test_napi/promise_test.js b/test_napi/promise_test.js index 86a3f134b1..ca2d1ae9bd 100644 --- a/test_napi/promise_test.js +++ b/test_napi/promise_test.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { assertEquals, assertRejects, loadTestLibrary } from "./common.js"; diff --git a/test_napi/properties_test.js b/test_napi/properties_test.js index b24c5649e1..78268ba157 100644 --- a/test_napi/properties_test.js +++ b/test_napi/properties_test.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { assertEquals, loadTestLibrary } from "./common.js"; diff --git a/test_napi/src/array.rs b/test_napi/src/array.rs index 767aa08b1c..adb2b426e1 100644 --- a/test_napi/src/array.rs +++ b/test_napi/src/array.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use napi_sys::Status::napi_ok; use napi_sys::ValueType::napi_number; diff --git a/test_napi/src/arraybuffer.rs b/test_napi/src/arraybuffer.rs index cf170e713c..ce50f914ff 100644 --- a/test_napi/src/arraybuffer.rs +++ b/test_napi/src/arraybuffer.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use napi_sys::Status::napi_ok; use napi_sys::*; diff --git a/test_napi/src/async.rs b/test_napi/src/async.rs index 53432de7cb..d825636e10 100644 --- a/test_napi/src/async.rs +++ b/test_napi/src/async.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use napi_sys::Status::napi_ok; use napi_sys::ValueType::napi_function; diff --git a/test_napi/src/callback.rs b/test_napi/src/callback.rs index bf60629134..4b97f1c0b1 100644 --- a/test_napi/src/callback.rs +++ b/test_napi/src/callback.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use napi_sys::Status::napi_ok; use napi_sys::ValueType::napi_function; diff --git a/test_napi/src/coerce.rs b/test_napi/src/coerce.rs index 611540fae5..edce7f7672 100644 --- a/test_napi/src/coerce.rs +++ b/test_napi/src/coerce.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use napi_sys::Status::napi_ok; use napi_sys::*; diff --git a/test_napi/src/lib.rs b/test_napi/src/lib.rs index c1a13f6e42..0bdea0280d 100644 --- a/test_napi/src/lib.rs +++ b/test_napi/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. #![allow(clippy::all)] #![allow(clippy::undocumented_unsafe_blocks)] diff --git a/test_napi/src/numbers.rs b/test_napi/src/numbers.rs index a6628af136..8808659f97 100644 --- a/test_napi/src/numbers.rs +++ b/test_napi/src/numbers.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use napi_sys::Status::napi_ok; use napi_sys::ValueType::napi_number; diff --git a/test_napi/src/object_wrap.rs b/test_napi/src/object_wrap.rs index 40189e01c5..bedb6d8525 100644 --- a/test_napi/src/object_wrap.rs +++ b/test_napi/src/object_wrap.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use napi_sys::Status::napi_ok; use napi_sys::ValueType::napi_number; diff --git a/test_napi/src/promise.rs b/test_napi/src/promise.rs index ebb9dedab2..02ea2f2375 100644 --- a/test_napi/src/promise.rs +++ b/test_napi/src/promise.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use napi_sys::Status::napi_ok; use napi_sys::*; diff --git a/test_napi/src/properties.rs b/test_napi/src/properties.rs index b245fd61d4..dafa9ef961 100644 --- a/test_napi/src/properties.rs +++ b/test_napi/src/properties.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use napi_sys::PropertyAttributes::*; use napi_sys::Status::napi_ok; diff --git a/test_napi/src/strings.rs b/test_napi/src/strings.rs index f4139c85ae..5029944dad 100644 --- a/test_napi/src/strings.rs +++ b/test_napi/src/strings.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use napi_sys::Status::napi_ok; use napi_sys::ValueType::napi_string; diff --git a/test_napi/src/typedarray.rs b/test_napi/src/typedarray.rs index f7d2e2f244..f8b5fd6746 100644 --- a/test_napi/src/typedarray.rs +++ b/test_napi/src/typedarray.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use core::ffi::c_void; use napi_sys::Status::napi_ok; diff --git a/test_napi/strings_test.js b/test_napi/strings_test.js index 20e95ba610..e2e3cb647f 100644 --- a/test_napi/strings_test.js +++ b/test_napi/strings_test.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { assertEquals, loadTestLibrary } from "./common.js"; diff --git a/test_napi/tests/napi_tests.rs b/test_napi/tests/napi_tests.rs index 41ec5c8512..1c0f59fdf6 100644 --- a/test_napi/tests/napi_tests.rs +++ b/test_napi/tests/napi_tests.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use std::process::Command; use test_util::deno_cmd; diff --git a/test_napi/typedarray_test.js b/test_napi/typedarray_test.js index a3c7322f75..3cd084dc87 100644 --- a/test_napi/typedarray_test.js +++ b/test_napi/typedarray_test.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { assertEquals, loadTestLibrary } from "./common.js"; diff --git a/test_util/Cargo.toml b/test_util/Cargo.toml index a2b2626f83..1f47aa4638 100644 --- a/test_util/Cargo.toml +++ b/test_util/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +# Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. [package] name = "test_util" diff --git a/test_util/src/lib.rs b/test_util/src/lib.rs index e221d57e50..99927de100 100644 --- a/test_util/src/lib.rs +++ b/test_util/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // Usage: provide a port as argument to run hyper_hello benchmark server // otherwise this starts multiple servers on many ports for test endpoints. use anyhow::anyhow; diff --git a/test_util/src/lsp.rs b/test_util/src/lsp.rs index c1e4c875aa..46bda4bb74 100644 --- a/test_util/src/lsp.rs +++ b/test_util/src/lsp.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use crate::npm_registry_url; use crate::std_file_url; diff --git a/test_util/src/test_server.rs b/test_util/src/test_server.rs index 8678d92a7a..6d48512153 100644 --- a/test_util/src/test_server.rs +++ b/test_util/src/test_server.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. fn main() { test_util::run_all_servers(); diff --git a/tools/build_benchmark_jsons.js b/tools/build_benchmark_jsons.js index d281e70428..ee424c6809 100755 --- a/tools/build_benchmark_jsons.js +++ b/tools/build_benchmark_jsons.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { buildPath, existsSync, join } from "./util.js"; const currentDataFile = join(buildPath(), "bench.json"); diff --git a/tools/flamebench.js b/tools/flamebench.js index 7c79bd10fc..e471d2891e 100755 --- a/tools/flamebench.js +++ b/tools/flamebench.js @@ -1,5 +1,5 @@ #!/usr/bin/env -S deno run --unstable --allow-read --allow-run -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { join, ROOT_PATH as ROOT } from "./util.js"; async function bashOut(subcmd) { diff --git a/tools/format.js b/tools/format.js index b13159613a..223eb1b0d4 100755 --- a/tools/format.js +++ b/tools/format.js @@ -1,5 +1,5 @@ #!/usr/bin/env -S deno run --unstable --allow-write --allow-read --allow-run -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { getPrebuiltToolPath, join, ROOT_PATH } from "./util.js"; async function dprint() { diff --git a/tools/lint.js b/tools/lint.js index baa1e9c3c0..c460951f5d 100755 --- a/tools/lint.js +++ b/tools/lint.js @@ -1,5 +1,5 @@ #!/usr/bin/env -S deno run --unstable --allow-write --allow-read --allow-run -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { buildMode, getPrebuiltToolPath, diff --git a/tools/napi/generate_symbols_lists.js b/tools/napi/generate_symbols_lists.js index 2da9ccff79..9c334c00c7 100755 --- a/tools/napi/generate_symbols_lists.js +++ b/tools/napi/generate_symbols_lists.js @@ -1,5 +1,5 @@ #!/usr/bin/env -S deno run --unstable --allow-read --allow-write -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import exports from "../../cli/napi/sym/symbol_exports.json" assert { type: "json", diff --git a/tools/release/00_start_release.ts b/tools/release/00_start_release.ts index b98fc147f7..1e61c3aa51 100755 --- a/tools/release/00_start_release.ts +++ b/tools/release/00_start_release.ts @@ -1,5 +1,5 @@ #!/usr/bin/env -S deno run -A --quiet --lock=tools/deno.lock.json -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { $, createOctoKit, semver } from "./deps.ts"; const currentDirPath = $.path.dirname($.path.fromFileUrl(import.meta.url)); diff --git a/tools/release/01_bump_crate_versions.ts b/tools/release/01_bump_crate_versions.ts index 75daaf3f55..50d2cc5b23 100755 --- a/tools/release/01_bump_crate_versions.ts +++ b/tools/release/01_bump_crate_versions.ts @@ -1,5 +1,5 @@ #!/usr/bin/env -S deno run -A --lock=tools/deno.lock.json -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { DenoWorkspace } from "./deno_workspace.ts"; import { $, GitLogOutput, semver } from "./deps.ts"; diff --git a/tools/release/02_create_pr.ts b/tools/release/02_create_pr.ts index 18c1bc582c..619c7081e1 100755 --- a/tools/release/02_create_pr.ts +++ b/tools/release/02_create_pr.ts @@ -1,5 +1,5 @@ #!/usr/bin/env -S deno run -A --lock=tools/deno.lock.json -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { DenoWorkspace } from "./deno_workspace.ts"; import { $, createOctoKit, getGitHubRepository } from "./deps.ts"; diff --git a/tools/release/03_publish_crates.ts b/tools/release/03_publish_crates.ts index 4e149d3b9c..606f6dc18a 100755 --- a/tools/release/03_publish_crates.ts +++ b/tools/release/03_publish_crates.ts @@ -1,5 +1,5 @@ #!/usr/bin/env -S deno run -A --lock=tools/deno.lock.json -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { DenoWorkspace } from "./deno_workspace.ts"; import { $, getCratesPublishOrder } from "./deps.ts"; diff --git a/tools/release/04_post_publish.ts b/tools/release/04_post_publish.ts index 03b005db5b..deadac80b8 100755 --- a/tools/release/04_post_publish.ts +++ b/tools/release/04_post_publish.ts @@ -1,5 +1,5 @@ #!/usr/bin/env -S deno run -A --lock=tools/deno.lock.json -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { DenoWorkspace } from "./deno_workspace.ts"; import { $, createOctoKit, getGitHubRepository } from "./deps.ts"; diff --git a/tools/release/05_create_release_notes.ts b/tools/release/05_create_release_notes.ts index 26667b5efc..f3dba984a0 100755 --- a/tools/release/05_create_release_notes.ts +++ b/tools/release/05_create_release_notes.ts @@ -1,5 +1,5 @@ #!/usr/bin/env -S deno run -A --lock=tools/deno.lock.json -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { $ } from "./deps.ts"; import { DenoWorkspace } from "./deno_workspace.ts"; diff --git a/tools/release/deno_workspace.ts b/tools/release/deno_workspace.ts index 892986ac04..7485ff02a0 100644 --- a/tools/release/deno_workspace.ts +++ b/tools/release/deno_workspace.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { $, ReleasesMdFile, Repo } from "./deps.ts"; diff --git a/tools/release/deps.ts b/tools/release/deps.ts index 976a837330..7b7a768ff0 100644 --- a/tools/release/deps.ts +++ b/tools/release/deps.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. export * from "https://raw.githubusercontent.com/denoland/automation/0.16.0/mod.ts"; export * from "https://raw.githubusercontent.com/denoland/automation/0.16.0/github_actions.ts"; diff --git a/tools/util.js b/tools/util.js index 49279df583..ce3ea65d45 100644 --- a/tools/util.js +++ b/tools/util.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { dirname, fromFileUrl, diff --git a/tools/wgpu_sync.js b/tools/wgpu_sync.js index 7548c55151..ba32670425 100755 --- a/tools/wgpu_sync.js +++ b/tools/wgpu_sync.js @@ -1,5 +1,5 @@ #!/usr/bin/env -S deno run --unstable --allow-read --allow-write --allow-run -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { join, ROOT_PATH } from "./util.js"; diff --git a/tools/wpt.ts b/tools/wpt.ts index b1067655cd..5cd97ac39a 100755 --- a/tools/wpt.ts +++ b/tools/wpt.ts @@ -1,5 +1,5 @@ #!/usr/bin/env -S deno run --unstable --allow-write --allow-read --allow-net --allow-env --allow-run -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // This script is used to run WPT tests for Deno. diff --git a/tools/wpt/runner.ts b/tools/wpt/runner.ts index 517ce42b5d..ce6d418418 100644 --- a/tools/wpt/runner.ts +++ b/tools/wpt/runner.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { delay, join, ROOT_PATH, TextLineStream, toFileUrl } from "../util.js"; import { assert, denoBinary, ManifestTestOptions, runPy } from "./utils.ts"; import { DOMParser } from "https://deno.land/x/deno_dom@v0.1.3-alpha2/deno-dom-wasm.ts"; diff --git a/tools/wpt/testharnessreport.js b/tools/wpt/testharnessreport.js index a07c916c71..0da8d97dc2 100644 --- a/tools/wpt/testharnessreport.js +++ b/tools/wpt/testharnessreport.js @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. window.add_result_callback(({ message, name, stack, status }) => { const data = new TextEncoder().encode( diff --git a/tools/wpt/utils.ts b/tools/wpt/utils.ts index 7614a0c553..47cb8c5ec3 100644 --- a/tools/wpt/utils.ts +++ b/tools/wpt/utils.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. /// FLAGS import { parse } from "../../test_util/std/flags/mod.ts";