@@ -1216,27 +1216,6 @@ added: v25.0.0
12161216
12171217Enable experimental support for the QUIC protocol.
12181218
1219- ### ` --experimental-require-module `
1220-
1221- <!-- YAML
1222- added:
1223- - v22.0.0
1224- - v20.17.0
1225- changes:
1226- - version:
1227- - v23.0.0
1228- - v22.12.0
1229- - v20.19.0
1230- pr-url: https://github.com/nodejs/node/pull/55085
1231- description: This is now true by default.
1232- -->
1233-
1234- > Stability: 1.1 - Active Development
1235-
1236- Supports loading a synchronous ES module graph in ` require() ` .
1237-
1238- See [ Loading ECMAScript modules using ` require() ` ] [ ] .
1239-
12401219### ` --experimental-sea-config `
12411220
12421221<!-- YAML
@@ -1908,6 +1887,11 @@ added:
19081887 - v22.0.0
19091888 - v20.17.0
19101889changes:
1890+ - version:
1891+ - REPLACEME
1892+ pr-url: https://github.com/nodejs/node/pull/60959
1893+ description: The flag was renamed from `--no-experimental-require-module` to
1894+ `--no-require-module`, with the former marked as legacy.
19111895 - version:
19121896 - v23.0.0
19131897 - v22.12.0
@@ -1916,11 +1900,9 @@ changes:
19161900 description: This is now false by default.
19171901-->
19181902
1919- > Stability: 1.1 - Active Development
1920-
1921- Disable support for loading a synchronous ES module graph in ` require() ` .
1903+ > Stability: 3 - Legacy: Use [ ` --no-require-module ` ] [ ] instead.
19221904
1923- See [ Loading ECMAScript modules using ` require() ` ] [ ] .
1905+ Legacy alias for [ ` --no- require-module ` ] [ ] .
19241906
19251907### ` --no-experimental-sqlite `
19261908
@@ -1999,6 +1981,34 @@ changes:
19991981Disables the family autoselection algorithm unless connection options explicitly
20001982enables it.
20011983
1984+ <a id =" --experimental-require-module " ></a >
1985+
1986+ ### ` --no-require-module `
1987+
1988+ <!-- YAML
1989+ added:
1990+ - v22.0.0
1991+ - v20.17.0
1992+ changes:
1993+ - version:
1994+ - REPLACEME
1995+ pr-url: https://github.com/nodejs/node/pull/60959
1996+ description: This flag was renamed from `--no-experimental-require-module`
1997+ to `--no-require-module`.
1998+ - version:
1999+ - v23.0.0
2000+ - v22.12.0
2001+ - v20.19.0
2002+ pr-url: https://github.com/nodejs/node/pull/55085
2003+ description: This is now false by default.
2004+ -->
2005+
2006+ > Stability: 1.2 - Release Candidate
2007+
2008+ Disable support for loading a synchronous ES module graph in ` require() ` .
2009+
2010+ See [ Loading ECMAScript modules using ` require() ` ] [ ] .
2011+
20022012### ` --no-strip-types `
20032013
20042014<!-- YAML
@@ -3612,6 +3622,7 @@ one is included in the list below.
36123622* ` --report-on-signal `
36133623* ` --report-signal `
36143624* ` --report-uncaught-exception `
3625+ * ` --require-module `
36153626* ` --require ` , ` -r `
36163627* ` --secure-heap-min `
36173628* ` --secure-heap `
@@ -4154,6 +4165,7 @@ node --stack-trace-limit=12 -p -e "Error.stackTraceLimit" # prints 12
41544165[ `--experimental-sea-config` ] : single-executable-applications.md#generating-single-executable-preparation-blobs
41554166[ `--heap-prof-dir` ] : #--heap-prof-dir
41564167[ `--import` ] : #--importmodule
4168+ [ `--no-require-module` ] : #--no-require-module
41574169[ `--no-strip-types` ] : #--no-strip-types
41584170[ `--openssl-config` ] : #--openssl-configfile
41594171[ `--preserve-symlinks` ] : #--preserve-symlinks
0 commit comments