diff --git a/cli/factory.rs b/cli/factory.rs index 6e340c3c0d..32cb256a3f 100644 --- a/cli/factory.rs +++ b/cli/factory.rs @@ -773,7 +773,9 @@ impl CliFactory { self.feature_checker().clone(), self.create_cli_main_worker_options()?, self.options.node_ipc_fd(), - self.options.disable_deprecated_api_warning, + // TODO(bartlomieju): temporarily disabled + // self.options.disable_deprecated_api_warning, + true, self.options.verbose_deprecated_api_warning, )) } diff --git a/cli/standalone/mod.rs b/cli/standalone/mod.rs index 6859c6a620..0175b9c119 100644 --- a/cli/standalone/mod.rs +++ b/cli/standalone/mod.rs @@ -541,7 +541,9 @@ pub async fn run( maybe_root_package_json_deps: package_json_deps_provider.deps().cloned(), }, None, - metadata.disable_deprecated_api_warning, + // TODO(bartlomieju): temporarily disabled + // metadata.disable_deprecated_api_warning, + true, false, ); diff --git a/cli/tests/integration/run_tests.rs b/cli/tests/integration/run_tests.rs index 0b9f50fc37..d722b23c77 100644 --- a/cli/tests/integration/run_tests.rs +++ b/cli/tests/integration/run_tests.rs @@ -5216,35 +5216,36 @@ itest!(unstable_temporal_api_missing_flag { exit_code: 1, }); -itest!(warn_on_deprecated_api { - args: "run -A run/warn_on_deprecated_api/main.js", - output: "run/warn_on_deprecated_api/main.out", - http_server: true, - exit_code: 0, -}); +// TODO(bartlomieju): temporary disabled +// itest!(warn_on_deprecated_api { +// args: "run -A run/warn_on_deprecated_api/main.js", +// output: "run/warn_on_deprecated_api/main.out", +// http_server: true, +// exit_code: 0, +// }); -itest!(warn_on_deprecated_api_verbose { - args: "run -A run/warn_on_deprecated_api/main.js", - output: "run/warn_on_deprecated_api/main.verbose.out", - envs: vec![("DENO_VERBOSE_WARNINGS".to_string(), "1".to_string())], - http_server: true, - exit_code: 0, -}); +// itest!(warn_on_deprecated_api_verbose { +// args: "run -A run/warn_on_deprecated_api/main.js", +// output: "run/warn_on_deprecated_api/main.verbose.out", +// envs: vec![("DENO_VERBOSE_WARNINGS".to_string(), "1".to_string())], +// http_server: true, +// exit_code: 0, +// }); -itest!(warn_on_deprecated_api_with_flag { - args: "run -A --quiet run/warn_on_deprecated_api/main.js", - output: "run/warn_on_deprecated_api/main_disabled_flag.out", - http_server: true, - exit_code: 0, -}); +// itest!(warn_on_deprecated_api_with_flag { +// args: "run -A --quiet run/warn_on_deprecated_api/main.js", +// output: "run/warn_on_deprecated_api/main_disabled_flag.out", +// http_server: true, +// exit_code: 0, +// }); -itest!(warn_on_deprecated_api_with_env_var { - args: "run -A run/warn_on_deprecated_api/main.js", - envs: vec![("DENO_NO_DEPRECATION_WARNINGS".to_string(), "1".to_string())], - output: "run/warn_on_deprecated_api/main_disabled_env.out", - http_server: true, - exit_code: 0, -}); +// itest!(warn_on_deprecated_api_with_env_var { +// args: "run -A run/warn_on_deprecated_api/main.js", +// envs: vec![("DENO_NO_DEPRECATION_WARNINGS".to_string(), "1".to_string())], +// output: "run/warn_on_deprecated_api/main_disabled_env.out", +// http_server: true, +// exit_code: 0, +// }); #[test] fn deno_json_imports_expand() {