From 4655172c0bfe6bd4f22b9e53b63bf1f0533f36cc Mon Sep 17 00:00:00 2001 From: Divy Srivastava Date: Sun, 15 Sep 2024 08:15:19 +0530 Subject: [PATCH] fix(ext/node): export `process.allowedNodeEnvironmentFlags` (#25629) --- ext/node/polyfills/process.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ext/node/polyfills/process.ts b/ext/node/polyfills/process.ts index d7e21b6576..82f92ebafc 100644 --- a/ext/node/polyfills/process.ts +++ b/ext/node/polyfills/process.ts @@ -748,6 +748,8 @@ Object.defineProperty(Process.prototype, "allowedNodeEnvironmentFlags", { }, }); +export const allowedNodeEnvironmentFlags = ALLOWED_FLAGS; + Process.prototype.features = { inspector: false }; // TODO(kt3k): Get the value from --no-deprecation flag.