File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -171,18 +171,19 @@ relative, and based on the real path of the files making the calls to
171171## Loading ECMAScript modules using ` require() `
172172
173173<!-- YAML
174- added: v22.0.0
174+ added:
175+ - v22.0.0
176+ - v20.17.0
175177changes:
176178 - version: REPLACEME
177179 pr-url: https://github.com/nodejs/node/pull/55085
178- description: require() now supports loading synchronous ES modules by default .
180+ description: This feature is no longer behind the `--experimental-require-module` CLI flag .
179181 - version: REPLACEME
180182 pr-url: https://github.com/nodejs/node/pull/54563
181183 description: Support `'module.exports'` interop export in `require(esm)`.
182184-->
183185
184- > Stability: 1.1 - Active Development. Enable this API with the
185- > [ ` --experimental-require-module ` ] [ ] CLI flag.
186+ > Stability: 1.2 - Release candidate
186187
187188The ` .mjs ` extension is reserved for [ ECMAScript Modules] [ ] .
188189See [ Determining module system] [ ] section for more info
You can’t perform that action at this time.
0 commit comments