From 687dad7c9d64ee0b6aac716122404ff474bcd16e Mon Sep 17 00:00:00 2001 From: David Sherret Date: Thu, 2 Jan 2025 17:38:49 -0500 Subject: [PATCH] chore: add a blankline after copyright header and bump year (#1008) Prevents auto-use from inserting before the copyright. --- Cargo.toml | 2 +- LICENSE.md | 2 +- core/00_infra.js | 2 +- core/00_primordials.js | 2 +- core/01_core.js | 2 +- core/Cargo.toml | 2 +- core/arena/mod.rs | 3 ++- core/arena/raw_arena.rs | 3 ++- core/arena/shared_arena.rs | 3 ++- core/arena/shared_atomic_arena.rs | 3 ++- core/arena/unique_arena.rs | 3 ++- core/async_cancel.rs | 2 +- core/async_cell.rs | 2 +- core/benches/infra/arena.rs | 3 ++- core/benches/ops/async.rs | 3 ++- core/benches/ops/async_harness.js | 2 +- core/benches/ops/opset.rs | 3 ++- core/benches/ops/sync.rs | 3 ++- core/benches/ops/sync_harness.js | 2 +- core/benches/snapshot/file.js | 2 +- core/benches/snapshot/file2.js | 2 +- core/benches/snapshot/snapshot.rs | 3 ++- core/convert.rs | 2 +- core/core.d.ts | 2 +- core/cppgc.rs | 2 +- core/error.rs | 2 +- core/error_codes.rs | 2 +- core/examples/disable_ops.rs | 2 +- core/examples/eval_js_value.rs | 2 +- core/examples/hello_world.rs | 2 +- core/examples/op2.js | 3 ++- core/examples/op2.rs | 3 ++- core/examples/snapshot/Cargo.toml | 2 +- core/examples/snapshot/build.rs | 3 ++- core/examples/snapshot/example.js | 2 +- core/examples/snapshot/src/main.rs | 3 ++- core/examples/snapshot/src/runtime.js | 2 +- core/examples/snapshot/tests/output.rs | 2 +- core/examples/ts_module_loader.rs | 2 +- core/examples/wasm.js | 2 +- core/examples/wasm.ts | 2 +- core/extension_set.rs | 3 ++- core/extensions.rs | 3 ++- core/external.rs | 3 ++- core/fast_string.rs | 2 +- core/feature_checker.rs | 2 +- core/flags.rs | 2 +- core/gotham_state.rs | 2 +- core/inspector.rs | 2 +- core/io/buffer_strategy.rs | 2 +- core/io/buffers.rs | 3 ++- core/io/mod.rs | 2 +- core/io/resource.rs | 2 +- core/io/resource_handle.rs | 3 ++- core/io/resource_table.rs | 3 ++- core/lib.rs | 2 +- core/mod.js | 2 +- core/module_specifier.rs | 2 +- core/modules/loaders.rs | 3 ++- core/modules/map.rs | 3 ++- core/modules/mod.rs | 3 ++- core/modules/module_map_data.rs | 3 ++- core/modules/recursive_load.rs | 3 ++- core/modules/testdata/lazy_loaded.js | 2 +- core/modules/tests.rs | 2 +- core/normalize_path.rs | 2 +- core/ops.rs | 2 +- core/ops_builtin.rs | 3 ++- core/ops_builtin_types.rs | 3 ++- core/ops_builtin_v8.rs | 3 ++- core/ops_metrics.rs | 2 +- core/rebuild_async_stubs.js | 2 +- core/resources.rs | 2 +- core/runtime/bindings.rs | 3 ++- core/runtime/exception_state.rs | 3 ++- core/runtime/jsrealm.rs | 3 ++- core/runtime/jsruntime.rs | 3 ++- core/runtime/mod.rs | 3 ++- core/runtime/op_driver/erased_future.rs | 3 ++- core/runtime/op_driver/future_arena.rs | 3 ++- core/runtime/op_driver/futures_unordered_driver.rs | 3 ++- core/runtime/op_driver/mod.rs | 3 ++- core/runtime/op_driver/op_results.rs | 3 ++- core/runtime/ops.rs | 3 ++- core/runtime/ops_rust_to_v8.rs | 2 +- core/runtime/setup.rs | 2 +- core/runtime/snapshot.rs | 2 +- core/runtime/stats.rs | 3 ++- core/runtime/tests/error.rs | 3 ++- core/runtime/tests/error_builder_test.js | 2 +- core/runtime/tests/jsrealm.rs | 3 ++- core/runtime/tests/misc.rs | 3 ++- core/runtime/tests/mod.rs | 3 ++- core/runtime/tests/ops.rs | 2 +- core/runtime/tests/snapshot.rs | 3 ++- core/runtime/v8_static_strings.rs | 3 ++- core/source_map.rs | 2 +- core/tasks.rs | 2 +- core/web_timeout.rs | 3 ++- core/webidl.rs | 2 +- dcore/Cargo.toml | 2 +- dcore/build.rs | 3 ++- dcore/src/inspector_server.rs | 2 +- dcore/src/main.rs | 2 +- dcore/src/metrics.rs | 2 +- ops/Cargo.toml | 2 +- ops/compile_test_runner/Cargo.toml | 2 +- ops/compile_test_runner/src/lib.rs | 3 ++- ops/lib.rs | 3 ++- ops/op2/config.rs | 3 ++- ops/op2/dispatch_async.rs | 3 ++- ops/op2/dispatch_fast.rs | 3 ++- ops/op2/dispatch_shared.rs | 3 ++- ops/op2/dispatch_slow.rs | 3 ++- ops/op2/generator_state.rs | 3 ++- ops/op2/mod.rs | 6 ++++-- ops/op2/object_wrap.rs | 2 +- ops/op2/signature.rs | 3 ++- ops/op2/signature_retval.rs | 3 ++- ops/op2/test_cases/async/async_arg_return.rs | 3 ++- ops/op2/test_cases/async/async_arg_return_result.rs | 3 ++- ops/op2/test_cases/async/async_cppgc.rs | 3 ++- ops/op2/test_cases/async/async_deferred.rs | 3 ++- ops/op2/test_cases/async/async_jsbuffer.rs | 3 ++- ops/op2/test_cases/async/async_lazy.rs | 3 ++- ops/op2/test_cases/async/async_op_metadata.rs | 3 ++- ops/op2/test_cases/async/async_opstate.rs | 3 ++- ops/op2/test_cases/async/async_result.rs | 3 ++- ops/op2/test_cases/async/async_result_impl.rs | 3 ++- ops/op2/test_cases/async/async_result_smi.rs | 3 ++- ops/op2/test_cases/async/async_stack_trace.rs | 3 ++- ops/op2/test_cases/async/async_v8_global.rs | 3 ++- ops/op2/test_cases/async/async_void.rs | 3 ++- ops/op2/test_cases/compiler_pass/async.rs | 3 ++- ops/op2/test_cases/compiler_pass/sync.rs | 3 ++- ops/op2/test_cases/sync/add.rs | 3 ++- ops/op2/test_cases/sync/add_options.rs | 3 ++- ops/op2/test_cases/sync/bigint.rs | 3 ++- ops/op2/test_cases/sync/bool.rs | 3 ++- ops/op2/test_cases/sync/bool_result.rs | 3 ++- ops/op2/test_cases/sync/buffers.rs | 3 ++- ops/op2/test_cases/sync/buffers_copy.rs | 3 ++- ops/op2/test_cases/sync/buffers_out.rs | 3 ++- ops/op2/test_cases/sync/cfg.rs | 3 ++- ops/op2/test_cases/sync/clippy_allow.rs | 3 ++- ops/op2/test_cases/sync/cppgc_resource.rs | 3 ++- ops/op2/test_cases/sync/doc_comment.rs | 3 ++- ops/op2/test_cases/sync/fast_alternative.rs | 3 ++- ops/op2/test_cases/sync/from_v8.rs | 3 ++- ops/op2/test_cases/sync/generics.rs | 3 ++- ops/op2/test_cases/sync/nofast.rs | 3 ++- ops/op2/test_cases/sync/object_wrap.rs | 3 ++- ops/op2/test_cases/sync/op_state_attr.rs | 3 ++- ops/op2/test_cases/sync/op_state_rc.rs | 3 ++- ops/op2/test_cases/sync/op_state_ref.rs | 3 ++- ops/op2/test_cases/sync/result_external.rs | 3 ++- ops/op2/test_cases/sync/result_primitive.rs | 3 ++- ops/op2/test_cases/sync/result_scope.rs | 3 ++- ops/op2/test_cases/sync/result_void.rs | 3 ++- ops/op2/test_cases/sync/serde_v8.rs | 3 ++- ops/op2/test_cases/sync/smi.rs | 3 ++- ops/op2/test_cases/sync/stack_trace.rs | 3 ++- ops/op2/test_cases/sync/stack_trace_scope.rs | 3 ++- ops/op2/test_cases/sync/string_cow.rs | 3 ++- ops/op2/test_cases/sync/string_onebyte.rs | 3 ++- ops/op2/test_cases/sync/string_option_return.rs | 3 ++- ops/op2/test_cases/sync/string_owned.rs | 3 ++- ops/op2/test_cases/sync/string_ref.rs | 3 ++- ops/op2/test_cases/sync/string_return.rs | 3 ++- ops/op2/test_cases/sync/to_v8.rs | 3 ++- ops/op2/test_cases/sync/v8_global.rs | 3 ++- ops/op2/test_cases/sync/v8_handlescope.rs | 3 ++- ops/op2/test_cases/sync/v8_lifetime.rs | 3 ++- ops/op2/test_cases/sync/v8_ref_option.rs | 3 ++- ops/op2/test_cases/sync/v8_string.rs | 3 ++- ops/op2/test_cases/sync/webidl.rs | 3 ++- ops/op2/test_cases_fail/lifetimes.rs | 2 +- ops/webidl/dictionary.rs | 2 +- ops/webidl/enum.rs | 2 +- ops/webidl/mod.rs | 5 +++-- ops/webidl/test_cases/dict.rs | 3 ++- ops/webidl/test_cases/enum.rs | 3 ++- ops/webidl/test_cases_fail/enum_fields.rs | 3 ++- ops/webidl/test_cases_fail/enum_fields.stderr | 4 ++-- serde_v8/Cargo.toml | 2 +- serde_v8/de.rs | 3 ++- serde_v8/error.rs | 3 ++- serde_v8/examples/basic.rs | 3 ++- serde_v8/keys.rs | 3 ++- serde_v8/lib.rs | 3 ++- serde_v8/magic/any_value.rs | 3 ++- serde_v8/magic/bigint.rs | 2 +- serde_v8/magic/buffer.rs | 2 +- serde_v8/magic/bytestring.rs | 2 +- serde_v8/magic/detached_buffer.rs | 2 +- serde_v8/magic/external_pointer.rs | 2 +- serde_v8/magic/global_value.rs | 3 ++- serde_v8/magic/mod.rs | 3 ++- serde_v8/magic/string_or_buffer.rs | 3 ++- serde_v8/magic/transl8.rs | 2 +- serde_v8/magic/u16string.rs | 2 +- serde_v8/magic/v8slice.rs | 2 +- serde_v8/magic/value.rs | 3 ++- serde_v8/payload.rs | 2 +- serde_v8/ser.rs | 3 ++- serde_v8/tests/de.rs | 3 ++- serde_v8/tests/magic.rs | 3 ++- serde_v8/tests/ser.rs | 3 ++- serde_v8/utilities/Cargo.toml | 2 +- serde_v8/utilities/lib.rs | 3 ++- testing/Cargo.toml | 2 +- testing/checkin.d.ts | 2 +- testing/checkin/mod.rs | 3 ++- testing/checkin/runner/extensions.rs | 3 ++- testing/checkin/runner/mod.rs | 3 ++- testing/checkin/runner/ops.rs | 3 ++- testing/checkin/runner/ops_async.rs | 2 +- testing/checkin/runner/ops_buffer.rs | 3 ++- testing/checkin/runner/ops_error.rs | 3 ++- testing/checkin/runner/ops_io.rs | 3 ++- testing/checkin/runner/ops_worker.rs | 3 ++- testing/checkin/runner/snapshot.rs | 3 ++- testing/checkin/runner/testing.rs | 3 ++- testing/checkin/runner/ts_module_loader.rs | 2 +- testing/checkin/runtime/__init.js | 2 +- testing/checkin/runtime/async.ts | 2 +- testing/checkin/runtime/console.ts | 2 +- testing/checkin/runtime/error.ts | 2 +- testing/checkin/runtime/object.ts | 2 +- testing/checkin/runtime/testing.ts | 2 +- testing/checkin/runtime/throw.ts | 2 +- testing/checkin/runtime/timers.ts | 2 +- testing/checkin/runtime/worker.ts | 2 +- .../builtin_console_test/builtin_console_test.ts | 2 +- testing/integration/dyn_import_circular/a.js | 2 +- testing/integration/dyn_import_circular/b.js | 2 +- testing/integration/dyn_import_circular/c.js | 2 +- testing/integration/dyn_import_circular/d.js | 2 +- .../dyn_import_circular/dyn_import_circular.ts | 2 +- .../integration/dyn_import_no_hang/dyn_import_no_hang.js | 2 +- testing/integration/dyn_import_no_hang/dynamic.js | 2 +- testing/integration/dyn_import_op/dyn_import_op.js | 2 +- testing/integration/dyn_import_op/dynamic.js | 2 +- testing/integration/dyn_import_op/main.js | 2 +- .../integration/error_async_stack/error_async_stack.js | 2 +- testing/integration/error_callsite/error_callsite.ts | 2 +- testing/integration/error_eval_stack/error_eval_stack.ts | 2 +- testing/integration/error_ext_stack/error_ext_stack.ts | 2 +- .../error_get_file_name/error_get_file_name.ts | 2 +- .../error_get_file_name_to_string.ts | 2 +- .../error_get_script_name_or_source_url.ts | 2 +- .../error_non_existent_eval_source.ts | 2 +- .../error_prepare_stack_trace.ts | 2 +- .../error_prepare_stack_trace_crash.js | 2 +- .../error_rejection_catch/error_rejection_catch.ts | 2 +- .../error_rejection_order/error_rejection_order.ts | 2 +- testing/integration/error_with_stack/error_with_stack.ts | 2 +- .../error_without_stack/error_without_stack.js | 2 +- testing/integration/import_sync/async.js | 2 +- testing/integration/import_sync/import_sync.ts | 2 +- testing/integration/import_sync/sync.js | 2 +- .../import_sync_existing/import_sync_existing.ts | 2 +- testing/integration/import_sync_existing/sync.js | 2 +- .../main_module_handler/main_module_handler.js | 2 +- testing/integration/module_types/module_types.ts | 2 +- testing/integration/module_types/test.bin.ts | 2 +- testing/integration/module_types/test.txt.ts | 2 +- .../pending_unref_op_tla/pending_unref_op_tla.ts | 2 +- testing/integration/smoke_test/smoke_test.ts | 2 +- testing/integration/timer_many/timer_many.ts | 2 +- testing/integration/timer_ref/timer_ref.ts | 2 +- .../timer_ref_and_cancel/timer_ref_and_cancel.ts | 2 +- testing/integration/ts_types/decorator.ts | 2 +- testing/integration/ts_types/ts_types.ts | 2 +- testing/integration/ts_types/which.ts | 2 +- .../user_breaks_promise_constructor.ts | 2 +- .../user_breaks_promise_species.ts | 2 +- testing/integration/wasm_imports/wasm_imports.js | 2 +- testing/integration/worker_spawn/worker.ts | 2 +- testing/integration/worker_spawn/worker_spawn.ts | 2 +- testing/integration/worker_terminate/worker.ts | 2 +- testing/integration/worker_terminate/worker_terminate.ts | 2 +- testing/integration/worker_terminate_op/worker.ts | 2 +- .../worker_terminate_op/worker_terminate_op.ts | 2 +- testing/lib.rs | 2 +- testing/ops.d.ts | 2 +- testing/unit/encode_decode_test.ts | 2 +- testing/unit/error_test.ts | 2 +- testing/unit/microtask_test.ts | 2 +- testing/unit/ops_async_test.ts | 2 +- testing/unit/ops_buffer_test.ts | 2 +- testing/unit/resource_test.ts | 2 +- testing/unit/serialize_deserialize_test.ts | 2 +- testing/unit/stats_test.ts | 2 +- testing/unit/task_test.ts | 2 +- testing/unit/tc39_test.ts | 2 +- testing/unit/test_test.ts | 2 +- testing/unit/timer_test.ts | 2 +- testing/unit/type_test.ts | 2 +- tools/check.ts | 2 +- tools/copyright_checker.js | 8 ++++---- tools/create_pr_for_release.ts | 2 +- tools/deno_core_workspace.ts | 2 +- tools/deps.ts | 2 +- tools/format.ts | 2 +- tools/lint.ts | 2 +- tools/publish_dry_run.ts | 2 +- tools/util.js | 2 +- 308 files changed, 460 insertions(+), 314 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 2a6865bb2..ee7aaf9ea 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +# Copyright 2018-2025 the Deno authors. MIT license. [workspace] resolver = "2" diff --git a/LICENSE.md b/LICENSE.md index 56753af36..406ae0936 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -1,6 +1,6 @@ MIT License -Copyright 2018-2024 the Deno authors +Copyright 2018-2025 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/core/00_infra.js b/core/00_infra.js index b57358f57..ad13de67e 100644 --- a/core/00_infra.js +++ b/core/00_infra.js @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. "use strict"; ((window) => { diff --git a/core/00_primordials.js b/core/00_primordials.js index 1afbb0552..2fc004680 100644 --- a/core/00_primordials.js +++ b/core/00_primordials.js @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. 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 4f6f8e5e1..19f054d85 100644 --- a/core/01_core.js +++ b/core/01_core.js @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. "use strict"; ((window) => { diff --git a/core/Cargo.toml b/core/Cargo.toml index fe92837ca..31e25af32 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +# Copyright 2018-2025 the Deno authors. MIT license. [package] name = "deno_core" diff --git a/core/arena/mod.rs b/core/arena/mod.rs index dbd4ac2be..740aee6b5 100644 --- a/core/arena/mod.rs +++ b/core/arena/mod.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + mod raw_arena; mod shared_arena; mod shared_atomic_arena; diff --git a/core/arena/raw_arena.rs b/core/arena/raw_arena.rs index a5d1f5721..502bfa45d 100644 --- a/core/arena/raw_arena.rs +++ b/core/arena/raw_arena.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + use std::alloc::Layout; use std::cell::Cell; use std::mem::ManuallyDrop; diff --git a/core/arena/shared_arena.rs b/core/arena/shared_arena.rs index c91015786..79c526b35 100644 --- a/core/arena/shared_arena.rs +++ b/core/arena/shared_arena.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + use std::alloc::Layout; use std::cell::Cell; use std::ptr::NonNull; diff --git a/core/arena/shared_atomic_arena.rs b/core/arena/shared_atomic_arena.rs index 1c8f15c91..136f60065 100644 --- a/core/arena/shared_atomic_arena.rs +++ b/core/arena/shared_atomic_arena.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + use std::alloc::Layout; use std::ptr::NonNull; use std::sync::atomic::AtomicUsize; diff --git a/core/arena/unique_arena.rs b/core/arena/unique_arena.rs index 8d8e16ca5..7239023bb 100644 --- a/core/arena/unique_arena.rs +++ b/core/arena/unique_arena.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + use std::alloc::Layout; use std::future::Future; use std::pin::Pin; diff --git a/core/async_cancel.rs b/core/async_cancel.rs index 72d854845..53128a726 100644 --- a/core/async_cancel.rs +++ b/core/async_cancel.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. use std::any::type_name; use std::borrow::Cow; diff --git a/core/async_cell.rs b/core/async_cell.rs index 5f6a35c25..f7d34221c 100644 --- a/core/async_cell.rs +++ b/core/async_cell.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. use std::any::type_name; use std::any::Any; diff --git a/core/benches/infra/arena.rs b/core/benches/infra/arena.rs index 5ad8353e6..8eddf7df0 100644 --- a/core/benches/infra/arena.rs +++ b/core/benches/infra/arena.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + #![allow(clippy::needless_range_loop)] use bencher::benchmark_group; use bencher::benchmark_main; diff --git a/core/benches/ops/async.rs b/core/benches/ops/async.rs index a72da5378..ed59df46c 100644 --- a/core/benches/ops/async.rs +++ b/core/benches/ops/async.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + use bencher::*; use deno_core::error::generic_error; use deno_core::*; diff --git a/core/benches/ops/async_harness.js b/core/benches/ops/async_harness.js index bab8fdf21..633ee4ff4 100644 --- a/core/benches/ops/async_harness.js +++ b/core/benches/ops/async_harness.js @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. // deno-lint-ignore-file no-unused-vars, prefer-const, require-await // This harness is dynamically generated for each individual bench run. diff --git a/core/benches/ops/opset.rs b/core/benches/ops/opset.rs index e2fbe4fe6..e6b79e104 100644 --- a/core/benches/ops/opset.rs +++ b/core/benches/ops/opset.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + use bencher::*; use futures::stream::FuturesOrdered; use futures::stream::FuturesUnordered; diff --git a/core/benches/ops/sync.rs b/core/benches/ops/sync.rs index 1c6405156..0470adc00 100644 --- a/core/benches/ops/sync.rs +++ b/core/benches/ops/sync.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + #![allow(deprecated)] use bencher::*; use deno_core::error::generic_error; diff --git a/core/benches/ops/sync_harness.js b/core/benches/ops/sync_harness.js index fb1d67746..76d5a6e7d 100644 --- a/core/benches/ops/sync_harness.js +++ b/core/benches/ops/sync_harness.js @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. // deno-lint-ignore-file no-unused-vars, prefer-const // This harness is dynamically generated for each individual bench run. diff --git a/core/benches/snapshot/file.js b/core/benches/snapshot/file.js index cad2a223e..03400720f 100644 --- a/core/benches/snapshot/file.js +++ b/core/benches/snapshot/file.js @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. import * as ops from "ext:core/ops"; export function unused() { diff --git a/core/benches/snapshot/file2.js b/core/benches/snapshot/file2.js index 3f191a9df..07901dc27 100644 --- a/core/benches/snapshot/file2.js +++ b/core/benches/snapshot/file2.js @@ -1,2 +1,2 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. export function ok() {} diff --git a/core/benches/snapshot/snapshot.rs b/core/benches/snapshot/snapshot.rs index 7e0b019b9..f91f751b7 100644 --- a/core/benches/snapshot/snapshot.rs +++ b/core/benches/snapshot/snapshot.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + use criterion::*; use deno_ast::MediaType; use deno_ast::ParseParams; diff --git a/core/convert.rs b/core/convert.rs index 067d2c48b..ac13c8a0a 100644 --- a/core/convert.rs +++ b/core/convert.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. use crate::error::StdAnyError; use crate::runtime::ops; diff --git a/core/core.d.ts b/core/core.d.ts index bc57cb727..c68a4c7cd 100644 --- a/core/core.d.ts +++ b/core/core.d.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. // deno-lint-ignore-file ban-types no-explicit-any diff --git a/core/cppgc.rs b/core/cppgc.rs index f30d9cd49..06d61cef9 100644 --- a/core/cppgc.rs +++ b/core/cppgc.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. use crate::runtime::SnapshotLoadDataStore; use crate::runtime::SnapshotStoreDataStore; diff --git a/core/error.rs b/core/error.rs index db2577508..8974fff11 100644 --- a/core/error.rs +++ b/core/error.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. use std::borrow::Cow; use std::collections::HashSet; diff --git a/core/error_codes.rs b/core/error_codes.rs index a5441b4b3..b63de927d 100644 --- a/core/error_codes.rs +++ b/core/error_codes.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. use anyhow::Error; diff --git a/core/examples/disable_ops.rs b/core/examples/disable_ops.rs index 45dc70d4d..8a2c34841 100644 --- a/core/examples/disable_ops.rs +++ b/core/examples/disable_ops.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. 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 30d41284a..255a78682 100644 --- a/core/examples/eval_js_value.rs +++ b/core/examples/eval_js_value.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. //! This example shows you how to evaluate JavaScript expression and deserialize //! return value into a Rust object. diff --git a/core/examples/hello_world.rs b/core/examples/hello_world.rs index 6e99349a7..3efac3f74 100644 --- a/core/examples/hello_world.rs +++ b/core/examples/hello_world.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. //! This example shows you how to define ops in Rust and then call them from //! JavaScript. diff --git a/core/examples/op2.js b/core/examples/op2.js index b59734a76..a8ef6450e 100644 --- a/core/examples/op2.js +++ b/core/examples/op2.js @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + globalThis.op2_sample = { "use_state": (f) => Deno.core.ops.op_use_state(f), }; diff --git a/core/examples/op2.rs b/core/examples/op2.rs index d91d0a259..bfb9bdd96 100644 --- a/core/examples/op2.rs +++ b/core/examples/op2.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + use anyhow::Context; use deno_core::anyhow::Error; use deno_core::*; diff --git a/core/examples/snapshot/Cargo.toml b/core/examples/snapshot/Cargo.toml index 386805bec..1d1047c1c 100644 --- a/core/examples/snapshot/Cargo.toml +++ b/core/examples/snapshot/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +# Copyright 2018-2025 the Deno authors. MIT license. # Note: Since Cargo "example" targets don't discover/use `build.rs` files, this # example is a member of the root `deno_core` workspace. That means it will # compile with `cargo build` in the root, so that this example/documentation diff --git a/core/examples/snapshot/build.rs b/core/examples/snapshot/build.rs index 9384e704e..f9cd4d1ec 100644 --- a/core/examples/snapshot/build.rs +++ b/core/examples/snapshot/build.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + use deno_core::extension; use deno_core::snapshot::create_snapshot; use deno_core::snapshot::CreateSnapshotOptions; diff --git a/core/examples/snapshot/example.js b/core/examples/snapshot/example.js index 800fd3eba..21dad74df 100644 --- a/core/examples/snapshot/example.js +++ b/core/examples/snapshot/example.js @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. // Run this script with `cargo run`. import { callRust } from "my:runtime"; diff --git a/core/examples/snapshot/src/main.rs b/core/examples/snapshot/src/main.rs index 639fbf456..afb8c377c 100644 --- a/core/examples/snapshot/src/main.rs +++ b/core/examples/snapshot/src/main.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + use std::env::current_dir; use std::rc::Rc; diff --git a/core/examples/snapshot/src/runtime.js b/core/examples/snapshot/src/runtime.js index f5179e112..2bfbe4768 100644 --- a/core/examples/snapshot/src/runtime.js +++ b/core/examples/snapshot/src/runtime.js @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. /** * This module provides the JavaScript interface atop calls to the Rust ops. */ diff --git a/core/examples/snapshot/tests/output.rs b/core/examples/snapshot/tests/output.rs index 4179e4a89..61e5f22ba 100644 --- a/core/examples/snapshot/tests/output.rs +++ b/core/examples/snapshot/tests/output.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. use core::str; use std::process::Command; diff --git a/core/examples/ts_module_loader.rs b/core/examples/ts_module_loader.rs index 338e1c6a2..294507622 100644 --- a/core/examples/ts_module_loader.rs +++ b/core/examples/ts_module_loader.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. 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 f904bd3b8..9e19f77ca 100644 --- a/core/examples/wasm.js +++ b/core/examples/wasm.js @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. const { ops } = Deno.core; diff --git a/core/examples/wasm.ts b/core/examples/wasm.ts index 8c9f88b6d..a13b38aa5 100644 --- a/core/examples/wasm.ts +++ b/core/examples/wasm.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. export declare function op_wasm(): void; export declare function op_wasm_mem(memory: externref): void; diff --git a/core/extension_set.rs b/core/extension_set.rs index 8989f34a3..efeb683ab 100644 --- a/core/extension_set.rs +++ b/core/extension_set.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + use std::cell::RefCell; use std::iter::Chain; use std::rc::Rc; diff --git a/core/extensions.rs b/core/extensions.rs index 98ce47288..e2864d992 100644 --- a/core/extensions.rs +++ b/core/extensions.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + use crate::modules::IntoModuleCodeString; use crate::modules::ModuleCodeString; use crate::ops::OpMetadata; diff --git a/core/external.rs b/core/external.rs index d79232fa5..385ed5056 100644 --- a/core/external.rs +++ b/core/external.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + use std::marker::PhantomData; use std::mem::ManuallyDrop; diff --git a/core/fast_string.rs b/core/fast_string.rs index ca3d44232..608c175be 100644 --- a/core/fast_string.rs +++ b/core/fast_string.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. use serde::Deserializer; use serde::Serializer; diff --git a/core/feature_checker.rs b/core/feature_checker.rs index 6c9dd63ef..6a84338a6 100644 --- a/core/feature_checker.rs +++ b/core/feature_checker.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. use std::collections::BTreeSet; use std::fmt::Debug; diff --git a/core/flags.rs b/core/flags.rs index 6dfccccab..8200a4fc1 100644 --- a/core/flags.rs +++ b/core/flags.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. /// Pass the command line arguments to v8. /// The first element of args (which usually corresponds to the binary name) is diff --git a/core/gotham_state.rs b/core/gotham_state.rs index fad5c3f99..34275f28f 100644 --- a/core/gotham_state.rs +++ b/core/gotham_state.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. 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 41cda590b..b29beec43 100644 --- a/core/inspector.rs +++ b/core/inspector.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. //! The documentation for the inspector API is sparse, but these are helpful: //! diff --git a/core/io/buffer_strategy.rs b/core/io/buffer_strategy.rs index 2306c0066..10b5b2560 100644 --- a/core/io/buffer_strategy.rs +++ b/core/io/buffer_strategy.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. /// Our standard buffer size if we don't know what else to do. const STANDARD_BUFFER_SIZE: usize = 64 * 1024; diff --git a/core/io/buffers.rs b/core/io/buffers.rs index 7be2ffa21..67cf05a17 100644 --- a/core/io/buffers.rs +++ b/core/io/buffers.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + use bytes::Buf; use bytes::BytesMut; use serde_v8::JsBuffer; diff --git a/core/io/mod.rs b/core/io/mod.rs index a24d1150b..b73564a99 100644 --- a/core/io/mod.rs +++ b/core/io/mod.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. 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/io/resource.rs b/core/io/resource.rs index c4796e151..1d5f6ebfd 100644 --- a/core/io/resource.rs +++ b/core/io/resource.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. 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/io/resource_handle.rs b/core/io/resource_handle.rs index 373d73ce6..28a028368 100644 --- a/core/io/resource_handle.rs +++ b/core/io/resource_handle.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + use std::io::IsTerminal; /// Represents an underlying handle for a platform. On unix, everything is an `fd`. On Windows, everything diff --git a/core/io/resource_table.rs b/core/io/resource_table.rs index 49157d20d..02ba3c46b 100644 --- a/core/io/resource_table.rs +++ b/core/io/resource_table.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + use super::Resource; use super::ResourceHandle; use super::ResourceHandleFd; diff --git a/core/lib.rs b/core/lib.rs index 344465ad9..82821fd11 100644 --- a/core/lib.rs +++ b/core/lib.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. #![deny(clippy::print_stderr)] #![deny(clippy::print_stdout)] diff --git a/core/mod.js b/core/mod.js index bafbddb65..df7fb735c 100644 --- a/core/mod.js +++ b/core/mod.js @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. // Re-export fields from `globalThis.__bootstrap` so that embedders using // ES modules can import these symbols instead of capturing the bootstrap ns. const bootstrap = globalThis.__bootstrap; diff --git a/core/module_specifier.rs b/core/module_specifier.rs index 1e074f05c..bf534eeb5 100644 --- a/core/module_specifier.rs +++ b/core/module_specifier.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. use crate::normalize_path; use std::error::Error; diff --git a/core/modules/loaders.rs b/core/modules/loaders.rs index d811db3ca..89c3d562f 100644 --- a/core/modules/loaders.rs +++ b/core/modules/loaders.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + use crate::error::generic_error; use crate::extensions::ExtensionFileSource; use crate::module_specifier::ModuleSpecifier; diff --git a/core/modules/map.rs b/core/modules/map.rs index f387db92c..aefffa4c0 100644 --- a/core/modules/map.rs +++ b/core/modules/map.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + use super::module_map_data::ModuleMapSnapshotData; use super::IntoModuleCodeString; use super::IntoModuleName; diff --git a/core/modules/mod.rs b/core/modules/mod.rs index e8eefe1d6..7d92f98a8 100644 --- a/core/modules/mod.rs +++ b/core/modules/mod.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + use crate::error::exception_to_err_result; use crate::error::AnyError; use crate::fast_string::FastString; diff --git a/core/modules/module_map_data.rs b/core/modules/module_map_data.rs index cc2b84e22..0625a3e9d 100644 --- a/core/modules/module_map_data.rs +++ b/core/modules/module_map_data.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + use super::RequestedModuleType; use crate::fast_string::FastString; use crate::modules::ModuleId; diff --git a/core/modules/recursive_load.rs b/core/modules/recursive_load.rs index 2dcda017d..cfeb7f910 100644 --- a/core/modules/recursive_load.rs +++ b/core/modules/recursive_load.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + use crate::module_specifier::ModuleSpecifier; use crate::modules::map::ModuleMap; use crate::modules::ModuleError; diff --git a/core/modules/testdata/lazy_loaded.js b/core/modules/testdata/lazy_loaded.js index a207ead69..e2769e494 100644 --- a/core/modules/testdata/lazy_loaded.js +++ b/core/modules/testdata/lazy_loaded.js @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. export const foo = "foo"; export const bar = 123; export function blah(a) { diff --git a/core/modules/tests.rs b/core/modules/tests.rs index ae19a130c..9c4e808b0 100644 --- a/core/modules/tests.rs +++ b/core/modules/tests.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. #![allow(clippy::print_stderr)] diff --git a/core/normalize_path.rs b/core/normalize_path.rs index 0aaeb4f21..04038037d 100644 --- a/core/normalize_path.rs +++ b/core/normalize_path.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. use std::path::Component; use std::path::Path; diff --git a/core/ops.rs b/core/ops.rs index 57e8e5cd5..567ddbbe3 100644 --- a/core/ops.rs +++ b/core/ops.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. use crate::error::GetErrorClassFn; use crate::error::JsStackFrame; diff --git a/core/ops_builtin.rs b/core/ops_builtin.rs index 3c20ff6aa..3fb9aef18 100644 --- a/core/ops_builtin.rs +++ b/core/ops_builtin.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + use crate::error::exception_to_err_result; use crate::error::format_file_name; use crate::error::generic_error; diff --git a/core/ops_builtin_types.rs b/core/ops_builtin_types.rs index 85d02ba33..759ef58a3 100644 --- a/core/ops_builtin_types.rs +++ b/core/ops_builtin_types.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + use crate::op2; #[op2(fast, no_side_effects)] diff --git a/core/ops_builtin_v8.rs b/core/ops_builtin_v8.rs index 88cc73b87..53b4017fb 100644 --- a/core/ops_builtin_v8.rs +++ b/core/ops_builtin_v8.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + use crate::error::custom_error; use crate::error::is_instance_of_error; use crate::error::range_error; diff --git a/core/ops_metrics.rs b/core/ops_metrics.rs index fbcd43e23..11041e651 100644 --- a/core/ops_metrics.rs +++ b/core/ops_metrics.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. use crate::ops::OpCtx; use crate::serde::Serialize; diff --git a/core/rebuild_async_stubs.js b/core/rebuild_async_stubs.js index de60f2e4c..e92d466e4 100755 --- a/core/rebuild_async_stubs.js +++ b/core/rebuild_async_stubs.js @@ -1,5 +1,5 @@ #!/usr/bin/env deno run --allow-read --allow-write -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. const doNotModify = "/* DO NOT MODIFY: use rebuild_async_stubs.js to regenerate */\n"; diff --git a/core/resources.rs b/core/resources.rs index 2df5a8041..2a4e80bef 100644 --- a/core/resources.rs +++ b/core/resources.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. 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/bindings.rs b/core/runtime/bindings.rs index 52995b06f..37798b724 100644 --- a/core/runtime/bindings.rs +++ b/core/runtime/bindings.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + use anyhow::Context; use std::collections::HashMap; use std::mem::MaybeUninit; diff --git a/core/runtime/exception_state.rs b/core/runtime/exception_state.rs index d04ae89c9..556d832f1 100644 --- a/core/runtime/exception_state.rs +++ b/core/runtime/exception_state.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + use crate::error::exception_to_err_result; use anyhow::Error; use std::cell::Cell; diff --git a/core/runtime/jsrealm.rs b/core/runtime/jsrealm.rs index fea30d845..531a46d66 100644 --- a/core/runtime/jsrealm.rs +++ b/core/runtime/jsrealm.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + use super::exception_state::ExceptionState; #[cfg(test)] use super::op_driver::OpDriver; diff --git a/core/runtime/jsruntime.rs b/core/runtime/jsruntime.rs index 70b5b5ec2..475326e45 100644 --- a/core/runtime/jsruntime.rs +++ b/core/runtime/jsruntime.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + use super::bindings; use super::bindings::create_exports_for_ops_virtual_module; use super::bindings::watch_promise; diff --git a/core/runtime/mod.rs b/core/runtime/mod.rs index f6616569e..c83a11dbd 100644 --- a/core/runtime/mod.rs +++ b/core/runtime/mod.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + pub(crate) mod bindings; pub(crate) mod exception_state; mod jsrealm; diff --git a/core/runtime/op_driver/erased_future.rs b/core/runtime/op_driver/erased_future.rs index 2399992b9..796fb7ad8 100644 --- a/core/runtime/op_driver/erased_future.rs +++ b/core/runtime/op_driver/erased_future.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + use std::future::Future; use std::marker::PhantomData; use std::marker::PhantomPinned; diff --git a/core/runtime/op_driver/future_arena.rs b/core/runtime/op_driver/future_arena.rs index 26c170102..7a5b2ea5e 100644 --- a/core/runtime/op_driver/future_arena.rs +++ b/core/runtime/op_driver/future_arena.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + use super::erased_future::TypeErased; use crate::arena::ArenaBox; use crate::arena::ArenaUnique; diff --git a/core/runtime/op_driver/futures_unordered_driver.rs b/core/runtime/op_driver/futures_unordered_driver.rs index 240abb1c1..b39e63f89 100644 --- a/core/runtime/op_driver/futures_unordered_driver.rs +++ b/core/runtime/op_driver/futures_unordered_driver.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + use super::future_arena::FutureAllocation; use super::future_arena::FutureArena; use super::op_results::*; diff --git a/core/runtime/op_driver/mod.rs b/core/runtime/op_driver/mod.rs index 4133ec18d..103fbd7f7 100644 --- a/core/runtime/op_driver/mod.rs +++ b/core/runtime/op_driver/mod.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + use crate::OpId; use crate::PromiseId; use anyhow::Error; diff --git a/core/runtime/op_driver/op_results.rs b/core/runtime/op_driver/op_results.rs index f4a19de69..3a4eb000c 100644 --- a/core/runtime/op_driver/op_results.rs +++ b/core/runtime/op_driver/op_results.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + use super::erased_future::TypeErased; use super::future_arena::FutureContextMapper; use crate::GetErrorClassFn; diff --git a/core/runtime/ops.rs b/core/runtime/ops.rs index b982e462d..c0e4b075d 100644 --- a/core/runtime/ops.rs +++ b/core/runtime/ops.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + use crate::ops::*; use anyhow::Error; use futures::future::Future; diff --git a/core/runtime/ops_rust_to_v8.rs b/core/runtime/ops_rust_to_v8.rs index 51cc18acd..a8eafccdf 100644 --- a/core/runtime/ops_rust_to_v8.rs +++ b/core/runtime/ops_rust_to_v8.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. //! This module provides traits and macros that facilitate the conversion of Rust objects into v8 objects. //! diff --git a/core/runtime/setup.rs b/core/runtime/setup.rs index d21964780..c98087e32 100644 --- a/core/runtime/setup.rs +++ b/core/runtime/setup.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. use crate::V8_WRAPPER_OBJECT_INDEX; use crate::V8_WRAPPER_TYPE_INDEX; diff --git a/core/runtime/snapshot.rs b/core/runtime/snapshot.rs index 3b8e3dc38..6e8c613cb 100644 --- a/core/runtime/snapshot.rs +++ b/core/runtime/snapshot.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. use anyhow::Error; use serde::Deserialize; diff --git a/core/runtime/stats.rs b/core/runtime/stats.rs index d8d23e0e2..decfca78c 100644 --- a/core/runtime/stats.rs +++ b/core/runtime/stats.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + use super::op_driver::OpDriver; use super::op_driver::OpInflightStats; use super::ContextState; diff --git a/core/runtime/tests/error.rs b/core/runtime/tests/error.rs index 82ae74f6b..ff8682eb8 100644 --- a/core/runtime/tests/error.rs +++ b/core/runtime/tests/error.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + use crate::error::custom_error; use crate::error::JsError; use crate::op2; diff --git a/core/runtime/tests/error_builder_test.js b/core/runtime/tests/error_builder_test.js index 3b30d5048..4cbee0998 100644 --- a/core/runtime/tests/error_builder_test.js +++ b/core/runtime/tests/error_builder_test.js @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. const { core } = Deno; const { ops } = core; diff --git a/core/runtime/tests/jsrealm.rs b/core/runtime/tests/jsrealm.rs index 366bb1696..004462144 100644 --- a/core/runtime/tests/jsrealm.rs +++ b/core/runtime/tests/jsrealm.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + use crate::error; use crate::modules::StaticModuleLoader; use crate::op2; diff --git a/core/runtime/tests/misc.rs b/core/runtime/tests/misc.rs index f92e2cb35..31c10431c 100644 --- a/core/runtime/tests/misc.rs +++ b/core/runtime/tests/misc.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + use crate::error::AnyError; use crate::error::JsError; use crate::modules::StaticModuleLoader; diff --git a/core/runtime/tests/mod.rs b/core/runtime/tests/mod.rs index 1d3103689..0b299525e 100644 --- a/core/runtime/tests/mod.rs +++ b/core/runtime/tests/mod.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + use crate::error::AnyError; use crate::op2; use crate::CrossIsolateStore; diff --git a/core/runtime/tests/ops.rs b/core/runtime/tests/ops.rs index f0c9be77e..dfa156852 100644 --- a/core/runtime/tests/ops.rs +++ b/core/runtime/tests/ops.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. #![allow(clippy::print_stdout, clippy::print_stderr, clippy::unused_async)] diff --git a/core/runtime/tests/snapshot.rs b/core/runtime/tests/snapshot.rs index a7f0ce487..8e621bdeb 100644 --- a/core/runtime/tests/snapshot.rs +++ b/core/runtime/tests/snapshot.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + use crate::modules::ModuleInfo; use crate::modules::RequestedModuleType; use crate::runtime::NO_OF_BUILTIN_MODULES; diff --git a/core/runtime/v8_static_strings.rs b/core/runtime/v8_static_strings.rs index e448283f2..a826acc1b 100644 --- a/core/runtime/v8_static_strings.rs +++ b/core/runtime/v8_static_strings.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + #[macro_export] macro_rules! v8_static_strings { ($($ident:ident = $str:literal),* $(,)?) => { diff --git a/core/source_map.rs b/core/source_map.rs index 43945c3a3..1aa3bb109 100644 --- a/core/source_map.rs +++ b/core/source_map.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. //! This mod provides functions to remap a `JsError` based on a source map. diff --git a/core/tasks.rs b/core/tasks.rs index 39b0c286a..19dc51f38 100644 --- a/core/tasks.rs +++ b/core/tasks.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. use futures::task::AtomicWaker; use std::marker::PhantomData; diff --git a/core/web_timeout.rs b/core/web_timeout.rs index 812abc740..0176bfaba 100644 --- a/core/web_timeout.rs +++ b/core/web_timeout.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + use cooked_waker::IntoWaker; use cooked_waker::ViaRawPointer; use cooked_waker::Wake; diff --git a/core/webidl.rs b/core/webidl.rs index e9174f188..91fc2925a 100644 --- a/core/webidl.rs +++ b/core/webidl.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. use std::borrow::Cow; use std::collections::HashMap; diff --git a/dcore/Cargo.toml b/dcore/Cargo.toml index cd6cbbdb5..bd0dfef4e 100644 --- a/dcore/Cargo.toml +++ b/dcore/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +# Copyright 2018-2025 the Deno authors. MIT license. [package] name = "dcore" diff --git a/dcore/build.rs b/dcore/build.rs index ab88ebda7..c17e37f05 100644 --- a/dcore/build.rs +++ b/dcore/build.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + use std::env; use std::fs; use std::path::Path; diff --git a/dcore/src/inspector_server.rs b/dcore/src/inspector_server.rs index 8418a3377..c35d8d419 100644 --- a/dcore/src/inspector_server.rs +++ b/dcore/src/inspector_server.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. // Alias for the future `!` type. use core::convert::Infallible as Never; diff --git a/dcore/src/main.rs b/dcore/src/main.rs index 867fa2350..f65c7e5e1 100644 --- a/dcore/src/main.rs +++ b/dcore/src/main.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. use anyhow::Context; use clap::builder::Arg; diff --git a/dcore/src/metrics.rs b/dcore/src/metrics.rs index de2914d77..10e624863 100644 --- a/dcore/src/metrics.rs +++ b/dcore/src/metrics.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. use deno_core::anyhow::Error; use deno_core::OpMetricsEvent; diff --git a/ops/Cargo.toml b/ops/Cargo.toml index 8446d0324..e5766a988 100644 --- a/ops/Cargo.toml +++ b/ops/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +# Copyright 2018-2025 the Deno authors. MIT license. [package] name = "deno_ops" diff --git a/ops/compile_test_runner/Cargo.toml b/ops/compile_test_runner/Cargo.toml index 14ae71ae2..2518ac07c 100644 --- a/ops/compile_test_runner/Cargo.toml +++ b/ops/compile_test_runner/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +# Copyright 2018-2025 the Deno authors. MIT license. [package] name = "deno_ops_compile_test_runner" version = "0.2.0" diff --git a/ops/compile_test_runner/src/lib.rs b/ops/compile_test_runner/src/lib.rs index 0666717db..3fa403771 100644 --- a/ops/compile_test_runner/src/lib.rs +++ b/ops/compile_test_runner/src/lib.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + #[macro_export] macro_rules! prelude { () => { diff --git a/ops/lib.rs b/ops/lib.rs index 938a8e4c2..3b02d93e1 100644 --- a/ops/lib.rs +++ b/ops/lib.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + #![doc = include_str!("README.md")] use proc_macro::TokenStream; diff --git a/ops/op2/config.rs b/ops/op2/config.rs index df9ce7f4d..9199ed99c 100644 --- a/ops/op2/config.rs +++ b/ops/op2/config.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + use proc_macro2::TokenStream; use proc_macro2::TokenTree; use proc_macro_rules::rules; diff --git a/ops/op2/dispatch_async.rs b/ops/op2/dispatch_async.rs index 5535be62f..27a1ceada 100644 --- a/ops/op2/dispatch_async.rs +++ b/ops/op2/dispatch_async.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + use super::config::MacroConfig; use super::dispatch_slow::generate_dispatch_slow_call; use super::dispatch_slow::return_value_infallible; diff --git a/ops/op2/dispatch_fast.rs b/ops/op2/dispatch_fast.rs index 3c952113d..211174f1f 100644 --- a/ops/op2/dispatch_fast.rs +++ b/ops/op2/dispatch_fast.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + use super::config::MacroConfig; use super::dispatch_shared::byte_slice_to_buffer; use super::dispatch_shared::v8_intermediate_to_arg; diff --git a/ops/op2/dispatch_shared.rs b/ops/op2/dispatch_shared.rs index b53b31c15..8157643cf 100644 --- a/ops/op2/dispatch_shared.rs +++ b/ops/op2/dispatch_shared.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + use super::signature::Arg; use super::signature::BufferType; use super::signature::NumericArg; diff --git a/ops/op2/dispatch_slow.rs b/ops/op2/dispatch_slow.rs index e7eee170d..ba49014ca 100644 --- a/ops/op2/dispatch_slow.rs +++ b/ops/op2/dispatch_slow.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + use super::config::MacroConfig; use super::dispatch_shared::v8_intermediate_to_arg; use super::dispatch_shared::v8_intermediate_to_global_arg; diff --git a/ops/op2/generator_state.rs b/ops/op2/generator_state.rs index 007a37858..c236eda0a 100644 --- a/ops/op2/generator_state.rs +++ b/ops/op2/generator_state.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + use proc_macro2::Ident; use proc_macro2::TokenStream; diff --git a/ops/op2/mod.rs b/ops/op2/mod.rs index b4177c5d2..bead5c8d5 100644 --- a/ops/op2/mod.rs +++ b/ops/op2/mod.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + use proc_macro2::Ident; use proc_macro2::Span; use proc_macro2::TokenStream; @@ -412,7 +413,8 @@ mod tests { let source = std::fs::read_to_string(&input).expect("Failed to read test file"); - const PRELUDE: &str = r"// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. + const PRELUDE: &str = r"// Copyright 2018-2025 the Deno authors. MIT license. + #![deny(warnings)] deno_ops_compile_test_runner::prelude!();"; diff --git a/ops/op2/object_wrap.rs b/ops/op2/object_wrap.rs index 430e339ff..7f13b2291 100644 --- a/ops/op2/object_wrap.rs +++ b/ops/op2/object_wrap.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. use proc_macro2::TokenStream; use quote::format_ident; diff --git a/ops/op2/signature.rs b/ops/op2/signature.rs index 8aa67cfcc..4394210d2 100644 --- a/ops/op2/signature.rs +++ b/ops/op2/signature.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + use proc_macro2::Ident; use proc_macro2::Literal; use proc_macro2::Span; diff --git a/ops/op2/signature_retval.rs b/ops/op2/signature_retval.rs index da856383f..7dbf753ae 100644 --- a/ops/op2/signature_retval.rs +++ b/ops/op2/signature_retval.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + use crate::op2::signature::*; use proc_macro_rules::rules; diff --git a/ops/op2/test_cases/async/async_arg_return.rs b/ops/op2/test_cases/async/async_arg_return.rs index 61c756481..dd84c7c12 100644 --- a/ops/op2/test_cases/async/async_arg_return.rs +++ b/ops/op2/test_cases/async/async_arg_return.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + #![deny(warnings)] deno_ops_compile_test_runner::prelude!(); diff --git a/ops/op2/test_cases/async/async_arg_return_result.rs b/ops/op2/test_cases/async/async_arg_return_result.rs index 09ffc648f..56d3ebc44 100644 --- a/ops/op2/test_cases/async/async_arg_return_result.rs +++ b/ops/op2/test_cases/async/async_arg_return_result.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + #![deny(warnings)] deno_ops_compile_test_runner::prelude!(); diff --git a/ops/op2/test_cases/async/async_cppgc.rs b/ops/op2/test_cases/async/async_cppgc.rs index c7296690f..ef7ab2751 100644 --- a/ops/op2/test_cases/async/async_cppgc.rs +++ b/ops/op2/test_cases/async/async_cppgc.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + #![deny(warnings)] deno_ops_compile_test_runner::prelude!(); use deno_core::GarbageCollected; diff --git a/ops/op2/test_cases/async/async_deferred.rs b/ops/op2/test_cases/async/async_deferred.rs index f920f56c4..1511c9a37 100644 --- a/ops/op2/test_cases/async/async_deferred.rs +++ b/ops/op2/test_cases/async/async_deferred.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + #![deny(warnings)] deno_ops_compile_test_runner::prelude!(); diff --git a/ops/op2/test_cases/async/async_jsbuffer.rs b/ops/op2/test_cases/async/async_jsbuffer.rs index 077478cd0..e5e46120e 100644 --- a/ops/op2/test_cases/async/async_jsbuffer.rs +++ b/ops/op2/test_cases/async/async_jsbuffer.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + #![deny(warnings)] deno_ops_compile_test_runner::prelude!(); diff --git a/ops/op2/test_cases/async/async_lazy.rs b/ops/op2/test_cases/async/async_lazy.rs index 60b78adfc..cd220870e 100644 --- a/ops/op2/test_cases/async/async_lazy.rs +++ b/ops/op2/test_cases/async/async_lazy.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + #![deny(warnings)] deno_ops_compile_test_runner::prelude!(); diff --git a/ops/op2/test_cases/async/async_op_metadata.rs b/ops/op2/test_cases/async/async_op_metadata.rs index 3f41d5873..940dc0524 100644 --- a/ops/op2/test_cases/async/async_op_metadata.rs +++ b/ops/op2/test_cases/async/async_op_metadata.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + #![deny(warnings)] deno_ops_compile_test_runner::prelude!(); diff --git a/ops/op2/test_cases/async/async_opstate.rs b/ops/op2/test_cases/async/async_opstate.rs index d94a79596..cf67a901c 100644 --- a/ops/op2/test_cases/async/async_opstate.rs +++ b/ops/op2/test_cases/async/async_opstate.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + #![deny(warnings)] deno_ops_compile_test_runner::prelude!(); diff --git a/ops/op2/test_cases/async/async_result.rs b/ops/op2/test_cases/async/async_result.rs index d2981f956..6df86cc0c 100644 --- a/ops/op2/test_cases/async/async_result.rs +++ b/ops/op2/test_cases/async/async_result.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + #![deny(warnings)] deno_ops_compile_test_runner::prelude!(); diff --git a/ops/op2/test_cases/async/async_result_impl.rs b/ops/op2/test_cases/async/async_result_impl.rs index f07f1be9b..edfa45c2f 100644 --- a/ops/op2/test_cases/async/async_result_impl.rs +++ b/ops/op2/test_cases/async/async_result_impl.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + #![deny(warnings)] deno_ops_compile_test_runner::prelude!(); diff --git a/ops/op2/test_cases/async/async_result_smi.rs b/ops/op2/test_cases/async/async_result_smi.rs index 5144b7c28..f950f7419 100644 --- a/ops/op2/test_cases/async/async_result_smi.rs +++ b/ops/op2/test_cases/async/async_result_smi.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + #![deny(warnings)] deno_ops_compile_test_runner::prelude!(); diff --git a/ops/op2/test_cases/async/async_stack_trace.rs b/ops/op2/test_cases/async/async_stack_trace.rs index 5aaaa978d..44b74e782 100644 --- a/ops/op2/test_cases/async/async_stack_trace.rs +++ b/ops/op2/test_cases/async/async_stack_trace.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + #![deny(warnings)] deno_ops_compile_test_runner::prelude!(); diff --git a/ops/op2/test_cases/async/async_v8_global.rs b/ops/op2/test_cases/async/async_v8_global.rs index 865e34fa6..830bf14dd 100644 --- a/ops/op2/test_cases/async/async_v8_global.rs +++ b/ops/op2/test_cases/async/async_v8_global.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + #![deny(warnings)] deno_ops_compile_test_runner::prelude!(); diff --git a/ops/op2/test_cases/async/async_void.rs b/ops/op2/test_cases/async/async_void.rs index 2c825e84a..99bd0c5e7 100644 --- a/ops/op2/test_cases/async/async_void.rs +++ b/ops/op2/test_cases/async/async_void.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + #![deny(warnings)] deno_ops_compile_test_runner::prelude!(); diff --git a/ops/op2/test_cases/compiler_pass/async.rs b/ops/op2/test_cases/compiler_pass/async.rs index 9918fe257..7d72a55de 100644 --- a/ops/op2/test_cases/compiler_pass/async.rs +++ b/ops/op2/test_cases/compiler_pass/async.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + #![deny(warnings)] deno_ops_compile_test_runner::prelude!(); diff --git a/ops/op2/test_cases/compiler_pass/sync.rs b/ops/op2/test_cases/compiler_pass/sync.rs index 62b24cf1c..a0851b6bd 100644 --- a/ops/op2/test_cases/compiler_pass/sync.rs +++ b/ops/op2/test_cases/compiler_pass/sync.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + #![deny(warnings)] deno_ops_compile_test_runner::prelude!(); diff --git a/ops/op2/test_cases/sync/add.rs b/ops/op2/test_cases/sync/add.rs index 4b03f81f1..5e1560935 100644 --- a/ops/op2/test_cases/sync/add.rs +++ b/ops/op2/test_cases/sync/add.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + #![deny(warnings)] deno_ops_compile_test_runner::prelude!(); diff --git a/ops/op2/test_cases/sync/add_options.rs b/ops/op2/test_cases/sync/add_options.rs index b24bd03f2..07b8c0067 100644 --- a/ops/op2/test_cases/sync/add_options.rs +++ b/ops/op2/test_cases/sync/add_options.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + #![deny(warnings)] deno_ops_compile_test_runner::prelude!(); diff --git a/ops/op2/test_cases/sync/bigint.rs b/ops/op2/test_cases/sync/bigint.rs index 3c057de47..17abc749d 100644 --- a/ops/op2/test_cases/sync/bigint.rs +++ b/ops/op2/test_cases/sync/bigint.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + #![deny(warnings)] deno_ops_compile_test_runner::prelude!(); diff --git a/ops/op2/test_cases/sync/bool.rs b/ops/op2/test_cases/sync/bool.rs index 0091c4ae1..375e70369 100644 --- a/ops/op2/test_cases/sync/bool.rs +++ b/ops/op2/test_cases/sync/bool.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + #![deny(warnings)] deno_ops_compile_test_runner::prelude!(); diff --git a/ops/op2/test_cases/sync/bool_result.rs b/ops/op2/test_cases/sync/bool_result.rs index 97c76b61f..4abe0b345 100644 --- a/ops/op2/test_cases/sync/bool_result.rs +++ b/ops/op2/test_cases/sync/bool_result.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + #![deny(warnings)] deno_ops_compile_test_runner::prelude!(); diff --git a/ops/op2/test_cases/sync/buffers.rs b/ops/op2/test_cases/sync/buffers.rs index b9c846bea..039a19665 100644 --- a/ops/op2/test_cases/sync/buffers.rs +++ b/ops/op2/test_cases/sync/buffers.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + #![deny(warnings)] deno_ops_compile_test_runner::prelude!(); diff --git a/ops/op2/test_cases/sync/buffers_copy.rs b/ops/op2/test_cases/sync/buffers_copy.rs index 9cb5ce03c..f644d9229 100644 --- a/ops/op2/test_cases/sync/buffers_copy.rs +++ b/ops/op2/test_cases/sync/buffers_copy.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + #![deny(warnings)] deno_ops_compile_test_runner::prelude!(); diff --git a/ops/op2/test_cases/sync/buffers_out.rs b/ops/op2/test_cases/sync/buffers_out.rs index 2a205a3f2..8af8030a9 100644 --- a/ops/op2/test_cases/sync/buffers_out.rs +++ b/ops/op2/test_cases/sync/buffers_out.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + #![deny(warnings)] deno_ops_compile_test_runner::prelude!(); diff --git a/ops/op2/test_cases/sync/cfg.rs b/ops/op2/test_cases/sync/cfg.rs index 18764aa24..7953fe930 100644 --- a/ops/op2/test_cases/sync/cfg.rs +++ b/ops/op2/test_cases/sync/cfg.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + #![deny(warnings)] deno_ops_compile_test_runner::prelude!(); diff --git a/ops/op2/test_cases/sync/clippy_allow.rs b/ops/op2/test_cases/sync/clippy_allow.rs index 3a10ba202..f7b5a4ba7 100644 --- a/ops/op2/test_cases/sync/clippy_allow.rs +++ b/ops/op2/test_cases/sync/clippy_allow.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + #![deny(warnings)] deno_ops_compile_test_runner::prelude!(); diff --git a/ops/op2/test_cases/sync/cppgc_resource.rs b/ops/op2/test_cases/sync/cppgc_resource.rs index 12256c14c..baaedd5a5 100644 --- a/ops/op2/test_cases/sync/cppgc_resource.rs +++ b/ops/op2/test_cases/sync/cppgc_resource.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + #![deny(warnings)] deno_ops_compile_test_runner::prelude!(); use deno_core::GarbageCollected; diff --git a/ops/op2/test_cases/sync/doc_comment.rs b/ops/op2/test_cases/sync/doc_comment.rs index 84e5bb421..a46aff845 100644 --- a/ops/op2/test_cases/sync/doc_comment.rs +++ b/ops/op2/test_cases/sync/doc_comment.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + #![deny(warnings)] deno_ops_compile_test_runner::prelude!(); diff --git a/ops/op2/test_cases/sync/fast_alternative.rs b/ops/op2/test_cases/sync/fast_alternative.rs index 663c96d64..240de116a 100644 --- a/ops/op2/test_cases/sync/fast_alternative.rs +++ b/ops/op2/test_cases/sync/fast_alternative.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + #![deny(warnings)] deno_ops_compile_test_runner::prelude!(); diff --git a/ops/op2/test_cases/sync/from_v8.rs b/ops/op2/test_cases/sync/from_v8.rs index 2649c5127..4f1ae6c3f 100644 --- a/ops/op2/test_cases/sync/from_v8.rs +++ b/ops/op2/test_cases/sync/from_v8.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + #![deny(warnings)] deno_ops_compile_test_runner::prelude!(); use deno_core::v8; diff --git a/ops/op2/test_cases/sync/generics.rs b/ops/op2/test_cases/sync/generics.rs index 7465aef8c..7887bba34 100644 --- a/ops/op2/test_cases/sync/generics.rs +++ b/ops/op2/test_cases/sync/generics.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + #![deny(warnings)] deno_ops_compile_test_runner::prelude!(); diff --git a/ops/op2/test_cases/sync/nofast.rs b/ops/op2/test_cases/sync/nofast.rs index 6046fb0ac..95167a886 100644 --- a/ops/op2/test_cases/sync/nofast.rs +++ b/ops/op2/test_cases/sync/nofast.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + #![deny(warnings)] deno_ops_compile_test_runner::prelude!(); diff --git a/ops/op2/test_cases/sync/object_wrap.rs b/ops/op2/test_cases/sync/object_wrap.rs index 7d19a7399..d355439a6 100644 --- a/ops/op2/test_cases/sync/object_wrap.rs +++ b/ops/op2/test_cases/sync/object_wrap.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + #![deny(warnings)] deno_ops_compile_test_runner::prelude!(); use deno_core::cppgc::GarbageCollected; diff --git a/ops/op2/test_cases/sync/op_state_attr.rs b/ops/op2/test_cases/sync/op_state_attr.rs index c7e535201..f851b9309 100644 --- a/ops/op2/test_cases/sync/op_state_attr.rs +++ b/ops/op2/test_cases/sync/op_state_attr.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + #![deny(warnings)] deno_ops_compile_test_runner::prelude!(); diff --git a/ops/op2/test_cases/sync/op_state_rc.rs b/ops/op2/test_cases/sync/op_state_rc.rs index 56687fe85..3a34e212a 100644 --- a/ops/op2/test_cases/sync/op_state_rc.rs +++ b/ops/op2/test_cases/sync/op_state_rc.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + #![deny(warnings)] deno_ops_compile_test_runner::prelude!(); diff --git a/ops/op2/test_cases/sync/op_state_ref.rs b/ops/op2/test_cases/sync/op_state_ref.rs index 8f2d67d17..363cc1c93 100644 --- a/ops/op2/test_cases/sync/op_state_ref.rs +++ b/ops/op2/test_cases/sync/op_state_ref.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + #![deny(warnings)] deno_ops_compile_test_runner::prelude!(); diff --git a/ops/op2/test_cases/sync/result_external.rs b/ops/op2/test_cases/sync/result_external.rs index 6566136c5..153a03777 100644 --- a/ops/op2/test_cases/sync/result_external.rs +++ b/ops/op2/test_cases/sync/result_external.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + #![deny(warnings)] deno_ops_compile_test_runner::prelude!(); diff --git a/ops/op2/test_cases/sync/result_primitive.rs b/ops/op2/test_cases/sync/result_primitive.rs index 5aaeb9757..ca36f5e13 100644 --- a/ops/op2/test_cases/sync/result_primitive.rs +++ b/ops/op2/test_cases/sync/result_primitive.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + #![deny(warnings)] deno_ops_compile_test_runner::prelude!(); diff --git a/ops/op2/test_cases/sync/result_scope.rs b/ops/op2/test_cases/sync/result_scope.rs index 70c1ce776..78ef5b1b0 100644 --- a/ops/op2/test_cases/sync/result_scope.rs +++ b/ops/op2/test_cases/sync/result_scope.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + #![deny(warnings)] deno_ops_compile_test_runner::prelude!(); diff --git a/ops/op2/test_cases/sync/result_void.rs b/ops/op2/test_cases/sync/result_void.rs index 0014c07ce..1c989744a 100644 --- a/ops/op2/test_cases/sync/result_void.rs +++ b/ops/op2/test_cases/sync/result_void.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + #![deny(warnings)] deno_ops_compile_test_runner::prelude!(); diff --git a/ops/op2/test_cases/sync/serde_v8.rs b/ops/op2/test_cases/sync/serde_v8.rs index 8066750ac..edd9fa5f5 100644 --- a/ops/op2/test_cases/sync/serde_v8.rs +++ b/ops/op2/test_cases/sync/serde_v8.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + #![deny(warnings)] deno_ops_compile_test_runner::prelude!(); diff --git a/ops/op2/test_cases/sync/smi.rs b/ops/op2/test_cases/sync/smi.rs index 4f3b43438..b3dcd8768 100644 --- a/ops/op2/test_cases/sync/smi.rs +++ b/ops/op2/test_cases/sync/smi.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + #![deny(warnings)] deno_ops_compile_test_runner::prelude!(); diff --git a/ops/op2/test_cases/sync/stack_trace.rs b/ops/op2/test_cases/sync/stack_trace.rs index 6f817b1d1..fc23a6c48 100644 --- a/ops/op2/test_cases/sync/stack_trace.rs +++ b/ops/op2/test_cases/sync/stack_trace.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + #![deny(warnings)] deno_ops_compile_test_runner::prelude!(); diff --git a/ops/op2/test_cases/sync/stack_trace_scope.rs b/ops/op2/test_cases/sync/stack_trace_scope.rs index 0d485281b..be970f32e 100644 --- a/ops/op2/test_cases/sync/stack_trace_scope.rs +++ b/ops/op2/test_cases/sync/stack_trace_scope.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + #![deny(warnings)] deno_ops_compile_test_runner::prelude!(); diff --git a/ops/op2/test_cases/sync/string_cow.rs b/ops/op2/test_cases/sync/string_cow.rs index 365cf58d3..2c1ee7575 100644 --- a/ops/op2/test_cases/sync/string_cow.rs +++ b/ops/op2/test_cases/sync/string_cow.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + #![deny(warnings)] deno_ops_compile_test_runner::prelude!(); diff --git a/ops/op2/test_cases/sync/string_onebyte.rs b/ops/op2/test_cases/sync/string_onebyte.rs index 460730cae..d8007d214 100644 --- a/ops/op2/test_cases/sync/string_onebyte.rs +++ b/ops/op2/test_cases/sync/string_onebyte.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + #![deny(warnings)] deno_ops_compile_test_runner::prelude!(); diff --git a/ops/op2/test_cases/sync/string_option_return.rs b/ops/op2/test_cases/sync/string_option_return.rs index 9618b1e22..b08c2a35e 100644 --- a/ops/op2/test_cases/sync/string_option_return.rs +++ b/ops/op2/test_cases/sync/string_option_return.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + #![deny(warnings)] deno_ops_compile_test_runner::prelude!(); diff --git a/ops/op2/test_cases/sync/string_owned.rs b/ops/op2/test_cases/sync/string_owned.rs index ab4ac4032..915a964c6 100644 --- a/ops/op2/test_cases/sync/string_owned.rs +++ b/ops/op2/test_cases/sync/string_owned.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + #![deny(warnings)] deno_ops_compile_test_runner::prelude!(); diff --git a/ops/op2/test_cases/sync/string_ref.rs b/ops/op2/test_cases/sync/string_ref.rs index 87d03dacf..c12263da5 100644 --- a/ops/op2/test_cases/sync/string_ref.rs +++ b/ops/op2/test_cases/sync/string_ref.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + #![deny(warnings)] deno_ops_compile_test_runner::prelude!(); diff --git a/ops/op2/test_cases/sync/string_return.rs b/ops/op2/test_cases/sync/string_return.rs index 00c60f85a..6b04dc535 100644 --- a/ops/op2/test_cases/sync/string_return.rs +++ b/ops/op2/test_cases/sync/string_return.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + #![deny(warnings)] deno_ops_compile_test_runner::prelude!(); use std::borrow::Cow; diff --git a/ops/op2/test_cases/sync/to_v8.rs b/ops/op2/test_cases/sync/to_v8.rs index 3a26df9c5..e1580b343 100644 --- a/ops/op2/test_cases/sync/to_v8.rs +++ b/ops/op2/test_cases/sync/to_v8.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + #![deny(warnings)] deno_ops_compile_test_runner::prelude!(); use deno_core::v8; diff --git a/ops/op2/test_cases/sync/v8_global.rs b/ops/op2/test_cases/sync/v8_global.rs index 9c9b91d30..3ff3fa99d 100644 --- a/ops/op2/test_cases/sync/v8_global.rs +++ b/ops/op2/test_cases/sync/v8_global.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + #![deny(warnings)] deno_ops_compile_test_runner::prelude!(); diff --git a/ops/op2/test_cases/sync/v8_handlescope.rs b/ops/op2/test_cases/sync/v8_handlescope.rs index 549a4c30f..4b1f88661 100644 --- a/ops/op2/test_cases/sync/v8_handlescope.rs +++ b/ops/op2/test_cases/sync/v8_handlescope.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + #![deny(warnings)] deno_ops_compile_test_runner::prelude!(); diff --git a/ops/op2/test_cases/sync/v8_lifetime.rs b/ops/op2/test_cases/sync/v8_lifetime.rs index e66ad3289..6fd961436 100644 --- a/ops/op2/test_cases/sync/v8_lifetime.rs +++ b/ops/op2/test_cases/sync/v8_lifetime.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + #![deny(warnings)] deno_ops_compile_test_runner::prelude!(); diff --git a/ops/op2/test_cases/sync/v8_ref_option.rs b/ops/op2/test_cases/sync/v8_ref_option.rs index 1e655d91f..1b0b798d3 100644 --- a/ops/op2/test_cases/sync/v8_ref_option.rs +++ b/ops/op2/test_cases/sync/v8_ref_option.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + #![deny(warnings)] deno_ops_compile_test_runner::prelude!(); diff --git a/ops/op2/test_cases/sync/v8_string.rs b/ops/op2/test_cases/sync/v8_string.rs index 0935dc854..15e86b48f 100644 --- a/ops/op2/test_cases/sync/v8_string.rs +++ b/ops/op2/test_cases/sync/v8_string.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + #![deny(warnings)] deno_ops_compile_test_runner::prelude!(); diff --git a/ops/op2/test_cases/sync/webidl.rs b/ops/op2/test_cases/sync/webidl.rs index 3a8a8345f..737c08a55 100644 --- a/ops/op2/test_cases/sync/webidl.rs +++ b/ops/op2/test_cases/sync/webidl.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + #![deny(warnings)] deno_ops_compile_test_runner::prelude!(); diff --git a/ops/op2/test_cases_fail/lifetimes.rs b/ops/op2/test_cases_fail/lifetimes.rs index adb486371..132ed21c6 100644 --- a/ops/op2/test_cases_fail/lifetimes.rs +++ b/ops/op2/test_cases_fail/lifetimes.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. #![deny(warnings)] deno_ops_compile_test_runner::prelude!(); use deno_core::error::AnyError; diff --git a/ops/webidl/dictionary.rs b/ops/webidl/dictionary.rs index 8beae3e3b..9c2e0faa5 100644 --- a/ops/webidl/dictionary.rs +++ b/ops/webidl/dictionary.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. use super::kw; use proc_macro2::Ident; diff --git a/ops/webidl/enum.rs b/ops/webidl/enum.rs index 3f0f06187..056c547d9 100644 --- a/ops/webidl/enum.rs +++ b/ops/webidl/enum.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. use super::kw; use proc_macro2::Ident; diff --git a/ops/webidl/mod.rs b/ops/webidl/mod.rs index bbbd41528..755bdfdd0 100644 --- a/ops/webidl/mod.rs +++ b/ops/webidl/mod.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. mod dictionary; mod r#enum; @@ -174,7 +174,8 @@ mod tests { let source = std::fs::read_to_string(&input).expect("Failed to read test file"); - const PRELUDE: &str = r"// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. + const PRELUDE: &str = r"// Copyright 2018-2025 the Deno authors. MIT license. + #![deny(warnings)] deno_ops_compile_test_runner::prelude!();"; diff --git a/ops/webidl/test_cases/dict.rs b/ops/webidl/test_cases/dict.rs index 0f68c5a90..9e9dc2004 100644 --- a/ops/webidl/test_cases/dict.rs +++ b/ops/webidl/test_cases/dict.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + #![deny(warnings)] deno_ops_compile_test_runner::prelude!(); diff --git a/ops/webidl/test_cases/enum.rs b/ops/webidl/test_cases/enum.rs index bdb0eaeca..854bda49e 100644 --- a/ops/webidl/test_cases/enum.rs +++ b/ops/webidl/test_cases/enum.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + #![deny(warnings)] deno_ops_compile_test_runner::prelude!(); diff --git a/ops/webidl/test_cases_fail/enum_fields.rs b/ops/webidl/test_cases_fail/enum_fields.rs index b2a991e77..bf6ca1e95 100644 --- a/ops/webidl/test_cases_fail/enum_fields.rs +++ b/ops/webidl/test_cases_fail/enum_fields.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + #![deny(warnings)] deno_ops_compile_test_runner::prelude!(); diff --git a/ops/webidl/test_cases_fail/enum_fields.stderr b/ops/webidl/test_cases_fail/enum_fields.stderr index a590fd892..21ae5bac4 100644 --- a/ops/webidl/test_cases_fail/enum_fields.stderr +++ b/ops/webidl/test_cases_fail/enum_fields.stderr @@ -1,5 +1,5 @@ error: variants with fields are not allowed for enum converters - --> ../webidl/test_cases_fail/enum_fields.rs:8:9 + --> ../webidl/test_cases_fail/enum_fields.rs:9:9 | -8 | FooBar(u32), +9 | FooBar(u32), | ^^^^^ diff --git a/serde_v8/Cargo.toml b/serde_v8/Cargo.toml index 46794e338..36f825f45 100644 --- a/serde_v8/Cargo.toml +++ b/serde_v8/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +# Copyright 2018-2025 the Deno authors. MIT license. [package] name = "serde_v8" diff --git a/serde_v8/de.rs b/serde_v8/de.rs index 968d0e801..e67a03ed9 100644 --- a/serde_v8/de.rs +++ b/serde_v8/de.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + use serde::de::SeqAccess as _; use serde::de::Visitor; use serde::de::{self}; diff --git a/serde_v8/error.rs b/serde_v8/error.rs index ec1f38e1d..edb87876c 100644 --- a/serde_v8/error.rs +++ b/serde_v8/error.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + use std::fmt::Display; pub type Result = std::result::Result; diff --git a/serde_v8/examples/basic.rs b/serde_v8/examples/basic.rs index 1b8c552f1..18ba2a7f9 100644 --- a/serde_v8/examples/basic.rs +++ b/serde_v8/examples/basic.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + use serde::Deserialize; #[derive(Debug, Deserialize)] diff --git a/serde_v8/keys.rs b/serde_v8/keys.rs index 239880510..89eb452b9 100644 --- a/serde_v8/keys.rs +++ b/serde_v8/keys.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. 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 ae752d875..0595599d9 100644 --- a/serde_v8/lib.rs +++ b/serde_v8/lib.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + mod de; mod error; mod keys; diff --git a/serde_v8/magic/any_value.rs b/serde_v8/magic/any_value.rs index af11bdd30..f103d0602 100644 --- a/serde_v8/magic/any_value.rs +++ b/serde_v8/magic/any_value.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + use super::buffer::JsBuffer; use super::transl8::FromV8; use super::transl8::ToV8; diff --git a/serde_v8/magic/bigint.rs b/serde_v8/magic/bigint.rs index ad4296987..0a98a909f 100644 --- a/serde_v8/magic/bigint.rs +++ b/serde_v8/magic/bigint.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. use std::ops::Deref; use std::ops::DerefMut; diff --git a/serde_v8/magic/buffer.rs b/serde_v8/magic/buffer.rs index d25372e02..4e691ee9c 100644 --- a/serde_v8/magic/buffer.rs +++ b/serde_v8/magic/buffer.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. use std::cell::RefCell; use std::fmt::Debug; diff --git a/serde_v8/magic/bytestring.rs b/serde_v8/magic/bytestring.rs index e09282a8a..139f52c72 100644 --- a/serde_v8/magic/bytestring.rs +++ b/serde_v8/magic/bytestring.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. use std::mem::size_of; use std::ops::Deref; diff --git a/serde_v8/magic/detached_buffer.rs b/serde_v8/magic/detached_buffer.rs index 305f9dc90..264bd184b 100644 --- a/serde_v8/magic/detached_buffer.rs +++ b/serde_v8/magic/detached_buffer.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. use core::ops::Range; use std::ops::Deref; diff --git a/serde_v8/magic/external_pointer.rs b/serde_v8/magic/external_pointer.rs index 6ae6036f3..53a79d5f3 100644 --- a/serde_v8/magic/external_pointer.rs +++ b/serde_v8/magic/external_pointer.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. use std::ffi::c_void; diff --git a/serde_v8/magic/global_value.rs b/serde_v8/magic/global_value.rs index a29294c87..71512da15 100644 --- a/serde_v8/magic/global_value.rs +++ b/serde_v8/magic/global_value.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + use crate::magic::transl8::impl_magic; use crate::magic::transl8::FromV8; use crate::magic::transl8::ToV8; diff --git a/serde_v8/magic/mod.rs b/serde_v8/magic/mod.rs index a42a20b21..d10ff6bd3 100644 --- a/serde_v8/magic/mod.rs +++ b/serde_v8/magic/mod.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + pub mod any_value; pub mod bigint; pub mod buffer; diff --git a/serde_v8/magic/string_or_buffer.rs b/serde_v8/magic/string_or_buffer.rs index 3260b92ca..d319496ba 100644 --- a/serde_v8/magic/string_or_buffer.rs +++ b/serde_v8/magic/string_or_buffer.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + use super::buffer::JsBuffer; use super::transl8::FromV8; use crate::magic::transl8::impl_magic; diff --git a/serde_v8/magic/transl8.rs b/serde_v8/magic/transl8.rs index 66268b281..439579947 100644 --- a/serde_v8/magic/transl8.rs +++ b/serde_v8/magic/transl8.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. 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/u16string.rs b/serde_v8/magic/u16string.rs index 18d467ce4..fb59e830c 100644 --- a/serde_v8/magic/u16string.rs +++ b/serde_v8/magic/u16string.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. use std::ops::Deref; use std::ops::DerefMut; diff --git a/serde_v8/magic/v8slice.rs b/serde_v8/magic/v8slice.rs index bbe7546bf..dfedd8380 100644 --- a/serde_v8/magic/v8slice.rs +++ b/serde_v8/magic/v8slice.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. use std::fmt::Debug; use std::marker::PhantomData; diff --git a/serde_v8/magic/value.rs b/serde_v8/magic/value.rs index da4dfa9bd..930aae26a 100644 --- a/serde_v8/magic/value.rs +++ b/serde_v8/magic/value.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + use crate::magic::transl8::impl_magic; use crate::magic::transl8::FromV8; use crate::magic::transl8::ToV8; diff --git a/serde_v8/payload.rs b/serde_v8/payload.rs index 9b812f1b8..ccf988792 100644 --- a/serde_v8/payload.rs +++ b/serde_v8/payload.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. 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 dc0721664..f8cdc253b 100644 --- a/serde_v8/ser.rs +++ b/serde_v8/ser.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + use serde::ser; use serde::ser::Serialize; diff --git a/serde_v8/tests/de.rs b/serde_v8/tests/de.rs index 20cb4703f..e95e0fe14 100644 --- a/serde_v8/tests/de.rs +++ b/serde_v8/tests/de.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + use serde::Deserialize; use serde::Deserializer; diff --git a/serde_v8/tests/magic.rs b/serde_v8/tests/magic.rs index b625200e2..0b98dd7e5 100644 --- a/serde_v8/tests/magic.rs +++ b/serde_v8/tests/magic.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + use serde::Deserialize; use serde::Serialize; diff --git a/serde_v8/tests/ser.rs b/serde_v8/tests/ser.rs index 09e1b55f0..a7b5bea99 100644 --- a/serde_v8/tests/ser.rs +++ b/serde_v8/tests/ser.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + use serde::Serialize; use serde_json::json; use serde_v8::BigInt; diff --git a/serde_v8/utilities/Cargo.toml b/serde_v8/utilities/Cargo.toml index fb40befb8..84cb239ab 100644 --- a/serde_v8/utilities/Cargo.toml +++ b/serde_v8/utilities/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +# Copyright 2018-2025 the Deno authors. MIT license. [package] name = "serde_v8_utilities" diff --git a/serde_v8/utilities/lib.rs b/serde_v8/utilities/lib.rs index b815bcc2c..aa001f38e 100644 --- a/serde_v8/utilities/lib.rs +++ b/serde_v8/utilities/lib.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + use std::sync::Once; pub fn js_exec<'s>( diff --git a/testing/Cargo.toml b/testing/Cargo.toml index a160a3c34..eeb9827bc 100644 --- a/testing/Cargo.toml +++ b/testing/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +# Copyright 2018-2025 the Deno authors. MIT license. [package] name = "deno_core_testing" diff --git a/testing/checkin.d.ts b/testing/checkin.d.ts index 8c77b6f55..b425c520b 100644 --- a/testing/checkin.d.ts +++ b/testing/checkin.d.ts @@ -1,5 +1,5 @@ // deno-lint-ignore-file no-explicit-any -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. /// diff --git a/testing/checkin/mod.rs b/testing/checkin/mod.rs index 5ca0571a2..250cff034 100644 --- a/testing/checkin/mod.rs +++ b/testing/checkin/mod.rs @@ -1,2 +1,3 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + pub(super) mod runner; diff --git a/testing/checkin/runner/extensions.rs b/testing/checkin/runner/extensions.rs index a54008242..94094b08c 100644 --- a/testing/checkin/runner/extensions.rs +++ b/testing/checkin/runner/extensions.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + use crate::checkin::runner::ops; use crate::checkin::runner::ops_async; use crate::checkin::runner::ops_buffer; diff --git a/testing/checkin/runner/mod.rs b/testing/checkin/runner/mod.rs index faf22fc54..cef6ee4b6 100644 --- a/testing/checkin/runner/mod.rs +++ b/testing/checkin/runner/mod.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + use self::ops_worker::worker_create; use self::ops_worker::WorkerCloseWatcher; use self::ops_worker::WorkerHostSide; diff --git a/testing/checkin/runner/ops.rs b/testing/checkin/runner/ops.rs index a1074cab8..8fd9c4ecd 100644 --- a/testing/checkin/runner/ops.rs +++ b/testing/checkin/runner/ops.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + use std::cell::RefCell; use std::rc::Rc; diff --git a/testing/checkin/runner/ops_async.rs b/testing/checkin/runner/ops_async.rs index b6767348d..77702fb56 100644 --- a/testing/checkin/runner/ops_async.rs +++ b/testing/checkin/runner/ops_async.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. use deno_core::op2; use deno_core::v8; diff --git a/testing/checkin/runner/ops_buffer.rs b/testing/checkin/runner/ops_buffer.rs index 70bdc181d..0ba7160b6 100644 --- a/testing/checkin/runner/ops_buffer.rs +++ b/testing/checkin/runner/ops_buffer.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + use deno_core::op2; use deno_core::JsBuffer; diff --git a/testing/checkin/runner/ops_error.rs b/testing/checkin/runner/ops_error.rs index f0c8c7d31..1c6006734 100644 --- a/testing/checkin/runner/ops_error.rs +++ b/testing/checkin/runner/ops_error.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + use anyhow::anyhow; use anyhow::Error; use deno_core::error::custom_error; diff --git a/testing/checkin/runner/ops_io.rs b/testing/checkin/runner/ops_io.rs index f591980a8..3e8443c51 100644 --- a/testing/checkin/runner/ops_io.rs +++ b/testing/checkin/runner/ops_io.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + use anyhow::Error; use deno_core::op2; use deno_core::AsyncRefCell; diff --git a/testing/checkin/runner/ops_worker.rs b/testing/checkin/runner/ops_worker.rs index 3aa0715f5..817e17d5d 100644 --- a/testing/checkin/runner/ops_worker.rs +++ b/testing/checkin/runner/ops_worker.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + use anyhow::anyhow; use anyhow::bail; use anyhow::Error; diff --git a/testing/checkin/runner/snapshot.rs b/testing/checkin/runner/snapshot.rs index 27cda9034..bf609b96c 100644 --- a/testing/checkin/runner/snapshot.rs +++ b/testing/checkin/runner/snapshot.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + use std::rc::Rc; use deno_core::JsRuntimeForSnapshot; diff --git a/testing/checkin/runner/testing.rs b/testing/checkin/runner/testing.rs index 6665744c4..3602f67da 100644 --- a/testing/checkin/runner/testing.rs +++ b/testing/checkin/runner/testing.rs @@ -1,4 +1,5 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. + use anyhow::bail; use anyhow::Error; use deno_core::op2; diff --git a/testing/checkin/runner/ts_module_loader.rs b/testing/checkin/runner/ts_module_loader.rs index 0e8930a1e..b1754ab7a 100644 --- a/testing/checkin/runner/ts_module_loader.rs +++ b/testing/checkin/runner/ts_module_loader.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. use std::borrow::Cow; use std::cell::RefCell; diff --git a/testing/checkin/runtime/__init.js b/testing/checkin/runtime/__init.js index 73ad97692..28d47db30 100644 --- a/testing/checkin/runtime/__init.js +++ b/testing/checkin/runtime/__init.js @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. import * as async from "checkin:async"; import * as console from "checkin:console"; import * as error from "checkin:error"; diff --git a/testing/checkin/runtime/async.ts b/testing/checkin/runtime/async.ts index acd265dba..207e87594 100644 --- a/testing/checkin/runtime/async.ts +++ b/testing/checkin/runtime/async.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. const { op_async_barrier_create, op_async_barrier_await, diff --git a/testing/checkin/runtime/console.ts b/testing/checkin/runtime/console.ts index f52940a94..76c7f7dc9 100644 --- a/testing/checkin/runtime/console.ts +++ b/testing/checkin/runtime/console.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. import { op_log_debug, op_log_info } from "ext:core/ops"; import { core } from "ext:core/mod.js"; diff --git a/testing/checkin/runtime/error.ts b/testing/checkin/runtime/error.ts index 4dca78fe8..ac64bbcb7 100644 --- a/testing/checkin/runtime/error.ts +++ b/testing/checkin/runtime/error.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. import { op_async_throw_error_deferred, op_async_throw_error_eager, diff --git a/testing/checkin/runtime/object.ts b/testing/checkin/runtime/object.ts index 83658dc74..a4cd8268a 100644 --- a/testing/checkin/runtime/object.ts +++ b/testing/checkin/runtime/object.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. import { DOMPoint, TestObjectWrap } from "ext:core/ops"; diff --git a/testing/checkin/runtime/testing.ts b/testing/checkin/runtime/testing.ts index afbecdc8f..06f783538 100644 --- a/testing/checkin/runtime/testing.ts +++ b/testing/checkin/runtime/testing.ts @@ -1,5 +1,5 @@ // deno-lint-ignore-file no-explicit-any -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. const { op_test_register } = Deno.core.ops; diff --git a/testing/checkin/runtime/throw.ts b/testing/checkin/runtime/throw.ts index cb17185f4..fce26063d 100644 --- a/testing/checkin/runtime/throw.ts +++ b/testing/checkin/runtime/throw.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. /** * This is needed to test that stack traces in extensions are correct. diff --git a/testing/checkin/runtime/timers.ts b/testing/checkin/runtime/timers.ts index 928478984..5060df140 100644 --- a/testing/checkin/runtime/timers.ts +++ b/testing/checkin/runtime/timers.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. /** * Call a callback function after a delay. diff --git a/testing/checkin/runtime/worker.ts b/testing/checkin/runtime/worker.ts index e5897b721..33388b603 100644 --- a/testing/checkin/runtime/worker.ts +++ b/testing/checkin/runtime/worker.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. import { op_worker_await_close, op_worker_parent, diff --git a/testing/integration/builtin_console_test/builtin_console_test.ts b/testing/integration/builtin_console_test/builtin_console_test.ts index d353bfb32..3ffedcf54 100644 --- a/testing/integration/builtin_console_test/builtin_console_test.ts +++ b/testing/integration/builtin_console_test/builtin_console_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. console.log("Hello, world"); console.log([1, 2, 3]); console.log({ "foo": "bar" }); diff --git a/testing/integration/dyn_import_circular/a.js b/testing/integration/dyn_import_circular/a.js index 809ae15c4..a3378c713 100644 --- a/testing/integration/dyn_import_circular/a.js +++ b/testing/integration/dyn_import_circular/a.js @@ -1,3 +1,3 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. import "./b.js"; console.log("a complete"); diff --git a/testing/integration/dyn_import_circular/b.js b/testing/integration/dyn_import_circular/b.js index 519ce3eb7..fffca21b2 100644 --- a/testing/integration/dyn_import_circular/b.js +++ b/testing/integration/dyn_import_circular/b.js @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. import "./c.js"; import "./a.js"; console.log("b complete"); diff --git a/testing/integration/dyn_import_circular/c.js b/testing/integration/dyn_import_circular/c.js index 7a98098a2..0416844ba 100644 --- a/testing/integration/dyn_import_circular/c.js +++ b/testing/integration/dyn_import_circular/c.js @@ -1,3 +1,3 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. import "./d.js"; console.log("c complete"); diff --git a/testing/integration/dyn_import_circular/d.js b/testing/integration/dyn_import_circular/d.js index 632f26797..91fa56715 100644 --- a/testing/integration/dyn_import_circular/d.js +++ b/testing/integration/dyn_import_circular/d.js @@ -1,2 +1,2 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. console.log("d"); diff --git a/testing/integration/dyn_import_circular/dyn_import_circular.ts b/testing/integration/dyn_import_circular/dyn_import_circular.ts index 9dc3a6147..35cfc6388 100644 --- a/testing/integration/dyn_import_circular/dyn_import_circular.ts +++ b/testing/integration/dyn_import_circular/dyn_import_circular.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. // Regression test for https://github.com/denoland/deno/issues/3736. import("./b.js"); diff --git a/testing/integration/dyn_import_no_hang/dyn_import_no_hang.js b/testing/integration/dyn_import_no_hang/dyn_import_no_hang.js index 3daf93e04..23d4f1e4b 100644 --- a/testing/integration/dyn_import_no_hang/dyn_import_no_hang.js +++ b/testing/integration/dyn_import_no_hang/dyn_import_no_hang.js @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. import { asyncNeverResolves } from "checkin:async"; // make a promise that never resolves so we have diff --git a/testing/integration/dyn_import_no_hang/dynamic.js b/testing/integration/dyn_import_no_hang/dynamic.js index 80568d8cd..6cb5591db 100644 --- a/testing/integration/dyn_import_no_hang/dynamic.js +++ b/testing/integration/dyn_import_no_hang/dynamic.js @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. await new Promise((resolve) => { // Resolve the promise after one tick of the event loop. setTimeout(() => { diff --git a/testing/integration/dyn_import_op/dyn_import_op.js b/testing/integration/dyn_import_op/dyn_import_op.js index 952971ef6..ddb0aa66e 100644 --- a/testing/integration/dyn_import_op/dyn_import_op.js +++ b/testing/integration/dyn_import_op/dyn_import_op.js @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. import "./main.js"; import { barrierAwait } from "checkin:async"; await barrierAwait("barrier"); diff --git a/testing/integration/dyn_import_op/dynamic.js b/testing/integration/dyn_import_op/dynamic.js index aae24dfaa..0b81e53fb 100644 --- a/testing/integration/dyn_import_op/dynamic.js +++ b/testing/integration/dyn_import_op/dynamic.js @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. import { asyncYield } from "checkin:async"; await asyncYield(); diff --git a/testing/integration/dyn_import_op/main.js b/testing/integration/dyn_import_op/main.js index 304c49b0e..2c08817e9 100644 --- a/testing/integration/dyn_import_op/main.js +++ b/testing/integration/dyn_import_op/main.js @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. import { barrierAwait, barrierCreate } from "checkin:async"; barrierCreate("barrier", 2); diff --git a/testing/integration/error_async_stack/error_async_stack.js b/testing/integration/error_async_stack/error_async_stack.js index 289ddbd1e..6083c9810 100644 --- a/testing/integration/error_async_stack/error_async_stack.js +++ b/testing/integration/error_async_stack/error_async_stack.js @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. (async () => { const p = (async () => { await Promise.resolve().then(() => { diff --git a/testing/integration/error_callsite/error_callsite.ts b/testing/integration/error_callsite/error_callsite.ts index 9477f86d5..cf53e00af 100644 --- a/testing/integration/error_callsite/error_callsite.ts +++ b/testing/integration/error_callsite/error_callsite.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. // deno-lint-ignore-file no-explicit-any function toObj(callsite: any) { const keys = [ diff --git a/testing/integration/error_eval_stack/error_eval_stack.ts b/testing/integration/error_eval_stack/error_eval_stack.ts index be67ab094..32706b6db 100644 --- a/testing/integration/error_eval_stack/error_eval_stack.ts +++ b/testing/integration/error_eval_stack/error_eval_stack.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. // FAIL function foo() { diff --git a/testing/integration/error_ext_stack/error_ext_stack.ts b/testing/integration/error_ext_stack/error_ext_stack.ts index 8c9ab7e4f..e6cd51736 100644 --- a/testing/integration/error_ext_stack/error_ext_stack.ts +++ b/testing/integration/error_ext_stack/error_ext_stack.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. // FAIL import { throwExceptionFromExtension } from "checkin:throw"; diff --git a/testing/integration/error_get_file_name/error_get_file_name.ts b/testing/integration/error_get_file_name/error_get_file_name.ts index 8314bd25d..fa3e658c9 100644 --- a/testing/integration/error_get_file_name/error_get_file_name.ts +++ b/testing/integration/error_get_file_name/error_get_file_name.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. // deno-lint-ignore no-explicit-any (Error as any).prepareStackTrace = (_err: unknown, frames: any[]) => { diff --git a/testing/integration/error_get_file_name_to_string/error_get_file_name_to_string.ts b/testing/integration/error_get_file_name_to_string/error_get_file_name_to_string.ts index 627efbbe5..135d19700 100644 --- a/testing/integration/error_get_file_name_to_string/error_get_file_name_to_string.ts +++ b/testing/integration/error_get_file_name_to_string/error_get_file_name_to_string.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. // deno-lint-ignore no-explicit-any (Error as any).prepareStackTrace = (_err: unknown, frames: any[]) => { diff --git a/testing/integration/error_get_script_name_or_source_url/error_get_script_name_or_source_url.ts b/testing/integration/error_get_script_name_or_source_url/error_get_script_name_or_source_url.ts index 45b263081..c4bceca17 100644 --- a/testing/integration/error_get_script_name_or_source_url/error_get_script_name_or_source_url.ts +++ b/testing/integration/error_get_script_name_or_source_url/error_get_script_name_or_source_url.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. // deno-lint-ignore no-explicit-any (Error as any).prepareStackTrace = (_err: unknown, frames: any[]) => { diff --git a/testing/integration/error_non_existent_eval_source/error_non_existent_eval_source.ts b/testing/integration/error_non_existent_eval_source/error_non_existent_eval_source.ts index 07b30ab61..69c85149c 100644 --- a/testing/integration/error_non_existent_eval_source/error_non_existent_eval_source.ts +++ b/testing/integration/error_non_existent_eval_source/error_non_existent_eval_source.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. const AsyncFunction = Object.getPrototypeOf(async function () { // empty }).constructor; diff --git a/testing/integration/error_prepare_stack_trace/error_prepare_stack_trace.ts b/testing/integration/error_prepare_stack_trace/error_prepare_stack_trace.ts index c8c9348b0..2152c49d8 100644 --- a/testing/integration/error_prepare_stack_trace/error_prepare_stack_trace.ts +++ b/testing/integration/error_prepare_stack_trace/error_prepare_stack_trace.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. let errorCallsitePrototype; // deno-lint-ignore no-explicit-any (Error as any).prepareStackTrace = (_err, frames) => { diff --git a/testing/integration/error_prepare_stack_trace_crash/error_prepare_stack_trace_crash.js b/testing/integration/error_prepare_stack_trace_crash/error_prepare_stack_trace_crash.js index 4193122ad..b16752c26 100644 --- a/testing/integration/error_prepare_stack_trace_crash/error_prepare_stack_trace_crash.js +++ b/testing/integration/error_prepare_stack_trace_crash/error_prepare_stack_trace_crash.js @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. delete globalThis.Error; const e = new TypeError("e"); diff --git a/testing/integration/error_rejection_catch/error_rejection_catch.ts b/testing/integration/error_rejection_catch/error_rejection_catch.ts index 7838310fd..3a7b5444d 100644 --- a/testing/integration/error_rejection_catch/error_rejection_catch.ts +++ b/testing/integration/error_rejection_catch/error_rejection_catch.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. // This test should return the same output on a browser. diff --git a/testing/integration/error_rejection_order/error_rejection_order.ts b/testing/integration/error_rejection_order/error_rejection_order.ts index 3486b0731..89a30f953 100644 --- a/testing/integration/error_rejection_order/error_rejection_order.ts +++ b/testing/integration/error_rejection_order/error_rejection_order.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. for (let i = 0; i < 100; i++) { Promise.reject(i); } diff --git a/testing/integration/error_with_stack/error_with_stack.ts b/testing/integration/error_with_stack/error_with_stack.ts index ff03e70a1..1eccca739 100644 --- a/testing/integration/error_with_stack/error_with_stack.ts +++ b/testing/integration/error_with_stack/error_with_stack.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. // FAIL function assert(cond) { diff --git a/testing/integration/error_without_stack/error_without_stack.js b/testing/integration/error_without_stack/error_without_stack.js index 620767080..7564e7a40 100644 --- a/testing/integration/error_without_stack/error_without_stack.js +++ b/testing/integration/error_without_stack/error_without_stack.js @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. eval(`function main() { console.log("asdf); } diff --git a/testing/integration/import_sync/async.js b/testing/integration/import_sync/async.js index 97ff717bb..4fbeebc90 100644 --- a/testing/integration/import_sync/async.js +++ b/testing/integration/import_sync/async.js @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. await {}; export const a = 1; diff --git a/testing/integration/import_sync/import_sync.ts b/testing/integration/import_sync/import_sync.ts index d8ecc0a11..20b492ea1 100644 --- a/testing/integration/import_sync/import_sync.ts +++ b/testing/integration/import_sync/import_sync.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. const { op_import_sync, op_path_to_url } = Deno.core.ops; diff --git a/testing/integration/import_sync/sync.js b/testing/integration/import_sync/sync.js index f466fc686..87932b523 100644 --- a/testing/integration/import_sync/sync.js +++ b/testing/integration/import_sync/sync.js @@ -1,3 +1,3 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. export const a = 1; diff --git a/testing/integration/import_sync_existing/import_sync_existing.ts b/testing/integration/import_sync_existing/import_sync_existing.ts index 7ab3f7e77..55b970392 100644 --- a/testing/integration/import_sync_existing/import_sync_existing.ts +++ b/testing/integration/import_sync_existing/import_sync_existing.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. const { op_import_sync, op_path_to_url } = Deno.core.ops; diff --git a/testing/integration/import_sync_existing/sync.js b/testing/integration/import_sync_existing/sync.js index f466fc686..87932b523 100644 --- a/testing/integration/import_sync_existing/sync.js +++ b/testing/integration/import_sync_existing/sync.js @@ -1,3 +1,3 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. export const a = 1; diff --git a/testing/integration/main_module_handler/main_module_handler.js b/testing/integration/main_module_handler/main_module_handler.js index 6dab1f3f4..f3358430b 100644 --- a/testing/integration/main_module_handler/main_module_handler.js +++ b/testing/integration/main_module_handler/main_module_handler.js @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. // The handler is set up before this main module is executed globalThis.onmainmodule = (main) => { console.log(main); diff --git a/testing/integration/module_types/module_types.ts b/testing/integration/module_types/module_types.ts index ee1dd4690..3f8e2057b 100644 --- a/testing/integration/module_types/module_types.ts +++ b/testing/integration/module_types/module_types.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. import bin from "./test.bin" with { type: "bytes" }; import txt from "./test.txt" with { type: "text" }; import json from "./test.json" with { type: "json" }; diff --git a/testing/integration/module_types/test.bin.ts b/testing/integration/module_types/test.bin.ts index c7760e8d7..76f64327a 100644 --- a/testing/integration/module_types/test.bin.ts +++ b/testing/integration/module_types/test.bin.ts @@ -1,3 +1,3 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. // Make tsc happy export default {}; diff --git a/testing/integration/module_types/test.txt.ts b/testing/integration/module_types/test.txt.ts index c7760e8d7..76f64327a 100644 --- a/testing/integration/module_types/test.txt.ts +++ b/testing/integration/module_types/test.txt.ts @@ -1,3 +1,3 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. // Make tsc happy export default {}; diff --git a/testing/integration/pending_unref_op_tla/pending_unref_op_tla.ts b/testing/integration/pending_unref_op_tla/pending_unref_op_tla.ts index a30a8aa56..8c298dee2 100644 --- a/testing/integration/pending_unref_op_tla/pending_unref_op_tla.ts +++ b/testing/integration/pending_unref_op_tla/pending_unref_op_tla.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. console.log("should not panic"); await new Promise((r) => { const id = setTimeout(r, 1000); diff --git a/testing/integration/smoke_test/smoke_test.ts b/testing/integration/smoke_test/smoke_test.ts index afd3ff46a..c2f5ae4b1 100644 --- a/testing/integration/smoke_test/smoke_test.ts +++ b/testing/integration/smoke_test/smoke_test.ts @@ -1,2 +1,2 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. console.log("Hello, world"); diff --git a/testing/integration/timer_many/timer_many.ts b/testing/integration/timer_many/timer_many.ts index 76ce9b687..06a2b698b 100644 --- a/testing/integration/timer_many/timer_many.ts +++ b/testing/integration/timer_many/timer_many.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. let n = 0; for (let i = 0; i < 1e6; i++) setTimeout(() => n++, 1); setTimeout(() => console.log(n), 2); diff --git a/testing/integration/timer_ref/timer_ref.ts b/testing/integration/timer_ref/timer_ref.ts index 4dced03d5..e177a24ca 100644 --- a/testing/integration/timer_ref/timer_ref.ts +++ b/testing/integration/timer_ref/timer_ref.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. setTimeout(() => console.log("a"), 1000); setTimeout(() => console.log("b"), 2000); // Make this long enough that we'll never hit it diff --git a/testing/integration/timer_ref_and_cancel/timer_ref_and_cancel.ts b/testing/integration/timer_ref_and_cancel/timer_ref_and_cancel.ts index e04ac7e32..93afe80a3 100644 --- a/testing/integration/timer_ref_and_cancel/timer_ref_and_cancel.ts +++ b/testing/integration/timer_ref_and_cancel/timer_ref_and_cancel.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. setTimeout(() => console.log("a"), 1000); setTimeout(() => console.log("b"), 2000); // Make these long enough that we'll never hit them diff --git a/testing/integration/ts_types/decorator.ts b/testing/integration/ts_types/decorator.ts index d0b918156..fc1141d1c 100644 --- a/testing/integration/ts_types/decorator.ts +++ b/testing/integration/ts_types/decorator.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. function logged(value, { kind, name }) { if (kind === "method" || kind === "getter" || kind === "setter") { return function (...args) { diff --git a/testing/integration/ts_types/ts_types.ts b/testing/integration/ts_types/ts_types.ts index ab0ac3b07..62e162104 100644 --- a/testing/integration/ts_types/ts_types.ts +++ b/testing/integration/ts_types/ts_types.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. import * as which from "./which.ts"; import * as decorator from "./decorator.ts"; console.log(which); diff --git a/testing/integration/ts_types/which.ts b/testing/integration/ts_types/which.ts index 9ddae5903..8acd7825a 100644 --- a/testing/integration/ts_types/which.ts +++ b/testing/integration/ts_types/which.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. // https://github.com/dsherret/deno-which/blob/main/mod.ts /** diff --git a/testing/integration/user_breaks_promise_constructor/user_breaks_promise_constructor.ts b/testing/integration/user_breaks_promise_constructor/user_breaks_promise_constructor.ts index 0f84fbcbc..369b11ba0 100644 --- a/testing/integration/user_breaks_promise_constructor/user_breaks_promise_constructor.ts +++ b/testing/integration/user_breaks_promise_constructor/user_breaks_promise_constructor.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. // https://github.com/denoland/deno_core/issues/743 console.log("1"); Object.defineProperty(Promise.prototype, "constructor", { diff --git a/testing/integration/user_breaks_promise_species/user_breaks_promise_species.ts b/testing/integration/user_breaks_promise_species/user_breaks_promise_species.ts index 225ac46fe..c87b60bb4 100644 --- a/testing/integration/user_breaks_promise_species/user_breaks_promise_species.ts +++ b/testing/integration/user_breaks_promise_species/user_breaks_promise_species.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. // https://github.com/denoland/deno_core/issues/742 console.log("1"); Object.defineProperty(Promise, Symbol.species, { value: 0 }); diff --git a/testing/integration/wasm_imports/wasm_imports.js b/testing/integration/wasm_imports/wasm_imports.js index 8b5727737..6f1de816f 100644 --- a/testing/integration/wasm_imports/wasm_imports.js +++ b/testing/integration/wasm_imports/wasm_imports.js @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. import { exported_add } from "./add.wasm"; // To regenerate Wasm file use: diff --git a/testing/integration/worker_spawn/worker.ts b/testing/integration/worker_spawn/worker.ts index 61223798a..93519f499 100644 --- a/testing/integration/worker_spawn/worker.ts +++ b/testing/integration/worker_spawn/worker.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. import { Worker } from "checkin:worker"; Worker.parent.sendMessage("hello from client"); const message = await Worker.parent.receiveMessage(); diff --git a/testing/integration/worker_spawn/worker_spawn.ts b/testing/integration/worker_spawn/worker_spawn.ts index 691b7ffc6..e6417b548 100644 --- a/testing/integration/worker_spawn/worker_spawn.ts +++ b/testing/integration/worker_spawn/worker_spawn.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. import { Worker } from "checkin:worker"; console.log("main started"); const worker = new Worker(import.meta.url, "./worker.ts"); diff --git a/testing/integration/worker_terminate/worker.ts b/testing/integration/worker_terminate/worker.ts index 61223798a..93519f499 100644 --- a/testing/integration/worker_terminate/worker.ts +++ b/testing/integration/worker_terminate/worker.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. import { Worker } from "checkin:worker"; Worker.parent.sendMessage("hello from client"); const message = await Worker.parent.receiveMessage(); diff --git a/testing/integration/worker_terminate/worker_terminate.ts b/testing/integration/worker_terminate/worker_terminate.ts index 28bbfd5e8..bd9ca2590 100644 --- a/testing/integration/worker_terminate/worker_terminate.ts +++ b/testing/integration/worker_terminate/worker_terminate.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. import { Worker } from "checkin:worker"; console.log("main started"); const worker = new Worker(import.meta.url, "./worker.ts"); diff --git a/testing/integration/worker_terminate_op/worker.ts b/testing/integration/worker_terminate_op/worker.ts index b0369329c..df1334a24 100644 --- a/testing/integration/worker_terminate_op/worker.ts +++ b/testing/integration/worker_terminate_op/worker.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. import { asyncSpin, asyncYield } from "checkin:async"; import { Worker } from "checkin:worker"; const p = asyncSpin(); diff --git a/testing/integration/worker_terminate_op/worker_terminate_op.ts b/testing/integration/worker_terminate_op/worker_terminate_op.ts index f746e3b6a..87b9b91c4 100644 --- a/testing/integration/worker_terminate_op/worker_terminate_op.ts +++ b/testing/integration/worker_terminate_op/worker_terminate_op.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. import { setTimeout } from "checkin:timers"; import { Worker } from "checkin:worker"; console.log("main started"); diff --git a/testing/lib.rs b/testing/lib.rs index 8bce89814..2e69a26b7 100644 --- a/testing/lib.rs +++ b/testing/lib.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. mod checkin; diff --git a/testing/ops.d.ts b/testing/ops.d.ts index a3d6fdaa6..63f947582 100644 --- a/testing/ops.d.ts +++ b/testing/ops.d.ts @@ -1,5 +1,5 @@ // deno-lint-ignore-file no-explicit-any -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. export function op_log_debug(...any: any[]): any; export function op_log_info(...any: any[]): any; diff --git a/testing/unit/encode_decode_test.ts b/testing/unit/encode_decode_test.ts index f44e7aa94..80ced0119 100644 --- a/testing/unit/encode_decode_test.ts +++ b/testing/unit/encode_decode_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. import { assert, assertArrayEquals, assertEquals, test } from "checkin:testing"; test(function testEmptyEncode() { diff --git a/testing/unit/error_test.ts b/testing/unit/error_test.ts index 03b408d40..b857b31b0 100644 --- a/testing/unit/error_test.ts +++ b/testing/unit/error_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. import { throwCustomError, throwErrorWithContextAsync, diff --git a/testing/unit/microtask_test.ts b/testing/unit/microtask_test.ts index 516e92297..3c1a3f602 100644 --- a/testing/unit/microtask_test.ts +++ b/testing/unit/microtask_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. import { test } from "checkin:testing"; test(async function testQueueMicrotask() { diff --git a/testing/unit/ops_async_test.ts b/testing/unit/ops_async_test.ts index 732633ac8..e1773c6ad 100644 --- a/testing/unit/ops_async_test.ts +++ b/testing/unit/ops_async_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. import { assertStackTraceEquals, test } from "checkin:testing"; import { asyncYield, barrierAwait, barrierCreate } from "checkin:async"; import { asyncThrow } from "checkin:error"; diff --git a/testing/unit/ops_buffer_test.ts b/testing/unit/ops_buffer_test.ts index 0239957fe..da02d7bd8 100644 --- a/testing/unit/ops_buffer_test.ts +++ b/testing/unit/ops_buffer_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. import { assertArrayEquals, test } from "checkin:testing"; const { op_v8slice_store, diff --git a/testing/unit/resource_test.ts b/testing/unit/resource_test.ts index 468b6fb03..de9d2a106 100644 --- a/testing/unit/resource_test.ts +++ b/testing/unit/resource_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. import { assert, assertArrayEquals, assertEquals, test } from "checkin:testing"; import { DOMPoint, TestObjectWrap } from "checkin:object"; diff --git a/testing/unit/serialize_deserialize_test.ts b/testing/unit/serialize_deserialize_test.ts index 73a374ad2..9b1ea39e9 100644 --- a/testing/unit/serialize_deserialize_test.ts +++ b/testing/unit/serialize_deserialize_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. import { assertArrayEquals, assertEquals, test } from "checkin:testing"; test(function testIssue20727() { diff --git a/testing/unit/stats_test.ts b/testing/unit/stats_test.ts index 842b6b435..d5fabd9c8 100644 --- a/testing/unit/stats_test.ts +++ b/testing/unit/stats_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. import { barrierAwait, barrierCreate, diff --git a/testing/unit/task_test.ts b/testing/unit/task_test.ts index d01e03714..8cbeca4a2 100644 --- a/testing/unit/task_test.ts +++ b/testing/unit/task_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. import { test } from "checkin:testing"; const { op_task_submit } = Deno.core.ops; diff --git a/testing/unit/tc39_test.ts b/testing/unit/tc39_test.ts index 9680cbd27..a81b148dd 100644 --- a/testing/unit/tc39_test.ts +++ b/testing/unit/tc39_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. import { assert, fail, test } from "checkin:testing"; // Verify that "array by copy" proposal is enabled (https://github.com/tc39/proposal-change-array-by-copy) diff --git a/testing/unit/test_test.ts b/testing/unit/test_test.ts index 8229c95b4..d1b7a7483 100644 --- a/testing/unit/test_test.ts +++ b/testing/unit/test_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. import { assert, test } from "checkin:testing"; test(function testAssert() { diff --git a/testing/unit/timer_test.ts b/testing/unit/timer_test.ts index a2c8b941f..3764d4dbc 100644 --- a/testing/unit/timer_test.ts +++ b/testing/unit/timer_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. import { assert, assertEquals, test } from "checkin:testing"; test(async function testTimeout() { diff --git a/testing/unit/type_test.ts b/testing/unit/type_test.ts index 091d0f2d2..78ef1c4c7 100644 --- a/testing/unit/type_test.ts +++ b/testing/unit/type_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. import * as module from "checkin:testing"; import { assert, test } from "checkin:testing"; diff --git a/tools/check.ts b/tools/check.ts index a911c3e94..a045e1d3f 100755 --- a/tools/check.ts +++ b/tools/check.ts @@ -1,5 +1,5 @@ #!/usr/bin/env -S deno run --quiet --allow-read --allow-write --allow-run --allow-env -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. import $, * as dax from "https://deno.land/x/dax@0.39.2/mod.ts"; diff --git a/tools/copyright_checker.js b/tools/copyright_checker.js index efda69f08..ac6a06901 100755 --- a/tools/copyright_checker.js +++ b/tools/copyright_checker.js @@ -1,9 +1,9 @@ #!/usr/bin/env -S deno run --allow-read=. --allow-write=. --allow-run=git -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. import { getSources, ROOT_PATH } from "./util.js"; -const copyrightYear = 2024; +const copyrightYear = 2025; const SOURCES = [ // js and ts @@ -18,9 +18,9 @@ const SOURCES = [ ]; const COPYRIGHT_REGEX = - /^(#|\/\/) Copyright \d+-\d+ the Deno authors. All rights reserved. MIT license./; + /^(#|\/\/) Copyright \d+-\d+ the Deno authors. MIT license./; const COPYRIGHT_LINE = - `Copyright 2018-${copyrightYear} the Deno authors. All rights reserved. MIT license.`; + `Copyright 2018-${copyrightYear} the Deno authors. MIT license.`; // Acceptable content before the copyright line const ACCEPTABLE_LINES = diff --git a/tools/create_pr_for_release.ts b/tools/create_pr_for_release.ts index 8797e2bbc..45170d404 100644 --- a/tools/create_pr_for_release.ts +++ b/tools/create_pr_for_release.ts @@ -1,5 +1,5 @@ #!/usr/bin/env -S deno run -A --lock=tools/deno.lock.json -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. import { DenoWorkspace } from "./deno_core_workspace.ts"; import { $, createOctoKit, getGitHubRepository } from "./deps.ts"; diff --git a/tools/deno_core_workspace.ts b/tools/deno_core_workspace.ts index 47991f0b7..55d5aadd1 100644 --- a/tools/deno_core_workspace.ts +++ b/tools/deno_core_workspace.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. import { $, Crate, Repo } from "./deps.ts"; diff --git a/tools/deps.ts b/tools/deps.ts index 568830a74..17177870d 100644 --- a/tools/deps.ts +++ b/tools/deps.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. export * from "https://raw.githubusercontent.com/denoland/automation/0.19.0/mod.ts"; export * from "https://raw.githubusercontent.com/denoland/automation/0.19.0/github_actions.ts"; diff --git a/tools/format.ts b/tools/format.ts index 326f2c5a8..a2238a30a 100755 --- a/tools/format.ts +++ b/tools/format.ts @@ -1,5 +1,5 @@ #!/usr/bin/env -S deno run --quiet --allow-read --allow-write --allow-run --allow-env -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. import { main } from "./check.ts"; await main("format", Deno.args[0]); diff --git a/tools/lint.ts b/tools/lint.ts index 32b658386..b3f6d2e90 100755 --- a/tools/lint.ts +++ b/tools/lint.ts @@ -1,5 +1,5 @@ #!/usr/bin/env -S deno run --quiet --allow-read --allow-write --allow-run --allow-env -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. import { main } from "./check.ts"; await main("lint", Deno.args[0]); diff --git a/tools/publish_dry_run.ts b/tools/publish_dry_run.ts index 90f273c5f..ab22aab73 100755 --- a/tools/publish_dry_run.ts +++ b/tools/publish_dry_run.ts @@ -1,5 +1,5 @@ #!/usr/bin/env -S deno run -A --lock=tools/deno.lock.json -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. import { Crate, DenoWorkspace } from "./deno_core_workspace.ts"; const workspace = await DenoWorkspace.load(); diff --git a/tools/util.js b/tools/util.js index 3091ec37e..1b472a58c 100644 --- a/tools/util.js +++ b/tools/util.js @@ -1,4 +1,4 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2025 the Deno authors. MIT license. export const ROOT_PATH = Deno.realPathSync(new URL("..", import.meta.url)); async function getFilesFromGit(baseDir, args) {