summaryrefslogtreecommitdiff
path: root/cli/standalone
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2024-09-03 09:15:26 +0100
committerGitHub <noreply@github.com>2024-09-03 08:15:26 +0000
commite49d80e500c384b381c375900060e5a476581541 (patch)
tree032064a7ac1a8580e089d4bf67aef4076196e52c /cli/standalone
parent5f08d634f73fab21c17cc02f3f3bf8e8b531eee8 (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 'cli/standalone')
-rw-r--r--cli/standalone/binary.rs3
-rw-r--r--cli/standalone/mod.rs3
2 files changed, 0 insertions, 6 deletions
diff --git a/cli/standalone/binary.rs b/cli/standalone/binary.rs
index 9d2c0781a..45d9b7c63 100644
--- a/cli/standalone/binary.rs
+++ b/cli/standalone/binary.rs
@@ -117,7 +117,6 @@ pub struct Metadata {
pub workspace_resolver: SerializedWorkspaceResolver,
pub entrypoint_key: String,
pub node_modules: Option<NodeModules>,
- pub disable_deprecated_api_warning: bool,
pub unstable_config: UnstableConfig,
}
@@ -624,8 +623,6 @@ impl<'a> DenoCompileBinaryWriter<'a> {
pkg_json_resolution: self.workspace_resolver.pkg_json_dep_resolution(),
},
node_modules,
- disable_deprecated_api_warning: cli_options
- .disable_deprecated_api_warning,
unstable_config: UnstableConfig {
legacy_flag_enabled: cli_options.legacy_unstable_flag(),
bare_node_builtins: cli_options.unstable_bare_node_builtins(),
diff --git a/cli/standalone/mod.rs b/cli/standalone/mod.rs
index 4c199a7d5..a0a312ad9 100644
--- a/cli/standalone/mod.rs
+++ b/cli/standalone/mod.rs
@@ -737,9 +737,6 @@ pub async fn run(
node_ipc: None,
serve_port: None,
serve_host: None,
- // TODO(bartlomieju): temporarily disabled
- disable_deprecated_api_warning: true,
- verbose_deprecated_api_warning: false,
},
);