Skip to content

Commit 8db905e

Browse files
committed
Skip --frozen-intrinsics
1 parent 555126a commit 8db905e

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/constants.ts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -283,9 +283,12 @@ const lazyZshRcPath = () =>
283283
// Harden Node security.
284284
// https://nodejs.org/en/learn/getting-started/security-best-practices
285285
const nodeHardenFlags: string[] = [
286-
//'--disable-proto', 'delete',
287-
//'--frozen-intrinsics',
288-
//'--no-deprecation'
286+
'--disable-proto',
287+
'delete',
288+
// TODO: We can try --frozen-intrinsics once
289+
// https://github.com/SBoudrias/Inquirer.js/pull/1683 is addressed.
290+
// '--frozen-intrinsics',
291+
'--no-deprecation'
289292
]
290293

291294
const constants = createConstantsObject(

0 commit comments

Comments
 (0)