mirror of
https://github.com/denoland/deno.git
synced 2025-09-27 12:49:10 +00:00
feat(unstable): --allow-net subdomain wildcards (#29327)
This commit is contained in:
parent
cb23193f74
commit
ab9673dcc1
15 changed files with 377 additions and 54 deletions
|
@ -190,6 +190,7 @@ pub fn resolve_npm_resolution_snapshot(
|
|||
pub struct UnstableConfig {
|
||||
// TODO(bartlomieju): remove in Deno 2.5
|
||||
pub legacy_flag_enabled: bool, // --unstable
|
||||
pub subdomain_wildcards: bool,
|
||||
pub bare_node_builtins: bool,
|
||||
pub detect_cjs: bool,
|
||||
pub lazy_dynamic_imports: bool,
|
||||
|
@ -206,6 +207,10 @@ impl UnstableConfig {
|
|||
}
|
||||
}
|
||||
|
||||
maybe_set(
|
||||
&mut self.subdomain_wildcards,
|
||||
UNSTABLE_ENV_VAR_NAMES.subdomain_wildcards,
|
||||
);
|
||||
maybe_set(
|
||||
&mut self.bare_node_builtins,
|
||||
UNSTABLE_ENV_VAR_NAMES.bare_node_builtins,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue