diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2024-09-03 09:15:26 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-03 08:15:26 +0000 |
commit | e49d80e500c384b381c375900060e5a476581541 (patch) | |
tree | 032064a7ac1a8580e089d4bf67aef4076196e52c /runtime/worker_bootstrap.rs | |
parent | 5f08d634f73fab21c17cc02f3f3bf8e8b531eee8 (diff) |
chore: cleanup code for deprecation notices in JS code (#25368)
This code hasn't been used in some time, so I cleaned as much of it as
possible.
Diffstat (limited to 'runtime/worker_bootstrap.rs')
-rw-r--r-- | runtime/worker_bootstrap.rs | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/runtime/worker_bootstrap.rs b/runtime/worker_bootstrap.rs index b04a337a6..b6ede466e 100644 --- a/runtime/worker_bootstrap.rs +++ b/runtime/worker_bootstrap.rs @@ -116,8 +116,6 @@ pub struct BootstrapOptions { pub argv0: Option<String>, pub node_debug: Option<String>, pub node_ipc_fd: Option<i64>, - pub disable_deprecated_api_warning: bool, - pub verbose_deprecated_api_warning: bool, pub future: bool, pub mode: WorkerExecutionMode, // Used by `deno serve` @@ -155,8 +153,6 @@ impl Default for BootstrapOptions { argv0: None, node_debug: None, node_ipc_fd: None, - disable_deprecated_api_warning: false, - verbose_deprecated_api_warning: false, future: false, mode: WorkerExecutionMode::None, serve_port: Default::default(), @@ -194,10 +190,6 @@ struct BootstrapV8<'a>( Option<&'a str>, // node_debug Option<&'a str>, - // disable_deprecated_api_warning, - bool, - // verbose_deprecated_api_warning - bool, // future bool, // mode @@ -232,8 +224,6 @@ impl BootstrapOptions { self.has_node_modules_dir, self.argv0.as_deref(), self.node_debug.as_deref(), - self.disable_deprecated_api_warning, - self.verbose_deprecated_api_warning, self.future, self.mode.discriminant() as _, self.serve_port.unwrap_or_default(), |