Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/bun_core/env_var.rs
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,9 @@ new!(pub BUN_INTERNAL_CHECK_SCRIPTS: string, "BUN_INTERNAL_CHECK_SCRIPTS", {});
// child's CLI entrypoint checks this before anything else and hands off to
// C++ Bun__WebView__hostMain. Never returns — no JSC, no VM.
new!(pub BUN_INTERNAL_WEBVIEW_HOST: string, "BUN_INTERNAL_WEBVIEW_HOST", {});
// Space-separated CLI flags, tokenized and allowlist-filtered into argv by
// `node_options::filter` (see `util::argv_view_init`).
new!(pub NODE_OPTIONS: string, "NODE_OPTIONS", {});
new!(pub NODE_PENDING_DEPRECATION: string, "NODE_PENDING_DEPRECATION", {});
new!(pub NODE_PRESERVE_SYMLINKS_MAIN: boolean, "NODE_PRESERVE_SYMLINKS_MAIN", { default: false });
new!(pub NODE_USE_SYSTEM_CA: boolean, "NODE_USE_SYSTEM_CA", { default: false });
Expand Down
1 change: 1 addition & 0 deletions src/bun_core/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,7 @@ pub use code_generation::{
is_strict_only_beside_compiled_program, run_no_compiled_program_on_this_thread,
runs_no_compiled_program,
};
pub mod node_options;

/// Tier-0 path-separator predicates. Sunk from `bun_paths` so `bun_core::util`
/// (dirname, which) can use them without an upward dep. `bun_paths` re-exports
Expand Down
Loading
Loading