diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2022-09-03 18:19:30 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-03 18:19:30 +0200 |
commit | e324151520c62c9503e5e38da66827cd7815ea14 (patch) | |
tree | 51449e9ea202b758a4ac74210b97f6c9b65d26e7 /cli/tools/installer.rs | |
parent | fc4025c878a7986576f693ed3ad297212f6a99de (diff) |
BREAKING(unstable): remove --compat mode (#15678)
This commit removes "compat" mode. We shipped support for "npm:" specifier
support in v1.25 and that is preferred way to interact with Node code that we
will iterate and improve upon.
Diffstat (limited to 'cli/tools/installer.rs')
-rw-r--r-- | cli/tools/installer.rs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/cli/tools/installer.rs b/cli/tools/installer.rs index df4b46332..6928624ea 100644 --- a/cli/tools/installer.rs +++ b/cli/tools/installer.rs @@ -333,10 +333,6 @@ fn resolve_shim_data( executable_args.push("--no-prompt".to_string()); } - if flags.compat { - executable_args.push("--compat".to_string()); - } - if !flags.v8_flags.is_empty() { executable_args.push(format!("--v8-flags={}", flags.v8_flags.join(","))); } @@ -592,7 +588,6 @@ mod tests { allow_read: Some(vec![]), type_check_mode: TypeCheckMode::None, log_level: Some(Level::Error), - compat: true, ..Flags::default() }, &InstallFlags { @@ -613,7 +608,6 @@ mod tests { "--allow-read", "--allow-net", "--quiet", - "--compat", "http://localhost:4545/echo_server.ts", "--foobar", ] |