@@ -1225,27 +1225,6 @@ added: v25.0.0
12251225
12261226Enable experimental support for the QUIC protocol.
12271227
1228- ### ` --experimental-require-module `
1229-
1230- <!-- YAML
1231- added:
1232- - v22.0.0
1233- - v20.17.0
1234- changes:
1235- - version:
1236- - v23.0.0
1237- - v22.12.0
1238- - v20.19.0
1239- pr-url: https://github.com/nodejs/node/pull/55085
1240- description: This is now true by default.
1241- -->
1242-
1243- > Stability: 1.1 - Active Development
1244-
1245- Supports loading a synchronous ES module graph in ` require() ` .
1246-
1247- See [ Loading ECMAScript modules using ` require() ` ] [ ] .
1248-
12491228### ` --experimental-sea-config `
12501229
12511230<!-- YAML
@@ -1920,6 +1899,11 @@ added:
19201899 - v22.0.0
19211900 - v20.17.0
19221901changes:
1902+ - version:
1903+ - REPLACEME
1904+ pr-url: https://github.com/nodejs/node/pull/60959
1905+ description: The flag was renamed from `--no-experimental-require-module` to
1906+ `--no-require-module`, with the former marked as legacy.
19231907 - version:
19241908 - v23.0.0
19251909 - v22.12.0
@@ -1928,11 +1912,9 @@ changes:
19281912 description: This is now false by default.
19291913-->
19301914
1931- > Stability: 1.1 - Active Development
1932-
1933- Disable support for loading a synchronous ES module graph in ` require() ` .
1915+ > Stability: 3 - Legacy: Use [ ` --no-require-module ` ] [ ] instead.
19341916
1935- See [ Loading ECMAScript modules using ` require() ` ] [ ] .
1917+ Legacy alias for [ ` --no- require-module ` ] [ ] .
19361918
19371919### ` --no-experimental-sqlite `
19381920
@@ -2011,6 +1993,34 @@ changes:
20111993Disables the family autoselection algorithm unless connection options explicitly
20121994enables it.
20131995
1996+ <a id =" --experimental-require-module " ></a >
1997+
1998+ ### ` --no-require-module `
1999+
2000+ <!-- YAML
2001+ added:
2002+ - v22.0.0
2003+ - v20.17.0
2004+ changes:
2005+ - version:
2006+ - REPLACEME
2007+ pr-url: https://github.com/nodejs/node/pull/60959
2008+ description: This flag was renamed from `--no-experimental-require-module`
2009+ to `--no-require-module`.
2010+ - version:
2011+ - v23.0.0
2012+ - v22.12.0
2013+ - v20.19.0
2014+ pr-url: https://github.com/nodejs/node/pull/55085
2015+ description: This is now false by default.
2016+ -->
2017+
2018+ > Stability: 1.2 - Release Candidate
2019+
2020+ Disable support for loading a synchronous ES module graph in ` require() ` .
2021+
2022+ See [ Loading ECMAScript modules using ` require() ` ] [ ] .
2023+
20142024### ` --no-strip-types `
20152025
20162026<!-- YAML
@@ -3624,6 +3634,7 @@ one is included in the list below.
36243634* ` --report-on-signal `
36253635* ` --report-signal `
36263636* ` --report-uncaught-exception `
3637+ * ` --require-module `
36273638* ` --require ` , ` -r `
36283639* ` --secure-heap-min `
36293640* ` --secure-heap `
@@ -4164,6 +4175,7 @@ node --stack-trace-limit=12 -p -e "Error.stackTraceLimit" # prints 12
41644175[ `--experimental-sea-config` ] : single-executable-applications.md#generating-single-executable-preparation-blobs
41654176[ `--heap-prof-dir` ] : #--heap-prof-dir
41664177[ `--import` ] : #--importmodule
4178+ [ `--no-require-module` ] : #--no-require-module
41674179[ `--no-strip-types` ] : #--no-strip-types
41684180[ `--openssl-config` ] : #--openssl-configfile
41694181[ `--preserve-symlinks` ] : #--preserve-symlinks
0 commit comments